plotly.js 2.11.0 → 2.11.1

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +3 -3
  3. package/dist/README.md +19 -19
  4. package/dist/plotly-basic.js +2 -2
  5. package/dist/plotly-basic.min.js +2 -2
  6. package/dist/plotly-cartesian.js +2 -2
  7. package/dist/plotly-cartesian.min.js +2 -2
  8. package/dist/plotly-finance.js +2 -2
  9. package/dist/plotly-finance.min.js +2 -2
  10. package/dist/plotly-geo-assets.js +2 -2
  11. package/dist/plotly-geo.js +2 -2
  12. package/dist/plotly-geo.min.js +2 -2
  13. package/dist/plotly-gl2d.js +2 -2
  14. package/dist/plotly-gl2d.min.js +2 -2
  15. package/dist/plotly-gl3d.js +2 -2
  16. package/dist/plotly-gl3d.min.js +2 -2
  17. package/dist/plotly-mapbox.js +2 -2
  18. package/dist/plotly-mapbox.min.js +2 -2
  19. package/dist/plotly-strict.js +19742 -20194
  20. package/dist/plotly-strict.min.js +10 -10
  21. package/dist/plotly-with-meta.js +2 -2
  22. package/dist/plotly.js +2 -2
  23. package/dist/plotly.min.js +2 -2
  24. package/package.json +2 -2
  25. package/src/generated/regl-codegen/30680f8f6712ef1af5cf7547e0af35b036fb300c67b07967cf448492ff4de4d0 +658 -0
  26. package/src/generated/regl-codegen/3e771157d23b4793771f65d83e6387262ed73d488209157f19a7fa027bddd71b +457 -0
  27. package/src/generated/regl-codegen/3fd666968f3ce90d1c048b7a9aab515f3ce387a5401a10f8b66121c9469d1c0d +2050 -0
  28. package/src/generated/regl-codegen/453a70fefa48db31713162aeb1ac438cb8579f54504f3b23acf32128df3dfd45 +452 -0
  29. package/src/generated/regl-codegen/49e82bba439f1d9d441c17ba252d05640bc63fefdf22d1219993633af7730210 +1423 -0
  30. package/src/generated/regl-codegen/6a5d6bd29c15cf7614221b94c3f384df47c2c46fbe4456e8c57b5cd14c84d923 +2184 -0
  31. package/src/generated/regl-codegen/8902aff2b23b600f8103bcc84a8af2999d28795208aedadc2db06f921f9c7034 +2000 -0
  32. package/src/generated/regl-codegen/8fad2284703471df7c0e0d0a7b96d983e8c53f6d707dd55d5921c1eab71f6623 +637 -0
  33. package/src/generated/regl-codegen/a3970baf1d8cac9305ee830c7026550387343d4dde2353dd86a4d082c97d3470 +635 -0
  34. package/src/generated/regl-codegen/bfc540da96a87fcc039073cb37b45e6b81ef5ee6ef3529d726ceed8336354019 +3311 -0
  35. package/src/generated/regl-codegen/cbf700f001fff25b649fba9c37fa0dc6631c1cdee318ad49473d28ec10dcee81 +660 -0
  36. package/src/generated/regl-codegen/db1b82c68771e7f5012fad1fbdae7ff23b526e58d2995bf6dd2cf30024e0f41d +2700 -0
  37. package/src/generated/regl-codegen/dbd1cc9126a137a605df67dc0706e55116f04e33b4545a80042031752de5aef5 +3325 -0
  38. package/src/generated/regl-codegen/fe5b6844077cde1bdd7273f4495969fad93500c26a69b62e74ec2664c447bcc7 +2436 -0
  39. package/src/traces/parcoords/regl_precompiled.js +8 -8
  40. package/src/traces/scattergl/regl_precompiled.js +20 -20
  41. package/src/traces/scatterpolargl/regl_precompiled.js +20 -20
  42. package/src/traces/splom/regl_precompiled.js +20 -20
  43. package/src/version.js +1 -1
  44. package/src/generated/regl-codegen/0919c57b995304312da30a5af7873a319bfb7b7e22ff6b4fa203ecbd5774ebfc +0 -1462
  45. package/src/generated/regl-codegen/13c0ae156483f2bcbd7ff29404f0abfd8689ff43f41791a6c7469868690a4260 +0 -3391
  46. package/src/generated/regl-codegen/19769c875db736c08a744c0a6aabe28276ed06aa24fdb7c36506a9f4c1f56f13 +0 -3375
  47. package/src/generated/regl-codegen/21cec01aa93887c70e86d7f1bc84d6837da0b1f5c1ff4cadd42ac6eb37f9f316 +0 -2488
  48. package/src/generated/regl-codegen/4df455b48c9de7d9f1de4b9481b505c09613ba7f90d2b4e360e673839566688e +0 -662
  49. package/src/generated/regl-codegen/53f2bf051e4ba66c90f343d29aa8da9e4029454c0d428f8e46e94dfddc97c8c6 +0 -459
  50. package/src/generated/regl-codegen/59568c77bcbe6343ee6109df49ceeb78c8a8a8a81872e88fb077f9a3d6dc0567 +0 -637
  51. package/src/generated/regl-codegen/6c3ff5a68d2906faf59307b58a799389f916ebdd3f7732ce75967575041988fc +0 -2226
  52. package/src/generated/regl-codegen/7c8e7f36e693904898ece5f7f8b49b23c69d98397567c3915a45647209eb7da4 +0 -2052
  53. package/src/generated/regl-codegen/8a43b073e4f3e9c0e499c8ac9c253f2aa1e3d3de2febfccc6526b52295dbf770 +0 -664
  54. package/src/generated/regl-codegen/909861c036d6f1ef40ba2dfcc33ef32489d2fe05fa7b7984d5ff315ddceb17b1 +0 -454
  55. package/src/generated/regl-codegen/c759965c8d66b2b356ae7455825df829f2ba7d4e7e903236f8c8d3bc5f45bd44 +0 -2116
  56. package/src/generated/regl-codegen/f9448a214a3e3cd439b767559aa71a4d1ccf5a8f39b8b756973e71acd33ff956 +0 -2755
  57. package/src/generated/regl-codegen/ff8495670417d5d0e4caa9942ad63b4dff0242a390ac1cb807c78ca326d6f3ce +0 -639
@@ -0,0 +1,2000 @@
1
+ module.exports = function anonymous(g0,g48,g99,g100,g101,g104,g120,g138,g156,g174,g178,g180,g181,g184,g185,g189,g190,g194,g196,g197,g199,g205,g206,g208,g210,g214,g218,g222,g243,g245,g247,g249,g251,g253,g255,g257,g259,g261,g263,g271,g274,g277,g280,g283,g286,g289,g292,g295,g298,g301,g304,g307,g310,g326,g353,g380,g407,g420,g422,g472,g473,g474
2
+ ) {
3
+ "use strict";
4
+ var v1,v2,v3,v4,v5,v6,v7,v8,v9,v10,v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28,v29,v30,v31,v32,v33,v34,v35,v36,v37,v38,v39,v40,v41,v42,v43,v44,v45,v46,v47,v49,v50;
5
+ v1=g0.gl;
6
+ v2=g0.context;
7
+ v3=g0.strings;
8
+ v4=g0.next;
9
+ v5=g0.current;
10
+ v6=g0.draw;
11
+ v7=g0.elements;
12
+ v8=g0.buffer;
13
+ v9=g0.shader;
14
+ v10=g0.attributes;
15
+ v11=g0.vao;
16
+ v12=g0.uniforms;
17
+ v13=g0.framebuffer;
18
+ v14=g0.extensions;
19
+ v15=g0.timer;
20
+ v16=g0.isBufferArgs;
21
+ v17=v4.blend_color;
22
+ v18=v5.blend_color;
23
+ v19=v4.blend_equation;
24
+ v20=v5.blend_equation;
25
+ v21=v4.blend_func;
26
+ v22=v5.blend_func;
27
+ v23=v4.depth_range;
28
+ v24=v5.depth_range;
29
+ v25=v4.colorMask;
30
+ v26=v5.colorMask;
31
+ v27=v4.polygonOffset_offset;
32
+ v28=v5.polygonOffset_offset;
33
+ v29=v4.sample_coverage;
34
+ v30=v5.sample_coverage;
35
+ v31=v4.stencil_func;
36
+ v32=v5.stencil_func;
37
+ v33=v4.stencil_opFront;
38
+ v34=v5.stencil_opFront;
39
+ v35=v4.stencil_opBack;
40
+ v36=v5.stencil_opBack;
41
+ v37=v4.scissor_box;
42
+ v38=v5.scissor_box;
43
+ v39=v4.viewport;
44
+ v40=v5.viewport;
45
+ v41={
46
+ "points":0,"point":0,"lines":1,"line":1,"triangles":4,"triangle":4,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6}
47
+ ;
48
+ v42={
49
+ "never":512,"less":513,"<":513,"equal":514,"=":514,"==":514,"===":514,"lequal":515,"<=":515,"greater":516,">":516,"notequal":517,"!=":517,"!==":517,"gequal":518,">=":518,"always":519}
50
+ ;
51
+ v43={
52
+ "0":0,"1":1,"zero":0,"one":1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776}
53
+ ;
54
+ v44={
55
+ "add":32774,"subtract":32778,"reverse subtract":32779}
56
+ ;
57
+ v45={
58
+ "0":0,"zero":0,"keep":7680,"replace":7681,"increment":7682,"decrement":7683,"increment wrap":34055,"decrement wrap":34056,"invert":5386}
59
+ ;
60
+ v46={
61
+ "int8":5120,"int16":5122,"int32":5124,"uint8":5121,"uint16":5123,"uint32":5125,"float":5126,"float32":5126}
62
+ ;
63
+ v47={
64
+ "cw":2304,"ccw":2305}
65
+ ;
66
+ v49={
67
+ }
68
+ ;
69
+ v49.offset=4;
70
+ v49.stride=8;
71
+ v50={
72
+ }
73
+ ;
74
+ v50.offset=0;
75
+ v50.stride=8;
76
+ return {
77
+ "draw":function(a0){
78
+ var v51,v52,v92,v93,v94,v95,v96,v97,v98,v102,v103,v105,v106,v107,v108,v109,v110,v111,v112,v113,v114,v115,v116,v117,v118,v119,v121,v122,v123,v124,v125,v126,v127,v128,v129,v130,v131,v132,v133,v134,v135,v136,v137,v139,v140,v141,v142,v143,v144,v145,v146,v147,v148,v149,v150,v151,v152,v153,v154,v155,v157,v158,v159,v160,v161,v162,v163,v164,v165,v166,v167,v168,v169,v170,v171,v172,v173,v175,v176,v177,v179,v182,v183,v186,v187,v188,v191,v192,v193,v195,v198,v200,v201,v202,v203,v204,v207,v209,v211,v212,v213,v215,v216,v217,v219,v220,v221,v223,v224,v225,v226,v227,v228,v229,v230,v231;
79
+ v51=v14.angle_instanced_arrays;
80
+ v52=v13.next;
81
+ if(v52!==v13.cur){
82
+ if(v52){
83
+ v1.bindFramebuffer(36160,v52.framebuffer);
84
+ }
85
+ else{
86
+ v1.bindFramebuffer(36160,null);
87
+ }
88
+ v13.cur=v52;
89
+ }
90
+ if(v5.dirty){
91
+ var v53,v54,v55,v56,v57,v58,v59,v60,v61,v62,v63,v64,v65,v66,v67,v68,v69,v70,v71,v72,v73,v74,v75,v76,v77,v78,v79,v80,v81,v82,v83,v84,v85,v86,v87,v88,v89,v90,v91;
92
+ v53=v4.dither;
93
+ if(v53!==v5.dither){
94
+ if(v53){
95
+ v1.enable(3024);
96
+ }
97
+ else{
98
+ v1.disable(3024);
99
+ }
100
+ v5.dither=v53;
101
+ }
102
+ v54=v19[0];
103
+ v55=v19[1];
104
+ if(v54!==v20[0]||v55!==v20[1]){
105
+ v1.blendEquationSeparate(v54,v55);
106
+ v20[0]=v54;
107
+ v20[1]=v55;
108
+ }
109
+ v56=v4.depth_func;
110
+ if(v56!==v5.depth_func){
111
+ v1.depthFunc(v56);
112
+ v5.depth_func=v56;
113
+ }
114
+ v57=v23[0];
115
+ v58=v23[1];
116
+ if(v57!==v24[0]||v58!==v24[1]){
117
+ v1.depthRange(v57,v58);
118
+ v24[0]=v57;
119
+ v24[1]=v58;
120
+ }
121
+ v59=v4.depth_mask;
122
+ if(v59!==v5.depth_mask){
123
+ v1.depthMask(v59);
124
+ v5.depth_mask=v59;
125
+ }
126
+ v60=v25[0];
127
+ v61=v25[1];
128
+ v62=v25[2];
129
+ v63=v25[3];
130
+ if(v60!==v26[0]||v61!==v26[1]||v62!==v26[2]||v63!==v26[3]){
131
+ v1.colorMask(v60,v61,v62,v63);
132
+ v26[0]=v60;
133
+ v26[1]=v61;
134
+ v26[2]=v62;
135
+ v26[3]=v63;
136
+ }
137
+ v64=v4.cull_enable;
138
+ if(v64!==v5.cull_enable){
139
+ if(v64){
140
+ v1.enable(2884);
141
+ }
142
+ else{
143
+ v1.disable(2884);
144
+ }
145
+ v5.cull_enable=v64;
146
+ }
147
+ v65=v4.cull_face;
148
+ if(v65!==v5.cull_face){
149
+ v1.cullFace(v65);
150
+ v5.cull_face=v65;
151
+ }
152
+ v66=v4.frontFace;
153
+ if(v66!==v5.frontFace){
154
+ v1.frontFace(v66);
155
+ v5.frontFace=v66;
156
+ }
157
+ v67=v4.lineWidth;
158
+ if(v67!==v5.lineWidth){
159
+ v1.lineWidth(v67);
160
+ v5.lineWidth=v67;
161
+ }
162
+ v68=v4.polygonOffset_enable;
163
+ if(v68!==v5.polygonOffset_enable){
164
+ if(v68){
165
+ v1.enable(32823);
166
+ }
167
+ else{
168
+ v1.disable(32823);
169
+ }
170
+ v5.polygonOffset_enable=v68;
171
+ }
172
+ v69=v27[0];
173
+ v70=v27[1];
174
+ if(v69!==v28[0]||v70!==v28[1]){
175
+ v1.polygonOffset(v69,v70);
176
+ v28[0]=v69;
177
+ v28[1]=v70;
178
+ }
179
+ v71=v4.sample_alpha;
180
+ if(v71!==v5.sample_alpha){
181
+ if(v71){
182
+ v1.enable(32926);
183
+ }
184
+ else{
185
+ v1.disable(32926);
186
+ }
187
+ v5.sample_alpha=v71;
188
+ }
189
+ v72=v4.sample_enable;
190
+ if(v72!==v5.sample_enable){
191
+ if(v72){
192
+ v1.enable(32928);
193
+ }
194
+ else{
195
+ v1.disable(32928);
196
+ }
197
+ v5.sample_enable=v72;
198
+ }
199
+ v73=v29[0];
200
+ v74=v29[1];
201
+ if(v73!==v30[0]||v74!==v30[1]){
202
+ v1.sampleCoverage(v73,v74);
203
+ v30[0]=v73;
204
+ v30[1]=v74;
205
+ }
206
+ v75=v4.stencil_mask;
207
+ if(v75!==v5.stencil_mask){
208
+ v1.stencilMask(v75);
209
+ v5.stencil_mask=v75;
210
+ }
211
+ v76=v31[0];
212
+ v77=v31[1];
213
+ v78=v31[2];
214
+ if(v76!==v32[0]||v77!==v32[1]||v78!==v32[2]){
215
+ v1.stencilFunc(v76,v77,v78);
216
+ v32[0]=v76;
217
+ v32[1]=v77;
218
+ v32[2]=v78;
219
+ }
220
+ v79=v33[0];
221
+ v80=v33[1];
222
+ v81=v33[2];
223
+ v82=v33[3];
224
+ if(v79!==v34[0]||v80!==v34[1]||v81!==v34[2]||v82!==v34[3]){
225
+ v1.stencilOpSeparate(v79,v80,v81,v82);
226
+ v34[0]=v79;
227
+ v34[1]=v80;
228
+ v34[2]=v81;
229
+ v34[3]=v82;
230
+ }
231
+ v83=v35[0];
232
+ v84=v35[1];
233
+ v85=v35[2];
234
+ v86=v35[3];
235
+ if(v83!==v36[0]||v84!==v36[1]||v85!==v36[2]||v86!==v36[3]){
236
+ v1.stencilOpSeparate(v83,v84,v85,v86);
237
+ v36[0]=v83;
238
+ v36[1]=v84;
239
+ v36[2]=v85;
240
+ v36[3]=v86;
241
+ }
242
+ v87=v4.scissor_enable;
243
+ if(v87!==v5.scissor_enable){
244
+ if(v87){
245
+ v1.enable(3089);
246
+ }
247
+ else{
248
+ v1.disable(3089);
249
+ }
250
+ v5.scissor_enable=v87;
251
+ }
252
+ v88=v37[0];
253
+ v89=v37[1];
254
+ v90=v37[2];
255
+ v91=v37[3];
256
+ if(v88!==v38[0]||v89!==v38[1]||v90!==v38[2]||v91!==v38[3]){
257
+ v1.scissor(v88,v89,v90,v91);
258
+ v38[0]=v88;
259
+ v38[1]=v89;
260
+ v38[2]=v90;
261
+ v38[3]=v91;
262
+ }
263
+ }
264
+ v92=this["viewport"];
265
+ v93=v92.x|0;
266
+ v94=v92.y|0;
267
+ v95="width" in v92?v92.width|0:(v2.framebufferWidth-v93);
268
+ v96="height" in v92?v92.height|0:(v2.framebufferHeight-v94);
269
+ v97=v2.viewportWidth;
270
+ v2.viewportWidth=v95;
271
+ v98=v2.viewportHeight;
272
+ v2.viewportHeight=v96;
273
+ v1.viewport(v93,v94,v95,v96);
274
+ v40[0]=v93;
275
+ v40[1]=v94;
276
+ v40[2]=v95;
277
+ v40[3]=v96;
278
+ v1.blendColor(0,0,0,1);
279
+ v18[0]=0;
280
+ v18[1]=0;
281
+ v18[2]=0;
282
+ v18[3]=1;
283
+ if(g99){
284
+ v1.enable(3042);
285
+ }
286
+ else{
287
+ v1.disable(3042);
288
+ }
289
+ v5.blend_enable=g99;
290
+ v1.blendFuncSeparate(770,771,773,1);
291
+ v22[0]=770;
292
+ v22[1]=771;
293
+ v22[2]=773;
294
+ v22[3]=1;
295
+ if(g100){
296
+ v1.enable(2929);
297
+ }
298
+ else{
299
+ v1.disable(2929);
300
+ }
301
+ v5.depth_enable=g100;
302
+ if(g101){
303
+ v1.enable(2960);
304
+ }
305
+ else{
306
+ v1.disable(2960);
307
+ }
308
+ v5.stencil_enable=g101;
309
+ v102=v5.profile;
310
+ if(v102){
311
+ v103=performance.now();
312
+ g48.count++;
313
+ }
314
+ v1.useProgram(g104.program);
315
+ v105=v14.angle_instanced_arrays;
316
+ v11.setVAO(null);
317
+ v106=this["charBuffer"];
318
+ v107=false;
319
+ v108=1;
320
+ v109=0;
321
+ v110=0;
322
+ v111=0;
323
+ v112=0;
324
+ v113=null;
325
+ v114=0;
326
+ v115=false;
327
+ v116=5126;
328
+ v117=0;
329
+ v118=0;
330
+ v119=0;
331
+ if(v16(v106)){
332
+ v107=true;
333
+ v113=v8.createStream(34962,v106);
334
+ v116=v113.dtype;
335
+ }
336
+ else{
337
+ v113=v8.getBuffer(v106);
338
+ if(v113){
339
+ v116=v113.dtype;
340
+ }
341
+ else if("constant" in v106){
342
+ v108=2;
343
+ if(typeof v106.constant === "number"){
344
+ v109=v106.constant;
345
+ v110=v111=v112=0;
346
+ }
347
+ else{
348
+ v109=v106.constant.length>0?v106.constant[0]:0;
349
+ v110=v106.constant.length>1?v106.constant[1]:0;
350
+ v111=v106.constant.length>2?v106.constant[2]:0;
351
+ v112=v106.constant.length>3?v106.constant[3]:0;
352
+ }
353
+ }
354
+ else{
355
+ if(v16(v106.buffer)){
356
+ v113=v8.createStream(34962,v106.buffer);
357
+ }
358
+ else{
359
+ v113=v8.getBuffer(v106.buffer);
360
+ }
361
+ v116="type" in v106?v46[v106.type]:v113.dtype;
362
+ v115=!!v106.normalized;
363
+ v114=v106.size|0;
364
+ v117=v106.offset|0;
365
+ v118=v106.stride|0;
366
+ v119=v106.divisor|0;
367
+ }
368
+ }
369
+ v121=g120.location;
370
+ v122=v10[v121];
371
+ if(v108===1){
372
+ if(!v122.buffer){
373
+ v1.enableVertexAttribArray(v121);
374
+ }
375
+ v123=v114||1;
376
+ if(v122.type!==v116||v122.size!==v123||v122.buffer!==v113||v122.normalized!==v115||v122.offset!==v117||v122.stride!==v118){
377
+ v1.bindBuffer(34962,v113.buffer);
378
+ v1.vertexAttribPointer(v121,v123,v116,v115,v118,v117);
379
+ v122.type=v116;
380
+ v122.size=v123;
381
+ v122.buffer=v113;
382
+ v122.normalized=v115;
383
+ v122.offset=v117;
384
+ v122.stride=v118;
385
+ }
386
+ if(v122.divisor!==v119){
387
+ v105.vertexAttribDivisorANGLE(v121,v119);
388
+ v122.divisor=v119;
389
+ }
390
+ }
391
+ else{
392
+ if(v122.buffer){
393
+ v1.disableVertexAttribArray(v121);
394
+ v122.buffer=null;
395
+ }
396
+ if(v122.x!==v109||v122.y!==v110||v122.z!==v111||v122.w!==v112){
397
+ v1.vertexAttrib4f(v121,v109,v110,v111,v112);
398
+ v122.x=v109;
399
+ v122.y=v110;
400
+ v122.z=v111;
401
+ v122.w=v112;
402
+ }
403
+ }
404
+ v124=this["sizeBuffer"];
405
+ v49.buffer=v124;
406
+ v125=false;
407
+ v126=1;
408
+ v127=0;
409
+ v128=0;
410
+ v129=0;
411
+ v130=0;
412
+ v131=null;
413
+ v132=0;
414
+ v133=false;
415
+ v134=5126;
416
+ v135=0;
417
+ v136=0;
418
+ v137=0;
419
+ if(v16(v49)){
420
+ v125=true;
421
+ v131=v8.createStream(34962,v49);
422
+ v134=v131.dtype;
423
+ }
424
+ else{
425
+ v131=v8.getBuffer(v49);
426
+ if(v131){
427
+ v134=v131.dtype;
428
+ }
429
+ else if("constant" in v49){
430
+ v126=2;
431
+ if(typeof v49.constant === "number"){
432
+ v127=v49.constant;
433
+ v128=v129=v130=0;
434
+ }
435
+ else{
436
+ v127=v49.constant.length>0?v49.constant[0]:0;
437
+ v128=v49.constant.length>1?v49.constant[1]:0;
438
+ v129=v49.constant.length>2?v49.constant[2]:0;
439
+ v130=v49.constant.length>3?v49.constant[3]:0;
440
+ }
441
+ }
442
+ else{
443
+ if(v16(v49.buffer)){
444
+ v131=v8.createStream(34962,v49.buffer);
445
+ }
446
+ else{
447
+ v131=v8.getBuffer(v49.buffer);
448
+ }
449
+ v134="type" in v49?v46[v49.type]:v131.dtype;
450
+ v133=!!v49.normalized;
451
+ v132=v49.size|0;
452
+ v135=v49.offset|0;
453
+ v136=v49.stride|0;
454
+ v137=v49.divisor|0;
455
+ }
456
+ }
457
+ v139=g138.location;
458
+ v140=v10[v139];
459
+ if(v126===1){
460
+ if(!v140.buffer){
461
+ v1.enableVertexAttribArray(v139);
462
+ }
463
+ v141=v132||1;
464
+ if(v140.type!==v134||v140.size!==v141||v140.buffer!==v131||v140.normalized!==v133||v140.offset!==v135||v140.stride!==v136){
465
+ v1.bindBuffer(34962,v131.buffer);
466
+ v1.vertexAttribPointer(v139,v141,v134,v133,v136,v135);
467
+ v140.type=v134;
468
+ v140.size=v141;
469
+ v140.buffer=v131;
470
+ v140.normalized=v133;
471
+ v140.offset=v135;
472
+ v140.stride=v136;
473
+ }
474
+ if(v140.divisor!==v137){
475
+ v105.vertexAttribDivisorANGLE(v139,v137);
476
+ v140.divisor=v137;
477
+ }
478
+ }
479
+ else{
480
+ if(v140.buffer){
481
+ v1.disableVertexAttribArray(v139);
482
+ v140.buffer=null;
483
+ }
484
+ if(v140.x!==v127||v140.y!==v128||v140.z!==v129||v140.w!==v130){
485
+ v1.vertexAttrib4f(v139,v127,v128,v129,v130);
486
+ v140.x=v127;
487
+ v140.y=v128;
488
+ v140.z=v129;
489
+ v140.w=v130;
490
+ }
491
+ }
492
+ v142=this["position"];
493
+ v143=false;
494
+ v144=1;
495
+ v145=0;
496
+ v146=0;
497
+ v147=0;
498
+ v148=0;
499
+ v149=null;
500
+ v150=0;
501
+ v151=false;
502
+ v152=5126;
503
+ v153=0;
504
+ v154=0;
505
+ v155=0;
506
+ if(v16(v142)){
507
+ v143=true;
508
+ v149=v8.createStream(34962,v142);
509
+ v152=v149.dtype;
510
+ }
511
+ else{
512
+ v149=v8.getBuffer(v142);
513
+ if(v149){
514
+ v152=v149.dtype;
515
+ }
516
+ else if("constant" in v142){
517
+ v144=2;
518
+ if(typeof v142.constant === "number"){
519
+ v145=v142.constant;
520
+ v146=v147=v148=0;
521
+ }
522
+ else{
523
+ v145=v142.constant.length>0?v142.constant[0]:0;
524
+ v146=v142.constant.length>1?v142.constant[1]:0;
525
+ v147=v142.constant.length>2?v142.constant[2]:0;
526
+ v148=v142.constant.length>3?v142.constant[3]:0;
527
+ }
528
+ }
529
+ else{
530
+ if(v16(v142.buffer)){
531
+ v149=v8.createStream(34962,v142.buffer);
532
+ }
533
+ else{
534
+ v149=v8.getBuffer(v142.buffer);
535
+ }
536
+ v152="type" in v142?v46[v142.type]:v149.dtype;
537
+ v151=!!v142.normalized;
538
+ v150=v142.size|0;
539
+ v153=v142.offset|0;
540
+ v154=v142.stride|0;
541
+ v155=v142.divisor|0;
542
+ }
543
+ }
544
+ v157=g156.location;
545
+ v158=v10[v157];
546
+ if(v144===1){
547
+ if(!v158.buffer){
548
+ v1.enableVertexAttribArray(v157);
549
+ }
550
+ v159=v150||2;
551
+ if(v158.type!==v152||v158.size!==v159||v158.buffer!==v149||v158.normalized!==v151||v158.offset!==v153||v158.stride!==v154){
552
+ v1.bindBuffer(34962,v149.buffer);
553
+ v1.vertexAttribPointer(v157,v159,v152,v151,v154,v153);
554
+ v158.type=v152;
555
+ v158.size=v159;
556
+ v158.buffer=v149;
557
+ v158.normalized=v151;
558
+ v158.offset=v153;
559
+ v158.stride=v154;
560
+ }
561
+ if(v158.divisor!==v155){
562
+ v105.vertexAttribDivisorANGLE(v157,v155);
563
+ v158.divisor=v155;
564
+ }
565
+ }
566
+ else{
567
+ if(v158.buffer){
568
+ v1.disableVertexAttribArray(v157);
569
+ v158.buffer=null;
570
+ }
571
+ if(v158.x!==v145||v158.y!==v146||v158.z!==v147||v158.w!==v148){
572
+ v1.vertexAttrib4f(v157,v145,v146,v147,v148);
573
+ v158.x=v145;
574
+ v158.y=v146;
575
+ v158.z=v147;
576
+ v158.w=v148;
577
+ }
578
+ }
579
+ v160=this["sizeBuffer"];
580
+ v50.buffer=v160;
581
+ v161=false;
582
+ v162=1;
583
+ v163=0;
584
+ v164=0;
585
+ v165=0;
586
+ v166=0;
587
+ v167=null;
588
+ v168=0;
589
+ v169=false;
590
+ v170=5126;
591
+ v171=0;
592
+ v172=0;
593
+ v173=0;
594
+ if(v16(v50)){
595
+ v161=true;
596
+ v167=v8.createStream(34962,v50);
597
+ v170=v167.dtype;
598
+ }
599
+ else{
600
+ v167=v8.getBuffer(v50);
601
+ if(v167){
602
+ v170=v167.dtype;
603
+ }
604
+ else if("constant" in v50){
605
+ v162=2;
606
+ if(typeof v50.constant === "number"){
607
+ v163=v50.constant;
608
+ v164=v165=v166=0;
609
+ }
610
+ else{
611
+ v163=v50.constant.length>0?v50.constant[0]:0;
612
+ v164=v50.constant.length>1?v50.constant[1]:0;
613
+ v165=v50.constant.length>2?v50.constant[2]:0;
614
+ v166=v50.constant.length>3?v50.constant[3]:0;
615
+ }
616
+ }
617
+ else{
618
+ if(v16(v50.buffer)){
619
+ v167=v8.createStream(34962,v50.buffer);
620
+ }
621
+ else{
622
+ v167=v8.getBuffer(v50.buffer);
623
+ }
624
+ v170="type" in v50?v46[v50.type]:v167.dtype;
625
+ v169=!!v50.normalized;
626
+ v168=v50.size|0;
627
+ v171=v50.offset|0;
628
+ v172=v50.stride|0;
629
+ v173=v50.divisor|0;
630
+ }
631
+ }
632
+ v175=g174.location;
633
+ v176=v10[v175];
634
+ if(v162===1){
635
+ if(!v176.buffer){
636
+ v1.enableVertexAttribArray(v175);
637
+ }
638
+ v177=v168||1;
639
+ if(v176.type!==v170||v176.size!==v177||v176.buffer!==v167||v176.normalized!==v169||v176.offset!==v171||v176.stride!==v172){
640
+ v1.bindBuffer(34962,v167.buffer);
641
+ v1.vertexAttribPointer(v175,v177,v170,v169,v172,v171);
642
+ v176.type=v170;
643
+ v176.size=v177;
644
+ v176.buffer=v167;
645
+ v176.normalized=v169;
646
+ v176.offset=v171;
647
+ v176.stride=v172;
648
+ }
649
+ if(v176.divisor!==v173){
650
+ v105.vertexAttribDivisorANGLE(v175,v173);
651
+ v176.divisor=v173;
652
+ }
653
+ }
654
+ else{
655
+ if(v176.buffer){
656
+ v1.disableVertexAttribArray(v175);
657
+ v176.buffer=null;
658
+ }
659
+ if(v176.x!==v163||v176.y!==v164||v176.z!==v165||v176.w!==v166){
660
+ v1.vertexAttrib4f(v175,v163,v164,v165,v166);
661
+ v176.x=v163;
662
+ v176.y=v164;
663
+ v176.z=v165;
664
+ v176.w=v166;
665
+ }
666
+ }
667
+ v179=a0["align"];
668
+ v1.uniform1f(g178.location,v179);
669
+ v182=g181.call(this,v2,a0,0);
670
+ if(v182&&v182._reglType==="framebuffer"){
671
+ v182=v182.color[0];
672
+ }
673
+ v183=v182._texture;
674
+ v1.uniform1i(g180.location,v183.bind());
675
+ v186=g185.call(this,v2,a0,0);
676
+ v187=v186[0];
677
+ v188=v186[1];
678
+ v1.uniform2f(g184.location,v187,v188);
679
+ v191=g190.call(this,v2,a0,0);
680
+ v192=v191[0];
681
+ v193=v191[1];
682
+ v1.uniform2f(g189.location,v192,v193);
683
+ v195=a0["baseline"];
684
+ v1.uniform1f(g194.location,v195);
685
+ v198=g197.call(this,v2,a0,0);
686
+ v1.uniform1f(g196.location,v198);
687
+ v200=a0["color"];
688
+ v201=v200[0];
689
+ v202=v200[1];
690
+ v203=v200[2];
691
+ v204=v200[3];
692
+ v1.uniform4f(g199.location,v201,v202,v203,v204);
693
+ v207=g206.call(this,v2,a0,0);
694
+ v1.uniform1f(g205.location,v207);
695
+ v209=a0["opacity"];
696
+ v1.uniform1f(g208.location,v209);
697
+ v211=a0["positionOffset"];
698
+ v212=v211[0];
699
+ v213=v211[1];
700
+ v1.uniform2f(g210.location,v212,v213);
701
+ v215=this["scale"];
702
+ v216=v215[0];
703
+ v217=v215[1];
704
+ v1.uniform2f(g214.location,v216,v217);
705
+ v219=this["translate"];
706
+ v220=v219[0];
707
+ v221=v219[1];
708
+ v1.uniform2f(g218.location,v220,v221);
709
+ v223=this["viewportArray"];
710
+ v224=v223[0];
711
+ v225=v223[1];
712
+ v226=v223[2];
713
+ v227=v223[3];
714
+ v1.uniform4f(g222.location,v224,v225,v226,v227);
715
+ v228=v6.elements;
716
+ if(v228){
717
+ v1.bindBuffer(34963,v228.buffer.buffer);
718
+ }
719
+ else if(v11.currentVAO){
720
+ v228=v7.getElements(v11.currentVAO.elements);
721
+ if(v228)v1.bindBuffer(34963,v228.buffer.buffer);
722
+ }
723
+ v229=a0["offset"];
724
+ v230=a0["count"];
725
+ if(v230){
726
+ v231=v6.instances;
727
+ if(v231>0){
728
+ if(v228){
729
+ v105.drawElementsInstancedANGLE(0,v230,v228.type,v229<<((v228.type-5121)>>1),v231);
730
+ }
731
+ else{
732
+ v105.drawArraysInstancedANGLE(0,v229,v230,v231);
733
+ }
734
+ }
735
+ else if(v231<0){
736
+ if(v228){
737
+ v1.drawElements(0,v230,v228.type,v229<<((v228.type-5121)>>1));
738
+ }
739
+ else{
740
+ v1.drawArrays(0,v229,v230);
741
+ }
742
+ }
743
+ v5.dirty=true;
744
+ v11.setVAO(null);
745
+ v2.viewportWidth=v97;
746
+ v2.viewportHeight=v98;
747
+ if(v102){
748
+ g48.cpuTime+=performance.now()-v103;
749
+ }
750
+ if(v107){
751
+ v8.destroyStream(v113);
752
+ }
753
+ if(v125){
754
+ v8.destroyStream(v131);
755
+ }
756
+ if(v143){
757
+ v8.destroyStream(v149);
758
+ }
759
+ if(v161){
760
+ v8.destroyStream(v167);
761
+ }
762
+ v183.unbind();
763
+ }
764
+ }
765
+ ,"scope":function(a0,a1,a2){
766
+ var v232,v233,v234,v235,v236,v237,v238,v239,v240,v241,v242,v244,v246,v248,v250,v252,v254,v256,v258,v260,v262,v264,v265,v266,v267,v268,v269,v270,v272,v273,v275,v276,v278,v279,v281,v282,v284,v285,v287,v288,v290,v291,v293,v294,v296,v297,v299,v300,v302,v303,v305,v306,v308,v309,v311,v312,v313,v314,v315,v316,v317,v318,v319,v320,v321,v322,v323,v324,v325,v327,v328,v329,v330,v331,v332,v333,v334,v335,v336,v337,v338,v339,v340,v341,v342,v343,v344,v345,v346,v347,v348,v349,v350,v351,v352,v354,v355,v356,v357,v358,v359,v360,v361,v362,v363,v364,v365,v366,v367,v368,v369,v370,v371,v372,v373,v374,v375,v376,v377,v378,v379,v381,v382,v383,v384,v385,v386,v387,v388,v389,v390,v391,v392,v393,v394,v395,v396,v397,v398,v399,v400,v401,v402,v403,v404,v405,v406,v408,v409,v410,v411,v412,v413,v414,v415,v416,v417,v418,v419,v421,v423;
767
+ v232=this["viewport"];
768
+ v233=v232.x|0;
769
+ v234=v232.y|0;
770
+ v235="width" in v232?v232.width|0:(v2.framebufferWidth-v233);
771
+ v236="height" in v232?v232.height|0:(v2.framebufferHeight-v234);
772
+ v237=v2.viewportWidth;
773
+ v2.viewportWidth=v235;
774
+ v238=v2.viewportHeight;
775
+ v2.viewportHeight=v236;
776
+ v239=v39[0];
777
+ v39[0]=v233;
778
+ v240=v39[1];
779
+ v39[1]=v234;
780
+ v241=v39[2];
781
+ v39[2]=v235;
782
+ v242=v39[3];
783
+ v39[3]=v236;
784
+ v244=v17[0];
785
+ v17[0]=g243;
786
+ v246=v17[1];
787
+ v17[1]=g245;
788
+ v248=v17[2];
789
+ v17[2]=g247;
790
+ v250=v17[3];
791
+ v17[3]=g249;
792
+ v252=v4.blend_enable;
793
+ v4.blend_enable=g251;
794
+ v254=v21[0];
795
+ v21[0]=g253;
796
+ v256=v21[1];
797
+ v21[1]=g255;
798
+ v258=v21[2];
799
+ v21[2]=g257;
800
+ v260=v21[3];
801
+ v21[3]=g259;
802
+ v262=v4.depth_enable;
803
+ v4.depth_enable=g261;
804
+ v264=v4.stencil_enable;
805
+ v4.stencil_enable=g263;
806
+ v265=v5.profile;
807
+ if(v265){
808
+ v266=performance.now();
809
+ g48.count++;
810
+ }
811
+ v267=a0["offset"];
812
+ v268=v6.offset;
813
+ v6.offset=v267;
814
+ v269=a0["count"];
815
+ v270=v6.count;
816
+ v6.count=v269;
817
+ v272=v6.primitive;
818
+ v6.primitive=g271;
819
+ v273=g190.call(this,v2,a0,a2);
820
+ v275=v12[g274];
821
+ v12[g274]=v273;
822
+ v276=g185.call(this,v2,a0,a2);
823
+ v278=v12[g277];
824
+ v12[g277]=v276;
825
+ v279=g181.call(this,v2,a0,a2);
826
+ v281=v12[g280];
827
+ v12[g280]=v279;
828
+ v282=g197.call(this,v2,a0,a2);
829
+ v284=v12[g283];
830
+ v12[g283]=v282;
831
+ v285=g206.call(this,v2,a0,a2);
832
+ v287=v12[g286];
833
+ v12[g286]=v285;
834
+ v288=a0["color"];
835
+ v290=v12[g289];
836
+ v12[g289]=v288;
837
+ v291=a0["opacity"];
838
+ v293=v12[g292];
839
+ v12[g292]=v291;
840
+ v294=this["viewportArray"];
841
+ v296=v12[g295];
842
+ v12[g295]=v294;
843
+ v297=this["scale"];
844
+ v299=v12[g298];
845
+ v12[g298]=v297;
846
+ v300=a0["align"];
847
+ v302=v12[g301];
848
+ v12[g301]=v300;
849
+ v303=a0["baseline"];
850
+ v305=v12[g304];
851
+ v12[g304]=v303;
852
+ v306=this["translate"];
853
+ v308=v12[g307];
854
+ v12[g307]=v306;
855
+ v309=a0["positionOffset"];
856
+ v311=v12[g310];
857
+ v12[g310]=v309;
858
+ v312=this["charBuffer"];
859
+ v313=false;
860
+ v314=1;
861
+ v315=0;
862
+ v316=0;
863
+ v317=0;
864
+ v318=0;
865
+ v319=null;
866
+ v320=0;
867
+ v321=false;
868
+ v322=5126;
869
+ v323=0;
870
+ v324=0;
871
+ v325=0;
872
+ if(v16(v312)){
873
+ v313=true;
874
+ v319=v8.createStream(34962,v312);
875
+ v322=v319.dtype;
876
+ }
877
+ else{
878
+ v319=v8.getBuffer(v312);
879
+ if(v319){
880
+ v322=v319.dtype;
881
+ }
882
+ else if("constant" in v312){
883
+ v314=2;
884
+ if(typeof v312.constant === "number"){
885
+ v315=v312.constant;
886
+ v316=v317=v318=0;
887
+ }
888
+ else{
889
+ v315=v312.constant.length>0?v312.constant[0]:0;
890
+ v316=v312.constant.length>1?v312.constant[1]:0;
891
+ v317=v312.constant.length>2?v312.constant[2]:0;
892
+ v318=v312.constant.length>3?v312.constant[3]:0;
893
+ }
894
+ }
895
+ else{
896
+ if(v16(v312.buffer)){
897
+ v319=v8.createStream(34962,v312.buffer);
898
+ }
899
+ else{
900
+ v319=v8.getBuffer(v312.buffer);
901
+ }
902
+ v322="type" in v312?v46[v312.type]:v319.dtype;
903
+ v321=!!v312.normalized;
904
+ v320=v312.size|0;
905
+ v323=v312.offset|0;
906
+ v324=v312.stride|0;
907
+ v325=v312.divisor|0;
908
+ }
909
+ }
910
+ v327=g326.state;
911
+ g326.state=v314;
912
+ v328=g326.x;
913
+ g326.x=v315;
914
+ v329=g326.y;
915
+ g326.y=v316;
916
+ v330=g326.z;
917
+ g326.z=v317;
918
+ v331=g326.w;
919
+ g326.w=v318;
920
+ v332=g326.buffer;
921
+ g326.buffer=v319;
922
+ v333=g326.size;
923
+ g326.size=v320;
924
+ v334=g326.normalized;
925
+ g326.normalized=v321;
926
+ v335=g326.type;
927
+ g326.type=v322;
928
+ v336=g326.offset;
929
+ g326.offset=v323;
930
+ v337=g326.stride;
931
+ g326.stride=v324;
932
+ v338=g326.divisor;
933
+ g326.divisor=v325;
934
+ v339=this["position"];
935
+ v340=false;
936
+ v341=1;
937
+ v342=0;
938
+ v343=0;
939
+ v344=0;
940
+ v345=0;
941
+ v346=null;
942
+ v347=0;
943
+ v348=false;
944
+ v349=5126;
945
+ v350=0;
946
+ v351=0;
947
+ v352=0;
948
+ if(v16(v339)){
949
+ v340=true;
950
+ v346=v8.createStream(34962,v339);
951
+ v349=v346.dtype;
952
+ }
953
+ else{
954
+ v346=v8.getBuffer(v339);
955
+ if(v346){
956
+ v349=v346.dtype;
957
+ }
958
+ else if("constant" in v339){
959
+ v341=2;
960
+ if(typeof v339.constant === "number"){
961
+ v342=v339.constant;
962
+ v343=v344=v345=0;
963
+ }
964
+ else{
965
+ v342=v339.constant.length>0?v339.constant[0]:0;
966
+ v343=v339.constant.length>1?v339.constant[1]:0;
967
+ v344=v339.constant.length>2?v339.constant[2]:0;
968
+ v345=v339.constant.length>3?v339.constant[3]:0;
969
+ }
970
+ }
971
+ else{
972
+ if(v16(v339.buffer)){
973
+ v346=v8.createStream(34962,v339.buffer);
974
+ }
975
+ else{
976
+ v346=v8.getBuffer(v339.buffer);
977
+ }
978
+ v349="type" in v339?v46[v339.type]:v346.dtype;
979
+ v348=!!v339.normalized;
980
+ v347=v339.size|0;
981
+ v350=v339.offset|0;
982
+ v351=v339.stride|0;
983
+ v352=v339.divisor|0;
984
+ }
985
+ }
986
+ v354=g353.state;
987
+ g353.state=v341;
988
+ v355=g353.x;
989
+ g353.x=v342;
990
+ v356=g353.y;
991
+ g353.y=v343;
992
+ v357=g353.z;
993
+ g353.z=v344;
994
+ v358=g353.w;
995
+ g353.w=v345;
996
+ v359=g353.buffer;
997
+ g353.buffer=v346;
998
+ v360=g353.size;
999
+ g353.size=v347;
1000
+ v361=g353.normalized;
1001
+ g353.normalized=v348;
1002
+ v362=g353.type;
1003
+ g353.type=v349;
1004
+ v363=g353.offset;
1005
+ g353.offset=v350;
1006
+ v364=g353.stride;
1007
+ g353.stride=v351;
1008
+ v365=g353.divisor;
1009
+ g353.divisor=v352;
1010
+ v366=this["sizeBuffer"];
1011
+ v49.buffer=v366;
1012
+ v367=false;
1013
+ v368=1;
1014
+ v369=0;
1015
+ v370=0;
1016
+ v371=0;
1017
+ v372=0;
1018
+ v373=null;
1019
+ v374=0;
1020
+ v375=false;
1021
+ v376=5126;
1022
+ v377=0;
1023
+ v378=0;
1024
+ v379=0;
1025
+ if(v16(v49)){
1026
+ v367=true;
1027
+ v373=v8.createStream(34962,v49);
1028
+ v376=v373.dtype;
1029
+ }
1030
+ else{
1031
+ v373=v8.getBuffer(v49);
1032
+ if(v373){
1033
+ v376=v373.dtype;
1034
+ }
1035
+ else if("constant" in v49){
1036
+ v368=2;
1037
+ if(typeof v49.constant === "number"){
1038
+ v369=v49.constant;
1039
+ v370=v371=v372=0;
1040
+ }
1041
+ else{
1042
+ v369=v49.constant.length>0?v49.constant[0]:0;
1043
+ v370=v49.constant.length>1?v49.constant[1]:0;
1044
+ v371=v49.constant.length>2?v49.constant[2]:0;
1045
+ v372=v49.constant.length>3?v49.constant[3]:0;
1046
+ }
1047
+ }
1048
+ else{
1049
+ if(v16(v49.buffer)){
1050
+ v373=v8.createStream(34962,v49.buffer);
1051
+ }
1052
+ else{
1053
+ v373=v8.getBuffer(v49.buffer);
1054
+ }
1055
+ v376="type" in v49?v46[v49.type]:v373.dtype;
1056
+ v375=!!v49.normalized;
1057
+ v374=v49.size|0;
1058
+ v377=v49.offset|0;
1059
+ v378=v49.stride|0;
1060
+ v379=v49.divisor|0;
1061
+ }
1062
+ }
1063
+ v381=g380.state;
1064
+ g380.state=v368;
1065
+ v382=g380.x;
1066
+ g380.x=v369;
1067
+ v383=g380.y;
1068
+ g380.y=v370;
1069
+ v384=g380.z;
1070
+ g380.z=v371;
1071
+ v385=g380.w;
1072
+ g380.w=v372;
1073
+ v386=g380.buffer;
1074
+ g380.buffer=v373;
1075
+ v387=g380.size;
1076
+ g380.size=v374;
1077
+ v388=g380.normalized;
1078
+ g380.normalized=v375;
1079
+ v389=g380.type;
1080
+ g380.type=v376;
1081
+ v390=g380.offset;
1082
+ g380.offset=v377;
1083
+ v391=g380.stride;
1084
+ g380.stride=v378;
1085
+ v392=g380.divisor;
1086
+ g380.divisor=v379;
1087
+ v393=this["sizeBuffer"];
1088
+ v50.buffer=v393;
1089
+ v394=false;
1090
+ v395=1;
1091
+ v396=0;
1092
+ v397=0;
1093
+ v398=0;
1094
+ v399=0;
1095
+ v400=null;
1096
+ v401=0;
1097
+ v402=false;
1098
+ v403=5126;
1099
+ v404=0;
1100
+ v405=0;
1101
+ v406=0;
1102
+ if(v16(v50)){
1103
+ v394=true;
1104
+ v400=v8.createStream(34962,v50);
1105
+ v403=v400.dtype;
1106
+ }
1107
+ else{
1108
+ v400=v8.getBuffer(v50);
1109
+ if(v400){
1110
+ v403=v400.dtype;
1111
+ }
1112
+ else if("constant" in v50){
1113
+ v395=2;
1114
+ if(typeof v50.constant === "number"){
1115
+ v396=v50.constant;
1116
+ v397=v398=v399=0;
1117
+ }
1118
+ else{
1119
+ v396=v50.constant.length>0?v50.constant[0]:0;
1120
+ v397=v50.constant.length>1?v50.constant[1]:0;
1121
+ v398=v50.constant.length>2?v50.constant[2]:0;
1122
+ v399=v50.constant.length>3?v50.constant[3]:0;
1123
+ }
1124
+ }
1125
+ else{
1126
+ if(v16(v50.buffer)){
1127
+ v400=v8.createStream(34962,v50.buffer);
1128
+ }
1129
+ else{
1130
+ v400=v8.getBuffer(v50.buffer);
1131
+ }
1132
+ v403="type" in v50?v46[v50.type]:v400.dtype;
1133
+ v402=!!v50.normalized;
1134
+ v401=v50.size|0;
1135
+ v404=v50.offset|0;
1136
+ v405=v50.stride|0;
1137
+ v406=v50.divisor|0;
1138
+ }
1139
+ }
1140
+ v408=g407.state;
1141
+ g407.state=v395;
1142
+ v409=g407.x;
1143
+ g407.x=v396;
1144
+ v410=g407.y;
1145
+ g407.y=v397;
1146
+ v411=g407.z;
1147
+ g407.z=v398;
1148
+ v412=g407.w;
1149
+ g407.w=v399;
1150
+ v413=g407.buffer;
1151
+ g407.buffer=v400;
1152
+ v414=g407.size;
1153
+ g407.size=v401;
1154
+ v415=g407.normalized;
1155
+ g407.normalized=v402;
1156
+ v416=g407.type;
1157
+ g407.type=v403;
1158
+ v417=g407.offset;
1159
+ g407.offset=v404;
1160
+ v418=g407.stride;
1161
+ g407.stride=v405;
1162
+ v419=g407.divisor;
1163
+ g407.divisor=v406;
1164
+ v421=v9.vert;
1165
+ v9.vert=g420;
1166
+ v423=v9.frag;
1167
+ v9.frag=g422;
1168
+ v5.dirty=true;
1169
+ a1(v2,a0,a2);
1170
+ v2.viewportWidth=v237;
1171
+ v2.viewportHeight=v238;
1172
+ v39[0]=v239;
1173
+ v39[1]=v240;
1174
+ v39[2]=v241;
1175
+ v39[3]=v242;
1176
+ v17[0]=v244;
1177
+ v17[1]=v246;
1178
+ v17[2]=v248;
1179
+ v17[3]=v250;
1180
+ v4.blend_enable=v252;
1181
+ v21[0]=v254;
1182
+ v21[1]=v256;
1183
+ v21[2]=v258;
1184
+ v21[3]=v260;
1185
+ v4.depth_enable=v262;
1186
+ v4.stencil_enable=v264;
1187
+ if(v265){
1188
+ g48.cpuTime+=performance.now()-v266;
1189
+ }
1190
+ v6.offset=v268;
1191
+ v6.count=v270;
1192
+ v6.primitive=v272;
1193
+ v12[g274]=v275;
1194
+ v12[g277]=v278;
1195
+ v12[g280]=v281;
1196
+ v12[g283]=v284;
1197
+ v12[g286]=v287;
1198
+ v12[g289]=v290;
1199
+ v12[g292]=v293;
1200
+ v12[g295]=v296;
1201
+ v12[g298]=v299;
1202
+ v12[g301]=v302;
1203
+ v12[g304]=v305;
1204
+ v12[g307]=v308;
1205
+ v12[g310]=v311;
1206
+ if(v313){
1207
+ v8.destroyStream(v319);
1208
+ }
1209
+ g326.state=v327;
1210
+ g326.x=v328;
1211
+ g326.y=v329;
1212
+ g326.z=v330;
1213
+ g326.w=v331;
1214
+ g326.buffer=v332;
1215
+ g326.size=v333;
1216
+ g326.normalized=v334;
1217
+ g326.type=v335;
1218
+ g326.offset=v336;
1219
+ g326.stride=v337;
1220
+ g326.divisor=v338;
1221
+ if(v340){
1222
+ v8.destroyStream(v346);
1223
+ }
1224
+ g353.state=v354;
1225
+ g353.x=v355;
1226
+ g353.y=v356;
1227
+ g353.z=v357;
1228
+ g353.w=v358;
1229
+ g353.buffer=v359;
1230
+ g353.size=v360;
1231
+ g353.normalized=v361;
1232
+ g353.type=v362;
1233
+ g353.offset=v363;
1234
+ g353.stride=v364;
1235
+ g353.divisor=v365;
1236
+ if(v367){
1237
+ v8.destroyStream(v373);
1238
+ }
1239
+ g380.state=v381;
1240
+ g380.x=v382;
1241
+ g380.y=v383;
1242
+ g380.z=v384;
1243
+ g380.w=v385;
1244
+ g380.buffer=v386;
1245
+ g380.size=v387;
1246
+ g380.normalized=v388;
1247
+ g380.type=v389;
1248
+ g380.offset=v390;
1249
+ g380.stride=v391;
1250
+ g380.divisor=v392;
1251
+ if(v394){
1252
+ v8.destroyStream(v400);
1253
+ }
1254
+ g407.state=v408;
1255
+ g407.x=v409;
1256
+ g407.y=v410;
1257
+ g407.z=v411;
1258
+ g407.w=v412;
1259
+ g407.buffer=v413;
1260
+ g407.size=v414;
1261
+ g407.normalized=v415;
1262
+ g407.type=v416;
1263
+ g407.offset=v417;
1264
+ g407.stride=v418;
1265
+ g407.divisor=v419;
1266
+ v9.vert=v421;
1267
+ v9.frag=v423;
1268
+ v5.dirty=true;
1269
+ }
1270
+ ,"batch":function(a0,a1){
1271
+ var v424,v425,v465,v466,v467,v468,v469,v470,v471,v475,v476,v477,v478,v479;
1272
+ v424=v14.angle_instanced_arrays;
1273
+ v425=v13.next;
1274
+ if(v425!==v13.cur){
1275
+ if(v425){
1276
+ v1.bindFramebuffer(36160,v425.framebuffer);
1277
+ }
1278
+ else{
1279
+ v1.bindFramebuffer(36160,null);
1280
+ }
1281
+ v13.cur=v425;
1282
+ }
1283
+ if(v5.dirty){
1284
+ var v426,v427,v428,v429,v430,v431,v432,v433,v434,v435,v436,v437,v438,v439,v440,v441,v442,v443,v444,v445,v446,v447,v448,v449,v450,v451,v452,v453,v454,v455,v456,v457,v458,v459,v460,v461,v462,v463,v464;
1285
+ v426=v4.dither;
1286
+ if(v426!==v5.dither){
1287
+ if(v426){
1288
+ v1.enable(3024);
1289
+ }
1290
+ else{
1291
+ v1.disable(3024);
1292
+ }
1293
+ v5.dither=v426;
1294
+ }
1295
+ v427=v19[0];
1296
+ v428=v19[1];
1297
+ if(v427!==v20[0]||v428!==v20[1]){
1298
+ v1.blendEquationSeparate(v427,v428);
1299
+ v20[0]=v427;
1300
+ v20[1]=v428;
1301
+ }
1302
+ v429=v4.depth_func;
1303
+ if(v429!==v5.depth_func){
1304
+ v1.depthFunc(v429);
1305
+ v5.depth_func=v429;
1306
+ }
1307
+ v430=v23[0];
1308
+ v431=v23[1];
1309
+ if(v430!==v24[0]||v431!==v24[1]){
1310
+ v1.depthRange(v430,v431);
1311
+ v24[0]=v430;
1312
+ v24[1]=v431;
1313
+ }
1314
+ v432=v4.depth_mask;
1315
+ if(v432!==v5.depth_mask){
1316
+ v1.depthMask(v432);
1317
+ v5.depth_mask=v432;
1318
+ }
1319
+ v433=v25[0];
1320
+ v434=v25[1];
1321
+ v435=v25[2];
1322
+ v436=v25[3];
1323
+ if(v433!==v26[0]||v434!==v26[1]||v435!==v26[2]||v436!==v26[3]){
1324
+ v1.colorMask(v433,v434,v435,v436);
1325
+ v26[0]=v433;
1326
+ v26[1]=v434;
1327
+ v26[2]=v435;
1328
+ v26[3]=v436;
1329
+ }
1330
+ v437=v4.cull_enable;
1331
+ if(v437!==v5.cull_enable){
1332
+ if(v437){
1333
+ v1.enable(2884);
1334
+ }
1335
+ else{
1336
+ v1.disable(2884);
1337
+ }
1338
+ v5.cull_enable=v437;
1339
+ }
1340
+ v438=v4.cull_face;
1341
+ if(v438!==v5.cull_face){
1342
+ v1.cullFace(v438);
1343
+ v5.cull_face=v438;
1344
+ }
1345
+ v439=v4.frontFace;
1346
+ if(v439!==v5.frontFace){
1347
+ v1.frontFace(v439);
1348
+ v5.frontFace=v439;
1349
+ }
1350
+ v440=v4.lineWidth;
1351
+ if(v440!==v5.lineWidth){
1352
+ v1.lineWidth(v440);
1353
+ v5.lineWidth=v440;
1354
+ }
1355
+ v441=v4.polygonOffset_enable;
1356
+ if(v441!==v5.polygonOffset_enable){
1357
+ if(v441){
1358
+ v1.enable(32823);
1359
+ }
1360
+ else{
1361
+ v1.disable(32823);
1362
+ }
1363
+ v5.polygonOffset_enable=v441;
1364
+ }
1365
+ v442=v27[0];
1366
+ v443=v27[1];
1367
+ if(v442!==v28[0]||v443!==v28[1]){
1368
+ v1.polygonOffset(v442,v443);
1369
+ v28[0]=v442;
1370
+ v28[1]=v443;
1371
+ }
1372
+ v444=v4.sample_alpha;
1373
+ if(v444!==v5.sample_alpha){
1374
+ if(v444){
1375
+ v1.enable(32926);
1376
+ }
1377
+ else{
1378
+ v1.disable(32926);
1379
+ }
1380
+ v5.sample_alpha=v444;
1381
+ }
1382
+ v445=v4.sample_enable;
1383
+ if(v445!==v5.sample_enable){
1384
+ if(v445){
1385
+ v1.enable(32928);
1386
+ }
1387
+ else{
1388
+ v1.disable(32928);
1389
+ }
1390
+ v5.sample_enable=v445;
1391
+ }
1392
+ v446=v29[0];
1393
+ v447=v29[1];
1394
+ if(v446!==v30[0]||v447!==v30[1]){
1395
+ v1.sampleCoverage(v446,v447);
1396
+ v30[0]=v446;
1397
+ v30[1]=v447;
1398
+ }
1399
+ v448=v4.stencil_mask;
1400
+ if(v448!==v5.stencil_mask){
1401
+ v1.stencilMask(v448);
1402
+ v5.stencil_mask=v448;
1403
+ }
1404
+ v449=v31[0];
1405
+ v450=v31[1];
1406
+ v451=v31[2];
1407
+ if(v449!==v32[0]||v450!==v32[1]||v451!==v32[2]){
1408
+ v1.stencilFunc(v449,v450,v451);
1409
+ v32[0]=v449;
1410
+ v32[1]=v450;
1411
+ v32[2]=v451;
1412
+ }
1413
+ v452=v33[0];
1414
+ v453=v33[1];
1415
+ v454=v33[2];
1416
+ v455=v33[3];
1417
+ if(v452!==v34[0]||v453!==v34[1]||v454!==v34[2]||v455!==v34[3]){
1418
+ v1.stencilOpSeparate(v452,v453,v454,v455);
1419
+ v34[0]=v452;
1420
+ v34[1]=v453;
1421
+ v34[2]=v454;
1422
+ v34[3]=v455;
1423
+ }
1424
+ v456=v35[0];
1425
+ v457=v35[1];
1426
+ v458=v35[2];
1427
+ v459=v35[3];
1428
+ if(v456!==v36[0]||v457!==v36[1]||v458!==v36[2]||v459!==v36[3]){
1429
+ v1.stencilOpSeparate(v456,v457,v458,v459);
1430
+ v36[0]=v456;
1431
+ v36[1]=v457;
1432
+ v36[2]=v458;
1433
+ v36[3]=v459;
1434
+ }
1435
+ v460=v4.scissor_enable;
1436
+ if(v460!==v5.scissor_enable){
1437
+ if(v460){
1438
+ v1.enable(3089);
1439
+ }
1440
+ else{
1441
+ v1.disable(3089);
1442
+ }
1443
+ v5.scissor_enable=v460;
1444
+ }
1445
+ v461=v37[0];
1446
+ v462=v37[1];
1447
+ v463=v37[2];
1448
+ v464=v37[3];
1449
+ if(v461!==v38[0]||v462!==v38[1]||v463!==v38[2]||v464!==v38[3]){
1450
+ v1.scissor(v461,v462,v463,v464);
1451
+ v38[0]=v461;
1452
+ v38[1]=v462;
1453
+ v38[2]=v463;
1454
+ v38[3]=v464;
1455
+ }
1456
+ }
1457
+ v465=this["viewport"];
1458
+ v466=v465.x|0;
1459
+ v467=v465.y|0;
1460
+ v468="width" in v465?v465.width|0:(v2.framebufferWidth-v466);
1461
+ v469="height" in v465?v465.height|0:(v2.framebufferHeight-v467);
1462
+ v470=v2.viewportWidth;
1463
+ v2.viewportWidth=v468;
1464
+ v471=v2.viewportHeight;
1465
+ v2.viewportHeight=v469;
1466
+ v1.viewport(v466,v467,v468,v469);
1467
+ v40[0]=v466;
1468
+ v40[1]=v467;
1469
+ v40[2]=v468;
1470
+ v40[3]=v469;
1471
+ v1.blendColor(0,0,0,1);
1472
+ v18[0]=0;
1473
+ v18[1]=0;
1474
+ v18[2]=0;
1475
+ v18[3]=1;
1476
+ if(g472){
1477
+ v1.enable(3042);
1478
+ }
1479
+ else{
1480
+ v1.disable(3042);
1481
+ }
1482
+ v5.blend_enable=g472;
1483
+ v1.blendFuncSeparate(770,771,773,1);
1484
+ v22[0]=770;
1485
+ v22[1]=771;
1486
+ v22[2]=773;
1487
+ v22[3]=1;
1488
+ if(g473){
1489
+ v1.enable(2929);
1490
+ }
1491
+ else{
1492
+ v1.disable(2929);
1493
+ }
1494
+ v5.depth_enable=g473;
1495
+ if(g474){
1496
+ v1.enable(2960);
1497
+ }
1498
+ else{
1499
+ v1.disable(2960);
1500
+ }
1501
+ v5.stencil_enable=g474;
1502
+ v475=v5.profile;
1503
+ if(v475){
1504
+ v476=performance.now();
1505
+ g48.count+=a1;
1506
+ }
1507
+ v1.useProgram(g104.program);
1508
+ v477=v14.angle_instanced_arrays;
1509
+ var v480,v481,v482,v483,v484,v485,v486,v487,v488,v489,v490,v491,v492,v493,v494,v495,v496,v497,v498,v499,v500,v501,v502,v503,v504,v505,v506,v507,v508,v509,v510,v511,v512,v513,v514,v515,v516,v517,v518,v519,v520,v521,v522,v523,v524,v525,v526,v527,v528,v529,v530,v531,v532,v533,v534,v535,v536,v537,v538,v539,v540,v541,v542,v543,v544,v545,v546,v547,v548,v549,v550,v551,v552,v553,v554,v555,v556,v557,v558,v595,v598;
1510
+ v11.setVAO(null);
1511
+ v480=this["charBuffer"];
1512
+ v481=false;
1513
+ v482=1;
1514
+ v483=0;
1515
+ v484=0;
1516
+ v485=0;
1517
+ v486=0;
1518
+ v487=null;
1519
+ v488=0;
1520
+ v489=false;
1521
+ v490=5126;
1522
+ v491=0;
1523
+ v492=0;
1524
+ v493=0;
1525
+ if(v16(v480)){
1526
+ v481=true;
1527
+ v487=v8.createStream(34962,v480);
1528
+ v490=v487.dtype;
1529
+ }
1530
+ else{
1531
+ v487=v8.getBuffer(v480);
1532
+ if(v487){
1533
+ v490=v487.dtype;
1534
+ }
1535
+ else if("constant" in v480){
1536
+ v482=2;
1537
+ if(typeof v480.constant === "number"){
1538
+ v483=v480.constant;
1539
+ v484=v485=v486=0;
1540
+ }
1541
+ else{
1542
+ v483=v480.constant.length>0?v480.constant[0]:0;
1543
+ v484=v480.constant.length>1?v480.constant[1]:0;
1544
+ v485=v480.constant.length>2?v480.constant[2]:0;
1545
+ v486=v480.constant.length>3?v480.constant[3]:0;
1546
+ }
1547
+ }
1548
+ else{
1549
+ if(v16(v480.buffer)){
1550
+ v487=v8.createStream(34962,v480.buffer);
1551
+ }
1552
+ else{
1553
+ v487=v8.getBuffer(v480.buffer);
1554
+ }
1555
+ v490="type" in v480?v46[v480.type]:v487.dtype;
1556
+ v489=!!v480.normalized;
1557
+ v488=v480.size|0;
1558
+ v491=v480.offset|0;
1559
+ v492=v480.stride|0;
1560
+ v493=v480.divisor|0;
1561
+ }
1562
+ }
1563
+ v494=g120.location;
1564
+ v495=v10[v494];
1565
+ if(v482===1){
1566
+ if(!v495.buffer){
1567
+ v1.enableVertexAttribArray(v494);
1568
+ }
1569
+ v496=v488||1;
1570
+ if(v495.type!==v490||v495.size!==v496||v495.buffer!==v487||v495.normalized!==v489||v495.offset!==v491||v495.stride!==v492){
1571
+ v1.bindBuffer(34962,v487.buffer);
1572
+ v1.vertexAttribPointer(v494,v496,v490,v489,v492,v491);
1573
+ v495.type=v490;
1574
+ v495.size=v496;
1575
+ v495.buffer=v487;
1576
+ v495.normalized=v489;
1577
+ v495.offset=v491;
1578
+ v495.stride=v492;
1579
+ }
1580
+ if(v495.divisor!==v493){
1581
+ v477.vertexAttribDivisorANGLE(v494,v493);
1582
+ v495.divisor=v493;
1583
+ }
1584
+ }
1585
+ else{
1586
+ if(v495.buffer){
1587
+ v1.disableVertexAttribArray(v494);
1588
+ v495.buffer=null;
1589
+ }
1590
+ if(v495.x!==v483||v495.y!==v484||v495.z!==v485||v495.w!==v486){
1591
+ v1.vertexAttrib4f(v494,v483,v484,v485,v486);
1592
+ v495.x=v483;
1593
+ v495.y=v484;
1594
+ v495.z=v485;
1595
+ v495.w=v486;
1596
+ }
1597
+ }
1598
+ v497=this["sizeBuffer"];
1599
+ v49.buffer=v497;
1600
+ v498=false;
1601
+ v499=1;
1602
+ v500=0;
1603
+ v501=0;
1604
+ v502=0;
1605
+ v503=0;
1606
+ v504=null;
1607
+ v505=0;
1608
+ v506=false;
1609
+ v507=5126;
1610
+ v508=0;
1611
+ v509=0;
1612
+ v510=0;
1613
+ if(v16(v49)){
1614
+ v498=true;
1615
+ v504=v8.createStream(34962,v49);
1616
+ v507=v504.dtype;
1617
+ }
1618
+ else{
1619
+ v504=v8.getBuffer(v49);
1620
+ if(v504){
1621
+ v507=v504.dtype;
1622
+ }
1623
+ else if("constant" in v49){
1624
+ v499=2;
1625
+ if(typeof v49.constant === "number"){
1626
+ v500=v49.constant;
1627
+ v501=v502=v503=0;
1628
+ }
1629
+ else{
1630
+ v500=v49.constant.length>0?v49.constant[0]:0;
1631
+ v501=v49.constant.length>1?v49.constant[1]:0;
1632
+ v502=v49.constant.length>2?v49.constant[2]:0;
1633
+ v503=v49.constant.length>3?v49.constant[3]:0;
1634
+ }
1635
+ }
1636
+ else{
1637
+ if(v16(v49.buffer)){
1638
+ v504=v8.createStream(34962,v49.buffer);
1639
+ }
1640
+ else{
1641
+ v504=v8.getBuffer(v49.buffer);
1642
+ }
1643
+ v507="type" in v49?v46[v49.type]:v504.dtype;
1644
+ v506=!!v49.normalized;
1645
+ v505=v49.size|0;
1646
+ v508=v49.offset|0;
1647
+ v509=v49.stride|0;
1648
+ v510=v49.divisor|0;
1649
+ }
1650
+ }
1651
+ v511=g138.location;
1652
+ v512=v10[v511];
1653
+ if(v499===1){
1654
+ if(!v512.buffer){
1655
+ v1.enableVertexAttribArray(v511);
1656
+ }
1657
+ v513=v505||1;
1658
+ if(v512.type!==v507||v512.size!==v513||v512.buffer!==v504||v512.normalized!==v506||v512.offset!==v508||v512.stride!==v509){
1659
+ v1.bindBuffer(34962,v504.buffer);
1660
+ v1.vertexAttribPointer(v511,v513,v507,v506,v509,v508);
1661
+ v512.type=v507;
1662
+ v512.size=v513;
1663
+ v512.buffer=v504;
1664
+ v512.normalized=v506;
1665
+ v512.offset=v508;
1666
+ v512.stride=v509;
1667
+ }
1668
+ if(v512.divisor!==v510){
1669
+ v477.vertexAttribDivisorANGLE(v511,v510);
1670
+ v512.divisor=v510;
1671
+ }
1672
+ }
1673
+ else{
1674
+ if(v512.buffer){
1675
+ v1.disableVertexAttribArray(v511);
1676
+ v512.buffer=null;
1677
+ }
1678
+ if(v512.x!==v500||v512.y!==v501||v512.z!==v502||v512.w!==v503){
1679
+ v1.vertexAttrib4f(v511,v500,v501,v502,v503);
1680
+ v512.x=v500;
1681
+ v512.y=v501;
1682
+ v512.z=v502;
1683
+ v512.w=v503;
1684
+ }
1685
+ }
1686
+ v514=this["position"];
1687
+ v515=false;
1688
+ v516=1;
1689
+ v517=0;
1690
+ v518=0;
1691
+ v519=0;
1692
+ v520=0;
1693
+ v521=null;
1694
+ v522=0;
1695
+ v523=false;
1696
+ v524=5126;
1697
+ v525=0;
1698
+ v526=0;
1699
+ v527=0;
1700
+ if(v16(v514)){
1701
+ v515=true;
1702
+ v521=v8.createStream(34962,v514);
1703
+ v524=v521.dtype;
1704
+ }
1705
+ else{
1706
+ v521=v8.getBuffer(v514);
1707
+ if(v521){
1708
+ v524=v521.dtype;
1709
+ }
1710
+ else if("constant" in v514){
1711
+ v516=2;
1712
+ if(typeof v514.constant === "number"){
1713
+ v517=v514.constant;
1714
+ v518=v519=v520=0;
1715
+ }
1716
+ else{
1717
+ v517=v514.constant.length>0?v514.constant[0]:0;
1718
+ v518=v514.constant.length>1?v514.constant[1]:0;
1719
+ v519=v514.constant.length>2?v514.constant[2]:0;
1720
+ v520=v514.constant.length>3?v514.constant[3]:0;
1721
+ }
1722
+ }
1723
+ else{
1724
+ if(v16(v514.buffer)){
1725
+ v521=v8.createStream(34962,v514.buffer);
1726
+ }
1727
+ else{
1728
+ v521=v8.getBuffer(v514.buffer);
1729
+ }
1730
+ v524="type" in v514?v46[v514.type]:v521.dtype;
1731
+ v523=!!v514.normalized;
1732
+ v522=v514.size|0;
1733
+ v525=v514.offset|0;
1734
+ v526=v514.stride|0;
1735
+ v527=v514.divisor|0;
1736
+ }
1737
+ }
1738
+ v528=g156.location;
1739
+ v529=v10[v528];
1740
+ if(v516===1){
1741
+ if(!v529.buffer){
1742
+ v1.enableVertexAttribArray(v528);
1743
+ }
1744
+ v530=v522||2;
1745
+ if(v529.type!==v524||v529.size!==v530||v529.buffer!==v521||v529.normalized!==v523||v529.offset!==v525||v529.stride!==v526){
1746
+ v1.bindBuffer(34962,v521.buffer);
1747
+ v1.vertexAttribPointer(v528,v530,v524,v523,v526,v525);
1748
+ v529.type=v524;
1749
+ v529.size=v530;
1750
+ v529.buffer=v521;
1751
+ v529.normalized=v523;
1752
+ v529.offset=v525;
1753
+ v529.stride=v526;
1754
+ }
1755
+ if(v529.divisor!==v527){
1756
+ v477.vertexAttribDivisorANGLE(v528,v527);
1757
+ v529.divisor=v527;
1758
+ }
1759
+ }
1760
+ else{
1761
+ if(v529.buffer){
1762
+ v1.disableVertexAttribArray(v528);
1763
+ v529.buffer=null;
1764
+ }
1765
+ if(v529.x!==v517||v529.y!==v518||v529.z!==v519||v529.w!==v520){
1766
+ v1.vertexAttrib4f(v528,v517,v518,v519,v520);
1767
+ v529.x=v517;
1768
+ v529.y=v518;
1769
+ v529.z=v519;
1770
+ v529.w=v520;
1771
+ }
1772
+ }
1773
+ v531=this["sizeBuffer"];
1774
+ v50.buffer=v531;
1775
+ v532=false;
1776
+ v533=1;
1777
+ v534=0;
1778
+ v535=0;
1779
+ v536=0;
1780
+ v537=0;
1781
+ v538=null;
1782
+ v539=0;
1783
+ v540=false;
1784
+ v541=5126;
1785
+ v542=0;
1786
+ v543=0;
1787
+ v544=0;
1788
+ if(v16(v50)){
1789
+ v532=true;
1790
+ v538=v8.createStream(34962,v50);
1791
+ v541=v538.dtype;
1792
+ }
1793
+ else{
1794
+ v538=v8.getBuffer(v50);
1795
+ if(v538){
1796
+ v541=v538.dtype;
1797
+ }
1798
+ else if("constant" in v50){
1799
+ v533=2;
1800
+ if(typeof v50.constant === "number"){
1801
+ v534=v50.constant;
1802
+ v535=v536=v537=0;
1803
+ }
1804
+ else{
1805
+ v534=v50.constant.length>0?v50.constant[0]:0;
1806
+ v535=v50.constant.length>1?v50.constant[1]:0;
1807
+ v536=v50.constant.length>2?v50.constant[2]:0;
1808
+ v537=v50.constant.length>3?v50.constant[3]:0;
1809
+ }
1810
+ }
1811
+ else{
1812
+ if(v16(v50.buffer)){
1813
+ v538=v8.createStream(34962,v50.buffer);
1814
+ }
1815
+ else{
1816
+ v538=v8.getBuffer(v50.buffer);
1817
+ }
1818
+ v541="type" in v50?v46[v50.type]:v538.dtype;
1819
+ v540=!!v50.normalized;
1820
+ v539=v50.size|0;
1821
+ v542=v50.offset|0;
1822
+ v543=v50.stride|0;
1823
+ v544=v50.divisor|0;
1824
+ }
1825
+ }
1826
+ v545=g174.location;
1827
+ v546=v10[v545];
1828
+ if(v533===1){
1829
+ if(!v546.buffer){
1830
+ v1.enableVertexAttribArray(v545);
1831
+ }
1832
+ v547=v539||1;
1833
+ if(v546.type!==v541||v546.size!==v547||v546.buffer!==v538||v546.normalized!==v540||v546.offset!==v542||v546.stride!==v543){
1834
+ v1.bindBuffer(34962,v538.buffer);
1835
+ v1.vertexAttribPointer(v545,v547,v541,v540,v543,v542);
1836
+ v546.type=v541;
1837
+ v546.size=v547;
1838
+ v546.buffer=v538;
1839
+ v546.normalized=v540;
1840
+ v546.offset=v542;
1841
+ v546.stride=v543;
1842
+ }
1843
+ if(v546.divisor!==v544){
1844
+ v477.vertexAttribDivisorANGLE(v545,v544);
1845
+ v546.divisor=v544;
1846
+ }
1847
+ }
1848
+ else{
1849
+ if(v546.buffer){
1850
+ v1.disableVertexAttribArray(v545);
1851
+ v546.buffer=null;
1852
+ }
1853
+ if(v546.x!==v534||v546.y!==v535||v546.z!==v536||v546.w!==v537){
1854
+ v1.vertexAttrib4f(v545,v534,v535,v536,v537);
1855
+ v546.x=v534;
1856
+ v546.y=v535;
1857
+ v546.z=v536;
1858
+ v546.w=v537;
1859
+ }
1860
+ }
1861
+ v548=this["scale"];
1862
+ v549=v548[0];
1863
+ v550=v548[1];
1864
+ v1.uniform2f(g214.location,v549,v550);
1865
+ v551=this["translate"];
1866
+ v552=v551[0];
1867
+ v553=v551[1];
1868
+ v1.uniform2f(g218.location,v552,v553);
1869
+ v554=this["viewportArray"];
1870
+ v555=v554[0];
1871
+ v556=v554[1];
1872
+ v557=v554[2];
1873
+ v558=v554[3];
1874
+ v1.uniform4f(g222.location,v555,v556,v557,v558);
1875
+ v595=v6.elements;
1876
+ if(v595){
1877
+ v1.bindBuffer(34963,v595.buffer.buffer);
1878
+ }
1879
+ else if(v11.currentVAO){
1880
+ v595=v7.getElements(v11.currentVAO.elements);
1881
+ if(v595)v1.bindBuffer(34963,v595.buffer.buffer);
1882
+ }
1883
+ v598=v6.instances;
1884
+ for(v478=0;
1885
+ v478<a1;
1886
+ ++v478){
1887
+ v479=a0[v478];
1888
+ var v559,v560,v561,v562,v563,v564,v565,v566,v567,v568,v569,v570,v571,v572,v573,v574,v575,v576,v577,v578,v579,v580,v581,v582,v583,v584,v585,v586,v587,v588,v589,v590,v591,v592,v593,v594,v596,v597;
1889
+ v559=v479["align"];
1890
+ if(!v478||v560!==v559){
1891
+ v560=v559;
1892
+ v1.uniform1f(g178.location,v559);
1893
+ }
1894
+ v561=g181.call(this,v2,v479,v478);
1895
+ if(v561&&v561._reglType==="framebuffer"){
1896
+ v561=v561.color[0];
1897
+ }
1898
+ v562=v561._texture;
1899
+ v1.uniform1i(g180.location,v562.bind());
1900
+ v563=g185.call(this,v2,v479,v478);
1901
+ v564=v563[0];
1902
+ v566=v563[1];
1903
+ if(!v478||v565!==v564||v567!==v566){
1904
+ v565=v564;
1905
+ v567=v566;
1906
+ v1.uniform2f(g184.location,v564,v566);
1907
+ }
1908
+ v568=g190.call(this,v2,v479,v478);
1909
+ v569=v568[0];
1910
+ v571=v568[1];
1911
+ if(!v478||v570!==v569||v572!==v571){
1912
+ v570=v569;
1913
+ v572=v571;
1914
+ v1.uniform2f(g189.location,v569,v571);
1915
+ }
1916
+ v573=v479["baseline"];
1917
+ if(!v478||v574!==v573){
1918
+ v574=v573;
1919
+ v1.uniform1f(g194.location,v573);
1920
+ }
1921
+ v575=g197.call(this,v2,v479,v478);
1922
+ if(!v478||v576!==v575){
1923
+ v576=v575;
1924
+ v1.uniform1f(g196.location,v575);
1925
+ }
1926
+ v577=v479["color"];
1927
+ v578=v577[0];
1928
+ v580=v577[1];
1929
+ v582=v577[2];
1930
+ v584=v577[3];
1931
+ if(!v478||v579!==v578||v581!==v580||v583!==v582||v585!==v584){
1932
+ v579=v578;
1933
+ v581=v580;
1934
+ v583=v582;
1935
+ v585=v584;
1936
+ v1.uniform4f(g199.location,v578,v580,v582,v584);
1937
+ }
1938
+ v586=g206.call(this,v2,v479,v478);
1939
+ if(!v478||v587!==v586){
1940
+ v587=v586;
1941
+ v1.uniform1f(g205.location,v586);
1942
+ }
1943
+ v588=v479["opacity"];
1944
+ if(!v478||v589!==v588){
1945
+ v589=v588;
1946
+ v1.uniform1f(g208.location,v588);
1947
+ }
1948
+ v590=v479["positionOffset"];
1949
+ v591=v590[0];
1950
+ v593=v590[1];
1951
+ if(!v478||v592!==v591||v594!==v593){
1952
+ v592=v591;
1953
+ v594=v593;
1954
+ v1.uniform2f(g210.location,v591,v593);
1955
+ }
1956
+ v596=v479["offset"];
1957
+ v597=v479["count"];
1958
+ if(v597){
1959
+ if(v598>0){
1960
+ if(v595){
1961
+ v477.drawElementsInstancedANGLE(0,v597,v595.type,v596<<((v595.type-5121)>>1),v598);
1962
+ }
1963
+ else{
1964
+ v477.drawArraysInstancedANGLE(0,v596,v597,v598);
1965
+ }
1966
+ }
1967
+ else if(v598<0){
1968
+ if(v595){
1969
+ v1.drawElements(0,v597,v595.type,v596<<((v595.type-5121)>>1));
1970
+ }
1971
+ else{
1972
+ v1.drawArrays(0,v596,v597);
1973
+ }
1974
+ }
1975
+ v562.unbind();
1976
+ }
1977
+ }
1978
+ if(v481){
1979
+ v8.destroyStream(v487);
1980
+ }
1981
+ if(v498){
1982
+ v8.destroyStream(v504);
1983
+ }
1984
+ if(v515){
1985
+ v8.destroyStream(v521);
1986
+ }
1987
+ if(v532){
1988
+ v8.destroyStream(v538);
1989
+ }
1990
+ v5.dirty=true;
1991
+ v11.setVAO(null);
1992
+ v2.viewportWidth=v470;
1993
+ v2.viewportHeight=v471;
1994
+ if(v475){
1995
+ g48.cpuTime+=performance.now()-v476;
1996
+ }
1997
+ }
1998
+ ,}
1999
+
2000
+ }