Draco v1.4.3

This commit is contained in:
Tom Finegan 2021-10-12 11:52:17 -07:00
parent 85a614fa66
commit 9f0e5c5f15
130 changed files with 1626 additions and 1246 deletions

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
# Draco requires C++11.

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_BUILD_DEFINITIONS_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_BUILD_DEFINITIONS_CMAKE_
@ -36,7 +50,24 @@ macro(draco_set_build_definitions)
endif()
draco_load_version_info()
set(DRACO_SOVERSION 1)
# Library version info. See the libtool docs for updating the values:
# https://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
#
# c=<current>, r=<revision>, a=<age>
#
# libtool generates a .so file as .so.[c-a].a.r, while -version-info c:r:a is
# passed to libtool.
#
# We set DRACO_SOVERSION = [c-a].a.r
set(LT_CURRENT 1)
set(LT_REVISION 0)
set(LT_AGE 0)
math(EXPR DRACO_SOVERSION_MAJOR "${LT_CURRENT} - ${LT_AGE}")
set(DRACO_SOVERSION "${DRACO_SOVERSION_MAJOR}.${LT_AGE}.${LT_REVISION}")
unset(LT_CURRENT)
unset(LT_REVISION)
unset(LT_AGE)
list(APPEND draco_include_paths "${draco_root}" "${draco_root}/src"
"${draco_build}")

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_CPU_DETECTION_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_CPU_DETECTION_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_EMSCRIPTEN_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_EMSCRIPTEN_CMAKE_
@ -36,7 +50,10 @@ macro(draco_get_required_emscripten_flags)
list(APPEND ${em_FLAG_LIST_VAR} "-fno-omit-frame-pointer")
list(APPEND ${em_FLAG_LIST_VAR} "-sMODULARIZE=1")
list(APPEND ${em_FLAG_LIST_VAR} "-sNO_FILESYSTEM=1")
list(APPEND ${em_FLAG_LIST_VAR} "-sEXPORTED_RUNTIME_METHODS=[]")
list(APPEND ${em_FLAG_LIST_VAR}
"-sEXPORTED_RUNTIME_METHODS=[\"callRuntimeCallbacks\"]")
list(APPEND ${em_FLAG_LIST_VAR}
"-sEXPORTED_FUNCTIONS=[\"_free\", \"_malloc\"]")
list(APPEND ${em_FLAG_LIST_VAR} "-sPRECISE_F32=1")
list(APPEND ${em_FLAG_LIST_VAR} "-sNODEJS_CATCH_EXIT=0")
list(APPEND ${em_FLAG_LIST_VAR} "-sNODEJS_CATCH_REJECTION=0")

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_FLAGS_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_FLAGS_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_HELPERS_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_HELPERS_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_INSTALL_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_INSTALL_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_INTRINSICS_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_INTRINSICS_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_OPTIONS_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_OPTIONS_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_SANITIZER_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_SANITIZER_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_TARGETS_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_TARGETS_CMAKE_
@ -87,7 +101,10 @@ macro(draco_add_executable)
endif()
add_executable(${exe_NAME} ${exe_SOURCES})
set_target_properties(${exe_NAME} PROPERTIES VERSION ${DRACO_VERSION})
if(NOT EMSCRIPTEN)
set_target_properties(${exe_NAME} PROPERTIES VERSION ${DRACO_VERSION})
endif()
if(exe_OUTPUT_NAME)
set_target_properties(${exe_NAME} PROPERTIES OUTPUT_NAME ${exe_OUTPUT_NAME})
@ -320,11 +337,12 @@ macro(draco_add_library)
set_target_properties(${lib_NAME} PROPERTIES PREFIX "")
endif()
# VERSION and SOVERSION as necessary
if(NOT lib_TYPE STREQUAL STATIC AND NOT lib_TYPE STREQUAL MODULE)
set_target_properties(${lib_NAME} PROPERTIES VERSION ${DRACO_VERSION})
if(NOT MSVC)
set_target_properties(${lib_NAME} PROPERTIES SOVERSION ${DRACO_SOVERSION})
if(NOT EMSCRIPTEN)
# VERSION and SOVERSION as necessary
if((lib_TYPE STREQUAL BUNDLE OR lib_TYPE STREQUAL SHARED) AND NOT MSVC)
set_target_properties(${lib_NAME}
PROPERTIES VERSION ${DRACO_SOVERSION} SOVERSION
${DRACO_SOVERSION_MAJOR})
endif()
endif()

View File

@ -1,3 +1,17 @@
// Copyright 2021 The Draco Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef DRACO_TESTING_DRACO_TEST_CONFIG_H_
#define DRACO_TESTING_DRACO_TEST_CONFIG_H_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_TESTS_CMAKE)
return()
endif()

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_DRACO_VARIABLES_CMAKE_)
return()
endif() # DRACO_CMAKE_DRACO_VARIABLES_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_AARCH64_LINUX_GNU_CMAKE_)
return()
endif() # DRACO_CMAKE_TOOLCHAINS_AARCH64_LINUX_GNU_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ANDROID_NDK_COMMON_CMAKE_)
return()
endif()

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ANDROID_CMAKE_)
return()
endif() # DRACO_CMAKE_TOOLCHAINS_ANDROID_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARM_IOS_COMMON_CMAKE_)
return()
endif()
@ -13,5 +27,3 @@ set(CMAKE_C_COMPILER clang)
set(CMAKE_C_COMPILER_ARG1 "-arch ${CMAKE_SYSTEM_PROCESSOR}")
set(CMAKE_CXX_COMPILER clang++)
set(CMAKE_CXX_COMPILER_ARG1 "-arch ${CMAKE_SYSTEM_PROCESSOR}")
# TODO(tomfinegan): Handle bit code embedding.

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARM_LINUX_GNUEABIHF_CMAKE_)
return()
endif() # DRACO_CMAKE_TOOLCHAINS_ARM_LINUX_GNUEABIHF_CMAKE_

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARM64_ANDROID_NDK_LIBCPP_CMAKE_)
return()
endif()

View File

@ -1,10 +1,23 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARM64_IOS_CMAKE_)
return()
endif()
set(DRACO_CMAKE_TOOLCHAINS_ARM64_IOS_CMAKE_ 1)
if(XCODE)
# TODO(tomfinegan): Handle arm builds in Xcode.
message(FATAL_ERROR "This toolchain does not support Xcode.")
endif()

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARM64_LINUX_GCC_CMAKE_)
return()
endif()

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARMV7_ANDROID_NDK_LIBCPP_CMAKE_)
return()
endif()

View File

@ -1,10 +1,23 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARMV7_IOS_CMAKE_)
return()
endif()
set(DRACO_CMAKE_TOOLCHAINS_ARMV7_IOS_CMAKE_ 1)
if(XCODE)
# TODO(tomfinegan): Handle arm builds in Xcode.
message(FATAL_ERROR "This toolchain does not support Xcode.")
endif()

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARMV7_LINUX_GCC_CMAKE_)
return()
endif()

View File

@ -1,10 +1,23 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_ARMV7S_IOS_CMAKE_)
return()
endif()
set(DRACO_CMAKE_TOOLCHAINS_ARMV7S_IOS_CMAKE_ 1)
if(XCODE)
# TODO(tomfinegan): Handle arm builds in Xcode.
message(FATAL_ERROR "This toolchain does not support Xcode.")
endif()

View File

@ -1,10 +1,23 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_i386_IOS_CMAKE_)
return()
endif()
set(DRACO_CMAKE_TOOLCHAINS_i386_IOS_CMAKE_ 1)
if(XCODE)
# TODO(tomfinegan): Handle arm builds in Xcode.
message(FATAL_ERROR "This toolchain does not support Xcode.")
endif()

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_X86_ANDROID_NDK_LIBCPP_CMAKE_)
return()
endif()

View File

@ -1,3 +1,17 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_X86_64_ANDROID_NDK_LIBCPP_CMAKE_)
return()
endif()

View File

@ -1,10 +1,23 @@
# Copyright 2021 The Draco Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if(DRACO_CMAKE_TOOLCHAINS_X86_64_IOS_CMAKE_)
return()
endif()
set(DRACO_CMAKE_TOOLCHAINS_X86_64_IOS_CMAKE_ 1)
if(XCODE)
# TODO(tomfinegan): Handle arm builds in Xcode.
message(FATAL_ERROR "This toolchain does not support Xcode.")
endif()

View File

@ -1 +1 @@
2.5.0
2.4.1

View File

@ -1,3 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
gem 'nokogiri', '~> 1.12'
gem 'github-pages', group: :jekyll_plugins

View File

@ -1,14 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.3.5)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
activesupport (4.2.10)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
coffee-script (2.4.1)
coffee-script-source
execjs
@ -16,138 +15,134 @@ GEM
colorator (1.1.0)
commonmarker (0.17.13)
ruby-enum (~> 0.5)
concurrent-ruby (1.1.8)
dnsruby (1.61.5)
simpleidn (~> 0.1)
em-websocket (0.5.2)
concurrent-ruby (1.1.5)
dnsruby (1.61.2)
addressable (~> 2.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.12.0)
ffi (>= 1.3.0)
eventmachine (1.2.7)
execjs (2.7.0)
faraday (1.3.0)
faraday-net_http (~> 1.0)
faraday (0.15.4)
multipart-post (>= 1.2, < 3)
ruby2_keywords
faraday-net_http (1.0.1)
ffi (1.15.0)
ffi (1.10.0)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (212)
github-pages-health-check (= 1.17.0)
jekyll (= 3.9.0)
jekyll-avatar (= 0.7.0)
gemoji (3.0.0)
github-pages (197)
activesupport (= 4.2.10)
github-pages-health-check (= 1.16.1)
jekyll (= 3.7.4)
jekyll-avatar (= 0.6.0)
jekyll-coffeescript (= 1.1.1)
jekyll-commonmark-ghpages (= 0.1.6)
jekyll-commonmark-ghpages (= 0.1.5)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.15.1)
jekyll-feed (= 0.11.0)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.13.0)
jekyll-mentions (= 1.6.0)
jekyll-optional-front-matter (= 0.3.2)
jekyll-github-metadata (= 2.12.1)
jekyll-mentions (= 1.4.1)
jekyll-optional-front-matter (= 0.3.0)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.16.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.2)
jekyll-readme-index (= 0.2.0)
jekyll-redirect-from (= 0.14.0)
jekyll-relative-links (= 0.6.0)
jekyll-remote-theme (= 0.3.1)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.7.1)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-seo-tag (= 2.5.0)
jekyll-sitemap (= 1.2.0)
jekyll-swiss (= 0.4.0)
jekyll-theme-architect (= 0.1.1)
jekyll-theme-cayman (= 0.1.1)
jekyll-theme-dinky (= 0.1.1)
jekyll-theme-hacker (= 0.1.2)
jekyll-theme-hacker (= 0.1.1)
jekyll-theme-leap-day (= 0.1.1)
jekyll-theme-merlot (= 0.1.1)
jekyll-theme-midnight (= 0.1.1)
jekyll-theme-minimal (= 0.1.1)
jekyll-theme-modernist (= 0.1.1)
jekyll-theme-primer (= 0.5.4)
jekyll-theme-primer (= 0.5.3)
jekyll-theme-slate (= 0.1.1)
jekyll-theme-tactile (= 0.1.1)
jekyll-theme-time-machine (= 0.1.1)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.12.0)
kramdown (= 2.3.0)
kramdown-parser-gfm (= 1.1.0)
liquid (= 4.0.3)
jekyll-titles-from-headings (= 0.5.1)
jemoji (= 0.10.2)
kramdown (= 1.17.0)
liquid (= 4.0.0)
listen (= 3.1.5)
mercenary (~> 0.3)
minima (= 2.5.1)
nokogiri (>= 1.10.4, < 2.0)
rouge (= 3.26.0)
minima (= 2.5.0)
nokogiri (>= 1.8.5, < 2.0)
rouge (= 2.2.1)
terminal-table (~> 1.4)
github-pages-health-check (1.17.0)
github-pages-health-check (1.16.1)
addressable (~> 2.3)
dnsruby (~> 1.60)
octokit (~> 4.0)
public_suffix (>= 2.0.2, < 5.0)
public_suffix (~> 3.0)
typhoeus (~> 1.3)
html-pipeline (2.14.0)
html-pipeline (2.10.0)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.9.0)
jekyll (3.7.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (>= 1.17, < 3)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-avatar (0.7.0)
jekyll (>= 3.0, < 5.0)
jekyll-avatar (0.6.0)
jekyll (~> 3.0)
jekyll-coffeescript (1.1.1)
coffee-script (~> 2.2)
coffee-script-source (~> 1.11.1)
jekyll-commonmark (1.3.1)
jekyll-commonmark (1.2.0)
commonmarker (~> 0.14)
jekyll (>= 3.7, < 5.0)
jekyll-commonmark-ghpages (0.1.6)
jekyll (>= 3.0, < 4.0)
jekyll-commonmark-ghpages (0.1.5)
commonmarker (~> 0.17.6)
jekyll-commonmark (~> 1.2)
rouge (>= 2.0, < 4.0)
jekyll-commonmark (~> 1)
rouge (~> 2)
jekyll-default-layout (0.1.4)
jekyll (~> 3.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-feed (0.11.0)
jekyll (~> 3.3)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-github-metadata (2.13.0)
jekyll (>= 3.4, < 5.0)
jekyll-github-metadata (2.12.1)
jekyll (~> 3.4)
octokit (~> 4.0, != 4.4.0)
jekyll-mentions (1.6.0)
jekyll-mentions (1.4.1)
html-pipeline (~> 2.3)
jekyll (>= 3.7, < 5.0)
jekyll-optional-front-matter (0.3.2)
jekyll (>= 3.0, < 5.0)
jekyll (~> 3.0)
jekyll-optional-front-matter (0.3.0)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-readme-index (0.3.0)
jekyll (>= 3.0, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-relative-links (0.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-remote-theme (0.4.2)
addressable (~> 2.0)
jekyll (>= 3.5, < 5.0)
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
rubyzip (>= 1.3.0, < 3.0)
jekyll-readme-index (0.2.0)
jekyll (~> 3.0)
jekyll-redirect-from (0.14.0)
jekyll (~> 3.3)
jekyll-relative-links (0.6.0)
jekyll (~> 3.3)
jekyll-remote-theme (0.3.1)
jekyll (~> 3.5)
rubyzip (>= 1.2.1, < 3.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-swiss (1.0.0)
jekyll-seo-tag (2.5.0)
jekyll (~> 3.3)
jekyll-sitemap (1.2.0)
jekyll (~> 3.3)
jekyll-swiss (0.4.0)
jekyll-theme-architect (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
@ -157,8 +152,8 @@ GEM
jekyll-theme-dinky (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-hacker (0.1.2)
jekyll (> 3.5, < 5.0)
jekyll-theme-hacker (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-leap-day (0.1.1)
jekyll (~> 3.5)
@ -175,8 +170,8 @@ GEM
jekyll-theme-modernist (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-primer (0.5.4)
jekyll (> 3.5, < 5.0)
jekyll-theme-primer (0.5.3)
jekyll (~> 3.5)
jekyll-github-metadata (~> 2.9)
jekyll-seo-tag (~> 2.0)
jekyll-theme-slate (0.1.1)
@ -188,77 +183,66 @@ GEM
jekyll-theme-time-machine (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-titles-from-headings (0.5.3)
jekyll (>= 3.3, < 5.0)
jekyll-watch (2.2.1)
jekyll-titles-from-headings (0.5.1)
jekyll (~> 3.3)
jekyll-watch (2.1.2)
listen (~> 3.0)
jemoji (0.12.0)
jemoji (0.10.2)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
kramdown (2.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.4.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
jekyll (~> 3.0)
kramdown (1.17.0)
liquid (4.0.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
mini_portile2 (2.4.0)
minima (2.5.0)
jekyll (~> 3.5)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.14.4)
multipart-post (2.1.1)
nokogiri (1.12.5-x86_64-linux)
racc (~> 1.4)
octokit (4.20.0)
faraday (>= 0.9)
minitest (5.11.3)
multipart-post (2.0.0)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
octokit (4.13.0)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
racc (1.5.2)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
public_suffix (3.0.3)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
ruby-enum (0.9.0)
rouge (2.2.1)
ruby-enum (0.7.2)
i18n
ruby2_keywords (0.0.4)
rubyzip (2.3.0)
ruby_dep (1.5.0)
rubyzip (2.1.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass (3.7.3)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
simpleidn (0.2.1)
unf (~> 0.1.4)
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
typhoeus (1.4.0)
typhoeus (1.3.1)
ethon (>= 0.9.0)
tzinfo (1.2.9)
tzinfo (1.2.5)
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
zeitwerk (2.4.2)
unicode-display_width (1.5.0)
PLATFORMS
x86_64-linux
ruby
DEPENDENCIES
github-pages
nokogiri (~> 1.12)
BUNDLED WITH
2.2.14
2.0.1

View File

@ -26,7 +26,7 @@ timezone: America/Los_Angeles
# Build settings
markdown: kramdown
plugins:
gems:
exclude:
- Gemfile
- Gemfile.lock

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1,107 +1,97 @@
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(l){var p=0;return function(){return p<l.length?{done:!1,value:l[p++]}:{done:!0}}};$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}};$jscomp.makeIterator=function(l){var p="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];return p?p.call(l):$jscomp.arrayIterator(l)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<l.length;++p){var n=l[p];if(n&&n.Math==Math)return n}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,p,n){if(l==Array.prototype||l==Object.prototype)return l;l[p]=n.value;return l};$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$";
var $jscomp$lookupPolyfilledValue=function(l,p){var n=$jscomp.propertyToPolyfillSymbol[p];if(null==n)return l[p];n=l[n];return void 0!==n?n:l[p]};$jscomp.polyfill=function(l,p,n,r){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,p,n,r):$jscomp.polyfillUnisolated(l,p,n,r))};
$jscomp.polyfillUnisolated=function(l,p,n,r){n=$jscomp.global;l=l.split(".");for(r=0;r<l.length-1;r++){var k=l[r];if(!(k in n))return;n=n[k]}l=l[l.length-1];r=n[l];p=p(r);p!=r&&null!=p&&$jscomp.defineProperty(n,l,{configurable:!0,writable:!0,value:p})};
$jscomp.polyfillIsolated=function(l,p,n,r){var k=l.split(".");l=1===k.length;r=k[0];r=!l&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var C=0;C<k.length-1;C++){var h=k[C];if(!(h in r))return;r=r[h]}k=k[k.length-1];n=$jscomp.IS_SYMBOL_NATIVE&&"es6"===n?r[k]:null;p=p(n);null!=p&&(l?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:p}):p!==n&&($jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+k,k=
$jscomp.propertyToPolyfillSymbol[k],$jscomp.defineProperty(r,k,{configurable:!0,writable:!0,value:p})))};
$jscomp.polyfill("Promise",function(l){function p(){this.batch_=null}function n(h){return h instanceof k?h:new k(function(q,v){q(h)})}if(l&&(!($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 l;p.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(h)};
var r=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(h){r(h,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var q=0;q<h.length;++q){var v=h[q];h[q]=null;try{v()}catch(B){this.asyncThrow_(B)}}}this.batch_=null};p.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var k=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_();
try{h(q.resolve,q.reject)}catch(v){q.reject(v)}};k.prototype.createResolveAndReject_=function(){function h(B){return function(G){v||(v=!0,B.call(q,G))}}var q=this,v=!1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};k.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof k)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var q=null!=h;break a;case "function":q=!0;break a;default:q=!1}q?this.resolveToNonPromiseObj_(h):
this.fulfill_(h)}};k.prototype.resolveToNonPromiseObj_=function(h){var q=void 0;try{q=h.then}catch(v){this.reject_(v);return}"function"==typeof q?this.settleSameAsThenable_(q,h):this.fulfill_(h)};k.prototype.reject_=function(h){this.settle_(2,h)};k.prototype.fulfill_=function(h){this.settle_(1,h)};k.prototype.settle_=function(h,q){if(0!=this.state_)throw Error("Cannot settle("+h+", "+q+"): Promise already settled in state"+this.state_);this.state_=h;this.result_=q;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;r(function(){if(h.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(h.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,q=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):
"function"===typeof q?h=new q("unhandledrejection",{cancelable:!0}):(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return v(h)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;++h)C.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var C=new p;k.prototype.settleSameAsPromise_=function(h){var q=this.createResolveAndReject_();
h.callWhenSettled_(q.resolve,q.reject)};k.prototype.settleSameAsThenable_=function(h,q){var v=this.createResolveAndReject_();try{h.call(q,v.resolve,v.reject)}catch(B){v.reject(B)}};k.prototype.then=function(h,q){function v(I,M){return"function"==typeof I?function(y){try{B(I(y))}catch(D){G(D)}}:M}var B,G,X=new k(function(I,M){B=I;G=M});this.callWhenSettled_(v(h,B),v(q,G));return X};k.prototype.catch=function(h){return this.then(void 0,h)};k.prototype.callWhenSettled_=function(h,q){function v(){switch(B.state_){case 1:h(B.result_);
break;case 2:q(B.result_);break;default:throw Error("Unexpected state: "+B.state_);}}var B=this;null==this.onSettledCallbacks_?C.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};k.resolve=n;k.reject=function(h){return new k(function(q,v){v(h)})};k.race=function(h){return new k(function(q,v){for(var B=$jscomp.makeIterator(h),G=B.next();!G.done;G=B.next())n(G.value).callWhenSettled_(q,v)})};k.all=function(h){var q=$jscomp.makeIterator(h),v=q.next();return v.done?n([]):new k(function(B,
G){function X(y){return function(D){I[y]=D;M--;0==M&&B(I)}}var I=[],M=0;do I.push(void 0),M++,n(v.value).callWhenSettled_(X(I.length-1),G),v=q.next();while(!v.done)})};return k},"es6","es3");$jscomp.checkEs6ConformanceViaProxy=function(){try{var l={},p=Object.create(new $jscomp.global.Proxy(l,{get:function(n,r,k){return n==l&&"q"==r&&k==p}}));return!0===p.q}catch(n){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();
$jscomp.owns=function(l,p){return Object.prototype.hasOwnProperty.call(l,p)};
$jscomp.polyfill("Array.prototype.copyWithin",function(l){function p(n){n=Number(n);return Infinity===n||-Infinity===n?n:n|0}return l?l:function(n,r,k){var C=this.length;n=p(n);r=p(r);k=void 0===k?C:p(k);n=0>n?Math.max(C+n,0):Math.min(n,C);r=0>r?Math.max(C+r,0):Math.min(r,C);k=0>k?Math.max(C+k,0):Math.min(k,C);if(n<r)for(;r<k;)r in this?this[n++]=this[r++]:(delete this[n++],r++);else for(k=Math.min(k,C+r-n),n+=k-r;k>r;)--k in this?this[--n]=this[k]:delete this[--n];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(l){return l?l: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");
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(n){var q=0;return function(){return q<n.length?{done:!1,value:n[q++]}:{done:!0}}};$jscomp.arrayIterator=function(n){return{next:$jscomp.arrayIteratorImpl(n)}};$jscomp.makeIterator=function(n){var q="undefined"!=typeof Symbol&&Symbol.iterator&&n[Symbol.iterator];return q?q.call(n):$jscomp.arrayIterator(n)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(n){n=["object"==typeof globalThis&&globalThis,n,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var q=0;q<n.length;++q){var m=n[q];if(m&&m.Math==Math)return m}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(n,q,m){if(n==Array.prototype||n==Object.prototype)return n;n[q]=m.value;return n};$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$";
var $jscomp$lookupPolyfilledValue=function(n,q){var m=$jscomp.propertyToPolyfillSymbol[q];if(null==m)return n[q];m=n[m];return void 0!==m?m:n[q]};$jscomp.polyfill=function(n,q,m,r){q&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(n,q,m,r):$jscomp.polyfillUnisolated(n,q,m,r))};
$jscomp.polyfillUnisolated=function(n,q,m,r){m=$jscomp.global;n=n.split(".");for(r=0;r<n.length-1;r++){var k=n[r];if(!(k in m))return;m=m[k]}n=n[n.length-1];r=m[n];q=q(r);q!=r&&null!=q&&$jscomp.defineProperty(m,n,{configurable:!0,writable:!0,value:q})};
$jscomp.polyfillIsolated=function(n,q,m,r){var k=n.split(".");n=1===k.length;r=k[0];r=!n&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var D=0;D<k.length-1;D++){var h=k[D];if(!(h in r))return;r=r[h]}k=k[k.length-1];m=$jscomp.IS_SYMBOL_NATIVE&&"es6"===m?r[k]:null;q=q(m);null!=q&&(n?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:q}):q!==m&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(m=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+m+"$"+k),$jscomp.defineProperty(r,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:q})))};
$jscomp.polyfill("Promise",function(n){function q(){this.batch_=null}function m(h){return h instanceof k?h:new k(function(p,v){p(h)})}if(n&&(!($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 n;q.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(h)};
var r=$jscomp.global.setTimeout;q.prototype.asyncExecuteFunction=function(h){r(h,0)};q.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var p=0;p<h.length;++p){var v=h[p];h[p]=null;try{v()}catch(B){this.asyncThrow_(B)}}}this.batch_=null};q.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var k=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var p=this.createResolveAndReject_();
try{h(p.resolve,p.reject)}catch(v){p.reject(v)}};k.prototype.createResolveAndReject_=function(){function h(B){return function(J){v||(v=!0,B.call(p,J))}}var p=this,v=!1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};k.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof k)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var p=null!=h;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(h):
this.fulfill_(h)}};k.prototype.resolveToNonPromiseObj_=function(h){var p=void 0;try{p=h.then}catch(v){this.reject_(v);return}"function"==typeof p?this.settleSameAsThenable_(p,h):this.fulfill_(h)};k.prototype.reject_=function(h){this.settle_(2,h)};k.prototype.fulfill_=function(h){this.settle_(1,h)};k.prototype.settle_=function(h,p){if(0!=this.state_)throw Error("Cannot settle("+h+", "+p+"): Promise already settled in state"+this.state_);this.state_=h;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;r(function(){if(h.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(h.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,p=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):
"function"===typeof p?h=new p("unhandledrejection",{cancelable:!0}):(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return v(h)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;++h)D.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var D=new q;k.prototype.settleSameAsPromise_=function(h){var p=this.createResolveAndReject_();
h.callWhenSettled_(p.resolve,p.reject)};k.prototype.settleSameAsThenable_=function(h,p){var v=this.createResolveAndReject_();try{h.call(p,v.resolve,v.reject)}catch(B){v.reject(B)}};k.prototype.then=function(h,p){function v(w,C){return"function"==typeof w?function(T){try{B(w(T))}catch(P){J(P)}}:C}var B,J,U=new k(function(w,C){B=w;J=C});this.callWhenSettled_(v(h,B),v(p,J));return U};k.prototype.catch=function(h){return this.then(void 0,h)};k.prototype.callWhenSettled_=function(h,p){function v(){switch(B.state_){case 1:h(B.result_);
break;case 2:p(B.result_);break;default:throw Error("Unexpected state: "+B.state_);}}var B=this;null==this.onSettledCallbacks_?D.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};k.resolve=m;k.reject=function(h){return new k(function(p,v){v(h)})};k.race=function(h){return new k(function(p,v){for(var B=$jscomp.makeIterator(h),J=B.next();!J.done;J=B.next())m(J.value).callWhenSettled_(p,v)})};k.all=function(h){var p=$jscomp.makeIterator(h),v=p.next();return v.done?m([]):new k(function(B,
J){function U(T){return function(P){w[T]=P;C--;0==C&&B(w)}}var w=[],C=0;do w.push(void 0),C++,m(v.value).callWhenSettled_(U(w.length-1),J),v=p.next();while(!v.done)})};return k},"es6","es3");
$jscomp.polyfill("Array.prototype.copyWithin",function(n){function q(m){m=Number(m);return Infinity===m||-Infinity===m?m:m|0}return n?n:function(m,r,k){var D=this.length;m=q(m);r=q(r);k=void 0===k?D:q(k);m=0>m?Math.max(D+m,0):Math.min(m,D);r=0>r?Math.max(D+r,0):Math.min(r,D);k=0>k?Math.max(D+k,0):Math.min(k,D);if(m<r)for(;r<k;)r in this?this[m++]=this[r++]:(delete this[m++],r++);else for(k=Math.min(k,D+r-m),m+=k-r;k>r;)--k in this?this[--m]=this[k]:delete this[--m];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(n){return n?n: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");
$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");
var DracoEncoderModule=function(){var l="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(l=l||__filename);return function(p){function n(f){return a.locateFile?a.locateFile(f,N):N+f}function r(f,b){f||h("Assertion failed: "+b)}function k(f,b){0<f%b&&(f+=b-f%b);return f}function C(f){fa=f;a.HEAP8=R=new Int8Array(f);a.HEAP16=ma=new Int16Array(f);a.HEAP32=L=new Int32Array(f);a.HEAPU8=na=new Uint8Array(f);a.HEAPU16=new Uint16Array(f);
a.HEAPU32=new Uint32Array(f);a.HEAPF32=oa=new Float32Array(f);a.HEAPF64=new Float64Array(f)}function h(f){if(a.onAbort)a.onAbort(f);f+="";Y(f);xa=!0;f=new WebAssembly.RuntimeError("abort("+f+"). Build with -s ASSERTIONS=1 for more info.");pa(f);throw f;}function q(f,b){return String.prototype.startsWith?f.startsWith(b):0===f.indexOf(b)}function v(){try{if(Z)return new Uint8Array(Z);if(ha)return ha(O);throw"both async and sync fetching of the wasm failed";}catch(f){h(f)}}function B(){return Z||!ia&&
!U||"function"!==typeof fetch||q(O,"file://")?Promise.resolve().then(v):fetch(O,{credentials:"same-origin"}).then(function(f){if(!f.ok)throw"failed to load wasm binary file at '"+O+"'";return f.arrayBuffer()}).catch(function(){return v()})}function G(f){for(;0<f.length;){var b=f.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?qa.get(c)():qa.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function X(f){this.excPtr=f;this.ptr=f-H.SIZE;this.set_type=function(b){L[this.ptr+
H.TYPE_OFFSET>>2]=b};this.get_type=function(){return L[this.ptr+H.TYPE_OFFSET>>2]};this.set_destructor=function(b){L[this.ptr+H.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return L[this.ptr+H.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){L[this.ptr+H.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){R[this.ptr+H.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=R[this.ptr+H.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){R[this.ptr+H.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=
function(){return 0!=R[this.ptr+H.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){L[this.ptr+H.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=L[this.ptr+H.REFCOUNT_OFFSET>>2];L[this.ptr+H.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function I(){return 0<I.uncaught_exceptions}function M(f){function b(){if(!ja&&(ja=!0,a.calledRun=!0,!xa)){ya=!0;G(za);G(Aa);Ba(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();
if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ca.unshift(a.postRun.shift());G(Ca)}}if(!(0<V)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Da.unshift(a.preRun.shift());G(Da);0<V||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function y(){}function D(f){return(f||y).__cache__}function ra(f,b){var c=D(b),d=c[f];if(d)return d;d=Object.create((b||y).prototype);
d.ptr=f;return c[f]=d}function aa(f){if("string"===typeof f){for(var b=0,c=0;c<f.length;++c){var d=f.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|f.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var e=0;e<f.length;++e){var g=f.charCodeAt(e);if(55296<=g&&57343>=g){var t=f.charCodeAt(++e);g=65536+((g&1023)<<10)|t&1023}if(127>=g){if(c>=d)break;b[c++]=g}else{if(2047>=g){if(c+1>=d)break;b[c++]=192|g>>6}else{if(65535>=g){if(c+
2>=d)break;b[c++]=224|g>>12}else{if(c+3>=d)break;b[c++]=240|g>>18;b[c++]=128|g>>12&63}b[c++]=128|g>>6&63}b[c++]=128|g&63}}b[c]=0}f=m.alloc(b,R);m.copy(b,R,f);return f}return f}function ka(f){if("object"===typeof f){var b=m.alloc(f,R);m.copy(f,R,b);return b}return f}function la(f){if("object"===typeof f){var b=m.alloc(f,ma);m.copy(f,ma,b);return b}return f}function W(f){if("object"===typeof f){var b=m.alloc(f,L);m.copy(f,L,b);return b}return f}function ba(f){if("object"===typeof f){var b=m.alloc(f,
oa);m.copy(f,oa,b);return b}return f}function S(){throw"cannot construct a VoidPtr, no constructor in IDL";}function P(){this.ptr=Ea();D(P)[this.ptr]=this}function z(){this.ptr=Fa();D(z)[this.ptr]=this}function J(){this.ptr=Ga();D(J)[this.ptr]=this}function E(){this.ptr=Ha();D(E)[this.ptr]=this}function Q(){this.ptr=Ia();D(Q)[this.ptr]=this}function K(){this.ptr=Ja();D(K)[this.ptr]=this}function F(){this.ptr=Ka();D(F)[this.ptr]=this}function w(){this.ptr=La();D(w)[this.ptr]=this}function u(){this.ptr=
Ma();D(u)[this.ptr]=this}function x(){this.ptr=Na();D(x)[this.ptr]=this}function A(f){f&&"object"===typeof f&&(f=f.ptr);this.ptr=Oa(f);D(A)[this.ptr]=this}p=p||{};var a="undefined"!==typeof p?p:{},Ba,pa;a.ready=new Promise(function(f,b){Ba=f;pa=b});var Pa=!1,Qa=!1;a.onRuntimeInitialized=function(){Pa=!0;if(Qa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Qa=!0;if(Pa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(f){if("string"!==
typeof f)return!1;f=f.split(".");return 2>f.length||3<f.length?!1:1==f[0]&&0<=f[1]&&4>=f[1]?!0:0!=f[0]||10<f[1]?!1:!0};var ca={},T;for(T in a)a.hasOwnProperty(T)&&(ca[T]=a[T]);var ia=!1,U=!1,sa=!1,Ra=!1;ia="object"===typeof window;U="function"===typeof importScripts;sa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;Ra=!ia&&!sa&&!U;var N="",ta,ua;if(sa){N=U?require("path").dirname(N)+"/":__dirname+"/";var va=function(f,b){ta||(ta=require("fs"));
ua||(ua=require("path"));f=ua.normalize(f);return ta.readFileSync(f,b?null:"utf8")};var ha=function(f){f=va(f,!0);f.buffer||(f=new Uint8Array(f));r(f.buffer);return f};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(Ra)"undefined"!=typeof read&&(va=function(f){return read(f)}),ha=function(f){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(f));f=read(f,"binary");r("object"===typeof f);
return f},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ia||U)U?N=self.location.href:"undefined"!==typeof document&&document.currentScript&&(N=document.currentScript.src),l&&(N=l),N=0!==N.indexOf("blob:")?N.substr(0,N.lastIndexOf("/")+1):"",va=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.send(null);return b.responseText},U&&(ha=function(f){var b=new XMLHttpRequest;
b.open("GET",f,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});a.print||console.log.bind(console);var Y=a.printErr||console.warn.bind(console);for(T in ca)ca.hasOwnProperty(T)&&(a[T]=ca[T]);ca=null;var Z;a.wasmBinary&&(Z=a.wasmBinary);"object"!==typeof WebAssembly&&h("no native wasm support detected");var da,xa=!1;"undefined"!==typeof TextDecoder&&new TextDecoder("utf8");"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");var R,na,ma,L,oa,Sa=a.INITIAL_MEMORY||
16777216;if(da=a.wasmMemory?a.wasmMemory:new WebAssembly.Memory({initial:Sa/65536,maximum:32768}))var fa=da.buffer;Sa=fa.byteLength;C(fa);var qa,Da=[],za=[],Aa=[],Ca=[],ya=!1,V=0,wa=null,ea=null;a.preloadedImages={};a.preloadedAudios={};var O="draco_encoder.wasm";q(O,"data:application/octet-stream;base64,")||(O=n(O));var H={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16};za.push({func:function(){Ta()}});var Va={__cxa_allocate_exception:function(f){return Ua(f+
H.SIZE)+H.SIZE},__cxa_throw:function(f,b,c){(new X(f)).init(b,c);"uncaught_exception"in I?I.uncaught_exceptions++:I.uncaught_exceptions=1;throw f;},abort:function(){h()},array_bounds_check_error:function(f,b){throw"Array index "+f+" out of bounds: [0,"+b+")";},emscripten_memcpy_big:function(f,b,c){na.copyWithin(f,b,b+c)},emscripten_resize_heap:function(f){f>>>=0;var b=na.length;if(2147483648<f)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,f+100663296);d=Math.min(2147483648,k(Math.max(16777216,
f,d),65536));a:{try{da.grow(d-fa.byteLength+65535>>>16);C(da.buffer);var e=1;break a}catch(g){}e=void 0}if(e)return!0}return!1},memory:da};(function(){function f(e,g){a.asm=e.exports;qa=a.asm.__indirect_function_table;V--;a.monitorRunDependencies&&a.monitorRunDependencies(V);0==V&&(null!==wa&&(clearInterval(wa),wa=null),ea&&(e=ea,ea=null,e()))}function b(e){f(e.instance)}function c(e){return B().then(function(g){return WebAssembly.instantiate(g,d)}).then(e,function(g){Y("failed to asynchronously prepare wasm: "+
g);h(g)})}var d={env:Va,wasi_snapshot_preview1:Va};V++;a.monitorRunDependencies&&a.monitorRunDependencies(V);if(a.instantiateWasm)try{return a.instantiateWasm(d,f)}catch(e){return Y("Module.instantiateWasm callback failed with error: "+e),!1}(function(){return Z||"function"!==typeof WebAssembly.instantiateStreaming||q(O,"data:application/octet-stream;base64,")||q(O,"file://")||"function"!==typeof fetch?c(b):fetch(O,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,
d).then(b,function(g){Y("wasm streaming compile failed: "+g);Y("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(pa);return{}})();var Ta=a.___wasm_call_ctors=function(){return(Ta=a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)};a.___em_js__array_bounds_check_error=function(){return(a.___em_js__array_bounds_check_error=a.asm.__em_js__array_bounds_check_error).apply(null,arguments)};var Wa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Wa=a._emscripten_bind_VoidPtr___destroy___0=
a.asm.emscripten_bind_VoidPtr___destroy___0).apply(null,arguments)},Ea=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ea=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0).apply(null,arguments)},Xa=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Xa=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.emscripten_bind_GeometryAttribute___destroy___0).apply(null,arguments)},Fa=a._emscripten_bind_PointAttribute_PointAttribute_0=
function(){return(Fa=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.emscripten_bind_PointAttribute_PointAttribute_0).apply(null,arguments)},Ya=a._emscripten_bind_PointAttribute_size_0=function(){return(Ya=a._emscripten_bind_PointAttribute_size_0=a.asm.emscripten_bind_PointAttribute_size_0).apply(null,arguments)},Za=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Za=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.emscripten_bind_PointAttribute_attribute_type_0).apply(null,
arguments)},$a=a._emscripten_bind_PointAttribute_data_type_0=function(){return($a=a._emscripten_bind_PointAttribute_data_type_0=a.asm.emscripten_bind_PointAttribute_data_type_0).apply(null,arguments)},ab=a._emscripten_bind_PointAttribute_num_components_0=function(){return(ab=a._emscripten_bind_PointAttribute_num_components_0=a.asm.emscripten_bind_PointAttribute_num_components_0).apply(null,arguments)},bb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(bb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.emscripten_bind_PointAttribute_normalized_0).apply(null,arguments)},cb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(cb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.emscripten_bind_PointAttribute_byte_stride_0).apply(null,arguments)},db=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(db=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.emscripten_bind_PointAttribute_byte_offset_0).apply(null,arguments)},eb=a._emscripten_bind_PointAttribute_unique_id_0=
function(){return(eb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.emscripten_bind_PointAttribute_unique_id_0).apply(null,arguments)},fb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(fb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.emscripten_bind_PointAttribute___destroy___0).apply(null,arguments)},Ga=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Ga=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.emscripten_bind_PointCloud_PointCloud_0).apply(null,
arguments)},gb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(gb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.emscripten_bind_PointCloud_num_attributes_0).apply(null,arguments)},hb=a._emscripten_bind_PointCloud_num_points_0=function(){return(hb=a._emscripten_bind_PointCloud_num_points_0=a.asm.emscripten_bind_PointCloud_num_points_0).apply(null,arguments)},ib=a._emscripten_bind_PointCloud___destroy___0=function(){return(ib=a._emscripten_bind_PointCloud___destroy___0=a.asm.emscripten_bind_PointCloud___destroy___0).apply(null,
arguments)},Ha=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ha=a._emscripten_bind_Mesh_Mesh_0=a.asm.emscripten_bind_Mesh_Mesh_0).apply(null,arguments)},jb=a._emscripten_bind_Mesh_num_faces_0=function(){return(jb=a._emscripten_bind_Mesh_num_faces_0=a.asm.emscripten_bind_Mesh_num_faces_0).apply(null,arguments)},kb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(kb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.emscripten_bind_Mesh_num_attributes_0).apply(null,arguments)},lb=a._emscripten_bind_Mesh_num_points_0=
function(){return(lb=a._emscripten_bind_Mesh_num_points_0=a.asm.emscripten_bind_Mesh_num_points_0).apply(null,arguments)},mb=a._emscripten_bind_Mesh_set_num_points_1=function(){return(mb=a._emscripten_bind_Mesh_set_num_points_1=a.asm.emscripten_bind_Mesh_set_num_points_1).apply(null,arguments)},nb=a._emscripten_bind_Mesh___destroy___0=function(){return(nb=a._emscripten_bind_Mesh___destroy___0=a.asm.emscripten_bind_Mesh___destroy___0).apply(null,arguments)},Ia=a._emscripten_bind_Metadata_Metadata_0=
function(){return(Ia=a._emscripten_bind_Metadata_Metadata_0=a.asm.emscripten_bind_Metadata_Metadata_0).apply(null,arguments)},ob=a._emscripten_bind_Metadata___destroy___0=function(){return(ob=a._emscripten_bind_Metadata___destroy___0=a.asm.emscripten_bind_Metadata___destroy___0).apply(null,arguments)},Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0).apply(null,arguments)},
pb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(pb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.emscripten_bind_DracoInt8Array_GetValue_1).apply(null,arguments)},qb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(qb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.emscripten_bind_DracoInt8Array_size_0).apply(null,arguments)},rb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(rb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.emscripten_bind_DracoInt8Array___destroy___0).apply(null,
arguments)},Ka=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(Ka=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=a.asm.emscripten_bind_MetadataBuilder_MetadataBuilder_0).apply(null,arguments)},sb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(sb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddStringEntry_3).apply(null,arguments)},tb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(tb=
a._emscripten_bind_MetadataBuilder_AddIntEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddIntEntry_3).apply(null,arguments)},ub=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(ub=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=a.asm.emscripten_bind_MetadataBuilder_AddIntEntryArray_4).apply(null,arguments)},vb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(vb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddDoubleEntry_3).apply(null,
arguments)},wb=a._emscripten_bind_MetadataBuilder___destroy___0=function(){return(wb=a._emscripten_bind_MetadataBuilder___destroy___0=a.asm.emscripten_bind_MetadataBuilder___destroy___0).apply(null,arguments)},La=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(La=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=a.asm.emscripten_bind_PointCloudBuilder_PointCloudBuilder_0).apply(null,arguments)},xb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(xb=
a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddFloatAttribute_5).apply(null,arguments)},yb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(yb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt8Attribute_5).apply(null,arguments)},zb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(zb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5).apply(null,
arguments)},Ab=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(Ab=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt16Attribute_5).apply(null,arguments)},Bb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(Bb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5).apply(null,arguments)},Cb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=
function(){return(Cb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt32Attribute_5).apply(null,arguments)},Db=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(Db=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5).apply(null,arguments)},Eb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(Eb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=
a.asm.emscripten_bind_PointCloudBuilder_AddMetadata_2).apply(null,arguments)},Fb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(Fb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=a.asm.emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3).apply(null,arguments)},Gb=a._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(Gb=a._emscripten_bind_PointCloudBuilder___destroy___0=a.asm.emscripten_bind_PointCloudBuilder___destroy___0).apply(null,
arguments)},Ma=a._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(Ma=a._emscripten_bind_MeshBuilder_MeshBuilder_0=a.asm.emscripten_bind_MeshBuilder_MeshBuilder_0).apply(null,arguments)},Hb=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=function(){return(Hb=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=a.asm.emscripten_bind_MeshBuilder_AddFacesToMesh_3).apply(null,arguments)},Ib=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Ib=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=
a.asm.emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5).apply(null,arguments)},Jb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Jb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=a.asm.emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5).apply(null,arguments)},Kb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(Kb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=a.asm.emscripten_bind_MeshBuilder_AddMetadataToMesh_2).apply(null,arguments)},
Lb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(Lb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=a.asm.emscripten_bind_MeshBuilder_AddFloatAttribute_5).apply(null,arguments)},Mb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(Mb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt8Attribute_5).apply(null,arguments)},Nb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(Nb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=
a.asm.emscripten_bind_MeshBuilder_AddUInt8Attribute_5).apply(null,arguments)},Ob=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Ob=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt16Attribute_5).apply(null,arguments)},Pb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Pb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddUInt16Attribute_5).apply(null,arguments)},Qb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=
function(){return(Qb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt32Attribute_5).apply(null,arguments)},Rb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Rb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddUInt32Attribute_5).apply(null,arguments)},Sb=a._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Sb=a._emscripten_bind_MeshBuilder_AddMetadata_2=a.asm.emscripten_bind_MeshBuilder_AddMetadata_2).apply(null,
arguments)},Tb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Tb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=a.asm.emscripten_bind_MeshBuilder_SetMetadataForAttribute_3).apply(null,arguments)},Ub=a._emscripten_bind_MeshBuilder___destroy___0=function(){return(Ub=a._emscripten_bind_MeshBuilder___destroy___0=a.asm.emscripten_bind_MeshBuilder___destroy___0).apply(null,arguments)},Na=a._emscripten_bind_Encoder_Encoder_0=function(){return(Na=a._emscripten_bind_Encoder_Encoder_0=
a.asm.emscripten_bind_Encoder_Encoder_0).apply(null,arguments)},Vb=a._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Vb=a._emscripten_bind_Encoder_SetEncodingMethod_1=a.asm.emscripten_bind_Encoder_SetEncodingMethod_1).apply(null,arguments)},Wb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Wb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=a.asm.emscripten_bind_Encoder_SetAttributeQuantization_2).apply(null,arguments)},Xb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=
function(){return(Xb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=a.asm.emscripten_bind_Encoder_SetAttributeExplicitQuantization_5).apply(null,arguments)},Yb=a._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Yb=a._emscripten_bind_Encoder_SetSpeedOptions_2=a.asm.emscripten_bind_Encoder_SetSpeedOptions_2).apply(null,arguments)},Zb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(Zb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=a.asm.emscripten_bind_Encoder_SetTrackEncodedProperties_1).apply(null,
arguments)},$b=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return($b=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=a.asm.emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2).apply(null,arguments)},ac=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(ac=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=a.asm.emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3).apply(null,arguments)},bc=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=
function(){return(bc=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=a.asm.emscripten_bind_Encoder_GetNumberOfEncodedPoints_0).apply(null,arguments)},cc=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(cc=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=a.asm.emscripten_bind_Encoder_GetNumberOfEncodedFaces_0).apply(null,arguments)},dc=a._emscripten_bind_Encoder___destroy___0=function(){return(dc=a._emscripten_bind_Encoder___destroy___0=a.asm.emscripten_bind_Encoder___destroy___0).apply(null,
arguments)},Oa=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Oa=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=a.asm.emscripten_bind_ExpertEncoder_ExpertEncoder_1).apply(null,arguments)},ec=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=function(){return(ec=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=a.asm.emscripten_bind_ExpertEncoder_SetEncodingMethod_1).apply(null,arguments)},fc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(fc=
a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=a.asm.emscripten_bind_ExpertEncoder_SetAttributeQuantization_2).apply(null,arguments)},gc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(gc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=a.asm.emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5).apply(null,arguments)},hc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=function(){return(hc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=
a.asm.emscripten_bind_ExpertEncoder_SetSpeedOptions_2).apply(null,arguments)},ic=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(ic=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=a.asm.emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1).apply(null,arguments)},jc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(jc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=a.asm.emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2).apply(null,
arguments)},kc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=function(){return(kc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=a.asm.emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0).apply(null,arguments)},lc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(lc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=a.asm.emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0).apply(null,arguments)},mc=a._emscripten_bind_ExpertEncoder___destroy___0=
function(){return(mc=a._emscripten_bind_ExpertEncoder___destroy___0=a.asm.emscripten_bind_ExpertEncoder___destroy___0).apply(null,arguments)},nc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(nc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID).apply(null,arguments)},oc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(oc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION).apply(null,
arguments)},pc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(pc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL).apply(null,arguments)},qc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(qc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR).apply(null,arguments)},rc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=
function(){return(rc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD).apply(null,arguments)},sc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(sc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC).apply(null,arguments)},tc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(tc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=
a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE).apply(null,arguments)},uc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(uc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD).apply(null,arguments)},vc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(vc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH).apply(null,
arguments)},wc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=function(){return(wc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=a.asm.emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING).apply(null,arguments)},xc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(xc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=a.asm.emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING).apply(null,
arguments)};a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)};a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)};a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)};a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)};a._setThrew=function(){return(a._setThrew=a.asm.setThrew).apply(null,arguments)};a._free=function(){return(a._free=a.asm.free).apply(null,
arguments)};var Ua=a._malloc=function(){return(Ua=a._malloc=a.asm.malloc).apply(null,arguments)},ja;ea=function b(){ja||M();ja||(ea=b)};a.run=M;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();M();y.prototype=Object.create(y.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.WrapperObject=y;a.getCache=D;a.wrapPointer=ra;a.castObject=function(b,c){return ra(b.ptr,c)};a.NULL=ra(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";
b.__destroy__();delete D(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 m={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(m.needed){for(var b=0;b<m.temps.length;b++)a._free(m.temps[b]);m.temps.length=0;a._free(m.buffer);m.buffer=0;m.size+=m.needed;m.needed=0}m.buffer||(m.size+=128,m.buffer=a._malloc(m.size),r(m.buffer));m.pos=0},alloc:function(b,c){r(m.buffer);b=b.length*c.BYTES_PER_ELEMENT;
b=b+7&-8;m.pos+b>=m.size?(r(0<b),m.needed+=b,c=a._malloc(b),m.temps.push(c)):(c=m.buffer+m.pos,m.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 e=0;e<b.length;e++)c[d+e]=b[e]}};S.prototype=Object.create(y.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.VoidPtr=S;S.prototype.__destroy__=S.prototype.__destroy__=function(){Wa(this.ptr)};P.prototype=Object.create(y.prototype);P.prototype.constructor=
P;P.prototype.__class__=P;P.__cache__={};a.GeometryAttribute=P;P.prototype.__destroy__=P.prototype.__destroy__=function(){Xa(this.ptr)};z.prototype=Object.create(y.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.PointAttribute=z;z.prototype.size=z.prototype.size=function(){return Ya(this.ptr)};z.prototype.attribute_type=z.prototype.attribute_type=function(){return Za(this.ptr)};z.prototype.data_type=z.prototype.data_type=function(){return $a(this.ptr)};z.prototype.num_components=
z.prototype.num_components=function(){return ab(this.ptr)};z.prototype.normalized=z.prototype.normalized=function(){return!!bb(this.ptr)};z.prototype.byte_stride=z.prototype.byte_stride=function(){return cb(this.ptr)};z.prototype.byte_offset=z.prototype.byte_offset=function(){return db(this.ptr)};z.prototype.unique_id=z.prototype.unique_id=function(){return eb(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){fb(this.ptr)};J.prototype=Object.create(y.prototype);J.prototype.constructor=
J;J.prototype.__class__=J;J.__cache__={};a.PointCloud=J;J.prototype.num_attributes=J.prototype.num_attributes=function(){return gb(this.ptr)};J.prototype.num_points=J.prototype.num_points=function(){return hb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){ib(this.ptr)};E.prototype=Object.create(y.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return jb(this.ptr)};E.prototype.num_attributes=
E.prototype.num_attributes=function(){return kb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return lb(this.ptr)};E.prototype.set_num_points=E.prototype.set_num_points=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);mb(c,b)};E.prototype.__destroy__=E.prototype.__destroy__=function(){nb(this.ptr)};Q.prototype=Object.create(y.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.Metadata=Q;Q.prototype.__destroy__=Q.prototype.__destroy__=function(){ob(this.ptr)};
K.prototype=Object.create(y.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return pb(c,b)};K.prototype.size=K.prototype.size=function(){return qb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){rb(this.ptr)};F.prototype=Object.create(y.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.MetadataBuilder=
F;F.prototype.AddStringEntry=F.prototype.AddStringEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d=d&&"object"===typeof d?d.ptr:aa(d);return!!sb(e,b,c,d)};F.prototype.AddIntEntry=F.prototype.AddIntEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d&&"object"===typeof d&&(d=d.ptr);return!!tb(e,b,c,d)};F.prototype.AddIntEntryArray=F.prototype.AddIntEntryArray=
function(b,c,d,e){var g=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);"object"==typeof d&&(d=W(d));e&&"object"===typeof e&&(e=e.ptr);return!!ub(g,b,c,d,e)};F.prototype.AddDoubleEntry=F.prototype.AddDoubleEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d&&"object"===typeof d&&(d=d.ptr);return!!vb(e,b,c,d)};F.prototype.__destroy__=F.prototype.__destroy__=function(){wb(this.ptr)};w.prototype=
Object.create(y.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointCloudBuilder=w;w.prototype.AddFloatAttribute=w.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return xb(t,b,c,d,e,g)};w.prototype.AddInt8Attribute=w.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;
m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return yb(t,b,c,d,e,g)};w.prototype.AddUInt8Attribute=w.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return zb(t,b,c,d,e,g)};w.prototype.AddInt16Attribute=
w.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Ab(t,b,c,d,e,g)};w.prototype.AddUInt16Attribute=w.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&
(e=e.ptr);"object"==typeof g&&(g=la(g));return Bb(t,b,c,d,e,g)};w.prototype.AddInt32Attribute=w.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Cb(t,b,c,d,e,g)};w.prototype.AddUInt32Attribute=w.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Db(t,b,c,d,e,g)};w.prototype.AddMetadata=w.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Eb(d,b,c)};w.prototype.SetMetadataForAttribute=w.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===
typeof d&&(d=d.ptr);return!!Fb(e,b,c,d)};w.prototype.__destroy__=w.prototype.__destroy__=function(){Gb(this.ptr)};u.prototype=Object.create(y.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.MeshBuilder=u;u.prototype.AddFacesToMesh=u.prototype.AddFacesToMesh=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);"object"==typeof d&&(d=W(d));return!!Hb(e,b,c,d)};u.prototype.AddFloatAttributeToMesh=u.prototype.AddFloatAttributeToMesh=
function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return Ib(t,b,c,d,e,g)};u.prototype.AddInt32AttributeToMesh=u.prototype.AddInt32AttributeToMesh=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==
typeof g&&(g=W(g));return Jb(t,b,c,d,e,g)};u.prototype.AddMetadataToMesh=u.prototype.AddMetadataToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Kb(d,b,c)};u.prototype.AddFloatAttribute=u.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return Lb(t,
b,c,d,e,g)};u.prototype.AddInt8Attribute=u.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return Mb(t,b,c,d,e,g)};u.prototype.AddUInt8Attribute=u.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return Nb(t,b,c,d,e,g)};u.prototype.AddInt16Attribute=u.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Ob(t,b,c,d,e,g)};u.prototype.AddUInt16Attribute=u.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Pb(t,b,c,d,e,g)};u.prototype.AddInt32Attribute=u.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Qb(t,b,c,d,e,g)};u.prototype.AddUInt32Attribute=
u.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Rb(t,b,c,d,e,g)};u.prototype.AddMetadata=u.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Sb(d,b,c)};u.prototype.SetMetadataForAttribute=u.prototype.SetMetadataForAttribute=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Tb(e,b,c,d)};u.prototype.__destroy__=u.prototype.__destroy__=function(){Ub(this.ptr)};x.prototype=Object.create(y.prototype);x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.Encoder=x;x.prototype.SetEncodingMethod=x.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Vb(c,b)};x.prototype.SetAttributeQuantization=
x.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Wb(d,b,c)};x.prototype.SetAttributeExplicitQuantization=x.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=ba(e));g&&"object"===typeof g&&(g=g.ptr);Xb(t,b,c,d,e,g)};x.prototype.SetSpeedOptions=x.prototype.SetSpeedOptions=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Yb(d,b,c)};x.prototype.SetTrackEncodedProperties=x.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Zb(c,b)};x.prototype.EncodeMeshToDracoBuffer=x.prototype.EncodeMeshToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return $b(d,b,c)};x.prototype.EncodePointCloudToDracoBuffer=x.prototype.EncodePointCloudToDracoBuffer=
function(b,c,d){var e=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(e,b,c,d)};x.prototype.GetNumberOfEncodedPoints=x.prototype.GetNumberOfEncodedPoints=function(){return bc(this.ptr)};x.prototype.GetNumberOfEncodedFaces=x.prototype.GetNumberOfEncodedFaces=function(){return cc(this.ptr)};x.prototype.__destroy__=x.prototype.__destroy__=function(){dc(this.ptr)};A.prototype=Object.create(y.prototype);A.prototype.constructor=A;
A.prototype.__class__=A;A.__cache__={};a.ExpertEncoder=A;A.prototype.SetEncodingMethod=A.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ec(c,b)};A.prototype.SetAttributeQuantization=A.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);fc(d,b,c)};A.prototype.SetAttributeExplicitQuantization=A.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;m.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=ba(e));g&&"object"===typeof g&&(g=g.ptr);gc(t,b,c,d,e,g)};A.prototype.SetSpeedOptions=A.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);hc(d,b,c)};A.prototype.SetTrackEncodedProperties=A.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ic(c,b)};A.prototype.EncodeToDracoBuffer=
A.prototype.EncodeToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return jc(d,b,c)};A.prototype.GetNumberOfEncodedPoints=A.prototype.GetNumberOfEncodedPoints=function(){return kc(this.ptr)};A.prototype.GetNumberOfEncodedFaces=A.prototype.GetNumberOfEncodedFaces=function(){return lc(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){mc(this.ptr)};(function(){function b(){a.INVALID=nc();a.POSITION=oc();a.NORMAL=pc();a.COLOR=
qc();a.TEX_COORD=rc();a.GENERIC=sc();a.INVALID_GEOMETRY_TYPE=tc();a.POINT_CLOUD=uc();a.TRIANGULAR_MESH=vc();a.MESH_SEQUENTIAL_ENCODING=wc();a.MESH_EDGEBREAKER_ENCODING=xc()}ya?b():Aa.unshift(b)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();return p.ready}}();
var DracoEncoderModule=function(){var n="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(n=n||__filename);return function(q){function m(f){return a.locateFile?a.locateFile(f,M):M+f}function r(f,b){f||D("Assertion failed: "+b)}function k(f){va=f;a.HEAP8=Q=new Int8Array(f);a.HEAP16=ka=new Int16Array(f);a.HEAP32=L=new Int32Array(f);a.HEAPU8=la=new Uint8Array(f);a.HEAPU16=new Uint16Array(f);a.HEAPU32=new Uint32Array(f);a.HEAPF32=
ma=new Float32Array(f);a.HEAPF64=new Float64Array(f)}function D(f){if(a.onAbort)a.onAbort(f);f+="";Y(f);wa=!0;f=new WebAssembly.RuntimeError("abort("+f+"). Build with -s ASSERTIONS=1 for more info.");na(f);throw f;}function h(f,b){return String.prototype.startsWith?f.startsWith(b):0===f.indexOf(b)}function p(f){try{if(f==K&&Z)return new Uint8Array(Z);if(da)return da(f);throw"both async and sync fetching of the wasm failed";}catch(b){D(b)}}function v(){if(!Z&&(ea||V)){if("function"===typeof fetch&&
!h(K,"file://"))return fetch(K,{credentials:"same-origin"}).then(function(f){if(!f.ok)throw"failed to load wasm binary file at '"+K+"'";return f.arrayBuffer()}).catch(function(){return p(K)});if(xa)return new Promise(function(f,b){xa(K,function(c){f(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return p(K)})}function B(f){for(;0<f.length;){var b=f.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?oa.get(c)():oa.get(c)(b.arg):c(void 0===b.arg?
null:b.arg)}}}function J(f){this.excPtr=f;this.ptr=f-G.SIZE;this.set_type=function(b){L[this.ptr+G.TYPE_OFFSET>>2]=b};this.get_type=function(){return L[this.ptr+G.TYPE_OFFSET>>2]};this.set_destructor=function(b){L[this.ptr+G.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return L[this.ptr+G.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){L[this.ptr+G.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Q[this.ptr+G.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Q[this.ptr+
G.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Q[this.ptr+G.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=Q[this.ptr+G.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){L[this.ptr+G.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=L[this.ptr+G.REFCOUNT_OFFSET>>2];L[this.ptr+G.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function U(f){function b(){if(!fa&&
(fa=!0,a.calledRun=!0,!wa)){ya=!0;B(za);B(pa);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());B(Ba)}}if(!(0<W)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ca.unshift(a.preRun.shift());B(Ca);0<W||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function w(){}function C(f){return(f||
w).__cache__}function T(f,b){var c=C(b),d=c[f];if(d)return d;d=Object.create((b||w).prototype);d.ptr=f;return c[f]=d}function P(f){if("string"===typeof f){for(var b=0,c=0;c<f.length;++c){var d=f.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|f.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var e=0;e<f.length;++e){var g=f.charCodeAt(e);if(55296<=g&&57343>=g){var t=f.charCodeAt(++e);g=65536+((g&1023)<<10)|t&1023}if(127>=g){if(c>=
d)break;b[c++]=g}else{if(2047>=g){if(c+1>=d)break;b[c++]=192|g>>6}else{if(65535>=g){if(c+2>=d)break;b[c++]=224|g>>12}else{if(c+3>=d)break;b[c++]=240|g>>18;b[c++]=128|g>>12&63}b[c++]=128|g>>6&63}b[c++]=128|g&63}}b[c]=0}f=l.alloc(b,Q);l.copy(b,Q,f);return f}return f}function ha(f){if("object"===typeof f){var b=l.alloc(f,Q);l.copy(f,Q,b);return b}return f}function ia(f){if("object"===typeof f){var b=l.alloc(f,ka);l.copy(f,ka,b);return b}return f}function X(f){if("object"===typeof f){var b=l.alloc(f,
L);l.copy(f,L,b);return b}return f}function aa(f){if("object"===typeof f){var b=l.alloc(f,ma);l.copy(f,ma,b);return b}return f}function R(){throw"cannot construct a VoidPtr, no constructor in IDL";}function N(){this.ptr=Da();C(N)[this.ptr]=this}function z(){this.ptr=Ea();C(z)[this.ptr]=this}function H(){this.ptr=Fa();C(H)[this.ptr]=this}function E(){this.ptr=Ga();C(E)[this.ptr]=this}function O(){this.ptr=Ha();C(O)[this.ptr]=this}function I(){this.ptr=Ia();C(I)[this.ptr]=this}function F(){this.ptr=
Ja();C(F)[this.ptr]=this}function x(){this.ptr=Ka();C(x)[this.ptr]=this}function u(){this.ptr=La();C(u)[this.ptr]=this}function y(){this.ptr=Ma();C(y)[this.ptr]=this}function A(f){f&&"object"===typeof f&&(f=f.ptr);this.ptr=Na(f);C(A)[this.ptr]=this}q=q||{};var a="undefined"!==typeof q?q:{},Aa,na;a.ready=new Promise(function(f,b){Aa=f;na=b});var Oa=!1,Pa=!1;a.onRuntimeInitialized=function(){Oa=!0;a.callRuntimeCallbacks(a.mainCallbacks);if(Pa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};
a.onModuleParsed=function(){Pa=!0;if(Oa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(f){if("string"!==typeof f)return!1;f=f.split(".");return 2>f.length||3<f.length?!1:1==f[0]&&0<=f[1]&&4>=f[1]?!0:0!=f[0]||10<f[1]?!1:!0};var ba={},S;for(S in a)a.hasOwnProperty(S)&&(ba[S]=a[S]);var ea=!1,V=!1,qa=!1,Qa=!1;ea="object"===typeof window;V="function"===typeof importScripts;qa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;
Qa=!ea&&!qa&&!V;var M="",ra,sa;if(qa){M=V?require("path").dirname(M)+"/":__dirname+"/";var ta=function(f,b){ra||(ra=require("fs"));sa||(sa=require("path"));f=sa.normalize(f);return ra.readFileSync(f,b?null:"utf8")};var da=function(f){f=ta(f,!0);f.buffer||(f=new Uint8Array(f));r(f.buffer);return f};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(Qa)"undefined"!=typeof read&&(ta=function(f){return read(f)}),
da=function(f){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(f));f=read(f,"binary");r("object"===typeof f);return f},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ea||V){V?M=self.location.href:"undefined"!==typeof document&&document.currentScript&&(M=document.currentScript.src);n&&(M=n);M=0!==M.indexOf("blob:")?M.substr(0,M.lastIndexOf("/")+1):"";ta=function(f){var b=
new XMLHttpRequest;b.open("GET",f,!1);b.send(null);return b.responseText};V&&(da=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var xa=function(f,b,c){var d=new XMLHttpRequest;d.open("GET",f,!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)}}a.print||console.log.bind(console);var Y=a.printErr||console.warn.bind(console);for(S in ba)ba.hasOwnProperty(S)&&
(a[S]=ba[S]);ba=null;var Z;a.wasmBinary&&(Z=a.wasmBinary);"object"!==typeof WebAssembly&&D("no native wasm support detected");var ja,wa=!1,va,Q,la,ka,L,ma,oa,Ca=[],za=[],pa=[],Ba=[],ya=!1,W=0,ua=null,ca=null;a.preloadedImages={};a.preloadedAudios={};var K="draco_encoder.wasm";h(K,"data:application/octet-stream;base64,")||(K=m(K));var G={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16},uc=0,vc={e:function(f){return Ra(f+G.SIZE)+G.SIZE},d:function(f,b,
c){(new J(f)).init(b,c);uc++;throw f;},a:function(){D()},b:function(f,b,c){la.copyWithin(f,b,b+c)},c:function(f){var b=la.length;f>>>=0;if(2147483648<f)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,f+100663296);var e=Math,g=e.min;d=Math.max(f,d);0<d%65536&&(d+=65536-d%65536);e=g.call(e,2147483648,d);a:{try{ja.grow(e-va.byteLength+65535>>>16);k(ja.buffer);var t=1;break a}catch(wc){}t=void 0}if(t)return!0}return!1}};(function(){function f(e,g){a.asm=e.exports;ja=a.asm.f;k(ja.buffer);
oa=a.asm.h;za.unshift(a.asm.g);W--;a.monitorRunDependencies&&a.monitorRunDependencies(W);0==W&&(null!==ua&&(clearInterval(ua),ua=null),ca&&(e=ca,ca=null,e()))}function b(e){f(e.instance)}function c(e){return v().then(function(g){return WebAssembly.instantiate(g,d)}).then(e,function(g){Y("failed to asynchronously prepare wasm: "+g);D(g)})}var d={a:vc};W++;a.monitorRunDependencies&&a.monitorRunDependencies(W);if(a.instantiateWasm)try{return a.instantiateWasm(d,f)}catch(e){return Y("Module.instantiateWasm callback failed with error: "+
e),!1}(function(){return Z||"function"!==typeof WebAssembly.instantiateStreaming||h(K,"data:application/octet-stream;base64,")||h(K,"file://")||"function"!==typeof fetch?c(b):fetch(K,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(g){Y("wasm streaming compile failed: "+g);Y("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(na);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.g).apply(null,
arguments)};var Sa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Sa=a._emscripten_bind_VoidPtr___destroy___0=a.asm.i).apply(null,arguments)},Da=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Da=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.j).apply(null,arguments)},Ta=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Ta=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.k).apply(null,arguments)},Ea=a._emscripten_bind_PointAttribute_PointAttribute_0=
function(){return(Ea=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.l).apply(null,arguments)},Ua=a._emscripten_bind_PointAttribute_size_0=function(){return(Ua=a._emscripten_bind_PointAttribute_size_0=a.asm.m).apply(null,arguments)},Va=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Va=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.n).apply(null,arguments)},Wa=a._emscripten_bind_PointAttribute_data_type_0=function(){return(Wa=a._emscripten_bind_PointAttribute_data_type_0=
a.asm.o).apply(null,arguments)},Xa=a._emscripten_bind_PointAttribute_num_components_0=function(){return(Xa=a._emscripten_bind_PointAttribute_num_components_0=a.asm.p).apply(null,arguments)},Ya=a._emscripten_bind_PointAttribute_normalized_0=function(){return(Ya=a._emscripten_bind_PointAttribute_normalized_0=a.asm.q).apply(null,arguments)},Za=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Za=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.r).apply(null,arguments)},$a=a._emscripten_bind_PointAttribute_byte_offset_0=
function(){return($a=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.s).apply(null,arguments)},ab=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(ab=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.t).apply(null,arguments)},bb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(bb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.u).apply(null,arguments)},Fa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Fa=a._emscripten_bind_PointCloud_PointCloud_0=
a.asm.v).apply(null,arguments)},cb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(cb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.w).apply(null,arguments)},db=a._emscripten_bind_PointCloud_num_points_0=function(){return(db=a._emscripten_bind_PointCloud_num_points_0=a.asm.x).apply(null,arguments)},eb=a._emscripten_bind_PointCloud___destroy___0=function(){return(eb=a._emscripten_bind_PointCloud___destroy___0=a.asm.y).apply(null,arguments)},Ga=a._emscripten_bind_Mesh_Mesh_0=
function(){return(Ga=a._emscripten_bind_Mesh_Mesh_0=a.asm.z).apply(null,arguments)},fb=a._emscripten_bind_Mesh_num_faces_0=function(){return(fb=a._emscripten_bind_Mesh_num_faces_0=a.asm.A).apply(null,arguments)},gb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(gb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.B).apply(null,arguments)},hb=a._emscripten_bind_Mesh_num_points_0=function(){return(hb=a._emscripten_bind_Mesh_num_points_0=a.asm.C).apply(null,arguments)},ib=a._emscripten_bind_Mesh_set_num_points_1=
function(){return(ib=a._emscripten_bind_Mesh_set_num_points_1=a.asm.D).apply(null,arguments)},jb=a._emscripten_bind_Mesh___destroy___0=function(){return(jb=a._emscripten_bind_Mesh___destroy___0=a.asm.E).apply(null,arguments)},Ha=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ha=a._emscripten_bind_Metadata_Metadata_0=a.asm.F).apply(null,arguments)},kb=a._emscripten_bind_Metadata___destroy___0=function(){return(kb=a._emscripten_bind_Metadata___destroy___0=a.asm.G).apply(null,arguments)},Ia=
a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ia=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.H).apply(null,arguments)},lb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(lb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.I).apply(null,arguments)},mb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(mb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.J).apply(null,arguments)},nb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(nb=
a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.K).apply(null,arguments)},Ja=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(Ja=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=a.asm.L).apply(null,arguments)},ob=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(ob=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=a.asm.M).apply(null,arguments)},pb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(pb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=
a.asm.N).apply(null,arguments)},qb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(qb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=a.asm.O).apply(null,arguments)},rb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(rb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=a.asm.P).apply(null,arguments)},sb=a._emscripten_bind_MetadataBuilder___destroy___0=function(){return(sb=a._emscripten_bind_MetadataBuilder___destroy___0=a.asm.Q).apply(null,arguments)},
Ka=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(Ka=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=a.asm.R).apply(null,arguments)},tb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(tb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=a.asm.S).apply(null,arguments)},ub=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(ub=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=a.asm.T).apply(null,arguments)},
vb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(vb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=a.asm.U).apply(null,arguments)},wb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(wb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=a.asm.V).apply(null,arguments)},xb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(xb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=a.asm.W).apply(null,arguments)},
yb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=function(){return(yb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=a.asm.X).apply(null,arguments)},zb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(zb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=a.asm.Y).apply(null,arguments)},Ab=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(Ab=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=a.asm.Z).apply(null,arguments)},Bb=
a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(Bb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=a.asm._).apply(null,arguments)},Cb=a._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(Cb=a._emscripten_bind_PointCloudBuilder___destroy___0=a.asm.$).apply(null,arguments)},La=a._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(La=a._emscripten_bind_MeshBuilder_MeshBuilder_0=a.asm.aa).apply(null,arguments)},Db=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=
function(){return(Db=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=a.asm.ba).apply(null,arguments)},Eb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Eb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=a.asm.ca).apply(null,arguments)},Fb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Fb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=a.asm.da).apply(null,arguments)},Gb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(Gb=
a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=a.asm.ea).apply(null,arguments)},Hb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(Hb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=a.asm.fa).apply(null,arguments)},Ib=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(Ib=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=a.asm.ga).apply(null,arguments)},Jb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(Jb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=
a.asm.ha).apply(null,arguments)},Kb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Kb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=a.asm.ia).apply(null,arguments)},Lb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Lb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=a.asm.ja).apply(null,arguments)},Mb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=function(){return(Mb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=a.asm.ka).apply(null,arguments)},
Nb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Nb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=a.asm.la).apply(null,arguments)},Ob=a._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Ob=a._emscripten_bind_MeshBuilder_AddMetadata_2=a.asm.ma).apply(null,arguments)},Pb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Pb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=a.asm.na).apply(null,arguments)},Qb=a._emscripten_bind_MeshBuilder___destroy___0=
function(){return(Qb=a._emscripten_bind_MeshBuilder___destroy___0=a.asm.oa).apply(null,arguments)},Ma=a._emscripten_bind_Encoder_Encoder_0=function(){return(Ma=a._emscripten_bind_Encoder_Encoder_0=a.asm.pa).apply(null,arguments)},Rb=a._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Rb=a._emscripten_bind_Encoder_SetEncodingMethod_1=a.asm.qa).apply(null,arguments)},Sb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Sb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=
a.asm.ra).apply(null,arguments)},Tb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=function(){return(Tb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=a.asm.sa).apply(null,arguments)},Ub=a._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Ub=a._emscripten_bind_Encoder_SetSpeedOptions_2=a.asm.ta).apply(null,arguments)},Vb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(Vb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=a.asm.ua).apply(null,
arguments)},Wb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return(Wb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=a.asm.va).apply(null,arguments)},Xb=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(Xb=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=a.asm.wa).apply(null,arguments)},Yb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=function(){return(Yb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=a.asm.xa).apply(null,
arguments)},Zb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(Zb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=a.asm.ya).apply(null,arguments)},$b=a._emscripten_bind_Encoder___destroy___0=function(){return($b=a._emscripten_bind_Encoder___destroy___0=a.asm.za).apply(null,arguments)},Na=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Na=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=a.asm.Aa).apply(null,arguments)},ac=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=
function(){return(ac=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=a.asm.Ba).apply(null,arguments)},bc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(bc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=a.asm.Ca).apply(null,arguments)},cc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(cc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=a.asm.Da).apply(null,arguments)},dc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=
function(){return(dc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=a.asm.Ea).apply(null,arguments)},ec=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(ec=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=a.asm.Fa).apply(null,arguments)},fc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(fc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=a.asm.Ga).apply(null,arguments)},gc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=
function(){return(gc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=a.asm.Ha).apply(null,arguments)},hc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(hc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=a.asm.Ia).apply(null,arguments)},ic=a._emscripten_bind_ExpertEncoder___destroy___0=function(){return(ic=a._emscripten_bind_ExpertEncoder___destroy___0=a.asm.Ja).apply(null,arguments)},jc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(jc=
a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.Ka).apply(null,arguments)},kc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(kc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.La).apply(null,arguments)},lc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(lc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.Ma).apply(null,arguments)},mc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(mc=
a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.Na).apply(null,arguments)},nc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(nc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.Oa).apply(null,arguments)},oc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(oc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.Pa).apply(null,arguments)},pc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(pc=
a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.Qa).apply(null,arguments)},qc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(qc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.Ra).apply(null,arguments)},rc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(rc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Sa).apply(null,arguments)},sc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=
function(){return(sc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=a.asm.Ta).apply(null,arguments)},tc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(tc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=a.asm.Ua).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Va).apply(null,arguments)};var Ra=a._malloc=function(){return(Ra=a._malloc=a.asm.Wa).apply(null,arguments)};a.callRuntimeCallbacks=B;var fa;ca=function b(){fa||
U();fa||(ca=b)};a.run=U;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();U();w.prototype=Object.create(w.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.WrapperObject=w;a.getCache=C;a.wrapPointer=T;a.castObject=function(b,c){return T(b.ptr,c)};a.NULL=T(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete C(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 l={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(l.needed){for(var b=0;b<l.temps.length;b++)a._free(l.temps[b]);l.temps.length=0;a._free(l.buffer);l.buffer=0;l.size+=l.needed;l.needed=0}l.buffer||(l.size+=128,l.buffer=a._malloc(l.size),r(l.buffer));l.pos=0},alloc:function(b,c){r(l.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;l.pos+b>=l.size?(r(0<b),l.needed+=
b,c=a._malloc(b),l.temps.push(c)):(c=l.buffer+l.pos,l.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 e=0;e<b.length;e++)c[d+e]=b[e]}};R.prototype=Object.create(w.prototype);R.prototype.constructor=R;R.prototype.__class__=R;R.__cache__={};a.VoidPtr=R;R.prototype.__destroy__=R.prototype.__destroy__=function(){Sa(this.ptr)};N.prototype=Object.create(w.prototype);N.prototype.constructor=N;N.prototype.__class__=N;
N.__cache__={};a.GeometryAttribute=N;N.prototype.__destroy__=N.prototype.__destroy__=function(){Ta(this.ptr)};z.prototype=Object.create(w.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.PointAttribute=z;z.prototype.size=z.prototype.size=function(){return Ua(this.ptr)};z.prototype.attribute_type=z.prototype.attribute_type=function(){return Va(this.ptr)};z.prototype.data_type=z.prototype.data_type=function(){return Wa(this.ptr)};z.prototype.num_components=z.prototype.num_components=
function(){return Xa(this.ptr)};z.prototype.normalized=z.prototype.normalized=function(){return!!Ya(this.ptr)};z.prototype.byte_stride=z.prototype.byte_stride=function(){return Za(this.ptr)};z.prototype.byte_offset=z.prototype.byte_offset=function(){return $a(this.ptr)};z.prototype.unique_id=z.prototype.unique_id=function(){return ab(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){bb(this.ptr)};H.prototype=Object.create(w.prototype);H.prototype.constructor=H;H.prototype.__class__=
H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return cb(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return db(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){eb(this.ptr)};E.prototype=Object.create(w.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return fb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=
function(){return gb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return hb(this.ptr)};E.prototype.set_num_points=E.prototype.set_num_points=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ib(c,b)};E.prototype.__destroy__=E.prototype.__destroy__=function(){jb(this.ptr)};O.prototype=Object.create(w.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.Metadata=O;O.prototype.__destroy__=O.prototype.__destroy__=function(){kb(this.ptr)};I.prototype=
Object.create(w.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 lb(c,b)};I.prototype.size=I.prototype.size=function(){return mb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){nb(this.ptr)};F.prototype=Object.create(w.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.MetadataBuilder=F;F.prototype.AddStringEntry=
F.prototype.AddStringEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d=d&&"object"===typeof d?d.ptr:P(d);return!!ob(e,b,c,d)};F.prototype.AddIntEntry=F.prototype.AddIntEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d&&"object"===typeof d&&(d=d.ptr);return!!pb(e,b,c,d)};F.prototype.AddIntEntryArray=F.prototype.AddIntEntryArray=function(b,c,d,e){var g=this.ptr;
l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);"object"==typeof d&&(d=X(d));e&&"object"===typeof e&&(e=e.ptr);return!!qb(g,b,c,d,e)};F.prototype.AddDoubleEntry=F.prototype.AddDoubleEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d&&"object"===typeof d&&(d=d.ptr);return!!rb(e,b,c,d)};F.prototype.__destroy__=F.prototype.__destroy__=function(){sb(this.ptr)};x.prototype=Object.create(w.prototype);
x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.PointCloudBuilder=x;x.prototype.AddFloatAttribute=x.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return tb(t,b,c,d,e,g)};x.prototype.AddInt8Attribute=x.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===
typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return ub(t,b,c,d,e,g)};x.prototype.AddUInt8Attribute=x.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return vb(t,b,c,d,e,g)};x.prototype.AddInt16Attribute=
x.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return wb(t,b,c,d,e,g)};x.prototype.AddUInt16Attribute=x.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&
(e=e.ptr);"object"==typeof g&&(g=ia(g));return xb(t,b,c,d,e,g)};x.prototype.AddInt32Attribute=x.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return yb(t,b,c,d,e,g)};x.prototype.AddUInt32Attribute=x.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return zb(t,b,c,d,e,g)};x.prototype.AddMetadata=x.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Ab(d,b,c)};x.prototype.SetMetadataForAttribute=x.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===
typeof d&&(d=d.ptr);return!!Bb(e,b,c,d)};x.prototype.__destroy__=x.prototype.__destroy__=function(){Cb(this.ptr)};u.prototype=Object.create(w.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.MeshBuilder=u;u.prototype.AddFacesToMesh=u.prototype.AddFacesToMesh=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);"object"==typeof d&&(d=X(d));return!!Db(e,b,c,d)};u.prototype.AddFloatAttributeToMesh=u.prototype.AddFloatAttributeToMesh=
function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return Eb(t,b,c,d,e,g)};u.prototype.AddInt32AttributeToMesh=u.prototype.AddInt32AttributeToMesh=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==
typeof g&&(g=X(g));return Fb(t,b,c,d,e,g)};u.prototype.AddMetadataToMesh=u.prototype.AddMetadataToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Gb(d,b,c)};u.prototype.AddFloatAttribute=u.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return Hb(t,
b,c,d,e,g)};u.prototype.AddInt8Attribute=u.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return Ib(t,b,c,d,e,g)};u.prototype.AddUInt8Attribute=u.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return Jb(t,b,c,d,e,g)};u.prototype.AddInt16Attribute=u.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return Kb(t,b,c,d,e,g)};u.prototype.AddUInt16Attribute=u.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return Lb(t,b,c,d,e,g)};u.prototype.AddInt32Attribute=u.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return Mb(t,b,c,d,e,g)};u.prototype.AddUInt32Attribute=
u.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return Nb(t,b,c,d,e,g)};u.prototype.AddMetadata=u.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Ob(d,b,c)};u.prototype.SetMetadataForAttribute=u.prototype.SetMetadataForAttribute=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Pb(e,b,c,d)};u.prototype.__destroy__=u.prototype.__destroy__=function(){Qb(this.ptr)};y.prototype=Object.create(w.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.Encoder=y;y.prototype.SetEncodingMethod=y.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Rb(c,b)};y.prototype.SetAttributeQuantization=
y.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Sb(d,b,c)};y.prototype.SetAttributeExplicitQuantization=y.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=aa(e));g&&"object"===typeof g&&(g=g.ptr);Tb(t,b,c,d,e,g)};y.prototype.SetSpeedOptions=y.prototype.SetSpeedOptions=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Ub(d,b,c)};y.prototype.SetTrackEncodedProperties=y.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Vb(c,b)};y.prototype.EncodeMeshToDracoBuffer=y.prototype.EncodeMeshToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Wb(d,b,c)};y.prototype.EncodePointCloudToDracoBuffer=y.prototype.EncodePointCloudToDracoBuffer=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return Xb(e,b,c,d)};y.prototype.GetNumberOfEncodedPoints=y.prototype.GetNumberOfEncodedPoints=function(){return Yb(this.ptr)};y.prototype.GetNumberOfEncodedFaces=y.prototype.GetNumberOfEncodedFaces=function(){return Zb(this.ptr)};y.prototype.__destroy__=y.prototype.__destroy__=function(){$b(this.ptr)};A.prototype=Object.create(w.prototype);A.prototype.constructor=A;
A.prototype.__class__=A;A.__cache__={};a.ExpertEncoder=A;A.prototype.SetEncodingMethod=A.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ac(c,b)};A.prototype.SetAttributeQuantization=A.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);bc(d,b,c)};A.prototype.SetAttributeExplicitQuantization=A.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;l.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=aa(e));g&&"object"===typeof g&&(g=g.ptr);cc(t,b,c,d,e,g)};A.prototype.SetSpeedOptions=A.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);dc(d,b,c)};A.prototype.SetTrackEncodedProperties=A.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ec(c,b)};A.prototype.EncodeToDracoBuffer=
A.prototype.EncodeToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return fc(d,b,c)};A.prototype.GetNumberOfEncodedPoints=A.prototype.GetNumberOfEncodedPoints=function(){return gc(this.ptr)};A.prototype.GetNumberOfEncodedFaces=A.prototype.GetNumberOfEncodedFaces=function(){return hc(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){ic(this.ptr)};(function(){function b(){a.INVALID=jc();a.POSITION=kc();a.NORMAL=lc();a.COLOR=
mc();a.TEX_COORD=nc();a.GENERIC=oc();a.INVALID_GEOMETRY_TYPE=pc();a.POINT_CLOUD=qc();a.TRIANGULAR_MESH=rc();a.MESH_SEQUENTIAL_ENCODING=sc();a.MESH_EDGEBREAKER_ENCODING=tc()}ya?b():pa.unshift(b)})();a.mainCallbacks=pa;if("function"===typeof a.onModuleParsed)a.onModuleParsed();return q.ready}}();
"object"===typeof exports&&"object"===typeof module?module.exports=DracoEncoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoEncoderModule}):"object"===typeof exports&&(exports.DracoEncoderModule=DracoEncoderModule);

View File

@ -1,132 +1,117 @@
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(l){var n=0;return function(){return n<l.length?{done:!1,value:l[n++]}:{done:!0}}};$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}};$jscomp.makeIterator=function(l){var n="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];return n?n.call(l):$jscomp.arrayIterator(l)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<l.length;++n){var m=l[n];if(m&&m.Math==Math)return m}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,n,m){if(l==Array.prototype||l==Object.prototype)return l;l[n]=m.value;return l};$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$";
var $jscomp$lookupPolyfilledValue=function(l,n){var m=$jscomp.propertyToPolyfillSymbol[n];if(null==m)return l[n];m=l[m];return void 0!==m?m:l[n]};$jscomp.polyfill=function(l,n,m,q){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,n,m,q):$jscomp.polyfillUnisolated(l,n,m,q))};
$jscomp.polyfillUnisolated=function(l,n,m,q){m=$jscomp.global;l=l.split(".");for(q=0;q<l.length-1;q++){var h=l[q];if(!(h in m))return;m=m[h]}l=l[l.length-1];q=m[l];n=n(q);n!=q&&null!=n&&$jscomp.defineProperty(m,l,{configurable:!0,writable:!0,value:n})};
$jscomp.polyfillIsolated=function(l,n,m,q){var h=l.split(".");l=1===h.length;q=h[0];q=!l&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var A=0;A<h.length-1;A++){var g=h[A];if(!(g in q))return;q=q[g]}h=h[h.length-1];m=$jscomp.IS_SYMBOL_NATIVE&&"es6"===m?q[h]:null;n=n(m);null!=n&&(l?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:n}):n!==m&&($jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+h,h=
$jscomp.propertyToPolyfillSymbol[h],$jscomp.defineProperty(q,h,{configurable:!0,writable:!0,value:n})))};
$jscomp.polyfill("Promise",function(l){function n(){this.batch_=null}function m(g){return g instanceof h?g:new h(function(p,u){p(g)})}if(l&&(!($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 l;n.prototype.asyncExecute=function(g){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(g)};
var q=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(g){q(g,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var g=this.batch_;this.batch_=[];for(var p=0;p<g.length;++p){var u=g[p];g[p]=null;try{u()}catch(x){this.asyncThrow_(x)}}}this.batch_=null};n.prototype.asyncThrow_=function(g){this.asyncExecuteFunction(function(){throw g;})};var h=function(g){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var p=this.createResolveAndReject_();
try{g(p.resolve,p.reject)}catch(u){p.reject(u)}};h.prototype.createResolveAndReject_=function(){function g(x){return function(F){u||(u=!0,x.call(p,F))}}var p=this,u=!1;return{resolve:g(this.resolveTo_),reject:g(this.reject_)}};h.prototype.resolveTo_=function(g){if(g===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof h)this.settleSameAsPromise_(g);else{a:switch(typeof g){case "object":var p=null!=g;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(g):
this.fulfill_(g)}};h.prototype.resolveToNonPromiseObj_=function(g){var p=void 0;try{p=g.then}catch(u){this.reject_(u);return}"function"==typeof p?this.settleSameAsThenable_(p,g):this.fulfill_(g)};h.prototype.reject_=function(g){this.settle_(2,g)};h.prototype.fulfill_=function(g){this.settle_(1,g)};h.prototype.settle_=function(g,p){if(0!=this.state_)throw Error("Cannot settle("+g+", "+p+"): Promise already settled in state"+this.state_);this.state_=g;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};h.prototype.scheduleUnhandledRejectionCheck_=function(){var g=this;q(function(){if(g.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(g.result_)}},1)};h.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var g=$jscomp.global.CustomEvent,p=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):
"function"===typeof p?g=new p("unhandledrejection",{cancelable:!0}):(g=$jscomp.global.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.result_;return u(g)};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var g=0;g<this.onSettledCallbacks_.length;++g)A.asyncExecute(this.onSettledCallbacks_[g]);this.onSettledCallbacks_=null}};var A=new n;h.prototype.settleSameAsPromise_=function(g){var p=this.createResolveAndReject_();
g.callWhenSettled_(p.resolve,p.reject)};h.prototype.settleSameAsThenable_=function(g,p){var u=this.createResolveAndReject_();try{g.call(p,u.resolve,u.reject)}catch(x){u.reject(x)}};h.prototype.then=function(g,p){function u(G,Y){return"function"==typeof G?function(ba){try{x(G(ba))}catch(fa){F(fa)}}:Y}var x,F,ka=new h(function(G,Y){x=G;F=Y});this.callWhenSettled_(u(g,x),u(p,F));return ka};h.prototype.catch=function(g){return this.then(void 0,g)};h.prototype.callWhenSettled_=function(g,p){function u(){switch(x.state_){case 1:g(x.result_);
break;case 2:p(x.result_);break;default:throw Error("Unexpected state: "+x.state_);}}var x=this;null==this.onSettledCallbacks_?A.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};h.resolve=m;h.reject=function(g){return new h(function(p,u){u(g)})};h.race=function(g){return new h(function(p,u){for(var x=$jscomp.makeIterator(g),F=x.next();!F.done;F=x.next())m(F.value).callWhenSettled_(p,u)})};h.all=function(g){var p=$jscomp.makeIterator(g),u=p.next();return u.done?m([]):new h(function(x,
F){function ka(ba){return function(fa){G[ba]=fa;Y--;0==Y&&x(G)}}var G=[],Y=0;do G.push(void 0),Y++,m(u.value).callWhenSettled_(ka(G.length-1),F),u=p.next();while(!u.done)})};return h},"es6","es3");$jscomp.checkEs6ConformanceViaProxy=function(){try{var l={},n=Object.create(new $jscomp.global.Proxy(l,{get:function(m,q,h){return m==l&&"q"==q&&h==n}}));return!0===n.q}catch(m){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;
$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();$jscomp.owns=function(l,n){return Object.prototype.hasOwnProperty.call(l,n)};
$jscomp.polyfill("Array.prototype.copyWithin",function(l){function n(m){m=Number(m);return Infinity===m||-Infinity===m?m:m|0}return l?l:function(m,q,h){var A=this.length;m=n(m);q=n(q);h=void 0===h?A:n(h);m=0>m?Math.max(A+m,0):Math.min(m,A);q=0>q?Math.max(A+q,0):Math.min(q,A);h=0>h?Math.max(A+h,0):Math.min(h,A);if(m<q)for(;q<h;)q in this?this[m++]=this[q++]:(delete this[m++],q++);else for(h=Math.min(h,A+q-m),m+=h-q;h>q;)--h in this?this[--m]=this[h]:delete this[--m];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(l){return l?l: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");
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(m){var p=0;return function(){return p<m.length?{done:!1,value:m[p++]}:{done:!0}}};$jscomp.arrayIterator=function(m){return{next:$jscomp.arrayIteratorImpl(m)}};$jscomp.makeIterator=function(m){var p="undefined"!=typeof Symbol&&Symbol.iterator&&m[Symbol.iterator];return p?p.call(m):$jscomp.arrayIterator(m)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(m){m=["object"==typeof globalThis&&globalThis,m,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<m.length;++p){var l=m[p];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(m,p,l){if(m==Array.prototype||m==Object.prototype)return m;m[p]=l.value;return m};$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$";
var $jscomp$lookupPolyfilledValue=function(m,p){var l=$jscomp.propertyToPolyfillSymbol[p];if(null==l)return m[p];l=m[l];return void 0!==l?l:m[p]};$jscomp.polyfill=function(m,p,l,q){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(m,p,l,q):$jscomp.polyfillUnisolated(m,p,l,q))};
$jscomp.polyfillUnisolated=function(m,p,l,q){l=$jscomp.global;m=m.split(".");for(q=0;q<m.length-1;q++){var k=m[q];if(!(k in l))return;l=l[k]}m=m[m.length-1];q=l[m];p=p(q);p!=q&&null!=p&&$jscomp.defineProperty(l,m,{configurable:!0,writable:!0,value:p})};
$jscomp.polyfillIsolated=function(m,p,l,q){var k=m.split(".");m=1===k.length;q=k[0];q=!m&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var A=0;A<k.length-1;A++){var g=k[A];if(!(g in q))return;q=q[g]}k=k[k.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?q[k]:null;p=p(l);null!=p&&(m?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:p}):p!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+l+"$"+k),$jscomp.defineProperty(q,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:p})))};
$jscomp.polyfill("Promise",function(m){function p(){this.batch_=null}function l(g){return g instanceof k?g:new k(function(n,u){n(g)})}if(m&&(!($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 m;p.prototype.asyncExecute=function(g){if(null==this.batch_){this.batch_=[];var n=this;this.asyncExecuteFunction(function(){n.executeBatch_()})}this.batch_.push(g)};
var q=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(g){q(g,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var g=this.batch_;this.batch_=[];for(var n=0;n<g.length;++n){var u=g[n];g[n]=null;try{u()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};p.prototype.asyncThrow_=function(g){this.asyncExecuteFunction(function(){throw g;})};var k=function(g){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var n=this.createResolveAndReject_();
try{g(n.resolve,n.reject)}catch(u){n.reject(u)}};k.prototype.createResolveAndReject_=function(){function g(z){return function(P){u||(u=!0,z.call(n,P))}}var n=this,u=!1;return{resolve:g(this.resolveTo_),reject:g(this.reject_)}};k.prototype.resolveTo_=function(g){if(g===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof k)this.settleSameAsPromise_(g);else{a:switch(typeof g){case "object":var n=null!=g;break a;case "function":n=!0;break a;default:n=!1}n?this.resolveToNonPromiseObj_(g):
this.fulfill_(g)}};k.prototype.resolveToNonPromiseObj_=function(g){var n=void 0;try{n=g.then}catch(u){this.reject_(u);return}"function"==typeof n?this.settleSameAsThenable_(n,g):this.fulfill_(g)};k.prototype.reject_=function(g){this.settle_(2,g)};k.prototype.fulfill_=function(g){this.settle_(1,g)};k.prototype.settle_=function(g,n){if(0!=this.state_)throw Error("Cannot settle("+g+", "+n+"): Promise already settled in state"+this.state_);this.state_=g;this.result_=n;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var g=this;q(function(){if(g.notifyUnhandledRejection_()){var n=$jscomp.global.console;"undefined"!==typeof n&&n.error(g.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var g=$jscomp.global.CustomEvent,n=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):
"function"===typeof n?g=new n("unhandledrejection",{cancelable:!0}):(g=$jscomp.global.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.result_;return u(g)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var g=0;g<this.onSettledCallbacks_.length;++g)A.asyncExecute(this.onSettledCallbacks_[g]);this.onSettledCallbacks_=null}};var A=new p;k.prototype.settleSameAsPromise_=function(g){var n=this.createResolveAndReject_();
g.callWhenSettled_(n.resolve,n.reject)};k.prototype.settleSameAsThenable_=function(g,n){var u=this.createResolveAndReject_();try{g.call(n,u.resolve,u.reject)}catch(z){u.reject(z)}};k.prototype.then=function(g,n){function u(V,W){return"function"==typeof V?function(v){try{z(V(v))}catch(x){P(x)}}:W}var z,P,aa=new k(function(V,W){z=V;P=W});this.callWhenSettled_(u(g,z),u(n,P));return aa};k.prototype.catch=function(g){return this.then(void 0,g)};k.prototype.callWhenSettled_=function(g,n){function u(){switch(z.state_){case 1:g(z.result_);
break;case 2:n(z.result_);break;default:throw Error("Unexpected state: "+z.state_);}}var z=this;null==this.onSettledCallbacks_?A.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};k.resolve=l;k.reject=function(g){return new k(function(n,u){u(g)})};k.race=function(g){return new k(function(n,u){for(var z=$jscomp.makeIterator(g),P=z.next();!P.done;P=z.next())l(P.value).callWhenSettled_(n,u)})};k.all=function(g){var n=$jscomp.makeIterator(g),u=n.next();return u.done?l([]):new k(function(z,
P){function aa(v){return function(x){V[v]=x;W--;0==W&&z(V)}}var V=[],W=0;do V.push(void 0),W++,l(u.value).callWhenSettled_(aa(V.length-1),P),u=n.next();while(!u.done)})};return k},"es6","es3");
$jscomp.polyfill("Array.prototype.copyWithin",function(m){function p(l){l=Number(l);return Infinity===l||-Infinity===l?l:l|0}return m?m:function(l,q,k){var A=this.length;l=p(l);q=p(q);k=void 0===k?A:p(k);l=0>l?Math.max(A+l,0):Math.min(l,A);q=0>q?Math.max(A+q,0):Math.min(q,A);k=0>k?Math.max(A+k,0):Math.min(k,A);if(l<q)for(;q<k;)q in this?this[l++]=this[q++]:(delete this[l++],q++);else for(k=Math.min(k,A+q-l),l+=k-q;k>q;)--k in this?this[--l]=this[k]:delete this[--l];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(m){return m?m: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");
$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");
var DracoDecoderModule=function(){var l="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(l=l||__filename);return function(n){function m(e){return a.locateFile?a.locateFile(e,V):V+e}function q(e,b){e||u("Assertion failed: "+b)}function h(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.subarray&&Ea)return Ea.decode(e.subarray(b,c));for(d="";b<c;){var f=e[b++];if(f&128){var t=e[b++]&63;if(192==(f&224))d+=String.fromCharCode((f&
31)<<6|t);else{var ca=e[b++]&63;f=224==(f&240)?(f&15)<<12|t<<6|ca:(f&7)<<18|t<<12|ca<<6|e[b++]&63;65536>f?d+=String.fromCharCode(f):(f-=65536,d+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else d+=String.fromCharCode(f)}return d}function A(e,b){return e?h(la,e,b):""}function g(e,b){0<e%b&&(e+=b-e%b);return e}function p(e){ra=e;a.HEAP8=Z=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=H=new Int32Array(e);a.HEAPU8=la=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);
a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function u(e){if(a.onAbort)a.onAbort(e);e+="";ja(e);Fa=!0;e=new WebAssembly.RuntimeError("abort("+e+"). Build with -s ASSERTIONS=1 for more info.");va(e);throw e;}function x(e,b){return String.prototype.startsWith?e.startsWith(b):0===e.indexOf(b)}function F(){try{if(ma)return new Uint8Array(ma);if(sa)return sa(W);throw"both async and sync fetching of the wasm failed";}catch(e){u(e)}}function ka(){return ma||!ta&&!ha||"function"!==typeof fetch||
x(W,"file://")?Promise.resolve().then(F):fetch(W,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+W+"'";return e.arrayBuffer()}).catch(function(){return F()})}function G(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?wa.get(c)():wa.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function Y(e){this.excPtr=e;this.ptr=e-D.SIZE;this.set_type=function(b){H[this.ptr+D.TYPE_OFFSET>>2]=b};
this.get_type=function(){return H[this.ptr+D.TYPE_OFFSET>>2]};this.set_destructor=function(b){H[this.ptr+D.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return H[this.ptr+D.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){H[this.ptr+D.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Z[this.ptr+D.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Z[this.ptr+D.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Z[this.ptr+D.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=
Z[this.ptr+D.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){H[this.ptr+D.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=H[this.ptr+D.REFCOUNT_OFFSET>>2];H[this.ptr+D.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function ba(){return 0<ba.uncaught_exceptions}function fa(e){function b(){if(!ua&&(ua=!0,a.calledRun=!0,!Fa)){Ga=!0;G(Ha);G(Ia);Ja(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();
if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ka.unshift(a.postRun.shift());G(Ka)}}if(!(0<ia)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)La.unshift(a.preRun.shift());G(La);0<ia||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function v(){}function z(e){return(e||v).__cache__}function S(e,b){var c=z(b),d=c[e];if(d)return d;d=Object.create((b||
v).prototype);d.ptr=e;return c[e]=d}function da(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var f=0;f<e.length;++f){var t=e.charCodeAt(f);if(55296<=t&&57343>=t){var ca=e.charCodeAt(++f);t=65536+((t&1023)<<10)|ca&1023}if(127>=t){if(c>=d)break;b[c++]=t}else{if(2047>=t){if(c+1>=d)break;b[c++]=192|t>>6}else{if(65535>=
t){if(c+2>=d)break;b[c++]=224|t>>12}else{if(c+3>=d)break;b[c++]=240|t>>18;b[c++]=128|t>>12&63}b[c++]=128|t>>6&63}b[c++]=128|t&63}}b[c]=0}e=r.alloc(b,Z);r.copy(b,Z,e);return e}return e}function xa(e){if("object"===typeof e){var b=r.alloc(e,Z);r.copy(e,Z,b);return b}return e}function aa(){throw"cannot construct a VoidPtr, no constructor in IDL";}function T(){this.ptr=Ma();z(T)[this.ptr]=this}function R(){this.ptr=Na();z(R)[this.ptr]=this}function X(){this.ptr=Oa();z(X)[this.ptr]=this}function w(){this.ptr=
Pa();z(w)[this.ptr]=this}function C(){this.ptr=Qa();z(C)[this.ptr]=this}function I(){this.ptr=Ra();z(I)[this.ptr]=this}function J(){this.ptr=Sa();z(J)[this.ptr]=this}function E(){this.ptr=Ta();z(E)[this.ptr]=this}function U(){this.ptr=Ua();z(U)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL";}function K(){this.ptr=Va();z(K)[this.ptr]=this}function L(){this.ptr=Wa();z(L)[this.ptr]=this}function M(){this.ptr=Xa();z(M)[this.ptr]=this}function N(){this.ptr=Ya();z(N)[this.ptr]=
this}function O(){this.ptr=Za();z(O)[this.ptr]=this}function P(){this.ptr=$a();z(P)[this.ptr]=this}function Q(){this.ptr=ab();z(Q)[this.ptr]=this}function y(){this.ptr=bb();z(y)[this.ptr]=this}function k(){this.ptr=cb();z(k)[this.ptr]=this}n=n||{};var a="undefined"!==typeof n?n:{},Ja,va;a.ready=new Promise(function(e,b){Ja=e;va=b});var db=!1,eb=!1;a.onRuntimeInitialized=function(){db=!0;if(eb&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){eb=!0;if(db&&"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]&&4>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var na={},ea;for(ea in a)a.hasOwnProperty(ea)&&(na[ea]=a[ea]);var ta=!1,ha=!1,ya=!1,fb=!1;ta="object"===typeof window;ha="function"===typeof importScripts;ya="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;fb=!ta&&!ya&&!ha;var V="",za,
Aa;if(ya){V=ha?require("path").dirname(V)+"/":__dirname+"/";var Ba=function(e,b){za||(za=require("fs"));Aa||(Aa=require("path"));e=Aa.normalize(e);return za.readFileSync(e,b?null:"utf8")};var sa=function(e){e=Ba(e,!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(fb)"undefined"!=typeof read&&(Ba=function(e){return read(e)}),sa=function(e){if("function"===
typeof readbuffer)return new Uint8Array(readbuffer(e));e=read(e,"binary");q("object"===typeof e);return e},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ta||ha)ha?V=self.location.href:"undefined"!==typeof document&&document.currentScript&&(V=document.currentScript.src),l&&(V=l),V=0!==V.indexOf("blob:")?V.substr(0,V.lastIndexOf("/")+1):"",Ba=function(e){var b=new XMLHttpRequest;
b.open("GET",e,!1);b.send(null);return b.responseText},ha&&(sa=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var Ed=a.print||console.log.bind(console),ja=a.printErr||console.warn.bind(console);for(ea in na)na.hasOwnProperty(ea)&&(a[ea]=na[ea]);na=null;var ma;a.wasmBinary&&(ma=a.wasmBinary);"object"!==typeof WebAssembly&&u("no native wasm support detected");var oa,Fa=!1,Ea="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):
void 0;"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");var Z,la,H,gb=a.INITIAL_MEMORY||16777216;if(oa=a.wasmMemory?a.wasmMemory:new WebAssembly.Memory({initial:gb/65536,maximum:32768}))var ra=oa.buffer;gb=ra.byteLength;p(ra);var wa,La=[],Ha=[],Ia=[],Ka=[],Ga=!1,ia=0,Ca=null,pa=null;a.preloadedImages={};a.preloadedAudios={};var W="draco_decoder.wasm";x(W,"data:application/octet-stream;base64,")||(W=m(W));var D={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,
SIZE:16},qa={mappings:{},buffers:[null,[],[]],printChar:function(e,b){var c=qa.buffers[e];0===b||10===b?((1===e?Ed:ja)(h(c,0)),c.length=0):c.push(b)},varargs:void 0,get:function(){qa.varargs+=4;return H[qa.varargs-4>>2]},getStr:function(e){return A(e)},get64:function(e,b){return e}};Ha.push({func:function(){hb()}});var kb={__cxa_allocate_exception:function(e){return ib(e+D.SIZE)+D.SIZE},__cxa_throw:function(e,b,c){(new Y(e)).init(b,c);"uncaught_exception"in ba?ba.uncaught_exceptions++:ba.uncaught_exceptions=
1;throw e;},abort:function(){u()},array_bounds_check_error:function(e,b){throw"Array index "+e+" out of bounds: [0,"+b+")";},emscripten_memcpy_big:function(e,b,c){la.copyWithin(e,b,b+c)},emscripten_resize_heap:function(e){e>>>=0;var b=la.length;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);d=Math.min(2147483648,g(Math.max(16777216,e,d),65536));a:{try{oa.grow(d-ra.byteLength+65535>>>16);p(oa.buffer);var f=1;break a}catch(t){}f=void 0}if(f)return!0}return!1},
fd_close:function(e){return 0},fd_seek:function(e,b,c,d,f){},fd_write:function(e,b,c,d){for(var f=0,t=0;t<c;t++){for(var ca=H[b+8*t>>2],jb=H[b+(8*t+4)>>2],Da=0;Da<jb;Da++)qa.printChar(e,la[ca+Da]);f+=jb}H[d>>2]=f;return 0},memory:oa,setTempRet0:function(e){}};(function(){function e(f,t){a.asm=f.exports;wa=a.asm.__indirect_function_table;ia--;a.monitorRunDependencies&&a.monitorRunDependencies(ia);0==ia&&(null!==Ca&&(clearInterval(Ca),Ca=null),pa&&(f=pa,pa=null,f()))}function b(f){e(f.instance)}function c(f){return ka().then(function(t){return WebAssembly.instantiate(t,
d)}).then(f,function(t){ja("failed to asynchronously prepare wasm: "+t);u(t)})}var d={env:kb,wasi_snapshot_preview1:kb};ia++;a.monitorRunDependencies&&a.monitorRunDependencies(ia);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(f){return ja("Module.instantiateWasm callback failed with error: "+f),!1}(function(){return ma||"function"!==typeof WebAssembly.instantiateStreaming||x(W,"data:application/octet-stream;base64,")||x(W,"file://")||"function"!==typeof fetch?c(b):fetch(W,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,
d).then(b,function(t){ja("wasm streaming compile failed: "+t);ja("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(va);return{}})();var hb=a.___wasm_call_ctors=function(){return(hb=a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)};a.___em_js__array_bounds_check_error=function(){return(a.___em_js__array_bounds_check_error=a.asm.__em_js__array_bounds_check_error).apply(null,arguments)};var lb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(lb=a._emscripten_bind_VoidPtr___destroy___0=
a.asm.emscripten_bind_VoidPtr___destroy___0).apply(null,arguments)},Ma=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ma=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.emscripten_bind_DecoderBuffer_DecoderBuffer_0).apply(null,arguments)},mb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(mb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.emscripten_bind_DecoderBuffer_Init_2).apply(null,arguments)},nb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(nb=
a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.emscripten_bind_DecoderBuffer___destroy___0).apply(null,arguments)},Na=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Na=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.emscripten_bind_AttributeTransformData_AttributeTransformData_0).apply(null,arguments)},ob=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(ob=a._emscripten_bind_AttributeTransformData_transform_type_0=
a.asm.emscripten_bind_AttributeTransformData_transform_type_0).apply(null,arguments)},pb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(pb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.emscripten_bind_AttributeTransformData___destroy___0).apply(null,arguments)},Oa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Oa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0).apply(null,
arguments)},qb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(qb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.emscripten_bind_GeometryAttribute___destroy___0).apply(null,arguments)},Pa=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Pa=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.emscripten_bind_PointAttribute_PointAttribute_0).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_size_0=function(){return(rb=a._emscripten_bind_PointAttribute_size_0=
a.asm.emscripten_bind_PointAttribute_size_0).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(sb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.emscripten_bind_PointAttribute_GetAttributeTransformData_0).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(tb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.emscripten_bind_PointAttribute_attribute_type_0).apply(null,arguments)},
ub=a._emscripten_bind_PointAttribute_data_type_0=function(){return(ub=a._emscripten_bind_PointAttribute_data_type_0=a.asm.emscripten_bind_PointAttribute_data_type_0).apply(null,arguments)},vb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(vb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.emscripten_bind_PointAttribute_num_components_0).apply(null,arguments)},wb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(wb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.emscripten_bind_PointAttribute_normalized_0).apply(null,arguments)},xb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(xb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.emscripten_bind_PointAttribute_byte_stride_0).apply(null,arguments)},yb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(yb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.emscripten_bind_PointAttribute_byte_offset_0).apply(null,arguments)},zb=a._emscripten_bind_PointAttribute_unique_id_0=
function(){return(zb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.emscripten_bind_PointAttribute_unique_id_0).apply(null,arguments)},Ab=a._emscripten_bind_PointAttribute___destroy___0=function(){return(Ab=a._emscripten_bind_PointAttribute___destroy___0=a.asm.emscripten_bind_PointAttribute___destroy___0).apply(null,arguments)},Qa=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Qa=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=
a.asm.emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0).apply(null,arguments)},Bb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(Bb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1).apply(null,arguments)},Cb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(Cb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=
a.asm.emscripten_bind_AttributeQuantizationTransform_quantization_bits_0).apply(null,arguments)},Db=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(Db=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.emscripten_bind_AttributeQuantizationTransform_min_value_1).apply(null,arguments)},Eb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Eb=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.emscripten_bind_AttributeQuantizationTransform_range_0).apply(null,
arguments)},Fb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Fb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.emscripten_bind_AttributeQuantizationTransform___destroy___0).apply(null,arguments)},Ra=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ra=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0).apply(null,
arguments)},Gb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Gb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1).apply(null,arguments)},Hb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Hb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.emscripten_bind_AttributeOctahedronTransform_quantization_bits_0).apply(null,
arguments)},Ib=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Ib=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.emscripten_bind_AttributeOctahedronTransform___destroy___0).apply(null,arguments)},Sa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Sa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.emscripten_bind_PointCloud_PointCloud_0).apply(null,arguments)},Jb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Jb=a._emscripten_bind_PointCloud_num_attributes_0=
a.asm.emscripten_bind_PointCloud_num_attributes_0).apply(null,arguments)},Kb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Kb=a._emscripten_bind_PointCloud_num_points_0=a.asm.emscripten_bind_PointCloud_num_points_0).apply(null,arguments)},Lb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Lb=a._emscripten_bind_PointCloud___destroy___0=a.asm.emscripten_bind_PointCloud___destroy___0).apply(null,arguments)},Ta=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ta=a._emscripten_bind_Mesh_Mesh_0=
a.asm.emscripten_bind_Mesh_Mesh_0).apply(null,arguments)},Mb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Mb=a._emscripten_bind_Mesh_num_faces_0=a.asm.emscripten_bind_Mesh_num_faces_0).apply(null,arguments)},Nb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Nb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.emscripten_bind_Mesh_num_attributes_0).apply(null,arguments)},Ob=a._emscripten_bind_Mesh_num_points_0=function(){return(Ob=a._emscripten_bind_Mesh_num_points_0=a.asm.emscripten_bind_Mesh_num_points_0).apply(null,
arguments)},Pb=a._emscripten_bind_Mesh___destroy___0=function(){return(Pb=a._emscripten_bind_Mesh___destroy___0=a.asm.emscripten_bind_Mesh___destroy___0).apply(null,arguments)},Ua=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ua=a._emscripten_bind_Metadata_Metadata_0=a.asm.emscripten_bind_Metadata_Metadata_0).apply(null,arguments)},Qb=a._emscripten_bind_Metadata___destroy___0=function(){return(Qb=a._emscripten_bind_Metadata___destroy___0=a.asm.emscripten_bind_Metadata___destroy___0).apply(null,
arguments)},Rb=a._emscripten_bind_Status_code_0=function(){return(Rb=a._emscripten_bind_Status_code_0=a.asm.emscripten_bind_Status_code_0).apply(null,arguments)},Sb=a._emscripten_bind_Status_ok_0=function(){return(Sb=a._emscripten_bind_Status_ok_0=a.asm.emscripten_bind_Status_ok_0).apply(null,arguments)},Tb=a._emscripten_bind_Status_error_msg_0=function(){return(Tb=a._emscripten_bind_Status_error_msg_0=a.asm.emscripten_bind_Status_error_msg_0).apply(null,arguments)},Ub=a._emscripten_bind_Status___destroy___0=
function(){return(Ub=a._emscripten_bind_Status___destroy___0=a.asm.emscripten_bind_Status___destroy___0).apply(null,arguments)},Va=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Va=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.emscripten_bind_DracoFloat32Array_DracoFloat32Array_0).apply(null,arguments)},Vb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Vb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.emscripten_bind_DracoFloat32Array_GetValue_1).apply(null,
arguments)},Wb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Wb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.emscripten_bind_DracoFloat32Array_size_0).apply(null,arguments)},Xb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Xb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.emscripten_bind_DracoFloat32Array___destroy___0).apply(null,arguments)},Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Yb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.emscripten_bind_DracoInt8Array_GetValue_1).apply(null,arguments)},Zb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Zb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.emscripten_bind_DracoInt8Array_size_0).apply(null,arguments)},$b=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return($b=
a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.emscripten_bind_DracoInt8Array___destroy___0).apply(null,arguments)},Xa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Xa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.emscripten_bind_DracoUInt8Array_DracoUInt8Array_0).apply(null,arguments)},ac=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(ac=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.emscripten_bind_DracoUInt8Array_GetValue_1).apply(null,
arguments)},bc=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(bc=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.emscripten_bind_DracoUInt8Array_size_0).apply(null,arguments)},cc=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(cc=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.emscripten_bind_DracoUInt8Array___destroy___0).apply(null,arguments)},Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=
a.asm.emscripten_bind_DracoInt16Array_DracoInt16Array_0).apply(null,arguments)},dc=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(dc=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.emscripten_bind_DracoInt16Array_GetValue_1).apply(null,arguments)},ec=a._emscripten_bind_DracoInt16Array_size_0=function(){return(ec=a._emscripten_bind_DracoInt16Array_size_0=a.asm.emscripten_bind_DracoInt16Array_size_0).apply(null,arguments)},fc=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(fc=
a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.emscripten_bind_DracoInt16Array___destroy___0).apply(null,arguments)},Za=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Za=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.emscripten_bind_DracoUInt16Array_DracoUInt16Array_0).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(gc=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.emscripten_bind_DracoUInt16Array_GetValue_1).apply(null,
arguments)},hc=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(hc=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.emscripten_bind_DracoUInt16Array_size_0).apply(null,arguments)},ic=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ic=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.emscripten_bind_DracoUInt16Array___destroy___0).apply(null,arguments)},$a=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return($a=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
a.asm.emscripten_bind_DracoInt32Array_DracoInt32Array_0).apply(null,arguments)},jc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(jc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.emscripten_bind_DracoInt32Array_GetValue_1).apply(null,arguments)},kc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(kc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.emscripten_bind_DracoInt32Array_size_0).apply(null,arguments)},lc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(lc=
a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.emscripten_bind_DracoInt32Array___destroy___0).apply(null,arguments)},ab=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(ab=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.emscripten_bind_DracoUInt32Array_DracoUInt32Array_0).apply(null,arguments)},mc=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(mc=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.emscripten_bind_DracoUInt32Array_GetValue_1).apply(null,
arguments)},nc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(nc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.emscripten_bind_DracoUInt32Array_size_0).apply(null,arguments)},oc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(oc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.emscripten_bind_DracoUInt32Array___destroy___0).apply(null,arguments)},bb=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(bb=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=
a.asm.emscripten_bind_MetadataQuerier_MetadataQuerier_0).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(pc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.emscripten_bind_MetadataQuerier_HasEntry_2).apply(null,arguments)},qc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(qc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetIntEntry_2).apply(null,arguments)},rc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
function(){return(rc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.emscripten_bind_MetadataQuerier_GetIntEntryArray_3).apply(null,arguments)},sc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(sc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetDoubleEntry_2).apply(null,arguments)},tc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(tc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetStringEntry_2).apply(null,
arguments)},uc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(uc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.emscripten_bind_MetadataQuerier_NumEntries_1).apply(null,arguments)},vc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(vc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.emscripten_bind_MetadataQuerier_GetEntryName_2).apply(null,arguments)},wc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(wc=a._emscripten_bind_MetadataQuerier___destroy___0=
a.asm.emscripten_bind_MetadataQuerier___destroy___0).apply(null,arguments)},cb=a._emscripten_bind_Decoder_Decoder_0=function(){return(cb=a._emscripten_bind_Decoder_Decoder_0=a.asm.emscripten_bind_Decoder_Decoder_0).apply(null,arguments)},xc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(xc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.emscripten_bind_Decoder_DecodeArrayToPointCloud_3).apply(null,arguments)},yc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(yc=
a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.emscripten_bind_Decoder_DecodeArrayToMesh_3).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.emscripten_bind_Decoder_GetAttributeId_2).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(Ac=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.emscripten_bind_Decoder_GetAttributeIdByName_2).apply(null,arguments)},
Bc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(Cc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.emscripten_bind_Decoder_GetAttribute_2).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(Dc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=
a.asm.emscripten_bind_Decoder_GetAttributeByUniqueId_2).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(Ec=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.emscripten_bind_Decoder_GetMetadata_1).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Fc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.emscripten_bind_Decoder_GetAttributeMetadata_2).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=
function(){return(Gc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.emscripten_bind_Decoder_GetFaceFromMesh_3).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(Hc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.emscripten_bind_Decoder_GetTriangleStripsFromMesh_2).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ic=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt16Array_3).apply(null,
arguments)},Jc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Jc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt32Array_3).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.emscripten_bind_Decoder_GetAttributeFloat_3).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeIntForAllPoints_3).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Nc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3).apply(null,
arguments)},Oc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Oc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Pc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
function(){return(Qc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3).apply(null,arguments)},Rc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Rc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3).apply(null,arguments)},Sc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Sc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3).apply(null,arguments)},Tc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Tc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5).apply(null,arguments)},Uc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Uc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.emscripten_bind_Decoder_SkipAttributeTransform_1).apply(null,
arguments)},Vc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Vc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1).apply(null,arguments)},Wc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Wc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.emscripten_bind_Decoder_DecodeBufferToPointCloud_2).apply(null,arguments)},Xc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=
function(){return(Xc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.emscripten_bind_Decoder_DecodeBufferToMesh_2).apply(null,arguments)},Yc=a._emscripten_bind_Decoder___destroy___0=function(){return(Yc=a._emscripten_bind_Decoder___destroy___0=a.asm.emscripten_bind_Decoder___destroy___0).apply(null,arguments)},Zc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Zc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM).apply(null,
arguments)},$c=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return($c=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM).apply(null,arguments)},ad=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(ad=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM).apply(null,
arguments)},bd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(bd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM).apply(null,arguments)},cd=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(cd=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID).apply(null,
arguments)},dd=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(dd=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION).apply(null,arguments)},ed=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(ed=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL).apply(null,arguments)},fd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=
function(){return(fd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR).apply(null,arguments)},gd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(gd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD).apply(null,arguments)},hd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(hd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC).apply(null,arguments)},id=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(id=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE).apply(null,arguments)},jd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(jd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD).apply(null,
arguments)},kd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(kd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(ld=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.emscripten_enum_draco_DataType_DT_INVALID).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(md=a._emscripten_enum_draco_DataType_DT_INT8=
a.asm.emscripten_enum_draco_DataType_DT_INT8).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(nd=a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.emscripten_enum_draco_DataType_DT_UINT8).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(od=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.emscripten_enum_draco_DataType_DT_INT16).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(pd=a._emscripten_enum_draco_DataType_DT_UINT16=
a.asm.emscripten_enum_draco_DataType_DT_UINT16).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(qd=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.emscripten_enum_draco_DataType_DT_INT32).apply(null,arguments)},rd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return(rd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.emscripten_enum_draco_DataType_DT_UINT32).apply(null,arguments)},sd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(sd=
a._emscripten_enum_draco_DataType_DT_INT64=a.asm.emscripten_enum_draco_DataType_DT_INT64).apply(null,arguments)},td=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(td=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.emscripten_enum_draco_DataType_DT_UINT64).apply(null,arguments)},ud=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(ud=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.emscripten_enum_draco_DataType_DT_FLOAT32).apply(null,arguments)},vd=a._emscripten_enum_draco_DataType_DT_FLOAT64=
function(){return(vd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.emscripten_enum_draco_DataType_DT_FLOAT64).apply(null,arguments)},wd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(wd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.emscripten_enum_draco_DataType_DT_BOOL).apply(null,arguments)},xd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(xd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.emscripten_enum_draco_DataType_DT_TYPES_COUNT).apply(null,
arguments)},yd=a._emscripten_enum_draco_StatusCode_OK=function(){return(yd=a._emscripten_enum_draco_StatusCode_OK=a.asm.emscripten_enum_draco_StatusCode_OK).apply(null,arguments)},zd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(zd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.emscripten_enum_draco_StatusCode_DRACO_ERROR).apply(null,arguments)},Ad=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(Ad=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.emscripten_enum_draco_StatusCode_IO_ERROR).apply(null,
arguments)},Bd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(Bd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=a.asm.emscripten_enum_draco_StatusCode_INVALID_PARAMETER).apply(null,arguments)},Cd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(Cd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION).apply(null,arguments)},Dd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(Dd=
a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNKNOWN_VERSION).apply(null,arguments)};a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)};a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)};a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)};a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)};a._setThrew=
function(){return(a._setThrew=a.asm.setThrew).apply(null,arguments)};a._free=function(){return(a._free=a.asm.free).apply(null,arguments)};var ib=a._malloc=function(){return(ib=a._malloc=a.asm.malloc).apply(null,arguments)};a.dynCall_jiji=function(){return(a.dynCall_jiji=a.asm.dynCall_jiji).apply(null,arguments)};var ua;pa=function b(){ua||fa();ua||(pa=b)};a.run=fa;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();fa();v.prototype=Object.create(v.prototype);
v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.WrapperObject=v;a.getCache=z;a.wrapPointer=S;a.castObject=function(b,c){return S(b.ptr,c)};a.NULL=S(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete z(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=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(q(0<b),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 f=0;f<b.length;f++)c[d+
f]=b[f]}};aa.prototype=Object.create(v.prototype);aa.prototype.constructor=aa;aa.prototype.__class__=aa;aa.__cache__={};a.VoidPtr=aa;aa.prototype.__destroy__=aa.prototype.__destroy__=function(){lb(this.ptr)};T.prototype=Object.create(v.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.DecoderBuffer=T;T.prototype.Init=T.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=xa(b));c&&"object"===typeof c&&(c=c.ptr);mb(d,b,c)};T.prototype.__destroy__=
T.prototype.__destroy__=function(){nb(this.ptr)};R.prototype=Object.create(v.prototype);R.prototype.constructor=R;R.prototype.__class__=R;R.__cache__={};a.AttributeTransformData=R;R.prototype.transform_type=R.prototype.transform_type=function(){return ob(this.ptr)};R.prototype.__destroy__=R.prototype.__destroy__=function(){pb(this.ptr)};X.prototype=Object.create(v.prototype);X.prototype.constructor=X;X.prototype.__class__=X;X.__cache__={};a.GeometryAttribute=X;X.prototype.__destroy__=X.prototype.__destroy__=
function(){qb(this.ptr)};w.prototype=Object.create(v.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return rb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=function(){return S(sb(this.ptr),R)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return tb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return ub(this.ptr)};w.prototype.num_components=
w.prototype.num_components=function(){return vb(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!wb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return xb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return yb(this.ptr)};w.prototype.unique_id=w.prototype.unique_id=function(){return zb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){Ab(this.ptr)};C.prototype=Object.create(v.prototype);C.prototype.constructor=
C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!Bb(c,b)};C.prototype.quantization_bits=C.prototype.quantization_bits=function(){return Cb(this.ptr)};C.prototype.min_value=C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Db(c,b)};C.prototype.range=C.prototype.range=function(){return Eb(this.ptr)};C.prototype.__destroy__=
C.prototype.__destroy__=function(){Fb(this.ptr)};I.prototype=Object.create(v.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.AttributeOctahedronTransform=I;I.prototype.InitFromAttribute=I.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!Gb(c,b)};I.prototype.quantization_bits=I.prototype.quantization_bits=function(){return Hb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Ib(this.ptr)};J.prototype=
Object.create(v.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.PointCloud=J;J.prototype.num_attributes=J.prototype.num_attributes=function(){return Jb(this.ptr)};J.prototype.num_points=J.prototype.num_points=function(){return Kb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Lb(this.ptr)};E.prototype=Object.create(v.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=
function(){return Mb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return Nb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return Ob(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Pb(this.ptr)};U.prototype=Object.create(v.prototype);U.prototype.constructor=U;U.prototype.__class__=U;U.__cache__={};a.Metadata=U;U.prototype.__destroy__=U.prototype.__destroy__=function(){Qb(this.ptr)};B.prototype=Object.create(v.prototype);B.prototype.constructor=
B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Rb(this.ptr)};B.prototype.ok=B.prototype.ok=function(){return!!Sb(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return A(Tb(this.ptr))};B.prototype.__destroy__=B.prototype.__destroy__=function(){Ub(this.ptr)};K.prototype=Object.create(v.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoFloat32Array=K;K.prototype.GetValue=K.prototype.GetValue=
function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Vb(c,b)};K.prototype.size=K.prototype.size=function(){return Wb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Xb(this.ptr)};L.prototype=Object.create(v.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoInt8Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Yb(c,b)};L.prototype.size=L.prototype.size=function(){return Zb(this.ptr)};
L.prototype.__destroy__=L.prototype.__destroy__=function(){$b(this.ptr)};M.prototype=Object.create(v.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoUInt8Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ac(c,b)};M.prototype.size=M.prototype.size=function(){return bc(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){cc(this.ptr)};N.prototype=Object.create(v.prototype);N.prototype.constructor=
N;N.prototype.__class__=N;N.__cache__={};a.DracoInt16Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return dc(c,b)};N.prototype.size=N.prototype.size=function(){return ec(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){fc(this.ptr)};O.prototype=Object.create(v.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoUInt16Array=O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=
this.ptr;b&&"object"===typeof b&&(b=b.ptr);return gc(c,b)};O.prototype.size=O.prototype.size=function(){return hc(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){ic(this.ptr)};P.prototype=Object.create(v.prototype);P.prototype.constructor=P;P.prototype.__class__=P;P.__cache__={};a.DracoInt32Array=P;P.prototype.GetValue=P.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return jc(c,b)};P.prototype.size=P.prototype.size=function(){return kc(this.ptr)};
P.prototype.__destroy__=P.prototype.__destroy__=function(){lc(this.ptr)};Q.prototype=Object.create(v.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.DracoUInt32Array=Q;Q.prototype.GetValue=Q.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return mc(c,b)};Q.prototype.size=Q.prototype.size=function(){return nc(this.ptr)};Q.prototype.__destroy__=Q.prototype.__destroy__=function(){oc(this.ptr)};y.prototype=Object.create(v.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=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);return!!pc(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:da(c);return qc(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var f=this.ptr;
r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);d&&"object"===typeof d&&(d=d.ptr);rc(f,b,c,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:da(c);return sc(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:da(c);return A(tc(d,b,c))};
y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return uc(c,b)};y.prototype.GetEntryName=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 A(vc(d,b,c))};y.prototype.__destroy__=y.prototype.__destroy__=function(){wc(this.ptr)};k.prototype=Object.create(v.prototype);k.prototype.constructor=k;k.prototype.__class__=k;k.__cache__={};a.Decoder=k;k.prototype.DecodeArrayToPointCloud=
k.prototype.DecodeArrayToPointCloud=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=xa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return S(xc(f,b,c,d),B)};k.prototype.DecodeArrayToMesh=k.prototype.DecodeArrayToMesh=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=xa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return S(yc(f,b,c,d),B)};k.prototype.GetAttributeId=k.prototype.GetAttributeId=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)};k.prototype.GetAttributeIdByName=k.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);return Ac(d,b,c)};k.prototype.GetAttributeIdByMetadataEntry=k.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var f=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);d=d&&"object"===
typeof d?d.ptr:da(d);return Bc(f,b,c,d)};k.prototype.GetAttribute=k.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Cc(d,b,c),w)};k.prototype.GetAttributeByUniqueId=k.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Dc(d,b,c),w)};k.prototype.GetMetadata=k.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=
b.ptr);return S(Ec(c,b),U)};k.prototype.GetAttributeMetadata=k.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Fc(d,b,c),U)};k.prototype.GetFaceFromMesh=k.prototype.GetFaceFromMesh=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(f,b,c,d)};k.prototype.GetTriangleStripsFromMesh=k.prototype.GetTriangleStripsFromMesh=function(b,
c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Hc(d,b,c)};k.prototype.GetTrianglesUInt16Array=k.prototype.GetTrianglesUInt16Array=function(b,c,d){var f=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(f,b,c,d)};k.prototype.GetTrianglesUInt32Array=k.prototype.GetTrianglesUInt32Array=function(b,c,d){var f=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(f,b,c,d)};k.prototype.GetAttributeFloat=k.prototype.GetAttributeFloat=function(b,c,d){var f=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(f,b,c,d)};k.prototype.GetAttributeFloatForAllPoints=k.prototype.GetAttributeFloatForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Lc(f,b,
c,d)};k.prototype.GetAttributeIntForAllPoints=k.prototype.GetAttributeIntForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Mc(f,b,c,d)};k.prototype.GetAttributeInt8ForAllPoints=k.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Nc(f,b,c,d)};k.prototype.GetAttributeUInt8ForAllPoints=
k.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Oc(f,b,c,d)};k.prototype.GetAttributeInt16ForAllPoints=k.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Pc(f,b,c,d)};k.prototype.GetAttributeUInt16ForAllPoints=k.prototype.GetAttributeUInt16ForAllPoints=
function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Qc(f,b,c,d)};k.prototype.GetAttributeInt32ForAllPoints=k.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Rc(f,b,c,d)};k.prototype.GetAttributeUInt32ForAllPoints=k.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var f=this.ptr;
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Sc(f,b,c,d)};k.prototype.GetAttributeDataArrayForAllPoints=k.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,f,t){var ca=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);f&&"object"===typeof f&&(f=f.ptr);t&&"object"===typeof t&&(t=t.ptr);return!!Tc(ca,b,c,d,f,t)};k.prototype.SkipAttributeTransform=k.prototype.SkipAttributeTransform=
function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Uc(c,b)};k.prototype.GetEncodedGeometryType_Deprecated=k.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Vc(c,b)};k.prototype.DecodeBufferToPointCloud=k.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Wc(d,b,c),B)};k.prototype.DecodeBufferToMesh=k.prototype.DecodeBufferToMesh=function(b,
c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Xc(d,b,c),B)};k.prototype.__destroy__=k.prototype.__destroy__=function(){Yc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Zc();a.ATTRIBUTE_NO_TRANSFORM=$c();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=ad();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=bd();a.INVALID=cd();a.POSITION=dd();a.NORMAL=ed();a.COLOR=fd();a.TEX_COORD=gd();a.GENERIC=hd();a.INVALID_GEOMETRY_TYPE=id();a.POINT_CLOUD=jd();a.TRIANGULAR_MESH=
kd();a.DT_INVALID=ld();a.DT_INT8=md();a.DT_UINT8=nd();a.DT_INT16=od();a.DT_UINT16=pd();a.DT_INT32=qd();a.DT_UINT32=rd();a.DT_INT64=sd();a.DT_UINT64=td();a.DT_FLOAT32=ud();a.DT_FLOAT64=vd();a.DT_BOOL=wd();a.DT_TYPES_COUNT=xd();a.OK=yd();a.DRACO_ERROR=zd();a.IO_ERROR=Ad();a.INVALID_PARAMETER=Bd();a.UNSUPPORTED_VERSION=Cd();a.UNKNOWN_VERSION=Dd()}Ga?b():Ia.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;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return n.ready}}();
var DracoDecoderModule=function(){var m="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(m=m||__filename);return function(p){function l(e){return a.locateFile?a.locateFile(e,X):X+e}function q(e,b){e||n("Assertion failed: "+b)}function k(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.subarray&&Da)return Da.decode(e.subarray(b,c));for(d="";b<c;){var f=e[b++];if(f&128){var t=e[b++]&63;if(192==(f&224))d+=String.fromCharCode((f&
31)<<6|t);else{var Y=e[b++]&63;f=224==(f&240)?(f&15)<<12|t<<6|Y:(f&7)<<18|t<<12|Y<<6|e[b++]&63;65536>f?d+=String.fromCharCode(f):(f-=65536,d+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else d+=String.fromCharCode(f)}return d}function A(e,b){return e?k(ja,e,b):""}function g(e){Ea=e;a.HEAP8=ba=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=F=new Int32Array(e);a.HEAPU8=ja=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}
function n(e){if(a.onAbort)a.onAbort(e);e+="";ia(e);Fa=!0;e=new WebAssembly.RuntimeError("abort("+e+"). Build with -s ASSERTIONS=1 for more info.");sa(e);throw e;}function u(e,b){return String.prototype.startsWith?e.startsWith(b):0===e.indexOf(b)}function z(e){try{if(e==Q&&ka)return new Uint8Array(ka);if(oa)return oa(e);throw"both async and sync fetching of the wasm failed";}catch(b){n(b)}}function P(){if(!ka&&(pa||fa)){if("function"===typeof fetch&&!u(Q,"file://"))return fetch(Q,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+
Q+"'";return e.arrayBuffer()}).catch(function(){return z(Q)});if(Ga)return new Promise(function(e,b){Ga(Q,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return z(Q)})}function aa(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?ta.get(c)():ta.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function V(e){this.excPtr=e;this.ptr=e-D.SIZE;this.set_type=function(b){F[this.ptr+D.TYPE_OFFSET>>2]=b};this.get_type=
function(){return F[this.ptr+D.TYPE_OFFSET>>2]};this.set_destructor=function(b){F[this.ptr+D.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return F[this.ptr+D.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){F[this.ptr+D.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){ba[this.ptr+D.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=ba[this.ptr+D.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){ba[this.ptr+D.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=
ba[this.ptr+D.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){F[this.ptr+D.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=F[this.ptr+D.REFCOUNT_OFFSET>>2];F[this.ptr+D.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function W(e){function b(){if(!qa&&(qa=!0,a.calledRun=!0,!Fa)){Ha=!0;aa(Ia);aa(ua);Ja(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==
typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ka.unshift(a.postRun.shift());aa(Ka)}}if(!(0<ha)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)La.unshift(a.preRun.shift());aa(La);0<ha||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function v(){}function x(e){return(e||v).__cache__}function S(e,b){var c=x(b),d=c[e];if(d)return d;d=Object.create((b||v).prototype);d.ptr=e;return c[e]=
d}function da(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var f=0;f<e.length;++f){var t=e.charCodeAt(f);if(55296<=t&&57343>=t){var Y=e.charCodeAt(++f);t=65536+((t&1023)<<10)|Y&1023}if(127>=t){if(c>=d)break;b[c++]=t}else{if(2047>=t){if(c+1>=d)break;b[c++]=192|t>>6}else{if(65535>=t){if(c+2>=d)break;b[c++]=224|
t>>12}else{if(c+3>=d)break;b[c++]=240|t>>18;b[c++]=128|t>>12&63}b[c++]=128|t>>6&63}b[c++]=128|t&63}}b[c]=0}e=r.alloc(b,ba);r.copy(b,ba,e);return e}return e}function va(e){if("object"===typeof e){var b=r.alloc(e,ba);r.copy(e,ba,b);return b}return e}function ca(){throw"cannot construct a VoidPtr, no constructor in IDL";}function T(){this.ptr=Ma();x(T)[this.ptr]=this}function R(){this.ptr=Na();x(R)[this.ptr]=this}function Z(){this.ptr=Oa();x(Z)[this.ptr]=this}function w(){this.ptr=Pa();x(w)[this.ptr]=
this}function C(){this.ptr=Qa();x(C)[this.ptr]=this}function G(){this.ptr=Ra();x(G)[this.ptr]=this}function H(){this.ptr=Sa();x(H)[this.ptr]=this}function E(){this.ptr=Ta();x(E)[this.ptr]=this}function U(){this.ptr=Ua();x(U)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL";}function I(){this.ptr=Va();x(I)[this.ptr]=this}function J(){this.ptr=Wa();x(J)[this.ptr]=this}function K(){this.ptr=Xa();x(K)[this.ptr]=this}function L(){this.ptr=Ya();x(L)[this.ptr]=this}function M(){this.ptr=
Za();x(M)[this.ptr]=this}function N(){this.ptr=$a();x(N)[this.ptr]=this}function O(){this.ptr=ab();x(O)[this.ptr]=this}function y(){this.ptr=bb();x(y)[this.ptr]=this}function h(){this.ptr=cb();x(h)[this.ptr]=this}p=p||{};var a="undefined"!==typeof p?p:{},Ja,sa;a.ready=new Promise(function(e,b){Ja=e;sa=b});var db=!1,eb=!1;a.onRuntimeInitialized=function(){db=!0;a.callRuntimeCallbacks(a.mainCallbacks);if(eb&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){eb=!0;
if(db&&"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]&&4>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var la={},ea;for(ea in a)a.hasOwnProperty(ea)&&(la[ea]=a[ea]);var pa=!1,fa=!1,wa=!1,fb=!1;pa="object"===typeof window;fa="function"===typeof importScripts;wa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;fb=!pa&&!wa&&
!fa;var X="",xa,ya;if(wa){X=fa?require("path").dirname(X)+"/":__dirname+"/";var za=function(e,b){xa||(xa=require("fs"));ya||(ya=require("path"));e=ya.normalize(e);return xa.readFileSync(e,b?null:"utf8")};var oa=function(e){e=za(e,!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(fb)"undefined"!=typeof read&&(za=function(e){return read(e)}),oa=function(e){if("function"===
typeof readbuffer)return new Uint8Array(readbuffer(e));e=read(e,"binary");q("object"===typeof e);return e},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(pa||fa){fa?X=self.location.href:"undefined"!==typeof document&&document.currentScript&&(X=document.currentScript.src);m&&(X=m);X=0!==X.indexOf("blob:")?X.substr(0,X.lastIndexOf("/")+1):"";za=function(e){var b=new XMLHttpRequest;
b.open("GET",e,!1);b.send(null);return b.responseText};fa&&(oa=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var Ga=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 Ad=a.print||console.log.bind(console),ia=a.printErr||console.warn.bind(console);for(ea in la)la.hasOwnProperty(ea)&&
(a[ea]=la[ea]);la=null;var ka;a.wasmBinary&&(ka=a.wasmBinary);"object"!==typeof WebAssembly&&n("no native wasm support detected");var ra,Fa=!1,Da="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0,Ea,ba,ja,F,ta,La=[],Ia=[],ua=[],Ka=[],Ha=!1,ha=0,Aa=null,ma=null;a.preloadedImages={};a.preloadedAudios={};var Q="draco_decoder.wasm";u(Q,"data:application/octet-stream;base64,")||(Q=l(Q));var D={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16},
Bd=0,na={mappings:{},buffers:[null,[],[]],printChar:function(e,b){var c=na.buffers[e];0===b||10===b?((1===e?Ad:ia)(k(c,0)),c.length=0):c.push(b)},varargs:void 0,get:function(){na.varargs+=4;return F[na.varargs-4>>2]},getStr:function(e){return A(e)},get64:function(e,b){return e}},Cd={h:function(e){return gb(e+D.SIZE)+D.SIZE},g:function(e,b,c){(new V(e)).init(b,c);Bd++;throw e;},a:function(){n()},d:function(e,b,c){ja.copyWithin(e,b,b+c)},e:function(e){var b=ja.length;e>>>=0;if(2147483648<e)return!1;
for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);var f=Math,t=f.min;d=Math.max(e,d);0<d%65536&&(d+=65536-d%65536);f=t.call(f,2147483648,d);a:{try{ra.grow(f-Ea.byteLength+65535>>>16);g(ra.buffer);var Y=1;break a}catch(Ba){}Y=void 0}if(Y)return!0}return!1},f:function(e){return 0},c:function(e,b,c,d,f){},b:function(e,b,c,d){for(var f=0,t=0;t<c;t++){for(var Y=F[b+8*t>>2],Ba=F[b+(8*t+4)>>2],Ca=0;Ca<Ba;Ca++)na.printChar(e,ja[Y+Ca]);f+=Ba}F[d>>2]=f;return 0}};(function(){function e(f,t){a.asm=
f.exports;ra=a.asm.i;g(ra.buffer);ta=a.asm.k;Ia.unshift(a.asm.j);ha--;a.monitorRunDependencies&&a.monitorRunDependencies(ha);0==ha&&(null!==Aa&&(clearInterval(Aa),Aa=null),ma&&(f=ma,ma=null,f()))}function b(f){e(f.instance)}function c(f){return P().then(function(t){return WebAssembly.instantiate(t,d)}).then(f,function(t){ia("failed to asynchronously prepare wasm: "+t);n(t)})}var d={a:Cd};ha++;a.monitorRunDependencies&&a.monitorRunDependencies(ha);if(a.instantiateWasm)try{return a.instantiateWasm(d,
e)}catch(f){return ia("Module.instantiateWasm callback failed with error: "+f),!1}(function(){return ka||"function"!==typeof WebAssembly.instantiateStreaming||u(Q,"data:application/octet-stream;base64,")||u(Q,"file://")||"function"!==typeof fetch?c(b):fetch(Q,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,d).then(b,function(t){ia("wasm streaming compile failed: "+t);ia("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(sa);return{}})();
a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.j).apply(null,arguments)};var hb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(hb=a._emscripten_bind_VoidPtr___destroy___0=a.asm.l).apply(null,arguments)},Ma=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ma=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.m).apply(null,arguments)},ib=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(ib=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.n).apply(null,
arguments)},jb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(jb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.o).apply(null,arguments)},Na=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Na=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.p).apply(null,arguments)},kb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(kb=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.q).apply(null,
arguments)},lb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(lb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.r).apply(null,arguments)},Oa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Oa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.s).apply(null,arguments)},mb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(mb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.t).apply(null,arguments)},
Pa=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Pa=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.u).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_size_0=function(){return(nb=a._emscripten_bind_PointAttribute_size_0=a.asm.v).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(ob=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.w).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_attribute_type_0=
function(){return(pb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.x).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(qb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.y).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(rb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.z).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(sb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.A).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(tb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.B).apply(null,arguments)},ub=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(ub=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.C).apply(null,arguments)},vb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(vb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.D).apply(null,arguments)},wb=a._emscripten_bind_PointAttribute___destroy___0=
function(){return(wb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.E).apply(null,arguments)},Qa=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Qa=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.F).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.G).apply(null,
arguments)},yb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(yb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.H).apply(null,arguments)},zb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(zb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.I).apply(null,arguments)},Ab=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Ab=a._emscripten_bind_AttributeQuantizationTransform_range_0=
a.asm.J).apply(null,arguments)},Bb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Bb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.K).apply(null,arguments)},Ra=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ra=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.L).apply(null,arguments)},Cb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=
function(){return(Cb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.M).apply(null,arguments)},Db=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Db=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.N).apply(null,arguments)},Eb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Eb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.O).apply(null,arguments)},Sa=a._emscripten_bind_PointCloud_PointCloud_0=
function(){return(Sa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.P).apply(null,arguments)},Fb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Fb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.Q).apply(null,arguments)},Gb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Gb=a._emscripten_bind_PointCloud_num_points_0=a.asm.R).apply(null,arguments)},Hb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Hb=a._emscripten_bind_PointCloud___destroy___0=a.asm.S).apply(null,
arguments)},Ta=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ta=a._emscripten_bind_Mesh_Mesh_0=a.asm.T).apply(null,arguments)},Ib=a._emscripten_bind_Mesh_num_faces_0=function(){return(Ib=a._emscripten_bind_Mesh_num_faces_0=a.asm.U).apply(null,arguments)},Jb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Jb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.V).apply(null,arguments)},Kb=a._emscripten_bind_Mesh_num_points_0=function(){return(Kb=a._emscripten_bind_Mesh_num_points_0=a.asm.W).apply(null,
arguments)},Lb=a._emscripten_bind_Mesh___destroy___0=function(){return(Lb=a._emscripten_bind_Mesh___destroy___0=a.asm.X).apply(null,arguments)},Ua=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ua=a._emscripten_bind_Metadata_Metadata_0=a.asm.Y).apply(null,arguments)},Mb=a._emscripten_bind_Metadata___destroy___0=function(){return(Mb=a._emscripten_bind_Metadata___destroy___0=a.asm.Z).apply(null,arguments)},Nb=a._emscripten_bind_Status_code_0=function(){return(Nb=a._emscripten_bind_Status_code_0=
a.asm._).apply(null,arguments)},Ob=a._emscripten_bind_Status_ok_0=function(){return(Ob=a._emscripten_bind_Status_ok_0=a.asm.$).apply(null,arguments)},Pb=a._emscripten_bind_Status_error_msg_0=function(){return(Pb=a._emscripten_bind_Status_error_msg_0=a.asm.aa).apply(null,arguments)},Qb=a._emscripten_bind_Status___destroy___0=function(){return(Qb=a._emscripten_bind_Status___destroy___0=a.asm.ba).apply(null,arguments)},Va=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Va=
a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.ca).apply(null,arguments)},Rb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Rb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.da).apply(null,arguments)},Sb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Sb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.ea).apply(null,arguments)},Tb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Tb=a._emscripten_bind_DracoFloat32Array___destroy___0=
a.asm.fa).apply(null,arguments)},Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.ga).apply(null,arguments)},Ub=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Ub=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ha).apply(null,arguments)},Vb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Vb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ia).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt8Array___destroy___0=
function(){return(Wb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.ja).apply(null,arguments)},Xa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Xa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ka).apply(null,arguments)},Xb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Xb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.la).apply(null,arguments)},Yb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Yb=a._emscripten_bind_DracoUInt8Array_size_0=
a.asm.ma).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Zb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.na).apply(null,arguments)},Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.oa).apply(null,arguments)},$b=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return($b=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.pa).apply(null,arguments)},ac=
a._emscripten_bind_DracoInt16Array_size_0=function(){return(ac=a._emscripten_bind_DracoInt16Array_size_0=a.asm.qa).apply(null,arguments)},bc=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(bc=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.ra).apply(null,arguments)},Za=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Za=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.sa).apply(null,arguments)},cc=a._emscripten_bind_DracoUInt16Array_GetValue_1=
function(){return(cc=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.ta).apply(null,arguments)},dc=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(dc=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ua).apply(null,arguments)},ec=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ec=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.va).apply(null,arguments)},$a=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return($a=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
a.asm.wa).apply(null,arguments)},fc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(fc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.xa).apply(null,arguments)},gc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(gc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.ya).apply(null,arguments)},hc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(hc=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.za).apply(null,arguments)},ab=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=
function(){return(ab=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.Aa).apply(null,arguments)},ic=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(ic=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.Ba).apply(null,arguments)},jc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(jc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.Ca).apply(null,arguments)},kc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(kc=a._emscripten_bind_DracoUInt32Array___destroy___0=
a.asm.Da).apply(null,arguments)},bb=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(bb=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Ea).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Fa).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(mc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Ga).apply(null,arguments)},nc=
a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(nc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.Ha).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(oc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ia).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(pc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ja).apply(null,arguments)},qc=a._emscripten_bind_MetadataQuerier_NumEntries_1=
function(){return(qc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ka).apply(null,arguments)},rc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(rc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.La).apply(null,arguments)},sc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(sc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ma).apply(null,arguments)},cb=a._emscripten_bind_Decoder_Decoder_0=function(){return(cb=a._emscripten_bind_Decoder_Decoder_0=
a.asm.Na).apply(null,arguments)},tc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(tc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Oa).apply(null,arguments)},uc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(uc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Pa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Qa).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=
function(){return(wc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.Ra).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Sa).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(yc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Ta).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=
a.asm.Ua).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(Ac=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Va).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Wa).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(Cc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Xa).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=
function(){return(Dc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Ya).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ec=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Za).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Fc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm._a).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Gc=
a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.$a).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.ab).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.bb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Jc=
a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.cb).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.db).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.eb).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.fb).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Nc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.gb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Oc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.hb).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=
function(){return(Pc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.ib).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Qc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.jb).apply(null,arguments)},Rc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Rc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.kb).apply(null,arguments)},Sc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=
function(){return(Sc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.lb).apply(null,arguments)},Tc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Tc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.mb).apply(null,arguments)},Uc=a._emscripten_bind_Decoder___destroy___0=function(){return(Uc=a._emscripten_bind_Decoder___destroy___0=a.asm.nb).apply(null,arguments)},Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
a.asm.ob).apply(null,arguments)},Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.pb).apply(null,arguments)},Xc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Xc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.qb).apply(null,arguments)},Yc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=
function(){return(Yc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.rb).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.sb).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.tb).apply(null,arguments)},ad=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=
function(){return(ad=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.ub).apply(null,arguments)},bd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(bd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.vb).apply(null,arguments)},cd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(cd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.wb).apply(null,arguments)},dd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
function(){return(dd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.xb).apply(null,arguments)},ed=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(ed=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.yb).apply(null,arguments)},fd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(fd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.zb).apply(null,arguments)},gd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=
function(){return(gd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Ab).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(hd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.Bb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.Cb).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT8=
a.asm.Db).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(kd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Eb).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(ld=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Fb).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(md=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Gb).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_UINT32=
function(){return(nd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Hb).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(od=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Ib).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(pd=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Jb).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(qd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Kb).apply(null,
arguments)},rd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(rd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Lb).apply(null,arguments)},sd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(sd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Mb).apply(null,arguments)},td=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(td=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.Nb).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_OK=function(){return(ud=
a._emscripten_enum_draco_StatusCode_OK=a.asm.Ob).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(vd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Pb).apply(null,arguments)},wd=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(wd=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Qb).apply(null,arguments)},xd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(xd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
a.asm.Rb).apply(null,arguments)},yd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(yd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Sb).apply(null,arguments)},zd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(zd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Tb).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Ub).apply(null,arguments)};var gb=a._malloc=function(){return(gb=a._malloc=a.asm.Vb).apply(null,arguments)};
a.callRuntimeCallbacks=aa;var qa;ma=function b(){qa||W();qa||(ma=b)};a.run=W;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();W();v.prototype=Object.create(v.prototype);v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.WrapperObject=v;a.getCache=x;a.wrapPointer=S;a.castObject=function(b,c){return S(b.ptr,c)};a.NULL=S(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=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;
b=b+7&-8;r.pos+b>=r.size?(q(0<b),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 f=0;f<b.length;f++)c[d+f]=b[f]}};ca.prototype=Object.create(v.prototype);ca.prototype.constructor=ca;ca.prototype.__class__=ca;ca.__cache__={};a.VoidPtr=ca;ca.prototype.__destroy__=ca.prototype.__destroy__=function(){hb(this.ptr)};T.prototype=Object.create(v.prototype);
T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.DecoderBuffer=T;T.prototype.Init=T.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);ib(d,b,c)};T.prototype.__destroy__=T.prototype.__destroy__=function(){jb(this.ptr)};R.prototype=Object.create(v.prototype);R.prototype.constructor=R;R.prototype.__class__=R;R.__cache__={};a.AttributeTransformData=R;R.prototype.transform_type=R.prototype.transform_type=function(){return kb(this.ptr)};
R.prototype.__destroy__=R.prototype.__destroy__=function(){lb(this.ptr)};Z.prototype=Object.create(v.prototype);Z.prototype.constructor=Z;Z.prototype.__class__=Z;Z.__cache__={};a.GeometryAttribute=Z;Z.prototype.__destroy__=Z.prototype.__destroy__=function(){mb(this.ptr)};w.prototype=Object.create(v.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return nb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=
function(){return S(ob(this.ptr),R)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return pb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return qb(this.ptr)};w.prototype.num_components=w.prototype.num_components=function(){return rb(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!sb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return tb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return ub(this.ptr)};
w.prototype.unique_id=w.prototype.unique_id=function(){return vb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){wb(this.ptr)};C.prototype=Object.create(v.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!xb(c,b)};C.prototype.quantization_bits=C.prototype.quantization_bits=function(){return yb(this.ptr)};
C.prototype.min_value=C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return zb(c,b)};C.prototype.range=C.prototype.range=function(){return Ab(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){Bb(this.ptr)};G.prototype=Object.create(v.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.AttributeOctahedronTransform=G;G.prototype.InitFromAttribute=G.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);return!!Cb(c,b)};G.prototype.quantization_bits=G.prototype.quantization_bits=function(){return Db(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Eb(this.ptr)};H.prototype=Object.create(v.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return Fb(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return Gb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=
function(){Hb(this.ptr)};E.prototype=Object.create(v.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return Ib(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return Jb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return Kb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Lb(this.ptr)};U.prototype=Object.create(v.prototype);U.prototype.constructor=
U;U.prototype.__class__=U;U.__cache__={};a.Metadata=U;U.prototype.__destroy__=U.prototype.__destroy__=function(){Mb(this.ptr)};B.prototype=Object.create(v.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Nb(this.ptr)};B.prototype.ok=B.prototype.ok=function(){return!!Ob(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return A(Pb(this.ptr))};B.prototype.__destroy__=B.prototype.__destroy__=function(){Qb(this.ptr)};
I.prototype=Object.create(v.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoFloat32Array=I;I.prototype.GetValue=I.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rb(c,b)};I.prototype.size=I.prototype.size=function(){return Sb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Tb(this.ptr)};J.prototype=Object.create(v.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoInt8Array=
J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Ub(c,b)};J.prototype.size=J.prototype.size=function(){return Vb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Wb(this.ptr)};K.prototype=Object.create(v.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoUInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Xb(c,b)};
K.prototype.size=K.prototype.size=function(){return Yb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Zb(this.ptr)};L.prototype=Object.create(v.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoInt16Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return $b(c,b)};L.prototype.size=L.prototype.size=function(){return ac(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){bc(this.ptr)};
M.prototype=Object.create(v.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoUInt16Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return cc(c,b)};M.prototype.size=M.prototype.size=function(){return dc(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){ec(this.ptr)};N.prototype=Object.create(v.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoInt32Array=
N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return fc(c,b)};N.prototype.size=N.prototype.size=function(){return gc(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){hc(this.ptr)};O.prototype=Object.create(v.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoUInt32Array=O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ic(c,b)};
O.prototype.size=O.prototype.size=function(){return jc(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){kc(this.ptr)};y.prototype=Object.create(v.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=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);return!!lc(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:da(c);return mc(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var f=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);d&&"object"===typeof d&&(d=d.ptr);nc(f,b,c,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:da(c);return oc(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:da(c);return A(pc(d,b,c))};y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return qc(c,b)};y.prototype.GetEntryName=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 A(rc(d,b,c))};y.prototype.__destroy__=
y.prototype.__destroy__=function(){sc(this.ptr)};h.prototype=Object.create(v.prototype);h.prototype.constructor=h;h.prototype.__class__=h;h.__cache__={};a.Decoder=h;h.prototype.DecodeArrayToPointCloud=h.prototype.DecodeArrayToPointCloud=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return S(tc(f,b,c,d),B)};h.prototype.DecodeArrayToMesh=h.prototype.DecodeArrayToMesh=function(b,c,d){var f=this.ptr;r.prepare();
"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return S(uc(f,b,c,d),B)};h.prototype.GetAttributeId=h.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return vc(d,b,c)};h.prototype.GetAttributeIdByName=h.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);return wc(d,b,c)};h.prototype.GetAttributeIdByMetadataEntry=
h.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var f=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);d=d&&"object"===typeof d?d.ptr:da(d);return xc(f,b,c,d)};h.prototype.GetAttribute=h.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(yc(d,b,c),w)};h.prototype.GetAttributeByUniqueId=h.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(zc(d,b,c),w)};h.prototype.GetMetadata=h.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return S(Ac(c,b),U)};h.prototype.GetAttributeMetadata=h.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Bc(d,b,c),U)};h.prototype.GetFaceFromMesh=h.prototype.GetFaceFromMesh=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(f,b,c,d)};h.prototype.GetTriangleStripsFromMesh=h.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Dc(d,b,c)};h.prototype.GetTrianglesUInt16Array=h.prototype.GetTrianglesUInt16Array=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ec(f,b,c,
d)};h.prototype.GetTrianglesUInt32Array=h.prototype.GetTrianglesUInt32Array=function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeFloat=h.prototype.GetAttributeFloat=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(f,b,c,d)};h.prototype.GetAttributeFloatForAllPoints=h.prototype.GetAttributeFloatForAllPoints=
function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeIntForAllPoints=h.prototype.GetAttributeIntForAllPoints=function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeInt8ForAllPoints=h.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeUInt8ForAllPoints=h.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeInt16ForAllPoints=h.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=
b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Lc(f,b,c,d)};h.prototype.GetAttributeUInt16ForAllPoints=h.prototype.GetAttributeUInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Mc(f,b,c,d)};h.prototype.GetAttributeInt32ForAllPoints=h.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&
(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Nc(f,b,c,d)};h.prototype.GetAttributeUInt32ForAllPoints=h.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Oc(f,b,c,d)};h.prototype.GetAttributeDataArrayForAllPoints=h.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,f,t){var Y=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&
"object"===typeof d&&(d=d.ptr);f&&"object"===typeof f&&(f=f.ptr);t&&"object"===typeof t&&(t=t.ptr);return!!Pc(Y,b,c,d,f,t)};h.prototype.SkipAttributeTransform=h.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Qc(c,b)};h.prototype.GetEncodedGeometryType_Deprecated=h.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rc(c,b)};h.prototype.DecodeBufferToPointCloud=h.prototype.DecodeBufferToPointCloud=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Sc(d,b,c),B)};h.prototype.DecodeBufferToMesh=h.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Tc(d,b,c),B)};h.prototype.__destroy__=h.prototype.__destroy__=function(){Uc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Vc();a.ATTRIBUTE_NO_TRANSFORM=Wc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Xc();
a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Yc();a.INVALID=Zc();a.POSITION=$c();a.NORMAL=ad();a.COLOR=bd();a.TEX_COORD=cd();a.GENERIC=dd();a.INVALID_GEOMETRY_TYPE=ed();a.POINT_CLOUD=fd();a.TRIANGULAR_MESH=gd();a.DT_INVALID=hd();a.DT_INT8=id();a.DT_UINT8=jd();a.DT_INT16=kd();a.DT_UINT16=ld();a.DT_INT32=md();a.DT_UINT32=nd();a.DT_INT64=od();a.DT_UINT64=pd();a.DT_FLOAT32=qd();a.DT_FLOAT64=rd();a.DT_BOOL=sd();a.DT_TYPES_COUNT=td();a.OK=ud();a.DRACO_ERROR=vd();a.IO_ERROR=wd();a.INVALID_PARAMETER=xd();a.UNSUPPORTED_VERSION=
yd();a.UNKNOWN_VERSION=zd()}Ha?b():ua.unshift(b)})();a.mainCallbacks=ua;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;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return p.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);

View File

@ -1,130 +1,116 @@
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(l){var n=0;return function(){return n<l.length?{done:!1,value:l[n++]}:{done:!0}}};$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}};$jscomp.makeIterator=function(l){var n="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];return n?n.call(l):$jscomp.arrayIterator(l)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<l.length;++n){var m=l[n];if(m&&m.Math==Math)return m}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,n,m){if(l==Array.prototype||l==Object.prototype)return l;l[n]=m.value;return l};$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$";
var $jscomp$lookupPolyfilledValue=function(l,n){var m=$jscomp.propertyToPolyfillSymbol[n];if(null==m)return l[n];m=l[m];return void 0!==m?m:l[n]};$jscomp.polyfill=function(l,n,m,q){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,n,m,q):$jscomp.polyfillUnisolated(l,n,m,q))};
$jscomp.polyfillUnisolated=function(l,n,m,q){m=$jscomp.global;l=l.split(".");for(q=0;q<l.length-1;q++){var h=l[q];if(!(h in m))return;m=m[h]}l=l[l.length-1];q=m[l];n=n(q);n!=q&&null!=n&&$jscomp.defineProperty(m,l,{configurable:!0,writable:!0,value:n})};
$jscomp.polyfillIsolated=function(l,n,m,q){var h=l.split(".");l=1===h.length;q=h[0];q=!l&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var C=0;C<h.length-1;C++){var f=h[C];if(!(f in q))return;q=q[f]}h=h[h.length-1];m=$jscomp.IS_SYMBOL_NATIVE&&"es6"===m?q[h]:null;n=n(m);null!=n&&(l?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:n}):n!==m&&($jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+h,h=
$jscomp.propertyToPolyfillSymbol[h],$jscomp.defineProperty(q,h,{configurable:!0,writable:!0,value:n})))};
$jscomp.polyfill("Promise",function(l){function n(){this.batch_=null}function m(f){return f instanceof h?f:new h(function(p,t){p(f)})}if(l&&(!($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 l;n.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(f)};
var q=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(f){q(f,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var f=this.batch_;this.batch_=[];for(var p=0;p<f.length;++p){var t=f[p];f[p]=null;try{t()}catch(y){this.asyncThrow_(y)}}}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 p=this.createResolveAndReject_();
try{f(p.resolve,p.reject)}catch(t){p.reject(t)}};h.prototype.createResolveAndReject_=function(){function f(y){return function(O){t||(t=!0,y.call(p,O))}}var p=this,t=!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 p=null!=f;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(f):
this.fulfill_(f)}};h.prototype.resolveToNonPromiseObj_=function(f){var p=void 0;try{p=f.then}catch(t){this.reject_(t);return}"function"==typeof p?this.settleSameAsThenable_(p,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,p){if(0!=this.state_)throw Error("Cannot settle("+f+", "+p+"): Promise already settled in state"+this.state_);this.state_=f;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};h.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;q(function(){if(f.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(f.result_)}},1)};h.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,p=$jscomp.global.Event,t=$jscomp.global.dispatchEvent;if("undefined"===typeof t)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):
"function"===typeof p?f=new p("unhandledrejection",{cancelable:!0}):(f=$jscomp.global.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.result_;return t(f)};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)C.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var C=new n;h.prototype.settleSameAsPromise_=function(f){var p=this.createResolveAndReject_();
f.callWhenSettled_(p.resolve,p.reject)};h.prototype.settleSameAsThenable_=function(f,p){var t=this.createResolveAndReject_();try{f.call(p,t.resolve,t.reject)}catch(y){t.reject(y)}};h.prototype.then=function(f,p){function t(U,Q){return"function"==typeof U?function(ea){try{y(U(ea))}catch(u){O(u)}}:Q}var y,O,ba=new h(function(U,Q){y=U;O=Q});this.callWhenSettled_(t(f,y),t(p,O));return ba};h.prototype.catch=function(f){return this.then(void 0,f)};h.prototype.callWhenSettled_=function(f,p){function t(){switch(y.state_){case 1:f(y.result_);
break;case 2:p(y.result_);break;default:throw Error("Unexpected state: "+y.state_);}}var y=this;null==this.onSettledCallbacks_?C.asyncExecute(t):this.onSettledCallbacks_.push(t);this.isRejectionHandled_=!0};h.resolve=m;h.reject=function(f){return new h(function(p,t){t(f)})};h.race=function(f){return new h(function(p,t){for(var y=$jscomp.makeIterator(f),O=y.next();!O.done;O=y.next())m(O.value).callWhenSettled_(p,t)})};h.all=function(f){var p=$jscomp.makeIterator(f),t=p.next();return t.done?m([]):new h(function(y,
O){function ba(ea){return function(u){U[ea]=u;Q--;0==Q&&y(U)}}var U=[],Q=0;do U.push(void 0),Q++,m(t.value).callWhenSettled_(ba(U.length-1),O),t=p.next();while(!t.done)})};return h},"es6","es3");$jscomp.checkEs6ConformanceViaProxy=function(){try{var l={},n=Object.create(new $jscomp.global.Proxy(l,{get:function(m,q,h){return m==l&&"q"==q&&h==n}}));return!0===n.q}catch(m){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;
$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();$jscomp.owns=function(l,n){return Object.prototype.hasOwnProperty.call(l,n)};
$jscomp.polyfill("Array.prototype.copyWithin",function(l){function n(m){m=Number(m);return Infinity===m||-Infinity===m?m:m|0}return l?l:function(m,q,h){var C=this.length;m=n(m);q=n(q);h=void 0===h?C:n(h);m=0>m?Math.max(C+m,0):Math.min(m,C);q=0>q?Math.max(C+q,0):Math.min(q,C);h=0>h?Math.max(C+h,0):Math.min(h,C);if(m<q)for(;q<h;)q in this?this[m++]=this[q++]:(delete this[m++],q++);else for(h=Math.min(h,C+q-m),m+=h-q;h>q;)--h in this?this[--m]=this[h]:delete this[--m];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(l){return l?l: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");
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(m){var p=0;return function(){return p<m.length?{done:!1,value:m[p++]}:{done:!0}}};$jscomp.arrayIterator=function(m){return{next:$jscomp.arrayIteratorImpl(m)}};$jscomp.makeIterator=function(m){var p="undefined"!=typeof Symbol&&Symbol.iterator&&m[Symbol.iterator];return p?p.call(m):$jscomp.arrayIterator(m)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(m){m=["object"==typeof globalThis&&globalThis,m,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<m.length;++p){var l=m[p];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(m,p,l){if(m==Array.prototype||m==Object.prototype)return m;m[p]=l.value;return m};$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$";
var $jscomp$lookupPolyfilledValue=function(m,p){var l=$jscomp.propertyToPolyfillSymbol[p];if(null==l)return m[p];l=m[l];return void 0!==l?l:m[p]};$jscomp.polyfill=function(m,p,l,q){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(m,p,l,q):$jscomp.polyfillUnisolated(m,p,l,q))};
$jscomp.polyfillUnisolated=function(m,p,l,q){l=$jscomp.global;m=m.split(".");for(q=0;q<m.length-1;q++){var k=m[q];if(!(k in l))return;l=l[k]}m=m[m.length-1];q=l[m];p=p(q);p!=q&&null!=p&&$jscomp.defineProperty(l,m,{configurable:!0,writable:!0,value:p})};
$jscomp.polyfillIsolated=function(m,p,l,q){var k=m.split(".");m=1===k.length;q=k[0];q=!m&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var B=0;B<k.length-1;B++){var f=k[B];if(!(f in q))return;q=q[f]}k=k[k.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?q[k]:null;p=p(l);null!=p&&(m?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:p}):p!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+l+"$"+k),$jscomp.defineProperty(q,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:p})))};
$jscomp.polyfill("Promise",function(m){function p(){this.batch_=null}function l(f){return f instanceof k?f:new k(function(n,u){n(f)})}if(m&&(!($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 m;p.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var n=this;this.asyncExecuteFunction(function(){n.executeBatch_()})}this.batch_.push(f)};
var q=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(f){q(f,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var f=this.batch_;this.batch_=[];for(var n=0;n<f.length;++n){var u=f[n];f[n]=null;try{u()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};p.prototype.asyncThrow_=function(f){this.asyncExecuteFunction(function(){throw f;})};var k=function(f){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var n=this.createResolveAndReject_();
try{f(n.resolve,n.reject)}catch(u){n.reject(u)}};k.prototype.createResolveAndReject_=function(){function f(z){return function(D){u||(u=!0,z.call(n,D))}}var n=this,u=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}};k.prototype.resolveTo_=function(f){if(f===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof k)this.settleSameAsPromise_(f);else{a:switch(typeof f){case "object":var n=null!=f;break a;case "function":n=!0;break a;default:n=!1}n?this.resolveToNonPromiseObj_(f):
this.fulfill_(f)}};k.prototype.resolveToNonPromiseObj_=function(f){var n=void 0;try{n=f.then}catch(u){this.reject_(u);return}"function"==typeof n?this.settleSameAsThenable_(n,f):this.fulfill_(f)};k.prototype.reject_=function(f){this.settle_(2,f)};k.prototype.fulfill_=function(f){this.settle_(1,f)};k.prototype.settle_=function(f,n){if(0!=this.state_)throw Error("Cannot settle("+f+", "+n+"): Promise already settled in state"+this.state_);this.state_=f;this.result_=n;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;q(function(){if(f.notifyUnhandledRejection_()){var n=$jscomp.global.console;"undefined"!==typeof n&&n.error(f.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,n=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):
"function"===typeof n?f=new n("unhandledrejection",{cancelable:!0}):(f=$jscomp.global.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.result_;return u(f)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)B.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var B=new p;k.prototype.settleSameAsPromise_=function(f){var n=this.createResolveAndReject_();
f.callWhenSettled_(n.resolve,n.reject)};k.prototype.settleSameAsThenable_=function(f,n){var u=this.createResolveAndReject_();try{f.call(n,u.resolve,u.reject)}catch(z){u.reject(z)}};k.prototype.then=function(f,n){function u(Q,t){return"function"==typeof Q?function(x){try{z(Q(x))}catch(E){D(E)}}:t}var z,D,fa=new k(function(Q,t){z=Q;D=t});this.callWhenSettled_(u(f,z),u(n,D));return fa};k.prototype.catch=function(f){return this.then(void 0,f)};k.prototype.callWhenSettled_=function(f,n){function u(){switch(z.state_){case 1:f(z.result_);
break;case 2:n(z.result_);break;default:throw Error("Unexpected state: "+z.state_);}}var z=this;null==this.onSettledCallbacks_?B.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};k.resolve=l;k.reject=function(f){return new k(function(n,u){u(f)})};k.race=function(f){return new k(function(n,u){for(var z=$jscomp.makeIterator(f),D=z.next();!D.done;D=z.next())l(D.value).callWhenSettled_(n,u)})};k.all=function(f){var n=$jscomp.makeIterator(f),u=n.next();return u.done?l([]):new k(function(z,
D){function fa(x){return function(E){Q[x]=E;t--;0==t&&z(Q)}}var Q=[],t=0;do Q.push(void 0),t++,l(u.value).callWhenSettled_(fa(Q.length-1),D),u=n.next();while(!u.done)})};return k},"es6","es3");
$jscomp.polyfill("Array.prototype.copyWithin",function(m){function p(l){l=Number(l);return Infinity===l||-Infinity===l?l:l|0}return m?m:function(l,q,k){var B=this.length;l=p(l);q=p(q);k=void 0===k?B:p(k);l=0>l?Math.max(B+l,0):Math.min(l,B);q=0>q?Math.max(B+q,0):Math.min(q,B);k=0>k?Math.max(B+k,0):Math.min(k,B);if(l<q)for(;q<k;)q in this?this[l++]=this[q++]:(delete this[l++],q++);else for(k=Math.min(k,B+q-l),l+=k-q;k>q;)--k in this?this[--l]=this[k]:delete this[--l];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(m){return m?m: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");
$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");
var DracoDecoderModule=function(){var l="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(l=l||__filename);return function(n){function m(e){return a.locateFile?a.locateFile(e,V):V+e}function q(e,b){e||p("Assertion failed: "+b)}function h(e,b){if(e){var c=oa;var d=e+b;for(b=e;c[b]&&!(b>=d);)++b;if(16<b-e&&c.subarray&&Ba)c=Ba.decode(c.subarray(e,b));else{for(d="";e<b;){var g=c[e++];if(g&128){var v=c[e++]&63;if(192==(g&224))d+=String.fromCharCode((g&
31)<<6|v);else{var ia=c[e++]&63;g=224==(g&240)?(g&15)<<12|v<<6|ia:(g&7)<<18|v<<12|ia<<6|c[e++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}c=d}}else c="";return c}function C(e,b){0<e%b&&(e+=b-e%b);return e}function f(e){pa=e;a.HEAP8=Z=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=W=new Int32Array(e);a.HEAPU8=oa=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);
a.HEAPF64=new Float64Array(e)}function p(e){if(a.onAbort)a.onAbort(e);e+="";ja(e);Ca=!0;e=new WebAssembly.RuntimeError("abort("+e+"). Build with -s ASSERTIONS=1 for more info.");ta(e);throw e;}function t(e,b){return String.prototype.startsWith?e.startsWith(b):0===e.indexOf(b)}function y(){try{if(ka)return new Uint8Array(ka);if(qa)return qa(X);throw"both async and sync fetching of the wasm failed";}catch(e){p(e)}}function O(){return ka||!ra&&!fa||"function"!==typeof fetch||t(X,"file://")?Promise.resolve().then(y):
fetch(X,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+X+"'";return e.arrayBuffer()}).catch(function(){return y()})}function ba(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?ua.get(c)():ua.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function U(e){this.excPtr=e;this.ptr=e-D.SIZE;this.set_type=function(b){W[this.ptr+D.TYPE_OFFSET>>2]=b};this.get_type=function(){return W[this.ptr+
D.TYPE_OFFSET>>2]};this.set_destructor=function(b){W[this.ptr+D.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return W[this.ptr+D.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){W[this.ptr+D.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Z[this.ptr+D.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Z[this.ptr+D.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Z[this.ptr+D.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=Z[this.ptr+D.RETHROWN_OFFSET>>
0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){W[this.ptr+D.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=W[this.ptr+D.REFCOUNT_OFFSET>>2];W[this.ptr+D.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function Q(){return 0<Q.uncaught_exceptions}function ea(e){function b(){if(!sa&&(sa=!0,a.calledRun=!0,!Ca)){Da=!0;ba(Ea);ba(Fa);Ga(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==
typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ha.unshift(a.postRun.shift());ba(Ha)}}if(!(0<ha)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ia.unshift(a.preRun.shift());ba(Ia);0<ha||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function u(){}function z(e){return(e||u).__cache__}function R(e,b){var c=z(b),d=c[e];if(d)return d;d=Object.create((b||u).prototype);d.ptr=e;return c[e]=
d}function ca(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}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 v=e.charCodeAt(g);if(55296<=v&&57343>=v){var ia=e.charCodeAt(++g);v=65536+((v&1023)<<10)|ia&1023}if(127>=v){if(c>=d)break;b[c++]=v}else{if(2047>=v){if(c+1>=d)break;b[c++]=192|v>>6}else{if(65535>=v){if(c+2>=d)break;b[c++]=
224|v>>12}else{if(c+3>=d)break;b[c++]=240|v>>18;b[c++]=128|v>>12&63}b[c++]=128|v>>6&63}b[c++]=128|v&63}}b[c]=0}e=r.alloc(b,Z);r.copy(b,Z,e);return e}return e}function va(e){if("object"===typeof e){var b=r.alloc(e,Z);r.copy(e,Z,b);return b}return e}function aa(){throw"cannot construct a VoidPtr, no constructor in IDL";}function S(){this.ptr=Ja();z(S)[this.ptr]=this}function P(){this.ptr=Ka();z(P)[this.ptr]=this}function Y(){this.ptr=La();z(Y)[this.ptr]=this}function w(){this.ptr=Ma();z(w)[this.ptr]=
this}function B(){this.ptr=Na();z(B)[this.ptr]=this}function F(){this.ptr=Oa();z(F)[this.ptr]=this}function G(){this.ptr=Pa();z(G)[this.ptr]=this}function E(){this.ptr=Qa();z(E)[this.ptr]=this}function T(){this.ptr=Ra();z(T)[this.ptr]=this}function A(){throw"cannot construct a Status, no constructor in IDL";}function H(){this.ptr=Sa();z(H)[this.ptr]=this}function I(){this.ptr=Ta();z(I)[this.ptr]=this}function J(){this.ptr=Ua();z(J)[this.ptr]=this}function K(){this.ptr=Va();z(K)[this.ptr]=this}function L(){this.ptr=
Wa();z(L)[this.ptr]=this}function M(){this.ptr=Xa();z(M)[this.ptr]=this}function N(){this.ptr=Ya();z(N)[this.ptr]=this}function x(){this.ptr=Za();z(x)[this.ptr]=this}function k(){this.ptr=$a();z(k)[this.ptr]=this}n=n||{};var a="undefined"!==typeof n?n:{},Ga,ta;a.ready=new Promise(function(e,b){Ga=e;ta=b});var ab=!1,bb=!1;a.onRuntimeInitialized=function(){ab=!0;if(bb&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){bb=!0;if(ab&&"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]&&4>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var la={},da;for(da in a)a.hasOwnProperty(da)&&(la[da]=a[da]);var ra=!1,fa=!1,wa=!1,cb=!1;ra="object"===typeof window;fa="function"===typeof importScripts;wa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;cb=!ra&&!wa&&!fa;var V="",xa,ya;if(wa){V=fa?require("path").dirname(V)+"/":
__dirname+"/";var za=function(e,b){xa||(xa=require("fs"));ya||(ya=require("path"));e=ya.normalize(e);return xa.readFileSync(e,b?null:"utf8")};var qa=function(e){e=za(e,!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(cb)"undefined"!=typeof read&&(za=function(e){return read(e)}),qa=function(e){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(e));
e=read(e,"binary");q("object"===typeof e);return e},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ra||fa)fa?V=self.location.href:"undefined"!==typeof document&&document.currentScript&&(V=document.currentScript.src),l&&(V=l),V=0!==V.indexOf("blob:")?V.substr(0,V.lastIndexOf("/")+1):"",za=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.send(null);return b.responseText},
fa&&(qa=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});a.print||console.log.bind(console);var ja=a.printErr||console.warn.bind(console);for(da in la)la.hasOwnProperty(da)&&(a[da]=la[da]);la=null;var ka;a.wasmBinary&&(ka=a.wasmBinary);"object"!==typeof WebAssembly&&p("no native wasm support detected");var ma,Ca=!1,Ba="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;"undefined"!==typeof TextDecoder&&
new TextDecoder("utf-16le");var Z,oa,W,db=a.INITIAL_MEMORY||16777216;if(ma=a.wasmMemory?a.wasmMemory:new WebAssembly.Memory({initial:db/65536,maximum:32768}))var pa=ma.buffer;db=pa.byteLength;f(pa);var ua,Ia=[],Ea=[],Fa=[],Ha=[],Da=!1,ha=0,Aa=null,na=null;a.preloadedImages={};a.preloadedAudios={};var X="draco_decoder_gltf.wasm";t(X,"data:application/octet-stream;base64,")||(X=m(X));var D={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16};Ea.push({func:function(){eb()}});
var gb={__cxa_allocate_exception:function(e){return fb(e+D.SIZE)+D.SIZE},__cxa_throw:function(e,b,c){(new U(e)).init(b,c);"uncaught_exception"in Q?Q.uncaught_exceptions++:Q.uncaught_exceptions=1;throw e;},abort:function(){p()},array_bounds_check_error:function(e,b){throw"Array index "+e+" out of bounds: [0,"+b+")";},emscripten_memcpy_big:function(e,b,c){oa.copyWithin(e,b,b+c)},emscripten_resize_heap:function(e){e>>>=0;var b=oa.length;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);
d=Math.min(d,e+100663296);d=Math.min(2147483648,C(Math.max(16777216,e,d),65536));a:{try{ma.grow(d-pa.byteLength+65535>>>16);f(ma.buffer);var g=1;break a}catch(v){}g=void 0}if(g)return!0}return!1},memory:ma};(function(){function e(g,v){a.asm=g.exports;ua=a.asm.__indirect_function_table;ha--;a.monitorRunDependencies&&a.monitorRunDependencies(ha);0==ha&&(null!==Aa&&(clearInterval(Aa),Aa=null),na&&(g=na,na=null,g()))}function b(g){e(g.instance)}function c(g){return O().then(function(v){return WebAssembly.instantiate(v,
d)}).then(g,function(v){ja("failed to asynchronously prepare wasm: "+v);p(v)})}var d={env:gb,wasi_snapshot_preview1:gb};ha++;a.monitorRunDependencies&&a.monitorRunDependencies(ha);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(g){return ja("Module.instantiateWasm callback failed with error: "+g),!1}(function(){return ka||"function"!==typeof WebAssembly.instantiateStreaming||t(X,"data:application/octet-stream;base64,")||t(X,"file://")||"function"!==typeof fetch?c(b):fetch(X,{credentials:"same-origin"}).then(function(g){return WebAssembly.instantiateStreaming(g,
d).then(b,function(v){ja("wasm streaming compile failed: "+v);ja("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(ta);return{}})();var eb=a.___wasm_call_ctors=function(){return(eb=a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)};a.___em_js__array_bounds_check_error=function(){return(a.___em_js__array_bounds_check_error=a.asm.__em_js__array_bounds_check_error).apply(null,arguments)};var hb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(hb=a._emscripten_bind_VoidPtr___destroy___0=
a.asm.emscripten_bind_VoidPtr___destroy___0).apply(null,arguments)},Ja=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ja=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.emscripten_bind_DecoderBuffer_DecoderBuffer_0).apply(null,arguments)},ib=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(ib=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.emscripten_bind_DecoderBuffer_Init_2).apply(null,arguments)},jb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(jb=
a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.emscripten_bind_DecoderBuffer___destroy___0).apply(null,arguments)},Ka=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ka=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.emscripten_bind_AttributeTransformData_AttributeTransformData_0).apply(null,arguments)},kb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(kb=a._emscripten_bind_AttributeTransformData_transform_type_0=
a.asm.emscripten_bind_AttributeTransformData_transform_type_0).apply(null,arguments)},lb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(lb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.emscripten_bind_AttributeTransformData___destroy___0).apply(null,arguments)},La=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(La=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0).apply(null,
arguments)},mb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(mb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.emscripten_bind_GeometryAttribute___destroy___0).apply(null,arguments)},Ma=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ma=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.emscripten_bind_PointAttribute_PointAttribute_0).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_size_0=function(){return(nb=a._emscripten_bind_PointAttribute_size_0=
a.asm.emscripten_bind_PointAttribute_size_0).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(ob=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.emscripten_bind_PointAttribute_GetAttributeTransformData_0).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(pb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.emscripten_bind_PointAttribute_attribute_type_0).apply(null,arguments)},
qb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(qb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.emscripten_bind_PointAttribute_data_type_0).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(rb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.emscripten_bind_PointAttribute_num_components_0).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(sb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.emscripten_bind_PointAttribute_normalized_0).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(tb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.emscripten_bind_PointAttribute_byte_stride_0).apply(null,arguments)},ub=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(ub=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.emscripten_bind_PointAttribute_byte_offset_0).apply(null,arguments)},vb=a._emscripten_bind_PointAttribute_unique_id_0=
function(){return(vb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.emscripten_bind_PointAttribute_unique_id_0).apply(null,arguments)},wb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(wb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.emscripten_bind_PointAttribute___destroy___0).apply(null,arguments)},Na=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Na=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=
a.asm.emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1).apply(null,arguments)},yb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(yb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=
a.asm.emscripten_bind_AttributeQuantizationTransform_quantization_bits_0).apply(null,arguments)},zb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(zb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.emscripten_bind_AttributeQuantizationTransform_min_value_1).apply(null,arguments)},Ab=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Ab=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.emscripten_bind_AttributeQuantizationTransform_range_0).apply(null,
arguments)},Bb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Bb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.emscripten_bind_AttributeQuantizationTransform___destroy___0).apply(null,arguments)},Oa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Oa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0).apply(null,
arguments)},Cb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Cb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1).apply(null,arguments)},Db=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Db=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.emscripten_bind_AttributeOctahedronTransform_quantization_bits_0).apply(null,
arguments)},Eb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Eb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.emscripten_bind_AttributeOctahedronTransform___destroy___0).apply(null,arguments)},Pa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Pa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.emscripten_bind_PointCloud_PointCloud_0).apply(null,arguments)},Fb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Fb=a._emscripten_bind_PointCloud_num_attributes_0=
a.asm.emscripten_bind_PointCloud_num_attributes_0).apply(null,arguments)},Gb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Gb=a._emscripten_bind_PointCloud_num_points_0=a.asm.emscripten_bind_PointCloud_num_points_0).apply(null,arguments)},Hb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Hb=a._emscripten_bind_PointCloud___destroy___0=a.asm.emscripten_bind_PointCloud___destroy___0).apply(null,arguments)},Qa=a._emscripten_bind_Mesh_Mesh_0=function(){return(Qa=a._emscripten_bind_Mesh_Mesh_0=
a.asm.emscripten_bind_Mesh_Mesh_0).apply(null,arguments)},Ib=a._emscripten_bind_Mesh_num_faces_0=function(){return(Ib=a._emscripten_bind_Mesh_num_faces_0=a.asm.emscripten_bind_Mesh_num_faces_0).apply(null,arguments)},Jb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Jb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.emscripten_bind_Mesh_num_attributes_0).apply(null,arguments)},Kb=a._emscripten_bind_Mesh_num_points_0=function(){return(Kb=a._emscripten_bind_Mesh_num_points_0=a.asm.emscripten_bind_Mesh_num_points_0).apply(null,
arguments)},Lb=a._emscripten_bind_Mesh___destroy___0=function(){return(Lb=a._emscripten_bind_Mesh___destroy___0=a.asm.emscripten_bind_Mesh___destroy___0).apply(null,arguments)},Ra=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ra=a._emscripten_bind_Metadata_Metadata_0=a.asm.emscripten_bind_Metadata_Metadata_0).apply(null,arguments)},Mb=a._emscripten_bind_Metadata___destroy___0=function(){return(Mb=a._emscripten_bind_Metadata___destroy___0=a.asm.emscripten_bind_Metadata___destroy___0).apply(null,
arguments)},Nb=a._emscripten_bind_Status_code_0=function(){return(Nb=a._emscripten_bind_Status_code_0=a.asm.emscripten_bind_Status_code_0).apply(null,arguments)},Ob=a._emscripten_bind_Status_ok_0=function(){return(Ob=a._emscripten_bind_Status_ok_0=a.asm.emscripten_bind_Status_ok_0).apply(null,arguments)},Pb=a._emscripten_bind_Status_error_msg_0=function(){return(Pb=a._emscripten_bind_Status_error_msg_0=a.asm.emscripten_bind_Status_error_msg_0).apply(null,arguments)},Qb=a._emscripten_bind_Status___destroy___0=
function(){return(Qb=a._emscripten_bind_Status___destroy___0=a.asm.emscripten_bind_Status___destroy___0).apply(null,arguments)},Sa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Sa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.emscripten_bind_DracoFloat32Array_DracoFloat32Array_0).apply(null,arguments)},Rb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Rb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.emscripten_bind_DracoFloat32Array_GetValue_1).apply(null,
arguments)},Sb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Sb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.emscripten_bind_DracoFloat32Array_size_0).apply(null,arguments)},Tb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Tb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.emscripten_bind_DracoFloat32Array___destroy___0).apply(null,arguments)},Ta=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ta=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0).apply(null,arguments)},Ub=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Ub=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.emscripten_bind_DracoInt8Array_GetValue_1).apply(null,arguments)},Vb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Vb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.emscripten_bind_DracoInt8Array_size_0).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Wb=
a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.emscripten_bind_DracoInt8Array___destroy___0).apply(null,arguments)},Ua=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ua=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.emscripten_bind_DracoUInt8Array_DracoUInt8Array_0).apply(null,arguments)},Xb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Xb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.emscripten_bind_DracoUInt8Array_GetValue_1).apply(null,
arguments)},Yb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Yb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.emscripten_bind_DracoUInt8Array_size_0).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Zb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.emscripten_bind_DracoUInt8Array___destroy___0).apply(null,arguments)},Va=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Va=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=
a.asm.emscripten_bind_DracoInt16Array_DracoInt16Array_0).apply(null,arguments)},$b=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return($b=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.emscripten_bind_DracoInt16Array_GetValue_1).apply(null,arguments)},ac=a._emscripten_bind_DracoInt16Array_size_0=function(){return(ac=a._emscripten_bind_DracoInt16Array_size_0=a.asm.emscripten_bind_DracoInt16Array_size_0).apply(null,arguments)},bc=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(bc=
a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.emscripten_bind_DracoInt16Array___destroy___0).apply(null,arguments)},Wa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Wa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.emscripten_bind_DracoUInt16Array_DracoUInt16Array_0).apply(null,arguments)},cc=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(cc=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.emscripten_bind_DracoUInt16Array_GetValue_1).apply(null,
arguments)},dc=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(dc=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.emscripten_bind_DracoUInt16Array_size_0).apply(null,arguments)},ec=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ec=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.emscripten_bind_DracoUInt16Array___destroy___0).apply(null,arguments)},Xa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Xa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
a.asm.emscripten_bind_DracoInt32Array_DracoInt32Array_0).apply(null,arguments)},fc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(fc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.emscripten_bind_DracoInt32Array_GetValue_1).apply(null,arguments)},gc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(gc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.emscripten_bind_DracoInt32Array_size_0).apply(null,arguments)},hc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(hc=
a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.emscripten_bind_DracoInt32Array___destroy___0).apply(null,arguments)},Ya=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Ya=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.emscripten_bind_DracoUInt32Array_DracoUInt32Array_0).apply(null,arguments)},ic=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(ic=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.emscripten_bind_DracoUInt32Array_GetValue_1).apply(null,
arguments)},jc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(jc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.emscripten_bind_DracoUInt32Array_size_0).apply(null,arguments)},kc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(kc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.emscripten_bind_DracoUInt32Array___destroy___0).apply(null,arguments)},Za=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Za=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=
a.asm.emscripten_bind_MetadataQuerier_MetadataQuerier_0).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.emscripten_bind_MetadataQuerier_HasEntry_2).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(mc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetIntEntry_2).apply(null,arguments)},nc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
function(){return(nc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.emscripten_bind_MetadataQuerier_GetIntEntryArray_3).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(oc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetDoubleEntry_2).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(pc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetStringEntry_2).apply(null,
arguments)},qc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(qc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.emscripten_bind_MetadataQuerier_NumEntries_1).apply(null,arguments)},rc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(rc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.emscripten_bind_MetadataQuerier_GetEntryName_2).apply(null,arguments)},sc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(sc=a._emscripten_bind_MetadataQuerier___destroy___0=
a.asm.emscripten_bind_MetadataQuerier___destroy___0).apply(null,arguments)},$a=a._emscripten_bind_Decoder_Decoder_0=function(){return($a=a._emscripten_bind_Decoder_Decoder_0=a.asm.emscripten_bind_Decoder_Decoder_0).apply(null,arguments)},tc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(tc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.emscripten_bind_Decoder_DecodeArrayToPointCloud_3).apply(null,arguments)},uc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(uc=
a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.emscripten_bind_Decoder_DecodeArrayToMesh_3).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.emscripten_bind_Decoder_GetAttributeId_2).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(wc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.emscripten_bind_Decoder_GetAttributeIdByName_2).apply(null,arguments)},
xc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(yc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.emscripten_bind_Decoder_GetAttribute_2).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=
a.asm.emscripten_bind_Decoder_GetAttributeByUniqueId_2).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(Ac=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.emscripten_bind_Decoder_GetMetadata_1).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.emscripten_bind_Decoder_GetAttributeMetadata_2).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=
function(){return(Cc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.emscripten_bind_Decoder_GetFaceFromMesh_3).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(Dc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.emscripten_bind_Decoder_GetTriangleStripsFromMesh_2).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ec=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt16Array_3).apply(null,
arguments)},Fc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Fc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt32Array_3).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Gc=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.emscripten_bind_Decoder_GetAttributeFloat_3).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeIntForAllPoints_3).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3).apply(null,
arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Nc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Oc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Pc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Qc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.emscripten_bind_Decoder_SkipAttributeTransform_1).apply(null,
arguments)},Rc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Rc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1).apply(null,arguments)},Sc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Sc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.emscripten_bind_Decoder_DecodeBufferToPointCloud_2).apply(null,arguments)},Tc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=
function(){return(Tc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.emscripten_bind_Decoder_DecodeBufferToMesh_2).apply(null,arguments)},Uc=a._emscripten_bind_Decoder___destroy___0=function(){return(Uc=a._emscripten_bind_Decoder___destroy___0=a.asm.emscripten_bind_Decoder___destroy___0).apply(null,arguments)},Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM).apply(null,
arguments)},Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM).apply(null,arguments)},Xc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Xc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM).apply(null,
arguments)},Yc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Yc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID).apply(null,
arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION).apply(null,arguments)},ad=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(ad=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL).apply(null,arguments)},bd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=
function(){return(bd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR).apply(null,arguments)},cd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(cd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD).apply(null,arguments)},dd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(dd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC).apply(null,arguments)},ed=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(ed=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE).apply(null,arguments)},fd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(fd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD).apply(null,
arguments)},gd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(gd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(hd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.emscripten_enum_draco_DataType_DT_INVALID).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT8=
a.asm.emscripten_enum_draco_DataType_DT_INT8).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.emscripten_enum_draco_DataType_DT_UINT8).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(kd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.emscripten_enum_draco_DataType_DT_INT16).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(ld=a._emscripten_enum_draco_DataType_DT_UINT16=
a.asm.emscripten_enum_draco_DataType_DT_UINT16).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(md=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.emscripten_enum_draco_DataType_DT_INT32).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return(nd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.emscripten_enum_draco_DataType_DT_UINT32).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(od=
a._emscripten_enum_draco_DataType_DT_INT64=a.asm.emscripten_enum_draco_DataType_DT_INT64).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(pd=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.emscripten_enum_draco_DataType_DT_UINT64).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(qd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.emscripten_enum_draco_DataType_DT_FLOAT32).apply(null,arguments)},rd=a._emscripten_enum_draco_DataType_DT_FLOAT64=
function(){return(rd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.emscripten_enum_draco_DataType_DT_FLOAT64).apply(null,arguments)},sd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(sd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.emscripten_enum_draco_DataType_DT_BOOL).apply(null,arguments)},td=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(td=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.emscripten_enum_draco_DataType_DT_TYPES_COUNT).apply(null,
arguments)},ud=a._emscripten_enum_draco_StatusCode_OK=function(){return(ud=a._emscripten_enum_draco_StatusCode_OK=a.asm.emscripten_enum_draco_StatusCode_OK).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(vd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.emscripten_enum_draco_StatusCode_DRACO_ERROR).apply(null,arguments)},wd=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(wd=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.emscripten_enum_draco_StatusCode_IO_ERROR).apply(null,
arguments)},xd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(xd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=a.asm.emscripten_enum_draco_StatusCode_INVALID_PARAMETER).apply(null,arguments)},yd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(yd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION).apply(null,arguments)},zd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(zd=
a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNKNOWN_VERSION).apply(null,arguments)};a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)};a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)};a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)};a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)};a._setThrew=
function(){return(a._setThrew=a.asm.setThrew).apply(null,arguments)};a._free=function(){return(a._free=a.asm.free).apply(null,arguments)};var fb=a._malloc=function(){return(fb=a._malloc=a.asm.malloc).apply(null,arguments)},sa;na=function b(){sa||ea();sa||(na=b)};a.run=ea;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();ea();u.prototype=Object.create(u.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.WrapperObject=
u;a.getCache=z;a.wrapPointer=R;a.castObject=function(b,c){return R(b.ptr,c)};a.NULL=R(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete z(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=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(q(0<b),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]}};aa.prototype=Object.create(u.prototype);
aa.prototype.constructor=aa;aa.prototype.__class__=aa;aa.__cache__={};a.VoidPtr=aa;aa.prototype.__destroy__=aa.prototype.__destroy__=function(){hb(this.ptr)};S.prototype=Object.create(u.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=va(b));c&&"object"===typeof c&&(c=c.ptr);ib(d,b,c)};S.prototype.__destroy__=S.prototype.__destroy__=function(){jb(this.ptr)};
P.prototype=Object.create(u.prototype);P.prototype.constructor=P;P.prototype.__class__=P;P.__cache__={};a.AttributeTransformData=P;P.prototype.transform_type=P.prototype.transform_type=function(){return kb(this.ptr)};P.prototype.__destroy__=P.prototype.__destroy__=function(){lb(this.ptr)};Y.prototype=Object.create(u.prototype);Y.prototype.constructor=Y;Y.prototype.__class__=Y;Y.__cache__={};a.GeometryAttribute=Y;Y.prototype.__destroy__=Y.prototype.__destroy__=function(){mb(this.ptr)};w.prototype=
Object.create(u.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return nb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=function(){return R(ob(this.ptr),P)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return pb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return qb(this.ptr)};w.prototype.num_components=w.prototype.num_components=
function(){return rb(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!sb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return tb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return ub(this.ptr)};w.prototype.unique_id=w.prototype.unique_id=function(){return vb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){wb(this.ptr)};B.prototype=Object.create(u.prototype);B.prototype.constructor=B;B.prototype.__class__=
B;B.__cache__={};a.AttributeQuantizationTransform=B;B.prototype.InitFromAttribute=B.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!xb(c,b)};B.prototype.quantization_bits=B.prototype.quantization_bits=function(){return yb(this.ptr)};B.prototype.min_value=B.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return zb(c,b)};B.prototype.range=B.prototype.range=function(){return Ab(this.ptr)};B.prototype.__destroy__=B.prototype.__destroy__=
function(){Bb(this.ptr)};F.prototype=Object.create(u.prototype);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!!Cb(c,b)};F.prototype.quantization_bits=F.prototype.quantization_bits=function(){return Db(this.ptr)};F.prototype.__destroy__=F.prototype.__destroy__=function(){Eb(this.ptr)};G.prototype=Object.create(u.prototype);
G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.PointCloud=G;G.prototype.num_attributes=G.prototype.num_attributes=function(){return Fb(this.ptr)};G.prototype.num_points=G.prototype.num_points=function(){return Gb(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Hb(this.ptr)};E.prototype=Object.create(u.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return Ib(this.ptr)};
E.prototype.num_attributes=E.prototype.num_attributes=function(){return Jb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return Kb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Lb(this.ptr)};T.prototype=Object.create(u.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.Metadata=T;T.prototype.__destroy__=T.prototype.__destroy__=function(){Mb(this.ptr)};A.prototype=Object.create(u.prototype);A.prototype.constructor=A;A.prototype.__class__=
A;A.__cache__={};a.Status=A;A.prototype.code=A.prototype.code=function(){return Nb(this.ptr)};A.prototype.ok=A.prototype.ok=function(){return!!Ob(this.ptr)};A.prototype.error_msg=A.prototype.error_msg=function(){return h(Pb(this.ptr))};A.prototype.__destroy__=A.prototype.__destroy__=function(){Qb(this.ptr)};H.prototype=Object.create(u.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 Rb(c,b)};H.prototype.size=H.prototype.size=function(){return Sb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){Tb(this.ptr)};I.prototype=Object.create(u.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 Ub(c,b)};I.prototype.size=I.prototype.size=function(){return Vb(this.ptr)};I.prototype.__destroy__=
I.prototype.__destroy__=function(){Wb(this.ptr)};J.prototype=Object.create(u.prototype);J.prototype.constructor=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 Xb(c,b)};J.prototype.size=J.prototype.size=function(){return Yb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Zb(this.ptr)};K.prototype=Object.create(u.prototype);K.prototype.constructor=K;K.prototype.__class__=
K;K.__cache__={};a.DracoInt16Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return $b(c,b)};K.prototype.size=K.prototype.size=function(){return ac(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){bc(this.ptr)};L.prototype=Object.create(u.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 cc(c,b)};L.prototype.size=L.prototype.size=function(){return dc(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){ec(this.ptr)};M.prototype=Object.create(u.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 fc(c,b)};M.prototype.size=M.prototype.size=function(){return gc(this.ptr)};M.prototype.__destroy__=
M.prototype.__destroy__=function(){hc(this.ptr)};N.prototype=Object.create(u.prototype);N.prototype.constructor=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 ic(c,b)};N.prototype.size=N.prototype.size=function(){return jc(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){kc(this.ptr)};x.prototype=Object.create(u.prototype);x.prototype.constructor=x;x.prototype.__class__=
x;x.__cache__={};a.MetadataQuerier=x;x.prototype.HasEntry=x.prototype.HasEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ca(c);return!!lc(d,b,c)};x.prototype.GetIntEntry=x.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:ca(c);return mc(d,b,c)};x.prototype.GetIntEntryArray=x.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:ca(c);d&&"object"===typeof d&&(d=d.ptr);nc(g,b,c,d)};x.prototype.GetDoubleEntry=x.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:ca(c);return oc(d,b,c)};x.prototype.GetStringEntry=x.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:ca(c);return h(pc(d,b,c))};x.prototype.NumEntries=x.prototype.NumEntries=
function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return qc(c,b)};x.prototype.GetEntryName=x.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(rc(d,b,c))};x.prototype.__destroy__=x.prototype.__destroy__=function(){sc(this.ptr)};k.prototype=Object.create(u.prototype);k.prototype.constructor=k;k.prototype.__class__=k;k.__cache__={};a.Decoder=k;k.prototype.DecodeArrayToPointCloud=k.prototype.DecodeArrayToPointCloud=
function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return R(tc(g,b,c,d),A)};k.prototype.DecodeArrayToMesh=k.prototype.DecodeArrayToMesh=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return R(uc(g,b,c,d),A)};k.prototype.GetAttributeId=k.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=
b.ptr);c&&"object"===typeof c&&(c=c.ptr);return vc(d,b,c)};k.prototype.GetAttributeIdByName=k.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ca(c);return wc(d,b,c)};k.prototype.GetAttributeIdByMetadataEntry=k.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:ca(c);d=d&&"object"===typeof d?d.ptr:ca(d);return xc(g,
b,c,d)};k.prototype.GetAttribute=k.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(yc(d,b,c),w)};k.prototype.GetAttributeByUniqueId=k.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(zc(d,b,c),w)};k.prototype.GetMetadata=k.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return R(Ac(c,b),T)};k.prototype.GetAttributeMetadata=
k.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Bc(d,b,c),T)};k.prototype.GetFaceFromMesh=k.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!!Cc(g,b,c,d)};k.prototype.GetTriangleStripsFromMesh=k.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);return Dc(d,b,c)};k.prototype.GetTrianglesUInt16Array=k.prototype.GetTrianglesUInt16Array=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!!Ec(g,b,c,d)};k.prototype.GetTrianglesUInt32Array=k.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!!Fc(g,b,c,d)};
k.prototype.GetAttributeFloat=k.prototype.GetAttributeFloat=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!!Gc(g,b,c,d)};k.prototype.GetAttributeFloatForAllPoints=k.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!!Hc(g,b,c,d)};k.prototype.GetAttributeIntForAllPoints=k.prototype.GetAttributeIntForAllPoints=
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,d)};k.prototype.GetAttributeInt8ForAllPoints=k.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!!Jc(g,b,c,d)};k.prototype.GetAttributeUInt8ForAllPoints=k.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=d.ptr);return!!Kc(g,b,c,d)};k.prototype.GetAttributeInt16ForAllPoints=k.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!!Lc(g,b,c,d)};k.prototype.GetAttributeUInt16ForAllPoints=k.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!!Mc(g,b,c,d)};k.prototype.GetAttributeInt32ForAllPoints=k.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!!Nc(g,b,c,d)};k.prototype.GetAttributeUInt32ForAllPoints=k.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!!Oc(g,b,c,d)};k.prototype.GetAttributeDataArrayForAllPoints=k.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,v){var ia=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);v&&"object"===typeof v&&(v=v.ptr);return!!Pc(ia,b,c,d,g,v)};k.prototype.SkipAttributeTransform=k.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===
typeof b&&(b=b.ptr);Qc(c,b)};k.prototype.GetEncodedGeometryType_Deprecated=k.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rc(c,b)};k.prototype.DecodeBufferToPointCloud=k.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Sc(d,b,c),A)};k.prototype.DecodeBufferToMesh=k.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Tc(d,b,c),A)};k.prototype.__destroy__=k.prototype.__destroy__=function(){Uc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Vc();a.ATTRIBUTE_NO_TRANSFORM=Wc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Xc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Yc();a.INVALID=Zc();a.POSITION=$c();a.NORMAL=ad();a.COLOR=bd();a.TEX_COORD=cd();a.GENERIC=dd();a.INVALID_GEOMETRY_TYPE=ed();a.POINT_CLOUD=fd();a.TRIANGULAR_MESH=gd();a.DT_INVALID=hd();a.DT_INT8=id();
a.DT_UINT8=jd();a.DT_INT16=kd();a.DT_UINT16=ld();a.DT_INT32=md();a.DT_UINT32=nd();a.DT_INT64=od();a.DT_UINT64=pd();a.DT_FLOAT32=qd();a.DT_FLOAT64=rd();a.DT_BOOL=sd();a.DT_TYPES_COUNT=td();a.OK=ud();a.DRACO_ERROR=vd();a.IO_ERROR=wd();a.INVALID_PARAMETER=xd();a.UNSUPPORTED_VERSION=yd();a.UNKNOWN_VERSION=zd()}Da?b():Fa.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;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);
var DracoDecoderModule=function(){var m="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(m=m||__filename);return function(p){function l(e){return a.locateFile?a.locateFile(e,V):V+e}function q(e,b){e||f("Assertion failed: "+b)}function k(e,b){if(e){var c=la;var d=e+b;for(b=e;c[b]&&!(b>=d);)++b;if(16<b-e&&c.subarray&&za)c=za.decode(c.subarray(e,b));else{for(d="";e<b;){var g=c[e++];if(g&128){var v=c[e++]&63;if(192==(g&224))d+=String.fromCharCode((g&
31)<<6|v);else{var Y=c[e++]&63;g=224==(g&240)?(g&15)<<12|v<<6|Y:(g&7)<<18|v<<12|Y<<6|c[e++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}c=d}}else c="";return c}function B(e){Aa=e;a.HEAP8=Z=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=W=new Int32Array(e);a.HEAPU8=la=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function f(e){if(a.onAbort)a.onAbort(e);
e+="";ha(e);Ba=!0;e=new WebAssembly.RuntimeError("abort("+e+"). Build with -s ASSERTIONS=1 for more info.");qa(e);throw e;}function n(e,b){return String.prototype.startsWith?e.startsWith(b):0===e.indexOf(b)}function u(e){try{if(e==R&&ia)return new Uint8Array(ia);if(ma)return ma(e);throw"both async and sync fetching of the wasm failed";}catch(b){f(b)}}function z(){if(!ia&&(na||da)){if("function"===typeof fetch&&!n(R,"file://"))return fetch(R,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+
R+"'";return e.arrayBuffer()}).catch(function(){return u(R)});if(Ca)return new Promise(function(e,b){Ca(R,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return u(R)})}function D(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?ra.get(c)():ra.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function fa(e){this.excPtr=e;this.ptr=e-F.SIZE;this.set_type=function(b){W[this.ptr+F.TYPE_OFFSET>>2]=b};this.get_type=
function(){return W[this.ptr+F.TYPE_OFFSET>>2]};this.set_destructor=function(b){W[this.ptr+F.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return W[this.ptr+F.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){W[this.ptr+F.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Z[this.ptr+F.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Z[this.ptr+F.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Z[this.ptr+F.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=
Z[this.ptr+F.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){W[this.ptr+F.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=W[this.ptr+F.REFCOUNT_OFFSET>>2];W[this.ptr+F.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function Q(e){function b(){if(!oa&&(oa=!0,a.calledRun=!0,!Ba)){Da=!0;D(Ea);D(sa);Fa(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==
typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ga.unshift(a.postRun.shift());D(Ga)}}if(!(0<ea)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ha.unshift(a.preRun.shift());D(Ha);0<ea||(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 E(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 ba(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}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 v=e.charCodeAt(g);if(55296<=v&&57343>=v){var Y=e.charCodeAt(++g);v=65536+((v&1023)<<10)|Y&1023}if(127>=v){if(c>=d)break;b[c++]=v}else{if(2047>=v){if(c+1>=d)break;b[c++]=192|v>>6}else{if(65535>=v){if(c+2>=d)break;b[c++]=224|
v>>12}else{if(c+3>=d)break;b[c++]=240|v>>18;b[c++]=128|v>>12&63}b[c++]=128|v>>6&63}b[c++]=128|v&63}}b[c]=0}e=r.alloc(b,Z);r.copy(b,Z,e);return e}return e}function ta(e){if("object"===typeof e){var b=r.alloc(e,Z);r.copy(e,Z,b);return b}return e}function aa(){throw"cannot construct a VoidPtr, no constructor in IDL";}function T(){this.ptr=Ia();x(T)[this.ptr]=this}function S(){this.ptr=Ja();x(S)[this.ptr]=this}function X(){this.ptr=Ka();x(X)[this.ptr]=this}function w(){this.ptr=La();x(w)[this.ptr]=this}
function C(){this.ptr=Ma();x(C)[this.ptr]=this}function H(){this.ptr=Na();x(H)[this.ptr]=this}function I(){this.ptr=Oa();x(I)[this.ptr]=this}function G(){this.ptr=Pa();x(G)[this.ptr]=this}function U(){this.ptr=Qa();x(U)[this.ptr]=this}function A(){throw"cannot construct a Status, no constructor in IDL";}function J(){this.ptr=Ra();x(J)[this.ptr]=this}function K(){this.ptr=Sa();x(K)[this.ptr]=this}function L(){this.ptr=Ta();x(L)[this.ptr]=this}function M(){this.ptr=Ua();x(M)[this.ptr]=this}function N(){this.ptr=
Va();x(N)[this.ptr]=this}function O(){this.ptr=Wa();x(O)[this.ptr]=this}function P(){this.ptr=Xa();x(P)[this.ptr]=this}function y(){this.ptr=Ya();x(y)[this.ptr]=this}function h(){this.ptr=Za();x(h)[this.ptr]=this}p=p||{};var a="undefined"!==typeof p?p:{},Fa,qa;a.ready=new Promise(function(e,b){Fa=e;qa=b});var $a=!1,ab=!1;a.onRuntimeInitialized=function(){$a=!0;a.callRuntimeCallbacks(a.mainCallbacks);if(ab&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){ab=!0;
if($a&&"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]&&4>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var ja={},ca;for(ca in a)a.hasOwnProperty(ca)&&(ja[ca]=a[ca]);var na=!1,da=!1,ua=!1,bb=!1;na="object"===typeof window;da="function"===typeof importScripts;ua="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;bb=!na&&!ua&&
!da;var V="",va,wa;if(ua){V=da?require("path").dirname(V)+"/":__dirname+"/";var xa=function(e,b){va||(va=require("fs"));wa||(wa=require("path"));e=wa.normalize(e);return va.readFileSync(e,b?null:"utf8")};var ma=function(e){e=xa(e,!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(bb)"undefined"!=typeof read&&(xa=function(e){return read(e)}),ma=function(e){if("function"===
typeof readbuffer)return new Uint8Array(readbuffer(e));e=read(e,"binary");q("object"===typeof e);return e},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(na||da){da?V=self.location.href:"undefined"!==typeof document&&document.currentScript&&(V=document.currentScript.src);m&&(V=m);V=0!==V.indexOf("blob:")?V.substr(0,V.lastIndexOf("/")+1):"";xa=function(e){var b=new XMLHttpRequest;
b.open("GET",e,!1);b.send(null);return b.responseText};da&&(ma=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var Ca=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)}}a.print||console.log.bind(console);var ha=a.printErr||console.warn.bind(console);for(ca in ja)ja.hasOwnProperty(ca)&&
(a[ca]=ja[ca]);ja=null;var ia;a.wasmBinary&&(ia=a.wasmBinary);"object"!==typeof WebAssembly&&f("no native wasm support detected");var pa,Ba=!1,za="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0,Aa,Z,la,W,ra,Ha=[],Ea=[],sa=[],Ga=[],Da=!1,ea=0,ya=null,ka=null;a.preloadedImages={};a.preloadedAudios={};var R="draco_decoder_gltf.wasm";n(R,"data:application/octet-stream;base64,")||(R=l(R));var F={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16},
wd=0,xd={e:function(e){return cb(e+F.SIZE)+F.SIZE},d:function(e,b,c){(new fa(e)).init(b,c);wd++;throw e;},a:function(){f()},b:function(e,b,c){la.copyWithin(e,b,b+c)},c:function(e){var b=la.length;e>>>=0;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);var g=Math,v=g.min;d=Math.max(e,d);0<d%65536&&(d+=65536-d%65536);g=v.call(g,2147483648,d);a:{try{pa.grow(g-Aa.byteLength+65535>>>16);B(pa.buffer);var Y=1;break a}catch(yd){}Y=void 0}if(Y)return!0}return!1}};
(function(){function e(g,v){a.asm=g.exports;pa=a.asm.f;B(pa.buffer);ra=a.asm.h;Ea.unshift(a.asm.g);ea--;a.monitorRunDependencies&&a.monitorRunDependencies(ea);0==ea&&(null!==ya&&(clearInterval(ya),ya=null),ka&&(g=ka,ka=null,g()))}function b(g){e(g.instance)}function c(g){return z().then(function(v){return WebAssembly.instantiate(v,d)}).then(g,function(v){ha("failed to asynchronously prepare wasm: "+v);f(v)})}var d={a:xd};ea++;a.monitorRunDependencies&&a.monitorRunDependencies(ea);if(a.instantiateWasm)try{return a.instantiateWasm(d,
e)}catch(g){return ha("Module.instantiateWasm callback failed with error: "+g),!1}(function(){return ia||"function"!==typeof WebAssembly.instantiateStreaming||n(R,"data:application/octet-stream;base64,")||n(R,"file://")||"function"!==typeof fetch?c(b):fetch(R,{credentials:"same-origin"}).then(function(g){return WebAssembly.instantiateStreaming(g,d).then(b,function(v){ha("wasm streaming compile failed: "+v);ha("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(qa);return{}})();
a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.g).apply(null,arguments)};var db=a._emscripten_bind_VoidPtr___destroy___0=function(){return(db=a._emscripten_bind_VoidPtr___destroy___0=a.asm.i).apply(null,arguments)},Ia=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ia=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.j).apply(null,arguments)},eb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(eb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.k).apply(null,
arguments)},fb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(fb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.l).apply(null,arguments)},Ja=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ja=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.m).apply(null,arguments)},gb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(gb=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.n).apply(null,
arguments)},hb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(hb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.o).apply(null,arguments)},Ka=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ka=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.p).apply(null,arguments)},ib=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(ib=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.q).apply(null,arguments)},
La=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(La=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.r).apply(null,arguments)},jb=a._emscripten_bind_PointAttribute_size_0=function(){return(jb=a._emscripten_bind_PointAttribute_size_0=a.asm.s).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(kb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.t).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute_attribute_type_0=
function(){return(lb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.u).apply(null,arguments)},mb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(mb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.v).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(nb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.w).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_normalized_0=function(){return(ob=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.x).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(pb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.y).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(qb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.z).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(rb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.A).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute___destroy___0=
function(){return(sb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.B).apply(null,arguments)},Ma=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Ma=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.C).apply(null,arguments)},tb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(tb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.D).apply(null,
arguments)},ub=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(ub=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.E).apply(null,arguments)},vb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(vb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.F).apply(null,arguments)},wb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(wb=a._emscripten_bind_AttributeQuantizationTransform_range_0=
a.asm.G).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.H).apply(null,arguments)},Na=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Na=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.I).apply(null,arguments)},yb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=
function(){return(yb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.J).apply(null,arguments)},zb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(zb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.K).apply(null,arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Ab=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.L).apply(null,arguments)},Oa=a._emscripten_bind_PointCloud_PointCloud_0=
function(){return(Oa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.M).apply(null,arguments)},Bb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Bb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.N).apply(null,arguments)},Cb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Cb=a._emscripten_bind_PointCloud_num_points_0=a.asm.O).apply(null,arguments)},Db=a._emscripten_bind_PointCloud___destroy___0=function(){return(Db=a._emscripten_bind_PointCloud___destroy___0=a.asm.P).apply(null,
arguments)},Pa=a._emscripten_bind_Mesh_Mesh_0=function(){return(Pa=a._emscripten_bind_Mesh_Mesh_0=a.asm.Q).apply(null,arguments)},Eb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Eb=a._emscripten_bind_Mesh_num_faces_0=a.asm.R).apply(null,arguments)},Fb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Fb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.S).apply(null,arguments)},Gb=a._emscripten_bind_Mesh_num_points_0=function(){return(Gb=a._emscripten_bind_Mesh_num_points_0=a.asm.T).apply(null,
arguments)},Hb=a._emscripten_bind_Mesh___destroy___0=function(){return(Hb=a._emscripten_bind_Mesh___destroy___0=a.asm.U).apply(null,arguments)},Qa=a._emscripten_bind_Metadata_Metadata_0=function(){return(Qa=a._emscripten_bind_Metadata_Metadata_0=a.asm.V).apply(null,arguments)},Ib=a._emscripten_bind_Metadata___destroy___0=function(){return(Ib=a._emscripten_bind_Metadata___destroy___0=a.asm.W).apply(null,arguments)},Jb=a._emscripten_bind_Status_code_0=function(){return(Jb=a._emscripten_bind_Status_code_0=
a.asm.X).apply(null,arguments)},Kb=a._emscripten_bind_Status_ok_0=function(){return(Kb=a._emscripten_bind_Status_ok_0=a.asm.Y).apply(null,arguments)},Lb=a._emscripten_bind_Status_error_msg_0=function(){return(Lb=a._emscripten_bind_Status_error_msg_0=a.asm.Z).apply(null,arguments)},Mb=a._emscripten_bind_Status___destroy___0=function(){return(Mb=a._emscripten_bind_Status___destroy___0=a.asm._).apply(null,arguments)},Ra=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Ra=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=
a.asm.$).apply(null,arguments)},Nb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Nb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.aa).apply(null,arguments)},Ob=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Ob=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.ba).apply(null,arguments)},Pb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Pb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.ca).apply(null,arguments)},Sa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
function(){return(Sa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.da).apply(null,arguments)},Qb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Qb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ea).apply(null,arguments)},Rb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Rb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.fa).apply(null,arguments)},Sb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Sb=a._emscripten_bind_DracoInt8Array___destroy___0=
a.asm.ga).apply(null,arguments)},Ta=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ta=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ha).apply(null,arguments)},Tb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Tb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.ia).apply(null,arguments)},Ub=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Ub=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.ja).apply(null,arguments)},Vb=a._emscripten_bind_DracoUInt8Array___destroy___0=
function(){return(Vb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.ka).apply(null,arguments)},Ua=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Ua=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.la).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Wb=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.ma).apply(null,arguments)},Xb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Xb=a._emscripten_bind_DracoInt16Array_size_0=
a.asm.na).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Yb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.oa).apply(null,arguments)},Va=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Va=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.pa).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Zb=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.qa).apply(null,arguments)},
$b=a._emscripten_bind_DracoUInt16Array_size_0=function(){return($b=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ra).apply(null,arguments)},ac=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ac=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.sa).apply(null,arguments)},Wa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Wa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.ta).apply(null,arguments)},bc=a._emscripten_bind_DracoInt32Array_GetValue_1=
function(){return(bc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.ua).apply(null,arguments)},cc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(cc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.va).apply(null,arguments)},dc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(dc=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.wa).apply(null,arguments)},Xa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Xa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=
a.asm.xa).apply(null,arguments)},ec=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(ec=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.ya).apply(null,arguments)},fc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(fc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.za).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(gc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.Aa).apply(null,arguments)},Ya=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=
function(){return(Ya=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Ba).apply(null,arguments)},hc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(hc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Ca).apply(null,arguments)},ic=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(ic=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Da).apply(null,arguments)},jc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(jc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
a.asm.Ea).apply(null,arguments)},kc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(kc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Fa).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ga).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(mc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ha).apply(null,arguments)},
nc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(nc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.Ia).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(oc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ja).apply(null,arguments)},Za=a._emscripten_bind_Decoder_Decoder_0=function(){return(Za=a._emscripten_bind_Decoder_Decoder_0=a.asm.Ka).apply(null,arguments)},pc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(pc=
a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.La).apply(null,arguments)},qc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(qc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Ma).apply(null,arguments)},rc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(rc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Na).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(sc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=
a.asm.Oa).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(tc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Pa).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(uc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Qa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Ra).apply(null,arguments)},
wc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(wc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Sa).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Ta).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(yc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Ua).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=
function(){return(zc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Va).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ac=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Wa).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Bc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.Xa).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Cc=
a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.Ya).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Dc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.Za).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm._a).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Fc=
a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.$a).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Gc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.ab).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.bb).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.cb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.db).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.eb).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=
function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.fb).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Mc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.gb).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Nc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.hb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=
function(){return(Oc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.ib).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Pc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.jb).apply(null,arguments)},Qc=a._emscripten_bind_Decoder___destroy___0=function(){return(Qc=a._emscripten_bind_Decoder___destroy___0=a.asm.kb).apply(null,arguments)},Rc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Rc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
a.asm.lb).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.mb).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.nb).apply(null,arguments)},Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=
function(){return(Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.ob).apply(null,arguments)},Vc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Vc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.pb).apply(null,arguments)},Wc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Wc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.qb).apply(null,arguments)},Xc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=
function(){return(Xc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.rb).apply(null,arguments)},Yc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Yc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.sb).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.tb).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.ub).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.vb).apply(null,arguments)},bd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(bd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.wb).apply(null,arguments)},cd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=
function(){return(cd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.xb).apply(null,arguments)},dd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(dd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.yb).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(ed=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.zb).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(fd=a._emscripten_enum_draco_DataType_DT_UINT8=
a.asm.Ab).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(gd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Bb).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(hd=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Cb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Db).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT32=
function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Eb).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(kd=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Fb).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(ld=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Gb).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(md=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Hb).apply(null,
arguments)},nd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(nd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Ib).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(od=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Jb).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.Kb).apply(null,arguments)},qd=a._emscripten_enum_draco_StatusCode_OK=function(){return(qd=
a._emscripten_enum_draco_StatusCode_OK=a.asm.Lb).apply(null,arguments)},rd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(rd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Mb).apply(null,arguments)},sd=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(sd=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Nb).apply(null,arguments)},td=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(td=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
a.asm.Ob).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(ud=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Pb).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(vd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Qb).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Rb).apply(null,arguments)};var cb=a._malloc=function(){return(cb=a._malloc=a.asm.Sb).apply(null,arguments)};
a.callRuntimeCallbacks=D;var oa;ka=function b(){oa||Q();oa||(ka=b)};a.run=Q;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();Q();t.prototype=Object.create(t.prototype);t.prototype.constructor=t;t.prototype.__class__=t;t.__cache__={};a.WrapperObject=t;a.getCache=x;a.wrapPointer=E;a.castObject=function(b,c){return E(b.ptr,c)};a.NULL=E(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=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;
b=b+7&-8;r.pos+b>=r.size?(q(0<b),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]}};aa.prototype=Object.create(t.prototype);aa.prototype.constructor=aa;aa.prototype.__class__=aa;aa.__cache__={};a.VoidPtr=aa;aa.prototype.__destroy__=aa.prototype.__destroy__=function(){db(this.ptr)};T.prototype=Object.create(t.prototype);
T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.DecoderBuffer=T;T.prototype.Init=T.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=ta(b));c&&"object"===typeof c&&(c=c.ptr);eb(d,b,c)};T.prototype.__destroy__=T.prototype.__destroy__=function(){fb(this.ptr)};S.prototype=Object.create(t.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.AttributeTransformData=S;S.prototype.transform_type=S.prototype.transform_type=function(){return gb(this.ptr)};
S.prototype.__destroy__=S.prototype.__destroy__=function(){hb(this.ptr)};X.prototype=Object.create(t.prototype);X.prototype.constructor=X;X.prototype.__class__=X;X.__cache__={};a.GeometryAttribute=X;X.prototype.__destroy__=X.prototype.__destroy__=function(){ib(this.ptr)};w.prototype=Object.create(t.prototype);w.prototype.constructor=w;w.prototype.__class__=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 E(kb(this.ptr),S)};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=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=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)};H.prototype=Object.create(t.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.AttributeOctahedronTransform=H;H.prototype.InitFromAttribute=H.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);return!!yb(c,b)};H.prototype.quantization_bits=H.prototype.quantization_bits=function(){return zb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){Ab(this.ptr)};I.prototype=Object.create(t.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.PointCloud=I;I.prototype.num_attributes=I.prototype.num_attributes=function(){return Bb(this.ptr)};I.prototype.num_points=I.prototype.num_points=function(){return Cb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=
function(){Db(this.ptr)};G.prototype=Object.create(t.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.Mesh=G;G.prototype.num_faces=G.prototype.num_faces=function(){return Eb(this.ptr)};G.prototype.num_attributes=G.prototype.num_attributes=function(){return Fb(this.ptr)};G.prototype.num_points=G.prototype.num_points=function(){return Gb(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Hb(this.ptr)};U.prototype=Object.create(t.prototype);U.prototype.constructor=
U;U.prototype.__class__=U;U.__cache__={};a.Metadata=U;U.prototype.__destroy__=U.prototype.__destroy__=function(){Ib(this.ptr)};A.prototype=Object.create(t.prototype);A.prototype.constructor=A;A.prototype.__class__=A;A.__cache__={};a.Status=A;A.prototype.code=A.prototype.code=function(){return Jb(this.ptr)};A.prototype.ok=A.prototype.ok=function(){return!!Kb(this.ptr)};A.prototype.error_msg=A.prototype.error_msg=function(){return k(Lb(this.ptr))};A.prototype.__destroy__=A.prototype.__destroy__=function(){Mb(this.ptr)};
J.prototype=Object.create(t.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoFloat32Array=J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Nb(c,b)};J.prototype.size=J.prototype.size=function(){return Ob(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Pb(this.ptr)};K.prototype=Object.create(t.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoInt8Array=
K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Qb(c,b)};K.prototype.size=K.prototype.size=function(){return Rb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Sb(this.ptr)};L.prototype=Object.create(t.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoUInt8Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Tb(c,b)};
L.prototype.size=L.prototype.size=function(){return Ub(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){Vb(this.ptr)};M.prototype=Object.create(t.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoInt16Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Wb(c,b)};M.prototype.size=M.prototype.size=function(){return Xb(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){Yb(this.ptr)};
N.prototype=Object.create(t.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoUInt16Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Zb(c,b)};N.prototype.size=N.prototype.size=function(){return $b(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){ac(this.ptr)};O.prototype=Object.create(t.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoInt32Array=
O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return bc(c,b)};O.prototype.size=O.prototype.size=function(){return cc(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){dc(this.ptr)};P.prototype=Object.create(t.prototype);P.prototype.constructor=P;P.prototype.__class__=P;P.__cache__={};a.DracoUInt32Array=P;P.prototype.GetValue=P.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ec(c,b)};
P.prototype.size=P.prototype.size=function(){return fc(this.ptr)};P.prototype.__destroy__=P.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=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(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:ba(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:ba(c);d&&"object"===typeof d&&(d=d.ptr);jc(g,b,c,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:ba(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:ba(c);return k(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=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 k(nc(d,b,c))};y.prototype.__destroy__=
y.prototype.__destroy__=function(){oc(this.ptr)};h.prototype=Object.create(t.prototype);h.prototype.constructor=h;h.prototype.__class__=h;h.__cache__={};a.Decoder=h;h.prototype.DecodeArrayToPointCloud=h.prototype.DecodeArrayToPointCloud=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=ta(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return E(pc(g,b,c,d),A)};h.prototype.DecodeArrayToMesh=h.prototype.DecodeArrayToMesh=function(b,c,d){var g=this.ptr;r.prepare();
"object"==typeof b&&(b=ta(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return E(qc(g,b,c,d),A)};h.prototype.GetAttributeId=h.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)};h.prototype.GetAttributeIdByName=h.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);return sc(d,b,c)};h.prototype.GetAttributeIdByMetadataEntry=
h.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:ba(c);d=d&&"object"===typeof d?d.ptr:ba(d);return tc(g,b,c,d)};h.prototype.GetAttribute=h.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(uc(d,b,c),w)};h.prototype.GetAttributeByUniqueId=h.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(vc(d,b,c),w)};h.prototype.GetMetadata=h.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return E(wc(c,b),U)};h.prototype.GetAttributeMetadata=h.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(xc(d,b,c),U)};h.prototype.GetFaceFromMesh=h.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)};h.prototype.GetTriangleStripsFromMesh=h.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)};h.prototype.GetTrianglesUInt16Array=h.prototype.GetTrianglesUInt16Array=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)};h.prototype.GetTrianglesUInt32Array=h.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)};h.prototype.GetAttributeFloat=h.prototype.GetAttributeFloat=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!!Cc(g,b,c,d)};h.prototype.GetAttributeFloatForAllPoints=h.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)};h.prototype.GetAttributeIntForAllPoints=h.prototype.GetAttributeIntForAllPoints=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!!Ec(g,b,c,d)};h.prototype.GetAttributeInt8ForAllPoints=h.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)};h.prototype.GetAttributeUInt8ForAllPoints=h.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=d.ptr);return!!Gc(g,b,c,d)};h.prototype.GetAttributeInt16ForAllPoints=h.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)};h.prototype.GetAttributeUInt16ForAllPoints=h.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,d)};h.prototype.GetAttributeInt32ForAllPoints=h.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)};h.prototype.GetAttributeUInt32ForAllPoints=h.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)};h.prototype.GetAttributeDataArrayForAllPoints=h.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,v){var Y=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);v&&"object"===typeof v&&(v=v.ptr);return!!Lc(Y,b,c,d,g,v)};h.prototype.SkipAttributeTransform=h.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Mc(c,b)};h.prototype.GetEncodedGeometryType_Deprecated=h.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Nc(c,b)};h.prototype.DecodeBufferToPointCloud=h.prototype.DecodeBufferToPointCloud=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(Oc(d,b,c),A)};h.prototype.DecodeBufferToMesh=h.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(Pc(d,b,c),A)};h.prototype.__destroy__=h.prototype.__destroy__=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();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()}Da?b():sa.unshift(b)})();a.mainCallbacks=sa;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;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return p.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);

View File

@ -6,7 +6,7 @@
News
=======
Check out the [README](https://github.com/google/draco/blob/1.4.1/README.md)
Check out the [README](https://github.com/google/draco/blob/1.4.3/README.md)
file for news about this release.
Description

View File

@ -1,132 +1,117 @@
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(l){var n=0;return function(){return n<l.length?{done:!1,value:l[n++]}:{done:!0}}};$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}};$jscomp.makeIterator=function(l){var n="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];return n?n.call(l):$jscomp.arrayIterator(l)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<l.length;++n){var m=l[n];if(m&&m.Math==Math)return m}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,n,m){if(l==Array.prototype||l==Object.prototype)return l;l[n]=m.value;return l};$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$";
var $jscomp$lookupPolyfilledValue=function(l,n){var m=$jscomp.propertyToPolyfillSymbol[n];if(null==m)return l[n];m=l[m];return void 0!==m?m:l[n]};$jscomp.polyfill=function(l,n,m,q){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,n,m,q):$jscomp.polyfillUnisolated(l,n,m,q))};
$jscomp.polyfillUnisolated=function(l,n,m,q){m=$jscomp.global;l=l.split(".");for(q=0;q<l.length-1;q++){var h=l[q];if(!(h in m))return;m=m[h]}l=l[l.length-1];q=m[l];n=n(q);n!=q&&null!=n&&$jscomp.defineProperty(m,l,{configurable:!0,writable:!0,value:n})};
$jscomp.polyfillIsolated=function(l,n,m,q){var h=l.split(".");l=1===h.length;q=h[0];q=!l&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var A=0;A<h.length-1;A++){var g=h[A];if(!(g in q))return;q=q[g]}h=h[h.length-1];m=$jscomp.IS_SYMBOL_NATIVE&&"es6"===m?q[h]:null;n=n(m);null!=n&&(l?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:n}):n!==m&&($jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+h,h=
$jscomp.propertyToPolyfillSymbol[h],$jscomp.defineProperty(q,h,{configurable:!0,writable:!0,value:n})))};
$jscomp.polyfill("Promise",function(l){function n(){this.batch_=null}function m(g){return g instanceof h?g:new h(function(p,u){p(g)})}if(l&&(!($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 l;n.prototype.asyncExecute=function(g){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(g)};
var q=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(g){q(g,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var g=this.batch_;this.batch_=[];for(var p=0;p<g.length;++p){var u=g[p];g[p]=null;try{u()}catch(x){this.asyncThrow_(x)}}}this.batch_=null};n.prototype.asyncThrow_=function(g){this.asyncExecuteFunction(function(){throw g;})};var h=function(g){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var p=this.createResolveAndReject_();
try{g(p.resolve,p.reject)}catch(u){p.reject(u)}};h.prototype.createResolveAndReject_=function(){function g(x){return function(F){u||(u=!0,x.call(p,F))}}var p=this,u=!1;return{resolve:g(this.resolveTo_),reject:g(this.reject_)}};h.prototype.resolveTo_=function(g){if(g===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof h)this.settleSameAsPromise_(g);else{a:switch(typeof g){case "object":var p=null!=g;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(g):
this.fulfill_(g)}};h.prototype.resolveToNonPromiseObj_=function(g){var p=void 0;try{p=g.then}catch(u){this.reject_(u);return}"function"==typeof p?this.settleSameAsThenable_(p,g):this.fulfill_(g)};h.prototype.reject_=function(g){this.settle_(2,g)};h.prototype.fulfill_=function(g){this.settle_(1,g)};h.prototype.settle_=function(g,p){if(0!=this.state_)throw Error("Cannot settle("+g+", "+p+"): Promise already settled in state"+this.state_);this.state_=g;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};h.prototype.scheduleUnhandledRejectionCheck_=function(){var g=this;q(function(){if(g.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(g.result_)}},1)};h.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var g=$jscomp.global.CustomEvent,p=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):
"function"===typeof p?g=new p("unhandledrejection",{cancelable:!0}):(g=$jscomp.global.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.result_;return u(g)};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var g=0;g<this.onSettledCallbacks_.length;++g)A.asyncExecute(this.onSettledCallbacks_[g]);this.onSettledCallbacks_=null}};var A=new n;h.prototype.settleSameAsPromise_=function(g){var p=this.createResolveAndReject_();
g.callWhenSettled_(p.resolve,p.reject)};h.prototype.settleSameAsThenable_=function(g,p){var u=this.createResolveAndReject_();try{g.call(p,u.resolve,u.reject)}catch(x){u.reject(x)}};h.prototype.then=function(g,p){function u(G,Y){return"function"==typeof G?function(ba){try{x(G(ba))}catch(fa){F(fa)}}:Y}var x,F,ka=new h(function(G,Y){x=G;F=Y});this.callWhenSettled_(u(g,x),u(p,F));return ka};h.prototype.catch=function(g){return this.then(void 0,g)};h.prototype.callWhenSettled_=function(g,p){function u(){switch(x.state_){case 1:g(x.result_);
break;case 2:p(x.result_);break;default:throw Error("Unexpected state: "+x.state_);}}var x=this;null==this.onSettledCallbacks_?A.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};h.resolve=m;h.reject=function(g){return new h(function(p,u){u(g)})};h.race=function(g){return new h(function(p,u){for(var x=$jscomp.makeIterator(g),F=x.next();!F.done;F=x.next())m(F.value).callWhenSettled_(p,u)})};h.all=function(g){var p=$jscomp.makeIterator(g),u=p.next();return u.done?m([]):new h(function(x,
F){function ka(ba){return function(fa){G[ba]=fa;Y--;0==Y&&x(G)}}var G=[],Y=0;do G.push(void 0),Y++,m(u.value).callWhenSettled_(ka(G.length-1),F),u=p.next();while(!u.done)})};return h},"es6","es3");$jscomp.checkEs6ConformanceViaProxy=function(){try{var l={},n=Object.create(new $jscomp.global.Proxy(l,{get:function(m,q,h){return m==l&&"q"==q&&h==n}}));return!0===n.q}catch(m){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;
$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();$jscomp.owns=function(l,n){return Object.prototype.hasOwnProperty.call(l,n)};
$jscomp.polyfill("Array.prototype.copyWithin",function(l){function n(m){m=Number(m);return Infinity===m||-Infinity===m?m:m|0}return l?l:function(m,q,h){var A=this.length;m=n(m);q=n(q);h=void 0===h?A:n(h);m=0>m?Math.max(A+m,0):Math.min(m,A);q=0>q?Math.max(A+q,0):Math.min(q,A);h=0>h?Math.max(A+h,0):Math.min(h,A);if(m<q)for(;q<h;)q in this?this[m++]=this[q++]:(delete this[m++],q++);else for(h=Math.min(h,A+q-m),m+=h-q;h>q;)--h in this?this[--m]=this[h]:delete this[--m];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(l){return l?l: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");
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(m){var p=0;return function(){return p<m.length?{done:!1,value:m[p++]}:{done:!0}}};$jscomp.arrayIterator=function(m){return{next:$jscomp.arrayIteratorImpl(m)}};$jscomp.makeIterator=function(m){var p="undefined"!=typeof Symbol&&Symbol.iterator&&m[Symbol.iterator];return p?p.call(m):$jscomp.arrayIterator(m)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(m){m=["object"==typeof globalThis&&globalThis,m,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<m.length;++p){var l=m[p];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(m,p,l){if(m==Array.prototype||m==Object.prototype)return m;m[p]=l.value;return m};$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$";
var $jscomp$lookupPolyfilledValue=function(m,p){var l=$jscomp.propertyToPolyfillSymbol[p];if(null==l)return m[p];l=m[l];return void 0!==l?l:m[p]};$jscomp.polyfill=function(m,p,l,q){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(m,p,l,q):$jscomp.polyfillUnisolated(m,p,l,q))};
$jscomp.polyfillUnisolated=function(m,p,l,q){l=$jscomp.global;m=m.split(".");for(q=0;q<m.length-1;q++){var k=m[q];if(!(k in l))return;l=l[k]}m=m[m.length-1];q=l[m];p=p(q);p!=q&&null!=p&&$jscomp.defineProperty(l,m,{configurable:!0,writable:!0,value:p})};
$jscomp.polyfillIsolated=function(m,p,l,q){var k=m.split(".");m=1===k.length;q=k[0];q=!m&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var A=0;A<k.length-1;A++){var g=k[A];if(!(g in q))return;q=q[g]}k=k[k.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?q[k]:null;p=p(l);null!=p&&(m?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:p}):p!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+l+"$"+k),$jscomp.defineProperty(q,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:p})))};
$jscomp.polyfill("Promise",function(m){function p(){this.batch_=null}function l(g){return g instanceof k?g:new k(function(n,u){n(g)})}if(m&&(!($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 m;p.prototype.asyncExecute=function(g){if(null==this.batch_){this.batch_=[];var n=this;this.asyncExecuteFunction(function(){n.executeBatch_()})}this.batch_.push(g)};
var q=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(g){q(g,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var g=this.batch_;this.batch_=[];for(var n=0;n<g.length;++n){var u=g[n];g[n]=null;try{u()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};p.prototype.asyncThrow_=function(g){this.asyncExecuteFunction(function(){throw g;})};var k=function(g){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var n=this.createResolveAndReject_();
try{g(n.resolve,n.reject)}catch(u){n.reject(u)}};k.prototype.createResolveAndReject_=function(){function g(z){return function(P){u||(u=!0,z.call(n,P))}}var n=this,u=!1;return{resolve:g(this.resolveTo_),reject:g(this.reject_)}};k.prototype.resolveTo_=function(g){if(g===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof k)this.settleSameAsPromise_(g);else{a:switch(typeof g){case "object":var n=null!=g;break a;case "function":n=!0;break a;default:n=!1}n?this.resolveToNonPromiseObj_(g):
this.fulfill_(g)}};k.prototype.resolveToNonPromiseObj_=function(g){var n=void 0;try{n=g.then}catch(u){this.reject_(u);return}"function"==typeof n?this.settleSameAsThenable_(n,g):this.fulfill_(g)};k.prototype.reject_=function(g){this.settle_(2,g)};k.prototype.fulfill_=function(g){this.settle_(1,g)};k.prototype.settle_=function(g,n){if(0!=this.state_)throw Error("Cannot settle("+g+", "+n+"): Promise already settled in state"+this.state_);this.state_=g;this.result_=n;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var g=this;q(function(){if(g.notifyUnhandledRejection_()){var n=$jscomp.global.console;"undefined"!==typeof n&&n.error(g.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var g=$jscomp.global.CustomEvent,n=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):
"function"===typeof n?g=new n("unhandledrejection",{cancelable:!0}):(g=$jscomp.global.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.result_;return u(g)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var g=0;g<this.onSettledCallbacks_.length;++g)A.asyncExecute(this.onSettledCallbacks_[g]);this.onSettledCallbacks_=null}};var A=new p;k.prototype.settleSameAsPromise_=function(g){var n=this.createResolveAndReject_();
g.callWhenSettled_(n.resolve,n.reject)};k.prototype.settleSameAsThenable_=function(g,n){var u=this.createResolveAndReject_();try{g.call(n,u.resolve,u.reject)}catch(z){u.reject(z)}};k.prototype.then=function(g,n){function u(V,W){return"function"==typeof V?function(v){try{z(V(v))}catch(x){P(x)}}:W}var z,P,aa=new k(function(V,W){z=V;P=W});this.callWhenSettled_(u(g,z),u(n,P));return aa};k.prototype.catch=function(g){return this.then(void 0,g)};k.prototype.callWhenSettled_=function(g,n){function u(){switch(z.state_){case 1:g(z.result_);
break;case 2:n(z.result_);break;default:throw Error("Unexpected state: "+z.state_);}}var z=this;null==this.onSettledCallbacks_?A.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};k.resolve=l;k.reject=function(g){return new k(function(n,u){u(g)})};k.race=function(g){return new k(function(n,u){for(var z=$jscomp.makeIterator(g),P=z.next();!P.done;P=z.next())l(P.value).callWhenSettled_(n,u)})};k.all=function(g){var n=$jscomp.makeIterator(g),u=n.next();return u.done?l([]):new k(function(z,
P){function aa(v){return function(x){V[v]=x;W--;0==W&&z(V)}}var V=[],W=0;do V.push(void 0),W++,l(u.value).callWhenSettled_(aa(V.length-1),P),u=n.next();while(!u.done)})};return k},"es6","es3");
$jscomp.polyfill("Array.prototype.copyWithin",function(m){function p(l){l=Number(l);return Infinity===l||-Infinity===l?l:l|0}return m?m:function(l,q,k){var A=this.length;l=p(l);q=p(q);k=void 0===k?A:p(k);l=0>l?Math.max(A+l,0):Math.min(l,A);q=0>q?Math.max(A+q,0):Math.min(q,A);k=0>k?Math.max(A+k,0):Math.min(k,A);if(l<q)for(;q<k;)q in this?this[l++]=this[q++]:(delete this[l++],q++);else for(k=Math.min(k,A+q-l),l+=k-q;k>q;)--k in this?this[--l]=this[k]:delete this[--l];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(m){return m?m: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");
$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");
var DracoDecoderModule=function(){var l="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(l=l||__filename);return function(n){function m(e){return a.locateFile?a.locateFile(e,V):V+e}function q(e,b){e||u("Assertion failed: "+b)}function h(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.subarray&&Ea)return Ea.decode(e.subarray(b,c));for(d="";b<c;){var f=e[b++];if(f&128){var t=e[b++]&63;if(192==(f&224))d+=String.fromCharCode((f&
31)<<6|t);else{var ca=e[b++]&63;f=224==(f&240)?(f&15)<<12|t<<6|ca:(f&7)<<18|t<<12|ca<<6|e[b++]&63;65536>f?d+=String.fromCharCode(f):(f-=65536,d+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else d+=String.fromCharCode(f)}return d}function A(e,b){return e?h(la,e,b):""}function g(e,b){0<e%b&&(e+=b-e%b);return e}function p(e){ra=e;a.HEAP8=Z=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=H=new Int32Array(e);a.HEAPU8=la=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);
a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function u(e){if(a.onAbort)a.onAbort(e);e+="";ja(e);Fa=!0;e=new WebAssembly.RuntimeError("abort("+e+"). Build with -s ASSERTIONS=1 for more info.");va(e);throw e;}function x(e,b){return String.prototype.startsWith?e.startsWith(b):0===e.indexOf(b)}function F(){try{if(ma)return new Uint8Array(ma);if(sa)return sa(W);throw"both async and sync fetching of the wasm failed";}catch(e){u(e)}}function ka(){return ma||!ta&&!ha||"function"!==typeof fetch||
x(W,"file://")?Promise.resolve().then(F):fetch(W,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+W+"'";return e.arrayBuffer()}).catch(function(){return F()})}function G(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?wa.get(c)():wa.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function Y(e){this.excPtr=e;this.ptr=e-D.SIZE;this.set_type=function(b){H[this.ptr+D.TYPE_OFFSET>>2]=b};
this.get_type=function(){return H[this.ptr+D.TYPE_OFFSET>>2]};this.set_destructor=function(b){H[this.ptr+D.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return H[this.ptr+D.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){H[this.ptr+D.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Z[this.ptr+D.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Z[this.ptr+D.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Z[this.ptr+D.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=
Z[this.ptr+D.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){H[this.ptr+D.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=H[this.ptr+D.REFCOUNT_OFFSET>>2];H[this.ptr+D.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function ba(){return 0<ba.uncaught_exceptions}function fa(e){function b(){if(!ua&&(ua=!0,a.calledRun=!0,!Fa)){Ga=!0;G(Ha);G(Ia);Ja(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();
if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ka.unshift(a.postRun.shift());G(Ka)}}if(!(0<ia)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)La.unshift(a.preRun.shift());G(La);0<ia||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function v(){}function z(e){return(e||v).__cache__}function S(e,b){var c=z(b),d=c[e];if(d)return d;d=Object.create((b||
v).prototype);d.ptr=e;return c[e]=d}function da(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var f=0;f<e.length;++f){var t=e.charCodeAt(f);if(55296<=t&&57343>=t){var ca=e.charCodeAt(++f);t=65536+((t&1023)<<10)|ca&1023}if(127>=t){if(c>=d)break;b[c++]=t}else{if(2047>=t){if(c+1>=d)break;b[c++]=192|t>>6}else{if(65535>=
t){if(c+2>=d)break;b[c++]=224|t>>12}else{if(c+3>=d)break;b[c++]=240|t>>18;b[c++]=128|t>>12&63}b[c++]=128|t>>6&63}b[c++]=128|t&63}}b[c]=0}e=r.alloc(b,Z);r.copy(b,Z,e);return e}return e}function xa(e){if("object"===typeof e){var b=r.alloc(e,Z);r.copy(e,Z,b);return b}return e}function aa(){throw"cannot construct a VoidPtr, no constructor in IDL";}function T(){this.ptr=Ma();z(T)[this.ptr]=this}function R(){this.ptr=Na();z(R)[this.ptr]=this}function X(){this.ptr=Oa();z(X)[this.ptr]=this}function w(){this.ptr=
Pa();z(w)[this.ptr]=this}function C(){this.ptr=Qa();z(C)[this.ptr]=this}function I(){this.ptr=Ra();z(I)[this.ptr]=this}function J(){this.ptr=Sa();z(J)[this.ptr]=this}function E(){this.ptr=Ta();z(E)[this.ptr]=this}function U(){this.ptr=Ua();z(U)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL";}function K(){this.ptr=Va();z(K)[this.ptr]=this}function L(){this.ptr=Wa();z(L)[this.ptr]=this}function M(){this.ptr=Xa();z(M)[this.ptr]=this}function N(){this.ptr=Ya();z(N)[this.ptr]=
this}function O(){this.ptr=Za();z(O)[this.ptr]=this}function P(){this.ptr=$a();z(P)[this.ptr]=this}function Q(){this.ptr=ab();z(Q)[this.ptr]=this}function y(){this.ptr=bb();z(y)[this.ptr]=this}function k(){this.ptr=cb();z(k)[this.ptr]=this}n=n||{};var a="undefined"!==typeof n?n:{},Ja,va;a.ready=new Promise(function(e,b){Ja=e;va=b});var db=!1,eb=!1;a.onRuntimeInitialized=function(){db=!0;if(eb&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){eb=!0;if(db&&"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]&&4>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var na={},ea;for(ea in a)a.hasOwnProperty(ea)&&(na[ea]=a[ea]);var ta=!1,ha=!1,ya=!1,fb=!1;ta="object"===typeof window;ha="function"===typeof importScripts;ya="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;fb=!ta&&!ya&&!ha;var V="",za,
Aa;if(ya){V=ha?require("path").dirname(V)+"/":__dirname+"/";var Ba=function(e,b){za||(za=require("fs"));Aa||(Aa=require("path"));e=Aa.normalize(e);return za.readFileSync(e,b?null:"utf8")};var sa=function(e){e=Ba(e,!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(fb)"undefined"!=typeof read&&(Ba=function(e){return read(e)}),sa=function(e){if("function"===
typeof readbuffer)return new Uint8Array(readbuffer(e));e=read(e,"binary");q("object"===typeof e);return e},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ta||ha)ha?V=self.location.href:"undefined"!==typeof document&&document.currentScript&&(V=document.currentScript.src),l&&(V=l),V=0!==V.indexOf("blob:")?V.substr(0,V.lastIndexOf("/")+1):"",Ba=function(e){var b=new XMLHttpRequest;
b.open("GET",e,!1);b.send(null);return b.responseText},ha&&(sa=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var Ed=a.print||console.log.bind(console),ja=a.printErr||console.warn.bind(console);for(ea in na)na.hasOwnProperty(ea)&&(a[ea]=na[ea]);na=null;var ma;a.wasmBinary&&(ma=a.wasmBinary);"object"!==typeof WebAssembly&&u("no native wasm support detected");var oa,Fa=!1,Ea="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):
void 0;"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");var Z,la,H,gb=a.INITIAL_MEMORY||16777216;if(oa=a.wasmMemory?a.wasmMemory:new WebAssembly.Memory({initial:gb/65536,maximum:32768}))var ra=oa.buffer;gb=ra.byteLength;p(ra);var wa,La=[],Ha=[],Ia=[],Ka=[],Ga=!1,ia=0,Ca=null,pa=null;a.preloadedImages={};a.preloadedAudios={};var W="draco_decoder.wasm";x(W,"data:application/octet-stream;base64,")||(W=m(W));var D={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,
SIZE:16},qa={mappings:{},buffers:[null,[],[]],printChar:function(e,b){var c=qa.buffers[e];0===b||10===b?((1===e?Ed:ja)(h(c,0)),c.length=0):c.push(b)},varargs:void 0,get:function(){qa.varargs+=4;return H[qa.varargs-4>>2]},getStr:function(e){return A(e)},get64:function(e,b){return e}};Ha.push({func:function(){hb()}});var kb={__cxa_allocate_exception:function(e){return ib(e+D.SIZE)+D.SIZE},__cxa_throw:function(e,b,c){(new Y(e)).init(b,c);"uncaught_exception"in ba?ba.uncaught_exceptions++:ba.uncaught_exceptions=
1;throw e;},abort:function(){u()},array_bounds_check_error:function(e,b){throw"Array index "+e+" out of bounds: [0,"+b+")";},emscripten_memcpy_big:function(e,b,c){la.copyWithin(e,b,b+c)},emscripten_resize_heap:function(e){e>>>=0;var b=la.length;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);d=Math.min(2147483648,g(Math.max(16777216,e,d),65536));a:{try{oa.grow(d-ra.byteLength+65535>>>16);p(oa.buffer);var f=1;break a}catch(t){}f=void 0}if(f)return!0}return!1},
fd_close:function(e){return 0},fd_seek:function(e,b,c,d,f){},fd_write:function(e,b,c,d){for(var f=0,t=0;t<c;t++){for(var ca=H[b+8*t>>2],jb=H[b+(8*t+4)>>2],Da=0;Da<jb;Da++)qa.printChar(e,la[ca+Da]);f+=jb}H[d>>2]=f;return 0},memory:oa,setTempRet0:function(e){}};(function(){function e(f,t){a.asm=f.exports;wa=a.asm.__indirect_function_table;ia--;a.monitorRunDependencies&&a.monitorRunDependencies(ia);0==ia&&(null!==Ca&&(clearInterval(Ca),Ca=null),pa&&(f=pa,pa=null,f()))}function b(f){e(f.instance)}function c(f){return ka().then(function(t){return WebAssembly.instantiate(t,
d)}).then(f,function(t){ja("failed to asynchronously prepare wasm: "+t);u(t)})}var d={env:kb,wasi_snapshot_preview1:kb};ia++;a.monitorRunDependencies&&a.monitorRunDependencies(ia);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(f){return ja("Module.instantiateWasm callback failed with error: "+f),!1}(function(){return ma||"function"!==typeof WebAssembly.instantiateStreaming||x(W,"data:application/octet-stream;base64,")||x(W,"file://")||"function"!==typeof fetch?c(b):fetch(W,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,
d).then(b,function(t){ja("wasm streaming compile failed: "+t);ja("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(va);return{}})();var hb=a.___wasm_call_ctors=function(){return(hb=a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)};a.___em_js__array_bounds_check_error=function(){return(a.___em_js__array_bounds_check_error=a.asm.__em_js__array_bounds_check_error).apply(null,arguments)};var lb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(lb=a._emscripten_bind_VoidPtr___destroy___0=
a.asm.emscripten_bind_VoidPtr___destroy___0).apply(null,arguments)},Ma=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ma=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.emscripten_bind_DecoderBuffer_DecoderBuffer_0).apply(null,arguments)},mb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(mb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.emscripten_bind_DecoderBuffer_Init_2).apply(null,arguments)},nb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(nb=
a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.emscripten_bind_DecoderBuffer___destroy___0).apply(null,arguments)},Na=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Na=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.emscripten_bind_AttributeTransformData_AttributeTransformData_0).apply(null,arguments)},ob=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(ob=a._emscripten_bind_AttributeTransformData_transform_type_0=
a.asm.emscripten_bind_AttributeTransformData_transform_type_0).apply(null,arguments)},pb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(pb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.emscripten_bind_AttributeTransformData___destroy___0).apply(null,arguments)},Oa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Oa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0).apply(null,
arguments)},qb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(qb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.emscripten_bind_GeometryAttribute___destroy___0).apply(null,arguments)},Pa=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Pa=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.emscripten_bind_PointAttribute_PointAttribute_0).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_size_0=function(){return(rb=a._emscripten_bind_PointAttribute_size_0=
a.asm.emscripten_bind_PointAttribute_size_0).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(sb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.emscripten_bind_PointAttribute_GetAttributeTransformData_0).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(tb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.emscripten_bind_PointAttribute_attribute_type_0).apply(null,arguments)},
ub=a._emscripten_bind_PointAttribute_data_type_0=function(){return(ub=a._emscripten_bind_PointAttribute_data_type_0=a.asm.emscripten_bind_PointAttribute_data_type_0).apply(null,arguments)},vb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(vb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.emscripten_bind_PointAttribute_num_components_0).apply(null,arguments)},wb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(wb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.emscripten_bind_PointAttribute_normalized_0).apply(null,arguments)},xb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(xb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.emscripten_bind_PointAttribute_byte_stride_0).apply(null,arguments)},yb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(yb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.emscripten_bind_PointAttribute_byte_offset_0).apply(null,arguments)},zb=a._emscripten_bind_PointAttribute_unique_id_0=
function(){return(zb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.emscripten_bind_PointAttribute_unique_id_0).apply(null,arguments)},Ab=a._emscripten_bind_PointAttribute___destroy___0=function(){return(Ab=a._emscripten_bind_PointAttribute___destroy___0=a.asm.emscripten_bind_PointAttribute___destroy___0).apply(null,arguments)},Qa=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Qa=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=
a.asm.emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0).apply(null,arguments)},Bb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(Bb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1).apply(null,arguments)},Cb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(Cb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=
a.asm.emscripten_bind_AttributeQuantizationTransform_quantization_bits_0).apply(null,arguments)},Db=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(Db=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.emscripten_bind_AttributeQuantizationTransform_min_value_1).apply(null,arguments)},Eb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Eb=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.emscripten_bind_AttributeQuantizationTransform_range_0).apply(null,
arguments)},Fb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Fb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.emscripten_bind_AttributeQuantizationTransform___destroy___0).apply(null,arguments)},Ra=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ra=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0).apply(null,
arguments)},Gb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Gb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1).apply(null,arguments)},Hb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Hb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.emscripten_bind_AttributeOctahedronTransform_quantization_bits_0).apply(null,
arguments)},Ib=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Ib=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.emscripten_bind_AttributeOctahedronTransform___destroy___0).apply(null,arguments)},Sa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Sa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.emscripten_bind_PointCloud_PointCloud_0).apply(null,arguments)},Jb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Jb=a._emscripten_bind_PointCloud_num_attributes_0=
a.asm.emscripten_bind_PointCloud_num_attributes_0).apply(null,arguments)},Kb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Kb=a._emscripten_bind_PointCloud_num_points_0=a.asm.emscripten_bind_PointCloud_num_points_0).apply(null,arguments)},Lb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Lb=a._emscripten_bind_PointCloud___destroy___0=a.asm.emscripten_bind_PointCloud___destroy___0).apply(null,arguments)},Ta=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ta=a._emscripten_bind_Mesh_Mesh_0=
a.asm.emscripten_bind_Mesh_Mesh_0).apply(null,arguments)},Mb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Mb=a._emscripten_bind_Mesh_num_faces_0=a.asm.emscripten_bind_Mesh_num_faces_0).apply(null,arguments)},Nb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Nb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.emscripten_bind_Mesh_num_attributes_0).apply(null,arguments)},Ob=a._emscripten_bind_Mesh_num_points_0=function(){return(Ob=a._emscripten_bind_Mesh_num_points_0=a.asm.emscripten_bind_Mesh_num_points_0).apply(null,
arguments)},Pb=a._emscripten_bind_Mesh___destroy___0=function(){return(Pb=a._emscripten_bind_Mesh___destroy___0=a.asm.emscripten_bind_Mesh___destroy___0).apply(null,arguments)},Ua=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ua=a._emscripten_bind_Metadata_Metadata_0=a.asm.emscripten_bind_Metadata_Metadata_0).apply(null,arguments)},Qb=a._emscripten_bind_Metadata___destroy___0=function(){return(Qb=a._emscripten_bind_Metadata___destroy___0=a.asm.emscripten_bind_Metadata___destroy___0).apply(null,
arguments)},Rb=a._emscripten_bind_Status_code_0=function(){return(Rb=a._emscripten_bind_Status_code_0=a.asm.emscripten_bind_Status_code_0).apply(null,arguments)},Sb=a._emscripten_bind_Status_ok_0=function(){return(Sb=a._emscripten_bind_Status_ok_0=a.asm.emscripten_bind_Status_ok_0).apply(null,arguments)},Tb=a._emscripten_bind_Status_error_msg_0=function(){return(Tb=a._emscripten_bind_Status_error_msg_0=a.asm.emscripten_bind_Status_error_msg_0).apply(null,arguments)},Ub=a._emscripten_bind_Status___destroy___0=
function(){return(Ub=a._emscripten_bind_Status___destroy___0=a.asm.emscripten_bind_Status___destroy___0).apply(null,arguments)},Va=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Va=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.emscripten_bind_DracoFloat32Array_DracoFloat32Array_0).apply(null,arguments)},Vb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Vb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.emscripten_bind_DracoFloat32Array_GetValue_1).apply(null,
arguments)},Wb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Wb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.emscripten_bind_DracoFloat32Array_size_0).apply(null,arguments)},Xb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Xb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.emscripten_bind_DracoFloat32Array___destroy___0).apply(null,arguments)},Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Yb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.emscripten_bind_DracoInt8Array_GetValue_1).apply(null,arguments)},Zb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Zb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.emscripten_bind_DracoInt8Array_size_0).apply(null,arguments)},$b=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return($b=
a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.emscripten_bind_DracoInt8Array___destroy___0).apply(null,arguments)},Xa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Xa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.emscripten_bind_DracoUInt8Array_DracoUInt8Array_0).apply(null,arguments)},ac=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(ac=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.emscripten_bind_DracoUInt8Array_GetValue_1).apply(null,
arguments)},bc=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(bc=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.emscripten_bind_DracoUInt8Array_size_0).apply(null,arguments)},cc=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(cc=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.emscripten_bind_DracoUInt8Array___destroy___0).apply(null,arguments)},Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=
a.asm.emscripten_bind_DracoInt16Array_DracoInt16Array_0).apply(null,arguments)},dc=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(dc=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.emscripten_bind_DracoInt16Array_GetValue_1).apply(null,arguments)},ec=a._emscripten_bind_DracoInt16Array_size_0=function(){return(ec=a._emscripten_bind_DracoInt16Array_size_0=a.asm.emscripten_bind_DracoInt16Array_size_0).apply(null,arguments)},fc=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(fc=
a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.emscripten_bind_DracoInt16Array___destroy___0).apply(null,arguments)},Za=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Za=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.emscripten_bind_DracoUInt16Array_DracoUInt16Array_0).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(gc=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.emscripten_bind_DracoUInt16Array_GetValue_1).apply(null,
arguments)},hc=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(hc=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.emscripten_bind_DracoUInt16Array_size_0).apply(null,arguments)},ic=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ic=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.emscripten_bind_DracoUInt16Array___destroy___0).apply(null,arguments)},$a=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return($a=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
a.asm.emscripten_bind_DracoInt32Array_DracoInt32Array_0).apply(null,arguments)},jc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(jc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.emscripten_bind_DracoInt32Array_GetValue_1).apply(null,arguments)},kc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(kc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.emscripten_bind_DracoInt32Array_size_0).apply(null,arguments)},lc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(lc=
a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.emscripten_bind_DracoInt32Array___destroy___0).apply(null,arguments)},ab=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(ab=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.emscripten_bind_DracoUInt32Array_DracoUInt32Array_0).apply(null,arguments)},mc=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(mc=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.emscripten_bind_DracoUInt32Array_GetValue_1).apply(null,
arguments)},nc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(nc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.emscripten_bind_DracoUInt32Array_size_0).apply(null,arguments)},oc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(oc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.emscripten_bind_DracoUInt32Array___destroy___0).apply(null,arguments)},bb=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(bb=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=
a.asm.emscripten_bind_MetadataQuerier_MetadataQuerier_0).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(pc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.emscripten_bind_MetadataQuerier_HasEntry_2).apply(null,arguments)},qc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(qc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetIntEntry_2).apply(null,arguments)},rc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
function(){return(rc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.emscripten_bind_MetadataQuerier_GetIntEntryArray_3).apply(null,arguments)},sc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(sc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetDoubleEntry_2).apply(null,arguments)},tc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(tc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetStringEntry_2).apply(null,
arguments)},uc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(uc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.emscripten_bind_MetadataQuerier_NumEntries_1).apply(null,arguments)},vc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(vc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.emscripten_bind_MetadataQuerier_GetEntryName_2).apply(null,arguments)},wc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(wc=a._emscripten_bind_MetadataQuerier___destroy___0=
a.asm.emscripten_bind_MetadataQuerier___destroy___0).apply(null,arguments)},cb=a._emscripten_bind_Decoder_Decoder_0=function(){return(cb=a._emscripten_bind_Decoder_Decoder_0=a.asm.emscripten_bind_Decoder_Decoder_0).apply(null,arguments)},xc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(xc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.emscripten_bind_Decoder_DecodeArrayToPointCloud_3).apply(null,arguments)},yc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(yc=
a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.emscripten_bind_Decoder_DecodeArrayToMesh_3).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.emscripten_bind_Decoder_GetAttributeId_2).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(Ac=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.emscripten_bind_Decoder_GetAttributeIdByName_2).apply(null,arguments)},
Bc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(Cc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.emscripten_bind_Decoder_GetAttribute_2).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(Dc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=
a.asm.emscripten_bind_Decoder_GetAttributeByUniqueId_2).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(Ec=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.emscripten_bind_Decoder_GetMetadata_1).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Fc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.emscripten_bind_Decoder_GetAttributeMetadata_2).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=
function(){return(Gc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.emscripten_bind_Decoder_GetFaceFromMesh_3).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(Hc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.emscripten_bind_Decoder_GetTriangleStripsFromMesh_2).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ic=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt16Array_3).apply(null,
arguments)},Jc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Jc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt32Array_3).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.emscripten_bind_Decoder_GetAttributeFloat_3).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeIntForAllPoints_3).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Nc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3).apply(null,
arguments)},Oc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Oc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Pc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
function(){return(Qc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3).apply(null,arguments)},Rc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Rc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3).apply(null,arguments)},Sc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Sc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3).apply(null,arguments)},Tc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Tc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5).apply(null,arguments)},Uc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Uc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.emscripten_bind_Decoder_SkipAttributeTransform_1).apply(null,
arguments)},Vc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Vc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1).apply(null,arguments)},Wc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Wc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.emscripten_bind_Decoder_DecodeBufferToPointCloud_2).apply(null,arguments)},Xc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=
function(){return(Xc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.emscripten_bind_Decoder_DecodeBufferToMesh_2).apply(null,arguments)},Yc=a._emscripten_bind_Decoder___destroy___0=function(){return(Yc=a._emscripten_bind_Decoder___destroy___0=a.asm.emscripten_bind_Decoder___destroy___0).apply(null,arguments)},Zc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Zc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM).apply(null,
arguments)},$c=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return($c=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM).apply(null,arguments)},ad=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(ad=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM).apply(null,
arguments)},bd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(bd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM).apply(null,arguments)},cd=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(cd=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID).apply(null,
arguments)},dd=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(dd=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION).apply(null,arguments)},ed=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(ed=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL).apply(null,arguments)},fd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=
function(){return(fd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR).apply(null,arguments)},gd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(gd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD).apply(null,arguments)},hd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(hd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC).apply(null,arguments)},id=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(id=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE).apply(null,arguments)},jd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(jd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD).apply(null,
arguments)},kd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(kd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(ld=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.emscripten_enum_draco_DataType_DT_INVALID).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(md=a._emscripten_enum_draco_DataType_DT_INT8=
a.asm.emscripten_enum_draco_DataType_DT_INT8).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(nd=a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.emscripten_enum_draco_DataType_DT_UINT8).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(od=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.emscripten_enum_draco_DataType_DT_INT16).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(pd=a._emscripten_enum_draco_DataType_DT_UINT16=
a.asm.emscripten_enum_draco_DataType_DT_UINT16).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(qd=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.emscripten_enum_draco_DataType_DT_INT32).apply(null,arguments)},rd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return(rd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.emscripten_enum_draco_DataType_DT_UINT32).apply(null,arguments)},sd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(sd=
a._emscripten_enum_draco_DataType_DT_INT64=a.asm.emscripten_enum_draco_DataType_DT_INT64).apply(null,arguments)},td=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(td=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.emscripten_enum_draco_DataType_DT_UINT64).apply(null,arguments)},ud=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(ud=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.emscripten_enum_draco_DataType_DT_FLOAT32).apply(null,arguments)},vd=a._emscripten_enum_draco_DataType_DT_FLOAT64=
function(){return(vd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.emscripten_enum_draco_DataType_DT_FLOAT64).apply(null,arguments)},wd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(wd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.emscripten_enum_draco_DataType_DT_BOOL).apply(null,arguments)},xd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(xd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.emscripten_enum_draco_DataType_DT_TYPES_COUNT).apply(null,
arguments)},yd=a._emscripten_enum_draco_StatusCode_OK=function(){return(yd=a._emscripten_enum_draco_StatusCode_OK=a.asm.emscripten_enum_draco_StatusCode_OK).apply(null,arguments)},zd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(zd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.emscripten_enum_draco_StatusCode_DRACO_ERROR).apply(null,arguments)},Ad=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(Ad=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.emscripten_enum_draco_StatusCode_IO_ERROR).apply(null,
arguments)},Bd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(Bd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=a.asm.emscripten_enum_draco_StatusCode_INVALID_PARAMETER).apply(null,arguments)},Cd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(Cd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION).apply(null,arguments)},Dd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(Dd=
a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNKNOWN_VERSION).apply(null,arguments)};a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)};a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)};a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)};a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)};a._setThrew=
function(){return(a._setThrew=a.asm.setThrew).apply(null,arguments)};a._free=function(){return(a._free=a.asm.free).apply(null,arguments)};var ib=a._malloc=function(){return(ib=a._malloc=a.asm.malloc).apply(null,arguments)};a.dynCall_jiji=function(){return(a.dynCall_jiji=a.asm.dynCall_jiji).apply(null,arguments)};var ua;pa=function b(){ua||fa();ua||(pa=b)};a.run=fa;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();fa();v.prototype=Object.create(v.prototype);
v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.WrapperObject=v;a.getCache=z;a.wrapPointer=S;a.castObject=function(b,c){return S(b.ptr,c)};a.NULL=S(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete z(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=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(q(0<b),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 f=0;f<b.length;f++)c[d+
f]=b[f]}};aa.prototype=Object.create(v.prototype);aa.prototype.constructor=aa;aa.prototype.__class__=aa;aa.__cache__={};a.VoidPtr=aa;aa.prototype.__destroy__=aa.prototype.__destroy__=function(){lb(this.ptr)};T.prototype=Object.create(v.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.DecoderBuffer=T;T.prototype.Init=T.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=xa(b));c&&"object"===typeof c&&(c=c.ptr);mb(d,b,c)};T.prototype.__destroy__=
T.prototype.__destroy__=function(){nb(this.ptr)};R.prototype=Object.create(v.prototype);R.prototype.constructor=R;R.prototype.__class__=R;R.__cache__={};a.AttributeTransformData=R;R.prototype.transform_type=R.prototype.transform_type=function(){return ob(this.ptr)};R.prototype.__destroy__=R.prototype.__destroy__=function(){pb(this.ptr)};X.prototype=Object.create(v.prototype);X.prototype.constructor=X;X.prototype.__class__=X;X.__cache__={};a.GeometryAttribute=X;X.prototype.__destroy__=X.prototype.__destroy__=
function(){qb(this.ptr)};w.prototype=Object.create(v.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return rb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=function(){return S(sb(this.ptr),R)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return tb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return ub(this.ptr)};w.prototype.num_components=
w.prototype.num_components=function(){return vb(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!wb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return xb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return yb(this.ptr)};w.prototype.unique_id=w.prototype.unique_id=function(){return zb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){Ab(this.ptr)};C.prototype=Object.create(v.prototype);C.prototype.constructor=
C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!Bb(c,b)};C.prototype.quantization_bits=C.prototype.quantization_bits=function(){return Cb(this.ptr)};C.prototype.min_value=C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Db(c,b)};C.prototype.range=C.prototype.range=function(){return Eb(this.ptr)};C.prototype.__destroy__=
C.prototype.__destroy__=function(){Fb(this.ptr)};I.prototype=Object.create(v.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.AttributeOctahedronTransform=I;I.prototype.InitFromAttribute=I.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!Gb(c,b)};I.prototype.quantization_bits=I.prototype.quantization_bits=function(){return Hb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Ib(this.ptr)};J.prototype=
Object.create(v.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.PointCloud=J;J.prototype.num_attributes=J.prototype.num_attributes=function(){return Jb(this.ptr)};J.prototype.num_points=J.prototype.num_points=function(){return Kb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Lb(this.ptr)};E.prototype=Object.create(v.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=
function(){return Mb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return Nb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return Ob(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Pb(this.ptr)};U.prototype=Object.create(v.prototype);U.prototype.constructor=U;U.prototype.__class__=U;U.__cache__={};a.Metadata=U;U.prototype.__destroy__=U.prototype.__destroy__=function(){Qb(this.ptr)};B.prototype=Object.create(v.prototype);B.prototype.constructor=
B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Rb(this.ptr)};B.prototype.ok=B.prototype.ok=function(){return!!Sb(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return A(Tb(this.ptr))};B.prototype.__destroy__=B.prototype.__destroy__=function(){Ub(this.ptr)};K.prototype=Object.create(v.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoFloat32Array=K;K.prototype.GetValue=K.prototype.GetValue=
function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Vb(c,b)};K.prototype.size=K.prototype.size=function(){return Wb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Xb(this.ptr)};L.prototype=Object.create(v.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoInt8Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Yb(c,b)};L.prototype.size=L.prototype.size=function(){return Zb(this.ptr)};
L.prototype.__destroy__=L.prototype.__destroy__=function(){$b(this.ptr)};M.prototype=Object.create(v.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoUInt8Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ac(c,b)};M.prototype.size=M.prototype.size=function(){return bc(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){cc(this.ptr)};N.prototype=Object.create(v.prototype);N.prototype.constructor=
N;N.prototype.__class__=N;N.__cache__={};a.DracoInt16Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return dc(c,b)};N.prototype.size=N.prototype.size=function(){return ec(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){fc(this.ptr)};O.prototype=Object.create(v.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoUInt16Array=O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=
this.ptr;b&&"object"===typeof b&&(b=b.ptr);return gc(c,b)};O.prototype.size=O.prototype.size=function(){return hc(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){ic(this.ptr)};P.prototype=Object.create(v.prototype);P.prototype.constructor=P;P.prototype.__class__=P;P.__cache__={};a.DracoInt32Array=P;P.prototype.GetValue=P.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return jc(c,b)};P.prototype.size=P.prototype.size=function(){return kc(this.ptr)};
P.prototype.__destroy__=P.prototype.__destroy__=function(){lc(this.ptr)};Q.prototype=Object.create(v.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.DracoUInt32Array=Q;Q.prototype.GetValue=Q.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return mc(c,b)};Q.prototype.size=Q.prototype.size=function(){return nc(this.ptr)};Q.prototype.__destroy__=Q.prototype.__destroy__=function(){oc(this.ptr)};y.prototype=Object.create(v.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=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);return!!pc(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:da(c);return qc(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var f=this.ptr;
r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);d&&"object"===typeof d&&(d=d.ptr);rc(f,b,c,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:da(c);return sc(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:da(c);return A(tc(d,b,c))};
y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return uc(c,b)};y.prototype.GetEntryName=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 A(vc(d,b,c))};y.prototype.__destroy__=y.prototype.__destroy__=function(){wc(this.ptr)};k.prototype=Object.create(v.prototype);k.prototype.constructor=k;k.prototype.__class__=k;k.__cache__={};a.Decoder=k;k.prototype.DecodeArrayToPointCloud=
k.prototype.DecodeArrayToPointCloud=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=xa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return S(xc(f,b,c,d),B)};k.prototype.DecodeArrayToMesh=k.prototype.DecodeArrayToMesh=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=xa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return S(yc(f,b,c,d),B)};k.prototype.GetAttributeId=k.prototype.GetAttributeId=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)};k.prototype.GetAttributeIdByName=k.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);return Ac(d,b,c)};k.prototype.GetAttributeIdByMetadataEntry=k.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var f=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);d=d&&"object"===
typeof d?d.ptr:da(d);return Bc(f,b,c,d)};k.prototype.GetAttribute=k.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Cc(d,b,c),w)};k.prototype.GetAttributeByUniqueId=k.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Dc(d,b,c),w)};k.prototype.GetMetadata=k.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=
b.ptr);return S(Ec(c,b),U)};k.prototype.GetAttributeMetadata=k.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Fc(d,b,c),U)};k.prototype.GetFaceFromMesh=k.prototype.GetFaceFromMesh=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(f,b,c,d)};k.prototype.GetTriangleStripsFromMesh=k.prototype.GetTriangleStripsFromMesh=function(b,
c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Hc(d,b,c)};k.prototype.GetTrianglesUInt16Array=k.prototype.GetTrianglesUInt16Array=function(b,c,d){var f=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(f,b,c,d)};k.prototype.GetTrianglesUInt32Array=k.prototype.GetTrianglesUInt32Array=function(b,c,d){var f=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(f,b,c,d)};k.prototype.GetAttributeFloat=k.prototype.GetAttributeFloat=function(b,c,d){var f=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(f,b,c,d)};k.prototype.GetAttributeFloatForAllPoints=k.prototype.GetAttributeFloatForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Lc(f,b,
c,d)};k.prototype.GetAttributeIntForAllPoints=k.prototype.GetAttributeIntForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Mc(f,b,c,d)};k.prototype.GetAttributeInt8ForAllPoints=k.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Nc(f,b,c,d)};k.prototype.GetAttributeUInt8ForAllPoints=
k.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Oc(f,b,c,d)};k.prototype.GetAttributeInt16ForAllPoints=k.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Pc(f,b,c,d)};k.prototype.GetAttributeUInt16ForAllPoints=k.prototype.GetAttributeUInt16ForAllPoints=
function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Qc(f,b,c,d)};k.prototype.GetAttributeInt32ForAllPoints=k.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Rc(f,b,c,d)};k.prototype.GetAttributeUInt32ForAllPoints=k.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var f=this.ptr;
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Sc(f,b,c,d)};k.prototype.GetAttributeDataArrayForAllPoints=k.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,f,t){var ca=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);f&&"object"===typeof f&&(f=f.ptr);t&&"object"===typeof t&&(t=t.ptr);return!!Tc(ca,b,c,d,f,t)};k.prototype.SkipAttributeTransform=k.prototype.SkipAttributeTransform=
function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Uc(c,b)};k.prototype.GetEncodedGeometryType_Deprecated=k.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Vc(c,b)};k.prototype.DecodeBufferToPointCloud=k.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Wc(d,b,c),B)};k.prototype.DecodeBufferToMesh=k.prototype.DecodeBufferToMesh=function(b,
c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Xc(d,b,c),B)};k.prototype.__destroy__=k.prototype.__destroy__=function(){Yc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Zc();a.ATTRIBUTE_NO_TRANSFORM=$c();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=ad();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=bd();a.INVALID=cd();a.POSITION=dd();a.NORMAL=ed();a.COLOR=fd();a.TEX_COORD=gd();a.GENERIC=hd();a.INVALID_GEOMETRY_TYPE=id();a.POINT_CLOUD=jd();a.TRIANGULAR_MESH=
kd();a.DT_INVALID=ld();a.DT_INT8=md();a.DT_UINT8=nd();a.DT_INT16=od();a.DT_UINT16=pd();a.DT_INT32=qd();a.DT_UINT32=rd();a.DT_INT64=sd();a.DT_UINT64=td();a.DT_FLOAT32=ud();a.DT_FLOAT64=vd();a.DT_BOOL=wd();a.DT_TYPES_COUNT=xd();a.OK=yd();a.DRACO_ERROR=zd();a.IO_ERROR=Ad();a.INVALID_PARAMETER=Bd();a.UNSUPPORTED_VERSION=Cd();a.UNKNOWN_VERSION=Dd()}Ga?b():Ia.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;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return n.ready}}();
var DracoDecoderModule=function(){var m="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(m=m||__filename);return function(p){function l(e){return a.locateFile?a.locateFile(e,X):X+e}function q(e,b){e||n("Assertion failed: "+b)}function k(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.subarray&&Da)return Da.decode(e.subarray(b,c));for(d="";b<c;){var f=e[b++];if(f&128){var t=e[b++]&63;if(192==(f&224))d+=String.fromCharCode((f&
31)<<6|t);else{var Y=e[b++]&63;f=224==(f&240)?(f&15)<<12|t<<6|Y:(f&7)<<18|t<<12|Y<<6|e[b++]&63;65536>f?d+=String.fromCharCode(f):(f-=65536,d+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else d+=String.fromCharCode(f)}return d}function A(e,b){return e?k(ja,e,b):""}function g(e){Ea=e;a.HEAP8=ba=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=F=new Int32Array(e);a.HEAPU8=ja=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}
function n(e){if(a.onAbort)a.onAbort(e);e+="";ia(e);Fa=!0;e=new WebAssembly.RuntimeError("abort("+e+"). Build with -s ASSERTIONS=1 for more info.");sa(e);throw e;}function u(e,b){return String.prototype.startsWith?e.startsWith(b):0===e.indexOf(b)}function z(e){try{if(e==Q&&ka)return new Uint8Array(ka);if(oa)return oa(e);throw"both async and sync fetching of the wasm failed";}catch(b){n(b)}}function P(){if(!ka&&(pa||fa)){if("function"===typeof fetch&&!u(Q,"file://"))return fetch(Q,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+
Q+"'";return e.arrayBuffer()}).catch(function(){return z(Q)});if(Ga)return new Promise(function(e,b){Ga(Q,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return z(Q)})}function aa(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?ta.get(c)():ta.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function V(e){this.excPtr=e;this.ptr=e-D.SIZE;this.set_type=function(b){F[this.ptr+D.TYPE_OFFSET>>2]=b};this.get_type=
function(){return F[this.ptr+D.TYPE_OFFSET>>2]};this.set_destructor=function(b){F[this.ptr+D.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return F[this.ptr+D.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){F[this.ptr+D.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){ba[this.ptr+D.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=ba[this.ptr+D.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){ba[this.ptr+D.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=
ba[this.ptr+D.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){F[this.ptr+D.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=F[this.ptr+D.REFCOUNT_OFFSET>>2];F[this.ptr+D.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function W(e){function b(){if(!qa&&(qa=!0,a.calledRun=!0,!Fa)){Ha=!0;aa(Ia);aa(ua);Ja(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==
typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ka.unshift(a.postRun.shift());aa(Ka)}}if(!(0<ha)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)La.unshift(a.preRun.shift());aa(La);0<ha||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function v(){}function x(e){return(e||v).__cache__}function S(e,b){var c=x(b),d=c[e];if(d)return d;d=Object.create((b||v).prototype);d.ptr=e;return c[e]=
d}function da(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var f=0;f<e.length;++f){var t=e.charCodeAt(f);if(55296<=t&&57343>=t){var Y=e.charCodeAt(++f);t=65536+((t&1023)<<10)|Y&1023}if(127>=t){if(c>=d)break;b[c++]=t}else{if(2047>=t){if(c+1>=d)break;b[c++]=192|t>>6}else{if(65535>=t){if(c+2>=d)break;b[c++]=224|
t>>12}else{if(c+3>=d)break;b[c++]=240|t>>18;b[c++]=128|t>>12&63}b[c++]=128|t>>6&63}b[c++]=128|t&63}}b[c]=0}e=r.alloc(b,ba);r.copy(b,ba,e);return e}return e}function va(e){if("object"===typeof e){var b=r.alloc(e,ba);r.copy(e,ba,b);return b}return e}function ca(){throw"cannot construct a VoidPtr, no constructor in IDL";}function T(){this.ptr=Ma();x(T)[this.ptr]=this}function R(){this.ptr=Na();x(R)[this.ptr]=this}function Z(){this.ptr=Oa();x(Z)[this.ptr]=this}function w(){this.ptr=Pa();x(w)[this.ptr]=
this}function C(){this.ptr=Qa();x(C)[this.ptr]=this}function G(){this.ptr=Ra();x(G)[this.ptr]=this}function H(){this.ptr=Sa();x(H)[this.ptr]=this}function E(){this.ptr=Ta();x(E)[this.ptr]=this}function U(){this.ptr=Ua();x(U)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL";}function I(){this.ptr=Va();x(I)[this.ptr]=this}function J(){this.ptr=Wa();x(J)[this.ptr]=this}function K(){this.ptr=Xa();x(K)[this.ptr]=this}function L(){this.ptr=Ya();x(L)[this.ptr]=this}function M(){this.ptr=
Za();x(M)[this.ptr]=this}function N(){this.ptr=$a();x(N)[this.ptr]=this}function O(){this.ptr=ab();x(O)[this.ptr]=this}function y(){this.ptr=bb();x(y)[this.ptr]=this}function h(){this.ptr=cb();x(h)[this.ptr]=this}p=p||{};var a="undefined"!==typeof p?p:{},Ja,sa;a.ready=new Promise(function(e,b){Ja=e;sa=b});var db=!1,eb=!1;a.onRuntimeInitialized=function(){db=!0;a.callRuntimeCallbacks(a.mainCallbacks);if(eb&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){eb=!0;
if(db&&"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]&&4>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var la={},ea;for(ea in a)a.hasOwnProperty(ea)&&(la[ea]=a[ea]);var pa=!1,fa=!1,wa=!1,fb=!1;pa="object"===typeof window;fa="function"===typeof importScripts;wa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;fb=!pa&&!wa&&
!fa;var X="",xa,ya;if(wa){X=fa?require("path").dirname(X)+"/":__dirname+"/";var za=function(e,b){xa||(xa=require("fs"));ya||(ya=require("path"));e=ya.normalize(e);return xa.readFileSync(e,b?null:"utf8")};var oa=function(e){e=za(e,!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(fb)"undefined"!=typeof read&&(za=function(e){return read(e)}),oa=function(e){if("function"===
typeof readbuffer)return new Uint8Array(readbuffer(e));e=read(e,"binary");q("object"===typeof e);return e},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(pa||fa){fa?X=self.location.href:"undefined"!==typeof document&&document.currentScript&&(X=document.currentScript.src);m&&(X=m);X=0!==X.indexOf("blob:")?X.substr(0,X.lastIndexOf("/")+1):"";za=function(e){var b=new XMLHttpRequest;
b.open("GET",e,!1);b.send(null);return b.responseText};fa&&(oa=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var Ga=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 Ad=a.print||console.log.bind(console),ia=a.printErr||console.warn.bind(console);for(ea in la)la.hasOwnProperty(ea)&&
(a[ea]=la[ea]);la=null;var ka;a.wasmBinary&&(ka=a.wasmBinary);"object"!==typeof WebAssembly&&n("no native wasm support detected");var ra,Fa=!1,Da="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0,Ea,ba,ja,F,ta,La=[],Ia=[],ua=[],Ka=[],Ha=!1,ha=0,Aa=null,ma=null;a.preloadedImages={};a.preloadedAudios={};var Q="draco_decoder.wasm";u(Q,"data:application/octet-stream;base64,")||(Q=l(Q));var D={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16},
Bd=0,na={mappings:{},buffers:[null,[],[]],printChar:function(e,b){var c=na.buffers[e];0===b||10===b?((1===e?Ad:ia)(k(c,0)),c.length=0):c.push(b)},varargs:void 0,get:function(){na.varargs+=4;return F[na.varargs-4>>2]},getStr:function(e){return A(e)},get64:function(e,b){return e}},Cd={h:function(e){return gb(e+D.SIZE)+D.SIZE},g:function(e,b,c){(new V(e)).init(b,c);Bd++;throw e;},a:function(){n()},d:function(e,b,c){ja.copyWithin(e,b,b+c)},e:function(e){var b=ja.length;e>>>=0;if(2147483648<e)return!1;
for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);var f=Math,t=f.min;d=Math.max(e,d);0<d%65536&&(d+=65536-d%65536);f=t.call(f,2147483648,d);a:{try{ra.grow(f-Ea.byteLength+65535>>>16);g(ra.buffer);var Y=1;break a}catch(Ba){}Y=void 0}if(Y)return!0}return!1},f:function(e){return 0},c:function(e,b,c,d,f){},b:function(e,b,c,d){for(var f=0,t=0;t<c;t++){for(var Y=F[b+8*t>>2],Ba=F[b+(8*t+4)>>2],Ca=0;Ca<Ba;Ca++)na.printChar(e,ja[Y+Ca]);f+=Ba}F[d>>2]=f;return 0}};(function(){function e(f,t){a.asm=
f.exports;ra=a.asm.i;g(ra.buffer);ta=a.asm.k;Ia.unshift(a.asm.j);ha--;a.monitorRunDependencies&&a.monitorRunDependencies(ha);0==ha&&(null!==Aa&&(clearInterval(Aa),Aa=null),ma&&(f=ma,ma=null,f()))}function b(f){e(f.instance)}function c(f){return P().then(function(t){return WebAssembly.instantiate(t,d)}).then(f,function(t){ia("failed to asynchronously prepare wasm: "+t);n(t)})}var d={a:Cd};ha++;a.monitorRunDependencies&&a.monitorRunDependencies(ha);if(a.instantiateWasm)try{return a.instantiateWasm(d,
e)}catch(f){return ia("Module.instantiateWasm callback failed with error: "+f),!1}(function(){return ka||"function"!==typeof WebAssembly.instantiateStreaming||u(Q,"data:application/octet-stream;base64,")||u(Q,"file://")||"function"!==typeof fetch?c(b):fetch(Q,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,d).then(b,function(t){ia("wasm streaming compile failed: "+t);ia("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(sa);return{}})();
a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.j).apply(null,arguments)};var hb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(hb=a._emscripten_bind_VoidPtr___destroy___0=a.asm.l).apply(null,arguments)},Ma=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ma=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.m).apply(null,arguments)},ib=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(ib=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.n).apply(null,
arguments)},jb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(jb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.o).apply(null,arguments)},Na=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Na=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.p).apply(null,arguments)},kb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(kb=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.q).apply(null,
arguments)},lb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(lb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.r).apply(null,arguments)},Oa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Oa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.s).apply(null,arguments)},mb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(mb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.t).apply(null,arguments)},
Pa=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Pa=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.u).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_size_0=function(){return(nb=a._emscripten_bind_PointAttribute_size_0=a.asm.v).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(ob=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.w).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_attribute_type_0=
function(){return(pb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.x).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(qb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.y).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(rb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.z).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(sb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.A).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(tb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.B).apply(null,arguments)},ub=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(ub=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.C).apply(null,arguments)},vb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(vb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.D).apply(null,arguments)},wb=a._emscripten_bind_PointAttribute___destroy___0=
function(){return(wb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.E).apply(null,arguments)},Qa=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Qa=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.F).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.G).apply(null,
arguments)},yb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(yb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.H).apply(null,arguments)},zb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(zb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.I).apply(null,arguments)},Ab=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Ab=a._emscripten_bind_AttributeQuantizationTransform_range_0=
a.asm.J).apply(null,arguments)},Bb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Bb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.K).apply(null,arguments)},Ra=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ra=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.L).apply(null,arguments)},Cb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=
function(){return(Cb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.M).apply(null,arguments)},Db=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Db=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.N).apply(null,arguments)},Eb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Eb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.O).apply(null,arguments)},Sa=a._emscripten_bind_PointCloud_PointCloud_0=
function(){return(Sa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.P).apply(null,arguments)},Fb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Fb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.Q).apply(null,arguments)},Gb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Gb=a._emscripten_bind_PointCloud_num_points_0=a.asm.R).apply(null,arguments)},Hb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Hb=a._emscripten_bind_PointCloud___destroy___0=a.asm.S).apply(null,
arguments)},Ta=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ta=a._emscripten_bind_Mesh_Mesh_0=a.asm.T).apply(null,arguments)},Ib=a._emscripten_bind_Mesh_num_faces_0=function(){return(Ib=a._emscripten_bind_Mesh_num_faces_0=a.asm.U).apply(null,arguments)},Jb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Jb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.V).apply(null,arguments)},Kb=a._emscripten_bind_Mesh_num_points_0=function(){return(Kb=a._emscripten_bind_Mesh_num_points_0=a.asm.W).apply(null,
arguments)},Lb=a._emscripten_bind_Mesh___destroy___0=function(){return(Lb=a._emscripten_bind_Mesh___destroy___0=a.asm.X).apply(null,arguments)},Ua=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ua=a._emscripten_bind_Metadata_Metadata_0=a.asm.Y).apply(null,arguments)},Mb=a._emscripten_bind_Metadata___destroy___0=function(){return(Mb=a._emscripten_bind_Metadata___destroy___0=a.asm.Z).apply(null,arguments)},Nb=a._emscripten_bind_Status_code_0=function(){return(Nb=a._emscripten_bind_Status_code_0=
a.asm._).apply(null,arguments)},Ob=a._emscripten_bind_Status_ok_0=function(){return(Ob=a._emscripten_bind_Status_ok_0=a.asm.$).apply(null,arguments)},Pb=a._emscripten_bind_Status_error_msg_0=function(){return(Pb=a._emscripten_bind_Status_error_msg_0=a.asm.aa).apply(null,arguments)},Qb=a._emscripten_bind_Status___destroy___0=function(){return(Qb=a._emscripten_bind_Status___destroy___0=a.asm.ba).apply(null,arguments)},Va=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Va=
a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.ca).apply(null,arguments)},Rb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Rb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.da).apply(null,arguments)},Sb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Sb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.ea).apply(null,arguments)},Tb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Tb=a._emscripten_bind_DracoFloat32Array___destroy___0=
a.asm.fa).apply(null,arguments)},Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.ga).apply(null,arguments)},Ub=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Ub=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ha).apply(null,arguments)},Vb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Vb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ia).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt8Array___destroy___0=
function(){return(Wb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.ja).apply(null,arguments)},Xa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Xa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ka).apply(null,arguments)},Xb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Xb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.la).apply(null,arguments)},Yb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Yb=a._emscripten_bind_DracoUInt8Array_size_0=
a.asm.ma).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Zb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.na).apply(null,arguments)},Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.oa).apply(null,arguments)},$b=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return($b=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.pa).apply(null,arguments)},ac=
a._emscripten_bind_DracoInt16Array_size_0=function(){return(ac=a._emscripten_bind_DracoInt16Array_size_0=a.asm.qa).apply(null,arguments)},bc=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(bc=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.ra).apply(null,arguments)},Za=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Za=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.sa).apply(null,arguments)},cc=a._emscripten_bind_DracoUInt16Array_GetValue_1=
function(){return(cc=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.ta).apply(null,arguments)},dc=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(dc=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ua).apply(null,arguments)},ec=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ec=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.va).apply(null,arguments)},$a=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return($a=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
a.asm.wa).apply(null,arguments)},fc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(fc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.xa).apply(null,arguments)},gc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(gc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.ya).apply(null,arguments)},hc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(hc=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.za).apply(null,arguments)},ab=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=
function(){return(ab=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.Aa).apply(null,arguments)},ic=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(ic=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.Ba).apply(null,arguments)},jc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(jc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.Ca).apply(null,arguments)},kc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(kc=a._emscripten_bind_DracoUInt32Array___destroy___0=
a.asm.Da).apply(null,arguments)},bb=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(bb=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Ea).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Fa).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(mc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Ga).apply(null,arguments)},nc=
a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(nc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.Ha).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(oc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ia).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(pc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ja).apply(null,arguments)},qc=a._emscripten_bind_MetadataQuerier_NumEntries_1=
function(){return(qc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ka).apply(null,arguments)},rc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(rc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.La).apply(null,arguments)},sc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(sc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ma).apply(null,arguments)},cb=a._emscripten_bind_Decoder_Decoder_0=function(){return(cb=a._emscripten_bind_Decoder_Decoder_0=
a.asm.Na).apply(null,arguments)},tc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(tc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Oa).apply(null,arguments)},uc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(uc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Pa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Qa).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=
function(){return(wc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.Ra).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Sa).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(yc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Ta).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=
a.asm.Ua).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(Ac=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Va).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Wa).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(Cc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Xa).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=
function(){return(Dc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Ya).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ec=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Za).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Fc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm._a).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Gc=
a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.$a).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.ab).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.bb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Jc=
a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.cb).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.db).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.eb).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.fb).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Nc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.gb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Oc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.hb).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=
function(){return(Pc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.ib).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Qc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.jb).apply(null,arguments)},Rc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Rc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.kb).apply(null,arguments)},Sc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=
function(){return(Sc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.lb).apply(null,arguments)},Tc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Tc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.mb).apply(null,arguments)},Uc=a._emscripten_bind_Decoder___destroy___0=function(){return(Uc=a._emscripten_bind_Decoder___destroy___0=a.asm.nb).apply(null,arguments)},Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
a.asm.ob).apply(null,arguments)},Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.pb).apply(null,arguments)},Xc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Xc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.qb).apply(null,arguments)},Yc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=
function(){return(Yc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.rb).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.sb).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.tb).apply(null,arguments)},ad=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=
function(){return(ad=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.ub).apply(null,arguments)},bd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(bd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.vb).apply(null,arguments)},cd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(cd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.wb).apply(null,arguments)},dd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
function(){return(dd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.xb).apply(null,arguments)},ed=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(ed=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.yb).apply(null,arguments)},fd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(fd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.zb).apply(null,arguments)},gd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=
function(){return(gd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Ab).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(hd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.Bb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.Cb).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT8=
a.asm.Db).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(kd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Eb).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(ld=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Fb).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(md=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Gb).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_UINT32=
function(){return(nd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Hb).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(od=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Ib).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(pd=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Jb).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(qd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Kb).apply(null,
arguments)},rd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(rd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Lb).apply(null,arguments)},sd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(sd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Mb).apply(null,arguments)},td=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(td=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.Nb).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_OK=function(){return(ud=
a._emscripten_enum_draco_StatusCode_OK=a.asm.Ob).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(vd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Pb).apply(null,arguments)},wd=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(wd=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Qb).apply(null,arguments)},xd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(xd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
a.asm.Rb).apply(null,arguments)},yd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(yd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Sb).apply(null,arguments)},zd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(zd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Tb).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Ub).apply(null,arguments)};var gb=a._malloc=function(){return(gb=a._malloc=a.asm.Vb).apply(null,arguments)};
a.callRuntimeCallbacks=aa;var qa;ma=function b(){qa||W();qa||(ma=b)};a.run=W;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();W();v.prototype=Object.create(v.prototype);v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.WrapperObject=v;a.getCache=x;a.wrapPointer=S;a.castObject=function(b,c){return S(b.ptr,c)};a.NULL=S(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=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;
b=b+7&-8;r.pos+b>=r.size?(q(0<b),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 f=0;f<b.length;f++)c[d+f]=b[f]}};ca.prototype=Object.create(v.prototype);ca.prototype.constructor=ca;ca.prototype.__class__=ca;ca.__cache__={};a.VoidPtr=ca;ca.prototype.__destroy__=ca.prototype.__destroy__=function(){hb(this.ptr)};T.prototype=Object.create(v.prototype);
T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.DecoderBuffer=T;T.prototype.Init=T.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);ib(d,b,c)};T.prototype.__destroy__=T.prototype.__destroy__=function(){jb(this.ptr)};R.prototype=Object.create(v.prototype);R.prototype.constructor=R;R.prototype.__class__=R;R.__cache__={};a.AttributeTransformData=R;R.prototype.transform_type=R.prototype.transform_type=function(){return kb(this.ptr)};
R.prototype.__destroy__=R.prototype.__destroy__=function(){lb(this.ptr)};Z.prototype=Object.create(v.prototype);Z.prototype.constructor=Z;Z.prototype.__class__=Z;Z.__cache__={};a.GeometryAttribute=Z;Z.prototype.__destroy__=Z.prototype.__destroy__=function(){mb(this.ptr)};w.prototype=Object.create(v.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return nb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=
function(){return S(ob(this.ptr),R)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return pb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return qb(this.ptr)};w.prototype.num_components=w.prototype.num_components=function(){return rb(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!sb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return tb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return ub(this.ptr)};
w.prototype.unique_id=w.prototype.unique_id=function(){return vb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){wb(this.ptr)};C.prototype=Object.create(v.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!xb(c,b)};C.prototype.quantization_bits=C.prototype.quantization_bits=function(){return yb(this.ptr)};
C.prototype.min_value=C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return zb(c,b)};C.prototype.range=C.prototype.range=function(){return Ab(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){Bb(this.ptr)};G.prototype=Object.create(v.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.AttributeOctahedronTransform=G;G.prototype.InitFromAttribute=G.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);return!!Cb(c,b)};G.prototype.quantization_bits=G.prototype.quantization_bits=function(){return Db(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Eb(this.ptr)};H.prototype=Object.create(v.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return Fb(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return Gb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=
function(){Hb(this.ptr)};E.prototype=Object.create(v.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return Ib(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return Jb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return Kb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Lb(this.ptr)};U.prototype=Object.create(v.prototype);U.prototype.constructor=
U;U.prototype.__class__=U;U.__cache__={};a.Metadata=U;U.prototype.__destroy__=U.prototype.__destroy__=function(){Mb(this.ptr)};B.prototype=Object.create(v.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Nb(this.ptr)};B.prototype.ok=B.prototype.ok=function(){return!!Ob(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return A(Pb(this.ptr))};B.prototype.__destroy__=B.prototype.__destroy__=function(){Qb(this.ptr)};
I.prototype=Object.create(v.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoFloat32Array=I;I.prototype.GetValue=I.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rb(c,b)};I.prototype.size=I.prototype.size=function(){return Sb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Tb(this.ptr)};J.prototype=Object.create(v.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoInt8Array=
J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Ub(c,b)};J.prototype.size=J.prototype.size=function(){return Vb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Wb(this.ptr)};K.prototype=Object.create(v.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoUInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Xb(c,b)};
K.prototype.size=K.prototype.size=function(){return Yb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Zb(this.ptr)};L.prototype=Object.create(v.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoInt16Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return $b(c,b)};L.prototype.size=L.prototype.size=function(){return ac(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){bc(this.ptr)};
M.prototype=Object.create(v.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoUInt16Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return cc(c,b)};M.prototype.size=M.prototype.size=function(){return dc(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){ec(this.ptr)};N.prototype=Object.create(v.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoInt32Array=
N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return fc(c,b)};N.prototype.size=N.prototype.size=function(){return gc(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){hc(this.ptr)};O.prototype=Object.create(v.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoUInt32Array=O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ic(c,b)};
O.prototype.size=O.prototype.size=function(){return jc(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){kc(this.ptr)};y.prototype=Object.create(v.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=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);return!!lc(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:da(c);return mc(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var f=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);d&&"object"===typeof d&&(d=d.ptr);nc(f,b,c,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:da(c);return oc(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:da(c);return A(pc(d,b,c))};y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return qc(c,b)};y.prototype.GetEntryName=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 A(rc(d,b,c))};y.prototype.__destroy__=
y.prototype.__destroy__=function(){sc(this.ptr)};h.prototype=Object.create(v.prototype);h.prototype.constructor=h;h.prototype.__class__=h;h.__cache__={};a.Decoder=h;h.prototype.DecodeArrayToPointCloud=h.prototype.DecodeArrayToPointCloud=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return S(tc(f,b,c,d),B)};h.prototype.DecodeArrayToMesh=h.prototype.DecodeArrayToMesh=function(b,c,d){var f=this.ptr;r.prepare();
"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return S(uc(f,b,c,d),B)};h.prototype.GetAttributeId=h.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return vc(d,b,c)};h.prototype.GetAttributeIdByName=h.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);return wc(d,b,c)};h.prototype.GetAttributeIdByMetadataEntry=
h.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var f=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:da(c);d=d&&"object"===typeof d?d.ptr:da(d);return xc(f,b,c,d)};h.prototype.GetAttribute=h.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(yc(d,b,c),w)};h.prototype.GetAttributeByUniqueId=h.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(zc(d,b,c),w)};h.prototype.GetMetadata=h.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return S(Ac(c,b),U)};h.prototype.GetAttributeMetadata=h.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Bc(d,b,c),U)};h.prototype.GetFaceFromMesh=h.prototype.GetFaceFromMesh=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(f,b,c,d)};h.prototype.GetTriangleStripsFromMesh=h.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Dc(d,b,c)};h.prototype.GetTrianglesUInt16Array=h.prototype.GetTrianglesUInt16Array=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ec(f,b,c,
d)};h.prototype.GetTrianglesUInt32Array=h.prototype.GetTrianglesUInt32Array=function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeFloat=h.prototype.GetAttributeFloat=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(f,b,c,d)};h.prototype.GetAttributeFloatForAllPoints=h.prototype.GetAttributeFloatForAllPoints=
function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeIntForAllPoints=h.prototype.GetAttributeIntForAllPoints=function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeInt8ForAllPoints=h.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeUInt8ForAllPoints=h.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var f=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(f,b,c,d)};h.prototype.GetAttributeInt16ForAllPoints=h.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=
b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Lc(f,b,c,d)};h.prototype.GetAttributeUInt16ForAllPoints=h.prototype.GetAttributeUInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Mc(f,b,c,d)};h.prototype.GetAttributeInt32ForAllPoints=h.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&
(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Nc(f,b,c,d)};h.prototype.GetAttributeUInt32ForAllPoints=h.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Oc(f,b,c,d)};h.prototype.GetAttributeDataArrayForAllPoints=h.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,f,t){var Y=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&
"object"===typeof d&&(d=d.ptr);f&&"object"===typeof f&&(f=f.ptr);t&&"object"===typeof t&&(t=t.ptr);return!!Pc(Y,b,c,d,f,t)};h.prototype.SkipAttributeTransform=h.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Qc(c,b)};h.prototype.GetEncodedGeometryType_Deprecated=h.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rc(c,b)};h.prototype.DecodeBufferToPointCloud=h.prototype.DecodeBufferToPointCloud=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Sc(d,b,c),B)};h.prototype.DecodeBufferToMesh=h.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return S(Tc(d,b,c),B)};h.prototype.__destroy__=h.prototype.__destroy__=function(){Uc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Vc();a.ATTRIBUTE_NO_TRANSFORM=Wc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Xc();
a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Yc();a.INVALID=Zc();a.POSITION=$c();a.NORMAL=ad();a.COLOR=bd();a.TEX_COORD=cd();a.GENERIC=dd();a.INVALID_GEOMETRY_TYPE=ed();a.POINT_CLOUD=fd();a.TRIANGULAR_MESH=gd();a.DT_INVALID=hd();a.DT_INT8=id();a.DT_UINT8=jd();a.DT_INT16=kd();a.DT_UINT16=ld();a.DT_INT32=md();a.DT_UINT32=nd();a.DT_INT64=od();a.DT_UINT64=pd();a.DT_FLOAT32=qd();a.DT_FLOAT64=rd();a.DT_BOOL=sd();a.DT_TYPES_COUNT=td();a.OK=ud();a.DRACO_ERROR=vd();a.IO_ERROR=wd();a.INVALID_PARAMETER=xd();a.UNSUPPORTED_VERSION=
yd();a.UNKNOWN_VERSION=zd()}Ha?b():ua.unshift(b)})();a.mainCallbacks=ua;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;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return p.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);

View File

@ -1,107 +1,97 @@
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(l){var p=0;return function(){return p<l.length?{done:!1,value:l[p++]}:{done:!0}}};$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}};$jscomp.makeIterator=function(l){var p="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];return p?p.call(l):$jscomp.arrayIterator(l)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<l.length;++p){var n=l[p];if(n&&n.Math==Math)return n}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,p,n){if(l==Array.prototype||l==Object.prototype)return l;l[p]=n.value;return l};$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$";
var $jscomp$lookupPolyfilledValue=function(l,p){var n=$jscomp.propertyToPolyfillSymbol[p];if(null==n)return l[p];n=l[n];return void 0!==n?n:l[p]};$jscomp.polyfill=function(l,p,n,r){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,p,n,r):$jscomp.polyfillUnisolated(l,p,n,r))};
$jscomp.polyfillUnisolated=function(l,p,n,r){n=$jscomp.global;l=l.split(".");for(r=0;r<l.length-1;r++){var k=l[r];if(!(k in n))return;n=n[k]}l=l[l.length-1];r=n[l];p=p(r);p!=r&&null!=p&&$jscomp.defineProperty(n,l,{configurable:!0,writable:!0,value:p})};
$jscomp.polyfillIsolated=function(l,p,n,r){var k=l.split(".");l=1===k.length;r=k[0];r=!l&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var C=0;C<k.length-1;C++){var h=k[C];if(!(h in r))return;r=r[h]}k=k[k.length-1];n=$jscomp.IS_SYMBOL_NATIVE&&"es6"===n?r[k]:null;p=p(n);null!=p&&(l?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:p}):p!==n&&($jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+k,k=
$jscomp.propertyToPolyfillSymbol[k],$jscomp.defineProperty(r,k,{configurable:!0,writable:!0,value:p})))};
$jscomp.polyfill("Promise",function(l){function p(){this.batch_=null}function n(h){return h instanceof k?h:new k(function(q,v){q(h)})}if(l&&(!($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 l;p.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(h)};
var r=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(h){r(h,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var q=0;q<h.length;++q){var v=h[q];h[q]=null;try{v()}catch(B){this.asyncThrow_(B)}}}this.batch_=null};p.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var k=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_();
try{h(q.resolve,q.reject)}catch(v){q.reject(v)}};k.prototype.createResolveAndReject_=function(){function h(B){return function(G){v||(v=!0,B.call(q,G))}}var q=this,v=!1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};k.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof k)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var q=null!=h;break a;case "function":q=!0;break a;default:q=!1}q?this.resolveToNonPromiseObj_(h):
this.fulfill_(h)}};k.prototype.resolveToNonPromiseObj_=function(h){var q=void 0;try{q=h.then}catch(v){this.reject_(v);return}"function"==typeof q?this.settleSameAsThenable_(q,h):this.fulfill_(h)};k.prototype.reject_=function(h){this.settle_(2,h)};k.prototype.fulfill_=function(h){this.settle_(1,h)};k.prototype.settle_=function(h,q){if(0!=this.state_)throw Error("Cannot settle("+h+", "+q+"): Promise already settled in state"+this.state_);this.state_=h;this.result_=q;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;r(function(){if(h.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(h.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,q=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):
"function"===typeof q?h=new q("unhandledrejection",{cancelable:!0}):(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return v(h)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;++h)C.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var C=new p;k.prototype.settleSameAsPromise_=function(h){var q=this.createResolveAndReject_();
h.callWhenSettled_(q.resolve,q.reject)};k.prototype.settleSameAsThenable_=function(h,q){var v=this.createResolveAndReject_();try{h.call(q,v.resolve,v.reject)}catch(B){v.reject(B)}};k.prototype.then=function(h,q){function v(I,M){return"function"==typeof I?function(y){try{B(I(y))}catch(D){G(D)}}:M}var B,G,X=new k(function(I,M){B=I;G=M});this.callWhenSettled_(v(h,B),v(q,G));return X};k.prototype.catch=function(h){return this.then(void 0,h)};k.prototype.callWhenSettled_=function(h,q){function v(){switch(B.state_){case 1:h(B.result_);
break;case 2:q(B.result_);break;default:throw Error("Unexpected state: "+B.state_);}}var B=this;null==this.onSettledCallbacks_?C.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};k.resolve=n;k.reject=function(h){return new k(function(q,v){v(h)})};k.race=function(h){return new k(function(q,v){for(var B=$jscomp.makeIterator(h),G=B.next();!G.done;G=B.next())n(G.value).callWhenSettled_(q,v)})};k.all=function(h){var q=$jscomp.makeIterator(h),v=q.next();return v.done?n([]):new k(function(B,
G){function X(y){return function(D){I[y]=D;M--;0==M&&B(I)}}var I=[],M=0;do I.push(void 0),M++,n(v.value).callWhenSettled_(X(I.length-1),G),v=q.next();while(!v.done)})};return k},"es6","es3");$jscomp.checkEs6ConformanceViaProxy=function(){try{var l={},p=Object.create(new $jscomp.global.Proxy(l,{get:function(n,r,k){return n==l&&"q"==r&&k==p}}));return!0===p.q}catch(n){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();
$jscomp.owns=function(l,p){return Object.prototype.hasOwnProperty.call(l,p)};
$jscomp.polyfill("Array.prototype.copyWithin",function(l){function p(n){n=Number(n);return Infinity===n||-Infinity===n?n:n|0}return l?l:function(n,r,k){var C=this.length;n=p(n);r=p(r);k=void 0===k?C:p(k);n=0>n?Math.max(C+n,0):Math.min(n,C);r=0>r?Math.max(C+r,0):Math.min(r,C);k=0>k?Math.max(C+k,0):Math.min(k,C);if(n<r)for(;r<k;)r in this?this[n++]=this[r++]:(delete this[n++],r++);else for(k=Math.min(k,C+r-n),n+=k-r;k>r;)--k in this?this[--n]=this[k]:delete this[--n];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(l){return l?l: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");
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(n){var q=0;return function(){return q<n.length?{done:!1,value:n[q++]}:{done:!0}}};$jscomp.arrayIterator=function(n){return{next:$jscomp.arrayIteratorImpl(n)}};$jscomp.makeIterator=function(n){var q="undefined"!=typeof Symbol&&Symbol.iterator&&n[Symbol.iterator];return q?q.call(n):$jscomp.arrayIterator(n)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(n){n=["object"==typeof globalThis&&globalThis,n,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var q=0;q<n.length;++q){var m=n[q];if(m&&m.Math==Math)return m}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(n,q,m){if(n==Array.prototype||n==Object.prototype)return n;n[q]=m.value;return n};$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$";
var $jscomp$lookupPolyfilledValue=function(n,q){var m=$jscomp.propertyToPolyfillSymbol[q];if(null==m)return n[q];m=n[m];return void 0!==m?m:n[q]};$jscomp.polyfill=function(n,q,m,r){q&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(n,q,m,r):$jscomp.polyfillUnisolated(n,q,m,r))};
$jscomp.polyfillUnisolated=function(n,q,m,r){m=$jscomp.global;n=n.split(".");for(r=0;r<n.length-1;r++){var k=n[r];if(!(k in m))return;m=m[k]}n=n[n.length-1];r=m[n];q=q(r);q!=r&&null!=q&&$jscomp.defineProperty(m,n,{configurable:!0,writable:!0,value:q})};
$jscomp.polyfillIsolated=function(n,q,m,r){var k=n.split(".");n=1===k.length;r=k[0];r=!n&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var D=0;D<k.length-1;D++){var h=k[D];if(!(h in r))return;r=r[h]}k=k[k.length-1];m=$jscomp.IS_SYMBOL_NATIVE&&"es6"===m?r[k]:null;q=q(m);null!=q&&(n?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:q}):q!==m&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(m=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+m+"$"+k),$jscomp.defineProperty(r,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:q})))};
$jscomp.polyfill("Promise",function(n){function q(){this.batch_=null}function m(h){return h instanceof k?h:new k(function(p,v){p(h)})}if(n&&(!($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 n;q.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(h)};
var r=$jscomp.global.setTimeout;q.prototype.asyncExecuteFunction=function(h){r(h,0)};q.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var p=0;p<h.length;++p){var v=h[p];h[p]=null;try{v()}catch(B){this.asyncThrow_(B)}}}this.batch_=null};q.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var k=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var p=this.createResolveAndReject_();
try{h(p.resolve,p.reject)}catch(v){p.reject(v)}};k.prototype.createResolveAndReject_=function(){function h(B){return function(J){v||(v=!0,B.call(p,J))}}var p=this,v=!1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};k.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof k)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var p=null!=h;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(h):
this.fulfill_(h)}};k.prototype.resolveToNonPromiseObj_=function(h){var p=void 0;try{p=h.then}catch(v){this.reject_(v);return}"function"==typeof p?this.settleSameAsThenable_(p,h):this.fulfill_(h)};k.prototype.reject_=function(h){this.settle_(2,h)};k.prototype.fulfill_=function(h){this.settle_(1,h)};k.prototype.settle_=function(h,p){if(0!=this.state_)throw Error("Cannot settle("+h+", "+p+"): Promise already settled in state"+this.state_);this.state_=h;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;r(function(){if(h.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(h.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,p=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):
"function"===typeof p?h=new p("unhandledrejection",{cancelable:!0}):(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return v(h)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;++h)D.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var D=new q;k.prototype.settleSameAsPromise_=function(h){var p=this.createResolveAndReject_();
h.callWhenSettled_(p.resolve,p.reject)};k.prototype.settleSameAsThenable_=function(h,p){var v=this.createResolveAndReject_();try{h.call(p,v.resolve,v.reject)}catch(B){v.reject(B)}};k.prototype.then=function(h,p){function v(w,C){return"function"==typeof w?function(T){try{B(w(T))}catch(P){J(P)}}:C}var B,J,U=new k(function(w,C){B=w;J=C});this.callWhenSettled_(v(h,B),v(p,J));return U};k.prototype.catch=function(h){return this.then(void 0,h)};k.prototype.callWhenSettled_=function(h,p){function v(){switch(B.state_){case 1:h(B.result_);
break;case 2:p(B.result_);break;default:throw Error("Unexpected state: "+B.state_);}}var B=this;null==this.onSettledCallbacks_?D.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};k.resolve=m;k.reject=function(h){return new k(function(p,v){v(h)})};k.race=function(h){return new k(function(p,v){for(var B=$jscomp.makeIterator(h),J=B.next();!J.done;J=B.next())m(J.value).callWhenSettled_(p,v)})};k.all=function(h){var p=$jscomp.makeIterator(h),v=p.next();return v.done?m([]):new k(function(B,
J){function U(T){return function(P){w[T]=P;C--;0==C&&B(w)}}var w=[],C=0;do w.push(void 0),C++,m(v.value).callWhenSettled_(U(w.length-1),J),v=p.next();while(!v.done)})};return k},"es6","es3");
$jscomp.polyfill("Array.prototype.copyWithin",function(n){function q(m){m=Number(m);return Infinity===m||-Infinity===m?m:m|0}return n?n:function(m,r,k){var D=this.length;m=q(m);r=q(r);k=void 0===k?D:q(k);m=0>m?Math.max(D+m,0):Math.min(m,D);r=0>r?Math.max(D+r,0):Math.min(r,D);k=0>k?Math.max(D+k,0):Math.min(k,D);if(m<r)for(;r<k;)r in this?this[m++]=this[r++]:(delete this[m++],r++);else for(k=Math.min(k,D+r-m),m+=k-r;k>r;)--k in this?this[--m]=this[k]:delete this[--m];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(n){return n?n: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");
$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");
var DracoEncoderModule=function(){var l="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(l=l||__filename);return function(p){function n(f){return a.locateFile?a.locateFile(f,N):N+f}function r(f,b){f||h("Assertion failed: "+b)}function k(f,b){0<f%b&&(f+=b-f%b);return f}function C(f){fa=f;a.HEAP8=R=new Int8Array(f);a.HEAP16=ma=new Int16Array(f);a.HEAP32=L=new Int32Array(f);a.HEAPU8=na=new Uint8Array(f);a.HEAPU16=new Uint16Array(f);
a.HEAPU32=new Uint32Array(f);a.HEAPF32=oa=new Float32Array(f);a.HEAPF64=new Float64Array(f)}function h(f){if(a.onAbort)a.onAbort(f);f+="";Y(f);xa=!0;f=new WebAssembly.RuntimeError("abort("+f+"). Build with -s ASSERTIONS=1 for more info.");pa(f);throw f;}function q(f,b){return String.prototype.startsWith?f.startsWith(b):0===f.indexOf(b)}function v(){try{if(Z)return new Uint8Array(Z);if(ha)return ha(O);throw"both async and sync fetching of the wasm failed";}catch(f){h(f)}}function B(){return Z||!ia&&
!U||"function"!==typeof fetch||q(O,"file://")?Promise.resolve().then(v):fetch(O,{credentials:"same-origin"}).then(function(f){if(!f.ok)throw"failed to load wasm binary file at '"+O+"'";return f.arrayBuffer()}).catch(function(){return v()})}function G(f){for(;0<f.length;){var b=f.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?qa.get(c)():qa.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function X(f){this.excPtr=f;this.ptr=f-H.SIZE;this.set_type=function(b){L[this.ptr+
H.TYPE_OFFSET>>2]=b};this.get_type=function(){return L[this.ptr+H.TYPE_OFFSET>>2]};this.set_destructor=function(b){L[this.ptr+H.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return L[this.ptr+H.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){L[this.ptr+H.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){R[this.ptr+H.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=R[this.ptr+H.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){R[this.ptr+H.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=
function(){return 0!=R[this.ptr+H.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){L[this.ptr+H.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=L[this.ptr+H.REFCOUNT_OFFSET>>2];L[this.ptr+H.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function I(){return 0<I.uncaught_exceptions}function M(f){function b(){if(!ja&&(ja=!0,a.calledRun=!0,!xa)){ya=!0;G(za);G(Aa);Ba(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();
if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ca.unshift(a.postRun.shift());G(Ca)}}if(!(0<V)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Da.unshift(a.preRun.shift());G(Da);0<V||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function y(){}function D(f){return(f||y).__cache__}function ra(f,b){var c=D(b),d=c[f];if(d)return d;d=Object.create((b||y).prototype);
d.ptr=f;return c[f]=d}function aa(f){if("string"===typeof f){for(var b=0,c=0;c<f.length;++c){var d=f.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|f.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var e=0;e<f.length;++e){var g=f.charCodeAt(e);if(55296<=g&&57343>=g){var t=f.charCodeAt(++e);g=65536+((g&1023)<<10)|t&1023}if(127>=g){if(c>=d)break;b[c++]=g}else{if(2047>=g){if(c+1>=d)break;b[c++]=192|g>>6}else{if(65535>=g){if(c+
2>=d)break;b[c++]=224|g>>12}else{if(c+3>=d)break;b[c++]=240|g>>18;b[c++]=128|g>>12&63}b[c++]=128|g>>6&63}b[c++]=128|g&63}}b[c]=0}f=m.alloc(b,R);m.copy(b,R,f);return f}return f}function ka(f){if("object"===typeof f){var b=m.alloc(f,R);m.copy(f,R,b);return b}return f}function la(f){if("object"===typeof f){var b=m.alloc(f,ma);m.copy(f,ma,b);return b}return f}function W(f){if("object"===typeof f){var b=m.alloc(f,L);m.copy(f,L,b);return b}return f}function ba(f){if("object"===typeof f){var b=m.alloc(f,
oa);m.copy(f,oa,b);return b}return f}function S(){throw"cannot construct a VoidPtr, no constructor in IDL";}function P(){this.ptr=Ea();D(P)[this.ptr]=this}function z(){this.ptr=Fa();D(z)[this.ptr]=this}function J(){this.ptr=Ga();D(J)[this.ptr]=this}function E(){this.ptr=Ha();D(E)[this.ptr]=this}function Q(){this.ptr=Ia();D(Q)[this.ptr]=this}function K(){this.ptr=Ja();D(K)[this.ptr]=this}function F(){this.ptr=Ka();D(F)[this.ptr]=this}function w(){this.ptr=La();D(w)[this.ptr]=this}function u(){this.ptr=
Ma();D(u)[this.ptr]=this}function x(){this.ptr=Na();D(x)[this.ptr]=this}function A(f){f&&"object"===typeof f&&(f=f.ptr);this.ptr=Oa(f);D(A)[this.ptr]=this}p=p||{};var a="undefined"!==typeof p?p:{},Ba,pa;a.ready=new Promise(function(f,b){Ba=f;pa=b});var Pa=!1,Qa=!1;a.onRuntimeInitialized=function(){Pa=!0;if(Qa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Qa=!0;if(Pa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(f){if("string"!==
typeof f)return!1;f=f.split(".");return 2>f.length||3<f.length?!1:1==f[0]&&0<=f[1]&&4>=f[1]?!0:0!=f[0]||10<f[1]?!1:!0};var ca={},T;for(T in a)a.hasOwnProperty(T)&&(ca[T]=a[T]);var ia=!1,U=!1,sa=!1,Ra=!1;ia="object"===typeof window;U="function"===typeof importScripts;sa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;Ra=!ia&&!sa&&!U;var N="",ta,ua;if(sa){N=U?require("path").dirname(N)+"/":__dirname+"/";var va=function(f,b){ta||(ta=require("fs"));
ua||(ua=require("path"));f=ua.normalize(f);return ta.readFileSync(f,b?null:"utf8")};var ha=function(f){f=va(f,!0);f.buffer||(f=new Uint8Array(f));r(f.buffer);return f};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(Ra)"undefined"!=typeof read&&(va=function(f){return read(f)}),ha=function(f){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(f));f=read(f,"binary");r("object"===typeof f);
return f},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ia||U)U?N=self.location.href:"undefined"!==typeof document&&document.currentScript&&(N=document.currentScript.src),l&&(N=l),N=0!==N.indexOf("blob:")?N.substr(0,N.lastIndexOf("/")+1):"",va=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.send(null);return b.responseText},U&&(ha=function(f){var b=new XMLHttpRequest;
b.open("GET",f,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});a.print||console.log.bind(console);var Y=a.printErr||console.warn.bind(console);for(T in ca)ca.hasOwnProperty(T)&&(a[T]=ca[T]);ca=null;var Z;a.wasmBinary&&(Z=a.wasmBinary);"object"!==typeof WebAssembly&&h("no native wasm support detected");var da,xa=!1;"undefined"!==typeof TextDecoder&&new TextDecoder("utf8");"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");var R,na,ma,L,oa,Sa=a.INITIAL_MEMORY||
16777216;if(da=a.wasmMemory?a.wasmMemory:new WebAssembly.Memory({initial:Sa/65536,maximum:32768}))var fa=da.buffer;Sa=fa.byteLength;C(fa);var qa,Da=[],za=[],Aa=[],Ca=[],ya=!1,V=0,wa=null,ea=null;a.preloadedImages={};a.preloadedAudios={};var O="draco_encoder.wasm";q(O,"data:application/octet-stream;base64,")||(O=n(O));var H={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16};za.push({func:function(){Ta()}});var Va={__cxa_allocate_exception:function(f){return Ua(f+
H.SIZE)+H.SIZE},__cxa_throw:function(f,b,c){(new X(f)).init(b,c);"uncaught_exception"in I?I.uncaught_exceptions++:I.uncaught_exceptions=1;throw f;},abort:function(){h()},array_bounds_check_error:function(f,b){throw"Array index "+f+" out of bounds: [0,"+b+")";},emscripten_memcpy_big:function(f,b,c){na.copyWithin(f,b,b+c)},emscripten_resize_heap:function(f){f>>>=0;var b=na.length;if(2147483648<f)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,f+100663296);d=Math.min(2147483648,k(Math.max(16777216,
f,d),65536));a:{try{da.grow(d-fa.byteLength+65535>>>16);C(da.buffer);var e=1;break a}catch(g){}e=void 0}if(e)return!0}return!1},memory:da};(function(){function f(e,g){a.asm=e.exports;qa=a.asm.__indirect_function_table;V--;a.monitorRunDependencies&&a.monitorRunDependencies(V);0==V&&(null!==wa&&(clearInterval(wa),wa=null),ea&&(e=ea,ea=null,e()))}function b(e){f(e.instance)}function c(e){return B().then(function(g){return WebAssembly.instantiate(g,d)}).then(e,function(g){Y("failed to asynchronously prepare wasm: "+
g);h(g)})}var d={env:Va,wasi_snapshot_preview1:Va};V++;a.monitorRunDependencies&&a.monitorRunDependencies(V);if(a.instantiateWasm)try{return a.instantiateWasm(d,f)}catch(e){return Y("Module.instantiateWasm callback failed with error: "+e),!1}(function(){return Z||"function"!==typeof WebAssembly.instantiateStreaming||q(O,"data:application/octet-stream;base64,")||q(O,"file://")||"function"!==typeof fetch?c(b):fetch(O,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,
d).then(b,function(g){Y("wasm streaming compile failed: "+g);Y("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(pa);return{}})();var Ta=a.___wasm_call_ctors=function(){return(Ta=a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)};a.___em_js__array_bounds_check_error=function(){return(a.___em_js__array_bounds_check_error=a.asm.__em_js__array_bounds_check_error).apply(null,arguments)};var Wa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Wa=a._emscripten_bind_VoidPtr___destroy___0=
a.asm.emscripten_bind_VoidPtr___destroy___0).apply(null,arguments)},Ea=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ea=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0).apply(null,arguments)},Xa=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Xa=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.emscripten_bind_GeometryAttribute___destroy___0).apply(null,arguments)},Fa=a._emscripten_bind_PointAttribute_PointAttribute_0=
function(){return(Fa=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.emscripten_bind_PointAttribute_PointAttribute_0).apply(null,arguments)},Ya=a._emscripten_bind_PointAttribute_size_0=function(){return(Ya=a._emscripten_bind_PointAttribute_size_0=a.asm.emscripten_bind_PointAttribute_size_0).apply(null,arguments)},Za=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Za=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.emscripten_bind_PointAttribute_attribute_type_0).apply(null,
arguments)},$a=a._emscripten_bind_PointAttribute_data_type_0=function(){return($a=a._emscripten_bind_PointAttribute_data_type_0=a.asm.emscripten_bind_PointAttribute_data_type_0).apply(null,arguments)},ab=a._emscripten_bind_PointAttribute_num_components_0=function(){return(ab=a._emscripten_bind_PointAttribute_num_components_0=a.asm.emscripten_bind_PointAttribute_num_components_0).apply(null,arguments)},bb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(bb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.emscripten_bind_PointAttribute_normalized_0).apply(null,arguments)},cb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(cb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.emscripten_bind_PointAttribute_byte_stride_0).apply(null,arguments)},db=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(db=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.emscripten_bind_PointAttribute_byte_offset_0).apply(null,arguments)},eb=a._emscripten_bind_PointAttribute_unique_id_0=
function(){return(eb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.emscripten_bind_PointAttribute_unique_id_0).apply(null,arguments)},fb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(fb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.emscripten_bind_PointAttribute___destroy___0).apply(null,arguments)},Ga=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Ga=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.emscripten_bind_PointCloud_PointCloud_0).apply(null,
arguments)},gb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(gb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.emscripten_bind_PointCloud_num_attributes_0).apply(null,arguments)},hb=a._emscripten_bind_PointCloud_num_points_0=function(){return(hb=a._emscripten_bind_PointCloud_num_points_0=a.asm.emscripten_bind_PointCloud_num_points_0).apply(null,arguments)},ib=a._emscripten_bind_PointCloud___destroy___0=function(){return(ib=a._emscripten_bind_PointCloud___destroy___0=a.asm.emscripten_bind_PointCloud___destroy___0).apply(null,
arguments)},Ha=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ha=a._emscripten_bind_Mesh_Mesh_0=a.asm.emscripten_bind_Mesh_Mesh_0).apply(null,arguments)},jb=a._emscripten_bind_Mesh_num_faces_0=function(){return(jb=a._emscripten_bind_Mesh_num_faces_0=a.asm.emscripten_bind_Mesh_num_faces_0).apply(null,arguments)},kb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(kb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.emscripten_bind_Mesh_num_attributes_0).apply(null,arguments)},lb=a._emscripten_bind_Mesh_num_points_0=
function(){return(lb=a._emscripten_bind_Mesh_num_points_0=a.asm.emscripten_bind_Mesh_num_points_0).apply(null,arguments)},mb=a._emscripten_bind_Mesh_set_num_points_1=function(){return(mb=a._emscripten_bind_Mesh_set_num_points_1=a.asm.emscripten_bind_Mesh_set_num_points_1).apply(null,arguments)},nb=a._emscripten_bind_Mesh___destroy___0=function(){return(nb=a._emscripten_bind_Mesh___destroy___0=a.asm.emscripten_bind_Mesh___destroy___0).apply(null,arguments)},Ia=a._emscripten_bind_Metadata_Metadata_0=
function(){return(Ia=a._emscripten_bind_Metadata_Metadata_0=a.asm.emscripten_bind_Metadata_Metadata_0).apply(null,arguments)},ob=a._emscripten_bind_Metadata___destroy___0=function(){return(ob=a._emscripten_bind_Metadata___destroy___0=a.asm.emscripten_bind_Metadata___destroy___0).apply(null,arguments)},Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0).apply(null,arguments)},
pb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(pb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.emscripten_bind_DracoInt8Array_GetValue_1).apply(null,arguments)},qb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(qb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.emscripten_bind_DracoInt8Array_size_0).apply(null,arguments)},rb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(rb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.emscripten_bind_DracoInt8Array___destroy___0).apply(null,
arguments)},Ka=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(Ka=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=a.asm.emscripten_bind_MetadataBuilder_MetadataBuilder_0).apply(null,arguments)},sb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(sb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddStringEntry_3).apply(null,arguments)},tb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(tb=
a._emscripten_bind_MetadataBuilder_AddIntEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddIntEntry_3).apply(null,arguments)},ub=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(ub=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=a.asm.emscripten_bind_MetadataBuilder_AddIntEntryArray_4).apply(null,arguments)},vb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(vb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddDoubleEntry_3).apply(null,
arguments)},wb=a._emscripten_bind_MetadataBuilder___destroy___0=function(){return(wb=a._emscripten_bind_MetadataBuilder___destroy___0=a.asm.emscripten_bind_MetadataBuilder___destroy___0).apply(null,arguments)},La=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(La=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=a.asm.emscripten_bind_PointCloudBuilder_PointCloudBuilder_0).apply(null,arguments)},xb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(xb=
a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddFloatAttribute_5).apply(null,arguments)},yb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(yb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt8Attribute_5).apply(null,arguments)},zb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(zb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5).apply(null,
arguments)},Ab=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(Ab=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt16Attribute_5).apply(null,arguments)},Bb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(Bb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5).apply(null,arguments)},Cb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=
function(){return(Cb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt32Attribute_5).apply(null,arguments)},Db=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(Db=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5).apply(null,arguments)},Eb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(Eb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=
a.asm.emscripten_bind_PointCloudBuilder_AddMetadata_2).apply(null,arguments)},Fb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(Fb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=a.asm.emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3).apply(null,arguments)},Gb=a._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(Gb=a._emscripten_bind_PointCloudBuilder___destroy___0=a.asm.emscripten_bind_PointCloudBuilder___destroy___0).apply(null,
arguments)},Ma=a._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(Ma=a._emscripten_bind_MeshBuilder_MeshBuilder_0=a.asm.emscripten_bind_MeshBuilder_MeshBuilder_0).apply(null,arguments)},Hb=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=function(){return(Hb=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=a.asm.emscripten_bind_MeshBuilder_AddFacesToMesh_3).apply(null,arguments)},Ib=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Ib=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=
a.asm.emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5).apply(null,arguments)},Jb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Jb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=a.asm.emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5).apply(null,arguments)},Kb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(Kb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=a.asm.emscripten_bind_MeshBuilder_AddMetadataToMesh_2).apply(null,arguments)},
Lb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(Lb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=a.asm.emscripten_bind_MeshBuilder_AddFloatAttribute_5).apply(null,arguments)},Mb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(Mb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt8Attribute_5).apply(null,arguments)},Nb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(Nb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=
a.asm.emscripten_bind_MeshBuilder_AddUInt8Attribute_5).apply(null,arguments)},Ob=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Ob=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt16Attribute_5).apply(null,arguments)},Pb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Pb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddUInt16Attribute_5).apply(null,arguments)},Qb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=
function(){return(Qb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt32Attribute_5).apply(null,arguments)},Rb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Rb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddUInt32Attribute_5).apply(null,arguments)},Sb=a._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Sb=a._emscripten_bind_MeshBuilder_AddMetadata_2=a.asm.emscripten_bind_MeshBuilder_AddMetadata_2).apply(null,
arguments)},Tb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Tb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=a.asm.emscripten_bind_MeshBuilder_SetMetadataForAttribute_3).apply(null,arguments)},Ub=a._emscripten_bind_MeshBuilder___destroy___0=function(){return(Ub=a._emscripten_bind_MeshBuilder___destroy___0=a.asm.emscripten_bind_MeshBuilder___destroy___0).apply(null,arguments)},Na=a._emscripten_bind_Encoder_Encoder_0=function(){return(Na=a._emscripten_bind_Encoder_Encoder_0=
a.asm.emscripten_bind_Encoder_Encoder_0).apply(null,arguments)},Vb=a._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Vb=a._emscripten_bind_Encoder_SetEncodingMethod_1=a.asm.emscripten_bind_Encoder_SetEncodingMethod_1).apply(null,arguments)},Wb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Wb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=a.asm.emscripten_bind_Encoder_SetAttributeQuantization_2).apply(null,arguments)},Xb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=
function(){return(Xb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=a.asm.emscripten_bind_Encoder_SetAttributeExplicitQuantization_5).apply(null,arguments)},Yb=a._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Yb=a._emscripten_bind_Encoder_SetSpeedOptions_2=a.asm.emscripten_bind_Encoder_SetSpeedOptions_2).apply(null,arguments)},Zb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(Zb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=a.asm.emscripten_bind_Encoder_SetTrackEncodedProperties_1).apply(null,
arguments)},$b=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return($b=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=a.asm.emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2).apply(null,arguments)},ac=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(ac=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=a.asm.emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3).apply(null,arguments)},bc=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=
function(){return(bc=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=a.asm.emscripten_bind_Encoder_GetNumberOfEncodedPoints_0).apply(null,arguments)},cc=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(cc=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=a.asm.emscripten_bind_Encoder_GetNumberOfEncodedFaces_0).apply(null,arguments)},dc=a._emscripten_bind_Encoder___destroy___0=function(){return(dc=a._emscripten_bind_Encoder___destroy___0=a.asm.emscripten_bind_Encoder___destroy___0).apply(null,
arguments)},Oa=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Oa=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=a.asm.emscripten_bind_ExpertEncoder_ExpertEncoder_1).apply(null,arguments)},ec=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=function(){return(ec=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=a.asm.emscripten_bind_ExpertEncoder_SetEncodingMethod_1).apply(null,arguments)},fc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(fc=
a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=a.asm.emscripten_bind_ExpertEncoder_SetAttributeQuantization_2).apply(null,arguments)},gc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(gc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=a.asm.emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5).apply(null,arguments)},hc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=function(){return(hc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=
a.asm.emscripten_bind_ExpertEncoder_SetSpeedOptions_2).apply(null,arguments)},ic=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(ic=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=a.asm.emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1).apply(null,arguments)},jc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(jc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=a.asm.emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2).apply(null,
arguments)},kc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=function(){return(kc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=a.asm.emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0).apply(null,arguments)},lc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(lc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=a.asm.emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0).apply(null,arguments)},mc=a._emscripten_bind_ExpertEncoder___destroy___0=
function(){return(mc=a._emscripten_bind_ExpertEncoder___destroy___0=a.asm.emscripten_bind_ExpertEncoder___destroy___0).apply(null,arguments)},nc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(nc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID).apply(null,arguments)},oc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(oc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION).apply(null,
arguments)},pc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(pc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL).apply(null,arguments)},qc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(qc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR).apply(null,arguments)},rc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=
function(){return(rc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD).apply(null,arguments)},sc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(sc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC).apply(null,arguments)},tc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(tc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=
a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE).apply(null,arguments)},uc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(uc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD).apply(null,arguments)},vc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(vc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH).apply(null,
arguments)},wc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=function(){return(wc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=a.asm.emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING).apply(null,arguments)},xc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(xc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=a.asm.emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING).apply(null,
arguments)};a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)};a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)};a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)};a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)};a._setThrew=function(){return(a._setThrew=a.asm.setThrew).apply(null,arguments)};a._free=function(){return(a._free=a.asm.free).apply(null,
arguments)};var Ua=a._malloc=function(){return(Ua=a._malloc=a.asm.malloc).apply(null,arguments)},ja;ea=function b(){ja||M();ja||(ea=b)};a.run=M;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();M();y.prototype=Object.create(y.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.WrapperObject=y;a.getCache=D;a.wrapPointer=ra;a.castObject=function(b,c){return ra(b.ptr,c)};a.NULL=ra(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";
b.__destroy__();delete D(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 m={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(m.needed){for(var b=0;b<m.temps.length;b++)a._free(m.temps[b]);m.temps.length=0;a._free(m.buffer);m.buffer=0;m.size+=m.needed;m.needed=0}m.buffer||(m.size+=128,m.buffer=a._malloc(m.size),r(m.buffer));m.pos=0},alloc:function(b,c){r(m.buffer);b=b.length*c.BYTES_PER_ELEMENT;
b=b+7&-8;m.pos+b>=m.size?(r(0<b),m.needed+=b,c=a._malloc(b),m.temps.push(c)):(c=m.buffer+m.pos,m.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 e=0;e<b.length;e++)c[d+e]=b[e]}};S.prototype=Object.create(y.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.VoidPtr=S;S.prototype.__destroy__=S.prototype.__destroy__=function(){Wa(this.ptr)};P.prototype=Object.create(y.prototype);P.prototype.constructor=
P;P.prototype.__class__=P;P.__cache__={};a.GeometryAttribute=P;P.prototype.__destroy__=P.prototype.__destroy__=function(){Xa(this.ptr)};z.prototype=Object.create(y.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.PointAttribute=z;z.prototype.size=z.prototype.size=function(){return Ya(this.ptr)};z.prototype.attribute_type=z.prototype.attribute_type=function(){return Za(this.ptr)};z.prototype.data_type=z.prototype.data_type=function(){return $a(this.ptr)};z.prototype.num_components=
z.prototype.num_components=function(){return ab(this.ptr)};z.prototype.normalized=z.prototype.normalized=function(){return!!bb(this.ptr)};z.prototype.byte_stride=z.prototype.byte_stride=function(){return cb(this.ptr)};z.prototype.byte_offset=z.prototype.byte_offset=function(){return db(this.ptr)};z.prototype.unique_id=z.prototype.unique_id=function(){return eb(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){fb(this.ptr)};J.prototype=Object.create(y.prototype);J.prototype.constructor=
J;J.prototype.__class__=J;J.__cache__={};a.PointCloud=J;J.prototype.num_attributes=J.prototype.num_attributes=function(){return gb(this.ptr)};J.prototype.num_points=J.prototype.num_points=function(){return hb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){ib(this.ptr)};E.prototype=Object.create(y.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return jb(this.ptr)};E.prototype.num_attributes=
E.prototype.num_attributes=function(){return kb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return lb(this.ptr)};E.prototype.set_num_points=E.prototype.set_num_points=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);mb(c,b)};E.prototype.__destroy__=E.prototype.__destroy__=function(){nb(this.ptr)};Q.prototype=Object.create(y.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.Metadata=Q;Q.prototype.__destroy__=Q.prototype.__destroy__=function(){ob(this.ptr)};
K.prototype=Object.create(y.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return pb(c,b)};K.prototype.size=K.prototype.size=function(){return qb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){rb(this.ptr)};F.prototype=Object.create(y.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.MetadataBuilder=
F;F.prototype.AddStringEntry=F.prototype.AddStringEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d=d&&"object"===typeof d?d.ptr:aa(d);return!!sb(e,b,c,d)};F.prototype.AddIntEntry=F.prototype.AddIntEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d&&"object"===typeof d&&(d=d.ptr);return!!tb(e,b,c,d)};F.prototype.AddIntEntryArray=F.prototype.AddIntEntryArray=
function(b,c,d,e){var g=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);"object"==typeof d&&(d=W(d));e&&"object"===typeof e&&(e=e.ptr);return!!ub(g,b,c,d,e)};F.prototype.AddDoubleEntry=F.prototype.AddDoubleEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d&&"object"===typeof d&&(d=d.ptr);return!!vb(e,b,c,d)};F.prototype.__destroy__=F.prototype.__destroy__=function(){wb(this.ptr)};w.prototype=
Object.create(y.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointCloudBuilder=w;w.prototype.AddFloatAttribute=w.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return xb(t,b,c,d,e,g)};w.prototype.AddInt8Attribute=w.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;
m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return yb(t,b,c,d,e,g)};w.prototype.AddUInt8Attribute=w.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return zb(t,b,c,d,e,g)};w.prototype.AddInt16Attribute=
w.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Ab(t,b,c,d,e,g)};w.prototype.AddUInt16Attribute=w.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&
(e=e.ptr);"object"==typeof g&&(g=la(g));return Bb(t,b,c,d,e,g)};w.prototype.AddInt32Attribute=w.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Cb(t,b,c,d,e,g)};w.prototype.AddUInt32Attribute=w.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Db(t,b,c,d,e,g)};w.prototype.AddMetadata=w.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Eb(d,b,c)};w.prototype.SetMetadataForAttribute=w.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===
typeof d&&(d=d.ptr);return!!Fb(e,b,c,d)};w.prototype.__destroy__=w.prototype.__destroy__=function(){Gb(this.ptr)};u.prototype=Object.create(y.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.MeshBuilder=u;u.prototype.AddFacesToMesh=u.prototype.AddFacesToMesh=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);"object"==typeof d&&(d=W(d));return!!Hb(e,b,c,d)};u.prototype.AddFloatAttributeToMesh=u.prototype.AddFloatAttributeToMesh=
function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return Ib(t,b,c,d,e,g)};u.prototype.AddInt32AttributeToMesh=u.prototype.AddInt32AttributeToMesh=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==
typeof g&&(g=W(g));return Jb(t,b,c,d,e,g)};u.prototype.AddMetadataToMesh=u.prototype.AddMetadataToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Kb(d,b,c)};u.prototype.AddFloatAttribute=u.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return Lb(t,
b,c,d,e,g)};u.prototype.AddInt8Attribute=u.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return Mb(t,b,c,d,e,g)};u.prototype.AddUInt8Attribute=u.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return Nb(t,b,c,d,e,g)};u.prototype.AddInt16Attribute=u.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Ob(t,b,c,d,e,g)};u.prototype.AddUInt16Attribute=u.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Pb(t,b,c,d,e,g)};u.prototype.AddInt32Attribute=u.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Qb(t,b,c,d,e,g)};u.prototype.AddUInt32Attribute=
u.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Rb(t,b,c,d,e,g)};u.prototype.AddMetadata=u.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Sb(d,b,c)};u.prototype.SetMetadataForAttribute=u.prototype.SetMetadataForAttribute=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Tb(e,b,c,d)};u.prototype.__destroy__=u.prototype.__destroy__=function(){Ub(this.ptr)};x.prototype=Object.create(y.prototype);x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.Encoder=x;x.prototype.SetEncodingMethod=x.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Vb(c,b)};x.prototype.SetAttributeQuantization=
x.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Wb(d,b,c)};x.prototype.SetAttributeExplicitQuantization=x.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=ba(e));g&&"object"===typeof g&&(g=g.ptr);Xb(t,b,c,d,e,g)};x.prototype.SetSpeedOptions=x.prototype.SetSpeedOptions=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Yb(d,b,c)};x.prototype.SetTrackEncodedProperties=x.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Zb(c,b)};x.prototype.EncodeMeshToDracoBuffer=x.prototype.EncodeMeshToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return $b(d,b,c)};x.prototype.EncodePointCloudToDracoBuffer=x.prototype.EncodePointCloudToDracoBuffer=
function(b,c,d){var e=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(e,b,c,d)};x.prototype.GetNumberOfEncodedPoints=x.prototype.GetNumberOfEncodedPoints=function(){return bc(this.ptr)};x.prototype.GetNumberOfEncodedFaces=x.prototype.GetNumberOfEncodedFaces=function(){return cc(this.ptr)};x.prototype.__destroy__=x.prototype.__destroy__=function(){dc(this.ptr)};A.prototype=Object.create(y.prototype);A.prototype.constructor=A;
A.prototype.__class__=A;A.__cache__={};a.ExpertEncoder=A;A.prototype.SetEncodingMethod=A.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ec(c,b)};A.prototype.SetAttributeQuantization=A.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);fc(d,b,c)};A.prototype.SetAttributeExplicitQuantization=A.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;m.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=ba(e));g&&"object"===typeof g&&(g=g.ptr);gc(t,b,c,d,e,g)};A.prototype.SetSpeedOptions=A.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);hc(d,b,c)};A.prototype.SetTrackEncodedProperties=A.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ic(c,b)};A.prototype.EncodeToDracoBuffer=
A.prototype.EncodeToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return jc(d,b,c)};A.prototype.GetNumberOfEncodedPoints=A.prototype.GetNumberOfEncodedPoints=function(){return kc(this.ptr)};A.prototype.GetNumberOfEncodedFaces=A.prototype.GetNumberOfEncodedFaces=function(){return lc(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){mc(this.ptr)};(function(){function b(){a.INVALID=nc();a.POSITION=oc();a.NORMAL=pc();a.COLOR=
qc();a.TEX_COORD=rc();a.GENERIC=sc();a.INVALID_GEOMETRY_TYPE=tc();a.POINT_CLOUD=uc();a.TRIANGULAR_MESH=vc();a.MESH_SEQUENTIAL_ENCODING=wc();a.MESH_EDGEBREAKER_ENCODING=xc()}ya?b():Aa.unshift(b)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();return p.ready}}();
var DracoEncoderModule=function(){var n="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(n=n||__filename);return function(q){function m(f){return a.locateFile?a.locateFile(f,M):M+f}function r(f,b){f||D("Assertion failed: "+b)}function k(f){va=f;a.HEAP8=Q=new Int8Array(f);a.HEAP16=ka=new Int16Array(f);a.HEAP32=L=new Int32Array(f);a.HEAPU8=la=new Uint8Array(f);a.HEAPU16=new Uint16Array(f);a.HEAPU32=new Uint32Array(f);a.HEAPF32=
ma=new Float32Array(f);a.HEAPF64=new Float64Array(f)}function D(f){if(a.onAbort)a.onAbort(f);f+="";Y(f);wa=!0;f=new WebAssembly.RuntimeError("abort("+f+"). Build with -s ASSERTIONS=1 for more info.");na(f);throw f;}function h(f,b){return String.prototype.startsWith?f.startsWith(b):0===f.indexOf(b)}function p(f){try{if(f==K&&Z)return new Uint8Array(Z);if(da)return da(f);throw"both async and sync fetching of the wasm failed";}catch(b){D(b)}}function v(){if(!Z&&(ea||V)){if("function"===typeof fetch&&
!h(K,"file://"))return fetch(K,{credentials:"same-origin"}).then(function(f){if(!f.ok)throw"failed to load wasm binary file at '"+K+"'";return f.arrayBuffer()}).catch(function(){return p(K)});if(xa)return new Promise(function(f,b){xa(K,function(c){f(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return p(K)})}function B(f){for(;0<f.length;){var b=f.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?oa.get(c)():oa.get(c)(b.arg):c(void 0===b.arg?
null:b.arg)}}}function J(f){this.excPtr=f;this.ptr=f-G.SIZE;this.set_type=function(b){L[this.ptr+G.TYPE_OFFSET>>2]=b};this.get_type=function(){return L[this.ptr+G.TYPE_OFFSET>>2]};this.set_destructor=function(b){L[this.ptr+G.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return L[this.ptr+G.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){L[this.ptr+G.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Q[this.ptr+G.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Q[this.ptr+
G.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Q[this.ptr+G.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=Q[this.ptr+G.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){L[this.ptr+G.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=L[this.ptr+G.REFCOUNT_OFFSET>>2];L[this.ptr+G.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function U(f){function b(){if(!fa&&
(fa=!0,a.calledRun=!0,!wa)){ya=!0;B(za);B(pa);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());B(Ba)}}if(!(0<W)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ca.unshift(a.preRun.shift());B(Ca);0<W||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function w(){}function C(f){return(f||
w).__cache__}function T(f,b){var c=C(b),d=c[f];if(d)return d;d=Object.create((b||w).prototype);d.ptr=f;return c[f]=d}function P(f){if("string"===typeof f){for(var b=0,c=0;c<f.length;++c){var d=f.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|f.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var e=0;e<f.length;++e){var g=f.charCodeAt(e);if(55296<=g&&57343>=g){var t=f.charCodeAt(++e);g=65536+((g&1023)<<10)|t&1023}if(127>=g){if(c>=
d)break;b[c++]=g}else{if(2047>=g){if(c+1>=d)break;b[c++]=192|g>>6}else{if(65535>=g){if(c+2>=d)break;b[c++]=224|g>>12}else{if(c+3>=d)break;b[c++]=240|g>>18;b[c++]=128|g>>12&63}b[c++]=128|g>>6&63}b[c++]=128|g&63}}b[c]=0}f=l.alloc(b,Q);l.copy(b,Q,f);return f}return f}function ha(f){if("object"===typeof f){var b=l.alloc(f,Q);l.copy(f,Q,b);return b}return f}function ia(f){if("object"===typeof f){var b=l.alloc(f,ka);l.copy(f,ka,b);return b}return f}function X(f){if("object"===typeof f){var b=l.alloc(f,
L);l.copy(f,L,b);return b}return f}function aa(f){if("object"===typeof f){var b=l.alloc(f,ma);l.copy(f,ma,b);return b}return f}function R(){throw"cannot construct a VoidPtr, no constructor in IDL";}function N(){this.ptr=Da();C(N)[this.ptr]=this}function z(){this.ptr=Ea();C(z)[this.ptr]=this}function H(){this.ptr=Fa();C(H)[this.ptr]=this}function E(){this.ptr=Ga();C(E)[this.ptr]=this}function O(){this.ptr=Ha();C(O)[this.ptr]=this}function I(){this.ptr=Ia();C(I)[this.ptr]=this}function F(){this.ptr=
Ja();C(F)[this.ptr]=this}function x(){this.ptr=Ka();C(x)[this.ptr]=this}function u(){this.ptr=La();C(u)[this.ptr]=this}function y(){this.ptr=Ma();C(y)[this.ptr]=this}function A(f){f&&"object"===typeof f&&(f=f.ptr);this.ptr=Na(f);C(A)[this.ptr]=this}q=q||{};var a="undefined"!==typeof q?q:{},Aa,na;a.ready=new Promise(function(f,b){Aa=f;na=b});var Oa=!1,Pa=!1;a.onRuntimeInitialized=function(){Oa=!0;a.callRuntimeCallbacks(a.mainCallbacks);if(Pa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};
a.onModuleParsed=function(){Pa=!0;if(Oa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(f){if("string"!==typeof f)return!1;f=f.split(".");return 2>f.length||3<f.length?!1:1==f[0]&&0<=f[1]&&4>=f[1]?!0:0!=f[0]||10<f[1]?!1:!0};var ba={},S;for(S in a)a.hasOwnProperty(S)&&(ba[S]=a[S]);var ea=!1,V=!1,qa=!1,Qa=!1;ea="object"===typeof window;V="function"===typeof importScripts;qa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;
Qa=!ea&&!qa&&!V;var M="",ra,sa;if(qa){M=V?require("path").dirname(M)+"/":__dirname+"/";var ta=function(f,b){ra||(ra=require("fs"));sa||(sa=require("path"));f=sa.normalize(f);return ra.readFileSync(f,b?null:"utf8")};var da=function(f){f=ta(f,!0);f.buffer||(f=new Uint8Array(f));r(f.buffer);return f};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(Qa)"undefined"!=typeof read&&(ta=function(f){return read(f)}),
da=function(f){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(f));f=read(f,"binary");r("object"===typeof f);return f},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ea||V){V?M=self.location.href:"undefined"!==typeof document&&document.currentScript&&(M=document.currentScript.src);n&&(M=n);M=0!==M.indexOf("blob:")?M.substr(0,M.lastIndexOf("/")+1):"";ta=function(f){var b=
new XMLHttpRequest;b.open("GET",f,!1);b.send(null);return b.responseText};V&&(da=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var xa=function(f,b,c){var d=new XMLHttpRequest;d.open("GET",f,!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)}}a.print||console.log.bind(console);var Y=a.printErr||console.warn.bind(console);for(S in ba)ba.hasOwnProperty(S)&&
(a[S]=ba[S]);ba=null;var Z;a.wasmBinary&&(Z=a.wasmBinary);"object"!==typeof WebAssembly&&D("no native wasm support detected");var ja,wa=!1,va,Q,la,ka,L,ma,oa,Ca=[],za=[],pa=[],Ba=[],ya=!1,W=0,ua=null,ca=null;a.preloadedImages={};a.preloadedAudios={};var K="draco_encoder.wasm";h(K,"data:application/octet-stream;base64,")||(K=m(K));var G={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16},uc=0,vc={e:function(f){return Ra(f+G.SIZE)+G.SIZE},d:function(f,b,
c){(new J(f)).init(b,c);uc++;throw f;},a:function(){D()},b:function(f,b,c){la.copyWithin(f,b,b+c)},c:function(f){var b=la.length;f>>>=0;if(2147483648<f)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,f+100663296);var e=Math,g=e.min;d=Math.max(f,d);0<d%65536&&(d+=65536-d%65536);e=g.call(e,2147483648,d);a:{try{ja.grow(e-va.byteLength+65535>>>16);k(ja.buffer);var t=1;break a}catch(wc){}t=void 0}if(t)return!0}return!1}};(function(){function f(e,g){a.asm=e.exports;ja=a.asm.f;k(ja.buffer);
oa=a.asm.h;za.unshift(a.asm.g);W--;a.monitorRunDependencies&&a.monitorRunDependencies(W);0==W&&(null!==ua&&(clearInterval(ua),ua=null),ca&&(e=ca,ca=null,e()))}function b(e){f(e.instance)}function c(e){return v().then(function(g){return WebAssembly.instantiate(g,d)}).then(e,function(g){Y("failed to asynchronously prepare wasm: "+g);D(g)})}var d={a:vc};W++;a.monitorRunDependencies&&a.monitorRunDependencies(W);if(a.instantiateWasm)try{return a.instantiateWasm(d,f)}catch(e){return Y("Module.instantiateWasm callback failed with error: "+
e),!1}(function(){return Z||"function"!==typeof WebAssembly.instantiateStreaming||h(K,"data:application/octet-stream;base64,")||h(K,"file://")||"function"!==typeof fetch?c(b):fetch(K,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(g){Y("wasm streaming compile failed: "+g);Y("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(na);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.g).apply(null,
arguments)};var Sa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Sa=a._emscripten_bind_VoidPtr___destroy___0=a.asm.i).apply(null,arguments)},Da=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Da=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.j).apply(null,arguments)},Ta=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Ta=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.k).apply(null,arguments)},Ea=a._emscripten_bind_PointAttribute_PointAttribute_0=
function(){return(Ea=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.l).apply(null,arguments)},Ua=a._emscripten_bind_PointAttribute_size_0=function(){return(Ua=a._emscripten_bind_PointAttribute_size_0=a.asm.m).apply(null,arguments)},Va=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Va=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.n).apply(null,arguments)},Wa=a._emscripten_bind_PointAttribute_data_type_0=function(){return(Wa=a._emscripten_bind_PointAttribute_data_type_0=
a.asm.o).apply(null,arguments)},Xa=a._emscripten_bind_PointAttribute_num_components_0=function(){return(Xa=a._emscripten_bind_PointAttribute_num_components_0=a.asm.p).apply(null,arguments)},Ya=a._emscripten_bind_PointAttribute_normalized_0=function(){return(Ya=a._emscripten_bind_PointAttribute_normalized_0=a.asm.q).apply(null,arguments)},Za=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Za=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.r).apply(null,arguments)},$a=a._emscripten_bind_PointAttribute_byte_offset_0=
function(){return($a=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.s).apply(null,arguments)},ab=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(ab=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.t).apply(null,arguments)},bb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(bb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.u).apply(null,arguments)},Fa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Fa=a._emscripten_bind_PointCloud_PointCloud_0=
a.asm.v).apply(null,arguments)},cb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(cb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.w).apply(null,arguments)},db=a._emscripten_bind_PointCloud_num_points_0=function(){return(db=a._emscripten_bind_PointCloud_num_points_0=a.asm.x).apply(null,arguments)},eb=a._emscripten_bind_PointCloud___destroy___0=function(){return(eb=a._emscripten_bind_PointCloud___destroy___0=a.asm.y).apply(null,arguments)},Ga=a._emscripten_bind_Mesh_Mesh_0=
function(){return(Ga=a._emscripten_bind_Mesh_Mesh_0=a.asm.z).apply(null,arguments)},fb=a._emscripten_bind_Mesh_num_faces_0=function(){return(fb=a._emscripten_bind_Mesh_num_faces_0=a.asm.A).apply(null,arguments)},gb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(gb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.B).apply(null,arguments)},hb=a._emscripten_bind_Mesh_num_points_0=function(){return(hb=a._emscripten_bind_Mesh_num_points_0=a.asm.C).apply(null,arguments)},ib=a._emscripten_bind_Mesh_set_num_points_1=
function(){return(ib=a._emscripten_bind_Mesh_set_num_points_1=a.asm.D).apply(null,arguments)},jb=a._emscripten_bind_Mesh___destroy___0=function(){return(jb=a._emscripten_bind_Mesh___destroy___0=a.asm.E).apply(null,arguments)},Ha=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ha=a._emscripten_bind_Metadata_Metadata_0=a.asm.F).apply(null,arguments)},kb=a._emscripten_bind_Metadata___destroy___0=function(){return(kb=a._emscripten_bind_Metadata___destroy___0=a.asm.G).apply(null,arguments)},Ia=
a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ia=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.H).apply(null,arguments)},lb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(lb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.I).apply(null,arguments)},mb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(mb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.J).apply(null,arguments)},nb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(nb=
a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.K).apply(null,arguments)},Ja=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(Ja=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=a.asm.L).apply(null,arguments)},ob=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(ob=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=a.asm.M).apply(null,arguments)},pb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(pb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=
a.asm.N).apply(null,arguments)},qb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(qb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=a.asm.O).apply(null,arguments)},rb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(rb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=a.asm.P).apply(null,arguments)},sb=a._emscripten_bind_MetadataBuilder___destroy___0=function(){return(sb=a._emscripten_bind_MetadataBuilder___destroy___0=a.asm.Q).apply(null,arguments)},
Ka=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(Ka=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=a.asm.R).apply(null,arguments)},tb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(tb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=a.asm.S).apply(null,arguments)},ub=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(ub=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=a.asm.T).apply(null,arguments)},
vb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(vb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=a.asm.U).apply(null,arguments)},wb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(wb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=a.asm.V).apply(null,arguments)},xb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(xb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=a.asm.W).apply(null,arguments)},
yb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=function(){return(yb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=a.asm.X).apply(null,arguments)},zb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(zb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=a.asm.Y).apply(null,arguments)},Ab=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(Ab=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=a.asm.Z).apply(null,arguments)},Bb=
a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(Bb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=a.asm._).apply(null,arguments)},Cb=a._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(Cb=a._emscripten_bind_PointCloudBuilder___destroy___0=a.asm.$).apply(null,arguments)},La=a._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(La=a._emscripten_bind_MeshBuilder_MeshBuilder_0=a.asm.aa).apply(null,arguments)},Db=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=
function(){return(Db=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=a.asm.ba).apply(null,arguments)},Eb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Eb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=a.asm.ca).apply(null,arguments)},Fb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Fb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=a.asm.da).apply(null,arguments)},Gb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(Gb=
a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=a.asm.ea).apply(null,arguments)},Hb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(Hb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=a.asm.fa).apply(null,arguments)},Ib=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(Ib=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=a.asm.ga).apply(null,arguments)},Jb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(Jb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=
a.asm.ha).apply(null,arguments)},Kb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Kb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=a.asm.ia).apply(null,arguments)},Lb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Lb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=a.asm.ja).apply(null,arguments)},Mb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=function(){return(Mb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=a.asm.ka).apply(null,arguments)},
Nb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Nb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=a.asm.la).apply(null,arguments)},Ob=a._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Ob=a._emscripten_bind_MeshBuilder_AddMetadata_2=a.asm.ma).apply(null,arguments)},Pb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Pb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=a.asm.na).apply(null,arguments)},Qb=a._emscripten_bind_MeshBuilder___destroy___0=
function(){return(Qb=a._emscripten_bind_MeshBuilder___destroy___0=a.asm.oa).apply(null,arguments)},Ma=a._emscripten_bind_Encoder_Encoder_0=function(){return(Ma=a._emscripten_bind_Encoder_Encoder_0=a.asm.pa).apply(null,arguments)},Rb=a._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Rb=a._emscripten_bind_Encoder_SetEncodingMethod_1=a.asm.qa).apply(null,arguments)},Sb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Sb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=
a.asm.ra).apply(null,arguments)},Tb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=function(){return(Tb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=a.asm.sa).apply(null,arguments)},Ub=a._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Ub=a._emscripten_bind_Encoder_SetSpeedOptions_2=a.asm.ta).apply(null,arguments)},Vb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(Vb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=a.asm.ua).apply(null,
arguments)},Wb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return(Wb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=a.asm.va).apply(null,arguments)},Xb=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(Xb=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=a.asm.wa).apply(null,arguments)},Yb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=function(){return(Yb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=a.asm.xa).apply(null,
arguments)},Zb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(Zb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=a.asm.ya).apply(null,arguments)},$b=a._emscripten_bind_Encoder___destroy___0=function(){return($b=a._emscripten_bind_Encoder___destroy___0=a.asm.za).apply(null,arguments)},Na=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Na=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=a.asm.Aa).apply(null,arguments)},ac=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=
function(){return(ac=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=a.asm.Ba).apply(null,arguments)},bc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(bc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=a.asm.Ca).apply(null,arguments)},cc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(cc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=a.asm.Da).apply(null,arguments)},dc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=
function(){return(dc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=a.asm.Ea).apply(null,arguments)},ec=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(ec=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=a.asm.Fa).apply(null,arguments)},fc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(fc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=a.asm.Ga).apply(null,arguments)},gc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=
function(){return(gc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=a.asm.Ha).apply(null,arguments)},hc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(hc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=a.asm.Ia).apply(null,arguments)},ic=a._emscripten_bind_ExpertEncoder___destroy___0=function(){return(ic=a._emscripten_bind_ExpertEncoder___destroy___0=a.asm.Ja).apply(null,arguments)},jc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(jc=
a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.Ka).apply(null,arguments)},kc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(kc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.La).apply(null,arguments)},lc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(lc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.Ma).apply(null,arguments)},mc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(mc=
a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.Na).apply(null,arguments)},nc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(nc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.Oa).apply(null,arguments)},oc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(oc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.Pa).apply(null,arguments)},pc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(pc=
a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.Qa).apply(null,arguments)},qc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(qc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.Ra).apply(null,arguments)},rc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(rc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Sa).apply(null,arguments)},sc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=
function(){return(sc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=a.asm.Ta).apply(null,arguments)},tc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(tc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=a.asm.Ua).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Va).apply(null,arguments)};var Ra=a._malloc=function(){return(Ra=a._malloc=a.asm.Wa).apply(null,arguments)};a.callRuntimeCallbacks=B;var fa;ca=function b(){fa||
U();fa||(ca=b)};a.run=U;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();U();w.prototype=Object.create(w.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.WrapperObject=w;a.getCache=C;a.wrapPointer=T;a.castObject=function(b,c){return T(b.ptr,c)};a.NULL=T(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete C(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 l={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(l.needed){for(var b=0;b<l.temps.length;b++)a._free(l.temps[b]);l.temps.length=0;a._free(l.buffer);l.buffer=0;l.size+=l.needed;l.needed=0}l.buffer||(l.size+=128,l.buffer=a._malloc(l.size),r(l.buffer));l.pos=0},alloc:function(b,c){r(l.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;l.pos+b>=l.size?(r(0<b),l.needed+=
b,c=a._malloc(b),l.temps.push(c)):(c=l.buffer+l.pos,l.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 e=0;e<b.length;e++)c[d+e]=b[e]}};R.prototype=Object.create(w.prototype);R.prototype.constructor=R;R.prototype.__class__=R;R.__cache__={};a.VoidPtr=R;R.prototype.__destroy__=R.prototype.__destroy__=function(){Sa(this.ptr)};N.prototype=Object.create(w.prototype);N.prototype.constructor=N;N.prototype.__class__=N;
N.__cache__={};a.GeometryAttribute=N;N.prototype.__destroy__=N.prototype.__destroy__=function(){Ta(this.ptr)};z.prototype=Object.create(w.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.PointAttribute=z;z.prototype.size=z.prototype.size=function(){return Ua(this.ptr)};z.prototype.attribute_type=z.prototype.attribute_type=function(){return Va(this.ptr)};z.prototype.data_type=z.prototype.data_type=function(){return Wa(this.ptr)};z.prototype.num_components=z.prototype.num_components=
function(){return Xa(this.ptr)};z.prototype.normalized=z.prototype.normalized=function(){return!!Ya(this.ptr)};z.prototype.byte_stride=z.prototype.byte_stride=function(){return Za(this.ptr)};z.prototype.byte_offset=z.prototype.byte_offset=function(){return $a(this.ptr)};z.prototype.unique_id=z.prototype.unique_id=function(){return ab(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){bb(this.ptr)};H.prototype=Object.create(w.prototype);H.prototype.constructor=H;H.prototype.__class__=
H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return cb(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return db(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){eb(this.ptr)};E.prototype=Object.create(w.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return fb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=
function(){return gb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return hb(this.ptr)};E.prototype.set_num_points=E.prototype.set_num_points=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ib(c,b)};E.prototype.__destroy__=E.prototype.__destroy__=function(){jb(this.ptr)};O.prototype=Object.create(w.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.Metadata=O;O.prototype.__destroy__=O.prototype.__destroy__=function(){kb(this.ptr)};I.prototype=
Object.create(w.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 lb(c,b)};I.prototype.size=I.prototype.size=function(){return mb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){nb(this.ptr)};F.prototype=Object.create(w.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.MetadataBuilder=F;F.prototype.AddStringEntry=
F.prototype.AddStringEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d=d&&"object"===typeof d?d.ptr:P(d);return!!ob(e,b,c,d)};F.prototype.AddIntEntry=F.prototype.AddIntEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d&&"object"===typeof d&&(d=d.ptr);return!!pb(e,b,c,d)};F.prototype.AddIntEntryArray=F.prototype.AddIntEntryArray=function(b,c,d,e){var g=this.ptr;
l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);"object"==typeof d&&(d=X(d));e&&"object"===typeof e&&(e=e.ptr);return!!qb(g,b,c,d,e)};F.prototype.AddDoubleEntry=F.prototype.AddDoubleEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d&&"object"===typeof d&&(d=d.ptr);return!!rb(e,b,c,d)};F.prototype.__destroy__=F.prototype.__destroy__=function(){sb(this.ptr)};x.prototype=Object.create(w.prototype);
x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.PointCloudBuilder=x;x.prototype.AddFloatAttribute=x.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return tb(t,b,c,d,e,g)};x.prototype.AddInt8Attribute=x.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===
typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return ub(t,b,c,d,e,g)};x.prototype.AddUInt8Attribute=x.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return vb(t,b,c,d,e,g)};x.prototype.AddInt16Attribute=
x.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return wb(t,b,c,d,e,g)};x.prototype.AddUInt16Attribute=x.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&
(e=e.ptr);"object"==typeof g&&(g=ia(g));return xb(t,b,c,d,e,g)};x.prototype.AddInt32Attribute=x.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return yb(t,b,c,d,e,g)};x.prototype.AddUInt32Attribute=x.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return zb(t,b,c,d,e,g)};x.prototype.AddMetadata=x.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Ab(d,b,c)};x.prototype.SetMetadataForAttribute=x.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===
typeof d&&(d=d.ptr);return!!Bb(e,b,c,d)};x.prototype.__destroy__=x.prototype.__destroy__=function(){Cb(this.ptr)};u.prototype=Object.create(w.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.MeshBuilder=u;u.prototype.AddFacesToMesh=u.prototype.AddFacesToMesh=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);"object"==typeof d&&(d=X(d));return!!Db(e,b,c,d)};u.prototype.AddFloatAttributeToMesh=u.prototype.AddFloatAttributeToMesh=
function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return Eb(t,b,c,d,e,g)};u.prototype.AddInt32AttributeToMesh=u.prototype.AddInt32AttributeToMesh=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==
typeof g&&(g=X(g));return Fb(t,b,c,d,e,g)};u.prototype.AddMetadataToMesh=u.prototype.AddMetadataToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Gb(d,b,c)};u.prototype.AddFloatAttribute=u.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return Hb(t,
b,c,d,e,g)};u.prototype.AddInt8Attribute=u.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return Ib(t,b,c,d,e,g)};u.prototype.AddUInt8Attribute=u.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return Jb(t,b,c,d,e,g)};u.prototype.AddInt16Attribute=u.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return Kb(t,b,c,d,e,g)};u.prototype.AddUInt16Attribute=u.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return Lb(t,b,c,d,e,g)};u.prototype.AddInt32Attribute=u.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return Mb(t,b,c,d,e,g)};u.prototype.AddUInt32Attribute=
u.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return Nb(t,b,c,d,e,g)};u.prototype.AddMetadata=u.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Ob(d,b,c)};u.prototype.SetMetadataForAttribute=u.prototype.SetMetadataForAttribute=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Pb(e,b,c,d)};u.prototype.__destroy__=u.prototype.__destroy__=function(){Qb(this.ptr)};y.prototype=Object.create(w.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.Encoder=y;y.prototype.SetEncodingMethod=y.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Rb(c,b)};y.prototype.SetAttributeQuantization=
y.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Sb(d,b,c)};y.prototype.SetAttributeExplicitQuantization=y.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=aa(e));g&&"object"===typeof g&&(g=g.ptr);Tb(t,b,c,d,e,g)};y.prototype.SetSpeedOptions=y.prototype.SetSpeedOptions=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Ub(d,b,c)};y.prototype.SetTrackEncodedProperties=y.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Vb(c,b)};y.prototype.EncodeMeshToDracoBuffer=y.prototype.EncodeMeshToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Wb(d,b,c)};y.prototype.EncodePointCloudToDracoBuffer=y.prototype.EncodePointCloudToDracoBuffer=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return Xb(e,b,c,d)};y.prototype.GetNumberOfEncodedPoints=y.prototype.GetNumberOfEncodedPoints=function(){return Yb(this.ptr)};y.prototype.GetNumberOfEncodedFaces=y.prototype.GetNumberOfEncodedFaces=function(){return Zb(this.ptr)};y.prototype.__destroy__=y.prototype.__destroy__=function(){$b(this.ptr)};A.prototype=Object.create(w.prototype);A.prototype.constructor=A;
A.prototype.__class__=A;A.__cache__={};a.ExpertEncoder=A;A.prototype.SetEncodingMethod=A.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ac(c,b)};A.prototype.SetAttributeQuantization=A.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);bc(d,b,c)};A.prototype.SetAttributeExplicitQuantization=A.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;l.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=aa(e));g&&"object"===typeof g&&(g=g.ptr);cc(t,b,c,d,e,g)};A.prototype.SetSpeedOptions=A.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);dc(d,b,c)};A.prototype.SetTrackEncodedProperties=A.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ec(c,b)};A.prototype.EncodeToDracoBuffer=
A.prototype.EncodeToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return fc(d,b,c)};A.prototype.GetNumberOfEncodedPoints=A.prototype.GetNumberOfEncodedPoints=function(){return gc(this.ptr)};A.prototype.GetNumberOfEncodedFaces=A.prototype.GetNumberOfEncodedFaces=function(){return hc(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){ic(this.ptr)};(function(){function b(){a.INVALID=jc();a.POSITION=kc();a.NORMAL=lc();a.COLOR=
mc();a.TEX_COORD=nc();a.GENERIC=oc();a.INVALID_GEOMETRY_TYPE=pc();a.POINT_CLOUD=qc();a.TRIANGULAR_MESH=rc();a.MESH_SEQUENTIAL_ENCODING=sc();a.MESH_EDGEBREAKER_ENCODING=tc()}ya?b():pa.unshift(b)})();a.mainCallbacks=pa;if("function"===typeof a.onModuleParsed)a.onModuleParsed();return q.ready}}();
"object"===typeof exports&&"object"===typeof module?module.exports=DracoEncoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoEncoderModule}):"object"===typeof exports&&(exports.DracoEncoderModule=DracoEncoderModule);

View File

@ -1,6 +1,6 @@
{
"name": "draco3d",
"version": "1.4.1",
"version": "1.4.3",
"description": "Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.",
"main": "draco3d.js",
"scripts": {

View File

@ -17,7 +17,7 @@ Draco github glTF branch URL: https://github.com/google/draco/tree/gltf_2.0_drac
News
=======
Check out the [README](https://github.com/google/draco/blob/1.4.1/README.md)
Check out the [README](https://github.com/google/draco/blob/1.4.3/README.md)
file for news about this release.
NPM Package

View File

@ -1,130 +1,116 @@
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(l){var n=0;return function(){return n<l.length?{done:!1,value:l[n++]}:{done:!0}}};$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}};$jscomp.makeIterator=function(l){var n="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];return n?n.call(l):$jscomp.arrayIterator(l)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<l.length;++n){var m=l[n];if(m&&m.Math==Math)return m}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,n,m){if(l==Array.prototype||l==Object.prototype)return l;l[n]=m.value;return l};$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$";
var $jscomp$lookupPolyfilledValue=function(l,n){var m=$jscomp.propertyToPolyfillSymbol[n];if(null==m)return l[n];m=l[m];return void 0!==m?m:l[n]};$jscomp.polyfill=function(l,n,m,q){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,n,m,q):$jscomp.polyfillUnisolated(l,n,m,q))};
$jscomp.polyfillUnisolated=function(l,n,m,q){m=$jscomp.global;l=l.split(".");for(q=0;q<l.length-1;q++){var h=l[q];if(!(h in m))return;m=m[h]}l=l[l.length-1];q=m[l];n=n(q);n!=q&&null!=n&&$jscomp.defineProperty(m,l,{configurable:!0,writable:!0,value:n})};
$jscomp.polyfillIsolated=function(l,n,m,q){var h=l.split(".");l=1===h.length;q=h[0];q=!l&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var C=0;C<h.length-1;C++){var f=h[C];if(!(f in q))return;q=q[f]}h=h[h.length-1];m=$jscomp.IS_SYMBOL_NATIVE&&"es6"===m?q[h]:null;n=n(m);null!=n&&(l?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:n}):n!==m&&($jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+h,h=
$jscomp.propertyToPolyfillSymbol[h],$jscomp.defineProperty(q,h,{configurable:!0,writable:!0,value:n})))};
$jscomp.polyfill("Promise",function(l){function n(){this.batch_=null}function m(f){return f instanceof h?f:new h(function(p,t){p(f)})}if(l&&(!($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 l;n.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(f)};
var q=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(f){q(f,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var f=this.batch_;this.batch_=[];for(var p=0;p<f.length;++p){var t=f[p];f[p]=null;try{t()}catch(y){this.asyncThrow_(y)}}}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 p=this.createResolveAndReject_();
try{f(p.resolve,p.reject)}catch(t){p.reject(t)}};h.prototype.createResolveAndReject_=function(){function f(y){return function(O){t||(t=!0,y.call(p,O))}}var p=this,t=!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 p=null!=f;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(f):
this.fulfill_(f)}};h.prototype.resolveToNonPromiseObj_=function(f){var p=void 0;try{p=f.then}catch(t){this.reject_(t);return}"function"==typeof p?this.settleSameAsThenable_(p,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,p){if(0!=this.state_)throw Error("Cannot settle("+f+", "+p+"): Promise already settled in state"+this.state_);this.state_=f;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};h.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;q(function(){if(f.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(f.result_)}},1)};h.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,p=$jscomp.global.Event,t=$jscomp.global.dispatchEvent;if("undefined"===typeof t)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):
"function"===typeof p?f=new p("unhandledrejection",{cancelable:!0}):(f=$jscomp.global.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.result_;return t(f)};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)C.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var C=new n;h.prototype.settleSameAsPromise_=function(f){var p=this.createResolveAndReject_();
f.callWhenSettled_(p.resolve,p.reject)};h.prototype.settleSameAsThenable_=function(f,p){var t=this.createResolveAndReject_();try{f.call(p,t.resolve,t.reject)}catch(y){t.reject(y)}};h.prototype.then=function(f,p){function t(U,Q){return"function"==typeof U?function(ea){try{y(U(ea))}catch(u){O(u)}}:Q}var y,O,ba=new h(function(U,Q){y=U;O=Q});this.callWhenSettled_(t(f,y),t(p,O));return ba};h.prototype.catch=function(f){return this.then(void 0,f)};h.prototype.callWhenSettled_=function(f,p){function t(){switch(y.state_){case 1:f(y.result_);
break;case 2:p(y.result_);break;default:throw Error("Unexpected state: "+y.state_);}}var y=this;null==this.onSettledCallbacks_?C.asyncExecute(t):this.onSettledCallbacks_.push(t);this.isRejectionHandled_=!0};h.resolve=m;h.reject=function(f){return new h(function(p,t){t(f)})};h.race=function(f){return new h(function(p,t){for(var y=$jscomp.makeIterator(f),O=y.next();!O.done;O=y.next())m(O.value).callWhenSettled_(p,t)})};h.all=function(f){var p=$jscomp.makeIterator(f),t=p.next();return t.done?m([]):new h(function(y,
O){function ba(ea){return function(u){U[ea]=u;Q--;0==Q&&y(U)}}var U=[],Q=0;do U.push(void 0),Q++,m(t.value).callWhenSettled_(ba(U.length-1),O),t=p.next();while(!t.done)})};return h},"es6","es3");$jscomp.checkEs6ConformanceViaProxy=function(){try{var l={},n=Object.create(new $jscomp.global.Proxy(l,{get:function(m,q,h){return m==l&&"q"==q&&h==n}}));return!0===n.q}catch(m){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;
$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();$jscomp.owns=function(l,n){return Object.prototype.hasOwnProperty.call(l,n)};
$jscomp.polyfill("Array.prototype.copyWithin",function(l){function n(m){m=Number(m);return Infinity===m||-Infinity===m?m:m|0}return l?l:function(m,q,h){var C=this.length;m=n(m);q=n(q);h=void 0===h?C:n(h);m=0>m?Math.max(C+m,0):Math.min(m,C);q=0>q?Math.max(C+q,0):Math.min(q,C);h=0>h?Math.max(C+h,0):Math.min(h,C);if(m<q)for(;q<h;)q in this?this[m++]=this[q++]:(delete this[m++],q++);else for(h=Math.min(h,C+q-m),m+=h-q;h>q;)--h in this?this[--m]=this[h]:delete this[--m];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(l){return l?l: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");
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(m){var p=0;return function(){return p<m.length?{done:!1,value:m[p++]}:{done:!0}}};$jscomp.arrayIterator=function(m){return{next:$jscomp.arrayIteratorImpl(m)}};$jscomp.makeIterator=function(m){var p="undefined"!=typeof Symbol&&Symbol.iterator&&m[Symbol.iterator];return p?p.call(m):$jscomp.arrayIterator(m)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(m){m=["object"==typeof globalThis&&globalThis,m,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<m.length;++p){var l=m[p];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(m,p,l){if(m==Array.prototype||m==Object.prototype)return m;m[p]=l.value;return m};$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$";
var $jscomp$lookupPolyfilledValue=function(m,p){var l=$jscomp.propertyToPolyfillSymbol[p];if(null==l)return m[p];l=m[l];return void 0!==l?l:m[p]};$jscomp.polyfill=function(m,p,l,q){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(m,p,l,q):$jscomp.polyfillUnisolated(m,p,l,q))};
$jscomp.polyfillUnisolated=function(m,p,l,q){l=$jscomp.global;m=m.split(".");for(q=0;q<m.length-1;q++){var k=m[q];if(!(k in l))return;l=l[k]}m=m[m.length-1];q=l[m];p=p(q);p!=q&&null!=p&&$jscomp.defineProperty(l,m,{configurable:!0,writable:!0,value:p})};
$jscomp.polyfillIsolated=function(m,p,l,q){var k=m.split(".");m=1===k.length;q=k[0];q=!m&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var B=0;B<k.length-1;B++){var f=k[B];if(!(f in q))return;q=q[f]}k=k[k.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?q[k]:null;p=p(l);null!=p&&(m?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:p}):p!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+l+"$"+k),$jscomp.defineProperty(q,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:p})))};
$jscomp.polyfill("Promise",function(m){function p(){this.batch_=null}function l(f){return f instanceof k?f:new k(function(n,u){n(f)})}if(m&&(!($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 m;p.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var n=this;this.asyncExecuteFunction(function(){n.executeBatch_()})}this.batch_.push(f)};
var q=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(f){q(f,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var f=this.batch_;this.batch_=[];for(var n=0;n<f.length;++n){var u=f[n];f[n]=null;try{u()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};p.prototype.asyncThrow_=function(f){this.asyncExecuteFunction(function(){throw f;})};var k=function(f){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var n=this.createResolveAndReject_();
try{f(n.resolve,n.reject)}catch(u){n.reject(u)}};k.prototype.createResolveAndReject_=function(){function f(z){return function(D){u||(u=!0,z.call(n,D))}}var n=this,u=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}};k.prototype.resolveTo_=function(f){if(f===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof k)this.settleSameAsPromise_(f);else{a:switch(typeof f){case "object":var n=null!=f;break a;case "function":n=!0;break a;default:n=!1}n?this.resolveToNonPromiseObj_(f):
this.fulfill_(f)}};k.prototype.resolveToNonPromiseObj_=function(f){var n=void 0;try{n=f.then}catch(u){this.reject_(u);return}"function"==typeof n?this.settleSameAsThenable_(n,f):this.fulfill_(f)};k.prototype.reject_=function(f){this.settle_(2,f)};k.prototype.fulfill_=function(f){this.settle_(1,f)};k.prototype.settle_=function(f,n){if(0!=this.state_)throw Error("Cannot settle("+f+", "+n+"): Promise already settled in state"+this.state_);this.state_=f;this.result_=n;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;q(function(){if(f.notifyUnhandledRejection_()){var n=$jscomp.global.console;"undefined"!==typeof n&&n.error(f.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,n=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):
"function"===typeof n?f=new n("unhandledrejection",{cancelable:!0}):(f=$jscomp.global.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.result_;return u(f)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)B.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var B=new p;k.prototype.settleSameAsPromise_=function(f){var n=this.createResolveAndReject_();
f.callWhenSettled_(n.resolve,n.reject)};k.prototype.settleSameAsThenable_=function(f,n){var u=this.createResolveAndReject_();try{f.call(n,u.resolve,u.reject)}catch(z){u.reject(z)}};k.prototype.then=function(f,n){function u(Q,t){return"function"==typeof Q?function(x){try{z(Q(x))}catch(E){D(E)}}:t}var z,D,fa=new k(function(Q,t){z=Q;D=t});this.callWhenSettled_(u(f,z),u(n,D));return fa};k.prototype.catch=function(f){return this.then(void 0,f)};k.prototype.callWhenSettled_=function(f,n){function u(){switch(z.state_){case 1:f(z.result_);
break;case 2:n(z.result_);break;default:throw Error("Unexpected state: "+z.state_);}}var z=this;null==this.onSettledCallbacks_?B.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};k.resolve=l;k.reject=function(f){return new k(function(n,u){u(f)})};k.race=function(f){return new k(function(n,u){for(var z=$jscomp.makeIterator(f),D=z.next();!D.done;D=z.next())l(D.value).callWhenSettled_(n,u)})};k.all=function(f){var n=$jscomp.makeIterator(f),u=n.next();return u.done?l([]):new k(function(z,
D){function fa(x){return function(E){Q[x]=E;t--;0==t&&z(Q)}}var Q=[],t=0;do Q.push(void 0),t++,l(u.value).callWhenSettled_(fa(Q.length-1),D),u=n.next();while(!u.done)})};return k},"es6","es3");
$jscomp.polyfill("Array.prototype.copyWithin",function(m){function p(l){l=Number(l);return Infinity===l||-Infinity===l?l:l|0}return m?m:function(l,q,k){var B=this.length;l=p(l);q=p(q);k=void 0===k?B:p(k);l=0>l?Math.max(B+l,0):Math.min(l,B);q=0>q?Math.max(B+q,0):Math.min(q,B);k=0>k?Math.max(B+k,0):Math.min(k,B);if(l<q)for(;q<k;)q in this?this[l++]=this[q++]:(delete this[l++],q++);else for(k=Math.min(k,B+q-l),l+=k-q;k>q;)--k in this?this[--l]=this[k]:delete this[--l];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(m){return m?m: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");
$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");
var DracoDecoderModule=function(){var l="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(l=l||__filename);return function(n){function m(e){return a.locateFile?a.locateFile(e,V):V+e}function q(e,b){e||p("Assertion failed: "+b)}function h(e,b){if(e){var c=oa;var d=e+b;for(b=e;c[b]&&!(b>=d);)++b;if(16<b-e&&c.subarray&&Ba)c=Ba.decode(c.subarray(e,b));else{for(d="";e<b;){var g=c[e++];if(g&128){var v=c[e++]&63;if(192==(g&224))d+=String.fromCharCode((g&
31)<<6|v);else{var ia=c[e++]&63;g=224==(g&240)?(g&15)<<12|v<<6|ia:(g&7)<<18|v<<12|ia<<6|c[e++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}c=d}}else c="";return c}function C(e,b){0<e%b&&(e+=b-e%b);return e}function f(e){pa=e;a.HEAP8=Z=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=W=new Int32Array(e);a.HEAPU8=oa=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);
a.HEAPF64=new Float64Array(e)}function p(e){if(a.onAbort)a.onAbort(e);e+="";ja(e);Ca=!0;e=new WebAssembly.RuntimeError("abort("+e+"). Build with -s ASSERTIONS=1 for more info.");ta(e);throw e;}function t(e,b){return String.prototype.startsWith?e.startsWith(b):0===e.indexOf(b)}function y(){try{if(ka)return new Uint8Array(ka);if(qa)return qa(X);throw"both async and sync fetching of the wasm failed";}catch(e){p(e)}}function O(){return ka||!ra&&!fa||"function"!==typeof fetch||t(X,"file://")?Promise.resolve().then(y):
fetch(X,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+X+"'";return e.arrayBuffer()}).catch(function(){return y()})}function ba(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?ua.get(c)():ua.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function U(e){this.excPtr=e;this.ptr=e-D.SIZE;this.set_type=function(b){W[this.ptr+D.TYPE_OFFSET>>2]=b};this.get_type=function(){return W[this.ptr+
D.TYPE_OFFSET>>2]};this.set_destructor=function(b){W[this.ptr+D.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return W[this.ptr+D.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){W[this.ptr+D.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Z[this.ptr+D.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Z[this.ptr+D.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Z[this.ptr+D.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=Z[this.ptr+D.RETHROWN_OFFSET>>
0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){W[this.ptr+D.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=W[this.ptr+D.REFCOUNT_OFFSET>>2];W[this.ptr+D.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function Q(){return 0<Q.uncaught_exceptions}function ea(e){function b(){if(!sa&&(sa=!0,a.calledRun=!0,!Ca)){Da=!0;ba(Ea);ba(Fa);Ga(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==
typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ha.unshift(a.postRun.shift());ba(Ha)}}if(!(0<ha)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ia.unshift(a.preRun.shift());ba(Ia);0<ha||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function u(){}function z(e){return(e||u).__cache__}function R(e,b){var c=z(b),d=c[e];if(d)return d;d=Object.create((b||u).prototype);d.ptr=e;return c[e]=
d}function ca(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}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 v=e.charCodeAt(g);if(55296<=v&&57343>=v){var ia=e.charCodeAt(++g);v=65536+((v&1023)<<10)|ia&1023}if(127>=v){if(c>=d)break;b[c++]=v}else{if(2047>=v){if(c+1>=d)break;b[c++]=192|v>>6}else{if(65535>=v){if(c+2>=d)break;b[c++]=
224|v>>12}else{if(c+3>=d)break;b[c++]=240|v>>18;b[c++]=128|v>>12&63}b[c++]=128|v>>6&63}b[c++]=128|v&63}}b[c]=0}e=r.alloc(b,Z);r.copy(b,Z,e);return e}return e}function va(e){if("object"===typeof e){var b=r.alloc(e,Z);r.copy(e,Z,b);return b}return e}function aa(){throw"cannot construct a VoidPtr, no constructor in IDL";}function S(){this.ptr=Ja();z(S)[this.ptr]=this}function P(){this.ptr=Ka();z(P)[this.ptr]=this}function Y(){this.ptr=La();z(Y)[this.ptr]=this}function w(){this.ptr=Ma();z(w)[this.ptr]=
this}function B(){this.ptr=Na();z(B)[this.ptr]=this}function F(){this.ptr=Oa();z(F)[this.ptr]=this}function G(){this.ptr=Pa();z(G)[this.ptr]=this}function E(){this.ptr=Qa();z(E)[this.ptr]=this}function T(){this.ptr=Ra();z(T)[this.ptr]=this}function A(){throw"cannot construct a Status, no constructor in IDL";}function H(){this.ptr=Sa();z(H)[this.ptr]=this}function I(){this.ptr=Ta();z(I)[this.ptr]=this}function J(){this.ptr=Ua();z(J)[this.ptr]=this}function K(){this.ptr=Va();z(K)[this.ptr]=this}function L(){this.ptr=
Wa();z(L)[this.ptr]=this}function M(){this.ptr=Xa();z(M)[this.ptr]=this}function N(){this.ptr=Ya();z(N)[this.ptr]=this}function x(){this.ptr=Za();z(x)[this.ptr]=this}function k(){this.ptr=$a();z(k)[this.ptr]=this}n=n||{};var a="undefined"!==typeof n?n:{},Ga,ta;a.ready=new Promise(function(e,b){Ga=e;ta=b});var ab=!1,bb=!1;a.onRuntimeInitialized=function(){ab=!0;if(bb&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){bb=!0;if(ab&&"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]&&4>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var la={},da;for(da in a)a.hasOwnProperty(da)&&(la[da]=a[da]);var ra=!1,fa=!1,wa=!1,cb=!1;ra="object"===typeof window;fa="function"===typeof importScripts;wa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;cb=!ra&&!wa&&!fa;var V="",xa,ya;if(wa){V=fa?require("path").dirname(V)+"/":
__dirname+"/";var za=function(e,b){xa||(xa=require("fs"));ya||(ya=require("path"));e=ya.normalize(e);return xa.readFileSync(e,b?null:"utf8")};var qa=function(e){e=za(e,!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(cb)"undefined"!=typeof read&&(za=function(e){return read(e)}),qa=function(e){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(e));
e=read(e,"binary");q("object"===typeof e);return e},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ra||fa)fa?V=self.location.href:"undefined"!==typeof document&&document.currentScript&&(V=document.currentScript.src),l&&(V=l),V=0!==V.indexOf("blob:")?V.substr(0,V.lastIndexOf("/")+1):"",za=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.send(null);return b.responseText},
fa&&(qa=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});a.print||console.log.bind(console);var ja=a.printErr||console.warn.bind(console);for(da in la)la.hasOwnProperty(da)&&(a[da]=la[da]);la=null;var ka;a.wasmBinary&&(ka=a.wasmBinary);"object"!==typeof WebAssembly&&p("no native wasm support detected");var ma,Ca=!1,Ba="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;"undefined"!==typeof TextDecoder&&
new TextDecoder("utf-16le");var Z,oa,W,db=a.INITIAL_MEMORY||16777216;if(ma=a.wasmMemory?a.wasmMemory:new WebAssembly.Memory({initial:db/65536,maximum:32768}))var pa=ma.buffer;db=pa.byteLength;f(pa);var ua,Ia=[],Ea=[],Fa=[],Ha=[],Da=!1,ha=0,Aa=null,na=null;a.preloadedImages={};a.preloadedAudios={};var X="draco_decoder_gltf.wasm";t(X,"data:application/octet-stream;base64,")||(X=m(X));var D={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16};Ea.push({func:function(){eb()}});
var gb={__cxa_allocate_exception:function(e){return fb(e+D.SIZE)+D.SIZE},__cxa_throw:function(e,b,c){(new U(e)).init(b,c);"uncaught_exception"in Q?Q.uncaught_exceptions++:Q.uncaught_exceptions=1;throw e;},abort:function(){p()},array_bounds_check_error:function(e,b){throw"Array index "+e+" out of bounds: [0,"+b+")";},emscripten_memcpy_big:function(e,b,c){oa.copyWithin(e,b,b+c)},emscripten_resize_heap:function(e){e>>>=0;var b=oa.length;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);
d=Math.min(d,e+100663296);d=Math.min(2147483648,C(Math.max(16777216,e,d),65536));a:{try{ma.grow(d-pa.byteLength+65535>>>16);f(ma.buffer);var g=1;break a}catch(v){}g=void 0}if(g)return!0}return!1},memory:ma};(function(){function e(g,v){a.asm=g.exports;ua=a.asm.__indirect_function_table;ha--;a.monitorRunDependencies&&a.monitorRunDependencies(ha);0==ha&&(null!==Aa&&(clearInterval(Aa),Aa=null),na&&(g=na,na=null,g()))}function b(g){e(g.instance)}function c(g){return O().then(function(v){return WebAssembly.instantiate(v,
d)}).then(g,function(v){ja("failed to asynchronously prepare wasm: "+v);p(v)})}var d={env:gb,wasi_snapshot_preview1:gb};ha++;a.monitorRunDependencies&&a.monitorRunDependencies(ha);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(g){return ja("Module.instantiateWasm callback failed with error: "+g),!1}(function(){return ka||"function"!==typeof WebAssembly.instantiateStreaming||t(X,"data:application/octet-stream;base64,")||t(X,"file://")||"function"!==typeof fetch?c(b):fetch(X,{credentials:"same-origin"}).then(function(g){return WebAssembly.instantiateStreaming(g,
d).then(b,function(v){ja("wasm streaming compile failed: "+v);ja("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(ta);return{}})();var eb=a.___wasm_call_ctors=function(){return(eb=a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)};a.___em_js__array_bounds_check_error=function(){return(a.___em_js__array_bounds_check_error=a.asm.__em_js__array_bounds_check_error).apply(null,arguments)};var hb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(hb=a._emscripten_bind_VoidPtr___destroy___0=
a.asm.emscripten_bind_VoidPtr___destroy___0).apply(null,arguments)},Ja=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ja=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.emscripten_bind_DecoderBuffer_DecoderBuffer_0).apply(null,arguments)},ib=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(ib=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.emscripten_bind_DecoderBuffer_Init_2).apply(null,arguments)},jb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(jb=
a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.emscripten_bind_DecoderBuffer___destroy___0).apply(null,arguments)},Ka=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ka=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.emscripten_bind_AttributeTransformData_AttributeTransformData_0).apply(null,arguments)},kb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(kb=a._emscripten_bind_AttributeTransformData_transform_type_0=
a.asm.emscripten_bind_AttributeTransformData_transform_type_0).apply(null,arguments)},lb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(lb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.emscripten_bind_AttributeTransformData___destroy___0).apply(null,arguments)},La=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(La=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0).apply(null,
arguments)},mb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(mb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.emscripten_bind_GeometryAttribute___destroy___0).apply(null,arguments)},Ma=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ma=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.emscripten_bind_PointAttribute_PointAttribute_0).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_size_0=function(){return(nb=a._emscripten_bind_PointAttribute_size_0=
a.asm.emscripten_bind_PointAttribute_size_0).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(ob=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.emscripten_bind_PointAttribute_GetAttributeTransformData_0).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(pb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.emscripten_bind_PointAttribute_attribute_type_0).apply(null,arguments)},
qb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(qb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.emscripten_bind_PointAttribute_data_type_0).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(rb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.emscripten_bind_PointAttribute_num_components_0).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(sb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.emscripten_bind_PointAttribute_normalized_0).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(tb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.emscripten_bind_PointAttribute_byte_stride_0).apply(null,arguments)},ub=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(ub=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.emscripten_bind_PointAttribute_byte_offset_0).apply(null,arguments)},vb=a._emscripten_bind_PointAttribute_unique_id_0=
function(){return(vb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.emscripten_bind_PointAttribute_unique_id_0).apply(null,arguments)},wb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(wb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.emscripten_bind_PointAttribute___destroy___0).apply(null,arguments)},Na=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Na=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=
a.asm.emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1).apply(null,arguments)},yb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(yb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=
a.asm.emscripten_bind_AttributeQuantizationTransform_quantization_bits_0).apply(null,arguments)},zb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(zb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.emscripten_bind_AttributeQuantizationTransform_min_value_1).apply(null,arguments)},Ab=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Ab=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.emscripten_bind_AttributeQuantizationTransform_range_0).apply(null,
arguments)},Bb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Bb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.emscripten_bind_AttributeQuantizationTransform___destroy___0).apply(null,arguments)},Oa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Oa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0).apply(null,
arguments)},Cb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Cb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1).apply(null,arguments)},Db=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Db=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.emscripten_bind_AttributeOctahedronTransform_quantization_bits_0).apply(null,
arguments)},Eb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Eb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.emscripten_bind_AttributeOctahedronTransform___destroy___0).apply(null,arguments)},Pa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Pa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.emscripten_bind_PointCloud_PointCloud_0).apply(null,arguments)},Fb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Fb=a._emscripten_bind_PointCloud_num_attributes_0=
a.asm.emscripten_bind_PointCloud_num_attributes_0).apply(null,arguments)},Gb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Gb=a._emscripten_bind_PointCloud_num_points_0=a.asm.emscripten_bind_PointCloud_num_points_0).apply(null,arguments)},Hb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Hb=a._emscripten_bind_PointCloud___destroy___0=a.asm.emscripten_bind_PointCloud___destroy___0).apply(null,arguments)},Qa=a._emscripten_bind_Mesh_Mesh_0=function(){return(Qa=a._emscripten_bind_Mesh_Mesh_0=
a.asm.emscripten_bind_Mesh_Mesh_0).apply(null,arguments)},Ib=a._emscripten_bind_Mesh_num_faces_0=function(){return(Ib=a._emscripten_bind_Mesh_num_faces_0=a.asm.emscripten_bind_Mesh_num_faces_0).apply(null,arguments)},Jb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Jb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.emscripten_bind_Mesh_num_attributes_0).apply(null,arguments)},Kb=a._emscripten_bind_Mesh_num_points_0=function(){return(Kb=a._emscripten_bind_Mesh_num_points_0=a.asm.emscripten_bind_Mesh_num_points_0).apply(null,
arguments)},Lb=a._emscripten_bind_Mesh___destroy___0=function(){return(Lb=a._emscripten_bind_Mesh___destroy___0=a.asm.emscripten_bind_Mesh___destroy___0).apply(null,arguments)},Ra=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ra=a._emscripten_bind_Metadata_Metadata_0=a.asm.emscripten_bind_Metadata_Metadata_0).apply(null,arguments)},Mb=a._emscripten_bind_Metadata___destroy___0=function(){return(Mb=a._emscripten_bind_Metadata___destroy___0=a.asm.emscripten_bind_Metadata___destroy___0).apply(null,
arguments)},Nb=a._emscripten_bind_Status_code_0=function(){return(Nb=a._emscripten_bind_Status_code_0=a.asm.emscripten_bind_Status_code_0).apply(null,arguments)},Ob=a._emscripten_bind_Status_ok_0=function(){return(Ob=a._emscripten_bind_Status_ok_0=a.asm.emscripten_bind_Status_ok_0).apply(null,arguments)},Pb=a._emscripten_bind_Status_error_msg_0=function(){return(Pb=a._emscripten_bind_Status_error_msg_0=a.asm.emscripten_bind_Status_error_msg_0).apply(null,arguments)},Qb=a._emscripten_bind_Status___destroy___0=
function(){return(Qb=a._emscripten_bind_Status___destroy___0=a.asm.emscripten_bind_Status___destroy___0).apply(null,arguments)},Sa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Sa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.emscripten_bind_DracoFloat32Array_DracoFloat32Array_0).apply(null,arguments)},Rb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Rb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.emscripten_bind_DracoFloat32Array_GetValue_1).apply(null,
arguments)},Sb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Sb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.emscripten_bind_DracoFloat32Array_size_0).apply(null,arguments)},Tb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Tb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.emscripten_bind_DracoFloat32Array___destroy___0).apply(null,arguments)},Ta=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ta=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0).apply(null,arguments)},Ub=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Ub=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.emscripten_bind_DracoInt8Array_GetValue_1).apply(null,arguments)},Vb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Vb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.emscripten_bind_DracoInt8Array_size_0).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Wb=
a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.emscripten_bind_DracoInt8Array___destroy___0).apply(null,arguments)},Ua=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ua=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.emscripten_bind_DracoUInt8Array_DracoUInt8Array_0).apply(null,arguments)},Xb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Xb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.emscripten_bind_DracoUInt8Array_GetValue_1).apply(null,
arguments)},Yb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Yb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.emscripten_bind_DracoUInt8Array_size_0).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Zb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.emscripten_bind_DracoUInt8Array___destroy___0).apply(null,arguments)},Va=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Va=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=
a.asm.emscripten_bind_DracoInt16Array_DracoInt16Array_0).apply(null,arguments)},$b=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return($b=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.emscripten_bind_DracoInt16Array_GetValue_1).apply(null,arguments)},ac=a._emscripten_bind_DracoInt16Array_size_0=function(){return(ac=a._emscripten_bind_DracoInt16Array_size_0=a.asm.emscripten_bind_DracoInt16Array_size_0).apply(null,arguments)},bc=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(bc=
a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.emscripten_bind_DracoInt16Array___destroy___0).apply(null,arguments)},Wa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Wa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.emscripten_bind_DracoUInt16Array_DracoUInt16Array_0).apply(null,arguments)},cc=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(cc=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.emscripten_bind_DracoUInt16Array_GetValue_1).apply(null,
arguments)},dc=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(dc=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.emscripten_bind_DracoUInt16Array_size_0).apply(null,arguments)},ec=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ec=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.emscripten_bind_DracoUInt16Array___destroy___0).apply(null,arguments)},Xa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Xa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
a.asm.emscripten_bind_DracoInt32Array_DracoInt32Array_0).apply(null,arguments)},fc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(fc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.emscripten_bind_DracoInt32Array_GetValue_1).apply(null,arguments)},gc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(gc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.emscripten_bind_DracoInt32Array_size_0).apply(null,arguments)},hc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(hc=
a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.emscripten_bind_DracoInt32Array___destroy___0).apply(null,arguments)},Ya=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Ya=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.emscripten_bind_DracoUInt32Array_DracoUInt32Array_0).apply(null,arguments)},ic=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(ic=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.emscripten_bind_DracoUInt32Array_GetValue_1).apply(null,
arguments)},jc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(jc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.emscripten_bind_DracoUInt32Array_size_0).apply(null,arguments)},kc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(kc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.emscripten_bind_DracoUInt32Array___destroy___0).apply(null,arguments)},Za=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Za=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=
a.asm.emscripten_bind_MetadataQuerier_MetadataQuerier_0).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.emscripten_bind_MetadataQuerier_HasEntry_2).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(mc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetIntEntry_2).apply(null,arguments)},nc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
function(){return(nc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.emscripten_bind_MetadataQuerier_GetIntEntryArray_3).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(oc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetDoubleEntry_2).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(pc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetStringEntry_2).apply(null,
arguments)},qc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(qc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.emscripten_bind_MetadataQuerier_NumEntries_1).apply(null,arguments)},rc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(rc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.emscripten_bind_MetadataQuerier_GetEntryName_2).apply(null,arguments)},sc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(sc=a._emscripten_bind_MetadataQuerier___destroy___0=
a.asm.emscripten_bind_MetadataQuerier___destroy___0).apply(null,arguments)},$a=a._emscripten_bind_Decoder_Decoder_0=function(){return($a=a._emscripten_bind_Decoder_Decoder_0=a.asm.emscripten_bind_Decoder_Decoder_0).apply(null,arguments)},tc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(tc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.emscripten_bind_Decoder_DecodeArrayToPointCloud_3).apply(null,arguments)},uc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(uc=
a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.emscripten_bind_Decoder_DecodeArrayToMesh_3).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.emscripten_bind_Decoder_GetAttributeId_2).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(wc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.emscripten_bind_Decoder_GetAttributeIdByName_2).apply(null,arguments)},
xc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(yc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.emscripten_bind_Decoder_GetAttribute_2).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=
a.asm.emscripten_bind_Decoder_GetAttributeByUniqueId_2).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(Ac=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.emscripten_bind_Decoder_GetMetadata_1).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.emscripten_bind_Decoder_GetAttributeMetadata_2).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=
function(){return(Cc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.emscripten_bind_Decoder_GetFaceFromMesh_3).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(Dc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.emscripten_bind_Decoder_GetTriangleStripsFromMesh_2).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ec=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt16Array_3).apply(null,
arguments)},Fc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Fc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt32Array_3).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Gc=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.emscripten_bind_Decoder_GetAttributeFloat_3).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeIntForAllPoints_3).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3).apply(null,
arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Nc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Oc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Pc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Qc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.emscripten_bind_Decoder_SkipAttributeTransform_1).apply(null,
arguments)},Rc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Rc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1).apply(null,arguments)},Sc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Sc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.emscripten_bind_Decoder_DecodeBufferToPointCloud_2).apply(null,arguments)},Tc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=
function(){return(Tc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.emscripten_bind_Decoder_DecodeBufferToMesh_2).apply(null,arguments)},Uc=a._emscripten_bind_Decoder___destroy___0=function(){return(Uc=a._emscripten_bind_Decoder___destroy___0=a.asm.emscripten_bind_Decoder___destroy___0).apply(null,arguments)},Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM).apply(null,
arguments)},Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM).apply(null,arguments)},Xc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Xc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM).apply(null,
arguments)},Yc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Yc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID).apply(null,
arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION).apply(null,arguments)},ad=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(ad=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL).apply(null,arguments)},bd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=
function(){return(bd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR).apply(null,arguments)},cd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(cd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD).apply(null,arguments)},dd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(dd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC).apply(null,arguments)},ed=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(ed=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE).apply(null,arguments)},fd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(fd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD).apply(null,
arguments)},gd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(gd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(hd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.emscripten_enum_draco_DataType_DT_INVALID).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT8=
a.asm.emscripten_enum_draco_DataType_DT_INT8).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.emscripten_enum_draco_DataType_DT_UINT8).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(kd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.emscripten_enum_draco_DataType_DT_INT16).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(ld=a._emscripten_enum_draco_DataType_DT_UINT16=
a.asm.emscripten_enum_draco_DataType_DT_UINT16).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(md=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.emscripten_enum_draco_DataType_DT_INT32).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return(nd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.emscripten_enum_draco_DataType_DT_UINT32).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(od=
a._emscripten_enum_draco_DataType_DT_INT64=a.asm.emscripten_enum_draco_DataType_DT_INT64).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(pd=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.emscripten_enum_draco_DataType_DT_UINT64).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(qd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.emscripten_enum_draco_DataType_DT_FLOAT32).apply(null,arguments)},rd=a._emscripten_enum_draco_DataType_DT_FLOAT64=
function(){return(rd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.emscripten_enum_draco_DataType_DT_FLOAT64).apply(null,arguments)},sd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(sd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.emscripten_enum_draco_DataType_DT_BOOL).apply(null,arguments)},td=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(td=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.emscripten_enum_draco_DataType_DT_TYPES_COUNT).apply(null,
arguments)},ud=a._emscripten_enum_draco_StatusCode_OK=function(){return(ud=a._emscripten_enum_draco_StatusCode_OK=a.asm.emscripten_enum_draco_StatusCode_OK).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(vd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.emscripten_enum_draco_StatusCode_DRACO_ERROR).apply(null,arguments)},wd=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(wd=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.emscripten_enum_draco_StatusCode_IO_ERROR).apply(null,
arguments)},xd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(xd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=a.asm.emscripten_enum_draco_StatusCode_INVALID_PARAMETER).apply(null,arguments)},yd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(yd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION).apply(null,arguments)},zd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(zd=
a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNKNOWN_VERSION).apply(null,arguments)};a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)};a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)};a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)};a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)};a._setThrew=
function(){return(a._setThrew=a.asm.setThrew).apply(null,arguments)};a._free=function(){return(a._free=a.asm.free).apply(null,arguments)};var fb=a._malloc=function(){return(fb=a._malloc=a.asm.malloc).apply(null,arguments)},sa;na=function b(){sa||ea();sa||(na=b)};a.run=ea;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();ea();u.prototype=Object.create(u.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.WrapperObject=
u;a.getCache=z;a.wrapPointer=R;a.castObject=function(b,c){return R(b.ptr,c)};a.NULL=R(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete z(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=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(q(0<b),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]}};aa.prototype=Object.create(u.prototype);
aa.prototype.constructor=aa;aa.prototype.__class__=aa;aa.__cache__={};a.VoidPtr=aa;aa.prototype.__destroy__=aa.prototype.__destroy__=function(){hb(this.ptr)};S.prototype=Object.create(u.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=va(b));c&&"object"===typeof c&&(c=c.ptr);ib(d,b,c)};S.prototype.__destroy__=S.prototype.__destroy__=function(){jb(this.ptr)};
P.prototype=Object.create(u.prototype);P.prototype.constructor=P;P.prototype.__class__=P;P.__cache__={};a.AttributeTransformData=P;P.prototype.transform_type=P.prototype.transform_type=function(){return kb(this.ptr)};P.prototype.__destroy__=P.prototype.__destroy__=function(){lb(this.ptr)};Y.prototype=Object.create(u.prototype);Y.prototype.constructor=Y;Y.prototype.__class__=Y;Y.__cache__={};a.GeometryAttribute=Y;Y.prototype.__destroy__=Y.prototype.__destroy__=function(){mb(this.ptr)};w.prototype=
Object.create(u.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return nb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=function(){return R(ob(this.ptr),P)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return pb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return qb(this.ptr)};w.prototype.num_components=w.prototype.num_components=
function(){return rb(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!sb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return tb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return ub(this.ptr)};w.prototype.unique_id=w.prototype.unique_id=function(){return vb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){wb(this.ptr)};B.prototype=Object.create(u.prototype);B.prototype.constructor=B;B.prototype.__class__=
B;B.__cache__={};a.AttributeQuantizationTransform=B;B.prototype.InitFromAttribute=B.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!xb(c,b)};B.prototype.quantization_bits=B.prototype.quantization_bits=function(){return yb(this.ptr)};B.prototype.min_value=B.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return zb(c,b)};B.prototype.range=B.prototype.range=function(){return Ab(this.ptr)};B.prototype.__destroy__=B.prototype.__destroy__=
function(){Bb(this.ptr)};F.prototype=Object.create(u.prototype);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!!Cb(c,b)};F.prototype.quantization_bits=F.prototype.quantization_bits=function(){return Db(this.ptr)};F.prototype.__destroy__=F.prototype.__destroy__=function(){Eb(this.ptr)};G.prototype=Object.create(u.prototype);
G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.PointCloud=G;G.prototype.num_attributes=G.prototype.num_attributes=function(){return Fb(this.ptr)};G.prototype.num_points=G.prototype.num_points=function(){return Gb(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Hb(this.ptr)};E.prototype=Object.create(u.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return Ib(this.ptr)};
E.prototype.num_attributes=E.prototype.num_attributes=function(){return Jb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return Kb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Lb(this.ptr)};T.prototype=Object.create(u.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.Metadata=T;T.prototype.__destroy__=T.prototype.__destroy__=function(){Mb(this.ptr)};A.prototype=Object.create(u.prototype);A.prototype.constructor=A;A.prototype.__class__=
A;A.__cache__={};a.Status=A;A.prototype.code=A.prototype.code=function(){return Nb(this.ptr)};A.prototype.ok=A.prototype.ok=function(){return!!Ob(this.ptr)};A.prototype.error_msg=A.prototype.error_msg=function(){return h(Pb(this.ptr))};A.prototype.__destroy__=A.prototype.__destroy__=function(){Qb(this.ptr)};H.prototype=Object.create(u.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 Rb(c,b)};H.prototype.size=H.prototype.size=function(){return Sb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){Tb(this.ptr)};I.prototype=Object.create(u.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 Ub(c,b)};I.prototype.size=I.prototype.size=function(){return Vb(this.ptr)};I.prototype.__destroy__=
I.prototype.__destroy__=function(){Wb(this.ptr)};J.prototype=Object.create(u.prototype);J.prototype.constructor=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 Xb(c,b)};J.prototype.size=J.prototype.size=function(){return Yb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Zb(this.ptr)};K.prototype=Object.create(u.prototype);K.prototype.constructor=K;K.prototype.__class__=
K;K.__cache__={};a.DracoInt16Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return $b(c,b)};K.prototype.size=K.prototype.size=function(){return ac(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){bc(this.ptr)};L.prototype=Object.create(u.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 cc(c,b)};L.prototype.size=L.prototype.size=function(){return dc(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){ec(this.ptr)};M.prototype=Object.create(u.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 fc(c,b)};M.prototype.size=M.prototype.size=function(){return gc(this.ptr)};M.prototype.__destroy__=
M.prototype.__destroy__=function(){hc(this.ptr)};N.prototype=Object.create(u.prototype);N.prototype.constructor=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 ic(c,b)};N.prototype.size=N.prototype.size=function(){return jc(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){kc(this.ptr)};x.prototype=Object.create(u.prototype);x.prototype.constructor=x;x.prototype.__class__=
x;x.__cache__={};a.MetadataQuerier=x;x.prototype.HasEntry=x.prototype.HasEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ca(c);return!!lc(d,b,c)};x.prototype.GetIntEntry=x.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:ca(c);return mc(d,b,c)};x.prototype.GetIntEntryArray=x.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:ca(c);d&&"object"===typeof d&&(d=d.ptr);nc(g,b,c,d)};x.prototype.GetDoubleEntry=x.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:ca(c);return oc(d,b,c)};x.prototype.GetStringEntry=x.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:ca(c);return h(pc(d,b,c))};x.prototype.NumEntries=x.prototype.NumEntries=
function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return qc(c,b)};x.prototype.GetEntryName=x.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(rc(d,b,c))};x.prototype.__destroy__=x.prototype.__destroy__=function(){sc(this.ptr)};k.prototype=Object.create(u.prototype);k.prototype.constructor=k;k.prototype.__class__=k;k.__cache__={};a.Decoder=k;k.prototype.DecodeArrayToPointCloud=k.prototype.DecodeArrayToPointCloud=
function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return R(tc(g,b,c,d),A)};k.prototype.DecodeArrayToMesh=k.prototype.DecodeArrayToMesh=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=va(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return R(uc(g,b,c,d),A)};k.prototype.GetAttributeId=k.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=
b.ptr);c&&"object"===typeof c&&(c=c.ptr);return vc(d,b,c)};k.prototype.GetAttributeIdByName=k.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ca(c);return wc(d,b,c)};k.prototype.GetAttributeIdByMetadataEntry=k.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:ca(c);d=d&&"object"===typeof d?d.ptr:ca(d);return xc(g,
b,c,d)};k.prototype.GetAttribute=k.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(yc(d,b,c),w)};k.prototype.GetAttributeByUniqueId=k.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(zc(d,b,c),w)};k.prototype.GetMetadata=k.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return R(Ac(c,b),T)};k.prototype.GetAttributeMetadata=
k.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Bc(d,b,c),T)};k.prototype.GetFaceFromMesh=k.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!!Cc(g,b,c,d)};k.prototype.GetTriangleStripsFromMesh=k.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);return Dc(d,b,c)};k.prototype.GetTrianglesUInt16Array=k.prototype.GetTrianglesUInt16Array=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!!Ec(g,b,c,d)};k.prototype.GetTrianglesUInt32Array=k.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!!Fc(g,b,c,d)};
k.prototype.GetAttributeFloat=k.prototype.GetAttributeFloat=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!!Gc(g,b,c,d)};k.prototype.GetAttributeFloatForAllPoints=k.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!!Hc(g,b,c,d)};k.prototype.GetAttributeIntForAllPoints=k.prototype.GetAttributeIntForAllPoints=
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,d)};k.prototype.GetAttributeInt8ForAllPoints=k.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!!Jc(g,b,c,d)};k.prototype.GetAttributeUInt8ForAllPoints=k.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=d.ptr);return!!Kc(g,b,c,d)};k.prototype.GetAttributeInt16ForAllPoints=k.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!!Lc(g,b,c,d)};k.prototype.GetAttributeUInt16ForAllPoints=k.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!!Mc(g,b,c,d)};k.prototype.GetAttributeInt32ForAllPoints=k.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!!Nc(g,b,c,d)};k.prototype.GetAttributeUInt32ForAllPoints=k.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!!Oc(g,b,c,d)};k.prototype.GetAttributeDataArrayForAllPoints=k.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,v){var ia=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);v&&"object"===typeof v&&(v=v.ptr);return!!Pc(ia,b,c,d,g,v)};k.prototype.SkipAttributeTransform=k.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===
typeof b&&(b=b.ptr);Qc(c,b)};k.prototype.GetEncodedGeometryType_Deprecated=k.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rc(c,b)};k.prototype.DecodeBufferToPointCloud=k.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Sc(d,b,c),A)};k.prototype.DecodeBufferToMesh=k.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Tc(d,b,c),A)};k.prototype.__destroy__=k.prototype.__destroy__=function(){Uc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Vc();a.ATTRIBUTE_NO_TRANSFORM=Wc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Xc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Yc();a.INVALID=Zc();a.POSITION=$c();a.NORMAL=ad();a.COLOR=bd();a.TEX_COORD=cd();a.GENERIC=dd();a.INVALID_GEOMETRY_TYPE=ed();a.POINT_CLOUD=fd();a.TRIANGULAR_MESH=gd();a.DT_INVALID=hd();a.DT_INT8=id();
a.DT_UINT8=jd();a.DT_INT16=kd();a.DT_UINT16=ld();a.DT_INT32=md();a.DT_UINT32=nd();a.DT_INT64=od();a.DT_UINT64=pd();a.DT_FLOAT32=qd();a.DT_FLOAT64=rd();a.DT_BOOL=sd();a.DT_TYPES_COUNT=td();a.OK=ud();a.DRACO_ERROR=vd();a.IO_ERROR=wd();a.INVALID_PARAMETER=xd();a.UNSUPPORTED_VERSION=yd();a.UNKNOWN_VERSION=zd()}Da?b():Fa.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;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);
var DracoDecoderModule=function(){var m="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(m=m||__filename);return function(p){function l(e){return a.locateFile?a.locateFile(e,V):V+e}function q(e,b){e||f("Assertion failed: "+b)}function k(e,b){if(e){var c=la;var d=e+b;for(b=e;c[b]&&!(b>=d);)++b;if(16<b-e&&c.subarray&&za)c=za.decode(c.subarray(e,b));else{for(d="";e<b;){var g=c[e++];if(g&128){var v=c[e++]&63;if(192==(g&224))d+=String.fromCharCode((g&
31)<<6|v);else{var Y=c[e++]&63;g=224==(g&240)?(g&15)<<12|v<<6|Y:(g&7)<<18|v<<12|Y<<6|c[e++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}c=d}}else c="";return c}function B(e){Aa=e;a.HEAP8=Z=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=W=new Int32Array(e);a.HEAPU8=la=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function f(e){if(a.onAbort)a.onAbort(e);
e+="";ha(e);Ba=!0;e=new WebAssembly.RuntimeError("abort("+e+"). Build with -s ASSERTIONS=1 for more info.");qa(e);throw e;}function n(e,b){return String.prototype.startsWith?e.startsWith(b):0===e.indexOf(b)}function u(e){try{if(e==R&&ia)return new Uint8Array(ia);if(ma)return ma(e);throw"both async and sync fetching of the wasm failed";}catch(b){f(b)}}function z(){if(!ia&&(na||da)){if("function"===typeof fetch&&!n(R,"file://"))return fetch(R,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+
R+"'";return e.arrayBuffer()}).catch(function(){return u(R)});if(Ca)return new Promise(function(e,b){Ca(R,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return u(R)})}function D(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?ra.get(c)():ra.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function fa(e){this.excPtr=e;this.ptr=e-F.SIZE;this.set_type=function(b){W[this.ptr+F.TYPE_OFFSET>>2]=b};this.get_type=
function(){return W[this.ptr+F.TYPE_OFFSET>>2]};this.set_destructor=function(b){W[this.ptr+F.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return W[this.ptr+F.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){W[this.ptr+F.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Z[this.ptr+F.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Z[this.ptr+F.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Z[this.ptr+F.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=
Z[this.ptr+F.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){W[this.ptr+F.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=W[this.ptr+F.REFCOUNT_OFFSET>>2];W[this.ptr+F.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function Q(e){function b(){if(!oa&&(oa=!0,a.calledRun=!0,!Ba)){Da=!0;D(Ea);D(sa);Fa(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==
typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ga.unshift(a.postRun.shift());D(Ga)}}if(!(0<ea)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ha.unshift(a.preRun.shift());D(Ha);0<ea||(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 E(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 ba(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}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 v=e.charCodeAt(g);if(55296<=v&&57343>=v){var Y=e.charCodeAt(++g);v=65536+((v&1023)<<10)|Y&1023}if(127>=v){if(c>=d)break;b[c++]=v}else{if(2047>=v){if(c+1>=d)break;b[c++]=192|v>>6}else{if(65535>=v){if(c+2>=d)break;b[c++]=224|
v>>12}else{if(c+3>=d)break;b[c++]=240|v>>18;b[c++]=128|v>>12&63}b[c++]=128|v>>6&63}b[c++]=128|v&63}}b[c]=0}e=r.alloc(b,Z);r.copy(b,Z,e);return e}return e}function ta(e){if("object"===typeof e){var b=r.alloc(e,Z);r.copy(e,Z,b);return b}return e}function aa(){throw"cannot construct a VoidPtr, no constructor in IDL";}function T(){this.ptr=Ia();x(T)[this.ptr]=this}function S(){this.ptr=Ja();x(S)[this.ptr]=this}function X(){this.ptr=Ka();x(X)[this.ptr]=this}function w(){this.ptr=La();x(w)[this.ptr]=this}
function C(){this.ptr=Ma();x(C)[this.ptr]=this}function H(){this.ptr=Na();x(H)[this.ptr]=this}function I(){this.ptr=Oa();x(I)[this.ptr]=this}function G(){this.ptr=Pa();x(G)[this.ptr]=this}function U(){this.ptr=Qa();x(U)[this.ptr]=this}function A(){throw"cannot construct a Status, no constructor in IDL";}function J(){this.ptr=Ra();x(J)[this.ptr]=this}function K(){this.ptr=Sa();x(K)[this.ptr]=this}function L(){this.ptr=Ta();x(L)[this.ptr]=this}function M(){this.ptr=Ua();x(M)[this.ptr]=this}function N(){this.ptr=
Va();x(N)[this.ptr]=this}function O(){this.ptr=Wa();x(O)[this.ptr]=this}function P(){this.ptr=Xa();x(P)[this.ptr]=this}function y(){this.ptr=Ya();x(y)[this.ptr]=this}function h(){this.ptr=Za();x(h)[this.ptr]=this}p=p||{};var a="undefined"!==typeof p?p:{},Fa,qa;a.ready=new Promise(function(e,b){Fa=e;qa=b});var $a=!1,ab=!1;a.onRuntimeInitialized=function(){$a=!0;a.callRuntimeCallbacks(a.mainCallbacks);if(ab&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){ab=!0;
if($a&&"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]&&4>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var ja={},ca;for(ca in a)a.hasOwnProperty(ca)&&(ja[ca]=a[ca]);var na=!1,da=!1,ua=!1,bb=!1;na="object"===typeof window;da="function"===typeof importScripts;ua="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;bb=!na&&!ua&&
!da;var V="",va,wa;if(ua){V=da?require("path").dirname(V)+"/":__dirname+"/";var xa=function(e,b){va||(va=require("fs"));wa||(wa=require("path"));e=wa.normalize(e);return va.readFileSync(e,b?null:"utf8")};var ma=function(e){e=xa(e,!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(bb)"undefined"!=typeof read&&(xa=function(e){return read(e)}),ma=function(e){if("function"===
typeof readbuffer)return new Uint8Array(readbuffer(e));e=read(e,"binary");q("object"===typeof e);return e},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(na||da){da?V=self.location.href:"undefined"!==typeof document&&document.currentScript&&(V=document.currentScript.src);m&&(V=m);V=0!==V.indexOf("blob:")?V.substr(0,V.lastIndexOf("/")+1):"";xa=function(e){var b=new XMLHttpRequest;
b.open("GET",e,!1);b.send(null);return b.responseText};da&&(ma=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var Ca=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)}}a.print||console.log.bind(console);var ha=a.printErr||console.warn.bind(console);for(ca in ja)ja.hasOwnProperty(ca)&&
(a[ca]=ja[ca]);ja=null;var ia;a.wasmBinary&&(ia=a.wasmBinary);"object"!==typeof WebAssembly&&f("no native wasm support detected");var pa,Ba=!1,za="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0,Aa,Z,la,W,ra,Ha=[],Ea=[],sa=[],Ga=[],Da=!1,ea=0,ya=null,ka=null;a.preloadedImages={};a.preloadedAudios={};var R="draco_decoder_gltf.wasm";n(R,"data:application/octet-stream;base64,")||(R=l(R));var F={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16},
wd=0,xd={e:function(e){return cb(e+F.SIZE)+F.SIZE},d:function(e,b,c){(new fa(e)).init(b,c);wd++;throw e;},a:function(){f()},b:function(e,b,c){la.copyWithin(e,b,b+c)},c:function(e){var b=la.length;e>>>=0;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);var g=Math,v=g.min;d=Math.max(e,d);0<d%65536&&(d+=65536-d%65536);g=v.call(g,2147483648,d);a:{try{pa.grow(g-Aa.byteLength+65535>>>16);B(pa.buffer);var Y=1;break a}catch(yd){}Y=void 0}if(Y)return!0}return!1}};
(function(){function e(g,v){a.asm=g.exports;pa=a.asm.f;B(pa.buffer);ra=a.asm.h;Ea.unshift(a.asm.g);ea--;a.monitorRunDependencies&&a.monitorRunDependencies(ea);0==ea&&(null!==ya&&(clearInterval(ya),ya=null),ka&&(g=ka,ka=null,g()))}function b(g){e(g.instance)}function c(g){return z().then(function(v){return WebAssembly.instantiate(v,d)}).then(g,function(v){ha("failed to asynchronously prepare wasm: "+v);f(v)})}var d={a:xd};ea++;a.monitorRunDependencies&&a.monitorRunDependencies(ea);if(a.instantiateWasm)try{return a.instantiateWasm(d,
e)}catch(g){return ha("Module.instantiateWasm callback failed with error: "+g),!1}(function(){return ia||"function"!==typeof WebAssembly.instantiateStreaming||n(R,"data:application/octet-stream;base64,")||n(R,"file://")||"function"!==typeof fetch?c(b):fetch(R,{credentials:"same-origin"}).then(function(g){return WebAssembly.instantiateStreaming(g,d).then(b,function(v){ha("wasm streaming compile failed: "+v);ha("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(qa);return{}})();
a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.g).apply(null,arguments)};var db=a._emscripten_bind_VoidPtr___destroy___0=function(){return(db=a._emscripten_bind_VoidPtr___destroy___0=a.asm.i).apply(null,arguments)},Ia=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ia=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.j).apply(null,arguments)},eb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(eb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.k).apply(null,
arguments)},fb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(fb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.l).apply(null,arguments)},Ja=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ja=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.m).apply(null,arguments)},gb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(gb=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.n).apply(null,
arguments)},hb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(hb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.o).apply(null,arguments)},Ka=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ka=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.p).apply(null,arguments)},ib=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(ib=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.q).apply(null,arguments)},
La=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(La=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.r).apply(null,arguments)},jb=a._emscripten_bind_PointAttribute_size_0=function(){return(jb=a._emscripten_bind_PointAttribute_size_0=a.asm.s).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(kb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.t).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute_attribute_type_0=
function(){return(lb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.u).apply(null,arguments)},mb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(mb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.v).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(nb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.w).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_normalized_0=function(){return(ob=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.x).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(pb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.y).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(qb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.z).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(rb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.A).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute___destroy___0=
function(){return(sb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.B).apply(null,arguments)},Ma=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Ma=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.C).apply(null,arguments)},tb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(tb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.D).apply(null,
arguments)},ub=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(ub=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.E).apply(null,arguments)},vb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(vb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.F).apply(null,arguments)},wb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(wb=a._emscripten_bind_AttributeQuantizationTransform_range_0=
a.asm.G).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.H).apply(null,arguments)},Na=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Na=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.I).apply(null,arguments)},yb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=
function(){return(yb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.J).apply(null,arguments)},zb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(zb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.K).apply(null,arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Ab=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.L).apply(null,arguments)},Oa=a._emscripten_bind_PointCloud_PointCloud_0=
function(){return(Oa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.M).apply(null,arguments)},Bb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Bb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.N).apply(null,arguments)},Cb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Cb=a._emscripten_bind_PointCloud_num_points_0=a.asm.O).apply(null,arguments)},Db=a._emscripten_bind_PointCloud___destroy___0=function(){return(Db=a._emscripten_bind_PointCloud___destroy___0=a.asm.P).apply(null,
arguments)},Pa=a._emscripten_bind_Mesh_Mesh_0=function(){return(Pa=a._emscripten_bind_Mesh_Mesh_0=a.asm.Q).apply(null,arguments)},Eb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Eb=a._emscripten_bind_Mesh_num_faces_0=a.asm.R).apply(null,arguments)},Fb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Fb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.S).apply(null,arguments)},Gb=a._emscripten_bind_Mesh_num_points_0=function(){return(Gb=a._emscripten_bind_Mesh_num_points_0=a.asm.T).apply(null,
arguments)},Hb=a._emscripten_bind_Mesh___destroy___0=function(){return(Hb=a._emscripten_bind_Mesh___destroy___0=a.asm.U).apply(null,arguments)},Qa=a._emscripten_bind_Metadata_Metadata_0=function(){return(Qa=a._emscripten_bind_Metadata_Metadata_0=a.asm.V).apply(null,arguments)},Ib=a._emscripten_bind_Metadata___destroy___0=function(){return(Ib=a._emscripten_bind_Metadata___destroy___0=a.asm.W).apply(null,arguments)},Jb=a._emscripten_bind_Status_code_0=function(){return(Jb=a._emscripten_bind_Status_code_0=
a.asm.X).apply(null,arguments)},Kb=a._emscripten_bind_Status_ok_0=function(){return(Kb=a._emscripten_bind_Status_ok_0=a.asm.Y).apply(null,arguments)},Lb=a._emscripten_bind_Status_error_msg_0=function(){return(Lb=a._emscripten_bind_Status_error_msg_0=a.asm.Z).apply(null,arguments)},Mb=a._emscripten_bind_Status___destroy___0=function(){return(Mb=a._emscripten_bind_Status___destroy___0=a.asm._).apply(null,arguments)},Ra=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Ra=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=
a.asm.$).apply(null,arguments)},Nb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Nb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.aa).apply(null,arguments)},Ob=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Ob=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.ba).apply(null,arguments)},Pb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Pb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.ca).apply(null,arguments)},Sa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
function(){return(Sa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.da).apply(null,arguments)},Qb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Qb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ea).apply(null,arguments)},Rb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Rb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.fa).apply(null,arguments)},Sb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Sb=a._emscripten_bind_DracoInt8Array___destroy___0=
a.asm.ga).apply(null,arguments)},Ta=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ta=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ha).apply(null,arguments)},Tb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Tb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.ia).apply(null,arguments)},Ub=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Ub=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.ja).apply(null,arguments)},Vb=a._emscripten_bind_DracoUInt8Array___destroy___0=
function(){return(Vb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.ka).apply(null,arguments)},Ua=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Ua=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.la).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Wb=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.ma).apply(null,arguments)},Xb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Xb=a._emscripten_bind_DracoInt16Array_size_0=
a.asm.na).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Yb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.oa).apply(null,arguments)},Va=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Va=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.pa).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Zb=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.qa).apply(null,arguments)},
$b=a._emscripten_bind_DracoUInt16Array_size_0=function(){return($b=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ra).apply(null,arguments)},ac=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(ac=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.sa).apply(null,arguments)},Wa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Wa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.ta).apply(null,arguments)},bc=a._emscripten_bind_DracoInt32Array_GetValue_1=
function(){return(bc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.ua).apply(null,arguments)},cc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(cc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.va).apply(null,arguments)},dc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(dc=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.wa).apply(null,arguments)},Xa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Xa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=
a.asm.xa).apply(null,arguments)},ec=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(ec=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.ya).apply(null,arguments)},fc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(fc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.za).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(gc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.Aa).apply(null,arguments)},Ya=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=
function(){return(Ya=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Ba).apply(null,arguments)},hc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(hc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Ca).apply(null,arguments)},ic=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(ic=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Da).apply(null,arguments)},jc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(jc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
a.asm.Ea).apply(null,arguments)},kc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(kc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Fa).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ga).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(mc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ha).apply(null,arguments)},
nc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(nc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.Ia).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(oc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ja).apply(null,arguments)},Za=a._emscripten_bind_Decoder_Decoder_0=function(){return(Za=a._emscripten_bind_Decoder_Decoder_0=a.asm.Ka).apply(null,arguments)},pc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(pc=
a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.La).apply(null,arguments)},qc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(qc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Ma).apply(null,arguments)},rc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(rc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Na).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(sc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=
a.asm.Oa).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(tc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Pa).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(uc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Qa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Ra).apply(null,arguments)},
wc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(wc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Sa).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Ta).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(yc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Ua).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=
function(){return(zc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Va).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Ac=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Wa).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Bc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.Xa).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Cc=
a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.Ya).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Dc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.Za).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm._a).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Fc=
a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.$a).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Gc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.ab).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.bb).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.cb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.db).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.eb).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=
function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.fb).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Mc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.gb).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Nc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.hb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=
function(){return(Oc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.ib).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Pc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.jb).apply(null,arguments)},Qc=a._emscripten_bind_Decoder___destroy___0=function(){return(Qc=a._emscripten_bind_Decoder___destroy___0=a.asm.kb).apply(null,arguments)},Rc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Rc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
a.asm.lb).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.mb).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.nb).apply(null,arguments)},Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=
function(){return(Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.ob).apply(null,arguments)},Vc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Vc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.pb).apply(null,arguments)},Wc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Wc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.qb).apply(null,arguments)},Xc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=
function(){return(Xc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.rb).apply(null,arguments)},Yc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Yc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.sb).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.tb).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.ub).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.vb).apply(null,arguments)},bd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(bd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.wb).apply(null,arguments)},cd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=
function(){return(cd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.xb).apply(null,arguments)},dd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(dd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.yb).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(ed=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.zb).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(fd=a._emscripten_enum_draco_DataType_DT_UINT8=
a.asm.Ab).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(gd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Bb).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(hd=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Cb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Db).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT32=
function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Eb).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(kd=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Fb).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(ld=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Gb).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(md=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Hb).apply(null,
arguments)},nd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(nd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Ib).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(od=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Jb).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.Kb).apply(null,arguments)},qd=a._emscripten_enum_draco_StatusCode_OK=function(){return(qd=
a._emscripten_enum_draco_StatusCode_OK=a.asm.Lb).apply(null,arguments)},rd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(rd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Mb).apply(null,arguments)},sd=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(sd=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Nb).apply(null,arguments)},td=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(td=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
a.asm.Ob).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(ud=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Pb).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(vd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Qb).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Rb).apply(null,arguments)};var cb=a._malloc=function(){return(cb=a._malloc=a.asm.Sb).apply(null,arguments)};
a.callRuntimeCallbacks=D;var oa;ka=function b(){oa||Q();oa||(ka=b)};a.run=Q;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();Q();t.prototype=Object.create(t.prototype);t.prototype.constructor=t;t.prototype.__class__=t;t.__cache__={};a.WrapperObject=t;a.getCache=x;a.wrapPointer=E;a.castObject=function(b,c){return E(b.ptr,c)};a.NULL=E(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=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;
b=b+7&-8;r.pos+b>=r.size?(q(0<b),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]}};aa.prototype=Object.create(t.prototype);aa.prototype.constructor=aa;aa.prototype.__class__=aa;aa.__cache__={};a.VoidPtr=aa;aa.prototype.__destroy__=aa.prototype.__destroy__=function(){db(this.ptr)};T.prototype=Object.create(t.prototype);
T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.DecoderBuffer=T;T.prototype.Init=T.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=ta(b));c&&"object"===typeof c&&(c=c.ptr);eb(d,b,c)};T.prototype.__destroy__=T.prototype.__destroy__=function(){fb(this.ptr)};S.prototype=Object.create(t.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.AttributeTransformData=S;S.prototype.transform_type=S.prototype.transform_type=function(){return gb(this.ptr)};
S.prototype.__destroy__=S.prototype.__destroy__=function(){hb(this.ptr)};X.prototype=Object.create(t.prototype);X.prototype.constructor=X;X.prototype.__class__=X;X.__cache__={};a.GeometryAttribute=X;X.prototype.__destroy__=X.prototype.__destroy__=function(){ib(this.ptr)};w.prototype=Object.create(t.prototype);w.prototype.constructor=w;w.prototype.__class__=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 E(kb(this.ptr),S)};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=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=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)};H.prototype=Object.create(t.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.AttributeOctahedronTransform=H;H.prototype.InitFromAttribute=H.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);return!!yb(c,b)};H.prototype.quantization_bits=H.prototype.quantization_bits=function(){return zb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){Ab(this.ptr)};I.prototype=Object.create(t.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.PointCloud=I;I.prototype.num_attributes=I.prototype.num_attributes=function(){return Bb(this.ptr)};I.prototype.num_points=I.prototype.num_points=function(){return Cb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=
function(){Db(this.ptr)};G.prototype=Object.create(t.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.Mesh=G;G.prototype.num_faces=G.prototype.num_faces=function(){return Eb(this.ptr)};G.prototype.num_attributes=G.prototype.num_attributes=function(){return Fb(this.ptr)};G.prototype.num_points=G.prototype.num_points=function(){return Gb(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Hb(this.ptr)};U.prototype=Object.create(t.prototype);U.prototype.constructor=
U;U.prototype.__class__=U;U.__cache__={};a.Metadata=U;U.prototype.__destroy__=U.prototype.__destroy__=function(){Ib(this.ptr)};A.prototype=Object.create(t.prototype);A.prototype.constructor=A;A.prototype.__class__=A;A.__cache__={};a.Status=A;A.prototype.code=A.prototype.code=function(){return Jb(this.ptr)};A.prototype.ok=A.prototype.ok=function(){return!!Kb(this.ptr)};A.prototype.error_msg=A.prototype.error_msg=function(){return k(Lb(this.ptr))};A.prototype.__destroy__=A.prototype.__destroy__=function(){Mb(this.ptr)};
J.prototype=Object.create(t.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoFloat32Array=J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Nb(c,b)};J.prototype.size=J.prototype.size=function(){return Ob(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Pb(this.ptr)};K.prototype=Object.create(t.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoInt8Array=
K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Qb(c,b)};K.prototype.size=K.prototype.size=function(){return Rb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Sb(this.ptr)};L.prototype=Object.create(t.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoUInt8Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Tb(c,b)};
L.prototype.size=L.prototype.size=function(){return Ub(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){Vb(this.ptr)};M.prototype=Object.create(t.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoInt16Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Wb(c,b)};M.prototype.size=M.prototype.size=function(){return Xb(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){Yb(this.ptr)};
N.prototype=Object.create(t.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoUInt16Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Zb(c,b)};N.prototype.size=N.prototype.size=function(){return $b(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){ac(this.ptr)};O.prototype=Object.create(t.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoInt32Array=
O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return bc(c,b)};O.prototype.size=O.prototype.size=function(){return cc(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){dc(this.ptr)};P.prototype=Object.create(t.prototype);P.prototype.constructor=P;P.prototype.__class__=P;P.__cache__={};a.DracoUInt32Array=P;P.prototype.GetValue=P.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ec(c,b)};
P.prototype.size=P.prototype.size=function(){return fc(this.ptr)};P.prototype.__destroy__=P.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=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(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:ba(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:ba(c);d&&"object"===typeof d&&(d=d.ptr);jc(g,b,c,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:ba(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:ba(c);return k(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=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 k(nc(d,b,c))};y.prototype.__destroy__=
y.prototype.__destroy__=function(){oc(this.ptr)};h.prototype=Object.create(t.prototype);h.prototype.constructor=h;h.prototype.__class__=h;h.__cache__={};a.Decoder=h;h.prototype.DecodeArrayToPointCloud=h.prototype.DecodeArrayToPointCloud=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=ta(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return E(pc(g,b,c,d),A)};h.prototype.DecodeArrayToMesh=h.prototype.DecodeArrayToMesh=function(b,c,d){var g=this.ptr;r.prepare();
"object"==typeof b&&(b=ta(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return E(qc(g,b,c,d),A)};h.prototype.GetAttributeId=h.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)};h.prototype.GetAttributeIdByName=h.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);return sc(d,b,c)};h.prototype.GetAttributeIdByMetadataEntry=
h.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:ba(c);d=d&&"object"===typeof d?d.ptr:ba(d);return tc(g,b,c,d)};h.prototype.GetAttribute=h.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(uc(d,b,c),w)};h.prototype.GetAttributeByUniqueId=h.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(vc(d,b,c),w)};h.prototype.GetMetadata=h.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return E(wc(c,b),U)};h.prototype.GetAttributeMetadata=h.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(xc(d,b,c),U)};h.prototype.GetFaceFromMesh=h.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)};h.prototype.GetTriangleStripsFromMesh=h.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)};h.prototype.GetTrianglesUInt16Array=h.prototype.GetTrianglesUInt16Array=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)};h.prototype.GetTrianglesUInt32Array=h.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)};h.prototype.GetAttributeFloat=h.prototype.GetAttributeFloat=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!!Cc(g,b,c,d)};h.prototype.GetAttributeFloatForAllPoints=h.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)};h.prototype.GetAttributeIntForAllPoints=h.prototype.GetAttributeIntForAllPoints=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!!Ec(g,b,c,d)};h.prototype.GetAttributeInt8ForAllPoints=h.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)};h.prototype.GetAttributeUInt8ForAllPoints=h.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=d.ptr);return!!Gc(g,b,c,d)};h.prototype.GetAttributeInt16ForAllPoints=h.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)};h.prototype.GetAttributeUInt16ForAllPoints=h.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,d)};h.prototype.GetAttributeInt32ForAllPoints=h.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)};h.prototype.GetAttributeUInt32ForAllPoints=h.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)};h.prototype.GetAttributeDataArrayForAllPoints=h.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,v){var Y=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);v&&"object"===typeof v&&(v=v.ptr);return!!Lc(Y,b,c,d,g,v)};h.prototype.SkipAttributeTransform=h.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Mc(c,b)};h.prototype.GetEncodedGeometryType_Deprecated=h.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Nc(c,b)};h.prototype.DecodeBufferToPointCloud=h.prototype.DecodeBufferToPointCloud=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(Oc(d,b,c),A)};h.prototype.DecodeBufferToMesh=h.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return E(Pc(d,b,c),A)};h.prototype.__destroy__=h.prototype.__destroy__=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();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()}Da?b():sa.unshift(b)})();a.mainCallbacks=sa;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;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return p.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);

View File

@ -1,107 +1,97 @@
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(l){var p=0;return function(){return p<l.length?{done:!1,value:l[p++]}:{done:!0}}};$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}};$jscomp.makeIterator=function(l){var p="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];return p?p.call(l):$jscomp.arrayIterator(l)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<l.length;++p){var n=l[p];if(n&&n.Math==Math)return n}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,p,n){if(l==Array.prototype||l==Object.prototype)return l;l[p]=n.value;return l};$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$";
var $jscomp$lookupPolyfilledValue=function(l,p){var n=$jscomp.propertyToPolyfillSymbol[p];if(null==n)return l[p];n=l[n];return void 0!==n?n:l[p]};$jscomp.polyfill=function(l,p,n,r){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,p,n,r):$jscomp.polyfillUnisolated(l,p,n,r))};
$jscomp.polyfillUnisolated=function(l,p,n,r){n=$jscomp.global;l=l.split(".");for(r=0;r<l.length-1;r++){var k=l[r];if(!(k in n))return;n=n[k]}l=l[l.length-1];r=n[l];p=p(r);p!=r&&null!=p&&$jscomp.defineProperty(n,l,{configurable:!0,writable:!0,value:p})};
$jscomp.polyfillIsolated=function(l,p,n,r){var k=l.split(".");l=1===k.length;r=k[0];r=!l&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var C=0;C<k.length-1;C++){var h=k[C];if(!(h in r))return;r=r[h]}k=k[k.length-1];n=$jscomp.IS_SYMBOL_NATIVE&&"es6"===n?r[k]:null;p=p(n);null!=p&&(l?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:p}):p!==n&&($jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+k,k=
$jscomp.propertyToPolyfillSymbol[k],$jscomp.defineProperty(r,k,{configurable:!0,writable:!0,value:p})))};
$jscomp.polyfill("Promise",function(l){function p(){this.batch_=null}function n(h){return h instanceof k?h:new k(function(q,v){q(h)})}if(l&&(!($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 l;p.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(h)};
var r=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(h){r(h,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var q=0;q<h.length;++q){var v=h[q];h[q]=null;try{v()}catch(B){this.asyncThrow_(B)}}}this.batch_=null};p.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var k=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_();
try{h(q.resolve,q.reject)}catch(v){q.reject(v)}};k.prototype.createResolveAndReject_=function(){function h(B){return function(G){v||(v=!0,B.call(q,G))}}var q=this,v=!1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};k.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof k)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var q=null!=h;break a;case "function":q=!0;break a;default:q=!1}q?this.resolveToNonPromiseObj_(h):
this.fulfill_(h)}};k.prototype.resolveToNonPromiseObj_=function(h){var q=void 0;try{q=h.then}catch(v){this.reject_(v);return}"function"==typeof q?this.settleSameAsThenable_(q,h):this.fulfill_(h)};k.prototype.reject_=function(h){this.settle_(2,h)};k.prototype.fulfill_=function(h){this.settle_(1,h)};k.prototype.settle_=function(h,q){if(0!=this.state_)throw Error("Cannot settle("+h+", "+q+"): Promise already settled in state"+this.state_);this.state_=h;this.result_=q;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;r(function(){if(h.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(h.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,q=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):
"function"===typeof q?h=new q("unhandledrejection",{cancelable:!0}):(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return v(h)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;++h)C.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var C=new p;k.prototype.settleSameAsPromise_=function(h){var q=this.createResolveAndReject_();
h.callWhenSettled_(q.resolve,q.reject)};k.prototype.settleSameAsThenable_=function(h,q){var v=this.createResolveAndReject_();try{h.call(q,v.resolve,v.reject)}catch(B){v.reject(B)}};k.prototype.then=function(h,q){function v(I,M){return"function"==typeof I?function(y){try{B(I(y))}catch(D){G(D)}}:M}var B,G,X=new k(function(I,M){B=I;G=M});this.callWhenSettled_(v(h,B),v(q,G));return X};k.prototype.catch=function(h){return this.then(void 0,h)};k.prototype.callWhenSettled_=function(h,q){function v(){switch(B.state_){case 1:h(B.result_);
break;case 2:q(B.result_);break;default:throw Error("Unexpected state: "+B.state_);}}var B=this;null==this.onSettledCallbacks_?C.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};k.resolve=n;k.reject=function(h){return new k(function(q,v){v(h)})};k.race=function(h){return new k(function(q,v){for(var B=$jscomp.makeIterator(h),G=B.next();!G.done;G=B.next())n(G.value).callWhenSettled_(q,v)})};k.all=function(h){var q=$jscomp.makeIterator(h),v=q.next();return v.done?n([]):new k(function(B,
G){function X(y){return function(D){I[y]=D;M--;0==M&&B(I)}}var I=[],M=0;do I.push(void 0),M++,n(v.value).callWhenSettled_(X(I.length-1),G),v=q.next();while(!v.done)})};return k},"es6","es3");$jscomp.checkEs6ConformanceViaProxy=function(){try{var l={},p=Object.create(new $jscomp.global.Proxy(l,{get:function(n,r,k){return n==l&&"q"==r&&k==p}}));return!0===p.q}catch(n){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();
$jscomp.owns=function(l,p){return Object.prototype.hasOwnProperty.call(l,p)};
$jscomp.polyfill("Array.prototype.copyWithin",function(l){function p(n){n=Number(n);return Infinity===n||-Infinity===n?n:n|0}return l?l:function(n,r,k){var C=this.length;n=p(n);r=p(r);k=void 0===k?C:p(k);n=0>n?Math.max(C+n,0):Math.min(n,C);r=0>r?Math.max(C+r,0):Math.min(r,C);k=0>k?Math.max(C+k,0):Math.min(k,C);if(n<r)for(;r<k;)r in this?this[n++]=this[r++]:(delete this[n++],r++);else for(k=Math.min(k,C+r-n),n+=k-r;k>r;)--k in this?this[--n]=this[k]:delete this[--n];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(l){return l?l: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");
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(n){var q=0;return function(){return q<n.length?{done:!1,value:n[q++]}:{done:!0}}};$jscomp.arrayIterator=function(n){return{next:$jscomp.arrayIteratorImpl(n)}};$jscomp.makeIterator=function(n){var q="undefined"!=typeof Symbol&&Symbol.iterator&&n[Symbol.iterator];return q?q.call(n):$jscomp.arrayIterator(n)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(n){n=["object"==typeof globalThis&&globalThis,n,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var q=0;q<n.length;++q){var m=n[q];if(m&&m.Math==Math)return m}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(n,q,m){if(n==Array.prototype||n==Object.prototype)return n;n[q]=m.value;return n};$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$";
var $jscomp$lookupPolyfilledValue=function(n,q){var m=$jscomp.propertyToPolyfillSymbol[q];if(null==m)return n[q];m=n[m];return void 0!==m?m:n[q]};$jscomp.polyfill=function(n,q,m,r){q&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(n,q,m,r):$jscomp.polyfillUnisolated(n,q,m,r))};
$jscomp.polyfillUnisolated=function(n,q,m,r){m=$jscomp.global;n=n.split(".");for(r=0;r<n.length-1;r++){var k=n[r];if(!(k in m))return;m=m[k]}n=n[n.length-1];r=m[n];q=q(r);q!=r&&null!=q&&$jscomp.defineProperty(m,n,{configurable:!0,writable:!0,value:q})};
$jscomp.polyfillIsolated=function(n,q,m,r){var k=n.split(".");n=1===k.length;r=k[0];r=!n&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var D=0;D<k.length-1;D++){var h=k[D];if(!(h in r))return;r=r[h]}k=k[k.length-1];m=$jscomp.IS_SYMBOL_NATIVE&&"es6"===m?r[k]:null;q=q(m);null!=q&&(n?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:q}):q!==m&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(m=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+m+"$"+k),$jscomp.defineProperty(r,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:q})))};
$jscomp.polyfill("Promise",function(n){function q(){this.batch_=null}function m(h){return h instanceof k?h:new k(function(p,v){p(h)})}if(n&&(!($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 n;q.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(h)};
var r=$jscomp.global.setTimeout;q.prototype.asyncExecuteFunction=function(h){r(h,0)};q.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var p=0;p<h.length;++p){var v=h[p];h[p]=null;try{v()}catch(B){this.asyncThrow_(B)}}}this.batch_=null};q.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var k=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var p=this.createResolveAndReject_();
try{h(p.resolve,p.reject)}catch(v){p.reject(v)}};k.prototype.createResolveAndReject_=function(){function h(B){return function(J){v||(v=!0,B.call(p,J))}}var p=this,v=!1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};k.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof k)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var p=null!=h;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(h):
this.fulfill_(h)}};k.prototype.resolveToNonPromiseObj_=function(h){var p=void 0;try{p=h.then}catch(v){this.reject_(v);return}"function"==typeof p?this.settleSameAsThenable_(p,h):this.fulfill_(h)};k.prototype.reject_=function(h){this.settle_(2,h)};k.prototype.fulfill_=function(h){this.settle_(1,h)};k.prototype.settle_=function(h,p){if(0!=this.state_)throw Error("Cannot settle("+h+", "+p+"): Promise already settled in state"+this.state_);this.state_=h;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;r(function(){if(h.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(h.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,p=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):
"function"===typeof p?h=new p("unhandledrejection",{cancelable:!0}):(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return v(h)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;++h)D.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var D=new q;k.prototype.settleSameAsPromise_=function(h){var p=this.createResolveAndReject_();
h.callWhenSettled_(p.resolve,p.reject)};k.prototype.settleSameAsThenable_=function(h,p){var v=this.createResolveAndReject_();try{h.call(p,v.resolve,v.reject)}catch(B){v.reject(B)}};k.prototype.then=function(h,p){function v(w,C){return"function"==typeof w?function(T){try{B(w(T))}catch(P){J(P)}}:C}var B,J,U=new k(function(w,C){B=w;J=C});this.callWhenSettled_(v(h,B),v(p,J));return U};k.prototype.catch=function(h){return this.then(void 0,h)};k.prototype.callWhenSettled_=function(h,p){function v(){switch(B.state_){case 1:h(B.result_);
break;case 2:p(B.result_);break;default:throw Error("Unexpected state: "+B.state_);}}var B=this;null==this.onSettledCallbacks_?D.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};k.resolve=m;k.reject=function(h){return new k(function(p,v){v(h)})};k.race=function(h){return new k(function(p,v){for(var B=$jscomp.makeIterator(h),J=B.next();!J.done;J=B.next())m(J.value).callWhenSettled_(p,v)})};k.all=function(h){var p=$jscomp.makeIterator(h),v=p.next();return v.done?m([]):new k(function(B,
J){function U(T){return function(P){w[T]=P;C--;0==C&&B(w)}}var w=[],C=0;do w.push(void 0),C++,m(v.value).callWhenSettled_(U(w.length-1),J),v=p.next();while(!v.done)})};return k},"es6","es3");
$jscomp.polyfill("Array.prototype.copyWithin",function(n){function q(m){m=Number(m);return Infinity===m||-Infinity===m?m:m|0}return n?n:function(m,r,k){var D=this.length;m=q(m);r=q(r);k=void 0===k?D:q(k);m=0>m?Math.max(D+m,0):Math.min(m,D);r=0>r?Math.max(D+r,0):Math.min(r,D);k=0>k?Math.max(D+k,0):Math.min(k,D);if(m<r)for(;r<k;)r in this?this[m++]=this[r++]:(delete this[m++],r++);else for(k=Math.min(k,D+r-m),m+=k-r;k>r;)--k in this?this[--m]=this[k]:delete this[--m];return this}},"es6","es3");
$jscomp.typedArrayCopyWithin=function(n){return n?n: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");
$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");
var DracoEncoderModule=function(){var l="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(l=l||__filename);return function(p){function n(f){return a.locateFile?a.locateFile(f,N):N+f}function r(f,b){f||h("Assertion failed: "+b)}function k(f,b){0<f%b&&(f+=b-f%b);return f}function C(f){fa=f;a.HEAP8=R=new Int8Array(f);a.HEAP16=ma=new Int16Array(f);a.HEAP32=L=new Int32Array(f);a.HEAPU8=na=new Uint8Array(f);a.HEAPU16=new Uint16Array(f);
a.HEAPU32=new Uint32Array(f);a.HEAPF32=oa=new Float32Array(f);a.HEAPF64=new Float64Array(f)}function h(f){if(a.onAbort)a.onAbort(f);f+="";Y(f);xa=!0;f=new WebAssembly.RuntimeError("abort("+f+"). Build with -s ASSERTIONS=1 for more info.");pa(f);throw f;}function q(f,b){return String.prototype.startsWith?f.startsWith(b):0===f.indexOf(b)}function v(){try{if(Z)return new Uint8Array(Z);if(ha)return ha(O);throw"both async and sync fetching of the wasm failed";}catch(f){h(f)}}function B(){return Z||!ia&&
!U||"function"!==typeof fetch||q(O,"file://")?Promise.resolve().then(v):fetch(O,{credentials:"same-origin"}).then(function(f){if(!f.ok)throw"failed to load wasm binary file at '"+O+"'";return f.arrayBuffer()}).catch(function(){return v()})}function G(f){for(;0<f.length;){var b=f.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?qa.get(c)():qa.get(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function X(f){this.excPtr=f;this.ptr=f-H.SIZE;this.set_type=function(b){L[this.ptr+
H.TYPE_OFFSET>>2]=b};this.get_type=function(){return L[this.ptr+H.TYPE_OFFSET>>2]};this.set_destructor=function(b){L[this.ptr+H.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return L[this.ptr+H.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){L[this.ptr+H.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){R[this.ptr+H.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=R[this.ptr+H.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){R[this.ptr+H.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=
function(){return 0!=R[this.ptr+H.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){L[this.ptr+H.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=L[this.ptr+H.REFCOUNT_OFFSET>>2];L[this.ptr+H.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function I(){return 0<I.uncaught_exceptions}function M(f){function b(){if(!ja&&(ja=!0,a.calledRun=!0,!xa)){ya=!0;G(za);G(Aa);Ba(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();
if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ca.unshift(a.postRun.shift());G(Ca)}}if(!(0<V)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Da.unshift(a.preRun.shift());G(Da);0<V||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function y(){}function D(f){return(f||y).__cache__}function ra(f,b){var c=D(b),d=c[f];if(d)return d;d=Object.create((b||y).prototype);
d.ptr=f;return c[f]=d}function aa(f){if("string"===typeof f){for(var b=0,c=0;c<f.length;++c){var d=f.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|f.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var e=0;e<f.length;++e){var g=f.charCodeAt(e);if(55296<=g&&57343>=g){var t=f.charCodeAt(++e);g=65536+((g&1023)<<10)|t&1023}if(127>=g){if(c>=d)break;b[c++]=g}else{if(2047>=g){if(c+1>=d)break;b[c++]=192|g>>6}else{if(65535>=g){if(c+
2>=d)break;b[c++]=224|g>>12}else{if(c+3>=d)break;b[c++]=240|g>>18;b[c++]=128|g>>12&63}b[c++]=128|g>>6&63}b[c++]=128|g&63}}b[c]=0}f=m.alloc(b,R);m.copy(b,R,f);return f}return f}function ka(f){if("object"===typeof f){var b=m.alloc(f,R);m.copy(f,R,b);return b}return f}function la(f){if("object"===typeof f){var b=m.alloc(f,ma);m.copy(f,ma,b);return b}return f}function W(f){if("object"===typeof f){var b=m.alloc(f,L);m.copy(f,L,b);return b}return f}function ba(f){if("object"===typeof f){var b=m.alloc(f,
oa);m.copy(f,oa,b);return b}return f}function S(){throw"cannot construct a VoidPtr, no constructor in IDL";}function P(){this.ptr=Ea();D(P)[this.ptr]=this}function z(){this.ptr=Fa();D(z)[this.ptr]=this}function J(){this.ptr=Ga();D(J)[this.ptr]=this}function E(){this.ptr=Ha();D(E)[this.ptr]=this}function Q(){this.ptr=Ia();D(Q)[this.ptr]=this}function K(){this.ptr=Ja();D(K)[this.ptr]=this}function F(){this.ptr=Ka();D(F)[this.ptr]=this}function w(){this.ptr=La();D(w)[this.ptr]=this}function u(){this.ptr=
Ma();D(u)[this.ptr]=this}function x(){this.ptr=Na();D(x)[this.ptr]=this}function A(f){f&&"object"===typeof f&&(f=f.ptr);this.ptr=Oa(f);D(A)[this.ptr]=this}p=p||{};var a="undefined"!==typeof p?p:{},Ba,pa;a.ready=new Promise(function(f,b){Ba=f;pa=b});var Pa=!1,Qa=!1;a.onRuntimeInitialized=function(){Pa=!0;if(Qa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Qa=!0;if(Pa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(f){if("string"!==
typeof f)return!1;f=f.split(".");return 2>f.length||3<f.length?!1:1==f[0]&&0<=f[1]&&4>=f[1]?!0:0!=f[0]||10<f[1]?!1:!0};var ca={},T;for(T in a)a.hasOwnProperty(T)&&(ca[T]=a[T]);var ia=!1,U=!1,sa=!1,Ra=!1;ia="object"===typeof window;U="function"===typeof importScripts;sa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;Ra=!ia&&!sa&&!U;var N="",ta,ua;if(sa){N=U?require("path").dirname(N)+"/":__dirname+"/";var va=function(f,b){ta||(ta=require("fs"));
ua||(ua=require("path"));f=ua.normalize(f);return ta.readFileSync(f,b?null:"utf8")};var ha=function(f){f=va(f,!0);f.buffer||(f=new Uint8Array(f));r(f.buffer);return f};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(Ra)"undefined"!=typeof read&&(va=function(f){return read(f)}),ha=function(f){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(f));f=read(f,"binary");r("object"===typeof f);
return f},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ia||U)U?N=self.location.href:"undefined"!==typeof document&&document.currentScript&&(N=document.currentScript.src),l&&(N=l),N=0!==N.indexOf("blob:")?N.substr(0,N.lastIndexOf("/")+1):"",va=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.send(null);return b.responseText},U&&(ha=function(f){var b=new XMLHttpRequest;
b.open("GET",f,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});a.print||console.log.bind(console);var Y=a.printErr||console.warn.bind(console);for(T in ca)ca.hasOwnProperty(T)&&(a[T]=ca[T]);ca=null;var Z;a.wasmBinary&&(Z=a.wasmBinary);"object"!==typeof WebAssembly&&h("no native wasm support detected");var da,xa=!1;"undefined"!==typeof TextDecoder&&new TextDecoder("utf8");"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");var R,na,ma,L,oa,Sa=a.INITIAL_MEMORY||
16777216;if(da=a.wasmMemory?a.wasmMemory:new WebAssembly.Memory({initial:Sa/65536,maximum:32768}))var fa=da.buffer;Sa=fa.byteLength;C(fa);var qa,Da=[],za=[],Aa=[],Ca=[],ya=!1,V=0,wa=null,ea=null;a.preloadedImages={};a.preloadedAudios={};var O="draco_encoder.wasm";q(O,"data:application/octet-stream;base64,")||(O=n(O));var H={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16};za.push({func:function(){Ta()}});var Va={__cxa_allocate_exception:function(f){return Ua(f+
H.SIZE)+H.SIZE},__cxa_throw:function(f,b,c){(new X(f)).init(b,c);"uncaught_exception"in I?I.uncaught_exceptions++:I.uncaught_exceptions=1;throw f;},abort:function(){h()},array_bounds_check_error:function(f,b){throw"Array index "+f+" out of bounds: [0,"+b+")";},emscripten_memcpy_big:function(f,b,c){na.copyWithin(f,b,b+c)},emscripten_resize_heap:function(f){f>>>=0;var b=na.length;if(2147483648<f)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,f+100663296);d=Math.min(2147483648,k(Math.max(16777216,
f,d),65536));a:{try{da.grow(d-fa.byteLength+65535>>>16);C(da.buffer);var e=1;break a}catch(g){}e=void 0}if(e)return!0}return!1},memory:da};(function(){function f(e,g){a.asm=e.exports;qa=a.asm.__indirect_function_table;V--;a.monitorRunDependencies&&a.monitorRunDependencies(V);0==V&&(null!==wa&&(clearInterval(wa),wa=null),ea&&(e=ea,ea=null,e()))}function b(e){f(e.instance)}function c(e){return B().then(function(g){return WebAssembly.instantiate(g,d)}).then(e,function(g){Y("failed to asynchronously prepare wasm: "+
g);h(g)})}var d={env:Va,wasi_snapshot_preview1:Va};V++;a.monitorRunDependencies&&a.monitorRunDependencies(V);if(a.instantiateWasm)try{return a.instantiateWasm(d,f)}catch(e){return Y("Module.instantiateWasm callback failed with error: "+e),!1}(function(){return Z||"function"!==typeof WebAssembly.instantiateStreaming||q(O,"data:application/octet-stream;base64,")||q(O,"file://")||"function"!==typeof fetch?c(b):fetch(O,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,
d).then(b,function(g){Y("wasm streaming compile failed: "+g);Y("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(pa);return{}})();var Ta=a.___wasm_call_ctors=function(){return(Ta=a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)};a.___em_js__array_bounds_check_error=function(){return(a.___em_js__array_bounds_check_error=a.asm.__em_js__array_bounds_check_error).apply(null,arguments)};var Wa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Wa=a._emscripten_bind_VoidPtr___destroy___0=
a.asm.emscripten_bind_VoidPtr___destroy___0).apply(null,arguments)},Ea=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ea=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0).apply(null,arguments)},Xa=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Xa=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.emscripten_bind_GeometryAttribute___destroy___0).apply(null,arguments)},Fa=a._emscripten_bind_PointAttribute_PointAttribute_0=
function(){return(Fa=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.emscripten_bind_PointAttribute_PointAttribute_0).apply(null,arguments)},Ya=a._emscripten_bind_PointAttribute_size_0=function(){return(Ya=a._emscripten_bind_PointAttribute_size_0=a.asm.emscripten_bind_PointAttribute_size_0).apply(null,arguments)},Za=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Za=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.emscripten_bind_PointAttribute_attribute_type_0).apply(null,
arguments)},$a=a._emscripten_bind_PointAttribute_data_type_0=function(){return($a=a._emscripten_bind_PointAttribute_data_type_0=a.asm.emscripten_bind_PointAttribute_data_type_0).apply(null,arguments)},ab=a._emscripten_bind_PointAttribute_num_components_0=function(){return(ab=a._emscripten_bind_PointAttribute_num_components_0=a.asm.emscripten_bind_PointAttribute_num_components_0).apply(null,arguments)},bb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(bb=a._emscripten_bind_PointAttribute_normalized_0=
a.asm.emscripten_bind_PointAttribute_normalized_0).apply(null,arguments)},cb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(cb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.emscripten_bind_PointAttribute_byte_stride_0).apply(null,arguments)},db=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(db=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.emscripten_bind_PointAttribute_byte_offset_0).apply(null,arguments)},eb=a._emscripten_bind_PointAttribute_unique_id_0=
function(){return(eb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.emscripten_bind_PointAttribute_unique_id_0).apply(null,arguments)},fb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(fb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.emscripten_bind_PointAttribute___destroy___0).apply(null,arguments)},Ga=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Ga=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.emscripten_bind_PointCloud_PointCloud_0).apply(null,
arguments)},gb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(gb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.emscripten_bind_PointCloud_num_attributes_0).apply(null,arguments)},hb=a._emscripten_bind_PointCloud_num_points_0=function(){return(hb=a._emscripten_bind_PointCloud_num_points_0=a.asm.emscripten_bind_PointCloud_num_points_0).apply(null,arguments)},ib=a._emscripten_bind_PointCloud___destroy___0=function(){return(ib=a._emscripten_bind_PointCloud___destroy___0=a.asm.emscripten_bind_PointCloud___destroy___0).apply(null,
arguments)},Ha=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ha=a._emscripten_bind_Mesh_Mesh_0=a.asm.emscripten_bind_Mesh_Mesh_0).apply(null,arguments)},jb=a._emscripten_bind_Mesh_num_faces_0=function(){return(jb=a._emscripten_bind_Mesh_num_faces_0=a.asm.emscripten_bind_Mesh_num_faces_0).apply(null,arguments)},kb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(kb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.emscripten_bind_Mesh_num_attributes_0).apply(null,arguments)},lb=a._emscripten_bind_Mesh_num_points_0=
function(){return(lb=a._emscripten_bind_Mesh_num_points_0=a.asm.emscripten_bind_Mesh_num_points_0).apply(null,arguments)},mb=a._emscripten_bind_Mesh_set_num_points_1=function(){return(mb=a._emscripten_bind_Mesh_set_num_points_1=a.asm.emscripten_bind_Mesh_set_num_points_1).apply(null,arguments)},nb=a._emscripten_bind_Mesh___destroy___0=function(){return(nb=a._emscripten_bind_Mesh___destroy___0=a.asm.emscripten_bind_Mesh___destroy___0).apply(null,arguments)},Ia=a._emscripten_bind_Metadata_Metadata_0=
function(){return(Ia=a._emscripten_bind_Metadata_Metadata_0=a.asm.emscripten_bind_Metadata_Metadata_0).apply(null,arguments)},ob=a._emscripten_bind_Metadata___destroy___0=function(){return(ob=a._emscripten_bind_Metadata___destroy___0=a.asm.emscripten_bind_Metadata___destroy___0).apply(null,arguments)},Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0).apply(null,arguments)},
pb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(pb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.emscripten_bind_DracoInt8Array_GetValue_1).apply(null,arguments)},qb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(qb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.emscripten_bind_DracoInt8Array_size_0).apply(null,arguments)},rb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(rb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.emscripten_bind_DracoInt8Array___destroy___0).apply(null,
arguments)},Ka=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(Ka=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=a.asm.emscripten_bind_MetadataBuilder_MetadataBuilder_0).apply(null,arguments)},sb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(sb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddStringEntry_3).apply(null,arguments)},tb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(tb=
a._emscripten_bind_MetadataBuilder_AddIntEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddIntEntry_3).apply(null,arguments)},ub=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(ub=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=a.asm.emscripten_bind_MetadataBuilder_AddIntEntryArray_4).apply(null,arguments)},vb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(vb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=a.asm.emscripten_bind_MetadataBuilder_AddDoubleEntry_3).apply(null,
arguments)},wb=a._emscripten_bind_MetadataBuilder___destroy___0=function(){return(wb=a._emscripten_bind_MetadataBuilder___destroy___0=a.asm.emscripten_bind_MetadataBuilder___destroy___0).apply(null,arguments)},La=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(La=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=a.asm.emscripten_bind_PointCloudBuilder_PointCloudBuilder_0).apply(null,arguments)},xb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(xb=
a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddFloatAttribute_5).apply(null,arguments)},yb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(yb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt8Attribute_5).apply(null,arguments)},zb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(zb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5).apply(null,
arguments)},Ab=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(Ab=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt16Attribute_5).apply(null,arguments)},Bb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(Bb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5).apply(null,arguments)},Cb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=
function(){return(Cb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddInt32Attribute_5).apply(null,arguments)},Db=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(Db=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=a.asm.emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5).apply(null,arguments)},Eb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(Eb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=
a.asm.emscripten_bind_PointCloudBuilder_AddMetadata_2).apply(null,arguments)},Fb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(Fb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=a.asm.emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3).apply(null,arguments)},Gb=a._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(Gb=a._emscripten_bind_PointCloudBuilder___destroy___0=a.asm.emscripten_bind_PointCloudBuilder___destroy___0).apply(null,
arguments)},Ma=a._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(Ma=a._emscripten_bind_MeshBuilder_MeshBuilder_0=a.asm.emscripten_bind_MeshBuilder_MeshBuilder_0).apply(null,arguments)},Hb=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=function(){return(Hb=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=a.asm.emscripten_bind_MeshBuilder_AddFacesToMesh_3).apply(null,arguments)},Ib=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Ib=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=
a.asm.emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5).apply(null,arguments)},Jb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Jb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=a.asm.emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5).apply(null,arguments)},Kb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(Kb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=a.asm.emscripten_bind_MeshBuilder_AddMetadataToMesh_2).apply(null,arguments)},
Lb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(Lb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=a.asm.emscripten_bind_MeshBuilder_AddFloatAttribute_5).apply(null,arguments)},Mb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(Mb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt8Attribute_5).apply(null,arguments)},Nb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(Nb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=
a.asm.emscripten_bind_MeshBuilder_AddUInt8Attribute_5).apply(null,arguments)},Ob=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Ob=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt16Attribute_5).apply(null,arguments)},Pb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Pb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddUInt16Attribute_5).apply(null,arguments)},Qb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=
function(){return(Qb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddInt32Attribute_5).apply(null,arguments)},Rb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Rb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=a.asm.emscripten_bind_MeshBuilder_AddUInt32Attribute_5).apply(null,arguments)},Sb=a._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Sb=a._emscripten_bind_MeshBuilder_AddMetadata_2=a.asm.emscripten_bind_MeshBuilder_AddMetadata_2).apply(null,
arguments)},Tb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Tb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=a.asm.emscripten_bind_MeshBuilder_SetMetadataForAttribute_3).apply(null,arguments)},Ub=a._emscripten_bind_MeshBuilder___destroy___0=function(){return(Ub=a._emscripten_bind_MeshBuilder___destroy___0=a.asm.emscripten_bind_MeshBuilder___destroy___0).apply(null,arguments)},Na=a._emscripten_bind_Encoder_Encoder_0=function(){return(Na=a._emscripten_bind_Encoder_Encoder_0=
a.asm.emscripten_bind_Encoder_Encoder_0).apply(null,arguments)},Vb=a._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Vb=a._emscripten_bind_Encoder_SetEncodingMethod_1=a.asm.emscripten_bind_Encoder_SetEncodingMethod_1).apply(null,arguments)},Wb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Wb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=a.asm.emscripten_bind_Encoder_SetAttributeQuantization_2).apply(null,arguments)},Xb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=
function(){return(Xb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=a.asm.emscripten_bind_Encoder_SetAttributeExplicitQuantization_5).apply(null,arguments)},Yb=a._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Yb=a._emscripten_bind_Encoder_SetSpeedOptions_2=a.asm.emscripten_bind_Encoder_SetSpeedOptions_2).apply(null,arguments)},Zb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(Zb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=a.asm.emscripten_bind_Encoder_SetTrackEncodedProperties_1).apply(null,
arguments)},$b=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return($b=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=a.asm.emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2).apply(null,arguments)},ac=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(ac=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=a.asm.emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3).apply(null,arguments)},bc=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=
function(){return(bc=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=a.asm.emscripten_bind_Encoder_GetNumberOfEncodedPoints_0).apply(null,arguments)},cc=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(cc=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=a.asm.emscripten_bind_Encoder_GetNumberOfEncodedFaces_0).apply(null,arguments)},dc=a._emscripten_bind_Encoder___destroy___0=function(){return(dc=a._emscripten_bind_Encoder___destroy___0=a.asm.emscripten_bind_Encoder___destroy___0).apply(null,
arguments)},Oa=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Oa=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=a.asm.emscripten_bind_ExpertEncoder_ExpertEncoder_1).apply(null,arguments)},ec=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=function(){return(ec=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=a.asm.emscripten_bind_ExpertEncoder_SetEncodingMethod_1).apply(null,arguments)},fc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(fc=
a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=a.asm.emscripten_bind_ExpertEncoder_SetAttributeQuantization_2).apply(null,arguments)},gc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(gc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=a.asm.emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5).apply(null,arguments)},hc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=function(){return(hc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=
a.asm.emscripten_bind_ExpertEncoder_SetSpeedOptions_2).apply(null,arguments)},ic=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(ic=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=a.asm.emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1).apply(null,arguments)},jc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(jc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=a.asm.emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2).apply(null,
arguments)},kc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=function(){return(kc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=a.asm.emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0).apply(null,arguments)},lc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(lc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=a.asm.emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0).apply(null,arguments)},mc=a._emscripten_bind_ExpertEncoder___destroy___0=
function(){return(mc=a._emscripten_bind_ExpertEncoder___destroy___0=a.asm.emscripten_bind_ExpertEncoder___destroy___0).apply(null,arguments)},nc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(nc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID).apply(null,arguments)},oc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(oc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION).apply(null,
arguments)},pc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(pc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL).apply(null,arguments)},qc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(qc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR).apply(null,arguments)},rc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=
function(){return(rc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD).apply(null,arguments)},sc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(sc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC).apply(null,arguments)},tc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(tc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=
a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE).apply(null,arguments)},uc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(uc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD).apply(null,arguments)},vc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(vc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH).apply(null,
arguments)},wc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=function(){return(wc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=a.asm.emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING).apply(null,arguments)},xc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(xc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=a.asm.emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING).apply(null,
arguments)};a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)};a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)};a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)};a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)};a._setThrew=function(){return(a._setThrew=a.asm.setThrew).apply(null,arguments)};a._free=function(){return(a._free=a.asm.free).apply(null,
arguments)};var Ua=a._malloc=function(){return(Ua=a._malloc=a.asm.malloc).apply(null,arguments)},ja;ea=function b(){ja||M();ja||(ea=b)};a.run=M;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();M();y.prototype=Object.create(y.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.WrapperObject=y;a.getCache=D;a.wrapPointer=ra;a.castObject=function(b,c){return ra(b.ptr,c)};a.NULL=ra(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";
b.__destroy__();delete D(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 m={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(m.needed){for(var b=0;b<m.temps.length;b++)a._free(m.temps[b]);m.temps.length=0;a._free(m.buffer);m.buffer=0;m.size+=m.needed;m.needed=0}m.buffer||(m.size+=128,m.buffer=a._malloc(m.size),r(m.buffer));m.pos=0},alloc:function(b,c){r(m.buffer);b=b.length*c.BYTES_PER_ELEMENT;
b=b+7&-8;m.pos+b>=m.size?(r(0<b),m.needed+=b,c=a._malloc(b),m.temps.push(c)):(c=m.buffer+m.pos,m.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 e=0;e<b.length;e++)c[d+e]=b[e]}};S.prototype=Object.create(y.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.VoidPtr=S;S.prototype.__destroy__=S.prototype.__destroy__=function(){Wa(this.ptr)};P.prototype=Object.create(y.prototype);P.prototype.constructor=
P;P.prototype.__class__=P;P.__cache__={};a.GeometryAttribute=P;P.prototype.__destroy__=P.prototype.__destroy__=function(){Xa(this.ptr)};z.prototype=Object.create(y.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.PointAttribute=z;z.prototype.size=z.prototype.size=function(){return Ya(this.ptr)};z.prototype.attribute_type=z.prototype.attribute_type=function(){return Za(this.ptr)};z.prototype.data_type=z.prototype.data_type=function(){return $a(this.ptr)};z.prototype.num_components=
z.prototype.num_components=function(){return ab(this.ptr)};z.prototype.normalized=z.prototype.normalized=function(){return!!bb(this.ptr)};z.prototype.byte_stride=z.prototype.byte_stride=function(){return cb(this.ptr)};z.prototype.byte_offset=z.prototype.byte_offset=function(){return db(this.ptr)};z.prototype.unique_id=z.prototype.unique_id=function(){return eb(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){fb(this.ptr)};J.prototype=Object.create(y.prototype);J.prototype.constructor=
J;J.prototype.__class__=J;J.__cache__={};a.PointCloud=J;J.prototype.num_attributes=J.prototype.num_attributes=function(){return gb(this.ptr)};J.prototype.num_points=J.prototype.num_points=function(){return hb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){ib(this.ptr)};E.prototype=Object.create(y.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return jb(this.ptr)};E.prototype.num_attributes=
E.prototype.num_attributes=function(){return kb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return lb(this.ptr)};E.prototype.set_num_points=E.prototype.set_num_points=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);mb(c,b)};E.prototype.__destroy__=E.prototype.__destroy__=function(){nb(this.ptr)};Q.prototype=Object.create(y.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.Metadata=Q;Q.prototype.__destroy__=Q.prototype.__destroy__=function(){ob(this.ptr)};
K.prototype=Object.create(y.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return pb(c,b)};K.prototype.size=K.prototype.size=function(){return qb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){rb(this.ptr)};F.prototype=Object.create(y.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.MetadataBuilder=
F;F.prototype.AddStringEntry=F.prototype.AddStringEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d=d&&"object"===typeof d?d.ptr:aa(d);return!!sb(e,b,c,d)};F.prototype.AddIntEntry=F.prototype.AddIntEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d&&"object"===typeof d&&(d=d.ptr);return!!tb(e,b,c,d)};F.prototype.AddIntEntryArray=F.prototype.AddIntEntryArray=
function(b,c,d,e){var g=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);"object"==typeof d&&(d=W(d));e&&"object"===typeof e&&(e=e.ptr);return!!ub(g,b,c,d,e)};F.prototype.AddDoubleEntry=F.prototype.AddDoubleEntry=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d&&"object"===typeof d&&(d=d.ptr);return!!vb(e,b,c,d)};F.prototype.__destroy__=F.prototype.__destroy__=function(){wb(this.ptr)};w.prototype=
Object.create(y.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointCloudBuilder=w;w.prototype.AddFloatAttribute=w.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return xb(t,b,c,d,e,g)};w.prototype.AddInt8Attribute=w.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;
m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return yb(t,b,c,d,e,g)};w.prototype.AddUInt8Attribute=w.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return zb(t,b,c,d,e,g)};w.prototype.AddInt16Attribute=
w.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Ab(t,b,c,d,e,g)};w.prototype.AddUInt16Attribute=w.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&
(e=e.ptr);"object"==typeof g&&(g=la(g));return Bb(t,b,c,d,e,g)};w.prototype.AddInt32Attribute=w.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Cb(t,b,c,d,e,g)};w.prototype.AddUInt32Attribute=w.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Db(t,b,c,d,e,g)};w.prototype.AddMetadata=w.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Eb(d,b,c)};w.prototype.SetMetadataForAttribute=w.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===
typeof d&&(d=d.ptr);return!!Fb(e,b,c,d)};w.prototype.__destroy__=w.prototype.__destroy__=function(){Gb(this.ptr)};u.prototype=Object.create(y.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.MeshBuilder=u;u.prototype.AddFacesToMesh=u.prototype.AddFacesToMesh=function(b,c,d){var e=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);"object"==typeof d&&(d=W(d));return!!Hb(e,b,c,d)};u.prototype.AddFloatAttributeToMesh=u.prototype.AddFloatAttributeToMesh=
function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return Ib(t,b,c,d,e,g)};u.prototype.AddInt32AttributeToMesh=u.prototype.AddInt32AttributeToMesh=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==
typeof g&&(g=W(g));return Jb(t,b,c,d,e,g)};u.prototype.AddMetadataToMesh=u.prototype.AddMetadataToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Kb(d,b,c)};u.prototype.AddFloatAttribute=u.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return Lb(t,
b,c,d,e,g)};u.prototype.AddInt8Attribute=u.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return Mb(t,b,c,d,e,g)};u.prototype.AddUInt8Attribute=u.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ka(g));return Nb(t,b,c,d,e,g)};u.prototype.AddInt16Attribute=u.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Ob(t,b,c,d,e,g)};u.prototype.AddUInt16Attribute=u.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=la(g));return Pb(t,b,c,d,e,g)};u.prototype.AddInt32Attribute=u.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Qb(t,b,c,d,e,g)};u.prototype.AddUInt32Attribute=
u.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=W(g));return Rb(t,b,c,d,e,g)};u.prototype.AddMetadata=u.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Sb(d,b,c)};u.prototype.SetMetadataForAttribute=u.prototype.SetMetadataForAttribute=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Tb(e,b,c,d)};u.prototype.__destroy__=u.prototype.__destroy__=function(){Ub(this.ptr)};x.prototype=Object.create(y.prototype);x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.Encoder=x;x.prototype.SetEncodingMethod=x.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Vb(c,b)};x.prototype.SetAttributeQuantization=
x.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Wb(d,b,c)};x.prototype.SetAttributeExplicitQuantization=x.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;m.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=ba(e));g&&"object"===typeof g&&(g=g.ptr);Xb(t,b,c,d,e,g)};x.prototype.SetSpeedOptions=x.prototype.SetSpeedOptions=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Yb(d,b,c)};x.prototype.SetTrackEncodedProperties=x.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Zb(c,b)};x.prototype.EncodeMeshToDracoBuffer=x.prototype.EncodeMeshToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return $b(d,b,c)};x.prototype.EncodePointCloudToDracoBuffer=x.prototype.EncodePointCloudToDracoBuffer=
function(b,c,d){var e=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(e,b,c,d)};x.prototype.GetNumberOfEncodedPoints=x.prototype.GetNumberOfEncodedPoints=function(){return bc(this.ptr)};x.prototype.GetNumberOfEncodedFaces=x.prototype.GetNumberOfEncodedFaces=function(){return cc(this.ptr)};x.prototype.__destroy__=x.prototype.__destroy__=function(){dc(this.ptr)};A.prototype=Object.create(y.prototype);A.prototype.constructor=A;
A.prototype.__class__=A;A.__cache__={};a.ExpertEncoder=A;A.prototype.SetEncodingMethod=A.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ec(c,b)};A.prototype.SetAttributeQuantization=A.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);fc(d,b,c)};A.prototype.SetAttributeExplicitQuantization=A.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;m.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=ba(e));g&&"object"===typeof g&&(g=g.ptr);gc(t,b,c,d,e,g)};A.prototype.SetSpeedOptions=A.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);hc(d,b,c)};A.prototype.SetTrackEncodedProperties=A.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ic(c,b)};A.prototype.EncodeToDracoBuffer=
A.prototype.EncodeToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return jc(d,b,c)};A.prototype.GetNumberOfEncodedPoints=A.prototype.GetNumberOfEncodedPoints=function(){return kc(this.ptr)};A.prototype.GetNumberOfEncodedFaces=A.prototype.GetNumberOfEncodedFaces=function(){return lc(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){mc(this.ptr)};(function(){function b(){a.INVALID=nc();a.POSITION=oc();a.NORMAL=pc();a.COLOR=
qc();a.TEX_COORD=rc();a.GENERIC=sc();a.INVALID_GEOMETRY_TYPE=tc();a.POINT_CLOUD=uc();a.TRIANGULAR_MESH=vc();a.MESH_SEQUENTIAL_ENCODING=wc();a.MESH_EDGEBREAKER_ENCODING=xc()}ya?b():Aa.unshift(b)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();return p.ready}}();
var DracoEncoderModule=function(){var n="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(n=n||__filename);return function(q){function m(f){return a.locateFile?a.locateFile(f,M):M+f}function r(f,b){f||D("Assertion failed: "+b)}function k(f){va=f;a.HEAP8=Q=new Int8Array(f);a.HEAP16=ka=new Int16Array(f);a.HEAP32=L=new Int32Array(f);a.HEAPU8=la=new Uint8Array(f);a.HEAPU16=new Uint16Array(f);a.HEAPU32=new Uint32Array(f);a.HEAPF32=
ma=new Float32Array(f);a.HEAPF64=new Float64Array(f)}function D(f){if(a.onAbort)a.onAbort(f);f+="";Y(f);wa=!0;f=new WebAssembly.RuntimeError("abort("+f+"). Build with -s ASSERTIONS=1 for more info.");na(f);throw f;}function h(f,b){return String.prototype.startsWith?f.startsWith(b):0===f.indexOf(b)}function p(f){try{if(f==K&&Z)return new Uint8Array(Z);if(da)return da(f);throw"both async and sync fetching of the wasm failed";}catch(b){D(b)}}function v(){if(!Z&&(ea||V)){if("function"===typeof fetch&&
!h(K,"file://"))return fetch(K,{credentials:"same-origin"}).then(function(f){if(!f.ok)throw"failed to load wasm binary file at '"+K+"'";return f.arrayBuffer()}).catch(function(){return p(K)});if(xa)return new Promise(function(f,b){xa(K,function(c){f(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return p(K)})}function B(f){for(;0<f.length;){var b=f.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?oa.get(c)():oa.get(c)(b.arg):c(void 0===b.arg?
null:b.arg)}}}function J(f){this.excPtr=f;this.ptr=f-G.SIZE;this.set_type=function(b){L[this.ptr+G.TYPE_OFFSET>>2]=b};this.get_type=function(){return L[this.ptr+G.TYPE_OFFSET>>2]};this.set_destructor=function(b){L[this.ptr+G.DESTRUCTOR_OFFSET>>2]=b};this.get_destructor=function(){return L[this.ptr+G.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(b){L[this.ptr+G.REFCOUNT_OFFSET>>2]=b};this.set_caught=function(b){Q[this.ptr+G.CAUGHT_OFFSET>>0]=b?1:0};this.get_caught=function(){return 0!=Q[this.ptr+
G.CAUGHT_OFFSET>>0]};this.set_rethrown=function(b){Q[this.ptr+G.RETHROWN_OFFSET>>0]=b?1:0};this.get_rethrown=function(){return 0!=Q[this.ptr+G.RETHROWN_OFFSET>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){L[this.ptr+G.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var b=L[this.ptr+G.REFCOUNT_OFFSET>>2];L[this.ptr+G.REFCOUNT_OFFSET>>2]=b-1;return 1===b}}function U(f){function b(){if(!fa&&
(fa=!0,a.calledRun=!0,!wa)){ya=!0;B(za);B(pa);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());B(Ba)}}if(!(0<W)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ca.unshift(a.preRun.shift());B(Ca);0<W||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function w(){}function C(f){return(f||
w).__cache__}function T(f,b){var c=C(b),d=c[f];if(d)return d;d=Object.create((b||w).prototype);d.ptr=f;return c[f]=d}function P(f){if("string"===typeof f){for(var b=0,c=0;c<f.length;++c){var d=f.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|f.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var e=0;e<f.length;++e){var g=f.charCodeAt(e);if(55296<=g&&57343>=g){var t=f.charCodeAt(++e);g=65536+((g&1023)<<10)|t&1023}if(127>=g){if(c>=
d)break;b[c++]=g}else{if(2047>=g){if(c+1>=d)break;b[c++]=192|g>>6}else{if(65535>=g){if(c+2>=d)break;b[c++]=224|g>>12}else{if(c+3>=d)break;b[c++]=240|g>>18;b[c++]=128|g>>12&63}b[c++]=128|g>>6&63}b[c++]=128|g&63}}b[c]=0}f=l.alloc(b,Q);l.copy(b,Q,f);return f}return f}function ha(f){if("object"===typeof f){var b=l.alloc(f,Q);l.copy(f,Q,b);return b}return f}function ia(f){if("object"===typeof f){var b=l.alloc(f,ka);l.copy(f,ka,b);return b}return f}function X(f){if("object"===typeof f){var b=l.alloc(f,
L);l.copy(f,L,b);return b}return f}function aa(f){if("object"===typeof f){var b=l.alloc(f,ma);l.copy(f,ma,b);return b}return f}function R(){throw"cannot construct a VoidPtr, no constructor in IDL";}function N(){this.ptr=Da();C(N)[this.ptr]=this}function z(){this.ptr=Ea();C(z)[this.ptr]=this}function H(){this.ptr=Fa();C(H)[this.ptr]=this}function E(){this.ptr=Ga();C(E)[this.ptr]=this}function O(){this.ptr=Ha();C(O)[this.ptr]=this}function I(){this.ptr=Ia();C(I)[this.ptr]=this}function F(){this.ptr=
Ja();C(F)[this.ptr]=this}function x(){this.ptr=Ka();C(x)[this.ptr]=this}function u(){this.ptr=La();C(u)[this.ptr]=this}function y(){this.ptr=Ma();C(y)[this.ptr]=this}function A(f){f&&"object"===typeof f&&(f=f.ptr);this.ptr=Na(f);C(A)[this.ptr]=this}q=q||{};var a="undefined"!==typeof q?q:{},Aa,na;a.ready=new Promise(function(f,b){Aa=f;na=b});var Oa=!1,Pa=!1;a.onRuntimeInitialized=function(){Oa=!0;a.callRuntimeCallbacks(a.mainCallbacks);if(Pa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};
a.onModuleParsed=function(){Pa=!0;if(Oa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(f){if("string"!==typeof f)return!1;f=f.split(".");return 2>f.length||3<f.length?!1:1==f[0]&&0<=f[1]&&4>=f[1]?!0:0!=f[0]||10<f[1]?!1:!0};var ba={},S;for(S in a)a.hasOwnProperty(S)&&(ba[S]=a[S]);var ea=!1,V=!1,qa=!1,Qa=!1;ea="object"===typeof window;V="function"===typeof importScripts;qa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;
Qa=!ea&&!qa&&!V;var M="",ra,sa;if(qa){M=V?require("path").dirname(M)+"/":__dirname+"/";var ta=function(f,b){ra||(ra=require("fs"));sa||(sa=require("path"));f=sa.normalize(f);return ra.readFileSync(f,b?null:"utf8")};var da=function(f){f=ta(f,!0);f.buffer||(f=new Uint8Array(f));r(f.buffer);return f};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(Qa)"undefined"!=typeof read&&(ta=function(f){return read(f)}),
da=function(f){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(f));f=read(f,"binary");r("object"===typeof f);return f},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ea||V){V?M=self.location.href:"undefined"!==typeof document&&document.currentScript&&(M=document.currentScript.src);n&&(M=n);M=0!==M.indexOf("blob:")?M.substr(0,M.lastIndexOf("/")+1):"";ta=function(f){var b=
new XMLHttpRequest;b.open("GET",f,!1);b.send(null);return b.responseText};V&&(da=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var xa=function(f,b,c){var d=new XMLHttpRequest;d.open("GET",f,!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)}}a.print||console.log.bind(console);var Y=a.printErr||console.warn.bind(console);for(S in ba)ba.hasOwnProperty(S)&&
(a[S]=ba[S]);ba=null;var Z;a.wasmBinary&&(Z=a.wasmBinary);"object"!==typeof WebAssembly&&D("no native wasm support detected");var ja,wa=!1,va,Q,la,ka,L,ma,oa,Ca=[],za=[],pa=[],Ba=[],ya=!1,W=0,ua=null,ca=null;a.preloadedImages={};a.preloadedAudios={};var K="draco_encoder.wasm";h(K,"data:application/octet-stream;base64,")||(K=m(K));var G={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16},uc=0,vc={e:function(f){return Ra(f+G.SIZE)+G.SIZE},d:function(f,b,
c){(new J(f)).init(b,c);uc++;throw f;},a:function(){D()},b:function(f,b,c){la.copyWithin(f,b,b+c)},c:function(f){var b=la.length;f>>>=0;if(2147483648<f)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,f+100663296);var e=Math,g=e.min;d=Math.max(f,d);0<d%65536&&(d+=65536-d%65536);e=g.call(e,2147483648,d);a:{try{ja.grow(e-va.byteLength+65535>>>16);k(ja.buffer);var t=1;break a}catch(wc){}t=void 0}if(t)return!0}return!1}};(function(){function f(e,g){a.asm=e.exports;ja=a.asm.f;k(ja.buffer);
oa=a.asm.h;za.unshift(a.asm.g);W--;a.monitorRunDependencies&&a.monitorRunDependencies(W);0==W&&(null!==ua&&(clearInterval(ua),ua=null),ca&&(e=ca,ca=null,e()))}function b(e){f(e.instance)}function c(e){return v().then(function(g){return WebAssembly.instantiate(g,d)}).then(e,function(g){Y("failed to asynchronously prepare wasm: "+g);D(g)})}var d={a:vc};W++;a.monitorRunDependencies&&a.monitorRunDependencies(W);if(a.instantiateWasm)try{return a.instantiateWasm(d,f)}catch(e){return Y("Module.instantiateWasm callback failed with error: "+
e),!1}(function(){return Z||"function"!==typeof WebAssembly.instantiateStreaming||h(K,"data:application/octet-stream;base64,")||h(K,"file://")||"function"!==typeof fetch?c(b):fetch(K,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(g){Y("wasm streaming compile failed: "+g);Y("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(na);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.g).apply(null,
arguments)};var Sa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Sa=a._emscripten_bind_VoidPtr___destroy___0=a.asm.i).apply(null,arguments)},Da=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Da=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.j).apply(null,arguments)},Ta=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Ta=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.k).apply(null,arguments)},Ea=a._emscripten_bind_PointAttribute_PointAttribute_0=
function(){return(Ea=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.l).apply(null,arguments)},Ua=a._emscripten_bind_PointAttribute_size_0=function(){return(Ua=a._emscripten_bind_PointAttribute_size_0=a.asm.m).apply(null,arguments)},Va=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Va=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.n).apply(null,arguments)},Wa=a._emscripten_bind_PointAttribute_data_type_0=function(){return(Wa=a._emscripten_bind_PointAttribute_data_type_0=
a.asm.o).apply(null,arguments)},Xa=a._emscripten_bind_PointAttribute_num_components_0=function(){return(Xa=a._emscripten_bind_PointAttribute_num_components_0=a.asm.p).apply(null,arguments)},Ya=a._emscripten_bind_PointAttribute_normalized_0=function(){return(Ya=a._emscripten_bind_PointAttribute_normalized_0=a.asm.q).apply(null,arguments)},Za=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Za=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.r).apply(null,arguments)},$a=a._emscripten_bind_PointAttribute_byte_offset_0=
function(){return($a=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.s).apply(null,arguments)},ab=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(ab=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.t).apply(null,arguments)},bb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(bb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.u).apply(null,arguments)},Fa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Fa=a._emscripten_bind_PointCloud_PointCloud_0=
a.asm.v).apply(null,arguments)},cb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(cb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.w).apply(null,arguments)},db=a._emscripten_bind_PointCloud_num_points_0=function(){return(db=a._emscripten_bind_PointCloud_num_points_0=a.asm.x).apply(null,arguments)},eb=a._emscripten_bind_PointCloud___destroy___0=function(){return(eb=a._emscripten_bind_PointCloud___destroy___0=a.asm.y).apply(null,arguments)},Ga=a._emscripten_bind_Mesh_Mesh_0=
function(){return(Ga=a._emscripten_bind_Mesh_Mesh_0=a.asm.z).apply(null,arguments)},fb=a._emscripten_bind_Mesh_num_faces_0=function(){return(fb=a._emscripten_bind_Mesh_num_faces_0=a.asm.A).apply(null,arguments)},gb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(gb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.B).apply(null,arguments)},hb=a._emscripten_bind_Mesh_num_points_0=function(){return(hb=a._emscripten_bind_Mesh_num_points_0=a.asm.C).apply(null,arguments)},ib=a._emscripten_bind_Mesh_set_num_points_1=
function(){return(ib=a._emscripten_bind_Mesh_set_num_points_1=a.asm.D).apply(null,arguments)},jb=a._emscripten_bind_Mesh___destroy___0=function(){return(jb=a._emscripten_bind_Mesh___destroy___0=a.asm.E).apply(null,arguments)},Ha=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ha=a._emscripten_bind_Metadata_Metadata_0=a.asm.F).apply(null,arguments)},kb=a._emscripten_bind_Metadata___destroy___0=function(){return(kb=a._emscripten_bind_Metadata___destroy___0=a.asm.G).apply(null,arguments)},Ia=
a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ia=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.H).apply(null,arguments)},lb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(lb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.I).apply(null,arguments)},mb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(mb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.J).apply(null,arguments)},nb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(nb=
a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.K).apply(null,arguments)},Ja=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(Ja=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=a.asm.L).apply(null,arguments)},ob=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(ob=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=a.asm.M).apply(null,arguments)},pb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(pb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=
a.asm.N).apply(null,arguments)},qb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(qb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=a.asm.O).apply(null,arguments)},rb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(rb=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=a.asm.P).apply(null,arguments)},sb=a._emscripten_bind_MetadataBuilder___destroy___0=function(){return(sb=a._emscripten_bind_MetadataBuilder___destroy___0=a.asm.Q).apply(null,arguments)},
Ka=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(Ka=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=a.asm.R).apply(null,arguments)},tb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(tb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=a.asm.S).apply(null,arguments)},ub=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(ub=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=a.asm.T).apply(null,arguments)},
vb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(vb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=a.asm.U).apply(null,arguments)},wb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(wb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=a.asm.V).apply(null,arguments)},xb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(xb=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=a.asm.W).apply(null,arguments)},
yb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=function(){return(yb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=a.asm.X).apply(null,arguments)},zb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(zb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=a.asm.Y).apply(null,arguments)},Ab=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(Ab=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=a.asm.Z).apply(null,arguments)},Bb=
a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(Bb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=a.asm._).apply(null,arguments)},Cb=a._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(Cb=a._emscripten_bind_PointCloudBuilder___destroy___0=a.asm.$).apply(null,arguments)},La=a._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(La=a._emscripten_bind_MeshBuilder_MeshBuilder_0=a.asm.aa).apply(null,arguments)},Db=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=
function(){return(Db=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=a.asm.ba).apply(null,arguments)},Eb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Eb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=a.asm.ca).apply(null,arguments)},Fb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Fb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=a.asm.da).apply(null,arguments)},Gb=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(Gb=
a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=a.asm.ea).apply(null,arguments)},Hb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(Hb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=a.asm.fa).apply(null,arguments)},Ib=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(Ib=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=a.asm.ga).apply(null,arguments)},Jb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(Jb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=
a.asm.ha).apply(null,arguments)},Kb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Kb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=a.asm.ia).apply(null,arguments)},Lb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Lb=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=a.asm.ja).apply(null,arguments)},Mb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=function(){return(Mb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=a.asm.ka).apply(null,arguments)},
Nb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Nb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=a.asm.la).apply(null,arguments)},Ob=a._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Ob=a._emscripten_bind_MeshBuilder_AddMetadata_2=a.asm.ma).apply(null,arguments)},Pb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Pb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=a.asm.na).apply(null,arguments)},Qb=a._emscripten_bind_MeshBuilder___destroy___0=
function(){return(Qb=a._emscripten_bind_MeshBuilder___destroy___0=a.asm.oa).apply(null,arguments)},Ma=a._emscripten_bind_Encoder_Encoder_0=function(){return(Ma=a._emscripten_bind_Encoder_Encoder_0=a.asm.pa).apply(null,arguments)},Rb=a._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Rb=a._emscripten_bind_Encoder_SetEncodingMethod_1=a.asm.qa).apply(null,arguments)},Sb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Sb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=
a.asm.ra).apply(null,arguments)},Tb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=function(){return(Tb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=a.asm.sa).apply(null,arguments)},Ub=a._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Ub=a._emscripten_bind_Encoder_SetSpeedOptions_2=a.asm.ta).apply(null,arguments)},Vb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(Vb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=a.asm.ua).apply(null,
arguments)},Wb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return(Wb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=a.asm.va).apply(null,arguments)},Xb=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(Xb=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=a.asm.wa).apply(null,arguments)},Yb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=function(){return(Yb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=a.asm.xa).apply(null,
arguments)},Zb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(Zb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=a.asm.ya).apply(null,arguments)},$b=a._emscripten_bind_Encoder___destroy___0=function(){return($b=a._emscripten_bind_Encoder___destroy___0=a.asm.za).apply(null,arguments)},Na=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Na=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=a.asm.Aa).apply(null,arguments)},ac=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=
function(){return(ac=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=a.asm.Ba).apply(null,arguments)},bc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(bc=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=a.asm.Ca).apply(null,arguments)},cc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return(cc=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=a.asm.Da).apply(null,arguments)},dc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=
function(){return(dc=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=a.asm.Ea).apply(null,arguments)},ec=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(ec=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=a.asm.Fa).apply(null,arguments)},fc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(fc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=a.asm.Ga).apply(null,arguments)},gc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=
function(){return(gc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=a.asm.Ha).apply(null,arguments)},hc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(hc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=a.asm.Ia).apply(null,arguments)},ic=a._emscripten_bind_ExpertEncoder___destroy___0=function(){return(ic=a._emscripten_bind_ExpertEncoder___destroy___0=a.asm.Ja).apply(null,arguments)},jc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(jc=
a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.Ka).apply(null,arguments)},kc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(kc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.La).apply(null,arguments)},lc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(lc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.Ma).apply(null,arguments)},mc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(mc=
a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.Na).apply(null,arguments)},nc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(nc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.Oa).apply(null,arguments)},oc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(oc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.Pa).apply(null,arguments)},pc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(pc=
a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.Qa).apply(null,arguments)},qc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(qc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.Ra).apply(null,arguments)},rc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(rc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Sa).apply(null,arguments)},sc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=
function(){return(sc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=a.asm.Ta).apply(null,arguments)},tc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(tc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=a.asm.Ua).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Va).apply(null,arguments)};var Ra=a._malloc=function(){return(Ra=a._malloc=a.asm.Wa).apply(null,arguments)};a.callRuntimeCallbacks=B;var fa;ca=function b(){fa||
U();fa||(ca=b)};a.run=U;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();U();w.prototype=Object.create(w.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.WrapperObject=w;a.getCache=C;a.wrapPointer=T;a.castObject=function(b,c){return T(b.ptr,c)};a.NULL=T(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete C(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 l={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(l.needed){for(var b=0;b<l.temps.length;b++)a._free(l.temps[b]);l.temps.length=0;a._free(l.buffer);l.buffer=0;l.size+=l.needed;l.needed=0}l.buffer||(l.size+=128,l.buffer=a._malloc(l.size),r(l.buffer));l.pos=0},alloc:function(b,c){r(l.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;l.pos+b>=l.size?(r(0<b),l.needed+=
b,c=a._malloc(b),l.temps.push(c)):(c=l.buffer+l.pos,l.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 e=0;e<b.length;e++)c[d+e]=b[e]}};R.prototype=Object.create(w.prototype);R.prototype.constructor=R;R.prototype.__class__=R;R.__cache__={};a.VoidPtr=R;R.prototype.__destroy__=R.prototype.__destroy__=function(){Sa(this.ptr)};N.prototype=Object.create(w.prototype);N.prototype.constructor=N;N.prototype.__class__=N;
N.__cache__={};a.GeometryAttribute=N;N.prototype.__destroy__=N.prototype.__destroy__=function(){Ta(this.ptr)};z.prototype=Object.create(w.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.PointAttribute=z;z.prototype.size=z.prototype.size=function(){return Ua(this.ptr)};z.prototype.attribute_type=z.prototype.attribute_type=function(){return Va(this.ptr)};z.prototype.data_type=z.prototype.data_type=function(){return Wa(this.ptr)};z.prototype.num_components=z.prototype.num_components=
function(){return Xa(this.ptr)};z.prototype.normalized=z.prototype.normalized=function(){return!!Ya(this.ptr)};z.prototype.byte_stride=z.prototype.byte_stride=function(){return Za(this.ptr)};z.prototype.byte_offset=z.prototype.byte_offset=function(){return $a(this.ptr)};z.prototype.unique_id=z.prototype.unique_id=function(){return ab(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){bb(this.ptr)};H.prototype=Object.create(w.prototype);H.prototype.constructor=H;H.prototype.__class__=
H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return cb(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return db(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){eb(this.ptr)};E.prototype=Object.create(w.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return fb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=
function(){return gb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return hb(this.ptr)};E.prototype.set_num_points=E.prototype.set_num_points=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ib(c,b)};E.prototype.__destroy__=E.prototype.__destroy__=function(){jb(this.ptr)};O.prototype=Object.create(w.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.Metadata=O;O.prototype.__destroy__=O.prototype.__destroy__=function(){kb(this.ptr)};I.prototype=
Object.create(w.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 lb(c,b)};I.prototype.size=I.prototype.size=function(){return mb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){nb(this.ptr)};F.prototype=Object.create(w.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.MetadataBuilder=F;F.prototype.AddStringEntry=
F.prototype.AddStringEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d=d&&"object"===typeof d?d.ptr:P(d);return!!ob(e,b,c,d)};F.prototype.AddIntEntry=F.prototype.AddIntEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d&&"object"===typeof d&&(d=d.ptr);return!!pb(e,b,c,d)};F.prototype.AddIntEntryArray=F.prototype.AddIntEntryArray=function(b,c,d,e){var g=this.ptr;
l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);"object"==typeof d&&(d=X(d));e&&"object"===typeof e&&(e=e.ptr);return!!qb(g,b,c,d,e)};F.prototype.AddDoubleEntry=F.prototype.AddDoubleEntry=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d&&"object"===typeof d&&(d=d.ptr);return!!rb(e,b,c,d)};F.prototype.__destroy__=F.prototype.__destroy__=function(){sb(this.ptr)};x.prototype=Object.create(w.prototype);
x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.PointCloudBuilder=x;x.prototype.AddFloatAttribute=x.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return tb(t,b,c,d,e,g)};x.prototype.AddInt8Attribute=x.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===
typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return ub(t,b,c,d,e,g)};x.prototype.AddUInt8Attribute=x.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return vb(t,b,c,d,e,g)};x.prototype.AddInt16Attribute=
x.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return wb(t,b,c,d,e,g)};x.prototype.AddUInt16Attribute=x.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&
(e=e.ptr);"object"==typeof g&&(g=ia(g));return xb(t,b,c,d,e,g)};x.prototype.AddInt32Attribute=x.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return yb(t,b,c,d,e,g)};x.prototype.AddUInt32Attribute=x.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);
c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return zb(t,b,c,d,e,g)};x.prototype.AddMetadata=x.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Ab(d,b,c)};x.prototype.SetMetadataForAttribute=x.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===
typeof d&&(d=d.ptr);return!!Bb(e,b,c,d)};x.prototype.__destroy__=x.prototype.__destroy__=function(){Cb(this.ptr)};u.prototype=Object.create(w.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.MeshBuilder=u;u.prototype.AddFacesToMesh=u.prototype.AddFacesToMesh=function(b,c,d){var e=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);"object"==typeof d&&(d=X(d));return!!Db(e,b,c,d)};u.prototype.AddFloatAttributeToMesh=u.prototype.AddFloatAttributeToMesh=
function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return Eb(t,b,c,d,e,g)};u.prototype.AddInt32AttributeToMesh=u.prototype.AddInt32AttributeToMesh=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==
typeof g&&(g=X(g));return Fb(t,b,c,d,e,g)};u.prototype.AddMetadataToMesh=u.prototype.AddMetadataToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Gb(d,b,c)};u.prototype.AddFloatAttribute=u.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=aa(g));return Hb(t,
b,c,d,e,g)};u.prototype.AddInt8Attribute=u.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return Ib(t,b,c,d,e,g)};u.prototype.AddUInt8Attribute=u.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return Jb(t,b,c,d,e,g)};u.prototype.AddInt16Attribute=u.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return Kb(t,b,c,d,e,g)};u.prototype.AddUInt16Attribute=u.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return Lb(t,b,c,d,e,g)};u.prototype.AddInt32Attribute=u.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return Mb(t,b,c,d,e,g)};u.prototype.AddUInt32Attribute=
u.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=X(g));return Nb(t,b,c,d,e,g)};u.prototype.AddMetadata=u.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Ob(d,b,c)};u.prototype.SetMetadataForAttribute=u.prototype.SetMetadataForAttribute=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Pb(e,b,c,d)};u.prototype.__destroy__=u.prototype.__destroy__=function(){Qb(this.ptr)};y.prototype=Object.create(w.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.Encoder=y;y.prototype.SetEncodingMethod=y.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Rb(c,b)};y.prototype.SetAttributeQuantization=
y.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Sb(d,b,c)};y.prototype.SetAttributeExplicitQuantization=y.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;l.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=aa(e));g&&"object"===typeof g&&(g=g.ptr);Tb(t,b,c,d,e,g)};y.prototype.SetSpeedOptions=y.prototype.SetSpeedOptions=
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Ub(d,b,c)};y.prototype.SetTrackEncodedProperties=y.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Vb(c,b)};y.prototype.EncodeMeshToDracoBuffer=y.prototype.EncodeMeshToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Wb(d,b,c)};y.prototype.EncodePointCloudToDracoBuffer=y.prototype.EncodePointCloudToDracoBuffer=
function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return Xb(e,b,c,d)};y.prototype.GetNumberOfEncodedPoints=y.prototype.GetNumberOfEncodedPoints=function(){return Yb(this.ptr)};y.prototype.GetNumberOfEncodedFaces=y.prototype.GetNumberOfEncodedFaces=function(){return Zb(this.ptr)};y.prototype.__destroy__=y.prototype.__destroy__=function(){$b(this.ptr)};A.prototype=Object.create(w.prototype);A.prototype.constructor=A;
A.prototype.__class__=A;A.__cache__={};a.ExpertEncoder=A;A.prototype.SetEncodingMethod=A.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ac(c,b)};A.prototype.SetAttributeQuantization=A.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);bc(d,b,c)};A.prototype.SetAttributeExplicitQuantization=A.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;l.prepare();
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=aa(e));g&&"object"===typeof g&&(g=g.ptr);cc(t,b,c,d,e,g)};A.prototype.SetSpeedOptions=A.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);dc(d,b,c)};A.prototype.SetTrackEncodedProperties=A.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);ec(c,b)};A.prototype.EncodeToDracoBuffer=
A.prototype.EncodeToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return fc(d,b,c)};A.prototype.GetNumberOfEncodedPoints=A.prototype.GetNumberOfEncodedPoints=function(){return gc(this.ptr)};A.prototype.GetNumberOfEncodedFaces=A.prototype.GetNumberOfEncodedFaces=function(){return hc(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){ic(this.ptr)};(function(){function b(){a.INVALID=jc();a.POSITION=kc();a.NORMAL=lc();a.COLOR=
mc();a.TEX_COORD=nc();a.GENERIC=oc();a.INVALID_GEOMETRY_TYPE=pc();a.POINT_CLOUD=qc();a.TRIANGULAR_MESH=rc();a.MESH_SEQUENTIAL_ENCODING=sc();a.MESH_EDGEBREAKER_ENCODING=tc()}ya?b():pa.unshift(b)})();a.mainCallbacks=pa;if("function"===typeof a.onModuleParsed)a.onModuleParsed();return q.ready}}();
"object"===typeof exports&&"object"===typeof module?module.exports=DracoEncoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoEncoderModule}):"object"===typeof exports&&(exports.DracoEncoderModule=DracoEncoderModule);

View File

@ -1,6 +1,6 @@
{
"name": "draco3dgltf",
"version": "1.4.1",
"version": "1.4.3",
"description": "This package contains a specific version of Draco 3D geometric compression library that is used for glTF Draco mesh compression extension.",
"main": "draco3dgltf.js",
"scripts": {

Binary file not shown.

View File

@ -26,8 +26,9 @@ class KeyframeAnimationEncodingTest : public ::testing::Test {
bool CreateAndAddTimestamps(int32_t num_frames) {
timestamps_.resize(num_frames);
for (int i = 0; i < timestamps_.size(); ++i)
for (int i = 0; i < timestamps_.size(); ++i) {
timestamps_[i] = static_cast<draco::KeyframeAnimation::TimestampType>(i);
}
return keyframe_animation_.SetTimestamps(timestamps_);
}
@ -35,8 +36,9 @@ class KeyframeAnimationEncodingTest : public ::testing::Test {
uint32_t num_components) {
// Create and add animation data with.
animation_data_.resize(num_frames * num_components);
for (int i = 0; i < animation_data_.size(); ++i)
for (int i = 0; i < animation_data_.size(); ++i) {
animation_data_[i] = static_cast<float>(i);
}
return keyframe_animation_.AddKeyframes(draco::DT_FLOAT32, num_components,
animation_data_);
}
@ -49,7 +51,7 @@ class KeyframeAnimationEncodingTest : public ::testing::Test {
ASSERT_EQ(animation0.num_animations(), animation1.num_animations());
if (quantized) {
// TODO(hemmer) : Add test for stable quantization.
// TODO(b/199760123) : Add test for stable quantization.
// Quantization will result in slightly different values.
// Skip comparing values.
return;
@ -109,9 +111,8 @@ class KeyframeAnimationEncodingTest : public ::testing::Test {
}
}
ASSERT_TRUE(
encoder.EncodeKeyframeAnimation(keyframe_animation_, options, &buffer)
.ok());
DRACO_ASSERT_OK(
encoder.EncodeKeyframeAnimation(keyframe_animation_, options, &buffer));
draco::DecoderBuffer dec_decoder;
draco::KeyframeAnimationDecoder decoder;
@ -122,8 +123,8 @@ class KeyframeAnimationEncodingTest : public ::testing::Test {
std::unique_ptr<KeyframeAnimation> decoded_animation(
new KeyframeAnimation());
DecoderOptions dec_options;
ASSERT_TRUE(
decoder.Decode(dec_options, &dec_buffer, decoded_animation.get()).ok());
DRACO_ASSERT_OK(
decoder.Decode(dec_options, &dec_buffer, decoded_animation.get()));
// Verify if animation before and after compression is identical.
CompareAnimationData<num_components_t>(keyframe_animation_,

View File

@ -24,8 +24,9 @@ class KeyframeAnimationTest : public ::testing::Test {
bool CreateAndAddTimestamps(int32_t num_frames) {
timestamps_.resize(num_frames);
for (int i = 0; i < timestamps_.size(); ++i)
for (int i = 0; i < timestamps_.size(); ++i) {
timestamps_[i] = static_cast<draco::KeyframeAnimation::TimestampType>(i);
}
return keyframe_animation_.SetTimestamps(timestamps_);
}
@ -33,8 +34,9 @@ class KeyframeAnimationTest : public ::testing::Test {
uint32_t num_components) {
// Create and add animation data with.
animation_data_.resize(num_frames * num_components);
for (int i = 0; i < animation_data_.size(); ++i)
for (int i = 0; i < animation_data_.size(); ++i) {
animation_data_[i] = static_cast<float>(i);
}
return keyframe_animation_.AddKeyframes(draco::DT_FLOAT32, num_components,
animation_data_);
}

View File

@ -72,7 +72,7 @@ class PointAttributeVectorOutputIterator {
Self &operator*() { return *this; }
// Still needed in some cases.
// TODO(hemmer): remove.
// TODO(b/199760123): Remove.
// hardcoded to 3 based on legacy usage.
const Self &operator=(const VectorD<CoeffT, 3> &val) {
DRACO_DCHECK_EQ(attributes_.size(), 1); // Expect only ONE attribute.
@ -376,7 +376,7 @@ bool KdTreeAttributesDecoder::DecodeDataNeededByPortableTransforms(
GetDecoder()->point_cloud()->attribute(att_id);
attr->Reset(num_points);
attr->SetIdentityMapping();
};
}
PointAttributeVectorOutputIterator<uint32_t> out_it(atts);

View File

@ -25,10 +25,10 @@ class PredictionSchemeNormalOctahedronCanonicalizedTransformTest
Transform;
typedef Transform::Point2 Point2;
void TestComputeCorrection(const Transform &transform, const int32_t &ox,
const int32_t &oy, const int32_t &px,
const int32_t &py, const int32_t &cx,
const int32_t &cy) {
void TestComputeCorrection(const Transform &transform, const int32_t ox,
const int32_t oy, const int32_t px,
const int32_t py, const int32_t cx,
const int32_t cy) {
const int32_t o[2] = {ox + 7, oy + 7};
const int32_t p[2] = {px + 7, py + 7};
int32_t corr[2] = {500, 500};
@ -38,7 +38,7 @@ class PredictionSchemeNormalOctahedronCanonicalizedTransformTest
}
void TestGetRotationCount(const Transform &transform, const Point2 &pred,
const int32_t &rot_dir) {
const int32_t rot_dir) {
const int32_t rotation_count = transform.GetRotationCount(pred);
ASSERT_EQ(rot_dir, rotation_count);
}

View File

@ -23,10 +23,10 @@ class PredictionSchemeNormalOctahedronTransformTest : public ::testing::Test {
Transform;
typedef Transform::Point2 Point2;
void TestComputeCorrection(const Transform &transform, const int32_t &ox,
const int32_t &oy, const int32_t &px,
const int32_t &py, const int32_t &cx,
const int32_t &cy) {
void TestComputeCorrection(const Transform &transform, const int32_t ox,
const int32_t oy, const int32_t px,
const int32_t py, const int32_t cx,
const int32_t cy) {
const int32_t o[2] = {ox + 7, oy + 7};
const int32_t p[2] = {px + 7, py + 7};
int32_t corr[2] = {500, 500};

View File

@ -73,7 +73,7 @@ class PredictionSchemeWrapTransformBase {
return &clamped_value_[0];
}
// TODO(hemmer): Consider refactoring to avoid this dummy.
// TODO(b/199760123): Consider refactoring to avoid this dummy.
int quantization_bits() const {
DRACO_DCHECK(false);
return -1;

View File

@ -148,8 +148,9 @@ bool SequentialIntegerAttributeDecoder::DecodeIntegerValues(
return false;
}
for (size_t i = 0; i < num_values; ++i) {
if (!in_buffer->Decode(portable_attribute_data + i, num_bytes))
if (!in_buffer->Decode(portable_attribute_data + i, num_bytes)) {
return false;
}
}
}
}

View File

@ -20,8 +20,9 @@ namespace draco {
bool SequentialNormalAttributeEncoder::Init(PointCloudEncoder *encoder,
int attribute_id) {
if (!SequentialIntegerAttributeEncoder::Init(encoder, attribute_id))
if (!SequentialIntegerAttributeEncoder::Init(encoder, attribute_id)) {
return false;
}
// Currently this encoder works only for 3-component normal vectors.
if (attribute()->num_components() != 3) {
return false;

View File

@ -98,7 +98,7 @@ class EncoderBase {
"Invalid prediction scheme for attribute type.");
}
}
// TODO(hemmer): Try to enable more prediction schemes for normals.
// TODO(b/199760123): Try to enable more prediction schemes for normals.
if (att_type == GeometryAttribute::NORMAL) {
if (!(prediction_scheme == PREDICTION_DIFFERENCE ||
prediction_scheme == MESH_PREDICTION_GEOMETRIC_NORMAL)) {

View File

@ -213,16 +213,14 @@ class EncodeTest : public ::testing::Test {
draco::Decoder decoder;
if (mesh) {
auto maybe_mesh = decoder.DecodeMeshFromBuffer(&decoder_buffer);
ASSERT_TRUE(maybe_mesh.ok());
auto decoded_mesh = std::move(maybe_mesh).value();
DRACO_ASSIGN_OR_ASSERT(auto decoded_mesh,
decoder.DecodeMeshFromBuffer(&decoder_buffer));
ASSERT_NE(decoded_mesh, nullptr);
ASSERT_EQ(decoded_mesh->num_points(), encoder.num_encoded_points());
ASSERT_EQ(decoded_mesh->num_faces(), encoder.num_encoded_faces());
} else {
auto maybe_pc = decoder.DecodePointCloudFromBuffer(&decoder_buffer);
ASSERT_TRUE(maybe_pc.ok());
auto decoded_pc = std::move(maybe_pc).value();
DRACO_ASSIGN_OR_ASSERT(
auto decoded_pc, decoder.DecodePointCloudFromBuffer(&decoder_buffer));
ASSERT_EQ(decoded_pc->num_points(), encoder.num_encoded_points());
}
}
@ -274,7 +272,7 @@ TEST_F(EncodeTest, TestLinesObj) {
encoder.SetAttributeQuantization(draco::GeometryAttribute::POSITION, 16);
draco::EncoderBuffer buffer;
ASSERT_TRUE(encoder.EncodePointCloudToBuffer(*pc, &buffer).ok());
DRACO_ASSERT_OK(encoder.EncodePointCloudToBuffer(*pc, &buffer));
}
TEST_F(EncodeTest, TestQuantizedInfinity) {
@ -315,7 +313,7 @@ TEST_F(EncodeTest, TestUnquantizedInfinity) {
encoder.SetEncodingMethod(draco::POINT_CLOUD_SEQUENTIAL_ENCODING);
draco::EncoderBuffer buffer;
ASSERT_TRUE(encoder.EncodePointCloudToBuffer(*pc, &buffer).ok());
DRACO_ASSERT_OK(encoder.EncodePointCloudToBuffer(*pc, &buffer));
}
TEST_F(EncodeTest, TestQuantizedAndUnquantizedAttributes) {
@ -330,7 +328,7 @@ TEST_F(EncodeTest, TestQuantizedAndUnquantizedAttributes) {
encoder.SetAttributeQuantization(draco::GeometryAttribute::POSITION, 11);
encoder.SetAttributeQuantization(draco::GeometryAttribute::NORMAL, 0);
draco::EncoderBuffer buffer;
ASSERT_TRUE(encoder.EncodePointCloudToBuffer(*pc, &buffer).ok());
DRACO_ASSERT_OK(encoder.EncodePointCloudToBuffer(*pc, &buffer));
}
TEST_F(EncodeTest, TestKdTreeEncoding) {
@ -348,7 +346,7 @@ TEST_F(EncodeTest, TestKdTreeEncoding) {
// Now set quantization for the position attribute which should make
// the encoder happy.
encoder.SetAttributeQuantization(draco::GeometryAttribute::POSITION, 16);
ASSERT_TRUE(encoder.EncodePointCloudToBuffer(*pc, &buffer).ok());
DRACO_ASSERT_OK(encoder.EncodePointCloudToBuffer(*pc, &buffer));
}
TEST_F(EncodeTest, TestTrackingOfNumberOfEncodedEntries) {
@ -373,7 +371,7 @@ TEST_F(EncodeTest, TestTrackingOfNumberOfEncodedEntriesNotSet) {
draco::EncoderBuffer buffer;
draco::Encoder encoder;
ASSERT_TRUE(encoder.EncodeMeshToBuffer(*mesh, &buffer).ok());
DRACO_ASSERT_OK(encoder.EncodeMeshToBuffer(*mesh, &buffer));
ASSERT_EQ(encoder.num_encoded_points(), 0);
ASSERT_EQ(encoder.num_encoded_faces(), 0);
}

View File

@ -391,7 +391,6 @@ class RAnsEncoder {
ans_.buf[ans_.buf_offset++] = ans_.state % DRACO_ANS_IO_BASE;
ans_.state /= DRACO_ANS_IO_BASE;
}
// TODO(ostava): The division and multiplication should be optimized.
ans_.state =
(ans_.state / p) * rans_precision + ans_.state % p + sym->cum_prob;
}

View File

@ -72,7 +72,7 @@ bool DecodeTaggedSymbols(uint32_t num_values, int num_components,
int value_id = 0;
for (uint32_t i = 0; i < num_values; i += num_components) {
// Decode the tag.
const int bit_length = tag_decoder.DecodeSymbol();
const uint32_t bit_length = tag_decoder.DecodeSymbol();
// Decode the actual value.
for (int j = 0; j < num_components; ++j) {
uint32_t val;

View File

@ -454,7 +454,7 @@ bool MeshEdgebreakerDecoderImpl<TraversalDecoder>::DecodeConnectivity() {
#endif
// Decode connectivity of non-position attributes.
if (attribute_data_.size() > 0) {
if (!attribute_data_.empty()) {
#ifdef DRACO_BACKWARDS_COMPATIBILITY_SUPPORTED
if (decoder_->bitstream_version() < DRACO_BITSTREAM_VERSION(2, 1)) {
for (CornerIndex ci(0); ci < corner_table_->num_corners(); ci += 3) {
@ -800,7 +800,7 @@ int MeshEdgebreakerDecoderImpl<TraversalDecoder>::DecodeConnectivity(
return -1; // Unexpected number of decoded vertices.
}
// Decode start faces and connect them to the faces from the active stack.
while (active_corner_stack.size() > 0) {
while (!active_corner_stack.empty()) {
const CornerIndex corner = active_corner_stack.back();
active_corner_stack.pop_back();
const bool interior_face =

View File

@ -31,7 +31,6 @@ bool MeshEdgebreakerEncoder::InitializeEncoder() {
impl_ = nullptr;
// For tiny meshes it's usually better to use the basic edgebreaker as the
// overhead of the predictive one may turn out to be too big.
// TODO(b/111065939): Check if this can be improved.
const bool is_tiny_mesh = mesh()->num_faces() < 1000;
int selected_edgebreaker_method =

View File

@ -408,7 +408,7 @@ Status MeshEdgebreakerEncoderImpl<TraversalEncoder>::EncodeConnectivity() {
init_face_connectivity_corners.begin(),
init_face_connectivity_corners.end());
// Encode connectivity for all non-position attributes.
if (attribute_data_.size() > 0) {
if (!attribute_data_.empty()) {
// Use the same order of corner that will be used by the decoder.
visited_faces_.assign(mesh_->num_faces(), false);
for (CornerIndex ci : processed_connectivity_corners_) {

View File

@ -177,7 +177,6 @@ class MeshEdgebreakerEncoderImpl : public MeshEdgebreakerEncoderImplInterface {
uint32_t num_split_symbols_;
// Struct holding data used for encoding each non-position attribute.
// TODO(ostava): This should be probably renamed to something better.
struct AttributeData {
AttributeData() : attribute_index(-1), is_connectivity_used(true) {}
int attribute_index;

View File

@ -44,7 +44,7 @@ class MeshEdgebreakerEncodingTest : public ::testing::Test {
EncoderOptions encoder_options = EncoderOptions::CreateDefaultOptions();
encoder_options.SetSpeed(10 - compression_level, 10 - compression_level);
encoder.SetMesh(*mesh);
ASSERT_TRUE(encoder.Encode(encoder_options, &buffer).ok());
DRACO_ASSERT_OK(encoder.Encode(encoder_options, &buffer));
DecoderBuffer dec_buffer;
dec_buffer.Init(buffer.data(), buffer.size());
@ -52,15 +52,14 @@ class MeshEdgebreakerEncodingTest : public ::testing::Test {
std::unique_ptr<Mesh> decoded_mesh(new Mesh());
DecoderOptions dec_options;
ASSERT_TRUE(
decoder.Decode(dec_options, &dec_buffer, decoded_mesh.get()).ok());
DRACO_ASSERT_OK(
decoder.Decode(dec_options, &dec_buffer, decoded_mesh.get()));
// Cleanup the input mesh to make sure that input and output can be
// compared (edgebreaker method discards degenerated triangles and isolated
// vertices).
const MeshCleanupOptions options;
MeshCleanup cleanup;
ASSERT_TRUE(cleanup(mesh, options)) << "Failed to clean the input mesh.";
DRACO_ASSERT_OK(MeshCleanup::Cleanup(mesh, options));
MeshAreEquivalent eq;
ASSERT_TRUE(eq(*mesh, *decoded_mesh.get()))
@ -102,8 +101,8 @@ TEST_F(MeshEdgebreakerEncodingTest, TestEncoderReuse) {
EncoderOptions encoder_options = EncoderOptions::CreateDefaultOptions();
encoder.SetMesh(*mesh);
EncoderBuffer buffer_0, buffer_1;
ASSERT_TRUE(encoder.Encode(encoder_options, &buffer_0).ok());
ASSERT_TRUE(encoder.Encode(encoder_options, &buffer_1).ok());
DRACO_ASSERT_OK(encoder.Encode(encoder_options, &buffer_0));
DRACO_ASSERT_OK(encoder.Encode(encoder_options, &buffer_1));
// Make sure both buffer are identical.
ASSERT_EQ(buffer_0.size(), buffer_1.size());
@ -123,7 +122,7 @@ TEST_F(MeshEdgebreakerEncodingTest, TestDecoderReuse) {
EncoderOptions encoder_options = EncoderOptions::CreateDefaultOptions();
encoder.SetMesh(*mesh);
EncoderBuffer buffer;
ASSERT_TRUE(encoder.Encode(encoder_options, &buffer).ok());
DRACO_ASSERT_OK(encoder.Encode(encoder_options, &buffer));
DecoderBuffer dec_buffer;
dec_buffer.Init(buffer.data(), buffer.size());
@ -133,13 +132,13 @@ TEST_F(MeshEdgebreakerEncodingTest, TestDecoderReuse) {
// Decode the mesh two times.
std::unique_ptr<Mesh> decoded_mesh_0(new Mesh());
DecoderOptions dec_options;
ASSERT_TRUE(
decoder.Decode(dec_options, &dec_buffer, decoded_mesh_0.get()).ok());
DRACO_ASSERT_OK(
decoder.Decode(dec_options, &dec_buffer, decoded_mesh_0.get()));
dec_buffer.Init(buffer.data(), buffer.size());
std::unique_ptr<Mesh> decoded_mesh_1(new Mesh());
ASSERT_TRUE(
decoder.Decode(dec_options, &dec_buffer, decoded_mesh_1.get()).ok());
DRACO_ASSERT_OK(
decoder.Decode(dec_options, &dec_buffer, decoded_mesh_1.get()));
// Make sure both of the meshes are identical.
MeshAreEquivalent eq;
@ -169,7 +168,7 @@ TEST_F(MeshEdgebreakerEncodingTest, TestSingleConnectivityEncoding) {
encoder.SetAttributeQuantization(GeometryAttribute::TEX_COORD, 8);
encoder.SetAttributeQuantization(GeometryAttribute::NORMAL, 8);
encoder.SetEncodingMethod(MESH_EDGEBREAKER_ENCODING);
ASSERT_TRUE(encoder.EncodeMeshToBuffer(*mesh, &buffer).ok());
DRACO_ASSERT_OK(encoder.EncodeMeshToBuffer(*mesh, &buffer));
DecoderBuffer dec_buffer;
dec_buffer.Init(buffer.data(), buffer.size());
@ -216,7 +215,7 @@ TEST_F(MeshEdgebreakerEncodingTest, TestWrongAttributeOrder) {
encoder.SetAttributeQuantization(GeometryAttribute::POSITION, 8);
encoder.SetAttributeQuantization(GeometryAttribute::NORMAL, 8);
encoder.SetEncodingMethod(MESH_EDGEBREAKER_ENCODING);
ASSERT_TRUE(encoder.EncodeMeshToBuffer(*mesh, &buffer).ok());
DRACO_ASSERT_OK(encoder.EncodeMeshToBuffer(*mesh, &buffer));
DecoderBuffer dec_buffer;
dec_buffer.Init(buffer.data(), buffer.size());

View File

@ -50,8 +50,6 @@ namespace draco {
// \ / S \ / / E \
// *-------* *-------*
//
// TODO(ostava): Get rid of the topology bit pattern. It's important only for
// encoding but the algorithms should use EdgebreakerSymbol instead.
enum EdgebreakerTopologyBitPattern {
TOPOLOGY_C = 0x0, // 0
TOPOLOGY_S = 0x1, // 1 0 0

View File

@ -78,9 +78,10 @@ class MeshEncoderTest : public ::testing::TestWithParam<MeshEncoderTestParams> {
encoder.SetAttributeQuantization(i, 12);
}
EncoderBuffer buffer;
ASSERT_TRUE(encoder.EncodeToBuffer(&buffer).ok())
<< "Failed encoding test mesh " << file_name << " with method "
<< GetParam().encoding_method;
const Status status = encoder.EncodeToBuffer(&buffer);
EXPECT_TRUE(status.ok()) << "Failed encoding test mesh " << file_name
<< " with method " << GetParam().encoding_method;
DRACO_ASSERT_OK(status);
// Check that the encoded mesh was really encoded with the selected method.
DecoderBuffer decoder_buffer;
decoder_buffer.Init(buffer.data(), buffer.size());
@ -88,6 +89,7 @@ class MeshEncoderTest : public ::testing::TestWithParam<MeshEncoderTestParams> {
uint8_t encoded_method;
ASSERT_TRUE(decoder_buffer.Decode(&encoded_method));
ASSERT_EQ(encoded_method, method);
if (!FLAGS_update_golden_files) {
EXPECT_TRUE(
CompareGoldenFile(golden_file_name, buffer.data(), buffer.size()))

View File

@ -32,8 +32,6 @@ Status MeshSequentialEncoder::EncodeConnectivity() {
EncodeVarint(static_cast<uint32_t>(mesh()->num_points()), buffer());
// We encode all attributes in the original (possibly duplicated) format.
// TODO(ostava): This may not be optimal if we have only one attribute or if
// all attributes share the same index mapping.
if (options()->GetGlobalBool("compress_connectivity", false)) {
// 0 = Encode compressed indices.
buffer()->Encode(static_cast<uint8_t>(0));
@ -44,8 +42,6 @@ Status MeshSequentialEncoder::EncodeConnectivity() {
// 1 = Encode indices directly.
buffer()->Encode(static_cast<uint8_t>(1));
// Store vertex indices using a smallest data type that fits their range.
// TODO(ostava): This can be potentially improved by using a tighter
// fit that is not bound by a bit-length of any particular data type.
if (mesh()->num_points() < 256) {
// Serialize indices as uint8_t.
for (FaceIndex i(0); i < num_faces; ++i) {

View File

@ -33,7 +33,6 @@ namespace draco {
// Class that encodes mesh data using a simple binary representation of mesh's
// connectivity and geometry.
// TODO(ostava): Use a better name.
class MeshSequentialEncoder : public MeshEncoder {
public:
MeshSequentialEncoder();

View File

@ -25,7 +25,7 @@ namespace draco {
// values based on the traversal of the encoded mesh. The class should be used
// as the TraversalObserverT member of a Traverser class such as the
// DepthFirstTraverser (depth_first_traverser.h).
// TODO(hemmer): rename to AttributeIndicesCodingTraverserObserver
// TODO(b/199760123): Rename to AttributeIndicesCodingTraverserObserver.
template <class CornerTableT>
class MeshAttributeIndicesEncodingObserver {
public:

View File

@ -25,7 +25,7 @@ namespace draco {
// Sequencer that generates point sequence in an order given by a deterministic
// traversal on the mesh surface. Note that all attributes encoded with this
// sequence must share the same connectivity.
// TODO(hemmer): Consider refactoring such that this is an observer.
// TODO(b/199760123): Consider refactoring such that this is an observer.
template <class TraverserT>
class MeshTraversalSequencer : public PointsSequencer {
public:

View File

@ -227,7 +227,7 @@ bool DynamicIntegerPointsKdTreeDecoder<compression_level_t>::DecodeInternal(
std::stack<Status> status_stack;
status_stack.push(init_status);
// TODO(hemmer): use preallocated vector instead of stack.
// TODO(b/199760123): Use preallocated vector instead of stack.
while (!status_stack.empty()) {
const DecodingStatus status = status_stack.top();
status_stack.pop();
@ -263,7 +263,8 @@ bool DynamicIntegerPointsKdTreeDecoder<compression_level_t>::DecodeInternal(
// Fast decoding of remaining bits if number of points is 1 or 2.
if (num_remaining_points <= 2) {
// TODO(hemmer): axes_ not necessary, remove would change bitstream!
// TODO(b/199760123): |axes_| not necessary, remove would change
// bitstream!
axes_[0] = axis;
for (uint32_t i = 1; i < dimension_; i++) {
axes_[i] = DRACO_INCREMENT_MOD(axes_[i - 1], dimension_);

View File

@ -280,7 +280,7 @@ void DynamicIntegerPointsKdTreeEncoder<compression_level_t>::EncodeInternal(
std::stack<Status> status_stack;
status_stack.push(init_status);
// TODO(hemmer): use preallocated vector instead of stack.
// TODO(b/199760123): Use preallocated vector instead of stack.
while (!status_stack.empty()) {
Status status = status_stack.top();
status_stack.pop();
@ -305,7 +305,8 @@ void DynamicIntegerPointsKdTreeEncoder<compression_level_t>::EncodeInternal(
// Fast encoding of remaining bits if number of points is 1 or 2.
// Doing this also for 2 gives a slight additional speed up.
if (num_remaining_points <= 2) {
// TODO(hemmer): axes_ not necessary, remove would change bitstream!
// TODO(b/199760123): |axes_| not necessary, remove would change
// bitstream!
axes_[0] = axis;
for (uint32_t i = 1; i < dimension_; i++) {
axes_[i] = DRACO_INCREMENT_MOD(axes_[i - 1], dimension_);

View File

@ -44,7 +44,7 @@ namespace draco {
// there are more leading zeros, which is then compressed better by the
// arithmetic encoding.
// TODO(hemmer): Remove class because it duplicates quantization code.
// TODO(b/199760123): Remove class because it duplicates quantization code.
class FloatPointsTreeEncoder {
public:
explicit FloatPointsTreeEncoder(PointCloudCompressionMethod method);
@ -91,7 +91,7 @@ bool FloatPointsTreeEncoder::EncodePointCloud(InputIteratorT points_begin,
// Collect necessary data for encoding.
num_points_ = std::distance(points_begin, points_end);
// TODO(hemmer): Extend quantization tools to make this more automatic.
// TODO(b/199760123): Extend quantization tools to make this more automatic.
// Compute range of points for quantization
std::vector<Point3ui> qpoints;
qpoints.reserve(num_points_);

View File

@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// TODO(hemmer): Make this a wrapper using DynamicIntegerPointsKdTreeDecoder.
// TODO(b/199760123): Make this a wrapper using
// DynamicIntegerPointsKdTreeDecoder.
//
// See integer_points_kd_tree_encoder.h for documentation.

View File

@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// TODO(hemmer): Make this a wrapper using DynamicIntegerPointsKdTreeEncoder.
// TODO(b/199760123): Make this a wrapper using
// DynamicIntegerPointsKdTreeEncoder.
#ifndef DRACO_COMPRESSION_POINT_CLOUD_ALGORITHMS_INTEGER_POINTS_KD_TREE_ENCODER_H_
#define DRACO_COMPRESSION_POINT_CLOUD_ALGORITHMS_INTEGER_POINTS_KD_TREE_ENCODER_H_

View File

@ -22,7 +22,7 @@
namespace draco {
// TODO(hemmer): Make this a stable bounding box.
// TODO(b/199760123): Make this a stable bounding box.
struct QuantizationInfo {
uint32_t quantization_bits;
float range;

View File

@ -68,7 +68,7 @@ class PointCloudKdTreeEncodingTest : public ::testing::Test {
++compression_level) {
options.SetSpeed(10 - compression_level, 10 - compression_level);
encoder.SetPointCloud(pc);
ASSERT_TRUE(encoder.Encode(options, &buffer).ok());
DRACO_ASSERT_OK(encoder.Encode(options, &buffer));
DecoderBuffer dec_buffer;
dec_buffer.Init(buffer.data(), buffer.size());
@ -76,7 +76,7 @@ class PointCloudKdTreeEncodingTest : public ::testing::Test {
std::unique_ptr<PointCloud> out_pc(new PointCloud());
DecoderOptions dec_options;
ASSERT_TRUE(decoder.Decode(dec_options, &dec_buffer, out_pc.get()).ok());
DRACO_ASSERT_OK(decoder.Decode(dec_options, &dec_buffer, out_pc.get()));
ComparePointClouds(pc, *out_pc);
}

View File

@ -20,9 +20,9 @@ BoundingBox::BoundingBox()
: BoundingBox(Vector3f(std::numeric_limits<float>::max(),
std::numeric_limits<float>::max(),
std::numeric_limits<float>::max()),
Vector3f(-std::numeric_limits<float>::max(),
-std::numeric_limits<float>::max(),
-std::numeric_limits<float>::max())) {}
Vector3f(std::numeric_limits<float>::lowest(),
std::numeric_limits<float>::lowest(),
std::numeric_limits<float>::lowest())) {}
BoundingBox::BoundingBox(const Vector3f &min_point, const Vector3f &max_point)
: min_point_(min_point), max_point_(max_point) {}

View File

@ -52,7 +52,7 @@ void DataBuffer::Resize(int64_t size) {
}
void DataBuffer::WriteDataToStream(std::ostream &stream) {
if (data_.size() == 0) {
if (data_.empty()) {
return;
}
stream.write(reinterpret_cast<char *>(data_.data()), data_.size());

View File

@ -54,12 +54,11 @@ class DecoderBuffer {
// Decodes up to 32 bits into out_val. Can be called only in between
// StartBitDecoding and EndBitDecoding. Otherwise returns false.
bool DecodeLeastSignificantBits32(int nbits, uint32_t *out_value) {
bool DecodeLeastSignificantBits32(uint32_t nbits, uint32_t *out_value) {
if (!bit_decoder_active()) {
return false;
}
bit_decoder_.GetBits(nbits, out_value);
return true;
return bit_decoder_.GetBits(nbits, out_value);
}
// Decodes an arbitrary data type.
@ -158,9 +157,10 @@ class DecoderBuffer {
inline void ConsumeBits(int k) { bit_offset_ += k; }
// Returns |nbits| bits in |x|.
inline bool GetBits(int32_t nbits, uint32_t *x) {
DRACO_DCHECK_GE(nbits, 0);
DRACO_DCHECK_LE(nbits, 32);
inline bool GetBits(uint32_t nbits, uint32_t *x) {
if (nbits > 32) {
return false;
}
uint32_t value = 0;
for (int32_t bit = 0; bit < nbits; ++bit) {
value |= GetBit() << bit;

View File

@ -28,7 +28,6 @@ namespace draco {
// draco_index_type.h .
// TODO(ostava): Make the interface more complete. It's currently missing
// features such as iterators.
// TODO(vytyaz): Add more unit tests for this class.
template <class IndexTypeT, class ValueTypeT>
class IndexTypeVector {
public:

View File

@ -55,11 +55,13 @@ bool CompareGoldenFile(const std::string &golden_file_name, const void *data,
size_t remaining_data_size = data_size;
int offset = 0;
while ((extracted_size = in_file.read(buffer, buffer_size).gcount()) > 0) {
if (remaining_data_size <= 0)
if (remaining_data_size <= 0) {
break; // Input and golden sizes are different.
}
size_t size_to_check = extracted_size;
if (remaining_data_size < size_to_check)
if (remaining_data_size < size_to_check) {
size_to_check = remaining_data_size;
}
for (uint32_t i = 0; i < size_to_check; ++i) {
if (buffer[i] != data_c8[offset++]) {
LOG(INFO) << "Test output differed from golden file at byte "

View File

@ -18,7 +18,7 @@
namespace draco {
// Draco version is comprised of <major>.<minor>.<revision>.
static const char kDracoVersion[] = "1.4.1";
static const char kDracoVersion[] = "1.4.3";
const char *Version() { return kDracoVersion; }

View File

@ -90,6 +90,10 @@ namespace draco {
#define DRACO_MACROS_IMPL_CONCAT_INNER_(x, y) x##y
#define DRACO_MACROS_IMPL_CONCAT_(x, y) DRACO_MACROS_IMPL_CONCAT_INNER_(x, y)
#define DRACO_MACROS_IMPL_CONCAT_INNER_3_(x, y, z) x##y##z
#define DRACO_MACROS_IMPL_CONCAT_3_(x, y, z) \
DRACO_MACROS_IMPL_CONCAT_INNER_3_(x, y, z)
// Expand the n-th argument of the macro. Used to select an argument based on
// the number of entries in a variadic macro argument. Example usage:
//
@ -100,9 +104,9 @@ namespace draco {
// #define VARIADIC_MACRO(...)
// DRACO_SELECT_NTH_FROM_3(__VA_ARGS__, FUNC_3, FUNC_2, FUNC_1) __VA_ARGS__
//
#define DRACO_SELECT_NTH_FROM_2(_1, _2, NAME) NAME
#define DRACO_SELECT_NTH_FROM_3(_1, _2, _3, NAME) NAME
#define DRACO_SELECT_NTH_FROM_4(_1, _2, _3, _4, NAME) NAME
#define DRACO_SELECT_NTH_FROM_2(_1, _2, NAME, ...) NAME
#define DRACO_SELECT_NTH_FROM_3(_1, _2, _3, NAME, ...) NAME
#define DRACO_SELECT_NTH_FROM_4(_1, _2, _3, _4, NAME, ...) NAME
// Macro that converts the Draco bit-stream into one uint16_t number.
// Useful mostly when checking version numbers.

View File

@ -71,8 +71,6 @@ class Options {
private:
// All entries are internally stored as strings and converted to the desired
// return type based on the used Get* method.
// TODO(ostava): Consider adding type safety mechanism that would prevent
// unsafe operations such as a conversion from vector to int.
std::map<std::string, std::string> options_;
};

View File

@ -34,7 +34,7 @@ class VectorD {
typedef ScalarT Scalar;
typedef VectorD<Scalar, dimension_t> Self;
// TODO(hemmer): Deprecate.
// TODO(b/199760123): Deprecate.
typedef ScalarT CoefficientType;
VectorD() {
@ -45,7 +45,7 @@ class VectorD {
// The following constructor does not compile in opt mode, which for now led
// to the constructors further down, which is not ideal.
// TODO(hemmer): fix constructor below and remove others.
// TODO(b/199760123): Fix constructor below and remove others.
// template <typename... Args>
// explicit VectorD(Args... args) : v_({args...}) {}
@ -111,7 +111,7 @@ class VectorD {
Scalar &operator[](int i) { return v_[i]; }
const Scalar &operator[](int i) const { return v_[i]; }
// TODO(hemmer): remove.
// TODO(b/199760123): Remove.
// Similar to interface of Eigen library.
Scalar &operator()(int i) { return v_[i]; }
const Scalar &operator()(int i) const { return v_[i]; }

View File

@ -38,7 +38,6 @@ std::unique_ptr<FileReaderInterface> FileReaderFactory::OpenReader(
}
return reader;
}
FILEREADER_LOG_ERROR("No file reader able to open input");
return nullptr;
}

View File

@ -30,7 +30,7 @@ void SplitPath(const std::string &full_path, std::string *out_folder_path,
std::string ReplaceFileExtension(const std::string &in_file_name,
const std::string &new_extension) {
const auto pos = in_file_name.find_last_of(".");
const auto pos = in_file_name.find_last_of('.');
if (pos == std::string::npos) {
// No extension found.
return in_file_name + "." + new_extension;
@ -46,6 +46,22 @@ std::string LowercaseFileExtension(const std::string &filename) {
return parser::ToLower(filename.substr(pos + 1));
}
std::string LowercaseMimeTypeExtension(const std::string &mime_type) {
const size_t pos = mime_type.find_last_of('/');
if (pos == 0 || pos == std::string::npos || pos == mime_type.length() - 1) {
return "";
}
return parser::ToLower(mime_type.substr(pos + 1));
}
std::string RemoveFileExtension(const std::string &filename) {
const size_t pos = filename.find_last_of('.');
if (pos == 0 || pos == std::string::npos || pos == filename.length() - 1) {
return filename;
}
return filename.substr(0, pos);
}
std::string GetFullPath(const std::string &input_file_relative_path,
const std::string &sibling_file_full_path) {
const auto pos = sibling_file_full_path.find_last_of("/\\");

View File

@ -37,6 +37,13 @@ std::string ReplaceFileExtension(const std::string &in_file_name,
// '.' (e.g. Linux hidden files), the first delimiter is ignored.
std::string LowercaseFileExtension(const std::string &filename);
// Returns the mime type extension in lowercase if present, else "". Extension
// is defined as the string after the last '/ character.
std::string LowercaseMimeTypeExtension(const std::string &mime_type);
// Returns the file name without extension.
std::string RemoveFileExtension(const std::string &filename);
// Given a path of the input file |input_file_relative_path| relative to the
// parent directory of |sibling_file_full_path|, this function returns full path
// to the input file. If |sibling_file_full_path| has no directory, the relative

View File

@ -46,16 +46,17 @@ StatusOr<std::unique_ptr<Mesh>> ReadMeshFromFile(
std::unique_ptr<Mesh> mesh(new Mesh());
// Analyze file extension.
const std::string extension = LowercaseFileExtension(file_name);
if (extension != "gltf" && mesh_files) {
// The GLTF decoder will fill |mesh_files|, but for other file types we set
// the root file here to avoid duplicating code.
if (extension != "gltf" && extension != "obj" && mesh_files) {
// The GLTF/OBJ decoder will fill |mesh_files|, but for other file types we
// set the root file here to avoid duplicating code.
mesh_files->push_back(file_name);
}
if (extension == "obj") {
// Wavefront OBJ file format.
ObjDecoder obj_decoder;
obj_decoder.set_use_metadata(options.GetBool("use_metadata", false));
const Status obj_status = obj_decoder.DecodeFromFile(file_name, mesh.get());
const Status obj_status =
obj_decoder.DecodeFromFile(file_name, mesh.get(), mesh_files);
if (!obj_status.ok()) {
return obj_status;
}

Some files were not shown because too many files have changed in this diff Show More