@kitware/vtk.js 19.2.13 → 19.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Common/Core/Base64.js +1 -1
- package/Common/Core/CellArray.js +2 -3
- package/Common/Core/ClassHierarchy.js +1 -1
- package/Common/Core/DataArray/Constants.js +1 -2
- package/Common/Core/DataArray.js +3 -4
- package/Common/Core/Endian.js +1 -2
- package/Common/Core/ImageHelper.js +1 -1
- package/Common/Core/LookupTable.js +1 -2
- package/Common/Core/MatrixBuilder.js +1 -1
- package/Common/Core/Points.js +1 -2
- package/Common/Core/PriorityQueue.js +1 -2
- package/Common/Core/ProgressHandler.js +1 -2
- package/Common/Core/ScalarsToColors/Constants.js +1 -2
- package/Common/Core/ScalarsToColors.js +2 -3
- package/Common/Core/StringArray.js +1 -2
- package/Common/Core/URLExtract.js +1 -1
- package/Common/Core/VariantArray.js +1 -2
- package/Common/Core.js +1 -1
- package/Common/DataModel/BoundingBox.js +2 -3
- package/Common/DataModel/Box.js +2 -3
- package/Common/DataModel/CardinalSpline1D.js +1 -2
- package/Common/DataModel/Cell.js +1 -2
- package/Common/DataModel/CellLinks.js +26 -27
- package/Common/DataModel/CellTypes/Constants.js +1 -2
- package/Common/DataModel/CellTypes.js +2 -3
- package/Common/DataModel/Cone.js +1 -2
- package/Common/DataModel/Cylinder.js +2 -3
- package/Common/DataModel/DataSet/Constants.js +1 -2
- package/Common/DataModel/DataSet.js +2 -3
- package/Common/DataModel/DataSetAttributes/Constants.js +1 -2
- package/Common/DataModel/DataSetAttributes/FieldData.js +1 -2
- package/Common/DataModel/DataSetAttributes.js +2 -3
- package/Common/DataModel/ITKHelper.js +1 -1
- package/Common/DataModel/ImageData.js +1 -2
- package/Common/DataModel/ImplicitBoolean/Constants.js +1 -2
- package/Common/DataModel/ImplicitBoolean.js +2 -3
- package/Common/DataModel/KochanekSpline1D.js +1 -2
- package/Common/DataModel/Line/Constants.js +1 -2
- package/Common/DataModel/Line.js +2 -3
- package/Common/DataModel/Molecule.js +1 -2
- package/Common/DataModel/PiecewiseFunction.js +1 -2
- package/Common/DataModel/Plane.js +2 -3
- package/Common/DataModel/PointSet.js +1 -2
- package/Common/DataModel/PolyData/Constants.js +1 -2
- package/Common/DataModel/PolyData.js +1 -2
- package/Common/DataModel/Polygon.js +1 -2
- package/Common/DataModel/SelectionNode/Constants.js +1 -2
- package/Common/DataModel/SelectionNode.js +2 -3
- package/Common/DataModel/Sphere.js +2 -3
- package/Common/DataModel/Spline1D.js +1 -2
- package/Common/DataModel/Spline3D/Constants.js +1 -2
- package/Common/DataModel/Spline3D.js +1 -2
- package/Common/DataModel/StructuredData/Constants.js +1 -2
- package/Common/DataModel/StructuredData.js +2 -3
- package/Common/DataModel/Triangle.js +2 -3
- package/Common/DataModel.js +1 -1
- package/Common/System/MobileVR/headsets.js +1 -1
- package/Common/System/MobileVR.js +1 -1
- package/Common/System/TimerLog.js +1 -2
- package/Common/System.js +1 -1
- package/Common/Transform/LandmarkTransform/Constants.js +1 -2
- package/Common/Transform/LandmarkTransform.js +2 -3
- package/Common/Transform.js +1 -1
- package/Common/index.js +1 -1
- package/Filters/Core/Cutter.js +3 -4
- package/Filters/Core.js +1 -1
- package/Filters/Cornerstone/ImageDataToCornerstoneImage.js +1 -2
- package/Filters/Cornerstone.js +1 -1
- package/Filters/General/AppendPolyData.js +1 -2
- package/Filters/General/Calculator.js +2 -3
- package/Filters/General/ClosedPolyLineToSurfaceFilter.js +1 -2
- package/Filters/General/ImageCropFilter.js +1 -2
- package/Filters/General/ImageMarchingCubes/caseTable.js +1 -1
- package/Filters/General/ImageMarchingCubes.js +1 -2
- package/Filters/General/ImageMarchingSquares/caseTable.js +1 -1
- package/Filters/General/ImageMarchingSquares.js +1 -2
- package/Filters/General/ImageOutlineFilter.js +1 -2
- package/Filters/General/ImageSliceFilter.js +1 -2
- package/Filters/General/ImageStreamline.js +1 -2
- package/Filters/General/LineFilter.js +1 -2
- package/Filters/General/MoleculeToRepresentation.js +1 -2
- package/Filters/General/OutlineFilter.js +1 -2
- package/Filters/General/PaintFilter/PaintFilter.worker.js +3 -3
- package/Filters/General/PaintFilter.js +3 -4
- package/Filters/General/ScalarToRGBA.js +1 -2
- package/Filters/General/TriangleFilter.js +1 -2
- package/Filters/General/TubeFilter/Constants.js +1 -2
- package/Filters/General/TubeFilter.js +1 -2
- package/Filters/General/WarpScalar.js +1 -2
- package/Filters/General/WindowedSincPolyDataFilter.js +43 -44
- package/Filters/General.js +1 -1
- package/Filters/Sources/Arrow2DSource/Constants.js +1 -2
- package/Filters/Sources/Arrow2DSource.js +2 -3
- package/Filters/Sources/ArrowSource.js +1 -2
- package/Filters/Sources/CircleSource.js +2 -3
- package/Filters/Sources/ConcentricCylinderSource.js +1 -2
- package/Filters/Sources/ConeSource.js +1 -2
- package/Filters/Sources/CubeSource.js +1 -2
- package/Filters/Sources/Cursor3D.js +12 -13
- package/Filters/Sources/CylinderSource.js +1 -2
- package/Filters/Sources/ImageGridSource.js +1 -2
- package/Filters/Sources/LineSource.js +1 -2
- package/Filters/Sources/PlaneSource.js +1 -2
- package/Filters/Sources/PointSource.js +1 -2
- package/Filters/Sources/RTAnalyticSource.js +1 -2
- package/Filters/Sources/SLICSource.js +1 -2
- package/Filters/Sources/SphereSource.js +1 -2
- package/Filters/Sources/ViewFinderSource.js +1 -2
- package/Filters/Sources.js +1 -1
- package/Filters/Texture/TextureMapToPlane.js +1 -2
- package/Filters/Texture/TextureMapToSphere.js +1 -2
- package/Filters/Texture.js +1 -1
- package/Filters/index.js +1 -1
- package/IO/Core/BinaryHelper.js +1 -1
- package/IO/Core/DataAccessHelper/HtmlDataAccessHelper.js +1 -1
- package/IO/Core/DataAccessHelper/HttpDataAccessHelper.js +1 -1
- package/IO/Core/DataAccessHelper/JSZipDataAccessHelper.js +3 -3
- package/IO/Core/DataAccessHelper/LiteHttpDataAccessHelper.js +1 -1
- package/IO/Core/DataAccessHelper.js +1 -2
- package/IO/Core/HttpDataSetReader.js +1 -2
- package/IO/Core/HttpDataSetSeriesReader.js +1 -2
- package/IO/Core/HttpSceneLoader.js +2 -3
- package/IO/Core/ImageStream/DefaultProtocol.js +1 -1
- package/IO/Core/ImageStream/ViewStream.js +1 -2
- package/IO/Core/ImageStream.js +1 -2
- package/IO/Core/ResourceLoader.js +1 -2
- package/IO/Core/Serializer/ArraySerializer.js +1 -2
- package/IO/Core/Serializer/FieldDataSerializer.js +1 -1
- package/IO/Core/Serializer/ImageDataSerializer.js +1 -1
- package/IO/Core/Serializer/PolyDataSerializer.js +1 -1
- package/IO/Core/Serializer.js +1 -1
- package/IO/Core/WSLinkClient.js +1 -2
- package/IO/Core/ZipMultiDataSetReader.js +3 -4
- package/IO/Core/ZipMultiDataSetWriter.js +3 -4
- package/IO/Core.js +1 -1
- package/IO/Geometry/DracoReader.js +1 -2
- package/IO/Geometry/PLYReader.js +1 -2
- package/IO/Geometry/STLReader.js +1 -2
- package/IO/Geometry/STLWriter/Constants.js +1 -2
- package/IO/Geometry/STLWriter.js +2 -3
- package/IO/Geometry.js +1 -1
- package/IO/Legacy/LegacyAsciiParser.js +1 -1
- package/IO/Legacy/PolyDataReader.js +1 -2
- package/IO/Legacy.js +1 -1
- package/IO/Misc/ElevationReader.js +1 -2
- package/IO/Misc/HttpDataSetLODsLoader.js +1 -2
- package/IO/Misc/ITKImageReader.js +1 -2
- package/IO/Misc/ITKPolyDataReader.js +1 -2
- package/IO/Misc/JSONNucleoReader.js +1 -2
- package/IO/Misc/JSONReader.js +1 -2
- package/IO/Misc/MTLReader.js +2 -3
- package/IO/Misc/OBJReader.js +1 -2
- package/IO/Misc/PDBReader.js +1 -2
- package/IO/Misc/SkyboxReader.js +3 -4
- package/IO/Misc.js +1 -1
- package/IO/XML/XMLImageDataReader.js +1 -2
- package/IO/XML/XMLImageDataWriter.js +2 -3
- package/IO/XML/XMLPolyDataReader.js +1 -2
- package/IO/XML/XMLPolyDataWriter.js +2 -3
- package/IO/XML/XMLReader.js +1 -2
- package/IO/XML/XMLWriter/Constants.js +1 -2
- package/IO/XML/XMLWriter.js +4 -4
- package/IO/XML.js +1 -1
- package/IO/index.js +1 -1
- package/Imaging/Core/AbstractImageInterpolator/Constants.js +1 -2
- package/Imaging/Core/AbstractImageInterpolator/InterpolationInfo.js +2 -3
- package/Imaging/Core/AbstractImageInterpolator.js +2 -3
- package/Imaging/Core/ImageInterpolator.js +2 -3
- package/Imaging/Core/ImagePointDataIterator.js +1 -2
- package/Imaging/Core/ImageReslice/Constants.js +1 -2
- package/Imaging/Core/ImageReslice.js +2 -3
- package/Imaging/Core.js +1 -1
- package/Imaging/Hybrid/SampleFunction.js +2 -3
- package/Imaging/Hybrid.js +1 -1
- package/Imaging/index.js +1 -1
- package/Interaction/Animations/TimeStepBasedAnimationHandler.js +2 -3
- package/Interaction/Manipulators/CompositeCameraManipulator.js +1 -2
- package/Interaction/Manipulators/CompositeGestureManipulator.js +1 -2
- package/Interaction/Manipulators/CompositeKeyboardManipulator.js +1 -2
- package/Interaction/Manipulators/CompositeMouseManipulator.js +1 -2
- package/Interaction/Manipulators/CompositeVRManipulator.js +1 -2
- package/Interaction/Manipulators/GestureCameraManipulator.js +1 -2
- package/Interaction/Manipulators/KeyboardCameraManipulator.js +1 -2
- package/Interaction/Manipulators/MouseBoxSelectorManipulator.js +3 -4
- package/Interaction/Manipulators/MouseCameraAxisRotateManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraSliceManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballFirstPersonManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballMultiRotateManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballPanManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballRollManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballRotateManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballZoomManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballZoomToMouseManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraUnicamManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraUnicamRotateManipulator.js +1 -2
- package/Interaction/Manipulators/MouseRangeManipulator.js +1 -2
- package/Interaction/Manipulators/VRButtonPanManipulator.js +1 -2
- package/Interaction/Manipulators.js +1 -1
- package/Interaction/Misc/DeviceOrientationToCamera.js +1 -1
- package/Interaction/Misc.js +1 -1
- package/Interaction/Style/InteractorStyleImage.js +1 -2
- package/Interaction/Style/InteractorStyleMPRSlice.js +1 -2
- package/Interaction/Style/InteractorStyleManipulator/Presets.js +1 -1
- package/Interaction/Style/InteractorStyleManipulator.js +2 -3
- package/Interaction/Style/InteractorStyleRemoteMouse.js +2 -3
- package/Interaction/Style/InteractorStyleTrackballCamera.js +1 -2
- package/Interaction/Style/InteractorStyleUnicam.js +1 -2
- package/Interaction/Style.js +1 -1
- package/Interaction/UI/CornerAnnotation.js +1 -2
- package/Interaction/UI/FPSMonitor.js +2 -3
- package/Interaction/UI/Icons.js +1 -1
- package/Interaction/UI/Slider/Constants.js +1 -2
- package/Interaction/UI/Slider.js +2 -3
- package/Interaction/UI/VolumeController.js +1 -2
- package/Interaction/UI.js +1 -1
- package/Interaction/Widgets/AbstractWidget.js +2 -3
- package/Interaction/Widgets/DistanceRepresentation.js +2 -3
- package/Interaction/Widgets/DistanceWidget.js +2 -3
- package/Interaction/Widgets/HandleRepresentation/Constants.js +1 -2
- package/Interaction/Widgets/HandleRepresentation.js +2 -3
- package/Interaction/Widgets/HandleWidget/Constants.js +1 -2
- package/Interaction/Widgets/HandleWidget.js +2 -3
- package/Interaction/Widgets/ImageCroppingRegionsRepresentation.js +1 -2
- package/Interaction/Widgets/ImageCroppingRegionsWidget/Constants.js +1 -1
- package/Interaction/Widgets/ImageCroppingRegionsWidget.js +2 -3
- package/Interaction/Widgets/LabelRepresentation/Constants.js +1 -2
- package/Interaction/Widgets/LabelRepresentation.js +3 -4
- package/Interaction/Widgets/LabelWidget.js +2 -3
- package/Interaction/Widgets/LineRepresentation/Constants.js +1 -2
- package/Interaction/Widgets/LineRepresentation.js +2 -3
- package/Interaction/Widgets/LineWidget/Constants.js +1 -2
- package/Interaction/Widgets/LineWidget.js +2 -3
- package/Interaction/Widgets/OrientationMarkerWidget/Constants.js +1 -1
- package/Interaction/Widgets/OrientationMarkerWidget.js +2 -3
- package/Interaction/Widgets/PiecewiseGaussianWidget/ComputeHistogram.worker.js +3 -3
- package/Interaction/Widgets/PiecewiseGaussianWidget.js +15 -16
- package/Interaction/Widgets/PointPlacer.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursor/Constants.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursor.js +2 -3
- package/Interaction/Widgets/ResliceCursor/ResliceCursorActor/Constants.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursorActor.js +2 -3
- package/Interaction/Widgets/ResliceCursor/ResliceCursorLineRepresentation.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursorPolyDataAlgorithm.js +2 -3
- package/Interaction/Widgets/ResliceCursor/ResliceCursorRepresentation.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursorWidget/Constants.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursorWidget.js +2 -3
- package/Interaction/Widgets/SphereHandleRepresentation.js +2 -3
- package/Interaction/Widgets/WidgetRepresentation.js +1 -2
- package/Interaction/Widgets.js +1 -1
- package/Interaction/index.js +1 -1
- package/Proxy/Animation/AbstractAnimationProxy.js +1 -2
- package/Proxy/Animation/AnimationProxyManager.js +1 -2
- package/Proxy/Animation/TimeStepBasedAnimationHandlerProxy.js +1 -2
- package/Proxy/Core/AbstractRepresentationProxy.js +1 -1
- package/Proxy/Core/LookupTableProxy/Constants.js +1 -1
- package/Proxy/Core/LookupTableProxy.js +1 -2
- package/Proxy/Core/PiecewiseFunctionProxy/Constants.js +1 -1
- package/Proxy/Core/PiecewiseFunctionProxy.js +2 -3
- package/Proxy/Core/ProxyManager/core.js +2 -2
- package/Proxy/Core/ProxyManager/properties.js +2 -2
- package/Proxy/Core/ProxyManager/state.js +2 -2
- package/Proxy/Core/ProxyManager/view.js +1 -1
- package/Proxy/Core/ProxyManager.js +1 -2
- package/Proxy/Core/SourceProxy.js +1 -2
- package/Proxy/Core/View2DProxy.js +1 -2
- package/Proxy/Core/ViewProxy.js +4 -4
- package/Proxy/Core.js +1 -1
- package/Proxy/Representations/GeometryRepresentationProxy.js +1 -2
- package/Proxy/Representations/GlyphRepresentationProxy.js +1 -2
- package/Proxy/Representations/MoleculeRepresentationProxy.js +1 -2
- package/Proxy/Representations/SkyboxRepresentationProxy.js +1 -2
- package/Proxy/Representations/SliceRepresentationProxy.js +2 -3
- package/Proxy/Representations/SlicedGeometryRepresentationProxy.js +1 -2
- package/Proxy/Representations/VolumeRepresentationProxy.js +1 -2
- package/Proxy/Representations.js +1 -1
- package/Proxy/index.js +1 -1
- package/Rendering/Core/AbstractMapper.js +1 -2
- package/Rendering/Core/AbstractMapper3D.js +1 -2
- package/Rendering/Core/AbstractPicker.js +1 -2
- package/Rendering/Core/Actor.js +2 -3
- package/Rendering/Core/Actor2D.js +1 -2
- package/Rendering/Core/AnnotatedCubeActor/Presets.js +1 -1
- package/Rendering/Core/AnnotatedCubeActor.js +2 -3
- package/Rendering/Core/AxesActor.js +2 -3
- package/Rendering/Core/Camera.js +1 -2
- package/Rendering/Core/CellPicker.js +2 -3
- package/Rendering/Core/ColorTransferFunction/ColorMaps.js +1 -1
- package/Rendering/Core/ColorTransferFunction/ColorMapsLite.js +1 -1
- package/Rendering/Core/ColorTransferFunction/Constants.js +1 -2
- package/Rendering/Core/ColorTransferFunction.js +2 -3
- package/Rendering/Core/Coordinate/Constants.js +1 -2
- package/Rendering/Core/Coordinate.js +2 -3
- package/Rendering/Core/CubeAxesActor.js +2 -3
- package/Rendering/Core/Follower.js +2 -3
- package/Rendering/Core/Glyph3DMapper/Constants.js +1 -2
- package/Rendering/Core/Glyph3DMapper.js +2 -3
- package/Rendering/Core/HardwareSelector.js +1 -2
- package/Rendering/Core/ImageMapper/Constants.js +1 -2
- package/Rendering/Core/ImageMapper.js +2 -3
- package/Rendering/Core/ImageProperty/Constants.js +1 -2
- package/Rendering/Core/ImageProperty.js +1 -2
- package/Rendering/Core/ImageSlice.js +1 -2
- package/Rendering/Core/InteractorObserver.js +2 -3
- package/Rendering/Core/InteractorStyle/Constants.js +1 -2
- package/Rendering/Core/InteractorStyle.js +2 -3
- package/Rendering/Core/Light.js +1 -2
- package/Rendering/Core/Mapper/CoincidentTopologyHelper.js +1 -2
- package/Rendering/Core/Mapper/Constants.js +1 -2
- package/Rendering/Core/Mapper/Static.js +1 -2
- package/Rendering/Core/Mapper.js +2 -3
- package/Rendering/Core/Picker.js +2 -3
- package/Rendering/Core/PixelSpaceCallbackMapper.js +1 -2
- package/Rendering/Core/PointPicker.js +1 -9
- package/Rendering/Core/Prop.js +1 -2
- package/Rendering/Core/Prop3D.js +1 -2
- package/Rendering/Core/Property/Constants.js +1 -2
- package/Rendering/Core/Property.js +2 -3
- package/Rendering/Core/Property2D.js +1 -2
- package/Rendering/Core/RenderWindow.js +1 -2
- package/Rendering/Core/RenderWindowInteractor/Constants.js +1 -2
- package/Rendering/Core/RenderWindowInteractor.js +2 -3
- package/Rendering/Core/Renderer.js +2 -3
- package/Rendering/Core/ScalarBarActor.js +2 -3
- package/Rendering/Core/Skybox.js +1 -2
- package/Rendering/Core/SphereMapper.js +1 -2
- package/Rendering/Core/StickMapper.js +1 -2
- package/Rendering/Core/SurfaceLICInterface/Constants.js +1 -2
- package/Rendering/Core/SurfaceLICInterface.js +1 -2
- package/Rendering/Core/SurfaceLICMapper.js +1 -2
- package/Rendering/Core/Texture.js +1 -2
- package/Rendering/Core/Viewport.js +1 -2
- package/Rendering/Core/Volume.js +1 -2
- package/Rendering/Core/VolumeMapper/Constants.js +1 -2
- package/Rendering/Core/VolumeMapper.js +1 -2
- package/Rendering/Core/VolumeProperty/Constants.js +1 -2
- package/Rendering/Core/VolumeProperty.js +2 -3
- package/Rendering/Core.js +2 -2
- package/Rendering/Misc/CanvasView.js +1 -2
- package/Rendering/Misc/FullScreenRenderWindow.js +1 -2
- package/Rendering/Misc/GenericRenderWindow.js +1 -2
- package/Rendering/Misc/RemoteView.js +1 -2
- package/Rendering/Misc/RenderWindowWithControlBar.js +2 -3
- package/Rendering/Misc/SynchronizableRenderWindow/vtkObjectManager.js +2 -2
- package/Rendering/Misc/SynchronizableRenderWindow.js +3 -4
- package/Rendering/Misc/TextureLODsDownloader.js +1 -2
- package/Rendering/Misc.js +1 -1
- package/Rendering/OpenGL/Actor.js +2 -3
- package/Rendering/OpenGL/Actor2D.js +2 -3
- package/Rendering/OpenGL/BufferObject/Constants.js +1 -2
- package/Rendering/OpenGL/BufferObject.js +2 -3
- package/Rendering/OpenGL/Camera.js +2 -3
- package/Rendering/OpenGL/CellArrayBufferObject.js +2 -4
- package/Rendering/OpenGL/Convolution2DPass.js +1 -2
- package/Rendering/OpenGL/ForwardPass.js +1 -2
- package/Rendering/OpenGL/Framebuffer.js +2 -3
- package/Rendering/OpenGL/Glyph3DMapper.js +3 -4
- package/Rendering/OpenGL/HardwareSelector/Constants.js +1 -2
- package/Rendering/OpenGL/HardwareSelector.js +2 -3
- package/Rendering/OpenGL/Helper.js +1 -2
- package/Rendering/OpenGL/ImageMapper.js +2 -3
- package/Rendering/OpenGL/ImageSlice.js +2 -3
- package/Rendering/OpenGL/PixelSpaceCallbackMapper.js +1 -2
- package/Rendering/OpenGL/PolyDataMapper.js +2 -3
- package/Rendering/OpenGL/RadialDistortionPass.js +1 -2
- package/Rendering/OpenGL/RenderWindow.js +1 -2
- package/Rendering/OpenGL/Renderer.js +2 -3
- package/Rendering/OpenGL/ReplacementShaderMapper.js +1 -1
- package/Rendering/OpenGL/Shader.js +1 -2
- package/Rendering/OpenGL/ShaderCache.js +1 -2
- package/Rendering/OpenGL/ShaderProgram.js +1 -1
- package/Rendering/OpenGL/Skybox.js +2 -3
- package/Rendering/OpenGL/SphereMapper.js +2 -3
- package/Rendering/OpenGL/StickMapper.js +2 -3
- package/Rendering/OpenGL/SurfaceLIC/LineIntegralConvolution2D/pingpong.js +1 -2
- package/Rendering/OpenGL/SurfaceLIC/LineIntegralConvolution2D.js +1 -2
- package/Rendering/OpenGL/SurfaceLIC/SurfaceLICInterface.js +1 -2
- package/Rendering/OpenGL/SurfaceLIC/SurfaceLICMapper.js +3 -4
- package/Rendering/OpenGL/SurfaceLIC.js +1 -1
- package/Rendering/OpenGL/Texture/Constants.js +1 -2
- package/Rendering/OpenGL/Texture.js +3 -4
- package/Rendering/OpenGL/TextureUnitManager.js +1 -2
- package/Rendering/OpenGL/VertexArrayObject.js +1 -2
- package/Rendering/OpenGL/ViewNodeFactory.js +1 -2
- package/Rendering/OpenGL/Volume.js +2 -3
- package/Rendering/OpenGL/VolumeMapper.js +3 -4
- package/Rendering/OpenGL.js +1 -1
- package/Rendering/SceneGraph/RenderPass.js +1 -2
- package/Rendering/SceneGraph/RenderWindowViewNode.js +1 -2
- package/Rendering/SceneGraph/ViewNode.js +1 -1
- package/Rendering/SceneGraph/ViewNodeFactory.js +1 -2
- package/Rendering/SceneGraph.js +1 -1
- package/Rendering/WebGPU/Actor.js +1 -2
- package/Rendering/WebGPU/BindGroup.js +1 -2
- package/Rendering/WebGPU/Buffer.js +2 -3
- package/Rendering/WebGPU/BufferManager/Constants.js +1 -2
- package/Rendering/WebGPU/BufferManager.js +3 -4
- package/Rendering/WebGPU/Camera.js +1 -2
- package/Rendering/WebGPU/Device.js +2 -3
- package/Rendering/WebGPU/ForwardPass.js +1 -2
- package/Rendering/WebGPU/FullScreenQuad.js +1 -2
- package/Rendering/WebGPU/Glyph3DMapper.js +3 -4
- package/Rendering/WebGPU/HardwareSelectionPass.js +1 -2
- package/Rendering/WebGPU/HardwareSelector.js +1 -2
- package/Rendering/WebGPU/MapperHelper.js +1 -2
- package/Rendering/WebGPU/OpaquePass.js +2 -4
- package/Rendering/WebGPU/OrderIndependentTranslucentPass.js +1 -2
- package/Rendering/WebGPU/Pipeline.js +2 -3
- package/Rendering/WebGPU/PixelSpaceCallbackMapper.js +1 -2
- package/Rendering/WebGPU/PolyDataMapper.js +3 -4
- package/Rendering/WebGPU/RenderEncoder.js +2 -3
- package/Rendering/WebGPU/RenderWindow.js +11 -3
- package/Rendering/WebGPU/Renderer.js +2 -3
- package/Rendering/WebGPU/Sampler.js +1 -2
- package/Rendering/WebGPU/ShaderCache.js +1 -2
- package/Rendering/WebGPU/ShaderDescription.js +1 -2
- package/Rendering/WebGPU/ShaderModule.js +1 -1
- package/Rendering/WebGPU/SphereMapper.js +1 -2
- package/Rendering/WebGPU/StickMapper.js +1 -2
- package/Rendering/WebGPU/StorageBuffer.js +1 -2
- package/Rendering/WebGPU/Texture.js +2 -3
- package/Rendering/WebGPU/TextureManager.js +24 -7
- package/Rendering/WebGPU/TextureView.js +19 -4
- package/Rendering/WebGPU/Types.js +83 -42
- package/Rendering/WebGPU/UniformBuffer.js +1 -2
- package/Rendering/WebGPU/VertexInput.js +2 -3
- package/Rendering/WebGPU/ViewNodeFactory.js +1 -2
- package/Rendering/WebGPU/Volume.js +1 -2
- package/Rendering/WebGPU/VolumePass.js +2 -3
- package/Rendering/WebGPU/VolumePassFSQ.js +4 -4
- package/Rendering/WebGPU.js +1 -1
- package/Rendering/index.js +1 -1
- package/ThirdParty/index.js +2 -2
- package/Utilities/DataGenerator/convert-cli.js +10 -8
- package/Utilities/ExampleRunner/example-runner-cli.js +2 -1
- package/Utilities/ExampleRunner/template-config.js +8 -6
- package/Utilities/TestResults/TESTS-Chrome_Headless_93.0.4577.63_(Linux_x86_64).xml +1058 -1058
- package/Utilities/XMLConverter/xml2json-cli.js +5 -4
- package/Widgets/Core/AbstractWidget/Constants.js +1 -2
- package/Widgets/Core/AbstractWidget.js +1 -2
- package/Widgets/Core/AbstractWidgetFactory.js +2 -3
- package/Widgets/Core/StateBuilder/boundsMixin.js +1 -2
- package/Widgets/Core/StateBuilder/colorMixin.js +1 -2
- package/Widgets/Core/StateBuilder/cornerMixin.js +1 -2
- package/Widgets/Core/StateBuilder/directionMixin.js +1 -2
- package/Widgets/Core/StateBuilder/manipulatorMixin.js +1 -2
- package/Widgets/Core/StateBuilder/nameMixin.js +1 -2
- package/Widgets/Core/StateBuilder/orientationMixin.js +1 -2
- package/Widgets/Core/StateBuilder/originMixin.js +1 -2
- package/Widgets/Core/StateBuilder/scale1Mixin.js +1 -2
- package/Widgets/Core/StateBuilder/scale3Mixin.js +1 -2
- package/Widgets/Core/StateBuilder/shapeMixin.js +1 -2
- package/Widgets/Core/StateBuilder/textMixin.js +1 -2
- package/Widgets/Core/StateBuilder/visibleMixin.js +1 -2
- package/Widgets/Core/StateBuilder.js +1 -2
- package/Widgets/Core/WidgetManager/Constants.js +1 -2
- package/Widgets/Core/WidgetManager.js +1 -2
- package/Widgets/Core/WidgetState.js +1 -2
- package/Widgets/Core.js +1 -1
- package/Widgets/Manipulators/LineManipulator.js +1 -2
- package/Widgets/Manipulators/PlaneManipulator.js +1 -2
- package/Widgets/Manipulators/TrackballManipulator.js +1 -2
- package/Widgets/Manipulators.js +1 -1
- package/Widgets/Representations/ArrowHandleRepresentation.js +2 -3
- package/Widgets/Representations/CircleContextRepresentation.js +1 -2
- package/Widgets/Representations/ContextRepresentation.js +2 -3
- package/Widgets/Representations/ConvexFaceContextRepresentation.js +1 -2
- package/Widgets/Representations/CroppingOutlineRepresentation.js +1 -2
- package/Widgets/Representations/CubeHandleRepresentation.js +1 -2
- package/Widgets/Representations/HandleRepresentation.js +2 -3
- package/Widgets/Representations/ImplicitPlaneRepresentation.js +1 -2
- package/Widgets/Representations/OutlineContextRepresentation.js +1 -2
- package/Widgets/Representations/PolyLineRepresentation.js +2 -3
- package/Widgets/Representations/RectangleContextRepresentation.js +1 -2
- package/Widgets/Representations/ResliceCursorContextRepresentation.js +2 -3
- package/Widgets/Representations/SphereHandleRepresentation.js +1 -2
- package/Widgets/Representations/SplineContextRepresentation.js +1 -2
- package/Widgets/Representations/WidgetRepresentation/Constants.js +1 -2
- package/Widgets/Representations/WidgetRepresentation.js +1 -2
- package/Widgets/Representations.js +1 -1
- package/Widgets/SVG/SVGLandmarkRepresentation.js +2 -3
- package/Widgets/SVG/SVGRepresentation.js +3 -2
- package/Widgets/Widgets3D/AngleWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/AngleWidget/state.js +1 -1
- package/Widgets/Widgets3D/AngleWidget.js +1 -2
- package/Widgets/Widgets3D/DistanceWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/DistanceWidget/state.js +1 -1
- package/Widgets/Widgets3D/DistanceWidget.js +1 -2
- package/Widgets/Widgets3D/EllipseWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/EllipseWidget/state.js +1 -1
- package/Widgets/Widgets3D/EllipseWidget.js +2 -3
- package/Widgets/Widgets3D/ImageCroppingWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/ImageCroppingWidget/state.js +1 -1
- package/Widgets/Widgets3D/ImageCroppingWidget.js +1 -2
- package/Widgets/Widgets3D/ImplicitPlaneWidget.js +1 -2
- package/Widgets/Widgets3D/InteractiveOrientationWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/InteractiveOrientationWidget/state.js +1 -2
- package/Widgets/Widgets3D/InteractiveOrientationWidget.js +1 -2
- package/Widgets/Widgets3D/LineWidget/Constants.js +1 -2
- package/Widgets/Widgets3D/LineWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/LineWidget/state.js +1 -1
- package/Widgets/Widgets3D/LineWidget.js +1 -2
- package/Widgets/Widgets3D/PaintWidget.js +1 -2
- package/Widgets/Widgets3D/PolyLineWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/PolyLineWidget/state.js +1 -1
- package/Widgets/Widgets3D/PolyLineWidget.js +1 -2
- package/Widgets/Widgets3D/RectangleWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/RectangleWidget/state.js +1 -1
- package/Widgets/Widgets3D/RectangleWidget.js +2 -3
- package/Widgets/Widgets3D/ResliceCursorWidget/Constants.js +1 -2
- package/Widgets/Widgets3D/ResliceCursorWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/ResliceCursorWidget/state.js +1 -1
- package/Widgets/Widgets3D/ResliceCursorWidget.js +1 -2
- package/Widgets/Widgets3D/ShapeWidget/Constants.js +1 -2
- package/Widgets/Widgets3D/ShapeWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/ShapeWidget.js +1 -2
- package/Widgets/Widgets3D/SplineWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/SplineWidget/state.js +1 -1
- package/Widgets/Widgets3D/SplineWidget.js +1 -2
- package/Widgets/Widgets3D.js +1 -1
- package/Widgets/index.js +1 -1
- package/_vendor/base64-js/index.js_commonjs-exports +1 -0
- package/_vendor/blueimp-md5/js/md5.js_commonjs-module +3 -0
- package/_vendor/define-properties/index.js_commonjs-proxy +1 -1
- package/_vendor/globalthis/implementation.browser.js_commonjs-module +3 -0
- package/_vendor/globalthis/implementation.browser.js_commonjs-proxy +1 -1
- package/_vendor/globalthis/polyfill.js_commonjs-proxy +1 -1
- package/_vendor/globalthis/shim.js_commonjs-proxy +2 -1
- package/_vendor/jszip/dist/jszip.min.js_commonjs-module +3 -0
- package/_vendor/object-keys/implementation.js_commonjs-proxy +1 -1
- package/_vendor/object-keys/index.js_commonjs-proxy +1 -1
- package/_vendor/object-keys/isArguments.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/alea.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/alea.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/tychei.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/tychei.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/xor128.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/xor128.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/xor4096.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/xor4096.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/xorshift7.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/xorshift7.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/xorwow.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/xorwow.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/seedrandom.js_commonjs-module +3 -0
- package/_vendor/seedrandom/seedrandom.js_commonjs-proxy +1 -1
- package/_vendor/webworker-promise/lib/register.js_commonjs-module +3 -0
- package/_vendor/webworker-promise/lib/tiny-emitter.js_commonjs-proxy +1 -1
- package/_vendor/webworker-promise/src/tiny-emitter.js_commonjs-proxy +1 -0
- package/_vendor/xmlbuilder2/lib/xmlbuilder2.min.js_commonjs-module +3 -0
- package/_virtual/commonjsHelpers.js +3 -4
- package/_virtual/{polyfill-node_buffer.js → polyfill-node.buffer.js} +1 -1
- package/_virtual/{polyfill-node_global.js → polyfill-node.global.js} +0 -0
- package/_virtual/rollup-plugin-worker-loader__module_Sources/Filters/General/PaintFilter/PaintFilter.worker.js +1 -1
- package/_virtual/rollup-plugin-worker-loader__module_Sources/Interaction/Widgets/PiecewiseGaussianWidget/ComputeHistogram.worker.js +1 -1
- package/macros.js +4 -5
- package/package.json +54 -55
- package/vendor/base64-js/index.js +1 -87
- package/vendor/blueimp-md5/js/md5.js +6 -3
- package/vendor/d3-array/src/ascending.js +1 -1
- package/vendor/d3-array/src/bisect.js +2 -1
- package/vendor/d3-array/src/bisector.js +21 -23
- package/vendor/d3-array/src/mode.js +1 -0
- package/vendor/d3-scale/src/continuous.js +2 -2
- package/vendor/d3-time/src/ticks.js +1 -0
- package/vendor/define-properties/index.js +2 -1
- package/vendor/globalthis/implementation.browser.js +4 -9
- package/vendor/globalthis/index.js +13 -6
- package/vendor/globalthis/polyfill.js +6 -3
- package/vendor/globalthis/shim.js +12 -9
- package/vendor/jszip/dist/jszip.min.js +11 -0
- package/vendor/object-keys/index.js +2 -2
- package/vendor/pako/dist/pako.esm.mjs +397 -388
- package/vendor/seedrandom/index.js +28 -21
- package/vendor/seedrandom/lib/alea.js +4 -5
- package/vendor/seedrandom/lib/tychei.js +4 -5
- package/vendor/seedrandom/lib/xor128.js +4 -5
- package/vendor/seedrandom/lib/xor4096.js +4 -5
- package/vendor/seedrandom/lib/xorshift7.js +4 -5
- package/vendor/seedrandom/lib/xorwow.js +4 -5
- package/vendor/seedrandom/seedrandom.js +4 -5
- package/vendor/webworker-promise/lib/register.js +14 -8
- package/vendor/webworker-promise/src/index.js +110 -0
- package/vendor/webworker-promise/src/tiny-emitter.js +51 -0
- package/vendor/xmlbuilder2/lib/xmlbuilder2.min.js +6 -7
- package/vtk.js +2 -3
- package/_vendor/base64-js/index.js_commonjs-proxy +0 -1
- package/_vendor/buffer/index.js_commonjs-proxy +0 -1
- package/_vendor/ieee754/index.js_commonjs-proxy +0 -1
- package/_vendor/immediate/lib/browser.js_commonjs-proxy +0 -1
- package/_vendor/inherits/inherits_browser.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/base64.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/compressedObject.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/compressions.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/crc32.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/defaults.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/external.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/flate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/generate/ZipFileWorker.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/generate/index.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/load.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/nodejs/NodejsStreamInputAdapter.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/nodejs/NodejsStreamOutputAdapter.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/nodejsUtils.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/object.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/readable-stream-browser.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/ArrayReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/DataReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/NodeBufferReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/StringReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/Uint8ArrayReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/readerFor.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/signature.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/ConvertWorker.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/Crc32Probe.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/DataLengthProbe.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/DataWorker.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/GenericWorker.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/StreamHelper.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/support.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/utf8.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/utils.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/zipEntries.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/zipEntry.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/zipObject.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/index.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/deflate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/inflate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/utils/common.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/utils/strings.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/adler32.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/constants.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/crc32.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/deflate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/gzheader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/inffast.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/inflate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/inftrees.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/messages.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/trees.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/zstream.js_commonjs-proxy +0 -1
- package/_vendor/lie/lib/browser.js_commonjs-proxy +0 -1
- package/_vendor/safe-buffer/index.js_commonjs-proxy +0 -1
- package/_vendor/set-immediate-shim/index.js_commonjs-proxy +0 -1
- package/_vendor/util/support/isBufferBrowser.js_commonjs-proxy +0 -1
- package/_virtual/_polyfill-node_stream.js_commonjs-proxy.js +0 -6
- package/_virtual/polyfill-node__buffer_list.js +0 -59
- package/_virtual/polyfill-node__stream_duplex.js +0 -44
- package/_virtual/polyfill-node__stream_passthrough.js +0 -15
- package/_virtual/polyfill-node__stream_readable.js +0 -896
- package/_virtual/polyfill-node__stream_transform.js +0 -132
- package/_virtual/polyfill-node__stream_writable.js +0 -480
- package/_virtual/polyfill-node_process.js +0 -225
- package/_virtual/polyfill-node_stream.js +0 -120
- package/vendor/buffer/index.js +0 -2112
- package/vendor/events/events.js +0 -457
- package/vendor/ieee754/index.js +0 -92
- package/vendor/immediate/lib/browser.js +0 -72
- package/vendor/inherits/inherits_browser.js +0 -29
- package/vendor/jszip/lib/base64.js +0 -113
- package/vendor/jszip/lib/compressedObject.js +0 -74
- package/vendor/jszip/lib/compressions.js +0 -20
- package/vendor/jszip/lib/crc32.js +0 -77
- package/vendor/jszip/lib/defaults.js +0 -25
- package/vendor/jszip/lib/external.js +0 -22
- package/vendor/jszip/lib/flate.js +0 -96
- package/vendor/jszip/lib/generate/ZipFileWorker.js +0 -540
- package/vendor/jszip/lib/generate/index.js +0 -61
- package/vendor/jszip/lib/index.js +0 -58
- package/vendor/jszip/lib/load.js +0 -82
- package/vendor/jszip/lib/nodejs/NodejsStreamInputAdapter.js +0 -74
- package/vendor/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +0 -45
- package/vendor/jszip/lib/nodejsUtils.js +0 -59
- package/vendor/jszip/lib/object.js +0 -389
- package/vendor/jszip/lib/readable-stream-browser.js +0 -14
- package/vendor/jszip/lib/reader/ArrayReader.js +0 -58
- package/vendor/jszip/lib/reader/DataReader.js +0 -117
- package/vendor/jszip/lib/reader/NodeBufferReader.js +0 -20
- package/vendor/jszip/lib/reader/StringReader.js +0 -39
- package/vendor/jszip/lib/reader/Uint8ArrayReader.js +0 -23
- package/vendor/jszip/lib/reader/readerFor.js +0 -28
- package/vendor/jszip/lib/signature.js +0 -17
- package/vendor/jszip/lib/stream/ConvertWorker.js +0 -26
- package/vendor/jszip/lib/stream/Crc32Probe.js +0 -24
- package/vendor/jszip/lib/stream/DataLengthProbe.js +0 -28
- package/vendor/jszip/lib/stream/DataWorker.js +0 -116
- package/vendor/jszip/lib/stream/GenericWorker.js +0 -263
- package/vendor/jszip/lib/stream/StreamHelper.js +0 -214
- package/vendor/jszip/lib/support.js +0 -45
- package/vendor/jszip/lib/utf8.js +0 -284
- package/vendor/jszip/lib/utils.js +0 -486
- package/vendor/jszip/lib/zipEntries.js +0 -257
- package/vendor/jszip/lib/zipEntry.js +0 -293
- package/vendor/jszip/lib/zipObject.js +0 -133
- package/vendor/jszip/node_modules/pako/index.js +0 -18
- package/vendor/jszip/node_modules/pako/lib/deflate.js +0 -406
- package/vendor/jszip/node_modules/pako/lib/inflate.js +0 -429
- package/vendor/jszip/node_modules/pako/lib/utils/common.js +0 -110
- package/vendor/jszip/node_modules/pako/lib/utils/strings.js +0 -192
- package/vendor/jszip/node_modules/pako/lib/zlib/adler32.js +0 -51
- package/vendor/jszip/node_modules/pako/lib/zlib/constants.js +0 -68
- package/vendor/jszip/node_modules/pako/lib/zlib/crc32.js +0 -59
- package/vendor/jszip/node_modules/pako/lib/zlib/deflate.js +0 -1892
- package/vendor/jszip/node_modules/pako/lib/zlib/gzheader.js +0 -58
- package/vendor/jszip/node_modules/pako/lib/zlib/inffast.js +0 -345
- package/vendor/jszip/node_modules/pako/lib/zlib/inflate.js +0 -1572
- package/vendor/jszip/node_modules/pako/lib/zlib/inftrees.js +0 -345
- package/vendor/jszip/node_modules/pako/lib/zlib/messages.js +0 -32
- package/vendor/jszip/node_modules/pako/lib/zlib/trees.js +0 -1232
- package/vendor/jszip/node_modules/pako/lib/zlib/zstream.js +0 -47
- package/vendor/lie/lib/browser.js +0 -274
- package/vendor/process/browser.js +0 -190
- package/vendor/safe-buffer/index.js +0 -69
- package/vendor/set-immediate-shim/index.js +0 -8
- package/vendor/string_decoder/lib/string_decoder.js +0 -276
- package/vendor/util/support/isBufferBrowser.js +0 -8
- package/vendor/util/util.js +0 -706
- package/vendor/webworker-promise/lib/index.js +0 -172
package/vendor/events/events.js
DELETED
|
@@ -1,457 +0,0 @@
|
|
|
1
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
|
2
|
-
|
|
3
|
-
var R = typeof Reflect === 'object' ? Reflect : null;
|
|
4
|
-
var ReflectApply = R && typeof R.apply === 'function'
|
|
5
|
-
? R.apply
|
|
6
|
-
: function ReflectApply(target, receiver, args) {
|
|
7
|
-
return Function.prototype.apply.call(target, receiver, args);
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
var ReflectOwnKeys;
|
|
11
|
-
if (R && typeof R.ownKeys === 'function') {
|
|
12
|
-
ReflectOwnKeys = R.ownKeys;
|
|
13
|
-
} else if (Object.getOwnPropertySymbols) {
|
|
14
|
-
ReflectOwnKeys = function ReflectOwnKeys(target) {
|
|
15
|
-
return Object.getOwnPropertyNames(target)
|
|
16
|
-
.concat(Object.getOwnPropertySymbols(target));
|
|
17
|
-
};
|
|
18
|
-
} else {
|
|
19
|
-
ReflectOwnKeys = function ReflectOwnKeys(target) {
|
|
20
|
-
return Object.getOwnPropertyNames(target);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function ProcessEmitWarning(warning) {
|
|
25
|
-
if (console && console.warn) console.warn(warning);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {
|
|
29
|
-
return value !== value;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
function EventEmitter() {
|
|
33
|
-
EventEmitter.init.call(this);
|
|
34
|
-
}
|
|
35
|
-
var events = EventEmitter;
|
|
36
|
-
var once_1 = once;
|
|
37
|
-
|
|
38
|
-
// Backwards-compat with node 0.10.x
|
|
39
|
-
EventEmitter.EventEmitter = EventEmitter;
|
|
40
|
-
|
|
41
|
-
EventEmitter.prototype._events = undefined;
|
|
42
|
-
EventEmitter.prototype._eventsCount = 0;
|
|
43
|
-
EventEmitter.prototype._maxListeners = undefined;
|
|
44
|
-
|
|
45
|
-
// By default EventEmitters will print a warning if more than 10 listeners are
|
|
46
|
-
// added to it. This is a useful default which helps finding memory leaks.
|
|
47
|
-
var defaultMaxListeners = 10;
|
|
48
|
-
|
|
49
|
-
function checkListener(listener) {
|
|
50
|
-
if (typeof listener !== 'function') {
|
|
51
|
-
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
Object.defineProperty(EventEmitter, 'defaultMaxListeners', {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function() {
|
|
58
|
-
return defaultMaxListeners;
|
|
59
|
-
},
|
|
60
|
-
set: function(arg) {
|
|
61
|
-
if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {
|
|
62
|
-
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.');
|
|
63
|
-
}
|
|
64
|
-
defaultMaxListeners = arg;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
EventEmitter.init = function() {
|
|
69
|
-
|
|
70
|
-
if (this._events === undefined ||
|
|
71
|
-
this._events === Object.getPrototypeOf(this)._events) {
|
|
72
|
-
this._events = Object.create(null);
|
|
73
|
-
this._eventsCount = 0;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
this._maxListeners = this._maxListeners || undefined;
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
// Obviously not all Emitters should be limited to 10. This function allows
|
|
80
|
-
// that to be increased. Set to zero for unlimited.
|
|
81
|
-
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
|
|
82
|
-
if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {
|
|
83
|
-
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.');
|
|
84
|
-
}
|
|
85
|
-
this._maxListeners = n;
|
|
86
|
-
return this;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
function _getMaxListeners(that) {
|
|
90
|
-
if (that._maxListeners === undefined)
|
|
91
|
-
return EventEmitter.defaultMaxListeners;
|
|
92
|
-
return that._maxListeners;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
|
|
96
|
-
return _getMaxListeners(this);
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
EventEmitter.prototype.emit = function emit(type) {
|
|
100
|
-
var args = [];
|
|
101
|
-
for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);
|
|
102
|
-
var doError = (type === 'error');
|
|
103
|
-
|
|
104
|
-
var events = this._events;
|
|
105
|
-
if (events !== undefined)
|
|
106
|
-
doError = (doError && events.error === undefined);
|
|
107
|
-
else if (!doError)
|
|
108
|
-
return false;
|
|
109
|
-
|
|
110
|
-
// If there is no 'error' event listener then throw.
|
|
111
|
-
if (doError) {
|
|
112
|
-
var er;
|
|
113
|
-
if (args.length > 0)
|
|
114
|
-
er = args[0];
|
|
115
|
-
if (er instanceof Error) {
|
|
116
|
-
// Note: The comments on the `throw` lines are intentional, they show
|
|
117
|
-
// up in Node's output if this results in an unhandled exception.
|
|
118
|
-
throw er; // Unhandled 'error' event
|
|
119
|
-
}
|
|
120
|
-
// At least give some kind of context to the user
|
|
121
|
-
var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));
|
|
122
|
-
err.context = er;
|
|
123
|
-
throw err; // Unhandled 'error' event
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
var handler = events[type];
|
|
127
|
-
|
|
128
|
-
if (handler === undefined)
|
|
129
|
-
return false;
|
|
130
|
-
|
|
131
|
-
if (typeof handler === 'function') {
|
|
132
|
-
ReflectApply(handler, this, args);
|
|
133
|
-
} else {
|
|
134
|
-
var len = handler.length;
|
|
135
|
-
var listeners = arrayClone(handler, len);
|
|
136
|
-
for (var i = 0; i < len; ++i)
|
|
137
|
-
ReflectApply(listeners[i], this, args);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
return true;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
function _addListener(target, type, listener, prepend) {
|
|
144
|
-
var m;
|
|
145
|
-
var events;
|
|
146
|
-
var existing;
|
|
147
|
-
|
|
148
|
-
checkListener(listener);
|
|
149
|
-
|
|
150
|
-
events = target._events;
|
|
151
|
-
if (events === undefined) {
|
|
152
|
-
events = target._events = Object.create(null);
|
|
153
|
-
target._eventsCount = 0;
|
|
154
|
-
} else {
|
|
155
|
-
// To avoid recursion in the case that type === "newListener"! Before
|
|
156
|
-
// adding it to the listeners, first emit "newListener".
|
|
157
|
-
if (events.newListener !== undefined) {
|
|
158
|
-
target.emit('newListener', type,
|
|
159
|
-
listener.listener ? listener.listener : listener);
|
|
160
|
-
|
|
161
|
-
// Re-assign `events` because a newListener handler could have caused the
|
|
162
|
-
// this._events to be assigned to a new object
|
|
163
|
-
events = target._events;
|
|
164
|
-
}
|
|
165
|
-
existing = events[type];
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
if (existing === undefined) {
|
|
169
|
-
// Optimize the case of one listener. Don't need the extra array object.
|
|
170
|
-
existing = events[type] = listener;
|
|
171
|
-
++target._eventsCount;
|
|
172
|
-
} else {
|
|
173
|
-
if (typeof existing === 'function') {
|
|
174
|
-
// Adding the second element, need to change to array.
|
|
175
|
-
existing = events[type] =
|
|
176
|
-
prepend ? [listener, existing] : [existing, listener];
|
|
177
|
-
// If we've already got an array, just append.
|
|
178
|
-
} else if (prepend) {
|
|
179
|
-
existing.unshift(listener);
|
|
180
|
-
} else {
|
|
181
|
-
existing.push(listener);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// Check for listener leak
|
|
185
|
-
m = _getMaxListeners(target);
|
|
186
|
-
if (m > 0 && existing.length > m && !existing.warned) {
|
|
187
|
-
existing.warned = true;
|
|
188
|
-
// No error code for this since it is a Warning
|
|
189
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
190
|
-
var w = new Error('Possible EventEmitter memory leak detected. ' +
|
|
191
|
-
existing.length + ' ' + String(type) + ' listeners ' +
|
|
192
|
-
'added. Use emitter.setMaxListeners() to ' +
|
|
193
|
-
'increase limit');
|
|
194
|
-
w.name = 'MaxListenersExceededWarning';
|
|
195
|
-
w.emitter = target;
|
|
196
|
-
w.type = type;
|
|
197
|
-
w.count = existing.length;
|
|
198
|
-
ProcessEmitWarning(w);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
return target;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
EventEmitter.prototype.addListener = function addListener(type, listener) {
|
|
206
|
-
return _addListener(this, type, listener, false);
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
210
|
-
|
|
211
|
-
EventEmitter.prototype.prependListener =
|
|
212
|
-
function prependListener(type, listener) {
|
|
213
|
-
return _addListener(this, type, listener, true);
|
|
214
|
-
};
|
|
215
|
-
|
|
216
|
-
function onceWrapper() {
|
|
217
|
-
if (!this.fired) {
|
|
218
|
-
this.target.removeListener(this.type, this.wrapFn);
|
|
219
|
-
this.fired = true;
|
|
220
|
-
if (arguments.length === 0)
|
|
221
|
-
return this.listener.call(this.target);
|
|
222
|
-
return this.listener.apply(this.target, arguments);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
function _onceWrap(target, type, listener) {
|
|
227
|
-
var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };
|
|
228
|
-
var wrapped = onceWrapper.bind(state);
|
|
229
|
-
wrapped.listener = listener;
|
|
230
|
-
state.wrapFn = wrapped;
|
|
231
|
-
return wrapped;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
EventEmitter.prototype.once = function once(type, listener) {
|
|
235
|
-
checkListener(listener);
|
|
236
|
-
this.on(type, _onceWrap(this, type, listener));
|
|
237
|
-
return this;
|
|
238
|
-
};
|
|
239
|
-
|
|
240
|
-
EventEmitter.prototype.prependOnceListener =
|
|
241
|
-
function prependOnceListener(type, listener) {
|
|
242
|
-
checkListener(listener);
|
|
243
|
-
this.prependListener(type, _onceWrap(this, type, listener));
|
|
244
|
-
return this;
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
// Emits a 'removeListener' event if and only if the listener was removed.
|
|
248
|
-
EventEmitter.prototype.removeListener =
|
|
249
|
-
function removeListener(type, listener) {
|
|
250
|
-
var list, events, position, i, originalListener;
|
|
251
|
-
|
|
252
|
-
checkListener(listener);
|
|
253
|
-
|
|
254
|
-
events = this._events;
|
|
255
|
-
if (events === undefined)
|
|
256
|
-
return this;
|
|
257
|
-
|
|
258
|
-
list = events[type];
|
|
259
|
-
if (list === undefined)
|
|
260
|
-
return this;
|
|
261
|
-
|
|
262
|
-
if (list === listener || list.listener === listener) {
|
|
263
|
-
if (--this._eventsCount === 0)
|
|
264
|
-
this._events = Object.create(null);
|
|
265
|
-
else {
|
|
266
|
-
delete events[type];
|
|
267
|
-
if (events.removeListener)
|
|
268
|
-
this.emit('removeListener', type, list.listener || listener);
|
|
269
|
-
}
|
|
270
|
-
} else if (typeof list !== 'function') {
|
|
271
|
-
position = -1;
|
|
272
|
-
|
|
273
|
-
for (i = list.length - 1; i >= 0; i--) {
|
|
274
|
-
if (list[i] === listener || list[i].listener === listener) {
|
|
275
|
-
originalListener = list[i].listener;
|
|
276
|
-
position = i;
|
|
277
|
-
break;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
if (position < 0)
|
|
282
|
-
return this;
|
|
283
|
-
|
|
284
|
-
if (position === 0)
|
|
285
|
-
list.shift();
|
|
286
|
-
else {
|
|
287
|
-
spliceOne(list, position);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
if (list.length === 1)
|
|
291
|
-
events[type] = list[0];
|
|
292
|
-
|
|
293
|
-
if (events.removeListener !== undefined)
|
|
294
|
-
this.emit('removeListener', type, originalListener || listener);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
return this;
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
|
301
|
-
|
|
302
|
-
EventEmitter.prototype.removeAllListeners =
|
|
303
|
-
function removeAllListeners(type) {
|
|
304
|
-
var listeners, events, i;
|
|
305
|
-
|
|
306
|
-
events = this._events;
|
|
307
|
-
if (events === undefined)
|
|
308
|
-
return this;
|
|
309
|
-
|
|
310
|
-
// not listening for removeListener, no need to emit
|
|
311
|
-
if (events.removeListener === undefined) {
|
|
312
|
-
if (arguments.length === 0) {
|
|
313
|
-
this._events = Object.create(null);
|
|
314
|
-
this._eventsCount = 0;
|
|
315
|
-
} else if (events[type] !== undefined) {
|
|
316
|
-
if (--this._eventsCount === 0)
|
|
317
|
-
this._events = Object.create(null);
|
|
318
|
-
else
|
|
319
|
-
delete events[type];
|
|
320
|
-
}
|
|
321
|
-
return this;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
// emit removeListener for all listeners on all events
|
|
325
|
-
if (arguments.length === 0) {
|
|
326
|
-
var keys = Object.keys(events);
|
|
327
|
-
var key;
|
|
328
|
-
for (i = 0; i < keys.length; ++i) {
|
|
329
|
-
key = keys[i];
|
|
330
|
-
if (key === 'removeListener') continue;
|
|
331
|
-
this.removeAllListeners(key);
|
|
332
|
-
}
|
|
333
|
-
this.removeAllListeners('removeListener');
|
|
334
|
-
this._events = Object.create(null);
|
|
335
|
-
this._eventsCount = 0;
|
|
336
|
-
return this;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
listeners = events[type];
|
|
340
|
-
|
|
341
|
-
if (typeof listeners === 'function') {
|
|
342
|
-
this.removeListener(type, listeners);
|
|
343
|
-
} else if (listeners !== undefined) {
|
|
344
|
-
// LIFO order
|
|
345
|
-
for (i = listeners.length - 1; i >= 0; i--) {
|
|
346
|
-
this.removeListener(type, listeners[i]);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
return this;
|
|
351
|
-
};
|
|
352
|
-
|
|
353
|
-
function _listeners(target, type, unwrap) {
|
|
354
|
-
var events = target._events;
|
|
355
|
-
|
|
356
|
-
if (events === undefined)
|
|
357
|
-
return [];
|
|
358
|
-
|
|
359
|
-
var evlistener = events[type];
|
|
360
|
-
if (evlistener === undefined)
|
|
361
|
-
return [];
|
|
362
|
-
|
|
363
|
-
if (typeof evlistener === 'function')
|
|
364
|
-
return unwrap ? [evlistener.listener || evlistener] : [evlistener];
|
|
365
|
-
|
|
366
|
-
return unwrap ?
|
|
367
|
-
unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
EventEmitter.prototype.listeners = function listeners(type) {
|
|
371
|
-
return _listeners(this, type, true);
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
EventEmitter.prototype.rawListeners = function rawListeners(type) {
|
|
375
|
-
return _listeners(this, type, false);
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
EventEmitter.listenerCount = function(emitter, type) {
|
|
379
|
-
if (typeof emitter.listenerCount === 'function') {
|
|
380
|
-
return emitter.listenerCount(type);
|
|
381
|
-
} else {
|
|
382
|
-
return listenerCount.call(emitter, type);
|
|
383
|
-
}
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
EventEmitter.prototype.listenerCount = listenerCount;
|
|
387
|
-
function listenerCount(type) {
|
|
388
|
-
var events = this._events;
|
|
389
|
-
|
|
390
|
-
if (events !== undefined) {
|
|
391
|
-
var evlistener = events[type];
|
|
392
|
-
|
|
393
|
-
if (typeof evlistener === 'function') {
|
|
394
|
-
return 1;
|
|
395
|
-
} else if (evlistener !== undefined) {
|
|
396
|
-
return evlistener.length;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
return 0;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
EventEmitter.prototype.eventNames = function eventNames() {
|
|
404
|
-
return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
|
|
405
|
-
};
|
|
406
|
-
|
|
407
|
-
function arrayClone(arr, n) {
|
|
408
|
-
var copy = new Array(n);
|
|
409
|
-
for (var i = 0; i < n; ++i)
|
|
410
|
-
copy[i] = arr[i];
|
|
411
|
-
return copy;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
function spliceOne(list, index) {
|
|
415
|
-
for (; index + 1 < list.length; index++)
|
|
416
|
-
list[index] = list[index + 1];
|
|
417
|
-
list.pop();
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
function unwrapListeners(arr) {
|
|
421
|
-
var ret = new Array(arr.length);
|
|
422
|
-
for (var i = 0; i < ret.length; ++i) {
|
|
423
|
-
ret[i] = arr[i].listener || arr[i];
|
|
424
|
-
}
|
|
425
|
-
return ret;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
function once(emitter, name) {
|
|
429
|
-
return new Promise(function (resolve, reject) {
|
|
430
|
-
function eventListener() {
|
|
431
|
-
if (errorListener !== undefined) {
|
|
432
|
-
emitter.removeListener('error', errorListener);
|
|
433
|
-
}
|
|
434
|
-
resolve([].slice.call(arguments));
|
|
435
|
-
} var errorListener;
|
|
436
|
-
|
|
437
|
-
// Adding an error listener is not optional because
|
|
438
|
-
// if an error is thrown on an event emitter we cannot
|
|
439
|
-
// guarantee that the actual event we are waiting will
|
|
440
|
-
// be fired. The result could be a silent way to create
|
|
441
|
-
// memory or file descriptor leaks, which is something
|
|
442
|
-
// we should avoid.
|
|
443
|
-
if (name !== 'error') {
|
|
444
|
-
errorListener = function errorListener(err) {
|
|
445
|
-
emitter.removeListener(name, eventListener);
|
|
446
|
-
reject(err);
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
emitter.once('error', errorListener);
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
emitter.once(name, eventListener);
|
|
453
|
-
});
|
|
454
|
-
}
|
|
455
|
-
events.once = once_1;
|
|
456
|
-
|
|
457
|
-
export { events as e };
|
package/vendor/ieee754/index.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2
|
-
var read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
3
|
-
var e, m;
|
|
4
|
-
var eLen = (nBytes * 8) - mLen - 1;
|
|
5
|
-
var eMax = (1 << eLen) - 1;
|
|
6
|
-
var eBias = eMax >> 1;
|
|
7
|
-
var nBits = -7;
|
|
8
|
-
var i = isLE ? (nBytes - 1) : 0;
|
|
9
|
-
var d = isLE ? -1 : 1;
|
|
10
|
-
var s = buffer[offset + i];
|
|
11
|
-
|
|
12
|
-
i += d;
|
|
13
|
-
|
|
14
|
-
e = s & ((1 << (-nBits)) - 1);
|
|
15
|
-
s >>= (-nBits);
|
|
16
|
-
nBits += eLen;
|
|
17
|
-
for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
18
|
-
|
|
19
|
-
m = e & ((1 << (-nBits)) - 1);
|
|
20
|
-
e >>= (-nBits);
|
|
21
|
-
nBits += mLen;
|
|
22
|
-
for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
23
|
-
|
|
24
|
-
if (e === 0) {
|
|
25
|
-
e = 1 - eBias;
|
|
26
|
-
} else if (e === eMax) {
|
|
27
|
-
return m ? NaN : ((s ? -1 : 1) * Infinity)
|
|
28
|
-
} else {
|
|
29
|
-
m = m + Math.pow(2, mLen);
|
|
30
|
-
e = e - eBias;
|
|
31
|
-
}
|
|
32
|
-
return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
var write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
36
|
-
var e, m, c;
|
|
37
|
-
var eLen = (nBytes * 8) - mLen - 1;
|
|
38
|
-
var eMax = (1 << eLen) - 1;
|
|
39
|
-
var eBias = eMax >> 1;
|
|
40
|
-
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0);
|
|
41
|
-
var i = isLE ? 0 : (nBytes - 1);
|
|
42
|
-
var d = isLE ? 1 : -1;
|
|
43
|
-
var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0;
|
|
44
|
-
|
|
45
|
-
value = Math.abs(value);
|
|
46
|
-
|
|
47
|
-
if (isNaN(value) || value === Infinity) {
|
|
48
|
-
m = isNaN(value) ? 1 : 0;
|
|
49
|
-
e = eMax;
|
|
50
|
-
} else {
|
|
51
|
-
e = Math.floor(Math.log(value) / Math.LN2);
|
|
52
|
-
if (value * (c = Math.pow(2, -e)) < 1) {
|
|
53
|
-
e--;
|
|
54
|
-
c *= 2;
|
|
55
|
-
}
|
|
56
|
-
if (e + eBias >= 1) {
|
|
57
|
-
value += rt / c;
|
|
58
|
-
} else {
|
|
59
|
-
value += rt * Math.pow(2, 1 - eBias);
|
|
60
|
-
}
|
|
61
|
-
if (value * c >= 2) {
|
|
62
|
-
e++;
|
|
63
|
-
c /= 2;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
if (e + eBias >= eMax) {
|
|
67
|
-
m = 0;
|
|
68
|
-
e = eMax;
|
|
69
|
-
} else if (e + eBias >= 1) {
|
|
70
|
-
m = ((value * c) - 1) * Math.pow(2, mLen);
|
|
71
|
-
e = e + eBias;
|
|
72
|
-
} else {
|
|
73
|
-
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);
|
|
74
|
-
e = 0;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
|
|
79
|
-
|
|
80
|
-
e = (e << mLen) | m;
|
|
81
|
-
eLen += mLen;
|
|
82
|
-
for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
|
|
83
|
-
|
|
84
|
-
buffer[offset + i - d] |= s * 128;
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
var ieee754 = {
|
|
88
|
-
read: read,
|
|
89
|
-
write: write
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export { ieee754 as i };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { a as commonjsGlobal } from '../../../_virtual/commonjsHelpers.js';
|
|
2
|
-
|
|
3
|
-
var Mutation = commonjsGlobal.MutationObserver || commonjsGlobal.WebKitMutationObserver;
|
|
4
|
-
|
|
5
|
-
var scheduleDrain;
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
if (Mutation) {
|
|
9
|
-
var called = 0;
|
|
10
|
-
var observer = new Mutation(nextTick);
|
|
11
|
-
var element = commonjsGlobal.document.createTextNode('');
|
|
12
|
-
observer.observe(element, {
|
|
13
|
-
characterData: true
|
|
14
|
-
});
|
|
15
|
-
scheduleDrain = function () {
|
|
16
|
-
element.data = (called = ++called % 2);
|
|
17
|
-
};
|
|
18
|
-
} else if (!commonjsGlobal.setImmediate && typeof commonjsGlobal.MessageChannel !== 'undefined') {
|
|
19
|
-
var channel = new commonjsGlobal.MessageChannel();
|
|
20
|
-
channel.port1.onmessage = nextTick;
|
|
21
|
-
scheduleDrain = function () {
|
|
22
|
-
channel.port2.postMessage(0);
|
|
23
|
-
};
|
|
24
|
-
} else if ('document' in commonjsGlobal && 'onreadystatechange' in commonjsGlobal.document.createElement('script')) {
|
|
25
|
-
scheduleDrain = function () {
|
|
26
|
-
|
|
27
|
-
// Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted
|
|
28
|
-
// into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.
|
|
29
|
-
var scriptEl = commonjsGlobal.document.createElement('script');
|
|
30
|
-
scriptEl.onreadystatechange = function () {
|
|
31
|
-
nextTick();
|
|
32
|
-
|
|
33
|
-
scriptEl.onreadystatechange = null;
|
|
34
|
-
scriptEl.parentNode.removeChild(scriptEl);
|
|
35
|
-
scriptEl = null;
|
|
36
|
-
};
|
|
37
|
-
commonjsGlobal.document.documentElement.appendChild(scriptEl);
|
|
38
|
-
};
|
|
39
|
-
} else {
|
|
40
|
-
scheduleDrain = function () {
|
|
41
|
-
setTimeout(nextTick, 0);
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
var draining;
|
|
47
|
-
var queue = [];
|
|
48
|
-
//named nextTick for less confusing stack traces
|
|
49
|
-
function nextTick() {
|
|
50
|
-
draining = true;
|
|
51
|
-
var i, oldQueue;
|
|
52
|
-
var len = queue.length;
|
|
53
|
-
while (len) {
|
|
54
|
-
oldQueue = queue;
|
|
55
|
-
queue = [];
|
|
56
|
-
i = -1;
|
|
57
|
-
while (++i < len) {
|
|
58
|
-
oldQueue[i]();
|
|
59
|
-
}
|
|
60
|
-
len = queue.length;
|
|
61
|
-
}
|
|
62
|
-
draining = false;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
var browser = immediate;
|
|
66
|
-
function immediate(task) {
|
|
67
|
-
if (queue.push(task) === 1 && !draining) {
|
|
68
|
-
scheduleDrain();
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export { browser as b };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule } from '../../_virtual/commonjsHelpers.js';
|
|
2
|
-
|
|
3
|
-
var inherits_browser = createCommonjsModule(function (module) {
|
|
4
|
-
if (typeof Object.create === 'function') {
|
|
5
|
-
// implementation from standard node.js 'util' module
|
|
6
|
-
module.exports = function inherits(ctor, superCtor) {
|
|
7
|
-
ctor.super_ = superCtor;
|
|
8
|
-
ctor.prototype = Object.create(superCtor.prototype, {
|
|
9
|
-
constructor: {
|
|
10
|
-
value: ctor,
|
|
11
|
-
enumerable: false,
|
|
12
|
-
writable: true,
|
|
13
|
-
configurable: true
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
} else {
|
|
18
|
-
// old school shim for old browsers
|
|
19
|
-
module.exports = function inherits(ctor, superCtor) {
|
|
20
|
-
ctor.super_ = superCtor;
|
|
21
|
-
var TempCtor = function () {};
|
|
22
|
-
TempCtor.prototype = superCtor.prototype;
|
|
23
|
-
ctor.prototype = new TempCtor();
|
|
24
|
-
ctor.prototype.constructor = ctor;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
export { inherits_browser as i };
|