@loaders.gl/draco 4.1.0-alpha.1 → 4.1.0-alpha.3

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.
@@ -1,1985 +1,117 @@
1
- var $jscomp = $jscomp || {};
2
- $jscomp.scope = {};
3
- $jscomp.arrayIteratorImpl = function (k) {
4
- var n = 0;
5
- return function () {
6
- return n < k.length ? {
7
- done: !1,
8
- value: k[n++]
9
- } : {
10
- done: !0
11
- };
12
- };
13
- };
14
- $jscomp.arrayIterator = function (k) {
15
- return {
16
- next: $jscomp.arrayIteratorImpl(k)
17
- };
18
- };
19
- $jscomp.makeIterator = function (k) {
20
- var n = "undefined" != typeof Symbol && Symbol.iterator && k[Symbol.iterator];
21
- return n ? n.call(k) : $jscomp.arrayIterator(k);
22
- };
23
- $jscomp.ASSUME_ES5 = !1;
24
- $jscomp.ASSUME_NO_NATIVE_MAP = !1;
25
- $jscomp.ASSUME_NO_NATIVE_SET = !1;
26
- $jscomp.SIMPLE_FROUND_POLYFILL = !1;
27
- $jscomp.ISOLATE_POLYFILLS = !1;
28
- $jscomp.FORCE_POLYFILL_PROMISE = !1;
29
- $jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = !1;
30
- $jscomp.getGlobal = function (k) {
31
- k = ["object" == typeof globalThis && globalThis, k, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof global && global];
32
- for (var n = 0; n < k.length; ++n) {
33
- var l = k[n];
34
- if (l && l.Math == Math) return l;
35
- }
36
- throw Error("Cannot find global object");
37
- };
38
- $jscomp.global = $jscomp.getGlobal(this);
39
- $jscomp.defineProperty = $jscomp.ASSUME_ES5 || "function" == typeof Object.defineProperties ? Object.defineProperty : function (k, n, l) {
40
- if (k == Array.prototype || k == Object.prototype) return k;
41
- k[n] = l.value;
42
- return k;
43
- };
44
- $jscomp.IS_SYMBOL_NATIVE = "function" === typeof Symbol && "symbol" === typeof Symbol("x");
45
- $jscomp.TRUST_ES6_POLYFILLS = !$jscomp.ISOLATE_POLYFILLS || $jscomp.IS_SYMBOL_NATIVE;
46
- $jscomp.polyfills = {};
47
- $jscomp.propertyToPolyfillSymbol = {};
48
- $jscomp.POLYFILL_PREFIX = "$jscp$";
49
- var $jscomp$lookupPolyfilledValue = function (k, n) {
50
- var l = $jscomp.propertyToPolyfillSymbol[n];
51
- if (null == l) return k[n];
52
- l = k[l];
53
- return void 0 !== l ? l : k[n];
54
- };
55
- $jscomp.polyfill = function (k, n, l, p) {
56
- n && ($jscomp.ISOLATE_POLYFILLS ? $jscomp.polyfillIsolated(k, n, l, p) : $jscomp.polyfillUnisolated(k, n, l, p));
57
- };
58
- $jscomp.polyfillUnisolated = function (k, n, l, p) {
59
- l = $jscomp.global;
60
- k = k.split(".");
61
- for (p = 0; p < k.length - 1; p++) {
62
- var h = k[p];
63
- if (!(h in l)) return;
64
- l = l[h];
65
- }
66
- k = k[k.length - 1];
67
- p = l[k];
68
- n = n(p);
69
- n != p && null != n && $jscomp.defineProperty(l, k, {
70
- configurable: !0,
71
- writable: !0,
72
- value: n
73
- });
74
- };
75
- $jscomp.polyfillIsolated = function (k, n, l, p) {
76
- var h = k.split(".");
77
- k = 1 === h.length;
78
- p = h[0];
79
- p = !k && p in $jscomp.polyfills ? $jscomp.polyfills : $jscomp.global;
80
- for (var A = 0; A < h.length - 1; A++) {
81
- var f = h[A];
82
- if (!(f in p)) return;
83
- p = p[f];
84
- }
85
- h = h[h.length - 1];
86
- l = $jscomp.IS_SYMBOL_NATIVE && "es6" === l ? p[h] : null;
87
- n = n(l);
88
- null != n && (k ? $jscomp.defineProperty($jscomp.polyfills, h, {
89
- configurable: !0,
90
- writable: !0,
91
- value: n
92
- }) : n !== l && (void 0 === $jscomp.propertyToPolyfillSymbol[h] && (l = 1E9 * Math.random() >>> 0, $jscomp.propertyToPolyfillSymbol[h] = $jscomp.IS_SYMBOL_NATIVE ? $jscomp.global.Symbol(h) : $jscomp.POLYFILL_PREFIX + l + "$" + h), $jscomp.defineProperty(p, $jscomp.propertyToPolyfillSymbol[h], {
93
- configurable: !0,
94
- writable: !0,
95
- value: n
96
- })));
97
- };
98
- $jscomp.polyfill("Promise", function (k) {
99
- function n() {
100
- this.batch_ = null;
101
- }
102
- function l(f) {
103
- return f instanceof h ? f : new h(function (q, v) {
104
- q(f);
105
- });
106
- }
107
- if (k && (!($jscomp.FORCE_POLYFILL_PROMISE || $jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION && "undefined" === typeof $jscomp.global.PromiseRejectionEvent) || !$jscomp.global.Promise || -1 === $jscomp.global.Promise.toString().indexOf("[native code]"))) return k;
108
- n.prototype.asyncExecute = function (f) {
109
- if (null == this.batch_) {
110
- this.batch_ = [];
111
- var q = this;
112
- this.asyncExecuteFunction(function () {
113
- q.executeBatch_();
114
- });
115
- }
116
- this.batch_.push(f);
117
- };
118
- var p = $jscomp.global.setTimeout;
119
- n.prototype.asyncExecuteFunction = function (f) {
120
- p(f, 0);
121
- };
122
- n.prototype.executeBatch_ = function () {
123
- for (; this.batch_ && this.batch_.length;) {
124
- var f = this.batch_;
125
- this.batch_ = [];
126
- for (var q = 0; q < f.length; ++q) {
127
- var v = f[q];
128
- f[q] = null;
129
- try {
130
- v();
131
- } catch (z) {
132
- this.asyncThrow_(z);
133
- }
134
- }
135
- }
136
- this.batch_ = null;
137
- };
138
- n.prototype.asyncThrow_ = function (f) {
139
- this.asyncExecuteFunction(function () {
140
- throw f;
141
- });
142
- };
143
- var h = function (f) {
144
- this.state_ = 0;
145
- this.result_ = void 0;
146
- this.onSettledCallbacks_ = [];
147
- this.isRejectionHandled_ = !1;
148
- var q = this.createResolveAndReject_();
149
- try {
150
- f(q.resolve, q.reject);
151
- } catch (v) {
152
- q.reject(v);
153
- }
154
- };
155
- h.prototype.createResolveAndReject_ = function () {
156
- function f(z) {
157
- return function (O) {
158
- v || (v = !0, z.call(q, O));
159
- };
160
- }
161
- var q = this,
162
- v = !1;
163
- return {
164
- resolve: f(this.resolveTo_),
165
- reject: f(this.reject_)
166
- };
167
- };
168
- h.prototype.resolveTo_ = function (f) {
169
- if (f === this) this.reject_(new TypeError("A Promise cannot resolve to itself"));else if (f instanceof h) this.settleSameAsPromise_(f);else {
170
- a: switch (typeof f) {
171
- case "object":
172
- var q = null != f;
173
- break a;
174
- case "function":
175
- q = !0;
176
- break a;
177
- default:
178
- q = !1;
179
- }
180
- q ? this.resolveToNonPromiseObj_(f) : this.fulfill_(f);
181
- }
182
- };
183
- h.prototype.resolveToNonPromiseObj_ = function (f) {
184
- var q = void 0;
185
- try {
186
- q = f.then;
187
- } catch (v) {
188
- this.reject_(v);
189
- return;
190
- }
191
- "function" == typeof q ? this.settleSameAsThenable_(q, f) : this.fulfill_(f);
192
- };
193
- h.prototype.reject_ = function (f) {
194
- this.settle_(2, f);
195
- };
196
- h.prototype.fulfill_ = function (f) {
197
- this.settle_(1, f);
198
- };
199
- h.prototype.settle_ = function (f, q) {
200
- if (0 != this.state_) throw Error("Cannot settle(" + f + ", " + q + "): Promise already settled in state" + this.state_);
201
- this.state_ = f;
202
- this.result_ = q;
203
- 2 === this.state_ && this.scheduleUnhandledRejectionCheck_();
204
- this.executeOnSettledCallbacks_();
205
- };
206
- h.prototype.scheduleUnhandledRejectionCheck_ = function () {
207
- var f = this;
208
- p(function () {
209
- if (f.notifyUnhandledRejection_()) {
210
- var q = $jscomp.global.console;
211
- "undefined" !== typeof q && q.error(f.result_);
212
- }
213
- }, 1);
214
- };
215
- h.prototype.notifyUnhandledRejection_ = function () {
216
- if (this.isRejectionHandled_) return !1;
217
- var f = $jscomp.global.CustomEvent,
218
- q = $jscomp.global.Event,
219
- v = $jscomp.global.dispatchEvent;
220
- if ("undefined" === typeof v) return !0;
221
- "function" === typeof f ? f = new f("unhandledrejection", {
222
- cancelable: !0
223
- }) : "function" === typeof q ? f = new q("unhandledrejection", {
224
- cancelable: !0
225
- }) : (f = $jscomp.global.document.createEvent("CustomEvent"), f.initCustomEvent("unhandledrejection", !1, !0, f));
226
- f.promise = this;
227
- f.reason = this.result_;
228
- return v(f);
229
- };
230
- h.prototype.executeOnSettledCallbacks_ = function () {
231
- if (null != this.onSettledCallbacks_) {
232
- for (var f = 0; f < this.onSettledCallbacks_.length; ++f) A.asyncExecute(this.onSettledCallbacks_[f]);
233
- this.onSettledCallbacks_ = null;
234
- }
235
- };
236
- var A = new n();
237
- h.prototype.settleSameAsPromise_ = function (f) {
238
- var q = this.createResolveAndReject_();
239
- f.callWhenSettled_(q.resolve, q.reject);
240
- };
241
- h.prototype.settleSameAsThenable_ = function (f, q) {
242
- var v = this.createResolveAndReject_();
243
- try {
244
- f.call(q, v.resolve, v.reject);
245
- } catch (z) {
246
- v.reject(z);
247
- }
248
- };
249
- h.prototype.then = function (f, q) {
250
- function v(t, x) {
251
- return "function" == typeof t ? function (D) {
252
- try {
253
- z(t(D));
254
- } catch (R) {
255
- O(R);
256
- }
257
- } : x;
258
- }
259
- var z,
260
- O,
261
- ba = new h(function (t, x) {
262
- z = t;
263
- O = x;
264
- });
265
- this.callWhenSettled_(v(f, z), v(q, O));
266
- return ba;
267
- };
268
- h.prototype.catch = function (f) {
269
- return this.then(void 0, f);
270
- };
271
- h.prototype.callWhenSettled_ = function (f, q) {
272
- function v() {
273
- switch (z.state_) {
274
- case 1:
275
- f(z.result_);
276
- break;
277
- case 2:
278
- q(z.result_);
279
- break;
280
- default:
281
- throw Error("Unexpected state: " + z.state_);
282
- }
283
- }
284
- var z = this;
285
- null == this.onSettledCallbacks_ ? A.asyncExecute(v) : this.onSettledCallbacks_.push(v);
286
- this.isRejectionHandled_ = !0;
287
- };
288
- h.resolve = l;
289
- h.reject = function (f) {
290
- return new h(function (q, v) {
291
- v(f);
292
- });
293
- };
294
- h.race = function (f) {
295
- return new h(function (q, v) {
296
- for (var z = $jscomp.makeIterator(f), O = z.next(); !O.done; O = z.next()) l(O.value).callWhenSettled_(q, v);
297
- });
298
- };
299
- h.all = function (f) {
300
- var q = $jscomp.makeIterator(f),
301
- v = q.next();
302
- return v.done ? l([]) : new h(function (z, O) {
303
- function ba(D) {
304
- return function (R) {
305
- t[D] = R;
306
- x--;
307
- 0 == x && z(t);
308
- };
309
- }
310
- var t = [],
311
- x = 0;
312
- do t.push(void 0), x++, l(v.value).callWhenSettled_(ba(t.length - 1), O), v = q.next(); while (!v.done);
313
- });
314
- };
315
- return h;
316
- }, "es6", "es3");
317
- $jscomp.owns = function (k, n) {
318
- return Object.prototype.hasOwnProperty.call(k, n);
319
- };
320
- $jscomp.assign = $jscomp.TRUST_ES6_POLYFILLS && "function" == typeof Object.assign ? Object.assign : function (k, n) {
321
- for (var l = 1; l < arguments.length; l++) {
322
- var p = arguments[l];
323
- if (p) for (var h in p) $jscomp.owns(p, h) && (k[h] = p[h]);
324
- }
325
- return k;
326
- };
327
- $jscomp.polyfill("Object.assign", function (k) {
328
- return k || $jscomp.assign;
329
- }, "es6", "es3");
330
- $jscomp.checkStringArgs = function (k, n, l) {
331
- if (null == k) throw new TypeError("The 'this' value for String.prototype." + l + " must not be null or undefined");
332
- if (n instanceof RegExp) throw new TypeError("First argument to String.prototype." + l + " must not be a regular expression");
333
- return k + "";
334
- };
335
- $jscomp.polyfill("String.prototype.startsWith", function (k) {
336
- return k ? k : function (n, l) {
337
- var p = $jscomp.checkStringArgs(this, n, "startsWith");
338
- n += "";
339
- var h = p.length,
340
- A = n.length;
341
- l = Math.max(0, Math.min(l | 0, p.length));
342
- for (var f = 0; f < A && l < h;) if (p[l++] != n[f++]) return !1;
343
- return f >= A;
344
- };
345
- }, "es6", "es3");
346
- $jscomp.polyfill("Array.prototype.copyWithin", function (k) {
347
- function n(l) {
348
- l = Number(l);
349
- return Infinity === l || -Infinity === l ? l : l | 0;
350
- }
351
- return k ? k : function (l, p, h) {
352
- var A = this.length;
353
- l = n(l);
354
- p = n(p);
355
- h = void 0 === h ? A : n(h);
356
- l = 0 > l ? Math.max(A + l, 0) : Math.min(l, A);
357
- p = 0 > p ? Math.max(A + p, 0) : Math.min(p, A);
358
- h = 0 > h ? Math.max(A + h, 0) : Math.min(h, A);
359
- if (l < p) for (; p < h;) p in this ? this[l++] = this[p++] : (delete this[l++], p++);else for (h = Math.min(h, A + p - l), l += h - p; h > p;) --h in this ? this[--l] = this[h] : delete this[--l];
360
- return this;
361
- };
362
- }, "es6", "es3");
363
- $jscomp.typedArrayCopyWithin = function (k) {
364
- return k ? k : Array.prototype.copyWithin;
365
- };
366
- $jscomp.polyfill("Int8Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
367
- $jscomp.polyfill("Uint8Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
368
- $jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
369
- $jscomp.polyfill("Int16Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
370
- $jscomp.polyfill("Uint16Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
371
- $jscomp.polyfill("Int32Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
372
- $jscomp.polyfill("Uint32Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
373
- $jscomp.polyfill("Float32Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
374
- $jscomp.polyfill("Float64Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
375
- var DracoDecoderModule = function () {
376
- var k = "undefined" !== typeof document && document.currentScript ? document.currentScript.src : void 0;
377
- "undefined" !== typeof __filename && (k = k || __filename);
378
- return function (n) {
379
- function l(e) {
380
- return a.locateFile ? a.locateFile(e, U) : U + e;
381
- }
382
- function p(e, b, c) {
383
- var d = b + c;
384
- for (c = b; e[c] && !(c >= d);) ++c;
385
- if (16 < c - b && e.buffer && ua) return ua.decode(e.subarray(b, c));
386
- for (d = ""; b < c;) {
387
- var g = e[b++];
388
- if (g & 128) {
389
- var u = e[b++] & 63;
390
- if (192 == (g & 224)) d += String.fromCharCode((g & 31) << 6 | u);else {
391
- var X = e[b++] & 63;
392
- g = 224 == (g & 240) ? (g & 15) << 12 | u << 6 | X : (g & 7) << 18 | u << 12 | X << 6 | e[b++] & 63;
393
- 65536 > g ? d += String.fromCharCode(g) : (g -= 65536, d += String.fromCharCode(55296 | g >> 10, 56320 | g & 1023));
394
- }
395
- } else d += String.fromCharCode(g);
396
- }
397
- return d;
398
- }
399
- function h(e, b) {
400
- return e ? p(ea, e, b) : "";
401
- }
402
- function A(e) {
403
- va = e;
404
- a.HEAP8 = Y = new Int8Array(e);
405
- a.HEAP16 = new Int16Array(e);
406
- a.HEAP32 = ca = new Int32Array(e);
407
- a.HEAPU8 = ea = new Uint8Array(e);
408
- a.HEAPU16 = new Uint16Array(e);
409
- a.HEAPU32 = V = new Uint32Array(e);
410
- a.HEAPF32 = new Float32Array(e);
411
- a.HEAPF64 = new Float64Array(e);
412
- }
413
- function f(e) {
414
- if (a.onAbort) a.onAbort(e);
415
- e = "Aborted(" + e + ")";
416
- da(e);
417
- wa = !0;
418
- e = new WebAssembly.RuntimeError(e + ". Build with -sASSERTIONS for more info.");
419
- ja(e);
420
- throw e;
421
- }
422
- function q(e) {
423
- try {
424
- if (e == P && fa) return new Uint8Array(fa);
425
- if (ma) return ma(e);
426
- throw "both async and sync fetching of the wasm failed";
427
- } catch (b) {
428
- f(b);
429
- }
430
- }
431
- function v() {
432
- if (!fa && (xa || ha)) {
433
- if ("function" == typeof fetch && !P.startsWith("file://")) return fetch(P, {
434
- credentials: "same-origin"
435
- }).then(function (e) {
436
- if (!e.ok) throw "failed to load wasm binary file at '" + P + "'";
437
- return e.arrayBuffer();
438
- }).catch(function () {
439
- return q(P);
440
- });
441
- if (na) return new Promise(function (e, b) {
442
- na(P, function (c) {
443
- e(new Uint8Array(c));
444
- }, b);
445
- });
446
- }
447
- return Promise.resolve().then(function () {
448
- return q(P);
449
- });
450
- }
451
- function z(e) {
452
- for (; 0 < e.length;) e.shift()(a);
453
- }
454
- function O(e) {
455
- this.excPtr = e;
456
- this.ptr = e - 24;
457
- this.set_type = function (b) {
458
- V[this.ptr + 4 >> 2] = b;
459
- };
460
- this.get_type = function () {
461
- return V[this.ptr + 4 >> 2];
462
- };
463
- this.set_destructor = function (b) {
464
- V[this.ptr + 8 >> 2] = b;
465
- };
466
- this.get_destructor = function () {
467
- return V[this.ptr + 8 >> 2];
468
- };
469
- this.set_refcount = function (b) {
470
- ca[this.ptr >> 2] = b;
471
- };
472
- this.set_caught = function (b) {
473
- Y[this.ptr + 12 >> 0] = b ? 1 : 0;
474
- };
475
- this.get_caught = function () {
476
- return 0 != Y[this.ptr + 12 >> 0];
477
- };
478
- this.set_rethrown = function (b) {
479
- Y[this.ptr + 13 >> 0] = b ? 1 : 0;
480
- };
481
- this.get_rethrown = function () {
482
- return 0 != Y[this.ptr + 13 >> 0];
483
- };
484
- this.init = function (b, c) {
485
- this.set_adjusted_ptr(0);
486
- this.set_type(b);
487
- this.set_destructor(c);
488
- this.set_refcount(0);
489
- this.set_caught(!1);
490
- this.set_rethrown(!1);
491
- };
492
- this.add_ref = function () {
493
- ca[this.ptr >> 2] += 1;
494
- };
495
- this.release_ref = function () {
496
- var b = ca[this.ptr >> 2];
497
- ca[this.ptr >> 2] = b - 1;
498
- return 1 === b;
499
- };
500
- this.set_adjusted_ptr = function (b) {
501
- V[this.ptr + 16 >> 2] = b;
502
- };
503
- this.get_adjusted_ptr = function () {
504
- return V[this.ptr + 16 >> 2];
505
- };
506
- this.get_exception_ptr = function () {
507
- if (ya(this.get_type())) return V[this.excPtr >> 2];
508
- var b = this.get_adjusted_ptr();
509
- return 0 !== b ? b : this.excPtr;
510
- };
511
- }
512
- function ba(e) {
513
- function b() {
514
- if (!ka && (ka = !0, a.calledRun = !0, !wa)) {
515
- za = !0;
516
- z(oa);
517
- Aa(a);
518
- if (a.onRuntimeInitialized) a.onRuntimeInitialized();
519
- if (a.postRun) for ("function" == typeof a.postRun && (a.postRun = [a.postRun]); a.postRun.length;) Ba.unshift(a.postRun.shift());
520
- z(Ba);
521
- }
522
- }
523
- if (!(0 < aa)) {
524
- if (a.preRun) for ("function" == typeof a.preRun && (a.preRun = [a.preRun]); a.preRun.length;) Ca.unshift(a.preRun.shift());
525
- z(Ca);
526
- 0 < aa || (a.setStatus ? (a.setStatus("Running..."), setTimeout(function () {
527
- setTimeout(function () {
528
- a.setStatus("");
529
- }, 1);
530
- b();
531
- }, 1)) : b());
532
- }
533
- }
534
- function t() {}
535
- function x(e) {
536
- return (e || t).__cache__;
537
- }
538
- function D(e, b) {
539
- var c = x(b),
540
- d = c[e];
541
- if (d) return d;
542
- d = Object.create((b || t).prototype);
543
- d.ptr = e;
544
- return c[e] = d;
545
- }
546
- function R(e) {
547
- if ("string" === typeof e) {
548
- for (var b = 0, c = 0; c < e.length; ++c) {
549
- var d = e.charCodeAt(c);
550
- 127 >= d ? b++ : 2047 >= d ? b += 2 : 55296 <= d && 57343 >= d ? (b += 4, ++c) : b += 3;
551
- }
552
- b = Array(b + 1);
553
- c = 0;
554
- d = b.length;
555
- if (0 < d) {
556
- d = c + d - 1;
557
- for (var g = 0; g < e.length; ++g) {
558
- var u = e.charCodeAt(g);
559
- if (55296 <= u && 57343 >= u) {
560
- var X = e.charCodeAt(++g);
561
- u = 65536 + ((u & 1023) << 10) | X & 1023;
562
- }
563
- if (127 >= u) {
564
- if (c >= d) break;
565
- b[c++] = u;
566
- } else {
567
- if (2047 >= u) {
568
- if (c + 1 >= d) break;
569
- b[c++] = 192 | u >> 6;
570
- } else {
571
- if (65535 >= u) {
572
- if (c + 2 >= d) break;
573
- b[c++] = 224 | u >> 12;
574
- } else {
575
- if (c + 3 >= d) break;
576
- b[c++] = 240 | u >> 18;
577
- b[c++] = 128 | u >> 12 & 63;
578
- }
579
- b[c++] = 128 | u >> 6 & 63;
580
- }
581
- b[c++] = 128 | u & 63;
582
- }
583
- }
584
- b[c] = 0;
585
- }
586
- e = r.alloc(b, Y);
587
- r.copy(b, Y, e);
588
- return e;
589
- }
590
- return e;
591
- }
592
- function pa(e) {
593
- if ("object" === typeof e) {
594
- var b = r.alloc(e, Y);
595
- r.copy(e, Y, b);
596
- return b;
597
- }
598
- return e;
599
- }
600
- function Z() {
601
- throw "cannot construct a VoidPtr, no constructor in IDL";
602
- }
603
- function S() {
604
- this.ptr = Da();
605
- x(S)[this.ptr] = this;
606
- }
607
- function Q() {
608
- this.ptr = Ea();
609
- x(Q)[this.ptr] = this;
610
- }
611
- function W() {
612
- this.ptr = Fa();
613
- x(W)[this.ptr] = this;
614
- }
615
- function w() {
616
- this.ptr = Ga();
617
- x(w)[this.ptr] = this;
618
- }
619
- function C() {
620
- this.ptr = Ha();
621
- x(C)[this.ptr] = this;
622
- }
623
- function F() {
624
- this.ptr = Ia();
625
- x(F)[this.ptr] = this;
626
- }
627
- function G() {
628
- this.ptr = Ja();
629
- x(G)[this.ptr] = this;
630
- }
631
- function E() {
632
- this.ptr = Ka();
633
- x(E)[this.ptr] = this;
634
- }
635
- function T() {
636
- this.ptr = La();
637
- x(T)[this.ptr] = this;
638
- }
639
- function B() {
640
- throw "cannot construct a Status, no constructor in IDL";
641
- }
642
- function H() {
643
- this.ptr = Ma();
644
- x(H)[this.ptr] = this;
645
- }
646
- function I() {
647
- this.ptr = Na();
648
- x(I)[this.ptr] = this;
649
- }
650
- function J() {
651
- this.ptr = Oa();
652
- x(J)[this.ptr] = this;
653
- }
654
- function K() {
655
- this.ptr = Pa();
656
- x(K)[this.ptr] = this;
657
- }
658
- function L() {
659
- this.ptr = Qa();
660
- x(L)[this.ptr] = this;
661
- }
662
- function M() {
663
- this.ptr = Ra();
664
- x(M)[this.ptr] = this;
665
- }
666
- function N() {
667
- this.ptr = Sa();
668
- x(N)[this.ptr] = this;
669
- }
670
- function y() {
671
- this.ptr = Ta();
672
- x(y)[this.ptr] = this;
673
- }
674
- function m() {
675
- this.ptr = Ua();
676
- x(m)[this.ptr] = this;
677
- }
678
- n = n || {};
679
- var a = "undefined" != typeof n ? n : {},
680
- Aa,
681
- ja;
682
- a.ready = new Promise(function (e, b) {
683
- Aa = e;
684
- ja = b;
685
- });
686
- var Va = !1,
687
- Wa = !1;
688
- a.onRuntimeInitialized = function () {
689
- Va = !0;
690
- if (Wa && "function" === typeof a.onModuleLoaded) a.onModuleLoaded(a);
691
- };
692
- a.onModuleParsed = function () {
693
- Wa = !0;
694
- if (Va && "function" === typeof a.onModuleLoaded) a.onModuleLoaded(a);
695
- };
696
- a.isVersionSupported = function (e) {
697
- if ("string" !== typeof e) return !1;
698
- e = e.split(".");
699
- return 2 > e.length || 3 < e.length ? !1 : 1 == e[0] && 0 <= e[1] && 5 >= e[1] ? !0 : 0 != e[0] || 10 < e[1] ? !1 : !0;
700
- };
701
- var Xa = Object.assign({}, a),
702
- xa = "object" == typeof window,
703
- ha = "function" == typeof importScripts,
704
- Ya = "object" == typeof process && "object" == typeof process.versions && "string" == typeof process.versions.node,
705
- U = "";
706
- if (Ya) {
707
- U = ha ? require("path").dirname(U) + "/" : __dirname + "/";
708
- if ("function" === typeof require) {
709
- var Za = require("fs");
710
- var $a = require("path");
711
- }
712
- var ab = function (e, b) {
713
- e = $a.normalize(e);
714
- return Za.readFileSync(e, b ? void 0 : "utf8");
715
- };
716
- var ma = function (e) {
717
- e = ab(e, !0);
718
- e.buffer || (e = new Uint8Array(e));
719
- return e;
720
- };
721
- var na = function (e, b, c) {
722
- e = $a.normalize(e);
723
- Za.readFile(e, function (d, g) {
724
- d ? c(d) : b(g.buffer);
725
- });
726
- };
727
- 1 < process.argv.length && process.argv[1].replace(/\\/g, "/");
728
- process.argv.slice(2);
729
- a.inspect = function () {
730
- return "[Emscripten Module object]";
731
- };
732
- } else if (xa || ha) ha ? U = self.location.href : "undefined" != typeof document && document.currentScript && (U = document.currentScript.src), k && (U = k), U = 0 !== U.indexOf("blob:") ? U.substr(0, U.replace(/[?#].*/, "").lastIndexOf("/") + 1) : "", ab = function (e) {
733
- var b = new XMLHttpRequest();
734
- b.open("GET", e, !1);
735
- b.send(null);
736
- return b.responseText;
737
- }, ha && (ma = function (e) {
738
- var b = new XMLHttpRequest();
739
- b.open("GET", e, !1);
740
- b.responseType = "arraybuffer";
741
- b.send(null);
742
- return new Uint8Array(b.response);
743
- }), na = function (e, b, c) {
744
- var d = new XMLHttpRequest();
745
- d.open("GET", e, !0);
746
- d.responseType = "arraybuffer";
747
- d.onload = function () {
748
- 200 == d.status || 0 == d.status && d.response ? b(d.response) : c();
749
- };
750
- d.onerror = c;
751
- d.send(null);
752
- };
753
- var wd = a.print || console.log.bind(console),
754
- da = a.printErr || console.warn.bind(console);
755
- Object.assign(a, Xa);
756
- Xa = null;
757
- var fa;
758
- a.wasmBinary && (fa = a.wasmBinary);
759
- "object" != typeof WebAssembly && f("no native wasm support detected");
760
- var la,
761
- wa = !1,
762
- ua = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0,
763
- va,
764
- Y,
765
- ea,
766
- ca,
767
- V,
768
- Ca = [],
769
- oa = [],
770
- Ba = [],
771
- za = !1,
772
- aa = 0,
773
- qa = null,
774
- ia = null;
775
- var P = "draco_decoder.wasm";
776
- P.startsWith("data:application/octet-stream;base64,") || (P = l(P));
777
- var xd = 0,
778
- yd = [null, [], []],
779
- zd = {
780
- c: function (e) {
781
- return bb(e + 24) + 24;
782
- },
783
- b: function (e, b, c) {
784
- new O(e).init(b, c);
785
- xd++;
786
- throw e;
787
- },
788
- a: function () {
789
- f("");
790
- },
791
- h: function (e, b, c) {
792
- ea.copyWithin(e, b, b + c);
793
- },
794
- f: function (e) {
795
- var b = ea.length;
796
- e >>>= 0;
797
- if (2147483648 < e) return !1;
798
- for (var c = 1; 4 >= c; c *= 2) {
799
- var d = b * (1 + .2 / c);
800
- d = Math.min(d, e + 100663296);
801
- var g = Math;
802
- d = Math.max(e, d);
803
- g = g.min.call(g, 2147483648, d + (65536 - d % 65536) % 65536);
804
- a: {
805
- try {
806
- la.grow(g - va.byteLength + 65535 >>> 16);
807
- A(la.buffer);
808
- var u = 1;
809
- break a;
810
- } catch (X) {}
811
- u = void 0;
812
- }
813
- if (u) return !0;
814
- }
815
- return !1;
816
- },
817
- g: function (e) {
818
- return 52;
819
- },
820
- e: function (e, b, c, d, g) {
821
- return 70;
822
- },
823
- d: function (e, b, c, d) {
824
- for (var g = 0, u = 0; u < c; u++) {
825
- var X = V[b >> 2],
826
- cb = V[b + 4 >> 2];
827
- b += 8;
828
- for (var ra = 0; ra < cb; ra++) {
829
- var sa = ea[X + ra],
830
- ta = yd[e];
831
- 0 === sa || 10 === sa ? ((1 === e ? wd : da)(p(ta, 0)), ta.length = 0) : ta.push(sa);
832
- }
833
- g += cb;
834
- }
835
- V[d >> 2] = g;
836
- return 0;
837
- }
838
- };
839
- (function () {
840
- function e(g, u) {
841
- a.asm = g.exports;
842
- la = a.asm.i;
843
- A(la.buffer);
844
- oa.unshift(a.asm.j);
845
- aa--;
846
- a.monitorRunDependencies && a.monitorRunDependencies(aa);
847
- 0 == aa && (null !== qa && (clearInterval(qa), qa = null), ia && (g = ia, ia = null, g()));
848
- }
849
- function b(g) {
850
- e(g.instance);
851
- }
852
- function c(g) {
853
- return v().then(function (u) {
854
- return WebAssembly.instantiate(u, d);
855
- }).then(function (u) {
856
- return u;
857
- }).then(g, function (u) {
858
- da("failed to asynchronously prepare wasm: " + u);
859
- f(u);
860
- });
861
- }
862
- var d = {
863
- a: zd
864
- };
865
- aa++;
866
- a.monitorRunDependencies && a.monitorRunDependencies(aa);
867
- if (a.instantiateWasm) try {
868
- return a.instantiateWasm(d, e);
869
- } catch (g) {
870
- da("Module.instantiateWasm callback failed with error: " + g), ja(g);
871
- }
872
- (function () {
873
- return fa || "function" != typeof WebAssembly.instantiateStreaming || P.startsWith("data:application/octet-stream;base64,") || P.startsWith("file://") || Ya || "function" != typeof fetch ? c(b) : fetch(P, {
874
- credentials: "same-origin"
875
- }).then(function (g) {
876
- return WebAssembly.instantiateStreaming(g, d).then(b, function (u) {
877
- da("wasm streaming compile failed: " + u);
878
- da("falling back to ArrayBuffer instantiation");
879
- return c(b);
880
- });
881
- });
882
- })().catch(ja);
883
- return {};
884
- })();
885
- a.___wasm_call_ctors = function () {
886
- return (a.___wasm_call_ctors = a.asm.j).apply(null, arguments);
887
- };
888
- var db = a._emscripten_bind_VoidPtr___destroy___0 = function () {
889
- return (db = a._emscripten_bind_VoidPtr___destroy___0 = a.asm.l).apply(null, arguments);
890
- },
891
- Da = a._emscripten_bind_DecoderBuffer_DecoderBuffer_0 = function () {
892
- return (Da = a._emscripten_bind_DecoderBuffer_DecoderBuffer_0 = a.asm.m).apply(null, arguments);
893
- },
894
- eb = a._emscripten_bind_DecoderBuffer_Init_2 = function () {
895
- return (eb = a._emscripten_bind_DecoderBuffer_Init_2 = a.asm.n).apply(null, arguments);
896
- },
897
- fb = a._emscripten_bind_DecoderBuffer___destroy___0 = function () {
898
- return (fb = a._emscripten_bind_DecoderBuffer___destroy___0 = a.asm.o).apply(null, arguments);
899
- },
900
- Ea = a._emscripten_bind_AttributeTransformData_AttributeTransformData_0 = function () {
901
- return (Ea = a._emscripten_bind_AttributeTransformData_AttributeTransformData_0 = a.asm.p).apply(null, arguments);
902
- },
903
- gb = a._emscripten_bind_AttributeTransformData_transform_type_0 = function () {
904
- return (gb = a._emscripten_bind_AttributeTransformData_transform_type_0 = a.asm.q).apply(null, arguments);
905
- },
906
- hb = a._emscripten_bind_AttributeTransformData___destroy___0 = function () {
907
- return (hb = a._emscripten_bind_AttributeTransformData___destroy___0 = a.asm.r).apply(null, arguments);
908
- },
909
- Fa = a._emscripten_bind_GeometryAttribute_GeometryAttribute_0 = function () {
910
- return (Fa = a._emscripten_bind_GeometryAttribute_GeometryAttribute_0 = a.asm.s).apply(null, arguments);
911
- },
912
- ib = a._emscripten_bind_GeometryAttribute___destroy___0 = function () {
913
- return (ib = a._emscripten_bind_GeometryAttribute___destroy___0 = a.asm.t).apply(null, arguments);
914
- },
915
- Ga = a._emscripten_bind_PointAttribute_PointAttribute_0 = function () {
916
- return (Ga = a._emscripten_bind_PointAttribute_PointAttribute_0 = a.asm.u).apply(null, arguments);
917
- },
918
- jb = a._emscripten_bind_PointAttribute_size_0 = function () {
919
- return (jb = a._emscripten_bind_PointAttribute_size_0 = a.asm.v).apply(null, arguments);
920
- },
921
- kb = a._emscripten_bind_PointAttribute_GetAttributeTransformData_0 = function () {
922
- return (kb = a._emscripten_bind_PointAttribute_GetAttributeTransformData_0 = a.asm.w).apply(null, arguments);
923
- },
924
- lb = a._emscripten_bind_PointAttribute_attribute_type_0 = function () {
925
- return (lb = a._emscripten_bind_PointAttribute_attribute_type_0 = a.asm.x).apply(null, arguments);
926
- },
927
- mb = a._emscripten_bind_PointAttribute_data_type_0 = function () {
928
- return (mb = a._emscripten_bind_PointAttribute_data_type_0 = a.asm.y).apply(null, arguments);
929
- },
930
- nb = a._emscripten_bind_PointAttribute_num_components_0 = function () {
931
- return (nb = a._emscripten_bind_PointAttribute_num_components_0 = a.asm.z).apply(null, arguments);
932
- },
933
- ob = a._emscripten_bind_PointAttribute_normalized_0 = function () {
934
- return (ob = a._emscripten_bind_PointAttribute_normalized_0 = a.asm.A).apply(null, arguments);
935
- },
936
- pb = a._emscripten_bind_PointAttribute_byte_stride_0 = function () {
937
- return (pb = a._emscripten_bind_PointAttribute_byte_stride_0 = a.asm.B).apply(null, arguments);
938
- },
939
- qb = a._emscripten_bind_PointAttribute_byte_offset_0 = function () {
940
- return (qb = a._emscripten_bind_PointAttribute_byte_offset_0 = a.asm.C).apply(null, arguments);
941
- },
942
- rb = a._emscripten_bind_PointAttribute_unique_id_0 = function () {
943
- return (rb = a._emscripten_bind_PointAttribute_unique_id_0 = a.asm.D).apply(null, arguments);
944
- },
945
- sb = a._emscripten_bind_PointAttribute___destroy___0 = function () {
946
- return (sb = a._emscripten_bind_PointAttribute___destroy___0 = a.asm.E).apply(null, arguments);
947
- },
948
- Ha = a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0 = function () {
949
- return (Ha = a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0 = a.asm.F).apply(null, arguments);
950
- },
951
- tb = a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1 = function () {
952
- return (tb = a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1 = a.asm.G).apply(null, arguments);
953
- },
954
- ub = a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0 = function () {
955
- return (ub = a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0 = a.asm.H).apply(null, arguments);
956
- },
957
- vb = a._emscripten_bind_AttributeQuantizationTransform_min_value_1 = function () {
958
- return (vb = a._emscripten_bind_AttributeQuantizationTransform_min_value_1 = a.asm.I).apply(null, arguments);
959
- },
960
- wb = a._emscripten_bind_AttributeQuantizationTransform_range_0 = function () {
961
- return (wb = a._emscripten_bind_AttributeQuantizationTransform_range_0 = a.asm.J).apply(null, arguments);
962
- },
963
- xb = a._emscripten_bind_AttributeQuantizationTransform___destroy___0 = function () {
964
- return (xb = a._emscripten_bind_AttributeQuantizationTransform___destroy___0 = a.asm.K).apply(null, arguments);
965
- },
966
- Ia = a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0 = function () {
967
- return (Ia = a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0 = a.asm.L).apply(null, arguments);
968
- },
969
- yb = a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1 = function () {
970
- return (yb = a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1 = a.asm.M).apply(null, arguments);
971
- },
972
- zb = a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0 = function () {
973
- return (zb = a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0 = a.asm.N).apply(null, arguments);
974
- },
975
- Ab = a._emscripten_bind_AttributeOctahedronTransform___destroy___0 = function () {
976
- return (Ab = a._emscripten_bind_AttributeOctahedronTransform___destroy___0 = a.asm.O).apply(null, arguments);
977
- },
978
- Ja = a._emscripten_bind_PointCloud_PointCloud_0 = function () {
979
- return (Ja = a._emscripten_bind_PointCloud_PointCloud_0 = a.asm.P).apply(null, arguments);
980
- },
981
- Bb = a._emscripten_bind_PointCloud_num_attributes_0 = function () {
982
- return (Bb = a._emscripten_bind_PointCloud_num_attributes_0 = a.asm.Q).apply(null, arguments);
983
- },
984
- Cb = a._emscripten_bind_PointCloud_num_points_0 = function () {
985
- return (Cb = a._emscripten_bind_PointCloud_num_points_0 = a.asm.R).apply(null, arguments);
986
- },
987
- Db = a._emscripten_bind_PointCloud___destroy___0 = function () {
988
- return (Db = a._emscripten_bind_PointCloud___destroy___0 = a.asm.S).apply(null, arguments);
989
- },
990
- Ka = a._emscripten_bind_Mesh_Mesh_0 = function () {
991
- return (Ka = a._emscripten_bind_Mesh_Mesh_0 = a.asm.T).apply(null, arguments);
992
- },
993
- Eb = a._emscripten_bind_Mesh_num_faces_0 = function () {
994
- return (Eb = a._emscripten_bind_Mesh_num_faces_0 = a.asm.U).apply(null, arguments);
995
- },
996
- Fb = a._emscripten_bind_Mesh_num_attributes_0 = function () {
997
- return (Fb = a._emscripten_bind_Mesh_num_attributes_0 = a.asm.V).apply(null, arguments);
998
- },
999
- Gb = a._emscripten_bind_Mesh_num_points_0 = function () {
1000
- return (Gb = a._emscripten_bind_Mesh_num_points_0 = a.asm.W).apply(null, arguments);
1001
- },
1002
- Hb = a._emscripten_bind_Mesh___destroy___0 = function () {
1003
- return (Hb = a._emscripten_bind_Mesh___destroy___0 = a.asm.X).apply(null, arguments);
1004
- },
1005
- La = a._emscripten_bind_Metadata_Metadata_0 = function () {
1006
- return (La = a._emscripten_bind_Metadata_Metadata_0 = a.asm.Y).apply(null, arguments);
1007
- },
1008
- Ib = a._emscripten_bind_Metadata___destroy___0 = function () {
1009
- return (Ib = a._emscripten_bind_Metadata___destroy___0 = a.asm.Z).apply(null, arguments);
1010
- },
1011
- Jb = a._emscripten_bind_Status_code_0 = function () {
1012
- return (Jb = a._emscripten_bind_Status_code_0 = a.asm._).apply(null, arguments);
1013
- },
1014
- Kb = a._emscripten_bind_Status_ok_0 = function () {
1015
- return (Kb = a._emscripten_bind_Status_ok_0 = a.asm.$).apply(null, arguments);
1016
- },
1017
- Lb = a._emscripten_bind_Status_error_msg_0 = function () {
1018
- return (Lb = a._emscripten_bind_Status_error_msg_0 = a.asm.aa).apply(null, arguments);
1019
- },
1020
- Mb = a._emscripten_bind_Status___destroy___0 = function () {
1021
- return (Mb = a._emscripten_bind_Status___destroy___0 = a.asm.ba).apply(null, arguments);
1022
- },
1023
- Ma = a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0 = function () {
1024
- return (Ma = a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0 = a.asm.ca).apply(null, arguments);
1025
- },
1026
- Nb = a._emscripten_bind_DracoFloat32Array_GetValue_1 = function () {
1027
- return (Nb = a._emscripten_bind_DracoFloat32Array_GetValue_1 = a.asm.da).apply(null, arguments);
1028
- },
1029
- Ob = a._emscripten_bind_DracoFloat32Array_size_0 = function () {
1030
- return (Ob = a._emscripten_bind_DracoFloat32Array_size_0 = a.asm.ea).apply(null, arguments);
1031
- },
1032
- Pb = a._emscripten_bind_DracoFloat32Array___destroy___0 = function () {
1033
- return (Pb = a._emscripten_bind_DracoFloat32Array___destroy___0 = a.asm.fa).apply(null, arguments);
1034
- },
1035
- Na = a._emscripten_bind_DracoInt8Array_DracoInt8Array_0 = function () {
1036
- return (Na = a._emscripten_bind_DracoInt8Array_DracoInt8Array_0 = a.asm.ga).apply(null, arguments);
1037
- },
1038
- Qb = a._emscripten_bind_DracoInt8Array_GetValue_1 = function () {
1039
- return (Qb = a._emscripten_bind_DracoInt8Array_GetValue_1 = a.asm.ha).apply(null, arguments);
1040
- },
1041
- Rb = a._emscripten_bind_DracoInt8Array_size_0 = function () {
1042
- return (Rb = a._emscripten_bind_DracoInt8Array_size_0 = a.asm.ia).apply(null, arguments);
1043
- },
1044
- Sb = a._emscripten_bind_DracoInt8Array___destroy___0 = function () {
1045
- return (Sb = a._emscripten_bind_DracoInt8Array___destroy___0 = a.asm.ja).apply(null, arguments);
1046
- },
1047
- Oa = a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0 = function () {
1048
- return (Oa = a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0 = a.asm.ka).apply(null, arguments);
1049
- },
1050
- Tb = a._emscripten_bind_DracoUInt8Array_GetValue_1 = function () {
1051
- return (Tb = a._emscripten_bind_DracoUInt8Array_GetValue_1 = a.asm.la).apply(null, arguments);
1052
- },
1053
- Ub = a._emscripten_bind_DracoUInt8Array_size_0 = function () {
1054
- return (Ub = a._emscripten_bind_DracoUInt8Array_size_0 = a.asm.ma).apply(null, arguments);
1055
- },
1056
- Vb = a._emscripten_bind_DracoUInt8Array___destroy___0 = function () {
1057
- return (Vb = a._emscripten_bind_DracoUInt8Array___destroy___0 = a.asm.na).apply(null, arguments);
1058
- },
1059
- Pa = a._emscripten_bind_DracoInt16Array_DracoInt16Array_0 = function () {
1060
- return (Pa = a._emscripten_bind_DracoInt16Array_DracoInt16Array_0 = a.asm.oa).apply(null, arguments);
1061
- },
1062
- Wb = a._emscripten_bind_DracoInt16Array_GetValue_1 = function () {
1063
- return (Wb = a._emscripten_bind_DracoInt16Array_GetValue_1 = a.asm.pa).apply(null, arguments);
1064
- },
1065
- Xb = a._emscripten_bind_DracoInt16Array_size_0 = function () {
1066
- return (Xb = a._emscripten_bind_DracoInt16Array_size_0 = a.asm.qa).apply(null, arguments);
1067
- },
1068
- Yb = a._emscripten_bind_DracoInt16Array___destroy___0 = function () {
1069
- return (Yb = a._emscripten_bind_DracoInt16Array___destroy___0 = a.asm.ra).apply(null, arguments);
1070
- },
1071
- Qa = a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0 = function () {
1072
- return (Qa = a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0 = a.asm.sa).apply(null, arguments);
1073
- },
1074
- Zb = a._emscripten_bind_DracoUInt16Array_GetValue_1 = function () {
1075
- return (Zb = a._emscripten_bind_DracoUInt16Array_GetValue_1 = a.asm.ta).apply(null, arguments);
1076
- },
1077
- $b = a._emscripten_bind_DracoUInt16Array_size_0 = function () {
1078
- return ($b = a._emscripten_bind_DracoUInt16Array_size_0 = a.asm.ua).apply(null, arguments);
1079
- },
1080
- ac = a._emscripten_bind_DracoUInt16Array___destroy___0 = function () {
1081
- return (ac = a._emscripten_bind_DracoUInt16Array___destroy___0 = a.asm.va).apply(null, arguments);
1082
- },
1083
- Ra = a._emscripten_bind_DracoInt32Array_DracoInt32Array_0 = function () {
1084
- return (Ra = a._emscripten_bind_DracoInt32Array_DracoInt32Array_0 = a.asm.wa).apply(null, arguments);
1085
- },
1086
- bc = a._emscripten_bind_DracoInt32Array_GetValue_1 = function () {
1087
- return (bc = a._emscripten_bind_DracoInt32Array_GetValue_1 = a.asm.xa).apply(null, arguments);
1088
- },
1089
- cc = a._emscripten_bind_DracoInt32Array_size_0 = function () {
1090
- return (cc = a._emscripten_bind_DracoInt32Array_size_0 = a.asm.ya).apply(null, arguments);
1091
- },
1092
- dc = a._emscripten_bind_DracoInt32Array___destroy___0 = function () {
1093
- return (dc = a._emscripten_bind_DracoInt32Array___destroy___0 = a.asm.za).apply(null, arguments);
1094
- },
1095
- Sa = a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0 = function () {
1096
- return (Sa = a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0 = a.asm.Aa).apply(null, arguments);
1097
- },
1098
- ec = a._emscripten_bind_DracoUInt32Array_GetValue_1 = function () {
1099
- return (ec = a._emscripten_bind_DracoUInt32Array_GetValue_1 = a.asm.Ba).apply(null, arguments);
1100
- },
1101
- fc = a._emscripten_bind_DracoUInt32Array_size_0 = function () {
1102
- return (fc = a._emscripten_bind_DracoUInt32Array_size_0 = a.asm.Ca).apply(null, arguments);
1103
- },
1104
- gc = a._emscripten_bind_DracoUInt32Array___destroy___0 = function () {
1105
- return (gc = a._emscripten_bind_DracoUInt32Array___destroy___0 = a.asm.Da).apply(null, arguments);
1106
- },
1107
- Ta = a._emscripten_bind_MetadataQuerier_MetadataQuerier_0 = function () {
1108
- return (Ta = a._emscripten_bind_MetadataQuerier_MetadataQuerier_0 = a.asm.Ea).apply(null, arguments);
1109
- },
1110
- hc = a._emscripten_bind_MetadataQuerier_HasEntry_2 = function () {
1111
- return (hc = a._emscripten_bind_MetadataQuerier_HasEntry_2 = a.asm.Fa).apply(null, arguments);
1112
- },
1113
- ic = a._emscripten_bind_MetadataQuerier_GetIntEntry_2 = function () {
1114
- return (ic = a._emscripten_bind_MetadataQuerier_GetIntEntry_2 = a.asm.Ga).apply(null, arguments);
1115
- },
1116
- jc = a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3 = function () {
1117
- return (jc = a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3 = a.asm.Ha).apply(null, arguments);
1118
- },
1119
- kc = a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2 = function () {
1120
- return (kc = a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2 = a.asm.Ia).apply(null, arguments);
1121
- },
1122
- lc = a._emscripten_bind_MetadataQuerier_GetStringEntry_2 = function () {
1123
- return (lc = a._emscripten_bind_MetadataQuerier_GetStringEntry_2 = a.asm.Ja).apply(null, arguments);
1124
- },
1125
- mc = a._emscripten_bind_MetadataQuerier_NumEntries_1 = function () {
1126
- return (mc = a._emscripten_bind_MetadataQuerier_NumEntries_1 = a.asm.Ka).apply(null, arguments);
1127
- },
1128
- nc = a._emscripten_bind_MetadataQuerier_GetEntryName_2 = function () {
1129
- return (nc = a._emscripten_bind_MetadataQuerier_GetEntryName_2 = a.asm.La).apply(null, arguments);
1130
- },
1131
- oc = a._emscripten_bind_MetadataQuerier___destroy___0 = function () {
1132
- return (oc = a._emscripten_bind_MetadataQuerier___destroy___0 = a.asm.Ma).apply(null, arguments);
1133
- },
1134
- Ua = a._emscripten_bind_Decoder_Decoder_0 = function () {
1135
- return (Ua = a._emscripten_bind_Decoder_Decoder_0 = a.asm.Na).apply(null, arguments);
1136
- },
1137
- pc = a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3 = function () {
1138
- return (pc = a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3 = a.asm.Oa).apply(null, arguments);
1139
- },
1140
- qc = a._emscripten_bind_Decoder_DecodeArrayToMesh_3 = function () {
1141
- return (qc = a._emscripten_bind_Decoder_DecodeArrayToMesh_3 = a.asm.Pa).apply(null, arguments);
1142
- },
1143
- rc = a._emscripten_bind_Decoder_GetAttributeId_2 = function () {
1144
- return (rc = a._emscripten_bind_Decoder_GetAttributeId_2 = a.asm.Qa).apply(null, arguments);
1145
- },
1146
- sc = a._emscripten_bind_Decoder_GetAttributeIdByName_2 = function () {
1147
- return (sc = a._emscripten_bind_Decoder_GetAttributeIdByName_2 = a.asm.Ra).apply(null, arguments);
1148
- },
1149
- tc = a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3 = function () {
1150
- return (tc = a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3 = a.asm.Sa).apply(null, arguments);
1151
- },
1152
- uc = a._emscripten_bind_Decoder_GetAttribute_2 = function () {
1153
- return (uc = a._emscripten_bind_Decoder_GetAttribute_2 = a.asm.Ta).apply(null, arguments);
1154
- },
1155
- vc = a._emscripten_bind_Decoder_GetAttributeByUniqueId_2 = function () {
1156
- return (vc = a._emscripten_bind_Decoder_GetAttributeByUniqueId_2 = a.asm.Ua).apply(null, arguments);
1157
- },
1158
- wc = a._emscripten_bind_Decoder_GetMetadata_1 = function () {
1159
- return (wc = a._emscripten_bind_Decoder_GetMetadata_1 = a.asm.Va).apply(null, arguments);
1160
- },
1161
- xc = a._emscripten_bind_Decoder_GetAttributeMetadata_2 = function () {
1162
- return (xc = a._emscripten_bind_Decoder_GetAttributeMetadata_2 = a.asm.Wa).apply(null, arguments);
1163
- },
1164
- yc = a._emscripten_bind_Decoder_GetFaceFromMesh_3 = function () {
1165
- return (yc = a._emscripten_bind_Decoder_GetFaceFromMesh_3 = a.asm.Xa).apply(null, arguments);
1166
- },
1167
- zc = a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2 = function () {
1168
- return (zc = a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2 = a.asm.Ya).apply(null, arguments);
1169
- },
1170
- Ac = a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3 = function () {
1171
- return (Ac = a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3 = a.asm.Za).apply(null, arguments);
1172
- },
1173
- Bc = a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3 = function () {
1174
- return (Bc = a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3 = a.asm._a).apply(null, arguments);
1175
- },
1176
- Cc = a._emscripten_bind_Decoder_GetAttributeFloat_3 = function () {
1177
- return (Cc = a._emscripten_bind_Decoder_GetAttributeFloat_3 = a.asm.$a).apply(null, arguments);
1178
- },
1179
- Dc = a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3 = function () {
1180
- return (Dc = a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3 = a.asm.ab).apply(null, arguments);
1181
- },
1182
- Ec = a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3 = function () {
1183
- return (Ec = a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3 = a.asm.bb).apply(null, arguments);
1184
- },
1185
- Fc = a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3 = function () {
1186
- return (Fc = a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3 = a.asm.cb).apply(null, arguments);
1187
- },
1188
- Gc = a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3 = function () {
1189
- return (Gc = a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3 = a.asm.db).apply(null, arguments);
1190
- },
1191
- Hc = a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3 = function () {
1192
- return (Hc = a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3 = a.asm.eb).apply(null, arguments);
1193
- },
1194
- Ic = a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3 = function () {
1195
- return (Ic = a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3 = a.asm.fb).apply(null, arguments);
1196
- },
1197
- Jc = a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3 = function () {
1198
- return (Jc = a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3 = a.asm.gb).apply(null, arguments);
1199
- },
1200
- Kc = a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3 = function () {
1201
- return (Kc = a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3 = a.asm.hb).apply(null, arguments);
1202
- },
1203
- Lc = a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5 = function () {
1204
- return (Lc = a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5 = a.asm.ib).apply(null, arguments);
1205
- },
1206
- Mc = a._emscripten_bind_Decoder_SkipAttributeTransform_1 = function () {
1207
- return (Mc = a._emscripten_bind_Decoder_SkipAttributeTransform_1 = a.asm.jb).apply(null, arguments);
1208
- },
1209
- Nc = a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1 = function () {
1210
- return (Nc = a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1 = a.asm.kb).apply(null, arguments);
1211
- },
1212
- Oc = a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2 = function () {
1213
- return (Oc = a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2 = a.asm.lb).apply(null, arguments);
1214
- },
1215
- Pc = a._emscripten_bind_Decoder_DecodeBufferToMesh_2 = function () {
1216
- return (Pc = a._emscripten_bind_Decoder_DecodeBufferToMesh_2 = a.asm.mb).apply(null, arguments);
1217
- },
1218
- Qc = a._emscripten_bind_Decoder___destroy___0 = function () {
1219
- return (Qc = a._emscripten_bind_Decoder___destroy___0 = a.asm.nb).apply(null, arguments);
1220
- },
1221
- Rc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM = function () {
1222
- return (Rc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM = a.asm.ob).apply(null, arguments);
1223
- },
1224
- Sc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM = function () {
1225
- return (Sc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM = a.asm.pb).apply(null, arguments);
1226
- },
1227
- Tc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM = function () {
1228
- return (Tc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM = a.asm.qb).apply(null, arguments);
1229
- },
1230
- Uc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM = function () {
1231
- return (Uc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM = a.asm.rb).apply(null, arguments);
1232
- },
1233
- Vc = a._emscripten_enum_draco_GeometryAttribute_Type_INVALID = function () {
1234
- return (Vc = a._emscripten_enum_draco_GeometryAttribute_Type_INVALID = a.asm.sb).apply(null, arguments);
1235
- },
1236
- Wc = a._emscripten_enum_draco_GeometryAttribute_Type_POSITION = function () {
1237
- return (Wc = a._emscripten_enum_draco_GeometryAttribute_Type_POSITION = a.asm.tb).apply(null, arguments);
1238
- },
1239
- Xc = a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL = function () {
1240
- return (Xc = a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL = a.asm.ub).apply(null, arguments);
1241
- },
1242
- Yc = a._emscripten_enum_draco_GeometryAttribute_Type_COLOR = function () {
1243
- return (Yc = a._emscripten_enum_draco_GeometryAttribute_Type_COLOR = a.asm.vb).apply(null, arguments);
1244
- },
1245
- Zc = a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD = function () {
1246
- return (Zc = a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD = a.asm.wb).apply(null, arguments);
1247
- },
1248
- $c = a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC = function () {
1249
- return ($c = a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC = a.asm.xb).apply(null, arguments);
1250
- },
1251
- ad = a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE = function () {
1252
- return (ad = a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE = a.asm.yb).apply(null, arguments);
1253
- },
1254
- bd = a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD = function () {
1255
- return (bd = a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD = a.asm.zb).apply(null, arguments);
1256
- },
1257
- cd = a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH = function () {
1258
- return (cd = a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH = a.asm.Ab).apply(null, arguments);
1259
- },
1260
- dd = a._emscripten_enum_draco_DataType_DT_INVALID = function () {
1261
- return (dd = a._emscripten_enum_draco_DataType_DT_INVALID = a.asm.Bb).apply(null, arguments);
1262
- },
1263
- ed = a._emscripten_enum_draco_DataType_DT_INT8 = function () {
1264
- return (ed = a._emscripten_enum_draco_DataType_DT_INT8 = a.asm.Cb).apply(null, arguments);
1265
- },
1266
- fd = a._emscripten_enum_draco_DataType_DT_UINT8 = function () {
1267
- return (fd = a._emscripten_enum_draco_DataType_DT_UINT8 = a.asm.Db).apply(null, arguments);
1268
- },
1269
- gd = a._emscripten_enum_draco_DataType_DT_INT16 = function () {
1270
- return (gd = a._emscripten_enum_draco_DataType_DT_INT16 = a.asm.Eb).apply(null, arguments);
1271
- },
1272
- hd = a._emscripten_enum_draco_DataType_DT_UINT16 = function () {
1273
- return (hd = a._emscripten_enum_draco_DataType_DT_UINT16 = a.asm.Fb).apply(null, arguments);
1274
- },
1275
- id = a._emscripten_enum_draco_DataType_DT_INT32 = function () {
1276
- return (id = a._emscripten_enum_draco_DataType_DT_INT32 = a.asm.Gb).apply(null, arguments);
1277
- },
1278
- jd = a._emscripten_enum_draco_DataType_DT_UINT32 = function () {
1279
- return (jd = a._emscripten_enum_draco_DataType_DT_UINT32 = a.asm.Hb).apply(null, arguments);
1280
- },
1281
- kd = a._emscripten_enum_draco_DataType_DT_INT64 = function () {
1282
- return (kd = a._emscripten_enum_draco_DataType_DT_INT64 = a.asm.Ib).apply(null, arguments);
1283
- },
1284
- ld = a._emscripten_enum_draco_DataType_DT_UINT64 = function () {
1285
- return (ld = a._emscripten_enum_draco_DataType_DT_UINT64 = a.asm.Jb).apply(null, arguments);
1286
- },
1287
- md = a._emscripten_enum_draco_DataType_DT_FLOAT32 = function () {
1288
- return (md = a._emscripten_enum_draco_DataType_DT_FLOAT32 = a.asm.Kb).apply(null, arguments);
1289
- },
1290
- nd = a._emscripten_enum_draco_DataType_DT_FLOAT64 = function () {
1291
- return (nd = a._emscripten_enum_draco_DataType_DT_FLOAT64 = a.asm.Lb).apply(null, arguments);
1292
- },
1293
- od = a._emscripten_enum_draco_DataType_DT_BOOL = function () {
1294
- return (od = a._emscripten_enum_draco_DataType_DT_BOOL = a.asm.Mb).apply(null, arguments);
1295
- },
1296
- pd = a._emscripten_enum_draco_DataType_DT_TYPES_COUNT = function () {
1297
- return (pd = a._emscripten_enum_draco_DataType_DT_TYPES_COUNT = a.asm.Nb).apply(null, arguments);
1298
- },
1299
- qd = a._emscripten_enum_draco_StatusCode_OK = function () {
1300
- return (qd = a._emscripten_enum_draco_StatusCode_OK = a.asm.Ob).apply(null, arguments);
1301
- },
1302
- rd = a._emscripten_enum_draco_StatusCode_DRACO_ERROR = function () {
1303
- return (rd = a._emscripten_enum_draco_StatusCode_DRACO_ERROR = a.asm.Pb).apply(null, arguments);
1304
- },
1305
- sd = a._emscripten_enum_draco_StatusCode_IO_ERROR = function () {
1306
- return (sd = a._emscripten_enum_draco_StatusCode_IO_ERROR = a.asm.Qb).apply(null, arguments);
1307
- },
1308
- td = a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER = function () {
1309
- return (td = a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER = a.asm.Rb).apply(null, arguments);
1310
- },
1311
- ud = a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION = function () {
1312
- return (ud = a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION = a.asm.Sb).apply(null, arguments);
1313
- },
1314
- vd = a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION = function () {
1315
- return (vd = a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION = a.asm.Tb).apply(null, arguments);
1316
- },
1317
- bb = a._malloc = function () {
1318
- return (bb = a._malloc = a.asm.Ub).apply(null, arguments);
1319
- };
1320
- a._free = function () {
1321
- return (a._free = a.asm.Vb).apply(null, arguments);
1322
- };
1323
- var ya = a.___cxa_is_pointer_type = function () {
1324
- return (ya = a.___cxa_is_pointer_type = a.asm.Wb).apply(null, arguments);
1325
- };
1326
- a.___start_em_js = 15856;
1327
- a.___stop_em_js = 15954;
1328
- var ka;
1329
- ia = function b() {
1330
- ka || ba();
1331
- ka || (ia = b);
1332
- };
1333
- if (a.preInit) for ("function" == typeof a.preInit && (a.preInit = [a.preInit]); 0 < a.preInit.length;) a.preInit.pop()();
1334
- ba();
1335
- t.prototype = Object.create(t.prototype);
1336
- t.prototype.constructor = t;
1337
- t.prototype.__class__ = t;
1338
- t.__cache__ = {};
1339
- a.WrapperObject = t;
1340
- a.getCache = x;
1341
- a.wrapPointer = D;
1342
- a.castObject = function (b, c) {
1343
- return D(b.ptr, c);
1344
- };
1345
- a.NULL = D(0);
1346
- a.destroy = function (b) {
1347
- if (!b.__destroy__) throw "Error: Cannot destroy object. (Did you create it yourself?)";
1348
- b.__destroy__();
1349
- delete x(b.__class__)[b.ptr];
1350
- };
1351
- a.compare = function (b, c) {
1352
- return b.ptr === c.ptr;
1353
- };
1354
- a.getPointer = function (b) {
1355
- return b.ptr;
1356
- };
1357
- a.getClass = function (b) {
1358
- return b.__class__;
1359
- };
1360
- var r = {
1361
- buffer: 0,
1362
- size: 0,
1363
- pos: 0,
1364
- temps: [],
1365
- needed: 0,
1366
- prepare: function () {
1367
- if (r.needed) {
1368
- for (var b = 0; b < r.temps.length; b++) a._free(r.temps[b]);
1369
- r.temps.length = 0;
1370
- a._free(r.buffer);
1371
- r.buffer = 0;
1372
- r.size += r.needed;
1373
- r.needed = 0;
1374
- }
1375
- r.buffer || (r.size += 128, r.buffer = a._malloc(r.size), r.buffer || f(void 0));
1376
- r.pos = 0;
1377
- },
1378
- alloc: function (b, c) {
1379
- r.buffer || f(void 0);
1380
- b = b.length * c.BYTES_PER_ELEMENT;
1381
- b = b + 7 & -8;
1382
- r.pos + b >= r.size ? (0 < b || f(void 0), r.needed += b, c = a._malloc(b), r.temps.push(c)) : (c = r.buffer + r.pos, r.pos += b);
1383
- return c;
1384
- },
1385
- copy: function (b, c, d) {
1386
- d >>>= 0;
1387
- switch (c.BYTES_PER_ELEMENT) {
1388
- case 2:
1389
- d >>>= 1;
1390
- break;
1391
- case 4:
1392
- d >>>= 2;
1393
- break;
1394
- case 8:
1395
- d >>>= 3;
1396
- }
1397
- for (var g = 0; g < b.length; g++) c[d + g] = b[g];
1398
- }
1399
- };
1400
- Z.prototype = Object.create(t.prototype);
1401
- Z.prototype.constructor = Z;
1402
- Z.prototype.__class__ = Z;
1403
- Z.__cache__ = {};
1404
- a.VoidPtr = Z;
1405
- Z.prototype.__destroy__ = Z.prototype.__destroy__ = function () {
1406
- db(this.ptr);
1407
- };
1408
- S.prototype = Object.create(t.prototype);
1409
- S.prototype.constructor = S;
1410
- S.prototype.__class__ = S;
1411
- S.__cache__ = {};
1412
- a.DecoderBuffer = S;
1413
- S.prototype.Init = S.prototype.Init = function (b, c) {
1414
- var d = this.ptr;
1415
- r.prepare();
1416
- "object" == typeof b && (b = pa(b));
1417
- c && "object" === typeof c && (c = c.ptr);
1418
- eb(d, b, c);
1419
- };
1420
- S.prototype.__destroy__ = S.prototype.__destroy__ = function () {
1421
- fb(this.ptr);
1422
- };
1423
- Q.prototype = Object.create(t.prototype);
1424
- Q.prototype.constructor = Q;
1425
- Q.prototype.__class__ = Q;
1426
- Q.__cache__ = {};
1427
- a.AttributeTransformData = Q;
1428
- Q.prototype.transform_type = Q.prototype.transform_type = function () {
1429
- return gb(this.ptr);
1430
- };
1431
- Q.prototype.__destroy__ = Q.prototype.__destroy__ = function () {
1432
- hb(this.ptr);
1433
- };
1434
- W.prototype = Object.create(t.prototype);
1435
- W.prototype.constructor = W;
1436
- W.prototype.__class__ = W;
1437
- W.__cache__ = {};
1438
- a.GeometryAttribute = W;
1439
- W.prototype.__destroy__ = W.prototype.__destroy__ = function () {
1440
- ib(this.ptr);
1441
- };
1442
- w.prototype = Object.create(t.prototype);
1443
- w.prototype.constructor = w;
1444
- w.prototype.__class__ = w;
1445
- w.__cache__ = {};
1446
- a.PointAttribute = w;
1447
- w.prototype.size = w.prototype.size = function () {
1448
- return jb(this.ptr);
1449
- };
1450
- w.prototype.GetAttributeTransformData = w.prototype.GetAttributeTransformData = function () {
1451
- return D(kb(this.ptr), Q);
1452
- };
1453
- w.prototype.attribute_type = w.prototype.attribute_type = function () {
1454
- return lb(this.ptr);
1455
- };
1456
- w.prototype.data_type = w.prototype.data_type = function () {
1457
- return mb(this.ptr);
1458
- };
1459
- w.prototype.num_components = w.prototype.num_components = function () {
1460
- return nb(this.ptr);
1461
- };
1462
- w.prototype.normalized = w.prototype.normalized = function () {
1463
- return !!ob(this.ptr);
1464
- };
1465
- w.prototype.byte_stride = w.prototype.byte_stride = function () {
1466
- return pb(this.ptr);
1467
- };
1468
- w.prototype.byte_offset = w.prototype.byte_offset = function () {
1469
- return qb(this.ptr);
1470
- };
1471
- w.prototype.unique_id = w.prototype.unique_id = function () {
1472
- return rb(this.ptr);
1473
- };
1474
- w.prototype.__destroy__ = w.prototype.__destroy__ = function () {
1475
- sb(this.ptr);
1476
- };
1477
- C.prototype = Object.create(t.prototype);
1478
- C.prototype.constructor = C;
1479
- C.prototype.__class__ = C;
1480
- C.__cache__ = {};
1481
- a.AttributeQuantizationTransform = C;
1482
- C.prototype.InitFromAttribute = C.prototype.InitFromAttribute = function (b) {
1483
- var c = this.ptr;
1484
- b && "object" === typeof b && (b = b.ptr);
1485
- return !!tb(c, b);
1486
- };
1487
- C.prototype.quantization_bits = C.prototype.quantization_bits = function () {
1488
- return ub(this.ptr);
1489
- };
1490
- C.prototype.min_value = C.prototype.min_value = function (b) {
1491
- var c = this.ptr;
1492
- b && "object" === typeof b && (b = b.ptr);
1493
- return vb(c, b);
1494
- };
1495
- C.prototype.range = C.prototype.range = function () {
1496
- return wb(this.ptr);
1497
- };
1498
- C.prototype.__destroy__ = C.prototype.__destroy__ = function () {
1499
- xb(this.ptr);
1500
- };
1501
- F.prototype = Object.create(t.prototype);
1502
- F.prototype.constructor = F;
1503
- F.prototype.__class__ = F;
1504
- F.__cache__ = {};
1505
- a.AttributeOctahedronTransform = F;
1506
- F.prototype.InitFromAttribute = F.prototype.InitFromAttribute = function (b) {
1507
- var c = this.ptr;
1508
- b && "object" === typeof b && (b = b.ptr);
1509
- return !!yb(c, b);
1510
- };
1511
- F.prototype.quantization_bits = F.prototype.quantization_bits = function () {
1512
- return zb(this.ptr);
1513
- };
1514
- F.prototype.__destroy__ = F.prototype.__destroy__ = function () {
1515
- Ab(this.ptr);
1516
- };
1517
- G.prototype = Object.create(t.prototype);
1518
- G.prototype.constructor = G;
1519
- G.prototype.__class__ = G;
1520
- G.__cache__ = {};
1521
- a.PointCloud = G;
1522
- G.prototype.num_attributes = G.prototype.num_attributes = function () {
1523
- return Bb(this.ptr);
1524
- };
1525
- G.prototype.num_points = G.prototype.num_points = function () {
1526
- return Cb(this.ptr);
1527
- };
1528
- G.prototype.__destroy__ = G.prototype.__destroy__ = function () {
1529
- Db(this.ptr);
1530
- };
1531
- E.prototype = Object.create(t.prototype);
1532
- E.prototype.constructor = E;
1533
- E.prototype.__class__ = E;
1534
- E.__cache__ = {};
1535
- a.Mesh = E;
1536
- E.prototype.num_faces = E.prototype.num_faces = function () {
1537
- return Eb(this.ptr);
1538
- };
1539
- E.prototype.num_attributes = E.prototype.num_attributes = function () {
1540
- return Fb(this.ptr);
1541
- };
1542
- E.prototype.num_points = E.prototype.num_points = function () {
1543
- return Gb(this.ptr);
1544
- };
1545
- E.prototype.__destroy__ = E.prototype.__destroy__ = function () {
1546
- Hb(this.ptr);
1547
- };
1548
- T.prototype = Object.create(t.prototype);
1549
- T.prototype.constructor = T;
1550
- T.prototype.__class__ = T;
1551
- T.__cache__ = {};
1552
- a.Metadata = T;
1553
- T.prototype.__destroy__ = T.prototype.__destroy__ = function () {
1554
- Ib(this.ptr);
1555
- };
1556
- B.prototype = Object.create(t.prototype);
1557
- B.prototype.constructor = B;
1558
- B.prototype.__class__ = B;
1559
- B.__cache__ = {};
1560
- a.Status = B;
1561
- B.prototype.code = B.prototype.code = function () {
1562
- return Jb(this.ptr);
1563
- };
1564
- B.prototype.ok = B.prototype.ok = function () {
1565
- return !!Kb(this.ptr);
1566
- };
1567
- B.prototype.error_msg = B.prototype.error_msg = function () {
1568
- return h(Lb(this.ptr));
1569
- };
1570
- B.prototype.__destroy__ = B.prototype.__destroy__ = function () {
1571
- Mb(this.ptr);
1572
- };
1573
- H.prototype = Object.create(t.prototype);
1574
- H.prototype.constructor = H;
1575
- H.prototype.__class__ = H;
1576
- H.__cache__ = {};
1577
- a.DracoFloat32Array = H;
1578
- H.prototype.GetValue = H.prototype.GetValue = function (b) {
1579
- var c = this.ptr;
1580
- b && "object" === typeof b && (b = b.ptr);
1581
- return Nb(c, b);
1582
- };
1583
- H.prototype.size = H.prototype.size = function () {
1584
- return Ob(this.ptr);
1585
- };
1586
- H.prototype.__destroy__ = H.prototype.__destroy__ = function () {
1587
- Pb(this.ptr);
1588
- };
1589
- I.prototype = Object.create(t.prototype);
1590
- I.prototype.constructor = I;
1591
- I.prototype.__class__ = I;
1592
- I.__cache__ = {};
1593
- a.DracoInt8Array = I;
1594
- I.prototype.GetValue = I.prototype.GetValue = function (b) {
1595
- var c = this.ptr;
1596
- b && "object" === typeof b && (b = b.ptr);
1597
- return Qb(c, b);
1598
- };
1599
- I.prototype.size = I.prototype.size = function () {
1600
- return Rb(this.ptr);
1601
- };
1602
- I.prototype.__destroy__ = I.prototype.__destroy__ = function () {
1603
- Sb(this.ptr);
1604
- };
1605
- J.prototype = Object.create(t.prototype);
1606
- J.prototype.constructor = J;
1607
- J.prototype.__class__ = J;
1608
- J.__cache__ = {};
1609
- a.DracoUInt8Array = J;
1610
- J.prototype.GetValue = J.prototype.GetValue = function (b) {
1611
- var c = this.ptr;
1612
- b && "object" === typeof b && (b = b.ptr);
1613
- return Tb(c, b);
1614
- };
1615
- J.prototype.size = J.prototype.size = function () {
1616
- return Ub(this.ptr);
1617
- };
1618
- J.prototype.__destroy__ = J.prototype.__destroy__ = function () {
1619
- Vb(this.ptr);
1620
- };
1621
- K.prototype = Object.create(t.prototype);
1622
- K.prototype.constructor = K;
1623
- K.prototype.__class__ = K;
1624
- K.__cache__ = {};
1625
- a.DracoInt16Array = K;
1626
- K.prototype.GetValue = K.prototype.GetValue = function (b) {
1627
- var c = this.ptr;
1628
- b && "object" === typeof b && (b = b.ptr);
1629
- return Wb(c, b);
1630
- };
1631
- K.prototype.size = K.prototype.size = function () {
1632
- return Xb(this.ptr);
1633
- };
1634
- K.prototype.__destroy__ = K.prototype.__destroy__ = function () {
1635
- Yb(this.ptr);
1636
- };
1637
- L.prototype = Object.create(t.prototype);
1638
- L.prototype.constructor = L;
1639
- L.prototype.__class__ = L;
1640
- L.__cache__ = {};
1641
- a.DracoUInt16Array = L;
1642
- L.prototype.GetValue = L.prototype.GetValue = function (b) {
1643
- var c = this.ptr;
1644
- b && "object" === typeof b && (b = b.ptr);
1645
- return Zb(c, b);
1646
- };
1647
- L.prototype.size = L.prototype.size = function () {
1648
- return $b(this.ptr);
1649
- };
1650
- L.prototype.__destroy__ = L.prototype.__destroy__ = function () {
1651
- ac(this.ptr);
1652
- };
1653
- M.prototype = Object.create(t.prototype);
1654
- M.prototype.constructor = M;
1655
- M.prototype.__class__ = M;
1656
- M.__cache__ = {};
1657
- a.DracoInt32Array = M;
1658
- M.prototype.GetValue = M.prototype.GetValue = function (b) {
1659
- var c = this.ptr;
1660
- b && "object" === typeof b && (b = b.ptr);
1661
- return bc(c, b);
1662
- };
1663
- M.prototype.size = M.prototype.size = function () {
1664
- return cc(this.ptr);
1665
- };
1666
- M.prototype.__destroy__ = M.prototype.__destroy__ = function () {
1667
- dc(this.ptr);
1668
- };
1669
- N.prototype = Object.create(t.prototype);
1670
- N.prototype.constructor = N;
1671
- N.prototype.__class__ = N;
1672
- N.__cache__ = {};
1673
- a.DracoUInt32Array = N;
1674
- N.prototype.GetValue = N.prototype.GetValue = function (b) {
1675
- var c = this.ptr;
1676
- b && "object" === typeof b && (b = b.ptr);
1677
- return ec(c, b);
1678
- };
1679
- N.prototype.size = N.prototype.size = function () {
1680
- return fc(this.ptr);
1681
- };
1682
- N.prototype.__destroy__ = N.prototype.__destroy__ = function () {
1683
- gc(this.ptr);
1684
- };
1685
- y.prototype = Object.create(t.prototype);
1686
- y.prototype.constructor = y;
1687
- y.prototype.__class__ = y;
1688
- y.__cache__ = {};
1689
- a.MetadataQuerier = y;
1690
- y.prototype.HasEntry = y.prototype.HasEntry = function (b, c) {
1691
- var d = this.ptr;
1692
- r.prepare();
1693
- b && "object" === typeof b && (b = b.ptr);
1694
- c = c && "object" === typeof c ? c.ptr : R(c);
1695
- return !!hc(d, b, c);
1696
- };
1697
- y.prototype.GetIntEntry = y.prototype.GetIntEntry = function (b, c) {
1698
- var d = this.ptr;
1699
- r.prepare();
1700
- b && "object" === typeof b && (b = b.ptr);
1701
- c = c && "object" === typeof c ? c.ptr : R(c);
1702
- return ic(d, b, c);
1703
- };
1704
- y.prototype.GetIntEntryArray = y.prototype.GetIntEntryArray = function (b, c, d) {
1705
- var g = this.ptr;
1706
- r.prepare();
1707
- b && "object" === typeof b && (b = b.ptr);
1708
- c = c && "object" === typeof c ? c.ptr : R(c);
1709
- d && "object" === typeof d && (d = d.ptr);
1710
- jc(g, b, c, d);
1711
- };
1712
- y.prototype.GetDoubleEntry = y.prototype.GetDoubleEntry = function (b, c) {
1713
- var d = this.ptr;
1714
- r.prepare();
1715
- b && "object" === typeof b && (b = b.ptr);
1716
- c = c && "object" === typeof c ? c.ptr : R(c);
1717
- return kc(d, b, c);
1718
- };
1719
- y.prototype.GetStringEntry = y.prototype.GetStringEntry = function (b, c) {
1720
- var d = this.ptr;
1721
- r.prepare();
1722
- b && "object" === typeof b && (b = b.ptr);
1723
- c = c && "object" === typeof c ? c.ptr : R(c);
1724
- return h(lc(d, b, c));
1725
- };
1726
- y.prototype.NumEntries = y.prototype.NumEntries = function (b) {
1727
- var c = this.ptr;
1728
- b && "object" === typeof b && (b = b.ptr);
1729
- return mc(c, b);
1730
- };
1731
- y.prototype.GetEntryName = y.prototype.GetEntryName = function (b, c) {
1732
- var d = this.ptr;
1733
- b && "object" === typeof b && (b = b.ptr);
1734
- c && "object" === typeof c && (c = c.ptr);
1735
- return h(nc(d, b, c));
1736
- };
1737
- y.prototype.__destroy__ = y.prototype.__destroy__ = function () {
1738
- oc(this.ptr);
1739
- };
1740
- m.prototype = Object.create(t.prototype);
1741
- m.prototype.constructor = m;
1742
- m.prototype.__class__ = m;
1743
- m.__cache__ = {};
1744
- a.Decoder = m;
1745
- m.prototype.DecodeArrayToPointCloud = m.prototype.DecodeArrayToPointCloud = function (b, c, d) {
1746
- var g = this.ptr;
1747
- r.prepare();
1748
- "object" == typeof b && (b = pa(b));
1749
- c && "object" === typeof c && (c = c.ptr);
1750
- d && "object" === typeof d && (d = d.ptr);
1751
- return D(pc(g, b, c, d), B);
1752
- };
1753
- m.prototype.DecodeArrayToMesh = m.prototype.DecodeArrayToMesh = function (b, c, d) {
1754
- var g = this.ptr;
1755
- r.prepare();
1756
- "object" == typeof b && (b = pa(b));
1757
- c && "object" === typeof c && (c = c.ptr);
1758
- d && "object" === typeof d && (d = d.ptr);
1759
- return D(qc(g, b, c, d), B);
1760
- };
1761
- m.prototype.GetAttributeId = m.prototype.GetAttributeId = function (b, c) {
1762
- var d = this.ptr;
1763
- b && "object" === typeof b && (b = b.ptr);
1764
- c && "object" === typeof c && (c = c.ptr);
1765
- return rc(d, b, c);
1766
- };
1767
- m.prototype.GetAttributeIdByName = m.prototype.GetAttributeIdByName = function (b, c) {
1768
- var d = this.ptr;
1769
- r.prepare();
1770
- b && "object" === typeof b && (b = b.ptr);
1771
- c = c && "object" === typeof c ? c.ptr : R(c);
1772
- return sc(d, b, c);
1773
- };
1774
- m.prototype.GetAttributeIdByMetadataEntry = m.prototype.GetAttributeIdByMetadataEntry = function (b, c, d) {
1775
- var g = this.ptr;
1776
- r.prepare();
1777
- b && "object" === typeof b && (b = b.ptr);
1778
- c = c && "object" === typeof c ? c.ptr : R(c);
1779
- d = d && "object" === typeof d ? d.ptr : R(d);
1780
- return tc(g, b, c, d);
1781
- };
1782
- m.prototype.GetAttribute = m.prototype.GetAttribute = function (b, c) {
1783
- var d = this.ptr;
1784
- b && "object" === typeof b && (b = b.ptr);
1785
- c && "object" === typeof c && (c = c.ptr);
1786
- return D(uc(d, b, c), w);
1787
- };
1788
- m.prototype.GetAttributeByUniqueId = m.prototype.GetAttributeByUniqueId = function (b, c) {
1789
- var d = this.ptr;
1790
- b && "object" === typeof b && (b = b.ptr);
1791
- c && "object" === typeof c && (c = c.ptr);
1792
- return D(vc(d, b, c), w);
1793
- };
1794
- m.prototype.GetMetadata = m.prototype.GetMetadata = function (b) {
1795
- var c = this.ptr;
1796
- b && "object" === typeof b && (b = b.ptr);
1797
- return D(wc(c, b), T);
1798
- };
1799
- m.prototype.GetAttributeMetadata = m.prototype.GetAttributeMetadata = function (b, c) {
1800
- var d = this.ptr;
1801
- b && "object" === typeof b && (b = b.ptr);
1802
- c && "object" === typeof c && (c = c.ptr);
1803
- return D(xc(d, b, c), T);
1804
- };
1805
- m.prototype.GetFaceFromMesh = m.prototype.GetFaceFromMesh = function (b, c, d) {
1806
- var g = this.ptr;
1807
- b && "object" === typeof b && (b = b.ptr);
1808
- c && "object" === typeof c && (c = c.ptr);
1809
- d && "object" === typeof d && (d = d.ptr);
1810
- return !!yc(g, b, c, d);
1811
- };
1812
- m.prototype.GetTriangleStripsFromMesh = m.prototype.GetTriangleStripsFromMesh = function (b, c) {
1813
- var d = this.ptr;
1814
- b && "object" === typeof b && (b = b.ptr);
1815
- c && "object" === typeof c && (c = c.ptr);
1816
- return zc(d, b, c);
1817
- };
1818
- m.prototype.GetTrianglesUInt16Array = m.prototype.GetTrianglesUInt16Array = function (b, c, d) {
1819
- var g = this.ptr;
1820
- b && "object" === typeof b && (b = b.ptr);
1821
- c && "object" === typeof c && (c = c.ptr);
1822
- d && "object" === typeof d && (d = d.ptr);
1823
- return !!Ac(g, b, c, d);
1824
- };
1825
- m.prototype.GetTrianglesUInt32Array = m.prototype.GetTrianglesUInt32Array = function (b, c, d) {
1826
- var g = this.ptr;
1827
- b && "object" === typeof b && (b = b.ptr);
1828
- c && "object" === typeof c && (c = c.ptr);
1829
- d && "object" === typeof d && (d = d.ptr);
1830
- return !!Bc(g, b, c, d);
1831
- };
1832
- m.prototype.GetAttributeFloat = m.prototype.GetAttributeFloat = function (b, c, d) {
1833
- var g = this.ptr;
1834
- b && "object" === typeof b && (b = b.ptr);
1835
- c && "object" === typeof c && (c = c.ptr);
1836
- d && "object" === typeof d && (d = d.ptr);
1837
- return !!Cc(g, b, c, d);
1838
- };
1839
- m.prototype.GetAttributeFloatForAllPoints = m.prototype.GetAttributeFloatForAllPoints = function (b, c, d) {
1840
- var g = this.ptr;
1841
- b && "object" === typeof b && (b = b.ptr);
1842
- c && "object" === typeof c && (c = c.ptr);
1843
- d && "object" === typeof d && (d = d.ptr);
1844
- return !!Dc(g, b, c, d);
1845
- };
1846
- m.prototype.GetAttributeIntForAllPoints = m.prototype.GetAttributeIntForAllPoints = function (b, c, d) {
1847
- var g = this.ptr;
1848
- b && "object" === typeof b && (b = b.ptr);
1849
- c && "object" === typeof c && (c = c.ptr);
1850
- d && "object" === typeof d && (d = d.ptr);
1851
- return !!Ec(g, b, c, d);
1852
- };
1853
- m.prototype.GetAttributeInt8ForAllPoints = m.prototype.GetAttributeInt8ForAllPoints = function (b, c, d) {
1854
- var g = this.ptr;
1855
- b && "object" === typeof b && (b = b.ptr);
1856
- c && "object" === typeof c && (c = c.ptr);
1857
- d && "object" === typeof d && (d = d.ptr);
1858
- return !!Fc(g, b, c, d);
1859
- };
1860
- m.prototype.GetAttributeUInt8ForAllPoints = m.prototype.GetAttributeUInt8ForAllPoints = function (b, c, d) {
1861
- var g = this.ptr;
1862
- b && "object" === typeof b && (b = b.ptr);
1863
- c && "object" === typeof c && (c = c.ptr);
1864
- d && "object" === typeof d && (d = d.ptr);
1865
- return !!Gc(g, b, c, d);
1866
- };
1867
- m.prototype.GetAttributeInt16ForAllPoints = m.prototype.GetAttributeInt16ForAllPoints = function (b, c, d) {
1868
- var g = this.ptr;
1869
- b && "object" === typeof b && (b = b.ptr);
1870
- c && "object" === typeof c && (c = c.ptr);
1871
- d && "object" === typeof d && (d = d.ptr);
1872
- return !!Hc(g, b, c, d);
1873
- };
1874
- m.prototype.GetAttributeUInt16ForAllPoints = m.prototype.GetAttributeUInt16ForAllPoints = function (b, c, d) {
1875
- var g = this.ptr;
1876
- b && "object" === typeof b && (b = b.ptr);
1877
- c && "object" === typeof c && (c = c.ptr);
1878
- d && "object" === typeof d && (d = d.ptr);
1879
- return !!Ic(g, b, c, d);
1880
- };
1881
- m.prototype.GetAttributeInt32ForAllPoints = m.prototype.GetAttributeInt32ForAllPoints = function (b, c, d) {
1882
- var g = this.ptr;
1883
- b && "object" === typeof b && (b = b.ptr);
1884
- c && "object" === typeof c && (c = c.ptr);
1885
- d && "object" === typeof d && (d = d.ptr);
1886
- return !!Jc(g, b, c, d);
1887
- };
1888
- m.prototype.GetAttributeUInt32ForAllPoints = m.prototype.GetAttributeUInt32ForAllPoints = function (b, c, d) {
1889
- var g = this.ptr;
1890
- b && "object" === typeof b && (b = b.ptr);
1891
- c && "object" === typeof c && (c = c.ptr);
1892
- d && "object" === typeof d && (d = d.ptr);
1893
- return !!Kc(g, b, c, d);
1894
- };
1895
- m.prototype.GetAttributeDataArrayForAllPoints = m.prototype.GetAttributeDataArrayForAllPoints = function (b, c, d, g, u) {
1896
- var X = this.ptr;
1897
- b && "object" === typeof b && (b = b.ptr);
1898
- c && "object" === typeof c && (c = c.ptr);
1899
- d && "object" === typeof d && (d = d.ptr);
1900
- g && "object" === typeof g && (g = g.ptr);
1901
- u && "object" === typeof u && (u = u.ptr);
1902
- return !!Lc(X, b, c, d, g, u);
1903
- };
1904
- m.prototype.SkipAttributeTransform = m.prototype.SkipAttributeTransform = function (b) {
1905
- var c = this.ptr;
1906
- b && "object" === typeof b && (b = b.ptr);
1907
- Mc(c, b);
1908
- };
1909
- m.prototype.GetEncodedGeometryType_Deprecated = m.prototype.GetEncodedGeometryType_Deprecated = function (b) {
1910
- var c = this.ptr;
1911
- b && "object" === typeof b && (b = b.ptr);
1912
- return Nc(c, b);
1913
- };
1914
- m.prototype.DecodeBufferToPointCloud = m.prototype.DecodeBufferToPointCloud = function (b, c) {
1915
- var d = this.ptr;
1916
- b && "object" === typeof b && (b = b.ptr);
1917
- c && "object" === typeof c && (c = c.ptr);
1918
- return D(Oc(d, b, c), B);
1919
- };
1920
- m.prototype.DecodeBufferToMesh = m.prototype.DecodeBufferToMesh = function (b, c) {
1921
- var d = this.ptr;
1922
- b && "object" === typeof b && (b = b.ptr);
1923
- c && "object" === typeof c && (c = c.ptr);
1924
- return D(Pc(d, b, c), B);
1925
- };
1926
- m.prototype.__destroy__ = m.prototype.__destroy__ = function () {
1927
- Qc(this.ptr);
1928
- };
1929
- (function () {
1930
- function b() {
1931
- a.ATTRIBUTE_INVALID_TRANSFORM = Rc();
1932
- a.ATTRIBUTE_NO_TRANSFORM = Sc();
1933
- a.ATTRIBUTE_QUANTIZATION_TRANSFORM = Tc();
1934
- a.ATTRIBUTE_OCTAHEDRON_TRANSFORM = Uc();
1935
- a.INVALID = Vc();
1936
- a.POSITION = Wc();
1937
- a.NORMAL = Xc();
1938
- a.COLOR = Yc();
1939
- a.TEX_COORD = Zc();
1940
- a.GENERIC = $c();
1941
- a.INVALID_GEOMETRY_TYPE = ad();
1942
- a.POINT_CLOUD = bd();
1943
- a.TRIANGULAR_MESH = cd();
1944
- a.DT_INVALID = dd();
1945
- a.DT_INT8 = ed();
1946
- a.DT_UINT8 = fd();
1947
- a.DT_INT16 = gd();
1948
- a.DT_UINT16 = hd();
1949
- a.DT_INT32 = id();
1950
- a.DT_UINT32 = jd();
1951
- a.DT_INT64 = kd();
1952
- a.DT_UINT64 = ld();
1953
- a.DT_FLOAT32 = md();
1954
- a.DT_FLOAT64 = nd();
1955
- a.DT_BOOL = od();
1956
- a.DT_TYPES_COUNT = pd();
1957
- a.OK = qd();
1958
- a.DRACO_ERROR = rd();
1959
- a.IO_ERROR = sd();
1960
- a.INVALID_PARAMETER = td();
1961
- a.UNSUPPORTED_VERSION = ud();
1962
- a.UNKNOWN_VERSION = vd();
1963
- }
1964
- za ? b() : oa.unshift(b);
1965
- })();
1966
- if ("function" === typeof a.onModuleParsed) a.onModuleParsed();
1967
- a.Decoder.prototype.GetEncodedGeometryType = function (b) {
1968
- if (b.__class__ && b.__class__ === a.DecoderBuffer) return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(b);
1969
- if (8 > b.byteLength) return a.INVALID_GEOMETRY_TYPE;
1970
- switch (b[7]) {
1971
- case 0:
1972
- return a.POINT_CLOUD;
1973
- case 1:
1974
- return a.TRIANGULAR_MESH;
1975
- default:
1976
- return a.INVALID_GEOMETRY_TYPE;
1977
- }
1978
- };
1979
- return n.ready;
1980
- };
1981
- }();
1982
- "object" === typeof exports && "object" === typeof module ? module.exports = DracoDecoderModule : "function" === typeof define && define.amd ? define([], function () {
1983
- return DracoDecoderModule;
1984
- }) : "object" === typeof exports && (exports.DracoDecoderModule = DracoDecoderModule);
1985
- //# sourceMappingURL=draco_wasm_wrapper.js.map
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(k){var n=0;return function(){return n<k.length?{done:!1,value:k[n++]}:{done:!0}}};$jscomp.arrayIterator=function(k){return{next:$jscomp.arrayIteratorImpl(k)}};$jscomp.makeIterator=function(k){var n="undefined"!=typeof Symbol&&Symbol.iterator&&k[Symbol.iterator];return n?n.call(k):$jscomp.arrayIterator(k)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
2
+ $jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(k){k=["object"==typeof globalThis&&globalThis,k,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<k.length;++n){var l=k[n];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
3
+ $jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(k,n,l){if(k==Array.prototype||k==Object.prototype)return k;k[n]=l.value;return k};$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";
4
+ var $jscomp$lookupPolyfilledValue=function(k,n){var l=$jscomp.propertyToPolyfillSymbol[n];if(null==l)return k[n];l=k[l];return void 0!==l?l:k[n]};$jscomp.polyfill=function(k,n,l,p){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(k,n,l,p):$jscomp.polyfillUnisolated(k,n,l,p))};
5
+ $jscomp.polyfillUnisolated=function(k,n,l,p){l=$jscomp.global;k=k.split(".");for(p=0;p<k.length-1;p++){var h=k[p];if(!(h in l))return;l=l[h]}k=k[k.length-1];p=l[k];n=n(p);n!=p&&null!=n&&$jscomp.defineProperty(l,k,{configurable:!0,writable:!0,value:n})};
6
+ $jscomp.polyfillIsolated=function(k,n,l,p){var h=k.split(".");k=1===h.length;p=h[0];p=!k&&p in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var A=0;A<h.length-1;A++){var f=h[A];if(!(f in p))return;p=p[f]}h=h[h.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?p[h]:null;n=n(l);null!=n&&(k?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:n}):n!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[h]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE?
7
+ $jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+l+"$"+h),$jscomp.defineProperty(p,$jscomp.propertyToPolyfillSymbol[h],{configurable:!0,writable:!0,value:n})))};
8
+ $jscomp.polyfill("Promise",function(k){function n(){this.batch_=null}function l(f){return f instanceof h?f:new h(function(q,v){q(f)})}if(k&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof $jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return k;n.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(f)};
9
+ var p=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(f){p(f,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var f=this.batch_;this.batch_=[];for(var q=0;q<f.length;++q){var v=f[q];f[q]=null;try{v()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};n.prototype.asyncThrow_=function(f){this.asyncExecuteFunction(function(){throw f;})};var h=function(f){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_();
10
+ try{f(q.resolve,q.reject)}catch(v){q.reject(v)}};h.prototype.createResolveAndReject_=function(){function f(z){return function(O){v||(v=!0,z.call(q,O))}}var q=this,v=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}};h.prototype.resolveTo_=function(f){if(f===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof h)this.settleSameAsPromise_(f);else{a:switch(typeof f){case "object":var q=null!=f;break a;case "function":q=!0;break a;default:q=!1}q?this.resolveToNonPromiseObj_(f):
11
+ this.fulfill_(f)}};h.prototype.resolveToNonPromiseObj_=function(f){var q=void 0;try{q=f.then}catch(v){this.reject_(v);return}"function"==typeof q?this.settleSameAsThenable_(q,f):this.fulfill_(f)};h.prototype.reject_=function(f){this.settle_(2,f)};h.prototype.fulfill_=function(f){this.settle_(1,f)};h.prototype.settle_=function(f,q){if(0!=this.state_)throw Error("Cannot settle("+f+", "+q+"): Promise already settled in state"+this.state_);this.state_=f;this.result_=q;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
12
+ this.executeOnSettledCallbacks_()};h.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;p(function(){if(f.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(f.result_)}},1)};h.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,q=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):
13
+ "function"===typeof q?f=new q("unhandledrejection",{cancelable:!0}):(f=$jscomp.global.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.result_;return v(f)};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)A.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var A=new n;h.prototype.settleSameAsPromise_=function(f){var q=this.createResolveAndReject_();
14
+ f.callWhenSettled_(q.resolve,q.reject)};h.prototype.settleSameAsThenable_=function(f,q){var v=this.createResolveAndReject_();try{f.call(q,v.resolve,v.reject)}catch(z){v.reject(z)}};h.prototype.then=function(f,q){function v(t,x){return"function"==typeof t?function(D){try{z(t(D))}catch(R){O(R)}}:x}var z,O,ba=new h(function(t,x){z=t;O=x});this.callWhenSettled_(v(f,z),v(q,O));return ba};h.prototype.catch=function(f){return this.then(void 0,f)};h.prototype.callWhenSettled_=function(f,q){function v(){switch(z.state_){case 1:f(z.result_);
15
+ break;case 2:q(z.result_);break;default:throw Error("Unexpected state: "+z.state_);}}var z=this;null==this.onSettledCallbacks_?A.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};h.resolve=l;h.reject=function(f){return new h(function(q,v){v(f)})};h.race=function(f){return new h(function(q,v){for(var z=$jscomp.makeIterator(f),O=z.next();!O.done;O=z.next())l(O.value).callWhenSettled_(q,v)})};h.all=function(f){var q=$jscomp.makeIterator(f),v=q.next();return v.done?l([]):new h(function(z,
16
+ O){function ba(D){return function(R){t[D]=R;x--;0==x&&z(t)}}var t=[],x=0;do t.push(void 0),x++,l(v.value).callWhenSettled_(ba(t.length-1),O),v=q.next();while(!v.done)})};return h},"es6","es3");$jscomp.owns=function(k,n){return Object.prototype.hasOwnProperty.call(k,n)};$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(k,n){for(var l=1;l<arguments.length;l++){var p=arguments[l];if(p)for(var h in p)$jscomp.owns(p,h)&&(k[h]=p[h])}return k};
17
+ $jscomp.polyfill("Object.assign",function(k){return k||$jscomp.assign},"es6","es3");$jscomp.checkStringArgs=function(k,n,l){if(null==k)throw new TypeError("The 'this' value for String.prototype."+l+" must not be null or undefined");if(n instanceof RegExp)throw new TypeError("First argument to String.prototype."+l+" must not be a regular expression");return k+""};
18
+ $jscomp.polyfill("String.prototype.startsWith",function(k){return k?k:function(n,l){var p=$jscomp.checkStringArgs(this,n,"startsWith");n+="";var h=p.length,A=n.length;l=Math.max(0,Math.min(l|0,p.length));for(var f=0;f<A&&l<h;)if(p[l++]!=n[f++])return!1;return f>=A}},"es6","es3");
19
+ $jscomp.polyfill("Array.prototype.copyWithin",function(k){function n(l){l=Number(l);return Infinity===l||-Infinity===l?l:l|0}return k?k:function(l,p,h){var A=this.length;l=n(l);p=n(p);h=void 0===h?A:n(h);l=0>l?Math.max(A+l,0):Math.min(l,A);p=0>p?Math.max(A+p,0):Math.min(p,A);h=0>h?Math.max(A+h,0):Math.min(h,A);if(l<p)for(;p<h;)p in this?this[l++]=this[p++]:(delete this[l++],p++);else for(h=Math.min(h,A+p-l),l+=h-p;h>p;)--h in this?this[--l]=this[h]:delete this[--l];return this}},"es6","es3");
20
+ $jscomp.typedArrayCopyWithin=function(k){return k?k:Array.prototype.copyWithin};$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");
21
+ $jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");
22
+ var DracoDecoderModule=function(){var k="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(k=k||__filename);return function(n){function l(e){return a.locateFile?a.locateFile(e,U):U+e}function p(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.buffer&&ua)return ua.decode(e.subarray(b,c));for(d="";b<c;){var g=e[b++];if(g&128){var u=e[b++]&63;if(192==(g&224))d+=String.fromCharCode((g&31)<<6|u);else{var X=e[b++]&63;g=224==
23
+ (g&240)?(g&15)<<12|u<<6|X:(g&7)<<18|u<<12|X<<6|e[b++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}return d}function h(e,b){return e?p(ea,e,b):""}function A(e){va=e;a.HEAP8=Y=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=ca=new Int32Array(e);a.HEAPU8=ea=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=V=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function f(e){if(a.onAbort)a.onAbort(e);
24
+ e="Aborted("+e+")";da(e);wa=!0;e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info.");ja(e);throw e;}function q(e){try{if(e==P&&fa)return new Uint8Array(fa);if(ma)return ma(e);throw"both async and sync fetching of the wasm failed";}catch(b){f(b)}}function v(){if(!fa&&(xa||ha)){if("function"==typeof fetch&&!P.startsWith("file://"))return fetch(P,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+P+"'";return e.arrayBuffer()}).catch(function(){return q(P)});
25
+ if(na)return new Promise(function(e,b){na(P,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return q(P)})}function z(e){for(;0<e.length;)e.shift()(a)}function O(e){this.excPtr=e;this.ptr=e-24;this.set_type=function(b){V[this.ptr+4>>2]=b};this.get_type=function(){return V[this.ptr+4>>2]};this.set_destructor=function(b){V[this.ptr+8>>2]=b};this.get_destructor=function(){return V[this.ptr+8>>2]};this.set_refcount=function(b){ca[this.ptr>>2]=b};this.set_caught=function(b){Y[this.ptr+
26
+ 12>>0]=b?1:0};this.get_caught=function(){return 0!=Y[this.ptr+12>>0]};this.set_rethrown=function(b){Y[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=Y[this.ptr+13>>0]};this.init=function(b,c){this.set_adjusted_ptr(0);this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){ca[this.ptr>>2]+=1};this.release_ref=function(){var b=ca[this.ptr>>2];ca[this.ptr>>2]=b-1;return 1===b};this.set_adjusted_ptr=function(b){V[this.ptr+
27
+ 16>>2]=b};this.get_adjusted_ptr=function(){return V[this.ptr+16>>2]};this.get_exception_ptr=function(){if(ya(this.get_type()))return V[this.excPtr>>2];var b=this.get_adjusted_ptr();return 0!==b?b:this.excPtr}}function ba(e){function b(){if(!ka&&(ka=!0,a.calledRun=!0,!wa)){za=!0;z(oa);Aa(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ba.unshift(a.postRun.shift());z(Ba)}}if(!(0<aa)){if(a.preRun)for("function"==
28
+ typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ca.unshift(a.preRun.shift());z(Ca);0<aa||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function t(){}function x(e){return(e||t).__cache__}function D(e,b){var c=x(b),d=c[e];if(d)return d;d=Object.create((b||t).prototype);d.ptr=e;return c[e]=d}function R(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);127>=d?b++:2047>=d?b+=2:55296<=d&&57343>=
29
+ d?(b+=4,++c):b+=3}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var g=0;g<e.length;++g){var u=e.charCodeAt(g);if(55296<=u&&57343>=u){var X=e.charCodeAt(++g);u=65536+((u&1023)<<10)|X&1023}if(127>=u){if(c>=d)break;b[c++]=u}else{if(2047>=u){if(c+1>=d)break;b[c++]=192|u>>6}else{if(65535>=u){if(c+2>=d)break;b[c++]=224|u>>12}else{if(c+3>=d)break;b[c++]=240|u>>18;b[c++]=128|u>>12&63}b[c++]=128|u>>6&63}b[c++]=128|u&63}}b[c]=0}e=r.alloc(b,Y);r.copy(b,Y,e);return e}return e}function pa(e){if("object"===typeof e){var b=
30
+ r.alloc(e,Y);r.copy(e,Y,b);return b}return e}function Z(){throw"cannot construct a VoidPtr, no constructor in IDL";}function S(){this.ptr=Da();x(S)[this.ptr]=this}function Q(){this.ptr=Ea();x(Q)[this.ptr]=this}function W(){this.ptr=Fa();x(W)[this.ptr]=this}function w(){this.ptr=Ga();x(w)[this.ptr]=this}function C(){this.ptr=Ha();x(C)[this.ptr]=this}function F(){this.ptr=Ia();x(F)[this.ptr]=this}function G(){this.ptr=Ja();x(G)[this.ptr]=this}function E(){this.ptr=Ka();x(E)[this.ptr]=this}function T(){this.ptr=
31
+ La();x(T)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL";}function H(){this.ptr=Ma();x(H)[this.ptr]=this}function I(){this.ptr=Na();x(I)[this.ptr]=this}function J(){this.ptr=Oa();x(J)[this.ptr]=this}function K(){this.ptr=Pa();x(K)[this.ptr]=this}function L(){this.ptr=Qa();x(L)[this.ptr]=this}function M(){this.ptr=Ra();x(M)[this.ptr]=this}function N(){this.ptr=Sa();x(N)[this.ptr]=this}function y(){this.ptr=Ta();x(y)[this.ptr]=this}function m(){this.ptr=Ua();x(m)[this.ptr]=
32
+ this}n=n||{};var a="undefined"!=typeof n?n:{},Aa,ja;a.ready=new Promise(function(e,b){Aa=e;ja=b});var Va=!1,Wa=!1;a.onRuntimeInitialized=function(){Va=!0;if(Wa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Wa=!0;if(Va&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(e){if("string"!==typeof e)return!1;e=e.split(".");return 2>e.length||3<e.length?!1:1==e[0]&&0<=e[1]&&5>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var Xa=Object.assign({},
33
+ a),xa="object"==typeof window,ha="function"==typeof importScripts,Ya="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,U="";if(Ya){U=ha?require("path").dirname(U)+"/":__dirname+"/";if("function"===typeof require){var Za=require("fs");var $a=require("path")}var ab=function(e,b){e=$a.normalize(e);return Za.readFileSync(e,b?void 0:"utf8")};var ma=function(e){e=ab(e,!0);e.buffer||(e=new Uint8Array(e));return e};var na=function(e,b,c){e=$a.normalize(e);
34
+ Za.readFile(e,function(d,g){d?c(d):b(g.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(xa||ha)ha?U=self.location.href:"undefined"!=typeof document&&document.currentScript&&(U=document.currentScript.src),k&&(U=k),U=0!==U.indexOf("blob:")?U.substr(0,U.replace(/[?#].*/,"").lastIndexOf("/")+1):"",ab=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.send(null);return b.responseText},ha&&
35
+ (ma=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),na=function(e,b,c){var d=new XMLHttpRequest;d.open("GET",e,!0);d.responseType="arraybuffer";d.onload=function(){200==d.status||0==d.status&&d.response?b(d.response):c()};d.onerror=c;d.send(null)};var wd=a.print||console.log.bind(console),da=a.printErr||console.warn.bind(console);Object.assign(a,Xa);Xa=null;var fa;a.wasmBinary&&(fa=a.wasmBinary);"object"!=typeof WebAssembly&&
36
+ f("no native wasm support detected");var la,wa=!1,ua="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,va,Y,ea,ca,V,Ca=[],oa=[],Ba=[],za=!1,aa=0,qa=null,ia=null;var P="draco_decoder.wasm";P.startsWith("data:application/octet-stream;base64,")||(P=l(P));var xd=0,yd=[null,[],[]],zd={c:function(e){return bb(e+24)+24},b:function(e,b,c){(new O(e)).init(b,c);xd++;throw e;},a:function(){f("")},h:function(e,b,c){ea.copyWithin(e,b,b+c)},f:function(e){var b=ea.length;e>>>=0;if(2147483648<e)return!1;
37
+ for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);var g=Math;d=Math.max(e,d);g=g.min.call(g,2147483648,d+(65536-d%65536)%65536);a:{try{la.grow(g-va.byteLength+65535>>>16);A(la.buffer);var u=1;break a}catch(X){}u=void 0}if(u)return!0}return!1},g:function(e){return 52},e:function(e,b,c,d,g){return 70},d:function(e,b,c,d){for(var g=0,u=0;u<c;u++){var X=V[b>>2],cb=V[b+4>>2];b+=8;for(var ra=0;ra<cb;ra++){var sa=ea[X+ra],ta=yd[e];0===sa||10===sa?((1===e?wd:da)(p(ta,0)),ta.length=0):ta.push(sa)}g+=
38
+ cb}V[d>>2]=g;return 0}};(function(){function e(g,u){a.asm=g.exports;la=a.asm.i;A(la.buffer);oa.unshift(a.asm.j);aa--;a.monitorRunDependencies&&a.monitorRunDependencies(aa);0==aa&&(null!==qa&&(clearInterval(qa),qa=null),ia&&(g=ia,ia=null,g()))}function b(g){e(g.instance)}function c(g){return v().then(function(u){return WebAssembly.instantiate(u,d)}).then(function(u){return u}).then(g,function(u){da("failed to asynchronously prepare wasm: "+u);f(u)})}var d={a:zd};aa++;a.monitorRunDependencies&&a.monitorRunDependencies(aa);
39
+ if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(g){da("Module.instantiateWasm callback failed with error: "+g),ja(g)}(function(){return fa||"function"!=typeof WebAssembly.instantiateStreaming||P.startsWith("data:application/octet-stream;base64,")||P.startsWith("file://")||Ya||"function"!=typeof fetch?c(b):fetch(P,{credentials:"same-origin"}).then(function(g){return WebAssembly.instantiateStreaming(g,d).then(b,function(u){da("wasm streaming compile failed: "+u);da("falling back to ArrayBuffer instantiation");
40
+ return c(b)})})})().catch(ja);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.j).apply(null,arguments)};var db=a._emscripten_bind_VoidPtr___destroy___0=function(){return(db=a._emscripten_bind_VoidPtr___destroy___0=a.asm.l).apply(null,arguments)},Da=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Da=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.m).apply(null,arguments)},eb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(eb=a._emscripten_bind_DecoderBuffer_Init_2=
41
+ a.asm.n).apply(null,arguments)},fb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(fb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.o).apply(null,arguments)},Ea=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ea=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.p).apply(null,arguments)},gb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(gb=a._emscripten_bind_AttributeTransformData_transform_type_0=
42
+ a.asm.q).apply(null,arguments)},hb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(hb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.r).apply(null,arguments)},Fa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Fa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.s).apply(null,arguments)},ib=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(ib=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.t).apply(null,
43
+ arguments)},Ga=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ga=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.u).apply(null,arguments)},jb=a._emscripten_bind_PointAttribute_size_0=function(){return(jb=a._emscripten_bind_PointAttribute_size_0=a.asm.v).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(kb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.w).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute_attribute_type_0=
44
+ function(){return(lb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.x).apply(null,arguments)},mb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(mb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.y).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(nb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.z).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_normalized_0=function(){return(ob=a._emscripten_bind_PointAttribute_normalized_0=
45
+ a.asm.A).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(pb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.B).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(qb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.C).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(rb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.D).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute___destroy___0=
46
+ function(){return(sb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.E).apply(null,arguments)},Ha=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Ha=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.F).apply(null,arguments)},tb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(tb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.G).apply(null,
47
+ arguments)},ub=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(ub=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.H).apply(null,arguments)},vb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(vb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.I).apply(null,arguments)},wb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(wb=a._emscripten_bind_AttributeQuantizationTransform_range_0=
48
+ a.asm.J).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.K).apply(null,arguments)},Ia=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ia=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.L).apply(null,arguments)},yb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=
49
+ function(){return(yb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.M).apply(null,arguments)},zb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(zb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.N).apply(null,arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Ab=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.O).apply(null,arguments)},Ja=a._emscripten_bind_PointCloud_PointCloud_0=
50
+ function(){return(Ja=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.P).apply(null,arguments)},Bb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Bb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.Q).apply(null,arguments)},Cb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Cb=a._emscripten_bind_PointCloud_num_points_0=a.asm.R).apply(null,arguments)},Db=a._emscripten_bind_PointCloud___destroy___0=function(){return(Db=a._emscripten_bind_PointCloud___destroy___0=a.asm.S).apply(null,
51
+ arguments)},Ka=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ka=a._emscripten_bind_Mesh_Mesh_0=a.asm.T).apply(null,arguments)},Eb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Eb=a._emscripten_bind_Mesh_num_faces_0=a.asm.U).apply(null,arguments)},Fb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Fb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.V).apply(null,arguments)},Gb=a._emscripten_bind_Mesh_num_points_0=function(){return(Gb=a._emscripten_bind_Mesh_num_points_0=a.asm.W).apply(null,
52
+ arguments)},Hb=a._emscripten_bind_Mesh___destroy___0=function(){return(Hb=a._emscripten_bind_Mesh___destroy___0=a.asm.X).apply(null,arguments)},La=a._emscripten_bind_Metadata_Metadata_0=function(){return(La=a._emscripten_bind_Metadata_Metadata_0=a.asm.Y).apply(null,arguments)},Ib=a._emscripten_bind_Metadata___destroy___0=function(){return(Ib=a._emscripten_bind_Metadata___destroy___0=a.asm.Z).apply(null,arguments)},Jb=a._emscripten_bind_Status_code_0=function(){return(Jb=a._emscripten_bind_Status_code_0=
53
+ a.asm._).apply(null,arguments)},Kb=a._emscripten_bind_Status_ok_0=function(){return(Kb=a._emscripten_bind_Status_ok_0=a.asm.$).apply(null,arguments)},Lb=a._emscripten_bind_Status_error_msg_0=function(){return(Lb=a._emscripten_bind_Status_error_msg_0=a.asm.aa).apply(null,arguments)},Mb=a._emscripten_bind_Status___destroy___0=function(){return(Mb=a._emscripten_bind_Status___destroy___0=a.asm.ba).apply(null,arguments)},Ma=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Ma=
54
+ a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.ca).apply(null,arguments)},Nb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Nb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.da).apply(null,arguments)},Ob=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Ob=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.ea).apply(null,arguments)},Pb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Pb=a._emscripten_bind_DracoFloat32Array___destroy___0=
55
+ a.asm.fa).apply(null,arguments)},Na=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Na=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.ga).apply(null,arguments)},Qb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Qb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ha).apply(null,arguments)},Rb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Rb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ia).apply(null,arguments)},Sb=a._emscripten_bind_DracoInt8Array___destroy___0=
56
+ function(){return(Sb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.ja).apply(null,arguments)},Oa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Oa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ka).apply(null,arguments)},Tb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Tb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.la).apply(null,arguments)},Ub=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Ub=a._emscripten_bind_DracoUInt8Array_size_0=
57
+ a.asm.ma).apply(null,arguments)},Vb=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Vb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.na).apply(null,arguments)},Pa=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Pa=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.oa).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Wb=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.pa).apply(null,arguments)},Xb=
58
+ a._emscripten_bind_DracoInt16Array_size_0=function(){return(Xb=a._emscripten_bind_DracoInt16Array_size_0=a.asm.qa).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Yb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.ra).apply(null,arguments)},Qa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Qa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.sa).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt16Array_GetValue_1=
59
+ function(){return(Zb=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.ta).apply(null,arguments)},$b=a._emscripten_bind_DracoUInt16Array_size_0=function(){return($b=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ua).apply(null,arguments)},ac=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ac=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.va).apply(null,arguments)},Ra=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Ra=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
60
+ a.asm.wa).apply(null,arguments)},bc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(bc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.xa).apply(null,arguments)},cc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(cc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.ya).apply(null,arguments)},dc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(dc=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.za).apply(null,arguments)},Sa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=
61
+ function(){return(Sa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.Aa).apply(null,arguments)},ec=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(ec=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.Ba).apply(null,arguments)},fc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(fc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.Ca).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(gc=a._emscripten_bind_DracoUInt32Array___destroy___0=
62
+ a.asm.Da).apply(null,arguments)},Ta=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Ta=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Ea).apply(null,arguments)},hc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(hc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Fa).apply(null,arguments)},ic=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(ic=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Ga).apply(null,arguments)},jc=
63
+ a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(jc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.Ha).apply(null,arguments)},kc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(kc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ia).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ja).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_NumEntries_1=
64
+ function(){return(mc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ka).apply(null,arguments)},nc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(nc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.La).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(oc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ma).apply(null,arguments)},Ua=a._emscripten_bind_Decoder_Decoder_0=function(){return(Ua=a._emscripten_bind_Decoder_Decoder_0=
65
+ a.asm.Na).apply(null,arguments)},pc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(pc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Oa).apply(null,arguments)},qc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(qc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Pa).apply(null,arguments)},rc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(rc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Qa).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=
66
+ function(){return(sc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.Ra).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(tc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Sa).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(uc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Ta).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=
67
+ a.asm.Ua).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(wc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Va).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Wa).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(yc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Xa).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=
68
+ function(){return(zc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Ya).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ac=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Za).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Bc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm._a).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Cc=
69
+ a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.$a).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Dc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.ab).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.bb).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Fc=
70
+ a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.cb).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Gc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.db).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.eb).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
71
+ function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.fb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.gb).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.hb).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=
72
+ function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.ib).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Mc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.jb).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Nc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.kb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=
73
+ function(){return(Oc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.lb).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Pc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.mb).apply(null,arguments)},Qc=a._emscripten_bind_Decoder___destroy___0=function(){return(Qc=a._emscripten_bind_Decoder___destroy___0=a.asm.nb).apply(null,arguments)},Rc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Rc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
74
+ a.asm.ob).apply(null,arguments)},Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.pb).apply(null,arguments)},Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.qb).apply(null,arguments)},Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=
75
+ function(){return(Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.rb).apply(null,arguments)},Vc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Vc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.sb).apply(null,arguments)},Wc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Wc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.tb).apply(null,arguments)},Xc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=
76
+ function(){return(Xc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.ub).apply(null,arguments)},Yc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Yc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.vb).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.wb).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
77
+ function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.xb).apply(null,arguments)},ad=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(ad=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.yb).apply(null,arguments)},bd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(bd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.zb).apply(null,arguments)},cd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=
78
+ function(){return(cd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Ab).apply(null,arguments)},dd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(dd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.Bb).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(ed=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.Cb).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(fd=a._emscripten_enum_draco_DataType_DT_UINT8=
79
+ a.asm.Db).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(gd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Eb).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(hd=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Fb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Gb).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT32=
80
+ function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Hb).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(kd=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Ib).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(ld=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Jb).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(md=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Kb).apply(null,
81
+ arguments)},nd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(nd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Lb).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(od=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Mb).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(pd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.Nb).apply(null,arguments)},qd=a._emscripten_enum_draco_StatusCode_OK=function(){return(qd=
82
+ a._emscripten_enum_draco_StatusCode_OK=a.asm.Ob).apply(null,arguments)},rd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(rd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Pb).apply(null,arguments)},sd=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(sd=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Qb).apply(null,arguments)},td=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(td=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
83
+ a.asm.Rb).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(ud=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Sb).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(vd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Tb).apply(null,arguments)},bb=a._malloc=function(){return(bb=a._malloc=a.asm.Ub).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Vb).apply(null,arguments)};
84
+ var ya=a.___cxa_is_pointer_type=function(){return(ya=a.___cxa_is_pointer_type=a.asm.Wb).apply(null,arguments)};a.___start_em_js=15856;a.___stop_em_js=15954;var ka;ia=function b(){ka||ba();ka||(ia=b)};if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();ba();t.prototype=Object.create(t.prototype);t.prototype.constructor=t;t.prototype.__class__=t;t.__cache__={};a.WrapperObject=t;a.getCache=x;a.wrapPointer=D;a.castObject=function(b,c){return D(b.ptr,
85
+ c)};a.NULL=D(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete x(b.__class__)[b.ptr]};a.compare=function(b,c){return b.ptr===c.ptr};a.getPointer=function(b){return b.ptr};a.getClass=function(b){return b.__class__};var r={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(r.needed){for(var b=0;b<r.temps.length;b++)a._free(r.temps[b]);r.temps.length=0;a._free(r.buffer);r.buffer=0;r.size+=r.needed;r.needed=
86
+ 0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),r.buffer||f(void 0));r.pos=0},alloc:function(b,c){r.buffer||f(void 0);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(0<b||f(void 0),r.needed+=b,c=a._malloc(b),r.temps.push(c)):(c=r.buffer+r.pos,r.pos+=b);return c},copy:function(b,c,d){d>>>=0;switch(c.BYTES_PER_ELEMENT){case 2:d>>>=1;break;case 4:d>>>=2;break;case 8:d>>>=3}for(var g=0;g<b.length;g++)c[d+g]=b[g]}};Z.prototype=Object.create(t.prototype);Z.prototype.constructor=Z;Z.prototype.__class__=
87
+ Z;Z.__cache__={};a.VoidPtr=Z;Z.prototype.__destroy__=Z.prototype.__destroy__=function(){db(this.ptr)};S.prototype=Object.create(t.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.DecoderBuffer=S;S.prototype.Init=S.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=pa(b));c&&"object"===typeof c&&(c=c.ptr);eb(d,b,c)};S.prototype.__destroy__=S.prototype.__destroy__=function(){fb(this.ptr)};Q.prototype=Object.create(t.prototype);Q.prototype.constructor=
88
+ Q;Q.prototype.__class__=Q;Q.__cache__={};a.AttributeTransformData=Q;Q.prototype.transform_type=Q.prototype.transform_type=function(){return gb(this.ptr)};Q.prototype.__destroy__=Q.prototype.__destroy__=function(){hb(this.ptr)};W.prototype=Object.create(t.prototype);W.prototype.constructor=W;W.prototype.__class__=W;W.__cache__={};a.GeometryAttribute=W;W.prototype.__destroy__=W.prototype.__destroy__=function(){ib(this.ptr)};w.prototype=Object.create(t.prototype);w.prototype.constructor=w;w.prototype.__class__=
89
+ w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return jb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=function(){return D(kb(this.ptr),Q)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return lb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return mb(this.ptr)};w.prototype.num_components=w.prototype.num_components=function(){return nb(this.ptr)};w.prototype.normalized=w.prototype.normalized=
90
+ function(){return!!ob(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return pb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return qb(this.ptr)};w.prototype.unique_id=w.prototype.unique_id=function(){return rb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){sb(this.ptr)};C.prototype=Object.create(t.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=
91
+ C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!tb(c,b)};C.prototype.quantization_bits=C.prototype.quantization_bits=function(){return ub(this.ptr)};C.prototype.min_value=C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return vb(c,b)};C.prototype.range=C.prototype.range=function(){return wb(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){xb(this.ptr)};F.prototype=Object.create(t.prototype);
92
+ F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.AttributeOctahedronTransform=F;F.prototype.InitFromAttribute=F.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!yb(c,b)};F.prototype.quantization_bits=F.prototype.quantization_bits=function(){return zb(this.ptr)};F.prototype.__destroy__=F.prototype.__destroy__=function(){Ab(this.ptr)};G.prototype=Object.create(t.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__=
93
+ {};a.PointCloud=G;G.prototype.num_attributes=G.prototype.num_attributes=function(){return Bb(this.ptr)};G.prototype.num_points=G.prototype.num_points=function(){return Cb(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Db(this.ptr)};E.prototype=Object.create(t.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return Eb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return Fb(this.ptr)};
94
+ E.prototype.num_points=E.prototype.num_points=function(){return Gb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Hb(this.ptr)};T.prototype=Object.create(t.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.Metadata=T;T.prototype.__destroy__=T.prototype.__destroy__=function(){Ib(this.ptr)};B.prototype=Object.create(t.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Jb(this.ptr)};
95
+ B.prototype.ok=B.prototype.ok=function(){return!!Kb(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return h(Lb(this.ptr))};B.prototype.__destroy__=B.prototype.__destroy__=function(){Mb(this.ptr)};H.prototype=Object.create(t.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.DracoFloat32Array=H;H.prototype.GetValue=H.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Nb(c,b)};H.prototype.size=H.prototype.size=function(){return Ob(this.ptr)};
96
+ H.prototype.__destroy__=H.prototype.__destroy__=function(){Pb(this.ptr)};I.prototype=Object.create(t.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoInt8Array=I;I.prototype.GetValue=I.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Qb(c,b)};I.prototype.size=I.prototype.size=function(){return Rb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Sb(this.ptr)};J.prototype=Object.create(t.prototype);J.prototype.constructor=
97
+ J;J.prototype.__class__=J;J.__cache__={};a.DracoUInt8Array=J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Tb(c,b)};J.prototype.size=J.prototype.size=function(){return Ub(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Vb(this.ptr)};K.prototype=Object.create(t.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoInt16Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=
98
+ this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Wb(c,b)};K.prototype.size=K.prototype.size=function(){return Xb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Yb(this.ptr)};L.prototype=Object.create(t.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoUInt16Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Zb(c,b)};L.prototype.size=L.prototype.size=function(){return $b(this.ptr)};
99
+ L.prototype.__destroy__=L.prototype.__destroy__=function(){ac(this.ptr)};M.prototype=Object.create(t.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoInt32Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return bc(c,b)};M.prototype.size=M.prototype.size=function(){return cc(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){dc(this.ptr)};N.prototype=Object.create(t.prototype);N.prototype.constructor=
100
+ N;N.prototype.__class__=N;N.__cache__={};a.DracoUInt32Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ec(c,b)};N.prototype.size=N.prototype.size=function(){return fc(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){gc(this.ptr)};y.prototype=Object.create(t.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.MetadataQuerier=y;y.prototype.HasEntry=y.prototype.HasEntry=function(b,c){var d=
101
+ this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return!!hc(d,b,c)};y.prototype.GetIntEntry=y.prototype.GetIntEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return ic(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var g=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);d&&"object"===typeof d&&(d=d.ptr);jc(g,b,c,
102
+ d)};y.prototype.GetDoubleEntry=y.prototype.GetDoubleEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return kc(d,b,c)};y.prototype.GetStringEntry=y.prototype.GetStringEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return h(lc(d,b,c))};y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return mc(c,b)};y.prototype.GetEntryName=
103
+ y.prototype.GetEntryName=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return h(nc(d,b,c))};y.prototype.__destroy__=y.prototype.__destroy__=function(){oc(this.ptr)};m.prototype=Object.create(t.prototype);m.prototype.constructor=m;m.prototype.__class__=m;m.__cache__={};a.Decoder=m;m.prototype.DecodeArrayToPointCloud=m.prototype.DecodeArrayToPointCloud=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=pa(b));c&&"object"===typeof c&&
104
+ (c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return D(pc(g,b,c,d),B)};m.prototype.DecodeArrayToMesh=m.prototype.DecodeArrayToMesh=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=pa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return D(qc(g,b,c,d),B)};m.prototype.GetAttributeId=m.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return rc(d,b,c)};m.prototype.GetAttributeIdByName=m.prototype.GetAttributeIdByName=
105
+ function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return sc(d,b,c)};m.prototype.GetAttributeIdByMetadataEntry=m.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var g=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);d=d&&"object"===typeof d?d.ptr:R(d);return tc(g,b,c,d)};m.prototype.GetAttribute=m.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===
106
+ typeof c&&(c=c.ptr);return D(uc(d,b,c),w)};m.prototype.GetAttributeByUniqueId=m.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(vc(d,b,c),w)};m.prototype.GetMetadata=m.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return D(wc(c,b),T)};m.prototype.GetAttributeMetadata=m.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===
107
+ typeof c&&(c=c.ptr);return D(xc(d,b,c),T)};m.prototype.GetFaceFromMesh=m.prototype.GetFaceFromMesh=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!yc(g,b,c,d)};m.prototype.GetTriangleStripsFromMesh=m.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return zc(d,b,c)};m.prototype.GetTrianglesUInt16Array=m.prototype.GetTrianglesUInt16Array=
108
+ function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ac(g,b,c,d)};m.prototype.GetTrianglesUInt32Array=m.prototype.GetTrianglesUInt32Array=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Bc(g,b,c,d)};m.prototype.GetAttributeFloat=m.prototype.GetAttributeFloat=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);
109
+ c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(g,b,c,d)};m.prototype.GetAttributeFloatForAllPoints=m.prototype.GetAttributeFloatForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Dc(g,b,c,d)};m.prototype.GetAttributeIntForAllPoints=m.prototype.GetAttributeIntForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);
110
+ d&&"object"===typeof d&&(d=d.ptr);return!!Ec(g,b,c,d)};m.prototype.GetAttributeInt8ForAllPoints=m.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Fc(g,b,c,d)};m.prototype.GetAttributeUInt8ForAllPoints=m.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=
111
+ d.ptr);return!!Gc(g,b,c,d)};m.prototype.GetAttributeInt16ForAllPoints=m.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Hc(g,b,c,d)};m.prototype.GetAttributeUInt16ForAllPoints=m.prototype.GetAttributeUInt16ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ic(g,b,c,
112
+ d)};m.prototype.GetAttributeInt32ForAllPoints=m.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Jc(g,b,c,d)};m.prototype.GetAttributeUInt32ForAllPoints=m.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Kc(g,b,c,d)};m.prototype.GetAttributeDataArrayForAllPoints=
113
+ m.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,u){var X=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);g&&"object"===typeof g&&(g=g.ptr);u&&"object"===typeof u&&(u=u.ptr);return!!Lc(X,b,c,d,g,u)};m.prototype.SkipAttributeTransform=m.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Mc(c,b)};m.prototype.GetEncodedGeometryType_Deprecated=m.prototype.GetEncodedGeometryType_Deprecated=
114
+ function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Nc(c,b)};m.prototype.DecodeBufferToPointCloud=m.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(Oc(d,b,c),B)};m.prototype.DecodeBufferToMesh=m.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(Pc(d,b,c),B)};m.prototype.__destroy__=m.prototype.__destroy__=
115
+ function(){Qc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Rc();a.ATTRIBUTE_NO_TRANSFORM=Sc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Tc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Uc();a.INVALID=Vc();a.POSITION=Wc();a.NORMAL=Xc();a.COLOR=Yc();a.TEX_COORD=Zc();a.GENERIC=$c();a.INVALID_GEOMETRY_TYPE=ad();a.POINT_CLOUD=bd();a.TRIANGULAR_MESH=cd();a.DT_INVALID=dd();a.DT_INT8=ed();a.DT_UINT8=fd();a.DT_INT16=gd();a.DT_UINT16=hd();a.DT_INT32=id();a.DT_UINT32=jd();a.DT_INT64=kd();a.DT_UINT64=ld();
116
+ a.DT_FLOAT32=md();a.DT_FLOAT64=nd();a.DT_BOOL=od();a.DT_TYPES_COUNT=pd();a.OK=qd();a.DRACO_ERROR=rd();a.IO_ERROR=sd();a.INVALID_PARAMETER=td();a.UNSUPPORTED_VERSION=ud();a.UNKNOWN_VERSION=vd()}za?b():oa.unshift(b)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();a.Decoder.prototype.GetEncodedGeometryType=function(b){if(b.__class__&&b.__class__===a.DecoderBuffer)return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(b);if(8>b.byteLength)return a.INVALID_GEOMETRY_TYPE;switch(b[7]){case 0:return a.POINT_CLOUD;
117
+ case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return n.ready}}();"object"===typeof exports&&"object"===typeof module?module.exports=DracoDecoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoDecoderModule}):"object"===typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);