PageSourceSearch

https://www.kontrata.net/_next/static/chunks/13cb6291.5599f0bc7f298d93.js

js kontrata.net collected 2026-10-09 05:18:08 UTC 21,219 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[22543],{19522:function(e,t,r){r.d(t,{H:function(){return m}});var a,n,l=r(38505),d=r(21521),s=r(16809),o=r(24669),i=r(66048),h=r(71277),u=r(62035),c=r(77726),g=r(80998),f=r(33126),F=r(50337),I=r(37246),p=r(15531);class m{scale=1;attachmentLoader;linkedMeshes=[];constructor(e){this.attachmentLoader=e}readSkeletonData(e){let t=this.scale,r=new g.p;r.name="";let a=new b(e),n=a.readInt32(),l=a.readInt32();r.hash=0==l&&0==n?null:l.toString(16)+n.toString(16),r.version=a.readString(),r.x=a.readFloat(),r.y=a.readFloat(),r.width=a.readFloat(),r.height=a.readFloat(),r.referenceScale=a.readFloat()*t;let d=a.readBoolean();d&&(r.fps=a.readFloat(),r.imagesPath=a.readString(),r.audioPath=a.readString());let o=0;o=a.readInt(!0);for(let e=0;e<o;e++){let e=a.readString();if(!e)throw Error("String in string table must not be null.");a.strings.push(e)}o=a.readInt(!0);for(let e=0;e<o;e++){let n=a.readString();if(!n)throw Error("Bone name must not be null.");let l=0==e?null:r.bones[a.readInt(!0)],o=new s.q(e,n,l);o.rotation=a.readFloat(),o.x=a.readFloat()*t,o.y=a.readFloat()*t,o.scaleX=a.readFloat(),o.scaleY=a.readFloat(),o.shearX=a.readFloat(),o.shearY=a.readFloat(),o.length=a.readFloat()*t,o.inherit=a.readByte(),o.skinRequired=a.readBoolean(),d&&(p.Il.rgba8888ToColor(o.color,a.readInt32()),o.icon=a.readString()??void 0,o.visible=a.readBoolean()),r.bones.push(o)}o=a.readInt(!0);for(let e=0;e<o;e++){let t=a.readString();if(!t)throw Error("Slot name must not be null.");let n=r.bones[a.readInt(!0)],l=new F.p(e,t,n);p.Il.rgba8888ToColor(l.color,a.readInt32());let s=a.readInt32();-1!=s&&p.Il.rgb888ToColor(l.darkColor=new p.Il,s),l.attachmentName=a.readStringRef(),l.blendMode=a.readInt(!0),d&&(l.visible=a.readBoolean()),r.slots.push(l)}o=a.readInt(!0);for(let e=0,n;e<o;e++){let e=a.readString();if(!e)throw Error("IK constraint data name must not be null.");let l=new h.L(e);l.order=a.readInt(!0),n=a.readInt(!0);for(let e=0;e<n;e++)l.bones.push(r.bones[a.readInt(!0)]);l.target=r.bones[a.readInt(!0)];let d=a.readByte();l.skinRequired=(1&d)!=0,l.bendDirection=(2&d)!=0?1:-1,l.compress=(4&d)!=0,l.stretch=(8&d)!=0,l.uniform=(16&d)!=0,(32&d)!=0&&(l.mix=(64&d)!=0?a.readFloat():1),(128&d)!=0&&(l.softness=a.readFloat()*t),r.ikConstraints.push(l)}o=a.readInt(!0);for(let e=0,n;e<o;e++){let e=a.readString();if(!e)throw Error("Transform constraint data name must not be null.");let l=new I.L(e);l.order=a.readInt(!0),n=a.readInt(!0);for(let e=0;e<n;e++)l.bones.push(r.bones[a.readInt(!0)]);l.target=r.bones[a.readInt(!0)];let d=a.readByte();l.skinRequired=(1&d)!=0,l.local=(2&d)!=0,l.relative=(4&d)!=0,(8&d)!=0&&(l.offsetRotation=a.readFloat()),(16&d)!=0&&(l.offsetX=a.readFloat()*t),(32&d)!=0&&(l.offsetY=a.readFloat()*t),(64&d)!=0&&(l.offsetScaleX=a.readFloat()),(128&d)!=0&&(l.offsetScaleY=a.readFloat()),(1&(d=a.readByte()))!=0&&(l.offsetShearY=a.readFloat()),(2&d)!=0&&(l.mixRotate=a.readFloat()),(4&d)!=0&&(l.mixX=a.readFloat()),(8&d)!=0&&(l.mixY=a.readFloat()),(16&d)!=0&&(l.mixScaleX=a.readFloat()),(32&d)!=0&&(l.mixScaleY=a.readFloat()),(64&d)!=0&&(l.mixShearY=a.readFloat()),r.transformConstraints.push(l)}o=a.readInt(!0);for(let e=0,n;e<o;e++){let e=a.readString();if(!e)throw Error("Path constraint data name must not be null.");let l=new u.y4(e);l.order=a.readInt(!0),l.skinRequired=a.readBoolean(),n=a.readInt(!0);for(let e=0;e<n;e++)l.bones.push(r.bones[a.readInt(!0)]);l.target=r.slots[a.readInt(!0)];let d=a.readByte();l.positionMode=1&d,l.spacingMode=d>>1&3,l.rotateMode=d>>3&3,(128&d)!=0&&(l.offsetRotation=a.readFloat()),l.position=a.readFloat(),l.positionMode==u.T.Fixed&&(l.position*=t),l.spacing=a.readFloat(),(l.spacingMode==u.m3.Length||l.spacingMode==u.m3.Fixed)&&(l.spacing*=t),l.mixRotate=a.readFloat(),l.mixX=a.readFloat(),l.mixY=a.readFloat(),r.pathConstraints.push(l)}o=a.readInt(!0);for(let e=0;e<o;e++){let e=a.readString();if(!e)throw Error("Physics constraint data name must not be null.");let n=new c.i(e);n.order=a.readInt(!0),n.bone=r.bones[a.readInt(!0)];let l=a.readByte();n.skinRequired=(1&l)!=0,(2&l)!=0&&(n.x=a.readFloat()),(4&l)!=0&&(n.y=a.readFloat()),(8&l)!=0&&(n.rotate=a.readFloat()),(16&l)!=0&&(n.scaleX=a.readFloat()),(32&l)!=0&&(n.shearX=a.readFloat()),n.limit=((64&l)!=0?a.readFloat():5e3)*t,n.step=1/a.readUnsignedByte(),n.inertia=a.readFloat(),n.strength=a.readFloat(),n.damping=a.readFloat(),n.massInverse=(128&l)!=0?a.readFloat():1,n.wind=a.readFloat(),n.gravity=a.readFloat(),(1&(l=a.readByte()))!=0&&(n.inertiaGlobal=!0),(2&l)!=0&&(n.strengthGlobal=!0),(4&l)!=0&&(n.dampingGlobal=!0),(8&l)!=0&&(n.massGlobal=!0),(16&l)!=0&&(n.windGlobal=!0),(32&l)!=0&&(n.gravityGlobal=!0),(64&l)!=0&&(n.mixGlobal=!0),n.mix=(128&l)!=0?a.readFloat():1,r.physicsConstraints.push(n)}let f=this.readSkin(a,r,!0,d);f&&(r.defaultSkin=f,r.skins.push(f));{let e=r.skins.length;for(p.cQ.setArraySize(r.skins,o=e+a.readInt(!0));e<o;e++){let t=this.readSkin(a,r,!1,d);if(!t)throw Error("readSkin() should not have returned null.");r.skins[e]=t}}o=this.linkedMeshes.length;for(let e=0;e<o;e++){let t=this.linkedMeshes[e],a=r.skins[t.skinIndex];if(!t.parent)throw Error("Linked mesh parent must not be null");let n=a.getAttachment(t.slotIndex,t.parent);if(!n)throw Error(`Parent mesh not found: ${t.parent}`);t.mesh.timelineAttachment=t.inheritTimeline?n:t.mesh,t.mesh.setParentMesh(n),null!=t.mesh.region&&t.mesh.updateRegion()}this.linkedMeshes.length=0,o=a.readInt(!0);for(let e=0;e<o;e++){let e=a.readString();if(!e)throw Error("Event data name must not be null");let t=new i.n(e);t.intValue=a.readInt(!1),t.floatValue=a.readFloat(),t.stringValue=a.readString(),t.audioPath=a.readString(),t.audioPath&&(t.volume=a.readFloat(),t.balance=a.readFloat()),r.events.push(t)}o=a.readInt(!0);for(let e=0;e<o;e++){let e=a.readString();if(!e)throw Error("Animatio name must not be null.");r.animations.push(this.readAnimation(a,e,r))}return r}readSkin(e,t,r,a){let n=null,l=0;if(r){if(0==(l=e.readInt(!0)))return null;n=new f.Z("default")}else{let r=e.readString();if(!r)throw Error("Skin name must not be null.");n=new f.Z(r),a&&p.Il.rgba8888ToColor(n.color,e.readInt32()),n.bones.length=e.readInt(!0);for(let r=0,a=n.bones.length;r<a;r++)n.bones[r]=t.bones[e.readInt(!0)];for(let r=0,a=e.readInt(!0);r<a;r++)n.constraints.push(t.ikConstraints[e.readInt(!0)]);for(let r=0,a=e.readInt(!0);r<a;r++)n.constraints.push(t.transformConstraints[e.readInt(!0)]);for(let r=0,a=e.readInt(!0);r<a;r++)n.constraints.push(t.pathConstraints[e.readInt(!0)]);for(let r=0,a=e.readInt(!0);r<a;r++)n.constraints.push(t.physicsConstraints[e.readInt(!0)]);l=e.readInt(!0)}for(let r=0;r<l;r++){let r=e.readInt(!0);for(let l=0,d=e.readInt(!0);l<d;l++){let l=e.readStringRef();if(!l)throw Error("Attachment name must not be null");let d=this.readAttachment(e,t,n,r,l,a);d&&n.setAttachment(r,l,d)}}return n}readAttachment(e,t,r,a,l,d){let s=this.scale,o=e.readByte(),i=(8&o)!=0?e.readStringRef():l;if(!i)throw Error("Attachment name must not be null");switch(7&o){case n.Region:{let t=(16&o)!=0?e.readStringRef():null,a=(32&o)!=0?e.readInt32():4294967295,n=(64&o)!=0?this.readSequence(e):null,l=(128&o)!=0?e.readFloat():0,d=e.readFloat(),h=e.readFloat(),u=e.readFloat(),c=e.readFloat(),g=e.readFloat(),f=e.readFloat();t||(t=i);let F=this.attachmentLoader.newRegionAttachment(r,i,t,n);if(!F)return null;return F.path=t,F.x=d*s,F.y=h*s,F.scaleX=u,F.scaleY=c,F.rotation=l,F.width=g*s,F.height=f*s,p.Il.rgba8888ToColor(F.color,a),F.sequence=n,null==n&&F.updateRegion(),F}case n.BoundingBox:{let t=this.readVertices(e,(16&o)!=0),a=d?e.readInt32():0,n=this.attachmentLoader.newBoundingBoxAttachment(r,i);if(!n)return null;return n.worldVerticesLength=t.length,n.vertices=t.vertices,n.bones=t.bones,d&&p.Il.rgba8888ToColor(n.color,a),n}case n.Mesh:{let t=(16&o)!=0?e.readStringRef():i,a=(32&o)!=0?e.readInt32():4294967295,n=(64&o)!=0?this.readSequence(e):null,l=e.readInt(!0),h=this.readVertices(e,(128&o)!=0),u=this.readFloatArray(e,h.length,1),c=this.readShortArray(e,(h.length-l-2)*3),g=[],f=0,F=0;d&&(g=this.readShortArray(e,e.readInt(!0)),f=e.readFloat(),F=e.readFloat()),t||(t=i);let I=this.attachmentLoader.newMeshAttachment(r,i,t,n);if(!I)return null;return I.path=t,p.Il.rgba8888ToColor(I.color,a),I.bones=h.bones,I.vertices=h.vertices,I.worldVerticesLength=h.length,I.triangles=c,I.regionUVs=u,null==n&&I.updateRegion(),I.hullLength=l<<1,I.sequence=n,d&&(I.edges=g,I.width=f*s,I.height=F*s),I}case n.LinkedMesh:{let t=(16&o)!=0?e.readStringRef():i;
1if(null==t)throw Error("Path of linked mesh must not be null");let n=(32&o)!=0?e.readInt32():4294967295,l=(64&o)!=0?this.readSequence(e):null,h=e.readInt(!0),u=e.readStringRef(),c=0,g=0;d&&(c=e.readFloat(),g=e.readFloat());let f=this.attachmentLoader.newMeshAttachment(r,i,t,l);if(!f)return null;return f.path=t,p.Il.rgba8888ToColor(f.color,n),f.sequence=l,d&&(f.width=c*s,f.height=g*s),this.linkedMeshes.push(new w(f,h,a,u,(128&o)!=0)),f}case n.Path:{let t=this.readVertices(e,(64&o)!=0),a=p.cQ.newArray(t.length/6,0);for(let t=0,r=a.length;t<r;t++)a[t]=e.readFloat()*s;let n=d?e.readInt32():0,l=this.attachmentLoader.newPathAttachment(r,i);if(!l)return null;return l.closed=(16&o)!=0,l.constantSpeed=(32&o)!=0,l.worldVerticesLength=t.length,l.vertices=t.vertices,l.bones=t.bones,l.lengths=a,d&&p.Il.rgba8888ToColor(l.color,n),l}case n.Point:{let t=e.readFloat(),a=e.readFloat(),n=e.readFloat(),l=d?e.readInt32():0,o=this.attachmentLoader.newPointAttachment(r,i);if(!o)return null;return o.x=a*s,o.y=n*s,o.rotation=t,d&&p.Il.rgba8888ToColor(o.color,l),o}case n.Clipping:{let a=e.readInt(!0),n=this.readVertices(e,(16&o)!=0),l=d?e.readInt32():0,s=this.attachmentLoader.newClippingAttachment(r,i);if(!s)return null;return s.endSlot=t.slots[a],s.worldVerticesLength=n.length,s.vertices=n.vertices,s.bones=n.bones,d&&p.Il.rgba8888ToColor(s.color,l),s}}return null}readSequence(e){let t=new d.T9(e.readInt(!0));return t.start=e.readInt(!0),t.digits=e.readInt(!0),t.setupIndex=e.readInt(!0),t}readVertices(e,t){let r=this.scale,a=e.readInt(!0),n=new y;if(n.length=a<<1,!t)return n.vertices=this.readFloatArray(e,n.length,r),n;let l=[],d=[];for(let t=0;t<a;t++){let t=e.readInt(!0);d.push(t);for(let a=0;a<t;a++)d.push(e.readInt(!0)),l.push(e.readFloat()*r),l.push(e.readFloat()*r),l.push(e.readFloat())}return n.vertices=p.cQ.toFloatArray(l),n.bones=d,n}readFloatArray(e,t,r){let a=Array(t);if(1==r)for(let r=0;r<t;r++)a[r]=e.readFloat();else for(let n=0;n<t;n++)a[n]=e.readFloat()*r;return a}readShortArray(e,t){let r=Array(t);for(let a=0;a<t;a++)r[a]=e.readInt(!0);return r}readAnimation(e,t,r){e.readInt(!0);let a=[],n=this.scale;for(let t=0,r=e.readInt(!0);t<r;t++){let t=e.readInt(!0);for(let r=0,n=e.readInt(!0);r<n;r++){let r=e.readByte(),n=e.readInt(!0),d=n-1;switch(r){case T:{let r=new l.i4(n,t);for(let t=0;t<n;t++)r.setFrame(t,e.readFloat(),e.readStringRef());a.push(r);break}case q:{let r=e.readInt(!0),s=new l.V2(n,r,t),o=e.readFloat(),i=e.readUnsignedByte()/255,h=e.readUnsignedByte()/255,u=e.readUnsignedByte()/255,c=e.readUnsignedByte()/255;for(let t=0,r=0;s.setFrame(t,o,i,h,u,c),t!=d;t++){let a=e.readFloat(),n=e.readUnsignedByte()/255,l=e.readUnsignedByte()/255,d=e.readUnsignedByte()/255,g=e.readUnsignedByte()/255;switch(e.readByte()){case et:s.setStepped(t);break;case er:S(e,s,r++,t,0,o,a,i,n,1),S(e,s,r++,t,1,o,a,h,l,1),S(e,s,r++,t,2,o,a,u,d,1),S(e,s,r++,t,3,o,a,c,g,1)}o=a,i=n,h=l,u=d,c=g}a.push(s);break}case Q:{let r=e.readInt(!0),s=new l.Qr(n,r,t),o=e.readFloat(),i=e.readUnsignedByte()/255,h=e.readUnsignedByte()/255,u=e.readUnsignedByte()/255;for(let t=0,r=0;s.setFrame(t,o,i,h,u),t!=d;t++){let a=e.readFloat(),n=e.readUnsignedByte()/255,l=e.readUnsignedByte()/255,d=e.readUnsignedByte()/255;switch(e.readByte()){case et:s.setStepped(t);break;case er:S(e,s,r++,t,0,o,a,i,n,1),S(e,s,r++,t,1,o,a,h,l,1),S(e,s,r++,t,2,o,a,u,d,1)}o=a,i=n,h=l,u=d}a.push(s);break}case X:{let r=e.readInt(!0),s=new l.ZF(n,r,t),o=e.readFloat(),i=e.readUnsignedByte()/255,h=e.readUnsignedByte()/255,u=e.readUnsignedByte()/255,c=e.readUnsignedByte()/255,g=e.readUnsignedByte()/255,f=e.readUnsignedByte()/255,F=e.readUnsignedByte()/255;for(let t=0,r=0;s.setFrame(t,o,i,h,u,c,g,f,F),t!=d;t++){let a=e.readFloat(),n=e.readUnsignedByte()/255,l=e.readUnsignedByte()/255,d=e.readUnsignedByte()/255,I=e.readUnsignedByte()/255,p=e.readUnsignedByte()/255,m=e.readUnsignedByte()/255,b=e.readUnsignedByte()/255;switch(e.readByte()){case et:s.setStepped(t);break;case er:S(e,s,r++,t,0,o,a,i,n,1),S(e,s,r++,t,1,o,a,h,l,1),S(e,s,r++,t,2,o,a,u,d,1),S(e,s,r++,t,3,o,a,c,I,1),S(e,s,r++,t,4,o,a,g,p,1),S(e,s,r++,t,5,o,a,f,m,1),S(e,s,r++,t,6,o,a,F,b,1)}o=a,i=n,h=l,u=d,c=I,g=p,f=m,F=b}a.push(s);break}case Y:{let r=e.readInt(!0),s=new l.hg(n,r,t),o=e.readFloat(),i=e.readUnsignedByte()/255,h=e.readUnsignedByte()/255,u=e.readUnsignedByte()/255,c=e.readUnsignedByte()/255,g=e.readUnsignedByte()/255,f=e.readUnsignedByte()/255;for(let t=0,r=0;
1s.setFrame(t,o,i,h,u,c,g,f),t!=d;t++){let a=e.readFloat(),n=e.readUnsignedByte()/255,l=e.readUnsignedByte()/255,d=e.readUnsignedByte()/255,F=e.readUnsignedByte()/255,I=e.readUnsignedByte()/255,p=e.readUnsignedByte()/255;switch(e.readByte()){case et:s.setStepped(t);break;case er:S(e,s,r++,t,0,o,a,i,n,1),S(e,s,r++,t,1,o,a,h,l,1),S(e,s,r++,t,2,o,a,u,d,1),S(e,s,r++,t,3,o,a,c,F,1),S(e,s,r++,t,4,o,a,g,I,1),S(e,s,r++,t,5,o,a,f,p,1)}o=a,i=n,h=l,u=d,c=F,g=I,f=p}a.push(s);break}case G:{let r=new l.Qi(n,e.readInt(!0),t),s=e.readFloat(),o=e.readUnsignedByte()/255;for(let t=0,a=0;r.setFrame(t,s,o),t!=d;t++){let n=e.readFloat(),l=e.readUnsignedByte()/255;switch(e.readByte()){case et:r.setStepped(t);break;case er:S(e,r,a++,t,0,s,n,o,l,1)}s=n,o=l}a.push(r)}}}}for(let t=0,r=e.readInt(!0);t<r;t++){let t=e.readInt(!0);for(let r=0,d=e.readInt(!0);r<d;r++){let r=e.readByte(),d=e.readInt(!0);if(r==P){let r=new l.MO(d,t);for(let t=0;t<d;t++)r.setFrame(t,e.readFloat(),e.readByte());a.push(r);continue}let s=e.readInt(!0);switch(r){case U:a.push(B(e,new l.Uh(d,s,t),1));break;case x:a.push(k(e,new l.dS(d,s,t),n));break;case C:a.push(B(e,new l.ao(d,s,t),n));break;case A:a.push(B(e,new l.yR(d,s,t),n));break;case v:a.push(k(e,new l.JK(d,s,t),1));break;case M:a.push(B(e,new l.nD(d,s,t),1));break;case R:a.push(B(e,new l.i5(d,s,t),1));break;case L:a.push(k(e,new l.tl(d,s,t),1));break;case V:a.push(B(e,new l.qN(d,s,t),1));break;case E:a.push(B(e,new l.R3(d,s,t),1))}}}for(let t=0,r=e.readInt(!0);t<r;t++){let t=e.readInt(!0),r=e.readInt(!0),d=r-1,s=new l.os(r,e.readInt(!0),t),o=e.readByte(),i=e.readFloat(),h=(1&o)!=0?(2&o)!=0?e.readFloat():1:0,u=(4&o)!=0?e.readFloat()*n:0;for(let t=0,r=0;s.setFrame(t,i,h,u,(8&o)!=0?1:-1,(16&o)!=0,(32&o)!=0),t!=d;t++){o=e.readByte();let a=e.readFloat(),l=(1&o)!=0?(2&o)!=0?e.readFloat():1:0,d=(4&o)!=0?e.readFloat()*n:0;(64&o)!=0?s.setStepped(t):(128&o)!=0&&(S(e,s,r++,t,0,i,a,h,l,1),S(e,s,r++,t,1,i,a,u,d,n)),i=a,h=l,u=d}a.push(s)}for(let t=0,r=e.readInt(!0);t<r;t++){let t=e.readInt(!0),r=e.readInt(!0),n=r-1,d=new l.zn(r,e.readInt(!0),t),s=e.readFloat(),o=e.readFloat(),i=e.readFloat(),h=e.readFloat(),u=e.readFloat(),c=e.readFloat(),g=e.readFloat();for(let t=0,r=0;
1d.setFrame(t,s,o,i,h,u,c,g),t!=n;t++){let a=e.readFloat(),n=e.readFloat(),l=e.readFloat(),f=e.readFloat(),F=e.readFloat(),I=e.readFloat(),p=e.readFloat();switch(e.readByte()){case et:d.setStepped(t);break;case er:S(e,d,r++,t,0,s,a,o,n,1),S(e,d,r++,t,1,s,a,i,l,1),S(e,d,r++,t,2,s,a,h,f,1),S(e,d,r++,t,3,s,a,u,F,1),S(e,d,r++,t,4,s,a,c,I,1),S(e,d,r++,t,5,s,a,g,p,1)}s=a,o=n,i=l,h=f,u=F,c=I,g=p}a.push(d)}for(let t=0,d=e.readInt(!0);t<d;t++){let t=e.readInt(!0),d=r.pathConstraints[t];for(let r=0,s=e.readInt(!0);r<s;r++){let r=e.readByte(),s=e.readInt(!0),o=e.readInt(!0);switch(r){case N:a.push(B(e,new l.Wr(s,o,t),d.positionMode==u.T.Fixed?n:1));break;case z:a.push(B(e,new l.Pp(s,o,t),d.spacingMode==u.m3.Length||d.spacingMode==u.m3.Fixed?n:1));break;case Z:let i=new l.Ok(s,o,t),h=e.readFloat(),c=e.readFloat(),g=e.readFloat(),f=e.readFloat();for(let t=0,r=0,a=i.getFrameCount()-1;i.setFrame(t,h,c,g,f),t!=a;t++){let a=e.readFloat(),n=e.readFloat(),l=e.readFloat(),d=e.readFloat();switch(e.readByte()){case et:i.setStepped(t);break;case er:S(e,i,r++,t,0,h,a,c,n,1),S(e,i,r++,t,1,h,a,g,l,1),S(e,i,r++,t,2,h,a,f,d,1)}h=a,c=n,g=l,f=d}a.push(i)}}}for(let t=0,r=e.readInt(!0);t<r;t++){let t=e.readInt(!0)-1;for(let r=0,n=e.readInt(!0);r<n;r++){let r=e.readByte(),n=e.readInt(!0);if(r==ee){let r=new l.dv(n,t);for(let t=0;t<n;t++)r.setFrame(t,e.readFloat());a.push(r);continue}let d=e.readInt(!0);switch(r){case H:a.push(B(e,new l.DG(n,d,t),1));break;case K:a.push(B(e,new l.Mn(n,d,t),1));break;case O:a.push(B(e,new l.Mp(n,d,t),1));break;case $:a.push(B(e,new l._(n,d,t),1));break;case j:a.push(B(e,new l.rQ(n,d,t),1));break;case J:a.push(B(e,new l.e_(n,d,t),1));break;case W:a.push(B(e,new l.$H(n,d,t),1))}}}for(let t=0,s=e.readInt(!0);t<s;t++){let t=r.skins[e.readInt(!0)];for(let r=0,s=e.readInt(!0);r<s;r++){let r=e.readInt(!0);for(let s=0,o=e.readInt(!0);s<o;s++){let s=e.readStringRef();if(!s)throw Error("attachmentName must not be null.");let o=t.getAttachment(r,s),i=e.readByte(),h=e.readInt(!0),u=h-1;switch(i){case D:{let t=o.bones,d=o.vertices,s=t?d.length/3*2:d.length,i=e.readInt(!0),c=new l.le(h,i,r,o),g=e.readFloat();for(let r=0,a=0;;r++){let l;let o=e.readInt(!0);if(0==o)l=t?p.cQ.newFloatArray(s):d;else{l=p.cQ.newFloatArray(s);let r=e.readInt(!0);if(o+=r,1==n)for(let t=r;t<o;t++)l[t]=e.readFloat();else for(let t=r;t<o;t++)l[t]=e.readFloat()*n;if(!t)for(let e=0,t=l.length;e<t;e++)l[e]+=d[e]}
1if(c.setFrame(r,g,l),r==u)break;let i=e.readFloat();switch(e.readByte()){case et:c.setStepped(r);break;case er:S(e,c,a++,r,0,g,i,0,1,1)}g=i}a.push(c);break}case _:{let t=new l.i3(h,r,o);for(let r=0;r<h;r++){let a=e.readFloat(),n=e.readInt32();t.setFrame(r,a,d.dw[15&n],n>>4,e.readFloat())}a.push(t)}}}}}let s=e.readInt(!0);if(s>0){let t=new l.qF(s),n=r.slots.length;for(let r=0;r<s;r++){let a=e.readFloat(),l=e.readInt(!0),d=p.cQ.newArray(n,0);for(let e=n-1;e>=0;e--)d[e]=-1;let s=p.cQ.newArray(n-l,0),o=0,i=0;for(let t=0;t<l;t++){let t=e.readInt(!0);for(;o!=t;)s[i++]=o++;d[o+e.readInt(!0)]=o++}for(;o<n;)s[i++]=o++;for(let e=n-1;e>=0;e--)-1==d[e]&&(d[e]=s[--i]);t.setFrame(r,a,d)}a.push(t)}let i=e.readInt(!0);if(i>0){let t=new l.Gl(i);for(let a=0;a<i;a++){let n=e.readFloat(),l=r.events[e.readInt(!0)],d=new o.j(n,l);d.intValue=e.readInt(!1),d.floatValue=e.readFloat(),d.stringValue=e.readString(),null==d.stringValue&&(d.stringValue=l.stringValue),d.data.audioPath&&(d.volume=e.readFloat(),d.balance=e.readFloat()),t.setFrame(a,d)}a.push(t)}let h=0;for(let e=0,t=a.length;e<t;e++)h=Math.max(h,a[e].getDuration());return new l.fw(t,a,h)}}class b{strings;index;buffer;constructor(e,t=[],r=0,a=new DataView(e instanceof ArrayBuffer?e:e.buffer)){this.strings=t,this.index=r,this.buffer=a}readByte(){return this.buffer.getInt8(this.index++)}readUnsignedByte(){return this.buffer.getUint8(this.index++)}readShort(){let e=this.buffer.getInt16(this.index);return this.index+=2,e}readInt32(){let e=this.buffer.getInt32(this.index);return this.index+=4,e}readInt(e){let t=this.readByte(),r=127&t;return(128&t)!=0&&(r|=(127&(t=this.readByte()))<<7,(128&t)!=0&&(r|=(127&(t=this.readByte()))<<14,(128&t)!=0&&(r|=(127&(t=this.readByte()))<<21,(128&t)!=0&&(r|=(127&(t=this.readByte()))<<28)))),e?r:r>>>1^-(1&r)}readStringRef(){let e=this.readInt(!0);return 0==e?null:this.strings[e-1]}readString(){let e=this.readInt(!0);switch(e){case 0:return null;case 1:return""}e--;let t="";for(let r=0;r<e;){let e=this.readUnsignedByte();switch(e>>4){case 12:case 13:t+=String.fromCharCode((31&e)<<6|63&this.readByte()),r+=2;break;case 14:t+=String.fromCharCode((15&e)<<12|(63&this.readByte())<<6|63&this.readByte()),r+=3;break;default:t+=String.fromCharCode(e),r++}}return t}readFloat(){let e=this.buffer.getFloat32(this.index);return this.index+=4,e}readBoolean(){return 0!=this.readByte()}}class w{parent;skinIndex;slotIndex;mesh;inheritTimeline;constructor(e,t,r,a,n){this.mesh=e,this.skinIndex=t,this.slotIndex=r,this.parent=a,this.inheritTimeline=n}}class y{bones;vertices;length;constructor(e=null,t=null,r=0){this.bones=e,this.vertices=t,this.length=r}}function B(e,t,r){let a=e.readFloat(),n=e.readFloat()*r;for(let l=0,d=0,s=t.getFrameCount()-1;t.setFrame(l,a,n),l!=s;l++){let s=e.readFloat(),o=e.readFloat()*r;switch(e.readByte()){case et:t.setStepped(l);break;case er:S(e,t,d++,l,0,a,s,n,o,r)}a=s,n=o}return t}function k(e,t,r){let a=e.readFloat(),n=e.readFloat()*r,l=e.readFloat()*r;for(let d=0,s=0,o=t.getFrameCount()-1;t.setFrame(d,a,n,l),d!=o;d++){let o=e.readFloat(),i=e.readFloat()*r,h=e.readFloat()*r;switch(e.readByte()){case et:t.setStepped(d);break;case er:S(e,t,s++,d,0,a,o,n,i,r),S(e,t,s++,d,1,a,o,l,h,r)}a=o,n=i,l=h}return t}function S(e,t,r,a,n,l,d,s,o,i){t.setBezier(r,a,n,l,s,e.readFloat(),e.readFloat()*i,e.readFloat(),e.readFloat()*i,d,o)}(a=n||(n={}))[a.Region=0]="Region",a[a.BoundingBox=1]="BoundingBox",a[a.Mesh=2]="Mesh",a[a.LinkedMesh=3]="LinkedMesh",a[a.Path=4]="Path",a[a.Point=5]="Point",a[a.Clipping=6]="Clipping";let U=0,x=1,C=2,A=3,v=4,M=5,R=6,L=7,V=8,E=9,P=10,T=0,q=1,Q=2,X=3,Y=4,G=5,D=0,_=1,N=0,z=1,Z=2,H=0,K=1,O=2,$=4,j=5,J=6,W=7,ee=8,et=1,er=2}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.