@next2d/player 2.8.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/next2d.js +3 -3
- package/package.json +16 -16
- package/src/index.js +1 -1
package/next2d.js
CHANGED
|
@@ -654,9 +654,9 @@ void main() {
|
|
|
654
654
|
\${r}
|
|
655
655
|
t = \${a};
|
|
656
656
|
o_color = texture(u_texture, vec2(t, 0.5));
|
|
657
|
-
}\`},wc=(t,e,s,n)=>{const o=Pa(n,t,e,s);if(Je.has(o))return Je.get(o);const r=(n?14:5)+1,a=r-1,l=new Z(Re(r,!0,!1,n),Ga(r,a,t,e,s));return Je.set(o,l),l},Bc=(t,e,s,n,o=0,r=null,a=null)=>{const l=t.highp;l[0]=s[0],l[1]=s[1],l[2]=s[2],l[4]=s[3],l[5]=s[4],l[6]=s[5],l[8]=s[6],l[9]=s[7],l[10]=s[8],l[12]=n[0],l[13]=n[1],l[14]=n[2],l[16]=n[3],l[17]=n[4],l[18]=n[5],l[11]=n[6],l[15]=n[7],l[19]=n[8],l[3]=it(),l[7]=ut();let h=20;a&&(l[20]=a[0],l[21]=a[1],l[22]=0,l[24]=a[2],l[25]=a[3],l[26]=0,l[28]=a[4],l[29]=a[5],l[30]=1,l[32]=a[6],l[33]=a[7],l[34]=0,l[36]=a[8],l[37]=a[9],l[38]=0,l[40]=a[10],l[41]=a[11],l[42]=1,l[31]=a[12],l[35]=a[13],l[39]=a[14],l[43]=a[15],l[44]=a[16],l[45]=a[17],l[46]=a[18],l[47]=a[19],l[48]=a[20],l[49]=a[21],l[50]=a[22],l[51]=a[23],l[52]=a[24],l[53]=a[25],h=56),e===0?(l[h++]=r[0],l[h++]=r[1],l[h++]=r[2],l[h]=r[3]):(l[h++]=819.2,l[h]=Ht(o,-.975,.975,0))},Va=(t,e,s,n)=>{const o=tt.shift(),r=tt.shift(),a=tt.shift(),l=tt.shift();c.disable(c.STENCIL_TEST);const h=Sc(o,l);V(h),c.enable(c.STENCIL_TEST),c.frontFace(c.CCW),c.stencilMask(255),c.stencilFunc(c.ALWAYS,0,255),c.stencilOpSeparate(c.FRONT,c.KEEP,c.KEEP,c.INCR_WRAP),c.stencilOpSeparate(c.BACK,c.KEEP,c.KEEP,c.DECR_WRAP),c.colorMask(!1,!1,!1,!1);const f=!!n,i=ae(f);n&&le(i,n),c.enable(c.SAMPLE_ALPHA_TO_COVERAGE),nt(i,t,e,s),c.disable(c.SAMPLE_ALPHA_TO_COVERAGE),c.stencilFunc(c.NOTEQUAL,0,255),c.stencilOp(c.KEEP,c.ZERO,c.ZERO),c.colorMask(!0,!0,!0,!0);const E=wc(!1,!1,a,f),$=Yc(r),v=Se(A.$matrix);Bc(E,0,A.$matrix,v,0,$,n),As($),Kt(v),nt(E,t,e,s)},za=(t,e,s,n)=>{const o=tt.shift(),r=tt.shift(),a=tt.shift(),l=tt.shift(),h=tt.shift();c.disable(c.STENCIL_TEST);const f=Sc(o,l);V(f),c.enable(c.STENCIL_TEST),c.frontFace(c.CCW),c.stencilMask(255),c.stencilFunc(c.ALWAYS,0,255),c.stencilOpSeparate(c.FRONT,c.KEEP,c.KEEP,c.INCR_WRAP),c.stencilOpSeparate(c.BACK,c.KEEP,c.KEEP,c.DECR_WRAP),c.colorMask(!1,!1,!1,!1);const i=!!n,E=ae(i);n&&le(E,n),c.enable(c.SAMPLE_ALPHA_TO_COVERAGE),nt(E,t,e,s),c.disable(c.SAMPLE_ALPHA_TO_COVERAGE),c.stencilFunc(c.NOTEQUAL,0,255),c.stencilOp(c.KEEP,c.ZERO,c.ZERO),c.colorMask(!0,!0,!0,!0),A.save(),A.transform(r[0],r[1],r[2],r[3],r[4],r[5]);const $=A.$stack[A.$stack.length-1],v=Se(A.$matrix),T=wc(!0,!!h,a,i);Bc(T,1,$,v,h,n),A.restore(),Kt(v),nt(T,t,e,s)},qe=new Map,Wa=(t,e)=>{const s=\`b\${t?"y":"n"}\${e?"y":"n"}\`;if(qe.has(s))return qe.get(s);const n=t?Fo():Oo(),o=new Z(Re(e?14:5,!0,!1,e),n);return qe.set(s,o),o},ja=(t,e,s,n)=>{const o=t.highp,r=A.$stack[A.$stack.length-1];o[0]=r[0],o[1]=r[1],o[2]=r[2],o[4]=r[3],o[5]=r[4],o[6]=r[5],o[8]=r[6],o[9]=r[7],o[10]=r[8];const a=Se(A.$matrix);o[12]=a[0],o[13]=a[1],o[14]=a[2],o[16]=a[3],o[17]=a[4],o[18]=a[5],o[11]=a[6],o[15]=a[7],o[19]=a[8],o[3]=it(),o[7]=ut(),n&&(o[20]=n[0],o[21]=n[1],o[22]=0,o[24]=n[2],o[25]=n[3],o[26]=0,o[28]=n[4],o[29]=n[5],o[30]=1,o[32]=n[6],o[33]=n[7],o[34]=0,o[36]=n[8],o[37]=n[9],o[38]=0,o[40]=n[10],o[41]=n[11],o[42]=1,o[31]=n[12],o[35]=n[13],o[39]=n[14],o[43]=n[15],o[44]=n[16],o[45]=n[17],o[46]=n[18],o[47]=n[19],o[48]=n[20],o[49]=n[21],o[50]=n[22],o[51]=n[23],o[52]=n[24],o[53]=n[25]);const l=t.mediump;l[0]=e,l[1]=s},Ha=(t,e,s,n)=>{c.stencilFunc(c.ALWAYS,0,255),c.stencilOpSeparate(c.FRONT,c.KEEP,c.KEEP,c.INCR_WRAP),c.stencilOpSeparate(c.BACK,c.KEEP,c.KEEP,c.DECR_WRAP),c.colorMask(!1,!1,!1,!1);const o=!!n,r=ae(o);n&&le(r,n),c.enable(c.SAMPLE_ALPHA_TO_COVERAGE),nt(r,t,e,s),c.disable(c.SAMPLE_ALPHA_TO_COVERAGE);const a=Rt.shift(),l=Rt.shift(),h=Rt.shift(),f=Rt.shift(),i=Rt.shift(),E=Rt.shift(),$=He(h,f,a,E);A.save(),A.transform(l[0],l[1],l[2],l[3],l[4],l[5]),c.stencilFunc(c.NOTEQUAL,0,255),c.stencilOp(c.KEEP,c.ZERO,c.ZERO),c.colorMask(!0,!0,!0,!0);const v=Wa(i,o);ja(v,h,f,n),nt(v,t,e,s),A.restore(),D($)},Ka=()=>{const t=qs();c.enable(c.STENCIL_TEST),c.frontFace(c.CCW),c.stencilMask(255);let e=0,s=null;for(let n=0;n<bt.length;n++)switch(Dt.has(n)&&(s=Dt.get(n)),bt[n]){case"fill":{const r=q.shift();Na(t,e,r,s),e+=r}break;case"linear":{const r=q.shift();Va(t,e,r,s),e+=r}break;case"radial":{const r=q.shift();za(t,e,r,s),e+=r}break;case"bitmap":{const r=q.shift();Ha(t,e,r,s),e+=r}break}c.disable(c.STENCIL_TEST),tc(t),Ws(),Qs()};let ts=0;const Ic=new Float32Array(256);for(let t=1;t<256;t++)Ic[t]=255/t;const Za=async(t,e)=>{const s=bc(0,0,t,e);V(s),c.bindFramebuffer(c.FRAMEBUFFER,an()),c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,s.resource,0);const n=new Uint8Array(t*e*4),o=A.$mainAttachmentObject;n.byteLength>ts&&(ts=fe(n.byteLength),c.bufferData(c.PIXEL_PACK_BUFFER,ts,c.STREAM_READ)),c.readPixels(0,o.height-e,t,e,c.RGBA,c.UNSIGNED_BYTE,0);const r=c.fenceSync(c.SYNC_GPU_COMMANDS_COMPLETE,0);await new Promise(a=>{const l=()=>{if(c.clientWaitSync(r,c.SYNC_FLUSH_COMMANDS_BIT,0)===c.TIMEOUT_EXPIRED){requestAnimationFrame(l);return}return c.deleteSync(r),c.getBufferSubData(c.PIXEL_PACK_BUFFER,0,n),a()};l()}),c.bindFramebuffer(c.FRAMEBUFFER,ft);for(let a=0;a<n.length;a+=4){const l=n[a+3];if(l===0||l===255)continue;const h=Ic[l];n[a]=Math.min(255,Math.round(n[a]*h)),n[a+1]=Math.min(255,Math.round(n[a+1]*h)),n[a+2]=Math.min(255,Math.round(n[a+2]*h))}return await createImageBitmap(new ImageData(new Uint8ClampedArray(n),t,e),{imageOrientation:"flipY",premultiplyAlpha:"none",colorSpaceConversion:"none"})};class Qa{$stack;$matrix;$clearColorR;$clearColorG;$clearColorB;$clearColorA;$mainAttachmentObject;$stackAttachmentObject;globalAlpha;globalCompositeOperation;imageSmoothingEnabled;$fillStyle;$strokeStyle;maskBounds;thickness;caps;joints;miterLimit;constructor(e,s,n=1){Uc(e),kc(e.getParameter(e.MAX_TEXTURE_SIZE)),Nc(s),Gc(n),this.$stack=he(),this.$stackAttachmentObject=he(),this.$matrix=de(1,0,0,0,1,0,0,0,1),this.$clearColorR=0,this.$clearColorG=0,this.$clearColorB=0,this.$clearColorA=0,this.thickness=1,this.caps=1,this.joints=2,this.miterLimit=0,this.$mainAttachmentObject=null,this.globalAlpha=1,this.globalCompositeOperation="normal",this.imageSmoothingEnabled=!1,this.$fillStyle=new Float32Array([1,1,1,1]),this.$strokeStyle=new Float32Array([1,1,1,1]),this.maskBounds={xMin:0,yMin:0,xMax:0,yMax:0},e.pixelStorei(e.UNPACK_ALIGNMENT,1),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),sn(e),cn(e),nn(e,Ps()),on(e),ir(e),hr(),Qr(e),Pc(this)}clearTransferBounds(){mn()}updateBackgroundColor(e,s,n,o){Jc(this,e,s,n,o)}fillBackgroundColor(){qc(this.$clearColorR,this.$clearColorG,this.$clearColorB,this.$clearColorA)}resize(e,s,n=!0){Fn(this,e,s,n)}clearRect(e,s,n,o){dn(e,s,n,o)}bind(e){Bn(this,e)}save(){In(this)}restore(){Ln(this)}setTransform(e,s,n,o,r,a){Cn(this.$matrix,e,s,n,o,r,a)}transform(e,s,n,o,r,a){kn(this,e,s,n,o,r,a)}reset(){Nn(this)}beginPath(){Un(this),Wc()}moveTo(e,s){be(e,s)}lineTo(e,s){Hc(e,s)}quadraticCurveTo(e,s,n,o){gs(e,s,n,o)}fillStyle(e,s,n,o){this.$fillStyle[0]=e,this.$fillStyle[1]=s,this.$fillStyle[2]=n,this.$fillStyle[3]=o}strokeStyle(e,s,n,o){this.$strokeStyle[0]=e,this.$strokeStyle[1]=s,this.$strokeStyle[2]=n,this.$strokeStyle[3]=o}closePath(){Kc()}arc(e,s,n){Qc(e,s,n)}bezierCurveTo(e,s,n,o,r,a){Jt(e,s,n,o,r,a)}fill(){Gn("fill")}gradientFill(e,s,n,o,r,a){Vn(e,s,n,o,r,a)}bitmapFill(e,s,n,o,r,a){xr(e,s,n,o,r,a)}stroke(){Mr()}gradientStroke(e,s,n,o,r,a){so(e,s,n,o,r,a)}bitmapStroke(e,s,n,o,r,a){vr(e,s,n,o,r,a)}clip(){Io()}get currentAttachmentObject(){return ds()}get atlasAttachmentObject(){return pn()}createNode(e,s){return rc(e,s)}removeNode(e){No(e)}beginNodeRendering(e){Ia(e),zs(e.x,e.y,e.w,e.h)}endNodeRendering(){Pn()}drawFill(){Ka()}drawDisplayObject(e,s,n,o,r,a){La(e),tr(e,s,n,o,r,a)}drawArraysInstanced(){ar()}clearArraysInstanced(){er()}transferMainCanvas(){ur()}drawPixels(e,s){Er(e,s)}drawElement(e,s){Ar(e,s)}beginMask(){fr()}setMaskBounds(e,s,n,o){br(e,s,n,o)}endMask(){ke()}leaveMask(){this.drawArraysInstanced(),$r()}useGrid(e){co(e)}applyFilter(e,s,n,o,r,a,l,h,f,i,E){this.drawArraysInstanced(),Ba(e,s,n,o,r,a,l,h,f,i,E)}async createImageBitmap(e,s){return await Za(e,s)}}const Ja=4;let x;const qa=t=>{x=t};let es;const tl=t=>{es=t};let ss=0;const el=()=>ss;let cs=0;const sl=()=>cs;let ns=!1;const cl=(t,e)=>{ns=!0,ss=t,cs=e},nl=()=>ns,ol=()=>{es.width=ss,es.height=cs,ns=!1},rl=[],Lc=(...t)=>{const e=rl.pop()||[];return t.length&&e.push(...t),e},zt=(t,e=1)=>({R:(t&16711680)>>16,G:(t&65280)>>8,B:t&255,A:e*255}),al=(t,e)=>{tl(t);const s=t.getContext("webgl2",{stencil:!0,premultipliedAlpha:!0,antialias:!1,depth:!1});if(!s)throw new Error("webgl2 is not supported.");qa(new Qa(s,Ja,e))},ll=(t,e,s=!0)=>{el()===t&&sl()===e||(cl(t,e),x.resize(t,e,s),s&&_.reset())},il=0,ul=1,hl=2,fl=3,bl=4,$l=5,El=6,Tl=7,Al=8,xl=9,vl=10,Ml=11,yl=12,Rl=13,gl=14,os=(t,e=!1)=>{let s=0;for(;t.length>s;)switch(t[s++]){case xl:x.beginPath();break;case il:x.moveTo(t[s++],t[s++]);break;case hl:x.lineTo(t[s++],t[s++]);break;case ul:x.quadraticCurveTo(t[s++],t[s++],t[s++],t[s++]);break;case $l:if(e){s+=4;break}x.fillStyle(t[s++]/255,t[s++]/255,t[s++]/255,t[s++]/255);break;case Tl:x.fill();break;case El:if(e){s+=8;break}x.thickness=t[s++],x.caps=t[s++],x.joints=t[s++],x.miterLimit=t[s++],x.strokeStyle(t[s++]/255,t[s++]/255,t[s++]/255,t[s++]/255);break;case Al:if(e)break;x.stroke();break;case yl:x.closePath();break;case bl:x.arc(t[s++],t[s++],t[s++]);break;case fl:x.bezierCurveTo(t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]);break;case vl:{if(e){s+=1;const i=t[s++];s+=i*5,s+=9,x.fill();break}const n=t[s++],o=Lc(),r=t[s++];for(let i=0;i<r;++i)o.push(t[s++],t[s++],t[s++],t[s++],t[s++]);const a=new Float32Array([t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]]),l=t[s++],h=t[s++],f=t[s++];x.gradientFill(n,o,a,l,h,f)}break;case Rl:{if(e){s+=2;const h=t[s++];s+=h,s+=8,x.fill();break}const n=t[s++],o=t[s++],r=t[s++],a=new Uint8Array(t.subarray(s,s+r));s+=r;const l=new Float32Array([t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]]);x.bitmapFill(a,l,n,o,!!t[s++],!!t[s++])}break;case Ml:{if(e){s+=20,x.fill();break}x.thickness=t[s++],x.caps=t[s++],x.joints=t[s++],x.miterLimit=t[s++];const n=t[s++],o=Lc(),r=t[s++];for(let i=0;i<r;++i)o.push(t[s++],t[s++],t[s++],t[s++],t[s++]);const a=new Float32Array([t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]]),l=t[s++],h=t[s++],f=t[s++];x.gradientStroke(n,o,a,l,h,f)}break;case gl:{if(e){s+=6;const h=t[s++];s+=h,s+=8,x.fill();break}x.thickness=t[s++],x.caps=t[s++],x.joints=t[s++],x.miterLimit=t[s++];const n=t[s++],o=t[s++],r=t[s++],a=new Uint8Array(t.subarray(s,s+r));s+=r;const l=new Float32Array([t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]]);x.bitmapStroke(a,l,n,o,!!t[s++],!!t[s++])}break}},Wt=t=>{switch(t){case 0:return"copy";case 1:return"add";case 2:return"alpha";case 3:return"darken";case 4:return"difference";case 5:return"erase";case 6:return"hardlight";case 7:return"invert";case 8:return"layer";case 9:return"lighten";case 10:return"multiply";case 11:return"normal";case 12:return"overlay";case 13:return"screen";case 14:return"subtract";default:return"normal"}},rs=(t,e)=>{const s=t.subarray(e,e+6);e+=6;const n=t.subarray(e,e+8);e+=8;const o=t.subarray(e,e+4);e+=4;const r=t[e++],a=t[e++],l=t[e++],h=t[e++],f=!!t[e++],i=!!t[e++],E=!!t[e++],$=\`\${t[e++]}\`,v=t[e++],T=Math.sqrt(s[0]*s[0]+s[1]*s[1]),u=Math.sqrt(s[2]*s[2]+s[3]*s[3]);let g;if(t[e++]){if(g=_.get($,\`\${v}\`),!g)return e}else{const O=f?new Float32Array(28):null;O&&(O.set(t.subarray(e,e+24)),e+=24),x.useGrid(O);const y=t[e++],M=t.subarray(e,e+y);if(E&&!f){const S=Math.ceil(Math.abs(l-r)),w=Math.ceil(Math.abs(h-a));g=x.createNode(S,w),_.set($,\`\${v}\`,g);const m=x.currentAttachmentObject;x.bind(x.atlasAttachmentObject),x.reset(),x.beginNodeRendering(g);const p=x.atlasAttachmentObject.height-g.y-w;x.setTransform(1,0,0,1,g.x,p),i?(os(M),x.drawFill()):x.drawPixels(g,new Uint8Array(M)),x.endNodeRendering(),m&&x.bind(m)}else{const S=Math.ceil(Math.abs(l-r)*T),w=Math.ceil(Math.abs(h-a)*u);g=x.createNode(S,w),_.set($,\`\${v}\`,g);const m=x.currentAttachmentObject;x.bind(x.atlasAttachmentObject),x.reset(),x.beginNodeRendering(g);const p=x.atlasAttachmentObject.height-g.y-w;x.setTransform(T,0,0,u,-r*T+g.x,-a*u+p),O&&(O[24]=g.x,O[25]=p),os(M),x.drawFill(),x.endNodeRendering(),m&&x.bind(m)}e+=y}const d=t[e++];if(!!t[e++]){const O=!!t[e++],y=t.subarray(e,e+4);e+=4;const M=t[e++],S=t.subarray(e,e+M),w=Math.ceil(Math.abs(o[2]-o[0])),m=Math.ceil(Math.abs(o[3]-o[1]));return x.applyFilter(g,$,O,w,m,E,s,n,Wt(d),y,S),e+=M,e}if(x.globalAlpha=Math.min(Math.max(0,n[3]+n[7]/255),1),x.imageSmoothingEnabled=!0,x.globalCompositeOperation=Wt(d),E&&!f)x.setTransform(s[0],s[1],s[2],s[3],s[4],s[5]),x.drawDisplayObject(g,o[0],o[1],o[2],o[3],n);else{const O=Math.atan2(s[1],s[0]),y=Math.atan2(-s[2],s[3]);if(O||y){const M=r*T,S=a*u,w=Math.cos(O),m=Math.sin(O),p=Math.cos(y),R=Math.sin(y);x.setTransform(w,m,-R,p,M*w-S*R+s[4],M*m+S*p+s[5])}else x.setTransform(1,0,0,1,o[0],o[1]);x.drawDisplayObject(g,o[0],o[1],o[2],o[3],n)}return e},as=(t,e)=>{const s=t.subarray(e,e+6);e+=6,x.reset(),x.setTransform(s[0],s[1],s[2],s[3],s[4],s[5]);const o=!!t[e++]?new Float32Array(28):null;x.useGrid(o),o&&(o.set(t.subarray(e,e+24)),e+=24);const r=t[e++],a=t.subarray(e,e+r);return os(a,!0),e+=r,x.clip(),e},Cc=(t,e,s)=>{const n=t.widthTable[e.line]||0,o=e.textFormat,r=o.leftMargin||0;if(!s.wordWrap&&n>s.rawWidth)return Math.max(0,r);const a=o.rightMargin||0;return o.align==="center"||s.autoSize==="center"?Math.max(0,s.rawWidth/2-r-a-n/2-2):o.align==="right"||s.autoSize==="right"?Math.max(0,s.rawWidth-r-n-a-4):Math.max(0,r)},pl=t=>{let e="";return t.italic&&(e+="italic "),t.bold&&(e+="bold "),\`\${e}\${t.size}px '\${t.font}','sans-serif'\`},ml=(t,e,s,n)=>{const o=new OffscreenCanvas(e.width,e.height),r=o.getContext("2d");if(!r)return o;const a=Math.min(1,Math.max(s,n));if(e.background||e.border){if(r.beginPath(),r.moveTo(0,0),r.lineTo(e.width,0),r.lineTo(e.width,e.height),r.lineTo(0,e.height),r.lineTo(0,0),e.background){const y=zt(e.backgroundColor);r.fillStyle=\`rgba(\${y.R},\${y.G},\${y.B},\${y.A})\`,r.fill()}if(e.border){const y=zt(e.borderColor);r.lineWidth=a,r.strokeStyle=\`rgba(\${y.R},\${y.G},\${y.B},\${y.A})\`,r.stroke()}}if(!t)return o;r.save(),r.beginPath(),r.moveTo(2,2),r.lineTo(e.width-2,2),r.lineTo(e.width-2,e.height-2),r.lineTo(2,e.height-2),r.lineTo(2,2),r.clip();let l=2;if(e.scrollX>0){const y=(e.textWidth+4-e.rawWidth)/e.rawWidth;l+=-e.scrollX*y}let h=2;if(e.scrollY>0){const y=(e.textHeight+2-e.rawHeight)/e.rawHeight;h+=-e.scrollY*y}if(r.setTransform(s,0,0,n,l*s,h*n),r.beginPath(),e.selectIndex>-1&&e.focusIndex>-1){const y=t.textTable.length-1;let M=0,S=0;e.focusIndex<=e.selectIndex?(M=Math.min(e.focusIndex,y),S=Math.min(e.selectIndex,y)):(M=Math.min(e.selectIndex,y),S=Math.min(e.focusIndex-1,y));const w=t.textTable[M],m=t.lineTable[w.line],p=Cc(t,m,e);let R=0;if(M&&w.mode==="text"){let b=M;for(;b;){const C=t.textTable[--b];if(C.mode!=="text")break;R+=C.w}}r.fillStyle="#b4d7ff";let B=0;for(let b=M;b<=S;++b){const C=t.textTable[b];if(C.mode==="text"&&(B+=C.w,b!==S))continue;let N=0;const U=C.mode==="text"?C.line:C.line-1;for(let k=0;k<U;++k)N+=t.heightTable[k];r.beginPath(),r.rect(R,N,B+p,t.heightTable[U]),r.fill(),R=0,B=0}}const f=e.rawWidth;let i=0;if(e.scrollX>0){const y=(e.textWidth-f)/f;i=e.scrollX*y}const E=f+i,$=e.rawHeight;let v=0;if(e.scrollY>0){const y=(e.textHeight-$)/$;v=e.scrollY*y}const T=$+v;let u=0,g=0,I=0,d=0,L=!1,O=-1;for(let y=0;y<t.textTable.length;++y){const M=t.textTable[y];if(!M)continue;if((M.mode==="text"||M.mode==="break")&&(O++,e.stopIndex>-1&&O>e.stopIndex))break;if(L&&M.mode==="text")continue;const S=M.textFormat;if(e.autoSize==="none"){if(g>T)break;if(M.mode==="text"&&(i>u+M.w||u>E)){u+=M.w;continue}}const w=zt(S.color||0);if(r.fillStyle=\`rgba(\${w.R},\${w.G},\${w.B},\${w.A})\`,e.focusVisible&&e.focusIndex===y){const p=u+I+.1;let R=M.line,B=M.y,b=t.ascentTable[R];M.mode!=="text"&&(B=M.mode==="break"?M.h:t.ascentTable[R-1],R>0?(R=M.line-1,b=t.ascentTable[R]):b=M.h),R>0&&t.ascentTable[R]===0&&R++;for(let C=0;C<R;++C)b+=t.heightTable[C];r.strokeStyle=\`rgba(\${w.R},\${w.G},\${w.B},\${w.A})\`,r.beginPath(),r.moveTo(p,b),r.lineTo(p,b-B),r.stroke()}if(e.thickness){const p=zt(e.thicknessColor);r.lineWidth=e.thickness,r.strokeStyle=\`rgba(\${p.R},\${p.G},\${p.B},\${p.A})\`}const m=M.line|0;switch(M.mode){case"break":case"wrap":if(u=0,m&&(g+=t.heightTable[m-1]),v>g+t.heightTable[m]){L=!0;continue}d=t.ascentTable[m],I=Cc(t,M,e),L=!1;break;case"text":{r.beginPath(),r.font=pl(S);const p=u+I,R=g+d;if(S.underline){const B=zt(S.color||0);r.lineWidth=a,r.strokeStyle=\`rgba(\${B.R},\${B.G},\${B.B},\${B.A})\`,r.beginPath(),r.moveTo(p,R+2),r.lineTo(p+M.w,R+2),r.stroke()}e.thickness&&r.strokeText(M.text,p,R),r.fillText(M.text,p,R),u+=M.w}break}}if(e.focusVisible&&e.focusIndex>=t.textTable.length){const y=t.textTable[e.focusIndex-1];if(y){const M=zt(y.textFormat.color||0);r.strokeStyle=\`rgba(\${M.R},\${M.G},\${M.B},\${M.A})\`;const S=u+I+.1,w=g+d;r.beginPath(),y.mode==="text"?r.moveTo(S,w-y.y):r.moveTo(S,w+y.h),r.lineTo(S,w),r.stroke()}}return r.restore(),o},Ol=new TextDecoder,ls=(t,e)=>{const s=t.subarray(e,e+6);e+=6;const n=t.subarray(e,e+8);e+=8;const o=t.subarray(e,e+4);e+=4;const r=t[e++],a=t[e++],l=t[e++],h=t[e++],f=\`\${t[e++]}\`,i=t[e++],E=!!t[e++],$=Math.sqrt(s[0]*s[0]+s[1]*s[1]),v=Math.sqrt(s[2]*s[2]+s[3]*s[3]);let T;if(t[e++]){if(T=_.get(f,\`\${i}\`),!T)return e}else{const O=Math.ceil(Math.abs(l-r)*$),y=Math.ceil(Math.abs(h-a)*v),M=!!t[e++];T=M?_.get(f,\`\${i}\`):x.createNode(O,y),M||_.set(f,\`\${i}\`,T);const S=t[e++],w=new Uint8Array(t.subarray(e,e+S));e+=S;let m="none";switch(t[e++]){case 0:m="center";break;case 1:m="left";break;case 2:m="none";break;case 3:m="right";break}const p={width:O,height:y,autoSize:m,stopIndex:t[e++],scrollX:t[e++],scrollY:t[e++],textWidth:t[e++],textHeight:t[e++],rawWidth:t[e++],rawHeight:t[e++],focusIndex:t[e++],selectIndex:t[e++],focusVisible:!!t[e++],thickness:t[e++],thicknessColor:t[e++],wordWrap:!!t[e++],border:!!t[e++],borderColor:t[e++],background:!!t[e++],backgroundColor:t[e++],defaultColor:t[e++],defaultSize:t[e++]},R=ml(JSON.parse(Ol.decode(w)),p,$,v),B=x.currentAttachmentObject;x.bind(x.atlasAttachmentObject),x.reset(),x.beginNodeRendering(T);const b=x.atlasAttachmentObject.height-T.y-y;x.setTransform(1,0,0,1,T.x,b),x.drawElement(T,R),x.endNodeRendering(),B&&x.bind(B)}const g=t[e++];if(!!t[e++]){const O=!!t[e++],y=t.subarray(e,e+4);e+=4;const M=t[e++],S=t.subarray(e,e+M),w=Math.ceil(Math.abs(o[2]-o[0])),m=Math.ceil(Math.abs(o[3]-o[1]));return x.applyFilter(T,f,!!Math.max(+E,+O),w,m,!1,s,n,Wt(g),y,S),e+=M,e}x.globalAlpha=Math.min(Math.max(0,n[3]+n[7]/255),1),x.imageSmoothingEnabled=!0,x.globalCompositeOperation=Wt(g);const d=Math.atan2(s[1],s[0]),L=Math.atan2(-s[2],s[3]);if(d||L){const O=r*$,y=a*v,M=Math.cos(d),S=Math.sin(d),w=Math.cos(L),m=Math.sin(L);x.setTransform(M,S,-m,w,O*M-y*m+s[4],O*S+y*w+s[5])}else x.setTransform(1,0,0,1,o[0],o[1]);return x.drawDisplayObject(T,o[0],o[1],o[2],o[3],n),e},is=(t,e,s)=>{const n=t.subarray(e,e+6);e+=6;const o=t.subarray(e,e+8);e+=8;const r=t.subarray(e,e+4);e+=4;const a=t[e++],l=t[e++],h=t[e++],f=t[e++],i=\`\${t[e++]}\`,E="0",$=!!t[e++];let v;if(t[e++]){if(v=_.get(i,\`\${E}\`),!v)return e}else{const I=Math.abs(h-a),d=Math.abs(f-l),L=!!t[e++];if(v=L?_.get(i,\`\${E}\`):x.createNode(I,d),L||_.set(i,\`\${E}\`,v),s&&s.length){const O=x.currentAttachmentObject;x.bind(x.atlasAttachmentObject),x.reset(),x.beginNodeRendering(v);const y=x.atlasAttachmentObject.height-v.y-d;x.setTransform(1,0,0,1,v.x,y);const M=s.shift();x.drawElement(v,M),x.endNodeRendering(),O&&x.bind(O)}}const u=t[e++];if(!!t[e++]){const I=!!t[e++],d=t.subarray(e,e+4);e+=4;const L=t[e++],O=t.subarray(e,e+L),y=Math.ceil(Math.abs(r[2]-r[0])),M=Math.ceil(Math.abs(r[3]-r[1]));return x.applyFilter(v,i,!!Math.max(+$,+I),y,M,!0,n,o,Wt(u),d,O),e+=L,e}return x.globalAlpha=Math.min(Math.max(0,o[3]+o[7]/255),1),x.imageSmoothingEnabled=!0,x.globalCompositeOperation=Wt(u),x.setTransform(n[0],n[1],n[2],n[3],n[4],n[5]),x.drawDisplayObject(v,r[0],r[1],r[2],r[3],o),e},us=(t,e)=>{const s=t[e++];for(let n=0;n<s;++n)switch(t[e++]){case 0:e=us(t,e);break;case 1:e=as(t,e);break}return e},hs=(t,e,s)=>{const n=!!t[e++];if(n){switch(x.drawArraysInstanced(),x.save(),x.beginMask(),x.setMaskBounds(t[e++],t[e++],t[e++],t[e++]),t[e++]){case 0:e=us(t,e);break;case 1:e=as(t,e);break}x.endMask()}let o=0,r=!0;const a=t[e++];for(let l=0;a>l;l++){const h=t[e++],f=t[e++];if(o&&h>o&&(r&&(x.restore(),x.leaveMask()),o=0,r=!0),!r)continue;if(f){if(o=f,r=!!t[e++],!r)continue;switch(x.drawArraysInstanced(),x.save(),x.beginMask(),x.setMaskBounds(t[e++],t[e++],t[e++],t[e++]),t[e++]){case 0:e=us(t,e);break;case 1:e=as(t,e);break}x.endMask();continue}if(!t[e++])continue;const i=t[e++];switch(i){case 0:e=hs(t,e,s);break;case 1:e=rs(t,e);break;case 2:e=ls(t,e);break;case 3:e=is(t,e,s);break;default:console.error("unknown type",i);break}}return(o||n)&&(x.restore(),x.leaveMask()),e};let jt=-1;const Fl=(t,e)=>{x.clearTransferBounds();let s=0;const n=t[s++];for(jt!==n&&(jt=n,jt===-1?x.updateBackgroundColor(0,0,0,0):x.updateBackgroundColor(jt>>16&255/255,jt>>8&255/255,jt&255/255,1)),x.reset(),x.setTransform(1,0,0,1,0,0),x.fillBackgroundColor();t.length>s;){if(!t[s++])continue;const o=t[s++];switch(o){case 0:s=hs(t,s,e);break;case 1:s=rs(t,s);break;case 2:s=ls(t,s);break;case 3:s=is(t,s,e);break;default:console.error("unknown type",o);break}}x.drawArraysInstanced(),nl()&&ol(),x.transferMainCanvas()},dl=t=>{for(let e=0;e<t.length;++e){const s=\`\${t[e]}\`;if(!_.has(s))continue;const n=_.getById(s);for(const o of n.values())x.removeNode(o);_.removeById(s)}},Sl=async(t,e,s,n=0,o=0,r)=>{x.clearTransferBounds();let a=1;for(x.reset(),x.setTransform(1,0,0,1,0,0),x.updateBackgroundColor(n>>16&255/255,n>>8&255/255,n&255/255,o),x.fillBackgroundColor();t.length>a;){if(!t[a++])continue;const l=t[a++];switch(l){case 0:a=hs(t,a,r);break;case 1:a=rs(t,a);break;case 2:a=ls(t,a);break;case 3:a=is(t,a,r);break;default:console.error("unknown type",l);break}}return x.drawArraysInstanced(),await x.createImageBitmap(e,s)};class wl{state;queue;constructor(){this.state="deactivate",this.queue=[]}async execute(){for(this.state="active";this.queue.length;){const e=this.queue.shift();if(e)switch(e.command){case"render":Fl(e.buffer.subarray(0,e.length),e.imageBitmaps),globalThis.postMessage({message:"render",buffer:e.buffer},[e.buffer.buffer]);break;case"resize":ll(e.buffer[0],e.buffer[1],!!e.buffer[2]);break;case"initialize":al(e.canvas,e.devicePixelRatio);break;case"removeCache":dl(e.buffer);break;case"cacheClear":_.reset();break;case"capture":{const s=await Sl(e.buffer.subarray(0,e.length),e.width,e.height,e.bgColor,e.bgAlpha,e.imageBitmaps);globalThis.postMessage({message:"capture",buffer:e.buffer,imageBitmap:s},[e.buffer.buffer,s])}break}}this.state="deactivate"}}const fs=new wl;self.addEventListener("message",async t=>{fs.queue.push(t.data),fs.state==="deactivate"&&await fs.execute()})})();
|
|
657
|
+
}\`},wc=(t,e,s,n)=>{const o=Pa(n,t,e,s);if(Je.has(o))return Je.get(o);const r=(n?14:5)+1,a=r-1,l=new Z(Re(r,!0,!1,n),Ga(r,a,t,e,s));return Je.set(o,l),l},Bc=(t,e,s,n,o=0,r=null,a=null)=>{const l=t.highp;l[0]=s[0],l[1]=s[1],l[2]=s[2],l[4]=s[3],l[5]=s[4],l[6]=s[5],l[8]=s[6],l[9]=s[7],l[10]=s[8],l[12]=n[0],l[13]=n[1],l[14]=n[2],l[16]=n[3],l[17]=n[4],l[18]=n[5],l[11]=n[6],l[15]=n[7],l[19]=n[8],l[3]=it(),l[7]=ut();let h=20;a&&(l[20]=a[0],l[21]=a[1],l[22]=0,l[24]=a[2],l[25]=a[3],l[26]=0,l[28]=a[4],l[29]=a[5],l[30]=1,l[32]=a[6],l[33]=a[7],l[34]=0,l[36]=a[8],l[37]=a[9],l[38]=0,l[40]=a[10],l[41]=a[11],l[42]=1,l[31]=a[12],l[35]=a[13],l[39]=a[14],l[43]=a[15],l[44]=a[16],l[45]=a[17],l[46]=a[18],l[47]=a[19],l[48]=a[20],l[49]=a[21],l[50]=a[22],l[51]=a[23],l[52]=a[24],l[53]=a[25],h=56),e===0?(l[h++]=r[0],l[h++]=r[1],l[h++]=r[2],l[h]=r[3]):(l[h++]=819.2,l[h]=Ht(o,-.975,.975,0))},Va=(t,e,s,n)=>{const o=tt.shift(),r=tt.shift(),a=tt.shift(),l=tt.shift();c.disable(c.STENCIL_TEST);const h=Sc(o,l);V(h),c.enable(c.STENCIL_TEST),c.frontFace(c.CCW),c.stencilMask(255),c.stencilFunc(c.ALWAYS,0,255),c.stencilOpSeparate(c.FRONT,c.KEEP,c.KEEP,c.INCR_WRAP),c.stencilOpSeparate(c.BACK,c.KEEP,c.KEEP,c.DECR_WRAP),c.colorMask(!1,!1,!1,!1);const f=!!n,i=ae(f);n&&le(i,n),c.enable(c.SAMPLE_ALPHA_TO_COVERAGE),nt(i,t,e,s),c.disable(c.SAMPLE_ALPHA_TO_COVERAGE),c.stencilFunc(c.NOTEQUAL,0,255),c.stencilOp(c.KEEP,c.ZERO,c.ZERO),c.colorMask(!0,!0,!0,!0);const E=wc(!1,!1,a,f),$=Yc(r),v=Se(A.$matrix);Bc(E,0,A.$matrix,v,0,$,n),As($),Kt(v),nt(E,t,e,s)},za=(t,e,s,n)=>{const o=tt.shift(),r=tt.shift(),a=tt.shift(),l=tt.shift(),h=tt.shift();c.disable(c.STENCIL_TEST);const f=Sc(o,l);V(f),c.enable(c.STENCIL_TEST),c.frontFace(c.CCW),c.stencilMask(255),c.stencilFunc(c.ALWAYS,0,255),c.stencilOpSeparate(c.FRONT,c.KEEP,c.KEEP,c.INCR_WRAP),c.stencilOpSeparate(c.BACK,c.KEEP,c.KEEP,c.DECR_WRAP),c.colorMask(!1,!1,!1,!1);const i=!!n,E=ae(i);n&&le(E,n),c.enable(c.SAMPLE_ALPHA_TO_COVERAGE),nt(E,t,e,s),c.disable(c.SAMPLE_ALPHA_TO_COVERAGE),c.stencilFunc(c.NOTEQUAL,0,255),c.stencilOp(c.KEEP,c.ZERO,c.ZERO),c.colorMask(!0,!0,!0,!0),A.save(),A.transform(r[0],r[1],r[2],r[3],r[4],r[5]);const $=A.$stack[A.$stack.length-1],v=Se(A.$matrix),T=wc(!0,!!h,a,i);Bc(T,1,$,v,h,n),A.restore(),Kt(v),nt(T,t,e,s)},qe=new Map,Wa=(t,e)=>{const s=\`b\${t?"y":"n"}\${e?"y":"n"}\`;if(qe.has(s))return qe.get(s);const n=t?Fo():Oo(),o=new Z(Re(e?14:5,!0,!1,e),n);return qe.set(s,o),o},ja=(t,e,s,n)=>{const o=t.highp,r=A.$stack[A.$stack.length-1];o[0]=r[0],o[1]=r[1],o[2]=r[2],o[4]=r[3],o[5]=r[4],o[6]=r[5],o[8]=r[6],o[9]=r[7],o[10]=r[8];const a=Se(A.$matrix);o[12]=a[0],o[13]=a[1],o[14]=a[2],o[16]=a[3],o[17]=a[4],o[18]=a[5],o[11]=a[6],o[15]=a[7],o[19]=a[8],o[3]=it(),o[7]=ut(),n&&(o[20]=n[0],o[21]=n[1],o[22]=0,o[24]=n[2],o[25]=n[3],o[26]=0,o[28]=n[4],o[29]=n[5],o[30]=1,o[32]=n[6],o[33]=n[7],o[34]=0,o[36]=n[8],o[37]=n[9],o[38]=0,o[40]=n[10],o[41]=n[11],o[42]=1,o[31]=n[12],o[35]=n[13],o[39]=n[14],o[43]=n[15],o[44]=n[16],o[45]=n[17],o[46]=n[18],o[47]=n[19],o[48]=n[20],o[49]=n[21],o[50]=n[22],o[51]=n[23],o[52]=n[24],o[53]=n[25]);const l=t.mediump;l[0]=e,l[1]=s},Ha=(t,e,s,n)=>{c.stencilFunc(c.ALWAYS,0,255),c.stencilOpSeparate(c.FRONT,c.KEEP,c.KEEP,c.INCR_WRAP),c.stencilOpSeparate(c.BACK,c.KEEP,c.KEEP,c.DECR_WRAP),c.colorMask(!1,!1,!1,!1);const o=!!n,r=ae(o);n&&le(r,n),c.enable(c.SAMPLE_ALPHA_TO_COVERAGE),nt(r,t,e,s),c.disable(c.SAMPLE_ALPHA_TO_COVERAGE);const a=Rt.shift(),l=Rt.shift(),h=Rt.shift(),f=Rt.shift(),i=Rt.shift(),E=Rt.shift(),$=He(h,f,a,E);A.save(),A.transform(l[0],l[1],l[2],l[3],l[4],l[5]),c.stencilFunc(c.NOTEQUAL,0,255),c.stencilOp(c.KEEP,c.ZERO,c.ZERO),c.colorMask(!0,!0,!0,!0);const v=Wa(i,o);ja(v,h,f,n),nt(v,t,e,s),A.restore(),D($)},Ka=()=>{const t=qs();c.enable(c.STENCIL_TEST),c.frontFace(c.CCW),c.stencilMask(255);let e=0,s=null;for(let n=0;n<bt.length;n++)switch(Dt.has(n)&&(s=Dt.get(n)),bt[n]){case"fill":{const r=q.shift();Na(t,e,r,s),e+=r}break;case"linear":{const r=q.shift();Va(t,e,r,s),e+=r}break;case"radial":{const r=q.shift();za(t,e,r,s),e+=r}break;case"bitmap":{const r=q.shift();Ha(t,e,r,s),e+=r}break}c.disable(c.STENCIL_TEST),tc(t),Ws(),Qs()};let ts=0;const Ic=new Float32Array(256);for(let t=1;t<256;t++)Ic[t]=255/t;const Za=async(t,e)=>{const s=bc(0,0,t,e);V(s),c.bindFramebuffer(c.FRAMEBUFFER,an()),c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,s.resource,0);const n=new Uint8Array(t*e*4),o=A.$mainAttachmentObject;n.byteLength>ts&&(ts=fe(n.byteLength),c.bufferData(c.PIXEL_PACK_BUFFER,ts,c.STREAM_READ)),c.readPixels(0,o.height-e,t,e,c.RGBA,c.UNSIGNED_BYTE,0);const r=c.fenceSync(c.SYNC_GPU_COMMANDS_COMPLETE,0);await new Promise(a=>{const l=()=>{if(c.clientWaitSync(r,c.SYNC_FLUSH_COMMANDS_BIT,0)===c.TIMEOUT_EXPIRED){requestAnimationFrame(l);return}return c.deleteSync(r),c.getBufferSubData(c.PIXEL_PACK_BUFFER,0,n),a()};l()}),c.bindFramebuffer(c.FRAMEBUFFER,ft);for(let a=0;a<n.length;a+=4){const l=n[a+3];if(l===0||l===255)continue;const h=Ic[l];n[a]=Math.min(255,Math.round(n[a]*h)),n[a+1]=Math.min(255,Math.round(n[a+1]*h)),n[a+2]=Math.min(255,Math.round(n[a+2]*h))}return await createImageBitmap(new ImageData(new Uint8ClampedArray(n),t,e),{imageOrientation:"flipY",premultiplyAlpha:"none",colorSpaceConversion:"none"})};class Qa{$stack;$matrix;$clearColorR;$clearColorG;$clearColorB;$clearColorA;$mainAttachmentObject;$stackAttachmentObject;globalAlpha;globalCompositeOperation;imageSmoothingEnabled;$fillStyle;$strokeStyle;maskBounds;thickness;caps;joints;miterLimit;constructor(e,s,n=1){Uc(e),kc(e.getParameter(e.MAX_TEXTURE_SIZE)),Nc(s),Gc(n),this.$stack=he(),this.$stackAttachmentObject=he(),this.$matrix=de(1,0,0,0,1,0,0,0,1),this.$clearColorR=0,this.$clearColorG=0,this.$clearColorB=0,this.$clearColorA=0,this.thickness=1,this.caps=1,this.joints=2,this.miterLimit=0,this.$mainAttachmentObject=null,this.globalAlpha=1,this.globalCompositeOperation="normal",this.imageSmoothingEnabled=!1,this.$fillStyle=new Float32Array([1,1,1,1]),this.$strokeStyle=new Float32Array([1,1,1,1]),this.maskBounds={xMin:0,yMin:0,xMax:0,yMax:0},e.pixelStorei(e.UNPACK_ALIGNMENT,1),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),sn(e),cn(e),nn(e,Ps()),on(e),ir(e),hr(),Qr(e),Pc(this)}clearTransferBounds(){mn()}updateBackgroundColor(e,s,n,o){Jc(this,e,s,n,o)}fillBackgroundColor(){qc(this.$clearColorR,this.$clearColorG,this.$clearColorB,this.$clearColorA)}resize(e,s,n=!0){Fn(this,e,s,n)}clearRect(e,s,n,o){dn(e,s,n,o)}bind(e){Bn(this,e)}save(){In(this)}restore(){Ln(this)}setTransform(e,s,n,o,r,a){Cn(this.$matrix,e,s,n,o,r,a)}transform(e,s,n,o,r,a){kn(this,e,s,n,o,r,a)}reset(){Nn(this)}beginPath(){Un(this),Wc()}moveTo(e,s){be(e,s)}lineTo(e,s){Hc(e,s)}quadraticCurveTo(e,s,n,o){gs(e,s,n,o)}fillStyle(e,s,n,o){this.$fillStyle[0]=e,this.$fillStyle[1]=s,this.$fillStyle[2]=n,this.$fillStyle[3]=o}strokeStyle(e,s,n,o){this.$strokeStyle[0]=e,this.$strokeStyle[1]=s,this.$strokeStyle[2]=n,this.$strokeStyle[3]=o}closePath(){Kc()}arc(e,s,n){Qc(e,s,n)}bezierCurveTo(e,s,n,o,r,a){Jt(e,s,n,o,r,a)}fill(){Gn("fill")}gradientFill(e,s,n,o,r,a){Vn(e,s,n,o,r,a)}bitmapFill(e,s,n,o,r,a){xr(e,s,n,o,r,a)}stroke(){Mr()}gradientStroke(e,s,n,o,r,a){so(e,s,n,o,r,a)}bitmapStroke(e,s,n,o,r,a){vr(e,s,n,o,r,a)}clip(){Io()}get currentAttachmentObject(){return ds()}get atlasAttachmentObject(){return pn()}createNode(e,s){return rc(e,s)}removeNode(e){No(e)}beginNodeRendering(e){Ia(e),zs(e.x,e.y,e.w,e.h)}endNodeRendering(){Pn()}drawFill(){Ka()}drawDisplayObject(e,s,n,o,r,a){La(e),tr(e,s,n,o,r,a)}drawArraysInstanced(){ar()}clearArraysInstanced(){er()}transferMainCanvas(){ur()}drawPixels(e,s){Er(e,s)}drawElement(e,s){Ar(e,s)}beginMask(){fr()}setMaskBounds(e,s,n,o){br(e,s,n,o)}endMask(){ke()}leaveMask(){this.drawArraysInstanced(),$r()}useGrid(e){co(e)}applyFilter(e,s,n,o,r,a,l,h,f,i,E){this.drawArraysInstanced(),Ba(e,s,n,o,r,a,l,h,f,i,E)}async createImageBitmap(e,s){return await Za(e,s)}}const Ja=4;let x;const qa=t=>{x=t};let es;const tl=t=>{es=t};let ss=0;const el=()=>ss;let cs=0;const sl=()=>cs;let ns=!1;const cl=(t,e)=>{ns=!0,ss=t,cs=e},nl=()=>ns,ol=()=>{es.width=ss,es.height=cs,ns=!1},rl=[],Lc=(...t)=>{const e=rl.pop()||[];return t.length&&e.push(...t),e},zt=(t,e=1)=>({R:(t&16711680)>>16,G:(t&65280)>>8,B:t&255,A:e*255}),al=(t,e)=>{tl(t);const s=t.getContext("webgl2",{stencil:!0,premultipliedAlpha:!0,antialias:!1,depth:!1});if(!s)throw new Error("webgl2 is not supported.");qa(new Qa(s,Ja,e))},ll=(t,e,s=!0)=>{el()===t&&sl()===e||(cl(t,e),x.resize(t,e,s),s&&_.reset())},il=0,ul=1,hl=2,fl=3,bl=4,$l=5,El=6,Tl=7,Al=8,xl=9,vl=10,Ml=11,yl=12,Rl=13,gl=14,os=(t,e=!1)=>{let s=0;for(;t.length>s;)switch(t[s++]){case xl:x.beginPath();break;case il:x.moveTo(t[s++],t[s++]);break;case hl:x.lineTo(t[s++],t[s++]);break;case ul:x.quadraticCurveTo(t[s++],t[s++],t[s++],t[s++]);break;case $l:if(e){s+=4;break}x.fillStyle(t[s++]/255,t[s++]/255,t[s++]/255,t[s++]/255);break;case Tl:x.fill();break;case El:if(e){s+=8;break}x.thickness=t[s++],x.caps=t[s++],x.joints=t[s++],x.miterLimit=t[s++],x.strokeStyle(t[s++]/255,t[s++]/255,t[s++]/255,t[s++]/255);break;case Al:if(e)break;x.stroke();break;case yl:x.closePath();break;case bl:x.arc(t[s++],t[s++],t[s++]);break;case fl:x.bezierCurveTo(t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]);break;case vl:{if(e){s+=1;const i=t[s++];s+=i*5,s+=9,x.fill();break}const n=t[s++],o=Lc(),r=t[s++];for(let i=0;i<r;++i)o.push(t[s++],t[s++],t[s++],t[s++],t[s++]);const a=new Float32Array([t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]]),l=t[s++],h=t[s++],f=t[s++];x.gradientFill(n,o,a,l,h,f)}break;case Rl:{if(e){s+=2;const h=t[s++];s+=h,s+=8,x.fill();break}const n=t[s++],o=t[s++],r=t[s++],a=new Uint8Array(t.subarray(s,s+r));s+=r;const l=new Float32Array([t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]]);x.bitmapFill(a,l,n,o,!!t[s++],!!t[s++])}break;case Ml:{if(e){s+=20,x.fill();break}x.thickness=t[s++],x.caps=t[s++],x.joints=t[s++],x.miterLimit=t[s++];const n=t[s++],o=Lc(),r=t[s++];for(let i=0;i<r;++i)o.push(t[s++],t[s++],t[s++],t[s++],t[s++]);const a=new Float32Array([t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]]),l=t[s++],h=t[s++],f=t[s++];x.gradientStroke(n,o,a,l,h,f)}break;case gl:{if(e){s+=6;const h=t[s++];s+=h,s+=8,x.fill();break}x.thickness=t[s++],x.caps=t[s++],x.joints=t[s++],x.miterLimit=t[s++];const n=t[s++],o=t[s++],r=t[s++],a=new Uint8Array(t.subarray(s,s+r));s+=r;const l=new Float32Array([t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]]);x.bitmapStroke(a,l,n,o,!!t[s++],!!t[s++])}break}},Wt=t=>{switch(t){case 0:return"copy";case 1:return"add";case 2:return"alpha";case 3:return"darken";case 4:return"difference";case 5:return"erase";case 6:return"hardlight";case 7:return"invert";case 8:return"layer";case 9:return"lighten";case 10:return"multiply";case 11:return"normal";case 12:return"overlay";case 13:return"screen";case 14:return"subtract";default:return"normal"}},rs=(t,e)=>{const s=t.subarray(e,e+6);e+=6;const n=t.subarray(e,e+8);e+=8;const o=t.subarray(e,e+4);e+=4;const r=t[e++],a=t[e++],l=t[e++],h=t[e++],f=!!t[e++],i=!!t[e++],E=!!t[e++],$=\`\${t[e++]}\`,v=t[e++],T=Math.sqrt(s[0]*s[0]+s[1]*s[1]),u=Math.sqrt(s[2]*s[2]+s[3]*s[3]);let g;if(t[e++]){if(g=_.get($,\`\${v}\`),!g)return e}else{const O=f?new Float32Array(28):null;O&&(O.set(t.subarray(e,e+24)),e+=24),x.useGrid(O);const y=t[e++],M=t.subarray(e,e+y);if(E&&!f){const S=Math.ceil(Math.abs(l-r)),w=Math.ceil(Math.abs(h-a));g=x.createNode(S,w),_.set($,\`\${v}\`,g);const m=x.currentAttachmentObject;x.bind(x.atlasAttachmentObject),x.reset(),x.beginNodeRendering(g);const p=x.atlasAttachmentObject.height-g.y-w;x.setTransform(1,0,0,1,g.x,p),i?(os(M),x.drawFill()):x.drawPixels(g,new Uint8Array(M)),x.endNodeRendering(),m&&x.bind(m)}else{const S=Math.ceil(Math.abs(l-r)*T),w=Math.ceil(Math.abs(h-a)*u);g=x.createNode(S,w),_.set($,\`\${v}\`,g);const m=x.currentAttachmentObject;x.bind(x.atlasAttachmentObject),x.reset(),x.beginNodeRendering(g);const p=x.atlasAttachmentObject.height-g.y-w;x.setTransform(T,0,0,u,-r*T+g.x,-a*u+p),O&&(O[24]=g.x,O[25]=p),os(M),x.drawFill(),x.endNodeRendering(),m&&x.bind(m)}e+=y}const d=t[e++];if(!!t[e++]){const O=!!t[e++],y=t.subarray(e,e+4);e+=4;const M=t[e++],S=t.subarray(e,e+M),w=Math.ceil(Math.abs(o[2]-o[0])),m=Math.ceil(Math.abs(o[3]-o[1]));return x.applyFilter(g,$,O,w,m,E,s,n,Wt(d),y,S),e+=M,e}if(x.globalAlpha=Math.min(Math.max(0,n[3]+n[7]/255),1),x.imageSmoothingEnabled=!0,x.globalCompositeOperation=Wt(d),E&&!f)x.setTransform(s[0],s[1],s[2],s[3],s[4],s[5]),x.drawDisplayObject(g,o[0],o[1],o[2],o[3],n);else{const O=Math.atan2(s[1],s[0]),y=Math.atan2(-s[2],s[3]);if(O||y){const M=r*T,S=a*u,w=Math.cos(O),m=Math.sin(O),p=Math.cos(y),R=Math.sin(y);x.setTransform(w,m,-R,p,M*w-S*R+s[4],M*m+S*p+s[5])}else x.setTransform(1,0,0,1,o[0],o[1]);x.drawDisplayObject(g,o[0],o[1],o[2],o[3],n)}return e},as=(t,e)=>{const s=t.subarray(e,e+6);e+=6,x.reset(),x.setTransform(s[0],s[1],s[2],s[3],s[4],s[5]);const o=!!t[e++]?new Float32Array(28):null;x.useGrid(o),o&&(o.set(t.subarray(e,e+24)),e+=24);const r=t[e++],a=t.subarray(e,e+r);return os(a,!0),e+=r,x.clip(),e},Cc=(t,e,s)=>{const n=t.widthTable[e.line]||0,o=e.textFormat,r=o.leftMargin||0;if(!s.wordWrap&&n>s.rawWidth)return Math.max(0,r);const a=o.rightMargin||0;return o.align==="center"||s.autoSize==="center"?Math.max(0,s.rawWidth/2-r-a-n/2-2):o.align==="right"||s.autoSize==="right"?Math.max(0,s.rawWidth-r-n-a-4):Math.max(0,r)},pl=t=>{let e="";return t.italic&&(e+="italic "),t.bold&&(e+="bold "),\`\${e}\${t.size}px '\${t.font}','sans-serif'\`},ml=(t,e,s,n)=>{const o=new OffscreenCanvas(e.width,e.height),r=o.getContext("2d");if(!r)return o;const a=Math.min(1,Math.max(s,n));if(e.background||e.border){if(r.beginPath(),r.moveTo(0,0),r.lineTo(e.width,0),r.lineTo(e.width,e.height),r.lineTo(0,e.height),r.lineTo(0,0),e.background){const y=zt(e.backgroundColor);r.fillStyle=\`rgba(\${y.R},\${y.G},\${y.B},\${y.A})\`,r.fill()}if(e.border){const y=zt(e.borderColor);r.lineWidth=a,r.strokeStyle=\`rgba(\${y.R},\${y.G},\${y.B},\${y.A})\`,r.stroke()}}if(!t)return o;r.save(),r.beginPath(),r.moveTo(2,2),r.lineTo(e.width-2,2),r.lineTo(e.width-2,e.height-2),r.lineTo(2,e.height-2),r.lineTo(2,2),r.clip();let l=2;if(e.scrollX>0){const y=(e.textWidth+4-e.rawWidth)/e.rawWidth;l+=-e.scrollX*y}let h=2;if(e.scrollY>0){const y=(e.textHeight+2-e.rawHeight)/e.rawHeight;h+=-e.scrollY*y}if(r.setTransform(s,0,0,n,l*s,h*n),r.beginPath(),e.selectIndex>-1&&e.focusIndex>-1){const y=t.textTable.length-1;let M=0,S=0;e.focusIndex<=e.selectIndex?(M=Math.min(e.focusIndex,y),S=Math.min(e.selectIndex,y)):(M=Math.min(e.selectIndex,y),S=Math.min(e.focusIndex-1,y));const w=t.textTable[M],m=t.lineTable[w.line],p=Cc(t,m,e);let R=0;if(M&&w.mode==="text"){let b=M;for(;b;){const C=t.textTable[--b];if(C.mode!=="text")break;R+=C.w}}r.fillStyle="#b4d7ff";let B=0;for(let b=M;b<=S;++b){const C=t.textTable[b];if(C.mode==="text"&&(B+=C.w,b!==S))continue;let N=0;const U=C.mode==="text"?C.line:C.line-1;for(let k=0;k<U;++k)N+=t.heightTable[k];r.beginPath(),r.rect(R,N,B+p,t.heightTable[U]),r.fill(),R=0,B=0}}const f=e.rawWidth;let i=0;if(e.scrollX>0){const y=(e.textWidth-f)/f;i=e.scrollX*y}const E=f+i,$=e.rawHeight;let v=0;if(e.scrollY>0){const y=(e.textHeight-$)/$;v=e.scrollY*y}const T=$+v;let u=0,g=0,I=0,d=0,L=!1,O=-1;for(let y=0;y<t.textTable.length;++y){const M=t.textTable[y];if(!M)continue;if((M.mode==="text"||M.mode==="break")&&(O++,e.stopIndex>-1&&O>e.stopIndex))break;if(L&&M.mode==="text")continue;const S=M.textFormat;if(e.autoSize==="none"){if(g>T)break;if(M.mode==="text"&&(i>u+M.w||u>E)){u+=M.w;continue}}const w=zt(S.color||0);if(r.fillStyle=\`rgba(\${w.R},\${w.G},\${w.B},\${w.A})\`,e.focusVisible&&e.focusIndex===y){const p=u+I+.1;let R=M.line,B=M.y,b=t.ascentTable[R];M.mode!=="text"&&(B=M.mode==="break"?M.h:t.ascentTable[R-1],R>0?(R=M.line-1,b=t.ascentTable[R]):b=M.h),R>0&&t.ascentTable[R]===0&&R++;for(let C=0;C<R;++C)b+=t.heightTable[C];r.strokeStyle=\`rgba(\${w.R},\${w.G},\${w.B},\${w.A})\`,r.beginPath(),r.moveTo(p,b),r.lineTo(p,b-B),r.stroke()}if(e.thickness){const p=zt(e.thicknessColor);r.lineWidth=e.thickness,r.strokeStyle=\`rgba(\${p.R},\${p.G},\${p.B},\${p.A})\`}const m=M.line|0;switch(M.mode){case"break":case"wrap":if(u=0,m&&(g+=t.heightTable[m-1]),v>g+t.heightTable[m]){L=!0;continue}d=t.ascentTable[m],I=Cc(t,M,e),L=!1;break;case"text":{r.beginPath(),r.font=pl(S);const p=u+I,R=g+d;if(S.underline){const B=zt(S.color||0);r.lineWidth=a,r.strokeStyle=\`rgba(\${B.R},\${B.G},\${B.B},\${B.A})\`,r.beginPath(),r.moveTo(p,R+2),r.lineTo(p+M.w,R+2),r.stroke()}e.thickness&&r.strokeText(M.text,p,R),r.fillText(M.text,p,R),u+=M.w}break}}if(e.focusVisible&&e.focusIndex>=t.textTable.length){const y=t.textTable[e.focusIndex-1];if(y){const M=zt(y.textFormat.color||0);r.strokeStyle=\`rgba(\${M.R},\${M.G},\${M.B},\${M.A})\`;const S=u+I+.1,w=g+d;r.beginPath(),y.mode==="text"?r.moveTo(S,w-y.y):r.moveTo(S,w+y.h),r.lineTo(S,w),r.stroke()}}return r.restore(),o},Ol=new TextDecoder,ls=(t,e)=>{const s=t.subarray(e,e+6);e+=6;const n=t.subarray(e,e+8);e+=8;const o=t.subarray(e,e+4);e+=4;const r=t[e++],a=t[e++],l=t[e++],h=t[e++],f=\`\${t[e++]}\`,i=t[e++],E=!!t[e++],$=Math.sqrt(s[0]*s[0]+s[1]*s[1]),v=Math.sqrt(s[2]*s[2]+s[3]*s[3]);let T;if(t[e++]){if(T=_.get(f,\`\${i}\`),!T)return e}else{const O=Math.ceil(Math.abs(l-r)*$),y=Math.ceil(Math.abs(h-a)*v),M=!!t[e++];T=M?_.get(f,\`\${i}\`):x.createNode(O,y),M||_.set(f,\`\${i}\`,T);const S=t[e++],w=new Uint8Array(t.subarray(e,e+S));e+=S;let m="none";switch(t[e++]){case 0:m="center";break;case 1:m="left";break;case 2:m="none";break;case 3:m="right";break}const p={width:O,height:y,autoSize:m,stopIndex:t[e++],scrollX:t[e++],scrollY:t[e++],textWidth:t[e++],textHeight:t[e++],rawWidth:t[e++],rawHeight:t[e++],focusIndex:t[e++],selectIndex:t[e++],focusVisible:!!t[e++],thickness:t[e++],thicknessColor:t[e++],wordWrap:!!t[e++],border:!!t[e++],borderColor:t[e++],background:!!t[e++],backgroundColor:t[e++],defaultColor:t[e++],defaultSize:t[e++]},R=ml(JSON.parse(Ol.decode(w)),p,$,v),B=x.currentAttachmentObject;x.bind(x.atlasAttachmentObject),x.reset(),x.beginNodeRendering(T);const b=x.atlasAttachmentObject.height-T.y-y;x.setTransform(1,0,0,1,T.x,b),x.drawElement(T,R),x.endNodeRendering(),B&&x.bind(B)}const g=t[e++];if(!!t[e++]){const O=!!t[e++],y=t.subarray(e,e+4);e+=4;const M=t[e++],S=t.subarray(e,e+M),w=Math.ceil(Math.abs(o[2]-o[0])),m=Math.ceil(Math.abs(o[3]-o[1]));return x.applyFilter(T,f,!!Math.max(+E,+O),w,m,!1,s,n,Wt(g),y,S),e+=M,e}x.globalAlpha=Math.min(Math.max(0,n[3]+n[7]/255),1),x.imageSmoothingEnabled=!0,x.globalCompositeOperation=Wt(g);const d=Math.atan2(s[1],s[0]),L=Math.atan2(-s[2],s[3]);if(d||L){const O=r*$,y=a*v,M=Math.cos(d),S=Math.sin(d),w=Math.cos(L),m=Math.sin(L);x.setTransform(M,S,-m,w,O*M-y*m+s[4],O*S+y*w+s[5])}else x.setTransform(1,0,0,1,o[0],o[1]);return x.drawDisplayObject(T,o[0],o[1],o[2],o[3],n),e},is=(t,e,s)=>{const n=t.subarray(e,e+6);e+=6;const o=t.subarray(e,e+8);e+=8;const r=t.subarray(e,e+4);e+=4;const a=t[e++],l=t[e++],h=t[e++],f=t[e++],i=\`\${t[e++]}\`,E="0",$=!!t[e++];let v;if(t[e++]){if(v=_.get(i,\`\${E}\`),!v)return e}else{const I=Math.abs(h-a),d=Math.abs(f-l),L=!!t[e++];if(v=L?_.get(i,\`\${E}\`):x.createNode(I,d),L||_.set(i,\`\${E}\`,v),s&&s.length){const O=x.currentAttachmentObject;x.bind(x.atlasAttachmentObject),x.reset(),x.beginNodeRendering(v);const y=x.atlasAttachmentObject.height-v.y-d;x.setTransform(1,0,0,1,v.x,y);const M=s.shift();x.drawElement(v,M),x.endNodeRendering(),O&&x.bind(O)}}const u=t[e++];if(!!t[e++]){const I=!!t[e++],d=t.subarray(e,e+4);e+=4;const L=t[e++],O=t.subarray(e,e+L),y=Math.ceil(Math.abs(r[2]-r[0])),M=Math.ceil(Math.abs(r[3]-r[1]));return x.applyFilter(v,i,!!Math.max(+$,+I),y,M,!0,n,o,Wt(u),d,O),e+=L,e}return x.globalAlpha=Math.min(Math.max(0,o[3]+o[7]/255),1),x.imageSmoothingEnabled=!0,x.globalCompositeOperation=Wt(u),x.setTransform(n[0],n[1],n[2],n[3],n[4],n[5]),x.drawDisplayObject(v,r[0],r[1],r[2],r[3],o),e},us=(t,e)=>{const s=t[e++];for(let n=0;n<s;++n)switch(t[e++]){case 0:e=us(t,e);break;case 1:e=as(t,e);break}return e},hs=(t,e,s)=>{const n=!!t[e++];if(n){switch(x.drawArraysInstanced(),x.save(),x.beginMask(),x.setMaskBounds(t[e++],t[e++],t[e++],t[e++]),t[e++]){case 0:e=us(t,e);break;case 1:e=as(t,e);break}x.endMask()}let o=0,r=!0;const a=t[e++];for(let l=0;a>l;l++){const h=t[e++],f=t[e++];if(o&&h>o&&(r&&(x.restore(),x.leaveMask()),o=0,r=!0),!r)continue;if(f){if(o=f,r=!!t[e++],!r)continue;switch(x.drawArraysInstanced(),x.save(),x.beginMask(),x.setMaskBounds(t[e++],t[e++],t[e++],t[e++]),t[e++]){case 0:e=us(t,e);break;case 1:e=as(t,e);break}x.endMask();continue}if(!t[e++])continue;const i=t[e++];switch(i){case 0:e=hs(t,e,s);break;case 1:e=rs(t,e);break;case 2:e=ls(t,e);break;case 3:e=is(t,e,s);break;default:console.error("unknown type",i);break}}return(o||n)&&(x.restore(),x.leaveMask()),e};let jt=-1;const Fl=(t,e)=>{x.clearTransferBounds();let s=0;const n=t[s++];for(jt!==n&&(jt=n,jt===-1?x.updateBackgroundColor(0,0,0,0):x.updateBackgroundColor((jt>>16&255)/255,(jt>>8&255)/255,(jt&255)/255,1)),x.reset(),x.setTransform(1,0,0,1,0,0),x.fillBackgroundColor();t.length>s;){if(!t[s++])continue;const o=t[s++];switch(o){case 0:s=hs(t,s,e);break;case 1:s=rs(t,s);break;case 2:s=ls(t,s);break;case 3:s=is(t,s,e);break;default:console.error("unknown type",o);break}}x.drawArraysInstanced(),nl()&&ol(),x.transferMainCanvas()},dl=t=>{for(let e=0;e<t.length;++e){const s=\`\${t[e]}\`;if(!_.has(s))continue;const n=_.getById(s);for(const o of n.values())x.removeNode(o);_.removeById(s)}},Sl=async(t,e,s,n=0,o=0,r)=>{x.clearTransferBounds();let a=1;for(x.reset(),x.setTransform(1,0,0,1,0,0),x.updateBackgroundColor((n>>16&255)/255,(n>>8&255)/255,(n&255)/255,o),x.fillBackgroundColor();t.length>a;){if(!t[a++])continue;const l=t[a++];switch(l){case 0:a=hs(t,a,r);break;case 1:a=rs(t,a);break;case 2:a=ls(t,a);break;case 3:a=is(t,a,r);break;default:console.error("unknown type",l);break}}return x.drawArraysInstanced(),await x.createImageBitmap(e,s)};class wl{state;queue;constructor(){this.state="deactivate",this.queue=[]}async execute(){for(this.state="active";this.queue.length;){const e=this.queue.shift();if(e)switch(e.command){case"render":Fl(e.buffer.subarray(0,e.length),e.imageBitmaps),globalThis.postMessage({message:"render",buffer:e.buffer},[e.buffer.buffer]);break;case"resize":ll(e.buffer[0],e.buffer[1],!!e.buffer[2]);break;case"initialize":al(e.canvas,e.devicePixelRatio);break;case"removeCache":dl(e.buffer);break;case"cacheClear":_.reset();break;case"capture":{const s=await Sl(e.buffer.subarray(0,e.length),e.width,e.height,e.bgColor,e.bgAlpha,e.imageBitmaps);globalThis.postMessage({message:"capture",buffer:e.buffer,imageBitmap:s},[e.buffer.buffer,s])}break}}this.state="deactivate"}}const fs=new wl;self.addEventListener("message",async t=>{fs.queue.push(t.data),fs.state==="deactivate"&&await fs.execute()})})();
|
|
658
658
|
`,As=typeof self<"u"&&self.Blob&&new Blob(["(self.URL || self.webkitURL).revokeObjectURL(self.location.href);",cn],{type:"text/javascript;charset=utf-8"});function Cr(e){let t;try{if(t=As&&(self.URL||self.webkitURL).createObjectURL(As),!t)throw"";const u=new Worker(t,{name:e?.name});return u.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(t)}),u}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(cn),{name:e?.name})}}const we=new Cr,Nr=e=>{const t=e.transferControlToOffscreen();we.postMessage({command:"initialize",canvas:t,devicePixelRatio:window.devicePixelRatio},[t])};class We{static get AT_TARGET(){return 2}static get BUBBLING_PHASE(){return 3}static get CAPTURING_PHASE(){return 1}}let m=class{type;bubbles;listener;target;currentTarget;eventPhase;_$stopImmediatePropagation;_$stopPropagation;constructor(t,u=!1){this.type=`${t}`,this.bubbles=u,this.target=null,this.currentTarget=null,this.eventPhase=We.AT_TARGET,this.listener=null,this._$stopImmediatePropagation=!1,this._$stopPropagation=!1}static get ADDED(){return"added"}static get ADDED_TO_STAGE(){return"addedToStage"}static get CHANGE(){return"change"}static get COMPLETE(){return"complete"}static get ENDED(){return"ended"}static get ENTER_FRAME(){return"enterFrame"}static get FRAME_LABEL(){return"frameLabel"}static get INPUT(){return"input"}static get OPEN(){return"open"}static get REMOVED(){return"removed"}static get REMOVED_FROM_STAGE(){return"removedFromStage"}static get RESIZE(){return"resize"}static get SCROLL(){return"scroll"}stopImmediatePropagation(){this._$stopImmediatePropagation=!0}stopPropagation(){this._$stopPropagation=!0}};const W=new Map,Nt=[],Pt=()=>Nt.length?Nt.pop():[],Ie=e=>{10>Nt.length&&(e.length=0,Nt.push(e))};let on=null;const Ue=e=>{on=e},Yt=()=>on;class B extends m{constructor(t,u=!0){return super(t,u),new Proxy(this,{get:(s,n)=>{if(n in s)return s[n];const r=Yt();if(r)switch(r.type){case B.KEY_DOWN:case B.KEY_UP:return n in r?$event[n]:void 0;default:return}}})}static get KEY_DOWN(){return"keydown"}static get KEY_UP(){return"keyup"}}const Pr=(e,t,u,s=!1,n=0)=>{let r;switch(t){case m.ENTER_FRAME:case B.KEY_DOWN:case B.KEY_UP:(!W.size||!W.has(t))&&W.set(t,Pt()),r=W.get(t);break;default:e._$events||(e._$events=new Map),(!e._$events.size||!e._$events.has(t))&&e._$events.set(t,Pt()),r=e._$events.get(t);break}const a=r.length;let i=0;for(;i<a;++i){const c=r[i];if(s===c.useCapture&&c.target===e&&c.listener===u)break}if(a===i)r.push({listener:u,priority:n,useCapture:s,target:e});else{const c=r[i];c.listener=u,c.priority=n,c.useCapture=s,c.target=e}r.length>1&&r.sort((c,o)=>{switch(!0){case c.priority>o.priority:return-1;case c.priority<o.priority:return 1;default:return 0}})},Br=(e,t)=>{switch(t){case m.ENTER_FRAME:case B.KEY_DOWN:case B.KEY_UP:return!!(W.size&&W.has(t));default:return!!(e._$events&&e._$events.size&&e._$events.has(t))}},Dr=(e,t,u,s=!1)=>{let n;switch(t){case m.ENTER_FRAME:case B.KEY_DOWN:case B.KEY_UP:if(!W.size||!W.has(t))return;n=W.get(t);break;default:if(!e._$events||!e._$events.size||!e._$events.has(t))return;n=e._$events.get(t);break}if(n){for(let r=0;r<n.length;++r){const a=n[r];if(s===a.useCapture&&a.listener===u){n.splice(r,1);break}}if(!n.length){W.has(t)&&W.delete(t),e._$events&&e._$events.has(t)&&(e._$events.delete(t),e._$events.size||(e._$events=null)),Ie(n);return}n.length>1&&n.sort((r,a)=>{switch(!0){case r.priority>a.priority:return-1;case r.priority<a.priority:return 1;default:return 0}})}},_r=(e,t,u=!1)=>{let s;switch(t){case m.ENTER_FRAME:case B.KEY_DOWN:case B.KEY_UP:if(!W.size||!W.has(t))return;s=W.get(t);break;default:if(!e._$events||!e._$events.size||!e._$events.has(t))return;s=e._$events.get(t);break}if(!s)return;const n=Pt();for(let r=0;r<s.length;++r){const a=s[r];u!==a.useCapture&&n.push(a)}if(!n.length){W.has(t)&&W.delete(t),e._$events&&e._$events.has(t)&&(e._$events.delete(t),e._$events.size||(e._$events=null)),Ie(n),Ie(s);return}n.length>1&&n.sort((r,a)=>{switch(!0){case r.priority>a.priority:return-1;case r.priority<a.priority:return 1;default:return 0}}),W.has(t)?W.set(t,n):e._$events?.set(t,n),Ie(s)},Ur=(e,t)=>{if(e.hasEventListener(t))return!0;if("parent"in e){let u=e.parent;for(;u;){if(u.hasEventListener(t))return!0;if(!("parent"in u))break;u=u.parent}}return!1},qr=(e,t)=>{switch(t.type){case m.ENTER_FRAME:case B.KEY_DOWN:case B.KEY_UP:{if(!W.size||!W.has(t.type))return!1;const u=W.get(t.type);if(!u.length)return!1;for(let s=0;s<u.length;++s){const n=u[s];t.eventPhase=We.AT_TARGET,t.target=t.currentTarget=n.target;try{t.listener=n.listener,n.listener(t)}catch(r){return console.error(r),!1}}}return!0;default:{t.target=e;let u=null;if(e._$events&&e._$events.size&&e._$events.has(t.type)){const n=e._$events.get(t.type);n&&(u=n.slice(0))}const s=Pt();if("parent"in e){let n=e.parent;for(;n;){if(n.hasEventListener(t.type)){const r=n._$events&&n._$events.has(t.type)?n._$events.get(t.type):null;r&&s.push(r)}if(!("parent"in n))break;n=n.parent}}if(!u&&!s.length)return u&&Ie(u),Ie(s),!1;if(s.length)switch(t.eventPhase=We.CAPTURING_PHASE,!0){case t._$stopImmediatePropagation:case t._$stopPropagation:break;default:for(let n=s.length-1;n>-1;--n){const r=s[n];for(let a=0;a<r.length;++a){const i=r[a];if(i.useCapture){t.currentTarget=i.target;try{t.listener=i.listener,i.listener.call(null,t)}catch(c){return console.error(c),!1}if(t._$stopImmediatePropagation)break}}if(t._$stopImmediatePropagation)break}break}if(u&&!t._$stopImmediatePropagation&&!t._$stopPropagation){t.eventPhase=We.AT_TARGET;for(let n=0;n<u.length;++n){const r=u[n];if(!r.useCapture){t.currentTarget=r.target;try{t.listener=r.listener,r.listener.call(null,t)}catch(a){return console.error(a),!1}if(t._$stopImmediatePropagation)break}}Ie(u)}if(s.length){switch(t.eventPhase=We.BUBBLING_PHASE,!0){case t._$stopImmediatePropagation:case t._$stopPropagation:case!t.bubbles:break;default:for(let n=0;n<s.length;++n){const r=s[n];for(let a=0;a<r.length;++a){const i=r[a];if(!i.useCapture){t.currentTarget=i.target;try{t.listener=i.listener,i.listener.call(null,t)}catch(c){return console.error(c),!1}if(t._$stopImmediatePropagation)break}}if(t._$stopImmediatePropagation)break}break}Ie(s)}}return!0}};class je{_$events;constructor(){this._$events=null}addEventListener(t,u,s=!1,n=0){this._$events||(this._$events=new Map),Pr(this,t,u,s,n)}dispatchEvent(t){return qr(this,t)}hasEventListener(t){return Br(this,t)}removeEventListener(t,u,s=!1){Dr(this,t,u,s)}removeAllEventListener(t,u=!1){_r(this,t,u)}willTrigger(t){return Ur(this,t)}}class De extends m{constructor(t,u=!0){return super(t,u),new Proxy(this,{get:(s,n)=>{if(n in s)return s[n];const r=Yt();if(r)switch(r.type){case De.FOCUS_IN:case De.FOCUS_OUT:return n in r?$event[n]:void 0;default:return}}})}static get FOCUS_IN(){return"focusin"}static get FOCUS_OUT(){return"focusout"}}class St extends m{status;responseHeaders;responseURL;constructor(t,u=!1,s=0,n="",r=[]){super(t,u),this.status=s|0,this.responseHeaders=r,this.responseURL=n}static get HTTP_STATUS(){return"httpStatus"}}class Re extends m{text;constructor(t,u=!1,s=""){super(t,u),this.text=`${s}`}static get IO_ERROR(){return"ioError"}}class w extends m{constructor(t,u=!0){return super(t,u),new Proxy(this,{get:(s,n)=>{if(n in s)return s[n];const r=Yt();if(r)switch(r.type){case w.POINTER_DOWN:case w.POINTER_MOVE:case w.POINTER_UP:case w.POINTER_LEAVE:case w.POINTER_OVER:case w.POINTER_OUT:return n in r?$event[n]:void 0;default:return}}})}static get DOUBLE_CLICK(){return"dblclick"}static get POINTER_DOWN(){return"pointerdown"}static get POINTER_LEAVE(){return"pointerleave"}static get POINTER_MOVE(){return"pointermove"}static get POINTER_OUT(){return"pointerout"}static get POINTER_OVER(){return"pointerover"}static get POINTER_UP(){return"pointerup"}static get POINTER_CANCEL(){return"pointercancel"}}class X extends m{bytesLoaded;bytesTotal;constructor(t,u=!1,s=0,n=0){super(t,u),this.bytesLoaded=s|0,this.bytesTotal=n|0}static get PROGRESS(){return"progress"}}class oe extends m{static get PLAY(){return"play"}static get PLAYING(){return"playing"}static get PAUSE(){return"pause"}static get SEEK(){return"seek"}}class xe extends m{static get UPDATE(){return"jobupdate"}static get STOP(){return"jobstop"}}class Ke extends m{constructor(t,u=!0){return super(t,u),new Proxy(this,{get:(s,n)=>{if(n in s)return s[n];const r=Yt();if(r&&r.type===Ke.WHEEL)return n in r?$event[n]:void 0}})}static get WHEEL(){return"wheel"}}const ln=[],Wt=e=>{e.size&&e.clear(),ln.push(e)},Xr=()=>ln.pop()||new Map,Vr=(e,t,u)=>{u.clear(),e.$timerId!==null&&clearTimeout(e.$timerId);for(const s of t.values()){for(const n of s.values())n&&e.destroy(n);Wt(s)}t.clear()},Yr=(e,t)=>{if(!(!t||typeof t!="object")&&"canvas"in t){const u=t.canvas,s=u.width,n=u.height;t.clearRect(0,0,s+1,n+1),u.width=u.height=1,e.push(u)}},Wr=(e,t,u)=>{if(!e.has(t))return;const s=e.get(t);s.has(u)&&(s.delete(u),s.size||(Wt(s),e.delete(t)))},Hr=(e,t,u)=>{if(!t.has(u))return;const s=t.get(u);for(const n of s.values())e.destroy(n);t.delete(u),Wt(s)},zr=(e,t,u)=>{const s=e.get(t)||null;return s?(s.delete("trash"),s.get(u)||null):null},Gr=(e,t,u,s,n=null)=>{t.has(u)||t.set(u,Xr());const r=t.get(u);if(n===null){if(!r.has(s))return;e.destroy(r.get(s)),r.delete(s),r.size||(t.delete(u),Wt(r));return}r.set(s,n)},Kr=(e,t,u="")=>u?e.has(t)?e.get(t).has(u):!1:e.has(t),Qr=(e,t,u)=>{const s=[e*100,t*100];u&&s.push(u*100);let n=2166136261;for(let r=0;r<s.length;++r){let a=s[r]|0;for(let i=0;i<4;i++){const c=a&255;n^=c,n=Math.imul(n,16777619),a>>>=8}}return(n>>>0)%16777216},Zr=(e,t,u,s)=>`${e}${t}${u}${s}`,Jr=(e,t,u,s)=>{if(u.has(s))return;const n=t.get(s);n&&(n.set("trash",!0),u.set(s,n),e.$timerId!==null&&clearTimeout(e.$timerId),e.$removeCache=!1,e.$timerId=setTimeout(()=>{e.$removeCache=!0,e.$timerId=null},1e3))},jr=(e,t)=>{if(t.size){for(const[u,s]of t)s.has("trash")&&(e.removeById(u),e.$removeIds.push(+u));t.clear(),e.$removeCache=!1}};class ea{_$pool;_$store;_$trash;$timerId;$removeCache;$removeIds;constructor(){this._$pool=[],this._$store=new Map,this._$trash=new Map,this.$timerId=null,this.$removeIds=[],this.$removeCache=!1}reset(){Vr(this,this._$store,this._$trash)}destroy(t=null){Yr(this._$pool,t)}getCanvas(){return this._$pool.pop()||document.createElement("canvas")}remove(t,u){Wr(this._$store,t,u)}removeTimer(t){Jr(this,this._$store,this._$trash,t)}removeTimerScheduledCache(){jr(this,this._$trash)}removeById(t){Hr(this,this._$store,t)}getById(t){return this._$store.get(t)}get(t,u){return zr(this._$store,t,u)}set(t,u,s=null){Gr(this,this._$store,t,u,s)}has(t,u=""){return Kr(this._$store,t,u)}generateKeys(t,u,s){return Qr(t,u,s)}generateFilterKeys(t,u,s,n){return Zr(t,u,s,n)}}const O=new ea,ta=e=>{const t=O.getCanvas();t.width=e.width,t.height=e.height;const u=t.getContext("2d",{willReadFrequently:!0});u.drawImage(e,0,0);const s=u.getImageData(0,0,e.width,e.height),n=new Uint8Array(s.data.buffer);return O.destroy(u),n},ua=e=>{const t=O.getCanvas();t.width=e.width,t.height=e.height;const u=t.getContext("2d");u.setTransform(1,0,0,1,0,0),u.drawImage(e,0,0);const s=u.getImageData(0,0,e.width,e.height),n=new Uint8Array(s.data.buffer);return O.destroy(u),n};class Ne{width;height;buffer;constructor(t=0,u=0){this.width=t|0,this.height=u|0,this.buffer=null}set image(t){if(!t){this.width=0,this.height=0,this.buffer=null;return}this.buffer=ta(t),this.width=t.width,this.height=t.height}set canvas(t){if(!t){this.width=0,this.height=0,this.buffer=null;return}this.buffer=ua(t),this.width=t.width,this.height=t.height}clone(){const t=new Ne(this.width,this.height);return this.buffer!==null&&(t.buffer=this.buffer.slice()),t}}class sa{static get ADD(){return"add"}static get ALPHA(){return"alpha"}static get DARKEN(){return"darken"}static get DIFFERENCE(){return"difference"}static get ERASE(){return"erase"}static get HARDLIGHT(){return"hardlight"}static get INVERT(){return"invert"}static get LAYER(){return"layer"}static get LIGHTEN(){return"lighten"}static get MULTIPLY(){return"multiply"}static get NORMAL(){return"normal"}static get OVERLAY(){return"overlay"}static get SCREEN(){return"screen"}static get SUBTRACT(){return"subtract"}}const V=e=>{e.changed=!0;const t=e.parent;t&&!t.changed&&V(t)},na=(e,t)=>{const u=L.multiply(e._$colorTransform,t._$colorTransform);e._$colorTransform[0]=u[0],e._$colorTransform[1]=u[1],e._$colorTransform[2]=u[2],e._$colorTransform[3]=u[3],e._$colorTransform[4]=u[4],e._$colorTransform[5]=u[5],e._$colorTransform[6]=u[6],e._$colorTransform[7]=u[7],L.release(u)},hn=[],vs=(e=1,t=0,u=0,s=1,n=0,r=0)=>{const a=hn.pop()||new Float32Array(6);return a[0]=e,a[1]=t,a[2]=u,a[3]=s,a[4]=n,a[5]=r,a},ra=e=>{hn.push(e)},dn=[],Is=(e=1,t=1,u=1,s=1,n=0,r=0,a=0,i=0)=>{const c=dn.pop()||new Float32Array(8);return c[0]=e,c[1]=t,c[2]=u,c[3]=s,c[4]=n,c[5]=r,c[6]=a,c[7]=i,c},aa=e=>{dn.push(e)},ve=(e,t,u,s=null)=>{const n=+e;return isNaN(n)&&s!==null?s:Math.min(Math.max(t,isNaN(n)?0:n),u)};class L{_$colorTransform;constructor(t=1,u=1,s=1,n=1,r=0,a=0,i=0,c=0){this._$colorTransform=Is(t,u,s,n,r,a,i,c)}get rawData(){return this._$colorTransform}get alphaMultiplier(){return this._$colorTransform[3]}set alphaMultiplier(t){this._$colorTransform[3]=ve(t,0,1,1)}get alphaOffset(){return this._$colorTransform[7]}set alphaOffset(t){this._$colorTransform[7]=ve(t,-255,255,0)}get blueMultiplier(){return this._$colorTransform[2]}set blueMultiplier(t){this._$colorTransform[2]=ve(t,0,1,1)}get blueOffset(){return this._$colorTransform[6]}set blueOffset(t){this._$colorTransform[6]=ve(t,-255,255,0)}get greenMultiplier(){return this._$colorTransform[1]}set greenMultiplier(t){this._$colorTransform[1]=ve(t,0,1,1)}get greenOffset(){return this._$colorTransform[5]}set greenOffset(t){this._$colorTransform[5]=ve(t,-255,255,0)}get redMultiplier(){return this._$colorTransform[0]}set redMultiplier(t){this._$colorTransform[0]=ve(t,0,1,1)}get redOffset(){return this._$colorTransform[4]}set redOffset(t){this._$colorTransform[4]=ve(t,-255,255,0)}clone(){return new L(...this._$colorTransform)}concat(t){na(this,t)}static multiply(t,u){return Is(t[0]*u[0],t[1]*u[1],t[2]*u[2],t[3]*u[3],t[0]*u[4]+t[4],t[1]*u[5]+t[5],t[2]*u[6]+t[6],t[3]*u[7]+t[7])}static release(t){aa(t)}}const ia=e=>new A(e._$matrix[0],e._$matrix[1],e._$matrix[2],e._$matrix[3],e._$matrix[4],e._$matrix[5]),ca=(e,t)=>{const u=e._$matrix,s=t._$matrix;let n=u[0]*s[0],r=0,a=0,i=u[3]*s[3],c=u[4]*s[0]+s[4],o=u[5]*s[3]+s[5];(u[1]||u[2]||s[1]||s[2])&&(n+=u[1]*s[2],i+=u[2]*s[1],r+=u[0]*s[1]+u[1]*s[3],a+=u[2]*s[0]+u[3]*s[2],c+=u[5]*s[2],o+=u[4]*s[1]),u[0]=n,u[1]=r,u[2]=a,u[3]=i,u[4]=c,u[5]=o},oa=(e,t)=>{e._$matrix[0]=t._$matrix[0],e._$matrix[1]=t._$matrix[1],e._$matrix[2]=t._$matrix[2],e._$matrix[3]=t._$matrix[3],e._$matrix[4]=t._$matrix[4],e._$matrix[5]=t._$matrix[5]},la=(e,t,u,s=0,n=0,r=0)=>{e.identity(),e.rotate(s),e.scale(t,u),e.translate(n,r)},ha=(e,t,u,s=0,n=0,r=0)=>{const a=e._$matrix;if(a[0]=t/1638.4,a[3]=u/1638.4,s){const i=Math.cos(s),c=Math.sin(s);a[1]=c*a[3],a[2]=-c*a[0],a[0]*=i,a[3]*=i}else a[1]=0,a[2]=0;a[4]=n+t/2,a[5]=r+u/2},da=(e,t)=>new J(e.x+t.x,e.y+t.y),fa=e=>new J(e.x,e.y),ba=(e,t)=>{e.x=t.x,e.y=t.y},$a=(e,t)=>Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)),xa=(e,t)=>e.x===t.x&&e.y===t.y,ma=(e,t,u)=>new J(e.x+(t.x-e.x)*(1-u),e.y+(t.y-e.y)*(1-u)),ga=(e,t)=>{const u=t/e.length;e.x*=u,e.y*=u},pa=(e,t,u)=>{e.x+=t,e.y+=u},Ta=(e,t)=>new J(e*Math.cos(t),e*Math.sin(t)),Ea=(e,t,u)=>{e.x=t,e.y=u},ya=(e,t)=>new J(e.x-t.x,e.y-t.y);class J{x;y;constructor(t=0,u=0){this.x=t,this.y=u}get length(){return Math.sqrt(Math.pow(this.x,2)+Math.pow(this.y,2))}add(t){return da(this,t)}clone(){return fa(this)}copyFrom(t){ba(this,t)}static distance(t,u){return $a(t,u)}equals(t){return xa(this,t)}static interpolate(t,u,s){return ma(t,u,s)}normalize(t){ga(this,t)}offset(t,u){pa(this,t,u)}static polar(t,u){return Ta(t,u)}setTo(t,u){Ea(this,t,u)}subtract(t){return ya(this,t)}}const Ma=(e,t)=>new J(t.x*e._$matrix[0]+t.y*e._$matrix[2],t.x*e._$matrix[1]+t.y*e._$matrix[3]),wa=e=>{e._$matrix[0]=1,e._$matrix[1]=0,e._$matrix[2]=0,e._$matrix[3]=1,e._$matrix[4]=0,e._$matrix[5]=0},Aa=e=>{const t=e._$matrix[0],u=e._$matrix[1],s=e._$matrix[2],n=e._$matrix[3],r=e._$matrix[4],a=e._$matrix[5];if(u===0&&s===0)e._$matrix[0]=1/t,e._$matrix[1]=0,e._$matrix[2]=0,e._$matrix[3]=1/n,e._$matrix[4]=-e._$matrix[0]*r,e._$matrix[5]=-e._$matrix[3]*a;else{const i=t*n-u*s;if(i){const c=1/i;e._$matrix[0]=n*c,e._$matrix[1]=-u*c,e._$matrix[2]=-s*c,e._$matrix[3]=t*c,e._$matrix[4]=-(e._$matrix[0]*r+e._$matrix[2]*a),e._$matrix[5]=-(e._$matrix[1]*r+e._$matrix[3]*a)}}},va=(e,t)=>{const u=e._$matrix,s=u[0],n=u[1],r=u[2],a=u[3],i=u[4],c=u[5];u[0]=s*Math.cos(t)-n*Math.sin(t),u[1]=s*Math.sin(t)+n*Math.cos(t),u[2]=r*Math.cos(t)-a*Math.sin(t),u[3]=r*Math.sin(t)+a*Math.cos(t),u[4]=i*Math.cos(t)-c*Math.sin(t),u[5]=i*Math.sin(t)+c*Math.cos(t)},Ia=(e,t,u)=>{const s=e._$matrix;s[0]*=t,s[2]*=t,s[4]*=t,s[1]*=u,s[3]*=u,s[5]*=u},Sa=(e,t,u,s,n,r,a)=>{const i=e._$matrix;i[0]=t,i[1]=u,i[2]=s,i[3]=n,i[4]=r,i[5]=a},Ra=(e,t)=>{const u=t.x,s=t.y,n=e._$matrix;return new J(u*n[0]+s*n[2]+n[4],u*n[1]+s*n[3]+n[5])},ka=(e,t,u)=>{e.tx+=t,e.ty+=u};class A{_$matrix;constructor(t=1,u=0,s=0,n=1,r=0,a=0){this._$matrix=vs(t,u,s,n,r,a)}get a(){return this._$matrix[0]}set a(t){this._$matrix[0]=t}get b(){return this._$matrix[1]}set b(t){this._$matrix[1]=t}get c(){return this._$matrix[2]}set c(t){this._$matrix[2]=t}get d(){return this._$matrix[3]}set d(t){this._$matrix[3]=t}get tx(){return this._$matrix[4]}set tx(t){this._$matrix[4]=t}get ty(){return this._$matrix[5]}set ty(t){this._$matrix[5]=t}get rawData(){return this._$matrix}clone(){return ia(this)}concat(t){ca(this,t)}copyFrom(t){oa(this,t)}createBox(t,u,s=0,n=0,r=0){la(this,t,u,s,n,r)}createGradientBox(t,u,s=0,n=0,r=0){ha(this,t,u,s,n,r)}deltaTransformPoint(t){return Ma(this,t)}identity(){wa(this)}invert(){Aa(this)}rotate(t){va(this,t)}scale(t,u){Ia(this,t,u)}setTo(t,u,s,n,r,a){Sa(this,t,u,s,n,r,a)}transformPoint(t){return Ra(this,t)}translate(t,u){ka(this,t,u)}static multiply(t,u){const s=t[0],n=t[1],r=t[2],a=t[3],i=t[4],c=t[5],o=u[0],d=u[1],l=u[2],h=u[3],b=u[4],f=u[5];return vs(s*o+r*d,n*o+a*d,s*l+r*h,n*l+a*h,s*b+r*f+i,n*b+a*f+c)}static release(t){ra(t)}}const Oa=e=>new be(e.x,e.y,e.width,e.height),Fa=(e,t,u)=>e.x<=t&&e.y<=u&&e.right>t&&e.bottom>u,La=(e,t)=>e.x<=t.x&&e.y<=t.y&&e.right>t.x&&e.bottom>t.y,Ca=(e,t)=>e.x<=t.x&&e.y<=t.y&&e.right>=t.right&&e.bottom>=t.bottom,Na=(e,t)=>{e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},Pa=(e,t)=>e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height,Ba=(e,t,u)=>{e.x-=t,e.width+=2*t,e.y-=u,e.height+=2*u},Da=(e,t)=>{e.x-=t.x,e.width+=2*t.x,e.y-=t.y,e.height+=2*t.y},_a=(e,t)=>{const u=Math.max(e.x,t.x),s=Math.max(e.y,t.y),n=Math.min(e.right,t.right),r=Math.min(e.bottom,t.bottom),a=n-u,i=r-s;return a>0&&i>0?new be(u,s,a,i):new be(0,0,0,0)},Ua=(e,t)=>{const u=Math.max(e.x,t.x),s=Math.max(e.y,t.y),n=Math.min(e.right,t.right),r=Math.min(e.bottom,t.bottom);return n-u>0&&r-s>0},qa=e=>e.width<=0||e.height<=0,Xa=(e,t,u)=>{e.x+=t,e.y+=u},Va=(e,t)=>{e.x+=t.x,e.y+=t.y},Ya=e=>{e.x=e.y=e.width=e.height=0},Wa=(e,t,u,s,n)=>{e.x=t,e.y=u,e.width=s,e.height=n},Ha=(e,t)=>e.isEmpty()?t.clone():t.isEmpty()?e.clone():new be(Math.min(e.x,t.x),Math.min(e.y,t.y),Math.max(e.right-t.left,t.right-e.left),Math.max(e.bottom-t.top,t.bottom-e.top));class be{x;y;width;height;constructor(t=0,u=0,s=0,n=0){this.x=t,this.y=u,this.width=s,this.height=n}get bottom(){return this.y+this.height}set bottom(t){this.height=t-this.y}get bottomRight(){return new J(this.right,this.bottom)}set bottomRight(t){this.right=t.x,this.bottom=t.y}get left(){return this.x}set left(t){this.width=this.right-t,this.x=t}get right(){return this.x+this.width}set right(t){this.width=t-this.x}get size(){return new J(this.width,this.height)}set size(t){this.width=t.x,this.height=t.y}get top(){return this.y}set top(t){this.height=this.bottom-t,this.y=t}get topLeft(){return new J(this.x,this.y)}set topLeft(t){this.left=t.x,this.top=t.y}clone(){return Oa(this)}contains(t,u){return Fa(this,t,u)}containsPoint(t){return La(this,t)}containsRect(t){return Ca(this,t)}copyFrom(t){Na(this,t)}equals(t){return Pa(this,t)}inflate(t,u){Ba(this,t,u)}inflatePoint(t){Da(this,t)}intersection(t){return _a(this,t)}intersects(t){return Ua(this,t)}isEmpty(){return qa(this)}offset(t,u){Xa(this,t,u)}offsetPoint(t){Va(this,t)}setEmpty(){Ya(this)}setTo(t,u,s,n){Wa(this,t,u,s,n)}union(t){return Ha(this,t)}}const Ht=e=>{if(e.placeObject)return e.placeObject;const t=e.placeId;if(t===-1)return null;const u=e.parent;if(!u)return null;const s=u.loaderInfo;if(!s||!s.data)return null;const n=s.data.characters[u.characterId],r=u.isTimelineEnabled?u.currentFrame:1,a=n.placeMap[r];if(!a||!(t in a))return null;const i=a[t],c=n.placeObjects[i];return c?(e.placeObject=c,c):null},ft=new J,fn=0,bn=1,za=2,Ga=3,bt=new Float32Array([1,0,0,1,0,0]);let Ka=0;const $n=()=>Ka++,xn=[],Au=[],mn=[],Qa=[],vu=(e=0,t=0,u=0,s=0,n=0,r=0)=>{const a=mn.pop()||new Float32Array(6);return a[0]=e,a[1]=t,a[2]=u,a[3]=s,a[4]=n,a[5]=r,a},Et=e=>{mn.push(e)},Za=(e=1,t=1,u=1,s=1,n=0,r=0,a=0,i=0)=>{const c=Qa.pop()||new Float32Array(8);return c[0]=e,c[1]=t,c[2]=u,c[3]=s,c[4]=n,c[5]=r,c[6]=a,c[7]=i,c},gn=[],Ja=()=>gn.pop()||new Map,ja=e=>{e.clear(),gn.push(e)},U=(...e)=>{const t=xn.pop()||[];return e.length&&t.push(...e),t},ee=e=>{e.length&&(e.length=0),xn.push(e)},he=(e,t,u,s)=>{const n=Au.length?Au.pop():new Float32Array(4);return n[0]=e,n[1]=t,n[2]=u,n[3]=s,n},F=e=>{Au.push(e)},ei=e=>{let t=null;switch(e.method.toUpperCase()){case"GET":if(e.data){const s=e.url.split("?");s[1]=s.length===1?e.data.toString():`${s[1]}&${e.data.toString()}`,e.url=s.join("?")}break;case"PUT":case"POST":e.data&&(t=e.data.toString());break}const u=new XMLHttpRequest;if(u.open(e.method,e.url,!0),u.responseType=e.format,u.withCredentials=e.withCredentials,e.event){const s=Object.keys(e.event);for(let n=0;n<s.length;++n){const r=s[n];u.addEventListener(r,e.event[r])}}for(let s=0;s<e.headers.length;++s){const n=e.headers[s];n&&u.setRequestHeader(n.name,n.value)}u.send(t)},ti=e=>{const t=U();if(e){const u=e.trim().split(`
|
|
659
|
-
`);for(let s=0;s<u.length;++s){const n=u[s].split(":");t.push({name:n[0].trim(),value:n[1].trim()})}}return t},Rt=new WeakMap,ke=new WeakMap,fe=new Set,ui=new WeakMap,Iu=document.createElement("canvas");Iu.width=Iu.height=1;const Me=Iu.getContext("2d"),Su=e=>Me?(Me.fillStyle=e,+`0x${Me.fillStyle.slice(1)}`):0,de=(e,t,u,s=null)=>{const n=+e;return isNaN(n)&&s!==null?s:Math.min(Math.max(t,isNaN(n)?0:n),u)},Ru=[],ku=[],Le=new Map;let pn=null;const Tn=e=>{pn=e},si=()=>pn,N=e=>{if(e.$matrix)return e.$matrix.rawData;const t=Ht(e);if(!t||!t.matrix)return null;if(!t.typedMatrix){const u=t.matrix;t.typedMatrix=vu(u[0],u[1],u[2],u[3],u[4],u[5])}return t.typedMatrix},ni=e=>{const t=N(e);let u=t||bt,s=e.parent;for(;s;){const n=N(s);n&&(u=A.multiply(n,u)),s=s.parent}return new A(u[0],u[1],u[2],u[3],u[4],u[5])},qe=e=>{if(e.$colorTransform)return e.$colorTransform.rawData;const t=Ht(e);if(!t||!t.colorTransform)return null;if(!t.typedColorTransform){const u=t.colorTransform;t.typedColorTransform=Za(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7])}return t.typedColorTransform},ri=e=>{if(e.$alpha!==null)return e.$alpha;if(e.$colorTransform){const u=e.$colorTransform.rawData;return u[3]+u[7]/255}const t=qe(e);return t?t[3]+t[7]/255:1},ai=(e,t)=>{if(t=de(t,0,1),e.$alpha===t)return;e.$alpha=t;let u=e.$colorTransform;if(!u){const s=qe(e);u=s?new L(...s):new L}u.alphaMultiplier=t,u.alphaOffset=0,e.$colorTransform=u,V(e)};class Ae{$updated;constructor(){this.$updated=!0}canApplyFilter(){return!0}getBounds(t){return t}}const v=(e,t,u,s=null)=>{const n=+e;return isNaN(n)&&s!==null?s:Math.min(Math.max(t,isNaN(n)?0:n),u)},Ou=document.createElement("canvas");Ou.width=Ou.height=1;const Tu=Ou.getContext("2d"),Oe=e=>Tu?(Tu.fillStyle=e,+`0x${Tu.fillStyle.slice(1)}`):0,ts=Math.PI/180,us=e=>{switch(e){case"full":return 0;case"inner":return 1;case"outer":return 2;default:return 0}},En=e=>e.strength>0&&e.distance!==0&&e.blurX>0&&e.blurY>0&&e.quality>0,yn=e=>e.blurX>0&&e.blurY>0&&e.quality>0,ii=[.5,1.05,1.4,1.55,1.75,1.9,2,2.15,2.2,2.3,2.5,3,3,3.5,3.5],et=(e,t)=>{if(!yn(e))return t;const u=ii[e.quality-1],s=Math.round(e.blurX*u),n=Math.round(e.blurY*u);return t[0]-=s,t[2]+=s,t[1]-=n,t[3]+=n,t},ci=(e,t)=>{if(!En(e)||e.type==="inner")return t;et(e,t);const u=e.angle*ts,s=e.distance,n=Math.abs(Math.cos(u)*s),r=Math.abs(Math.sin(u)*s);return t[0]-=n,t[2]+=n,t[1]-=r,t[3]+=r,t},oi=e=>[e.$filterType,e.distance,e.angle,e.highlightColor,e.highlightAlpha,e.shadowColor,e.shadowAlpha,e.blurX,e.blurY,e.strength,e.quality,e.type,e.knockout],li=e=>new Float32Array([e.$filterType,e.distance,e.angle,e.highlightColor,e.highlightAlpha,e.shadowColor,e.shadowAlpha,e.blurX,e.blurY,e.strength,e.quality,us(e.type),+e.knockout]);class zt extends Ae{$filterType=0;_$blurX;_$blurY;_$quality;_$distance;_$angle;_$highlightColor;_$highlightAlpha;_$shadowColor;_$shadowAlpha;_$strength;_$type;_$knockout;constructor(t=4,u=45,s=16777215,n=1,r=0,a=1,i=4,c=4,o=1,d=1,l="inner",h=!1){super(),this._$distance=4,this._$angle=45,this._$highlightColor=16777215,this._$highlightAlpha=1,this._$blurX=4,this._$blurY=4,this._$quality=1,this._$shadowColor=0,this._$shadowAlpha=1,this._$strength=1,this._$type="inner",this._$knockout=!1,this.blurX=i,this.blurY=c,this.quality=d,this.distance=t,this.angle=u,this.highlightColor=s,this.highlightAlpha=n,this.shadowColor=r,this.shadowAlpha=a,this.strength=o,this.type=l,this.knockout=h}get angle(){return this._$angle}set angle(t){t=v(t%360,-360,360,45),t!==this._$angle&&(this._$angle=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get distance(){return this._$distance}set distance(t){t=v(+t,-255,255,4),t!==this._$distance&&(this._$distance=t,this.$updated=!0)}get highlightAlpha(){return this._$highlightAlpha}set highlightAlpha(t){t=v(+t,0,1,0),t!==this._$highlightAlpha&&(this._$highlightAlpha=t,this.$updated=!0)}get highlightColor(){return this._$highlightColor}set highlightColor(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,16777215),t!==this._$highlightColor&&(this._$highlightColor=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get shadowAlpha(){return this._$shadowAlpha}set shadowAlpha(t){t=v(t,0,1,0),t!==this._$shadowAlpha&&(this._$shadowAlpha=t,this.$updated=!0)}get shadowColor(){return this._$shadowColor}set shadowColor(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,0),t!==this._$shadowColor&&(this._$shadowColor=t,this.$updated=!0)}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}get type(){return this._$type}set type(t){if(t=`${t}`.toLowerCase(),t!==this._$type){switch(t){case"inner":case"outer":case"full":break;default:return}this._$type=t,this.$updated=!0}}clone(){return new zt(this._$distance,this._$angle,this._$highlightColor,this._$highlightAlpha,this._$shadowColor,this._$shadowAlpha,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$type,this._$knockout)}toArray(){return oi(this)}toNumberArray(){return li(this)}canApplyFilter(){return En(this)}getBounds(t){return ci(this,t)}}const hi=e=>[e.$filterType,e.blurX,e.blurY,e.quality],di=e=>new Float32Array([e.$filterType,e.blurX,e.blurY,e.quality]);class Gt extends Ae{$filterType=1;_$blurX;_$blurY;_$quality;constructor(t=4,u=4,s=1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this.blurX=t,this.blurY=u,this.quality=s}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}clone(){return new Gt(this._$blurX,this._$blurY,this._$quality)}toArray(){return hi(this)}toNumberArray(){return di(this)}canApplyFilter(){return yn(this)}getBounds(t){return et(this,t)}}const fi=e=>[e.$filterType,e.matrix],bi=e=>new Float32Array([e.$filterType,...e.matrix]);class Kt extends Ae{$filterType=2;_$matrix;constructor(t=null){super(),this._$matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],t&&t.length===20&&(this.matrix=t)}get matrix(){return this._$matrix}set matrix(t){if(this._$matrix!==t&&!(!Array.isArray(t)||t.length!==20)){for(let u=0;u<20;u++)if(t[u]!==this._$matrix[u]){this.$updated=!0;break}this.$updated&&(this._$matrix=t)}}clone(){return new Kt(this._$matrix)}toArray(){return fi(this)}toNumberArray(){return bi(this)}}const $i=e=>e.matrix!==null&&e.matrixX*e.matrixY===e.matrix.length,xi=e=>[e.$filterType,e.matrixX,e.matrixY,e.matrix,e.divisor,e.bias,e.preserveAlpha,e.clamp,e.color,e.alpha],mi=e=>{const t=e.matrix||[];return new Float32Array([e.$filterType,e.matrixX,e.matrixY,...t,e.divisor,e.bias,+e.preserveAlpha,+e.clamp,e.color,e.alpha])};class Qt extends Ae{$filterType=3;_$matrixX;_$matrixY;_$matrix;_$divisor;_$bias;_$preserveAlpha;_$clamp;_$color;_$alpha;constructor(t=0,u=0,s=null,n=1,r=0,a=!0,i=!0,c=0,o=0){super(),this._$matrixX=0,this._$matrixY=0,this._$matrix=null,this._$divisor=1,this._$bias=0,this._$preserveAlpha=!0,this._$clamp=!0,this._$color=0,this._$alpha=0,this.matrixX=t,this.matrixY=u,this.matrix=s,this.divisor=n,this.bias=r,this.preserveAlpha=a,this.clamp=i,this.color=c,this.alpha=o}get alpha(){return this._$alpha}set alpha(t){t=v(+t,0,1,0),t!==this._$alpha&&(this._$alpha=t,this.$updated=!0)}get bias(){return this._$bias}set bias(t){t|=0,t!==this._$bias&&(this._$bias=t,this.$updated=!0)}get clamp(){return this._$clamp}set clamp(t){t=!!t,t!==this._$clamp&&(this._$clamp=t,this.$updated=!0)}get color(){return this._$color}set color(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,0),t!==this._$color&&(this._$color=t,this.$updated=!0)}get divisor(){return this._$divisor}set divisor(t){t|=0,t!==this._$divisor&&(this._$divisor=t,this.$updated=!0)}get matrix(){return this._$matrix}set matrix(t){this._$matrix!==t&&(this._$matrix=t,this.$updated=!0)}get matrixX(){return this._$matrixX}set matrixX(t){t=v(t|0,0,15,0)|0,t!==this._$matrixX&&(this._$matrixX=t,this.$updated=!0)}get matrixY(){return this._$matrixY}set matrixY(t){t=v(t|0,0,15,0)|0,t!==this._$matrixY&&(this._$matrixY=t,this.$updated=!0)}get preserveAlpha(){return this._$preserveAlpha}set preserveAlpha(t){t=!!t,t!==this._$preserveAlpha&&(this._$preserveAlpha=t,this.$updated=!0)}clone(){return new Qt(this._$matrixX,this._$matrixY,this._$matrix?this._$matrix.slice():null,this._$divisor,this._$bias,this._$preserveAlpha,this._$clamp,this._$color,this._$alpha)}toArray(){return xi(this)}toNumberArray(){return mi(this)}canApplyFilter(){return $i(this)}}const gi=e=>e.bitmapBuffer!==null&&e.componentX>0&&e.componentY>0&&e.scaleX!==0&&e.scaleY!==0,pi=e=>[e.$filterType,e.bitmapBuffer?Array.from(e.bitmapBuffer):null,e.bitmapWidth,e.bitmapHeight,e.mapPointX,e.mapPointY,e.componentX,e.componentY,e.scaleX,e.scaleY,e.mode,e.color,e.alpha],Ti=e=>{let t=2;switch(e.mode){case"clamp":t=0;break;case"color":t=1;break;case"wrap":t=2;break;case"ignore":t=3;break;default:t=2;break}const u=e.bitmapBuffer||new Uint8Array,s=[e.$filterType,u.length];for(let n=0;n<u.length;n+=4096)s.push(...u.subarray(n,n+4096));return s.push(e.bitmapWidth,e.bitmapHeight,e.mapPointX,e.mapPointY,e.componentX,e.componentY,e.scaleX,e.scaleY,t,e.color,e.alpha),new Float32Array(s)};class Zt extends Ae{$filterType=4;_$bitmapBuffer;_$bitmapWidth;_$bitmapHeight;_$mapPointX;_$mapPointY;_$componentX;_$componentY;_$scaleX;_$scaleY;_$mode;_$color;_$alpha;constructor(t=null,u=0,s=0,n=0,r=0,a=0,i=0,c=0,o=0,d="wrap",l=0,h=0){super(),this._$bitmapBuffer=null,this._$bitmapWidth=0,this._$bitmapHeight=0,this._$mapPointX=0,this._$mapPointY=0,this._$componentX=0,this._$componentY=0,this._$scaleX=0,this._$scaleY=0,this._$mode="wrap",this._$color=0,this._$alpha=0,this.bitmapBuffer=t,this.bitmapWidth=u,this.bitmapHeight=s,this.mapPointX=n,this.mapPointY=r,this.componentX=a,this.componentY=i,this.scaleX=c,this.scaleY=o,this.mode=d,this.color=l,this.alpha=h}get alpha(){return this._$alpha}set alpha(t){t=v(+t,0,1,0),t!==this._$alpha&&(this._$alpha=t,this.$updated=!0)}get color(){return this._$color}set color(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,0),t!==this._$color&&(this._$color=t,this.$updated=!0)}get componentX(){return this._$componentX}set componentX(t){t!==this._$componentX&&(this._$componentX=t,this.$updated=!0)}get componentY(){return this._$componentY}set componentY(t){t!==this._$componentY&&(this._$componentY=t,this.$updated=!0)}get bitmapBuffer(){return this._$bitmapBuffer}set bitmapBuffer(t){t!==this._$bitmapBuffer&&(this._$bitmapBuffer=t,this.$updated=!0)}get bitmapWidth(){return this._$bitmapWidth}set bitmapWidth(t){t!==this._$bitmapWidth&&(this._$bitmapWidth=t,this.$updated=!0)}get bitmapHeight(){return this._$bitmapHeight}set bitmapHeight(t){t!==this._$bitmapHeight&&(this._$bitmapHeight=t,this.$updated=!0)}get mapPointX(){return this._$mapPointX}set mapPointX(t){t!==this._$mapPointX&&(this._$mapPointX=t,this.$updated=!0)}get mapPointY(){return this._$mapPointY}set mapPointY(t){t!==this._$mapPointY&&(this._$mapPointY=t,this.$updated=!0)}get mode(){return this._$mode}set mode(t){t!==this._$mode&&(this._$mode=t,this.$updated=!0)}get scaleX(){return this._$scaleX}set scaleX(t){t=v(+t,-65535,65535,0),t!==this._$scaleX&&(this._$scaleX=t,this.$updated=!0)}get scaleY(){return this._$scaleY}set scaleY(t){t=v(+t,-65535,65535,0),t!==this._$scaleY&&(this._$scaleY=t,this.$updated=!0)}clone(){return new Zt(this._$bitmapBuffer?this._$bitmapBuffer.slice():null,this._$bitmapWidth,this._$bitmapHeight,this._$mapPointX,this._$mapPointX,this._$componentX,this._$componentY,this._$scaleX,this._$scaleY,this._$mode,this._$color,this._$alpha)}toArray(){return pi(this)}toNumberArray(){return Ti(this)}canApplyFilter(){return gi(this)}}const Ei=e=>[e.$filterType,e.distance,e.angle,e.color,e.alpha,e.blurX,e.blurY,e.strength,e.quality,e.inner,e.knockout,e.hideObject],yi=e=>new Float32Array([e.$filterType,e.distance,e.angle,e.color,e.alpha,e.blurX,e.blurY,e.strength,e.quality,+e.inner,+e.knockout,+e.hideObject]),Mn=e=>e.alpha>0&&e.strength!==0&&e.blurX>0&&e.blurY>0&&e.quality>0,Mi=(e,t)=>{if(!Mn(e)||e.inner)return t;et(e,t);const u=e.angle*ts,s=e.distance,n=Math.cos(u)*s,r=Math.sin(u)*s;return t[0]=Math.min(t[0],n),n>0&&(t[2]+=n),t[1]=Math.min(t[1],r),r>0&&(t[3]+=r),t};class Jt extends Ae{$filterType=5;_$blurX;_$blurY;_$quality;_$distance;_$angle;_$color;_$alpha;_$strength;_$inner;_$knockout;_$hideObject;constructor(t=4,u=45,s=0,n=1,r=4,a=4,i=1,c=1,o=!1,d=!1,l=!1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this._$distance=4,this._$angle=45,this._$color=0,this._$alpha=1,this._$strength=1,this._$inner=!1,this._$knockout=!1,this._$hideObject=!1,this.blurX=r,this.blurY=a,this.quality=c,this.distance=t,this.angle=u,this.color=s,this.alpha=n,this.strength=i,this.inner=o,this.knockout=d,this.hideObject=l}get alpha(){return this._$alpha}set alpha(t){t=v(+t,0,1,0),t!==this._$alpha&&(this._$alpha=t,this.$updated=!0)}get angle(){return this._$angle}set angle(t){t=v(t%360,-360,360,45),t!==this._$angle&&(this._$angle=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get color(){return this._$color}set color(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,0),t!==this._$color&&(this._$color=t,this.$updated=!0)}get distance(){return this._$distance}set distance(t){t=v(+t,-255,255,4),t!==this._$distance&&(this._$distance=t,this.$updated=!0)}get hideObject(){return this._$hideObject}set hideObject(t){t=!!t,t!==this._$hideObject&&(this._$hideObject=t,this.$updated=!0)}get inner(){return this._$inner}set inner(t){t=!!t,t!==this._$inner&&(this._$inner=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}clone(){return new Jt(this._$distance,this._$angle,this._$color,this._$alpha,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$inner,this._$knockout,this._$hideObject)}toArray(){return Ei(this)}toNumberArray(){return yi(this)}canApplyFilter(){return Mn(this)}getBounds(t){return Mi(this,t)}}const wi=e=>[e.$filterType,e.color,e.alpha,e.blurX,e.blurY,e.strength,e.quality,e.inner,e.knockout],Ai=e=>new Float32Array([e.$filterType,e.color,e.alpha,e.blurX,e.blurY,e.strength,e.quality,+e.inner,+e.knockout]),wn=e=>e.alpha>0&&e.strength!==0&&e.blurX>0&&e.blurY>0&&e.quality>0,vi=(e,t)=>!wn(e)||e.inner?t:et(e,t);class jt extends Ae{$filterType=6;_$blurX;_$blurY;_$quality;_$color;_$alpha;_$strength;_$inner;_$knockout;constructor(t=0,u=1,s=4,n=4,r=1,a=1,i=!1,c=!1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this._$color=0,this._$alpha=1,this._$strength=1,this._$inner=!1,this._$knockout=!1,this.blurX=s,this.blurY=n,this.quality=a,this.color=t,this.alpha=u,this.strength=r,this.inner=i,this.knockout=c}get alpha(){return this._$alpha}set alpha(t){t=v(+t,0,1,0),t!==this._$alpha&&(this._$alpha=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get color(){return this._$color}set color(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,4),t!==this._$color&&(this._$color=t,this.$updated=!0)}get inner(){return this._$inner}set inner(t){t=!!t,t!==this._$inner&&(this._$inner=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}clone(){return new jt(this._$color,this._$alpha,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$inner,this._$knockout)}toArray(){return wi(this)}toNumberArray(){return Ai(this)}canApplyFilter(){return wn(this)}getBounds(t){return vi(this,t)}}const An=e=>e.strength>0&&e.distance>0&&e.alphas!==null&&e.ratios!==null&&e.colors!==null&&e.blurX>0&&e.blurY>0&&e.quality>0,Ii=e=>[e.$filterType,e.distance,e.angle,e.colors,e.alphas,e.ratios,e.blurX,e.blurY,e.strength,e.quality,e.type,e.knockout],Si=e=>{const t=e.colors?e.colors:[],u=e.alphas?e.alphas:[],s=e.ratios?e.ratios:[];return new Float32Array([e.$filterType,e.distance,e.angle,t.length,...t,u.length,...u,s.length,...s,e.blurX,e.blurY,e.strength,e.quality,us(e.type),+e.knockout])},Ri=(e,t)=>{if(!An(e)||e.type==="inner")return t;et(e,t);const u=e.angle*ts,s=e.distance,n=Math.abs(Math.cos(u)*s),r=Math.abs(Math.sin(u)*s);return t[0]-=n,t[2]+=n,t[1]-=r,t[3]+=r,t};class eu extends Ae{$filterType=7;_$blurX;_$blurY;_$quality;_$distance;_$angle;_$colors;_$alphas;_$ratios;_$strength;_$type;_$knockout;constructor(t=4,u=45,s=null,n=null,r=null,a=4,i=4,c=1,o=1,d="inner",l=!1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this._$distance=4,this._$angle=45,this._$colors=null,this._$alphas=null,this._$ratios=null,this._$strength=1,this._$type="inner",this._$knockout=!1,this.blurX=a,this.blurY=i,this.quality=o,this.distance=t,this.angle=u,this.colors=s,this.alphas=n,this.ratios=r,this.strength=c,this.type=d,this.knockout=l}get alphas(){return this._$alphas}set alphas(t){if(t!==this._$alphas){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(+s,0,1,0)}this._$alphas=t,this.$updated=!0}}get angle(){return this._$angle}set angle(t){t=v(t%360,-360,360,45),t!==this._$angle&&(this._$angle=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get colors(){return this._$colors}set colors(t){if(this._$colors!==t){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(typeof s=="string"?Oe(s):s,0,16777215,0)}this._$colors=t,this.$updated=!0}}get distance(){return this._$distance}set distance(t){t=v(+t,-255,255,4),t!==this._$distance&&(this._$distance=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get ratios(){return this._$ratios}set ratios(t){if(this._$ratios!==t){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(+s,0,255,0)}this._$ratios=t,this.$updated=!0}}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}get type(){return this._$type}set type(t){t!==this._$type&&(this._$type=t,this.$updated=!0)}clone(){return new eu(this._$distance,this._$angle,this._$colors?this._$colors.slice():null,this._$alphas?this._$alphas.slice():null,this._$ratios?this._$ratios.slice():null,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$type,this._$knockout)}toArray(){return Ii(this)}toNumberArray(){return Si(this)}canApplyFilter(){return An(this)}getBounds(t){return Ri(this,t)}}const ki=e=>[e.$filterType,e.distance,e.angle,e.colors,e.alphas,e.ratios,e.blurX,e.blurY,e.strength,e.quality,e.type,e.knockout],vn=e=>e.strength>0&&e.distance>0&&e.alphas!==null&&e.ratios!==null&&e.colors!==null&&e.blurX>0&&e.blurY>0&&e.quality>0,Oi=e=>{const t=e.colors?e.colors:[],u=e.alphas?e.alphas:[],s=e.ratios?e.ratios:[];return new Float32Array([e.$filterType,e.distance,e.angle,t.length,...t,u.length,...u,s.length,...s,e.blurX,e.blurY,e.strength,e.quality,us(e.type),+e.knockout])},Fi=(e,t)=>!vn(e)||e.type==="inner"?t:et(e,t);class tu extends Ae{$filterType=8;_$blurX;_$blurY;_$quality;_$distance;_$angle;_$colors;_$alphas;_$ratios;_$strength;_$type;_$knockout;constructor(t=4,u=45,s=null,n=null,r=null,a=4,i=4,c=1,o=1,d="outer",l=!1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this._$distance=4,this._$angle=45,this._$colors=null,this._$alphas=null,this._$ratios=null,this._$strength=1,this._$type="outer",this._$knockout=!1,this.blurX=a,this.blurY=i,this.quality=o,this.distance=t,this.angle=u,this.colors=s,this.alphas=n,this.ratios=r,this.strength=c,this.type=d,this.knockout=l}get alphas(){return this._$alphas}set alphas(t){if(t!==this._$alphas){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(+s,0,1,0)}this._$alphas=t,this.$updated=!0}}get angle(){return this._$angle}set angle(t){t=v(t%360,-360,360,45),t!==this._$angle&&(this._$angle=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get colors(){return this._$colors}set colors(t){if(this._$colors!==t){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(typeof s=="string"?Oe(s):s,0,16777215,0)}this._$colors=t,this.$updated=!0}}get distance(){return this._$distance}set distance(t){t=v(+t,-255,255,4),t!==this._$distance&&(this._$distance=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get ratios(){return this._$ratios}set ratios(t){if(this._$ratios!==t){if(Array.isArray(t))for(let u=0;u<t.length;++u)t[u]=v(+t[u],0,255,0);this._$ratios=t,this.$updated=!0}}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}get type(){return this._$type}set type(t){t!==this._$type&&(this._$type=t,this.$updated=!0)}clone(){return new tu(this._$distance,this._$angle,this._$colors,this._$alphas,this._$ratios,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$type,this._$knockout)}toArray(){return ki(this)}toNumberArray(){return Oi(this)}canApplyFilter(){return vn(this)}getBounds(t){return Fi(this,t)}}const Li=e=>{const t=U();for(let u=0;u<e.length;++u){const s=e[u];if(s)switch(s.params[0]===null&&s.params.shift(),s.class){case"BevelFilter":t.push(new zt(...s.params));break;case"BlurFilter":t.push(new Gt(...s.params));break;case"ColorMatrixFilter":t.push(new Kt(...s.params));break;case"ConvolutionFilter":t.push(new Qt(...s.params));break;case"DisplacementMapFilter":t.push(new Zt(...s.params));break;case"DropShadowFilter":t.push(new Jt(...s.params));break;case"GlowFilter":t.push(new jt(...s.params));break;case"GradientBevelFilter":t.push(new eu(...s.params));break;case"GradientGlowFilter":t.push(new tu(...s.params));break}}return t},Ci=e=>{if(e.$filters)return e.$filters;const t=Ht(e);return t&&t.surfaceFilterList?(t.filters||(t.filters=Li(t.surfaceFilterList)),t.filters):null},Ni=(e,t)=>{e.$filters=t,V(e)},Pi=e=>{if(e.$blendMode)return e.$blendMode;const t=Ht(e);return t&&t.blendMode?t.blendMode:"normal"},Bi=(e,t)=>{e.$blendMode!==t&&(e.$blendMode=t,V(e))},Di=180/Math.PI,_i=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);return t?Math.atan2(t[1],t[0])*Di:0},Ui=Math.PI/180,qi=(e,t)=>{if(t=de(t%360,-360,360,0),e.$rotation===t)return;let u=e.$matrix;if(!u){const r=N(e);e.$matrix=u=r?new A(...r):new A}const s=Math.sqrt(u.a*u.a+u.b*u.b),n=Math.sqrt(u.c*u.c+u.d*u.d);if(t===0)u.a=s,u.b=0,u.c=0,u.d=n;else{let r=Math.atan2(u.b,u.a),a=Math.atan2(-u.c,u.d);const i=t*Ui;a=a+i-r,r=i,u.b=s*Math.sin(r),u.b===1||u.b===-1?u.a=0:u.a=s*Math.cos(r),u.c=-n*Math.sin(a),u.c===1||u.c===-1?u.d=0:u.d=n*Math.cos(a)}e.$scaleX=null,e.$scaleY=null,e.$rotation=t,V(e)},Xi=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);if(!t)return 1;const s=(Math.abs(t[0])>=1e-12?Math.sign(t[0]):Math.sign(t[1]))||1,n=Math.hypot(t[0],t[1]);return Math.round(n*s*1e4)/1e4},In=(e,t)=>{t=de(t,-Number.MAX_VALUE,Number.MAX_VALUE,1);const u=Math.round(t*1e4)/1e4;if(e.$scaleX===u)return;let s=e.$matrix;if(!s){const n=N(e);e.$matrix=s=n?new A(...n):new A}if(s.b===0||isNaN(s.b))s.a=u;else{const r=Math.atan2(s.b,s.a),a=Math.hypot(s.a,s.b),i=(Math.abs(s.a)>=1e-12?Math.sign(s.a):Math.sign(s.b))||1,d=(a*i>=0?r:r-Math.PI)+(u<0?Math.PI:0),l=Math.abs(u);s.a=l*Math.cos(d),s.b=l*Math.sin(d)}e.$scaleX=u,e.$rotation=null,V(e)},Vi=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);if(!t)return 1;const u=1e-12,s=Math.hypot(t[0],t[1]),n=(Math.abs(t[0])>=u?Math.sign(t[0]):Math.sign(t[1]))||1;return Math.round((t[0]*t[3]-t[1]*t[2])/(s*n)*1e4)/1e4},Sn=(e,t)=>{t=de(t,-Number.MAX_VALUE,Number.MAX_VALUE,1);const u=Math.round(t*1e4)/1e4;if(e.$scaleY===u)return;let s=e.$matrix;if(!s){const n=N(e);e.$matrix=s=n?new A(...n):new A}if(s.c===0||isNaN(s.c))s.d=u;else{const n=Math.max(0,Math.abs(u)),r=1e-12;let a=Math.atan2(s.b,s.a);(s.a<0||Math.abs(s.a)<r&&s.b<0)&&(a-=Math.PI),a<=-Math.PI&&(a+=2*Math.PI),a>Math.PI&&(a-=2*Math.PI);const i=a+(u<0?Math.PI:0);s.c=-n*Math.sin(i),s.d=n*Math.cos(i)}e.$scaleY=u,e.$rotation=null,V(e)},Yi=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);return t?t[4]:0},Wi=(e,t)=>{let u=e.$matrix;if(!u){const s=N(e);e.$matrix=u=s?new A(...s):new A}e.$x!==t&&(e.$x=u.tx=t,V(e))},Hi=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);return t?t[5]:0},zi=(e,t)=>{let u=e.$matrix;if(!u){const s=N(e);e.$matrix=u=s?new A(...s):new A}e.$y!==t&&(e.$y=u.ty=t,V(e))},ne=(e,t,u,s,n)=>{const r=n[0],a=n[1],i=n[2],c=n[3],o=n[4],d=n[5],l=u*r+s*i+o,h=u*r+t*i+o,b=e*r+s*i+o,f=e*r+t*i+o,p=u*a+s*c+d,$=u*a+t*c+d,g=e*a+s*c+d,R=e*a+t*c+d;return he(Math.min(l,h,b,f),Math.min(p,$,g,R),Math.max(l,h,b,f),Math.max(p,$,g,R))},Rn=e=>{const t=e.graphics;return he(t.xMin,t.yMin,t.xMax,t.yMax)},uu=(e,t=null)=>{const u=Rn(e),s=N(e);if(!s){if(t){const r=ne(u[0],u[1],u[2],u[3],t);return F(u),r}return u}const n=ne(u[0],u[1],u[2],u[3],t?A.multiply(t,s):s);return F(u),n},kn=e=>he(0,0,e.videoWidth,e.videoHeight),su=(e,t=null)=>{const u=kn(e),s=N(e);if(!s){if(t){const r=ne(u[0],u[1],u[2],u[3],t);return F(u),r}return u}const n=ne(u[0],u[1],u[2],u[3],t?A.multiply(t,s):s);return F(u),n},On=e=>he(e.xMin,e.yMin,e.xMax,e.yMax),nu=(e,t=null)=>{const u=On(e),s=N(e);if(!s){if(t){const r=ne(u[0],u[1],u[2],u[3],t);return F(u),r}return u}const n=ne(u[0],u[1],u[2],u[3],t?A.multiply(t,s):s);return F(u),n},ss=(e,t=null)=>{const u=e.children;if(!u.length)return he(0,0,0,0);const s=N(e),n=s?t?A.multiply(t,s):s:t,r=Number.MAX_VALUE;let a=r,i=-r,c=r,o=-r;for(let d=0;d<u.length;d++){const l=u[d];if(!l.visible)continue;let h=null;switch(!0){case l.isContainerEnabled:h=ss(l,n);break;case l.isShape:h=uu(l,n);break;case l.isText:h=nu(l,n);break;case l.isVideo:h=su(l,n);break}h&&(a=Math.min(a,h[0]),c=Math.min(c,h[1]),i=Math.max(i,h[2]),o=Math.max(o,h[3]),F(h))}return he(a,c,i,o)},Fn=e=>{switch(!0){case e.isContainerEnabled:return ss(e);case e.isShape:return uu(e);case e.isText:return nu(e);case e.isVideo:return su(e);default:return he(0,0,0,0)}},Gi=e=>{const t=Fn(e),u=Math.abs(t[2]-t[0]);switch(F(t),!0){case u===0:case u===1/0:case u===-1/0:return 0;default:return Math.round(u*100)/100}},Ln=(e,t=null)=>{const u=e.children;if(!u.length)return he(0,0,0,0);const s=N(e);let n=t;s&&(n=t?A.multiply(t,s):s);const r=Number.MAX_VALUE;let a=r,i=-r,c=r,o=-r;for(let d=0;d<u.length;d++){const l=u[d];if(!l.visible)continue;let h=null;switch(!0){case l.isContainerEnabled:h=Ln(l,n);break;case l.isShape:h=uu(l,n);break;case l.isText:h=nu(l,n);break;case l.isVideo:h=su(l,n);break}h&&(a=Math.min(a,h[0]),c=Math.min(c,h[1]),i=Math.max(i,h[2]),o=Math.max(o,h[3]),F(h))}return he(a,c,i,o)},Ze=e=>{switch(!0){case e.isContainerEnabled:return Ln(e);case e.isShape:return Rn(e);case e.isText:return On(e);case e.isVideo:return kn(e);default:return he(0,0,0,0)}},Ki=(e,t)=>{if(t=+t,isNaN(t)||0>t)return;const u=Ze(e);let s=Math.abs(u[2]-u[0]);switch(!0){case s===0:case s===1/0:case s===-1/0:return;default:s=Math.round(s*100)/100;break}In(e,t/s)},Qi=(e,t)=>{const u=e.concatenatedMatrix,s=new J(t.x*u.a+t.y*u.c+u.tx,t.x*u.b+t.y*u.d+u.ty);return A.release(u.rawData),s},Zi=(e,t)=>{const u=e.concatenatedMatrix;u.invert();const s=new J(t.x*u.a+t.y*u.c+u.tx,t.x*u.b+t.y*u.d+u.ty);return A.release(u.rawData),s},Ji=e=>{const t=Fn(e),u=Math.abs(t[3]-t[1]);switch(F(t),!0){case u===0:case u===1/0:case u===-1/0:return 0;default:return Math.round(u*100)/100}},ji=(e,t)=>{if(t=+t,isNaN(t)||0>t)return;const u=Ze(e);let s=Math.abs(u[3]-u[1]);switch(!0){case s===0:case s===1/0:case s===-1/0:return;default:s=Math.round(s*100)/100;break}Sn(e,t/s)},ec=e=>{const t=e.parent;t&&t.removeChild(e)},tc=(e,t=null)=>{const u=e.concatenatedMatrix,s=Ze(e),n=ne(s[0],s[1],s[2],s[3],u.rawData);if(F(s),A.release(u.rawData),!t){const c=new be(n[0],n[1],Math.abs(n[2]-n[0]),Math.abs(n[3]-n[1]));return F(n),c}const r=t.concatenatedMatrix;r.invert();const a=ne(n[0],n[1],n[2],n[3],r.rawData);F(n),A.release(r.rawData);const i=new be(a[0],a[1],Math.abs(a[2]-a[0]),Math.abs(a[3]-a[1]));return F(a),i},uc=(e,t)=>{const u=Ze(e),s=e.concatenatedMatrix,n=ne(u[0],u[1],u[2],u[3],s.rawData);F(u),A.release(s.rawData);const r=Ze(t),a=t.concatenatedMatrix,i=ne(r[0],r[1],r[2],r[3],a.rawData);F(r),A.release(a.rawData);const c=Math.max(n[0],i[0]),o=Math.max(n[1],i[1]),d=Math.min(n[2],i[2]),l=Math.min(n[3],i[3]);return F(n),F(i),d-c>=0&&l-o>=0};class Bt{_$bitmapData;_$matrix;_$repeat;_$smooth;constructor(t,u=null,s=!0,n=!1){this._$bitmapData=t,this._$matrix=u,this._$repeat=s,this._$smooth=n}clone(){return new Bt(this._$bitmapData.clone(),this._$matrix?this._$matrix.clone():null,this._$repeat,this._$smooth)}toArray(){return U(this._$bitmapData,this._$matrix,this._$repeat,this._$smooth)}}class Dt{_$type;_$colors;_$alphas;_$ratios;_$matrix;_$spreadMethod;_$interpolationMethod;_$focalPointRatio;_$colorStops;constructor(t,u,s,n,r=null,a="pad",i="rgb",c=0){this._$type=t,this._$colors=u,this._$alphas=s,this._$ratios=n,this._$matrix=r,this._$spreadMethod=a,this._$interpolationMethod=i,this._$focalPointRatio=c,this._$colorStops=U()}get colorStops(){if(!this._$colorStops.length){const t=Math.min(Math.min(this._$alphas.length,this._$colors.length),this._$ratios.length);for(let u=0;u<t;++u){const s=this._$colors[u],n=typeof s=="string"?Su(s):s;this._$colorStops[u]={ratio:this._$ratios[u]/255,R:n>>>16&255,G:n>>>8&255,B:n&255,A:this._$alphas[u]*255}}}return this._$colorStops}toArray(){return U(this._$type,this.colorStops,this._$matrix?this._$matrix.rawData:bt,this._$spreadMethod,this._$interpolationMethod,this._$focalPointRatio)}clone(){return new Dt(this._$type,this._$colors.slice(),this._$alphas.slice(),this._$ratios.slice(),this._$matrix?this._$matrix.clone():null,this._$spreadMethod,this._$interpolationMethod,this._$focalPointRatio)}}const sc=(e,t=0,u=0)=>{e.xMin=Math.min(e.xMin,t),e.xMax=Math.max(e.xMax,t),e.yMin=Math.min(e.yMin,u),e.yMax=Math.max(e.yMax,u)},Ss=(e,t=0,u=0,s=0,n=0,r=0,a="none")=>{e.xMin=Math.min(e.xMin,Math.min(t,s)),e.xMax=Math.max(e.xMax,Math.max(t,s)),e.yMin=Math.min(e.yMin,Math.min(u,n)),e.yMax=Math.max(e.yMax,Math.max(u,n));const i=s-t,c=n-u,o=Math.sqrt(i*i+c*c);if(!o)return;const d=i/o,l=c/o,h=-l,b=d,f=r/2,p=Math.min(t+h*f,t-h*f,s+h*f,s-h*f),$=Math.max(t+h*f,t-h*f,s+h*f,s-h*f),g=Math.min(u+b*f,u-b*f,n+b*f,n-b*f),R=Math.max(u+b*f,u-b*f,n+b*f,n-b*f);if(e.xMin=Math.min(e.xMin,p),e.xMax=Math.max(e.xMax,$),e.yMin=Math.min(e.yMin,g),e.yMax=Math.max(e.yMax,R),a==="round"||a==="square"){const S=t+f*-d,k=u+f*-l,D=Math.min(S+f*d+f*h,S-f*d+f*h,S+f*d-f*h,S-f*d-f*h),re=Math.max(S+f*d+f*h,S-f*d+f*h,S+f*d-f*h,S-f*d-f*h),ce=Math.min(k+f*l+f*b,k+f*l-f*b,k-f*l-f*b,k-f*l+f*b),H=Math.max(k+f*l+f*b,k+f*l-f*b,k-f*l-f*b,k-f*l+f*b);e.xMin=Math.min(e.xMin,D),e.xMax=Math.max(e.xMax,re),e.yMin=Math.min(e.yMin,ce),e.yMax=Math.max(e.yMax,H)}},st=(e,t,u=0,s=0,n=0,r="none",...a)=>{for(let i=0;i<a.length;){const c=a[i++],o=a[i++];sc(e,c,o),t&&(Ss(e,c,o,u,s,n,r),Ss(e,u,s,c,o,n,r))}},nt=(e,t,u,s,n,...r)=>{e.isConfirmed=!1,t&&s&&s.push(...r),u&&n&&n.push(...r)},nc=(e,t,u,s,n)=>{t=+t||0,u=+u||0,s=+s||0,n=+n||0,s=Math.round(s),n=Math.round(n);const r=s/2,a=n/2,i=t+r,c=u+a,o=t+s,d=u+n,l=4/3*(Math.SQRT2-1),h=l*r,b=l*a;return e.moveTo(i,u).cubicCurveTo(i+h,u,o,c-b,o,c).cubicCurveTo(o,c+b,i+h,d,i,d).cubicCurveTo(i-h,d,t,c+b,t,c).cubicCurveTo(t,c-b,i-h,u,i,u)},rc=(e,t,u,s,n)=>{t=+t||0,u=+u||0,s=+s||0,n=+n||0;const r=Math.round(t+s),a=Math.round(u+n);return e.moveTo(t,u).lineTo(t,a).lineTo(r,a).lineTo(r,u).lineTo(t,u)},ac=(e,t,u,s,n,r,a=NaN)=>{t=+t||0,u=+u||0,s=+s||0,n=+n||0,r=+r||0,a=+a||r,s=Math.round(s),n=Math.round(n),r=Math.round(r),a=Math.round(a);const i=r/2,c=a/2,o=4/3*(Math.SQRT2-1),d=o*i,l=o*c,h=t+i,b=t+s,f=b-i,p=u+c,$=u+n,g=$-c;return e.moveTo(h,u).lineTo(f,u).cubicCurveTo(f+d,u,b,p-l,b,p).lineTo(b,g).cubicCurveTo(b,g+l,f+d,$,f,$).lineTo(h,$).cubicCurveTo(h-d,$,t,g+l,t,g).lineTo(t,p).cubicCurveTo(t,p-l,h-d,u,h,u)},kt=e=>{if(!e)return[];const t=U();for(let u=0;u<e.length;){const s=e[u++];switch(t.push(s),s){case y.BEGIN_PATH:case y.END_FILL:case y.END_STROKE:case y.CLOSE_PATH:break;case y.MOVE_TO:case y.LINE_TO:t.push(e[u++],e[u++]);break;case y.CURVE_TO:case y.FILL_STYLE:t.push(e[u++],e[u++],e[u++],e[u++]);break;case y.CUBIC:t.push(e[u++],e[u++],e[u++],e[u++],e[u++],e[u++]);break;case y.STROKE_STYLE:{switch(t.push(e[u++]),e[u++]){case"none":t.push(0);break;case"round":t.push(1);break;case"square":t.push(2);break}switch(e[u++]){case"bevel":t.push(0);break;case"miter":t.push(1);break;case"round":t.push(2);break}t.push(e[u++],e[u++],e[u++],e[u++],e[u++])}break;case y.ARC:t.push(e[u++],e[u++],e[u++]);break;case y.GRADIENT_FILL:{const n=e[u++],r=e[u++],a=e[u++],i=e[u++],c=e[u++],o=e[u++];t.push(n==="linear"?0:1),t.push(r.length);const d=r.sort((l,h)=>l.ratio-h.ratio);for(let l=0;l<d.length;++l){const h=d[l];t.push(h.ratio,h.R,h.G,h.B,h.A)}switch(t.push(...a),i){case"reflect":t.push(0);break;case"repeat":t.push(1);break;default:t.push(2);break}t.push(c==="linearRGB"?0:1),t.push(o)}break;case y.GRADIENT_STROKE:{switch(t.push(e[u++]),e[u++]){case"none":t.push(0);break;case"round":t.push(1);break;case"square":t.push(2);break}switch(e[u++]){case"bevel":t.push(0);break;case"miter":t.push(1);break;case"round":t.push(2);break}t.push(e[u++]);const a=e[u++],i=e[u++],c=e[u++],o=e[u++],d=e[u++],l=e[u++];t.push(a==="linear"?0:1),t.push(i.length);for(let h=0;h<i.length;++h){const b=i[h];t.push(b.ratio,b.R,b.G,b.B,b.A)}switch(t.push(...c),o){case"reflect":t.push(0);break;case"repeat":t.push(1);break;default:t.push(2);break}t.push(d==="linearRGB"?0:1),t.push(l)}break;case y.BITMAP_FILL:{const n=e[u++],r=n.buffer;if(!r){u+=3;break}t.push(n.width,n.height,r.length);for(let o=0;o<r.length;o+=4096)t.push(...r.subarray(o,o+4096));const a=e[u++];a?t.push(...a.rawData):t.push(1,0,0,1,0,0);const i=e[u++];t.push(i?1:0);const c=e[u++];t.push(c?1:0)}break;case y.BITMAP_STROKE:{switch(t.push(e[u++]),e[u++]){case"none":t.push(0);break;case"round":t.push(1);break;case"square":t.push(2);break}switch(e[u++]){case"bevel":t.push(0);break;case"miter":t.push(1);break;case"round":t.push(2);break}t.push(e[u++]);const a=e[u++],i=a.buffer;if(!i){u+=3;break}t.push(a.width,a.height,i.length);for(let l=0;l<i.length;l+=4096)t.push(...i.subarray(l,l+4096));const c=e[u++];c?t.push(...c):t.push(1,0,0,1,0,0);const o=e[u++];t.push(o?1:0);const d=e[u++];t.push(d?1:0)}break}}return t};class y{isConfirmed;xMin;yMin;xMax;yMax;$recodes;_$buffer;_$maxAlpha;_$isBeginning;_$positionX;_$positionY;_$hasFillEnabled;_$fillType;_$fillColor;_$fillGradient;_$fillBitmap;_$fills;_$hasLineEnabled;_$lineType;_$lineColor;_$lineGradient;_$joints;_$miterLimit;_$caps;_$lineWidth;_$lines;constructor(){this.isConfirmed=!1,this.xMin=Number.MAX_VALUE,this.yMin=Number.MAX_VALUE,this.xMax=-Number.MAX_VALUE,this.yMax=-Number.MAX_VALUE,this.$recodes=null,this._$buffer=null,this._$positionX=0,this._$positionY=0,this._$maxAlpha=0,this._$isBeginning=!1,this._$fills=null,this._$hasFillEnabled=!1,this._$fillType=0,this._$fillGradient=null,this._$fillBitmap=null,this._$fillColor=0,this._$caps="none",this._$lineWidth=1,this._$lines=null,this._$hasLineEnabled=!1,this._$lineType=0,this._$lineGradient=null,this._$joints="round",this._$miterLimit=0,this._$lineColor=0}static get MOVE_TO(){return 0}static get CURVE_TO(){return 1}static get LINE_TO(){return 2}static get CUBIC(){return 3}static get ARC(){return 4}static get FILL_STYLE(){return 5}static get STROKE_STYLE(){return 6}static get END_FILL(){return 7}static get END_STROKE(){return 8}static get BEGIN_PATH(){return 9}static get GRADIENT_FILL(){return 10}static get GRADIENT_STROKE(){return 11}static get CLOSE_PATH(){return 12}static get BITMAP_FILL(){return 13}static get BITMAP_STROKE(){return 14}get isDrawable(){if(!this._$isBeginning||!this._$maxAlpha)return!1;const t=Math.abs(this.xMax-this.xMin),u=Math.abs(this.yMax-this.yMin);return t>0&&u>0}beginBitmapFill(t,u=null,s=!0,n=!1){return this._$hasFillEnabled&&this.endFill(),this._$fills||(this._$fills=U()),this._$maxAlpha=1,this._$hasFillEnabled=!0,this._$isBeginning=!0,this._$fills.push(y.BEGIN_PATH),this._$fillType=y.BITMAP_FILL,this._$fillBitmap=new Bt(t,u,s,n),this}beginFill(t=0,u=1){this._$hasFillEnabled&&this.endFill(),this._$fills||(this._$fills=U()),typeof t=="string"&&(t=Su(t)),t=de(t,0,16777215,0),u=de(u,0,1,1),this._$maxAlpha=Math.max(this._$maxAlpha,u),this._$hasFillEnabled=!0,this._$isBeginning=!0,this._$fills.push(y.BEGIN_PATH),this._$fillType=y.FILL_STYLE;const s=t>>>16&255,n=t>>>8&255,r=t&255;return this._$fillColor=s<<24|n<<16|r<<8|u*255,this}beginGradientFill(t,u,s,n,r=null,a="pad",i="rgb",c=0){this._$hasFillEnabled&&this.endFill(),this._$fills||(this._$fills=U());for(let o=0;o<s.length;++o)this._$maxAlpha=Math.max(this._$maxAlpha,s[o]);return this._$hasFillEnabled=!0,this._$isBeginning=!0,this._$fills.push(y.BEGIN_PATH),this._$fillType=y.GRADIENT_FILL,this._$fillGradient=new Dt(t,u,s,n,r,a,i,c),this}clear(){return this._$maxAlpha=0,this._$isBeginning=!1,this._$positionX=0,this._$positionY=0,this._$fillType=0,this._$fillGradient=null,this._$fillBitmap=null,this._$fillColor=0,this._$hasFillEnabled=!1,this._$caps="none",this._$lineWidth=1,this._$lineType=0,this._$lineGradient=null,this._$joints="round",this._$miterLimit=0,this._$lineColor=0,this._$hasLineEnabled=!1,this.xMin=Number.MAX_VALUE,this.xMax=-Number.MAX_VALUE,this.yMin=Number.MAX_VALUE,this.yMax=-Number.MAX_VALUE,this.$recodes&&ee(this.$recodes),this._$fills&&ee(this._$fills),this._$lines&&ee(this._$lines),this._$buffer=null,this.$recodes=null,this._$fills=null,this._$lines=null,this}clone(){const t=new y;return t.copyFrom(this),t}copyFrom(t){t._$fillGradient&&(this._$fillGradient=t._$fillGradient.clone()),t._$fillBitmap&&(this._$fillBitmap=t._$fillBitmap.clone()),this._$hasFillEnabled=t._$hasFillEnabled,this._$fillType=t._$fillType,this._$fillColor=t._$fillColor,t._$lineGradient&&(this._$lineGradient=t._$lineGradient.clone()),this._$hasLineEnabled=t._$hasLineEnabled,this._$lineType=t._$lineType,this._$caps=t._$caps,this._$joints=t._$joints,this._$miterLimit=t._$miterLimit,this._$lineWidth=t._$lineWidth,this._$lineColor=t._$lineColor,this.xMin=t.xMin,this.xMax=t.xMax,this.yMin=t.yMin,this.yMax=t.yMax,this._$maxAlpha=t._$maxAlpha,this._$positionX=t._$positionX,this._$positionY=t._$positionY,this._$isBeginning=t._$isBeginning,t._$fills&&(this._$fills=t._$fills.slice(0)),t._$lines&&(this._$lines=t._$lines.slice(0)),t.$recodes&&(this.$recodes=t.$recodes.slice(0)),this._$buffer=null}cubicCurveTo(t,u,s,n,r,a){return r=+r||0,a=+a||0,this._$positionX===r&&this._$positionY===a?this:(t=+t||0,u=+u||0,s=+s||0,n=+n||0,st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t,u,s,n,r,a),nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.CUBIC,t,u,s,n,r,a),this._$positionX=r,this._$positionY=a,this)}curveTo(t,u,s,n){return s=+s||0,n=+n||0,this._$positionX===s&&this._$positionY===n?this:(t=+t||0,u=+u||0,st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t,u,s,n),nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.CURVE_TO,t,u,s,n),this._$positionX=s,this._$positionY=n,this)}drawCircle(t,u,s){return t=+t||0,u=+u||0,s=+s||0,s=Math.round(s),st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t-s,u-s,t+s,u+s),nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.MOVE_TO,t+s,u,y.ARC,t,u,s),this._$positionX=t,this._$positionY=u,this}drawEllipse(t,u,s,n){return nc(this,t,u,s,n)}drawRect(t,u,s,n){return rc(this,t,u,s,n)}drawRoundRect(t,u,s,n,r,a=NaN){return ac(this,t,u,s,n,r,a)}endFill(){if(!this._$hasFillEnabled||!this._$fills||8>this._$fills.length)return this;switch(this.$recodes||(this.$recodes=U()),(this._$fills[2]!==this._$fills[this._$fills.length-2]||this._$fills[3]!==this._$fills[this._$fills.length-1])&&this._$fills.push(y.LINE_TO,this._$fills[2],this._$fills[3]),this.$recodes.push(...this._$fills),ee(this._$fills),this._$fills=null,this._$fillType){case y.FILL_STYLE:this.$recodes.push(this._$fillType,this._$fillColor>>>24&255,this._$fillColor>>>16&255,this._$fillColor>>>8&255,this._$fillColor&255,y.END_FILL);break;case y.GRADIENT_FILL:this._$fillGradient&&this.$recodes.push(this._$fillType,...this._$fillGradient.toArray());break;case y.BITMAP_FILL:this._$fillBitmap&&this.$recodes.push(this._$fillType,...this._$fillBitmap.toArray());break}return this._$fillType=0,this._$fillColor=0,this._$fillGradient=null,this._$fillBitmap=null,this._$hasFillEnabled=!1,this}endLine(){if(!this._$hasLineEnabled||!this._$lines)return this;switch(this.$recodes||(this.$recodes=U()),this.$recodes.push(...this._$lines),ee(this._$lines),this._$lines=null,this._$lineType){case y.STROKE_STYLE:this.$recodes.push(this._$lineType,this._$lineWidth,this._$caps,this._$joints,this._$miterLimit,this._$lineColor>>>24&255,this._$lineColor>>>16&255,this._$lineColor>>>8&255,this._$lineColor&255,y.END_STROKE);break;case y.GRADIENT_STROKE:this._$lineGradient&&this.$recodes.push(this._$lineType,this._$lineWidth,this._$caps,this._$joints,this._$miterLimit,...this._$lineGradient.toArray());break;case y.BITMAP_STROKE:this._$fillBitmap&&this.$recodes.push(this._$lineType,this._$lineWidth,this._$caps,this._$joints,this._$miterLimit,...this._$fillBitmap.toArray());break}return this._$lineType=0,this._$lineWidth=0,this._$lineGradient=null,this._$lineColor=0,this._$caps="none",this._$joints="round",this._$miterLimit=0,this._$hasLineEnabled=!1,this}lineBitmapStyle(t,u=null,s=!0,n=!1){return this._$hasLineEnabled?(this._$lines||(this._$lines=U()),this._$maxAlpha=1,this._$hasLineEnabled=!0,this._$isBeginning=!0,this._$lines.push(y.BEGIN_PATH),this._$lineType=y.BITMAP_STROKE,this._$fillBitmap=new Bt(t,u,s,n),this):this}lineGradientStyle(t,u,s,n,r=null,a="pad",i="rgb",c=0){if(!this._$hasLineEnabled)return this;this._$lines||(this._$lines=U());for(let o=0;o<s.length;++o)this._$maxAlpha=Math.max(this._$maxAlpha,s[o]);return this._$lines.push(y.BEGIN_PATH),this._$lineType=y.GRADIENT_STROKE,this._$lineGradient=new Dt(t,u,s,n,r,a,i,c),this}lineStyle(t=1,u=0,s=1,n="round",r="round",a=3){this._$hasLineEnabled&&this.endLine(),this._$lines||(this._$lines=U()),this._$maxAlpha=Math.max(this._$maxAlpha,s),this._$hasLineEnabled=!0,this._$isBeginning=!0,this._$positionX||this._$positionY?this._$lines.push(y.BEGIN_PATH,y.MOVE_TO,this._$positionX,this._$positionY):this._$lines.push(y.BEGIN_PATH),this._$lineType=y.STROKE_STYLE,typeof u=="string"&&(u=Su(u)),u=de(u,0,16777215,0),s=de(s,0,1,1);const i=u>>>16&255,c=u>>>8&255,o=u&255;return this._$lineColor=i<<24|c<<16|o<<8|s*255,this._$lineWidth=t,this._$caps=`${n}`,this._$joints=`${r}`,this._$joints==="miter"&&(this._$miterLimit=a),this}lineTo(t,u){return t=+t||0,u=+u||0,this._$positionX===t&&this._$positionY===u?this:(st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t,u),nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.LINE_TO,t,u),this._$positionX=t,this._$positionY=u,this)}moveTo(t,u){t=+t||0,u=+u||0,this._$positionX=t,this._$positionY=u,st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t,u);let s=!1;return this._$hasFillEnabled&&this._$fills&&this._$fills[this._$fills.length-3]===y.MOVE_TO&&(s=!0,this._$fills[this._$fills.length-2]=t,this._$fills[this._$fills.length-1]=u),this._$hasLineEnabled&&this._$lines&&this._$lines[this._$lines.length-3]===y.MOVE_TO&&(s=!0,this._$lines[this._$lines.length-2]=t,this._$lines[this._$lines.length-1]=u),s||nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.MOVE_TO,t,u),this}get buffer(){if(this.isConfirmed&&this._$buffer)return this._$buffer;this._$hasLineEnabled&&this.endLine(),this._$hasFillEnabled&&this.endFill();const t=kt(this.$recodes);return this._$buffer=new Float32Array(t),ee(t),this.isConfirmed=!0,this._$buffer}set buffer(t){this._$buffer=t,this.isConfirmed=!0,this._$isBeginning=!0,this._$maxAlpha=1}}const ic=(e,t,u)=>{for(let s=0;s<t.length;)switch(t[s++]){case y.BEGIN_PATH:e.beginPath();break;case y.MOVE_TO:e.moveTo(t[s++],t[s++]);break;case y.LINE_TO:e.lineTo(t[s++],t[s++]);break;case y.CURVE_TO:e.quadraticCurveTo(t[s++],t[s++],t[s++],t[s++]);break;case y.FILL_STYLE:s+=4;continue;case y.END_FILL:if(e.isPointInPath(u.x,u.y))return!0;break;case y.STROKE_STYLE:s+=8;continue;case y.END_STROKE:break;case y.CLOSE_PATH:e.closePath();break;case y.CUBIC:e.bezierCurveTo(t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]);break;case y.ARC:e.arc(t[s++],t[s++],t[s++],0,2*Math.PI);break;case y.GRADIENT_FILL:if(e.isPointInPath(u.x,u.y))return!0;s+=6;continue;case y.GRADIENT_STROKE:s+=12;continue;case y.BITMAP_FILL:if(e.isPointInPath(u.x,u.y))return!0;s+=6;continue;case y.BITMAP_STROKE:s+=9;continue}return!1},Ot=(e,t,u,s)=>{const n=e.graphics,r=n.xMax-n.xMin,a=n.yMax-n.yMin;if(r<=0||a<=0)return!1;const i=N(e),c=i?A.multiply(u,i):u;t.beginPath(),t.setTransform(c[0],c[1],c[2],c[3],c[4],c[5]);let o=!1;return n.buffer.length?o=ic(t,n.buffer,s):(t.moveTo(0,0),t.lineTo(r,0),t.lineTo(r,a),t.lineTo(0,a),t.lineTo(0,0),o=t.isPointInPath(s.x,s.y)),c!==u&&A.release(c),o},Ft=(e,t,u,s)=>{const n=Math.ceil(Math.abs(e.xMax-e.xMin)),r=Math.ceil(Math.abs(e.yMax-e.yMin));if(n<=0||r<=0)return!1;const a=N(e),i=a?A.multiply(u,a):u;return t.setTransform(i[0],i[1],i[2],i[3],i[4],i[5]),t.beginPath(),t.moveTo(0,0),t.lineTo(n,0),t.lineTo(n,r),t.lineTo(0,r),t.lineTo(0,0),i!==u&&A.release(i),t.isPointInPath(s.x,s.y)},Lt=(e,t,u,s)=>{const n=e.videoWidth,r=e.videoHeight;if(n<=0||r<=0)return!1;const a=N(e),i=a?A.multiply(u,a):u;return t.beginPath(),t.setTransform(i[0],i[1],i[2],i[3],i[4],i[5]),t.beginPath(),t.moveTo(0,0),t.lineTo(n,0),t.lineTo(n,r),t.lineTo(0,r),t.lineTo(0,0),i!==u&&A.release(i),t.isPointInPath(s.x,s.y)},He=(e,t,u,s,n=!0)=>{const r=e.children;if(!r.length)return!1;const a=N(e),i=a?A.multiply(u,a):u,c=U(),o=U(),d=Ja();let l=0,h=0;for(let $=0;$<r.length;++$){const g=r[$];if(g&&!g.isMask){if(g.clipDepth){h=c.length,l=g.clipDepth,c.push(g);continue}g.visible&&(l&&g.placeId>l&&(h=0,l=0),h&&d.set(g.instanceId,h),o.push(g))}}const b=e.mouseChildren&&n;if(e.isSprite&&e.hitArea){const $=He(e.hitArea,t,i,s,b);return $&&b&&e.mouseEnabled&&(e.buttonMode&&e.useHandCursor&&(s.pointer="pointer"),s.hit||(s.hit=e)),$}let f=!1;const p=e.mask;if(p){let $=!1;switch(!0){case p.isContainerEnabled:$=He(p,t,i,s,b);break;case p.isShape:$=Ot(p,t,i,s);break;case p.isText:$=Ft(p,t,i,s);break;case p.isVideo:$=Lt(p,t,i,s);break}if(!$)return!1}for(;o.length;){const $=o.pop();if(!$||$.isMask)continue;if(d.has($.instanceId)){const R=d.get($.instanceId);if(!R)continue;const S=c[R];if(!S)continue;let k=!1;switch(!0){case S.isContainerEnabled:k=He(S,t,i,s,b);break;case S.isShape:k=Ot(S,t,i,s);break;case S.isText:k=Ft(S,t,i,s);break;case S.isVideo:k=Lt(S,t,i,s);break}if(!k)continue}let g=!1;switch(!0){case $.isContainerEnabled:g=He($,t,i,s,b);break;case $.isShape:g=Ot($,t,i,s);break;case $.isText:g=Ft($,t,i,s);break;case $.isVideo:g=Lt($,t,i,s);break}if(g){if(f=!0,!b)break;if($.isInteractive&&$.mouseEnabled){if(s.pointer==="auto")switch(!0){case $.isText:$.type==="input"&&(s.pointer="text");break;case $.isSprite:$.buttonMode&&$.useHandCursor&&(s.pointer="pointer");break;default:s.pointer="pointer";break}s.hit||(s.hit=$);break}}}return ee(c),ee(o),ja(d),i!==u&&A.release(i),f},Ce={x:0,y:0,pointer:"",hit:null},cc=(e,t,u,s=!1)=>{if(s){const d=e.parent,l=d?d.concatenatedMatrix.rawData:bt;switch(Me.setTransform(1,0,0,1,0,0),Me.beginPath(),Ce.x=t,Ce.y=u,Ce.hit=null,!0){case e.isContainerEnabled:return He(e,Me,l,Ce);case e.isShape:return Ot(e,Me,l,Ce);case e.isText:return Ft(e,Me,l,Ce);case e.isVideo:return Lt(e,Me,l,Ce);default:return!1}}const n=Ze(e),r=N(e),a=ne(n[0],n[1],n[2],n[3],r||bt);F(n);const i=new be(a[0],a[1],Math.abs(a[2]-a[0]),Math.abs(a[3]-a[1]));F(a);const c=e.parent,o=c?c.globalToLocal(new J(t,u)):new J(t,u);return i.containsPoint(o)},oc=e=>{const t=N(e);return t?new A(t[0],t[1],t[2],t[3],t[4],t[5]):new A},lc=e=>{const t=qe(e);return t?new L(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):new L};class ru extends je{instanceId;dictionaryId;isSprite;isInteractive;isContainerEnabled;isTimelineEnabled;isShape;isVideo;isText;placeId;placeObject;characterId;clipDepth;name;startFrame;endFrame;changed;$added;$addedToStage;uniqueKey;$matrix;$colorTransform;$filters;$blendMode;$scaleX;$scaleY;$rotation;$x;$y;$alpha;$cache;_$scale9Grid;_$visible;_$variables;isMask;parent;constructor(){super(),this.instanceId=$n(),this.dictionaryId=-1,this.uniqueKey="",this.isSprite=!1,this.isContainerEnabled=!1,this.isTimelineEnabled=!1,this.isShape=!1,this.isVideo=!1,this.isText=!1,this.isInteractive=!1,this.placeId=-1,this.placeObject=null,this.characterId=-1,this.clipDepth=0,this.name="",this.startFrame=1,this.endFrame=0,this.parent=null,this.isMask=!1,this.changed=!0,this.$added=!1,this.$addedToStage=!1,this.$matrix=null,this.$colorTransform=null,this.$filters=null,this.$blendMode=null,this._$visible=!0,this._$scale9Grid=null,this._$variables=null,this.$x=null,this.$y=null,this.$alpha=null,this.$scaleX=null,this.$scaleY=null,this.$rotation=null,this.$cache=null}get concatenatedMatrix(){return ni(this)}get alpha(){return ri(this)}set alpha(t){ai(this,t)}get blendMode(){return Pi(this)}set blendMode(t){Bi(this,t)}get filters(){return Ci(this)}set filters(t){Ni(this,t)}get dropTarget(){return si()}get height(){return Ji(this)}set height(t){ji(this,t)}get loaderInfo(){return Rt.has(this)?Rt.get(this):null}get colorTransform(){return lc(this)}set colorTransform(t){this.$colorTransform=t}get matrix(){return oc(this)}set matrix(t){this.$matrix=t}get mouseX(){return this.globalToLocal(ft).x}get mouseY(){return this.globalToLocal(ft).y}get root(){return ke.has(this)?ke.get(this):null}get rotation(){return this.$rotation===null?_i(this):this.$rotation}set rotation(t){qi(this,t)}get scale9Grid(){return this._$scale9Grid}set scale9Grid(t){this._$scale9Grid!==t&&(this._$scale9Grid=t,V(this))}get scaleX(){return this.$scaleX===null?Xi(this):this.$scaleX}set scaleX(t){In(this,t)}get scaleY(){return this.$scaleY===null?Vi(this):this.$scaleY}set scaleY(t){Sn(this,t)}get visible(){return this._$visible}set visible(t){this._$visible!==t&&(this._$visible=!!t,V(this))}get width(){return Gi(this)}set width(t){Ki(this,t)}get x(){return this.$x===null?Yi(this):this.$x}set x(t){Wi(this,t)}get y(){return this.$y===null?Hi(this):this.$y}set y(t){zi(this,t)}getBounds(t=null){return tc(this,t)}globalToLocal(t){return Zi(this,t)}hitTestObject(t){return uc(this,t)}hitTestPoint(t,u,s=!1){return cc(this,t,u,s)}localToGlobal(t){return Qi(this,t)}getLocalVariable(t){if(!this._$variables)return null;if(this._$variables.has(t))return this._$variables.get(t)}setLocalVariable(t,u){this._$variables||(this._$variables=new Map),this._$variables.set(t,u)}hasLocalVariable(t){return this._$variables?this._$variables.has(t):!1}deleteLocalVariable(t){this._$variables&&this._$variables.has(t)&&(this._$variables.delete(t),this._$variables.size||(this._$variables=null))}getGlobalVariable(t){return Le.has(t)?Le.get(t):null}setGlobalVariable(t,u){Le.set(t,u)}hasGlobalVariable(t){return Le.has(t)}deleteGlobalVariable(t){Le.has(t)&&Le.delete(t)}clearGlobalVariable(){return Le.clear()}remove(){ec(this)}$syncLoaderInfo(t){Rt.set(this,t)}}const Cn=e=>{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(ke.set(s,e.root),fe.add(s.instanceId),s.isContainerEnabled&&Cn(s))}},Nn=e=>{e.$addedToStage||!fe.has(e.instanceId)||(e.$addedToStage=!0,e.willTrigger(m.ADDED_TO_STAGE)&&e.dispatchEvent(new m(m.ADDED_TO_STAGE)))},Pn=e=>{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(Nn(s),s.isContainerEnabled&&Pn(s))}},hc=e=>{e.$added||(e.$added=!0,e.willTrigger(m.ADDED)&&e.dispatchEvent(new m(m.ADDED,!0)))},Rs=(e,t,u=-1)=>{const s=t.parent;s&&s.removeChild(t);const n=e.children;return 0>u?n.push(t):n.splice(u,0,t),e.$container=null,t.parent=e,fe.has(e.instanceId)&&(ke.set(t,e.root),fe.add(t.instanceId),t.isContainerEnabled&&Cn(t)),hc(t),fe.has(e.instanceId)&&(Nn(t),t.isContainerEnabled&&Pn(t)),V(t),t},Bn=e=>{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(ke.delete(s),fe.delete(s.instanceId),s.isVideo&&s.pause(),s.isContainerEnabled&&Bn(s))}},dc=e=>{e.$added&&(e.$added=!1,e.willTrigger(m.REMOVED)&&e.dispatchEvent(new m(m.REMOVED,!0)))},Dn=e=>{!e.$addedToStage||!fe.has(e.instanceId)||(e.$addedToStage=!1,e.willTrigger(m.REMOVED_FROM_STAGE)&&e.dispatchEvent(new m(m.REMOVED_FROM_STAGE)),e.uniqueKey&&O.has(e.uniqueKey)&&O.removeTimer(e.uniqueKey))},ns=e=>{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(Dn(s),s.isContainerEnabled&&ns(s))}},rs=(e,t)=>{const u=t.parent;if(u&&u.instanceId!==e.instanceId)return;const s=e.children,n=s.indexOf(t);n>-1&&s.splice(n,1),e.$container=null,t.hasEventListener(m.ENTER_FRAME)&&t.removeAllEventListener(m.ENTER_FRAME),t.hasEventListener(B.KEY_DOWN)&&t.removeAllEventListener(B.KEY_DOWN),t.hasEventListener(B.KEY_UP)&&t.removeAllEventListener(B.KEY_UP),dc(t),fe.has(e.instanceId)&&(Dn(t),t.isContainerEnabled&&ns(t)),fe.has(e.instanceId)&&(ke.delete(t),fe.delete(t.instanceId),t.isVideo&&t.pause(),t.isContainerEnabled&&Bn(t)),t.parent=null,V(e)},_n=(e,t)=>{const u=e.children;return t in u?u[t]:null},fc=(e,t)=>{const u=_n(e,t);u&&rs(e,u)},bc=(e,t)=>{if(e.instanceId===t.instanceId)return!0;const u=e.children;for(let s=0;s<u.length;++s){const n=u[s];if(n){if(n.instanceId===t.instanceId)return!0;if(n.isContainerEnabled&&n.contains(t))return!0}}return!1},$c=(e,t)=>{if(!t)return null;const u=e.children;for(let s=0;s<u.length;++s){const n=u[s];if(!(!n.name||n.name!==t))return n}return null},xc=(e,t)=>{const u=e.children.slice();if(u.length)for(let s=0;s<t.length;s++){const n=t[s],r=u[n];r&&rs(e,r)}},mc=(e,t,u)=>{const s=e.getChildIndex(t);if(s===-1||s===u)return;const n=e.children;n.splice(s,1),n.splice(u,0,t),V(e)},gc=(e,t,u)=>{const s=e.getChildIndex(t),n=e.getChildIndex(u);if(s===-1||n===-1)return;const r=e.children;r[s]=u,r[n]=t,V(e)},pc=(e,t,u)=>{const s=e.children,n=s[t],r=s[u];!n||!r||(s[t]=r,s[u]=n,V(e))};class as extends ru{mouseEnabled;isInteractive;constructor(){super(),this.isInteractive=!0,this.mouseEnabled=!0}}class is extends as{_$children;_$mask;mouseChildren;$container;isContainerEnabled;constructor(){super(),this.isContainerEnabled=!0,this.mouseChildren=!0,this._$mask=null,this._$children=U(),this.$container=null}get children(){return this._$children}get numChildren(){return this.children.length}get mask(){return this._$mask}set mask(t){t!==this._$mask&&(this._$mask&&(this._$mask.isMask=!1,this._$mask=null),t&&(t.isMask=!0,this._$mask=t),V(this))}addChild(t){return Rs(this,t)}addChildAt(t,u){return Rs(this,t,u)}contains(t){return bc(this,t)}getChildAt(t){return _n(this,t)}getChildByName(t){return $c(this,t)}getChildIndex(t){return this.children.indexOf(t)}removeChild(t){rs(this,t)}removeChildAt(t){fc(this,t)}removeChildren(...t){xc(this,t)}setChildIndex(t,u){mc(this,t,u)}swapChildren(t,u){gc(this,t,u)}swapChildrenAt(t,u){pc(this,t,u)}}class Un extends je{name;frame;constructor(t,u){super(),this.name=`${t}`,this.frame=u|0}}class Tc extends je{id;content;data;url;format;constructor(){super(),this.id=$n(),this.url="",this.content=null,this.data=null,this.format="json"}}const Ec=(e,t=!1,u=null)=>{const s=e.parent?e.parent.globalToLocal(ft):e.globalToLocal(ft);e.$lockCenter=t,e.$offsetX=e.x-s.x,e.$offsetY=e.y-s.y,e.$boundedRect=u,Tn(e)},yc=e=>{e.$lockCenter=!1,e.$offsetX=0,e.$offsetY=0,e.$boundedRect=null,Tn(null)};class cs extends is{buttonMode;useHandCursor;isSprite;hitArea;_$soundTransform;$offsetX=0;$offsetY=0;$lockCenter=!1;$boundedRect=null;constructor(){super(),this.isSprite=!0,this.buttonMode=!1,this.useHandCursor=!0,this.hitArea=null,this.$offsetX=0,this.$offsetY=0,this.$lockCenter=!1,this.$boundedRect=null,this._$soundTransform=null}get soundTransform(){return this._$soundTransform}set soundTransform(t){this._$soundTransform=t}startDrag(t=!1,u=null){Ec(this,t,u)}stopDrag(){yc(this)}}const qn=e=>{e.isBitmap=!1,e.$bitmapBuffer=null,e.graphics.clear(),e.uniqueKey!==""&&O.has(e.uniqueKey)&&(O.removeById(e.uniqueKey),O.$removeIds.push(+e.uniqueKey)),V(e)},Xn=(e,t,u,s)=>{qn(e),e.isBitmap=!0,e.$bitmapBuffer=s,e.graphics.xMin=0,e.graphics.yMin=0,e.graphics.xMax=t,e.graphics.yMax=u},Mc=(e,t)=>{const u=new Image;u.crossOrigin="anonymous",u.addEventListener("load",()=>{const s=u.width,n=u.height,r=O.getCanvas();r.width=s,r.height=n;const a=r.getContext("2d",{willReadFrequently:!0});a.drawImage(u,0,0,s,n),Xn(e,s,n,new Uint8Array(a.getImageData(0,0,s,n).data)),O.destroy(a),e.hasEventListener(m.COMPLETE)&&e.dispatchEvent(new m(m.COMPLETE))}),u.src=t},wc=(e,t)=>{const u=e.graphics,s=Math.ceil(Math.abs(t.bounds.xMax-t.bounds.xMin)),n=Math.ceil(Math.abs(t.bounds.yMax-t.bounds.yMin));switch(!0){case t.bitmapId>0:{const a=e.loaderInfo.data?.characters[t.bitmapId];if(!a)break;e.isBitmap=!0,a.imageBuffer||(a.imageBuffer=new Uint8Array(a.buffer),a.buffer=null);const i=Math.ceil(Math.abs(a.bounds.xMax-a.bounds.xMin)),c=Math.ceil(Math.abs(a.bounds.yMax-a.bounds.yMin));if(t.grid){if(t.recodes){const o=t.recodes.slice(0);o.splice(-6,6);const d=new Ne(i,c);d.buffer=a.imageBuffer,o.push(y.BITMAP_FILL,d,null,!0,!1,9);const l=kt(o);u.buffer=new Float32Array(l),ee(o),ee(l)}}else if(s===i&&n===c)e.setBitmapBuffer(Math.ceil(Math.abs(a.bounds.xMax-a.bounds.xMin)),Math.ceil(Math.abs(a.bounds.yMax-a.bounds.yMin)),a.imageBuffer);else{const o=new Ne(i,c);if(o.buffer=a.imageBuffer,t.recodes)if(t.recodes[t.recodes.length-10]===y.BITMAP_STROKE){const l=t.recodes.slice(0);l.splice(-5,5),l.push(o,null,!0,!1);const h=kt(l);u.buffer=new Float32Array(h),ee(l),ee(h)}else u.beginBitmapFill(o).drawRect(0,0,s,n)}}break;case t.inBitmap:{e.isBitmap=!0;const r=t.recodes,a=r[r.length-4];if(s===a.width&&n===a.height)e.setBitmapBuffer(a.width,a.height,a.buffer);else{const i=new Ne(a.width,a.height);i.buffer=a.buffer,u.beginBitmapFill(i).drawRect(0,0,s,n)}}break;case"buffer"in t:t.imageBuffer||(t.imageBuffer=new Uint8Array(t.buffer),t.buffer=null),e.setBitmapBuffer(Math.ceil(Math.abs(u.xMax-u.xMin)),Math.ceil(Math.abs(u.yMax-u.yMin)),t.imageBuffer);break;default:t.recodes&&(t.recodeBuffer=new Float32Array(kt(t.recodes)),ee(t.recodes),t.recodes=null),t.recodeBuffer&&(u.buffer=t.recodeBuffer);break}u.xMin=t.bounds.xMin,u.xMax=t.bounds.xMax,u.yMin=t.bounds.yMin,u.yMax=t.bounds.yMax,t.grid&&(e.scale9Grid=new be(t.grid.x,t.grid.y,t.grid.w,t.grid.h))};class $t extends ru{_$graphics;_$src;isShape;cacheKey;cacheParams;isBitmap;$bitmapBuffer;constructor(){super(),this.isShape=!0,this.cacheKey=0,this.cacheParams=U(0,0,0),this._$graphics=null,this._$src="",this.$bitmapBuffer=null,this.isBitmap=!1}static get namespace(){return"next2d.display.Shape"}get namespace(){return"next2d.display.Shape"}get graphics(){return this._$graphics||(this._$graphics=new y,ui.set(this._$graphics,this)),this._$graphics}get src(){return this._$src}set src(t){this._$src!==t&&(this._$src=t,Mc(this,t))}get bitmapData(){const t=new Ne(this.width,this.height);return this.$bitmapBuffer&&(t.buffer=this.$bitmapBuffer),t}clearBitmapBuffer(){qn(this)}setBitmapBuffer(t,u,s){Xn(this,t,u,s)}$sync(t,u=null){u&&super.$syncLoaderInfo(u),wc(this,t)}}let Vn=null;const ks=e=>{Vn=e},Fe=()=>Vn,ie=document.createElement("textarea");ie.tabIndex=-1;let pe="";pe+="position: fixed;";pe+="top: 0;";pe+="left: 0;";pe+="font-size: 16px;";pe+="border: 0;";pe+="resize: none;";pe+="opacity: 0;";pe+="z-index: -1;";pe+="pointer-events: none;";ie.setAttribute("style",pe);const Fu=document.createElement("canvas");Fu.width=Fu.height=1;const Pe=Fu.getContext("2d");let Yn=0;const yt=()=>Yn,ot=e=>{Yn=e},Ac=e=>Pe?(Pe.fillStyle=e,+`0x${Pe.fillStyle.slice(1)}`):0,Qe=e=>isNaN(+e)?Ac(`${e}`):+e,vc=(e,t=1)=>({R:(e&16711680)>>16,G:(e&65280)>>8,B:e&255,A:t*255}),ht=(e,t,u,s=null)=>{const n=+e;return isNaN(n)&&s!==null?s:Math.min(Math.max(t,isNaN(n)?0:n),u)};let Wn;const _t=()=>Wn,Hn=e=>{Wn=e},ze={x:0,y:0};class se{align;bold;color;font;italic;leading;leftMargin;letterSpacing;rightMargin;size;underline;constructor(t=null,u=null,s=null,n=null,r=null,a=null,i=null,c=null,o=null,d=null,l=null){this.font=t,this.size=u,this.color=s,this.bold=n,this.italic=r,this.underline=a,this.align=i,this.leftMargin=c,this.rightMargin=o,this.leading=d,this.letterSpacing=l}clone(){return new se(this.font,this.size,this.color,this.bold,this.italic,this.underline,this.align,this.leftMargin,this.rightMargin,this.leading,this.letterSpacing)}toObject(){return{font:this.font,size:this.size,color:Qe(this.color),bold:this.bold,italic:this.italic,underline:this.underline,align:this.align,leftMargin:this.leftMargin,rightMargin:this.rightMargin,leading:this.leading,letterSpacing:this.letterSpacing}}}const Ic=e=>{e.align="left",e.bold=!1,e.color=0,e.font="Times New Roman",e.italic=!1,e.leading=0,e.leftMargin=0,e.letterSpacing=0,e.rightMargin=0,e.size=12,e.underline=!1},Sc=e=>{let t="";if(e.font&&(t+=`font-family: ${e.font};`),e.size&&(t+=`font-size: ${e.size}px;`),e.color){const u=vc(Qe(e.color)),s=u.R.toString(16).padStart(2,"0"),n=u.G.toString(16).padStart(2,"0"),r=u.B.toString(16).padStart(2,"0");t+=`color: #${s}${n}${r};`}return e.bold&&(t+="font-weight: bold;"),e.italic&&(t+="font-style: italic;"),e.underline&&(t+="text-decoration: underline;"),e.align&&(t+=`text-align: ${e.align};`),e.leftMargin&&(t+=`margin-left: ${e.leftMargin}px;`),e.rightMargin&&(t+=`margin-right: ${e.rightMargin}px;`),e.leading&&(t+=`margin-bottom: ${e.leading}px;`),e.letterSpacing&&(t+=`letter-spacing: ${e.letterSpacing}px;`),t};class Rc{_$textWidth;_$textHeight;heightTable;ascentTable;widthTable;textTable;lineTable;constructor(){this._$textWidth=-1,this._$textHeight=-1,this.widthTable=[],this.heightTable=[],this.ascentTable=[],this.textTable=[],this.lineTable=[]}get textWidth(){if(this._$textWidth!==-1)return this._$textWidth;this._$textWidth=0;for(let t=0;t<this.widthTable.length;++t)this._$textWidth=Math.max(this._$textWidth,this.widthTable[t]);return this._$textWidth}get textHeight(){if(this._$textHeight!==-1)return this._$textHeight;this._$textHeight=0;for(let t=0;t<this.heightTable.length;++t)this._$textHeight+=this.heightTable[t];return this._$textHeight}getLineWidth(t){return t in this.widthTable?this.widthTable[t]:0}getLineHeight(t){return t in this.heightTable?this.heightTable[t]:0}clear(){this._$textWidth=-1,this._$textHeight=-1,this.widthTable.length=0,this.heightTable.length=0,this.ascentTable.length=0,this.textTable.length=0,this.lineTable.length=0}}const kc=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Oc=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Eu;const Fc=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Os=(Eu=String.fromCodePoint)!==null&&Eu!==void 0?Eu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Lc(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Fc.get(e))!==null&&t!==void 0?t:e}var Z;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Z||(Z={}));const Cc=32;var Se;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Se||(Se={}));function Lu(e){return e>=Z.ZERO&&e<=Z.NINE}function Nc(e){return e>=Z.UPPER_A&&e<=Z.UPPER_F||e>=Z.LOWER_A&&e<=Z.LOWER_F}function Pc(e){return e>=Z.UPPER_A&&e<=Z.UPPER_Z||e>=Z.LOWER_A&&e<=Z.LOWER_Z||Lu(e)}function Bc(e){return e===Z.EQUALS||Pc(e)}var K;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(K||(K={}));var me;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(me||(me={}));class Dc{constructor(t,u,s){this.decodeTree=t,this.emitCodePoint=u,this.errors=s,this.state=K.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=me.Strict}startEntity(t){this.decodeMode=t,this.state=K.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,u){switch(this.state){case K.EntityStart:return t.charCodeAt(u)===Z.NUM?(this.state=K.NumericStart,this.consumed+=1,this.stateNumericStart(t,u+1)):(this.state=K.NamedEntity,this.stateNamedEntity(t,u));case K.NumericStart:return this.stateNumericStart(t,u);case K.NumericDecimal:return this.stateNumericDecimal(t,u);case K.NumericHex:return this.stateNumericHex(t,u);case K.NamedEntity:return this.stateNamedEntity(t,u)}}stateNumericStart(t,u){return u>=t.length?-1:(t.charCodeAt(u)|Cc)===Z.LOWER_X?(this.state=K.NumericHex,this.consumed+=1,this.stateNumericHex(t,u+1)):(this.state=K.NumericDecimal,this.stateNumericDecimal(t,u))}addToNumericResult(t,u,s,n){if(u!==s){const r=s-u;this.result=this.result*Math.pow(n,r)+Number.parseInt(t.substr(u,r),n),this.consumed+=r}}stateNumericHex(t,u){const s=u;for(;u<t.length;){const n=t.charCodeAt(u);if(Lu(n)||Nc(n))u+=1;else return this.addToNumericResult(t,s,u,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(t,s,u,16),-1}stateNumericDecimal(t,u){const s=u;for(;u<t.length;){const n=t.charCodeAt(u);if(Lu(n))u+=1;else return this.addToNumericResult(t,s,u,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(t,s,u,10),-1}emitNumericEntity(t,u){var s;if(this.consumed<=u)return(s=this.errors)===null||s===void 0||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Z.SEMI)this.consumed+=1;else if(this.decodeMode===me.Strict)return 0;return this.emitCodePoint(Lc(this.result),this.consumed),this.errors&&(t!==Z.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,u){const{decodeTree:s}=this;let n=s[this.treeIndex],r=(n&Se.VALUE_LENGTH)>>14;for(;u<t.length;u++,this.excess++){const a=t.charCodeAt(u);if(this.treeIndex=_c(s,n,this.treeIndex+Math.max(1,r),a),this.treeIndex<0)return this.result===0||this.decodeMode===me.Attribute&&(r===0||Bc(a))?0:this.emitNotTerminatedNamedEntity();if(n=s[this.treeIndex],r=(n&Se.VALUE_LENGTH)>>14,r!==0){if(a===Z.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==me.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:u,decodeTree:s}=this,n=(s[u]&Se.VALUE_LENGTH)>>14;return this.emitNamedEntityData(u,n,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,u,s){const{decodeTree:n}=this;return this.emitCodePoint(u===1?n[t]&~Se.VALUE_LENGTH:n[t+1],s),u===3&&this.emitCodePoint(n[t+2],s),s}end(){var t;switch(this.state){case K.NamedEntity:return this.result!==0&&(this.decodeMode!==me.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case K.NumericDecimal:return this.emitNumericEntity(0,2);case K.NumericHex:return this.emitNumericEntity(0,3);case K.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case K.EntityStart:return 0}}}function _c(e,t,u,s){const n=(t&Se.BRANCH_LENGTH)>>7,r=t&Se.JUMP_TABLE;if(n===0)return r!==0&&s===r?u:-1;if(r){const c=s-r;return c<0||c>=n?-1:e[u+c]-1}let a=u,i=a+n-1;for(;a<=i;){const c=a+i>>>1,o=e[c];if(o<s)a=c+1;else if(o>s)i=c-1;else return e[c+n]}return-1}var I;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(I||(I={}));var x;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(x||(x={}));function ye(e){return e===I.Space||e===I.NewLine||e===I.Tab||e===I.FormFeed||e===I.CarriageReturn}function Mt(e){return e===I.Slash||e===I.Gt||ye(e)}function Uc(e){return e>=I.LowerA&&e<=I.LowerZ||e>=I.UpperA&&e<=I.UpperZ}var ge;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(ge||(ge={}));const z={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class qc{constructor({xmlMode:t=!1,decodeEntities:u=!0},s){this.cbs=s,this.state=x.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=x.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=u,this.entityDecoder=new Dc(t?Oc:kc,(n,r)=>this.emitCodePoint(n,r))}reset(){this.state=x.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=x.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===I.Lt||!this.decodeEntities&&this.fastForwardTo(I.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=x.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===I.Amp&&this.startEntity()}stateSpecialStartSequence(t){const u=this.sequenceIndex===this.currentSequence.length;if(!(u?Mt(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!u){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=x.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===I.Gt||ye(t)){const u=this.index-this.currentSequence.length;if(this.sectionStart<u){const s=this.index;this.index=u,this.cbs.ontext(this.sectionStart,u),this.index=s}this.isSpecial=!1,this.sectionStart=u+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===z.TitleEnd?this.decodeEntities&&t===I.Amp&&this.startEntity():this.fastForwardTo(I.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===I.Lt)}stateCDATASequence(t){t===z.Cdata[this.sequenceIndex]?++this.sequenceIndex===z.Cdata.length&&(this.state=x.InCommentLike,this.currentSequence=z.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=x.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===z.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=x.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!Mt(t):Uc(t)}startSpecial(t,u){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=u,this.state=x.SpecialStartSequence}stateBeforeTagName(t){if(t===I.ExclamationMark)this.state=x.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===I.Questionmark)this.state=x.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const u=t|32;this.sectionStart=this.index,this.xmlMode?this.state=x.InTagName:u===z.ScriptEnd[2]?this.state=x.BeforeSpecialS:u===z.TitleEnd[2]||u===z.XmpEnd[2]?this.state=x.BeforeSpecialT:this.state=x.InTagName}else t===I.Slash?this.state=x.BeforeClosingTagName:(this.state=x.Text,this.stateText(t))}stateInTagName(t){Mt(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=x.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){ye(t)||(t===I.Gt?this.state=x.Text:(this.state=this.isTagStartChar(t)?x.InClosingTagName:x.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===I.Gt||ye(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=x.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===I.Gt||this.fastForwardTo(I.Gt))&&(this.state=x.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===I.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=x.InSpecialTag,this.sequenceIndex=0):this.state=x.Text,this.sectionStart=this.index+1):t===I.Slash?this.state=x.InSelfClosingTag:ye(t)||(this.state=x.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===I.Gt?(this.cbs.onselfclosingtag(this.index),this.state=x.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ye(t)||(this.state=x.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===I.Eq||Mt(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=x.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===I.Eq?this.state=x.BeforeAttributeValue:t===I.Slash||t===I.Gt?(this.cbs.onattribend(ge.NoValue,this.sectionStart),this.sectionStart=-1,this.state=x.BeforeAttributeName,this.stateBeforeAttributeName(t)):ye(t)||(this.cbs.onattribend(ge.NoValue,this.sectionStart),this.state=x.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===I.DoubleQuote?(this.state=x.InAttributeValueDq,this.sectionStart=this.index+1):t===I.SingleQuote?(this.state=x.InAttributeValueSq,this.sectionStart=this.index+1):ye(t)||(this.sectionStart=this.index,this.state=x.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,u){t===u||!this.decodeEntities&&this.fastForwardTo(u)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u===I.DoubleQuote?ge.Double:ge.Single,this.index+1),this.state=x.BeforeAttributeName):this.decodeEntities&&t===I.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,I.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,I.SingleQuote)}stateInAttributeValueNoQuotes(t){ye(t)||t===I.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(ge.Unquoted,this.index),this.state=x.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===I.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===I.OpeningSquareBracket?(this.state=x.CDATASequence,this.sequenceIndex=0):this.state=t===I.Dash?x.BeforeComment:x.InDeclaration}stateInDeclaration(t){(t===I.Gt||this.fastForwardTo(I.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=x.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===I.Gt||this.fastForwardTo(I.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=x.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===I.Dash?(this.state=x.InCommentLike,this.currentSequence=z.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=x.InDeclaration}stateInSpecialComment(t){(t===I.Gt||this.fastForwardTo(I.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=x.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const u=t|32;u===z.ScriptEnd[3]?this.startSpecial(z.ScriptEnd,4):u===z.StyleEnd[3]?this.startSpecial(z.StyleEnd,4):(this.state=x.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){switch(t|32){case z.TitleEnd[3]:{this.startSpecial(z.TitleEnd,4);break}case z.TextareaEnd[3]:{this.startSpecial(z.TextareaEnd,4);break}case z.XmpEnd[3]:{this.startSpecial(z.XmpEnd,4);break}default:this.state=x.InTagName,this.stateInTagName(t)}}startEntity(){this.baseState=this.state,this.state=x.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?me.Strict:this.baseState===x.Text||this.baseState===x.InSpecialTag?me.Legacy:me.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===x.Text||this.state===x.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===x.InAttributeValueDq||this.state===x.InAttributeValueSq||this.state===x.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case x.Text:{this.stateText(t);break}case x.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case x.InSpecialTag:{this.stateInSpecialTag(t);break}case x.CDATASequence:{this.stateCDATASequence(t);break}case x.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case x.InAttributeName:{this.stateInAttributeName(t);break}case x.InCommentLike:{this.stateInCommentLike(t);break}case x.InSpecialComment:{this.stateInSpecialComment(t);break}case x.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case x.InTagName:{this.stateInTagName(t);break}case x.InClosingTagName:{this.stateInClosingTagName(t);break}case x.BeforeTagName:{this.stateBeforeTagName(t);break}case x.AfterAttributeName:{this.stateAfterAttributeName(t);break}case x.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case x.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case x.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case x.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case x.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case x.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case x.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case x.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case x.InDeclaration:{this.stateInDeclaration(t);break}case x.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case x.BeforeComment:{this.stateBeforeComment(t);break}case x.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case x.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===x.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===x.InCommentLike?this.currentSequence===z.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===x.InTagName||this.state===x.BeforeAttributeName||this.state===x.BeforeAttributeValue||this.state===x.AfterAttributeName||this.state===x.InAttributeName||this.state===x.InAttributeValueSq||this.state===x.InAttributeValueDq||this.state===x.InAttributeValueNq||this.state===x.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,u){this.baseState!==x.Text&&this.baseState!==x.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+u,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+u,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}}const Ye=new Set(["input","option","optgroup","select","button","datalist","textarea"]),P=new Set(["p"]),Fs=new Set(["thead","tbody"]),Ls=new Set(["dd","dt"]),Cs=new Set(["rt","rp"]),Xc=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",P],["h1",P],["h2",P],["h3",P],["h4",P],["h5",P],["h6",P],["select",Ye],["input",Ye],["output",Ye],["button",Ye],["datalist",Ye],["textarea",Ye],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Ls],["dt",Ls],["address",P],["article",P],["aside",P],["blockquote",P],["details",P],["div",P],["dl",P],["fieldset",P],["figcaption",P],["figure",P],["footer",P],["form",P],["header",P],["hr",P],["main",P],["nav",P],["ol",P],["pre",P],["section",P],["table",P],["ul",P],["rt",Cs],["rp",Cs],["tbody",Fs],["tfoot",Fs]]),Vc=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Ns=new Set(["math","svg"]),Ps=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Yc=/\s|\//;class Wc{constructor(t,u={}){var s,n,r,a,i,c;this.options=u,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(s=u.lowerCaseTags)!==null&&s!==void 0?s:this.htmlMode,this.lowerCaseAttributeNames=(n=u.lowerCaseAttributeNames)!==null&&n!==void 0?n:this.htmlMode,this.recognizeSelfClosing=(r=u.recognizeSelfClosing)!==null&&r!==void 0?r:!this.htmlMode,this.tokenizer=new((a=u.Tokenizer)!==null&&a!==void 0?a:qc)(this.options,this),this.foreignContext=[!this.htmlMode],(c=(i=this.cbs).onparserinit)===null||c===void 0||c.call(i,this)}ontext(t,u){var s,n;const r=this.getSlice(t,u);this.endIndex=u-1,(n=(s=this.cbs).ontext)===null||n===void 0||n.call(s,r),this.startIndex=u}ontextentity(t,u){var s,n;this.endIndex=u-1,(n=(s=this.cbs).ontext)===null||n===void 0||n.call(s,Os(t)),this.startIndex=u}isVoidElement(t){return this.htmlMode&&Vc.has(t)}onopentagname(t,u){this.endIndex=u;let s=this.getSlice(t,u);this.lowerCaseTagNames&&(s=s.toLowerCase()),this.emitOpenTag(s)}emitOpenTag(t){var u,s,n,r;this.openTagStart=this.startIndex,this.tagname=t;const a=this.htmlMode&&Xc.get(t);if(a)for(;this.stack.length>0&&a.has(this.stack[0]);){const i=this.stack.shift();(s=(u=this.cbs).onclosetag)===null||s===void 0||s.call(u,i,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(Ns.has(t)?this.foreignContext.unshift(!0):Ps.has(t)&&this.foreignContext.unshift(!1))),(r=(n=this.cbs).onopentagname)===null||r===void 0||r.call(n,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var u,s;this.startIndex=this.openTagStart,this.attribs&&((s=(u=this.cbs).onopentag)===null||s===void 0||s.call(u,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,u){var s,n,r,a,i,c,o,d;this.endIndex=u;let l=this.getSlice(t,u);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),this.htmlMode&&(Ns.has(l)||Ps.has(l))&&this.foreignContext.shift(),this.isVoidElement(l))this.htmlMode&&l==="br"&&((a=(r=this.cbs).onopentagname)===null||a===void 0||a.call(r,"br"),(c=(i=this.cbs).onopentag)===null||c===void 0||c.call(i,"br",{},!0),(d=(o=this.cbs).onclosetag)===null||d===void 0||d.call(o,"br",!1));else{const h=this.stack.indexOf(l);if(h!==-1)for(let b=0;b<=h;b++){const f=this.stack.shift();(n=(s=this.cbs).onclosetag)===null||n===void 0||n.call(s,f,b!==h)}else this.htmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=u+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var u,s;const n=this.tagname;this.endOpenTag(t),this.stack[0]===n&&((s=(u=this.cbs).onclosetag)===null||s===void 0||s.call(u,n,!t),this.stack.shift())}onattribname(t,u){this.startIndex=t;const s=this.getSlice(t,u);this.attribname=this.lowerCaseAttributeNames?s.toLowerCase():s}onattribdata(t,u){this.attribvalue+=this.getSlice(t,u)}onattribentity(t){this.attribvalue+=Os(t)}onattribend(t,u){var s,n;this.endIndex=u,(n=(s=this.cbs).onattribute)===null||n===void 0||n.call(s,this.attribname,this.attribvalue,t===ge.Double?'"':t===ge.Single?"'":t===ge.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const u=t.search(Yc);let s=u<0?t:t.substr(0,u);return this.lowerCaseTagNames&&(s=s.toLowerCase()),s}ondeclaration(t,u){this.endIndex=u;const s=this.getSlice(t,u);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(s);this.cbs.onprocessinginstruction(`!${n}`,`!${s}`)}this.startIndex=u+1}onprocessinginstruction(t,u){this.endIndex=u;const s=this.getSlice(t,u);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(s);this.cbs.onprocessinginstruction(`?${n}`,`?${s}`)}this.startIndex=u+1}oncomment(t,u,s){var n,r,a,i;this.endIndex=u,(r=(n=this.cbs).oncomment)===null||r===void 0||r.call(n,this.getSlice(t,u-s)),(i=(a=this.cbs).oncommentend)===null||i===void 0||i.call(a),this.startIndex=u+1}oncdata(t,u,s){var n,r,a,i,c,o,d,l,h,b;this.endIndex=u;const f=this.getSlice(t,u-s);!this.htmlMode||this.options.recognizeCDATA?((r=(n=this.cbs).oncdatastart)===null||r===void 0||r.call(n),(i=(a=this.cbs).ontext)===null||i===void 0||i.call(a,f),(o=(c=this.cbs).oncdataend)===null||o===void 0||o.call(c)):((l=(d=this.cbs).oncomment)===null||l===void 0||l.call(d,`[CDATA[${f}]]`),(b=(h=this.cbs).oncommentend)===null||b===void 0||b.call(h)),this.startIndex=u+1}onend(){var t,u;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let s=0;s<this.stack.length;s++)this.cbs.onclosetag(this.stack[s],!0)}(u=(t=this.cbs).onend)===null||u===void 0||u.call(t)}reset(){var t,u,s,n;(u=(t=this.cbs).onreset)===null||u===void 0||u.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(s=this.cbs).onparserinit)===null||n===void 0||n.call(s,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,u){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let s=this.buffers[0].slice(t-this.bufferOffset,u-this.bufferOffset);for(;u-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),s+=this.buffers[0].slice(0,u-this.bufferOffset);return s}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var u,s;if(this.ended){(s=(u=this.cbs).onerror)===null||s===void 0||s.call(u,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var u,s;if(this.ended){(s=(u=this.cbs).onerror)===null||s===void 0||s.call(u,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}}var C;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(C||(C={}));function Hc(e){return e.type===C.Tag||e.type===C.Script||e.type===C.Style}C.Root;C.Text;C.Directive;C.Comment;C.Script;C.Style;C.Tag;C.CDATA;C.Doctype;class zn{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Jn(this,t)}}class os extends zn{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class Cu extends os{constructor(){super(...arguments),this.type=C.Text}get nodeType(){return 3}}class Gn extends os{constructor(){super(...arguments),this.type=C.Comment}get nodeType(){return 8}}class Kn extends os{constructor(t,u){super(u),this.name=t,this.type=C.Directive}get nodeType(){return 1}}class ls extends zn{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class Qn extends ls{constructor(){super(...arguments),this.type=C.CDATA}get nodeType(){return 4}}class Nu extends ls{constructor(){super(...arguments),this.type=C.Root}get nodeType(){return 9}}class Zn extends ls{constructor(t,u,s=[],n=t==="script"?C.Script:t==="style"?C.Style:C.Tag){super(s),this.name=t,this.attribs=u,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var u,s;return{name:t,value:this.attribs[t],namespace:(u=this["x-attribsNamespace"])===null||u===void 0?void 0:u[t],prefix:(s=this["x-attribsPrefix"])===null||s===void 0?void 0:s[t]}})}}function zc(e){return Hc(e)}function Gc(e){return e.type===C.CDATA}function Kc(e){return e.type===C.Text}function Qc(e){return e.type===C.Comment}function Zc(e){return e.type===C.Directive}function Jc(e){return e.type===C.Root}function Jn(e,t=!1){let u;if(Kc(e))u=new Cu(e.data);else if(Qc(e))u=new Gn(e.data);else if(zc(e)){const s=t?yu(e.children):[],n=new Zn(e.name,{...e.attribs},s);s.forEach(r=>r.parent=n),e.namespace!=null&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...e["x-attribsPrefix"]}),u=n}else if(Gc(e)){const s=t?yu(e.children):[],n=new Qn(s);s.forEach(r=>r.parent=n),u=n}else if(Jc(e)){const s=t?yu(e.children):[],n=new Nu(s);s.forEach(r=>r.parent=n),e["x-mode"]&&(n["x-mode"]=e["x-mode"]),u=n}else if(Zc(e)){const s=new Kn(e.name,e.data);e["x-name"]!=null&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),u=s}else throw new Error(`Not implemented yet: ${e.type}`);return u.startIndex=e.startIndex,u.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(u.sourceCodeLocation=e.sourceCodeLocation),u}function yu(e){const t=e.map(u=>Jn(u,!0));for(let u=1;u<t.length;u++)t[u].prev=t[u-1],t[u-1].next=t[u];return t}const Bs={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class jc{constructor(t,u,s){this.dom=[],this.root=new Nu(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof u=="function"&&(s=u,u=Bs),typeof t=="object"&&(u=t,t=void 0),this.callback=t??null,this.options=u??Bs,this.elementCB=s??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new Nu(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;const t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,u){const s=this.options.xmlMode?C.Tag:void 0,n=new Zn(t,u,void 0,s);this.addNode(n),this.tagStack.push(n)}ontext(t){const{lastNode:u}=this;if(u&&u.type===C.Text)u.data+=t,this.options.withEndIndices&&(u.endIndex=this.parser.endIndex);else{const s=new Cu(t);this.addNode(s),this.lastNode=s}}oncomment(t){if(this.lastNode&&this.lastNode.type===C.Comment){this.lastNode.data+=t;return}const u=new Gn(t);this.addNode(u),this.lastNode=u}oncommentend(){this.lastNode=null}oncdatastart(){const t=new Cu(""),u=new Qn([t]);this.addNode(u),t.parent=u,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,u){const s=new Kn(t,u);this.addNode(s)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){const u=this.tagStack[this.tagStack.length-1],s=u.children[u.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),u.children.push(t),s&&(t.prev=s,s.next=t),t.parent=u,this.lastNode=null}}function eo(e,t){const u=new jc(void 0,t);return new Wc(u,t).end(e),u.root}const jn=e=>{let t="";return e.italic&&(t="italic "),e.bold&&(t+="bold "),`${t}${e.size}px '${e.font}',sans-serif`},Pu=(e,t)=>{ot(0);const u=e.lineTable.length;Pe.font=jn(t);const s=Pe.measureText(""),n={mode:"break",text:"",x:0,y:0,w:0,h:s.fontBoundingBoxAscent+s.fontBoundingBoxDescent,line:u,textFormat:t.toObject()};e.heightTable[u]=0,e.ascentTable[u]=0,e.widthTable[u]=0,e.lineTable.push(n),e.textTable.push(n)},to=e=>{const t=e.heightTable.length-1;for(let u=1;u<t;++u){if(e.heightTable[u]>0)continue;const n=e.lineTable[u];n&&(e.heightTable[u]=n.h=e.heightTable[u-1])}},er=e=>{let t=0;return e.leftMargin&&(t+=e.leftMargin),e.rightMargin&&(t+=e.rightMargin),t},uo=(e,t,u,s)=>{let n=u.lineTable.length-1;const r=s.width-er(t)-4;for(let a=0;a<e.length;++a){const i=s.textFormats?s.textFormats.shift():t,c=e[a],o={mode:"text",text:c,x:0,y:0,w:0,h:0,line:n,textFormat:i.toObject()};Pe.font=jn(i);const d=Pe.measureText(c||""),l=i.letterSpacing?d.width+i.letterSpacing:d.width,h=i.leading?d.fontBoundingBoxAscent+d.fontBoundingBoxDescent+i.leading:d.fontBoundingBoxAscent+d.fontBoundingBoxDescent;if(o.x=0,o.y=d.fontBoundingBoxAscent,o.w=l,o.h=h,ot(yt()+l),s.wordWrap&&yt()>r){ot(l),n++,o.line=n;const b={mode:"wrap",text:"",x:0,y:0,w:0,h:0,line:n,textFormat:i.toObject()};let f=1,p=!0;const $=/[0-9a-zA-Z?!;:.,?!。、;:〜]/g;for(;;){const g=u.textTable.length-f;if(0>=g){p=!1,f=0;break}const R=u.textTable[g];if(!R){p=!1,f=0;break}if(R.mode!=="text"){p=!1;break}if(R.text===" "){f--;break}if(!R.text.match($)){f--;break}f++}if(u.widthTable[n]=0,u.heightTable[n]=0,u.ascentTable[n]=0,f>0&&p){const g=u.textTable.length-f;u.textTable.splice(g,0,b),u.lineTable.push(b);const R=n-1;u.widthTable[R]=0,u.heightTable[R]=0,u.ascentTable[R]=0;for(let S=0;S<g;++S){const k=u.textTable[S];k&&k.line===R&&k.mode==="text"&&(u.widthTable[R]+=k.w,u.heightTable[R]=Math.max(u.heightTable[R],k.h),u.ascentTable[R]=Math.max(u.ascentTable[R],k.y))}ot(0);for(let S=g+1;S<u.textTable.length;++S){const k=u.textTable[S];k.line=n,ot(yt()+k.w)}}else u.textTable.push(b),u.lineTable.push(b)}u.widthTable[n]=yt(),u.heightTable[n]=Math.max(u.heightTable[n],h),u.ascentTable[n]=Math.max(u.ascentTable[n],o.y),u.textTable.push(o)}},so=e=>{const t=e.trim().split(";"),u=[];for(let s=0;s<t.length;++s){const n=t[s];if(!n)continue;const r=n.split(":"),a=r[0].trim(),i=r[1].trim();switch(a){case"font-size":u.push({name:"size",value:parseInt(i)});break;case"font-family":u.push({name:"face",value:i.replace(/'|"/g,"")});break;case"letter-spacing":u.push({name:"letterSpacing",value:parseInt(i)});break;case"margin-bottom":u.push({name:"leading",value:parseInt(i)});break;case"margin-left":u.push({name:"leftMargin",value:parseInt(i)});break;case"margin-right":u.push({name:"rightMargin",value:parseInt(i)});break;case"color":case"align":u.push({name:a,value:i});break;case"text-decoration":case"font-weight":case"font-style":u.push({name:i,value:!0});break}}return u},Bu=(e,t,u)=>{for(let s=0;s<e.length;++s){const n=e[s];switch(n.name){case"style":Bu(so(n.value),t,u);break;case"align":t.align=n.value;break;case"face":t.font=n.value;break;case"size":t.size=+n.value,u.subFontSize&&(t.size-=u.subFontSize,1>t.size&&(t.size=1));break;case"color":t.color=Qe(n.value);break;case"letterSpacing":t.letterSpacing=parseInt(n.value);break;case"leading":t.leading=parseInt(n.value);break;case"leftMargin":t.leftMargin=parseInt(n.value);break;case"rightMargin":t.rightMargin=parseInt(n.value);break;case"underline":t.underline=!0;break;case"bold":t.bold=!0;break;case"italic":t.italic=!0;break}}},Du=(e,t,u,s)=>{for(let n=0;n<e.children.length;++n){const r=e.children[n];if(r.nodeType===3){uo(r.nodeValue||"",t,u,s);continue}const a=t.clone();switch(r.name.toUpperCase()){case"DIV":case"P":Bu(r.attributes,a,s),s.multiline&&Pu(u,a),Du(r,a,u,s);continue;case"U":a.underline=!0;break;case"B":a.bold=!0;break;case"I":a.italic=!0;break;case"FONT":case"SPAN":Bu(r.attributes,a,s);break;case"BR":if(!s.multiline)continue;Pu(u,a);break}Du(r,a,u,s)}},no=(e,t,u)=>{const s=new Rc;if(!e)return s;const n=e.trim().replace(/\r?\n/g,"").replace(/\t/g,""),r=t.clone();return u.subFontSize&&u.subFontSize>0&&r.size&&(r.size-=u.subFontSize,1>r.size&&(r.size=1)),Pu(s,r),Du(eo(n),r,s,u),to(s),s},q=(e,t=0)=>(e.$textData||(e.$textData=no(e.htmlText,e.defaultTextFormat,{width:e.width,multiline:e.multiline,wordWrap:e.wordWrap,subFontSize:t,textFormats:e.$textFormats})),e.$textData),_=e=>{e.changed=!0;const t=e.parent;t&&!t.changed&&_(t)},_u=e=>{e.$textData=null,_(e),e.uniqueKey!==""&&O.has(e.uniqueKey)&&(O.removeById(e.uniqueKey),O.$removeIds.push(+e.uniqueKey))},ro=e=>{if(_(e),e.autoSize==="none"){e.xMin=e.bounds.xMin,e.yMin=e.bounds.yMin,e.xMax=e.bounds.xMax,e.yMax=e.bounds.yMax;return}const t=e.defaultTextFormat,u=e.textWidth+4+er(t);if(e.wordWrap)e.xMin=e.bounds.xMin,e.xMax=e.bounds.xMax;else switch(e.autoSize){case"left":e.xMax=u+e.xMin;break;case"center":e.xMax=u+e.xMin;break;case"right":e.xMax=e.bounds.xMax-(e.bounds.xMax-e.bounds.xMin-(u-e.bounds.xMin));break}e.yMax=e.textHeight+e.bounds.yMin+4},ao=e=>{let t=0;const u=q(e);for(let n=0;n<u.textTable.length;++n){const r=u.textTable[n];t=Math.max(t,r.textFormat.size||0)}let s=1;if(e.width&&e.textWidth)for(;t>s&&e.textWidth+4>e.width;)_u(e),q(e,s++);if(e.height&&e.textHeight)for(;t>s&&e.textHeight+4>e.height;)_u(e),q(e,s++);_(e)},Te=e=>{_u(e),q(e),e.autoSize==="none"&&e.autoFontSize&&ao(e),ro(e)},io=(e,t)=>{const u=q(e);if(2>u.textTable.length)return;let s=2,n=0;for(let h=1;h<u.textTable.length;++h){const b=u.textTable[h];if(!b)continue;let f=!1;if(b.mode==="text"&&(f=!0,s+=b.w),n>=t){n=h;break}b.mode==="break"&&(f=!0,s=2),f&&n++}const r=u.textTable[n];if(!r)return;e.$scrollX=e.$scrollY=0;const a=r.line;let i=0;for(let h=0;h<=a;++h)i+=u.heightTable[h];const c=Math.abs(e.yMax-e.yMin);let o=0;for(let h=a;h>-1;--h){const b=u.heightTable[h];if(c<o+b)break;o+=b}if(i>c){const h=(e.textHeight-c)/c;e.$scrollY=Math.max(0,Math.min((i-o)/h,c))}const d=Math.abs(e.xMax-e.xMin);let l=0;for(let h=n;h>0;--h){const b=u.textTable[h];if(b.mode==="text"){if(d<l+b.w)break;l+=b.w}}if(s>d){const h=(e.textWidth-d)/d;e.$scrollX=Math.max(0,Math.min((s-l)/h,d+.5))}_(e)},ae=()=>{const e=_t();e!==void 0&&clearTimeout(e),Hn(void 0)},co=window.devicePixelRatio,oo=e=>{const t=e.localToGlobal(new J),u=e.$textData;if(u){const n=u.textTable[e.focusIndex];if(n){for(let a=e.focusIndex-1;a>-1;--a){const i=u.textTable[a];if(!i||i.line!==n.line)break;t.x+=i.w}const r=n.mode==="break"?n.line-1:n.line;for(let a=0;a<r;++a)t.y+=u.heightTable[a]}}const s=T.rendererScale/co;ie.style.left=`${ze.x+t.x*s}px`,ie.style.top=`${ze.y+t.y*s}px`},le=e=>{e.focusVisible=!e.focusVisible,_(e),Hn(setTimeout(()=>le(e),500)),oo(e)},lo=(e,t)=>{e.willTrigger(t)&&e.dispatchEvent(new De(t)),ie.value="",e.focus?(setTimeout(()=>{ie.focus()},300),_t()===void 0&&(e.focusIndex===-1&&(e.focusIndex=1,e.selectIndex=-1),le(e))):(e.focusIndex=-1,e.selectIndex=-1,e.focusVisible=!1,ae(),ie.blur()),_(e)},ho=(e,t,u,s)=>e/s*u+t,fo=(e,t,u,s)=>(e/=s)*e*u+t,bo=(e,t,u,s)=>-(e/=s)*(e-2)*u+t,$o=(e,t,u,s)=>(e/=s/2)<1?e*e*u/2+t:-((e-=1)*(e-2)-1)*u/2+t,xo=(e,t,u,s)=>(e/=s)*e*e*u+t,mo=(e,t,u,s)=>(e/=s,(--e*e*e+1)*u+t),go=(e,t,u,s)=>(e/=s/2)<1?e*e*e*u/2+t:((e-=2)*e*e+2)*u/2+t,po=(e,t,u,s)=>(e/=s)*e*e*e*u+t,To=(e,t,u,s)=>(e/=s,(--e*e*e*e-1)*-u+t),Eo=(e,t,u,s)=>(e/=s/2)<1?e*e*e*e*u/2+t:((e-=2)*e*e*e-2)*-u/2+t,yo=(e,t,u,s)=>(e/=s)*e*e*e*e*u+t,Mo=(e,t,u,s)=>(e/=s,(--e*e*e*e*e+1)*u+t),wo=(e,t,u,s)=>(e/=s/2)<1?e*e*e*e*e*u/2+t:((e-=2)*e*e*e*e+2)*u/2+t,Ao=(e,t,u,s)=>-u*Math.cos(e/s*(Math.PI/2))+u+t,vo=(e,t,u,s)=>u*Math.sin(e/s*(Math.PI/2))+t,Io=(e,t,u,s)=>-u/2*(Math.cos(Math.PI*e/s)-1)+t,So=(e,t,u,s)=>u*Math.pow(2,10*(e/s-1))+t,Ro=(e,t,u,s)=>u*(-Math.pow(2,-10*e/s)+1)+t,ko=(e,t,u,s)=>(e/=s/2)<1?u/2*Math.pow(2,10*(e-1))+t:u/2*(-Math.pow(2,-10*(e-1))+2)+t,Oo=(e,t,u,s)=>(1-Math.sqrt(1-(e/=s)*e))*u+t,Fo=(e,t,u,s)=>(e/=s,Math.sqrt(1- --e*e)*u+t),Lo=(e,t,u,s)=>(e/=s*2)<1?(Math.sqrt(1-e*e)-1)/-2*u+t:(Math.sqrt(1-(e-=2)*e)+1)/2*u+t,Co=(e,t,u,s)=>(2.70158*(e/=s)*e*e-1.70158*e*e)*u+t,No=(e,t,u,s)=>(1+2.70158*Math.pow((e/=s)-1,3)+1.70158*Math.pow(e-1,2))*u+t,Po=(e,t,u,s)=>{let n=1.70158;return(e/=s/2)<1?e*e*(((n*=1.525)+1)*e-n)*u/2+t:((e-=2)*e*(((n*=1.525)+1)*e+n)+2)*u/2+t},Bo=(e,t,u,s)=>(e/=s)===0?t:e===1?u+t:-Math.pow(2,(e*=10)-10)*Math.sin((e-10.75)*(2*Math.PI/3))*u+t,Do=(e,t,u,s)=>(e/=s)===0?t:e===1?u+t:(Math.pow(2,-10*e)*Math.sin((e*10-.75)*(2*Math.PI/3))+1)*u+t,_o=(e,t,u,s)=>(e/=s)===0?t:e===1?u+t:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5)))/2*u+t:(Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2+1)*u+t,Uo=(e,t,u,s)=>(e/=s)<1/2.75?7.5625*e*e*u+t:e<2/2.75?(7.5625*(e-=1.5/2.75)*e+.75)*u+t:e<2.5/2.75?(7.5625*(e-=2.25/2.75)*e+.9375)*u+t:(7.5625*(e-=2.625/2.75)*e+.984375)*u+t,qo=(e,t,u,s)=>u-_e.outBounce(s-e,0,u,s)+t,Xo=(e,t,u,s)=>e<s/2?_e.inBounce(e*2,t,u/2,s):_e.outBounce(e*2-s,t+u/2,u/2,s);class _e{static linear(t,u,s,n){return ho(t,u,s,n)}static inQuad(t,u,s,n){return fo(t,u,s,n)}static outQuad(t,u,s,n){return bo(t,u,s,n)}static inOutQuad(t,u,s,n){return $o(t,u,s,n)}static inCubic(t,u,s,n){return xo(t,u,s,n)}static outCubic(t,u,s,n){return mo(t,u,s,n)}static inOutCubic(t,u,s,n){return go(t,u,s,n)}static inQuart(t,u,s,n){return po(t,u,s,n)}static outQuart(t,u,s,n){return To(t,u,s,n)}static inOutQuart(t,u,s,n){return Eo(t,u,s,n)}static inQuint(t,u,s,n){return yo(t,u,s,n)}static outQuint(t,u,s,n){return Mo(t,u,s,n)}static inOutQuint(t,u,s,n){return wo(t,u,s,n)}static inSine(t,u,s,n){return Ao(t,u,s,n)}static outSine(t,u,s,n){return vo(t,u,s,n)}static inOutSine(t,u,s,n){return Io(t,u,s,n)}static inExpo(t,u,s,n){return So(t,u,s,n)}static outExpo(t,u,s,n){return Ro(t,u,s,n)}static inOutExpo(t,u,s,n){return ko(t,u,s,n)}static inCirc(t,u,s,n){return Oo(t,u,s,n)}static outCirc(t,u,s,n){return Fo(t,u,s,n)}static inOutCirc(t,u,s,n){return Lo(t,u,s,n)}static inBack(t,u,s,n){return Co(t,u,s,n)}static outBack(t,u,s,n){return No(t,u,s,n)}static inOutBack(t,u,s,n){return Po(t,u,s,n)}static inElastic(t,u,s,n){return Bo(t,u,s,n)}static outElastic(t,u,s,n){return Do(t,u,s,n)}static inOutElastic(t,u,s,n){return _o(t,u,s,n)}static outBounce(t,u,s,n){return Uo(t,u,s,n)}static inBounce(t,u,s,n){return qo(t,u,s,n)}static inOutBounce(t,u,s,n){return Xo(t,u,s,n)}}const Vo=e=>{cancelAnimationFrame(e.$timerId),e.hasEventListener(xe.STOP)&&e.dispatchEvent(new xe(xe.STOP)),e.entries=null,e.stopFlag=!0},tr=e=>{const t=[];for(const[u,s]of Object.entries(e))t.push({name:u,value:typeof s=="number"?s:tr(s)});return t},ur=(e,t,u,s,n)=>{for(let r=0;r<n.length;++r){const a=n[r];if(!a)continue;const i=a.name;if(!(i in t)||!(i in s))continue;if(typeof a.value!="number"){ur(e,t[i],u[i],s[i],a.value);continue}const c=u[i];e.duration>e.currentTime?t[i]=e.ease(e.currentTime,c,s[i]-c,e.duration):t[i]=s[i]}},sr=(e,t)=>e.stopFlag||!e.entries?-1:(e.currentTime=(t-e.startTime)/1e3,ur(e,e.target,e.from,e.to,e.entries),e.hasEventListener(xe.UPDATE)&&e.dispatchEvent(new xe(xe.UPDATE)),e.currentTime>=e.duration?(e.hasEventListener(xe.COMPLETE)&&e.dispatchEvent(new xe(xe.COMPLETE)),e.nextJob&&e.nextJob.start(),-1):requestAnimationFrame(u=>{sr(e,u)})),Ds=e=>{e.stopFlag||(e.entries=tr(e.from),e.entries&&(e.startTime=performance.now(),e.$timerId=sr(e,e.startTime)))},Yo=e=>{cancelAnimationFrame(e.$timerId),e.stopFlag=!1,e.delay?setTimeout(()=>{Ds(e)},e.delay*1e3):Ds(e)};class Wo extends je{target;entries;startTime;stopFlag;$timerId;delay;duration;ease;from;to;currentTime;nextJob;constructor(t,u,s,n=0,r=1,a=null){super(),this.target=t,this.from=u,this.to=s,this.delay=n,this.duration=r,this.ease=a||_e.linear,this.currentTime=0,this.nextJob=null,this.entries=null,this.startTime=0,this.stopFlag=!1,this.$timerId=-1}chain(t){return this.nextJob=t,t}start(){Yo(this)}stop(){Vo(this)}}class hs{static add(t,u,s,n=0,r=1,a=null){return new Wo(t,u,s,n,r,a)}}const Ho=(e,t)=>{if(!e.scrollEnabled||e.autoSize!=="none"||e.yScrollShape.hasLocalVariable("job"))return;const u=e.width;if(t=ht(t,0,u,0),e.scrollX!==t){if(e.textWidth>u){_(e);const s=e.xScrollShape;s.width=u*u/e.textWidth;const n=e.parent;if(n){s.hasLocalVariable("job")&&s.getLocalVariable("job").stop(),s.alpha=.9,s.x=e.x+1+(u-1-s.width)/(u-1)*(t-1),s.y=e.y+e.height-s.height-.5,n.addChildAt(s,n.getChildIndex(e)+1);const r=hs.add(s,{alpha:.9},{alpha:0},.5,.2,_e.outQuad);r.addEventListener(m.COMPLETE,a=>{const i=a.target.target;i.deleteLocalVariable("job"),i.parent&&i.parent.removeChild(i)}),r.start(),s.setLocalVariable("job",r)}e.$scrollX=t}e.willTrigger(m.SCROLL)&&e.dispatchEvent(new m(m.SCROLL,!0))}},zo=(e,t)=>{if(!e.scrollEnabled||e.autoSize!=="none"||!e.multiline&&!e.wordWrap||e.xScrollShape.hasLocalVariable("job"))return;const u=e.height;if(t=ht(t,0,u,0),e.scrollY!==t){if(e.textHeight>u){_(e);const s=e.yScrollShape;s.height=u*u/e.textHeight;const n=e.parent;if(n){s.hasLocalVariable("job")&&s.getLocalVariable("job").stop(),s.alpha=.9,s.x=e.x+e.width-s.width-.5,s.y=e.y+.5+(u-1-s.height)/(u-1)*(t-1),n.addChildAt(s,n.getChildIndex(e)+1);const r=hs.add(s,{alpha:.9},{alpha:0},.5,.2,_e.outQuad);r.addEventListener(m.COMPLETE,a=>{const i=a.target.target;i.deleteLocalVariable("job"),i.parent&&i.parent.removeChild(i)}),r.start(),s.setLocalVariable("job",r),e.$scrollY=t}}e.willTrigger(m.SCROLL)&&e.dispatchEvent(new m(m.SCROLL,!0))}},Go=e=>{let t="";const u=q(e);for(let s=1;s<u.textTable.length;++s){const n=u.textTable[s];if(n)switch(n.mode){case"text":t+=n.text;break;case"break":t+="\r";break;default:continue}}return t},Ko=(e,t)=>{let u="";const s=q(e);for(let n=1;n<s.textTable.length;n++){const r=s.textTable[n];if(r){if(r.line>t)break;r.line===t&&r.mode==="text"&&(u+=r.text)}}return u},Qo=(e,t,u,s)=>{if(0>u||u>s)return;const n=e.text,r=u?n.slice(0,u):"";e.text=r+t+n.slice(s,n.length)},Zo=async e=>{if(e.focusIndex===-1||e.selectIndex===-1)return;let t="";const u=Math.min(e.focusIndex,e.selectIndex),s=Math.max(e.focusIndex,e.selectIndex)+1,n=q(e);for(let r=u;r<s;++r){const a=n.textTable[r];if(a)switch(a.mode){case"text":t+=a.text;break;case"break":t+=`
|
|
659
|
+
`);for(let s=0;s<u.length;++s){const n=u[s].split(":");t.push({name:n[0].trim(),value:n[1].trim()})}}return t},Rt=new WeakMap,ke=new WeakMap,fe=new Set,ui=new WeakMap,Iu=document.createElement("canvas");Iu.width=Iu.height=1;const Me=Iu.getContext("2d"),Su=e=>Me?(Me.fillStyle=e,+`0x${Me.fillStyle.slice(1)}`):0,de=(e,t,u,s=null)=>{const n=+e;return isNaN(n)&&s!==null?s:Math.min(Math.max(t,isNaN(n)?0:n),u)},Ru=[],ku=[],Le=new Map;let pn=null;const Tn=e=>{pn=e},si=()=>pn,N=e=>{if(e.$matrix)return e.$matrix.rawData;const t=Ht(e);if(!t||!t.matrix)return null;if(!t.typedMatrix){const u=t.matrix;t.typedMatrix=vu(u[0],u[1],u[2],u[3],u[4],u[5])}return t.typedMatrix},ni=e=>{const t=N(e);let u=t||bt,s=e.parent;for(;s;){const n=N(s);n&&(u=A.multiply(n,u)),s=s.parent}return new A(u[0],u[1],u[2],u[3],u[4],u[5])},qe=e=>{if(e.$colorTransform)return e.$colorTransform.rawData;const t=Ht(e);if(!t||!t.colorTransform)return null;if(!t.typedColorTransform){const u=t.colorTransform;t.typedColorTransform=Za(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7])}return t.typedColorTransform},ri=e=>{if(e.$alpha!==null)return e.$alpha;if(e.$colorTransform){const u=e.$colorTransform.rawData;return u[3]+u[7]/255}const t=qe(e);return t?t[3]+t[7]/255:1},ai=(e,t)=>{if(t=de(t,0,1),e.$alpha===t)return;e.$alpha=t;let u=e.$colorTransform;if(!u){const s=qe(e);u=s?new L(...s):new L}u.alphaMultiplier=t,u.alphaOffset=0,e.$colorTransform=u,V(e)};class Ae{$updated;constructor(){this.$updated=!0}canApplyFilter(){return!0}getBounds(t){return t}}const v=(e,t,u,s=null)=>{const n=+e;return isNaN(n)&&s!==null?s:Math.min(Math.max(t,isNaN(n)?0:n),u)},Ou=document.createElement("canvas");Ou.width=Ou.height=1;const Tu=Ou.getContext("2d"),Oe=e=>Tu?(Tu.fillStyle=e,+`0x${Tu.fillStyle.slice(1)}`):0,ts=Math.PI/180,us=e=>{switch(e){case"full":return 0;case"inner":return 1;case"outer":return 2;default:return 0}},En=e=>e.strength>0&&e.distance!==0&&e.blurX>0&&e.blurY>0&&e.quality>0,yn=e=>e.blurX>0&&e.blurY>0&&e.quality>0,ii=[.5,1.05,1.4,1.55,1.75,1.9,2,2.15,2.2,2.3,2.5,3,3,3.5,3.5],et=(e,t)=>{if(!yn(e))return t;const u=ii[e.quality-1],s=Math.round(e.blurX*u),n=Math.round(e.blurY*u);return t[0]-=s,t[2]+=s,t[1]-=n,t[3]+=n,t},ci=(e,t)=>{if(!En(e)||e.type==="inner")return t;et(e,t);const u=e.angle*ts,s=e.distance,n=Math.abs(Math.cos(u)*s),r=Math.abs(Math.sin(u)*s);return t[0]-=n,t[2]+=n,t[1]-=r,t[3]+=r,t},oi=e=>[e.$filterType,e.distance,e.angle,e.highlightColor,e.highlightAlpha,e.shadowColor,e.shadowAlpha,e.blurX,e.blurY,e.strength,e.quality,e.type,e.knockout],li=e=>new Float32Array([e.$filterType,e.distance,e.angle,e.highlightColor,e.highlightAlpha,e.shadowColor,e.shadowAlpha,e.blurX,e.blurY,e.strength,e.quality,us(e.type),+e.knockout]);class zt extends Ae{$filterType=0;_$blurX;_$blurY;_$quality;_$distance;_$angle;_$highlightColor;_$highlightAlpha;_$shadowColor;_$shadowAlpha;_$strength;_$type;_$knockout;constructor(t=4,u=45,s=16777215,n=1,r=0,a=1,i=4,c=4,o=1,d=1,l="inner",h=!1){super(),this._$distance=4,this._$angle=45,this._$highlightColor=16777215,this._$highlightAlpha=1,this._$blurX=4,this._$blurY=4,this._$quality=1,this._$shadowColor=0,this._$shadowAlpha=1,this._$strength=1,this._$type="inner",this._$knockout=!1,this.blurX=i,this.blurY=c,this.quality=d,this.distance=t,this.angle=u,this.highlightColor=s,this.highlightAlpha=n,this.shadowColor=r,this.shadowAlpha=a,this.strength=o,this.type=l,this.knockout=h}get angle(){return this._$angle}set angle(t){t=v(t%360,-360,360,45),t!==this._$angle&&(this._$angle=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get distance(){return this._$distance}set distance(t){t=v(+t,-255,255,4),t!==this._$distance&&(this._$distance=t,this.$updated=!0)}get highlightAlpha(){return this._$highlightAlpha}set highlightAlpha(t){t=v(+t,0,1,0),t!==this._$highlightAlpha&&(this._$highlightAlpha=t,this.$updated=!0)}get highlightColor(){return this._$highlightColor}set highlightColor(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,16777215),t!==this._$highlightColor&&(this._$highlightColor=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get shadowAlpha(){return this._$shadowAlpha}set shadowAlpha(t){t=v(t,0,1,0),t!==this._$shadowAlpha&&(this._$shadowAlpha=t,this.$updated=!0)}get shadowColor(){return this._$shadowColor}set shadowColor(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,0),t!==this._$shadowColor&&(this._$shadowColor=t,this.$updated=!0)}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}get type(){return this._$type}set type(t){if(t=`${t}`.toLowerCase(),t!==this._$type){switch(t){case"inner":case"outer":case"full":break;default:return}this._$type=t,this.$updated=!0}}clone(){return new zt(this._$distance,this._$angle,this._$highlightColor,this._$highlightAlpha,this._$shadowColor,this._$shadowAlpha,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$type,this._$knockout)}toArray(){return oi(this)}toNumberArray(){return li(this)}canApplyFilter(){return En(this)}getBounds(t){return ci(this,t)}}const hi=e=>[e.$filterType,e.blurX,e.blurY,e.quality],di=e=>new Float32Array([e.$filterType,e.blurX,e.blurY,e.quality]);class Gt extends Ae{$filterType=1;_$blurX;_$blurY;_$quality;constructor(t=4,u=4,s=1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this.blurX=t,this.blurY=u,this.quality=s}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}clone(){return new Gt(this._$blurX,this._$blurY,this._$quality)}toArray(){return hi(this)}toNumberArray(){return di(this)}canApplyFilter(){return yn(this)}getBounds(t){return et(this,t)}}const fi=e=>[e.$filterType,e.matrix],bi=e=>new Float32Array([e.$filterType,...e.matrix]);class Kt extends Ae{$filterType=2;_$matrix;constructor(t=null){super(),this._$matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],t&&t.length===20&&(this.matrix=t)}get matrix(){return this._$matrix}set matrix(t){if(this._$matrix!==t&&!(!Array.isArray(t)||t.length!==20)){for(let u=0;u<20;u++)if(t[u]!==this._$matrix[u]){this.$updated=!0;break}this.$updated&&(this._$matrix=t)}}clone(){return new Kt(this._$matrix)}toArray(){return fi(this)}toNumberArray(){return bi(this)}}const $i=e=>e.matrix!==null&&e.matrixX*e.matrixY===e.matrix.length,xi=e=>[e.$filterType,e.matrixX,e.matrixY,e.matrix,e.divisor,e.bias,e.preserveAlpha,e.clamp,e.color,e.alpha],mi=e=>{const t=e.matrix||[];return new Float32Array([e.$filterType,e.matrixX,e.matrixY,...t,e.divisor,e.bias,+e.preserveAlpha,+e.clamp,e.color,e.alpha])};class Qt extends Ae{$filterType=3;_$matrixX;_$matrixY;_$matrix;_$divisor;_$bias;_$preserveAlpha;_$clamp;_$color;_$alpha;constructor(t=0,u=0,s=null,n=1,r=0,a=!0,i=!0,c=0,o=0){super(),this._$matrixX=0,this._$matrixY=0,this._$matrix=null,this._$divisor=1,this._$bias=0,this._$preserveAlpha=!0,this._$clamp=!0,this._$color=0,this._$alpha=0,this.matrixX=t,this.matrixY=u,this.matrix=s,this.divisor=n,this.bias=r,this.preserveAlpha=a,this.clamp=i,this.color=c,this.alpha=o}get alpha(){return this._$alpha}set alpha(t){t=v(+t,0,1,0),t!==this._$alpha&&(this._$alpha=t,this.$updated=!0)}get bias(){return this._$bias}set bias(t){t|=0,t!==this._$bias&&(this._$bias=t,this.$updated=!0)}get clamp(){return this._$clamp}set clamp(t){t=!!t,t!==this._$clamp&&(this._$clamp=t,this.$updated=!0)}get color(){return this._$color}set color(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,0),t!==this._$color&&(this._$color=t,this.$updated=!0)}get divisor(){return this._$divisor}set divisor(t){t|=0,t!==this._$divisor&&(this._$divisor=t,this.$updated=!0)}get matrix(){return this._$matrix}set matrix(t){this._$matrix!==t&&(this._$matrix=t,this.$updated=!0)}get matrixX(){return this._$matrixX}set matrixX(t){t=v(t|0,0,15,0)|0,t!==this._$matrixX&&(this._$matrixX=t,this.$updated=!0)}get matrixY(){return this._$matrixY}set matrixY(t){t=v(t|0,0,15,0)|0,t!==this._$matrixY&&(this._$matrixY=t,this.$updated=!0)}get preserveAlpha(){return this._$preserveAlpha}set preserveAlpha(t){t=!!t,t!==this._$preserveAlpha&&(this._$preserveAlpha=t,this.$updated=!0)}clone(){return new Qt(this._$matrixX,this._$matrixY,this._$matrix?this._$matrix.slice():null,this._$divisor,this._$bias,this._$preserveAlpha,this._$clamp,this._$color,this._$alpha)}toArray(){return xi(this)}toNumberArray(){return mi(this)}canApplyFilter(){return $i(this)}}const gi=e=>e.bitmapBuffer!==null&&e.componentX>0&&e.componentY>0&&e.scaleX!==0&&e.scaleY!==0,pi=e=>[e.$filterType,e.bitmapBuffer?Array.from(e.bitmapBuffer):null,e.bitmapWidth,e.bitmapHeight,e.mapPointX,e.mapPointY,e.componentX,e.componentY,e.scaleX,e.scaleY,e.mode,e.color,e.alpha],Ti=e=>{let t=2;switch(e.mode){case"clamp":t=0;break;case"color":t=1;break;case"wrap":t=2;break;case"ignore":t=3;break;default:t=2;break}const u=e.bitmapBuffer||new Uint8Array,s=[e.$filterType,u.length];for(let n=0;n<u.length;n+=4096)s.push(...u.subarray(n,n+4096));return s.push(e.bitmapWidth,e.bitmapHeight,e.mapPointX,e.mapPointY,e.componentX,e.componentY,e.scaleX,e.scaleY,t,e.color,e.alpha),new Float32Array(s)};class Zt extends Ae{$filterType=4;_$bitmapBuffer;_$bitmapWidth;_$bitmapHeight;_$mapPointX;_$mapPointY;_$componentX;_$componentY;_$scaleX;_$scaleY;_$mode;_$color;_$alpha;constructor(t=null,u=0,s=0,n=0,r=0,a=0,i=0,c=0,o=0,d="wrap",l=0,h=0){super(),this._$bitmapBuffer=null,this._$bitmapWidth=0,this._$bitmapHeight=0,this._$mapPointX=0,this._$mapPointY=0,this._$componentX=0,this._$componentY=0,this._$scaleX=0,this._$scaleY=0,this._$mode="wrap",this._$color=0,this._$alpha=0,this.bitmapBuffer=t,this.bitmapWidth=u,this.bitmapHeight=s,this.mapPointX=n,this.mapPointY=r,this.componentX=a,this.componentY=i,this.scaleX=c,this.scaleY=o,this.mode=d,this.color=l,this.alpha=h}get alpha(){return this._$alpha}set alpha(t){t=v(+t,0,1,0),t!==this._$alpha&&(this._$alpha=t,this.$updated=!0)}get color(){return this._$color}set color(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,0),t!==this._$color&&(this._$color=t,this.$updated=!0)}get componentX(){return this._$componentX}set componentX(t){t!==this._$componentX&&(this._$componentX=t,this.$updated=!0)}get componentY(){return this._$componentY}set componentY(t){t!==this._$componentY&&(this._$componentY=t,this.$updated=!0)}get bitmapBuffer(){return this._$bitmapBuffer}set bitmapBuffer(t){t!==this._$bitmapBuffer&&(this._$bitmapBuffer=t,this.$updated=!0)}get bitmapWidth(){return this._$bitmapWidth}set bitmapWidth(t){t!==this._$bitmapWidth&&(this._$bitmapWidth=t,this.$updated=!0)}get bitmapHeight(){return this._$bitmapHeight}set bitmapHeight(t){t!==this._$bitmapHeight&&(this._$bitmapHeight=t,this.$updated=!0)}get mapPointX(){return this._$mapPointX}set mapPointX(t){t!==this._$mapPointX&&(this._$mapPointX=t,this.$updated=!0)}get mapPointY(){return this._$mapPointY}set mapPointY(t){t!==this._$mapPointY&&(this._$mapPointY=t,this.$updated=!0)}get mode(){return this._$mode}set mode(t){t!==this._$mode&&(this._$mode=t,this.$updated=!0)}get scaleX(){return this._$scaleX}set scaleX(t){t=v(+t,-65535,65535,0),t!==this._$scaleX&&(this._$scaleX=t,this.$updated=!0)}get scaleY(){return this._$scaleY}set scaleY(t){t=v(+t,-65535,65535,0),t!==this._$scaleY&&(this._$scaleY=t,this.$updated=!0)}clone(){return new Zt(this._$bitmapBuffer?this._$bitmapBuffer.slice():null,this._$bitmapWidth,this._$bitmapHeight,this._$mapPointX,this._$mapPointX,this._$componentX,this._$componentY,this._$scaleX,this._$scaleY,this._$mode,this._$color,this._$alpha)}toArray(){return pi(this)}toNumberArray(){return Ti(this)}canApplyFilter(){return gi(this)}}const Ei=e=>[e.$filterType,e.distance,e.angle,e.color,e.alpha,e.blurX,e.blurY,e.strength,e.quality,e.inner,e.knockout,e.hideObject],yi=e=>new Float32Array([e.$filterType,e.distance,e.angle,e.color,e.alpha,e.blurX,e.blurY,e.strength,e.quality,+e.inner,+e.knockout,+e.hideObject]),Mn=e=>e.alpha>0&&e.strength!==0&&e.blurX>0&&e.blurY>0&&e.quality>0,Mi=(e,t)=>{if(!Mn(e)||e.inner)return t;et(e,t);const u=e.angle*ts,s=e.distance,n=Math.cos(u)*s,r=Math.sin(u)*s;return t[0]=Math.min(t[0],n),n>0&&(t[2]+=n),t[1]=Math.min(t[1],r),r>0&&(t[3]+=r),t};class Jt extends Ae{$filterType=5;_$blurX;_$blurY;_$quality;_$distance;_$angle;_$color;_$alpha;_$strength;_$inner;_$knockout;_$hideObject;constructor(t=4,u=45,s=0,n=1,r=4,a=4,i=1,c=1,o=!1,d=!1,l=!1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this._$distance=4,this._$angle=45,this._$color=0,this._$alpha=1,this._$strength=1,this._$inner=!1,this._$knockout=!1,this._$hideObject=!1,this.blurX=r,this.blurY=a,this.quality=c,this.distance=t,this.angle=u,this.color=s,this.alpha=n,this.strength=i,this.inner=o,this.knockout=d,this.hideObject=l}get alpha(){return this._$alpha}set alpha(t){t=v(+t,0,1,0),t!==this._$alpha&&(this._$alpha=t,this.$updated=!0)}get angle(){return this._$angle}set angle(t){t=v(t%360,-360,360,45),t!==this._$angle&&(this._$angle=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get color(){return this._$color}set color(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,0),t!==this._$color&&(this._$color=t,this.$updated=!0)}get distance(){return this._$distance}set distance(t){t=v(+t,-255,255,4),t!==this._$distance&&(this._$distance=t,this.$updated=!0)}get hideObject(){return this._$hideObject}set hideObject(t){t=!!t,t!==this._$hideObject&&(this._$hideObject=t,this.$updated=!0)}get inner(){return this._$inner}set inner(t){t=!!t,t!==this._$inner&&(this._$inner=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}clone(){return new Jt(this._$distance,this._$angle,this._$color,this._$alpha,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$inner,this._$knockout,this._$hideObject)}toArray(){return Ei(this)}toNumberArray(){return yi(this)}canApplyFilter(){return Mn(this)}getBounds(t){return Mi(this,t)}}const wi=e=>[e.$filterType,e.color,e.alpha,e.blurX,e.blurY,e.strength,e.quality,e.inner,e.knockout],Ai=e=>new Float32Array([e.$filterType,e.color,e.alpha,e.blurX,e.blurY,e.strength,e.quality,+e.inner,+e.knockout]),wn=e=>e.alpha>0&&e.strength!==0&&e.blurX>0&&e.blurY>0&&e.quality>0,vi=(e,t)=>!wn(e)||e.inner?t:et(e,t);class jt extends Ae{$filterType=6;_$blurX;_$blurY;_$quality;_$color;_$alpha;_$strength;_$inner;_$knockout;constructor(t=0,u=1,s=4,n=4,r=1,a=1,i=!1,c=!1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this._$color=0,this._$alpha=1,this._$strength=1,this._$inner=!1,this._$knockout=!1,this.blurX=s,this.blurY=n,this.quality=a,this.color=t,this.alpha=u,this.strength=r,this.inner=i,this.knockout=c}get alpha(){return this._$alpha}set alpha(t){t=v(+t,0,1,0),t!==this._$alpha&&(this._$alpha=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get color(){return this._$color}set color(t){t=v(typeof t=="string"?Oe(t):t,0,16777215,4),t!==this._$color&&(this._$color=t,this.$updated=!0)}get inner(){return this._$inner}set inner(t){t=!!t,t!==this._$inner&&(this._$inner=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}clone(){return new jt(this._$color,this._$alpha,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$inner,this._$knockout)}toArray(){return wi(this)}toNumberArray(){return Ai(this)}canApplyFilter(){return wn(this)}getBounds(t){return vi(this,t)}}const An=e=>e.strength>0&&e.distance>0&&e.alphas!==null&&e.ratios!==null&&e.colors!==null&&e.blurX>0&&e.blurY>0&&e.quality>0,Ii=e=>[e.$filterType,e.distance,e.angle,e.colors,e.alphas,e.ratios,e.blurX,e.blurY,e.strength,e.quality,e.type,e.knockout],Si=e=>{const t=e.colors?e.colors:[],u=e.alphas?e.alphas:[],s=e.ratios?e.ratios:[];return new Float32Array([e.$filterType,e.distance,e.angle,t.length,...t,u.length,...u,s.length,...s,e.blurX,e.blurY,e.strength,e.quality,us(e.type),+e.knockout])},Ri=(e,t)=>{if(!An(e)||e.type==="inner")return t;et(e,t);const u=e.angle*ts,s=e.distance,n=Math.abs(Math.cos(u)*s),r=Math.abs(Math.sin(u)*s);return t[0]-=n,t[2]+=n,t[1]-=r,t[3]+=r,t};class eu extends Ae{$filterType=7;_$blurX;_$blurY;_$quality;_$distance;_$angle;_$colors;_$alphas;_$ratios;_$strength;_$type;_$knockout;constructor(t=4,u=45,s=null,n=null,r=null,a=4,i=4,c=1,o=1,d="inner",l=!1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this._$distance=4,this._$angle=45,this._$colors=null,this._$alphas=null,this._$ratios=null,this._$strength=1,this._$type="inner",this._$knockout=!1,this.blurX=a,this.blurY=i,this.quality=o,this.distance=t,this.angle=u,this.colors=s,this.alphas=n,this.ratios=r,this.strength=c,this.type=d,this.knockout=l}get alphas(){return this._$alphas}set alphas(t){if(t!==this._$alphas){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(+s,0,1,0)}this._$alphas=t,this.$updated=!0}}get angle(){return this._$angle}set angle(t){t=v(t%360,-360,360,45),t!==this._$angle&&(this._$angle=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get colors(){return this._$colors}set colors(t){if(this._$colors!==t){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(typeof s=="string"?Oe(s):s,0,16777215,0)}this._$colors=t,this.$updated=!0}}get distance(){return this._$distance}set distance(t){t=v(+t,-255,255,4),t!==this._$distance&&(this._$distance=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get ratios(){return this._$ratios}set ratios(t){if(this._$ratios!==t){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(+s,0,255,0)}this._$ratios=t,this.$updated=!0}}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}get type(){return this._$type}set type(t){t!==this._$type&&(this._$type=t,this.$updated=!0)}clone(){return new eu(this._$distance,this._$angle,this._$colors?this._$colors.slice():null,this._$alphas?this._$alphas.slice():null,this._$ratios?this._$ratios.slice():null,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$type,this._$knockout)}toArray(){return Ii(this)}toNumberArray(){return Si(this)}canApplyFilter(){return An(this)}getBounds(t){return Ri(this,t)}}const ki=e=>[e.$filterType,e.distance,e.angle,e.colors,e.alphas,e.ratios,e.blurX,e.blurY,e.strength,e.quality,e.type,e.knockout],vn=e=>e.strength>0&&e.distance>0&&e.alphas!==null&&e.ratios!==null&&e.colors!==null&&e.blurX>0&&e.blurY>0&&e.quality>0,Oi=e=>{const t=e.colors?e.colors:[],u=e.alphas?e.alphas:[],s=e.ratios?e.ratios:[];return new Float32Array([e.$filterType,e.distance,e.angle,t.length,...t,u.length,...u,s.length,...s,e.blurX,e.blurY,e.strength,e.quality,us(e.type),+e.knockout])},Fi=(e,t)=>!vn(e)||e.type==="inner"?t:et(e,t);class tu extends Ae{$filterType=8;_$blurX;_$blurY;_$quality;_$distance;_$angle;_$colors;_$alphas;_$ratios;_$strength;_$type;_$knockout;constructor(t=4,u=45,s=null,n=null,r=null,a=4,i=4,c=1,o=1,d="outer",l=!1){super(),this._$blurX=4,this._$blurY=4,this._$quality=1,this._$distance=4,this._$angle=45,this._$colors=null,this._$alphas=null,this._$ratios=null,this._$strength=1,this._$type="outer",this._$knockout=!1,this.blurX=a,this.blurY=i,this.quality=o,this.distance=t,this.angle=u,this.colors=s,this.alphas=n,this.ratios=r,this.strength=c,this.type=d,this.knockout=l}get alphas(){return this._$alphas}set alphas(t){if(t!==this._$alphas){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(+s,0,1,0)}this._$alphas=t,this.$updated=!0}}get angle(){return this._$angle}set angle(t){t=v(t%360,-360,360,45),t!==this._$angle&&(this._$angle=t,this.$updated=!0)}get blurX(){return this._$blurX}set blurX(t){t=v(+t,0,255,0),t!==this._$blurX&&(this._$blurX=t,this.$updated=!0)}get blurY(){return this._$blurY}set blurY(t){t=v(+t,0,255,0),t!==this._$blurY&&(this._$blurY=t,this.$updated=!0)}get colors(){return this._$colors}set colors(t){if(this._$colors!==t){if(Array.isArray(t))for(let u=0;u<t.length;++u){const s=t[u];t[u]=v(typeof s=="string"?Oe(s):s,0,16777215,0)}this._$colors=t,this.$updated=!0}}get distance(){return this._$distance}set distance(t){t=v(+t,-255,255,4),t!==this._$distance&&(this._$distance=t,this.$updated=!0)}get knockout(){return this._$knockout}set knockout(t){t=!!t,t!==this._$knockout&&(this._$knockout=t,this.$updated=!0)}get quality(){return this._$quality}set quality(t){t=v(t|0,0,15,1),t!==this._$quality&&(this._$quality=t,this.$updated=!0)}get ratios(){return this._$ratios}set ratios(t){if(this._$ratios!==t){if(Array.isArray(t))for(let u=0;u<t.length;++u)t[u]=v(+t[u],0,255,0);this._$ratios=t,this.$updated=!0}}get strength(){return this._$strength}set strength(t){t=v(t|0,0,255,0),t!==this._$strength&&(this._$strength=t,this.$updated=!0)}get type(){return this._$type}set type(t){t!==this._$type&&(this._$type=t,this.$updated=!0)}clone(){return new tu(this._$distance,this._$angle,this._$colors,this._$alphas,this._$ratios,this._$blurX,this._$blurY,this._$strength,this._$quality,this._$type,this._$knockout)}toArray(){return ki(this)}toNumberArray(){return Oi(this)}canApplyFilter(){return vn(this)}getBounds(t){return Fi(this,t)}}const Li=e=>{const t=U();for(let u=0;u<e.length;++u){const s=e[u];if(s)switch(s.params[0]===null&&s.params.shift(),s.class){case"BevelFilter":t.push(new zt(...s.params));break;case"BlurFilter":t.push(new Gt(...s.params));break;case"ColorMatrixFilter":t.push(new Kt(...s.params));break;case"ConvolutionFilter":t.push(new Qt(...s.params));break;case"DisplacementMapFilter":t.push(new Zt(...s.params));break;case"DropShadowFilter":t.push(new Jt(...s.params));break;case"GlowFilter":t.push(new jt(...s.params));break;case"GradientBevelFilter":t.push(new eu(...s.params));break;case"GradientGlowFilter":t.push(new tu(...s.params));break}}return t},Ci=e=>{if(e.$filters)return e.$filters;const t=Ht(e);return t&&t.surfaceFilterList?(t.filters||(t.filters=Li(t.surfaceFilterList)),t.filters):null},Ni=(e,t)=>{e.$filters=t,V(e)},Pi=e=>{if(e.$blendMode)return e.$blendMode;const t=Ht(e);return t&&t.blendMode?t.blendMode:"normal"},Bi=(e,t)=>{e.$blendMode!==t&&(e.$blendMode=t,V(e))},Di=180/Math.PI,_i=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);return t?Math.atan2(t[1],t[0])*Di:0},Ui=Math.PI/180,qi=(e,t)=>{if(t=de(t%360,-360,360,0),e.$rotation===t)return;let u=e.$matrix;if(!u){const r=N(e);e.$matrix=u=r?new A(...r):new A}const s=Math.sqrt(u.a*u.a+u.b*u.b),n=Math.sqrt(u.c*u.c+u.d*u.d);if(t===0)u.a=s,u.b=0,u.c=0,u.d=n;else{let r=Math.atan2(u.b,u.a),a=Math.atan2(-u.c,u.d);const i=t*Ui;a=a+i-r,r=i,u.b=s*Math.sin(r),u.b===1||u.b===-1?u.a=0:u.a=s*Math.cos(r),u.c=-n*Math.sin(a),u.c===1||u.c===-1?u.d=0:u.d=n*Math.cos(a)}e.$scaleX=null,e.$scaleY=null,e.$rotation=t,V(e)},Xi=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);if(!t)return 1;const s=(Math.abs(t[0])>=1e-12?Math.sign(t[0]):Math.sign(t[1]))||1,n=Math.hypot(t[0],t[1]);return Math.round(n*s*1e4)/1e4},In=(e,t)=>{t=de(t,-Number.MAX_VALUE,Number.MAX_VALUE,1);const u=Math.round(t*1e4)/1e4;if(e.$scaleX===u)return;let s=e.$matrix;if(!s){const n=N(e);e.$matrix=s=n?new A(...n):new A}if(s.b===0||isNaN(s.b))s.a=u;else{const r=Math.atan2(s.b,s.a),a=Math.hypot(s.a,s.b),i=(Math.abs(s.a)>=1e-12?Math.sign(s.a):Math.sign(s.b))||1,d=(a*i>=0?r:r-Math.PI)+(u<0?Math.PI:0),l=Math.abs(u);s.a=l*Math.cos(d),s.b=l*Math.sin(d)}e.$scaleX=u,e.$rotation=null,V(e)},Vi=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);if(!t)return 1;const u=1e-12,s=Math.hypot(t[0],t[1]),n=(Math.abs(t[0])>=u?Math.sign(t[0]):Math.sign(t[1]))||1;return Math.round((t[0]*t[3]-t[1]*t[2])/(s*n)*1e4)/1e4},Sn=(e,t)=>{t=de(t,-Number.MAX_VALUE,Number.MAX_VALUE,1);const u=Math.round(t*1e4)/1e4;if(e.$scaleY===u)return;let s=e.$matrix;if(!s){const n=N(e);e.$matrix=s=n?new A(...n):new A}if(s.c===0||isNaN(s.c))s.d=u;else{const n=Math.max(0,Math.abs(u)),r=1e-12;let a=Math.atan2(s.b,s.a);(s.a<0||Math.abs(s.a)<r&&s.b<0)&&(a-=Math.PI),a<=-Math.PI&&(a+=2*Math.PI),a>Math.PI&&(a-=2*Math.PI);const i=a+(u<0?Math.PI:0);s.c=-n*Math.sin(i),s.d=n*Math.cos(i)}e.$scaleY=u,e.$rotation=null,V(e)},Yi=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);return t?t[4]:0},Wi=(e,t)=>{let u=e.$matrix;if(!u){const s=N(e);e.$matrix=u=s?new A(...s):new A}e.$x!==t&&(e.$x=u.tx=t,V(e))},Hi=e=>{const t=e.$matrix?e.$matrix.rawData:N(e);return t?t[5]:0},zi=(e,t)=>{let u=e.$matrix;if(!u){const s=N(e);e.$matrix=u=s?new A(...s):new A}e.$y!==t&&(e.$y=u.ty=t,V(e))},ne=(e,t,u,s,n)=>{const r=n[0],a=n[1],i=n[2],c=n[3],o=n[4],d=n[5],l=u*r+s*i+o,h=u*r+t*i+o,b=e*r+s*i+o,f=e*r+t*i+o,p=u*a+s*c+d,$=u*a+t*c+d,g=e*a+s*c+d,R=e*a+t*c+d;return he(Math.min(l,h,b,f),Math.min(p,$,g,R),Math.max(l,h,b,f),Math.max(p,$,g,R))},Rn=e=>{const t=e.graphics;return he(t.xMin,t.yMin,t.xMax,t.yMax)},uu=(e,t=null)=>{const u=Rn(e),s=N(e);if(!s){if(t){const r=ne(u[0],u[1],u[2],u[3],t);return F(u),r}return u}const n=ne(u[0],u[1],u[2],u[3],t?A.multiply(t,s):s);return F(u),n},kn=e=>he(0,0,e.videoWidth,e.videoHeight),su=(e,t=null)=>{const u=kn(e),s=N(e);if(!s){if(t){const r=ne(u[0],u[1],u[2],u[3],t);return F(u),r}return u}const n=ne(u[0],u[1],u[2],u[3],t?A.multiply(t,s):s);return F(u),n},On=e=>he(e.xMin,e.yMin,e.xMax,e.yMax),nu=(e,t=null)=>{const u=On(e),s=N(e);if(!s){if(t){const r=ne(u[0],u[1],u[2],u[3],t);return F(u),r}return u}const n=ne(u[0],u[1],u[2],u[3],t?A.multiply(t,s):s);return F(u),n},ss=(e,t=null)=>{const u=e.children;if(!u.length)return he(0,0,0,0);const s=N(e),n=s?t?A.multiply(t,s):s:t,r=Number.MAX_VALUE;let a=r,i=-r,c=r,o=-r;for(let d=0;d<u.length;d++){const l=u[d];if(!l.visible)continue;let h=null;switch(!0){case l.isContainerEnabled:h=ss(l,n);break;case l.isShape:h=uu(l,n);break;case l.isText:h=nu(l,n);break;case l.isVideo:h=su(l,n);break}h&&(a=Math.min(a,h[0]),c=Math.min(c,h[1]),i=Math.max(i,h[2]),o=Math.max(o,h[3]),F(h))}return he(a,c,i,o)},Fn=e=>{switch(!0){case e.isContainerEnabled:return ss(e);case e.isShape:return uu(e);case e.isText:return nu(e);case e.isVideo:return su(e);default:return he(0,0,0,0)}},Gi=e=>{const t=Fn(e),u=Math.abs(t[2]-t[0]);switch(F(t),!0){case u===0:case u===1/0:case u===-1/0:return 0;default:return Math.round(u*100)/100}},Ln=(e,t=null)=>{const u=e.children;if(!u.length)return he(0,0,0,0);const s=N(e);let n=t;s&&(n=t?A.multiply(t,s):s);const r=Number.MAX_VALUE;let a=r,i=-r,c=r,o=-r;for(let d=0;d<u.length;d++){const l=u[d];if(!l.visible)continue;let h=null;switch(!0){case l.isContainerEnabled:h=Ln(l,n);break;case l.isShape:h=uu(l,n);break;case l.isText:h=nu(l,n);break;case l.isVideo:h=su(l,n);break}h&&(a=Math.min(a,h[0]),c=Math.min(c,h[1]),i=Math.max(i,h[2]),o=Math.max(o,h[3]),F(h))}return he(a,c,i,o)},Ze=e=>{switch(!0){case e.isContainerEnabled:return Ln(e);case e.isShape:return Rn(e);case e.isText:return On(e);case e.isVideo:return kn(e);default:return he(0,0,0,0)}},Ki=(e,t)=>{if(t=+t,isNaN(t)||0>t)return;const u=Ze(e);let s=Math.abs(u[2]-u[0]);switch(!0){case s===0:case s===1/0:case s===-1/0:return;default:s=Math.round(s*100)/100;break}In(e,t/s)},Qi=(e,t)=>{const u=e.concatenatedMatrix,s=new J(t.x*u.a+t.y*u.c+u.tx,t.x*u.b+t.y*u.d+u.ty);return A.release(u.rawData),s},Zi=(e,t)=>{const u=e.concatenatedMatrix;u.invert();const s=new J(t.x*u.a+t.y*u.c+u.tx,t.x*u.b+t.y*u.d+u.ty);return A.release(u.rawData),s},Ji=e=>{const t=Fn(e),u=Math.abs(t[3]-t[1]);switch(F(t),!0){case u===0:case u===1/0:case u===-1/0:return 0;default:return Math.round(u*100)/100}},ji=(e,t)=>{if(t=+t,isNaN(t)||0>t)return;const u=Ze(e);let s=Math.abs(u[3]-u[1]);switch(!0){case s===0:case s===1/0:case s===-1/0:return;default:s=Math.round(s*100)/100;break}Sn(e,t/s)},ec=e=>{const t=e.parent;t&&t.removeChild(e)},tc=(e,t=null)=>{const u=e.concatenatedMatrix,s=Ze(e),n=ne(s[0],s[1],s[2],s[3],u.rawData);if(F(s),A.release(u.rawData),!t){const c=new be(n[0],n[1],Math.abs(n[2]-n[0]),Math.abs(n[3]-n[1]));return F(n),c}const r=t.concatenatedMatrix;r.invert();const a=ne(n[0],n[1],n[2],n[3],r.rawData);F(n),A.release(r.rawData);const i=new be(a[0],a[1],Math.abs(a[2]-a[0]),Math.abs(a[3]-a[1]));return F(a),i},uc=(e,t)=>{const u=Ze(e),s=e.concatenatedMatrix,n=ne(u[0],u[1],u[2],u[3],s.rawData);F(u),A.release(s.rawData);const r=Ze(t),a=t.concatenatedMatrix,i=ne(r[0],r[1],r[2],r[3],a.rawData);F(r),A.release(a.rawData);const c=Math.max(n[0],i[0]),o=Math.max(n[1],i[1]),d=Math.min(n[2],i[2]),l=Math.min(n[3],i[3]);return F(n),F(i),d-c>=0&&l-o>=0};class Bt{_$bitmapData;_$matrix;_$repeat;_$smooth;constructor(t,u=null,s=!0,n=!1){this._$bitmapData=t,this._$matrix=u,this._$repeat=s,this._$smooth=n}clone(){return new Bt(this._$bitmapData.clone(),this._$matrix?this._$matrix.clone():null,this._$repeat,this._$smooth)}toArray(){return U(this._$bitmapData,this._$matrix,this._$repeat,this._$smooth)}}class Dt{_$type;_$colors;_$alphas;_$ratios;_$matrix;_$spreadMethod;_$interpolationMethod;_$focalPointRatio;_$colorStops;constructor(t,u,s,n,r=null,a="pad",i="rgb",c=0){this._$type=t,this._$colors=u,this._$alphas=s,this._$ratios=n,this._$matrix=r,this._$spreadMethod=a,this._$interpolationMethod=i,this._$focalPointRatio=c,this._$colorStops=U()}get colorStops(){if(!this._$colorStops.length){const t=Math.min(Math.min(this._$alphas.length,this._$colors.length),this._$ratios.length);for(let u=0;u<t;++u){const s=this._$colors[u],n=typeof s=="string"?Su(s):s;this._$colorStops[u]={ratio:this._$ratios[u]/255,R:n>>>16&255,G:n>>>8&255,B:n&255,A:this._$alphas[u]*255&255}}}return this._$colorStops}toArray(){return U(this._$type,this.colorStops,this._$matrix?this._$matrix.rawData:bt,this._$spreadMethod,this._$interpolationMethod,this._$focalPointRatio)}clone(){return new Dt(this._$type,this._$colors.slice(),this._$alphas.slice(),this._$ratios.slice(),this._$matrix?this._$matrix.clone():null,this._$spreadMethod,this._$interpolationMethod,this._$focalPointRatio)}}const sc=(e,t=0,u=0)=>{e.xMin=Math.min(e.xMin,t),e.xMax=Math.max(e.xMax,t),e.yMin=Math.min(e.yMin,u),e.yMax=Math.max(e.yMax,u)},Ss=(e,t=0,u=0,s=0,n=0,r=0,a="none")=>{e.xMin=Math.min(e.xMin,Math.min(t,s)),e.xMax=Math.max(e.xMax,Math.max(t,s)),e.yMin=Math.min(e.yMin,Math.min(u,n)),e.yMax=Math.max(e.yMax,Math.max(u,n));const i=s-t,c=n-u,o=Math.sqrt(i*i+c*c);if(!o)return;const d=i/o,l=c/o,h=-l,b=d,f=r/2,p=Math.min(t+h*f,t-h*f,s+h*f,s-h*f),$=Math.max(t+h*f,t-h*f,s+h*f,s-h*f),g=Math.min(u+b*f,u-b*f,n+b*f,n-b*f),R=Math.max(u+b*f,u-b*f,n+b*f,n-b*f);if(e.xMin=Math.min(e.xMin,p),e.xMax=Math.max(e.xMax,$),e.yMin=Math.min(e.yMin,g),e.yMax=Math.max(e.yMax,R),a==="round"||a==="square"){const S=t+f*-d,k=u+f*-l,D=Math.min(S+f*d+f*h,S-f*d+f*h,S+f*d-f*h,S-f*d-f*h),re=Math.max(S+f*d+f*h,S-f*d+f*h,S+f*d-f*h,S-f*d-f*h),ce=Math.min(k+f*l+f*b,k+f*l-f*b,k-f*l-f*b,k-f*l+f*b),H=Math.max(k+f*l+f*b,k+f*l-f*b,k-f*l-f*b,k-f*l+f*b);e.xMin=Math.min(e.xMin,D),e.xMax=Math.max(e.xMax,re),e.yMin=Math.min(e.yMin,ce),e.yMax=Math.max(e.yMax,H)}},st=(e,t,u=0,s=0,n=0,r="none",...a)=>{for(let i=0;i<a.length;){const c=a[i++],o=a[i++];sc(e,c,o),t&&(Ss(e,c,o,u,s,n,r),Ss(e,u,s,c,o,n,r))}},nt=(e,t,u,s,n,...r)=>{e.isConfirmed=!1,t&&s&&s.push(...r),u&&n&&n.push(...r)},nc=(e,t,u,s,n)=>{t=+t||0,u=+u||0,s=+s||0,n=+n||0,s=Math.round(s),n=Math.round(n);const r=s/2,a=n/2,i=t+r,c=u+a,o=t+s,d=u+n,l=4/3*(Math.SQRT2-1),h=l*r,b=l*a;return e.moveTo(i,u).cubicCurveTo(i+h,u,o,c-b,o,c).cubicCurveTo(o,c+b,i+h,d,i,d).cubicCurveTo(i-h,d,t,c+b,t,c).cubicCurveTo(t,c-b,i-h,u,i,u)},rc=(e,t,u,s,n)=>{t=+t||0,u=+u||0,s=+s||0,n=+n||0;const r=Math.round(t+s),a=Math.round(u+n);return e.moveTo(t,u).lineTo(t,a).lineTo(r,a).lineTo(r,u).lineTo(t,u)},ac=(e,t,u,s,n,r,a=NaN)=>{t=+t||0,u=+u||0,s=+s||0,n=+n||0,r=+r||0,a=+a||r,s=Math.round(s),n=Math.round(n),r=Math.round(r),a=Math.round(a);const i=r/2,c=a/2,o=4/3*(Math.SQRT2-1),d=o*i,l=o*c,h=t+i,b=t+s,f=b-i,p=u+c,$=u+n,g=$-c;return e.moveTo(h,u).lineTo(f,u).cubicCurveTo(f+d,u,b,p-l,b,p).lineTo(b,g).cubicCurveTo(b,g+l,f+d,$,f,$).lineTo(h,$).cubicCurveTo(h-d,$,t,g+l,t,g).lineTo(t,p).cubicCurveTo(t,p-l,h-d,u,h,u)},kt=e=>{if(!e)return[];const t=U();for(let u=0;u<e.length;){const s=e[u++];switch(t.push(s),s){case y.BEGIN_PATH:case y.END_FILL:case y.END_STROKE:case y.CLOSE_PATH:break;case y.MOVE_TO:case y.LINE_TO:t.push(e[u++],e[u++]);break;case y.CURVE_TO:case y.FILL_STYLE:t.push(e[u++],e[u++],e[u++],e[u++]);break;case y.CUBIC:t.push(e[u++],e[u++],e[u++],e[u++],e[u++],e[u++]);break;case y.STROKE_STYLE:{switch(t.push(e[u++]),e[u++]){case"none":t.push(0);break;case"round":t.push(1);break;case"square":t.push(2);break}switch(e[u++]){case"bevel":t.push(0);break;case"miter":t.push(1);break;case"round":t.push(2);break}t.push(e[u++],e[u++],e[u++],e[u++],e[u++])}break;case y.ARC:t.push(e[u++],e[u++],e[u++]);break;case y.GRADIENT_FILL:{const n=e[u++],r=e[u++],a=e[u++],i=e[u++],c=e[u++],o=e[u++];t.push(n==="linear"?0:1),t.push(r.length);const d=r.sort((l,h)=>l.ratio-h.ratio);for(let l=0;l<d.length;++l){const h=d[l];t.push(h.ratio,h.R,h.G,h.B,h.A)}switch(t.push(...a),i){case"reflect":t.push(0);break;case"repeat":t.push(1);break;default:t.push(2);break}t.push(c==="linearRGB"?0:1),t.push(o)}break;case y.GRADIENT_STROKE:{switch(t.push(e[u++]),e[u++]){case"none":t.push(0);break;case"round":t.push(1);break;case"square":t.push(2);break}switch(e[u++]){case"bevel":t.push(0);break;case"miter":t.push(1);break;case"round":t.push(2);break}t.push(e[u++]);const a=e[u++],i=e[u++],c=e[u++],o=e[u++],d=e[u++],l=e[u++];t.push(a==="linear"?0:1),t.push(i.length);for(let h=0;h<i.length;++h){const b=i[h];t.push(b.ratio,b.R,b.G,b.B,b.A)}switch(t.push(...c),o){case"reflect":t.push(0);break;case"repeat":t.push(1);break;default:t.push(2);break}t.push(d==="linearRGB"?0:1),t.push(l)}break;case y.BITMAP_FILL:{const n=e[u++],r=n.buffer;if(!r){u+=3;break}t.push(n.width,n.height,r.length);for(let o=0;o<r.length;o+=4096)t.push(...r.subarray(o,o+4096));const a=e[u++];a?t.push(...a.rawData):t.push(1,0,0,1,0,0);const i=e[u++];t.push(i?1:0);const c=e[u++];t.push(c?1:0)}break;case y.BITMAP_STROKE:{switch(t.push(e[u++]),e[u++]){case"none":t.push(0);break;case"round":t.push(1);break;case"square":t.push(2);break}switch(e[u++]){case"bevel":t.push(0);break;case"miter":t.push(1);break;case"round":t.push(2);break}t.push(e[u++]);const a=e[u++],i=a.buffer;if(!i){u+=3;break}t.push(a.width,a.height,i.length);for(let l=0;l<i.length;l+=4096)t.push(...i.subarray(l,l+4096));const c=e[u++];c?t.push(...c):t.push(1,0,0,1,0,0);const o=e[u++];t.push(o?1:0);const d=e[u++];t.push(d?1:0)}break}}return t};class y{isConfirmed;xMin;yMin;xMax;yMax;$recodes;_$buffer;_$maxAlpha;_$isBeginning;_$positionX;_$positionY;_$hasFillEnabled;_$fillType;_$fillColor;_$fillGradient;_$fillBitmap;_$fills;_$hasLineEnabled;_$lineType;_$lineColor;_$lineGradient;_$joints;_$miterLimit;_$caps;_$lineWidth;_$lines;constructor(){this.isConfirmed=!1,this.xMin=Number.MAX_VALUE,this.yMin=Number.MAX_VALUE,this.xMax=-Number.MAX_VALUE,this.yMax=-Number.MAX_VALUE,this.$recodes=null,this._$buffer=null,this._$positionX=0,this._$positionY=0,this._$maxAlpha=0,this._$isBeginning=!1,this._$fills=null,this._$hasFillEnabled=!1,this._$fillType=0,this._$fillGradient=null,this._$fillBitmap=null,this._$fillColor=0,this._$caps="none",this._$lineWidth=1,this._$lines=null,this._$hasLineEnabled=!1,this._$lineType=0,this._$lineGradient=null,this._$joints="round",this._$miterLimit=0,this._$lineColor=0}static get MOVE_TO(){return 0}static get CURVE_TO(){return 1}static get LINE_TO(){return 2}static get CUBIC(){return 3}static get ARC(){return 4}static get FILL_STYLE(){return 5}static get STROKE_STYLE(){return 6}static get END_FILL(){return 7}static get END_STROKE(){return 8}static get BEGIN_PATH(){return 9}static get GRADIENT_FILL(){return 10}static get GRADIENT_STROKE(){return 11}static get CLOSE_PATH(){return 12}static get BITMAP_FILL(){return 13}static get BITMAP_STROKE(){return 14}get isDrawable(){if(!this._$isBeginning||!this._$maxAlpha)return!1;const t=Math.abs(this.xMax-this.xMin),u=Math.abs(this.yMax-this.yMin);return t>0&&u>0}beginBitmapFill(t,u=null,s=!0,n=!1){return this._$hasFillEnabled&&this.endFill(),this._$fills||(this._$fills=U()),this._$maxAlpha=1,this._$hasFillEnabled=!0,this._$isBeginning=!0,this._$fills.push(y.BEGIN_PATH),this._$fillType=y.BITMAP_FILL,this._$fillBitmap=new Bt(t,u,s,n),this}beginFill(t=0,u=1){this._$hasFillEnabled&&this.endFill(),this._$fills||(this._$fills=U()),typeof t=="string"&&(t=Su(t)),t=de(t,0,16777215,0),u=de(u,0,1,1),this._$maxAlpha=Math.max(this._$maxAlpha,u),this._$hasFillEnabled=!0,this._$isBeginning=!0,this._$fills.push(y.BEGIN_PATH),this._$fillType=y.FILL_STYLE;const s=t>>>16&255,n=t>>>8&255,r=t&255;return this._$fillColor=s<<24|n<<16|r<<8|u*255,this}beginGradientFill(t,u,s,n,r=null,a="pad",i="rgb",c=0){this._$hasFillEnabled&&this.endFill(),this._$fills||(this._$fills=U());for(let o=0;o<s.length;++o)this._$maxAlpha=Math.max(this._$maxAlpha,s[o]);return this._$hasFillEnabled=!0,this._$isBeginning=!0,this._$fills.push(y.BEGIN_PATH),this._$fillType=y.GRADIENT_FILL,this._$fillGradient=new Dt(t,u,s,n,r,a,i,c),this}clear(){return this._$maxAlpha=0,this._$isBeginning=!1,this._$positionX=0,this._$positionY=0,this._$fillType=0,this._$fillGradient=null,this._$fillBitmap=null,this._$fillColor=0,this._$hasFillEnabled=!1,this._$caps="none",this._$lineWidth=1,this._$lineType=0,this._$lineGradient=null,this._$joints="round",this._$miterLimit=0,this._$lineColor=0,this._$hasLineEnabled=!1,this.xMin=Number.MAX_VALUE,this.xMax=-Number.MAX_VALUE,this.yMin=Number.MAX_VALUE,this.yMax=-Number.MAX_VALUE,this.$recodes&&ee(this.$recodes),this._$fills&&ee(this._$fills),this._$lines&&ee(this._$lines),this._$buffer=null,this.$recodes=null,this._$fills=null,this._$lines=null,this}clone(){const t=new y;return t.copyFrom(this),t}copyFrom(t){t._$fillGradient&&(this._$fillGradient=t._$fillGradient.clone()),t._$fillBitmap&&(this._$fillBitmap=t._$fillBitmap.clone()),this._$hasFillEnabled=t._$hasFillEnabled,this._$fillType=t._$fillType,this._$fillColor=t._$fillColor,t._$lineGradient&&(this._$lineGradient=t._$lineGradient.clone()),this._$hasLineEnabled=t._$hasLineEnabled,this._$lineType=t._$lineType,this._$caps=t._$caps,this._$joints=t._$joints,this._$miterLimit=t._$miterLimit,this._$lineWidth=t._$lineWidth,this._$lineColor=t._$lineColor,this.xMin=t.xMin,this.xMax=t.xMax,this.yMin=t.yMin,this.yMax=t.yMax,this._$maxAlpha=t._$maxAlpha,this._$positionX=t._$positionX,this._$positionY=t._$positionY,this._$isBeginning=t._$isBeginning,t._$fills&&(this._$fills=t._$fills.slice(0)),t._$lines&&(this._$lines=t._$lines.slice(0)),t.$recodes&&(this.$recodes=t.$recodes.slice(0)),this._$buffer=null}cubicCurveTo(t,u,s,n,r,a){return r=+r||0,a=+a||0,this._$positionX===r&&this._$positionY===a?this:(t=+t||0,u=+u||0,s=+s||0,n=+n||0,st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t,u,s,n,r,a),nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.CUBIC,t,u,s,n,r,a),this._$positionX=r,this._$positionY=a,this)}curveTo(t,u,s,n){return s=+s||0,n=+n||0,this._$positionX===s&&this._$positionY===n?this:(t=+t||0,u=+u||0,st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t,u,s,n),nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.CURVE_TO,t,u,s,n),this._$positionX=s,this._$positionY=n,this)}drawCircle(t,u,s){return t=+t||0,u=+u||0,s=+s||0,s=Math.round(s),st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t-s,u-s,t+s,u+s),nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.MOVE_TO,t+s,u,y.ARC,t,u,s),this._$positionX=t,this._$positionY=u,this}drawEllipse(t,u,s,n){return nc(this,t,u,s,n)}drawRect(t,u,s,n){return rc(this,t,u,s,n)}drawRoundRect(t,u,s,n,r,a=NaN){return ac(this,t,u,s,n,r,a)}endFill(){if(!this._$hasFillEnabled||!this._$fills||8>this._$fills.length)return this;switch(this.$recodes||(this.$recodes=U()),(this._$fills[2]!==this._$fills[this._$fills.length-2]||this._$fills[3]!==this._$fills[this._$fills.length-1])&&this._$fills.push(y.LINE_TO,this._$fills[2],this._$fills[3]),this.$recodes.push(...this._$fills),ee(this._$fills),this._$fills=null,this._$fillType){case y.FILL_STYLE:this.$recodes.push(this._$fillType,this._$fillColor>>>24&255,this._$fillColor>>>16&255,this._$fillColor>>>8&255,this._$fillColor&255,y.END_FILL);break;case y.GRADIENT_FILL:this._$fillGradient&&this.$recodes.push(this._$fillType,...this._$fillGradient.toArray());break;case y.BITMAP_FILL:this._$fillBitmap&&this.$recodes.push(this._$fillType,...this._$fillBitmap.toArray());break}return this._$fillType=0,this._$fillColor=0,this._$fillGradient=null,this._$fillBitmap=null,this._$hasFillEnabled=!1,this}endLine(){if(!this._$hasLineEnabled||!this._$lines)return this;switch(this.$recodes||(this.$recodes=U()),this.$recodes.push(...this._$lines),ee(this._$lines),this._$lines=null,this._$lineType){case y.STROKE_STYLE:this.$recodes.push(this._$lineType,this._$lineWidth,this._$caps,this._$joints,this._$miterLimit,this._$lineColor>>>24&255,this._$lineColor>>>16&255,this._$lineColor>>>8&255,this._$lineColor&255,y.END_STROKE);break;case y.GRADIENT_STROKE:this._$lineGradient&&this.$recodes.push(this._$lineType,this._$lineWidth,this._$caps,this._$joints,this._$miterLimit,...this._$lineGradient.toArray());break;case y.BITMAP_STROKE:this._$fillBitmap&&this.$recodes.push(this._$lineType,this._$lineWidth,this._$caps,this._$joints,this._$miterLimit,...this._$fillBitmap.toArray());break}return this._$lineType=0,this._$lineWidth=0,this._$lineGradient=null,this._$lineColor=0,this._$caps="none",this._$joints="round",this._$miterLimit=0,this._$hasLineEnabled=!1,this}lineBitmapStyle(t,u=null,s=!0,n=!1){return this._$hasLineEnabled?(this._$lines||(this._$lines=U()),this._$maxAlpha=1,this._$hasLineEnabled=!0,this._$isBeginning=!0,this._$lines.push(y.BEGIN_PATH),this._$lineType=y.BITMAP_STROKE,this._$fillBitmap=new Bt(t,u,s,n),this):this}lineGradientStyle(t,u,s,n,r=null,a="pad",i="rgb",c=0){if(!this._$hasLineEnabled)return this;this._$lines||(this._$lines=U());for(let o=0;o<s.length;++o)this._$maxAlpha=Math.max(this._$maxAlpha,s[o]);return this._$lines.push(y.BEGIN_PATH),this._$lineType=y.GRADIENT_STROKE,this._$lineGradient=new Dt(t,u,s,n,r,a,i,c),this}lineStyle(t=1,u=0,s=1,n="round",r="round",a=3){this._$hasLineEnabled&&this.endLine(),this._$lines||(this._$lines=U()),this._$maxAlpha=Math.max(this._$maxAlpha,s),this._$hasLineEnabled=!0,this._$isBeginning=!0,this._$positionX||this._$positionY?this._$lines.push(y.BEGIN_PATH,y.MOVE_TO,this._$positionX,this._$positionY):this._$lines.push(y.BEGIN_PATH),this._$lineType=y.STROKE_STYLE,typeof u=="string"&&(u=Su(u)),u=de(u,0,16777215,0),s=de(s,0,1,1);const i=u>>>16&255,c=u>>>8&255,o=u&255;return this._$lineColor=i<<24|c<<16|o<<8|s*255,this._$lineWidth=t,this._$caps=`${n}`,this._$joints=`${r}`,this._$joints==="miter"&&(this._$miterLimit=a),this}lineTo(t,u){return t=+t||0,u=+u||0,this._$positionX===t&&this._$positionY===u?this:(st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t,u),nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.LINE_TO,t,u),this._$positionX=t,this._$positionY=u,this)}moveTo(t,u){t=+t||0,u=+u||0,this._$positionX=t,this._$positionY=u,st(this,this._$hasLineEnabled,this._$positionX,this._$positionY,this._$lineWidth,this._$caps,t,u);let s=!1;return this._$hasFillEnabled&&this._$fills&&this._$fills[this._$fills.length-3]===y.MOVE_TO&&(s=!0,this._$fills[this._$fills.length-2]=t,this._$fills[this._$fills.length-1]=u),this._$hasLineEnabled&&this._$lines&&this._$lines[this._$lines.length-3]===y.MOVE_TO&&(s=!0,this._$lines[this._$lines.length-2]=t,this._$lines[this._$lines.length-1]=u),s||nt(this,this._$hasFillEnabled,this._$hasLineEnabled,this._$fills,this._$lines,y.MOVE_TO,t,u),this}get buffer(){if(this.isConfirmed&&this._$buffer)return this._$buffer;this._$hasLineEnabled&&this.endLine(),this._$hasFillEnabled&&this.endFill();const t=kt(this.$recodes);return this._$buffer=new Float32Array(t),ee(t),this.isConfirmed=!0,this._$buffer}set buffer(t){this._$buffer=t,this.isConfirmed=!0,this._$isBeginning=!0,this._$maxAlpha=1}}const ic=(e,t,u)=>{for(let s=0;s<t.length;)switch(t[s++]){case y.BEGIN_PATH:e.beginPath();break;case y.MOVE_TO:e.moveTo(t[s++],t[s++]);break;case y.LINE_TO:e.lineTo(t[s++],t[s++]);break;case y.CURVE_TO:e.quadraticCurveTo(t[s++],t[s++],t[s++],t[s++]);break;case y.FILL_STYLE:s+=4;continue;case y.END_FILL:if(e.isPointInPath(u.x,u.y))return!0;break;case y.STROKE_STYLE:s+=8;continue;case y.END_STROKE:break;case y.CLOSE_PATH:e.closePath();break;case y.CUBIC:e.bezierCurveTo(t[s++],t[s++],t[s++],t[s++],t[s++],t[s++]);break;case y.ARC:e.arc(t[s++],t[s++],t[s++],0,2*Math.PI);break;case y.GRADIENT_FILL:if(e.isPointInPath(u.x,u.y))return!0;s+=6;continue;case y.GRADIENT_STROKE:s+=12;continue;case y.BITMAP_FILL:if(e.isPointInPath(u.x,u.y))return!0;s+=6;continue;case y.BITMAP_STROKE:s+=9;continue}return!1},Ot=(e,t,u,s)=>{const n=e.graphics,r=n.xMax-n.xMin,a=n.yMax-n.yMin;if(r<=0||a<=0)return!1;const i=N(e),c=i?A.multiply(u,i):u;t.beginPath(),t.setTransform(c[0],c[1],c[2],c[3],c[4],c[5]);let o=!1;return n.buffer.length?o=ic(t,n.buffer,s):(t.moveTo(0,0),t.lineTo(r,0),t.lineTo(r,a),t.lineTo(0,a),t.lineTo(0,0),o=t.isPointInPath(s.x,s.y)),c!==u&&A.release(c),o},Ft=(e,t,u,s)=>{const n=Math.ceil(Math.abs(e.xMax-e.xMin)),r=Math.ceil(Math.abs(e.yMax-e.yMin));if(n<=0||r<=0)return!1;const a=N(e),i=a?A.multiply(u,a):u;return t.setTransform(i[0],i[1],i[2],i[3],i[4],i[5]),t.beginPath(),t.moveTo(0,0),t.lineTo(n,0),t.lineTo(n,r),t.lineTo(0,r),t.lineTo(0,0),i!==u&&A.release(i),t.isPointInPath(s.x,s.y)},Lt=(e,t,u,s)=>{const n=e.videoWidth,r=e.videoHeight;if(n<=0||r<=0)return!1;const a=N(e),i=a?A.multiply(u,a):u;return t.beginPath(),t.setTransform(i[0],i[1],i[2],i[3],i[4],i[5]),t.beginPath(),t.moveTo(0,0),t.lineTo(n,0),t.lineTo(n,r),t.lineTo(0,r),t.lineTo(0,0),i!==u&&A.release(i),t.isPointInPath(s.x,s.y)},He=(e,t,u,s,n=!0)=>{const r=e.children;if(!r.length)return!1;const a=N(e),i=a?A.multiply(u,a):u,c=U(),o=U(),d=Ja();let l=0,h=0;for(let $=0;$<r.length;++$){const g=r[$];if(g&&!g.isMask){if(g.clipDepth){h=c.length,l=g.clipDepth,c.push(g);continue}g.visible&&(l&&g.placeId>l&&(h=0,l=0),h&&d.set(g.instanceId,h),o.push(g))}}const b=e.mouseChildren&&n;if(e.isSprite&&e.hitArea){const $=He(e.hitArea,t,i,s,b);return $&&b&&e.mouseEnabled&&(e.buttonMode&&e.useHandCursor&&(s.pointer="pointer"),s.hit||(s.hit=e)),$}let f=!1;const p=e.mask;if(p){let $=!1;switch(!0){case p.isContainerEnabled:$=He(p,t,i,s,b);break;case p.isShape:$=Ot(p,t,i,s);break;case p.isText:$=Ft(p,t,i,s);break;case p.isVideo:$=Lt(p,t,i,s);break}if(!$)return!1}for(;o.length;){const $=o.pop();if(!$||$.isMask)continue;if(d.has($.instanceId)){const R=d.get($.instanceId);if(!R)continue;const S=c[R];if(!S)continue;let k=!1;switch(!0){case S.isContainerEnabled:k=He(S,t,i,s,b);break;case S.isShape:k=Ot(S,t,i,s);break;case S.isText:k=Ft(S,t,i,s);break;case S.isVideo:k=Lt(S,t,i,s);break}if(!k)continue}let g=!1;switch(!0){case $.isContainerEnabled:g=He($,t,i,s,b);break;case $.isShape:g=Ot($,t,i,s);break;case $.isText:g=Ft($,t,i,s);break;case $.isVideo:g=Lt($,t,i,s);break}if(g){if(f=!0,!b)break;if($.isInteractive&&$.mouseEnabled){if(s.pointer==="auto")switch(!0){case $.isText:$.type==="input"&&(s.pointer="text");break;case $.isSprite:$.buttonMode&&$.useHandCursor&&(s.pointer="pointer");break;default:s.pointer="pointer";break}s.hit||(s.hit=$);break}}}return ee(c),ee(o),ja(d),i!==u&&A.release(i),f},Ce={x:0,y:0,pointer:"",hit:null},cc=(e,t,u,s=!1)=>{if(s){const d=e.parent,l=d?d.concatenatedMatrix.rawData:bt;switch(Me.setTransform(1,0,0,1,0,0),Me.beginPath(),Ce.x=t,Ce.y=u,Ce.hit=null,!0){case e.isContainerEnabled:return He(e,Me,l,Ce);case e.isShape:return Ot(e,Me,l,Ce);case e.isText:return Ft(e,Me,l,Ce);case e.isVideo:return Lt(e,Me,l,Ce);default:return!1}}const n=Ze(e),r=N(e),a=ne(n[0],n[1],n[2],n[3],r||bt);F(n);const i=new be(a[0],a[1],Math.abs(a[2]-a[0]),Math.abs(a[3]-a[1]));F(a);const c=e.parent,o=c?c.globalToLocal(new J(t,u)):new J(t,u);return i.containsPoint(o)},oc=e=>{const t=N(e);return t?new A(t[0],t[1],t[2],t[3],t[4],t[5]):new A},lc=e=>{const t=qe(e);return t?new L(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):new L};class ru extends je{instanceId;dictionaryId;isSprite;isInteractive;isContainerEnabled;isTimelineEnabled;isShape;isVideo;isText;placeId;placeObject;characterId;clipDepth;name;startFrame;endFrame;changed;$added;$addedToStage;uniqueKey;$matrix;$colorTransform;$filters;$blendMode;$scaleX;$scaleY;$rotation;$x;$y;$alpha;$cache;_$scale9Grid;_$visible;_$variables;isMask;parent;constructor(){super(),this.instanceId=$n(),this.dictionaryId=-1,this.uniqueKey="",this.isSprite=!1,this.isContainerEnabled=!1,this.isTimelineEnabled=!1,this.isShape=!1,this.isVideo=!1,this.isText=!1,this.isInteractive=!1,this.placeId=-1,this.placeObject=null,this.characterId=-1,this.clipDepth=0,this.name="",this.startFrame=1,this.endFrame=0,this.parent=null,this.isMask=!1,this.changed=!0,this.$added=!1,this.$addedToStage=!1,this.$matrix=null,this.$colorTransform=null,this.$filters=null,this.$blendMode=null,this._$visible=!0,this._$scale9Grid=null,this._$variables=null,this.$x=null,this.$y=null,this.$alpha=null,this.$scaleX=null,this.$scaleY=null,this.$rotation=null,this.$cache=null}get concatenatedMatrix(){return ni(this)}get alpha(){return ri(this)}set alpha(t){ai(this,t)}get blendMode(){return Pi(this)}set blendMode(t){Bi(this,t)}get filters(){return Ci(this)}set filters(t){Ni(this,t)}get dropTarget(){return si()}get height(){return Ji(this)}set height(t){ji(this,t)}get loaderInfo(){return Rt.has(this)?Rt.get(this):null}get colorTransform(){return lc(this)}set colorTransform(t){this.$colorTransform=t}get matrix(){return oc(this)}set matrix(t){this.$matrix=t}get mouseX(){return this.globalToLocal(ft).x}get mouseY(){return this.globalToLocal(ft).y}get root(){return ke.has(this)?ke.get(this):null}get rotation(){return this.$rotation===null?_i(this):this.$rotation}set rotation(t){qi(this,t)}get scale9Grid(){return this._$scale9Grid}set scale9Grid(t){this._$scale9Grid!==t&&(this._$scale9Grid=t,V(this))}get scaleX(){return this.$scaleX===null?Xi(this):this.$scaleX}set scaleX(t){In(this,t)}get scaleY(){return this.$scaleY===null?Vi(this):this.$scaleY}set scaleY(t){Sn(this,t)}get visible(){return this._$visible}set visible(t){this._$visible!==t&&(this._$visible=!!t,V(this))}get width(){return Gi(this)}set width(t){Ki(this,t)}get x(){return this.$x===null?Yi(this):this.$x}set x(t){Wi(this,t)}get y(){return this.$y===null?Hi(this):this.$y}set y(t){zi(this,t)}getBounds(t=null){return tc(this,t)}globalToLocal(t){return Zi(this,t)}hitTestObject(t){return uc(this,t)}hitTestPoint(t,u,s=!1){return cc(this,t,u,s)}localToGlobal(t){return Qi(this,t)}getLocalVariable(t){if(!this._$variables)return null;if(this._$variables.has(t))return this._$variables.get(t)}setLocalVariable(t,u){this._$variables||(this._$variables=new Map),this._$variables.set(t,u)}hasLocalVariable(t){return this._$variables?this._$variables.has(t):!1}deleteLocalVariable(t){this._$variables&&this._$variables.has(t)&&(this._$variables.delete(t),this._$variables.size||(this._$variables=null))}getGlobalVariable(t){return Le.has(t)?Le.get(t):null}setGlobalVariable(t,u){Le.set(t,u)}hasGlobalVariable(t){return Le.has(t)}deleteGlobalVariable(t){Le.has(t)&&Le.delete(t)}clearGlobalVariable(){return Le.clear()}remove(){ec(this)}$syncLoaderInfo(t){Rt.set(this,t)}}const Cn=e=>{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(ke.set(s,e.root),fe.add(s.instanceId),s.isContainerEnabled&&Cn(s))}},Nn=e=>{e.$addedToStage||!fe.has(e.instanceId)||(e.$addedToStage=!0,e.willTrigger(m.ADDED_TO_STAGE)&&e.dispatchEvent(new m(m.ADDED_TO_STAGE)))},Pn=e=>{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(Nn(s),s.isContainerEnabled&&Pn(s))}},hc=e=>{e.$added||(e.$added=!0,e.willTrigger(m.ADDED)&&e.dispatchEvent(new m(m.ADDED,!0)))},Rs=(e,t,u=-1)=>{const s=t.parent;s&&s.removeChild(t);const n=e.children;return 0>u?n.push(t):n.splice(u,0,t),e.$container=null,t.parent=e,fe.has(e.instanceId)&&(ke.set(t,e.root),fe.add(t.instanceId),t.isContainerEnabled&&Cn(t)),hc(t),fe.has(e.instanceId)&&(Nn(t),t.isContainerEnabled&&Pn(t)),V(t),t},Bn=e=>{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(ke.delete(s),fe.delete(s.instanceId),s.isVideo&&s.pause(),s.isContainerEnabled&&Bn(s))}},dc=e=>{e.$added&&(e.$added=!1,e.willTrigger(m.REMOVED)&&e.dispatchEvent(new m(m.REMOVED,!0)))},Dn=e=>{!e.$addedToStage||!fe.has(e.instanceId)||(e.$addedToStage=!1,e.willTrigger(m.REMOVED_FROM_STAGE)&&e.dispatchEvent(new m(m.REMOVED_FROM_STAGE)),e.uniqueKey&&O.has(e.uniqueKey)&&O.removeTimer(e.uniqueKey))},ns=e=>{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(Dn(s),s.isContainerEnabled&&ns(s))}},rs=(e,t)=>{const u=t.parent;if(u&&u.instanceId!==e.instanceId)return;const s=e.children,n=s.indexOf(t);n>-1&&s.splice(n,1),e.$container=null,t.hasEventListener(m.ENTER_FRAME)&&t.removeAllEventListener(m.ENTER_FRAME),t.hasEventListener(B.KEY_DOWN)&&t.removeAllEventListener(B.KEY_DOWN),t.hasEventListener(B.KEY_UP)&&t.removeAllEventListener(B.KEY_UP),dc(t),fe.has(e.instanceId)&&(Dn(t),t.isContainerEnabled&&ns(t)),fe.has(e.instanceId)&&(ke.delete(t),fe.delete(t.instanceId),t.isVideo&&t.pause(),t.isContainerEnabled&&Bn(t)),t.parent=null,V(e)},_n=(e,t)=>{const u=e.children;return t in u?u[t]:null},fc=(e,t)=>{const u=_n(e,t);u&&rs(e,u)},bc=(e,t)=>{if(e.instanceId===t.instanceId)return!0;const u=e.children;for(let s=0;s<u.length;++s){const n=u[s];if(n){if(n.instanceId===t.instanceId)return!0;if(n.isContainerEnabled&&n.contains(t))return!0}}return!1},$c=(e,t)=>{if(!t)return null;const u=e.children;for(let s=0;s<u.length;++s){const n=u[s];if(!(!n.name||n.name!==t))return n}return null},xc=(e,t)=>{const u=e.children.slice();if(u.length)for(let s=0;s<t.length;s++){const n=t[s],r=u[n];r&&rs(e,r)}},mc=(e,t,u)=>{const s=e.getChildIndex(t);if(s===-1||s===u)return;const n=e.children;n.splice(s,1),n.splice(u,0,t),V(e)},gc=(e,t,u)=>{const s=e.getChildIndex(t),n=e.getChildIndex(u);if(s===-1||n===-1)return;const r=e.children;r[s]=u,r[n]=t,V(e)},pc=(e,t,u)=>{const s=e.children,n=s[t],r=s[u];!n||!r||(s[t]=r,s[u]=n,V(e))};class as extends ru{mouseEnabled;isInteractive;constructor(){super(),this.isInteractive=!0,this.mouseEnabled=!0}}class is extends as{_$children;_$mask;mouseChildren;$container;isContainerEnabled;constructor(){super(),this.isContainerEnabled=!0,this.mouseChildren=!0,this._$mask=null,this._$children=U(),this.$container=null}get children(){return this._$children}get numChildren(){return this.children.length}get mask(){return this._$mask}set mask(t){t!==this._$mask&&(this._$mask&&(this._$mask.isMask=!1,this._$mask=null),t&&(t.isMask=!0,this._$mask=t),V(this))}addChild(t){return Rs(this,t)}addChildAt(t,u){return Rs(this,t,u)}contains(t){return bc(this,t)}getChildAt(t){return _n(this,t)}getChildByName(t){return $c(this,t)}getChildIndex(t){return this.children.indexOf(t)}removeChild(t){rs(this,t)}removeChildAt(t){fc(this,t)}removeChildren(...t){xc(this,t)}setChildIndex(t,u){mc(this,t,u)}swapChildren(t,u){gc(this,t,u)}swapChildrenAt(t,u){pc(this,t,u)}}class Un extends je{name;frame;constructor(t,u){super(),this.name=`${t}`,this.frame=u|0}}class Tc extends je{id;content;data;url;format;constructor(){super(),this.id=$n(),this.url="",this.content=null,this.data=null,this.format="json"}}const Ec=(e,t=!1,u=null)=>{const s=e.parent?e.parent.globalToLocal(ft):e.globalToLocal(ft);e.$lockCenter=t,e.$offsetX=e.x-s.x,e.$offsetY=e.y-s.y,e.$boundedRect=u,Tn(e)},yc=e=>{e.$lockCenter=!1,e.$offsetX=0,e.$offsetY=0,e.$boundedRect=null,Tn(null)};class cs extends is{buttonMode;useHandCursor;isSprite;hitArea;_$soundTransform;$offsetX=0;$offsetY=0;$lockCenter=!1;$boundedRect=null;constructor(){super(),this.isSprite=!0,this.buttonMode=!1,this.useHandCursor=!0,this.hitArea=null,this.$offsetX=0,this.$offsetY=0,this.$lockCenter=!1,this.$boundedRect=null,this._$soundTransform=null}get soundTransform(){return this._$soundTransform}set soundTransform(t){this._$soundTransform=t}startDrag(t=!1,u=null){Ec(this,t,u)}stopDrag(){yc(this)}}const qn=e=>{e.isBitmap=!1,e.$bitmapBuffer=null,e.graphics.clear(),e.uniqueKey!==""&&O.has(e.uniqueKey)&&(O.removeById(e.uniqueKey),O.$removeIds.push(+e.uniqueKey)),V(e)},Xn=(e,t,u,s)=>{qn(e),e.isBitmap=!0,e.$bitmapBuffer=s,e.graphics.xMin=0,e.graphics.yMin=0,e.graphics.xMax=t,e.graphics.yMax=u},Mc=(e,t)=>{const u=new Image;u.crossOrigin="anonymous",u.addEventListener("load",()=>{const s=u.width,n=u.height,r=O.getCanvas();r.width=s,r.height=n;const a=r.getContext("2d",{willReadFrequently:!0});a.drawImage(u,0,0,s,n),Xn(e,s,n,new Uint8Array(a.getImageData(0,0,s,n).data)),O.destroy(a),e.hasEventListener(m.COMPLETE)&&e.dispatchEvent(new m(m.COMPLETE))}),u.src=t},wc=(e,t)=>{const u=e.graphics,s=Math.ceil(Math.abs(t.bounds.xMax-t.bounds.xMin)),n=Math.ceil(Math.abs(t.bounds.yMax-t.bounds.yMin));switch(!0){case t.bitmapId>0:{const a=e.loaderInfo.data?.characters[t.bitmapId];if(!a)break;e.isBitmap=!0,a.imageBuffer||(a.imageBuffer=new Uint8Array(a.buffer),a.buffer=null);const i=Math.ceil(Math.abs(a.bounds.xMax-a.bounds.xMin)),c=Math.ceil(Math.abs(a.bounds.yMax-a.bounds.yMin));if(t.grid){if(t.recodes){const o=t.recodes.slice(0);o.splice(-6,6);const d=new Ne(i,c);d.buffer=a.imageBuffer,o.push(y.BITMAP_FILL,d,null,!0,!1,9);const l=kt(o);u.buffer=new Float32Array(l),ee(o),ee(l)}}else if(s===i&&n===c)e.setBitmapBuffer(Math.ceil(Math.abs(a.bounds.xMax-a.bounds.xMin)),Math.ceil(Math.abs(a.bounds.yMax-a.bounds.yMin)),a.imageBuffer);else{const o=new Ne(i,c);if(o.buffer=a.imageBuffer,t.recodes)if(t.recodes[t.recodes.length-10]===y.BITMAP_STROKE){const l=t.recodes.slice(0);l.splice(-5,5),l.push(o,null,!0,!1);const h=kt(l);u.buffer=new Float32Array(h),ee(l),ee(h)}else u.beginBitmapFill(o).drawRect(0,0,s,n)}}break;case t.inBitmap:{e.isBitmap=!0;const r=t.recodes,a=r[r.length-4];if(s===a.width&&n===a.height)e.setBitmapBuffer(a.width,a.height,a.buffer);else{const i=new Ne(a.width,a.height);i.buffer=a.buffer,u.beginBitmapFill(i).drawRect(0,0,s,n)}}break;case"buffer"in t:t.imageBuffer||(t.imageBuffer=new Uint8Array(t.buffer),t.buffer=null),e.setBitmapBuffer(Math.ceil(Math.abs(u.xMax-u.xMin)),Math.ceil(Math.abs(u.yMax-u.yMin)),t.imageBuffer);break;default:t.recodes&&(t.recodeBuffer=new Float32Array(kt(t.recodes)),ee(t.recodes),t.recodes=null),t.recodeBuffer&&(u.buffer=t.recodeBuffer);break}u.xMin=t.bounds.xMin,u.xMax=t.bounds.xMax,u.yMin=t.bounds.yMin,u.yMax=t.bounds.yMax,t.grid&&(e.scale9Grid=new be(t.grid.x,t.grid.y,t.grid.w,t.grid.h))};class $t extends ru{_$graphics;_$src;isShape;cacheKey;cacheParams;isBitmap;$bitmapBuffer;constructor(){super(),this.isShape=!0,this.cacheKey=0,this.cacheParams=U(0,0,0),this._$graphics=null,this._$src="",this.$bitmapBuffer=null,this.isBitmap=!1}static get namespace(){return"next2d.display.Shape"}get namespace(){return"next2d.display.Shape"}get graphics(){return this._$graphics||(this._$graphics=new y,ui.set(this._$graphics,this)),this._$graphics}get src(){return this._$src}set src(t){this._$src!==t&&(this._$src=t,Mc(this,t))}get bitmapData(){const t=new Ne(this.width,this.height);return this.$bitmapBuffer&&(t.buffer=this.$bitmapBuffer),t}clearBitmapBuffer(){qn(this)}setBitmapBuffer(t,u,s){Xn(this,t,u,s)}$sync(t,u=null){u&&super.$syncLoaderInfo(u),wc(this,t)}}let Vn=null;const ks=e=>{Vn=e},Fe=()=>Vn,ie=document.createElement("textarea");ie.tabIndex=-1;let pe="";pe+="position: fixed;";pe+="top: 0;";pe+="left: 0;";pe+="font-size: 16px;";pe+="border: 0;";pe+="resize: none;";pe+="opacity: 0;";pe+="z-index: -1;";pe+="pointer-events: none;";ie.setAttribute("style",pe);const Fu=document.createElement("canvas");Fu.width=Fu.height=1;const Pe=Fu.getContext("2d");let Yn=0;const yt=()=>Yn,ot=e=>{Yn=e},Ac=e=>Pe?(Pe.fillStyle=e,+`0x${Pe.fillStyle.slice(1)}`):0,Qe=e=>isNaN(+e)?Ac(`${e}`):+e,vc=(e,t=1)=>({R:(e&16711680)>>16,G:(e&65280)>>8,B:e&255,A:t*255}),ht=(e,t,u,s=null)=>{const n=+e;return isNaN(n)&&s!==null?s:Math.min(Math.max(t,isNaN(n)?0:n),u)};let Wn;const _t=()=>Wn,Hn=e=>{Wn=e},ze={x:0,y:0};class se{align;bold;color;font;italic;leading;leftMargin;letterSpacing;rightMargin;size;underline;constructor(t=null,u=null,s=null,n=null,r=null,a=null,i=null,c=null,o=null,d=null,l=null){this.font=t,this.size=u,this.color=s,this.bold=n,this.italic=r,this.underline=a,this.align=i,this.leftMargin=c,this.rightMargin=o,this.leading=d,this.letterSpacing=l}clone(){return new se(this.font,this.size,this.color,this.bold,this.italic,this.underline,this.align,this.leftMargin,this.rightMargin,this.leading,this.letterSpacing)}toObject(){return{font:this.font,size:this.size,color:Qe(this.color),bold:this.bold,italic:this.italic,underline:this.underline,align:this.align,leftMargin:this.leftMargin,rightMargin:this.rightMargin,leading:this.leading,letterSpacing:this.letterSpacing}}}const Ic=e=>{e.align="left",e.bold=!1,e.color=0,e.font="Times New Roman",e.italic=!1,e.leading=0,e.leftMargin=0,e.letterSpacing=0,e.rightMargin=0,e.size=12,e.underline=!1},Sc=e=>{let t="";if(e.font&&(t+=`font-family: ${e.font};`),e.size&&(t+=`font-size: ${e.size}px;`),e.color){const u=vc(Qe(e.color)),s=u.R.toString(16).padStart(2,"0"),n=u.G.toString(16).padStart(2,"0"),r=u.B.toString(16).padStart(2,"0");t+=`color: #${s}${n}${r};`}return e.bold&&(t+="font-weight: bold;"),e.italic&&(t+="font-style: italic;"),e.underline&&(t+="text-decoration: underline;"),e.align&&(t+=`text-align: ${e.align};`),e.leftMargin&&(t+=`margin-left: ${e.leftMargin}px;`),e.rightMargin&&(t+=`margin-right: ${e.rightMargin}px;`),e.leading&&(t+=`margin-bottom: ${e.leading}px;`),e.letterSpacing&&(t+=`letter-spacing: ${e.letterSpacing}px;`),t};class Rc{_$textWidth;_$textHeight;heightTable;ascentTable;widthTable;textTable;lineTable;constructor(){this._$textWidth=-1,this._$textHeight=-1,this.widthTable=[],this.heightTable=[],this.ascentTable=[],this.textTable=[],this.lineTable=[]}get textWidth(){if(this._$textWidth!==-1)return this._$textWidth;this._$textWidth=0;for(let t=0;t<this.widthTable.length;++t)this._$textWidth=Math.max(this._$textWidth,this.widthTable[t]);return this._$textWidth}get textHeight(){if(this._$textHeight!==-1)return this._$textHeight;this._$textHeight=0;for(let t=0;t<this.heightTable.length;++t)this._$textHeight+=this.heightTable[t];return this._$textHeight}getLineWidth(t){return t in this.widthTable?this.widthTable[t]:0}getLineHeight(t){return t in this.heightTable?this.heightTable[t]:0}clear(){this._$textWidth=-1,this._$textHeight=-1,this.widthTable.length=0,this.heightTable.length=0,this.ascentTable.length=0,this.textTable.length=0,this.lineTable.length=0}}const kc=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Oc=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Eu;const Fc=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Os=(Eu=String.fromCodePoint)!==null&&Eu!==void 0?Eu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Lc(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Fc.get(e))!==null&&t!==void 0?t:e}var Z;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Z||(Z={}));const Cc=32;var Se;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Se||(Se={}));function Lu(e){return e>=Z.ZERO&&e<=Z.NINE}function Nc(e){return e>=Z.UPPER_A&&e<=Z.UPPER_F||e>=Z.LOWER_A&&e<=Z.LOWER_F}function Pc(e){return e>=Z.UPPER_A&&e<=Z.UPPER_Z||e>=Z.LOWER_A&&e<=Z.LOWER_Z||Lu(e)}function Bc(e){return e===Z.EQUALS||Pc(e)}var K;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(K||(K={}));var me;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(me||(me={}));class Dc{constructor(t,u,s){this.decodeTree=t,this.emitCodePoint=u,this.errors=s,this.state=K.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=me.Strict}startEntity(t){this.decodeMode=t,this.state=K.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,u){switch(this.state){case K.EntityStart:return t.charCodeAt(u)===Z.NUM?(this.state=K.NumericStart,this.consumed+=1,this.stateNumericStart(t,u+1)):(this.state=K.NamedEntity,this.stateNamedEntity(t,u));case K.NumericStart:return this.stateNumericStart(t,u);case K.NumericDecimal:return this.stateNumericDecimal(t,u);case K.NumericHex:return this.stateNumericHex(t,u);case K.NamedEntity:return this.stateNamedEntity(t,u)}}stateNumericStart(t,u){return u>=t.length?-1:(t.charCodeAt(u)|Cc)===Z.LOWER_X?(this.state=K.NumericHex,this.consumed+=1,this.stateNumericHex(t,u+1)):(this.state=K.NumericDecimal,this.stateNumericDecimal(t,u))}addToNumericResult(t,u,s,n){if(u!==s){const r=s-u;this.result=this.result*Math.pow(n,r)+Number.parseInt(t.substr(u,r),n),this.consumed+=r}}stateNumericHex(t,u){const s=u;for(;u<t.length;){const n=t.charCodeAt(u);if(Lu(n)||Nc(n))u+=1;else return this.addToNumericResult(t,s,u,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(t,s,u,16),-1}stateNumericDecimal(t,u){const s=u;for(;u<t.length;){const n=t.charCodeAt(u);if(Lu(n))u+=1;else return this.addToNumericResult(t,s,u,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(t,s,u,10),-1}emitNumericEntity(t,u){var s;if(this.consumed<=u)return(s=this.errors)===null||s===void 0||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Z.SEMI)this.consumed+=1;else if(this.decodeMode===me.Strict)return 0;return this.emitCodePoint(Lc(this.result),this.consumed),this.errors&&(t!==Z.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,u){const{decodeTree:s}=this;let n=s[this.treeIndex],r=(n&Se.VALUE_LENGTH)>>14;for(;u<t.length;u++,this.excess++){const a=t.charCodeAt(u);if(this.treeIndex=_c(s,n,this.treeIndex+Math.max(1,r),a),this.treeIndex<0)return this.result===0||this.decodeMode===me.Attribute&&(r===0||Bc(a))?0:this.emitNotTerminatedNamedEntity();if(n=s[this.treeIndex],r=(n&Se.VALUE_LENGTH)>>14,r!==0){if(a===Z.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==me.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:u,decodeTree:s}=this,n=(s[u]&Se.VALUE_LENGTH)>>14;return this.emitNamedEntityData(u,n,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,u,s){const{decodeTree:n}=this;return this.emitCodePoint(u===1?n[t]&~Se.VALUE_LENGTH:n[t+1],s),u===3&&this.emitCodePoint(n[t+2],s),s}end(){var t;switch(this.state){case K.NamedEntity:return this.result!==0&&(this.decodeMode!==me.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case K.NumericDecimal:return this.emitNumericEntity(0,2);case K.NumericHex:return this.emitNumericEntity(0,3);case K.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case K.EntityStart:return 0}}}function _c(e,t,u,s){const n=(t&Se.BRANCH_LENGTH)>>7,r=t&Se.JUMP_TABLE;if(n===0)return r!==0&&s===r?u:-1;if(r){const c=s-r;return c<0||c>=n?-1:e[u+c]-1}let a=u,i=a+n-1;for(;a<=i;){const c=a+i>>>1,o=e[c];if(o<s)a=c+1;else if(o>s)i=c-1;else return e[c+n]}return-1}var I;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(I||(I={}));var x;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(x||(x={}));function ye(e){return e===I.Space||e===I.NewLine||e===I.Tab||e===I.FormFeed||e===I.CarriageReturn}function Mt(e){return e===I.Slash||e===I.Gt||ye(e)}function Uc(e){return e>=I.LowerA&&e<=I.LowerZ||e>=I.UpperA&&e<=I.UpperZ}var ge;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(ge||(ge={}));const z={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class qc{constructor({xmlMode:t=!1,decodeEntities:u=!0},s){this.cbs=s,this.state=x.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=x.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=u,this.entityDecoder=new Dc(t?Oc:kc,(n,r)=>this.emitCodePoint(n,r))}reset(){this.state=x.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=x.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===I.Lt||!this.decodeEntities&&this.fastForwardTo(I.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=x.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===I.Amp&&this.startEntity()}stateSpecialStartSequence(t){const u=this.sequenceIndex===this.currentSequence.length;if(!(u?Mt(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!u){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=x.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===I.Gt||ye(t)){const u=this.index-this.currentSequence.length;if(this.sectionStart<u){const s=this.index;this.index=u,this.cbs.ontext(this.sectionStart,u),this.index=s}this.isSpecial=!1,this.sectionStart=u+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===z.TitleEnd?this.decodeEntities&&t===I.Amp&&this.startEntity():this.fastForwardTo(I.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===I.Lt)}stateCDATASequence(t){t===z.Cdata[this.sequenceIndex]?++this.sequenceIndex===z.Cdata.length&&(this.state=x.InCommentLike,this.currentSequence=z.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=x.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===z.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=x.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!Mt(t):Uc(t)}startSpecial(t,u){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=u,this.state=x.SpecialStartSequence}stateBeforeTagName(t){if(t===I.ExclamationMark)this.state=x.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===I.Questionmark)this.state=x.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const u=t|32;this.sectionStart=this.index,this.xmlMode?this.state=x.InTagName:u===z.ScriptEnd[2]?this.state=x.BeforeSpecialS:u===z.TitleEnd[2]||u===z.XmpEnd[2]?this.state=x.BeforeSpecialT:this.state=x.InTagName}else t===I.Slash?this.state=x.BeforeClosingTagName:(this.state=x.Text,this.stateText(t))}stateInTagName(t){Mt(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=x.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){ye(t)||(t===I.Gt?this.state=x.Text:(this.state=this.isTagStartChar(t)?x.InClosingTagName:x.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===I.Gt||ye(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=x.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===I.Gt||this.fastForwardTo(I.Gt))&&(this.state=x.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===I.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=x.InSpecialTag,this.sequenceIndex=0):this.state=x.Text,this.sectionStart=this.index+1):t===I.Slash?this.state=x.InSelfClosingTag:ye(t)||(this.state=x.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===I.Gt?(this.cbs.onselfclosingtag(this.index),this.state=x.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ye(t)||(this.state=x.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===I.Eq||Mt(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=x.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===I.Eq?this.state=x.BeforeAttributeValue:t===I.Slash||t===I.Gt?(this.cbs.onattribend(ge.NoValue,this.sectionStart),this.sectionStart=-1,this.state=x.BeforeAttributeName,this.stateBeforeAttributeName(t)):ye(t)||(this.cbs.onattribend(ge.NoValue,this.sectionStart),this.state=x.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===I.DoubleQuote?(this.state=x.InAttributeValueDq,this.sectionStart=this.index+1):t===I.SingleQuote?(this.state=x.InAttributeValueSq,this.sectionStart=this.index+1):ye(t)||(this.sectionStart=this.index,this.state=x.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,u){t===u||!this.decodeEntities&&this.fastForwardTo(u)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u===I.DoubleQuote?ge.Double:ge.Single,this.index+1),this.state=x.BeforeAttributeName):this.decodeEntities&&t===I.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,I.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,I.SingleQuote)}stateInAttributeValueNoQuotes(t){ye(t)||t===I.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(ge.Unquoted,this.index),this.state=x.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===I.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===I.OpeningSquareBracket?(this.state=x.CDATASequence,this.sequenceIndex=0):this.state=t===I.Dash?x.BeforeComment:x.InDeclaration}stateInDeclaration(t){(t===I.Gt||this.fastForwardTo(I.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=x.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===I.Gt||this.fastForwardTo(I.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=x.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===I.Dash?(this.state=x.InCommentLike,this.currentSequence=z.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=x.InDeclaration}stateInSpecialComment(t){(t===I.Gt||this.fastForwardTo(I.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=x.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const u=t|32;u===z.ScriptEnd[3]?this.startSpecial(z.ScriptEnd,4):u===z.StyleEnd[3]?this.startSpecial(z.StyleEnd,4):(this.state=x.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){switch(t|32){case z.TitleEnd[3]:{this.startSpecial(z.TitleEnd,4);break}case z.TextareaEnd[3]:{this.startSpecial(z.TextareaEnd,4);break}case z.XmpEnd[3]:{this.startSpecial(z.XmpEnd,4);break}default:this.state=x.InTagName,this.stateInTagName(t)}}startEntity(){this.baseState=this.state,this.state=x.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?me.Strict:this.baseState===x.Text||this.baseState===x.InSpecialTag?me.Legacy:me.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===x.Text||this.state===x.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===x.InAttributeValueDq||this.state===x.InAttributeValueSq||this.state===x.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case x.Text:{this.stateText(t);break}case x.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case x.InSpecialTag:{this.stateInSpecialTag(t);break}case x.CDATASequence:{this.stateCDATASequence(t);break}case x.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case x.InAttributeName:{this.stateInAttributeName(t);break}case x.InCommentLike:{this.stateInCommentLike(t);break}case x.InSpecialComment:{this.stateInSpecialComment(t);break}case x.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case x.InTagName:{this.stateInTagName(t);break}case x.InClosingTagName:{this.stateInClosingTagName(t);break}case x.BeforeTagName:{this.stateBeforeTagName(t);break}case x.AfterAttributeName:{this.stateAfterAttributeName(t);break}case x.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case x.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case x.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case x.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case x.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case x.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case x.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case x.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case x.InDeclaration:{this.stateInDeclaration(t);break}case x.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case x.BeforeComment:{this.stateBeforeComment(t);break}case x.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case x.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===x.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===x.InCommentLike?this.currentSequence===z.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===x.InTagName||this.state===x.BeforeAttributeName||this.state===x.BeforeAttributeValue||this.state===x.AfterAttributeName||this.state===x.InAttributeName||this.state===x.InAttributeValueSq||this.state===x.InAttributeValueDq||this.state===x.InAttributeValueNq||this.state===x.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,u){this.baseState!==x.Text&&this.baseState!==x.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+u,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+u,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}}const Ye=new Set(["input","option","optgroup","select","button","datalist","textarea"]),P=new Set(["p"]),Fs=new Set(["thead","tbody"]),Ls=new Set(["dd","dt"]),Cs=new Set(["rt","rp"]),Xc=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",P],["h1",P],["h2",P],["h3",P],["h4",P],["h5",P],["h6",P],["select",Ye],["input",Ye],["output",Ye],["button",Ye],["datalist",Ye],["textarea",Ye],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Ls],["dt",Ls],["address",P],["article",P],["aside",P],["blockquote",P],["details",P],["div",P],["dl",P],["fieldset",P],["figcaption",P],["figure",P],["footer",P],["form",P],["header",P],["hr",P],["main",P],["nav",P],["ol",P],["pre",P],["section",P],["table",P],["ul",P],["rt",Cs],["rp",Cs],["tbody",Fs],["tfoot",Fs]]),Vc=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Ns=new Set(["math","svg"]),Ps=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Yc=/\s|\//;class Wc{constructor(t,u={}){var s,n,r,a,i,c;this.options=u,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(s=u.lowerCaseTags)!==null&&s!==void 0?s:this.htmlMode,this.lowerCaseAttributeNames=(n=u.lowerCaseAttributeNames)!==null&&n!==void 0?n:this.htmlMode,this.recognizeSelfClosing=(r=u.recognizeSelfClosing)!==null&&r!==void 0?r:!this.htmlMode,this.tokenizer=new((a=u.Tokenizer)!==null&&a!==void 0?a:qc)(this.options,this),this.foreignContext=[!this.htmlMode],(c=(i=this.cbs).onparserinit)===null||c===void 0||c.call(i,this)}ontext(t,u){var s,n;const r=this.getSlice(t,u);this.endIndex=u-1,(n=(s=this.cbs).ontext)===null||n===void 0||n.call(s,r),this.startIndex=u}ontextentity(t,u){var s,n;this.endIndex=u-1,(n=(s=this.cbs).ontext)===null||n===void 0||n.call(s,Os(t)),this.startIndex=u}isVoidElement(t){return this.htmlMode&&Vc.has(t)}onopentagname(t,u){this.endIndex=u;let s=this.getSlice(t,u);this.lowerCaseTagNames&&(s=s.toLowerCase()),this.emitOpenTag(s)}emitOpenTag(t){var u,s,n,r;this.openTagStart=this.startIndex,this.tagname=t;const a=this.htmlMode&&Xc.get(t);if(a)for(;this.stack.length>0&&a.has(this.stack[0]);){const i=this.stack.shift();(s=(u=this.cbs).onclosetag)===null||s===void 0||s.call(u,i,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(Ns.has(t)?this.foreignContext.unshift(!0):Ps.has(t)&&this.foreignContext.unshift(!1))),(r=(n=this.cbs).onopentagname)===null||r===void 0||r.call(n,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var u,s;this.startIndex=this.openTagStart,this.attribs&&((s=(u=this.cbs).onopentag)===null||s===void 0||s.call(u,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,u){var s,n,r,a,i,c,o,d;this.endIndex=u;let l=this.getSlice(t,u);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),this.htmlMode&&(Ns.has(l)||Ps.has(l))&&this.foreignContext.shift(),this.isVoidElement(l))this.htmlMode&&l==="br"&&((a=(r=this.cbs).onopentagname)===null||a===void 0||a.call(r,"br"),(c=(i=this.cbs).onopentag)===null||c===void 0||c.call(i,"br",{},!0),(d=(o=this.cbs).onclosetag)===null||d===void 0||d.call(o,"br",!1));else{const h=this.stack.indexOf(l);if(h!==-1)for(let b=0;b<=h;b++){const f=this.stack.shift();(n=(s=this.cbs).onclosetag)===null||n===void 0||n.call(s,f,b!==h)}else this.htmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=u+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var u,s;const n=this.tagname;this.endOpenTag(t),this.stack[0]===n&&((s=(u=this.cbs).onclosetag)===null||s===void 0||s.call(u,n,!t),this.stack.shift())}onattribname(t,u){this.startIndex=t;const s=this.getSlice(t,u);this.attribname=this.lowerCaseAttributeNames?s.toLowerCase():s}onattribdata(t,u){this.attribvalue+=this.getSlice(t,u)}onattribentity(t){this.attribvalue+=Os(t)}onattribend(t,u){var s,n;this.endIndex=u,(n=(s=this.cbs).onattribute)===null||n===void 0||n.call(s,this.attribname,this.attribvalue,t===ge.Double?'"':t===ge.Single?"'":t===ge.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const u=t.search(Yc);let s=u<0?t:t.substr(0,u);return this.lowerCaseTagNames&&(s=s.toLowerCase()),s}ondeclaration(t,u){this.endIndex=u;const s=this.getSlice(t,u);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(s);this.cbs.onprocessinginstruction(`!${n}`,`!${s}`)}this.startIndex=u+1}onprocessinginstruction(t,u){this.endIndex=u;const s=this.getSlice(t,u);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(s);this.cbs.onprocessinginstruction(`?${n}`,`?${s}`)}this.startIndex=u+1}oncomment(t,u,s){var n,r,a,i;this.endIndex=u,(r=(n=this.cbs).oncomment)===null||r===void 0||r.call(n,this.getSlice(t,u-s)),(i=(a=this.cbs).oncommentend)===null||i===void 0||i.call(a),this.startIndex=u+1}oncdata(t,u,s){var n,r,a,i,c,o,d,l,h,b;this.endIndex=u;const f=this.getSlice(t,u-s);!this.htmlMode||this.options.recognizeCDATA?((r=(n=this.cbs).oncdatastart)===null||r===void 0||r.call(n),(i=(a=this.cbs).ontext)===null||i===void 0||i.call(a,f),(o=(c=this.cbs).oncdataend)===null||o===void 0||o.call(c)):((l=(d=this.cbs).oncomment)===null||l===void 0||l.call(d,`[CDATA[${f}]]`),(b=(h=this.cbs).oncommentend)===null||b===void 0||b.call(h)),this.startIndex=u+1}onend(){var t,u;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let s=0;s<this.stack.length;s++)this.cbs.onclosetag(this.stack[s],!0)}(u=(t=this.cbs).onend)===null||u===void 0||u.call(t)}reset(){var t,u,s,n;(u=(t=this.cbs).onreset)===null||u===void 0||u.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(s=this.cbs).onparserinit)===null||n===void 0||n.call(s,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,u){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let s=this.buffers[0].slice(t-this.bufferOffset,u-this.bufferOffset);for(;u-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),s+=this.buffers[0].slice(0,u-this.bufferOffset);return s}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var u,s;if(this.ended){(s=(u=this.cbs).onerror)===null||s===void 0||s.call(u,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var u,s;if(this.ended){(s=(u=this.cbs).onerror)===null||s===void 0||s.call(u,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}}var C;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(C||(C={}));function Hc(e){return e.type===C.Tag||e.type===C.Script||e.type===C.Style}C.Root;C.Text;C.Directive;C.Comment;C.Script;C.Style;C.Tag;C.CDATA;C.Doctype;class zn{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Jn(this,t)}}class os extends zn{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class Cu extends os{constructor(){super(...arguments),this.type=C.Text}get nodeType(){return 3}}class Gn extends os{constructor(){super(...arguments),this.type=C.Comment}get nodeType(){return 8}}class Kn extends os{constructor(t,u){super(u),this.name=t,this.type=C.Directive}get nodeType(){return 1}}class ls extends zn{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class Qn extends ls{constructor(){super(...arguments),this.type=C.CDATA}get nodeType(){return 4}}class Nu extends ls{constructor(){super(...arguments),this.type=C.Root}get nodeType(){return 9}}class Zn extends ls{constructor(t,u,s=[],n=t==="script"?C.Script:t==="style"?C.Style:C.Tag){super(s),this.name=t,this.attribs=u,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var u,s;return{name:t,value:this.attribs[t],namespace:(u=this["x-attribsNamespace"])===null||u===void 0?void 0:u[t],prefix:(s=this["x-attribsPrefix"])===null||s===void 0?void 0:s[t]}})}}function zc(e){return Hc(e)}function Gc(e){return e.type===C.CDATA}function Kc(e){return e.type===C.Text}function Qc(e){return e.type===C.Comment}function Zc(e){return e.type===C.Directive}function Jc(e){return e.type===C.Root}function Jn(e,t=!1){let u;if(Kc(e))u=new Cu(e.data);else if(Qc(e))u=new Gn(e.data);else if(zc(e)){const s=t?yu(e.children):[],n=new Zn(e.name,{...e.attribs},s);s.forEach(r=>r.parent=n),e.namespace!=null&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...e["x-attribsPrefix"]}),u=n}else if(Gc(e)){const s=t?yu(e.children):[],n=new Qn(s);s.forEach(r=>r.parent=n),u=n}else if(Jc(e)){const s=t?yu(e.children):[],n=new Nu(s);s.forEach(r=>r.parent=n),e["x-mode"]&&(n["x-mode"]=e["x-mode"]),u=n}else if(Zc(e)){const s=new Kn(e.name,e.data);e["x-name"]!=null&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),u=s}else throw new Error(`Not implemented yet: ${e.type}`);return u.startIndex=e.startIndex,u.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(u.sourceCodeLocation=e.sourceCodeLocation),u}function yu(e){const t=e.map(u=>Jn(u,!0));for(let u=1;u<t.length;u++)t[u].prev=t[u-1],t[u-1].next=t[u];return t}const Bs={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class jc{constructor(t,u,s){this.dom=[],this.root=new Nu(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof u=="function"&&(s=u,u=Bs),typeof t=="object"&&(u=t,t=void 0),this.callback=t??null,this.options=u??Bs,this.elementCB=s??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new Nu(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;const t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,u){const s=this.options.xmlMode?C.Tag:void 0,n=new Zn(t,u,void 0,s);this.addNode(n),this.tagStack.push(n)}ontext(t){const{lastNode:u}=this;if(u&&u.type===C.Text)u.data+=t,this.options.withEndIndices&&(u.endIndex=this.parser.endIndex);else{const s=new Cu(t);this.addNode(s),this.lastNode=s}}oncomment(t){if(this.lastNode&&this.lastNode.type===C.Comment){this.lastNode.data+=t;return}const u=new Gn(t);this.addNode(u),this.lastNode=u}oncommentend(){this.lastNode=null}oncdatastart(){const t=new Cu(""),u=new Qn([t]);this.addNode(u),t.parent=u,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,u){const s=new Kn(t,u);this.addNode(s)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){const u=this.tagStack[this.tagStack.length-1],s=u.children[u.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),u.children.push(t),s&&(t.prev=s,s.next=t),t.parent=u,this.lastNode=null}}function eo(e,t){const u=new jc(void 0,t);return new Wc(u,t).end(e),u.root}const jn=e=>{let t="";return e.italic&&(t="italic "),e.bold&&(t+="bold "),`${t}${e.size}px '${e.font}',sans-serif`},Pu=(e,t)=>{ot(0);const u=e.lineTable.length;Pe.font=jn(t);const s=Pe.measureText(""),n={mode:"break",text:"",x:0,y:0,w:0,h:s.fontBoundingBoxAscent+s.fontBoundingBoxDescent,line:u,textFormat:t.toObject()};e.heightTable[u]=0,e.ascentTable[u]=0,e.widthTable[u]=0,e.lineTable.push(n),e.textTable.push(n)},to=e=>{const t=e.heightTable.length-1;for(let u=1;u<t;++u){if(e.heightTable[u]>0)continue;const n=e.lineTable[u];n&&(e.heightTable[u]=n.h=e.heightTable[u-1])}},er=e=>{let t=0;return e.leftMargin&&(t+=e.leftMargin),e.rightMargin&&(t+=e.rightMargin),t},uo=(e,t,u,s)=>{let n=u.lineTable.length-1;const r=s.width-er(t)-4;for(let a=0;a<e.length;++a){const i=s.textFormats?s.textFormats.shift():t,c=e[a],o={mode:"text",text:c,x:0,y:0,w:0,h:0,line:n,textFormat:i.toObject()};Pe.font=jn(i);const d=Pe.measureText(c||""),l=i.letterSpacing?d.width+i.letterSpacing:d.width,h=i.leading?d.fontBoundingBoxAscent+d.fontBoundingBoxDescent+i.leading:d.fontBoundingBoxAscent+d.fontBoundingBoxDescent;if(o.x=0,o.y=d.fontBoundingBoxAscent,o.w=l,o.h=h,ot(yt()+l),s.wordWrap&&yt()>r){ot(l),n++,o.line=n;const b={mode:"wrap",text:"",x:0,y:0,w:0,h:0,line:n,textFormat:i.toObject()};let f=1,p=!0;const $=/[0-9a-zA-Z?!;:.,?!。、;:〜]/g;for(;;){const g=u.textTable.length-f;if(0>=g){p=!1,f=0;break}const R=u.textTable[g];if(!R){p=!1,f=0;break}if(R.mode!=="text"){p=!1;break}if(R.text===" "){f--;break}if(!R.text.match($)){f--;break}f++}if(u.widthTable[n]=0,u.heightTable[n]=0,u.ascentTable[n]=0,f>0&&p){const g=u.textTable.length-f;u.textTable.splice(g,0,b),u.lineTable.push(b);const R=n-1;u.widthTable[R]=0,u.heightTable[R]=0,u.ascentTable[R]=0;for(let S=0;S<g;++S){const k=u.textTable[S];k&&k.line===R&&k.mode==="text"&&(u.widthTable[R]+=k.w,u.heightTable[R]=Math.max(u.heightTable[R],k.h),u.ascentTable[R]=Math.max(u.ascentTable[R],k.y))}ot(0);for(let S=g+1;S<u.textTable.length;++S){const k=u.textTable[S];k.line=n,ot(yt()+k.w)}}else u.textTable.push(b),u.lineTable.push(b)}u.widthTable[n]=yt(),u.heightTable[n]=Math.max(u.heightTable[n],h),u.ascentTable[n]=Math.max(u.ascentTable[n],o.y),u.textTable.push(o)}},so=e=>{const t=e.trim().split(";"),u=[];for(let s=0;s<t.length;++s){const n=t[s];if(!n)continue;const r=n.split(":"),a=r[0].trim(),i=r[1].trim();switch(a){case"font-size":u.push({name:"size",value:parseInt(i)});break;case"font-family":u.push({name:"face",value:i.replace(/'|"/g,"")});break;case"letter-spacing":u.push({name:"letterSpacing",value:parseInt(i)});break;case"margin-bottom":u.push({name:"leading",value:parseInt(i)});break;case"margin-left":u.push({name:"leftMargin",value:parseInt(i)});break;case"margin-right":u.push({name:"rightMargin",value:parseInt(i)});break;case"color":case"align":u.push({name:a,value:i});break;case"text-decoration":case"font-weight":case"font-style":u.push({name:i,value:!0});break}}return u},Bu=(e,t,u)=>{for(let s=0;s<e.length;++s){const n=e[s];switch(n.name){case"style":Bu(so(n.value),t,u);break;case"align":t.align=n.value;break;case"face":t.font=n.value;break;case"size":t.size=+n.value,u.subFontSize&&(t.size-=u.subFontSize,1>t.size&&(t.size=1));break;case"color":t.color=Qe(n.value);break;case"letterSpacing":t.letterSpacing=parseInt(n.value);break;case"leading":t.leading=parseInt(n.value);break;case"leftMargin":t.leftMargin=parseInt(n.value);break;case"rightMargin":t.rightMargin=parseInt(n.value);break;case"underline":t.underline=!0;break;case"bold":t.bold=!0;break;case"italic":t.italic=!0;break}}},Du=(e,t,u,s)=>{for(let n=0;n<e.children.length;++n){const r=e.children[n];if(r.nodeType===3){uo(r.nodeValue||"",t,u,s);continue}const a=t.clone();switch(r.name.toUpperCase()){case"DIV":case"P":Bu(r.attributes,a,s),s.multiline&&Pu(u,a),Du(r,a,u,s);continue;case"U":a.underline=!0;break;case"B":a.bold=!0;break;case"I":a.italic=!0;break;case"FONT":case"SPAN":Bu(r.attributes,a,s);break;case"BR":if(!s.multiline)continue;Pu(u,a);break}Du(r,a,u,s)}},no=(e,t,u)=>{const s=new Rc;if(!e)return s;const n=e.trim().replace(/\r?\n/g,"").replace(/\t/g,""),r=t.clone();return u.subFontSize&&u.subFontSize>0&&r.size&&(r.size-=u.subFontSize,1>r.size&&(r.size=1)),Pu(s,r),Du(eo(n),r,s,u),to(s),s},q=(e,t=0)=>(e.$textData||(e.$textData=no(e.htmlText,e.defaultTextFormat,{width:e.width,multiline:e.multiline,wordWrap:e.wordWrap,subFontSize:t,textFormats:e.$textFormats})),e.$textData),_=e=>{e.changed=!0;const t=e.parent;t&&!t.changed&&_(t)},_u=e=>{e.$textData=null,_(e),e.uniqueKey!==""&&O.has(e.uniqueKey)&&(O.removeById(e.uniqueKey),O.$removeIds.push(+e.uniqueKey))},ro=e=>{if(_(e),e.autoSize==="none"){e.xMin=e.bounds.xMin,e.yMin=e.bounds.yMin,e.xMax=e.bounds.xMax,e.yMax=e.bounds.yMax;return}const t=e.defaultTextFormat,u=e.textWidth+4+er(t);if(e.wordWrap)e.xMin=e.bounds.xMin,e.xMax=e.bounds.xMax;else switch(e.autoSize){case"left":e.xMax=u+e.xMin;break;case"center":e.xMax=u+e.xMin;break;case"right":e.xMax=e.bounds.xMax-(e.bounds.xMax-e.bounds.xMin-(u-e.bounds.xMin));break}e.yMax=e.textHeight+e.bounds.yMin+4},ao=e=>{let t=0;const u=q(e);for(let n=0;n<u.textTable.length;++n){const r=u.textTable[n];t=Math.max(t,r.textFormat.size||0)}let s=1;if(e.width&&e.textWidth)for(;t>s&&e.textWidth+4>e.width;)_u(e),q(e,s++);if(e.height&&e.textHeight)for(;t>s&&e.textHeight+4>e.height;)_u(e),q(e,s++);_(e)},Te=e=>{_u(e),q(e),e.autoSize==="none"&&e.autoFontSize&&ao(e),ro(e)},io=(e,t)=>{const u=q(e);if(2>u.textTable.length)return;let s=2,n=0;for(let h=1;h<u.textTable.length;++h){const b=u.textTable[h];if(!b)continue;let f=!1;if(b.mode==="text"&&(f=!0,s+=b.w),n>=t){n=h;break}b.mode==="break"&&(f=!0,s=2),f&&n++}const r=u.textTable[n];if(!r)return;e.$scrollX=e.$scrollY=0;const a=r.line;let i=0;for(let h=0;h<=a;++h)i+=u.heightTable[h];const c=Math.abs(e.yMax-e.yMin);let o=0;for(let h=a;h>-1;--h){const b=u.heightTable[h];if(c<o+b)break;o+=b}if(i>c){const h=(e.textHeight-c)/c;e.$scrollY=Math.max(0,Math.min((i-o)/h,c))}const d=Math.abs(e.xMax-e.xMin);let l=0;for(let h=n;h>0;--h){const b=u.textTable[h];if(b.mode==="text"){if(d<l+b.w)break;l+=b.w}}if(s>d){const h=(e.textWidth-d)/d;e.$scrollX=Math.max(0,Math.min((s-l)/h,d+.5))}_(e)},ae=()=>{const e=_t();e!==void 0&&clearTimeout(e),Hn(void 0)},co=window.devicePixelRatio,oo=e=>{const t=e.localToGlobal(new J),u=e.$textData;if(u){const n=u.textTable[e.focusIndex];if(n){for(let a=e.focusIndex-1;a>-1;--a){const i=u.textTable[a];if(!i||i.line!==n.line)break;t.x+=i.w}const r=n.mode==="break"?n.line-1:n.line;for(let a=0;a<r;++a)t.y+=u.heightTable[a]}}const s=T.rendererScale/co;ie.style.left=`${ze.x+t.x*s}px`,ie.style.top=`${ze.y+t.y*s}px`},le=e=>{e.focusVisible=!e.focusVisible,_(e),Hn(setTimeout(()=>le(e),500)),oo(e)},lo=(e,t)=>{e.willTrigger(t)&&e.dispatchEvent(new De(t)),ie.value="",e.focus?(setTimeout(()=>{ie.focus()},300),_t()===void 0&&(e.focusIndex===-1&&(e.focusIndex=1,e.selectIndex=-1),le(e))):(e.focusIndex=-1,e.selectIndex=-1,e.focusVisible=!1,ae(),ie.blur()),_(e)},ho=(e,t,u,s)=>e/s*u+t,fo=(e,t,u,s)=>(e/=s)*e*u+t,bo=(e,t,u,s)=>-(e/=s)*(e-2)*u+t,$o=(e,t,u,s)=>(e/=s/2)<1?e*e*u/2+t:-((e-=1)*(e-2)-1)*u/2+t,xo=(e,t,u,s)=>(e/=s)*e*e*u+t,mo=(e,t,u,s)=>(e/=s,(--e*e*e+1)*u+t),go=(e,t,u,s)=>(e/=s/2)<1?e*e*e*u/2+t:((e-=2)*e*e+2)*u/2+t,po=(e,t,u,s)=>(e/=s)*e*e*e*u+t,To=(e,t,u,s)=>(e/=s,(--e*e*e*e-1)*-u+t),Eo=(e,t,u,s)=>(e/=s/2)<1?e*e*e*e*u/2+t:((e-=2)*e*e*e-2)*-u/2+t,yo=(e,t,u,s)=>(e/=s)*e*e*e*e*u+t,Mo=(e,t,u,s)=>(e/=s,(--e*e*e*e*e+1)*u+t),wo=(e,t,u,s)=>(e/=s/2)<1?e*e*e*e*e*u/2+t:((e-=2)*e*e*e*e+2)*u/2+t,Ao=(e,t,u,s)=>-u*Math.cos(e/s*(Math.PI/2))+u+t,vo=(e,t,u,s)=>u*Math.sin(e/s*(Math.PI/2))+t,Io=(e,t,u,s)=>-u/2*(Math.cos(Math.PI*e/s)-1)+t,So=(e,t,u,s)=>u*Math.pow(2,10*(e/s-1))+t,Ro=(e,t,u,s)=>u*(-Math.pow(2,-10*e/s)+1)+t,ko=(e,t,u,s)=>(e/=s/2)<1?u/2*Math.pow(2,10*(e-1))+t:u/2*(-Math.pow(2,-10*(e-1))+2)+t,Oo=(e,t,u,s)=>(1-Math.sqrt(1-(e/=s)*e))*u+t,Fo=(e,t,u,s)=>(e/=s,Math.sqrt(1- --e*e)*u+t),Lo=(e,t,u,s)=>(e/=s*2)<1?(Math.sqrt(1-e*e)-1)/-2*u+t:(Math.sqrt(1-(e-=2)*e)+1)/2*u+t,Co=(e,t,u,s)=>(2.70158*(e/=s)*e*e-1.70158*e*e)*u+t,No=(e,t,u,s)=>(1+2.70158*Math.pow((e/=s)-1,3)+1.70158*Math.pow(e-1,2))*u+t,Po=(e,t,u,s)=>{let n=1.70158;return(e/=s/2)<1?e*e*(((n*=1.525)+1)*e-n)*u/2+t:((e-=2)*e*(((n*=1.525)+1)*e+n)+2)*u/2+t},Bo=(e,t,u,s)=>(e/=s)===0?t:e===1?u+t:-Math.pow(2,(e*=10)-10)*Math.sin((e-10.75)*(2*Math.PI/3))*u+t,Do=(e,t,u,s)=>(e/=s)===0?t:e===1?u+t:(Math.pow(2,-10*e)*Math.sin((e*10-.75)*(2*Math.PI/3))+1)*u+t,_o=(e,t,u,s)=>(e/=s)===0?t:e===1?u+t:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5)))/2*u+t:(Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2+1)*u+t,Uo=(e,t,u,s)=>(e/=s)<1/2.75?7.5625*e*e*u+t:e<2/2.75?(7.5625*(e-=1.5/2.75)*e+.75)*u+t:e<2.5/2.75?(7.5625*(e-=2.25/2.75)*e+.9375)*u+t:(7.5625*(e-=2.625/2.75)*e+.984375)*u+t,qo=(e,t,u,s)=>u-_e.outBounce(s-e,0,u,s)+t,Xo=(e,t,u,s)=>e<s/2?_e.inBounce(e*2,t,u/2,s):_e.outBounce(e*2-s,t+u/2,u/2,s);class _e{static linear(t,u,s,n){return ho(t,u,s,n)}static inQuad(t,u,s,n){return fo(t,u,s,n)}static outQuad(t,u,s,n){return bo(t,u,s,n)}static inOutQuad(t,u,s,n){return $o(t,u,s,n)}static inCubic(t,u,s,n){return xo(t,u,s,n)}static outCubic(t,u,s,n){return mo(t,u,s,n)}static inOutCubic(t,u,s,n){return go(t,u,s,n)}static inQuart(t,u,s,n){return po(t,u,s,n)}static outQuart(t,u,s,n){return To(t,u,s,n)}static inOutQuart(t,u,s,n){return Eo(t,u,s,n)}static inQuint(t,u,s,n){return yo(t,u,s,n)}static outQuint(t,u,s,n){return Mo(t,u,s,n)}static inOutQuint(t,u,s,n){return wo(t,u,s,n)}static inSine(t,u,s,n){return Ao(t,u,s,n)}static outSine(t,u,s,n){return vo(t,u,s,n)}static inOutSine(t,u,s,n){return Io(t,u,s,n)}static inExpo(t,u,s,n){return So(t,u,s,n)}static outExpo(t,u,s,n){return Ro(t,u,s,n)}static inOutExpo(t,u,s,n){return ko(t,u,s,n)}static inCirc(t,u,s,n){return Oo(t,u,s,n)}static outCirc(t,u,s,n){return Fo(t,u,s,n)}static inOutCirc(t,u,s,n){return Lo(t,u,s,n)}static inBack(t,u,s,n){return Co(t,u,s,n)}static outBack(t,u,s,n){return No(t,u,s,n)}static inOutBack(t,u,s,n){return Po(t,u,s,n)}static inElastic(t,u,s,n){return Bo(t,u,s,n)}static outElastic(t,u,s,n){return Do(t,u,s,n)}static inOutElastic(t,u,s,n){return _o(t,u,s,n)}static outBounce(t,u,s,n){return Uo(t,u,s,n)}static inBounce(t,u,s,n){return qo(t,u,s,n)}static inOutBounce(t,u,s,n){return Xo(t,u,s,n)}}const Vo=e=>{cancelAnimationFrame(e.$timerId),e.hasEventListener(xe.STOP)&&e.dispatchEvent(new xe(xe.STOP)),e.entries=null,e.stopFlag=!0},tr=e=>{const t=[];for(const[u,s]of Object.entries(e))t.push({name:u,value:typeof s=="number"?s:tr(s)});return t},ur=(e,t,u,s,n)=>{for(let r=0;r<n.length;++r){const a=n[r];if(!a)continue;const i=a.name;if(!(i in t)||!(i in s))continue;if(typeof a.value!="number"){ur(e,t[i],u[i],s[i],a.value);continue}const c=u[i];e.duration>e.currentTime?t[i]=e.ease(e.currentTime,c,s[i]-c,e.duration):t[i]=s[i]}},sr=(e,t)=>e.stopFlag||!e.entries?-1:(e.currentTime=(t-e.startTime)/1e3,ur(e,e.target,e.from,e.to,e.entries),e.hasEventListener(xe.UPDATE)&&e.dispatchEvent(new xe(xe.UPDATE)),e.currentTime>=e.duration?(e.hasEventListener(xe.COMPLETE)&&e.dispatchEvent(new xe(xe.COMPLETE)),e.nextJob&&e.nextJob.start(),-1):requestAnimationFrame(u=>{sr(e,u)})),Ds=e=>{e.stopFlag||(e.entries=tr(e.from),e.entries&&(e.startTime=performance.now(),e.$timerId=sr(e,e.startTime)))},Yo=e=>{cancelAnimationFrame(e.$timerId),e.stopFlag=!1,e.delay?setTimeout(()=>{Ds(e)},e.delay*1e3):Ds(e)};class Wo extends je{target;entries;startTime;stopFlag;$timerId;delay;duration;ease;from;to;currentTime;nextJob;constructor(t,u,s,n=0,r=1,a=null){super(),this.target=t,this.from=u,this.to=s,this.delay=n,this.duration=r,this.ease=a||_e.linear,this.currentTime=0,this.nextJob=null,this.entries=null,this.startTime=0,this.stopFlag=!1,this.$timerId=-1}chain(t){return this.nextJob=t,t}start(){Yo(this)}stop(){Vo(this)}}class hs{static add(t,u,s,n=0,r=1,a=null){return new Wo(t,u,s,n,r,a)}}const Ho=(e,t)=>{if(!e.scrollEnabled||e.autoSize!=="none"||e.yScrollShape.hasLocalVariable("job"))return;const u=e.width;if(t=ht(t,0,u,0),e.scrollX!==t){if(e.textWidth>u){_(e);const s=e.xScrollShape;s.width=u*u/e.textWidth;const n=e.parent;if(n){s.hasLocalVariable("job")&&s.getLocalVariable("job").stop(),s.alpha=.9,s.x=e.x+1+(u-1-s.width)/(u-1)*(t-1),s.y=e.y+e.height-s.height-.5,n.addChildAt(s,n.getChildIndex(e)+1);const r=hs.add(s,{alpha:.9},{alpha:0},.5,.2,_e.outQuad);r.addEventListener(m.COMPLETE,a=>{const i=a.target.target;i.deleteLocalVariable("job"),i.parent&&i.parent.removeChild(i)}),r.start(),s.setLocalVariable("job",r)}e.$scrollX=t}e.willTrigger(m.SCROLL)&&e.dispatchEvent(new m(m.SCROLL,!0))}},zo=(e,t)=>{if(!e.scrollEnabled||e.autoSize!=="none"||!e.multiline&&!e.wordWrap||e.xScrollShape.hasLocalVariable("job"))return;const u=e.height;if(t=ht(t,0,u,0),e.scrollY!==t){if(e.textHeight>u){_(e);const s=e.yScrollShape;s.height=u*u/e.textHeight;const n=e.parent;if(n){s.hasLocalVariable("job")&&s.getLocalVariable("job").stop(),s.alpha=.9,s.x=e.x+e.width-s.width-.5,s.y=e.y+.5+(u-1-s.height)/(u-1)*(t-1),n.addChildAt(s,n.getChildIndex(e)+1);const r=hs.add(s,{alpha:.9},{alpha:0},.5,.2,_e.outQuad);r.addEventListener(m.COMPLETE,a=>{const i=a.target.target;i.deleteLocalVariable("job"),i.parent&&i.parent.removeChild(i)}),r.start(),s.setLocalVariable("job",r),e.$scrollY=t}}e.willTrigger(m.SCROLL)&&e.dispatchEvent(new m(m.SCROLL,!0))}},Go=e=>{let t="";const u=q(e);for(let s=1;s<u.textTable.length;++s){const n=u.textTable[s];if(n)switch(n.mode){case"text":t+=n.text;break;case"break":t+="\r";break;default:continue}}return t},Ko=(e,t)=>{let u="";const s=q(e);for(let n=1;n<s.textTable.length;n++){const r=s.textTable[n];if(r){if(r.line>t)break;r.line===t&&r.mode==="text"&&(u+=r.text)}}return u},Qo=(e,t,u,s)=>{if(0>u||u>s)return;const n=e.text,r=u?n.slice(0,u):"";e.text=r+t+n.slice(s,n.length)},Zo=async e=>{if(e.focusIndex===-1||e.selectIndex===-1)return;let t="";const u=Math.min(e.focusIndex,e.selectIndex),s=Math.max(e.focusIndex,e.selectIndex)+1,n=q(e);for(let r=u;r<s;++r){const a=n.textTable[r];if(a)switch(a.mode){case"text":t+=a.text;break;case"break":t+=`
|
|
660
660
|
`;break}}await navigator.clipboard.writeText(t)},Jo=async e=>{const t=await navigator.clipboard.readText();t===""||e.focusIndex===-1||e.insertText(t)},ds=e=>{if(e.compositionStartIndex>-1)return;let t=0,u=0;if(e.selectIndex>-1)t=Math.min(e.focusIndex,e.selectIndex),u=Math.max(e.focusIndex,e.selectIndex)+1,e.focusIndex=t;else{if(2>e.focusIndex)return;e.focusIndex--}const s=q(e),n=s.textTable[e.focusIndex];n&&n.mode==="wrap"&&e.focusIndex--;const r=[];let a="";for(let i=1;i<s.textTable.length;++i){const c=s.textTable[i];if(c&&!(e.focusIndex===i||t<=i&&u>i))switch(c.mode){case"break":r.push(new se(...Object.values(c.textFormat))),a+=`
|
|
661
661
|
`;break;case"text":r.push(new se(...Object.values(c.textFormat))),a+=c.text;break;default:continue}}if(s.textTable.length===e.focusIndex&&(r.pop(),a=a.slice(0,-1)),e.selectIndex=-1,!a)e.text="",e.focusIndex=1;else{const i=e.textWidth,c=e.textHeight;if(e.$textFormats=r,e.text=a,e.scrollX>0){const o=e.textWidth,d=e.width;switch(!0){case d>o:e.$scrollX=0;break;case i!==o:e.$scrollX-=(i-o)/(o/d);break}}if(e.scrollY>0){const o=e.textHeight,d=e.height;switch(!0){case d>o:e.$scrollY=0;break;case c!==o:e.$scrollY-=(c-o)/(o/d);break}}e.$textFormats=null}},nr=(e,t)=>{if(e.focusIndex===-1||e.compositionStartIndex>-1)return;e.selectIndex>-1&&ds(e);const u=q(e);if(2>u.textTable.length){e.focusIndex=2,e.appendText(t);return}const s=[];let n="";for(let r=1;r<u.textTable.length;++r){const a=u.textTable[r];if(a){if(e.focusIndex===r)for(let i=0;i<t.length;++i)s.push(new se(...Object.values(a.textFormat))),n+=t[i];switch(a.mode){case"break":s.push(new se(...Object.values(a.textFormat))),n+=`
|
|
662
662
|
`;break;case"text":s.push(new se(...Object.values(a.textFormat))),n+=a.text;break;default:continue}}}if(u.textTable.length===e.focusIndex){let r;if(u.textTable.length){const a=u.textTable[u.textTable.length-1];r=new se(...Object.values(a.textFormat))}else r=e.defaultTextFormat,e.focusIndex++;for(let a=0;a<t.length;++a)s.push(new se(...Object.values(r.toObject()))),n+=t[a]}e.$textFormats=s,e.text=n,e.$textFormats=null,e.focusIndex+=t.length,e.selectIndex=-1,ie.value=""},_s=e=>{if(e.selectIndex===-1)return;const t=q(e);if(2>t.textTable.length)return;const u=t.textTable[e.selectIndex];if(!u)return;const s=u.mode==="text"?u.line:u.line-1,n=e.height,r=(e.textHeight-n)/n;let a=-e.scrollY*r-2,i=0;for(let f=0;f<t.heightTable.length&&(a+=t.heightTable[f],!(a>n));++f)i++;a=-e.scrollY*r-2;let c=0;for(let f=0;f<t.heightTable.length&&(a+=t.heightTable[f],!(a>0));++f)c++;c>=u.line&&(e.xScrollShape.hasLocalVariable("job")&&e.xScrollShape.deleteLocalVariable("job"),e.scrollY-=t.heightTable[u.line]/r),u.line>=i&&(e.xScrollShape.hasLocalVariable("job")&&e.xScrollShape.deleteLocalVariable("job"),e.scrollY+=t.heightTable[u.line]/r);const o=e.width,d=(e.textWidth-o)/o;let l=2,h=e.scrollX*d-2+o;for(let f=1;e.selectIndex>=f;++f){const p=t.textTable[f];if(!p||p.line>s)break;if(p.line===s&&(e.selectIndex!==f&&(l+=p.w),h-=p.w,!(h>0))){e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX+=p.w/d;break}}e.scrollX*d-2>l&&(e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX=e.width*((l-2)/e.textWidth))},jo=(e,t,u,s=!1)=>{if(e.type!=="input")return;const n=q(e);if(2>n.textTable.length){e.focusIndex=1,e.selectIndex=-1,_t()===void 0&&le(e);return}const r=e.width,a=e.height;let i=0;e.scrollX>0&&(i+=e.scrollX*(e.textWidth-r)/r);let c=0;e.scrollY>0&&(c+=e.scrollY*(e.textHeight-a)/a);const o=e.globalToLocal(new J(t,u)),d=o.x+i,l=o.y+c;let h=2,b=2,f=b+n.heightTable[0];for(let p=1;p<n.textTable.length;++p){const $=n.textTable[p];if($){switch($.mode){case"break":case"wrap":if(d>h&&l>b&&f>l&&r>d){const g=p;s?e.selectIndex!==g&&(e.selectIndex=g,e.focusVisible&&(e.focusVisible=!1,ae()),_s(e),_(e)):(e.focusIndex!==g||e.selectIndex>-1)&&(e.focusIndex=g,e.selectIndex=-1,_(e));return}h=2,b+=n.heightTable[$.line-1],f=b+n.heightTable[$.line];break;case"text":if(d>h&&l>b&&f>l&&h+$.w>d){let g=p;if(s)e.focusIndex>g?e.focusIndex===g+1?h+$.w/2<d&&(g=-1):h+$.w/2<d&&(g+=1):e.focusIndex===g?h+$.w/2>d&&(g=-1):h+$.w/2>d&&(g-=1),e.selectIndex!==g&&(e.selectIndex=g,e.selectIndex>-1&&(e.focusVisible=!1,ae()),_s(e),_(e));else{if(h+$.w/2<d){const R=n.textTable[g+1];(!R||R.mode==="text")&&(g+=1)}(e.focusIndex!==g||e.selectIndex>-1)&&(e.focusIndex=g,e.selectIndex=-1,_(e))}return}if(p===n.textTable.length-1&&d>h&&l>b&&f>l&&r>d){const g=n.textTable.length;s?e.selectIndex!==g&&(e.selectIndex=g,e.focusVisible&&(e.focusVisible=!1,ae()),_(e)):(e.focusIndex!==g||e.selectIndex>-1)&&(e.focusIndex=g,e.selectIndex=-1,_(e));return}h+=$.w;break}if(!s)e.focusIndex=n.textTable.length,e.selectIndex=-1,_t()===void 0?le(e):_(e);else{let g=0;for(let R=0;n.heightTable.length>R;++R)g+=n.heightTable[R];(l>g||2>l)&&(e.selectIndex=2>l?1:n.textTable.length,e.focusVisible&&(e.focusVisible=!1,ae()),_(e))}}}},e0=(e,t)=>{if(e.focusIndex===-1)return;const u=q(e);if(2>u.textTable.length)return;const s=u.textTable[e.focusIndex];if(!s)return;const n=s.mode==="text"?s.line:s.line-1;if(n===u.lineTable.length-1){t?e.selectIndex===-1?e.selectIndex=e.focusIndex:e.selectIndex===e.focusIndex&&(e.selectIndex=-1):e.selectIndex=-1,e.focusVisible=!1,e.focusIndex=u.textTable.length;const h=e.width,b=(e.textWidth-h)/h;let f=0;for(let p=1;e.focusIndex>=p;++p){const $=u.textTable[p];if(!$||$.line>n)break;$.line===n&&(f+=$.w)}e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX=(f-h)/b,ae(),le(e);return}const r=e.height,a=(e.textHeight-r)/r;let i=-e.scrollY*a-2,c=0;for(let h=0;h<u.heightTable.length&&(i+=u.heightTable[h],!(i>r));++h)c++;let o=2;for(let h=1;h<u.textTable.length;++h){const b=u.textTable[h];if(b){if(e.focusIndex===h){b.mode==="text"&&(o+=b.w/2);break}if(b.line>n)break;b.line!==n||b.mode!=="text"||(o+=b.w)}}let d=2;const l=n+1;for(let h=1;h<u.textTable.length;++h){const b=u.textTable[h];if(b){if(b.line>l){t?e.selectIndex===-1?e.selectIndex=e.focusIndex:e.selectIndex===e.focusIndex&&(e.selectIndex=-1):e.selectIndex=-1,b.line>=c&&(e.xScrollShape.hasLocalVariable("job")&&e.xScrollShape.deleteLocalVariable("job"),e.scrollY+=u.heightTable[b.line]/a),e.focusVisible=!1,e.focusIndex=b.mode==="text"?h-1:h,e.scrollX&&d<o&&(e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX=e.width*((d-2)/e.textWidth)),ae(),le(e);return}if(!(b.line!==l||b.mode!=="text")&&(d+=b.w,d>o)){if(t?e.selectIndex===-1?e.selectIndex=e.focusIndex:e.selectIndex===h-1&&(e.selectIndex=-1):e.selectIndex=-1,b.line>=c&&(e.xScrollShape.hasLocalVariable("job")&&e.xScrollShape.deleteLocalVariable("job"),e.scrollY+=u.heightTable[b.line]/a),e.scrollX){const f=e.width,p=(e.textWidth-f)/f;e.scrollX*p-2>d&&(e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX=e.width*((d-2)/e.textWidth))}e.focusVisible=!1,e.focusIndex=h,ae(),le(e);return}}}t?e.selectIndex===-1&&(e.selectIndex=e.focusIndex):e.selectIndex=-1,e.focusVisible=!1,e.focusIndex=u.textTable.length,ae(),le(e)},t0=(e,t)=>{if(e.focusIndex===-1)return;const u=q(e);if(2>u.textTable.length)return;const s=u.textTable.length===e.focusIndex?e.focusIndex-1:e.focusIndex,n=u.textTable[s];if(!n||!n.line){t?e.selectIndex===-1?e.selectIndex=e.focusIndex:e.selectIndex===e.focusIndex&&(e.selectIndex=-1):e.selectIndex=-1,e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.focusVisible=!1,e.focusIndex=1,e.scrollX=0,ae(),le(e);return}const r=n.mode==="text"?n.line:n.line-1,a=e.height,i=(e.textHeight-a)/a;let c=0,o=-e.scrollY*i-2;for(let b=0;b<u.heightTable.length&&(o+=u.heightTable[b],!(o>0));++b)c++;let d=2;for(let b=1;b<u.textTable.length;++b){const f=u.textTable[b];if(f){if(e.focusIndex===b){f.mode==="text"&&(d+=f.w/2);break}if(f.line>r)break;f.line!==r||f.mode!=="text"||(d+=f.w)}}let l=2;const h=r-1;for(let b=1;b<u.textTable.length;++b){const f=u.textTable[b];if(f){if(f.line>h){t?e.selectIndex===-1?e.selectIndex=e.focusIndex:e.selectIndex===e.focusIndex&&(e.selectIndex=-1):e.selectIndex=-1,c>=f.line&&(e.xScrollShape.hasLocalVariable("job")&&e.xScrollShape.deleteLocalVariable("job"),e.scrollY-=u.heightTable[f.line]/i),e.scrollX&&(e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX=e.width*((l-2)/e.textWidth)),e.focusVisible=!1,e.focusIndex=f.mode==="text"?b-1:b,ae(),le(e);return}if(!(f.line!==h||f.mode!=="text")&&(l+=f.w,l>d)){t?e.selectIndex===-1?e.selectIndex=e.focusIndex-1:e.selectIndex===b+1&&(e.selectIndex=-1):e.selectIndex=-1,c>f.line&&(e.xScrollShape.hasLocalVariable("job")&&e.xScrollShape.deleteLocalVariable("job"),e.scrollY-=u.heightTable[f.line]/i),e.focusVisible=!1,e.focusIndex=b,ae(),le(e);return}}}},u0=(e,t)=>{if(!e.focusIndex)return;const u=q(e);if(u.textTable.length&&e.focusIndex<2){e.focusIndex=1;return}e.focusIndex--,t?e.selectIndex===-1?e.selectIndex=e.focusIndex:e.selectIndex===e.focusIndex&&(e.selectIndex=-1):e.selectIndex=-1;const s=u.textTable[e.focusIndex];if(s){const n=s.mode==="text"?s.line:s.line-1,r=e.height,a=(e.textHeight-r)/r;let i=-e.scrollY*a-2,c=0;for(let d=0;d<u.heightTable.length&&(i+=u.heightTable[d],!(i>0));++d)c++;c>n&&(e.xScrollShape.hasLocalVariable("job")&&e.xScrollShape.deleteLocalVariable("job"),e.scrollY-=u.heightTable[s.line]/a);const o=u.textTable[e.focusIndex+1];if(o){const d=o.mode==="text"?o.line:o.line-1;let l=2;for(let p=1;e.focusIndex>p;++p){const $=u.textTable[p];if(!$||$.line>n)break;$.line===n&&(l+=$.w)}const h=e.width,b=(e.textWidth-h)/h,f=e.scrollX*b-2;if(l>h&&o&&n<d){e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX=e.width;return}if(f>l){e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX=e.width*((l-2)/e.textWidth);return}}}e.focusVisible=!1,ae(),le(e)},s0=(e,t)=>{const u=q(e);if(u.textTable.length===e.focusIndex)return;t?e.selectIndex===-1?e.selectIndex=e.focusIndex:e.selectIndex===e.focusIndex&&(e.selectIndex=-1):e.selectIndex=-1,e.focusVisible=!1,e.focusIndex++,ae(),le(e);const s=u.textTable[e.focusIndex];if(s){const n=s.mode==="text"?s.line:s.line-1,r=e.height,a=(e.textHeight-r)/r;let i=-e.scrollY*a-2,c=0;for(let f=0;f<u.heightTable.length&&(i+=u.heightTable[f],!(i>r));++f)c++;n>=c&&(e.xScrollShape.hasLocalVariable("job")&&e.xScrollShape.deleteLocalVariable("job"),e.scrollY+=u.heightTable[n]/a);const o=u.textTable[e.focusIndex-1],d=o.mode==="text"?o.line:o.line-1;if(o&&n>d){e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX=0;return}const l=e.width,h=(e.textWidth-l)/l;let b=e.scrollX*h-2+l;for(let f=1;e.focusIndex>=f;++f){const p=u.textTable[f];if(!p||p.line>n)break;if(p.line===n&&(b-=p.w,!(b>0))){e.yScrollShape.hasLocalVariable("job")&&e.yScrollShape.deleteLocalVariable("job"),e.scrollX+=p.w/h;break}}}},n0=(e,t)=>{if(e.focusIndex!==-1)switch(t.key){case"Backspace":case"Delete":e.deleteText();break;case"Enter":e.insertText(`
|
|
@@ -681,4 +681,4 @@ void main() {
|
|
|
681
681
|
}
|
|
682
682
|
}
|
|
683
683
|
</style>
|
|
684
|
-
<div id="${t}"></div>`};let en=-1;const Ll=()=>{window.addEventListener("resize",()=>{cancelAnimationFrame(en),en=requestAnimationFrame(ou)})},vr=(e=null)=>{M.setOptions(e);const t=kl();Ol(t,M.fixedWidth,M.fixedHeight),Fl(t),!M.fixedWidth&&!M.fixedHeight&&Ll(),ou()},Cl=async(e,t=null)=>{if(e==="develop"){const r=location.search.slice(1).split("&")[0];if(!r)return;e=`${location.origin}/${r}`}if(!e)return;e.charAt(1)==="/"&&(e=e.slice(1)),vr(t);const u=new hr,s=u.contentLoaderInfo;if(s.addEventListener(Re.IO_ERROR,r=>{alert("Error: "+r.text)}),await u.load(new yr(e)),!s.data)return;const n=s.data.stage;T.stageWidth=n.width,T.stageHeight=n.height,T.frameRate=Ct(n.fps,1,60,60),T.backgroundColor=t&&t.bgColor?t.bgColor:n.bgColor,T.addChild(s.content),ou(),Ar(),Mr(),wr(),ms()};let tn=!1;const Nl=(e=240,t=240,u=60,s=null)=>{if(tn)return T.getChildAt(0);tn=!0,T.stageWidth=e|0,T.stageHeight=t|0,T.frameRate=Ct(u,1,60,60),vr(s);const n=T.addChild(new cs);return Ar(),Mr(),wr(),ms(),n},Ee={command:"capture",buffer:null,bgColor:16777215,bgAlpha:0,width:0,height:0,length:0,imageBitmaps:null},It=[],it=[],Pl=async(e,t,u,s,n=0,r=0)=>await new Promise(a=>{if(E.offset=0,It.length=0,it.length=0,T.$generateRenderQueue(e,it,t,u),!E.offset)return a(s);Ee.buffer=E.buffer,Ee.width=s.width,Ee.height=s.height,Ee.bgColor=n,Ee.bgAlpha=r,Ee.length=E.offset,It.push(E.buffer.buffer),Ee.imageBitmaps=null,it.length&&(Ee.imageBitmaps=it,It.push(...it));const i=c=>{if(c.data.message!=="capture")return;const o=c.data.buffer;return E.buffer.length<o.length&&(E.buffer=o),s.getContext("2d").drawImage(c.data.imageBitmap,0,0),we.removeEventListener("message",i),a(s)};we.addEventListener("message",i),we.postMessage(Ee,It)}),Ir=async e=>{switch(!0){case e.isVideo:{const t=e.muted;e.muted=!0,await e.play(),e.pause(),e.muted=t,await new Promise(u=>{const s=async()=>{e.loaded?(e.seek(0),u()):requestAnimationFrame(s)};requestAnimationFrame(s)})}break;case e.isContainerEnabled:{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(!s.isVideo&&!s.isContainerEnabled||await Ir(s))}}break}},Bl=new Float32Array([1,0,0,1,0,0]),Dl=new Float32Array([1,1,1,1,0,0,0,0]),_l=async(e,t=null)=>{t&&t.videoSync&&await Ir(e);const u=t&&t.colorTransform?t.colorTransform.rawData:Dl,s=new Float32Array([1,0,0,1,-e.width/2,-e.height/2]),n=t&&t.matrix?A.multiply(t.matrix.rawData,s):A.multiply(Bl,s),r=t&&t.canvas?t.canvas:O.getCanvas(),a=Math.sqrt(n[0]*n[0]+n[1]*n[1]),i=Math.sqrt(n[2]*n[2]+n[3]*n[3]),c=Math.ceil(e.width*a),o=Math.ceil(e.height*i);if(c<=0||o<=0)return r;n[4]+=c/2,n[5]+=o/2,r.width=c,r.height=o;const d=M.stopFlag;d||M.stop();let l=!1;const h=M.rendererWidth,b=M.rendererHeight,f=M.rendererScale;if(c>h||o>b){l=!0;const p=Math.min(c/T.stageWidth,o/T.stageHeight)*Ge;T.rendererScale=M.rendererScale=p,T.rendererWidth=M.rendererWidth=c,T.rendererHeight=M.rendererHeight=o,Wu(!1)}return await Pl(e,n,u,r,t&&t.bgColor?parseInt(t.bgColor.replace("#",""),16):0,t&&t.bgAlpha?t.bgAlpha:0),l&&(T.rendererScale=M.rendererScale=f,T.rendererWidth=M.rendererWidth=h,T.rendererHeight=M.rendererHeight=b,Wu(!1)),d||M.play(),A.release(n),t&&t.colorTransform&&L.release(u),r};class Ul{display;events;filters;geom;media;net;text;ui;_$promise;constructor(){this.display=zu,this.events=Hu,this.filters=Gu,this.geom=Ku,this.media=Qu,this.net=Zu,this.text=Ju,this.ui=ju,this._$promise=new Promise(t=>{document.readyState==="loading"?window.addEventListener("DOMContentLoaded",()=>t(),{once:!0}):t()})}async load(t,u=null){await Promise.all([this._$promise]),await Cl(t,u)}async createRootMovieClip(t=240,u=240,s=60,n=null){return await Promise.all([this._$promise]),Nl(t,u,s,n)}async captureToCanvas(t,u=null){return await _l(t,u)}}"next2d"in window||(console.log("%c Next2D Player %c 2.
|
|
684
|
+
<div id="${t}"></div>`};let en=-1;const Ll=()=>{window.addEventListener("resize",()=>{cancelAnimationFrame(en),en=requestAnimationFrame(ou)})},vr=(e=null)=>{M.setOptions(e);const t=kl();Ol(t,M.fixedWidth,M.fixedHeight),Fl(t),!M.fixedWidth&&!M.fixedHeight&&Ll(),ou()},Cl=async(e,t=null)=>{if(e==="develop"){const r=location.search.slice(1).split("&")[0];if(!r)return;e=`${location.origin}/${r}`}if(!e)return;e.charAt(1)==="/"&&(e=e.slice(1)),vr(t);const u=new hr,s=u.contentLoaderInfo;if(s.addEventListener(Re.IO_ERROR,r=>{alert("Error: "+r.text)}),await u.load(new yr(e)),!s.data)return;const n=s.data.stage;T.stageWidth=n.width,T.stageHeight=n.height,T.frameRate=Ct(n.fps,1,60,60),T.backgroundColor=t&&t.bgColor?t.bgColor:n.bgColor,T.addChild(s.content),ou(),Ar(),Mr(),wr(),ms()};let tn=!1;const Nl=(e=240,t=240,u=60,s=null)=>{if(tn)return T.getChildAt(0);tn=!0,T.stageWidth=e|0,T.stageHeight=t|0,T.frameRate=Ct(u,1,60,60),vr(s);const n=T.addChild(new cs);return Ar(),Mr(),wr(),ms(),n},Ee={command:"capture",buffer:null,bgColor:16777215,bgAlpha:0,width:0,height:0,length:0,imageBitmaps:null},It=[],it=[],Pl=async(e,t,u,s,n=0,r=0)=>await new Promise(a=>{if(E.offset=0,It.length=0,it.length=0,T.$generateRenderQueue(e,it,t,u),!E.offset)return a(s);Ee.buffer=E.buffer,Ee.width=s.width,Ee.height=s.height,Ee.bgColor=n,Ee.bgAlpha=r,Ee.length=E.offset,It.push(E.buffer.buffer),Ee.imageBitmaps=null,it.length&&(Ee.imageBitmaps=it,It.push(...it));const i=c=>{if(c.data.message!=="capture")return;const o=c.data.buffer;return E.buffer.length<o.length&&(E.buffer=o),s.getContext("2d").drawImage(c.data.imageBitmap,0,0),we.removeEventListener("message",i),a(s)};we.addEventListener("message",i),we.postMessage(Ee,It)}),Ir=async e=>{switch(!0){case e.isVideo:{const t=e.muted;e.muted=!0,await e.play(),e.pause(),e.muted=t,await new Promise(u=>{const s=async()=>{e.loaded?(e.seek(0),u()):requestAnimationFrame(s)};requestAnimationFrame(s)})}break;case e.isContainerEnabled:{const t=e.children;for(let u=0;u<t.length;++u){const s=t[u];s&&(!s.isVideo&&!s.isContainerEnabled||await Ir(s))}}break}},Bl=new Float32Array([1,0,0,1,0,0]),Dl=new Float32Array([1,1,1,1,0,0,0,0]),_l=async(e,t=null)=>{t&&t.videoSync&&await Ir(e);const u=t&&t.colorTransform?t.colorTransform.rawData:Dl,s=new Float32Array([1,0,0,1,-e.width/2,-e.height/2]),n=t&&t.matrix?A.multiply(t.matrix.rawData,s):A.multiply(Bl,s),r=t&&t.canvas?t.canvas:O.getCanvas(),a=Math.sqrt(n[0]*n[0]+n[1]*n[1]),i=Math.sqrt(n[2]*n[2]+n[3]*n[3]),c=Math.ceil(e.width*a),o=Math.ceil(e.height*i);if(c<=0||o<=0)return r;n[4]+=c/2,n[5]+=o/2,r.width=c,r.height=o;const d=M.stopFlag;d||M.stop();let l=!1;const h=M.rendererWidth,b=M.rendererHeight,f=M.rendererScale;if(c>h||o>b){l=!0;const p=Math.min(c/T.stageWidth,o/T.stageHeight)*Ge;T.rendererScale=M.rendererScale=p,T.rendererWidth=M.rendererWidth=c,T.rendererHeight=M.rendererHeight=o,Wu(!1)}return await Pl(e,n,u,r,t&&t.bgColor?parseInt(t.bgColor.replace("#",""),16):0,t&&t.bgAlpha?t.bgAlpha:0),l&&(T.rendererScale=M.rendererScale=f,T.rendererWidth=M.rendererWidth=h,T.rendererHeight=M.rendererHeight=b,Wu(!1)),d||M.play(),A.release(n),t&&t.colorTransform&&L.release(u),r};class Ul{display;events;filters;geom;media;net;text;ui;_$promise;constructor(){this.display=zu,this.events=Hu,this.filters=Gu,this.geom=Ku,this.media=Qu,this.net=Zu,this.text=Ju,this.ui=ju,this._$promise=new Promise(t=>{document.readyState==="loading"?window.addEventListener("DOMContentLoaded",()=>t(),{once:!0}):t()})}async load(t,u=null){await Promise.all([this._$promise]),await Cl(t,u)}async createRootMovieClip(t=240,u=240,s=60,n=null){return await Promise.all([this._$promise]),Nl(t,u,s,n)}async captureToCanvas(t,u=null){return await _l(t,u)}}"next2d"in window||(console.log("%c Next2D Player %c 2.10.0 %c https://next2d.app","color: #fff; background: #5f5f5f","color: #fff; background: #4bc729",""),window.next2d=new Ul);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/player",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Experience the fast and beautiful anti-aliased rendering of WebGL. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.",
|
|
5
5
|
"author": "Toshiyuki Ienaga<ienaga@next2d.app> (https://github.com/ienaga/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"fflate": "^0.8.2",
|
|
45
45
|
"htmlparser2": "^10.0.0",
|
|
46
|
-
"@next2d/cache": "2.
|
|
47
|
-
"@next2d/core": "2.
|
|
48
|
-
"@next2d/display": "2.
|
|
49
|
-
"@next2d/events": "2.
|
|
50
|
-
"@next2d/filters": "2.
|
|
51
|
-
"@next2d/geom": "2.
|
|
52
|
-
"@next2d/media": "2.
|
|
53
|
-
"@next2d/net": "2.
|
|
54
|
-
"@next2d/render-queue": "2.
|
|
55
|
-
"@next2d/text": "2.
|
|
56
|
-
"@next2d/ui": "2.
|
|
46
|
+
"@next2d/cache": "2.10.0",
|
|
47
|
+
"@next2d/core": "2.10.0",
|
|
48
|
+
"@next2d/display": "2.10.0",
|
|
49
|
+
"@next2d/events": "2.10.0",
|
|
50
|
+
"@next2d/filters": "2.10.0",
|
|
51
|
+
"@next2d/geom": "2.10.0",
|
|
52
|
+
"@next2d/media": "2.10.0",
|
|
53
|
+
"@next2d/net": "2.10.0",
|
|
54
|
+
"@next2d/render-queue": "2.10.0",
|
|
55
|
+
"@next2d/text": "2.10.0",
|
|
56
|
+
"@next2d/ui": "2.10.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@eslint/eslintrc": "^3.3.1",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"@rollup/plugin-terser": "^0.4.4",
|
|
64
64
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
65
65
|
"@types/node": "^24.10.1",
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
67
|
-
"@typescript-eslint/parser": "^8.
|
|
68
|
-
"@vitest/web-worker": "^4.0.
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^8.47.0",
|
|
67
|
+
"@typescript-eslint/parser": "^8.47.0",
|
|
68
|
+
"@vitest/web-worker": "^4.0.10",
|
|
69
69
|
"eslint": "^9.39.1",
|
|
70
70
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
71
71
|
"globals": "^16.5.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"tslib": "^2.8.1",
|
|
75
75
|
"typescript": "^5.9.3",
|
|
76
76
|
"vite": "^7.2.2",
|
|
77
|
-
"vitest": "^4.0.
|
|
77
|
+
"vitest": "^4.0.10",
|
|
78
78
|
"vitest-webgl-canvas-mock": "^1.1.0",
|
|
79
79
|
"xml2js": "^0.6.2"
|
|
80
80
|
}
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
import { Next2D } from "@next2d/core";
|
|
3
3
|
if (!("next2d" in window)) {
|
|
4
|
-
console.log("%c Next2D Player %c 2.
|
|
4
|
+
console.log("%c Next2D Player %c 2.10.0 %c https://next2d.app", "color: #fff; background: #5f5f5f", "color: #fff; background: #4bc729", "");
|
|
5
5
|
window.next2d = new Next2D();
|
|
6
6
|
}
|