plotly.js 2.10.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.
- package/CHANGELOG.md +19 -0
- package/CONTRIBUTING.md +17 -0
- package/README.md +3 -3
- package/dist/README.md +23 -23
- package/dist/plotly-basic.js +2 -2
- package/dist/plotly-basic.min.js +2 -2
- package/dist/plotly-cartesian.js +2 -2
- package/dist/plotly-cartesian.min.js +2 -2
- package/dist/plotly-finance.js +2 -2
- package/dist/plotly-finance.min.js +2 -2
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +2 -2
- package/dist/plotly-geo.min.js +2 -2
- package/dist/plotly-gl2d.js +429 -352
- package/dist/plotly-gl2d.min.js +10 -10
- package/dist/plotly-gl3d.js +51 -10
- package/dist/plotly-gl3d.min.js +3 -3
- package/dist/plotly-mapbox.js +2 -2
- package/dist/plotly-mapbox.min.js +2 -2
- package/dist/plotly-strict.js +39790 -947
- package/dist/plotly-strict.min.js +11 -11
- package/dist/plotly-with-meta.js +705 -623
- package/dist/plotly.js +676 -594
- package/dist/plotly.min.js +4 -4
- package/lib/index-strict.js +5 -0
- package/package.json +9 -8
- package/src/generated/regl-codegen/30680f8f6712ef1af5cf7547e0af35b036fb300c67b07967cf448492ff4de4d0 +658 -0
- package/src/generated/regl-codegen/3e771157d23b4793771f65d83e6387262ed73d488209157f19a7fa027bddd71b +457 -0
- package/src/generated/regl-codegen/3fd666968f3ce90d1c048b7a9aab515f3ce387a5401a10f8b66121c9469d1c0d +2050 -0
- package/src/generated/regl-codegen/453a70fefa48db31713162aeb1ac438cb8579f54504f3b23acf32128df3dfd45 +452 -0
- package/src/generated/regl-codegen/49e82bba439f1d9d441c17ba252d05640bc63fefdf22d1219993633af7730210 +1423 -0
- package/src/generated/regl-codegen/6a5d6bd29c15cf7614221b94c3f384df47c2c46fbe4456e8c57b5cd14c84d923 +2184 -0
- package/src/generated/regl-codegen/8902aff2b23b600f8103bcc84a8af2999d28795208aedadc2db06f921f9c7034 +2000 -0
- package/src/generated/regl-codegen/8fad2284703471df7c0e0d0a7b96d983e8c53f6d707dd55d5921c1eab71f6623 +637 -0
- package/src/generated/regl-codegen/a3970baf1d8cac9305ee830c7026550387343d4dde2353dd86a4d082c97d3470 +635 -0
- package/src/generated/regl-codegen/bfc540da96a87fcc039073cb37b45e6b81ef5ee6ef3529d726ceed8336354019 +3311 -0
- package/src/generated/regl-codegen/cbf700f001fff25b649fba9c37fa0dc6631c1cdee318ad49473d28ec10dcee81 +660 -0
- package/src/generated/regl-codegen/db1b82c68771e7f5012fad1fbdae7ff23b526e58d2995bf6dd2cf30024e0f41d +2700 -0
- package/src/generated/regl-codegen/dbd1cc9126a137a605df67dc0706e55116f04e33b4545a80042031752de5aef5 +3325 -0
- package/src/generated/regl-codegen/fe5b6844077cde1bdd7273f4495969fad93500c26a69b62e74ec2664c447bcc7 +2436 -0
- package/src/lib/prepare_regl.js +7 -3
- package/src/traces/parcoords/base_index.js +24 -0
- package/src/traces/parcoords/index.js +4 -22
- package/src/traces/parcoords/plot-strict.js +9 -0
- package/src/traces/parcoords/plot.js +5 -2
- package/src/traces/parcoords/regl_precompiled.js +12 -0
- package/src/traces/parcoords/strict.js +7 -0
- package/src/traces/scattergl/base_index.js +29 -0
- package/src/traces/scattergl/index.js +3 -26
- package/src/traces/scattergl/plot.js +5 -2
- package/src/traces/scattergl/plot_strict.js +9 -0
- package/src/traces/scattergl/regl_precompiled.js +24 -0
- package/src/traces/scattergl/strict.js +7 -0
- package/src/traces/scatterpolargl/base_index.js +29 -0
- package/src/traces/scatterpolargl/index.js +3 -26
- package/src/traces/scatterpolargl/plot.js +4 -0
- package/src/traces/scatterpolargl/plot_strict.js +13 -0
- package/src/traces/scatterpolargl/regl_precompiled.js +24 -0
- package/src/traces/scatterpolargl/strict.js +7 -0
- package/src/traces/splom/base_index.js +36 -0
- package/src/traces/splom/base_plot.js +5 -2
- package/src/traces/splom/base_plot_strict.js +9 -0
- package/src/traces/splom/index.js +3 -33
- package/src/traces/splom/regl_precompiled.js +24 -0
- package/src/traces/splom/strict.js +7 -0
- package/src/version.js +1 -1
- package/stackgl_modules/index.js +49 -8
- package/stackgl_modules/package-lock.json +10 -10
- package/stackgl_modules/package.json +2 -2
- package/tasks/bundle.js +18 -0
- package/tasks/partial_bundle.js +26 -23
- package/tasks/stats.js +3 -3
- package/tasks/util/constants.js +13 -1
package/dist/plotly-with-meta.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js v2.
|
|
2
|
+
* plotly.js v2.11.1
|
|
3
3
|
* Copyright 2012-2022, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -77,7 +77,7 @@ for(var selector in rules) {
|
|
|
77
77
|
|
|
78
78
|
module.exports = _dereq_('../src/transforms/aggregate');
|
|
79
79
|
|
|
80
|
-
},{"../src/transforms/aggregate":
|
|
80
|
+
},{"../src/transforms/aggregate":1118}],3:[function(_dereq_,module,exports){
|
|
81
81
|
'use strict';
|
|
82
82
|
|
|
83
83
|
module.exports = _dereq_('../src/traces/bar');
|
|
@@ -147,7 +147,7 @@ module.exports = _dereq_('../src/traces/densitymapbox');
|
|
|
147
147
|
|
|
148
148
|
module.exports = _dereq_('../src/transforms/filter');
|
|
149
149
|
|
|
150
|
-
},{"../src/transforms/filter":
|
|
150
|
+
},{"../src/transforms/filter":1119}],17:[function(_dereq_,module,exports){
|
|
151
151
|
'use strict';
|
|
152
152
|
|
|
153
153
|
module.exports = _dereq_('../src/traces/funnel');
|
|
@@ -162,7 +162,7 @@ module.exports = _dereq_('../src/traces/funnelarea');
|
|
|
162
162
|
|
|
163
163
|
module.exports = _dereq_('../src/transforms/groupby');
|
|
164
164
|
|
|
165
|
-
},{"../src/transforms/groupby":
|
|
165
|
+
},{"../src/transforms/groupby":1120}],20:[function(_dereq_,module,exports){
|
|
166
166
|
'use strict';
|
|
167
167
|
|
|
168
168
|
module.exports = _dereq_('../src/traces/heatmap');
|
|
@@ -294,117 +294,117 @@ module.exports = _dereq_('../src/traces/parcats');
|
|
|
294
294
|
|
|
295
295
|
module.exports = _dereq_('../src/traces/parcoords');
|
|
296
296
|
|
|
297
|
-
},{"../src/traces/parcoords":
|
|
297
|
+
},{"../src/traces/parcoords":896}],34:[function(_dereq_,module,exports){
|
|
298
298
|
'use strict';
|
|
299
299
|
|
|
300
300
|
module.exports = _dereq_('../src/traces/pie');
|
|
301
301
|
|
|
302
|
-
},{"../src/traces/pie":
|
|
302
|
+
},{"../src/traces/pie":907}],35:[function(_dereq_,module,exports){
|
|
303
303
|
'use strict';
|
|
304
304
|
|
|
305
305
|
module.exports = _dereq_('../src/traces/pointcloud');
|
|
306
306
|
|
|
307
|
-
},{"../src/traces/pointcloud":
|
|
307
|
+
},{"../src/traces/pointcloud":916}],36:[function(_dereq_,module,exports){
|
|
308
308
|
'use strict';
|
|
309
309
|
|
|
310
310
|
module.exports = _dereq_('../src/traces/sankey');
|
|
311
311
|
|
|
312
|
-
},{"../src/traces/sankey":
|
|
312
|
+
},{"../src/traces/sankey":922}],37:[function(_dereq_,module,exports){
|
|
313
313
|
'use strict';
|
|
314
314
|
|
|
315
315
|
module.exports = _dereq_('../src/traces/scatter3d');
|
|
316
316
|
|
|
317
|
-
},{"../src/traces/scatter3d":
|
|
317
|
+
},{"../src/traces/scatter3d":960}],38:[function(_dereq_,module,exports){
|
|
318
318
|
'use strict';
|
|
319
319
|
|
|
320
320
|
module.exports = _dereq_('../src/traces/scattercarpet');
|
|
321
321
|
|
|
322
|
-
},{"../src/traces/scattercarpet":
|
|
322
|
+
},{"../src/traces/scattercarpet":967}],39:[function(_dereq_,module,exports){
|
|
323
323
|
'use strict';
|
|
324
324
|
|
|
325
325
|
module.exports = _dereq_('../src/traces/scattergeo');
|
|
326
326
|
|
|
327
|
-
},{"../src/traces/scattergeo":
|
|
327
|
+
},{"../src/traces/scattergeo":975}],40:[function(_dereq_,module,exports){
|
|
328
328
|
'use strict';
|
|
329
329
|
|
|
330
330
|
module.exports = _dereq_('../src/traces/scattergl');
|
|
331
331
|
|
|
332
|
-
},{"../src/traces/scattergl":
|
|
332
|
+
},{"../src/traces/scattergl":989}],41:[function(_dereq_,module,exports){
|
|
333
333
|
'use strict';
|
|
334
334
|
|
|
335
335
|
module.exports = _dereq_('../src/traces/scattermapbox');
|
|
336
336
|
|
|
337
|
-
},{"../src/traces/scattermapbox":
|
|
337
|
+
},{"../src/traces/scattermapbox":999}],42:[function(_dereq_,module,exports){
|
|
338
338
|
'use strict';
|
|
339
339
|
|
|
340
340
|
module.exports = _dereq_('../src/traces/scatterpolar');
|
|
341
341
|
|
|
342
|
-
},{"../src/traces/scatterpolar":
|
|
342
|
+
},{"../src/traces/scatterpolar":1007}],43:[function(_dereq_,module,exports){
|
|
343
343
|
'use strict';
|
|
344
344
|
|
|
345
345
|
module.exports = _dereq_('../src/traces/scatterpolargl');
|
|
346
346
|
|
|
347
|
-
},{"../src/traces/scatterpolargl":
|
|
347
|
+
},{"../src/traces/scatterpolargl":1015}],44:[function(_dereq_,module,exports){
|
|
348
348
|
'use strict';
|
|
349
349
|
|
|
350
350
|
module.exports = _dereq_('../src/traces/scattersmith');
|
|
351
351
|
|
|
352
|
-
},{"../src/traces/scattersmith":
|
|
352
|
+
},{"../src/traces/scattersmith":1022}],45:[function(_dereq_,module,exports){
|
|
353
353
|
'use strict';
|
|
354
354
|
|
|
355
355
|
module.exports = _dereq_('../src/traces/scatterternary');
|
|
356
356
|
|
|
357
|
-
},{"../src/traces/scatterternary":
|
|
357
|
+
},{"../src/traces/scatterternary":1030}],46:[function(_dereq_,module,exports){
|
|
358
358
|
'use strict';
|
|
359
359
|
|
|
360
360
|
module.exports = _dereq_('../src/transforms/sort');
|
|
361
361
|
|
|
362
|
-
},{"../src/transforms/sort":
|
|
362
|
+
},{"../src/transforms/sort":1122}],47:[function(_dereq_,module,exports){
|
|
363
363
|
'use strict';
|
|
364
364
|
|
|
365
365
|
module.exports = _dereq_('../src/traces/splom');
|
|
366
366
|
|
|
367
|
-
},{"../src/traces/splom":
|
|
367
|
+
},{"../src/traces/splom":1040}],48:[function(_dereq_,module,exports){
|
|
368
368
|
'use strict';
|
|
369
369
|
|
|
370
370
|
module.exports = _dereq_('../src/traces/streamtube');
|
|
371
371
|
|
|
372
|
-
},{"../src/traces/streamtube":
|
|
372
|
+
},{"../src/traces/streamtube":1048}],49:[function(_dereq_,module,exports){
|
|
373
373
|
'use strict';
|
|
374
374
|
|
|
375
375
|
module.exports = _dereq_('../src/traces/sunburst');
|
|
376
376
|
|
|
377
|
-
},{"../src/traces/sunburst":
|
|
377
|
+
},{"../src/traces/sunburst":1056}],50:[function(_dereq_,module,exports){
|
|
378
378
|
'use strict';
|
|
379
379
|
|
|
380
380
|
module.exports = _dereq_('../src/traces/surface');
|
|
381
381
|
|
|
382
|
-
},{"../src/traces/surface":
|
|
382
|
+
},{"../src/traces/surface":1065}],51:[function(_dereq_,module,exports){
|
|
383
383
|
'use strict';
|
|
384
384
|
|
|
385
385
|
module.exports = _dereq_('../src/traces/table');
|
|
386
386
|
|
|
387
|
-
},{"../src/traces/table":
|
|
387
|
+
},{"../src/traces/table":1073}],52:[function(_dereq_,module,exports){
|
|
388
388
|
'use strict';
|
|
389
389
|
|
|
390
390
|
module.exports = _dereq_('../src/traces/treemap');
|
|
391
391
|
|
|
392
|
-
},{"../src/traces/treemap":
|
|
392
|
+
},{"../src/traces/treemap":1084}],53:[function(_dereq_,module,exports){
|
|
393
393
|
'use strict';
|
|
394
394
|
|
|
395
395
|
module.exports = _dereq_('../src/traces/violin');
|
|
396
396
|
|
|
397
|
-
},{"../src/traces/violin":
|
|
397
|
+
},{"../src/traces/violin":1097}],54:[function(_dereq_,module,exports){
|
|
398
398
|
'use strict';
|
|
399
399
|
|
|
400
400
|
module.exports = _dereq_('../src/traces/volume');
|
|
401
401
|
|
|
402
|
-
},{"../src/traces/volume":
|
|
402
|
+
},{"../src/traces/volume":1105}],55:[function(_dereq_,module,exports){
|
|
403
403
|
'use strict';
|
|
404
404
|
|
|
405
405
|
module.exports = _dereq_('../src/traces/waterfall');
|
|
406
406
|
|
|
407
|
-
},{"../src/traces/waterfall":
|
|
407
|
+
},{"../src/traces/waterfall":1113}],56:[function(_dereq_,module,exports){
|
|
408
408
|
(function (global, factory) {
|
|
409
409
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, _dereq_('d3-array'), _dereq_('d3-collection'), _dereq_('d3-shape'), _dereq_('elementary-circuits-directed-graph')) :
|
|
410
410
|
typeof define === 'function' && define.amd ? define(['exports', 'd3-array', 'd3-collection', 'd3-shape', 'elementary-circuits-directed-graph'], factory) :
|
|
@@ -90621,177 +90621,183 @@ function getPad (arg) {
|
|
|
90621
90621
|
}
|
|
90622
90622
|
|
|
90623
90623
|
},{"array-bounds":71,"array-range":74,"flatten-vertex-data":191,"parse-rect":249,"pick-by-alias":253,"raf":278,"regl-scatter2d":281}],283:[function(_dereq_,module,exports){
|
|
90624
|
-
(function(
|
|
90625
|
-
b.index)).concat(
|
|
90626
|
-
{"":0},b=[""];return{id:function(c){var
|
|
90627
|
-
{margin:0,padding:0}));var
|
|
90628
|
-
a}function
|
|
90629
|
-
"canvas"in b?f=
|
|
90630
|
-
canvas:f,container:
|
|
90631
|
-
null}b.optionalExtensions.forEach(c);return{extensions:
|
|
90632
|
-
new ArrayBuffer(a)}function b(a){c[
|
|
90633
|
-
c?
|
|
90634
|
-
|
|
90635
|
-
c.byteLength;a.bufferData(b.type,c,
|
|
90636
|
-
|
|
90637
|
-
|
|
90638
|
-
|
|
90639
|
-
|
|
90640
|
-
|
|
90641
|
-
|
|
90642
|
-
5121;break;case 5123:case 5122:k=5123;break;case 5125:case 5124:k=5125}d.buffer.dtype=k}d.type=k;e=h;0>e&&(e=d.buffer.byteLength,5123===k?e>>=1:5125===k&&(e>>=2));d.vertCount=e;e=
|
|
90643
|
-
b){function
|
|
90644
|
-
34963,!0),h=new f(
|
|
90645
|
-
a.length),c=0;c<a.length;++c)if(isNaN(a[c]))b[c]=65535;else if(Infinity===a[c])b[c]=31744;else if(-Infinity===a[c])b[c]=64512;else{pb[0]=a[c];var
|
|
90646
|
-
function
|
|
90647
|
-
1;this.colorSpace=37444;this.channels=this.height=this.width=0}function
|
|
90648
|
-
b.alignment);"colorSpace"in b&&(a.colorSpace=Ob[b.colorSpace]);"type"in b&&(a.type=
|
|
90649
|
-
!0),c=!0);!
|
|
90650
|
-
(c=b.data));if(b.copy){var
|
|
90651
|
-
ob(
|
|
90652
|
-
e
|
|
90653
|
-
h=
|
|
90654
|
-
|
|
90655
|
-
b.mipmap,e=0;e<d.length;++e)c=a.images[e]=
|
|
90656
|
-
|
|
90657
|
-
a.wrapS,d=a.wrapT;if("wrap"in b){var e=b.wrap;"string"===typeof e?c=d=
|
|
90658
|
-
10241,c.minFilter);a.texParameteri(d,10240,c.magFilter);a.texParameteri(d,10242,c.wrapS);a.texParameteri(d,10243,c.wrapT);b.ext_texture_filter_anisotropic&&a.texParameteri(d,34046,c.anisotropic);c.genMipmaps&&(a.hint(33170,c.mipmapHint),a.generateMipmap(d))}function
|
|
90659
|
-
a.bindTexture(b.target,b.texture)}function
|
|
90660
|
-
"linear mipmap nearest":9985,"nearest mipmap linear":9986,"linear mipmap linear":9987},
|
|
90661
|
-
|
|
90662
|
-
|
|
90663
|
-
|
|
90664
|
-
b);a.bindTexture(this.target,this.texture)}return b},unbind:function(){--this.bindCount},decRef:function(){0>=--this.refCount&&
|
|
90665
|
-
|
|
90666
|
-
|
|
90667
|
-
return
|
|
90668
|
-
|
|
90669
|
-
|
|
90670
|
-
return
|
|
90671
|
-
b.type,null);else for(var d=0;6>d;++d)a.texImage2D(34069+d,c,b.internalformat,b.width>>c,b.height>>c,0,b.internalformat,b.type,null);
|
|
90672
|
-
d}function
|
|
90673
|
-
0));a=e._reglType;"texture2d"===a?c=e:"textureCube"===a?c=e:"renderbuffer"===a&&(d=e,b=36161);return new
|
|
90674
|
-
function
|
|
90675
|
-
for(d=0;d<e.length;++d)
|
|
90676
|
-
b){function c(a,b){var
|
|
90677
|
-
|
|
90678
|
-
null,
|
|
90679
|
-
|
|
90680
|
-
d,
|
|
90681
|
-
"float32");var
|
|
90682
|
-
a&&(
|
|
90683
|
-
0;
|
|
90684
|
-
restore:function(){
|
|
90685
|
-
else{for(var d=b.angle_instanced_arrays,e=0;e<
|
|
90686
|
-
[];this.elements=null;this.ownsElements=!1;this.offset=this.count=0;this.instances=-1;this.primitive=4;var a=b.oes_vertex_array_object;this.vao=a?a.createVertexArrayOES():null;h[this.id]=this;this.buffers=[]}function
|
|
90687
|
-
Array.isArray(a)?(
|
|
90688
|
-
|
|
90689
|
-
(
|
|
90690
|
-
|
|
90691
|
-
null,c.ownsElements=!1);c.destroy()};b._vao=c;b._reglType="vao";return b(a)},getVAO:function(a){return"function"===typeof a&&a._vao?a._vao:null},destroyBuffer:function(b){for(var c=0;c<
|
|
90692
|
-
a.bindBuffer(34962,
|
|
90693
|
-
null,a.bindVertexArrayOES(null))};
|
|
90694
|
-
b.id){a[c].location=b.location;return}a.push(b)}function
|
|
90695
|
-
|
|
90696
|
-
|
|
90697
|
-
|
|
90698
|
-
(a.deleteShader(
|
|
90699
|
-
|
|
90700
|
-
|
|
90701
|
-
|
|
90702
|
-
|
|
90703
|
-
|
|
90704
|
-
|
|
90705
|
-
|
|
90706
|
-
|
|
90707
|
-
|
|
90708
|
-
"
|
|
90709
|
-
|
|
90710
|
-
|
|
90711
|
-
a.
|
|
90712
|
-
|
|
90713
|
-
|
|
90714
|
-
|
|
90715
|
-
|
|
90716
|
-
|
|
90717
|
-
f){var
|
|
90718
|
-
|
|
90719
|
-
|
|
90720
|
-
|
|
90721
|
-
|
|
90722
|
-
|
|
90723
|
-
|
|
90724
|
-
|
|
90725
|
-
'
|
|
90726
|
-
|
|
90727
|
-
"
|
|
90728
|
-
|
|
90729
|
-
|
|
90730
|
-
|
|
90731
|
-
|
|
90732
|
-
|
|
90733
|
-
|
|
90734
|
-
e
|
|
90735
|
-
|
|
90736
|
-
|
|
90737
|
-
(
|
|
90738
|
-
|
|
90739
|
-
|
|
90740
|
-
".
|
|
90741
|
-
|
|
90742
|
-
|
|
90743
|
-
|
|
90744
|
-
|
|
90745
|
-
|
|
90746
|
-
|
|
90747
|
-
|
|
90748
|
-
p=
|
|
90749
|
-
r
|
|
90750
|
-
|
|
90751
|
-
|
|
90752
|
-
|
|
90753
|
-
c
|
|
90754
|
-
a
|
|
90755
|
-
|
|
90756
|
-
|
|
90757
|
-
"
|
|
90758
|
-
d
|
|
90759
|
-
|
|
90760
|
-
|
|
90761
|
-
|
|
90762
|
-
|
|
90763
|
-
[
|
|
90764
|
-
|
|
90765
|
-
|
|
90766
|
-
|
|
90767
|
-
|
|
90768
|
-
|
|
90769
|
-
|
|
90770
|
-
|
|
90771
|
-
|
|
90772
|
-
|
|
90773
|
-
|
|
90774
|
-
|
|
90775
|
-
|
|
90776
|
-
|
|
90777
|
-
var
|
|
90778
|
-
|
|
90779
|
-
|
|
90780
|
-
|
|
90781
|
-
|
|
90782
|
-
|
|
90783
|
-
|
|
90784
|
-
l
|
|
90785
|
-
|
|
90786
|
-
|
|
90787
|
-
|
|
90788
|
-
|
|
90789
|
-
|
|
90790
|
-
|
|
90791
|
-
|
|
90792
|
-
|
|
90793
|
-
vao:
|
|
90794
|
-
|
|
90624
|
+
(function(da,ea){"object"===typeof exports&&"undefined"!==typeof module?module.exports=ea():"function"===typeof define&&define.amd?define(ea):da.createREGL=ea()})(this,function(){function da(a,b){this.id=Db++;this.type=a;this.data=b}function ea(a){if(0===a.length)return[];var b=a.charAt(0),c=a.charAt(a.length-1);if(1<a.length&&b===c&&('"'===b||"'"===b))return['"'+a.substr(1,a.length-2).replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'];if(b=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(a))return ea(a.substr(0,
|
|
90625
|
+
b.index)).concat(ea(b[1])).concat(ea(a.substr(b.index+b[0].length)));b=a.split(".");if(1===b.length)return['"'+a.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'];a=[];for(c=0;c<b.length;++c)a=a.concat(ea(b[c]));return a}function bb(a){return"["+ea(a).join("][")+"]"}function cb(a,b){if("function"===typeof a)return new da(0,a);if("number"===typeof a||"boolean"===typeof a)return new da(5,a);if(Array.isArray(a))return new da(6,a.map(function(a,d){return cb(a,b+"["+d+"]")}));if(a instanceof da)return a}
|
|
90626
|
+
function Eb(){var a={"":0},b=[""];return{id:function(c){var d=a[c];if(d)return d;d=a[c]=b.length;b.push(c);return d},str:function(a){return b[a]}}}function Fb(a,b,c){function d(){var b=window.innerWidth,d=window.innerHeight;a!==document.body&&(d=f.getBoundingClientRect(),b=d.right-d.left,d=d.bottom-d.top);f.width=c*b;f.height=c*d}var f=document.createElement("canvas");O(f.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"});a.appendChild(f);a===document.body&&(f.style.position=
|
|
90627
|
+
"absolute",O(a.style,{margin:0,padding:0}));var e;a!==document.body&&"function"===typeof ResizeObserver?(e=new ResizeObserver(function(){setTimeout(d)}),e.observe(a)):window.addEventListener("resize",d,!1);d();return{canvas:f,onDestroy:function(){e?e.disconnect():window.removeEventListener("resize",d);a.removeChild(f)}}}function Gb(a,b){function c(c){try{return a.getContext(c,b)}catch(f){return null}}return c("webgl")||c("experimental-webgl")||c("webgl-experimental")}function db(a){return"string"===
|
|
90628
|
+
typeof a?a.split():a}function eb(a){return"string"===typeof a?document.querySelector(a):a}function Hb(a){var b=a||{},c,d,f,e;a={};var m=[],q=[],u="undefined"===typeof window?1:window.devicePixelRatio,r=!1,k={},n=function(a){},t=function(){};"string"===typeof b?c=document.querySelector(b):"object"===typeof b&&("string"===typeof b.nodeName&&"function"===typeof b.appendChild&&"function"===typeof b.getBoundingClientRect?c=b:"function"===typeof b.drawArrays||"function"===typeof b.drawElements?(e=b,f=e.canvas):
|
|
90629
|
+
("gl"in b?e=b.gl:"canvas"in b?f=eb(b.canvas):"container"in b&&(d=eb(b.container)),"attributes"in b&&(a=b.attributes),"extensions"in b&&(m=db(b.extensions)),"optionalExtensions"in b&&(q=db(b.optionalExtensions)),"onDone"in b&&(n=b.onDone),"profile"in b&&(r=!!b.profile),"pixelRatio"in b&&(u=+b.pixelRatio),"cachedCode"in b&&(k=b.cachedCode)));c&&("canvas"===c.nodeName.toLowerCase()?f=c:d=c);if(!e){if(!f){c=Fb(d||document.body,n,u);if(!c)return null;f=c.canvas;t=c.onDestroy}void 0===a.premultipliedAlpha&&
|
|
90630
|
+
(a.premultipliedAlpha=!0);e=Gb(f,a)}return e?{gl:e,canvas:f,container:d,extensions:m,optionalExtensions:q,pixelRatio:u,profile:r,cachedCode:k,onDone:n,onDestroy:t}:(t(),n("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function Ib(a,b){function c(b){b=b.toLowerCase();var c;try{c=d[b]=a.getExtension(b)}catch(f){}return!!c}for(var d={},f=0;f<b.extensions.length;++f){var e=b.extensions[f];if(!c(e))return b.onDestroy(),b.onDone('"'+e+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),
|
|
90631
|
+
null}b.optionalExtensions.forEach(c);return{extensions:d,restore:function(){Object.keys(d).forEach(function(a){if(d[a]&&!c(a))throw Error("(regl): error restoring extension "+a);})}}}function S(a,b){for(var c=Array(a),d=0;d<a;++d)c[d]=b(d);return c}function fb(a){var b,c;b=(65535<a)<<4;a>>>=b;c=(255<a)<<3;a>>>=c;b|=c;c=(15<a)<<2;a>>>=c;b|=c;c=(3<a)<<1;return b|c|a>>>c>>1}function gb(){function a(a){a:{for(var b=16;268435456>=b;b*=16)if(a<=b){a=b;break a}a=0}b=c[fb(a)>>2];return 0<b.length?b.pop():
|
|
90632
|
+
new ArrayBuffer(a)}function b(a){c[fb(a.byteLength)>>2].push(a)}var c=S(8,function(){return[]});return{alloc:a,free:b,allocType:function(b,c){var e=null;switch(b){case 5120:e=new Int8Array(a(c),0,c);break;case 5121:e=new Uint8Array(a(c),0,c);break;case 5122:e=new Int16Array(a(2*c),0,c);break;case 5123:e=new Uint16Array(a(2*c),0,c);break;case 5124:e=new Int32Array(a(4*c),0,c);break;case 5125:e=new Uint32Array(a(4*c),0,c);break;case 5126:e=new Float32Array(a(4*c),0,c);break;default:return null}return e.length!==
|
|
90633
|
+
c?e.subarray(0,c):e},freeType:function(a){b(a.buffer)}}}function fa(a){return!!a&&"object"===typeof a&&Array.isArray(a.shape)&&Array.isArray(a.stride)&&"number"===typeof a.offset&&a.shape.length===a.stride.length&&(Array.isArray(a.data)||P(a.data))}function hb(a,b,c,d,f,e){for(var m=0;m<b;++m)for(var q=a[m],u=0;u<c;++u)for(var r=q[u],k=0;k<d;++k)f[e++]=r[k]}function ib(a,b,c,d,f){for(var e=1,m=c+1;m<b.length;++m)e*=b[m];var q=b[c];if(4===b.length-c){var u=b[c+1],r=b[c+2];b=b[c+3];for(m=0;m<q;++m)hb(a[m],
|
|
90634
|
+
u,r,b,d,f),f+=e}else for(m=0;m<q;++m)ib(a[m],b,c+1,d,f),f+=e}function Ha(a){return Ia[Object.prototype.toString.call(a)]|0}function jb(a,b){for(var c=0;c<b.length;++c)a[c]=b[c]}function kb(a,b,c,d,f,e,m){for(var q=0,u=0;u<c;++u)for(var r=0;r<d;++r)a[q++]=b[f*u+e*r+m]}function Jb(a,b,c,d){function f(b){this.id=u++;this.buffer=a.createBuffer();this.type=b;this.usage=35044;this.byteLength=0;this.dimension=1;this.dtype=5121;this.persistentData=null;c.profile&&(this.stats={size:0})}function e(b,c,d){b.byteLength=
|
|
90635
|
+
c.byteLength;a.bufferData(b.type,c,d)}function m(a,b,c,d,h,p){a.usage=c;if(Array.isArray(b)){if(a.dtype=d||5126,0<b.length)if(Array.isArray(b[0])){h=lb(b);for(var y=d=1;y<h.length;++y)d*=h[y];a.dimension=d;b=Ua(b,h,a.dtype);e(a,b,c);p?a.persistentData=b:B.freeType(b)}else"number"===typeof b[0]?(a.dimension=h,h=B.allocType(a.dtype,b.length),jb(h,b),e(a,h,c),p?a.persistentData=h:B.freeType(h)):P(b[0])&&(a.dimension=b[0].length,a.dtype=d||Ha(b[0])||5126,b=Ua(b,[b.length,b[0].length],a.dtype),e(a,b,c),
|
|
90636
|
+
p?a.persistentData=b:B.freeType(b))}else if(P(b))a.dtype=d||Ha(b),a.dimension=h,e(a,b,c),p&&(a.persistentData=new Uint8Array(new Uint8Array(b.buffer)));else if(fa(b)){h=b.shape;var f=b.stride,y=b.offset,w=0,z=0,k=0,m=0;1===h.length?(w=h[0],z=1,k=f[0],m=0):2===h.length&&(w=h[0],z=h[1],k=f[0],m=f[1]);a.dtype=d||Ha(b.data)||5126;a.dimension=z;h=B.allocType(a.dtype,w*z);kb(h,b.data,w,z,k,m,y);e(a,h,c);p?a.persistentData=h:B.freeType(h)}else b instanceof ArrayBuffer&&(a.dtype=5121,a.dimension=h,e(a,b,
|
|
90637
|
+
c),p&&(a.persistentData=new Uint8Array(new Uint8Array(b))))}function q(c){b.bufferCount--;d(c);a.deleteBuffer(c.buffer);c.buffer=null;delete r[c.id]}var u=0,r={};f.prototype.bind=function(){a.bindBuffer(this.type,this.buffer)};f.prototype.destroy=function(){q(this)};var k=[];c.profile&&(b.getTotalBufferSize=function(){var a=0;Object.keys(r).forEach(function(b){a+=r[b].stats.size});return a});return{create:function(d,e,g,l){function h(b){var d=35044,n=null,g=0,e=0,f=1;Array.isArray(b)||P(b)||fa(b)||
|
|
90638
|
+
b instanceof ArrayBuffer?n=b:"number"===typeof b?g=b|0:b&&("data"in b&&(n=b.data),"usage"in b&&(d=mb[b.usage]),"type"in b&&(e=Ja[b.type]),"dimension"in b&&(f=b.dimension|0),"length"in b&&(g=b.length|0));p.bind();n?m(p,n,d,e,f,l):(g&&a.bufferData(p.type,g,d),p.dtype=e||5121,p.usage=d,p.dimension=f,p.byteLength=g);c.profile&&(p.stats.size=p.byteLength*ja[p.dtype]);return h}b.bufferCount++;var p=new f(e);r[p.id]=p;g||h(d);h._reglType="buffer";h._buffer=p;h.subdata=function(b,c){var d=(c||0)|0,n;p.bind();
|
|
90639
|
+
if(P(b)||b instanceof ArrayBuffer)a.bufferSubData(p.type,d,b);else if(Array.isArray(b)){if(0<b.length)if("number"===typeof b[0]){var g=B.allocType(p.dtype,b.length);jb(g,b);a.bufferSubData(p.type,d,g);B.freeType(g)}else if(Array.isArray(b[0])||P(b[0]))n=lb(b),g=Ua(b,n,p.dtype),a.bufferSubData(p.type,d,g),B.freeType(g)}else if(fa(b)){n=b.shape;var e=b.stride,l=g=0,f=0,v=0;1===n.length?(g=n[0],l=1,f=e[0],v=0):2===n.length&&(g=n[0],l=n[1],f=e[0],v=e[1]);n=Array.isArray(b.data)?p.dtype:Ha(b.data);n=B.allocType(n,
|
|
90640
|
+
g*l);kb(n,b.data,g,l,f,v,b.offset);a.bufferSubData(p.type,d,n);B.freeType(n)}return h};c.profile&&(h.stats=p.stats);h.destroy=function(){q(p)};return h},createStream:function(a,b){var c=k.pop();c||(c=new f(a));c.bind();m(c,b,35040,0,1,!1);return c},destroyStream:function(a){k.push(a)},clear:function(){T(r).forEach(q);k.forEach(q)},getBuffer:function(a){return a&&a._buffer instanceof f?a._buffer:null},restore:function(){T(r).forEach(function(b){b.buffer=a.createBuffer();a.bindBuffer(b.type,b.buffer);
|
|
90641
|
+
a.bufferData(b.type,b.persistentData||b.byteLength,b.usage)})},_initBuffer:m}}function Kb(a,b,c,d){function f(a){this.id=u++;q[this.id]=this;this.buffer=a;this.primType=4;this.type=this.vertCount=0}function e(d,e,g,l,h,f,y){d.buffer.bind();var k;e?((k=y)||P(e)&&(!fa(e)||P(e.data))||(k=b.oes_element_index_uint?5125:5123),c._initBuffer(d.buffer,e,g,k,3)):(a.bufferData(34963,f,g),d.buffer.dtype=k||5121,d.buffer.usage=g,d.buffer.dimension=3,d.buffer.byteLength=f);k=y;if(!y){switch(d.buffer.dtype){case 5121:case 5120:k=
|
|
90642
|
+
5121;break;case 5123:case 5122:k=5123;break;case 5125:case 5124:k=5125}d.buffer.dtype=k}d.type=k;e=h;0>e&&(e=d.buffer.byteLength,5123===k?e>>=1:5125===k&&(e>>=2));d.vertCount=e;e=l;0>l&&(e=4,l=d.buffer.dimension,1===l&&(e=0),2===l&&(e=1),3===l&&(e=4));d.primType=e}function m(a){d.elementsCount--;delete q[a.id];a.buffer.destroy();a.buffer=null}var q={},u=0,r={uint8:5121,uint16:5123};b.oes_element_index_uint&&(r.uint32=5125);f.prototype.bind=function(){this.buffer.bind()};var k=[];return{create:function(a,
|
|
90643
|
+
b){function g(a){if(a)if("number"===typeof a)l(a),h.primType=4,h.vertCount=a|0,h.type=5121;else{var b=null,c=35044,d=-1,f=-1,n=0,k=0;if(Array.isArray(a)||P(a)||fa(a))b=a;else if("data"in a&&(b=a.data),"usage"in a&&(c=mb[a.usage]),"primitive"in a&&(d=Ka[a.primitive]),"count"in a&&(f=a.count|0),"type"in a&&(k=r[a.type]),"length"in a)n=a.length|0;else if(n=f,5123===k||5122===k)n*=2;else if(5125===k||5124===k)n*=4;e(h,b,c,d,f,n,k)}else l(),h.primType=4,h.vertCount=0,h.type=5121;return g}var l=c.create(null,
|
|
90644
|
+
34963,!0),h=new f(l._buffer);d.elementsCount++;g(a);g._reglType="elements";g._elements=h;g.subdata=function(a,b){l.subdata(a,b);return g};g.destroy=function(){m(h)};return g},createStream:function(a){var b=k.pop();b||(b=new f(c.create(null,34963,!0,!1)._buffer));e(b,a,35040,-1,-1,0,0);return b},destroyStream:function(a){k.push(a)},getElements:function(a){return"function"===typeof a&&a._elements instanceof f?a._elements:null},clear:function(){T(q).forEach(m)}}}function ob(a){for(var b=B.allocType(5123,
|
|
90645
|
+
a.length),c=0;c<a.length;++c)if(isNaN(a[c]))b[c]=65535;else if(Infinity===a[c])b[c]=31744;else if(-Infinity===a[c])b[c]=64512;else{pb[0]=a[c];var d=Lb[0],f=d>>>31<<15,e=(d<<1>>>24)-127,d=d>>13&1023;b[c]=-24>e?f:-14>e?f+(d+1024>>-14-e):15<e?f+31744:f+(e+15<<10)+d}return b}function qa(a){return Array.isArray(a)||P(a)}function ra(a){return"[object "+a+"]"}function qb(a){return Array.isArray(a)&&(0===a.length||"number"===typeof a[0])}function rb(a){return Array.isArray(a)&&0!==a.length&&qa(a[0])?!0:!1}
|
|
90646
|
+
function R(a){return Object.prototype.toString.call(a)}function Va(a){if(!a)return!1;var b=R(a);return 0<=Mb.indexOf(b)?!0:qb(a)||rb(a)||fa(a)}function sb(a,b){36193===a.type?(a.data=ob(b),B.freeType(b)):a.data=b}function La(a,b,c,d,f,e){a="undefined"!==typeof G[a]?G[a]:U[a]*ya[b];e&&(a*=6);if(f){for(d=0;1<=c;)d+=a*c*c,c/=2;return d}return a*c*d}function Nb(a,b,c,d,f,e,m){function q(){this.format=this.internalformat=6408;this.type=5121;this.flipY=this.premultiplyAlpha=this.compressed=!1;this.unpackAlignment=
|
|
90647
|
+
1;this.colorSpace=37444;this.channels=this.height=this.width=0}function u(a,b){a.internalformat=b.internalformat;a.format=b.format;a.type=b.type;a.compressed=b.compressed;a.premultiplyAlpha=b.premultiplyAlpha;a.flipY=b.flipY;a.unpackAlignment=b.unpackAlignment;a.colorSpace=b.colorSpace;a.width=b.width;a.height=b.height;a.channels=b.channels}function r(a,b){if("object"===typeof b&&b){"premultiplyAlpha"in b&&(a.premultiplyAlpha=b.premultiplyAlpha);"flipY"in b&&(a.flipY=b.flipY);"alignment"in b&&(a.unpackAlignment=
|
|
90648
|
+
b.alignment);"colorSpace"in b&&(a.colorSpace=Ob[b.colorSpace]);"type"in b&&(a.type=W[b.type]);var c=a.width,d=a.height,e=a.channels,h=!1;"shape"in b?(c=b.shape[0],d=b.shape[1],3===b.shape.length&&(e=b.shape[2],h=!0)):("radius"in b&&(c=d=b.radius),"width"in b&&(c=b.width),"height"in b&&(d=b.height),"channels"in b&&(e=b.channels,h=!0));a.width=c|0;a.height=d|0;a.channels=e|0;c=!1;"format"in b&&(c=b.format,d=a.internalformat=Q[c],a.format=Ea[d],c in W&&!("type"in b)&&(a.type=W[c]),c in I&&(a.compressed=
|
|
90649
|
+
!0),c=!0);!h&&c?a.channels=U[a.format]:h&&!c&&a.channels!==Na[a.format]&&(a.format=a.internalformat=Na[a.channels])}}function k(b){a.pixelStorei(37440,b.flipY);a.pixelStorei(37441,b.premultiplyAlpha);a.pixelStorei(37443,b.colorSpace);a.pixelStorei(3317,b.unpackAlignment)}function n(){q.call(this);this.yOffset=this.xOffset=0;this.data=null;this.needsFree=!1;this.element=null;this.needsCopy=!1}function t(a,b){var c=null;Va(b)?c=b:b&&(r(a,b),"x"in b&&(a.xOffset=b.x|0),"y"in b&&(a.yOffset=b.y|0),Va(b.data)&&
|
|
90650
|
+
(c=b.data));if(b.copy){var d=f.viewportWidth,e=f.viewportHeight;a.width=a.width||d-a.xOffset;a.height=a.height||e-a.yOffset;a.needsCopy=!0}else if(!c)a.width=a.width||1,a.height=a.height||1,a.channels=a.channels||4;else if(P(c))a.channels=a.channels||4,a.data=c,"type"in b||5121!==a.type||(a.type=Ia[Object.prototype.toString.call(c)]|0);else if(qb(c)){a.channels=a.channels||4;d=c;e=d.length;switch(a.type){case 5121:case 5123:case 5125:case 5126:e=B.allocType(a.type,e);e.set(d);a.data=e;break;case 36193:a.data=
|
|
90651
|
+
ob(d)}a.alignment=1;a.needsFree=!0}else if(fa(c)){d=c.data;Array.isArray(d)||5121!==a.type||(a.type=Ia[Object.prototype.toString.call(d)]|0);var e=c.shape,h=c.stride,g,l,v,k;3===e.length?(v=e[2],k=h[2]):k=v=1;g=e[0];l=e[1];e=h[0];h=h[1];a.alignment=1;a.width=g;a.height=l;a.channels=v;a.format=a.internalformat=Na[v];a.needsFree=!0;g=k;c=c.offset;v=a.width;k=a.height;l=a.channels;for(var n=B.allocType(36193===a.type?5126:a.type,v*k*l),x=0,F=0;F<k;++F)for(var aa=0;aa<v;++aa)for(var Fa=0;Fa<l;++Fa)n[x++]=
|
|
90652
|
+
d[e*aa+h*F+g*Fa+c];sb(a,n)}else if(R(c)===Wa||R(c)===Xa||R(c)===ub)R(c)===Wa||R(c)===Xa?a.element=c:a.element=c.canvas,a.width=a.element.width,a.height=a.element.height,a.channels=4;else if(R(c)===vb)a.element=c,a.width=c.width,a.height=c.height,a.channels=4;else if(R(c)===wb)a.element=c,a.width=c.naturalWidth,a.height=c.naturalHeight,a.channels=4;else if(R(c)===xb)a.element=c,a.width=c.videoWidth,a.height=c.videoHeight,a.channels=4;else if(rb(c)){d=a.width||c[0].length;e=a.height||c.length;h=a.channels;
|
|
90653
|
+
h=qa(c[0][0])?h||c[0][0].length:h||1;g=Pa.shape(c);v=1;for(k=0;k<g.length;++k)v*=g[k];v=B.allocType(36193===a.type?5126:a.type,v);Pa.flatten(c,g,"",v);sb(a,v);a.alignment=1;a.width=d;a.height=e;a.channels=h;a.format=a.internalformat=Na[h];a.needsFree=!0}}function g(b,c,e,h,g){var v=b.element,l=b.data,f=b.internalformat,n=b.format,y=b.type,w=b.width,x=b.height;k(b);v?a.texSubImage2D(c,g,e,h,n,y,v):b.compressed?a.compressedTexSubImage2D(c,g,e,h,f,w,x,l):b.needsCopy?(d(),a.copyTexSubImage2D(c,g,e,h,
|
|
90654
|
+
b.xOffset,b.yOffset,w,x)):a.texSubImage2D(c,g,e,h,w,x,n,y,l)}function l(){return Qa.pop()||new n}function h(a){a.needsFree&&B.freeType(a.data);n.call(a);Qa.push(a)}function p(){q.call(this);this.genMipmaps=!1;this.mipmapHint=4352;this.mipmask=0;this.images=Array(16)}function y(a,b,c){var d=a.images[0]=l();a.mipmask=1;d.width=a.width=b;d.height=a.height=c;d.channels=a.channels=4}function C(a,b){var c=null;if(Va(b))c=a.images[0]=l(),u(c,a),t(c,b),a.mipmask=1;else if(r(a,b),Array.isArray(b.mipmap))for(var d=
|
|
90655
|
+
b.mipmap,e=0;e<d.length;++e)c=a.images[e]=l(),u(c,a),c.width>>=e,c.height>>=e,t(c,d[e]),a.mipmask|=1<<e;else c=a.images[0]=l(),u(c,a),t(c,b),a.mipmask=1;u(a,a.images[0])}function w(b,c){for(var e=b.images,h=0;h<e.length&&e[h];++h){var g=e[h],v=c,l=h,f=g.element,n=g.data,y=g.internalformat,w=g.format,x=g.type,F=g.width,aa=g.height;k(g);f?a.texImage2D(v,l,w,w,x,f):g.compressed?a.compressedTexImage2D(v,l,y,F,aa,0,n):g.needsCopy?(d(),a.copyTexImage2D(v,l,w,g.xOffset,g.yOffset,F,aa,0)):a.texImage2D(v,
|
|
90656
|
+
l,w,F,aa,0,w,x,n||null)}}function z(){var a=S.pop()||new p;q.call(a);for(var b=a.mipmask=0;16>b;++b)a.images[b]=null;return a}function wa(a){for(var b=a.images,c=0;c<b.length;++c)b[c]&&h(b[c]),b[c]=null;S.push(a)}function E(){this.magFilter=this.minFilter=9728;this.wrapT=this.wrapS=33071;this.anisotropic=1;this.genMipmaps=!1;this.mipmapHint=4352}function nb(a,b){"min"in b&&(a.minFilter=V[b.min],0<=Pb.indexOf(a.minFilter)&&!("faces"in b)&&(a.genMipmaps=!0));"mag"in b&&(a.magFilter=na[b.mag]);var c=
|
|
90657
|
+
a.wrapS,d=a.wrapT;if("wrap"in b){var e=b.wrap;"string"===typeof e?c=d=oa[e]:Array.isArray(e)&&(c=oa[e[0]],d=oa[e[1]])}else"wrapS"in b&&(c=oa[b.wrapS]),"wrapT"in b&&(d=oa[b.wrapT]);a.wrapS=c;a.wrapT=d;"anisotropic"in b&&(a.anisotropic=b.anisotropic);if("mipmap"in b){c=!1;switch(typeof b.mipmap){case "string":a.mipmapHint=J[b.mipmap];c=a.genMipmaps=!0;break;case "boolean":c=a.genMipmaps=b.mipmap;break;case "object":a.genMipmaps=!1,c=!0}!c||"min"in b||(a.minFilter=9984)}}function D(c,d){a.texParameteri(d,
|
|
90658
|
+
10241,c.minFilter);a.texParameteri(d,10240,c.magFilter);a.texParameteri(d,10242,c.wrapS);a.texParameteri(d,10243,c.wrapT);b.ext_texture_filter_anisotropic&&a.texParameteri(d,34046,c.anisotropic);c.genMipmaps&&(a.hint(33170,c.mipmapHint),a.generateMipmap(d))}function v(b){q.call(this);this.mipmask=0;this.internalformat=6408;this.id=Z++;this.refCount=1;this.target=b;this.texture=a.createTexture();this.unit=-1;this.bindCount=0;this.texInfo=new E;m.profile&&(this.stats={size:0})}function ba(b){a.activeTexture(33984);
|
|
90659
|
+
a.bindTexture(b.target,b.texture)}function za(){var b=X[0];b?a.bindTexture(b.target,b.texture):a.bindTexture(3553,null)}function A(b){var c=b.texture,d=b.unit,h=b.target;0<=d&&(a.activeTexture(33984+d),a.bindTexture(h,null),X[d]=null);a.deleteTexture(c);b.texture=null;b.params=null;b.pixels=null;b.refCount=0;delete ka[b.id];e.textureCount--}var J={"don't care":4352,"dont care":4352,nice:4354,fast:4353},oa={repeat:10497,clamp:33071,mirror:33648},na={nearest:9728,linear:9729},V=O({mipmap:9987,"nearest mipmap nearest":9984,
|
|
90660
|
+
"linear mipmap nearest":9985,"nearest mipmap linear":9986,"linear mipmap linear":9987},na),Ob={none:0,browser:37444},W={uint8:5121,rgba4:32819,rgb565:33635,"rgb5 a1":32820},Q={alpha:6406,luminance:6409,"luminance alpha":6410,rgb:6407,rgba:6408,rgba4:32854,"rgb5 a1":32855,rgb565:36194},I={};b.ext_srgb&&(Q.srgb=35904,Q.srgba=35906);b.oes_texture_float&&(W.float32=W["float"]=5126);b.oes_texture_half_float&&(W.float16=W["half float"]=36193);b.webgl_depth_texture&&(O(Q,{depth:6402,"depth stencil":34041}),
|
|
90661
|
+
O(W,{uint16:5123,uint32:5125,"depth stencil":34042}));b.webgl_compressed_texture_s3tc&&O(I,{"rgb s3tc dxt1":33776,"rgba s3tc dxt1":33777,"rgba s3tc dxt3":33778,"rgba s3tc dxt5":33779});b.webgl_compressed_texture_atc&&O(I,{"rgb atc":35986,"rgba atc explicit alpha":35987,"rgba atc interpolated alpha":34798});b.webgl_compressed_texture_pvrtc&&O(I,{"rgb pvrtc 4bppv1":35840,"rgb pvrtc 2bppv1":35841,"rgba pvrtc 4bppv1":35842,"rgba pvrtc 2bppv1":35843});b.webgl_compressed_texture_etc1&&(I["rgb etc1"]=36196);
|
|
90662
|
+
var K=Array.prototype.slice.call(a.getParameter(34467));Object.keys(I).forEach(function(a){var b=I[a];0<=K.indexOf(b)&&(Q[a]=b)});var G=Object.keys(Q);c.textureFormats=G;var H=[];Object.keys(Q).forEach(function(a){H[Q[a]]=a});var xa=[];Object.keys(W).forEach(function(a){xa[W[a]]=a});var L=[];Object.keys(na).forEach(function(a){L[na[a]]=a});var pa=[];Object.keys(V).forEach(function(a){pa[V[a]]=a});var ga=[];Object.keys(oa).forEach(function(a){ga[oa[a]]=a});var Ea=G.reduce(function(a,c){var d=Q[c];
|
|
90663
|
+
6409===d||6406===d||6409===d||6410===d||6402===d||34041===d||b.ext_srgb&&(35904===d||35906===d)?a[d]=d:32855===d||0<=c.indexOf("rgba")?a[d]=6408:a[d]=6407;return a},{}),Qa=[],S=[],Z=0,ka={},ha=c.maxTextureUnits,X=Array(ha).map(function(){return null});O(v.prototype,{bind:function(){this.bindCount+=1;var b=this.unit;if(0>b){for(var c=0;c<ha;++c){var d=X[c];if(d){if(0<d.bindCount)continue;d.unit=-1}X[c]=this;b=c;break}m.profile&&e.maxTextureUnits<b+1&&(e.maxTextureUnits=b+1);this.unit=b;a.activeTexture(33984+
|
|
90664
|
+
b);a.bindTexture(this.target,this.texture)}return b},unbind:function(){--this.bindCount},decRef:function(){0>=--this.refCount&&A(this)}});m.profile&&(e.getTotalTextureSize=function(){var a=0;Object.keys(ka).forEach(function(b){a+=ka[b].stats.size});return a});return{create2D:function(b,c){function d(a,b){var c=f.texInfo;E.call(c);var e=z();"number"===typeof a?"number"===typeof b?y(e,a|0,b|0):y(e,a|0,a|0):a?(nb(c,a),C(e,a)):y(e,1,1);c.genMipmaps&&(e.mipmask=(e.width<<1)-1);f.mipmask=e.mipmask;u(f,
|
|
90665
|
+
e);f.internalformat=e.internalformat;d.width=e.width;d.height=e.height;ba(f);w(e,3553);D(c,3553);za();wa(e);m.profile&&(f.stats.size=La(f.internalformat,f.type,e.width,e.height,c.genMipmaps,!1));d.format=H[f.internalformat];d.type=xa[f.type];d.mag=L[c.magFilter];d.min=pa[c.minFilter];d.wrapS=ga[c.wrapS];d.wrapT=ga[c.wrapT];return d}var f=new v(3553);ka[f.id]=f;e.textureCount++;d(b,c);d.subimage=function(a,b,c,e){b|=0;c|=0;e|=0;var v=l();u(v,f);v.width=0;v.height=0;t(v,a);v.width=v.width||(f.width>>
|
|
90666
|
+
e)-b;v.height=v.height||(f.height>>e)-c;ba(f);g(v,3553,b,c,e);za();h(v);return d};d.resize=function(b,c){var e=b|0,h=c|0||e;if(e===f.width&&h===f.height)return d;d.width=f.width=e;d.height=f.height=h;ba(f);for(var g=0;f.mipmask>>g;++g){var v=e>>g,l=h>>g;if(!v||!l)break;a.texImage2D(3553,g,f.format,v,l,0,f.format,f.type,null)}za();m.profile&&(f.stats.size=La(f.internalformat,f.type,e,h,!1,!1));return d};d._reglType="texture2d";d._texture=f;m.profile&&(d.stats=f.stats);d.destroy=function(){f.decRef()};
|
|
90667
|
+
return d},createCube:function(b,c,d,f,k,n){function p(a,b,c,d,e,h){var f,g=A.texInfo;E.call(g);for(f=0;6>f;++f)J[f]=z();if("number"===typeof a||!a)for(a=a|0||1,f=0;6>f;++f)y(J[f],a,a);else if("object"===typeof a)if(b)C(J[0],a),C(J[1],b),C(J[2],c),C(J[3],d),C(J[4],e),C(J[5],h);else if(nb(g,a),r(A,a),"faces"in a)for(a=a.faces,f=0;6>f;++f)u(J[f],A),C(J[f],a[f]);else for(f=0;6>f;++f)C(J[f],a);u(A,J[0]);A.mipmask=g.genMipmaps?(J[0].width<<1)-1:J[0].mipmask;A.internalformat=J[0].internalformat;p.width=
|
|
90668
|
+
J[0].width;p.height=J[0].height;ba(A);for(f=0;6>f;++f)w(J[f],34069+f);D(g,34067);za();m.profile&&(A.stats.size=La(A.internalformat,A.type,p.width,p.height,g.genMipmaps,!0));p.format=H[A.internalformat];p.type=xa[A.type];p.mag=L[g.magFilter];p.min=pa[g.minFilter];p.wrapS=ga[g.wrapS];p.wrapT=ga[g.wrapT];for(f=0;6>f;++f)wa(J[f]);return p}var A=new v(34067);ka[A.id]=A;e.cubeCount++;var J=Array(6);p(b,c,d,f,k,n);p.subimage=function(a,b,c,d,e){c|=0;d|=0;e|=0;var f=l();u(f,A);f.width=0;f.height=0;t(f,b);
|
|
90669
|
+
f.width=f.width||(A.width>>e)-c;f.height=f.height||(A.height>>e)-d;ba(A);g(f,34069+a,c,d,e);za();h(f);return p};p.resize=function(b){b|=0;if(b!==A.width){p.width=A.width=b;p.height=A.height=b;ba(A);for(var c=0;6>c;++c)for(var x=0;A.mipmask>>x;++x)a.texImage2D(34069+c,x,A.format,b>>x,b>>x,0,A.format,A.type,null);za();m.profile&&(A.stats.size=La(A.internalformat,A.type,p.width,p.height,!1,!0));return p}};p._reglType="textureCube";p._texture=A;m.profile&&(p.stats=A.stats);p.destroy=function(){A.decRef()};
|
|
90670
|
+
return p},clear:function(){for(var b=0;b<ha;++b)a.activeTexture(33984+b),a.bindTexture(3553,null),X[b]=null;T(ka).forEach(A);e.cubeCount=0;e.textureCount=0},getTexture:function(a){return null},restore:function(){for(var b=0;b<ha;++b){var c=X[b];c&&(c.bindCount=0,c.unit=-1,X[b]=null)}T(ka).forEach(function(b){b.texture=a.createTexture();a.bindTexture(b.target,b.texture);for(var c=0;32>c;++c)if(0!==(b.mipmask&1<<c))if(3553===b.target)a.texImage2D(3553,c,b.internalformat,b.width>>c,b.height>>c,0,b.internalformat,
|
|
90671
|
+
b.type,null);else for(var d=0;6>d;++d)a.texImage2D(34069+d,c,b.internalformat,b.width>>c,b.height>>c,0,b.internalformat,b.type,null);D(b.texInfo,b.target)})},refresh:function(){for(var b=0;b<ha;++b){var c=X[b];c&&(c.bindCount=0,c.unit=-1,X[b]=null);a.activeTexture(33984+b);a.bindTexture(3553,null);a.bindTexture(34067,null)}}}}function Qb(a,b,c,d,f,e){function m(a,b,c){this.target=a;this.texture=b;this.renderbuffer=c;var d=a=0;b?(a=b.width,d=b.height):c&&(a=c.width,d=c.height);this.width=a;this.height=
|
|
90672
|
+
d}function q(a){a&&(a.texture&&a.texture._texture.decRef(),a.renderbuffer&&a.renderbuffer._renderbuffer.decRef())}function u(a,b,c){a&&(a.texture?a.texture._texture.refCount+=1:a.renderbuffer._renderbuffer.refCount+=1)}function r(b,c){c&&(c.texture?a.framebufferTexture2D(36160,b,c.target,c.texture._texture.texture,0):a.framebufferRenderbuffer(36160,b,36161,c.renderbuffer._renderbuffer.renderbuffer))}function k(a){var b=3553,c=null,d=null,e=a;"object"===typeof a&&(e=a.data,"target"in a&&(b=a.target|
|
|
90673
|
+
0));a=e._reglType;"texture2d"===a?c=e:"textureCube"===a?c=e:"renderbuffer"===a&&(d=e,b=36161);return new m(b,c,d)}function n(a,b,c,e,g){if(c)return a=d.create2D({width:a,height:b,format:e,type:g}),a._texture.refCount=0,new m(3553,a,null);a=f.create({width:a,height:b,format:e});a._renderbuffer.refCount=0;return new m(36161,null,a)}function t(a){return a&&(a.texture||a.renderbuffer)}function g(a,b,c){a&&(a.texture?a.texture.resize(b,c):a.renderbuffer&&a.renderbuffer.resize(b,c),a.width=b,a.height=c)}
|
|
90674
|
+
function l(){this.id=B++;D[this.id]=this;this.framebuffer=a.createFramebuffer();this.height=this.width=0;this.colorAttachments=[];this.depthStencilAttachment=this.stencilAttachment=this.depthAttachment=null}function h(a){a.colorAttachments.forEach(q);q(a.depthAttachment);q(a.stencilAttachment);q(a.depthStencilAttachment)}function p(b){a.deleteFramebuffer(b.framebuffer);b.framebuffer=null;e.framebufferCount--;delete D[b.id]}function y(b){var d;a.bindFramebuffer(36160,b.framebuffer);var e=b.colorAttachments;
|
|
90675
|
+
for(d=0;d<e.length;++d)r(36064+d,e[d]);for(d=e.length;d<c.maxColorAttachments;++d)a.framebufferTexture2D(36160,36064+d,3553,null,0);a.framebufferTexture2D(36160,33306,3553,null,0);a.framebufferTexture2D(36160,36096,3553,null,0);a.framebufferTexture2D(36160,36128,3553,null,0);r(36096,b.depthAttachment);r(36128,b.stencilAttachment);r(33306,b.depthStencilAttachment);a.checkFramebufferStatus(36160);a.isContextLost();a.bindFramebuffer(36160,w.next?w.next.framebuffer:null);w.cur=w.next;a.getError()}function C(a,
|
|
90676
|
+
b){function c(a,b){var e,f=0,g=0,l=!0,w=!0;e=null;var p=!0,v="rgba",m="uint8",r=1,C=null,q=null,pa=null,ga=!1;if("number"===typeof a)f=a|0,g=b|0||f;else if(a){"shape"in a?(g=a.shape,f=g[0],g=g[1]):("radius"in a&&(f=g=a.radius),"width"in a&&(f=a.width),"height"in a&&(g=a.height));if("color"in a||"colors"in a)e=a.color||a.colors,Array.isArray(e);if(!e){"colorCount"in a&&(r=a.colorCount|0);"colorTexture"in a&&(p=!!a.colorTexture,v="rgba4");if("colorType"in a&&(m=a.colorType,!p))if("half float"===m||
|
|
90677
|
+
"float16"===m)v="rgba16f";else if("float"===m||"float32"===m)v="rgba32f";"colorFormat"in a&&(v=a.colorFormat,0<=z.indexOf(v)?p=!0:0<=wa.indexOf(v)&&(p=!1))}if("depthTexture"in a||"depthStencilTexture"in a)ga=!(!a.depthTexture&&!a.depthStencilTexture);"depth"in a&&("boolean"===typeof a.depth?l=a.depth:(C=a.depth,w=!1));"stencil"in a&&("boolean"===typeof a.stencil?w=a.stencil:(q=a.stencil,l=!1));"depthStencil"in a&&("boolean"===typeof a.depthStencil?l=w=a.depthStencil:(pa=a.depthStencil,w=l=!1))}else f=
|
|
90678
|
+
g=1;var D=null,ba=null,E=null,B=null;if(Array.isArray(e))D=e.map(k);else if(e)D=[k(e)];else for(D=Array(r),e=0;e<r;++e)D[e]=n(f,g,p,v,m);f=f||D[0].width;g=g||D[0].height;C?ba=k(C):l&&!w&&(ba=n(f,g,ga,"depth","uint32"));q?E=k(q):w&&!l&&(E=n(f,g,!1,"stencil","uint8"));pa?B=k(pa):!C&&!q&&w&&l&&(B=n(f,g,ga,"depth stencil","depth stencil"));l=null;for(e=0;e<D.length;++e)u(D[e],f,g),D[e]&&D[e].texture&&(w=Ya[D[e].texture._texture.format]*Ra[D[e].texture._texture.type],null===l&&(l=w));u(ba,f,g);u(E,f,g);
|
|
90679
|
+
u(B,f,g);h(d);d.width=f;d.height=g;d.colorAttachments=D;d.depthAttachment=ba;d.stencilAttachment=E;d.depthStencilAttachment=B;c.color=D.map(t);c.depth=t(ba);c.stencil=t(E);c.depthStencil=t(B);c.width=d.width;c.height=d.height;y(d);return c}var d=new l;e.framebufferCount++;c(a,b);return O(c,{resize:function(a,b){var e=Math.max(a|0,1),f=Math.max(b|0||e,1);if(e===d.width&&f===d.height)return c;for(var h=d.colorAttachments,l=0;l<h.length;++l)g(h[l],e,f);g(d.depthAttachment,e,f);g(d.stencilAttachment,
|
|
90680
|
+
e,f);g(d.depthStencilAttachment,e,f);d.width=c.width=e;d.height=c.height=f;y(d);return c},_reglType:"framebuffer",_framebuffer:d,destroy:function(){p(d);h(d)},use:function(a){w.setFBO({framebuffer:c},a)}})}var w={cur:null,next:null,dirty:!1,setFBO:null},z=["rgba"],wa=["rgba4","rgb565","rgb5 a1"];b.ext_srgb&&wa.push("srgba");b.ext_color_buffer_half_float&&wa.push("rgba16f","rgb16f");b.webgl_color_buffer_float&&wa.push("rgba32f");var E=["uint8"];b.oes_texture_half_float&&E.push("half float","float16");
|
|
90681
|
+
b.oes_texture_float&&E.push("float","float32");var B=0,D={};return O(w,{getFramebuffer:function(a){return"function"===typeof a&&"framebuffer"===a._reglType&&(a=a._framebuffer,a instanceof l)?a:null},create:C,createCube:function(a){function b(a){var e,f={color:null},g=0,h=null;e="rgba";var l="uint8",k=1;if("number"===typeof a)g=a|0;else if(a){"shape"in a?g=a.shape[0]:("radius"in a&&(g=a.radius|0),"width"in a?g=a.width|0:"height"in a&&(g=a.height|0));if("color"in a||"colors"in a)h=a.color||a.colors,
|
|
90682
|
+
Array.isArray(h);h||("colorCount"in a&&(k=a.colorCount|0),"colorType"in a&&(l=a.colorType),"colorFormat"in a&&(e=a.colorFormat));"depth"in a&&(f.depth=a.depth);"stencil"in a&&(f.stencil=a.stencil);"depthStencil"in a&&(f.depthStencil=a.depthStencil)}else g=1;if(h)if(Array.isArray(h))for(a=[],e=0;e<h.length;++e)a[e]=h[e];else a=[h];else for(a=Array(k),h={radius:g,format:e,type:l},e=0;e<k;++e)a[e]=d.createCube(h);f.color=Array(a.length);for(e=0;e<a.length;++e)k=a[e],g=g||k.width,f.color[e]={target:34069,
|
|
90683
|
+
data:a[e]};for(e=0;6>e;++e){for(k=0;k<a.length;++k)f.color[k].target=34069+e;0<e&&(f.depth=c[0].depth,f.stencil=c[0].stencil,f.depthStencil=c[0].depthStencil);if(c[e])c[e](f);else c[e]=C(f)}return O(b,{width:g,height:g,color:a})}var c=Array(6);b(a);return O(b,{faces:c,resize:function(a){var d=a|0;if(d===b.width)return b;var e=b.color;for(a=0;a<e.length;++a)e[a].resize(d);for(a=0;6>a;++a)c[a].resize(d);b.width=b.height=d;return b},_reglType:"framebufferCube",destroy:function(){c.forEach(function(a){a.destroy()})}})},
|
|
90684
|
+
clear:function(){T(D).forEach(p)},restore:function(){w.cur=null;w.next=null;w.dirty=!0;T(D).forEach(function(b){b.framebuffer=a.createFramebuffer();y(b)})}})}function Za(){this.w=this.z=this.y=this.x=this.state=0;this.buffer=null;this.size=0;this.normalized=!1;this.type=5126;this.divisor=this.stride=this.offset=0}function Rb(a,b,c,d,f,e,m){function q(a){if(a!==p.currentVAO){var c=b.oes_vertex_array_object;a?c.bindVertexArrayOES(a.vao):c.bindVertexArrayOES(null);p.currentVAO=a}}function u(c){if(c!==
|
|
90685
|
+
p.currentVAO){if(c)c.bindAttrs();else{for(var d=b.angle_instanced_arrays,e=0;e<g.length;++e){var f=g[e];f.buffer?(a.enableVertexAttribArray(e),f.buffer.bind(),a.vertexAttribPointer(e,f.size,f.type,f.normalized,f.stride,f.offfset),d&&f.divisor&&d.vertexAttribDivisorANGLE(e,f.divisor)):(a.disableVertexAttribArray(e),a.vertexAttrib4f(e,f.x,f.y,f.z,f.w))}m.elements?a.bindBuffer(34963,m.elements.buffer.buffer):a.bindBuffer(34963,null)}p.currentVAO=c}}function r(){T(h).forEach(function(a){a.destroy()})}
|
|
90686
|
+
function k(){this.id=++l;this.attributes=[];this.elements=null;this.ownsElements=!1;this.offset=this.count=0;this.instances=-1;this.primitive=4;var a=b.oes_vertex_array_object;this.vao=a?a.createVertexArrayOES():null;h[this.id]=this;this.buffers=[]}function n(){b.oes_vertex_array_object&&T(h).forEach(function(a){a.refresh()})}var t=c.maxAttributes,g=Array(t);for(c=0;c<t;++c)g[c]=new Za;var l=0,h={},p={Record:Za,scope:{},state:g,currentVAO:null,targetVAO:null,restore:b.oes_vertex_array_object?n:function(){},
|
|
90687
|
+
createVAO:function(a){function b(a){var d;Array.isArray(a)?(d=a,c.elements&&c.ownsElements&&c.elements.destroy(),c.elements=null,c.ownsElements=!1,c.offset=0,c.count=0,c.instances=-1,c.primitive=4):(a.elements?(d=a.elements,c.ownsElements?("function"===typeof d&&"elements"===d._reglType?c.elements.destroy():c.elements(d),c.ownsElements=!1):e.getElements(a.elements)?(c.elements=a.elements,c.ownsElements=!1):(c.elements=e.create(a.elements),c.ownsElements=!0)):(c.elements=null,c.ownsElements=!1),d=
|
|
90688
|
+
a.attributes,c.offset=0,c.count=-1,c.instances=-1,c.primitive=4,c.elements&&(c.count=c.elements._elements.vertCount,c.primitive=c.elements._elements.primType),"offset"in a&&(c.offset=a.offset|0),"count"in a&&(c.count=a.count|0),"instances"in a&&(c.instances=a.instances|0),"primitive"in a&&(c.primitive=Ka[a.primitive]));a={};var g=c.attributes;g.length=d.length;for(var h=0;h<d.length;++h){var l=d[h],k=g[h]=new Za,n=l.data||l;if(Array.isArray(n)||P(n)||fa(n)){var p;c.buffers[h]&&(p=c.buffers[h],P(n)&&
|
|
90689
|
+
p._buffer.byteLength>=n.byteLength?p.subdata(n):(p.destroy(),c.buffers[h]=null));c.buffers[h]||(p=c.buffers[h]=f.create(l,34962,!1,!0));k.buffer=f.getBuffer(p);k.size=k.buffer.dimension|0;k.normalized=!1;k.type=k.buffer.dtype;k.offset=0;k.stride=0;k.divisor=0;k.state=1;a[h]=1}else f.getBuffer(l)?(k.buffer=f.getBuffer(l),k.size=k.buffer.dimension|0,k.normalized=!1,k.type=k.buffer.dtype,k.offset=0,k.stride=0,k.divisor=0,k.state=1):f.getBuffer(l.buffer)?(k.buffer=f.getBuffer(l.buffer),k.size=(+l.size||
|
|
90690
|
+
k.buffer.dimension)|0,k.normalized=!!l.normalized||!1,k.type="type"in l?Ja[l.type]:k.buffer.dtype,k.offset=(l.offset||0)|0,k.stride=(l.stride||0)|0,k.divisor=(l.divisor||0)|0,k.state=1):"x"in l&&(k.x=+l.x||0,k.y=+l.y||0,k.z=+l.z||0,k.w=+l.w||0,k.state=2)}for(p=0;p<c.buffers.length;++p)!a[p]&&c.buffers[p]&&(c.buffers[p].destroy(),c.buffers[p]=null);c.refresh();return b}var c=new k;d.vaoCount+=1;b.destroy=function(){for(var a=0;a<c.buffers.length;++a)c.buffers[a]&&c.buffers[a].destroy();c.buffers.length=
|
|
90691
|
+
0;c.ownsElements&&(c.elements.destroy(),c.elements=null,c.ownsElements=!1);c.destroy()};b._vao=c;b._reglType="vao";return b(a)},getVAO:function(a){return"function"===typeof a&&a._vao?a._vao:null},destroyBuffer:function(b){for(var c=0;c<g.length;++c){var d=g[c];d.buffer===b&&(a.disableVertexAttribArray(c),d.buffer=null)}},setVAO:b.oes_vertex_array_object?q:u,clear:b.oes_vertex_array_object?r:function(){}};k.prototype.bindAttrs=function(){for(var c=b.angle_instanced_arrays,d=this.attributes,f=0;f<d.length;++f){var g=
|
|
90692
|
+
d[f];g.buffer?(a.enableVertexAttribArray(f),a.bindBuffer(34962,g.buffer.buffer),a.vertexAttribPointer(f,g.size,g.type,g.normalized,g.stride,g.offset),c&&g.divisor&&c.vertexAttribDivisorANGLE(f,g.divisor)):(a.disableVertexAttribArray(f),a.vertexAttrib4f(f,g.x,g.y,g.z,g.w))}for(c=d.length;c<t;++c)a.disableVertexAttribArray(c);(c=e.getElements(this.elements))?a.bindBuffer(34963,c.buffer.buffer):a.bindBuffer(34963,null)};k.prototype.refresh=function(){var a=b.oes_vertex_array_object;a&&(a.bindVertexArrayOES(this.vao),
|
|
90693
|
+
this.bindAttrs(),p.currentVAO=null,a.bindVertexArrayOES(null))};k.prototype.destroy=function(){if(this.vao){var a=b.oes_vertex_array_object;this===p.currentVAO&&(p.currentVAO=null,a.bindVertexArrayOES(null));a.deleteVertexArrayOES(this.vao);this.vao=null}this.ownsElements&&(this.elements.destroy(),this.elements=null,this.ownsElements=!1);h[this.id]&&(delete h[this.id],--d.vaoCount)};return p}function Sb(a,b,c,d){function f(a,b,c,d){this.name=a;this.id=b;this.location=c;this.info=d}function e(a,b){for(var c=
|
|
90694
|
+
0;c<a.length;++c)if(a[c].id===b.id){a[c].location=b.location;return}a.push(b)}function m(c,d,e){e=35632===c?r:k;var f=e[d];if(!f){var g=b.str(d),f=a.createShader(c);a.shaderSource(f,g);a.compileShader(f);e[d]=f}return f}function q(a,b){this.id=g++;this.fragId=a;this.vertId=b;this.program=null;this.uniforms=[];this.attributes=[];this.refCount=1;d.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function u(c,g,k){var n;n=m(35632,c.fragId);var t=m(35633,c.vertId);g=c.program=a.createProgram();
|
|
90695
|
+
a.attachShader(g,n);a.attachShader(g,t);if(k)for(n=0;n<k.length;++n)t=k[n],a.bindAttribLocation(g,t[0],t[1]);a.linkProgram(g);t=a.getProgramParameter(g,35718);d.profile&&(c.stats.uniformsCount=t);var r=c.uniforms;for(n=0;n<t;++n)if(k=a.getActiveUniform(g,n))if(1<k.size)for(var q=0;q<k.size;++q){var u=k.name.replace("[0]","["+q+"]");e(r,new f(u,b.id(u),a.getUniformLocation(g,u),k))}else e(r,new f(k.name,b.id(k.name),a.getUniformLocation(g,k.name),k));t=a.getProgramParameter(g,35721);d.profile&&(c.stats.attributesCount=
|
|
90696
|
+
t);c=c.attributes;for(n=0;n<t;++n)(k=a.getActiveAttrib(g,n))&&e(c,new f(k.name,b.id(k.name),a.getAttribLocation(g,k.name),k))}var r={},k={},n={},t=[],g=0;d.profile&&(c.getMaxUniformsCount=function(){var a=0;t.forEach(function(b){b.stats.uniformsCount>a&&(a=b.stats.uniformsCount)});return a},c.getMaxAttributesCount=function(){var a=0;t.forEach(function(b){b.stats.attributesCount>a&&(a=b.stats.attributesCount)});return a});return{clear:function(){var b=a.deleteShader.bind(a);T(r).forEach(b);r={};T(k).forEach(b);
|
|
90697
|
+
k={};t.forEach(function(b){a.deleteProgram(b.program)});t.length=0;n={};c.shaderCount=0},program:function(b,d,e,f){var g=n[d];g||(g=n[d]={});var m=g[b];if(m&&(m.refCount++,!f))return m;var z=new q(d,b);c.shaderCount++;u(z,e,f);m||(g[b]=z);t.push(z);return O(z,{destroy:function(){z.refCount--;if(0>=z.refCount){a.deleteProgram(z.program);var b=t.indexOf(z);t.splice(b,1);c.shaderCount--}0>=g[z.vertId].refCount&&(a.deleteShader(k[z.vertId]),delete k[z.vertId],delete n[z.fragId][z.vertId]);Object.keys(n[z.fragId]).length||
|
|
90698
|
+
(a.deleteShader(r[z.fragId]),delete r[z.fragId],delete n[z.fragId])}})},restore:function(){r={};k={};for(var a=0;a<t.length;++a)u(t[a],null,t[a].attributes.map(function(a){return[a.location,a.name]}))},shader:m,frag:-1,vert:-1}}function Tb(a,b,c,d,f,e,m){function q(e){var f;f=null===b.next?5121:b.next.colorAttachments[0].texture._texture.type;var n=0,t=0,g=d.framebufferWidth,l=d.framebufferHeight,h=null;P(e)?h=e:e&&(n=e.x|0,t=e.y|0,g=(e.width||d.framebufferWidth-n)|0,l=(e.height||d.framebufferHeight-
|
|
90699
|
+
t)|0,h=e.data||null);c();e=g*l*4;h||(5121===f?h=new Uint8Array(e):5126===f&&(h=h||new Float32Array(e)));a.pixelStorei(3333,4);a.readPixels(n,t,g,l,6408,f,h);return h}function u(a){var c;b.setFBO({framebuffer:a.framebuffer},function(){c=q(a)});return c}return function(a){return a&&"framebuffer"in a?u(a):q(a)}}function Ub(a){for(var b=Array(a.length>>2),c=0;c<b.length;c++)b[c]=0;for(c=0;c<8*a.length;c+=8)b[c>>5]|=(a.charCodeAt(c/8)&255)<<24-c%32;var d=8*a.length;a=[1779033703,-1150833019,1013904242,
|
|
90700
|
+
-1521486534,1359893119,-1694144372,528734635,1541459225];var c=Array(64),f,e,m,q,u,r,k,n,t,g,l;b[d>>5]|=128<<24-d%32;b[(d+64>>9<<4)+15]=d;for(n=0;n<b.length;n+=16){d=a[0];f=a[1];e=a[2];m=a[3];q=a[4];u=a[5];r=a[6];k=a[7];for(t=0;64>t;t++){if(16>t)c[t]=b[t+n];else{g=t;l=c[t-2];l=Y(l,17)^Y(l,19)^l>>>10;l=H(l,c[t-7]);var h;h=c[t-15];h=Y(h,7)^Y(h,18)^h>>>3;c[g]=H(H(l,h),c[t-16])}g=q;g=Y(g,6)^Y(g,11)^Y(g,25);g=H(H(H(H(k,g),q&u^~q&r),Vb[t]),c[t]);k=d;k=Y(k,2)^Y(k,13)^Y(k,22);l=H(k,d&f^d&e^f&e);k=r;r=u;u=
|
|
90701
|
+
q;q=H(m,g);m=e;e=f;f=d;d=H(g,l)}a[0]=H(d,a[0]);a[1]=H(f,a[1]);a[2]=H(e,a[2]);a[3]=H(m,a[3]);a[4]=H(q,a[4]);a[5]=H(u,a[5]);a[6]=H(r,a[6]);a[7]=H(k,a[7])}b="";for(c=0;c<32*a.length;c+=8)b+=String.fromCharCode(a[c>>5]>>>24-c%32&255);return b}function Wb(a){for(var b="",c,d=0;d<a.length;d++)c=a.charCodeAt(d),b+="0123456789abcdef".charAt(c>>>4&15)+"0123456789abcdef".charAt(c&15);return b}function Xb(a){for(var b="",c=-1,d,f;++c<a.length;)d=a.charCodeAt(c),f=c+1<a.length?a.charCodeAt(c+1):0,55296<=d&&56319>=
|
|
90702
|
+
d&&56320<=f&&57343>=f&&(d=65536+((d&1023)<<10)+(f&1023),c++),127>=d?b+=String.fromCharCode(d):2047>=d?b+=String.fromCharCode(192|d>>>6&31,128|d&63):65535>=d?b+=String.fromCharCode(224|d>>>12&15,128|d>>>6&63,128|d&63):2097151>=d&&(b+=String.fromCharCode(240|d>>>18&7,128|d>>>12&63,128|d>>>6&63,128|d&63));return b}function Y(a,b){return a>>>b|a<<32-b}function H(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535}function Aa(a){return Array.prototype.slice.call(a)}function Ba(a){return Aa(a).join("")}
|
|
90703
|
+
function Yb(a){function b(){var a=[],b=[];return O(function(){a.push.apply(a,Aa(arguments))},{def:function(){var c="v"+f++;b.push(c);0<arguments.length&&(a.push(c,"="),a.push.apply(a,Aa(arguments)),a.push(";"));return c},toString:function(){return Ba([0<b.length?"var "+b.join(",")+";":"",Ba(a)])}})}function c(){function a(b,e){d(b,e,"=",c.def(b,e),";")}var c=b(),d=b(),e=c.toString,f=d.toString;return O(function(){c.apply(c,Aa(arguments))},{def:c.def,entry:c,exit:d,save:a,set:function(b,d,e){a(b,d);
|
|
90704
|
+
c(b,d,"=",e,";")},toString:function(){return e()+f()}})}var d=a&&a.cache,f=0,e=[],m=[],q=[],u=b(),r={};return{global:u,link:function(a,b){var c=b&&b.stable;if(!c)for(var d=0;d<m.length;++d)if(m[d]===a&&!q[d])return e[d];d="g"+f++;e.push(d);m.push(a);q.push(c);return d},block:b,proc:function(a,b){function d(){var a="a"+e.length;e.push(a);return a}var e=[];b=b||0;for(var f=0;f<b;++f)d();var f=c(),h=f.toString;return r[a]=O(f,{arg:d,toString:function(){return Ba(["function(",e.join(),"){",h(),"}"])}})},
|
|
90705
|
+
scope:c,cond:function(){var a=Ba(arguments),b=c(),d=c(),e=b.toString,f=d.toString;return O(b,{then:function(){b.apply(b,Aa(arguments));return this},"else":function(){d.apply(d,Aa(arguments));return this},toString:function(){var b=f();b&&(b="else{"+b+"}");return Ba(["if(",a,"){",e(),"}",b])}})},compile:function(){var a=['"use strict";',u,"return {"];Object.keys(r).forEach(function(b){a.push('"',b,'":',r[b].toString(),",")});a.push("}");var b=Ba(a).replace(/;/g,";\n").replace(/}/g,"}\n").replace(/{/g,
|
|
90706
|
+
"{\n"),c;if(d&&(c=Wb(Ub(Xb(b))),d[c]))return d[c].apply(null,m);b=Function.apply(null,e.concat(b));d&&(d[c]=b);return b.apply(null,m)}}}function Sa(a){return Array.isArray(a)||P(a)||fa(a)}function yb(a){return a.sort(function(a,c){return"viewport"===a?-1:"viewport"===c?1:a<c?-1:1})}function K(a,b,c,d){this.thisDep=a;this.contextDep=b;this.propDep=c;this.append=d}function la(a){return a&&!(a.thisDep||a.contextDep||a.propDep)}function E(a){return new K(!1,!1,!1,a)}function L(a,b){var c=a.type;if(0===
|
|
90707
|
+
c)return c=a.data.length,new K(!0,1<=c,2<=c,b);if(4===c)return c=a.data,new K(c.thisDep,c.contextDep,c.propDep,b);if(5===c)return new K(!1,!1,!1,b);if(6===c){for(var d=c=!1,f=!1,e=0;e<a.data.length;++e){var m=a.data[e];1===m.type?f=!0:2===m.type?d=!0:3===m.type?c=!0:0===m.type?(c=!0,m=m.data,1<=m&&(d=!0),2<=m&&(f=!0)):4===m.type&&(c=c||m.data.thisDep,d=d||m.data.contextDep,f=f||m.data.propDep)}return new K(c,d,f,b)}return new K(3===c,2===c,1===c,b)}function Zb(a,b,c,d,f,e,m,q,u,r,k,n,t,g,l,h){function p(a){return a.replace(".",
|
|
90708
|
+
"_")}function y(a,b,c){var d=p(a);Ma.push(a);Da[d]=ta[d]=!!c;ua[d]=b}function C(a,b,c){var d=p(a);Ma.push(a);Array.isArray(c)?(ta[d]=c.slice(),Da[d]=c.slice()):ta[d]=Da[d]=c;ma[d]=b}function w(){var a=Yb({cache:l}),c=a.link,d=a.global;a.id=ra++;a.batchId="0";var e=c(tb),f=a.shared={props:"a0"};Object.keys(tb).forEach(function(a){f[a]=d.def(e,".",a)});var g=a.next={},k=a.current={};Object.keys(ma).forEach(function(a){Array.isArray(ta[a])&&(g[a]=d.def(f.next,".",a),k[a]=d.def(f.current,".",a))});var ca=
|
|
90709
|
+
a.constants={};Object.keys(Oa).forEach(function(a){ca[a]=d.def(JSON.stringify(Oa[a]))});a.invoke=function(b,d){switch(d.type){case 0:var e=["this",f.context,f.props,a.batchId];return b.def(c(d.data),".call(",e.slice(0,Math.max(d.data.length+1,4)),")");case 1:return b.def(f.props,d.data);case 2:return b.def(f.context,d.data);case 3:return b.def("this",d.data);case 4:return d.data.append(a,b),d.data.ref;case 5:return d.data.toString();case 6:return d.data.map(function(c){return a.invoke(b,c)})}};a.attribCache=
|
|
90710
|
+
{};var N={};a.scopeAttrib=function(a){a=b.id(a);if(a in N)return N[a];var d=r.scope[a];d||(d=r.scope[a]=new ha);return N[a]=c(d)};return a}function z(a){var b=a["static"];a=a.dynamic;var c;if("profile"in b){var d=!!b.profile;c=E(function(a,b){return d});c.enable=d}else if("profile"in a){var e=a.profile;c=L(e,function(a,b){return a.invoke(b,e)})}return c}function B(a,b){var c=a["static"],d=a.dynamic;if("framebuffer"in c){var e=c.framebuffer;return e?(e=q.getFramebuffer(e),E(function(a,b){var c=a.link(e),
|
|
90711
|
+
d=a.shared;b.set(d.framebuffer,".next",c);d=d.context;b.set(d,".framebufferWidth",c+".width");b.set(d,".framebufferHeight",c+".height");return c})):E(function(a,b){var c=a.shared;b.set(c.framebuffer,".next","null");c=c.context;b.set(c,".framebufferWidth",c+".drawingBufferWidth");b.set(c,".framebufferHeight",c+".drawingBufferHeight");return"null"})}if("framebuffer"in d){var f=d.framebuffer;return L(f,function(a,b){var c=a.invoke(b,f),d=a.shared,e=d.framebuffer,c=b.def(e,".getFramebuffer(",c,")");b.set(e,
|
|
90712
|
+
".next",c);d=d.context;b.set(d,".framebufferWidth",c+"?"+c+".width:"+d+".drawingBufferWidth");b.set(d,".framebufferHeight",c+"?"+c+".height:"+d+".drawingBufferHeight");return c})}return null}function H(a,b,c){function d(a){if(a in e){var c=e[a];a=!0;var x=c.x|0,g=c.y|0,k,h;"width"in c?k=c.width|0:a=!1;"height"in c?h=c.height|0:a=!1;return new K(!a&&b&&b.thisDep,!a&&b&&b.contextDep,!a&&b&&b.propDep,function(a,b){var d=a.shared.context,e=k;"width"in c||(e=b.def(d,".","framebufferWidth","-",x));var f=
|
|
90713
|
+
h;"height"in c||(f=b.def(d,".","framebufferHeight","-",g));return[x,g,e,f]})}if(a in f){var aa=f[a];a=L(aa,function(a,b){var c=a.invoke(b,aa),d=a.shared.context,e=b.def(c,".x|0"),f=b.def(c,".y|0"),N=b.def('"width" in ',c,"?",c,".width|0:","(",d,".","framebufferWidth","-",e,")"),c=b.def('"height" in ',c,"?",c,".height|0:","(",d,".","framebufferHeight","-",f,")");return[e,f,N,c]});b&&(a.thisDep=a.thisDep||b.thisDep,a.contextDep=a.contextDep||b.contextDep,a.propDep=a.propDep||b.propDep);return a}return b?
|
|
90714
|
+
new K(b.thisDep,b.contextDep,b.propDep,function(a,b){var c=a.shared.context;return[0,0,b.def(c,".","framebufferWidth"),b.def(c,".","framebufferHeight")]}):null}var e=a["static"],f=a.dynamic;if(a=d("viewport")){var g=a;a=new K(a.thisDep,a.contextDep,a.propDep,function(a,b){var c=g.append(a,b),d=a.shared.context;b.set(d,".viewportWidth",c[2]);b.set(d,".viewportHeight",c[3]);return c})}return{viewport:a,scissor_box:d("scissor.box")}}function G(a,b){var c=a["static"];if("string"===typeof c.frag&&"string"===
|
|
90715
|
+
typeof c.vert){if(0<Object.keys(b.dynamic).length)return null;var c=b["static"],d=Object.keys(c);if(0<d.length&&"number"===typeof c[d[0]]){for(var e=[],f=0;f<d.length;++f)e.push([c[d[f]]|0,d[f]]);return e}}return null}function D(a,c,d){function e(a){if(a in f){var c=b.id(f[a]);a=E(function(){return c});a.id=c;return a}if(a in g){var d=g[a];return L(d,function(a,b){var c=a.invoke(b,d);return b.def(a.shared.strings,".id(",c,")")})}return null}var f=a["static"],g=a.dynamic,h=e("frag"),ca=e("vert"),N=
|
|
90716
|
+
null;la(h)&&la(ca)?(N=k.program(ca.id,h.id,null,d),a=E(function(a,b){return a.link(N)})):a=new K(h&&h.thisDep||ca&&ca.thisDep,h&&h.contextDep||ca&&ca.contextDep,h&&h.propDep||ca&&ca.propDep,function(a,b){var c=a.shared.shader,d;d=h?h.append(a,b):b.def(c,".","frag");var e;e=ca?ca.append(a,b):b.def(c,".","vert");return b.def(c+".program("+e+","+d+")")});return{frag:h,vert:ca,progVar:a,program:N}}function v(a,b){function c(a,b){if(a in d){var e=d[a]|0;b?g.offset=e:g.instances=e;return E(function(a,c){b&&
|
|
90717
|
+
(a.OFFSET=e);return e})}if(a in f){var x=f[a];return L(x,function(a,c){var d=a.invoke(c,x);b&&(a.OFFSET=d);return d})}if(b){if(N)return E(function(a,b){return a.OFFSET=0});if(k)return new K(h.thisDep,h.contextDep,h.propDep,function(a,b){return b.def(a.shared.vao+".currentVAO?"+a.shared.vao+".currentVAO.offset:0")})}else if(k)return new K(h.thisDep,h.contextDep,h.propDep,function(a,b){return b.def(a.shared.vao+".currentVAO?"+a.shared.vao+".currentVAO.instances:-1")});return null}var d=a["static"],
|
|
90718
|
+
f=a.dynamic,g={},k=!1,h=function(){if("vao"in d){var a=d.vao;null!==a&&null===r.getVAO(a)&&(a=r.createVAO(a));k=!0;g.vao=a;return E(function(b){var c=r.getVAO(a);return c?b.link(c):"null"})}if("vao"in f){k=!0;var b=f.vao;return L(b,function(a,c){var d=a.invoke(c,b);return c.def(a.shared.vao+".getVAO("+d+")")})}return null}(),N=!1,ia=function(){if("elements"in d){var a=d.elements;g.elements=a;if(Sa(a)){var b=g.elements=e.create(a,!0),a=e.getElements(b);N=!0}else a&&(a=e.getElements(a),N=!0);b=E(function(b,
|
|
90719
|
+
c){if(a){var d=b.link(a);return b.ELEMENTS=d}return b.ELEMENTS=null});b.value=a;return b}if("elements"in f){N=!0;var c=f.elements;return L(c,function(a,b){var d=a.shared,e=d.isBufferArgs,d=d.elements,f=a.invoke(b,c),N=b.def("null"),e=b.def(e,"(",f,")"),f=a.cond(e).then(N,"=",d,".createStream(",f,");")["else"](N,"=",d,".getElements(",f,");");b.entry(f);b.exit(a.cond(e).then(d,".destroyStream(",N,");"));return a.ELEMENTS=N})}return k?new K(h.thisDep,h.contextDep,h.propDep,function(a,b){return b.def(a.shared.vao+
|
|
90720
|
+
".currentVAO?"+a.shared.elements+".getElements("+a.shared.vao+".currentVAO.elements):null")}):null}(),va=c("offset",!0),l=function(){if("primitive"in d){var a=d.primitive;g.primitive=a;return E(function(b,c){return Ka[a]})}if("primitive"in f){var b=f.primitive;return L(b,function(a,c){var d=a.constants.primTypes,e=a.invoke(c,b);return c.def(d,"[",e,"]")})}return N?la(ia)?ia.value?E(function(a,b){return b.def(a.ELEMENTS,".primType")}):E(function(){return 4}):new K(ia.thisDep,ia.contextDep,ia.propDep,
|
|
90721
|
+
function(a,b){var c=a.ELEMENTS;return b.def(c,"?",c,".primType:",4)}):k?new K(h.thisDep,h.contextDep,h.propDep,function(a,b){return b.def(a.shared.vao+".currentVAO?"+a.shared.vao+".currentVAO.primitive:4")}):null}(),n=function(){if("count"in d){var a=d.count|0;g.count=a;return E(function(){return a})}if("count"in f){var b=f.count;return L(b,function(a,c){return a.invoke(c,b)})}return N?la(ia)?ia?va?new K(va.thisDep,va.contextDep,va.propDep,function(a,b){return b.def(a.ELEMENTS,".vertCount-",a.OFFSET)}):
|
|
90722
|
+
E(function(a,b){return b.def(a.ELEMENTS,".vertCount")}):E(function(){return-1}):new K(ia.thisDep||va.thisDep,ia.contextDep||va.contextDep,ia.propDep||va.propDep,function(a,b){var c=a.ELEMENTS;return a.OFFSET?b.def(c,"?",c,".vertCount-",a.OFFSET,":-1"):b.def(c,"?",c,".vertCount:-1")}):k?new K(h.thisDep,h.contextDep,h.propDep,function(a,b){return b.def(a.shared.vao,".currentVAO?",a.shared.vao,".currentVAO.count:-1")}):null}(),m=c("instances",!1);return{elements:ia,primitive:l,count:n,instances:m,offset:va,
|
|
90723
|
+
vao:h,vaoActive:k,elementsActive:N,"static":g}}function ba(a,b){var c=a["static"],d=a.dynamic,e={};Ma.forEach(function(a){function b(N,g){if(a in c){var x=N(c[a]);e[f]=E(function(){return x})}else if(a in d){var F=d[a];e[f]=L(F,function(a,b){return g(a,b,a.invoke(b,F))})}}var f=p(a);switch(a){case "cull.enable":case "blend.enable":case "dither":case "stencil.enable":case "depth.enable":case "scissor.enable":case "polygonOffset.enable":case "sample.alpha":case "sample.enable":case "depth.mask":return b(function(a){return a},
|
|
90724
|
+
function(a,b,c){return c});case "depth.func":return b(function(a){return $a[a]},function(a,b,c){return b.def(a.constants.compareFuncs,"[",c,"]")});case "depth.range":return b(function(a){return a},function(a,b,c){a=b.def("+",c,"[0]");b=b.def("+",c,"[1]");return[a,b]});case "blend.func":return b(function(a){return[Ga["srcRGB"in a?a.srcRGB:a.src],Ga["dstRGB"in a?a.dstRGB:a.dst],Ga["srcAlpha"in a?a.srcAlpha:a.src],Ga["dstAlpha"in a?a.dstAlpha:a.dst]]},function(a,b,c){function d(a,e){return b.def('"',
|
|
90725
|
+
a,e,'" in ',c,"?",c,".",a,e,":",c,".",a)}a=a.constants.blendFuncs;var e=d("src","RGB"),f=d("dst","RGB"),e=b.def(a,"[",e,"]"),g=b.def(a,"[",d("src","Alpha"),"]"),f=b.def(a,"[",f,"]");a=b.def(a,"[",d("dst","Alpha"),"]");return[e,f,g,a]});case "blend.equation":return b(function(a){if("string"===typeof a)return[X[a],X[a]];if("object"===typeof a)return[X[a.rgb],X[a.alpha]]},function(a,b,c){var d=a.constants.blendEquations,e=b.def(),f=b.def();a=a.cond("typeof ",c,'==="string"');a.then(e,"=",f,"=",d,"[",
|
|
90726
|
+
c,"];");a["else"](e,"=",d,"[",c,".rgb];",f,"=",d,"[",c,".alpha];");b(a);return[e,f]});case "blend.color":return b(function(a){return S(4,function(b){return+a[b]})},function(a,b,c){return S(4,function(a){return b.def("+",c,"[",a,"]")})});case "stencil.mask":return b(function(a){return a|0},function(a,b,c){return b.def(c,"|0")});case "stencil.func":return b(function(a){return[$a[a.cmp||"keep"],a.ref||0,"mask"in a?a.mask:-1]},function(a,b,c){a=b.def('"cmp" in ',c,"?",a.constants.compareFuncs,"[",c,".cmp]",
|
|
90727
|
+
":",7680);var d=b.def(c,".ref|0");b=b.def('"mask" in ',c,"?",c,".mask|0:-1");return[a,d,b]});case "stencil.opFront":case "stencil.opBack":return b(function(b){return["stencil.opBack"===a?1029:1028,Ta[b.fail||"keep"],Ta[b.zfail||"keep"],Ta[b.zpass||"keep"]]},function(b,c,d){function e(a){return c.def('"',a,'" in ',d,"?",f,"[",d,".",a,"]:",7680)}var f=b.constants.stencilOps;return["stencil.opBack"===a?1029:1028,e("fail"),e("zfail"),e("zpass")]});case "polygonOffset.offset":return b(function(a){return[a.factor|
|
|
90728
|
+
0,a.units|0]},function(a,b,c){a=b.def(c,".factor|0");b=b.def(c,".units|0");return[a,b]});case "cull.face":return b(function(a){var b=0;"front"===a?b=1028:"back"===a&&(b=1029);return b},function(a,b,c){return b.def(c,'==="front"?',1028,":",1029)});case "lineWidth":return b(function(a){return a},function(a,b,c){return c});case "frontFace":return b(function(a){return zb[a]},function(a,b,c){return b.def(c+'==="cw"?2304:2305')});case "colorMask":return b(function(a){return a.map(function(a){return!!a})},
|
|
90729
|
+
function(a,b,c){return S(4,function(a){return"!!"+c+"["+a+"]"})});case "sample.coverage":return b(function(a){return["value"in a?a.value:1,!!a.invert]},function(a,b,c){a=b.def('"value" in ',c,"?+",c,".value:1");b=b.def("!!",c,".invert");return[a,b]})}});return e}function P(a,b){var c=a["static"],d=a.dynamic,e={};Object.keys(c).forEach(function(a){var b=c[a],d;if("number"===typeof b||"boolean"===typeof b)d=E(function(){return b});else if("function"===typeof b){var f=b._reglType;if("texture2d"===f||
|
|
90730
|
+
"textureCube"===f)d=E(function(a){return a.link(b)});else if("framebuffer"===f||"framebufferCube"===f)d=E(function(a){return a.link(b.color[0])})}else qa(b)&&(d=E(function(a){return a.global.def("[",S(b.length,function(a){return b[a]}),"]")}));d.value=b;e[a]=d});Object.keys(d).forEach(function(a){var b=d[a];e[a]=L(b,function(a,c){return a.invoke(c,b)})});return e}function A(a,c){var d=a["static"],e=a.dynamic,g={};Object.keys(d).forEach(function(a){var c=d[a],e=b.id(a),x=new ha;if(Sa(c))x.state=1,
|
|
90731
|
+
x.buffer=f.getBuffer(f.create(c,34962,!1,!0)),x.type=0;else{var F=f.getBuffer(c);if(F)x.state=1,x.buffer=F,x.type=0;else if("constant"in c){var h=c.constant;x.buffer="null";x.state=2;"number"===typeof h?x.x=h:Ca.forEach(function(a,b){b<h.length&&(x[a]=h[b])})}else{var F=Sa(c.buffer)?f.getBuffer(f.create(c.buffer,34962,!1,!0)):f.getBuffer(c.buffer),k=c.offset|0,l=c.stride|0,n=c.size|0,Fa=!!c.normalized,m=0;"type"in c&&(m=Ja[c.type]);c=c.divisor|0;x.buffer=F;x.state=1;x.size=n;x.normalized=Fa;x.type=
|
|
90732
|
+
m||F.dtype;x.offset=k;x.stride=l;x.divisor=c}}g[a]=E(function(a,b){var c=a.attribCache;if(e in c)return c[e];var d={isStream:!1};Object.keys(x).forEach(function(a){d[a]=x[a]});x.buffer&&(d.buffer=a.link(x.buffer),d.type=d.type||d.buffer+".dtype");return c[e]=d})});Object.keys(e).forEach(function(a){var b=e[a];g[a]=L(b,function(a,c){function d(a){c(F[a],"=",e,".",a,"|0;")}var e=a.invoke(c,b),f=a.shared,g=a.constants,x=f.isBufferArgs,f=f.buffer,F={isStream:c.def(!1)},h=new ha;h.state=1;Object.keys(h).forEach(function(a){F[a]=
|
|
90733
|
+
c.def(""+h[a])});var k=F.buffer,l=F.type;c("if(",x,"(",e,")){",F.isStream,"=true;",k,"=",f,".createStream(",34962,",",e,");",l,"=",k,".dtype;","}else{",k,"=",f,".getBuffer(",e,");","if(",k,"){",l,"=",k,".dtype;",'}else if("constant" in ',e,"){",F.state,"=",2,";","if(typeof "+e+'.constant === "number"){',F[Ca[0]],"=",e,".constant;",Ca.slice(1).map(function(a){return F[a]}).join("="),"=0;","}else{",Ca.map(function(a,b){return F[a]+"="+e+".constant.length>"+b+"?"+e+".constant["+b+"]:0;"}).join(""),"}}else{",
|
|
90734
|
+
"if(",x,"(",e,".buffer)){",k,"=",f,".createStream(",34962,",",e,".buffer);","}else{",k,"=",f,".getBuffer(",e,".buffer);","}",l,'="type" in ',e,"?",g.glTypes,"[",e,".type]:",k,".dtype;",F.normalized,"=!!",e,".normalized;");d("size");d("offset");d("stride");d("divisor");c("}}");c.exit("if(",F.isStream,"){",f,".destroyStream(",k,");","}");return F})});return g}function J(a){var b=a["static"],c=a.dynamic,d={};Object.keys(b).forEach(function(a){var c=b[a];d[a]=E(function(a,b){return"number"===typeof c||
|
|
90735
|
+
"boolean"===typeof c?""+c:a.link(c)})});Object.keys(c).forEach(function(a){var b=c[a];d[a]=L(b,function(a,c){return a.invoke(c,b)})});return d}function oa(a,b,d,e,f){function g(a){var b=l[a];b&&(m[a]=b)}var k=G(a,b),h=B(a,f),l=H(a,h,f),n=v(a,f),m=ba(a,f),q=D(a,f,k);g("viewport");g(p("scissor.box"));var t=0<Object.keys(m).length,h={framebuffer:h,draw:n,shader:q,state:m,dirty:t,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};h.profile=z(a,f);h.uniforms=P(d,f);h.drawVAO=h.scopeVAO=n.vao;if(!h.drawVAO&&
|
|
90736
|
+
q.program&&!k&&c.angle_instanced_arrays&&n["static"].elements){var u=!0;a=q.program.attributes.map(function(a){a=b["static"][a];u=u&&!!a;return a});if(u&&0<a.length){var $b=r.getVAO(r.createVAO({attributes:a,elements:n["static"].elements}));h.drawVAO=new K(null,null,null,function(a,b){return a.link($b)});h.useVAO=!0}}k?h.useVAO=!0:h.attributes=A(b,f);h.context=J(e,f);return h}function na(a,b,c){var d=a.shared.context,e=a.scope();Object.keys(c).forEach(function(f){b.save(d,"."+f);var g=c[f].append(a,
|
|
90737
|
+
b);Array.isArray(g)?e(d,".",f,"=[",g.join(),"];"):e(d,".",f,"=",g,";")});b(e)}function V(a,b,c,d){var e=a.shared,f=e.gl,g=e.framebuffer,h;R&&(h=b.def(e.extensions,".webgl_draw_buffers"));var k=a.constants,e=k.drawBuffer,k=k.backBuffer;a=c?c.append(a,b):b.def(g,".next");d||b("if(",a,"!==",g,".cur){");b("if(",a,"){",f,".bindFramebuffer(",36160,",",a,".framebuffer);");R&&b(h,".drawBuffersWEBGL(",e,"[",a,".colorAttachments.length]);");b("}else{",f,".bindFramebuffer(",36160,",null);");R&&b(h,".drawBuffersWEBGL(",
|
|
90738
|
+
k,");");b("}",g,".cur=",a,";");d||b("}")}function T(a,b,c){var d=a.shared,e=d.gl,f=a.current,g=a.next,h=d.current,k=d.next,l=a.cond(h,".dirty");Ma.forEach(function(b){b=p(b);if(!(b in c.state)){var d,F;if(b in g){d=g[b];F=f[b];var n=S(ta[b].length,function(a){return l.def(d,"[",a,"]")});l(a.cond(n.map(function(a,b){return a+"!=="+F+"["+b+"]"}).join("||")).then(e,".",ma[b],"(",n,");",n.map(function(a,b){return F+"["+b+"]="+a}).join(";"),";"))}else d=l.def(k,".",b),n=a.cond(d,"!==",h,".",b),l(n),b in
|
|
90739
|
+
ua?n(a.cond(d).then(e,".enable(",ua[b],");")["else"](e,".disable(",ua[b],");"),h,".",b,"=",d,";"):n(e,".",ma[b],"(",d,");",h,".",b,"=",d,";")}});0===Object.keys(c.state).length&&l(h,".dirty=false;");b(l)}function W(a,b,c,d){var e=a.shared,f=a.current,g=e.current,h=e.gl,k;yb(Object.keys(c)).forEach(function(e){var l=c[e];if(!d||d(l)){var n=l.append(a,b);if(ua[e]){var m=ua[e];la(l)?(k=a.link(n,{stable:!0}),b(a.cond(k).then(h,".enable(",m,");")["else"](h,".disable(",m,");")),b(g,".",e,"=",k,";")):(b(a.cond(n).then(h,
|
|
90740
|
+
".enable(",m,");")["else"](h,".disable(",m,");")),b(g,".",e,"=",n,";"))}else if(qa(n)){var p=f[e];b(h,".",ma[e],"(",n,");",n.map(function(a,b){return p+"["+b+"]="+a}).join(";"),";")}else la(l)?(k=a.link(n,{stable:!0}),b(h,".",ma[e],"(",k,");",g,".",e,"=",k,";")):b(h,".",ma[e],"(",n,");",g,".",e,"=",n,";")}})}function Q(a,b){sa&&(a.instancing=b.def(a.shared.extensions,".angle_instanced_arrays"))}function I(a,b,c,d,e){function f(){return"undefined"===typeof performance?"Date.now()":"performance.now()"}
|
|
90741
|
+
function h(a){t=b.def();a(t,"=",f(),";");"string"===typeof e?a(m,".count+=",e,";"):a(m,".count++;");g&&(d?(r=b.def(),a(r,"=",q,".getNumPendingQueries();")):a(q,".beginQuery(",m,");"))}function k(a){a(m,".cpuTime+=",f(),"-",t,";");g&&(d?a(q,".pushScopeStats(",r,",",q,".getNumPendingQueries(),",m,");"):a(q,".endQuery();"))}function l(a){var c=b.def(p,".profile");b(p,".profile=",a,";");b.exit(p,".profile=",c,";")}var n=a.shared,m=a.stats,p=n.current,q=n.timer;c=c.profile;var t,r;if(c){if(la(c)){c.enable?
|
|
90742
|
+
(h(b),k(b.exit),l("true")):l("false");return}c=c.append(a,b);l(c)}else c=b.def(p,".profile");n=a.block();h(n);b("if(",c,"){",n,"}");a=a.block();k(a);b.exit("if(",c,"){",a,"}")}function M(a,b,c,d,e){function f(a){switch(a){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}function g(c,d,e){function f(){b("if(!",m,".buffer){",n,".enableVertexAttribArray(",l,");}");var c=e.type,g;g=e.size?b.def(e.size,"||",
|
|
90743
|
+
d):d;b("if(",m,".type!==",c,"||",m,".size!==",g,"||",q.map(function(a){return m+"."+a+"!=="+e[a]}).join("||"),"){",n,".bindBuffer(",34962,",",p,".buffer);",n,".vertexAttribPointer(",[l,g,c,e.normalized,e.stride,e.offset],");",m,".type=",c,";",m,".size=",g,";",q.map(function(a){return m+"."+a+"="+e[a]+";"}).join(""),"}");sa&&(c=e.divisor,b("if(",m,".divisor!==",c,"){",a.instancing,".vertexAttribDivisorANGLE(",[l,c],");",m,".divisor=",c,";}"))}function k(){b("if(",m,".buffer){",n,".disableVertexAttribArray(",
|
|
90744
|
+
l,");",m,".buffer=null;","}if(",Ca.map(function(a,b){return m+"."+a+"!=="+aa[b]}).join("||"),"){",n,".vertexAttrib4f(",l,",",aa,");",Ca.map(function(a,b){return m+"."+a+"="+aa[b]+";"}).join(""),"}")}var n=h.gl,l=b.def(c,".location"),m=b.def(h.attributes,"[",l,"]");c=e.state;var p=e.buffer,aa=[e.x,e.y,e.z,e.w],q=["buffer","normalized","offset","stride"];1===c?f():2===c?k():(b("if(",c,"===",1,"){"),f(),b("}else{"),k(),b("}"))}var h=a.shared;d.forEach(function(d){var h=d.name,k=c.attributes[h],l;if(k){if(!e(k))return;
|
|
90745
|
+
l=k.append(a,b)}else{if(!e(Ab))return;var n=a.scopeAttrib(h);l={};Object.keys(new ha).forEach(function(a){l[a]=b.def(n,".",a)})}g(a.link(d),f(d.info.type),l)})}function U(a,c,d,e,f,g){for(var h=a.shared,k=h.gl,l,n=0;n<e.length;++n){var m=e[n],p=m.name,q=m.info.type,t=d.uniforms[p],m=a.link(m)+".location",r;if(t){if(!f(t))continue;if(la(t)){p=t.value;if(35678===q||35680===q)q=a.link(p._texture||p.color[0]._texture),c(k,".uniform1i(",m,",",q+".bind());"),c.exit(q,".unbind();");else if(35674===q||35675===
|
|
90746
|
+
q||35676===q)p=a.global.def("new Float32Array(["+Array.prototype.slice.call(p)+"])"),t=2,35675===q?t=3:35676===q&&(t=4),c(k,".uniformMatrix",t,"fv(",m,",false,",p,");");else{switch(q){case 5126:l="1f";break;case 35664:l="2f";break;case 35665:l="3f";break;case 35666:l="4f";break;case 35670:l="1i";break;case 5124:l="1i";break;case 35671:l="2i";break;case 35667:l="2i";break;case 35672:l="3i";break;case 35668:l="3i";break;case 35673:l="4i";break;case 35669:l="4i"}c(k,".uniform",l,"(",m,",",qa(p)?Array.prototype.slice.call(p):
|
|
90747
|
+
p,");")}continue}else r=t.append(a,c)}else{if(!f(Ab))continue;r=c.def(h.uniforms,"[",b.id(p),"]")}35678===q?c("if(",r,"&&",r,'._reglType==="framebuffer"){',r,"=",r,".color[0];","}"):35680===q&&c("if(",r,"&&",r,'._reglType==="framebufferCube"){',r,"=",r,".color[0];","}");p=1;switch(q){case 35678:case 35680:q=c.def(r,"._texture");c(k,".uniform1i(",m,",",q,".bind());");c.exit(q,".unbind();");continue;case 5124:case 35670:l="1i";break;case 35667:case 35671:l="2i";p=2;break;case 35668:case 35672:l="3i";
|
|
90748
|
+
p=3;break;case 35669:case 35673:l="4i";p=4;break;case 5126:l="1f";break;case 35664:l="2f";p=2;break;case 35665:l="3f";p=3;break;case 35666:l="4f";p=4;break;case 35674:l="Matrix2fv";break;case 35675:l="Matrix3fv";break;case 35676:l="Matrix4fv"}if("M"===l.charAt(0)){c(k,".uniform",l,"(",m,",");var m=Math.pow(q-35674+2,2),u=a.global.def("new Float32Array(",m,")");Array.isArray(r)?c("false,(",S(m,function(a){return u+"["+a+"]="+r[a]}),",",u,")"):c("false,(Array.isArray(",r,")||",r," instanceof Float32Array)?",
|
|
90749
|
+
r,":(",S(m,function(a){return u+"["+a+"]="+r+"["+a+"]"}),",",u,")");c(");")}else{if(1<p){for(var q=[],v=[],t=0;t<p;++t)Array.isArray(r)?v.push(r[t]):v.push(c.def(r+"["+t+"]")),g&&q.push(c.def());g&&c("if(!",a.batchId,"||",q.map(function(a,b){return a+"!=="+v[b]}).join("||"),"){",q.map(function(a,b){return a+"="+v[b]+";"}).join(""));c(k,".uniform",l,"(",m,",",v.join(","),");")}else g&&(q=c.def(),c("if(!",a.batchId,"||",q,"!==",r,"){",q,"=",r,";")),c(k,".uniform",l,"(",m,",",r,");");g&&c("}")}}}function Y(a,
|
|
90750
|
+
b,c,d){function e(f){var g=n[f];return g?g.contextDep&&d.contextDynamic||g.propDep?g.append(a,c):g.append(a,b):b.def(l,".",f)}function f(){function a(){c(u,".drawElementsInstancedANGLE(",[p,t,v,q+"<<(("+v+"-5121)>>1)",r],");")}function b(){c(u,".drawArraysInstancedANGLE(",[p,q,t,r],");")}m&&"null"!==m?y?a():(c("if(",m,"){"),a(),c("}else{"),b(),c("}")):b()}function g(){function a(){c(k+".drawElements("+[p,t,v,q+"<<(("+v+"-5121)>>1)"]+");")}function b(){c(k+".drawArrays("+[p,q,t]+");")}m&&"null"!==
|
|
90751
|
+
m?y?a():(c("if(",m,"){"),a(),c("}else{"),b(),c("}")):b()}var h=a.shared,k=h.gl,l=h.draw,n=d.draw,m=function(){var e=n.elements,f=b;if(e){if(e.contextDep&&d.contextDynamic||e.propDep)f=c;e=e.append(a,f);n.elementsActive&&f("if("+e+")"+k+".bindBuffer(34963,"+e+".buffer.buffer);")}else e=f.def(),f(e,"=",l,".","elements",";","if(",e,"){",k,".bindBuffer(",34963,",",e,".buffer.buffer);}","else if(",h.vao,".currentVAO){",e,"=",a.shared.elements+".getElements("+h.vao,".currentVAO.elements);",ja?"":"if("+
|
|
90752
|
+
e+")"+k+".bindBuffer(34963,"+e+".buffer.buffer);","}");return e}(),p=e("primitive"),q=e("offset"),t=function(){var e=n.count,f=b;if(e){if(e.contextDep&&d.contextDynamic||e.propDep)f=c;e=e.append(a,f)}else e=f.def(l,".","count");return e}();if("number"===typeof t){if(0===t)return}else c("if(",t,"){"),c.exit("}");var r,u;sa&&(r=e("instances"),u=a.instancing);var v=m+".type",y=n.elements&&la(n.elements)&&!n.vaoActive;sa&&("number"!==typeof r||0<=r)?"string"===typeof r?(c("if(",r,">0){"),f(),c("}else if(",
|
|
90753
|
+
r,"<0){"),g(),c("}")):f():g()}function xa(a,b,c,d,e){b=w();e=b.proc("body",e);sa&&(b.instancing=e.def(b.shared.extensions,".angle_instanced_arrays"));a(b,e,c,d);return b.compile().body}function da(a,b,c,d){Q(a,b);c.useVAO?c.drawVAO?b(a.shared.vao,".setVAO(",c.drawVAO.append(a,b),");"):b(a.shared.vao,".setVAO(",a.shared.vao,".targetVAO);"):(b(a.shared.vao,".setVAO(null);"),M(a,b,c,d.attributes,function(){return!0}));U(a,b,c,d.uniforms,function(){return!0},!1);Y(a,b,b,c)}function pa(a,b){var c=a.proc("draw",
|
|
90754
|
+
1);Q(a,c);na(a,c,b.context);V(a,c,b.framebuffer);T(a,c,b);W(a,c,b.state);I(a,c,b,!1,!0);var d=b.shader.progVar.append(a,c);c(a.shared.gl,".useProgram(",d,".program);");if(b.shader.program)da(a,c,b,b.shader.program);else{c(a.shared.vao,".setVAO(null);");var e=a.global.def("{}"),f=c.def(d,".id"),g=c.def(e,"[",f,"]");c(a.cond(g).then(g,".call(this,a0);")["else"](g,"=",e,"[",f,"]=",a.link(function(c){return xa(da,a,b,c,1)}),"(",d,");",g,".call(this,a0);"))}0<Object.keys(b.state).length&&c(a.shared.current,
|
|
90755
|
+
".dirty=true;");a.shared.vao&&c(a.shared.vao,".setVAO(null);")}function ga(a,b,c,d){function e(){return!0}a.batchId="a1";Q(a,b);M(a,b,c,d.attributes,e);U(a,b,c,d.uniforms,e,!1);Y(a,b,b,c)}function Ea(a,b,c,d){function e(a){return a.contextDep&&g||a.propDep}function f(a){return!e(a)}Q(a,b);var g=c.contextDep,h=b.def(),k=b.def();a.shared.props=k;a.batchId=h;var l=a.scope(),n=a.scope();b(l.entry,"for(",h,"=0;",h,"<","a1",";++",h,"){",k,"=","a0","[",h,"];",n,"}",l.exit);c.needsContext&&na(a,n,c.context);
|
|
90756
|
+
c.needsFramebuffer&&V(a,n,c.framebuffer);W(a,n,c.state,e);c.profile&&e(c.profile)&&I(a,n,c,!1,!0);d?(c.useVAO?c.drawVAO?e(c.drawVAO)?n(a.shared.vao,".setVAO(",c.drawVAO.append(a,n),");"):l(a.shared.vao,".setVAO(",c.drawVAO.append(a,l),");"):l(a.shared.vao,".setVAO(",a.shared.vao,".targetVAO);"):(l(a.shared.vao,".setVAO(null);"),M(a,l,c,d.attributes,f),M(a,n,c,d.attributes,e)),U(a,l,c,d.uniforms,f,!1),U(a,n,c,d.uniforms,e,!0),Y(a,l,n,c)):(b=a.global.def("{}"),d=c.shader.progVar.append(a,n),k=n.def(d,
|
|
90757
|
+
".id"),l=n.def(b,"[",k,"]"),n(a.shared.gl,".useProgram(",d,".program);","if(!",l,"){",l,"=",b,"[",k,"]=",a.link(function(b){return xa(ga,a,c,b,2)}),"(",d,");}",l,".call(this,a0[",h,"],",h,");"))}function Qa(a,b){function c(a){return a.contextDep&&e||a.propDep}var d=a.proc("batch",2);a.batchId="0";Q(a,d);var e=!1,f=!0;Object.keys(b.context).forEach(function(a){e=e||b.context[a].propDep});e||(na(a,d,b.context),f=!1);var g=b.framebuffer,h=!1;g?(g.propDep?e=h=!0:g.contextDep&&e&&(h=!0),h||V(a,d,g)):V(a,
|
|
90758
|
+
d,null);b.state.viewport&&b.state.viewport.propDep&&(e=!0);T(a,d,b);W(a,d,b.state,function(a){return!c(a)});b.profile&&c(b.profile)||I(a,d,b,!1,"a1");b.contextDep=e;b.needsContext=f;b.needsFramebuffer=h;f=b.shader.progVar;if(f.contextDep&&e||f.propDep)Ea(a,d,b,null);else if(f=f.append(a,d),d(a.shared.gl,".useProgram(",f,".program);"),b.shader.program)Ea(a,d,b,b.shader.program);else{d(a.shared.vao,".setVAO(null);");var g=a.global.def("{}"),h=d.def(f,".id"),k=d.def(g,"[",h,"]");d(a.cond(k).then(k,".call(this,a0,a1);")["else"](k,
|
|
90759
|
+
"=",g,"[",h,"]=",a.link(function(c){return xa(Ea,a,b,c,2)}),"(",f,");",k,".call(this,a0,a1);"))}0<Object.keys(b.state).length&&d(a.shared.current,".dirty=true;");a.shared.vao&&d(a.shared.vao,".setVAO(null);")}function ea(a,c){function d(b){var g=c.shader[b];g&&(g=g.append(a,e),isNaN(g)?e.set(f.shader,"."+b,g):e.set(f.shader,"."+b,a.link(g,{stable:!0})))}var e=a.proc("scope",3);a.batchId="a2";var f=a.shared,g=f.current;na(a,e,c.context);c.framebuffer&&c.framebuffer.append(a,e);yb(Object.keys(c.state)).forEach(function(b){var d=
|
|
90760
|
+
c.state[b],g=d.append(a,e);qa(g)?g.forEach(function(c,d){isNaN(c)?e.set(a.next[b],"["+d+"]",c):e.set(a.next[b],"["+d+"]",a.link(c,{stable:!0}))}):la(d)?e.set(f.next,"."+b,a.link(g,{stable:!0})):e.set(f.next,"."+b,g)});I(a,e,c,!0,!0);["elements","offset","count","instances","primitive"].forEach(function(b){var d=c.draw[b];d&&(d=d.append(a,e),isNaN(d)?e.set(f.draw,"."+b,d):e.set(f.draw,"."+b,a.link(d),{stable:!0}))});Object.keys(c.uniforms).forEach(function(d){var g=c.uniforms[d].append(a,e);Array.isArray(g)&&
|
|
90761
|
+
(g="["+g.map(function(b){return isNaN(b)?b:a.link(b,{stable:!0})})+"]");e.set(f.uniforms,"["+a.link(b.id(d),{stable:!0})+"]",g)});Object.keys(c.attributes).forEach(function(b){var d=c.attributes[b].append(a,e),f=a.scopeAttrib(b);Object.keys(new ha).forEach(function(a){e.set(f,"."+a,d[a])})});if(c.scopeVAO){var h=c.scopeVAO.append(a,e);isNaN(h)?e.set(f.vao,".targetVAO",h):e.set(f.vao,".targetVAO",a.link(h,{stable:!0}))}d("vert");d("frag");0<Object.keys(c.state).length&&(e(g,".dirty=true;"),e.exit(g,
|
|
90762
|
+
".dirty=true;"));e("a1(",a.shared.context,",a0,",a.batchId,");")}function fa(a){if("object"===typeof a&&!qa(a)){for(var b=Object.keys(a),c=0;c<b.length;++c)if(Z.isDynamic(a[b[c]]))return!0;return!1}}function ka(a,b,c){function d(a,b){g.forEach(function(c){var d=e[c];Z.isDynamic(d)&&(d=a.invoke(b,d),b(n,".",c,"=",d,";"))})}var e=b["static"][c];if(e&&fa(e)){var f=a.global,g=Object.keys(e),h=!1,k=!1,l=!1,n=a.global.def("{}");g.forEach(function(b){var c=e[b];if(Z.isDynamic(c))"function"===typeof c&&(c=
|
|
90763
|
+
e[b]=Z.unbox(c)),b=L(c,null),h=h||b.thisDep,l=l||b.propDep,k=k||b.contextDep;else{f(n,".",b,"=");switch(typeof c){case "number":f(c);break;case "string":f('"',c,'"');break;case "object":Array.isArray(c)&&f("[",c.join(),"]");break;default:f(a.link(c))}f(";")}});b.dynamic[c]=new Z.DynamicVariable(4,{thisDep:h,contextDep:k,propDep:l,ref:n,append:d});delete b["static"][c]}}var ha=r.Record,X={add:32774,subtract:32778,"reverse subtract":32779};c.ext_blend_minmax&&(X.min=32775,X.max=32776);var sa=c.angle_instanced_arrays,
|
|
90764
|
+
R=c.webgl_draw_buffers,ja=c.oes_vertex_array_object,ta={dirty:!0,profile:h.profile},Da={},Ma=[],ua={},ma={};y("dither",3024);y("blend.enable",3042);C("blend.color","blendColor",[0,0,0,0]);C("blend.equation","blendEquationSeparate",[32774,32774]);C("blend.func","blendFuncSeparate",[1,0,1,0]);y("depth.enable",2929,!0);C("depth.func","depthFunc",513);C("depth.range","depthRange",[0,1]);C("depth.mask","depthMask",!0);C("colorMask","colorMask",[!0,!0,!0,!0]);y("cull.enable",2884);C("cull.face","cullFace",
|
|
90765
|
+
1029);C("frontFace","frontFace",2305);C("lineWidth","lineWidth",1);y("polygonOffset.enable",32823);C("polygonOffset.offset","polygonOffset",[0,0]);y("sample.alpha",32926);y("sample.enable",32928);C("sample.coverage","sampleCoverage",[1,!1]);y("stencil.enable",2960);C("stencil.mask","stencilMask",-1);C("stencil.func","stencilFunc",[519,0,-1]);C("stencil.opFront","stencilOpSeparate",[1028,7680,7680,7680]);C("stencil.opBack","stencilOpSeparate",[1029,7680,7680,7680]);y("scissor.enable",3089);C("scissor.box",
|
|
90766
|
+
"scissor",[0,0,a.drawingBufferWidth,a.drawingBufferHeight]);C("viewport","viewport",[0,0,a.drawingBufferWidth,a.drawingBufferHeight]);var tb={gl:a,context:t,strings:b,next:Da,current:ta,draw:n,elements:e,buffer:f,shader:k,attributes:r.state,vao:r,uniforms:u,framebuffer:q,extensions:c,timer:g,isBufferArgs:Sa},Oa={primTypes:Ka,compareFuncs:$a,blendFuncs:Ga,blendEquations:X,stencilOps:Ta,glTypes:Ja,orientationType:zb};R&&(Oa.backBuffer=[1029],Oa.drawBuffer=S(d.maxDrawbuffers,function(a){return 0===a?
|
|
90767
|
+
[0]:S(a,function(a){return 36064+a})}));var ra=0;return{next:Da,current:ta,procs:function(){var a=w(),b=a.proc("poll"),e=a.proc("refresh"),f=a.block();b(f);e(f);var g=a.shared,h=g.gl,k=g.next,l=g.current;f(l,".dirty=false;");V(a,b);V(a,e,null,!0);var n;sa&&(n=a.link(sa));c.oes_vertex_array_object&&e(a.link(c.oes_vertex_array_object),".bindVertexArrayOES(null);");var g=e.def(g.attributes),m=e.def(0),p=a.cond(m,".buffer");p.then(h,".enableVertexAttribArray(i);",h,".bindBuffer(",34962,",",m,".buffer.buffer);",
|
|
90768
|
+
h,".vertexAttribPointer(i,",m,".size,",m,".type,",m,".normalized,",m,".stride,",m,".offset);")["else"](h,".disableVertexAttribArray(i);",h,".vertexAttrib4f(i,",m,".x,",m,".y,",m,".z,",m,".w);",m,".buffer=null;");var q=a.link(d.maxAttributes,{stable:!0});e("for(var i=0;i<",q,";++i){",m,"=",g,"[i];",p,"}");sa&&e("for(var i=0;i<",q,";++i){",n,".vertexAttribDivisorANGLE(i,",g,"[i].divisor);","}");e(a.shared.vao,".currentVAO=null;",a.shared.vao,".setVAO(",a.shared.vao,".targetVAO);");Object.keys(ua).forEach(function(c){var d=
|
|
90769
|
+
ua[c],g=f.def(k,".",c),n=a.block();n("if(",g,"){",h,".enable(",d,")}else{",h,".disable(",d,")}",l,".",c,"=",g,";");e(n);b("if(",g,"!==",l,".",c,"){",n,"}")});Object.keys(ma).forEach(function(c){var d=ma[c],g=ta[c],n,m,p=a.block();p(h,".",d,"(");qa(g)?(d=g.length,n=a.global.def(k,".",c),m=a.global.def(l,".",c),p(S(d,function(a){return n+"["+a+"]"}),");",S(d,function(a){return m+"["+a+"]="+n+"["+a+"];"}).join("")),b("if(",S(d,function(a){return n+"["+a+"]!=="+m+"["+a+"]"}).join("||"),"){",p,"}")):(n=
|
|
90770
|
+
f.def(k,".",c),m=f.def(l,".",c),p(n,");",l,".",c,"=",n,";"),b("if(",n,"!==",m,"){",p,"}"));e(p)});return a.compile()}(),compile:function(a,b,c,d,e){var f=w();f.stats=f.link(e);Object.keys(b["static"]).forEach(function(a){ka(f,b,a)});ac.forEach(function(b){ka(f,a,b)});var g=oa(a,b,c,d,f);g.shader.program&&(g.shader.program.attributes.sort(function(a,b){return a.name<b.name?-1:1}),g.shader.program.uniforms.sort(function(a,b){return a.name<b.name?-1:1}));pa(f,g);ea(f,g);Qa(f,g);return O(f.compile(),
|
|
90771
|
+
{destroy:function(){g.shader.program.destroy()}})}}}function Bb(a,b){for(var c=0;c<a.length;++c)if(a[c]===b)return c;return-1}var O=function(a,b){for(var c=Object.keys(b),d=0;d<c.length;++d)a[c[d]]=b[c[d]];return a},Db=0,Z={DynamicVariable:da,define:function(a,b){return new da(a,bb(b+""))},isDynamic:function(a){return"function"===typeof a&&!a._reglType||a instanceof da},unbox:cb,accessor:bb},ab={next:"function"===typeof requestAnimationFrame?function(a){return requestAnimationFrame(a)}:function(a){return setTimeout(a,
|
|
90772
|
+
16)},cancel:"function"===typeof cancelAnimationFrame?function(a){return cancelAnimationFrame(a)}:clearTimeout},Cb="undefined"!==typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date},B=gb();B.zero=gb();var bc=function(a,b){var c=1;b.ext_texture_filter_anisotropic&&(c=a.getParameter(34047));var d=1,f=1;b.webgl_draw_buffers&&(d=a.getParameter(34852),f=a.getParameter(36063));var e=!!b.oes_texture_float;if(e){e=a.createTexture();a.bindTexture(3553,e);a.texImage2D(3553,
|
|
90773
|
+
0,6408,1,1,0,6408,5126,null);var m=a.createFramebuffer();a.bindFramebuffer(36160,m);a.framebufferTexture2D(36160,36064,3553,e,0);a.bindTexture(3553,null);if(36053!==a.checkFramebufferStatus(36160))e=!1;else{a.viewport(0,0,1,1);a.clearColor(1,0,0,1);a.clear(16384);var q=B.allocType(5126,4);a.readPixels(0,0,1,1,6408,5126,q);a.getError()?e=!1:(a.deleteFramebuffer(m),a.deleteTexture(e),e=1===q[0]);B.freeType(q)}}q=!0;"undefined"!==typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||
|
|
90774
|
+
/Edge/.test(navigator.userAgent))||(q=a.createTexture(),m=B.allocType(5121,36),a.activeTexture(33984),a.bindTexture(34067,q),a.texImage2D(34069,0,6408,3,3,0,6408,5121,m),B.freeType(m),a.bindTexture(34067,null),a.deleteTexture(q),q=!a.getError());return{colorBits:[a.getParameter(3410),a.getParameter(3411),a.getParameter(3412),a.getParameter(3413)],depthBits:a.getParameter(3414),stencilBits:a.getParameter(3415),subpixelBits:a.getParameter(3408),extensions:Object.keys(b).filter(function(a){return!!b[a]}),
|
|
90775
|
+
maxAnisotropic:c,maxDrawbuffers:d,maxColorAttachments:f,pointSizeDims:a.getParameter(33901),lineWidthDims:a.getParameter(33902),maxViewportDims:a.getParameter(3386),maxCombinedTextureUnits:a.getParameter(35661),maxCubeMapSize:a.getParameter(34076),maxRenderbufferSize:a.getParameter(34024),maxTextureUnits:a.getParameter(34930),maxTextureSize:a.getParameter(3379),maxAttributes:a.getParameter(34921),maxVertexUniforms:a.getParameter(36347),maxVertexTextureUnits:a.getParameter(35660),maxVaryingVectors:a.getParameter(36348),
|
|
90776
|
+
maxFragmentUniforms:a.getParameter(36349),glsl:a.getParameter(35724),renderer:a.getParameter(7937),vendor:a.getParameter(7936),version:a.getParameter(7938),readFloat:e,npotTextureCube:q}},P=function(a){return a instanceof Uint8Array||a instanceof Uint16Array||a instanceof Uint32Array||a instanceof Int8Array||a instanceof Int16Array||a instanceof Int32Array||a instanceof Float32Array||a instanceof Float64Array||a instanceof Uint8ClampedArray},T=function(a){return Object.keys(a).map(function(b){return a[b]})},
|
|
90777
|
+
Pa={shape:function(a){for(var b=[];a.length;a=a[0])b.push(a.length);return b},flatten:function(a,b,c,d){var f=1;if(b.length)for(var e=0;e<b.length;++e)f*=b[e];else f=0;c=d||B.allocType(c,f);switch(b.length){case 0:break;case 1:d=b[0];for(b=0;b<d;++b)c[b]=a[b];break;case 2:d=b[0];b=b[1];for(e=f=0;e<d;++e)for(var m=a[e],q=0;q<b;++q)c[f++]=m[q];break;case 3:hb(a,b[0],b[1],b[2],c,0);break;default:ib(a,b,0,c,0)}return c}},Ia={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,
|
|
90778
|
+
"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},Ja={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,"float":5126,float32:5126},mb={dynamic:35048,stream:35040,"static":35044},Ua=Pa.flatten,lb=Pa.shape,ja=[];ja[5120]=1;ja[5122]=2;ja[5124]=4;ja[5121]=1;ja[5123]=2;ja[5125]=4;ja[5126]=4;var Ka={points:0,point:0,lines:1,line:1,triangles:4,
|
|
90779
|
+
triangle:4,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},pb=new Float32Array(1),Lb=new Uint32Array(pb.buffer),Pb=[9984,9986,9985,9987],Na=[0,6409,6410,6407,6408],U={};U[6409]=U[6406]=U[6402]=1;U[34041]=U[6410]=2;U[6407]=U[35904]=3;U[6408]=U[35906]=4;var Wa=ra("HTMLCanvasElement"),Xa=ra("OffscreenCanvas"),ub=ra("CanvasRenderingContext2D"),vb=ra("ImageBitmap"),wb=ra("HTMLImageElement"),xb=ra("HTMLVideoElement"),Mb=Object.keys(Ia).concat([Wa,Xa,ub,vb,wb,xb]),ya=[];ya[5121]=1;ya[5126]=
|
|
90780
|
+
4;ya[36193]=2;ya[5123]=2;ya[5125]=4;var G=[];G[32854]=2;G[32855]=2;G[36194]=2;G[34041]=4;G[33776]=.5;G[33777]=.5;G[33778]=1;G[33779]=1;G[35986]=.5;G[35987]=1;G[34798]=1;G[35840]=.5;G[35841]=.25;G[35842]=.5;G[35843]=.25;G[36196]=.5;var M=[];M[32854]=2;M[32855]=2;M[36194]=2;M[33189]=2;M[36168]=1;M[34041]=4;M[35907]=4;M[34836]=16;M[34842]=8;M[34843]=6;var cc=function(a,b,c,d,f){function e(a){this.id=r++;this.refCount=1;this.renderbuffer=a;this.format=32854;this.height=this.width=0;f.profile&&(this.stats=
|
|
90781
|
+
{size:0})}function m(b){var c=b.renderbuffer;a.bindRenderbuffer(36161,null);a.deleteRenderbuffer(c);b.renderbuffer=null;b.refCount=0;delete k[b.id];d.renderbufferCount--}var q={rgba4:32854,rgb565:36194,"rgb5 a1":32855,depth:33189,stencil:36168,"depth stencil":34041};b.ext_srgb&&(q.srgba=35907);b.ext_color_buffer_half_float&&(q.rgba16f=34842,q.rgb16f=34843);b.webgl_color_buffer_float&&(q.rgba32f=34836);var u=[];Object.keys(q).forEach(function(a){u[q[a]]=a});var r=0,k={};e.prototype.decRef=function(){0>=
|
|
90782
|
+
--this.refCount&&m(this)};f.profile&&(d.getTotalRenderbufferSize=function(){var a=0;Object.keys(k).forEach(function(b){a+=k[b].stats.size});return a});return{create:function(b,c){function g(b,c){var d=0,e=0,k=32854;"object"===typeof b&&b?("shape"in b?(e=b.shape,d=e[0]|0,e=e[1]|0):("radius"in b&&(d=e=b.radius|0),"width"in b&&(d=b.width|0),"height"in b&&(e=b.height|0)),"format"in b&&(k=q[b.format])):"number"===typeof b?(d=b|0,e="number"===typeof c?c|0:d):b||(d=e=1);if(d!==l.width||e!==l.height||k!==
|
|
90783
|
+
l.format)return g.width=l.width=d,g.height=l.height=e,l.format=k,a.bindRenderbuffer(36161,l.renderbuffer),a.renderbufferStorage(36161,k,d,e),f.profile&&(l.stats.size=M[l.format]*l.width*l.height),g.format=u[l.format],g}var l=new e(a.createRenderbuffer());k[l.id]=l;d.renderbufferCount++;g(b,c);g.resize=function(b,c){var d=b|0,e=c|0||d;if(d===l.width&&e===l.height)return g;g.width=l.width=d;g.height=l.height=e;a.bindRenderbuffer(36161,l.renderbuffer);a.renderbufferStorage(36161,l.format,d,e);f.profile&&
|
|
90784
|
+
(l.stats.size=M[l.format]*l.width*l.height);return g};g._reglType="renderbuffer";g._renderbuffer=l;f.profile&&(g.stats=l.stats);g.destroy=function(){l.decRef()};return g},clear:function(){T(k).forEach(m)},restore:function(){T(k).forEach(function(b){b.renderbuffer=a.createRenderbuffer();a.bindRenderbuffer(36161,b.renderbuffer);a.renderbufferStorage(36161,b.format,b.width,b.height)});a.bindRenderbuffer(36161,null)}}},Ya=[];Ya[6408]=4;Ya[6407]=3;var Ra=[];Ra[5121]=1;Ra[5126]=4;Ra[36193]=2;var Vb=[1116352408,
|
|
90785
|
+
1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,
|
|
90786
|
+
275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ca=["x","y","z","w"],ac="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Ga={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,
|
|
90787
|
+
"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},$a={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},Ta={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},zb={cw:2304,ccw:2305},
|
|
90788
|
+
Ab=new K(!1,!1,!1,function(){}),dc=function(a,b){function c(){this.endQueryIndex=this.startQueryIndex=-1;this.sum=0;this.stats=null}function d(a,b,d){var e=m.pop()||new c;e.startQueryIndex=a;e.endQueryIndex=b;e.sum=0;e.stats=d;q.push(e)}if(!b.ext_disjoint_timer_query)return null;var f=[],e=[],m=[],q=[],u=[],r=[];return{beginQuery:function(a){var c=f.pop()||b.ext_disjoint_timer_query.createQueryEXT();b.ext_disjoint_timer_query.beginQueryEXT(35007,c);e.push(c);d(e.length-1,e.length,a)},endQuery:function(){b.ext_disjoint_timer_query.endQueryEXT(35007)},
|
|
90789
|
+
pushScopeStats:d,update:function(){var a,c;a=e.length;if(0!==a){r.length=Math.max(r.length,a+1);u.length=Math.max(u.length,a+1);u[0]=0;var d=r[0]=0;for(c=a=0;c<e.length;++c){var g=e[c];b.ext_disjoint_timer_query.getQueryObjectEXT(g,34919)?(d+=b.ext_disjoint_timer_query.getQueryObjectEXT(g,34918),f.push(g)):e[a++]=g;u[c+1]=d;r[c+1]=a}e.length=a;for(c=a=0;c<q.length;++c){var d=q[c],l=d.startQueryIndex,g=d.endQueryIndex;d.sum+=u[g]-u[l];l=r[l];g=r[g];g===l?(d.stats.gpuTime+=d.sum/1E6,m.push(d)):(d.startQueryIndex=
|
|
90790
|
+
l,d.endQueryIndex=g,q[a++]=d)}q.length=a}},getNumPendingQueries:function(){return e.length},clear:function(){f.push.apply(f,e);for(var a=0;a<f.length;a++)b.ext_disjoint_timer_query.deleteQueryEXT(f[a]);e.length=0;f.length=0},restore:function(){e.length=0;f.length=0}}};return function(a){function b(){if(0===I.length)z&&z.update(),R=null;else{R=ab.next(b);k();for(var a=I.length-1;0<=a;--a){var c=I[a];c&&c(D,null,0)}g.flush();z&&z.update()}}function c(){!R&&0<I.length&&(R=ab.next(b))}function d(){R&&
|
|
90791
|
+
(ab.cancel(b),R=null)}function f(a){a.preventDefault();d();S.forEach(function(a){a()})}function e(a){g.getError();h.restore();J.restore();G.restore();L.restore();P.restore();V.restore();A.restore();z&&z.restore();M.procs.refresh();c();T.forEach(function(a){a()})}function m(a){function b(a,c){var d={},e={};Object.keys(a).forEach(function(b){var f=a[b];if(Z.isDynamic(f))e[b]=Z.unbox(f,b);else{if(c&&Array.isArray(f))for(var g=0;g<f.length;++g)if(Z.isDynamic(f[g])){e[b]=Z.unbox(f,b);return}d[b]=f}});
|
|
90792
|
+
return{dynamic:e,"static":d}}function c(a){for(;n.length<a;)n.push(null);return n}var d=b(a.context||{},!0),e=b(a.uniforms||{},!0),f=b(a.attributes||{},!1);a=b(function(a){function b(a){if(a in c){var d=c[a];delete c[a];Object.keys(d).forEach(function(b){c[a+"."+b]=d[b]})}}var c=O({},a);delete c.uniforms;delete c.attributes;delete c.context;delete c.vao;"stencil"in c&&c.stencil.op&&(c.stencil.opBack=c.stencil.opFront=c.stencil.op,delete c.stencil.op);b("blend");b("depth");b("cull");b("stencil");b("polygonOffset");
|
|
90793
|
+
b("scissor");b("sample");"vao"in a&&(c.vao=a.vao);return c}(a),!1);var g={gpuTime:0,cpuTime:0,count:0},h=M.compile(a,f,e,d,g),k=h.draw,l=h.batch,m=h.scope,n=[];return O(function(a,b){var d;if("function"===typeof a)return m.call(this,null,a,0);if("function"===typeof b)if("number"===typeof a)for(d=0;d<a;++d)m.call(this,null,b,d);else if(Array.isArray(a))for(d=0;d<a.length;++d)m.call(this,a[d],b,d);else return m.call(this,a,b,0);else if("number"===typeof a){if(0<a)return l.call(this,c(a|0),a|0)}else if(Array.isArray(a)){if(a.length)return l.call(this,
|
|
90794
|
+
a,a.length)}else return k.call(this,a)},{stats:g,destroy:function(){h.destroy()}})}function q(a,b){var c=0;M.procs.poll();var d=b.color;d&&(g.clearColor(+d[0]||0,+d[1]||0,+d[2]||0,+d[3]||0),c|=16384);"depth"in b&&(g.clearDepth(+b.depth),c|=256);"stencil"in b&&(g.clearStencil(b.stencil|0),c|=1024);g.clear(c)}function u(a){I.push(a);c();return{cancel:function(){function b(){var a=Bb(I,b);I[a]=I[I.length-1];--I.length;0>=I.length&&d()}var c=Bb(I,a);I[c]=b}}}function r(){var a=W.viewport,b=W.scissor_box;
|
|
90795
|
+
a[0]=a[1]=b[0]=b[1]=0;D.viewportWidth=D.framebufferWidth=D.drawingBufferWidth=a[2]=b[2]=g.drawingBufferWidth;D.viewportHeight=D.framebufferHeight=D.drawingBufferHeight=a[3]=b[3]=g.drawingBufferHeight}function k(){D.tick+=1;D.time=t();r();M.procs.poll()}function n(){L.refresh();r();M.procs.refresh();z&&z.update()}function t(){return(Cb()-E)/1E3}a=Hb(a);if(!a)return null;var g=a.gl,l=g.getContextAttributes();g.isContextLost();var h=Ib(g,a);if(!h)return null;var p=Eb(),y={vaoCount:0,bufferCount:0,elementsCount:0,
|
|
90796
|
+
framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},C=a.cachedCode||{},w=h.extensions,z=dc(g,w),E=Cb(),B=g.drawingBufferWidth,H=g.drawingBufferHeight,D={tick:0,time:0,viewportWidth:B,viewportHeight:H,framebufferWidth:B,framebufferHeight:H,drawingBufferWidth:B,drawingBufferHeight:H,pixelRatio:a.pixelRatio},B={elements:null,primitive:4,count:-1,offset:0,instances:-1},v=bc(g,w),G=Jb(g,y,a,function(a){return A.destroyBuffer(a)}),K=Kb(g,w,G,y),A=Rb(g,w,v,
|
|
90797
|
+
y,G,K,B),J=Sb(g,p,y,a),L=Nb(g,w,v,function(){M.procs.poll()},D,y,a),P=cc(g,w,v,y,a),V=Qb(g,w,v,L,P,y),M=Zb(g,p,w,v,G,K,L,V,{},A,J,B,D,z,C,a),p=Tb(g,V,M.procs.poll,D,l,w,v),W=M.next,Q=g.canvas,I=[],S=[],T=[],U=[a.onDestroy],R=null;Q&&(Q.addEventListener("webglcontextlost",f,!1),Q.addEventListener("webglcontextrestored",e,!1));var Y=V.setFBO=m({framebuffer:Z.define.call(null,1,"framebuffer")});n();l=O(m,{clear:function(a){if("framebuffer"in a)if(a.framebuffer&&"framebufferCube"===a.framebuffer_reglType)for(var b=
|
|
90798
|
+
0;6>b;++b)Y(O({framebuffer:a.framebuffer.faces[b]},a),q);else Y(a,q);else q(null,a)},prop:Z.define.bind(null,1),context:Z.define.bind(null,2),"this":Z.define.bind(null,3),draw:m({}),buffer:function(a){return G.create(a,34962,!1,!1)},elements:function(a){return K.create(a,!1)},texture:L.create2D,cube:L.createCube,renderbuffer:P.create,framebuffer:V.create,framebufferCube:V.createCube,vao:A.createVAO,attributes:l,frame:u,on:function(a,b){var c;switch(a){case "frame":return u(b);case "lost":c=S;break;
|
|
90799
|
+
case "restore":c=T;break;case "destroy":c=U}c.push(b);return{cancel:function(){for(var a=0;a<c.length;++a)if(c[a]===b){c[a]=c[c.length-1];c.pop();break}}}},limits:v,hasExtension:function(a){return 0<=v.extensions.indexOf(a.toLowerCase())},read:p,destroy:function(){I.length=0;d();Q&&(Q.removeEventListener("webglcontextlost",f),Q.removeEventListener("webglcontextrestored",e));J.clear();V.clear();P.clear();A.clear();L.clear();K.clear();G.clear();z&&z.clear();U.forEach(function(a){a()})},_gl:g,_refresh:n,
|
|
90800
|
+
poll:function(){k();z&&z.update()},now:t,stats:y,getCachedCode:function(){return C},preloadCachedCode:function(a){Object.entries(a).forEach(function(a){C[a[0]]=a[1]})}});a.onDone(null,l);return l}});
|
|
90795
90801
|
|
|
90796
90802
|
},{}],284:[function(_dereq_,module,exports){
|
|
90797
90803
|
/* eslint-disable node/no-deprecated-api */
|
|
@@ -110667,7 +110673,7 @@ drawing.setTextPointsScale = function(selection, xScale, yScale) {
|
|
|
110667
110673
|
});
|
|
110668
110674
|
};
|
|
110669
110675
|
|
|
110670
|
-
},{"../../components/fx/helpers":402,"../../constants/alignment":471,"../../constants/interactions":478,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../lib/svg_text_utils":529,"../../registry":638,"../../traces/scatter/make_bubble_size_func":
|
|
110676
|
+
},{"../../components/fx/helpers":402,"../../constants/alignment":471,"../../constants/interactions":478,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../lib/svg_text_utils":529,"../../registry":638,"../../traces/scatter/make_bubble_size_func":944,"../../traces/scatter/subtypes":952,"../color":366,"../colorscale":378,"./symbol_defs":389,"@plotly/d3":58,"fast-isnumeric":190,"tinycolor2":312}],389:[function(_dereq_,module,exports){
|
|
110671
110677
|
'use strict';
|
|
110672
110678
|
|
|
110673
110679
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -111820,7 +111826,7 @@ function errorCoords(d, xa, ya) {
|
|
|
111820
111826
|
return out;
|
|
111821
111827
|
}
|
|
111822
111828
|
|
|
111823
|
-
},{"../../traces/scatter/subtypes":
|
|
111829
|
+
},{"../../traces/scatter/subtypes":952,"../drawing":388,"@plotly/d3":58,"fast-isnumeric":190}],396:[function(_dereq_,module,exports){
|
|
111824
111830
|
'use strict';
|
|
111825
111831
|
|
|
111826
111832
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -118090,7 +118096,7 @@ function dimAttr(v, dflt, max) {
|
|
|
118090
118096
|
return v;
|
|
118091
118097
|
}
|
|
118092
118098
|
|
|
118093
|
-
},{"../../lib":503,"../../registry":638,"../../traces/pie/helpers":
|
|
118099
|
+
},{"../../lib":503,"../../registry":638,"../../traces/pie/helpers":906,"../../traces/pie/style_one":912,"../../traces/scatter/subtypes":952,"../color":366,"../colorscale/helpers":377,"../drawing":388,"./constants":417,"@plotly/d3":58}],425:[function(_dereq_,module,exports){
|
|
118094
118100
|
'use strict';
|
|
118095
118101
|
|
|
118096
118102
|
var constants = _dereq_('./constants');
|
|
@@ -119345,7 +119351,7 @@ function fillCustomButton(customButtons) {
|
|
|
119345
119351
|
return customButtons;
|
|
119346
119352
|
}
|
|
119347
119353
|
|
|
119348
|
-
},{"../../plots/cartesian/axis_ids":558,"../../registry":638,"../../traces/scatter/subtypes":
|
|
119354
|
+
},{"../../plots/cartesian/axis_ids":558,"../../registry":638,"../../traces/scatter/subtypes":952,"../fx/helpers":402,"./buttons":426,"./constants":427,"./modebar":431}],431:[function(_dereq_,module,exports){
|
|
119349
119355
|
'use strict';
|
|
119350
119356
|
|
|
119351
119357
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -119688,7 +119694,7 @@ function createModeBar(gd, buttons) {
|
|
|
119688
119694
|
|
|
119689
119695
|
module.exports = createModeBar;
|
|
119690
119696
|
|
|
119691
|
-
},{"../../fonts/ploticon":482,"../../lib":503,"../../version":
|
|
119697
|
+
},{"../../fonts/ploticon":482,"../../lib":503,"../../version":1123,"@plotly/d3":58,"fast-isnumeric":190}],432:[function(_dereq_,module,exports){
|
|
119692
119698
|
'use strict';
|
|
119693
119699
|
|
|
119694
119700
|
var fontAttrs = _dereq_('../../plots/font_attributes');
|
|
@@ -121492,7 +121498,7 @@ module.exports = templatedArray('shape', {
|
|
|
121492
121498
|
editType: 'arraydraw'
|
|
121493
121499
|
});
|
|
121494
121500
|
|
|
121495
|
-
},{"../../constants/axis_placeable_objects":472,"../../lib/extend":493,"../../plot_api/plot_template":543,"../../traces/scatter/attributes":
|
|
121501
|
+
},{"../../constants/axis_placeable_objects":472,"../../lib/extend":493,"../../plot_api/plot_template":543,"../../traces/scatter/attributes":927,"../annotations/attributes":349,"../drawing/attributes":387}],447:[function(_dereq_,module,exports){
|
|
121496
121502
|
'use strict';
|
|
121497
121503
|
|
|
121498
121504
|
var Lib = _dereq_('../../lib');
|
|
@@ -126855,7 +126861,7 @@ exports.Fx = {
|
|
|
126855
126861
|
exports.Snapshot = _dereq_('./snapshot');
|
|
126856
126862
|
exports.PlotSchema = _dereq_('./plot_api/plot_schema');
|
|
126857
126863
|
|
|
126858
|
-
},{"../build/plotcss":1,"./components/annotations":357,"./components/annotations3d":362,"./components/colorbar":372,"./components/colorscale":378,"./components/errorbars":394,"./components/fx":406,"./components/grid":410,"./components/images":415,"./components/legend":423,"./components/modebar":429,"./components/rangeselector":437,"./components/rangeslider":444,"./components/shapes":458,"./components/sliders":463,"./components/updatemenus":469,"./fonts/ploticon":482,"./locale-en":534,"./locale-en-us":533,"./plot_api":538,"./plot_api/plot_schema":542,"./plots/plots":619,"./registry":638,"./snapshot":643,"./traces/scatter":
|
|
126864
|
+
},{"../build/plotcss":1,"./components/annotations":357,"./components/annotations3d":362,"./components/colorbar":372,"./components/colorscale":378,"./components/errorbars":394,"./components/fx":406,"./components/grid":410,"./components/images":415,"./components/legend":423,"./components/modebar":429,"./components/rangeselector":437,"./components/rangeslider":444,"./components/shapes":458,"./components/sliders":463,"./components/updatemenus":469,"./fonts/ploticon":482,"./locale-en":534,"./locale-en-us":533,"./plot_api":538,"./plot_api/plot_schema":542,"./plots/plots":619,"./registry":638,"./snapshot":643,"./traces/scatter":939,"./version":1123,"native-promise-only":245}],482:[function(_dereq_,module,exports){
|
|
126859
126865
|
'use strict';
|
|
126860
126866
|
|
|
126861
126867
|
module.exports = {
|
|
@@ -132613,12 +132619,15 @@ var createRegl = _dereq_('regl');
|
|
|
132613
132619
|
*
|
|
132614
132620
|
* @return {boolean} true if all createRegl calls succeeded, false otherwise
|
|
132615
132621
|
*/
|
|
132616
|
-
module.exports = function prepareRegl(gd, extensions) {
|
|
132622
|
+
module.exports = function prepareRegl(gd, extensions, reglPrecompiled) {
|
|
132617
132623
|
var fullLayout = gd._fullLayout;
|
|
132618
132624
|
var success = true;
|
|
132619
132625
|
|
|
132620
132626
|
fullLayout._glcanvas.each(function(d) {
|
|
132621
|
-
if(d.regl)
|
|
132627
|
+
if(d.regl) {
|
|
132628
|
+
d.regl.preloadCachedCode(reglPrecompiled);
|
|
132629
|
+
return;
|
|
132630
|
+
}
|
|
132622
132631
|
// only parcoords needs pick layer
|
|
132623
132632
|
if(d.pick && !fullLayout._has('parcoords')) return;
|
|
132624
132633
|
|
|
@@ -132630,7 +132639,8 @@ module.exports = function prepareRegl(gd, extensions) {
|
|
|
132630
132639
|
preserveDrawingBuffer: true
|
|
132631
132640
|
},
|
|
132632
132641
|
pixelRatio: gd._context.plotGlPixelRatio || global.devicePixelRatio,
|
|
132633
|
-
extensions: extensions || []
|
|
132642
|
+
extensions: extensions || [],
|
|
132643
|
+
cachedCode: reglPrecompiled || {}
|
|
132634
132644
|
});
|
|
132635
132645
|
} catch(e) {
|
|
132636
132646
|
success = false;
|
|
@@ -142509,7 +142519,7 @@ function toImage(gd, opts) {
|
|
|
142509
142519
|
|
|
142510
142520
|
module.exports = toImage;
|
|
142511
142521
|
|
|
142512
|
-
},{"../lib":503,"../plots/plots":619,"../snapshot/helpers":642,"../snapshot/svgtoimg":644,"../snapshot/tosvg":646,"../version":
|
|
142522
|
+
},{"../lib":503,"../plots/plots":619,"../snapshot/helpers":642,"../snapshot/svgtoimg":644,"../snapshot/tosvg":646,"../version":1123,"./plot_api":540,"fast-isnumeric":190}],547:[function(_dereq_,module,exports){
|
|
142513
142523
|
'use strict';
|
|
142514
142524
|
|
|
142515
142525
|
var Lib = _dereq_('../lib');
|
|
@@ -160103,7 +160113,7 @@ proto.hoverFormatter = function(axisName, val) {
|
|
|
160103
160113
|
return Axes.tickText(axis, axis.c2l(val), 'hover').text;
|
|
160104
160114
|
};
|
|
160105
160115
|
|
|
160106
|
-
},{"../../../stackgl_modules":
|
|
160116
|
+
},{"../../../stackgl_modules":1124,"../../components/dragelement/helpers":384,"../../components/fx":406,"../../lib/show_no_webgl_msg":525,"../../plots/cartesian/axes":554,"../../registry":638,"../cartesian/autorange":553,"../cartesian/constants":561,"../cartesian/constraints":562,"./camera":594,"./convert":595,"webgl-context":331}],598:[function(_dereq_,module,exports){
|
|
160107
160117
|
'use strict';
|
|
160108
160118
|
|
|
160109
160119
|
var overrideAll = _dereq_('../../plot_api/edit_types').overrideAll;
|
|
@@ -162229,7 +162239,7 @@ proto.make4thDimension = function() {
|
|
|
162229
162239
|
|
|
162230
162240
|
module.exports = Scene;
|
|
162231
162241
|
|
|
162232
|
-
},{"../../../stackgl_modules":
|
|
162242
|
+
},{"../../../stackgl_modules":1124,"../../components/fx":406,"../../lib":503,"../../lib/show_no_webgl_msg":525,"../../lib/str2rgbarray":528,"../../plots/cartesian/axes":554,"../../registry":638,"./layout/convert":602,"./layout/spikes":605,"./layout/tick_marks":606,"./project":607,"has-passive-events":229,"webgl-context":331}],609:[function(_dereq_,module,exports){
|
|
162233
162243
|
'use strict';
|
|
162234
162244
|
|
|
162235
162245
|
module.exports = function zip3(x, y, z, len) {
|
|
@@ -163895,7 +163905,7 @@ attrs.uirevision = {
|
|
|
163895
163905
|
].join(' ')
|
|
163896
163906
|
};
|
|
163897
163907
|
|
|
163898
|
-
},{"../../components/color":366,"../../lib":503,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../traces/scatter/attributes":
|
|
163908
|
+
},{"../../components/color":366,"../../lib":503,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../traces/scatter/attributes":927,"../domain":584,"../font_attributes":585,"./constants":611}],616:[function(_dereq_,module,exports){
|
|
163899
163909
|
'use strict';
|
|
163900
163910
|
|
|
163901
163911
|
var Lib = _dereq_('../../lib');
|
|
@@ -174160,7 +174170,7 @@ module.exports = {
|
|
|
174160
174170
|
}
|
|
174161
174171
|
};
|
|
174162
174172
|
|
|
174163
|
-
},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
174173
|
+
},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"../scatter/attributes":927,"./constants":650}],649:[function(_dereq_,module,exports){
|
|
174164
174174
|
'use strict';
|
|
174165
174175
|
|
|
174166
174176
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -174235,7 +174245,7 @@ module.exports = function calc(gd, trace) {
|
|
|
174235
174245
|
return cd;
|
|
174236
174246
|
};
|
|
174237
174247
|
|
|
174238
|
-
},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":
|
|
174248
|
+
},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":929,"./arrays_to_calcdata":647}],650:[function(_dereq_,module,exports){
|
|
174239
174249
|
'use strict';
|
|
174240
174250
|
|
|
174241
174251
|
module.exports = {
|
|
@@ -175202,7 +175212,7 @@ module.exports = {
|
|
|
175202
175212
|
handleText: handleText
|
|
175203
175213
|
};
|
|
175204
175214
|
|
|
175205
|
-
},{"../../components/color":366,"../../lib":503,"../../plots/cartesian/constraints":562,"../../registry":638,"../scatter/period_defaults":
|
|
175215
|
+
},{"../../components/color":366,"../../lib":503,"../../plots/cartesian/constraints":562,"../../registry":638,"../scatter/period_defaults":947,"../scatter/xy_defaults":954,"./attributes":648,"./style_defaults":663}],653:[function(_dereq_,module,exports){
|
|
175206
175216
|
'use strict';
|
|
175207
175217
|
|
|
175208
175218
|
module.exports = function eventData(out, pt, trace) {
|
|
@@ -175553,7 +175563,7 @@ module.exports = {
|
|
|
175553
175563
|
}
|
|
175554
175564
|
};
|
|
175555
175565
|
|
|
175556
|
-
},{"../../plots/cartesian":568,"../scatter/marker_colorbar":
|
|
175566
|
+
},{"../../plots/cartesian":568,"../scatter/marker_colorbar":945,"./arrays_to_calcdata":647,"./attributes":648,"./calc":649,"./cross_trace_calc":651,"./defaults":652,"./event_data":653,"./hover":655,"./layout_attributes":657,"./layout_defaults":658,"./plot":659,"./select":660,"./style":662}],657:[function(_dereq_,module,exports){
|
|
175557
175567
|
'use strict';
|
|
175558
175568
|
|
|
175559
175569
|
|
|
@@ -176971,7 +176981,7 @@ module.exports = {
|
|
|
176971
176981
|
// error_y
|
|
176972
176982
|
};
|
|
176973
176983
|
|
|
176974
|
-
},{"../../lib/extend":493,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatterpolar/attributes":
|
|
176984
|
+
},{"../../lib/extend":493,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatterpolar/attributes":1002}],666:[function(_dereq_,module,exports){
|
|
176975
176985
|
'use strict';
|
|
176976
176986
|
|
|
176977
176987
|
var hasColorscale = _dereq_('../../components/colorscale/helpers').hasColorscale;
|
|
@@ -177075,7 +177085,7 @@ module.exports = {
|
|
|
177075
177085
|
crossTraceCalc: crossTraceCalc
|
|
177076
177086
|
};
|
|
177077
177087
|
|
|
177078
|
-
},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"../../lib":503,"../../registry":638,"../bar/arrays_to_calcdata":647,"../bar/cross_trace_calc":651,"../scatter/calc_selection":
|
|
177088
|
+
},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"../../lib":503,"../../registry":638,"../bar/arrays_to_calcdata":647,"../bar/cross_trace_calc":651,"../scatter/calc_selection":929}],667:[function(_dereq_,module,exports){
|
|
177079
177089
|
'use strict';
|
|
177080
177090
|
|
|
177081
177091
|
var Lib = _dereq_('../../lib');
|
|
@@ -177126,7 +177136,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
177126
177136
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
177127
177137
|
};
|
|
177128
177138
|
|
|
177129
|
-
},{"../../lib":503,"../bar/style_defaults":663,"../scatterpolar/defaults":
|
|
177139
|
+
},{"../../lib":503,"../bar/style_defaults":663,"../scatterpolar/defaults":1004,"./attributes":665}],668:[function(_dereq_,module,exports){
|
|
177130
177140
|
'use strict';
|
|
177131
177141
|
|
|
177132
177142
|
var Fx = _dereq_('../../components/fx');
|
|
@@ -177193,7 +177203,7 @@ module.exports = function hoverPoints(pointData, xval, yval) {
|
|
|
177193
177203
|
return [pointData];
|
|
177194
177204
|
};
|
|
177195
177205
|
|
|
177196
|
-
},{"../../components/fx":406,"../../lib":503,"../../plots/polar/helpers":621,"../bar/hover":655,"../scatterpolar/hover":
|
|
177206
|
+
},{"../../components/fx":406,"../../lib":503,"../../plots/polar/helpers":621,"../bar/hover":655,"../scatterpolar/hover":1006}],669:[function(_dereq_,module,exports){
|
|
177197
177207
|
'use strict';
|
|
177198
177208
|
|
|
177199
177209
|
module.exports = {
|
|
@@ -177231,7 +177241,7 @@ module.exports = {
|
|
|
177231
177241
|
}
|
|
177232
177242
|
};
|
|
177233
177243
|
|
|
177234
|
-
},{"../../plots/polar":622,"../bar/select":660,"../bar/style":662,"../scatter/marker_colorbar":
|
|
177244
|
+
},{"../../plots/polar":622,"../bar/select":660,"../bar/style":662,"../scatter/marker_colorbar":945,"../scatterpolar/format_labels":1005,"./attributes":665,"./calc":666,"./defaults":667,"./hover":668,"./layout_attributes":670,"./layout_defaults":671,"./plot":672}],670:[function(_dereq_,module,exports){
|
|
177235
177245
|
'use strict';
|
|
177236
177246
|
|
|
177237
177247
|
module.exports = {
|
|
@@ -177812,7 +177822,7 @@ module.exports = {
|
|
|
177812
177822
|
}
|
|
177813
177823
|
};
|
|
177814
177824
|
|
|
177815
|
-
},{"../../components/color/attributes":365,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":
|
|
177825
|
+
},{"../../components/color/attributes":365,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":927}],674:[function(_dereq_,module,exports){
|
|
177816
177826
|
'use strict';
|
|
177817
177827
|
|
|
177818
177828
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -178793,7 +178803,7 @@ module.exports = {
|
|
|
178793
178803
|
handlePointsDefaults: handlePointsDefaults
|
|
178794
178804
|
};
|
|
178795
178805
|
|
|
178796
|
-
},{"../../components/color":366,"../../lib":503,"../../plots/cartesian/axis_autotype":555,"../../registry":638,"../bar/defaults":652,"../scatter/period_defaults":
|
|
178806
|
+
},{"../../components/color":366,"../../lib":503,"../../plots/cartesian/axis_autotype":555,"../../registry":638,"../bar/defaults":652,"../scatter/period_defaults":947,"./attributes":673}],677:[function(_dereq_,module,exports){
|
|
178797
178807
|
'use strict';
|
|
178798
178808
|
|
|
178799
178809
|
module.exports = function eventData(out, pt) {
|
|
@@ -179819,7 +179829,7 @@ function handleDirection(traceIn, traceOut, coerce, direction) {
|
|
|
179819
179829
|
coerce(direction + '.fillcolor', Color.addOpacity(lineColor, 0.5));
|
|
179820
179830
|
}
|
|
179821
179831
|
|
|
179822
|
-
},{"../../components/color":366,"../../lib":503,"../ohlc/ohlc_defaults":877,"../scatter/period_defaults":
|
|
179832
|
+
},{"../../components/color":366,"../../lib":503,"../ohlc/ohlc_defaults":877,"../scatter/period_defaults":947,"./attributes":685}],688:[function(_dereq_,module,exports){
|
|
179823
179833
|
'use strict';
|
|
179824
179834
|
|
|
179825
179835
|
module.exports = {
|
|
@@ -183305,7 +183315,7 @@ module.exports = extendFlat({
|
|
|
183305
183315
|
})
|
|
183306
183316
|
);
|
|
183307
183317
|
|
|
183308
|
-
},{"../../components/color/attributes":365,"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scattergeo/attributes":
|
|
183318
|
+
},{"../../components/color/attributes":365,"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scattergeo/attributes":969}],717:[function(_dereq_,module,exports){
|
|
183309
183319
|
'use strict';
|
|
183310
183320
|
|
|
183311
183321
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -183358,7 +183368,7 @@ module.exports = function calc(gd, trace) {
|
|
|
183358
183368
|
return calcTrace;
|
|
183359
183369
|
};
|
|
183360
183370
|
|
|
183361
|
-
},{"../../components/colorscale/calc":374,"../../constants/numerical":479,"../scatter/arrays_to_calcdata":
|
|
183371
|
+
},{"../../components/colorscale/calc":374,"../../constants/numerical":479,"../scatter/arrays_to_calcdata":926,"../scatter/calc_selection":929,"fast-isnumeric":190}],718:[function(_dereq_,module,exports){
|
|
183362
183372
|
'use strict';
|
|
183363
183373
|
|
|
183364
183374
|
var Lib = _dereq_('../../lib');
|
|
@@ -184552,7 +184562,7 @@ function createConeTrace(scene, data) {
|
|
|
184552
184562
|
|
|
184553
184563
|
module.exports = createConeTrace;
|
|
184554
184564
|
|
|
184555
|
-
},{"../../../stackgl_modules":
|
|
184565
|
+
},{"../../../stackgl_modules":1124,"../../components/colorscale":378,"../../lib":503,"../../lib/gl_format_color":499,"../../plots/gl3d/zip3":609}],733:[function(_dereq_,module,exports){
|
|
184556
184566
|
'use strict';
|
|
184557
184567
|
|
|
184558
184568
|
var Lib = _dereq_('../../lib');
|
|
@@ -184923,7 +184933,7 @@ module.exports = extendFlat({
|
|
|
184923
184933
|
})
|
|
184924
184934
|
);
|
|
184925
184935
|
|
|
184926
|
-
},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../constants/filter_ops":475,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../heatmap/attributes":792,"../scatter/attributes":
|
|
184936
|
+
},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../constants/filter_ops":475,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../heatmap/attributes":792,"../scatter/attributes":927}],736:[function(_dereq_,module,exports){
|
|
184927
184937
|
'use strict';
|
|
184928
184938
|
|
|
184929
184939
|
var Colorscale = _dereq_('../../components/colorscale');
|
|
@@ -185488,7 +185498,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
185488
185498
|
}
|
|
185489
185499
|
};
|
|
185490
185500
|
|
|
185491
|
-
},{"../../lib":503,"../heatmap/label_defaults":802,"../heatmap/xyz_defaults":807,"../scatter/period_defaults":
|
|
185501
|
+
},{"../../lib":503,"../heatmap/label_defaults":802,"../heatmap/xyz_defaults":807,"../scatter/period_defaults":947,"./attributes":735,"./constraint_defaults":740,"./contours_defaults":742,"./style_defaults":756}],745:[function(_dereq_,module,exports){
|
|
185492
185502
|
'use strict';
|
|
185493
185503
|
|
|
185494
185504
|
var Lib = _dereq_('../../lib');
|
|
@@ -187807,7 +187817,7 @@ module.exports = extendFlat({
|
|
|
187807
187817
|
})
|
|
187808
187818
|
);
|
|
187809
187819
|
|
|
187810
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scattermapbox/attributes":
|
|
187820
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scattermapbox/attributes":993}],763:[function(_dereq_,module,exports){
|
|
187811
187821
|
'use strict';
|
|
187812
187822
|
|
|
187813
187823
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -188040,7 +188050,7 @@ module.exports = function hoverPoints(pointData, xval, yval) {
|
|
|
188040
188050
|
return [newPointData];
|
|
188041
188051
|
};
|
|
188042
188052
|
|
|
188043
|
-
},{"../../plots/cartesian/axes":554,"../scattermapbox/hover":
|
|
188053
|
+
},{"../../plots/cartesian/axes":554,"../scattermapbox/hover":998}],768:[function(_dereq_,module,exports){
|
|
188044
188054
|
'use strict';
|
|
188045
188055
|
|
|
188046
188056
|
module.exports = {
|
|
@@ -188082,7 +188092,7 @@ module.exports = {
|
|
|
188082
188092
|
}
|
|
188083
188093
|
};
|
|
188084
188094
|
|
|
188085
|
-
},{"../../plots/mapbox":613,"../heatmap/colorbar":795,"../scattermapbox/format_labels":
|
|
188095
|
+
},{"../../plots/mapbox":613,"../heatmap/colorbar":795,"../scattermapbox/format_labels":997,"./attributes":762,"./calc":763,"./defaults":765,"./event_data":766,"./hover":767,"./plot":769}],769:[function(_dereq_,module,exports){
|
|
188086
188096
|
'use strict';
|
|
188087
188097
|
|
|
188088
188098
|
var convert = _dereq_('./convert');
|
|
@@ -188334,7 +188344,7 @@ function funnelMarker() {
|
|
|
188334
188344
|
return marker;
|
|
188335
188345
|
}
|
|
188336
188346
|
|
|
188337
|
-
},{"../../components/color":366,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":
|
|
188347
|
+
},{"../../components/color":366,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":927,"./constants":773}],772:[function(_dereq_,module,exports){
|
|
188338
188348
|
'use strict';
|
|
188339
188349
|
|
|
188340
188350
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -188434,7 +188444,7 @@ function fixNum(a) {
|
|
|
188434
188444
|
return (a === BADNUM) ? 0 : a;
|
|
188435
188445
|
}
|
|
188436
188446
|
|
|
188437
|
-
},{"../../constants/numerical":479,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":
|
|
188447
|
+
},{"../../constants/numerical":479,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":929,"./arrays_to_calcdata":770}],773:[function(_dereq_,module,exports){
|
|
188438
188448
|
'use strict';
|
|
188439
188449
|
|
|
188440
188450
|
module.exports = {
|
|
@@ -188602,7 +188612,7 @@ module.exports = {
|
|
|
188602
188612
|
crossTraceDefaults: crossTraceDefaults
|
|
188603
188613
|
};
|
|
188604
188614
|
|
|
188605
|
-
},{"../../components/color":366,"../../lib":503,"../bar/defaults":652,"../scatter/period_defaults":
|
|
188615
|
+
},{"../../components/color":366,"../../lib":503,"../bar/defaults":652,"../scatter/period_defaults":947,"../scatter/xy_defaults":954,"./attributes":771}],776:[function(_dereq_,module,exports){
|
|
188606
188616
|
'use strict';
|
|
188607
188617
|
|
|
188608
188618
|
module.exports = function eventData(out, pt /* , trace, cd, pointNumber */) {
|
|
@@ -189111,7 +189121,7 @@ module.exports = {
|
|
|
189111
189121
|
}
|
|
189112
189122
|
};
|
|
189113
189123
|
|
|
189114
|
-
},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":
|
|
189124
|
+
},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":901}],784:[function(_dereq_,module,exports){
|
|
189115
189125
|
'use strict';
|
|
189116
189126
|
|
|
189117
189127
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -189144,7 +189154,7 @@ module.exports = {
|
|
|
189144
189154
|
crossTraceCalc: crossTraceCalc
|
|
189145
189155
|
};
|
|
189146
189156
|
|
|
189147
|
-
},{"../pie/calc":
|
|
189157
|
+
},{"../pie/calc":903}],786:[function(_dereq_,module,exports){
|
|
189148
189158
|
'use strict';
|
|
189149
189159
|
|
|
189150
189160
|
var Lib = _dereq_('../../lib');
|
|
@@ -189218,7 +189228,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
189218
189228
|
coerce('baseratio');
|
|
189219
189229
|
};
|
|
189220
189230
|
|
|
189221
|
-
},{"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"../pie/defaults":
|
|
189231
|
+
},{"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"../pie/defaults":904,"./attributes":783}],787:[function(_dereq_,module,exports){
|
|
189222
189232
|
'use strict';
|
|
189223
189233
|
|
|
189224
189234
|
module.exports = {
|
|
@@ -189249,7 +189259,7 @@ module.exports = {
|
|
|
189249
189259
|
}
|
|
189250
189260
|
};
|
|
189251
189261
|
|
|
189252
|
-
},{"../pie/style_one":
|
|
189262
|
+
},{"../pie/style_one":912,"./attributes":783,"./base_plot":784,"./calc":785,"./defaults":786,"./layout_attributes":788,"./layout_defaults":789,"./plot":790,"./style":791}],788:[function(_dereq_,module,exports){
|
|
189253
189263
|
'use strict';
|
|
189254
189264
|
|
|
189255
189265
|
var hiddenlabels = _dereq_('../pie/layout_attributes').hiddenlabels;
|
|
@@ -189284,7 +189294,7 @@ module.exports = {
|
|
|
189284
189294
|
}
|
|
189285
189295
|
};
|
|
189286
189296
|
|
|
189287
|
-
},{"../pie/layout_attributes":
|
|
189297
|
+
},{"../pie/layout_attributes":908}],789:[function(_dereq_,module,exports){
|
|
189288
189298
|
'use strict';
|
|
189289
189299
|
|
|
189290
189300
|
var Lib = _dereq_('../../lib');
|
|
@@ -189591,7 +189601,7 @@ function setCoords(cd) {
|
|
|
189591
189601
|
}
|
|
189592
189602
|
}
|
|
189593
189603
|
|
|
189594
|
-
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../bar/plot":659,"../bar/uniform_text":664,"../pie/helpers":
|
|
189604
|
+
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../bar/plot":659,"../bar/uniform_text":664,"../pie/helpers":906,"../pie/plot":910,"@plotly/d3":58}],791:[function(_dereq_,module,exports){
|
|
189595
189605
|
'use strict';
|
|
189596
189606
|
|
|
189597
189607
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -189616,7 +189626,7 @@ module.exports = function style(gd) {
|
|
|
189616
189626
|
});
|
|
189617
189627
|
};
|
|
189618
189628
|
|
|
189619
|
-
},{"../bar/uniform_text":664,"../pie/style_one":
|
|
189629
|
+
},{"../bar/uniform_text":664,"../pie/style_one":912,"@plotly/d3":58}],792:[function(_dereq_,module,exports){
|
|
189620
189630
|
'use strict';
|
|
189621
189631
|
|
|
189622
189632
|
var scatterAttrs = _dereq_('../scatter/attributes');
|
|
@@ -189758,7 +189768,7 @@ module.exports = extendFlat({
|
|
|
189758
189768
|
colorScaleAttrs('', {cLetter: 'z', autoColorDflt: false})
|
|
189759
189769
|
);
|
|
189760
189770
|
|
|
189761
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
189771
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"../scatter/attributes":927}],793:[function(_dereq_,module,exports){
|
|
189762
189772
|
'use strict';
|
|
189763
189773
|
|
|
189764
189774
|
var Registry = _dereq_('../../registry');
|
|
@@ -190158,7 +190168,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
190158
190168
|
colorscaleDefaults(traceIn, traceOut, layout, coerce, {prefix: '', cLetter: 'z'});
|
|
190159
190169
|
};
|
|
190160
190170
|
|
|
190161
|
-
},{"../../components/colorscale/defaults":376,"../../lib":503,"../scatter/period_defaults":
|
|
190171
|
+
},{"../../components/colorscale/defaults":376,"../../lib":503,"../scatter/period_defaults":947,"./attributes":792,"./label_defaults":802,"./style_defaults":806,"./xyz_defaults":807}],798:[function(_dereq_,module,exports){
|
|
190162
190172
|
'use strict';
|
|
190163
190173
|
|
|
190164
190174
|
var maxRowLength = _dereq_('../../lib').maxRowLength;
|
|
@@ -191249,7 +191259,7 @@ function putColor(pixels, pxIndex, c) {
|
|
|
191249
191259
|
pixels[pxIndex + 3] = Math.round(c[3] * 255);
|
|
191250
191260
|
}
|
|
191251
191261
|
|
|
191252
|
-
},{"../../components/color":366,"../../components/colorscale":378,"../../components/drawing":388,"../../constants/alignment":471,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"../../registry":638,"../scatter/format_labels":
|
|
191262
|
+
},{"../../components/color":366,"../../components/colorscale":378,"../../components/drawing":388,"../../constants/alignment":471,"../../constants/xmlns_namespaces":480,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"../../registry":638,"../scatter/format_labels":936,"@plotly/d3":58,"tinycolor2":312}],805:[function(_dereq_,module,exports){
|
|
191253
191263
|
'use strict';
|
|
191254
191264
|
|
|
191255
191265
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -191548,7 +191558,7 @@ function createHeatmap(scene, fullTrace, calcTrace) {
|
|
|
191548
191558
|
|
|
191549
191559
|
module.exports = createHeatmap;
|
|
191550
191560
|
|
|
191551
|
-
},{"../../../stackgl_modules":
|
|
191561
|
+
},{"../../../stackgl_modules":1124,"../../lib/str2rgbarray":528,"../../plots/cartesian/axes":554}],810:[function(_dereq_,module,exports){
|
|
191552
191562
|
'use strict';
|
|
191553
191563
|
|
|
191554
191564
|
var Lib = _dereq_('../../lib');
|
|
@@ -193212,7 +193222,7 @@ module.exports = {
|
|
|
193212
193222
|
}
|
|
193213
193223
|
};
|
|
193214
193224
|
|
|
193215
|
-
},{"../../plots/cartesian":568,"../bar/cross_trace_calc":651,"../bar/layout_attributes":657,"../bar/layout_defaults":658,"../bar/plot":659,"../bar/select":660,"../bar/style":662,"../scatter/marker_colorbar":
|
|
193225
|
+
},{"../../plots/cartesian":568,"../bar/cross_trace_calc":651,"../bar/layout_attributes":657,"../bar/layout_defaults":658,"../bar/plot":659,"../bar/select":660,"../bar/style":662,"../scatter/marker_colorbar":945,"./attributes":812,"./calc":817,"./cross_trace_defaults":819,"./defaults":820,"./event_data":821,"./hover":822}],824:[function(_dereq_,module,exports){
|
|
193216
193226
|
'use strict';
|
|
193217
193227
|
|
|
193218
193228
|
|
|
@@ -193882,7 +193892,7 @@ module.exports = {
|
|
|
193882
193892
|
domain: domainAttrs({name: 'icicle', trace: true, editType: 'calc'}),
|
|
193883
193893
|
};
|
|
193884
193894
|
|
|
193885
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":
|
|
193895
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":901,"../sunburst/attributes":1049,"../treemap/attributes":1075,"../treemap/constants":1078}],835:[function(_dereq_,module,exports){
|
|
193886
193896
|
'use strict';
|
|
193887
193897
|
|
|
193888
193898
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -193910,7 +193920,7 @@ exports.crossTraceCalc = function(gd) {
|
|
|
193910
193920
|
return calc._runCrossTraceCalc('icicle', gd);
|
|
193911
193921
|
};
|
|
193912
193922
|
|
|
193913
|
-
},{"../sunburst/calc":
|
|
193923
|
+
},{"../sunburst/calc":1051}],837:[function(_dereq_,module,exports){
|
|
193914
193924
|
'use strict';
|
|
193915
193925
|
|
|
193916
193926
|
var Lib = _dereq_('../../lib');
|
|
@@ -194221,7 +194231,7 @@ module.exports = function drawDescendants(gd, cd, entry, slices, opts) {
|
|
|
194221
194231
|
return nextOfPrevEntry;
|
|
194222
194232
|
};
|
|
194223
194233
|
|
|
194224
|
-
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":
|
|
194234
|
+
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":1054,"../sunburst/helpers":1055,"../sunburst/plot":1059,"../treemap/constants":1078,"./partition":842,"./style":844,"@plotly/d3":58}],839:[function(_dereq_,module,exports){
|
|
194225
194235
|
'use strict';
|
|
194226
194236
|
|
|
194227
194237
|
module.exports = {
|
|
@@ -194253,7 +194263,7 @@ module.exports = {
|
|
|
194253
194263
|
}
|
|
194254
194264
|
};
|
|
194255
194265
|
|
|
194256
|
-
},{"../scatter/marker_colorbar":
|
|
194266
|
+
},{"../scatter/marker_colorbar":945,"./attributes":834,"./base_plot":835,"./calc":836,"./defaults":837,"./layout_attributes":840,"./layout_defaults":841,"./plot":843,"./style":844}],840:[function(_dereq_,module,exports){
|
|
194257
194267
|
'use strict';
|
|
194258
194268
|
|
|
194259
194269
|
module.exports = {
|
|
@@ -194334,7 +194344,7 @@ module.exports = function partition(entry, size, opts) {
|
|
|
194334
194344
|
return result;
|
|
194335
194345
|
};
|
|
194336
194346
|
|
|
194337
|
-
},{"../treemap/flip_tree":
|
|
194347
|
+
},{"../treemap/flip_tree":1083,"d3-hierarchy":115}],843:[function(_dereq_,module,exports){
|
|
194338
194348
|
'use strict';
|
|
194339
194349
|
|
|
194340
194350
|
var draw = _dereq_('../treemap/draw');
|
|
@@ -194347,7 +194357,7 @@ module.exports = function _plot(gd, cdmodule, transitionOpts, makeOnCompleteCall
|
|
|
194347
194357
|
});
|
|
194348
194358
|
};
|
|
194349
194359
|
|
|
194350
|
-
},{"../treemap/draw":
|
|
194360
|
+
},{"../treemap/draw":1080,"./draw_descendants":838}],844:[function(_dereq_,module,exports){
|
|
194351
194361
|
'use strict';
|
|
194352
194362
|
|
|
194353
194363
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -196874,7 +196884,7 @@ module.exports = function calc(gd, trace) {
|
|
|
196874
196884
|
});
|
|
196875
196885
|
};
|
|
196876
196886
|
|
|
196877
|
-
},{"../../components/colorscale/calc":374,"../streamtube/calc":
|
|
196887
|
+
},{"../../components/colorscale/calc":374,"../streamtube/calc":1045}],864:[function(_dereq_,module,exports){
|
|
196878
196888
|
'use strict';
|
|
196879
196889
|
|
|
196880
196890
|
var createMesh = _dereq_('../../../stackgl_modules').gl_mesh3d;
|
|
@@ -197922,7 +197932,7 @@ module.exports = {
|
|
|
197922
197932
|
createIsosurfaceTrace: createIsosurfaceTrace,
|
|
197923
197933
|
};
|
|
197924
197934
|
|
|
197925
|
-
},{"../../../stackgl_modules":
|
|
197935
|
+
},{"../../../stackgl_modules":1124,"../../components/colorscale":378,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../../plots/gl3d/zip3":609}],865:[function(_dereq_,module,exports){
|
|
197926
197936
|
'use strict';
|
|
197927
197937
|
|
|
197928
197938
|
var Lib = _dereq_('../../lib');
|
|
@@ -198303,7 +198313,7 @@ colorScaleAttrs('', {
|
|
|
198303
198313
|
showlegend: extendFlat({}, baseAttrs.showlegend, {dflt: false})
|
|
198304
198314
|
});
|
|
198305
198315
|
|
|
198306
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../surface/attributes":
|
|
198316
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../surface/attributes":1061}],868:[function(_dereq_,module,exports){
|
|
198307
198317
|
'use strict';
|
|
198308
198318
|
|
|
198309
198319
|
var colorscaleCalc = _dereq_('../../components/colorscale/calc');
|
|
@@ -198513,7 +198523,7 @@ function createMesh3DTrace(scene, data) {
|
|
|
198513
198523
|
|
|
198514
198524
|
module.exports = createMesh3DTrace;
|
|
198515
198525
|
|
|
198516
|
-
},{"../../../stackgl_modules":
|
|
198526
|
+
},{"../../../stackgl_modules":1124,"../../components/colorscale":378,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../../plots/gl3d/zip3":609}],870:[function(_dereq_,module,exports){
|
|
198517
198527
|
'use strict';
|
|
198518
198528
|
|
|
198519
198529
|
var Registry = _dereq_('../../registry');
|
|
@@ -198776,7 +198786,7 @@ module.exports = {
|
|
|
198776
198786
|
}),
|
|
198777
198787
|
};
|
|
198778
198788
|
|
|
198779
|
-
},{"../../components/drawing/attributes":387,"../../components/fx/attributes":397,"../../constants/delta.js":473,"../../lib":503,"../../plots/cartesian/axis_format_attributes":557,"../scatter/attributes":
|
|
198789
|
+
},{"../../components/drawing/attributes":387,"../../components/fx/attributes":397,"../../constants/delta.js":473,"../../lib":503,"../../plots/cartesian/axis_format_attributes":557,"../scatter/attributes":927}],873:[function(_dereq_,module,exports){
|
|
198780
198790
|
'use strict';
|
|
198781
198791
|
|
|
198782
198792
|
var Lib = _dereq_('../../lib');
|
|
@@ -198991,7 +199001,7 @@ function handleDirection(traceIn, traceOut, coerce, direction) {
|
|
|
198991
199001
|
coerce(direction + '.line.dash', traceOut.line.dash);
|
|
198992
199002
|
}
|
|
198993
199003
|
|
|
198994
|
-
},{"../../lib":503,"../scatter/period_defaults":
|
|
199004
|
+
},{"../../lib":503,"../scatter/period_defaults":947,"./attributes":872,"./ohlc_defaults":877}],875:[function(_dereq_,module,exports){
|
|
198995
199005
|
'use strict';
|
|
198996
199006
|
|
|
198997
199007
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -200226,7 +200236,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
200226
200236
|
Lib.coerceFont(coerce, 'tickfont', categoryfontDefault);
|
|
200227
200237
|
};
|
|
200228
200238
|
|
|
200229
|
-
},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/domain":584,"../parcoords/merge_length":
|
|
200239
|
+
},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/domain":584,"../parcoords/merge_length":898,"./attributes":881}],885:[function(_dereq_,module,exports){
|
|
200230
200240
|
'use strict';
|
|
200231
200241
|
|
|
200232
200242
|
module.exports = {
|
|
@@ -203112,7 +203122,33 @@ module.exports = {
|
|
|
203112
203122
|
cleanRanges: cleanRanges
|
|
203113
203123
|
};
|
|
203114
203124
|
|
|
203115
|
-
},{"../../lib":503,"../../lib/gup":500,"./constants":
|
|
203125
|
+
},{"../../lib":503,"../../lib/gup":500,"./constants":893,"@plotly/d3":58}],890:[function(_dereq_,module,exports){
|
|
203126
|
+
'use strict';
|
|
203127
|
+
|
|
203128
|
+
module.exports = {
|
|
203129
|
+
attributes: _dereq_('./attributes'),
|
|
203130
|
+
supplyDefaults: _dereq_('./defaults'),
|
|
203131
|
+
calc: _dereq_('./calc'),
|
|
203132
|
+
colorbar: {
|
|
203133
|
+
container: 'line',
|
|
203134
|
+
min: 'cmin',
|
|
203135
|
+
max: 'cmax'
|
|
203136
|
+
},
|
|
203137
|
+
|
|
203138
|
+
moduleType: 'trace',
|
|
203139
|
+
name: 'parcoords',
|
|
203140
|
+
basePlotModule: _dereq_('./base_plot'),
|
|
203141
|
+
categories: ['gl', 'regl', 'noOpacity', 'noHover'],
|
|
203142
|
+
meta: {
|
|
203143
|
+
description: [
|
|
203144
|
+
'Parallel coordinates for multidimensional exploratory data analysis.',
|
|
203145
|
+
'The samples are specified in `dimensions`.',
|
|
203146
|
+
'The colors are set in `line.color`.'
|
|
203147
|
+
].join(' ')
|
|
203148
|
+
}
|
|
203149
|
+
};
|
|
203150
|
+
|
|
203151
|
+
},{"./attributes":888,"./base_plot":891,"./calc":892,"./defaults":894}],891:[function(_dereq_,module,exports){
|
|
203116
203152
|
'use strict';
|
|
203117
203153
|
|
|
203118
203154
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -203171,7 +203207,7 @@ exports.toSVG = function(gd) {
|
|
|
203171
203207
|
}, 60);
|
|
203172
203208
|
};
|
|
203173
203209
|
|
|
203174
|
-
},{"../../constants/xmlns_namespaces":480,"../../plots/get_data":593,"./plot":
|
|
203210
|
+
},{"../../constants/xmlns_namespaces":480,"../../plots/get_data":593,"./plot":900,"@plotly/d3":58}],892:[function(_dereq_,module,exports){
|
|
203175
203211
|
'use strict';
|
|
203176
203212
|
|
|
203177
203213
|
var isArrayOrTypedArray = _dereq_('../../lib').isArrayOrTypedArray;
|
|
@@ -203207,7 +203243,7 @@ function constHalf(len) {
|
|
|
203207
203243
|
return out;
|
|
203208
203244
|
}
|
|
203209
203245
|
|
|
203210
|
-
},{"../../components/colorscale":378,"../../lib":503,"../../lib/gup":500}],
|
|
203246
|
+
},{"../../components/colorscale":378,"../../lib":503,"../../lib/gup":500}],893:[function(_dereq_,module,exports){
|
|
203211
203247
|
'use strict';
|
|
203212
203248
|
|
|
203213
203249
|
|
|
@@ -203260,7 +203296,7 @@ module.exports = {
|
|
|
203260
203296
|
}
|
|
203261
203297
|
};
|
|
203262
203298
|
|
|
203263
|
-
},{}],
|
|
203299
|
+
},{}],894:[function(_dereq_,module,exports){
|
|
203264
203300
|
'use strict';
|
|
203265
203301
|
|
|
203266
203302
|
var Lib = _dereq_('../../lib');
|
|
@@ -203372,7 +203408,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
203372
203408
|
coerce('labelside');
|
|
203373
203409
|
};
|
|
203374
203410
|
|
|
203375
|
-
},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/cartesian/axes":554,"../../plots/domain":584,"./attributes":888,"./axisbrush":889,"./constants":
|
|
203411
|
+
},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503,"../../plots/array_container_defaults":549,"../../plots/cartesian/axes":554,"../../plots/domain":584,"./attributes":888,"./axisbrush":889,"./constants":893,"./merge_length":898}],895:[function(_dereq_,module,exports){
|
|
203376
203412
|
'use strict';
|
|
203377
203413
|
|
|
203378
203414
|
var isTypedArray = _dereq_('../../lib').isTypedArray;
|
|
@@ -203389,34 +203425,16 @@ exports.isVisible = function(dimension) {
|
|
|
203389
203425
|
return dimension.visible || !('visible' in dimension);
|
|
203390
203426
|
};
|
|
203391
203427
|
|
|
203392
|
-
},{"../../lib":503}],
|
|
203428
|
+
},{"../../lib":503}],896:[function(_dereq_,module,exports){
|
|
203393
203429
|
'use strict';
|
|
203394
203430
|
|
|
203395
|
-
|
|
203396
|
-
attributes: _dereq_('./attributes'),
|
|
203397
|
-
supplyDefaults: _dereq_('./defaults'),
|
|
203398
|
-
calc: _dereq_('./calc'),
|
|
203399
|
-
plot: _dereq_('./plot'),
|
|
203400
|
-
colorbar: {
|
|
203401
|
-
container: 'line',
|
|
203402
|
-
min: 'cmin',
|
|
203403
|
-
max: 'cmax'
|
|
203404
|
-
},
|
|
203431
|
+
var index = _dereq_('./base_index');
|
|
203405
203432
|
|
|
203406
|
-
|
|
203407
|
-
|
|
203408
|
-
|
|
203409
|
-
categories: ['gl', 'regl', 'noOpacity', 'noHover'],
|
|
203410
|
-
meta: {
|
|
203411
|
-
description: [
|
|
203412
|
-
'Parallel coordinates for multidimensional exploratory data analysis.',
|
|
203413
|
-
'The samples are specified in `dimensions`.',
|
|
203414
|
-
'The colors are set in `line.color`.'
|
|
203415
|
-
].join(' ')
|
|
203416
|
-
}
|
|
203417
|
-
};
|
|
203433
|
+
index.plot = _dereq_('./plot');
|
|
203434
|
+
|
|
203435
|
+
module.exports = index;
|
|
203418
203436
|
|
|
203419
|
-
},{"./
|
|
203437
|
+
},{"./base_index":890,"./plot":900}],897:[function(_dereq_,module,exports){
|
|
203420
203438
|
'use strict';
|
|
203421
203439
|
|
|
203422
203440
|
var glslify = _dereq_('glslify');
|
|
@@ -203960,7 +203978,7 @@ module.exports = function(canvasGL, d) {
|
|
|
203960
203978
|
};
|
|
203961
203979
|
};
|
|
203962
203980
|
|
|
203963
|
-
},{"../../lib":503,"./constants":
|
|
203981
|
+
},{"../../lib":503,"./constants":893,"glslify":227}],898:[function(_dereq_,module,exports){
|
|
203964
203982
|
'use strict';
|
|
203965
203983
|
|
|
203966
203984
|
/**
|
|
@@ -203990,7 +204008,7 @@ module.exports = function(traceOut, dimensions, dataAttr, len) {
|
|
|
203990
204008
|
return len;
|
|
203991
204009
|
};
|
|
203992
204010
|
|
|
203993
|
-
},{}],
|
|
204011
|
+
},{}],899:[function(_dereq_,module,exports){
|
|
203994
204012
|
'use strict';
|
|
203995
204013
|
|
|
203996
204014
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -204751,12 +204769,13 @@ module.exports = function parcoords(gd, cdModule, layout, callbacks) {
|
|
|
204751
204769
|
brush.ensureAxisBrush(axisOverlays, paperColor);
|
|
204752
204770
|
};
|
|
204753
204771
|
|
|
204754
|
-
},{"../../components/colorscale":378,"../../components/drawing":388,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"./axisbrush":889,"./constants":
|
|
204772
|
+
},{"../../components/colorscale":378,"../../components/drawing":388,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"../../plots/cartesian/axes":554,"./axisbrush":889,"./constants":893,"./helpers":895,"./lines":897,"@plotly/d3":58,"color-rgba":91}],900:[function(_dereq_,module,exports){
|
|
204755
204773
|
'use strict';
|
|
204756
204774
|
|
|
204757
204775
|
var parcoords = _dereq_('./parcoords');
|
|
204758
204776
|
var prepareRegl = _dereq_('../../lib/prepare_regl');
|
|
204759
204777
|
var isVisible = _dereq_('./helpers').isVisible;
|
|
204778
|
+
var reglPrecompiled = {};
|
|
204760
204779
|
|
|
204761
204780
|
function newIndex(visibleIndices, orig, dim) {
|
|
204762
204781
|
var origIndex = orig.indexOf(dim);
|
|
@@ -204777,10 +204796,10 @@ function sorter(visibleIndices, orig) {
|
|
|
204777
204796
|
};
|
|
204778
204797
|
}
|
|
204779
204798
|
|
|
204780
|
-
module.exports = function plot(gd, cdModule) {
|
|
204799
|
+
var exports = module.exports = function plot(gd, cdModule) {
|
|
204781
204800
|
var fullLayout = gd._fullLayout;
|
|
204782
204801
|
|
|
204783
|
-
var success = prepareRegl(gd);
|
|
204802
|
+
var success = prepareRegl(gd, [], reglPrecompiled);
|
|
204784
204803
|
if(!success) return;
|
|
204785
204804
|
|
|
204786
204805
|
var currentDims = {};
|
|
@@ -204898,7 +204917,9 @@ module.exports = function plot(gd, cdModule) {
|
|
|
204898
204917
|
);
|
|
204899
204918
|
};
|
|
204900
204919
|
|
|
204901
|
-
|
|
204920
|
+
exports.reglPrecompiled = reglPrecompiled;
|
|
204921
|
+
|
|
204922
|
+
},{"../../lib/prepare_regl":516,"./helpers":895,"./parcoords":899}],901:[function(_dereq_,module,exports){
|
|
204902
204923
|
'use strict';
|
|
204903
204924
|
|
|
204904
204925
|
var baseAttrs = _dereq_('../../plots/attributes');
|
|
@@ -205230,7 +205251,7 @@ module.exports = {
|
|
|
205230
205251
|
}
|
|
205231
205252
|
};
|
|
205232
205253
|
|
|
205233
|
-
},{"../../components/color/attributes":365,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/font_attributes":585,"../../plots/template_attributes":633}],
|
|
205254
|
+
},{"../../components/color/attributes":365,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/font_attributes":585,"../../plots/template_attributes":633}],902:[function(_dereq_,module,exports){
|
|
205234
205255
|
'use strict';
|
|
205235
205256
|
|
|
205236
205257
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -205245,7 +205266,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
205245
205266
|
plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
|
|
205246
205267
|
};
|
|
205247
205268
|
|
|
205248
|
-
},{"../../plots/plots":619}],
|
|
205269
|
+
},{"../../plots/plots":619}],903:[function(_dereq_,module,exports){
|
|
205249
205270
|
'use strict';
|
|
205250
205271
|
|
|
205251
205272
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -205422,7 +205443,7 @@ module.exports = {
|
|
|
205422
205443
|
generateExtendedColors: generateExtendedColors
|
|
205423
205444
|
};
|
|
205424
205445
|
|
|
205425
|
-
},{"../../components/color":366,"fast-isnumeric":190,"tinycolor2":312}],
|
|
205446
|
+
},{"../../components/color":366,"fast-isnumeric":190,"tinycolor2":312}],904:[function(_dereq_,module,exports){
|
|
205426
205447
|
'use strict';
|
|
205427
205448
|
|
|
205428
205449
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -205545,7 +205566,7 @@ module.exports = {
|
|
|
205545
205566
|
supplyDefaults: supplyDefaults
|
|
205546
205567
|
};
|
|
205547
205568
|
|
|
205548
|
-
},{"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"./attributes":
|
|
205569
|
+
},{"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"./attributes":901,"fast-isnumeric":190}],905:[function(_dereq_,module,exports){
|
|
205549
205570
|
'use strict';
|
|
205550
205571
|
|
|
205551
205572
|
var appendArrayMultiPointValues = _dereq_('../../components/fx/helpers').appendArrayMultiPointValues;
|
|
@@ -205587,7 +205608,7 @@ module.exports = function eventData(pt, trace) {
|
|
|
205587
205608
|
return out;
|
|
205588
205609
|
};
|
|
205589
205610
|
|
|
205590
|
-
},{"../../components/fx/helpers":402}],
|
|
205611
|
+
},{"../../components/fx/helpers":402}],906:[function(_dereq_,module,exports){
|
|
205591
205612
|
'use strict';
|
|
205592
205613
|
|
|
205593
205614
|
var Lib = _dereq_('../../lib');
|
|
@@ -205627,7 +205648,7 @@ exports.getRotationAngle = function(rotation) {
|
|
|
205627
205648
|
return (rotation === 'auto' ? 0 : rotation) * Math.PI / 180;
|
|
205628
205649
|
};
|
|
205629
205650
|
|
|
205630
|
-
},{"../../lib":503}],
|
|
205651
|
+
},{"../../lib":503}],907:[function(_dereq_,module,exports){
|
|
205631
205652
|
'use strict';
|
|
205632
205653
|
|
|
205633
205654
|
module.exports = {
|
|
@@ -205656,7 +205677,7 @@ module.exports = {
|
|
|
205656
205677
|
}
|
|
205657
205678
|
};
|
|
205658
205679
|
|
|
205659
|
-
},{"./attributes":
|
|
205680
|
+
},{"./attributes":901,"./base_plot":902,"./calc":903,"./defaults":904,"./layout_attributes":908,"./layout_defaults":909,"./plot":910,"./style":911,"./style_one":912}],908:[function(_dereq_,module,exports){
|
|
205660
205681
|
'use strict';
|
|
205661
205682
|
|
|
205662
205683
|
module.exports = {
|
|
@@ -205697,7 +205718,7 @@ module.exports = {
|
|
|
205697
205718
|
}
|
|
205698
205719
|
};
|
|
205699
205720
|
|
|
205700
|
-
},{}],
|
|
205721
|
+
},{}],909:[function(_dereq_,module,exports){
|
|
205701
205722
|
'use strict';
|
|
205702
205723
|
|
|
205703
205724
|
var Lib = _dereq_('../../lib');
|
|
@@ -205714,7 +205735,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
205714
205735
|
coerce('extendpiecolors');
|
|
205715
205736
|
};
|
|
205716
205737
|
|
|
205717
|
-
},{"../../lib":503,"./layout_attributes":
|
|
205738
|
+
},{"../../lib":503,"./layout_attributes":908}],910:[function(_dereq_,module,exports){
|
|
205718
205739
|
'use strict';
|
|
205719
205740
|
|
|
205720
205741
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -206894,7 +206915,7 @@ module.exports = {
|
|
|
206894
206915
|
computeTransform: computeTransform
|
|
206895
206916
|
};
|
|
206896
206917
|
|
|
206897
|
-
},{"../../components/color":366,"../../components/drawing":388,"../../components/fx":406,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/plots":619,"../bar/constants":650,"../bar/uniform_text":664,"./event_data":
|
|
206918
|
+
},{"../../components/color":366,"../../components/drawing":388,"../../components/fx":406,"../../lib":503,"../../lib/svg_text_utils":529,"../../plots/plots":619,"../bar/constants":650,"../bar/uniform_text":664,"./event_data":905,"./helpers":906,"@plotly/d3":58}],911:[function(_dereq_,module,exports){
|
|
206898
206919
|
'use strict';
|
|
206899
206920
|
|
|
206900
206921
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -206919,7 +206940,7 @@ module.exports = function style(gd) {
|
|
|
206919
206940
|
});
|
|
206920
206941
|
};
|
|
206921
206942
|
|
|
206922
|
-
},{"../bar/uniform_text":664,"./style_one":
|
|
206943
|
+
},{"../bar/uniform_text":664,"./style_one":912,"@plotly/d3":58}],912:[function(_dereq_,module,exports){
|
|
206923
206944
|
'use strict';
|
|
206924
206945
|
|
|
206925
206946
|
var Color = _dereq_('../../components/color');
|
|
@@ -206935,7 +206956,7 @@ module.exports = function styleOne(s, pt, trace) {
|
|
|
206935
206956
|
.call(Color.stroke, lineColor);
|
|
206936
206957
|
};
|
|
206937
206958
|
|
|
206938
|
-
},{"../../components/color":366,"./helpers":
|
|
206959
|
+
},{"../../components/color":366,"./helpers":906}],913:[function(_dereq_,module,exports){
|
|
206939
206960
|
'use strict';
|
|
206940
206961
|
|
|
206941
206962
|
var scatterglAttrs = _dereq_('../scatter/attributes');
|
|
@@ -207075,7 +207096,7 @@ module.exports = {
|
|
|
207075
207096
|
transforms: undefined
|
|
207076
207097
|
};
|
|
207077
207098
|
|
|
207078
|
-
},{"../scatter/attributes":
|
|
207099
|
+
},{"../scatter/attributes":927}],914:[function(_dereq_,module,exports){
|
|
207079
207100
|
'use strict';
|
|
207080
207101
|
|
|
207081
207102
|
var createPointCloudRenderer = _dereq_('../../../stackgl_modules').gl_pointcloud2d;
|
|
@@ -207269,7 +207290,7 @@ function createPointcloud(scene, data) {
|
|
|
207269
207290
|
|
|
207270
207291
|
module.exports = createPointcloud;
|
|
207271
207292
|
|
|
207272
|
-
},{"../../../stackgl_modules":
|
|
207293
|
+
},{"../../../stackgl_modules":1124,"../../lib/str2rgbarray":528,"../../plots/cartesian/autorange":553,"../scatter/get_trace_color":937}],915:[function(_dereq_,module,exports){
|
|
207273
207294
|
'use strict';
|
|
207274
207295
|
|
|
207275
207296
|
var Lib = _dereq_('../../lib');
|
|
@@ -207308,7 +207329,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor) {
|
|
|
207308
207329
|
traceOut._length = null;
|
|
207309
207330
|
};
|
|
207310
207331
|
|
|
207311
|
-
},{"../../lib":503,"./attributes":
|
|
207332
|
+
},{"../../lib":503,"./attributes":913}],916:[function(_dereq_,module,exports){
|
|
207312
207333
|
'use strict';
|
|
207313
207334
|
|
|
207314
207335
|
var deprecationWarning = [
|
|
@@ -207337,7 +207358,7 @@ module.exports = {
|
|
|
207337
207358
|
}
|
|
207338
207359
|
};
|
|
207339
207360
|
|
|
207340
|
-
},{"../../plots/gl2d":596,"../scatter3d/calc":
|
|
207361
|
+
},{"../../plots/gl2d":596,"../scatter3d/calc":956,"./attributes":913,"./convert":914,"./defaults":915}],917:[function(_dereq_,module,exports){
|
|
207341
207362
|
'use strict';
|
|
207342
207363
|
|
|
207343
207364
|
var fontAttrs = _dereq_('../../plots/font_attributes');
|
|
@@ -207608,7 +207629,7 @@ var attrs = module.exports = overrideAll({
|
|
|
207608
207629
|
}, 'calc', 'nested');
|
|
207609
207630
|
attrs.transforms = undefined;
|
|
207610
207631
|
|
|
207611
|
-
},{"../../components/color/attributes":365,"../../components/colorscale/attributes":373,"../../components/fx/attributes":397,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/domain":584,"../../plots/font_attributes":585,"../../plots/template_attributes":633}],
|
|
207632
|
+
},{"../../components/color/attributes":365,"../../components/colorscale/attributes":373,"../../components/fx/attributes":397,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plot_api/plot_template":543,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/domain":584,"../../plots/font_attributes":585,"../../plots/template_attributes":633}],918:[function(_dereq_,module,exports){
|
|
207612
207633
|
'use strict';
|
|
207613
207634
|
|
|
207614
207635
|
var overrideAll = _dereq_('../../plot_api/edit_types').overrideAll;
|
|
@@ -207739,7 +207760,7 @@ function subplotUpdateFx(gd, index) {
|
|
|
207739
207760
|
dragElement.init(dragOptions);
|
|
207740
207761
|
}
|
|
207741
207762
|
|
|
207742
|
-
},{"../../components/dragelement":385,"../../components/fx/layout_attributes":407,"../../lib":503,"../../lib/setcursor":524,"../../plot_api/edit_types":536,"../../plots/cartesian/select":575,"../../plots/get_data":593,"../../registry":638,"./plot":
|
|
207763
|
+
},{"../../components/dragelement":385,"../../components/fx/layout_attributes":407,"../../lib":503,"../../lib/setcursor":524,"../../plot_api/edit_types":536,"../../plots/cartesian/select":575,"../../plots/get_data":593,"../../registry":638,"./plot":923}],919:[function(_dereq_,module,exports){
|
|
207743
207764
|
'use strict';
|
|
207744
207765
|
|
|
207745
207766
|
var tarjan = _dereq_('strongly-connected-components');
|
|
@@ -207920,7 +207941,7 @@ module.exports = function calc(gd, trace) {
|
|
|
207920
207941
|
});
|
|
207921
207942
|
};
|
|
207922
207943
|
|
|
207923
|
-
},{"../../components/colorscale":378,"../../lib":503,"../../lib/gup":500,"strongly-connected-components":306}],
|
|
207944
|
+
},{"../../components/colorscale":378,"../../lib":503,"../../lib/gup":500,"strongly-connected-components":306}],920:[function(_dereq_,module,exports){
|
|
207924
207945
|
'use strict';
|
|
207925
207946
|
|
|
207926
207947
|
module.exports = {
|
|
@@ -207943,7 +207964,7 @@ module.exports = {
|
|
|
207943
207964
|
}
|
|
207944
207965
|
};
|
|
207945
207966
|
|
|
207946
|
-
},{}],
|
|
207967
|
+
},{}],921:[function(_dereq_,module,exports){
|
|
207947
207968
|
'use strict';
|
|
207948
207969
|
|
|
207949
207970
|
var Lib = _dereq_('../../lib');
|
|
@@ -208049,7 +208070,7 @@ function concentrationscalesDefaults(In, Out) {
|
|
|
208049
208070
|
coerce('colorscale');
|
|
208050
208071
|
}
|
|
208051
208072
|
|
|
208052
|
-
},{"../../components/color":366,"../../components/fx/hoverlabel_defaults":404,"../../lib":503,"../../plot_api/plot_template":543,"../../plots/array_container_defaults":549,"../../plots/domain":584,"./attributes":
|
|
208073
|
+
},{"../../components/color":366,"../../components/fx/hoverlabel_defaults":404,"../../lib":503,"../../plot_api/plot_template":543,"../../plots/array_container_defaults":549,"../../plots/domain":584,"./attributes":917,"tinycolor2":312}],922:[function(_dereq_,module,exports){
|
|
208053
208074
|
'use strict';
|
|
208054
208075
|
|
|
208055
208076
|
module.exports = {
|
|
@@ -208072,7 +208093,7 @@ module.exports = {
|
|
|
208072
208093
|
}
|
|
208073
208094
|
};
|
|
208074
208095
|
|
|
208075
|
-
},{"./attributes":
|
|
208096
|
+
},{"./attributes":917,"./base_plot":918,"./calc":919,"./defaults":921,"./plot":923,"./select.js":925}],923:[function(_dereq_,module,exports){
|
|
208076
208097
|
'use strict';
|
|
208077
208098
|
|
|
208078
208099
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -208441,7 +208462,7 @@ module.exports = function plot(gd, calcData) {
|
|
|
208441
208462
|
);
|
|
208442
208463
|
};
|
|
208443
208464
|
|
|
208444
|
-
},{"../../components/color":366,"../../components/fx":406,"../../lib":503,"./constants":
|
|
208465
|
+
},{"../../components/color":366,"../../components/fx":406,"../../lib":503,"./constants":920,"./render":924,"@plotly/d3":58}],924:[function(_dereq_,module,exports){
|
|
208445
208466
|
'use strict';
|
|
208446
208467
|
|
|
208447
208468
|
var d3Force = _dereq_('d3-force');
|
|
@@ -209458,7 +209479,7 @@ module.exports = function(gd, svg, calcData, layout, callbacks) {
|
|
|
209458
209479
|
.ease(c.ease).duration(c.duration);
|
|
209459
209480
|
};
|
|
209460
209481
|
|
|
209461
|
-
},{"../../components/color":366,"../../components/drawing":388,"../../constants/alignment":471,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"../../registry":638,"./constants":
|
|
209482
|
+
},{"../../components/color":366,"../../components/drawing":388,"../../constants/alignment":471,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"../../registry":638,"./constants":920,"@plotly/d3":58,"@plotly/d3-sankey":57,"@plotly/d3-sankey-circular":56,"d3-force":111,"d3-interpolate":116,"tinycolor2":312}],925:[function(_dereq_,module,exports){
|
|
209462
209483
|
'use strict';
|
|
209463
209484
|
|
|
209464
209485
|
module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
@@ -209488,7 +209509,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
209488
209509
|
return selection;
|
|
209489
209510
|
};
|
|
209490
209511
|
|
|
209491
|
-
},{}],
|
|
209512
|
+
},{}],926:[function(_dereq_,module,exports){
|
|
209492
209513
|
'use strict';
|
|
209493
209514
|
|
|
209494
209515
|
var Lib = _dereq_('../../lib');
|
|
@@ -209531,7 +209552,7 @@ module.exports = function arraysToCalcdata(cd, trace) {
|
|
|
209531
209552
|
}
|
|
209532
209553
|
};
|
|
209533
209554
|
|
|
209534
|
-
},{"../../lib":503}],
|
|
209555
|
+
},{"../../lib":503}],927:[function(_dereq_,module,exports){
|
|
209535
209556
|
'use strict';
|
|
209536
209557
|
|
|
209537
209558
|
var axisHoverFormat = _dereq_('../../plots/cartesian/axis_format_attributes').axisHoverFormat;
|
|
@@ -210102,7 +210123,7 @@ module.exports = {
|
|
|
210102
210123
|
}),
|
|
210103
210124
|
};
|
|
210104
210125
|
|
|
210105
|
-
},{"../../components/colorscale/attributes":373,"../../components/drawing":388,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"./constants":
|
|
210126
|
+
},{"../../components/colorscale/attributes":373,"../../components/drawing":388,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../../plots/font_attributes":585,"../../plots/template_attributes":633,"./constants":931}],928:[function(_dereq_,module,exports){
|
|
210106
210127
|
'use strict';
|
|
210107
210128
|
|
|
210108
210129
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -210399,7 +210420,7 @@ module.exports = {
|
|
|
210399
210420
|
getStackOpts: getStackOpts
|
|
210400
210421
|
};
|
|
210401
210422
|
|
|
210402
|
-
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"./arrays_to_calcdata":
|
|
210423
|
+
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"./arrays_to_calcdata":926,"./calc_selection":929,"./colorscale_calc":930,"./subtypes":952,"fast-isnumeric":190}],929:[function(_dereq_,module,exports){
|
|
210403
210424
|
'use strict';
|
|
210404
210425
|
|
|
210405
210426
|
var Lib = _dereq_('../../lib');
|
|
@@ -210410,7 +210431,7 @@ module.exports = function calcSelection(cd, trace) {
|
|
|
210410
210431
|
}
|
|
210411
210432
|
};
|
|
210412
210433
|
|
|
210413
|
-
},{"../../lib":503}],
|
|
210434
|
+
},{"../../lib":503}],930:[function(_dereq_,module,exports){
|
|
210414
210435
|
'use strict';
|
|
210415
210436
|
|
|
210416
210437
|
var hasColorscale = _dereq_('../../components/colorscale/helpers').hasColorscale;
|
|
@@ -210445,7 +210466,7 @@ module.exports = function calcMarkerColorscale(gd, trace) {
|
|
|
210445
210466
|
}
|
|
210446
210467
|
};
|
|
210447
210468
|
|
|
210448
|
-
},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"./subtypes":
|
|
210469
|
+
},{"../../components/colorscale/calc":374,"../../components/colorscale/helpers":377,"./subtypes":952}],931:[function(_dereq_,module,exports){
|
|
210449
210470
|
'use strict';
|
|
210450
210471
|
|
|
210451
210472
|
module.exports = {
|
|
@@ -210465,7 +210486,7 @@ module.exports = {
|
|
|
210465
210486
|
eventDataKeys: []
|
|
210466
210487
|
};
|
|
210467
210488
|
|
|
210468
|
-
},{}],
|
|
210489
|
+
},{}],932:[function(_dereq_,module,exports){
|
|
210469
210490
|
'use strict';
|
|
210470
210491
|
|
|
210471
210492
|
var calc = _dereq_('./calc');
|
|
@@ -210637,7 +210658,7 @@ function getInterp(calcTrace, index, position, posAttr) {
|
|
|
210637
210658
|
return pt0.s + (pt1.s - pt0.s) * (position - pt0[posAttr]) / (pt1[posAttr] - pt0[posAttr]);
|
|
210638
210659
|
}
|
|
210639
210660
|
|
|
210640
|
-
},{"./calc":
|
|
210661
|
+
},{"./calc":928}],933:[function(_dereq_,module,exports){
|
|
210641
210662
|
'use strict';
|
|
210642
210663
|
|
|
210643
210664
|
|
|
@@ -210667,7 +210688,7 @@ module.exports = function crossTraceDefaults(fullData) {
|
|
|
210667
210688
|
}
|
|
210668
210689
|
};
|
|
210669
210690
|
|
|
210670
|
-
},{}],
|
|
210691
|
+
},{}],934:[function(_dereq_,module,exports){
|
|
210671
210692
|
'use strict';
|
|
210672
210693
|
|
|
210673
210694
|
var Lib = _dereq_('../../lib');
|
|
@@ -210756,7 +210777,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
210756
210777
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
210757
210778
|
};
|
|
210758
210779
|
|
|
210759
|
-
},{"../../lib":503,"../../registry":638,"./attributes":
|
|
210780
|
+
},{"../../lib":503,"../../registry":638,"./attributes":927,"./constants":931,"./fillcolor_defaults":935,"./line_defaults":940,"./line_shape_defaults":942,"./marker_defaults":946,"./period_defaults":947,"./stack_defaults":950,"./subtypes":952,"./text_defaults":953,"./xy_defaults":954}],935:[function(_dereq_,module,exports){
|
|
210760
210781
|
'use strict';
|
|
210761
210782
|
|
|
210762
210783
|
var Color = _dereq_('../../components/color');
|
|
@@ -210784,7 +210805,7 @@ module.exports = function fillColorDefaults(traceIn, traceOut, defaultColor, coe
|
|
|
210784
210805
|
));
|
|
210785
210806
|
};
|
|
210786
210807
|
|
|
210787
|
-
},{"../../components/color":366,"../../lib":503}],
|
|
210808
|
+
},{"../../components/color":366,"../../lib":503}],936:[function(_dereq_,module,exports){
|
|
210788
210809
|
'use strict';
|
|
210789
210810
|
|
|
210790
210811
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -210802,7 +210823,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
210802
210823
|
return labels;
|
|
210803
210824
|
};
|
|
210804
210825
|
|
|
210805
|
-
},{"../../plots/cartesian/axes":554}],
|
|
210826
|
+
},{"../../plots/cartesian/axes":554}],937:[function(_dereq_,module,exports){
|
|
210806
210827
|
'use strict';
|
|
210807
210828
|
|
|
210808
210829
|
var Color = _dereq_('../../components/color');
|
|
@@ -210842,7 +210863,7 @@ module.exports = function getTraceColor(trace, di) {
|
|
|
210842
210863
|
}
|
|
210843
210864
|
};
|
|
210844
210865
|
|
|
210845
|
-
},{"../../components/color":366,"./subtypes":
|
|
210866
|
+
},{"../../components/color":366,"./subtypes":952}],938:[function(_dereq_,module,exports){
|
|
210846
210867
|
'use strict';
|
|
210847
210868
|
|
|
210848
210869
|
var Lib = _dereq_('../../lib');
|
|
@@ -211053,7 +211074,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
|
|
|
211053
211074
|
}
|
|
211054
211075
|
};
|
|
211055
211076
|
|
|
211056
|
-
},{"../../components/color":366,"../../components/fx":406,"../../lib":503,"../../registry":638,"./get_trace_color":
|
|
211077
|
+
},{"../../components/color":366,"../../components/fx":406,"../../lib":503,"../../registry":638,"./get_trace_color":937}],939:[function(_dereq_,module,exports){
|
|
211057
211078
|
'use strict';
|
|
211058
211079
|
|
|
211059
211080
|
var subtypes = _dereq_('./subtypes');
|
|
@@ -211097,7 +211118,7 @@ module.exports = {
|
|
|
211097
211118
|
}
|
|
211098
211119
|
};
|
|
211099
211120
|
|
|
211100
|
-
},{"../../plots/cartesian":568,"./arrays_to_calcdata":
|
|
211121
|
+
},{"../../plots/cartesian":568,"./arrays_to_calcdata":926,"./attributes":927,"./calc":928,"./cross_trace_calc":932,"./cross_trace_defaults":933,"./defaults":934,"./format_labels":936,"./hover":938,"./marker_colorbar":945,"./plot":948,"./select":949,"./style":951,"./subtypes":952}],940:[function(_dereq_,module,exports){
|
|
211101
211122
|
'use strict';
|
|
211102
211123
|
|
|
211103
211124
|
var isArrayOrTypedArray = _dereq_('../../lib').isArrayOrTypedArray;
|
|
@@ -211120,7 +211141,7 @@ module.exports = function lineDefaults(traceIn, traceOut, defaultColor, layout,
|
|
|
211120
211141
|
if(!(opts || {}).noDash) coerce('line.dash');
|
|
211121
211142
|
};
|
|
211122
211143
|
|
|
211123
|
-
},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503}],
|
|
211144
|
+
},{"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"../../lib":503}],941:[function(_dereq_,module,exports){
|
|
211124
211145
|
'use strict';
|
|
211125
211146
|
|
|
211126
211147
|
var numConstants = _dereq_('../../constants/numerical');
|
|
@@ -211572,7 +211593,7 @@ module.exports = function linePoints(d, opts) {
|
|
|
211572
211593
|
return segments;
|
|
211573
211594
|
};
|
|
211574
211595
|
|
|
211575
|
-
},{"../../constants/numerical":479,"../../lib":503,"./constants":
|
|
211596
|
+
},{"../../constants/numerical":479,"../../lib":503,"./constants":931}],942:[function(_dereq_,module,exports){
|
|
211576
211597
|
'use strict';
|
|
211577
211598
|
|
|
211578
211599
|
|
|
@@ -211582,7 +211603,7 @@ module.exports = function handleLineShapeDefaults(traceIn, traceOut, coerce) {
|
|
|
211582
211603
|
if(shape === 'spline') coerce('line.smoothing');
|
|
211583
211604
|
};
|
|
211584
211605
|
|
|
211585
|
-
},{}],
|
|
211606
|
+
},{}],943:[function(_dereq_,module,exports){
|
|
211586
211607
|
'use strict';
|
|
211587
211608
|
|
|
211588
211609
|
var LINKEDFILLS = {tonextx: 1, tonexty: 1, tonext: 1};
|
|
@@ -211664,7 +211685,7 @@ module.exports = function linkTraces(gd, plotinfo, cdscatter) {
|
|
|
211664
211685
|
return cdscatterSorted;
|
|
211665
211686
|
};
|
|
211666
211687
|
|
|
211667
|
-
},{}],
|
|
211688
|
+
},{}],944:[function(_dereq_,module,exports){
|
|
211668
211689
|
'use strict';
|
|
211669
211690
|
|
|
211670
211691
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -211700,7 +211721,7 @@ module.exports = function makeBubbleSizeFn(trace, factor) {
|
|
|
211700
211721
|
};
|
|
211701
211722
|
};
|
|
211702
211723
|
|
|
211703
|
-
},{"fast-isnumeric":190}],
|
|
211724
|
+
},{"fast-isnumeric":190}],945:[function(_dereq_,module,exports){
|
|
211704
211725
|
'use strict';
|
|
211705
211726
|
|
|
211706
211727
|
module.exports = {
|
|
@@ -211709,7 +211730,7 @@ module.exports = {
|
|
|
211709
211730
|
max: 'cmax'
|
|
211710
211731
|
};
|
|
211711
211732
|
|
|
211712
|
-
},{}],
|
|
211733
|
+
},{}],946:[function(_dereq_,module,exports){
|
|
211713
211734
|
'use strict';
|
|
211714
211735
|
|
|
211715
211736
|
var Color = _dereq_('../../components/color');
|
|
@@ -211782,7 +211803,7 @@ module.exports = function markerDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
211782
211803
|
}
|
|
211783
211804
|
};
|
|
211784
211805
|
|
|
211785
|
-
},{"../../components/color":366,"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"./subtypes":
|
|
211806
|
+
},{"../../components/color":366,"../../components/colorscale/defaults":376,"../../components/colorscale/helpers":377,"./subtypes":952}],947:[function(_dereq_,module,exports){
|
|
211786
211807
|
'use strict';
|
|
211787
211808
|
|
|
211788
211809
|
var dateTick0 = _dereq_('../../lib').dateTick0;
|
|
@@ -211821,7 +211842,7 @@ module.exports = function handlePeriodDefaults(traceIn, traceOut, layout, coerce
|
|
|
211821
211842
|
}
|
|
211822
211843
|
};
|
|
211823
211844
|
|
|
211824
|
-
},{"../../constants/numerical":479,"../../lib":503}],
|
|
211845
|
+
},{"../../constants/numerical":479,"../../lib":503}],948:[function(_dereq_,module,exports){
|
|
211825
211846
|
'use strict';
|
|
211826
211847
|
|
|
211827
211848
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -212373,7 +212394,7 @@ function selectMarkers(gd, idx, plotinfo, cdscatter, cdscatterAll) {
|
|
|
212373
212394
|
});
|
|
212374
212395
|
}
|
|
212375
212396
|
|
|
212376
|
-
},{"../../components/drawing":388,"../../lib":503,"../../lib/polygon":515,"../../registry":638,"./line_points":
|
|
212397
|
+
},{"../../components/drawing":388,"../../lib":503,"../../lib/polygon":515,"../../registry":638,"./line_points":941,"./link_traces":943,"./subtypes":952,"@plotly/d3":58}],949:[function(_dereq_,module,exports){
|
|
212377
212398
|
'use strict';
|
|
212378
212399
|
|
|
212379
212400
|
var subtypes = _dereq_('./subtypes');
|
|
@@ -212418,7 +212439,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
212418
212439
|
return selection;
|
|
212419
212440
|
};
|
|
212420
212441
|
|
|
212421
|
-
},{"./subtypes":
|
|
212442
|
+
},{"./subtypes":952}],950:[function(_dereq_,module,exports){
|
|
212422
212443
|
'use strict';
|
|
212423
212444
|
|
|
212424
212445
|
var perStackAttrs = ['orientation', 'groupnorm', 'stackgaps'];
|
|
@@ -212515,7 +212536,7 @@ module.exports = function handleStackDefaults(traceIn, traceOut, layout, coerce)
|
|
|
212515
212536
|
}
|
|
212516
212537
|
};
|
|
212517
212538
|
|
|
212518
|
-
},{}],
|
|
212539
|
+
},{}],951:[function(_dereq_,module,exports){
|
|
212519
212540
|
'use strict';
|
|
212520
212541
|
|
|
212521
212542
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -212577,7 +212598,7 @@ module.exports = {
|
|
|
212577
212598
|
styleOnSelect: styleOnSelect
|
|
212578
212599
|
};
|
|
212579
212600
|
|
|
212580
|
-
},{"../../components/drawing":388,"../../registry":638,"@plotly/d3":58}],
|
|
212601
|
+
},{"../../components/drawing":388,"../../registry":638,"@plotly/d3":58}],952:[function(_dereq_,module,exports){
|
|
212581
212602
|
'use strict';
|
|
212582
212603
|
|
|
212583
212604
|
var Lib = _dereq_('../../lib');
|
|
@@ -212607,7 +212628,7 @@ module.exports = {
|
|
|
212607
212628
|
}
|
|
212608
212629
|
};
|
|
212609
212630
|
|
|
212610
|
-
},{"../../lib":503}],
|
|
212631
|
+
},{"../../lib":503}],953:[function(_dereq_,module,exports){
|
|
212611
212632
|
'use strict';
|
|
212612
212633
|
|
|
212613
212634
|
var Lib = _dereq_('../../lib');
|
|
@@ -212628,7 +212649,7 @@ module.exports = function(traceIn, traceOut, layout, coerce, opts) {
|
|
|
212628
212649
|
}
|
|
212629
212650
|
};
|
|
212630
212651
|
|
|
212631
|
-
},{"../../lib":503}],
|
|
212652
|
+
},{"../../lib":503}],954:[function(_dereq_,module,exports){
|
|
212632
212653
|
'use strict';
|
|
212633
212654
|
|
|
212634
212655
|
var Lib = _dereq_('../../lib');
|
|
@@ -212664,7 +212685,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) {
|
|
|
212664
212685
|
return len;
|
|
212665
212686
|
};
|
|
212666
212687
|
|
|
212667
|
-
},{"../../lib":503,"../../registry":638}],
|
|
212688
|
+
},{"../../lib":503,"../../registry":638}],955:[function(_dereq_,module,exports){
|
|
212668
212689
|
'use strict';
|
|
212669
212690
|
|
|
212670
212691
|
var scatterAttrs = _dereq_('../scatter/attributes');
|
|
@@ -212835,7 +212856,7 @@ var attrs = module.exports = overrideAll({
|
|
|
212835
212856
|
|
|
212836
212857
|
attrs.x.editType = attrs.y.editType = attrs.z.editType = 'calc+clearAxisTypes';
|
|
212837
212858
|
|
|
212838
|
-
},{"../../components/colorscale/attributes":373,"../../constants/gl3d_dashes":476,"../../constants/gl3d_markers":477,"../../lib/extend":493,"../../lib/sort_object_keys":526,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
212859
|
+
},{"../../components/colorscale/attributes":373,"../../constants/gl3d_dashes":476,"../../constants/gl3d_markers":477,"../../lib/extend":493,"../../lib/sort_object_keys":526,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../scatter/attributes":927}],956:[function(_dereq_,module,exports){
|
|
212839
212860
|
'use strict';
|
|
212840
212861
|
|
|
212841
212862
|
var arraysToCalcdata = _dereq_('../scatter/arrays_to_calcdata');
|
|
@@ -212855,7 +212876,7 @@ module.exports = function calc(gd, trace) {
|
|
|
212855
212876
|
return cd;
|
|
212856
212877
|
};
|
|
212857
212878
|
|
|
212858
|
-
},{"../scatter/arrays_to_calcdata":
|
|
212879
|
+
},{"../scatter/arrays_to_calcdata":926,"../scatter/colorscale_calc":930}],957:[function(_dereq_,module,exports){
|
|
212859
212880
|
'use strict';
|
|
212860
212881
|
|
|
212861
212882
|
var Registry = _dereq_('../../registry');
|
|
@@ -212934,7 +212955,7 @@ function calculateErrors(data, scaleFactor, sceneLayout) {
|
|
|
212934
212955
|
|
|
212935
212956
|
module.exports = calculateErrors;
|
|
212936
212957
|
|
|
212937
|
-
},{"../../registry":638}],
|
|
212958
|
+
},{"../../registry":638}],958:[function(_dereq_,module,exports){
|
|
212938
212959
|
'use strict';
|
|
212939
212960
|
|
|
212940
212961
|
var createLinePlot = _dereq_('../../../stackgl_modules').gl_line3d;
|
|
@@ -213479,7 +213500,7 @@ function createLineWithMarkers(scene, data) {
|
|
|
213479
213500
|
|
|
213480
213501
|
module.exports = createLineWithMarkers;
|
|
213481
213502
|
|
|
213482
|
-
},{"../../../stackgl_modules":
|
|
213503
|
+
},{"../../../stackgl_modules":1124,"../../components/fx/helpers":402,"../../constants/gl3d_dashes":476,"../../constants/gl3d_markers":477,"../../lib":503,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../../plots/cartesian/axes":554,"../scatter/make_bubble_size_func":944,"./calc_errors":957}],959:[function(_dereq_,module,exports){
|
|
213483
213504
|
'use strict';
|
|
213484
213505
|
|
|
213485
213506
|
var Registry = _dereq_('../../registry');
|
|
@@ -213563,7 +213584,7 @@ function handleXYZDefaults(traceIn, traceOut, coerce, layout) {
|
|
|
213563
213584
|
return len;
|
|
213564
213585
|
}
|
|
213565
213586
|
|
|
213566
|
-
},{"../../lib":503,"../../registry":638,"../scatter/line_defaults":
|
|
213587
|
+
},{"../../lib":503,"../../registry":638,"../scatter/line_defaults":940,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scatter/text_defaults":953,"./attributes":955}],960:[function(_dereq_,module,exports){
|
|
213567
213588
|
'use strict';
|
|
213568
213589
|
|
|
213569
213590
|
module.exports = {
|
|
@@ -213601,7 +213622,7 @@ module.exports = {
|
|
|
213601
213622
|
}
|
|
213602
213623
|
};
|
|
213603
213624
|
|
|
213604
|
-
},{"../../constants/gl3d_markers":477,"../../plots/gl3d":598,"./attributes":
|
|
213625
|
+
},{"../../constants/gl3d_markers":477,"../../plots/gl3d":598,"./attributes":955,"./calc":956,"./convert":958,"./defaults":959}],961:[function(_dereq_,module,exports){
|
|
213605
213626
|
'use strict';
|
|
213606
213627
|
|
|
213607
213628
|
var scatterAttrs = _dereq_('../scatter/attributes');
|
|
@@ -213720,7 +213741,7 @@ module.exports = {
|
|
|
213720
213741
|
hovertemplate: hovertemplateAttrs()
|
|
213721
213742
|
};
|
|
213722
213743
|
|
|
213723
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
213744
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":927}],962:[function(_dereq_,module,exports){
|
|
213724
213745
|
'use strict';
|
|
213725
213746
|
|
|
213726
213747
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -213770,7 +213791,7 @@ module.exports = function calc(gd, trace) {
|
|
|
213770
213791
|
return cd;
|
|
213771
213792
|
};
|
|
213772
213793
|
|
|
213773
|
-
},{"../carpet/lookup_carpetid":708,"../scatter/arrays_to_calcdata":
|
|
213794
|
+
},{"../carpet/lookup_carpetid":708,"../scatter/arrays_to_calcdata":926,"../scatter/calc":928,"../scatter/calc_selection":929,"../scatter/colorscale_calc":930,"fast-isnumeric":190}],963:[function(_dereq_,module,exports){
|
|
213774
213795
|
'use strict';
|
|
213775
213796
|
|
|
213776
213797
|
var Lib = _dereq_('../../lib');
|
|
@@ -213851,7 +213872,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
213851
213872
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
213852
213873
|
};
|
|
213853
213874
|
|
|
213854
|
-
},{"../../lib":503,"../scatter/constants":
|
|
213875
|
+
},{"../../lib":503,"../scatter/constants":931,"../scatter/fillcolor_defaults":935,"../scatter/line_defaults":940,"../scatter/line_shape_defaults":942,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scatter/text_defaults":953,"./attributes":961}],964:[function(_dereq_,module,exports){
|
|
213855
213876
|
'use strict';
|
|
213856
213877
|
|
|
213857
213878
|
module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
@@ -213864,7 +213885,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
213864
213885
|
return out;
|
|
213865
213886
|
};
|
|
213866
213887
|
|
|
213867
|
-
},{}],
|
|
213888
|
+
},{}],965:[function(_dereq_,module,exports){
|
|
213868
213889
|
'use strict';
|
|
213869
213890
|
|
|
213870
213891
|
module.exports = function formatLabels(cdi, trace) {
|
|
@@ -213883,7 +213904,7 @@ module.exports = function formatLabels(cdi, trace) {
|
|
|
213883
213904
|
return labels;
|
|
213884
213905
|
};
|
|
213885
213906
|
|
|
213886
|
-
},{}],
|
|
213907
|
+
},{}],966:[function(_dereq_,module,exports){
|
|
213887
213908
|
'use strict';
|
|
213888
213909
|
|
|
213889
213910
|
var scatterHover = _dereq_('../scatter/hover');
|
|
@@ -213966,7 +213987,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
|
|
|
213966
213987
|
return scatterPointData;
|
|
213967
213988
|
};
|
|
213968
213989
|
|
|
213969
|
-
},{"../../lib":503,"../scatter/hover":
|
|
213990
|
+
},{"../../lib":503,"../scatter/hover":938}],967:[function(_dereq_,module,exports){
|
|
213970
213991
|
'use strict';
|
|
213971
213992
|
|
|
213972
213993
|
module.exports = {
|
|
@@ -213995,7 +214016,7 @@ module.exports = {
|
|
|
213995
214016
|
}
|
|
213996
214017
|
};
|
|
213997
214018
|
|
|
213998
|
-
},{"../../plots/cartesian":568,"../scatter/marker_colorbar":
|
|
214019
|
+
},{"../../plots/cartesian":568,"../scatter/marker_colorbar":945,"../scatter/select":949,"../scatter/style":951,"./attributes":961,"./calc":962,"./defaults":963,"./event_data":964,"./format_labels":965,"./hover":966,"./plot":968}],968:[function(_dereq_,module,exports){
|
|
213999
214020
|
'use strict';
|
|
214000
214021
|
|
|
214001
214022
|
var scatterPlot = _dereq_('../scatter/plot');
|
|
@@ -214030,7 +214051,7 @@ module.exports = function plot(gd, plotinfoproxy, data, layer) {
|
|
|
214030
214051
|
}
|
|
214031
214052
|
};
|
|
214032
214053
|
|
|
214033
|
-
},{"../../components/drawing":388,"../../plots/cartesian/axes":554,"../scatter/plot":
|
|
214054
|
+
},{"../../components/drawing":388,"../../plots/cartesian/axes":554,"../scatter/plot":948}],969:[function(_dereq_,module,exports){
|
|
214034
214055
|
'use strict';
|
|
214035
214056
|
|
|
214036
214057
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -214184,7 +214205,7 @@ module.exports = overrideAll({
|
|
|
214184
214205
|
hovertemplate: hovertemplateAttrs(),
|
|
214185
214206
|
}, 'calc', 'nested');
|
|
214186
214207
|
|
|
214187
|
-
},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
214208
|
+
},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":927}],970:[function(_dereq_,module,exports){
|
|
214188
214209
|
'use strict';
|
|
214189
214210
|
|
|
214190
214211
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -214243,7 +214264,7 @@ module.exports = function calc(gd, trace) {
|
|
|
214243
214264
|
return calcTrace;
|
|
214244
214265
|
};
|
|
214245
214266
|
|
|
214246
|
-
},{"../../constants/numerical":479,"../../lib":503,"../scatter/arrays_to_calcdata":
|
|
214267
|
+
},{"../../constants/numerical":479,"../../lib":503,"../scatter/arrays_to_calcdata":926,"../scatter/calc_selection":929,"../scatter/colorscale_calc":930,"fast-isnumeric":190}],971:[function(_dereq_,module,exports){
|
|
214247
214268
|
'use strict';
|
|
214248
214269
|
|
|
214249
214270
|
var Lib = _dereq_('../../lib');
|
|
@@ -214318,7 +214339,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
214318
214339
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
214319
214340
|
};
|
|
214320
214341
|
|
|
214321
|
-
},{"../../lib":503,"../scatter/fillcolor_defaults":
|
|
214342
|
+
},{"../../lib":503,"../scatter/fillcolor_defaults":935,"../scatter/line_defaults":940,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scatter/text_defaults":953,"./attributes":969}],972:[function(_dereq_,module,exports){
|
|
214322
214343
|
'use strict';
|
|
214323
214344
|
|
|
214324
214345
|
|
|
@@ -214336,7 +214357,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
214336
214357
|
return out;
|
|
214337
214358
|
};
|
|
214338
214359
|
|
|
214339
|
-
},{}],
|
|
214360
|
+
},{}],973:[function(_dereq_,module,exports){
|
|
214340
214361
|
'use strict';
|
|
214341
214362
|
|
|
214342
214363
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -214353,7 +214374,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
214353
214374
|
return labels;
|
|
214354
214375
|
};
|
|
214355
214376
|
|
|
214356
|
-
},{"../../plots/cartesian/axes":554}],
|
|
214377
|
+
},{"../../plots/cartesian/axes":554}],974:[function(_dereq_,module,exports){
|
|
214357
214378
|
'use strict';
|
|
214358
214379
|
|
|
214359
214380
|
var Fx = _dereq_('../../components/fx');
|
|
@@ -214457,7 +214478,7 @@ function getExtraText(trace, pt, pointData, labels) {
|
|
|
214457
214478
|
return text.join('<br>');
|
|
214458
214479
|
}
|
|
214459
214480
|
|
|
214460
|
-
},{"../../components/fx":406,"../../constants/numerical":479,"../../lib":503,"../scatter/get_trace_color":
|
|
214481
|
+
},{"../../components/fx":406,"../../constants/numerical":479,"../../lib":503,"../scatter/get_trace_color":937,"./attributes":969}],975:[function(_dereq_,module,exports){
|
|
214461
214482
|
'use strict';
|
|
214462
214483
|
|
|
214463
214484
|
module.exports = {
|
|
@@ -214488,7 +214509,7 @@ module.exports = {
|
|
|
214488
214509
|
}
|
|
214489
214510
|
};
|
|
214490
214511
|
|
|
214491
|
-
},{"../../plots/geo":589,"../scatter/marker_colorbar":
|
|
214512
|
+
},{"../../plots/geo":589,"../scatter/marker_colorbar":945,"../scatter/style":951,"./attributes":969,"./calc":970,"./defaults":971,"./event_data":972,"./format_labels":973,"./hover":974,"./plot":976,"./select":977,"./style":978}],976:[function(_dereq_,module,exports){
|
|
214492
214513
|
'use strict';
|
|
214493
214514
|
|
|
214494
214515
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -214609,7 +214630,7 @@ module.exports = {
|
|
|
214609
214630
|
plot: plot
|
|
214610
214631
|
};
|
|
214611
214632
|
|
|
214612
|
-
},{"../../constants/numerical":479,"../../lib":503,"../../lib/geo_location_utils":496,"../../lib/geojson_utils":497,"../../lib/topojson_utils":532,"../../plots/cartesian/autorange":553,"../scatter/calc":
|
|
214633
|
+
},{"../../constants/numerical":479,"../../lib":503,"../../lib/geo_location_utils":496,"../../lib/geojson_utils":497,"../../lib/topojson_utils":532,"../../plots/cartesian/autorange":553,"../scatter/calc":928,"../scatter/subtypes":952,"./style":978,"@plotly/d3":58}],977:[function(_dereq_,module,exports){
|
|
214613
214634
|
'use strict';
|
|
214614
214635
|
|
|
214615
214636
|
var subtypes = _dereq_('../scatter/subtypes');
|
|
@@ -214658,7 +214679,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
214658
214679
|
return selection;
|
|
214659
214680
|
};
|
|
214660
214681
|
|
|
214661
|
-
},{"../../constants/numerical":479,"../scatter/subtypes":
|
|
214682
|
+
},{"../../constants/numerical":479,"../scatter/subtypes":952}],978:[function(_dereq_,module,exports){
|
|
214662
214683
|
'use strict';
|
|
214663
214684
|
|
|
214664
214685
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -214699,7 +214720,7 @@ function styleTrace(gd, calcTrace) {
|
|
|
214699
214720
|
});
|
|
214700
214721
|
}
|
|
214701
214722
|
|
|
214702
|
-
},{"../../components/color":366,"../../components/drawing":388,"../scatter/style":
|
|
214723
|
+
},{"../../components/color":366,"../../components/drawing":388,"../scatter/style":951,"@plotly/d3":58}],979:[function(_dereq_,module,exports){
|
|
214703
214724
|
'use strict';
|
|
214704
214725
|
|
|
214705
214726
|
var baseAttrs = _dereq_('../../plots/attributes');
|
|
@@ -214802,7 +214823,38 @@ attrs.x.editType = attrs.y.editType = attrs.x0.editType = attrs.y0.editType = 'c
|
|
|
214802
214823
|
attrs.hovertemplate = scatterAttrs.hovertemplate;
|
|
214803
214824
|
attrs.texttemplate = scatterAttrs.texttemplate;
|
|
214804
214825
|
|
|
214805
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../lib/sort_object_keys":526,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../scatter/attributes":
|
|
214826
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../lib/sort_object_keys":526,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../scatter/attributes":927,"./constants":982}],980:[function(_dereq_,module,exports){
|
|
214827
|
+
'use strict';
|
|
214828
|
+
|
|
214829
|
+
var hover = _dereq_('./hover');
|
|
214830
|
+
|
|
214831
|
+
module.exports = {
|
|
214832
|
+
moduleType: 'trace',
|
|
214833
|
+
name: 'scattergl',
|
|
214834
|
+
basePlotModule: _dereq_('../../plots/cartesian'),
|
|
214835
|
+
categories: ['gl', 'regl', 'cartesian', 'symbols', 'errorBarsOK', 'showLegend', 'scatter-like'],
|
|
214836
|
+
|
|
214837
|
+
attributes: _dereq_('./attributes'),
|
|
214838
|
+
supplyDefaults: _dereq_('./defaults'),
|
|
214839
|
+
crossTraceDefaults: _dereq_('../scatter/cross_trace_defaults'),
|
|
214840
|
+
colorbar: _dereq_('../scatter/marker_colorbar'),
|
|
214841
|
+
formatLabels: _dereq_('./format_labels'),
|
|
214842
|
+
calc: _dereq_('./calc'),
|
|
214843
|
+
hoverPoints: hover.hoverPoints,
|
|
214844
|
+
selectPoints: _dereq_('./select'),
|
|
214845
|
+
|
|
214846
|
+
meta: {
|
|
214847
|
+
hrName: 'scatter_gl',
|
|
214848
|
+
description: [
|
|
214849
|
+
'The data visualized as scatter point or lines is set in `x` and `y`',
|
|
214850
|
+
'using the WebGL plotting engine.',
|
|
214851
|
+
'Bubble charts are achieved by setting `marker.size` and/or `marker.color`',
|
|
214852
|
+
'to a numerical arrays.'
|
|
214853
|
+
].join(' ')
|
|
214854
|
+
}
|
|
214855
|
+
};
|
|
214856
|
+
|
|
214857
|
+
},{"../../plots/cartesian":568,"../scatter/cross_trace_defaults":933,"../scatter/marker_colorbar":945,"./attributes":979,"./calc":981,"./defaults":984,"./format_labels":986,"./hover":988,"./select":992}],981:[function(_dereq_,module,exports){
|
|
214806
214858
|
'use strict';
|
|
214807
214859
|
|
|
214808
214860
|
var cluster = _dereq_('@plotly/point-cluster');
|
|
@@ -214988,7 +215040,7 @@ function sceneOptions(gd, subplot, trace, positions, x, y) {
|
|
|
214988
215040
|
return opts;
|
|
214989
215041
|
}
|
|
214990
215042
|
|
|
214991
|
-
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/autorange":553,"../../plots/cartesian/axis_ids":558,"../scatter/calc":
|
|
215043
|
+
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/autorange":553,"../../plots/cartesian/axis_ids":558,"../scatter/calc":928,"../scatter/colorscale_calc":930,"./constants":982,"./convert":983,"./scene_update":991,"@plotly/point-cluster":59}],982:[function(_dereq_,module,exports){
|
|
214992
215044
|
'use strict';
|
|
214993
215045
|
|
|
214994
215046
|
var SYMBOL_SIZE = 20;
|
|
@@ -215013,7 +215065,7 @@ module.exports = {
|
|
|
215013
215065
|
}
|
|
215014
215066
|
};
|
|
215015
215067
|
|
|
215016
|
-
},{}],
|
|
215068
|
+
},{}],983:[function(_dereq_,module,exports){
|
|
215017
215069
|
'use strict';
|
|
215018
215070
|
|
|
215019
215071
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -215660,7 +215712,7 @@ module.exports = {
|
|
|
215660
215712
|
textPosition: convertTextPosition
|
|
215661
215713
|
};
|
|
215662
215714
|
|
|
215663
|
-
},{"../../components/drawing":388,"../../components/fx/helpers":402,"../../constants/interactions":478,"../../lib":503,"../../lib/gl_format_color":499,"../../plots/cartesian/axis_ids":558,"../../registry":638,"../scatter/make_bubble_size_func":
|
|
215715
|
+
},{"../../components/drawing":388,"../../components/fx/helpers":402,"../../constants/interactions":478,"../../lib":503,"../../lib/gl_format_color":499,"../../plots/cartesian/axis_ids":558,"../../registry":638,"../scatter/make_bubble_size_func":944,"../scatter/subtypes":952,"./constants":982,"./helpers":987,"color-normalize":89,"fast-isnumeric":190,"svg-path-sdf":310}],984:[function(_dereq_,module,exports){
|
|
215664
215716
|
'use strict';
|
|
215665
215717
|
|
|
215666
215718
|
var Lib = _dereq_('../../lib');
|
|
@@ -215733,7 +215785,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
215733
215785
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
215734
215786
|
};
|
|
215735
215787
|
|
|
215736
|
-
},{"../../lib":503,"../../registry":638,"../scatter/constants":
|
|
215788
|
+
},{"../../lib":503,"../../registry":638,"../scatter/constants":931,"../scatter/fillcolor_defaults":935,"../scatter/line_defaults":940,"../scatter/marker_defaults":946,"../scatter/period_defaults":947,"../scatter/subtypes":952,"../scatter/text_defaults":953,"../scatter/xy_defaults":954,"./attributes":979,"./helpers":987}],985:[function(_dereq_,module,exports){
|
|
215737
215789
|
'use strict';
|
|
215738
215790
|
|
|
215739
215791
|
var Lib = _dereq_('../../lib');
|
|
@@ -215781,7 +215833,7 @@ module.exports = {
|
|
|
215781
215833
|
styleTextSelection: styleTextSelection
|
|
215782
215834
|
};
|
|
215783
215835
|
|
|
215784
|
-
},{"../../components/color":366,"../../constants/interactions":478,"../../lib":503}],
|
|
215836
|
+
},{"../../components/color":366,"../../constants/interactions":478,"../../lib":503}],986:[function(_dereq_,module,exports){
|
|
215785
215837
|
'use strict';
|
|
215786
215838
|
|
|
215787
215839
|
var scatterFormatLabels = _dereq_('../scatter/format_labels');
|
|
@@ -215793,7 +215845,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
215793
215845
|
return scatterFormatLabels(cdi, trace, fullLayout);
|
|
215794
215846
|
};
|
|
215795
215847
|
|
|
215796
|
-
},{"../scatter/format_labels":
|
|
215848
|
+
},{"../scatter/format_labels":936}],987:[function(_dereq_,module,exports){
|
|
215797
215849
|
'use strict';
|
|
215798
215850
|
|
|
215799
215851
|
var constants = _dereq_('./constants');
|
|
@@ -215810,7 +215862,7 @@ exports.isDotSymbol = function(symbol) {
|
|
|
215810
215862
|
symbol > 200;
|
|
215811
215863
|
};
|
|
215812
215864
|
|
|
215813
|
-
},{"./constants":
|
|
215865
|
+
},{"./constants":982}],988:[function(_dereq_,module,exports){
|
|
215814
215866
|
'use strict';
|
|
215815
215867
|
|
|
215816
215868
|
var Registry = _dereq_('../../registry');
|
|
@@ -216030,39 +216082,9 @@ module.exports = {
|
|
|
216030
216082
|
calcHover: calcHover
|
|
216031
216083
|
};
|
|
216032
216084
|
|
|
216033
|
-
},{"../../lib":503,"../../registry":638,"../scatter/get_trace_color":
|
|
216034
|
-
|
|
216035
|
-
|
|
216036
|
-
var hover = _dereq_('./hover');
|
|
216037
|
-
|
|
216038
|
-
module.exports = {
|
|
216039
|
-
moduleType: 'trace',
|
|
216040
|
-
name: 'scattergl',
|
|
216041
|
-
basePlotModule: _dereq_('../../plots/cartesian'),
|
|
216042
|
-
categories: ['gl', 'regl', 'cartesian', 'symbols', 'errorBarsOK', 'showLegend', 'scatter-like'],
|
|
216043
|
-
|
|
216044
|
-
attributes: _dereq_('./attributes'),
|
|
216045
|
-
supplyDefaults: _dereq_('./defaults'),
|
|
216046
|
-
crossTraceDefaults: _dereq_('../scatter/cross_trace_defaults'),
|
|
216047
|
-
colorbar: _dereq_('../scatter/marker_colorbar'),
|
|
216048
|
-
formatLabels: _dereq_('./format_labels'),
|
|
216049
|
-
calc: _dereq_('./calc'),
|
|
216050
|
-
plot: _dereq_('./plot'),
|
|
216051
|
-
hoverPoints: hover.hoverPoints,
|
|
216052
|
-
selectPoints: _dereq_('./select'),
|
|
216053
|
-
|
|
216054
|
-
meta: {
|
|
216055
|
-
hrName: 'scatter_gl',
|
|
216056
|
-
description: [
|
|
216057
|
-
'The data visualized as scatter point or lines is set in `x` and `y`',
|
|
216058
|
-
'using the WebGL plotting engine.',
|
|
216059
|
-
'Bubble charts are achieved by setting `marker.size` and/or `marker.color`',
|
|
216060
|
-
'to a numerical arrays.'
|
|
216061
|
-
].join(' ')
|
|
216062
|
-
}
|
|
216063
|
-
};
|
|
216064
|
-
|
|
216065
|
-
},{"../../plots/cartesian":568,"../scatter/cross_trace_defaults":932,"../scatter/marker_colorbar":944,"./attributes":978,"./calc":979,"./defaults":982,"./format_labels":984,"./hover":986,"./plot":988,"./select":990}],988:[function(_dereq_,module,exports){
|
|
216085
|
+
},{"../../lib":503,"../../registry":638,"../scatter/get_trace_color":937}],989:[function(_dereq_,module,exports){
|
|
216086
|
+
arguments[4][896][0].apply(exports,arguments)
|
|
216087
|
+
},{"./base_index":980,"./plot":990,"dup":896}],990:[function(_dereq_,module,exports){
|
|
216066
216088
|
'use strict';
|
|
216067
216089
|
|
|
216068
216090
|
var createScatter = _dereq_('regl-scatter2d');
|
|
@@ -216079,6 +216101,7 @@ var linkTraces = _dereq_('../scatter/link_traces');
|
|
|
216079
216101
|
|
|
216080
216102
|
var styleTextSelection = _dereq_('./edit_style').styleTextSelection;
|
|
216081
216103
|
|
|
216104
|
+
var reglPrecompiled = {};
|
|
216082
216105
|
|
|
216083
216106
|
function getViewport(fullLayout, xaxis, yaxis, plotGlPixelRatio) {
|
|
216084
216107
|
var gs = fullLayout._size;
|
|
@@ -216099,7 +216122,7 @@ function getViewport(fullLayout, xaxis, yaxis, plotGlPixelRatio) {
|
|
|
216099
216122
|
];
|
|
216100
216123
|
}
|
|
216101
216124
|
|
|
216102
|
-
module.exports = function plot(gd, subplot, cdata) {
|
|
216125
|
+
var exports = module.exports = function plot(gd, subplot, cdata) {
|
|
216103
216126
|
if(!cdata.length) return;
|
|
216104
216127
|
|
|
216105
216128
|
var fullLayout = gd._fullLayout;
|
|
@@ -216111,7 +216134,7 @@ module.exports = function plot(gd, subplot, cdata) {
|
|
|
216111
216134
|
// we may have more subplots than initialized data due to Axes.getSubplots method
|
|
216112
216135
|
if(!scene) return;
|
|
216113
216136
|
|
|
216114
|
-
var success = prepareRegl(gd, ['ANGLE_instanced_arrays', 'OES_element_index_uint']);
|
|
216137
|
+
var success = prepareRegl(gd, ['ANGLE_instanced_arrays', 'OES_element_index_uint'], reglPrecompiled);
|
|
216115
216138
|
if(!success) {
|
|
216116
216139
|
scene.init();
|
|
216117
216140
|
return;
|
|
@@ -216435,7 +216458,9 @@ module.exports = function plot(gd, subplot, cdata) {
|
|
|
216435
216458
|
}
|
|
216436
216459
|
};
|
|
216437
216460
|
|
|
216438
|
-
|
|
216461
|
+
exports.reglPrecompiled = reglPrecompiled;
|
|
216462
|
+
|
|
216463
|
+
},{"../../components/dragelement/helpers":384,"../../lib":503,"../../lib/prepare_regl":516,"../scatter/link_traces":943,"../scatter/subtypes":952,"./edit_style":985,"gl-text":225,"regl-error2d":279,"regl-line2d":280,"regl-scatter2d":281}],991:[function(_dereq_,module,exports){
|
|
216439
216464
|
'use strict';
|
|
216440
216465
|
|
|
216441
216466
|
var Lib = _dereq_('../../lib');
|
|
@@ -216585,7 +216610,7 @@ module.exports = function sceneUpdate(gd, subplot) {
|
|
|
216585
216610
|
return scene;
|
|
216586
216611
|
};
|
|
216587
216612
|
|
|
216588
|
-
},{"../../lib":503}],
|
|
216613
|
+
},{"../../lib":503}],992:[function(_dereq_,module,exports){
|
|
216589
216614
|
'use strict';
|
|
216590
216615
|
|
|
216591
216616
|
var subTypes = _dereq_('../scatter/subtypes');
|
|
@@ -216658,7 +216683,7 @@ module.exports = function select(searchInfo, selectionTester) {
|
|
|
216658
216683
|
return selection;
|
|
216659
216684
|
};
|
|
216660
216685
|
|
|
216661
|
-
},{"../scatter/subtypes":
|
|
216686
|
+
},{"../scatter/subtypes":952,"./edit_style":985}],993:[function(_dereq_,module,exports){
|
|
216662
216687
|
'use strict';
|
|
216663
216688
|
|
|
216664
216689
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -216796,7 +216821,7 @@ module.exports = overrideAll({
|
|
|
216796
216821
|
hovertemplate: hovertemplateAttrs(),
|
|
216797
216822
|
}, 'calc', 'nested');
|
|
216798
216823
|
|
|
216799
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/mapbox/layout_attributes":615,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
216824
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/mapbox/layout_attributes":615,"../../plots/template_attributes":633,"../scatter/attributes":927,"../scattergeo/attributes":969}],994:[function(_dereq_,module,exports){
|
|
216800
216825
|
'use strict';
|
|
216801
216826
|
|
|
216802
216827
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -217123,7 +217148,7 @@ function isBADNUM(lonlat) {
|
|
|
217123
217148
|
return lonlat[0] === BADNUM;
|
|
217124
217149
|
}
|
|
217125
217150
|
|
|
217126
|
-
},{"../../components/colorscale":378,"../../components/drawing":388,"../../components/fx/helpers":402,"../../constants/numerical":479,"../../lib":503,"../../lib/geojson_utils":497,"../../lib/svg_text_utils":529,"../../plots/mapbox/convert_text_opts":612,"../scatter/make_bubble_size_func":
|
|
217151
|
+
},{"../../components/colorscale":378,"../../components/drawing":388,"../../components/fx/helpers":402,"../../constants/numerical":479,"../../lib":503,"../../lib/geojson_utils":497,"../../lib/svg_text_utils":529,"../../plots/mapbox/convert_text_opts":612,"../scatter/make_bubble_size_func":944,"../scatter/subtypes":952,"fast-isnumeric":190}],995:[function(_dereq_,module,exports){
|
|
217127
217152
|
'use strict';
|
|
217128
217153
|
|
|
217129
217154
|
var Lib = _dereq_('../../lib');
|
|
@@ -217193,7 +217218,7 @@ function handleLonLatDefaults(traceIn, traceOut, coerce) {
|
|
|
217193
217218
|
return len;
|
|
217194
217219
|
}
|
|
217195
217220
|
|
|
217196
|
-
},{"../../lib":503,"../scatter/fillcolor_defaults":
|
|
217221
|
+
},{"../../lib":503,"../scatter/fillcolor_defaults":935,"../scatter/line_defaults":940,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scatter/text_defaults":953,"./attributes":993}],996:[function(_dereq_,module,exports){
|
|
217197
217222
|
'use strict';
|
|
217198
217223
|
|
|
217199
217224
|
|
|
@@ -217204,7 +217229,7 @@ module.exports = function eventData(out, pt) {
|
|
|
217204
217229
|
return out;
|
|
217205
217230
|
};
|
|
217206
217231
|
|
|
217207
|
-
},{}],
|
|
217232
|
+
},{}],997:[function(_dereq_,module,exports){
|
|
217208
217233
|
'use strict';
|
|
217209
217234
|
|
|
217210
217235
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -217222,7 +217247,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
217222
217247
|
return labels;
|
|
217223
217248
|
};
|
|
217224
217249
|
|
|
217225
|
-
},{"../../plots/cartesian/axes":554}],
|
|
217250
|
+
},{"../../plots/cartesian/axes":554}],998:[function(_dereq_,module,exports){
|
|
217226
217251
|
'use strict';
|
|
217227
217252
|
|
|
217228
217253
|
var Fx = _dereq_('../../components/fx');
|
|
@@ -217330,7 +217355,7 @@ module.exports = {
|
|
|
217330
217355
|
getExtraText: getExtraText
|
|
217331
217356
|
};
|
|
217332
217357
|
|
|
217333
|
-
},{"../../components/fx":406,"../../constants/numerical":479,"../../lib":503,"../scatter/get_trace_color":
|
|
217358
|
+
},{"../../components/fx":406,"../../constants/numerical":479,"../../lib":503,"../scatter/get_trace_color":937}],999:[function(_dereq_,module,exports){
|
|
217334
217359
|
'use strict';
|
|
217335
217360
|
|
|
217336
217361
|
module.exports = {
|
|
@@ -217365,7 +217390,7 @@ module.exports = {
|
|
|
217365
217390
|
}
|
|
217366
217391
|
};
|
|
217367
217392
|
|
|
217368
|
-
},{"../../plots/mapbox":613,"../scatter/marker_colorbar":
|
|
217393
|
+
},{"../../plots/mapbox":613,"../scatter/marker_colorbar":945,"../scattergeo/calc":970,"./attributes":993,"./defaults":995,"./event_data":996,"./format_labels":997,"./hover":998,"./plot":1000,"./select":1001}],1000:[function(_dereq_,module,exports){
|
|
217369
217394
|
'use strict';
|
|
217370
217395
|
|
|
217371
217396
|
var convert = _dereq_('./convert');
|
|
@@ -217490,7 +217515,7 @@ module.exports = function createScatterMapbox(subplot, calcTrace) {
|
|
|
217490
217515
|
return scatterMapbox;
|
|
217491
217516
|
};
|
|
217492
217517
|
|
|
217493
|
-
},{"../../plots/mapbox/constants":611,"./convert":
|
|
217518
|
+
},{"../../plots/mapbox/constants":611,"./convert":994}],1001:[function(_dereq_,module,exports){
|
|
217494
217519
|
'use strict';
|
|
217495
217520
|
|
|
217496
217521
|
var Lib = _dereq_('../../lib');
|
|
@@ -217537,7 +217562,7 @@ module.exports = function selectPoints(searchInfo, selectionTester) {
|
|
|
217537
217562
|
return selection;
|
|
217538
217563
|
};
|
|
217539
217564
|
|
|
217540
|
-
},{"../../constants/numerical":479,"../../lib":503,"../scatter/subtypes":
|
|
217565
|
+
},{"../../constants/numerical":479,"../../lib":503,"../scatter/subtypes":952}],1002:[function(_dereq_,module,exports){
|
|
217541
217566
|
'use strict';
|
|
217542
217567
|
|
|
217543
217568
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -217668,7 +217693,7 @@ module.exports = {
|
|
|
217668
217693
|
unselected: scatterAttrs.unselected
|
|
217669
217694
|
};
|
|
217670
217695
|
|
|
217671
|
-
},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
217696
|
+
},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":927}],1003:[function(_dereq_,module,exports){
|
|
217672
217697
|
'use strict';
|
|
217673
217698
|
|
|
217674
217699
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -217714,7 +217739,7 @@ module.exports = function calc(gd, trace) {
|
|
|
217714
217739
|
return cd;
|
|
217715
217740
|
};
|
|
217716
217741
|
|
|
217717
|
-
},{"../../constants/numerical":479,"../../plots/cartesian/axes":554,"../scatter/arrays_to_calcdata":
|
|
217742
|
+
},{"../../constants/numerical":479,"../../plots/cartesian/axes":554,"../scatter/arrays_to_calcdata":926,"../scatter/calc":928,"../scatter/calc_selection":929,"../scatter/colorscale_calc":930,"fast-isnumeric":190}],1004:[function(_dereq_,module,exports){
|
|
217718
217743
|
'use strict';
|
|
217719
217744
|
|
|
217720
217745
|
var Lib = _dereq_('../../lib');
|
|
@@ -217813,7 +217838,7 @@ module.exports = {
|
|
|
217813
217838
|
supplyDefaults: supplyDefaults
|
|
217814
217839
|
};
|
|
217815
217840
|
|
|
217816
|
-
},{"../../lib":503,"../scatter/constants":
|
|
217841
|
+
},{"../../lib":503,"../scatter/constants":931,"../scatter/fillcolor_defaults":935,"../scatter/line_defaults":940,"../scatter/line_shape_defaults":942,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scatter/text_defaults":953,"./attributes":1002}],1005:[function(_dereq_,module,exports){
|
|
217817
217842
|
'use strict';
|
|
217818
217843
|
|
|
217819
217844
|
var Lib = _dereq_('../../lib');
|
|
@@ -217847,7 +217872,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
217847
217872
|
return labels;
|
|
217848
217873
|
};
|
|
217849
217874
|
|
|
217850
|
-
},{"../../lib":503,"../../plots/cartesian/axes":554}],
|
|
217875
|
+
},{"../../lib":503,"../../plots/cartesian/axes":554}],1006:[function(_dereq_,module,exports){
|
|
217851
217876
|
'use strict';
|
|
217852
217877
|
|
|
217853
217878
|
var scatterHover = _dereq_('../scatter/hover');
|
|
@@ -217915,7 +217940,7 @@ module.exports = {
|
|
|
217915
217940
|
makeHoverPointText: makeHoverPointText
|
|
217916
217941
|
};
|
|
217917
217942
|
|
|
217918
|
-
},{"../scatter/hover":
|
|
217943
|
+
},{"../scatter/hover":938}],1007:[function(_dereq_,module,exports){
|
|
217919
217944
|
'use strict';
|
|
217920
217945
|
|
|
217921
217946
|
module.exports = {
|
|
@@ -217949,7 +217974,7 @@ module.exports = {
|
|
|
217949
217974
|
}
|
|
217950
217975
|
};
|
|
217951
217976
|
|
|
217952
|
-
},{"../../plots/polar":622,"../scatter/marker_colorbar":
|
|
217977
|
+
},{"../../plots/polar":622,"../scatter/marker_colorbar":945,"../scatter/select":949,"../scatter/style":951,"./attributes":1002,"./calc":1003,"./defaults":1004,"./format_labels":1005,"./hover":1006,"./plot":1008}],1008:[function(_dereq_,module,exports){
|
|
217953
217978
|
'use strict';
|
|
217954
217979
|
|
|
217955
217980
|
var scatterPlot = _dereq_('../scatter/plot');
|
|
@@ -217991,7 +218016,7 @@ module.exports = function plot(gd, subplot, moduleCalcData) {
|
|
|
217991
218016
|
scatterPlot(gd, plotinfo, moduleCalcData, mlayer);
|
|
217992
218017
|
};
|
|
217993
218018
|
|
|
217994
|
-
},{"../../constants/numerical":479,"../scatter/plot":
|
|
218019
|
+
},{"../../constants/numerical":479,"../scatter/plot":948}],1009:[function(_dereq_,module,exports){
|
|
217995
218020
|
'use strict';
|
|
217996
218021
|
|
|
217997
218022
|
var scatterPolarAttrs = _dereq_('../scatterpolar/attributes');
|
|
@@ -218034,7 +218059,38 @@ module.exports = {
|
|
|
218034
218059
|
unselected: scatterPolarAttrs.unselected
|
|
218035
218060
|
};
|
|
218036
218061
|
|
|
218037
|
-
},{"../../plots/template_attributes":633,"../scattergl/attributes":
|
|
218062
|
+
},{"../../plots/template_attributes":633,"../scattergl/attributes":979,"../scatterpolar/attributes":1002}],1010:[function(_dereq_,module,exports){
|
|
218063
|
+
'use strict';
|
|
218064
|
+
|
|
218065
|
+
module.exports = {
|
|
218066
|
+
moduleType: 'trace',
|
|
218067
|
+
name: 'scatterpolargl',
|
|
218068
|
+
basePlotModule: _dereq_('../../plots/polar'),
|
|
218069
|
+
categories: ['gl', 'regl', 'polar', 'symbols', 'showLegend', 'scatter-like'],
|
|
218070
|
+
|
|
218071
|
+
attributes: _dereq_('./attributes'),
|
|
218072
|
+
supplyDefaults: _dereq_('./defaults'),
|
|
218073
|
+
colorbar: _dereq_('../scatter/marker_colorbar'),
|
|
218074
|
+
formatLabels: _dereq_('./format_labels'),
|
|
218075
|
+
|
|
218076
|
+
calc: _dereq_('./calc'),
|
|
218077
|
+
hoverPoints: _dereq_('./hover').hoverPoints,
|
|
218078
|
+
selectPoints: _dereq_('../scattergl/select'),
|
|
218079
|
+
|
|
218080
|
+
meta: {
|
|
218081
|
+
hrName: 'scatter_polar_gl',
|
|
218082
|
+
description: [
|
|
218083
|
+
'The scatterpolargl trace type encompasses line charts, scatter charts, and bubble charts',
|
|
218084
|
+
'in polar coordinates using the WebGL plotting engine.',
|
|
218085
|
+
'The data visualized as scatter point or lines is set in',
|
|
218086
|
+
'`r` (radial) and `theta` (angular) coordinates',
|
|
218087
|
+
'Bubble charts are achieved by setting `marker.size` and/or `marker.color`',
|
|
218088
|
+
'to numerical arrays.'
|
|
218089
|
+
].join(' ')
|
|
218090
|
+
}
|
|
218091
|
+
};
|
|
218092
|
+
|
|
218093
|
+
},{"../../plots/polar":622,"../scatter/marker_colorbar":945,"../scattergl/select":992,"./attributes":1009,"./calc":1011,"./defaults":1012,"./format_labels":1013,"./hover":1014}],1011:[function(_dereq_,module,exports){
|
|
218038
218094
|
'use strict';
|
|
218039
218095
|
|
|
218040
218096
|
var calcColorscale = _dereq_('../scatter/colorscale_calc');
|
|
@@ -218078,7 +218134,7 @@ module.exports = function calc(gd, trace) {
|
|
|
218078
218134
|
return [{x: false, y: false, t: stash, trace: trace}];
|
|
218079
218135
|
};
|
|
218080
218136
|
|
|
218081
|
-
},{"../../plots/cartesian/axes":554,"../scatter/calc":
|
|
218137
|
+
},{"../../plots/cartesian/axes":554,"../scatter/calc":928,"../scatter/colorscale_calc":930,"../scattergl/constants":982,"../scattergl/convert":983}],1012:[function(_dereq_,module,exports){
|
|
218082
218138
|
'use strict';
|
|
218083
218139
|
|
|
218084
218140
|
var Lib = _dereq_('../../lib');
|
|
@@ -218132,7 +218188,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
218132
218188
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
218133
218189
|
};
|
|
218134
218190
|
|
|
218135
|
-
},{"../../lib":503,"../scatter/constants":
|
|
218191
|
+
},{"../../lib":503,"../scatter/constants":931,"../scatter/fillcolor_defaults":935,"../scatter/line_defaults":940,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scatter/text_defaults":953,"../scatterpolar/defaults":1004,"./attributes":1009}],1013:[function(_dereq_,module,exports){
|
|
218136
218192
|
'use strict';
|
|
218137
218193
|
|
|
218138
218194
|
var scatterPolarFormatLabels = _dereq_('../scatterpolar/format_labels');
|
|
@@ -218144,7 +218200,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
218144
218200
|
return scatterPolarFormatLabels(cdi, trace, fullLayout);
|
|
218145
218201
|
};
|
|
218146
218202
|
|
|
218147
|
-
},{"../scatterpolar/format_labels":
|
|
218203
|
+
},{"../scatterpolar/format_labels":1005}],1014:[function(_dereq_,module,exports){
|
|
218148
218204
|
'use strict';
|
|
218149
218205
|
|
|
218150
218206
|
var hover = _dereq_('../scattergl/hover');
|
|
@@ -218186,39 +218242,9 @@ module.exports = {
|
|
|
218186
218242
|
hoverPoints: hoverPoints
|
|
218187
218243
|
};
|
|
218188
218244
|
|
|
218189
|
-
},{"../scattergl/hover":
|
|
218190
|
-
|
|
218191
|
-
|
|
218192
|
-
module.exports = {
|
|
218193
|
-
moduleType: 'trace',
|
|
218194
|
-
name: 'scatterpolargl',
|
|
218195
|
-
basePlotModule: _dereq_('../../plots/polar'),
|
|
218196
|
-
categories: ['gl', 'regl', 'polar', 'symbols', 'showLegend', 'scatter-like'],
|
|
218197
|
-
|
|
218198
|
-
attributes: _dereq_('./attributes'),
|
|
218199
|
-
supplyDefaults: _dereq_('./defaults'),
|
|
218200
|
-
colorbar: _dereq_('../scatter/marker_colorbar'),
|
|
218201
|
-
formatLabels: _dereq_('./format_labels'),
|
|
218202
|
-
|
|
218203
|
-
calc: _dereq_('./calc'),
|
|
218204
|
-
plot: _dereq_('./plot'),
|
|
218205
|
-
hoverPoints: _dereq_('./hover').hoverPoints,
|
|
218206
|
-
selectPoints: _dereq_('../scattergl/select'),
|
|
218207
|
-
|
|
218208
|
-
meta: {
|
|
218209
|
-
hrName: 'scatter_polar_gl',
|
|
218210
|
-
description: [
|
|
218211
|
-
'The scatterpolargl trace type encompasses line charts, scatter charts, and bubble charts',
|
|
218212
|
-
'in polar coordinates using the WebGL plotting engine.',
|
|
218213
|
-
'The data visualized as scatter point or lines is set in',
|
|
218214
|
-
'`r` (radial) and `theta` (angular) coordinates',
|
|
218215
|
-
'Bubble charts are achieved by setting `marker.size` and/or `marker.color`',
|
|
218216
|
-
'to numerical arrays.'
|
|
218217
|
-
].join(' ')
|
|
218218
|
-
}
|
|
218219
|
-
};
|
|
218220
|
-
|
|
218221
|
-
},{"../../plots/polar":622,"../scatter/marker_colorbar":944,"../scattergl/select":990,"./attributes":1007,"./calc":1008,"./defaults":1009,"./format_labels":1010,"./hover":1011,"./plot":1013}],1013:[function(_dereq_,module,exports){
|
|
218245
|
+
},{"../scattergl/hover":988,"../scatterpolar/hover":1006}],1015:[function(_dereq_,module,exports){
|
|
218246
|
+
arguments[4][896][0].apply(exports,arguments)
|
|
218247
|
+
},{"./base_index":1010,"./plot":1016,"dup":896}],1016:[function(_dereq_,module,exports){
|
|
218222
218248
|
'use strict';
|
|
218223
218249
|
|
|
218224
218250
|
var cluster = _dereq_('@plotly/point-cluster');
|
|
@@ -218232,6 +218258,8 @@ var Lib = _dereq_('../../lib');
|
|
|
218232
218258
|
|
|
218233
218259
|
var TOO_MANY_POINTS = _dereq_('../scattergl/constants').TOO_MANY_POINTS;
|
|
218234
218260
|
|
|
218261
|
+
var reglPrecompiled = {};
|
|
218262
|
+
|
|
218235
218263
|
module.exports = function plot(gd, subplot, cdata) {
|
|
218236
218264
|
if(!cdata.length) return;
|
|
218237
218265
|
|
|
@@ -218348,7 +218376,9 @@ module.exports = function plot(gd, subplot, cdata) {
|
|
|
218348
218376
|
return scatterglPlot(gd, subplot, cdata);
|
|
218349
218377
|
};
|
|
218350
218378
|
|
|
218351
|
-
|
|
218379
|
+
module.exports.reglPrecompiled = reglPrecompiled;
|
|
218380
|
+
|
|
218381
|
+
},{"../../lib":503,"../scattergl/constants":982,"../scattergl/convert":983,"../scattergl/plot":990,"../scattergl/scene_update":991,"@plotly/point-cluster":59,"fast-isnumeric":190}],1017:[function(_dereq_,module,exports){
|
|
218352
218382
|
'use strict';
|
|
218353
218383
|
|
|
218354
218384
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -218430,7 +218460,7 @@ module.exports = {
|
|
|
218430
218460
|
unselected: scatterAttrs.unselected
|
|
218431
218461
|
};
|
|
218432
218462
|
|
|
218433
|
-
},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
218463
|
+
},{"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":927}],1018:[function(_dereq_,module,exports){
|
|
218434
218464
|
'use strict';
|
|
218435
218465
|
|
|
218436
218466
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -218472,7 +218502,7 @@ module.exports = function calc(gd, trace) {
|
|
|
218472
218502
|
return cd;
|
|
218473
218503
|
};
|
|
218474
218504
|
|
|
218475
|
-
},{"../../constants/numerical":479,"../scatter/arrays_to_calcdata":
|
|
218505
|
+
},{"../../constants/numerical":479,"../scatter/arrays_to_calcdata":926,"../scatter/calc":928,"../scatter/calc_selection":929,"../scatter/colorscale_calc":930,"fast-isnumeric":190}],1019:[function(_dereq_,module,exports){
|
|
218476
218506
|
'use strict';
|
|
218477
218507
|
|
|
218478
218508
|
var Lib = _dereq_('../../lib');
|
|
@@ -218554,7 +218584,7 @@ function handleRealImagDefaults(traceIn, traceOut, layout, coerce) {
|
|
|
218554
218584
|
return len;
|
|
218555
218585
|
}
|
|
218556
218586
|
|
|
218557
|
-
},{"../../lib":503,"../scatter/constants":
|
|
218587
|
+
},{"../../lib":503,"../scatter/constants":931,"../scatter/fillcolor_defaults":935,"../scatter/line_defaults":940,"../scatter/line_shape_defaults":942,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scatter/text_defaults":953,"./attributes":1017}],1020:[function(_dereq_,module,exports){
|
|
218558
218588
|
'use strict';
|
|
218559
218589
|
|
|
218560
218590
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -218570,7 +218600,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
218570
218600
|
return labels;
|
|
218571
218601
|
};
|
|
218572
218602
|
|
|
218573
|
-
},{"../../plots/cartesian/axes":554}],
|
|
218603
|
+
},{"../../plots/cartesian/axes":554}],1021:[function(_dereq_,module,exports){
|
|
218574
218604
|
'use strict';
|
|
218575
218605
|
|
|
218576
218606
|
var scatterHover = _dereq_('../scatter/hover');
|
|
@@ -218638,7 +218668,7 @@ module.exports = {
|
|
|
218638
218668
|
makeHoverPointText: makeHoverPointText
|
|
218639
218669
|
};
|
|
218640
218670
|
|
|
218641
|
-
},{"../scatter/hover":
|
|
218671
|
+
},{"../scatter/hover":938}],1022:[function(_dereq_,module,exports){
|
|
218642
218672
|
'use strict';
|
|
218643
218673
|
|
|
218644
218674
|
module.exports = {
|
|
@@ -218673,7 +218703,7 @@ module.exports = {
|
|
|
218673
218703
|
}
|
|
218674
218704
|
};
|
|
218675
218705
|
|
|
218676
|
-
},{"../../plots/smith":629,"../scatter/marker_colorbar":
|
|
218706
|
+
},{"../../plots/smith":629,"../scatter/marker_colorbar":945,"../scatter/select":949,"../scatter/style":951,"./attributes":1017,"./calc":1018,"./defaults":1019,"./format_labels":1020,"./hover":1021,"./plot":1023}],1023:[function(_dereq_,module,exports){
|
|
218677
218707
|
'use strict';
|
|
218678
218708
|
|
|
218679
218709
|
var scatterPlot = _dereq_('../scatter/plot');
|
|
@@ -218714,7 +218744,7 @@ module.exports = function plot(gd, subplot, moduleCalcData) {
|
|
|
218714
218744
|
scatterPlot(gd, plotinfo, moduleCalcData, mlayer);
|
|
218715
218745
|
};
|
|
218716
218746
|
|
|
218717
|
-
},{"../../constants/numerical":479,"../../plots/smith/helpers":628,"../scatter/plot":
|
|
218747
|
+
},{"../../constants/numerical":479,"../../plots/smith/helpers":628,"../scatter/plot":948}],1024:[function(_dereq_,module,exports){
|
|
218718
218748
|
'use strict';
|
|
218719
218749
|
|
|
218720
218750
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -218862,7 +218892,7 @@ module.exports = {
|
|
|
218862
218892
|
hovertemplate: hovertemplateAttrs(),
|
|
218863
218893
|
};
|
|
218864
218894
|
|
|
218865
|
-
},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
218895
|
+
},{"../../components/colorscale/attributes":373,"../../components/drawing/attributes":387,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/template_attributes":633,"../scatter/attributes":927}],1025:[function(_dereq_,module,exports){
|
|
218866
218896
|
'use strict';
|
|
218867
218897
|
|
|
218868
218898
|
var isNumeric = _dereq_('fast-isnumeric');
|
|
@@ -218934,7 +218964,7 @@ module.exports = function calc(gd, trace) {
|
|
|
218934
218964
|
return cd;
|
|
218935
218965
|
};
|
|
218936
218966
|
|
|
218937
|
-
},{"../scatter/arrays_to_calcdata":
|
|
218967
|
+
},{"../scatter/arrays_to_calcdata":926,"../scatter/calc":928,"../scatter/calc_selection":929,"../scatter/colorscale_calc":930,"fast-isnumeric":190}],1026:[function(_dereq_,module,exports){
|
|
218938
218968
|
'use strict';
|
|
218939
218969
|
|
|
218940
218970
|
var Lib = _dereq_('../../lib');
|
|
@@ -219029,7 +219059,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
219029
219059
|
Lib.coerceSelectionMarkerOpacity(traceOut, coerce);
|
|
219030
219060
|
};
|
|
219031
219061
|
|
|
219032
|
-
},{"../../lib":503,"../scatter/constants":
|
|
219062
|
+
},{"../../lib":503,"../scatter/constants":931,"../scatter/fillcolor_defaults":935,"../scatter/line_defaults":940,"../scatter/line_shape_defaults":942,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scatter/text_defaults":953,"./attributes":1024}],1027:[function(_dereq_,module,exports){
|
|
219033
219063
|
'use strict';
|
|
219034
219064
|
|
|
219035
219065
|
module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
@@ -219053,7 +219083,7 @@ module.exports = function eventData(out, pt, trace, cd, pointNumber) {
|
|
|
219053
219083
|
return out;
|
|
219054
219084
|
};
|
|
219055
219085
|
|
|
219056
|
-
},{}],
|
|
219086
|
+
},{}],1028:[function(_dereq_,module,exports){
|
|
219057
219087
|
'use strict';
|
|
219058
219088
|
|
|
219059
219089
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -219069,7 +219099,7 @@ module.exports = function formatLabels(cdi, trace, fullLayout) {
|
|
|
219069
219099
|
return labels;
|
|
219070
219100
|
};
|
|
219071
219101
|
|
|
219072
|
-
},{"../../plots/cartesian/axes":554}],
|
|
219102
|
+
},{"../../plots/cartesian/axes":554}],1029:[function(_dereq_,module,exports){
|
|
219073
219103
|
'use strict';
|
|
219074
219104
|
|
|
219075
219105
|
var scatterHover = _dereq_('../scatter/hover');
|
|
@@ -219135,7 +219165,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
|
|
|
219135
219165
|
return scatterPointData;
|
|
219136
219166
|
};
|
|
219137
219167
|
|
|
219138
|
-
},{"../scatter/hover":
|
|
219168
|
+
},{"../scatter/hover":938}],1030:[function(_dereq_,module,exports){
|
|
219139
219169
|
'use strict';
|
|
219140
219170
|
|
|
219141
219171
|
module.exports = {
|
|
@@ -219164,7 +219194,7 @@ module.exports = {
|
|
|
219164
219194
|
}
|
|
219165
219195
|
};
|
|
219166
219196
|
|
|
219167
|
-
},{"../../plots/ternary":634,"../scatter/marker_colorbar":
|
|
219197
|
+
},{"../../plots/ternary":634,"../scatter/marker_colorbar":945,"../scatter/select":949,"../scatter/style":951,"./attributes":1024,"./calc":1025,"./defaults":1026,"./event_data":1027,"./format_labels":1028,"./hover":1029,"./plot":1031}],1031:[function(_dereq_,module,exports){
|
|
219168
219198
|
'use strict';
|
|
219169
219199
|
|
|
219170
219200
|
var scatterPlot = _dereq_('../scatter/plot');
|
|
@@ -219188,7 +219218,7 @@ module.exports = function plot(gd, ternary, moduleCalcData) {
|
|
|
219188
219218
|
scatterPlot(gd, plotinfo, moduleCalcData, scatterLayer);
|
|
219189
219219
|
};
|
|
219190
219220
|
|
|
219191
|
-
},{"../scatter/plot":
|
|
219221
|
+
},{"../scatter/plot":948}],1032:[function(_dereq_,module,exports){
|
|
219192
219222
|
'use strict';
|
|
219193
219223
|
|
|
219194
219224
|
var scatterAttrs = _dereq_('../scatter/attributes');
|
|
@@ -219378,7 +219408,45 @@ module.exports = {
|
|
|
219378
219408
|
opacity: scatterGlAttrs.opacity
|
|
219379
219409
|
};
|
|
219380
219410
|
|
|
219381
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/plot_template":543,"../../plots/cartesian/axis_format_attributes":557,"../../plots/cartesian/constants":561,"../../plots/template_attributes":633,"../scatter/attributes":
|
|
219411
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/plot_template":543,"../../plots/cartesian/axis_format_attributes":557,"../../plots/cartesian/constants":561,"../../plots/template_attributes":633,"../scatter/attributes":927,"../scattergl/attributes":979}],1033:[function(_dereq_,module,exports){
|
|
219412
|
+
'use strict';
|
|
219413
|
+
|
|
219414
|
+
var Registry = _dereq_('../../registry');
|
|
219415
|
+
var Grid = _dereq_('../../components/grid');
|
|
219416
|
+
|
|
219417
|
+
module.exports = {
|
|
219418
|
+
moduleType: 'trace',
|
|
219419
|
+
name: 'splom',
|
|
219420
|
+
|
|
219421
|
+
categories: ['gl', 'regl', 'cartesian', 'symbols', 'showLegend', 'scatter-like'],
|
|
219422
|
+
|
|
219423
|
+
attributes: _dereq_('./attributes'),
|
|
219424
|
+
supplyDefaults: _dereq_('./defaults'),
|
|
219425
|
+
colorbar: _dereq_('../scatter/marker_colorbar'),
|
|
219426
|
+
|
|
219427
|
+
calc: _dereq_('./calc'),
|
|
219428
|
+
plot: _dereq_('./plot'),
|
|
219429
|
+
hoverPoints: _dereq_('./hover').hoverPoints,
|
|
219430
|
+
selectPoints: _dereq_('./select'),
|
|
219431
|
+
editStyle: _dereq_('./edit_style'),
|
|
219432
|
+
|
|
219433
|
+
meta: {
|
|
219434
|
+
description: [
|
|
219435
|
+
'Splom traces generate scatter plot matrix visualizations.',
|
|
219436
|
+
'Each splom `dimensions` items correspond to a generated axis.',
|
|
219437
|
+
'Values for each of those dimensions are set in `dimensions[i].values`.',
|
|
219438
|
+
'Splom traces support all `scattergl` marker style attributes.',
|
|
219439
|
+
'Specify `layout.grid` attributes and/or layout x-axis and y-axis attributes',
|
|
219440
|
+
'for more control over the axis positioning and style. '
|
|
219441
|
+
].join(' ')
|
|
219442
|
+
}
|
|
219443
|
+
};
|
|
219444
|
+
|
|
219445
|
+
// splom traces use the 'grid' component to generate their axes,
|
|
219446
|
+
// register it here
|
|
219447
|
+
Registry.register(Grid);
|
|
219448
|
+
|
|
219449
|
+
},{"../../components/grid":410,"../../registry":638,"../scatter/marker_colorbar":945,"./attributes":1032,"./calc":1035,"./defaults":1036,"./edit_style":1037,"./hover":1039,"./plot":1041,"./select":1043}],1034:[function(_dereq_,module,exports){
|
|
219382
219450
|
'use strict';
|
|
219383
219451
|
|
|
219384
219452
|
var createLine = _dereq_('regl-line2d');
|
|
@@ -219392,12 +219460,14 @@ var shouldShowZeroLine = _dereq_('../../plots/cartesian/axes').shouldShowZeroLin
|
|
|
219392
219460
|
|
|
219393
219461
|
var SPLOM = 'splom';
|
|
219394
219462
|
|
|
219463
|
+
var reglPrecompiled = {};
|
|
219464
|
+
|
|
219395
219465
|
function plot(gd) {
|
|
219396
219466
|
var fullLayout = gd._fullLayout;
|
|
219397
219467
|
var _module = Registry.getModule(SPLOM);
|
|
219398
219468
|
var splomCalcData = getModuleCalcData(gd.calcdata, _module)[0];
|
|
219399
219469
|
|
|
219400
|
-
var success = prepareRegl(gd, ['ANGLE_instanced_arrays', 'OES_element_index_uint']);
|
|
219470
|
+
var success = prepareRegl(gd, ['ANGLE_instanced_arrays', 'OES_element_index_uint'], reglPrecompiled);
|
|
219401
219471
|
if(!success) return;
|
|
219402
219472
|
|
|
219403
219473
|
if(fullLayout._hasOnlyLargeSploms) {
|
|
@@ -219600,10 +219670,11 @@ module.exports = {
|
|
|
219600
219670
|
updateGrid: updateGrid,
|
|
219601
219671
|
clean: clean,
|
|
219602
219672
|
updateFx: Cartesian.updateFx,
|
|
219603
|
-
toSVG: Cartesian.toSVG
|
|
219673
|
+
toSVG: Cartesian.toSVG,
|
|
219674
|
+
reglPrecompiled: reglPrecompiled
|
|
219604
219675
|
};
|
|
219605
219676
|
|
|
219606
|
-
},{"../../lib/prepare_regl":516,"../../plots/cartesian":568,"../../plots/cartesian/axes":554,"../../plots/cartesian/axis_ids":558,"../../plots/get_data":593,"../../registry":638,"regl-line2d":280}],
|
|
219677
|
+
},{"../../lib/prepare_regl":516,"../../plots/cartesian":568,"../../plots/cartesian/axes":554,"../../plots/cartesian/axis_ids":558,"../../plots/get_data":593,"../../registry":638,"regl-line2d":280}],1035:[function(_dereq_,module,exports){
|
|
219607
219678
|
'use strict';
|
|
219608
219679
|
|
|
219609
219680
|
var Lib = _dereq_('../../lib');
|
|
@@ -219706,7 +219777,7 @@ module.exports = function calc(gd, trace) {
|
|
|
219706
219777
|
return [{x: false, y: false, t: {}, trace: trace}];
|
|
219707
219778
|
};
|
|
219708
219779
|
|
|
219709
|
-
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/axis_ids":558,"../scatter/calc":
|
|
219780
|
+
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/axis_ids":558,"../scatter/calc":928,"../scatter/colorscale_calc":930,"../scattergl/constants":982,"../scattergl/convert":983,"./scene_update":1042}],1036:[function(_dereq_,module,exports){
|
|
219710
219781
|
'use strict';
|
|
219711
219782
|
|
|
219712
219783
|
var Lib = _dereq_('../../lib');
|
|
@@ -219877,7 +219948,7 @@ function handleAxisDefaults(traceIn, traceOut, layout, coerce) {
|
|
|
219877
219948
|
}
|
|
219878
219949
|
}
|
|
219879
219950
|
|
|
219880
|
-
},{"../../lib":503,"../../plots/array_container_defaults":549,"../parcoords/merge_length":
|
|
219951
|
+
},{"../../lib":503,"../../plots/array_container_defaults":549,"../parcoords/merge_length":898,"../scatter/marker_defaults":946,"../scatter/subtypes":952,"../scattergl/helpers":987,"./attributes":1032}],1037:[function(_dereq_,module,exports){
|
|
219881
219952
|
'use strict';
|
|
219882
219953
|
|
|
219883
219954
|
var Lib = _dereq_('../../lib');
|
|
@@ -219901,7 +219972,7 @@ module.exports = function editStyle(gd, cd0) {
|
|
|
219901
219972
|
}
|
|
219902
219973
|
};
|
|
219903
219974
|
|
|
219904
|
-
},{"../../lib":503,"../scatter/colorscale_calc":
|
|
219975
|
+
},{"../../lib":503,"../scatter/colorscale_calc":930,"../scattergl/convert":983}],1038:[function(_dereq_,module,exports){
|
|
219905
219976
|
'use strict';
|
|
219906
219977
|
|
|
219907
219978
|
exports.getDimIndex = function getDimIndex(trace, ax) {
|
|
@@ -219917,7 +219988,7 @@ exports.getDimIndex = function getDimIndex(trace, ax) {
|
|
|
219917
219988
|
return false;
|
|
219918
219989
|
};
|
|
219919
219990
|
|
|
219920
|
-
},{}],
|
|
219991
|
+
},{}],1039:[function(_dereq_,module,exports){
|
|
219921
219992
|
'use strict';
|
|
219922
219993
|
|
|
219923
219994
|
var helpers = _dereq_('./helpers');
|
|
@@ -219970,46 +220041,16 @@ module.exports = {
|
|
|
219970
220041
|
hoverPoints: hoverPoints
|
|
219971
220042
|
};
|
|
219972
220043
|
|
|
219973
|
-
},{"../scattergl/hover":
|
|
220044
|
+
},{"../scattergl/hover":988,"./helpers":1038}],1040:[function(_dereq_,module,exports){
|
|
219974
220045
|
'use strict';
|
|
219975
220046
|
|
|
219976
|
-
var
|
|
219977
|
-
var Grid = _dereq_('../../components/grid');
|
|
219978
|
-
|
|
219979
|
-
module.exports = {
|
|
219980
|
-
moduleType: 'trace',
|
|
219981
|
-
name: 'splom',
|
|
219982
|
-
|
|
219983
|
-
basePlotModule: _dereq_('./base_plot'),
|
|
219984
|
-
categories: ['gl', 'regl', 'cartesian', 'symbols', 'showLegend', 'scatter-like'],
|
|
219985
|
-
|
|
219986
|
-
attributes: _dereq_('./attributes'),
|
|
219987
|
-
supplyDefaults: _dereq_('./defaults'),
|
|
219988
|
-
colorbar: _dereq_('../scatter/marker_colorbar'),
|
|
219989
|
-
|
|
219990
|
-
calc: _dereq_('./calc'),
|
|
219991
|
-
plot: _dereq_('./plot'),
|
|
219992
|
-
hoverPoints: _dereq_('./hover').hoverPoints,
|
|
219993
|
-
selectPoints: _dereq_('./select'),
|
|
219994
|
-
editStyle: _dereq_('./edit_style'),
|
|
220047
|
+
var index = _dereq_('./base_index');
|
|
219995
220048
|
|
|
219996
|
-
|
|
219997
|
-
description: [
|
|
219998
|
-
'Splom traces generate scatter plot matrix visualizations.',
|
|
219999
|
-
'Each splom `dimensions` items correspond to a generated axis.',
|
|
220000
|
-
'Values for each of those dimensions are set in `dimensions[i].values`.',
|
|
220001
|
-
'Splom traces support all `scattergl` marker style attributes.',
|
|
220002
|
-
'Specify `layout.grid` attributes and/or layout x-axis and y-axis attributes',
|
|
220003
|
-
'for more control over the axis positioning and style. '
|
|
220004
|
-
].join(' ')
|
|
220005
|
-
}
|
|
220006
|
-
};
|
|
220049
|
+
index.basePlotModule = _dereq_('./base_plot'),
|
|
220007
220050
|
|
|
220008
|
-
|
|
220009
|
-
// register it here
|
|
220010
|
-
Registry.register(Grid);
|
|
220051
|
+
module.exports = index;
|
|
220011
220052
|
|
|
220012
|
-
},{"
|
|
220053
|
+
},{"./base_index":1033,"./base_plot":1034}],1041:[function(_dereq_,module,exports){
|
|
220013
220054
|
'use strict';
|
|
220014
220055
|
|
|
220015
220056
|
var createMatrix = _dereq_('regl-splom');
|
|
@@ -220152,7 +220193,7 @@ function plotOne(gd, cd0) {
|
|
|
220152
220193
|
}
|
|
220153
220194
|
}
|
|
220154
220195
|
|
|
220155
|
-
},{"../../components/dragelement/helpers":384,"../../lib":503,"../../plots/cartesian/axis_ids":558,"regl-splom":282}],
|
|
220196
|
+
},{"../../components/dragelement/helpers":384,"../../lib":503,"../../plots/cartesian/axis_ids":558,"regl-splom":282}],1042:[function(_dereq_,module,exports){
|
|
220156
220197
|
'use strict';
|
|
220157
220198
|
|
|
220158
220199
|
var Lib = _dereq_('../../lib');
|
|
@@ -220216,7 +220257,7 @@ module.exports = function sceneUpdate(gd, trace) {
|
|
|
220216
220257
|
return scene;
|
|
220217
220258
|
};
|
|
220218
220259
|
|
|
220219
|
-
},{"../../lib":503}],
|
|
220260
|
+
},{"../../lib":503}],1043:[function(_dereq_,module,exports){
|
|
220220
220261
|
'use strict';
|
|
220221
220262
|
|
|
220222
220263
|
var Lib = _dereq_('../../lib');
|
|
@@ -220283,7 +220324,7 @@ module.exports = function select(searchInfo, selectionTester) {
|
|
|
220283
220324
|
return selection;
|
|
220284
220325
|
};
|
|
220285
220326
|
|
|
220286
|
-
},{"../../lib":503,"../scatter/subtypes":
|
|
220327
|
+
},{"../../lib":503,"../scatter/subtypes":952,"./helpers":1038}],1044:[function(_dereq_,module,exports){
|
|
220287
220328
|
'use strict';
|
|
220288
220329
|
|
|
220289
220330
|
var colorScaleAttrs = _dereq_('../../components/colorscale/attributes');
|
|
@@ -220447,7 +220488,7 @@ attrs.transforms = undefined;
|
|
|
220447
220488
|
|
|
220448
220489
|
module.exports = attrs;
|
|
220449
220490
|
|
|
220450
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../mesh3d/attributes":867}],
|
|
220491
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../mesh3d/attributes":867}],1045:[function(_dereq_,module,exports){
|
|
220451
220492
|
'use strict';
|
|
220452
220493
|
|
|
220453
220494
|
var Lib = _dereq_('../../lib');
|
|
@@ -220695,7 +220736,7 @@ module.exports = {
|
|
|
220695
220736
|
processGrid: processGrid
|
|
220696
220737
|
};
|
|
220697
220738
|
|
|
220698
|
-
},{"../../components/colorscale/calc":374,"../../lib":503}],
|
|
220739
|
+
},{"../../components/colorscale/calc":374,"../../lib":503}],1046:[function(_dereq_,module,exports){
|
|
220699
220740
|
'use strict';
|
|
220700
220741
|
|
|
220701
220742
|
var tube2mesh = _dereq_('../../../stackgl_modules').gl_streamtube3d;
|
|
@@ -220913,7 +220954,7 @@ function createStreamtubeTrace(scene, data) {
|
|
|
220913
220954
|
|
|
220914
220955
|
module.exports = createStreamtubeTrace;
|
|
220915
220956
|
|
|
220916
|
-
},{"../../../stackgl_modules":
|
|
220957
|
+
},{"../../../stackgl_modules":1124,"../../components/colorscale":378,"../../lib":503,"../../lib/gl_format_color":499,"../../plots/gl3d/zip3":609}],1047:[function(_dereq_,module,exports){
|
|
220917
220958
|
'use strict';
|
|
220918
220959
|
|
|
220919
220960
|
var Lib = _dereq_('../../lib');
|
|
@@ -220976,7 +221017,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
220976
221017
|
traceOut._length = null;
|
|
220977
221018
|
};
|
|
220978
221019
|
|
|
220979
|
-
},{"../../components/colorscale/defaults":376,"../../lib":503,"./attributes":
|
|
221020
|
+
},{"../../components/colorscale/defaults":376,"../../lib":503,"./attributes":1044}],1048:[function(_dereq_,module,exports){
|
|
220980
221021
|
'use strict';
|
|
220981
221022
|
|
|
220982
221023
|
module.exports = {
|
|
@@ -221031,7 +221072,7 @@ module.exports = {
|
|
|
221031
221072
|
}
|
|
221032
221073
|
};
|
|
221033
221074
|
|
|
221034
|
-
},{"../../plots/gl3d":598,"./attributes":
|
|
221075
|
+
},{"../../plots/gl3d":598,"./attributes":1044,"./calc":1045,"./convert":1046,"./defaults":1047}],1049:[function(_dereq_,module,exports){
|
|
221035
221076
|
'use strict';
|
|
221036
221077
|
|
|
221037
221078
|
var baseAttrs = _dereq_('../../plots/attributes');
|
|
@@ -221250,7 +221291,7 @@ module.exports = {
|
|
|
221250
221291
|
domain: domainAttrs({name: 'sunburst', trace: true, editType: 'calc'})
|
|
221251
221292
|
};
|
|
221252
221293
|
|
|
221253
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":
|
|
221294
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":901,"./constants":1052}],1050:[function(_dereq_,module,exports){
|
|
221254
221295
|
'use strict';
|
|
221255
221296
|
|
|
221256
221297
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -221265,7 +221306,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
221265
221306
|
plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
|
|
221266
221307
|
};
|
|
221267
221308
|
|
|
221268
|
-
},{"../../plots/plots":619}],
|
|
221309
|
+
},{"../../plots/plots":619}],1051:[function(_dereq_,module,exports){
|
|
221269
221310
|
'use strict';
|
|
221270
221311
|
|
|
221271
221312
|
var d3Hierarchy = _dereq_('d3-hierarchy');
|
|
@@ -221586,7 +221627,7 @@ function countDescendants(node, trace, opts) {
|
|
|
221586
221627
|
return nChild;
|
|
221587
221628
|
}
|
|
221588
221629
|
|
|
221589
|
-
},{"../../components/colorscale":378,"../../constants/numerical":479,"../../lib":503,"../pie/calc":
|
|
221630
|
+
},{"../../components/colorscale":378,"../../constants/numerical":479,"../../lib":503,"../pie/calc":903,"d3-hierarchy":115,"fast-isnumeric":190}],1052:[function(_dereq_,module,exports){
|
|
221590
221631
|
'use strict';
|
|
221591
221632
|
|
|
221592
221633
|
module.exports = {
|
|
@@ -221606,7 +221647,7 @@ module.exports = {
|
|
|
221606
221647
|
]
|
|
221607
221648
|
};
|
|
221608
221649
|
|
|
221609
|
-
},{}],
|
|
221650
|
+
},{}],1053:[function(_dereq_,module,exports){
|
|
221610
221651
|
'use strict';
|
|
221611
221652
|
|
|
221612
221653
|
var Lib = _dereq_('../../lib');
|
|
@@ -221686,7 +221727,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
221686
221727
|
traceOut._length = null;
|
|
221687
221728
|
};
|
|
221688
221729
|
|
|
221689
|
-
},{"../../components/colorscale":378,"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"./attributes":
|
|
221730
|
+
},{"../../components/colorscale":378,"../../lib":503,"../../plots/domain":584,"../bar/defaults":652,"./attributes":1049}],1054:[function(_dereq_,module,exports){
|
|
221690
221731
|
'use strict';
|
|
221691
221732
|
|
|
221692
221733
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -222002,7 +222043,7 @@ function makeEventData(pt, trace, keys) {
|
|
|
222002
222043
|
return out;
|
|
222003
222044
|
}
|
|
222004
222045
|
|
|
222005
|
-
},{"../../components/fx":406,"../../components/fx/helpers":402,"../../lib":503,"../../lib/events":492,"../../registry":638,"../pie/helpers":
|
|
222046
|
+
},{"../../components/fx":406,"../../components/fx/helpers":402,"../../lib":503,"../../lib/events":492,"../../registry":638,"../pie/helpers":906,"./helpers":1055,"@plotly/d3":58}],1055:[function(_dereq_,module,exports){
|
|
222006
222047
|
'use strict';
|
|
222007
222048
|
|
|
222008
222049
|
var Lib = _dereq_('../../lib');
|
|
@@ -222179,7 +222220,7 @@ exports.formatPercent = function(v, separators) {
|
|
|
222179
222220
|
return tx;
|
|
222180
222221
|
};
|
|
222181
222222
|
|
|
222182
|
-
},{"../../components/color":366,"../../lib":503,"../../lib/setcursor":524,"../pie/helpers":
|
|
222223
|
+
},{"../../components/color":366,"../../lib":503,"../../lib/setcursor":524,"../pie/helpers":906}],1056:[function(_dereq_,module,exports){
|
|
222183
222224
|
'use strict';
|
|
222184
222225
|
|
|
222185
222226
|
module.exports = {
|
|
@@ -222211,7 +222252,7 @@ module.exports = {
|
|
|
222211
222252
|
}
|
|
222212
222253
|
};
|
|
222213
222254
|
|
|
222214
|
-
},{"../scatter/marker_colorbar":
|
|
222255
|
+
},{"../scatter/marker_colorbar":945,"./attributes":1049,"./base_plot":1050,"./calc":1051,"./defaults":1053,"./layout_attributes":1057,"./layout_defaults":1058,"./plot":1059,"./style":1060}],1057:[function(_dereq_,module,exports){
|
|
222215
222256
|
'use strict';
|
|
222216
222257
|
|
|
222217
222258
|
module.exports = {
|
|
@@ -222242,7 +222283,7 @@ module.exports = {
|
|
|
222242
222283
|
}
|
|
222243
222284
|
};
|
|
222244
222285
|
|
|
222245
|
-
},{}],
|
|
222286
|
+
},{}],1058:[function(_dereq_,module,exports){
|
|
222246
222287
|
'use strict';
|
|
222247
222288
|
|
|
222248
222289
|
var Lib = _dereq_('../../lib');
|
|
@@ -222256,7 +222297,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
222256
222297
|
coerce('extendsunburstcolors');
|
|
222257
222298
|
};
|
|
222258
222299
|
|
|
222259
|
-
},{"../../lib":503,"./layout_attributes":
|
|
222300
|
+
},{"../../lib":503,"./layout_attributes":1057}],1059:[function(_dereq_,module,exports){
|
|
222260
222301
|
'use strict';
|
|
222261
222302
|
|
|
222262
222303
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -222891,7 +222932,7 @@ function getCoords(r, angle) {
|
|
|
222891
222932
|
return [r * Math.sin(angle), -r * Math.cos(angle)];
|
|
222892
222933
|
}
|
|
222893
222934
|
|
|
222894
|
-
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../bar/style":662,"../bar/uniform_text":664,"../pie/helpers":
|
|
222935
|
+
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../bar/style":662,"../bar/uniform_text":664,"../pie/helpers":906,"../pie/plot":910,"./constants":1052,"./fx":1054,"./helpers":1055,"./style":1060,"@plotly/d3":58,"d3-hierarchy":115,"d3-interpolate":116}],1060:[function(_dereq_,module,exports){
|
|
222895
222936
|
'use strict';
|
|
222896
222937
|
|
|
222897
222938
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -222934,7 +222975,7 @@ module.exports = {
|
|
|
222934
222975
|
styleOne: styleOne
|
|
222935
222976
|
};
|
|
222936
222977
|
|
|
222937
|
-
},{"../../components/color":366,"../../lib":503,"../bar/uniform_text":664,"@plotly/d3":58}],
|
|
222978
|
+
},{"../../components/color":366,"../../lib":503,"../bar/uniform_text":664,"@plotly/d3":58}],1061:[function(_dereq_,module,exports){
|
|
222938
222979
|
'use strict';
|
|
222939
222980
|
|
|
222940
222981
|
var Color = _dereq_('../../components/color');
|
|
@@ -223244,7 +223285,7 @@ colorScaleAttrs('', {
|
|
|
223244
223285
|
attrs.x.editType = attrs.y.editType = attrs.z.editType = 'calc+clearAxisTypes';
|
|
223245
223286
|
attrs.transforms = undefined;
|
|
223246
223287
|
|
|
223247
|
-
},{"../../components/color":366,"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633}],
|
|
223288
|
+
},{"../../components/color":366,"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633}],1062:[function(_dereq_,module,exports){
|
|
223248
223289
|
'use strict';
|
|
223249
223290
|
|
|
223250
223291
|
var colorscaleCalc = _dereq_('../../components/colorscale/calc');
|
|
@@ -223267,7 +223308,7 @@ module.exports = function calc(gd, trace) {
|
|
|
223267
223308
|
}
|
|
223268
223309
|
};
|
|
223269
223310
|
|
|
223270
|
-
},{"../../components/colorscale/calc":374}],
|
|
223311
|
+
},{"../../components/colorscale/calc":374}],1063:[function(_dereq_,module,exports){
|
|
223271
223312
|
'use strict';
|
|
223272
223313
|
|
|
223273
223314
|
var createSurface = _dereq_('../../../stackgl_modules').gl_surface3d;
|
|
@@ -223958,7 +223999,7 @@ function createSurfaceTrace(scene, data) {
|
|
|
223958
223999
|
|
|
223959
224000
|
module.exports = createSurfaceTrace;
|
|
223960
224001
|
|
|
223961
|
-
},{"../../../stackgl_modules":
|
|
224002
|
+
},{"../../../stackgl_modules":1124,"../../components/colorscale":378,"../../lib":503,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../heatmap/find_empties":798,"../heatmap/interp2d":801}],1064:[function(_dereq_,module,exports){
|
|
223962
224003
|
'use strict';
|
|
223963
224004
|
|
|
223964
224005
|
var Registry = _dereq_('../../registry');
|
|
@@ -224127,7 +224168,7 @@ module.exports = {
|
|
|
224127
224168
|
opacityscaleDefaults: opacityscaleDefaults
|
|
224128
224169
|
};
|
|
224129
224170
|
|
|
224130
|
-
},{"../../components/colorscale/defaults":376,"../../lib":503,"../../registry":638,"./attributes":
|
|
224171
|
+
},{"../../components/colorscale/defaults":376,"../../lib":503,"../../registry":638,"./attributes":1061}],1065:[function(_dereq_,module,exports){
|
|
224131
224172
|
'use strict';
|
|
224132
224173
|
|
|
224133
224174
|
module.exports = {
|
|
@@ -224162,7 +224203,7 @@ module.exports = {
|
|
|
224162
224203
|
}
|
|
224163
224204
|
};
|
|
224164
224205
|
|
|
224165
|
-
},{"../../plots/gl3d":598,"./attributes":
|
|
224206
|
+
},{"../../plots/gl3d":598,"./attributes":1061,"./calc":1062,"./convert":1063,"./defaults":1064}],1066:[function(_dereq_,module,exports){
|
|
224166
224207
|
'use strict';
|
|
224167
224208
|
|
|
224168
224209
|
var annAttrs = _dereq_('../../components/annotations/attributes');
|
|
@@ -224332,7 +224373,7 @@ var attrs = module.exports = overrideAll({
|
|
|
224332
224373
|
}, 'calc', 'from-root');
|
|
224333
224374
|
attrs.transforms = undefined;
|
|
224334
224375
|
|
|
224335
|
-
},{"../../components/annotations/attributes":349,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/cartesian/axis_format_attributes":557,"../../plots/domain":584,"../../plots/font_attributes":585}],
|
|
224376
|
+
},{"../../components/annotations/attributes":349,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/cartesian/axis_format_attributes":557,"../../plots/domain":584,"../../plots/font_attributes":585}],1067:[function(_dereq_,module,exports){
|
|
224336
224377
|
'use strict';
|
|
224337
224378
|
|
|
224338
224379
|
var getModuleCalcData = _dereq_('../../plots/get_data').getModuleCalcData;
|
|
@@ -224356,7 +224397,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
224356
224397
|
}
|
|
224357
224398
|
};
|
|
224358
224399
|
|
|
224359
|
-
},{"../../plots/get_data":593,"./plot":
|
|
224400
|
+
},{"../../plots/get_data":593,"./plot":1074}],1068:[function(_dereq_,module,exports){
|
|
224360
224401
|
'use strict';
|
|
224361
224402
|
|
|
224362
224403
|
var wrap = _dereq_('../../lib/gup').wrap;
|
|
@@ -224367,7 +224408,7 @@ module.exports = function calc() {
|
|
|
224367
224408
|
return wrap({});
|
|
224368
224409
|
};
|
|
224369
224410
|
|
|
224370
|
-
},{"../../lib/gup":500}],
|
|
224411
|
+
},{"../../lib/gup":500}],1069:[function(_dereq_,module,exports){
|
|
224371
224412
|
'use strict';
|
|
224372
224413
|
|
|
224373
224414
|
module.exports = {
|
|
@@ -224419,7 +224460,7 @@ module.exports = {
|
|
|
224419
224460
|
}
|
|
224420
224461
|
};
|
|
224421
224462
|
|
|
224422
|
-
},{}],
|
|
224463
|
+
},{}],1070:[function(_dereq_,module,exports){
|
|
224423
224464
|
'use strict';
|
|
224424
224465
|
|
|
224425
224466
|
var c = _dereq_('./constants');
|
|
@@ -224606,7 +224647,7 @@ function makeIdentity() {
|
|
|
224606
224647
|
};
|
|
224607
224648
|
}
|
|
224608
224649
|
|
|
224609
|
-
},{"../../lib/extend":493,"./constants":
|
|
224650
|
+
},{"../../lib/extend":493,"./constants":1069,"fast-isnumeric":190}],1071:[function(_dereq_,module,exports){
|
|
224610
224651
|
'use strict';
|
|
224611
224652
|
|
|
224612
224653
|
var extendFlat = _dereq_('../../lib/extend').extendFlat;
|
|
@@ -224681,7 +224722,7 @@ function rowFromTo(d) {
|
|
|
224681
224722
|
return [rowFrom, rowTo];
|
|
224682
224723
|
}
|
|
224683
224724
|
|
|
224684
|
-
},{"../../lib/extend":493}],
|
|
224725
|
+
},{"../../lib/extend":493}],1072:[function(_dereq_,module,exports){
|
|
224685
224726
|
'use strict';
|
|
224686
224727
|
|
|
224687
224728
|
var Lib = _dereq_('../../lib');
|
|
@@ -224738,7 +224779,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
224738
224779
|
traceOut._length = null;
|
|
224739
224780
|
};
|
|
224740
224781
|
|
|
224741
|
-
},{"../../lib":503,"../../plots/domain":584,"./attributes":
|
|
224782
|
+
},{"../../lib":503,"../../plots/domain":584,"./attributes":1066}],1073:[function(_dereq_,module,exports){
|
|
224742
224783
|
'use strict';
|
|
224743
224784
|
|
|
224744
224785
|
module.exports = {
|
|
@@ -224761,7 +224802,7 @@ module.exports = {
|
|
|
224761
224802
|
}
|
|
224762
224803
|
};
|
|
224763
224804
|
|
|
224764
|
-
},{"./attributes":
|
|
224805
|
+
},{"./attributes":1066,"./base_plot":1067,"./calc":1068,"./defaults":1072,"./plot":1074}],1074:[function(_dereq_,module,exports){
|
|
224765
224806
|
'use strict';
|
|
224766
224807
|
|
|
224767
224808
|
var c = _dereq_('./constants');
|
|
@@ -225652,7 +225693,7 @@ function allRowsHeight(rowBlock) {
|
|
|
225652
225693
|
function getBlock(d) {return d.rowBlocks[d.page];}
|
|
225653
225694
|
function getRow(l, i) {return l.rows[i - l.firstRowIndex];}
|
|
225654
225695
|
|
|
225655
|
-
},{"../../components/color":366,"../../components/drawing":388,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"./constants":
|
|
225696
|
+
},{"../../components/color":366,"../../components/drawing":388,"../../lib":503,"../../lib/gup":500,"../../lib/svg_text_utils":529,"./constants":1069,"./data_preparation_helper":1070,"./data_split_helpers":1071,"@plotly/d3":58}],1075:[function(_dereq_,module,exports){
|
|
225656
225697
|
'use strict';
|
|
225657
225698
|
|
|
225658
225699
|
var hovertemplateAttrs = _dereq_('../../plots/template_attributes').hovertemplateAttrs;
|
|
@@ -225907,7 +225948,7 @@ module.exports = {
|
|
|
225907
225948
|
domain: domainAttrs({name: 'treemap', trace: true, editType: 'calc'}),
|
|
225908
225949
|
};
|
|
225909
225950
|
|
|
225910
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":
|
|
225951
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plots/domain":584,"../../plots/template_attributes":633,"../pie/attributes":901,"../sunburst/attributes":1049,"./constants":1078}],1076:[function(_dereq_,module,exports){
|
|
225911
225952
|
'use strict';
|
|
225912
225953
|
|
|
225913
225954
|
var plots = _dereq_('../../plots/plots');
|
|
@@ -225922,7 +225963,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
|
|
|
225922
225963
|
plots.cleanBasePlot(exports.name, newFullData, newFullLayout, oldFullData, oldFullLayout);
|
|
225923
225964
|
};
|
|
225924
225965
|
|
|
225925
|
-
},{"../../plots/plots":619}],
|
|
225966
|
+
},{"../../plots/plots":619}],1077:[function(_dereq_,module,exports){
|
|
225926
225967
|
'use strict';
|
|
225927
225968
|
|
|
225928
225969
|
var calc = _dereq_('../sunburst/calc');
|
|
@@ -225935,7 +225976,7 @@ exports.crossTraceCalc = function(gd) {
|
|
|
225935
225976
|
return calc._runCrossTraceCalc('treemap', gd);
|
|
225936
225977
|
};
|
|
225937
225978
|
|
|
225938
|
-
},{"../sunburst/calc":
|
|
225979
|
+
},{"../sunburst/calc":1051}],1078:[function(_dereq_,module,exports){
|
|
225939
225980
|
'use strict';
|
|
225940
225981
|
|
|
225941
225982
|
module.exports = {
|
|
@@ -225956,7 +225997,7 @@ module.exports = {
|
|
|
225956
225997
|
gapWithPathbar: 1 // i.e. one pixel
|
|
225957
225998
|
};
|
|
225958
225999
|
|
|
225959
|
-
},{}],
|
|
226000
|
+
},{}],1079:[function(_dereq_,module,exports){
|
|
225960
226001
|
'use strict';
|
|
225961
226002
|
|
|
225962
226003
|
var Lib = _dereq_('../../lib');
|
|
@@ -226071,7 +226112,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
226071
226112
|
traceOut._length = null;
|
|
226072
226113
|
};
|
|
226073
226114
|
|
|
226074
|
-
},{"../../components/color":366,"../../components/colorscale":378,"../../lib":503,"../../plots/domain":584,"../bar/constants":650,"../bar/defaults":652,"./attributes":
|
|
226115
|
+
},{"../../components/color":366,"../../components/colorscale":378,"../../lib":503,"../../plots/domain":584,"../bar/constants":650,"../bar/defaults":652,"./attributes":1075}],1080:[function(_dereq_,module,exports){
|
|
226075
226116
|
'use strict';
|
|
226076
226117
|
|
|
226077
226118
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -226142,7 +226183,7 @@ module.exports = function _plot(gd, cdmodule, transitionOpts, makeOnCompleteCall
|
|
|
226142
226183
|
}
|
|
226143
226184
|
};
|
|
226144
226185
|
|
|
226145
|
-
},{"../bar/style":662,"../bar/uniform_text":664,"../sunburst/helpers":
|
|
226186
|
+
},{"../bar/style":662,"../bar/uniform_text":664,"../sunburst/helpers":1055,"./plot_one":1089,"@plotly/d3":58}],1081:[function(_dereq_,module,exports){
|
|
226146
226187
|
'use strict';
|
|
226147
226188
|
|
|
226148
226189
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -226312,7 +226353,7 @@ module.exports = function drawAncestors(gd, cd, entry, slices, opts) {
|
|
|
226312
226353
|
});
|
|
226313
226354
|
};
|
|
226314
226355
|
|
|
226315
|
-
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":
|
|
226356
|
+
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":1054,"../sunburst/helpers":1055,"./constants":1078,"./partition":1087,"./style":1090,"@plotly/d3":58}],1082:[function(_dereq_,module,exports){
|
|
226316
226357
|
'use strict';
|
|
226317
226358
|
|
|
226318
226359
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -226523,7 +226564,7 @@ module.exports = function drawDescendants(gd, cd, entry, slices, opts) {
|
|
|
226523
226564
|
return nextOfPrevEntry;
|
|
226524
226565
|
};
|
|
226525
226566
|
|
|
226526
|
-
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":
|
|
226567
|
+
},{"../../components/drawing":388,"../../lib":503,"../../lib/svg_text_utils":529,"../sunburst/fx":1054,"../sunburst/helpers":1055,"../sunburst/plot":1059,"./constants":1078,"./partition":1087,"./style":1090,"@plotly/d3":58}],1083:[function(_dereq_,module,exports){
|
|
226527
226568
|
'use strict';
|
|
226528
226569
|
|
|
226529
226570
|
module.exports = function flipTree(node, size, opts) {
|
|
@@ -226561,7 +226602,7 @@ module.exports = function flipTree(node, size, opts) {
|
|
|
226561
226602
|
}
|
|
226562
226603
|
};
|
|
226563
226604
|
|
|
226564
|
-
},{}],
|
|
226605
|
+
},{}],1084:[function(_dereq_,module,exports){
|
|
226565
226606
|
'use strict';
|
|
226566
226607
|
|
|
226567
226608
|
module.exports = {
|
|
@@ -226593,7 +226634,7 @@ module.exports = {
|
|
|
226593
226634
|
}
|
|
226594
226635
|
};
|
|
226595
226636
|
|
|
226596
|
-
},{"../scatter/marker_colorbar":
|
|
226637
|
+
},{"../scatter/marker_colorbar":945,"./attributes":1075,"./base_plot":1076,"./calc":1077,"./defaults":1079,"./layout_attributes":1085,"./layout_defaults":1086,"./plot":1088,"./style":1090}],1085:[function(_dereq_,module,exports){
|
|
226597
226638
|
'use strict';
|
|
226598
226639
|
|
|
226599
226640
|
module.exports = {
|
|
@@ -226624,7 +226665,7 @@ module.exports = {
|
|
|
226624
226665
|
}
|
|
226625
226666
|
};
|
|
226626
226667
|
|
|
226627
|
-
},{}],
|
|
226668
|
+
},{}],1086:[function(_dereq_,module,exports){
|
|
226628
226669
|
'use strict';
|
|
226629
226670
|
|
|
226630
226671
|
var Lib = _dereq_('../../lib');
|
|
@@ -226638,7 +226679,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
|
|
|
226638
226679
|
coerce('extendtreemapcolors');
|
|
226639
226680
|
};
|
|
226640
226681
|
|
|
226641
|
-
},{"../../lib":503,"./layout_attributes":
|
|
226682
|
+
},{"../../lib":503,"./layout_attributes":1085}],1087:[function(_dereq_,module,exports){
|
|
226642
226683
|
'use strict';
|
|
226643
226684
|
|
|
226644
226685
|
var d3Hierarchy = _dereq_('d3-hierarchy');
|
|
@@ -226702,7 +226743,7 @@ function getTilingMethod(key, squarifyratio) {
|
|
|
226702
226743
|
}
|
|
226703
226744
|
}
|
|
226704
226745
|
|
|
226705
|
-
},{"./flip_tree":
|
|
226746
|
+
},{"./flip_tree":1083,"d3-hierarchy":115}],1088:[function(_dereq_,module,exports){
|
|
226706
226747
|
'use strict';
|
|
226707
226748
|
|
|
226708
226749
|
var draw = _dereq_('./draw');
|
|
@@ -226715,7 +226756,7 @@ module.exports = function _plot(gd, cdmodule, transitionOpts, makeOnCompleteCall
|
|
|
226715
226756
|
});
|
|
226716
226757
|
};
|
|
226717
226758
|
|
|
226718
|
-
},{"./draw":
|
|
226759
|
+
},{"./draw":1080,"./draw_descendants":1082}],1089:[function(_dereq_,module,exports){
|
|
226719
226760
|
'use strict';
|
|
226720
226761
|
|
|
226721
226762
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -227307,7 +227348,7 @@ module.exports = function plotOne(gd, cd, element, transitionOpts, drawDescendan
|
|
|
227307
227348
|
}
|
|
227308
227349
|
};
|
|
227309
227350
|
|
|
227310
|
-
},{"../../lib":503,"../bar/constants":650,"../bar/plot":659,"../bar/uniform_text":664,"../sunburst/helpers":
|
|
227351
|
+
},{"../../lib":503,"../bar/constants":650,"../bar/plot":659,"../bar/uniform_text":664,"../sunburst/helpers":1055,"./constants":1078,"./draw_ancestors":1081,"@plotly/d3":58,"d3-interpolate":116}],1090:[function(_dereq_,module,exports){
|
|
227311
227352
|
'use strict';
|
|
227312
227353
|
|
|
227313
227354
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -227401,7 +227442,7 @@ module.exports = {
|
|
|
227401
227442
|
styleOne: styleOne
|
|
227402
227443
|
};
|
|
227403
227444
|
|
|
227404
|
-
},{"../../components/color":366,"../../lib":503,"../bar/uniform_text":664,"../sunburst/helpers":
|
|
227445
|
+
},{"../../components/color":366,"../../lib":503,"../bar/uniform_text":664,"../sunburst/helpers":1055,"@plotly/d3":58}],1091:[function(_dereq_,module,exports){
|
|
227405
227446
|
'use strict';
|
|
227406
227447
|
|
|
227407
227448
|
var boxAttrs = _dereq_('../box/attributes');
|
|
@@ -227659,7 +227700,7 @@ module.exports = {
|
|
|
227659
227700
|
}
|
|
227660
227701
|
};
|
|
227661
227702
|
|
|
227662
|
-
},{"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../box/attributes":673}],
|
|
227703
|
+
},{"../../lib/extend":493,"../../plots/cartesian/axis_format_attributes":557,"../box/attributes":673}],1092:[function(_dereq_,module,exports){
|
|
227663
227704
|
'use strict';
|
|
227664
227705
|
|
|
227665
227706
|
var Lib = _dereq_('../../lib');
|
|
@@ -227827,7 +227868,7 @@ function calcSpan(trace, cdi, valAxis, bandwidth) {
|
|
|
227827
227868
|
return spanOut;
|
|
227828
227869
|
}
|
|
227829
227870
|
|
|
227830
|
-
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/axes":554,"../box/calc":674,"./helpers":
|
|
227871
|
+
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/axes":554,"../box/calc":674,"./helpers":1095}],1093:[function(_dereq_,module,exports){
|
|
227831
227872
|
'use strict';
|
|
227832
227873
|
|
|
227833
227874
|
var setPositionOffset = _dereq_('../box/cross_trace_calc').setPositionOffset;
|
|
@@ -227862,7 +227903,7 @@ module.exports = function crossTraceCalc(gd, plotinfo) {
|
|
|
227862
227903
|
}
|
|
227863
227904
|
};
|
|
227864
227905
|
|
|
227865
|
-
},{"../box/cross_trace_calc":675}],
|
|
227906
|
+
},{"../box/cross_trace_calc":675}],1094:[function(_dereq_,module,exports){
|
|
227866
227907
|
'use strict';
|
|
227867
227908
|
|
|
227868
227909
|
var Lib = _dereq_('../../lib');
|
|
@@ -227915,7 +227956,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
227915
227956
|
if(!meanLineVisible) traceOut.meanline = {visible: false};
|
|
227916
227957
|
};
|
|
227917
227958
|
|
|
227918
|
-
},{"../../components/color":366,"../../lib":503,"../box/defaults":676,"./attributes":
|
|
227959
|
+
},{"../../components/color":366,"../../lib":503,"../box/defaults":676,"./attributes":1091}],1095:[function(_dereq_,module,exports){
|
|
227919
227960
|
'use strict';
|
|
227920
227961
|
|
|
227921
227962
|
var Lib = _dereq_('../../lib');
|
|
@@ -227980,7 +228021,7 @@ exports.getKdeValue = function(calcItem, trace, valueDist) {
|
|
|
227980
228021
|
|
|
227981
228022
|
exports.extractVal = function(o) { return o.v; };
|
|
227982
228023
|
|
|
227983
|
-
},{"../../lib":503}],
|
|
228024
|
+
},{"../../lib":503}],1096:[function(_dereq_,module,exports){
|
|
227984
228025
|
'use strict';
|
|
227985
228026
|
|
|
227986
228027
|
var Lib = _dereq_('../../lib');
|
|
@@ -228087,7 +228128,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode, opts) {
|
|
|
228087
228128
|
return closeData;
|
|
228088
228129
|
};
|
|
228089
228130
|
|
|
228090
|
-
},{"../../lib":503,"../../plots/cartesian/axes":554,"../box/hover":678,"./helpers":
|
|
228131
|
+
},{"../../lib":503,"../../plots/cartesian/axes":554,"../box/hover":678,"./helpers":1095}],1097:[function(_dereq_,module,exports){
|
|
228091
228132
|
'use strict';
|
|
228092
228133
|
|
|
228093
228134
|
module.exports = {
|
|
@@ -228121,7 +228162,7 @@ module.exports = {
|
|
|
228121
228162
|
}
|
|
228122
228163
|
};
|
|
228123
228164
|
|
|
228124
|
-
},{"../../plots/cartesian":568,"../box/defaults":676,"../box/select":683,"../scatter/style":
|
|
228165
|
+
},{"../../plots/cartesian":568,"../box/defaults":676,"../box/select":683,"../scatter/style":951,"./attributes":1091,"./calc":1092,"./cross_trace_calc":1093,"./defaults":1094,"./hover":1096,"./layout_attributes":1098,"./layout_defaults":1099,"./plot":1100,"./style":1101}],1098:[function(_dereq_,module,exports){
|
|
228125
228166
|
'use strict';
|
|
228126
228167
|
|
|
228127
228168
|
var boxLayoutAttrs = _dereq_('../box/layout_attributes');
|
|
@@ -228155,7 +228196,7 @@ module.exports = {
|
|
|
228155
228196
|
})
|
|
228156
228197
|
};
|
|
228157
228198
|
|
|
228158
|
-
},{"../../lib":503,"../box/layout_attributes":680}],
|
|
228199
|
+
},{"../../lib":503,"../box/layout_attributes":680}],1099:[function(_dereq_,module,exports){
|
|
228159
228200
|
'use strict';
|
|
228160
228201
|
|
|
228161
228202
|
var Lib = _dereq_('../../lib');
|
|
@@ -228169,7 +228210,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
|
|
|
228169
228210
|
boxLayoutDefaults._supply(layoutIn, layoutOut, fullData, coerce, 'violin');
|
|
228170
228211
|
};
|
|
228171
228212
|
|
|
228172
|
-
},{"../../lib":503,"../box/layout_defaults":681,"./layout_attributes":
|
|
228213
|
+
},{"../../lib":503,"../box/layout_defaults":681,"./layout_attributes":1098}],1100:[function(_dereq_,module,exports){
|
|
228173
228214
|
'use strict';
|
|
228174
228215
|
|
|
228175
228216
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -228351,7 +228392,7 @@ module.exports = function plot(gd, plotinfo, cdViolins, violinLayer) {
|
|
|
228351
228392
|
});
|
|
228352
228393
|
};
|
|
228353
228394
|
|
|
228354
|
-
},{"../../components/drawing":388,"../../lib":503,"../box/plot":682,"../scatter/line_points":
|
|
228395
|
+
},{"../../components/drawing":388,"../../lib":503,"../box/plot":682,"../scatter/line_points":941,"./helpers":1095,"@plotly/d3":58}],1101:[function(_dereq_,module,exports){
|
|
228355
228396
|
'use strict';
|
|
228356
228397
|
|
|
228357
228398
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -228398,7 +228439,7 @@ module.exports = function style(gd) {
|
|
|
228398
228439
|
});
|
|
228399
228440
|
};
|
|
228400
228441
|
|
|
228401
|
-
},{"../../components/color":366,"../scatter/style":
|
|
228442
|
+
},{"../../components/color":366,"../scatter/style":951,"@plotly/d3":58}],1102:[function(_dereq_,module,exports){
|
|
228402
228443
|
'use strict';
|
|
228403
228444
|
|
|
228404
228445
|
var colorScaleAttrs = _dereq_('../../components/colorscale/attributes');
|
|
@@ -228473,7 +228514,7 @@ colorScaleAttrs('', {
|
|
|
228473
228514
|
attrs.x.editType = attrs.y.editType = attrs.z.editType = attrs.value.editType = 'calc+clearAxisTypes';
|
|
228474
228515
|
attrs.transforms = undefined;
|
|
228475
228516
|
|
|
228476
|
-
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../isosurface/attributes":862,"../surface/attributes":
|
|
228517
|
+
},{"../../components/colorscale/attributes":373,"../../lib/extend":493,"../../plot_api/edit_types":536,"../../plots/attributes":550,"../isosurface/attributes":862,"../surface/attributes":1061}],1103:[function(_dereq_,module,exports){
|
|
228477
228518
|
'use strict';
|
|
228478
228519
|
|
|
228479
228520
|
var createMesh = _dereq_('../../../stackgl_modules').gl_mesh3d;
|
|
@@ -228598,7 +228639,7 @@ function createVolumeTrace(scene, data) {
|
|
|
228598
228639
|
|
|
228599
228640
|
module.exports = createVolumeTrace;
|
|
228600
228641
|
|
|
228601
|
-
},{"../../../stackgl_modules":
|
|
228642
|
+
},{"../../../stackgl_modules":1124,"../../components/colorscale":378,"../../lib/gl_format_color":499,"../../lib/str2rgbarray":528,"../../plots/gl3d/zip3":609,"../isosurface/convert":864}],1104:[function(_dereq_,module,exports){
|
|
228602
228643
|
'use strict';
|
|
228603
228644
|
|
|
228604
228645
|
var Lib = _dereq_('../../lib');
|
|
@@ -228616,7 +228657,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
|
|
|
228616
228657
|
opacityscaleDefaults(traceIn, traceOut, layout, coerce);
|
|
228617
228658
|
};
|
|
228618
228659
|
|
|
228619
|
-
},{"../../lib":503,"../isosurface/defaults":865,"../surface/defaults":
|
|
228660
|
+
},{"../../lib":503,"../isosurface/defaults":865,"../surface/defaults":1064,"./attributes":1102}],1105:[function(_dereq_,module,exports){
|
|
228620
228661
|
'use strict';
|
|
228621
228662
|
|
|
228622
228663
|
module.exports = {
|
|
@@ -228643,7 +228684,7 @@ module.exports = {
|
|
|
228643
228684
|
}
|
|
228644
228685
|
};
|
|
228645
228686
|
|
|
228646
|
-
},{"../../plots/gl3d":598,"../isosurface/calc":863,"./attributes":
|
|
228687
|
+
},{"../../plots/gl3d":598,"../isosurface/calc":863,"./attributes":1102,"./convert":1103,"./defaults":1104}],1106:[function(_dereq_,module,exports){
|
|
228647
228688
|
'use strict';
|
|
228648
228689
|
|
|
228649
228690
|
var barAttrs = _dereq_('../bar/attributes');
|
|
@@ -228800,7 +228841,7 @@ module.exports = {
|
|
|
228800
228841
|
alignmentgroup: barAttrs.alignmentgroup
|
|
228801
228842
|
};
|
|
228802
228843
|
|
|
228803
|
-
},{"../../components/color":366,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":
|
|
228844
|
+
},{"../../components/color":366,"../../lib/extend":493,"../../plots/attributes":550,"../../plots/cartesian/axis_format_attributes":557,"../../plots/template_attributes":633,"../bar/attributes":648,"../scatter/attributes":927,"./constants":1108}],1107:[function(_dereq_,module,exports){
|
|
228804
228845
|
'use strict';
|
|
228805
228846
|
|
|
228806
228847
|
var Axes = _dereq_('../../plots/cartesian/axes');
|
|
@@ -228910,7 +228951,7 @@ module.exports = function calc(gd, trace) {
|
|
|
228910
228951
|
return cd;
|
|
228911
228952
|
};
|
|
228912
228953
|
|
|
228913
|
-
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":
|
|
228954
|
+
},{"../../constants/numerical":479,"../../lib":503,"../../plots/cartesian/align_period":551,"../../plots/cartesian/axes":554,"../scatter/calc_selection":929}],1108:[function(_dereq_,module,exports){
|
|
228914
228955
|
'use strict';
|
|
228915
228956
|
|
|
228916
228957
|
module.exports = {
|
|
@@ -228921,7 +228962,7 @@ module.exports = {
|
|
|
228921
228962
|
]
|
|
228922
228963
|
};
|
|
228923
228964
|
|
|
228924
|
-
},{}],
|
|
228965
|
+
},{}],1109:[function(_dereq_,module,exports){
|
|
228925
228966
|
'use strict';
|
|
228926
228967
|
|
|
228927
228968
|
var setGroupPositions = _dereq_('../bar/cross_trace_calc').setGroupPositions;
|
|
@@ -228986,7 +229027,7 @@ module.exports = function crossTraceCalc(gd, plotinfo) {
|
|
|
228986
229027
|
}
|
|
228987
229028
|
};
|
|
228988
229029
|
|
|
228989
|
-
},{"../bar/cross_trace_calc":651}],
|
|
229030
|
+
},{"../bar/cross_trace_calc":651}],1110:[function(_dereq_,module,exports){
|
|
228990
229031
|
'use strict';
|
|
228991
229032
|
|
|
228992
229033
|
var Lib = _dereq_('../../lib');
|
|
@@ -229089,7 +229130,7 @@ module.exports = {
|
|
|
229089
229130
|
crossTraceDefaults: crossTraceDefaults
|
|
229090
229131
|
};
|
|
229091
229132
|
|
|
229092
|
-
},{"../../components/color":366,"../../constants/delta.js":473,"../../lib":503,"../bar/defaults":652,"../scatter/period_defaults":
|
|
229133
|
+
},{"../../components/color":366,"../../constants/delta.js":473,"../../lib":503,"../bar/defaults":652,"../scatter/period_defaults":947,"../scatter/xy_defaults":954,"./attributes":1106}],1111:[function(_dereq_,module,exports){
|
|
229093
229134
|
'use strict';
|
|
229094
229135
|
|
|
229095
229136
|
module.exports = function eventData(out, pt /* , trace, cd, pointNumber */) {
|
|
@@ -229108,7 +229149,7 @@ module.exports = function eventData(out, pt /* , trace, cd, pointNumber */) {
|
|
|
229108
229149
|
return out;
|
|
229109
229150
|
};
|
|
229110
229151
|
|
|
229111
|
-
},{}],
|
|
229152
|
+
},{}],1112:[function(_dereq_,module,exports){
|
|
229112
229153
|
'use strict';
|
|
229113
229154
|
|
|
229114
229155
|
var hoverLabelText = _dereq_('../../plots/cartesian/axes').hoverLabelText;
|
|
@@ -229196,7 +229237,7 @@ function getTraceColor(trace, di) {
|
|
|
229196
229237
|
else if(opacity(mlc) && mlw) return mlc;
|
|
229197
229238
|
}
|
|
229198
229239
|
|
|
229199
|
-
},{"../../components/color":366,"../../constants/delta.js":473,"../../plots/cartesian/axes":554,"../bar/hover":655}],
|
|
229240
|
+
},{"../../components/color":366,"../../constants/delta.js":473,"../../plots/cartesian/axes":554,"../bar/hover":655}],1113:[function(_dereq_,module,exports){
|
|
229200
229241
|
'use strict';
|
|
229201
229242
|
|
|
229202
229243
|
module.exports = {
|
|
@@ -229230,7 +229271,7 @@ module.exports = {
|
|
|
229230
229271
|
}
|
|
229231
229272
|
};
|
|
229232
229273
|
|
|
229233
|
-
},{"../../plots/cartesian":568,"../bar/select":660,"./attributes":
|
|
229274
|
+
},{"../../plots/cartesian":568,"../bar/select":660,"./attributes":1106,"./calc":1107,"./cross_trace_calc":1109,"./defaults":1110,"./event_data":1111,"./hover":1112,"./layout_attributes":1114,"./layout_defaults":1115,"./plot":1116,"./style":1117}],1114:[function(_dereq_,module,exports){
|
|
229234
229275
|
'use strict';
|
|
229235
229276
|
|
|
229236
229277
|
module.exports = {
|
|
@@ -229271,7 +229312,7 @@ module.exports = {
|
|
|
229271
229312
|
}
|
|
229272
229313
|
};
|
|
229273
229314
|
|
|
229274
|
-
},{}],
|
|
229315
|
+
},{}],1115:[function(_dereq_,module,exports){
|
|
229275
229316
|
'use strict';
|
|
229276
229317
|
|
|
229277
229318
|
var Lib = _dereq_('../../lib');
|
|
@@ -229300,7 +229341,7 @@ module.exports = function(layoutIn, layoutOut, fullData) {
|
|
|
229300
229341
|
}
|
|
229301
229342
|
};
|
|
229302
229343
|
|
|
229303
|
-
},{"../../lib":503,"./layout_attributes":
|
|
229344
|
+
},{"../../lib":503,"./layout_attributes":1114}],1116:[function(_dereq_,module,exports){
|
|
229304
229345
|
'use strict';
|
|
229305
229346
|
|
|
229306
229347
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -229423,7 +229464,7 @@ function getXY(di, xa, ya, isHorizontal) {
|
|
|
229423
229464
|
return isHorizontal ? [s, p] : [p, s];
|
|
229424
229465
|
}
|
|
229425
229466
|
|
|
229426
|
-
},{"../../components/drawing":388,"../../constants/numerical":479,"../../lib":503,"../bar/plot":659,"../bar/uniform_text":664,"@plotly/d3":58}],
|
|
229467
|
+
},{"../../components/drawing":388,"../../constants/numerical":479,"../../lib":503,"../bar/plot":659,"../bar/uniform_text":664,"@plotly/d3":58}],1117:[function(_dereq_,module,exports){
|
|
229427
229468
|
'use strict';
|
|
229428
229469
|
|
|
229429
229470
|
var d3 = _dereq_('@plotly/d3');
|
|
@@ -229476,7 +229517,7 @@ module.exports = {
|
|
|
229476
229517
|
style: style
|
|
229477
229518
|
};
|
|
229478
229519
|
|
|
229479
|
-
},{"../../components/color":366,"../../components/drawing":388,"../../constants/interactions":478,"../bar/style":662,"../bar/uniform_text":664,"@plotly/d3":58}],
|
|
229520
|
+
},{"../../components/color":366,"../../components/drawing":388,"../../constants/interactions":478,"../bar/style":662,"../bar/uniform_text":664,"@plotly/d3":58}],1118:[function(_dereq_,module,exports){
|
|
229480
229521
|
'use strict';
|
|
229481
229522
|
|
|
229482
229523
|
var Axes = _dereq_('../plots/cartesian/axes');
|
|
@@ -229928,7 +229969,7 @@ function last(array, indices) {
|
|
|
229928
229969
|
return array[indices[indices.length - 1]];
|
|
229929
229970
|
}
|
|
229930
229971
|
|
|
229931
|
-
},{"../constants/numerical":479,"../lib":503,"../plot_api/plot_schema":542,"../plots/cartesian/axes":554,"./helpers":
|
|
229972
|
+
},{"../constants/numerical":479,"../lib":503,"../plot_api/plot_schema":542,"../plots/cartesian/axes":554,"./helpers":1121}],1119:[function(_dereq_,module,exports){
|
|
229932
229973
|
'use strict';
|
|
229933
229974
|
|
|
229934
229975
|
var Lib = _dereq_('../lib');
|
|
@@ -230253,7 +230294,7 @@ function getFilterFunc(opts, d2c, targetCalendar) {
|
|
|
230253
230294
|
}
|
|
230254
230295
|
}
|
|
230255
230296
|
|
|
230256
|
-
},{"../constants/filter_ops":475,"../lib":503,"../plots/cartesian/axes":554,"../registry":638,"./helpers":
|
|
230297
|
+
},{"../constants/filter_ops":475,"../lib":503,"../plots/cartesian/axes":554,"../registry":638,"./helpers":1121}],1120:[function(_dereq_,module,exports){
|
|
230257
230298
|
'use strict';
|
|
230258
230299
|
|
|
230259
230300
|
var Lib = _dereq_('../lib');
|
|
@@ -230524,7 +230565,7 @@ function transformOne(trace, state) {
|
|
|
230524
230565
|
return newData;
|
|
230525
230566
|
}
|
|
230526
230567
|
|
|
230527
|
-
},{"../lib":503,"../plot_api/plot_schema":542,"../plots/plots":619,"./helpers":
|
|
230568
|
+
},{"../lib":503,"../plot_api/plot_schema":542,"../plots/plots":619,"./helpers":1121}],1121:[function(_dereq_,module,exports){
|
|
230528
230569
|
'use strict';
|
|
230529
230570
|
|
|
230530
230571
|
exports.pointsAccessorFunction = function(transforms, opts) {
|
|
@@ -230542,7 +230583,7 @@ exports.pointsAccessorFunction = function(transforms, opts) {
|
|
|
230542
230583
|
return originalPointsAccessor;
|
|
230543
230584
|
};
|
|
230544
230585
|
|
|
230545
|
-
},{}],
|
|
230586
|
+
},{}],1122:[function(_dereq_,module,exports){
|
|
230546
230587
|
'use strict';
|
|
230547
230588
|
|
|
230548
230589
|
var Lib = _dereq_('../lib');
|
|
@@ -230698,13 +230739,13 @@ function getSortFunc(opts, d2c) {
|
|
|
230698
230739
|
}
|
|
230699
230740
|
}
|
|
230700
230741
|
|
|
230701
|
-
},{"../constants/numerical":479,"../lib":503,"../plots/cartesian/axes":554,"./helpers":
|
|
230742
|
+
},{"../constants/numerical":479,"../lib":503,"../plots/cartesian/axes":554,"./helpers":1121}],1123:[function(_dereq_,module,exports){
|
|
230702
230743
|
'use strict';
|
|
230703
230744
|
|
|
230704
230745
|
// package version injected by `npm run preprocess`
|
|
230705
|
-
exports.version = '2.
|
|
230746
|
+
exports.version = '2.11.1';
|
|
230706
230747
|
|
|
230707
|
-
},{}],
|
|
230748
|
+
},{}],1124:[function(_dereq_,module,exports){
|
|
230708
230749
|
(function (global){(function (){
|
|
230709
230750
|
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.stackgl = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof _dereq_&&_dereq_;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof _dereq_&&_dereq_,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_glvis_,module,exports){
|
|
230710
230751
|
'use strict'
|
|
@@ -265882,7 +265923,7 @@ var robustSum = _glvis_("robust-sum")
|
|
|
265882
265923
|
var robustScale = _glvis_("robust-scale")
|
|
265883
265924
|
var compress = _glvis_("robust-compress")
|
|
265884
265925
|
|
|
265885
|
-
var NUM_EXPANDED =
|
|
265926
|
+
var NUM_EXPANDED = 6
|
|
265886
265927
|
|
|
265887
265928
|
function determinant_2(sum, scale, prod, compress) {
|
|
265888
265929
|
return function robustDeterminant2(m) {
|
|
@@ -265896,10 +265937,24 @@ function determinant_3(sum, scale, prod, compress) {
|
|
|
265896
265937
|
}
|
|
265897
265938
|
}
|
|
265898
265939
|
|
|
265940
|
+
function determinant_4(sum, scale, prod, compress) {
|
|
265941
|
+
return function robustDeterminant4(m) {
|
|
265942
|
+
return compress(sum(sum(scale(sum(scale(sum(prod(m[2][2], m[3][3]), prod(-m[2][3], m[3][2])), m[1][1]), sum(scale(sum(prod(m[2][1], m[3][3]), prod(-m[2][3], m[3][1])), -m[1][2]), scale(sum(prod(m[2][1], m[3][2]), prod(-m[2][2], m[3][1])), m[1][3]))), m[0][0]), scale(sum(scale(sum(prod(m[2][2], m[3][3]), prod(-m[2][3], m[3][2])), m[1][0]), sum(scale(sum(prod(m[2][0], m[3][3]), prod(-m[2][3], m[3][0])), -m[1][2]), scale(sum(prod(m[2][0], m[3][2]), prod(-m[2][2], m[3][0])), m[1][3]))), -m[0][1])), sum(scale(sum(scale(sum(prod(m[2][1], m[3][3]), prod(-m[2][3], m[3][1])), m[1][0]), sum(scale(sum(prod(m[2][0], m[3][3]), prod(-m[2][3], m[3][0])), -m[1][1]), scale(sum(prod(m[2][0], m[3][1]), prod(-m[2][1], m[3][0])), m[1][3]))), m[0][2]), scale(sum(scale(sum(prod(m[2][1], m[3][2]), prod(-m[2][2], m[3][1])), m[1][0]), sum(scale(sum(prod(m[2][0], m[3][2]), prod(-m[2][2], m[3][0])), -m[1][1]), scale(sum(prod(m[2][0], m[3][1]), prod(-m[2][1], m[3][0])), m[1][2]))), -m[0][3]))))
|
|
265943
|
+
}
|
|
265944
|
+
}
|
|
265945
|
+
|
|
265946
|
+
function determinant_5(sum, scale, prod, compress) {
|
|
265947
|
+
return function robustDeterminant5(m) {
|
|
265948
|
+
return compress(sum(sum(scale(sum(sum(scale(sum(scale(sum(prod(m[3][3], m[4][4]), prod(-m[3][4], m[4][3])), m[2][2]), sum(scale(sum(prod(m[3][2], m[4][4]), prod(-m[3][4], m[4][2])), -m[2][3]), scale(sum(prod(m[3][2], m[4][3]), prod(-m[3][3], m[4][2])), m[2][4]))), m[1][1]), scale(sum(scale(sum(prod(m[3][3], m[4][4]), prod(-m[3][4], m[4][3])), m[2][1]), sum(scale(sum(prod(m[3][1], m[4][4]), prod(-m[3][4], m[4][1])), -m[2][3]), scale(sum(prod(m[3][1], m[4][3]), prod(-m[3][3], m[4][1])), m[2][4]))), -m[1][2])), sum(scale(sum(scale(sum(prod(m[3][2], m[4][4]), prod(-m[3][4], m[4][2])), m[2][1]), sum(scale(sum(prod(m[3][1], m[4][4]), prod(-m[3][4], m[4][1])), -m[2][2]), scale(sum(prod(m[3][1], m[4][2]), prod(-m[3][2], m[4][1])), m[2][4]))), m[1][3]), scale(sum(scale(sum(prod(m[3][2], m[4][3]), prod(-m[3][3], m[4][2])), m[2][1]), sum(scale(sum(prod(m[3][1], m[4][3]), prod(-m[3][3], m[4][1])), -m[2][2]), scale(sum(prod(m[3][1], m[4][2]), prod(-m[3][2], m[4][1])), m[2][3]))), -m[1][4]))), m[0][0]), scale(sum(sum(scale(sum(scale(sum(prod(m[3][3], m[4][4]), prod(-m[3][4], m[4][3])), m[2][2]), sum(scale(sum(prod(m[3][2], m[4][4]), prod(-m[3][4], m[4][2])), -m[2][3]), scale(sum(prod(m[3][2], m[4][3]), prod(-m[3][3], m[4][2])), m[2][4]))), m[1][0]), scale(sum(scale(sum(prod(m[3][3], m[4][4]), prod(-m[3][4], m[4][3])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][4]), prod(-m[3][4], m[4][0])), -m[2][3]), scale(sum(prod(m[3][0], m[4][3]), prod(-m[3][3], m[4][0])), m[2][4]))), -m[1][2])), sum(scale(sum(scale(sum(prod(m[3][2], m[4][4]), prod(-m[3][4], m[4][2])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][4]), prod(-m[3][4], m[4][0])), -m[2][2]), scale(sum(prod(m[3][0], m[4][2]), prod(-m[3][2], m[4][0])), m[2][4]))), m[1][3]), scale(sum(scale(sum(prod(m[3][2], m[4][3]), prod(-m[3][3], m[4][2])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][3]), prod(-m[3][3], m[4][0])), -m[2][2]), scale(sum(prod(m[3][0], m[4][2]), prod(-m[3][2], m[4][0])), m[2][3]))), -m[1][4]))), -m[0][1])), sum(scale(sum(sum(scale(sum(scale(sum(prod(m[3][3], m[4][4]), prod(-m[3][4], m[4][3])), m[2][1]), sum(scale(sum(prod(m[3][1], m[4][4]), prod(-m[3][4], m[4][1])), -m[2][3]), scale(sum(prod(m[3][1], m[4][3]), prod(-m[3][3], m[4][1])), m[2][4]))), m[1][0]), scale(sum(scale(sum(prod(m[3][3], m[4][4]), prod(-m[3][4], m[4][3])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][4]), prod(-m[3][4], m[4][0])), -m[2][3]), scale(sum(prod(m[3][0], m[4][3]), prod(-m[3][3], m[4][0])), m[2][4]))), -m[1][1])), sum(scale(sum(scale(sum(prod(m[3][1], m[4][4]), prod(-m[3][4], m[4][1])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][4]), prod(-m[3][4], m[4][0])), -m[2][1]), scale(sum(prod(m[3][0], m[4][1]), prod(-m[3][1], m[4][0])), m[2][4]))), m[1][3]), scale(sum(scale(sum(prod(m[3][1], m[4][3]), prod(-m[3][3], m[4][1])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][3]), prod(-m[3][3], m[4][0])), -m[2][1]), scale(sum(prod(m[3][0], m[4][1]), prod(-m[3][1], m[4][0])), m[2][3]))), -m[1][4]))), m[0][2]), sum(scale(sum(sum(scale(sum(scale(sum(prod(m[3][2], m[4][4]), prod(-m[3][4], m[4][2])), m[2][1]), sum(scale(sum(prod(m[3][1], m[4][4]), prod(-m[3][4], m[4][1])), -m[2][2]), scale(sum(prod(m[3][1], m[4][2]), prod(-m[3][2], m[4][1])), m[2][4]))), m[1][0]), scale(sum(scale(sum(prod(m[3][2], m[4][4]), prod(-m[3][4], m[4][2])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][4]), prod(-m[3][4], m[4][0])), -m[2][2]), scale(sum(prod(m[3][0], m[4][2]), prod(-m[3][2], m[4][0])), m[2][4]))), -m[1][1])), sum(scale(sum(scale(sum(prod(m[3][1], m[4][4]), prod(-m[3][4], m[4][1])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][4]), prod(-m[3][4], m[4][0])), -m[2][1]), scale(sum(prod(m[3][0], m[4][1]), prod(-m[3][1], m[4][0])), m[2][4]))), m[1][2]), scale(sum(scale(sum(prod(m[3][1], m[4][2]), prod(-m[3][2], m[4][1])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][2]), prod(-m[3][2], m[4][0])), -m[2][1]), scale(sum(prod(m[3][0], m[4][1]), prod(-m[3][1], m[4][0])), m[2][2]))), -m[1][4]))), -m[0][3]), scale(sum(sum(scale(sum(scale(sum(prod(m[3][2], m[4][3]), prod(-m[3][3], m[4][2])), m[2][1]), sum(scale(sum(prod(m[3][1], m[4][3]), prod(-m[3][3], m[4][1])), -m[2][2]), scale(sum(prod(m[3][1], m[4][2]), prod(-m[3][2], m[4][1])), m[2][3]))), m[1][0]), scale(sum(scale(sum(prod(m[3][2], m[4][3]), prod(-m[3][3], m[4][2])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][3]), prod(-m[3][3], m[4][0])), -m[2][2]), scale(sum(prod(m[3][0], m[4][2]), prod(-m[3][2], m[4][0])), m[2][3]))), -m[1][1])), sum(scale(sum(scale(sum(prod(m[3][1], m[4][3]), prod(-m[3][3], m[4][1])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][3]), prod(-m[3][3], m[4][0])), -m[2][1]), scale(sum(prod(m[3][0], m[4][1]), prod(-m[3][1], m[4][0])), m[2][3]))), m[1][2]), scale(sum(scale(sum(prod(m[3][1], m[4][2]), prod(-m[3][2], m[4][1])), m[2][0]), sum(scale(sum(prod(m[3][0], m[4][2]), prod(-m[3][2], m[4][0])), -m[2][1]), scale(sum(prod(m[3][0], m[4][1]), prod(-m[3][1], m[4][0])), m[2][2]))), -m[1][3]))), m[0][4])))))
|
|
265949
|
+
}
|
|
265950
|
+
}
|
|
265951
|
+
|
|
265899
265952
|
function compileDeterminant(n) {
|
|
265900
265953
|
var fn =
|
|
265901
265954
|
n === 2 ? determinant_2 :
|
|
265902
|
-
n === 3 ? determinant_3 :
|
|
265955
|
+
n === 3 ? determinant_3 :
|
|
265956
|
+
n === 4 ? determinant_4 :
|
|
265957
|
+
n === 5 ? determinant_5 : undefined
|
|
265903
265958
|
return fn(robustSum, robustScale, twoProduct, compress)
|
|
265904
265959
|
}
|
|
265905
265960
|
|
|
@@ -265908,7 +265963,7 @@ var CACHE = [
|
|
|
265908
265963
|
function robustDeterminant1(m) { return [m[0][0]] }
|
|
265909
265964
|
]
|
|
265910
265965
|
|
|
265911
|
-
function proc(det0, det1, det2, det3, CACHE, gen) {
|
|
265966
|
+
function proc(det0, det1, det2, det3, det4, det5, CACHE, gen) {
|
|
265912
265967
|
return function robustDeterminant(m) {
|
|
265913
265968
|
switch (m.length) {
|
|
265914
265969
|
case 0:
|
|
@@ -265919,6 +265974,10 @@ function proc(det0, det1, det2, det3, CACHE, gen) {
|
|
|
265919
265974
|
return det2(m)
|
|
265920
265975
|
case 3:
|
|
265921
265976
|
return det3(m)
|
|
265977
|
+
case 4:
|
|
265978
|
+
return det4(m)
|
|
265979
|
+
case 5:
|
|
265980
|
+
return det5(m)
|
|
265922
265981
|
}
|
|
265923
265982
|
var det = CACHE[m.length]
|
|
265924
265983
|
if (!det) det = CACHE[m.length] = gen(m.length)
|
|
@@ -266162,13 +266221,16 @@ generateInSphereTest()
|
|
|
266162
266221
|
|
|
266163
266222
|
var determinant = _glvis_("robust-determinant")
|
|
266164
266223
|
|
|
266165
|
-
var NUM_EXPAND =
|
|
266224
|
+
var NUM_EXPAND = 6
|
|
266166
266225
|
|
|
266167
266226
|
function generateSolver(n) {
|
|
266168
266227
|
var fn =
|
|
266169
|
-
n === 2 ? solve2d :
|
|
266228
|
+
n === 2 ? solve2d :
|
|
266229
|
+
n === 3 ? solve3d :
|
|
266230
|
+
n === 4 ? solve4d :
|
|
266231
|
+
n === 5 ? solve5d : solve6d
|
|
266170
266232
|
|
|
266171
|
-
if(n <
|
|
266233
|
+
if(n < 6) {
|
|
266172
266234
|
return fn(determinant[n])
|
|
266173
266235
|
}
|
|
266174
266236
|
return fn(determinant)
|
|
@@ -266194,18 +266256,38 @@ function solve3d(det) {
|
|
|
266194
266256
|
}
|
|
266195
266257
|
}
|
|
266196
266258
|
|
|
266259
|
+
function solve4d(det) {
|
|
266260
|
+
return function robustLinearSolve4d(A, b) {
|
|
266261
|
+
return [det([[+b[0], +A[0][1], +A[0][2], +A[0][3]], [+b[1], +A[1][1], +A[1][2], +A[1][3]], [+b[2], +A[2][1], +A[2][2], +A[2][3]], [+b[3], +A[3][1], +A[3][2], +A[3][3]]]), det([[+A[0][0], +b[0], +A[0][2], +A[0][3]], [+A[1][0], +b[1], +A[1][2], +A[1][3]], [+A[2][0], +b[2], +A[2][2], +A[2][3]], [+A[3][0], +b[3], +A[3][2], +A[3][3]]]), det([[+A[0][0], +A[0][1], +b[0], +A[0][3]], [+A[1][0], +A[1][1], +b[1], +A[1][3]], [+A[2][0], +A[2][1], +b[2], +A[2][3]], [+A[3][0], +A[3][1], +b[3], +A[3][3]]]), det([[+A[0][0], +A[0][1], +A[0][2], +b[0]], [+A[1][0], +A[1][1], +A[1][2], +b[1]], [+A[2][0], +A[2][1], +A[2][2], +b[2]], [+A[3][0], +A[3][1], +A[3][2], +b[3]]]), det(A)]
|
|
266262
|
+
}
|
|
266263
|
+
}
|
|
266264
|
+
|
|
266265
|
+
function solve5d(det) {
|
|
266266
|
+
return function robustLinearSolve5d(A, b) {
|
|
266267
|
+
return [det([[+b[0], +A[0][1], +A[0][2], +A[0][3], +A[0][4]], [+b[1], +A[1][1], +A[1][2], +A[1][3], +A[1][4]], [+b[2], +A[2][1], +A[2][2], +A[2][3], +A[2][4]], [+b[3], +A[3][1], +A[3][2], +A[3][3], +A[3][4]], [+b[4], +A[4][1], +A[4][2], +A[4][3], +A[4][4]]]), det([[+A[0][0], +b[0], +A[0][2], +A[0][3], +A[0][4]], [+A[1][0], +b[1], +A[1][2], +A[1][3], +A[1][4]], [+A[2][0], +b[2], +A[2][2], +A[2][3], +A[2][4]], [+A[3][0], +b[3], +A[3][2], +A[3][3], +A[3][4]], [+A[4][0], +b[4], +A[4][2], +A[4][3], +A[4][4]]]), det([[+A[0][0], +A[0][1], +b[0], +A[0][3], +A[0][4]], [+A[1][0], +A[1][1], +b[1], +A[1][3], +A[1][4]], [+A[2][0], +A[2][1], +b[2], +A[2][3], +A[2][4]], [+A[3][0], +A[3][1], +b[3], +A[3][3], +A[3][4]], [+A[4][0], +A[4][1], +b[4], +A[4][3], +A[4][4]]]), det([[+A[0][0], +A[0][1], +A[0][2], +b[0], +A[0][4]], [+A[1][0], +A[1][1], +A[1][2], +b[1], +A[1][4]], [+A[2][0], +A[2][1], +A[2][2], +b[2], +A[2][4]], [+A[3][0], +A[3][1], +A[3][2], +b[3], +A[3][4]], [+A[4][0], +A[4][1], +A[4][2], +b[4], +A[4][4]]]), det([[+A[0][0], +A[0][1], +A[0][2], +A[0][3], +b[0]], [+A[1][0], +A[1][1], +A[1][2], +A[1][3], +b[1]], [+A[2][0], +A[2][1], +A[2][2], +A[2][3], +b[2]], [+A[3][0], +A[3][1], +A[3][2], +A[3][3], +b[3]], [+A[4][0], +A[4][1], +A[4][2], +A[4][3], +b[4]]]), det(A)]
|
|
266268
|
+
}
|
|
266269
|
+
}
|
|
266270
|
+
|
|
266271
|
+
function solve6d(det) {
|
|
266272
|
+
return function robustLinearSolve6d(A, b) {
|
|
266273
|
+
return [det([[+b[0], +A[0][1], +A[0][2], +A[0][3], +A[0][4], +A[0][5]], [+b[1], +A[1][1], +A[1][2], +A[1][3], +A[1][4], +A[1][5]], [+b[2], +A[2][1], +A[2][2], +A[2][3], +A[2][4], +A[2][5]], [+b[3], +A[3][1], +A[3][2], +A[3][3], +A[3][4], +A[3][5]], [+b[4], +A[4][1], +A[4][2], +A[4][3], +A[4][4], +A[4][5]], [+b[5], +A[5][1], +A[5][2], +A[5][3], +A[5][4], +A[5][5]]]), det([[+A[0][0], +b[0], +A[0][2], +A[0][3], +A[0][4], +A[0][5]], [+A[1][0], +b[1], +A[1][2], +A[1][3], +A[1][4], +A[1][5]], [+A[2][0], +b[2], +A[2][2], +A[2][3], +A[2][4], +A[2][5]], [+A[3][0], +b[3], +A[3][2], +A[3][3], +A[3][4], +A[3][5]], [+A[4][0], +b[4], +A[4][2], +A[4][3], +A[4][4], +A[4][5]], [+A[5][0], +b[5], +A[5][2], +A[5][3], +A[5][4], +A[5][5]]]), det([[+A[0][0], +A[0][1], +b[0], +A[0][3], +A[0][4], +A[0][5]], [+A[1][0], +A[1][1], +b[1], +A[1][3], +A[1][4], +A[1][5]], [+A[2][0], +A[2][1], +b[2], +A[2][3], +A[2][4], +A[2][5]], [+A[3][0], +A[3][1], +b[3], +A[3][3], +A[3][4], +A[3][5]], [+A[4][0], +A[4][1], +b[4], +A[4][3], +A[4][4], +A[4][5]], [+A[5][0], +A[5][1], +b[5], +A[5][3], +A[5][4], +A[5][5]]]), det([[+A[0][0], +A[0][1], +A[0][2], +b[0], +A[0][4], +A[0][5]], [+A[1][0], +A[1][1], +A[1][2], +b[1], +A[1][4], +A[1][5]], [+A[2][0], +A[2][1], +A[2][2], +b[2], +A[2][4], +A[2][5]], [+A[3][0], +A[3][1], +A[3][2], +b[3], +A[3][4], +A[3][5]], [+A[4][0], +A[4][1], +A[4][2], +b[4], +A[4][4], +A[4][5]], [+A[5][0], +A[5][1], +A[5][2], +b[5], +A[5][4], +A[5][5]]]), det([[+A[0][0], +A[0][1], +A[0][2], +A[0][3], +b[0], +A[0][5]], [+A[1][0], +A[1][1], +A[1][2], +A[1][3], +b[1], +A[1][5]], [+A[2][0], +A[2][1], +A[2][2], +A[2][3], +b[2], +A[2][5]], [+A[3][0], +A[3][1], +A[3][2], +A[3][3], +b[3], +A[3][5]], [+A[4][0], +A[4][1], +A[4][2], +A[4][3], +b[4], +A[4][5]], [+A[5][0], +A[5][1], +A[5][2], +A[5][3], +b[5], +A[5][5]]]), det([[+A[0][0], +A[0][1], +A[0][2], +A[0][3], +A[0][4], +b[0]], [+A[1][0], +A[1][1], +A[1][2], +A[1][3], +A[1][4], +b[1]], [+A[2][0], +A[2][1], +A[2][2], +A[2][3], +A[2][4], +b[2]], [+A[3][0], +A[3][1], +A[3][2], +A[3][3], +A[3][4], +b[3]], [+A[4][0], +A[4][1], +A[4][2], +A[4][3], +A[4][4], +b[4]], [+A[5][0], +A[5][1], +A[5][2], +A[5][3], +A[5][4], +b[5]]]), det(A)]
|
|
266274
|
+
}
|
|
266275
|
+
}
|
|
266276
|
+
|
|
266197
266277
|
var CACHE = [
|
|
266198
266278
|
robustLinearSolve0d,
|
|
266199
266279
|
robustLinearSolve1d
|
|
266200
266280
|
]
|
|
266201
266281
|
|
|
266202
|
-
function proc(s0, s1, s2, s3, CACHE, g) {
|
|
266282
|
+
function proc(s0, s1, s2, s3, s4, s5, CACHE, g) {
|
|
266203
266283
|
return function dispatchLinearSolve(A, b) {
|
|
266204
266284
|
switch (A.length) {
|
|
266205
266285
|
case 0: return s0(A, b);
|
|
266206
266286
|
case 1: return s1(A, b);
|
|
266207
266287
|
case 2: return s2(A, b);
|
|
266208
266288
|
case 3: return s3(A, b);
|
|
266289
|
+
case 4: return s4(A, b);
|
|
266290
|
+
case 5: return s5(A, b);
|
|
266209
266291
|
}
|
|
266210
266292
|
var s = CACHE[A.length];
|
|
266211
266293
|
if (!s) s = CACHE[A.length] = g(A.length);
|
|
@@ -266214,7 +266296,7 @@ function proc(s0, s1, s2, s3, CACHE, g) {
|
|
|
266214
266296
|
}
|
|
266215
266297
|
|
|
266216
266298
|
function generateDispatch() {
|
|
266217
|
-
while(CACHE.length
|
|
266299
|
+
while(CACHE.length < NUM_EXPAND) {
|
|
266218
266300
|
CACHE.push(generateSolver(CACHE.length))
|
|
266219
266301
|
}
|
|
266220
266302
|
module.exports = proc.apply(undefined, CACHE.concat([CACHE, generateSolver]))
|