@mapgis/webclient-common 17.6.1 → 17.6.11
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/README.md +89 -0
- package/dist/es5/webclient-common.min.js +10 -10
- package/dist/webclient-common-es6.min.js +11 -11
- package/dist/webclient-common-resource/thirdparty/gdal3/gdal3.js +1 -0
- package/dist/webclient-common-resource/thirdparty/gdal3/gdal3WebAssembly.data +97604 -44
- package/dist/webclient-common-resource/thirdparty/gdal3/gdal3WebAssembly.wasm +0 -0
- package/documention/AddressServer.html +1 -1
- package/documention/AnchorType.html +1 -1
- package/documention/AngleUnit.html +1 -1
- package/documention/ArcGISFeatureServer.html +1 -1
- package/documention/ArcGISGeometryServer.html +1 -1
- package/documention/ArcGISMapImageLayer.html +1 -1
- package/documention/ArcGISMapImageSubLayer.html +1 -1
- package/documention/ArcGISMapServer.html +1 -1
- package/documention/ArcGISTileLayer.html +85 -1
- package/documention/ArcGISVectorTileLayer.html +1 -1
- package/documention/ArcGISVectorTileServer.html +1 -1
- package/documention/ArcGISVectorTileSubLayer.html +1 -1
- package/documention/ArcType.html +1 -1
- package/documention/AreaUnits.html +1 -1
- package/documention/BaseRegExp.html +71 -1
- package/documention/BaseRenderer.html +1 -1
- package/documention/BaseScene.html +1 -1
- package/documention/BaseServer.html +1 -1
- package/documention/BaseSwipeTool.html +1453 -0
- package/documention/BaseView.html +1 -1
- package/documention/Basemap.html +1 -1
- package/documention/Callout3D.html +1 -1
- package/documention/Cesium3DTilesCacheLayer.html +85 -1
- package/documention/Cesium3DTilesServer.html +1 -1
- package/documention/CheckUtil.html +1 -1
- package/documention/Circle.html +1 -1
- package/documention/ClassBreakClusterInfo.html +1 -1
- package/documention/ClassBreakInfo.html +1 -1
- package/documention/ClassBreakRenderer.html +1 -1
- package/documention/ClusterRenderer.html +1 -1
- package/documention/Collection.html +1 -1
- package/documention/CollectionFlattener.html +1 -1
- package/documention/Color.html +1 -1
- package/documention/ColorMaterial.html +1 -1
- package/documention/ColorNameToHexMap.html +1 -1
- package/documention/ColorStop.html +1 -1
- package/documention/ColorVariable.html +1 -1
- package/documention/Config.html +1 -1
- package/documention/Corporation.html +1291 -0
- package/documention/CursorChangeEventInfo.html +1 -1
- package/documention/CustomWKID.html +1 -1
- package/documention/EchartsLayer.html +1 -1
- package/documention/Edges3D.html +1 -1
- package/documention/ElevationInfo.html +1 -1
- package/documention/ElevationMode.html +1 -1
- package/documention/EngineType.html +1 -1
- package/documention/Evented.html +1 -1
- package/documention/Extent.html +1 -1
- package/documention/ExtrudeSymbol3DLayer.html +1 -1
- package/documention/Feature.html +1 -1
- package/documention/FeatureExpressionInfo.html +1 -1
- package/documention/FeatureFilter.html +1 -1
- package/documention/FeatureLayer.html +85 -1
- package/documention/FeatureServer.html +1 -1
- package/documention/FeatureSet.html +26 -1
- package/documention/FetchMethod.html +1 -1
- package/documention/FillSymbol.html +1 -1
- package/documention/FillSymbol3DLayer.html +1 -1
- package/documention/FillSymbol3DOutline.html +1 -1
- package/documention/Font.html +1 -1
- package/documention/GeoJSONLayer.html +85 -1
- package/documention/Geometry.html +1 -1
- package/documention/GeometryEngine.html +1 -1
- package/documention/GeometryFilter.html +1 -1
- package/documention/GeometryServer.html +1 -1
- package/documention/GeometryType.html +1 -1
- package/documention/GraphicsLayer.html +85 -1
- package/documention/GroupLayer.html +85 -1
- package/documention/HTMLMarkerSymbol.html +3 -3
- package/documention/HeatmapColorStop.html +1 -1
- package/documention/HeatmapRenderer.html +1 -1
- package/documention/HorizontalAlignment.html +1 -1
- package/documention/IGSFeatureLayer.html +1 -1
- package/documention/IGSGeometryType.html +1 -1
- package/documention/IGSImageryLayer.html +1 -1
- package/documention/IGSImageryTileLayer.html +1 -1
- package/documention/IGSMapImageLayer.html +2 -2
- package/documention/IGSMapImageSubLayer.html +6 -1
- package/documention/IGSScene.html +1 -1
- package/documention/IGSSceneLabelSubLayer.html +1 -1
- package/documention/IGSSceneLayer.html +1 -1
- package/documention/IGSSceneMapRefSubLayer.html +1 -1
- package/documention/IGSSceneModelCacheSubLayer.html +1 -1
- package/documention/IGSSceneOriginLayerType.html +1 -1
- package/documention/IGSSceneSubLayer.html +1 -1
- package/documention/IGSSceneTerrainSubLayer.html +1 -1
- package/documention/IGSSymbolType.html +1 -1
- package/documention/IGSTileLayer.html +87 -7
- package/documention/IGSVectorTileLayer.html +1 -2
- package/documention/IGSVectorTileSubLayer.html +1 -1
- package/documention/ISScene.html +1 -1
- package/documention/ISSceneLayer.html +1 -1
- package/documention/ISSceneModelCacheSubLayer.html +1 -1
- package/documention/ISSceneServer.html +1 -1
- package/documention/ISSceneSubLayer.html +1 -1
- package/documention/IconResource.html +1 -1
- package/documention/IconSymbol3DLayer.html +1 -1
- package/documention/ImageServer.html +1 -1
- package/documention/ImageryLayer.html +85 -1
- package/documention/ImageryTileLayer.html +85 -1
- package/documention/Interceptor.html +1 -1
- package/documention/LOD.html +1 -1
- package/documention/LabelClass.html +1 -1
- package/documention/LabelSymbol3D.html +1 -1
- package/documention/Layer.html +80 -1
- package/documention/LayerBaseUrlRegExp.html +1 -1
- package/documention/LayerDef.html +1111 -0
- package/documention/LayerEvent.html +1 -1
- package/documention/LayerEventType.html +1 -1
- package/documention/LayerType.html +1 -1
- package/documention/LayerViewScaleVisibleEvent.html +1 -1
- package/documention/LayerViewUpdateEvent.html +1 -1
- package/documention/LengthUnit.html +1 -1
- package/documention/LineCallout3D.html +1 -1
- package/documention/LineCapType.html +1 -1
- package/documention/LineJoinType.html +1 -1
- package/documention/LineMarkerPlacement.html +1 -1
- package/documention/LineMarkerStyle.html +1 -1
- package/documention/LinePatternStyle.html +1 -1
- package/documention/LineString.html +1 -1
- package/documention/LineStyleMarker3D.html +1 -1
- package/documention/LineStylePattern3D.html +1 -1
- package/documention/LineSymbol.html +1 -1
- package/documention/LineSymbol3D.html +1 -1
- package/documention/LineSymbol3DLayer.html +1 -1
- package/documention/LineSymbolMarker.html +1 -1
- package/documention/LinearUnits.html +1 -1
- package/documention/LoadStatus.html +1 -1
- package/documention/Log.html +1 -1
- package/documention/LogType.html +1 -1
- package/documention/M3DModelCacheLayer.html +85 -1
- package/documention/M3DServer.html +1 -1
- package/documention/Map.html +1 -1
- package/documention/MapEventType.html +1 -1
- package/documention/MapGISTextSymbol.html +1 -1
- package/documention/MapImageLayer.html +85 -1
- package/documention/MapServer.html +4 -8
- package/documention/MapVLayer.html +1 -1
- package/documention/MapView.html +1 -1
- package/documention/MarkerSymbol.html +1 -1
- package/documention/MaterialType.html +1 -1
- package/documention/ModelCacheLayer.html +1 -1
- package/documention/MoveEventInfo.html +1 -1
- package/documention/MultiLineString.html +1 -1
- package/documention/MultiPoint.html +1 -1
- package/documention/MultiPolygon.html +1 -1
- package/documention/NormalizationType.html +1 -1
- package/documention/OGCLayer.html +85 -1
- package/documention/ObjectSymbol3DLayer.html +1 -1
- package/documention/OpacityStop.html +1 -1
- package/documention/OpacityVariable.html +1 -1
- package/documention/OutStatistic.html +1 -1
- package/documention/OutStatisticType.html +1210 -0
- package/documention/OverlayLayer.html +85 -1
- package/documention/PathSymbol3DLayer.html +1 -1
- package/documention/PatternStyle.html +1 -1
- package/documention/PictureFillSymbol.html +1 -1
- package/documention/PictureFormat.html +1 -1
- package/documention/PictureMarkerSymbol.html +1 -1
- package/documention/PlotServer.html +1 -1
- package/documention/PoiServer.html +1 -1
- package/documention/Point.html +1 -1
- package/documention/PointSymbol3D.html +1 -1
- package/documention/PointSymbol3DOutline.html +1 -1
- package/documention/Polygon.html +1 -1
- package/documention/PolygonSymbol3D.html +1 -1
- package/documention/ProfileType.html +1 -1
- package/documention/ProjectInfo.html +1 -1
- package/documention/ProjectInfoBySrsID.html +1 -1
- package/documention/Projection.html +1 -1
- package/documention/QueryFeaturesData.html +1087 -0
- package/documention/QueryFeaturesInLayersData.html +811 -0
- package/documention/QueryFeaturesInLayersOptions.html +2939 -0
- package/documention/QueryFeaturesResult.html +1007 -0
- package/documention/QueryFeauresOptions.html +3857 -0
- package/documention/RadiusUnit.html +1 -1
- package/documention/RandomRenderer.html +1 -1
- package/documention/RankRenderer.html +1 -1
- package/documention/RasterFunction.html +1 -1
- package/documention/RasterInfo.html +1 -1
- package/documention/RasterInterpolationType.html +1 -1
- package/documention/RendererInfo.html +1 -1
- package/documention/RendererType.html +1 -1
- package/documention/RequestConfig.html +1 -1
- package/documention/RequestInterceptor.html +1 -1
- package/documention/RequestStructure.html +1 -1
- package/documention/ResourceServer.html +1 -3
- package/documention/ResponseInterceptor.html +1 -1
- package/documention/ReturnFormat.html +1 -1
- package/documention/RootServer.html +1 -1
- package/documention/S3MTilesCacheLayer.html +85 -1
- package/documention/ScaleEventInfo.html +1 -1
- package/documention/SceneLayer.html +85 -1
- package/documention/SceneMode.html +1 -1
- package/documention/SceneServer.html +1 -1
- package/documention/SceneView.html +1 -1
- package/documention/SecurityServer.html +1 -1
- package/documention/ServerBaseUrlRegExp.html +1 -1
- package/documention/ServerUtil.html +1 -1
- package/documention/SeverVectorTileSubLayerType.html +1 -1
- package/documention/ShadowMode.html +1 -1
- package/documention/SimpleFillSymbol.html +1 -1
- package/documention/SimpleLineSymbol.html +1 -1
- package/documention/SimpleMarkerSymbol.html +1 -1
- package/documention/SimpleRenderer.html +1 -1
- package/documention/SizeStop.html +1 -1
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchBaseDrawTool.html +1 -1
- package/documention/SketchCircleDrawTool.html +1 -1
- package/documention/SketchDataType.html +1 -1
- package/documention/SketchEditMode.html +1 -1
- package/documention/SketchEditor.html +1 -1
- package/documention/SketchEditor3D.html +1 -1
- package/documention/SketchEditorEvent.html +1 -1
- package/documention/SketchEditorEventType.html +1 -1
- package/documention/SketchEditorState.html +1 -1
- package/documention/SketchEditorToolEventInfo.html +1 -1
- package/documention/SketchEditorToolEventType.html +1 -1
- package/documention/SketchExtentDrawTool.html +1 -1
- package/documention/SketchFreehandPolygonDrawTool.html +1 -1
- package/documention/SketchFreehandPolylineDrawTool.html +1 -1
- package/documention/SketchPointDrawTool.html +1 -1
- package/documention/SketchPolygonDrawTool.html +1 -1
- package/documention/SketchPolylineDrawTool.html +1 -1
- package/documention/SketchStage.html +1 -1
- package/documention/SketchStyle.html +1 -1
- package/documention/SketchTopologyTool.html +1 -1
- package/documention/SpatialReference.html +1 -1
- package/documention/SpatialRelation.html +1 -1
- package/documention/StatisticType.html +1 -1
- package/documention/StylePattern3D.html +1 -1
- package/documention/SubLayer.html +1 -1
- package/documention/SubLayerType.html +1 -1
- package/documention/SwipeMode.html +805 -0
- package/documention/Symbol.html +1 -1
- package/documention/Symbol3D.html +1 -1
- package/documention/Symbol3DLayer.html +1 -1
- package/documention/Symbol3DLayerType.html +1 -1
- package/documention/Symbol3DVerticalOffset.html +1 -1
- package/documention/SymbolType.html +1 -1
- package/documention/TDTLayerType.html +1 -1
- package/documention/TemporalUnit.html +1 -1
- package/documention/TerrainCacheLayer.html +85 -1
- package/documention/TerrainServer.html +1 -1
- package/documention/TextHalo.html +1 -1
- package/documention/TextSymbol.html +1 -1
- package/documention/TextSymbol3DLayer.html +1 -1
- package/documention/ThemeServer.html +1 -1
- package/documention/TileInfo.html +1 -1
- package/documention/TileLayer.html +85 -1
- package/documention/TileMatrixSet.html +1 -1
- package/documention/TileServer.html +6 -34
- package/documention/TileSliceType.html +1 -1
- package/documention/TimeExtent.html +1 -1
- package/documention/TimeInfo.html +1 -1
- package/documention/TimeInterval.html +1 -1
- package/documention/TokenAttachType.html +1 -1
- package/documention/UniqueValueClusterInfo.html +1 -1
- package/documention/UniqueValueInfo.html +1 -1
- package/documention/UniqueValueRenderer.html +1 -1
- package/documention/UnknownLayer.html +85 -1
- package/documention/UpdateContent.html +1 -1
- package/documention/UrlServerType.html +1 -1
- package/documention/UrlUtil.html +1 -1
- package/documention/VectorTileGeometryType.html +1 -1
- package/documention/VectorTileLayer.html +85 -1
- package/documention/VectorTileServer.html +1 -1
- package/documention/VectorTileSubLayer.html +1 -1
- package/documention/VertexChangeEventInfo.html +1 -1
- package/documention/VerticalAlignment.html +1 -1
- package/documention/VideoSourceType.html +1 -1
- package/documention/ViewEventType.html +1 -1
- package/documention/VisualVariable.html +1 -1
- package/documention/VisualVariableType.html +1 -1
- package/documention/VoxelFilter.html +1 -1
- package/documention/WCSServer.html +1 -1
- package/documention/WFSLayer.html +85 -1
- package/documention/WFSServer.html +78 -2
- package/documention/WMSLayer.html +85 -1
- package/documention/WMSServer.html +1 -1
- package/documention/WMSSubLayer.html +1 -1
- package/documention/WMTSCorporation.html +1 -1
- package/documention/WMTSLayer.html +159 -1
- package/documention/WMTSServer.html +1 -1
- package/documention/WMTSStyle.html +1 -1
- package/documention/WMTSSubLayer.html +85 -1
- package/documention/WPSServer.html +1 -1
- package/documention/WaterSymbol3DLayer.html +1 -1
- package/documention/WaterbodySize.html +1 -1
- package/documention/WaveStrength.html +1 -1
- package/documention/WebTileLayer.html +85 -1
- package/documention/WorkFlowServer.html +1 -1
- package/documention/WorkFlowServer600227.html +1 -1
- package/documention/WorkFlowServer600228.html +1 -1
- package/documention/WorkFlowServer600229.html +1 -1
- package/documention/WorkFlowServer600230.html +1 -1
- package/documention/WorkFlowServer600231.html +1 -1
- package/documention/WorkFlowServer600232.html +1 -1
- package/documention/WorkFlowServer600233.html +1 -1
- package/documention/WorkFlowServer600235.html +1 -1
- package/documention/WorkFlowServer600237.html +1 -1
- package/documention/WorkFlowServer600238.html +1 -1
- package/documention/WorkFlowServer600239.html +1 -1
- package/documention/WorkFlowServer600307.html +1 -1
- package/documention/WorkFlowServer600308.html +1 -1
- package/documention/WorkFlowServer600309.html +1 -1
- package/documention/WorkFlowServer600314.html +1 -1
- package/documention/WorkFlowServer600334.html +1 -1
- package/documention/WorkFlowServer600336.html +1 -1
- package/documention/WorkFlowServer600340.html +1 -1
- package/documention/WorkFlowServer600354.html +1 -1
- package/documention/WorkFlowServer600368.html +1 -1
- package/documention/WorkFlowServer600369.html +1 -1
- package/documention/WorkFlowServer600370.html +1 -1
- package/documention/global.html +447 -6
- package/documention/index.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.html +1 -1
- package/documention/module.exports.html +1 -1
- package/documention/zondy.object.CAttDataRow.html +1 -1
- package/documention/zondy.object.CAttStruct.html +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).initGdalJs=e()}(this,function(){"use strict";function r(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function s(n){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach(function(t){var e,r;e=n,r=a[t=t],(t=I(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(a,t))})}return n}function an(t){return(an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,I(n.key),n)}}function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,i,o,s=[],u=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,a=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(t,e)||k(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||k(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){var r;if(t)return"string"==typeof t?M(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(t,e):void 0}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function I(t){t=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=typeof(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"==typeof t?t:String(t)}function x(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function t(r){var e,n;return r.__esModule?r:("function"==typeof(e=r.default)?(n=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)}).prototype=e.prototype:n={},Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(r).forEach(function(t){var e=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(n,t,e.get?e:{enumerable:!0,get:function(){return r[t]}})}),n)}var on,sn=t(Object.freeze({__proto__:null,default:{}})),u="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0),e={exports:{}},un=t(Object.freeze({__proto__:null,default:{}})),cn=t(Object.freeze({__proto__:null,default:{}})),B=e;function U(){var k,M,I,x,B,U,K,u,z,W,V=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},L=V;function Y(){function n(t,e){if(!t)throw e+(new Error).stack}function a(t,e,r){this.start=t,this.end=e,this.audio=r}L.FS_createPath("/","usr",!0,!0),L.FS_createPath("/usr","share",!0,!0),L.FS_createPath("/usr/share","gdal",!0,!0),L.FS_createPath("/usr/share","proj",!0,!0),a.prototype={requests:{},open:function(t,e){this.name=e,this.requests[e]=this,L.addRunDependency("fp ".concat(this.name))},send:function(){},onload:function(){var t=this.byteArray.subarray(this.start,this.end);this.finish(t)},finish:function(t){L.FS_createDataFile(this.name,null,t,!0,!0,!0),L.removeRunDependency("fp ".concat(this.name)),this.requests[this.name]=null}};for(var t=I.files,e=0;e<t.length;++e)new a(t[e].start,t[e].end,t[e].audio||0).open("GET",t[e].filename);function r(t){n(t,"Loading data file failed."),n(t.constructor.name===ArrayBuffer.name,"bad input to processPackageData");for(var t=new Uint8Array(t),e=(a.prototype.byteArray=t,I.files),r=0;r<e.length;++r)a.prototype.requests[e[r].filename].onload();L.removeRunDependency("datafile_/home/bugra/Documents/MiniProject/gdal3.js/build/package/gdal3WebAssembly.data")}L.addRunDependency("datafile_/home/bugra/Documents/MiniProject/gdal3.js/build/package/gdal3WebAssembly.data"),L.preloadResults||(L.preloadResults={}),L.preloadResults["/home/bugra/Documents/MiniProject/gdal3.js/build/package/gdal3WebAssembly.data"]={fromCache:!1},W?(r(W),W=null):z=r}L.ready=new Promise(function(t,e){k=t,M=e}),L.expectedDataFileDownloads||(L.expectedDataFileDownloads=0),L.expectedDataFileDownloads++,L.ENVIRONMENT_IS_PTHREAD||L.$ww||(I={files:[{filename:"/usr/share/gdal/GDALLogoBW.svg",start:0,end:13022},{filename:"/usr/share/gdal/GDALLogoColor.svg",start:13022,end:25327},{filename:"/usr/share/gdal/GDALLogoGS.svg",start:25327,end:37632},{filename:"/usr/share/gdal/LICENSE.TXT",start:37632,end:59473},{filename:"/usr/share/gdal/bag_template.xml",start:59473,end:68493},{filename:"/usr/share/gdal/cubewerx_extra.wkt",start:68493,end:80470},{filename:"/usr/share/gdal/default.rsc",start:80470,end:544102},{filename:"/usr/share/gdal/ecw_cs.wkt",start:544102,end:908134},{filename:"/usr/share/gdal/eedaconf.json",start:908134,end:908545},{filename:"/usr/share/gdal/epsg.wkt",start:908545,end:908572},{filename:"/usr/share/gdal/esri_StatePlane_extra.wkt",start:908572,end:1241118},{filename:"/usr/share/gdal/gdalicon.png",start:1241118,end:1243139},{filename:"/usr/share/gdal/gdalinfo_output.schema.json",start:1243139,end:1251130},{filename:"/usr/share/gdal/gdalmdiminfo_output.schema.json",start:1251130,end:1257673},{filename:"/usr/share/gdal/gdalvrt.xsd",start:1257673,end:1291600},{filename:"/usr/share/gdal/gfs.xsd",start:1291600,end:1308069},{filename:"/usr/share/gdal/gml_registry.xml",start:1308069,end:1314712},{filename:"/usr/share/gdal/gml_registry.xsd",start:1314712,end:1321174},{filename:"/usr/share/gdal/gmlasconf.xml",start:1321174,end:1328606},{filename:"/usr/share/gdal/gmlasconf.xsd",start:1328606,end:1377260},{filename:"/usr/share/gdal/grib2_center.csv",start:1377260,end:1381431},{filename:"/usr/share/gdal/grib2_process.csv",start:1381431,end:1386357},{filename:"/usr/share/gdal/grib2_subcenter.csv",start:1386357,end:1388685},{filename:"/usr/share/gdal/grib2_table_4_2_0_0.csv",start:1388685,end:1399048},{filename:"/usr/share/gdal/grib2_table_4_2_0_1.csv",start:1399048,end:1415553},{filename:"/usr/share/gdal/grib2_table_4_2_0_13.csv",start:1415553,end:1425149},{filename:"/usr/share/gdal/grib2_table_4_2_0_14.csv",start:1425149,end:1434700},{filename:"/usr/share/gdal/grib2_table_4_2_0_15.csv",start:1434700,end:1444546},{filename:"/usr/share/gdal/grib2_table_4_2_0_16.csv",start:1444546,end:1454217},{filename:"/usr/share/gdal/grib2_table_4_2_0_17.csv",start:1454217,end:1455140},{filename:"/usr/share/gdal/grib2_table_4_2_0_18.csv",start:1455140,end:1465364},{filename:"/usr/share/gdal/grib2_table_4_2_0_19.csv",start:1465364,end:1477238},{filename:"/usr/share/gdal/grib2_table_4_2_0_190.csv",start:1477238,end:1486745},{filename:"/usr/share/gdal/grib2_table_4_2_0_191.csv",start:1486745,end:1496365},{filename:"/usr/share/gdal/grib2_table_4_2_0_2.csv",start:1496365,end:1507257},{filename:"/usr/share/gdal/grib2_table_4_2_0_20.csv",start:1507257,end:1519548},{filename:"/usr/share/gdal/grib2_table_4_2_0_21.csv",start:1519548,end:1529810},{filename:"/usr/share/gdal/grib2_table_4_2_0_3.csv",start:1529810,end:1540368},{filename:"/usr/share/gdal/grib2_table_4_2_0_4.csv",start:1540368,end:1550679},{filename:"/usr/share/gdal/grib2_table_4_2_0_5.csv",start:1550679,end:1560505},{filename:"/usr/share/gdal/grib2_table_4_2_0_6.csv",start:1560505,end:1572147},{filename:"/usr/share/gdal/grib2_table_4_2_0_7.csv",start:1572147,end:1582639},{filename:"/usr/share/gdal/grib2_table_4_2_10_0.csv",start:1582639,end:1594461},{filename:"/usr/share/gdal/grib2_table_4_2_10_1.csv",start:1594461,end:1604086},{filename:"/usr/share/gdal/grib2_table_4_2_10_191.csv",start:1604086,end:1613720},{filename:"/usr/share/gdal/grib2_table_4_2_10_2.csv",start:1613720,end:1623832},{filename:"/usr/share/gdal/grib2_table_4_2_10_3.csv",start:1623832,end:1633821},{filename:"/usr/share/gdal/grib2_table_4_2_10_4.csv",start:1633821,end:1644637},{filename:"/usr/share/gdal/grib2_table_4_2_1_0.csv",start:1644637,end:1654779},{filename:"/usr/share/gdal/grib2_table_4_2_1_1.csv",start:1654779,end:1664434},{filename:"/usr/share/gdal/grib2_table_4_2_1_2.csv",start:1664434,end:1674232},{filename:"/usr/share/gdal/grib2_table_4_2_20_0.csv",start:1674232,end:1683875},{filename:"/usr/share/gdal/grib2_table_4_2_20_1.csv",start:1683875,end:1693726},{filename:"/usr/share/gdal/grib2_table_4_2_20_2.csv",start:1693726,end:1703232},{filename:"/usr/share/gdal/grib2_table_4_2_2_0.csv",start:1703232,end:1715898},{filename:"/usr/share/gdal/grib2_table_4_2_2_3.csv",start:1715898,end:1726532},{filename:"/usr/share/gdal/grib2_table_4_2_2_4.csv",start:1726532,end:1737760},{filename:"/usr/share/gdal/grib2_table_4_2_2_5.csv",start:1737760,end:1747273},{filename:"/usr/share/gdal/grib2_table_4_2_2_6.csv",start:1747273,end:1756872},{filename:"/usr/share/gdal/grib2_table_4_2_3_0.csv",start:1756872,end:1767823},{filename:"/usr/share/gdal/grib2_table_4_2_3_1.csv",start:1767823,end:1778486},{filename:"/usr/share/gdal/grib2_table_4_2_3_2.csv",start:1778486,end:1782319},{filename:"/usr/share/gdal/grib2_table_4_2_3_3.csv",start:1782319,end:1783103},{filename:"/usr/share/gdal/grib2_table_4_2_3_4.csv",start:1783103,end:1784154},{filename:"/usr/share/gdal/grib2_table_4_2_3_5.csv",start:1784154,end:1785074},{filename:"/usr/share/gdal/grib2_table_4_2_3_6.csv",start:1785074,end:1785893},{filename:"/usr/share/gdal/grib2_table_4_2_4_0.csv",start:1785893,end:1795446},{filename:"/usr/share/gdal/grib2_table_4_2_4_1.csv",start:1795446,end:1805132},{filename:"/usr/share/gdal/grib2_table_4_2_4_10.csv",start:1805132,end:1814833},{filename:"/usr/share/gdal/grib2_table_4_2_4_2.csv",start:1814833,end:1824493},{filename:"/usr/share/gdal/grib2_table_4_2_4_3.csv",start:1824493,end:1834215},{filename:"/usr/share/gdal/grib2_table_4_2_4_4.csv",start:1834215,end:1843905},{filename:"/usr/share/gdal/grib2_table_4_2_4_5.csv",start:1843905,end:1853400},{filename:"/usr/share/gdal/grib2_table_4_2_4_6.csv",start:1853400,end:1863033},{filename:"/usr/share/gdal/grib2_table_4_2_4_7.csv",start:1863033,end:1872589},{filename:"/usr/share/gdal/grib2_table_4_2_4_8.csv",start:1872589,end:1882275},{filename:"/usr/share/gdal/grib2_table_4_2_4_9.csv",start:1882275,end:1891811},{filename:"/usr/share/gdal/grib2_table_4_2_local_Canada.csv",start:1891811,end:1892144},{filename:"/usr/share/gdal/grib2_table_4_2_local_HPC.csv",start:1892144,end:1892231},{filename:"/usr/share/gdal/grib2_table_4_2_local_MRMS.csv",start:1892231,end:1907818},{filename:"/usr/share/gdal/grib2_table_4_2_local_NCEP.csv",start:1907818,end:1935795},{filename:"/usr/share/gdal/grib2_table_4_2_local_NDFD.csv",start:1935795,end:1938454},{filename:"/usr/share/gdal/grib2_table_4_2_local_index.csv",start:1938454,end:1938705},{filename:"/usr/share/gdal/grib2_table_4_5.csv",start:1938705,end:1948718},{filename:"/usr/share/gdal/grib2_table_versions.csv",start:1948718,end:1948756},{filename:"/usr/share/gdal/gt_datum.csv",start:1948756,end:1964560},{filename:"/usr/share/gdal/gt_ellips.csv",start:1964560,end:1966279},{filename:"/usr/share/gdal/header.dxf",start:1966279,end:1972851},{filename:"/usr/share/gdal/inspire_cp_BasicPropertyUnit.gfs",start:1972851,end:1974591},{filename:"/usr/share/gdal/inspire_cp_CadastralBoundary.gfs",start:1974591,end:1976241},{filename:"/usr/share/gdal/inspire_cp_CadastralParcel.gfs",start:1976241,end:1978691},{filename:"/usr/share/gdal/inspire_cp_CadastralZoning.gfs",start:1978691,end:1983503},{filename:"/usr/share/gdal/jpfgdgml_AdmArea.gfs",start:1983503,end:1985143},{filename:"/usr/share/gdal/jpfgdgml_AdmBdry.gfs",start:1985143,end:1986525},{filename:"/usr/share/gdal/jpfgdgml_AdmPt.gfs",start:1986525,end:1988158},{filename:"/usr/share/gdal/jpfgdgml_BldA.gfs",start:1988158,end:1989659},{filename:"/usr/share/gdal/jpfgdgml_BldL.gfs",start:1989659,end:1991162},{filename:"/usr/share/gdal/jpfgdgml_Cntr.gfs",start:1991162,end:1992663},{filename:"/usr/share/gdal/jpfgdgml_CommBdry.gfs",start:1992663,end:1994047},{filename:"/usr/share/gdal/jpfgdgml_CommPt.gfs",start:1994047,end:1995682},{filename:"/usr/share/gdal/jpfgdgml_Cstline.gfs",start:1995682,end:1997191},{filename:"/usr/share/gdal/jpfgdgml_ElevPt.gfs",start:1997191,end:1998691},{filename:"/usr/share/gdal/jpfgdgml_GCP.gfs",start:1998691,end:2001214},{filename:"/usr/share/gdal/jpfgdgml_LeveeEdge.gfs",start:2001214,end:2002600},{filename:"/usr/share/gdal/jpfgdgml_RailCL.gfs",start:2002600,end:2004107},{filename:"/usr/share/gdal/jpfgdgml_RdASL.gfs",start:2004107,end:2005358},{filename:"/usr/share/gdal/jpfgdgml_RdArea.gfs",start:2005358,end:2006873},{filename:"/usr/share/gdal/jpfgdgml_RdCompt.gfs",start:2006873,end:2008519},{filename:"/usr/share/gdal/jpfgdgml_RdEdg.gfs",start:2008519,end:2010161},{filename:"/usr/share/gdal/jpfgdgml_RdMgtBdry.gfs",start:2010161,end:2011547},{filename:"/usr/share/gdal/jpfgdgml_RdSgmtA.gfs",start:2011547,end:2013191},{filename:"/usr/share/gdal/jpfgdgml_RvrMgtBdry.gfs",start:2013191,end:2014579},{filename:"/usr/share/gdal/jpfgdgml_SBAPt.gfs",start:2014579,end:2015954},{filename:"/usr/share/gdal/jpfgdgml_SBArea.gfs",start:2015954,end:2017461},{filename:"/usr/share/gdal/jpfgdgml_SBBdry.gfs",start:2017461,end:2018714},{filename:"/usr/share/gdal/jpfgdgml_WA.gfs",start:2018714,end:2020211},{filename:"/usr/share/gdal/jpfgdgml_WL.gfs",start:2020211,end:2021710},{filename:"/usr/share/gdal/jpfgdgml_WStrA.gfs",start:2021710,end:2023213},{filename:"/usr/share/gdal/jpfgdgml_WStrL.gfs",start:2023213,end:2024718},{filename:"/usr/share/gdal/netcdf_config.xsd",start:2024718,end:2032209},{filename:"/usr/share/gdal/nitf_spec.xml",start:2032209,end:2219654},{filename:"/usr/share/gdal/nitf_spec.xsd",start:2219654,end:2228162},{filename:"/usr/share/gdal/ogrinfo_output.schema.json",start:2228162,end:2239289},{filename:"/usr/share/gdal/ogrvrt.xsd",start:2239289,end:2265210},{filename:"/usr/share/gdal/osmconf.ini",start:2265210,end:2270610},{filename:"/usr/share/gdal/ozi_datum.csv",start:2270610,end:2279092},{filename:"/usr/share/gdal/ozi_ellips.csv",start:2279092,end:2280441},{filename:"/usr/share/gdal/pci_datum.txt",start:2280441,end:2315535},{filename:"/usr/share/gdal/pci_ellips.txt",start:2315535,end:2319050},{filename:"/usr/share/gdal/pdfcomposition.xsd",start:2319050,end:2353384},{filename:"/usr/share/gdal/pds4_template.xml",start:2353384,end:2356817},{filename:"/usr/share/gdal/plscenesconf.json",start:2356817,end:2398189},{filename:"/usr/share/gdal/ruian_vf_ob_v1.gfs",start:2398189,end:2444924},{filename:"/usr/share/gdal/ruian_vf_st_uvoh_v1.gfs",start:2444924,end:2447520},{filename:"/usr/share/gdal/ruian_vf_st_v1.gfs",start:2447520,end:2493420},{filename:"/usr/share/gdal/ruian_vf_v1.gfs",start:2493420,end:2560672},{filename:"/usr/share/gdal/s57agencies.csv",start:2560672,end:2573976},{filename:"/usr/share/gdal/s57attributes.csv",start:2573976,end:2593977},{filename:"/usr/share/gdal/s57expectedinput.csv",start:2593977,end:2614862},{filename:"/usr/share/gdal/s57objectclasses.csv",start:2614862,end:2668287},{filename:"/usr/share/gdal/seed_2d.dgn",start:2668287,end:2677503},{filename:"/usr/share/gdal/seed_3d.dgn",start:2677503,end:2679551},{filename:"/usr/share/gdal/stateplane.csv",start:2679551,end:2689911},{filename:"/usr/share/gdal/template_tiles.mapml",start:2689911,end:2691858},{filename:"/usr/share/gdal/tms_LINZAntarticaMapTileGrid.json",start:2691858,end:2695973},{filename:"/usr/share/gdal/tms_MapML_APSTILE.json",start:2695973,end:2702246},{filename:"/usr/share/gdal/tms_MapML_CBMTILE.json",start:2702246,end:2710038},{filename:"/usr/share/gdal/tms_NZTM2000.json",start:2710038,end:2715303},{filename:"/usr/share/gdal/trailer.dxf",start:2715303,end:2717578},{filename:"/usr/share/gdal/vdv452.xml",start:2717578,end:2743394},{filename:"/usr/share/gdal/vdv452.xsd",start:2743394,end:2746248},{filename:"/usr/share/gdal/vicar.json",start:2746248,end:2749858},{filename:"/usr/share/proj/CH",start:2749858,end:2750955},{filename:"/usr/share/proj/GL27",start:2750955,end:2751683},{filename:"/usr/share/proj/ITRF2000",start:2751683,end:2753782},{filename:"/usr/share/proj/ITRF2008",start:2753782,end:2759464},{filename:"/usr/share/proj/ITRF2014",start:2759464,end:2762953},{filename:"/usr/share/proj/deformation_model.schema.json",start:2762953,end:2780624},{filename:"/usr/share/proj/nad.lst",start:2780624,end:2787009},{filename:"/usr/share/proj/nad27",start:2787009,end:2806544},{filename:"/usr/share/proj/nad83",start:2806544,end:2823137},{filename:"/usr/share/proj/other.extra",start:2823137,end:2827052},{filename:"/usr/share/proj/proj.db",start:2827052,end:11539244},{filename:"/usr/share/proj/proj.ini",start:11539244,end:11541351},{filename:"/usr/share/proj/projjson.schema.json",start:11541351,end:11579663},{filename:"/usr/share/proj/triangulation.schema.json",start:11579663,end:11588066},{filename:"/usr/share/proj/world",start:11588066,end:11595145}],remote_package_size:11595145},"object"===("undefined"==typeof window?"undefined":an(window))?window.encodeURIComponent(window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/"):"undefined"==typeof process&&"undefined"!=typeof location&&encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/"),t="gdal3WebAssembly.data","function"!=typeof L.locateFilePackage||L.locateFile||(L.locateFile=L.locateFilePackage,c("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")),t=L.locateFile?L.locateFile(t,""):t,e=I.remote_package_size,z=null,(W=L.getPreloadedPackage?L.getPreloadedPackage(t,e):null)||(x=t,B=e,U=function(t){z?(z(t),z=null):W=t},K=function(t){console.error("package error:",t)},"object"===("undefined"==typeof process?"undefined":an(process))&&"object"===an(process.versions)&&"string"==typeof process.versions.node?sn.readFile(x,function(t,e){t?K(t):U(e.buffer)}):((u=new XMLHttpRequest).open("GET",x,!0),u.responseType="arraybuffer",u.onprogress=function(t){var e=x,r=B;if(t.total&&(r=t.total),t.loaded){u.addedTotal?L.dataFileDownloads[e].loaded=t.loaded:(u.addedTotal=!0,L.dataFileDownloads||(L.dataFileDownloads={}),L.dataFileDownloads[e]={loaded:t.loaded,total:r});var n,a=0,i=0,o=0;for(n in L.dataFileDownloads){var s=L.dataFileDownloads[n];a+=s.total,i+=s.loaded,o++}a=Math.ceil(a*L.expectedDataFileDownloads/o),L.setStatus&&L.setStatus("Downloading data... (".concat(i,"/").concat(a,")"))}else L.dataFileDownloads||L.setStatus&&L.setStatus("Downloading data...")},u.onerror=function(t){throw new Error("NetworkError for: "+x)},u.onload=function(t){if(!(200==u.status||304==u.status||206==u.status||0==u.status&&u.response))throw new Error(u.statusText+" : "+u.responseURL);var e=u.response;U(e)},u.send(null))),L.calledRun?Y():(L.preRun||(L.preRun=[]),L.preRun.push(Y)));var i,o,H,X,q,t=Object.assign({},L),Q="./this.program",Z=function(t,e){throw e},J="object"==("undefined"==typeof window?"undefined":an(window)),f="function"==typeof importScripts,$="object"==("undefined"==typeof process?"undefined":an(process))&&"object"==an(process.versions)&&"string"==typeof process.versions.node,e="";$?(i=sn,o=un,e=f?o.dirname(e)+"/":__dirname+"/",H=function(t,e){return t=yt(t)?new URL(t):o.normalize(t),i.readFileSync(t,e?void 0:"utf8")},X=function(t){t=H(t,!0);return t=t.buffer?t:new Uint8Array(t)},q=function(t,r,n){var a=!(3<arguments.length&&void 0!==arguments[3])||arguments[3];t=yt(t)?new URL(t):o.normalize(t),i.readFile(t,a?void 0:"utf8",function(t,e){t?n(t):r(a?e.buffer:e)})},!L.thisProgram&&1<process.argv.length&&(Q=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),Z=function(t,e){throw process.exitCode=t,e},L.inspect=function(){return"[Emscripten Module object]"}):(J||f)&&(f?e=self.location.href:"undefined"!=typeof document&&document.currentScript&&(e=document.currentScript.src),e=0!==(e=on?on:e).indexOf("blob:")?e.substr(0,e.replace(/[?#].*/,"").lastIndexOf("/")+1):"",H=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},f&&(X=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),q=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var tt,et,h,s,m,g,y,rt,nt,at=L.print||console.log.bind(console),c=L.printErr||console.error.bind(console),it=(Object.assign(L,t),L.arguments&&L.arguments,L.thisProgram&&(Q=L.thisProgram),L.quit&&(Z=L.quit),L.wasmBinary&&(tt=L.wasmBinary),"object"!=("undefined"==typeof WebAssembly?"undefined":an(WebAssembly))&&a("no native wasm support detected"),!1);function ot(t,e){t||a(e)}function st(){var t=et.buffer;L.HEAP8=h=new Int8Array(t),L.HEAP16=m=new Int16Array(t),L.HEAPU8=s=new Uint8Array(t),L.HEAPU16=new Uint16Array(t),L.HEAP32=g=new Int32Array(t),L.HEAPU32=y=new Uint32Array(t),L.HEAPF32=rt=new Float32Array(t),L.HEAPF64=nt=new Float64Array(t)}var ut=[],ct=[],ft=[];function lt(){if(L.preRun)for("function"==typeof L.preRun&&(L.preRun=[L.preRun]);L.preRun.length;)t=L.preRun.shift(),ut.unshift(t);var t;bt(ut)}function dt(){if(L.postRun)for("function"==typeof L.postRun&&(L.postRun=[L.postRun]);L.postRun.length;)t=L.postRun.shift(),ft.unshift(t);var t;bt(ft)}var r=0,ht=null;function mt(t){var e;r++,null!=(e=L.monitorRunDependencies)&&e.call(L,r)}function pt(t){var e;r--,null!=(e=L.monitorRunDependencies)&&e.call(L,r),0==r&&ht&&(e=ht,ht=null,e())}function a(t){null!=(e=L.onAbort)&&e.call(L,t),c(t="Aborted("+t+")"),it=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw M(e),e}var _t,l,d,gt=function(t){return t.startsWith("data:application/octet-stream;base64,")},yt=function(t){return t.startsWith("file://")};function Et(t){if(t==_t&&tt)return new Uint8Array(tt);if(X)return X(t);throw"both async and sync fetching of the wasm failed"}function wt(t,e,r){return function(r){if(!tt&&(J||f)){if("function"==typeof fetch&&!yt(r))return fetch(r,{credentials:"same-origin"}).then(function(t){if(t.ok)return t.arrayBuffer();throw"failed to load wasm binary file at '"+r+"'"}).catch(function(){return Et(r)});if(q)return new Promise(function(e,t){q(r,function(t){return e(new Uint8Array(t))},t)})}return Promise.resolve().then(function(){return Et(r)})}(t).then(function(t){return WebAssembly.instantiate(t,e)}).then(function(t){return t}).then(r,function(t){c("failed to asynchronously prepare wasm: ".concat(t)),a(t)})}function vt(t){this.name="ExitStatus",this.message="Program terminated with exit(".concat(t,")"),this.status=t}function bt(t){for(;0<t.length;)t.shift()(L)}gt(_t="gdal3WebAssembly.wasm")||(Jt=_t,_t=L.locateFile?L.locateFile(Jt,e):e+Jt);var Dt=L.noExitRuntime||!0;function p(t,e,r){for(var n=e+r,a=e;t[a]&&!(n<=a);)++a;if(16<a-e&&t.buffer&&At)return At.decode(t.subarray(e,a));for(var i="";e<a;){var o,s,u=t[e++];128&u?(s=63&t[e++],192==(224&u)?i+=String.fromCharCode((31&u)<<6|s):(o=63&t[e++],(u=224==(240&u)?(15&u)<<12|s<<6|o:(7&u)<<18|s<<12|o<<6|63&t[e++])<65536?i+=String.fromCharCode(u):(s=u-65536,i+=String.fromCharCode(55296|s>>10,56320|1023&s)))):i+=String.fromCharCode(u)}return i}function E(t,e){return t?p(s,t,e):""}function C(t){var e=Tt[t];return e||(t>=Tt.length&&(Tt.length=t+1),Tt[t]=e=_.get(t)),e}var _,At="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Tt=[],Lt=[],Ct=0,Gt=0;function Ot(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){y[this.ptr+4>>2]=t},this.get_type=function(){return y[this.ptr+4>>2]},this.set_destructor=function(t){y[this.ptr+8>>2]=t},this.get_destructor=function(){return y[this.ptr+8>>2]},this.set_caught=function(t){h[this.ptr+12>>0]=t=t?1:0},this.get_caught=function(){return 0!=h[this.ptr+12>>0]},this.set_rethrown=function(t){h[this.ptr+13>>0]=t=t?1:0},this.get_rethrown=function(){return 0!=h[this.ptr+13>>0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e)},this.set_adjusted_ptr=function(t){y[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return y[this.ptr+16>>2]},this.get_exception_ptr=function(){var t;return Oe(this.get_type())?y[this.excPtr>>2]:0!==(t=this.get_adjusted_ptr())?t:this.excPtr}}function St(t){var e=Gt;if(!e)return Ae(0),0;var r=new Ot(e),n=(r.set_adjusted_ptr(e),r.get_type());if(n){for(var a in t){a=t[a];if(0===a||a===n)break;var i=r.ptr+16;if(Ge(a,n,i))return Ae(a),e}Ae(n)}else Ae(0);return e}var w={isAbs:function(t){return"/"===t.charAt(0)},splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var r=0,n=t.length-1;0<=n;n--){var a=t[n];"."===a?t.splice(n,1):".."===a?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r;r--)t.unshift("..");return t},normalize:function(t){var e=w.isAbs(t),r="/"===t.substr(-1);return(t=(t=w.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e?t:".")&&r&&(t+="/"),(e?"/":"")+t},dirname:function(t){var t=w.splitPath(t),e=t[0],t=t[1];return e||t?e+(t=t&&t.substr(0,t.length-1)):"."},basename:function(t){var e;return"/"===t?"/":-1===(e=(t=(t=w.normalize(t)).replace(/\/$/,"")).lastIndexOf("/"))?t:t.substr(e+1)},join:function(){var t=Array.prototype.slice.call(arguments);return w.normalize(t.join("/"))},join2:function(t,e){return w.normalize(t+"/"+e)}},Nt=function(){if("object"==("undefined"==typeof crypto?"undefined":an(crypto))&&"function"==typeof crypto.getRandomValues)return function(t){return crypto.getRandomValues(t)};if($)try{var e,r=cn;return r.randomFillSync?function(t){return r.randomFillSync(t)}:(e=r.randomBytes,function(t){return t.set(e(t.byteLength)),t})}catch(t){}a("initRandomDevice")},Ft=function(t){return(Ft=Nt())(t)},v={resolve:function(){for(var t="",e=!1,r=arguments.length-1;-1<=r&&!e;r--){var n=0<=r?arguments[r]:G.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";t=n+"/"+t,e=w.isAbs(n)}return(e?"/":"")+(t=w.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;0<=r&&""===t[r];r--);return r<e?[]:t.slice(e,r-e+1)}t=v.resolve(t).substr(1),e=v.resolve(e).substr(1);for(var n=r(t.split("/")),a=r(e.split("/")),i=Math.min(n.length,a.length),o=i,s=0;s<i;s++)if(n[s]!==a[s]){o=s;break}for(var u=[],s=o;s<n.length;s++)u.push("..");return(u=u.concat(a.slice(o))).join("/")}},jt=[],b=function(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:55296<=n&&n<=57343?(e+=4,++r):e+=3}return e},Pt=function(t,e,r,n){if(!(0<n))return 0;for(var a=r,i=r+n-1,o=0;o<t.length;++o){var s=t.charCodeAt(o);if((s=55296<=s&&s<=57343?65536+((1023&s)<<10)|1023&t.charCodeAt(++o):s)<=127){if(i<=r)break;e[r++]=s}else{if(s<=2047){if(i<=r+1)break;e[r++]=192|s>>6}else{if(s<=65535){if(i<=r+2)break;e[r++]=224|s>>12}else{if(i<=r+3)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63}e[r++]=128|s>>6&63}e[r++]=128|63&s}}return e[r]=0,r-a};function Rt(t,e,r){r=0<r?r:b(t)+1,r=new Array(r),t=Pt(t,r,0,r.length);return e&&(r.length=t),r}function kt(t){r=t,e=65536,t=Math.ceil(r/e)*e;var e,r=De(65536,t);return r?(e=r,r=t,s.fill(0,e,e+r),e):0}function Mt(t,e){var r=0;return t&&(r|=365),e&&(r|=146),r}var n={ttys:[],init:function(){},shutdown:function(){},register:function(t,e){n.ttys[t]={input:[],output:[],ops:e},G.registerDevice(t,n.stream_ops)},stream_ops:{open:function(t){var e=n.ttys[t.node.rdev];if(!e)throw new G.ErrnoError(43);t.tty=e,t.seekable=!1},close:function(t){t.tty.ops.fsync(t.tty)},fsync:function(t){t.tty.ops.fsync(t.tty)},read:function(t,e,r,n,a){if(!t.tty||!t.tty.ops.get_char)throw new G.ErrnoError(60);for(var i,o=0,s=0;s<n;s++){try{i=t.tty.ops.get_char(t.tty)}catch(t){throw new G.ErrnoError(29)}if(void 0===i&&0===o)throw new G.ErrnoError(6);if(null==i)break;o++,e[r+s]=i}return o&&(t.node.timestamp=Date.now()),o},write:function(t,e,r,n,a){if(!t.tty||!t.tty.ops.put_char)throw new G.ErrnoError(60);try{for(var i=0;i<n;i++)t.tty.ops.put_char(t.tty,e[r+i])}catch(t){throw new G.ErrnoError(29)}return n&&(t.node.timestamp=Date.now()),i}},default_tty_ops:{get_char:function(t){if(!jt.length){var e=null;if($){var r=Buffer.alloc(256),n=0,a=process.stdin.fd;try{n=i.readSync(a,r)}catch(t){if(!t.toString().includes("EOF"))throw t;n=0}e=0<n?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(e=window.prompt("Input: "))&&(e+="\n"):"function"==typeof readline&&null!==(e=readline())&&(e+="\n");if(!e)return null;jt=Rt(e,!0)}return jt.shift()},put_char:function(t,e){null===e||10===e?(at(p(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},fsync:function(t){t.output&&0<t.output.length&&(at(p(t.output,0)),t.output=[])},ioctl_tcgets:function(t){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets:function(t,e,r){return 0},ioctl_tiocgwinsz:function(t){return[24,80]}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(c(p(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},fsync:function(t){t.output&&0<t.output.length&&(c(p(t.output,0)),t.output=[])}}},D={ops_table:null,mount:function(t){return D.createNode(null,"/",16895,0)},createNode:function(t,e,r,n){if(G.isBlkdev(r)||G.isFIFO(r))throw new G.ErrnoError(63);D.ops_table||(D.ops_table={dir:{node:{getattr:D.node_ops.getattr,setattr:D.node_ops.setattr,lookup:D.node_ops.lookup,mknod:D.node_ops.mknod,rename:D.node_ops.rename,unlink:D.node_ops.unlink,rmdir:D.node_ops.rmdir,readdir:D.node_ops.readdir,symlink:D.node_ops.symlink},stream:{llseek:D.stream_ops.llseek}},file:{node:{getattr:D.node_ops.getattr,setattr:D.node_ops.setattr},stream:{llseek:D.stream_ops.llseek,read:D.stream_ops.read,write:D.stream_ops.write,allocate:D.stream_ops.allocate,mmap:D.stream_ops.mmap,msync:D.stream_ops.msync}},link:{node:{getattr:D.node_ops.getattr,setattr:D.node_ops.setattr,readlink:D.node_ops.readlink},stream:{}},chrdev:{node:{getattr:D.node_ops.getattr,setattr:D.node_ops.setattr},stream:G.chrdev_stream_ops}});r=G.createNode(t,e,r,n);return G.isDir(r.mode)?(r.node_ops=D.ops_table.dir.node,r.stream_ops=D.ops_table.dir.stream,r.contents={}):G.isFile(r.mode)?(r.node_ops=D.ops_table.file.node,r.stream_ops=D.ops_table.file.stream,r.usedBytes=0,r.contents=null):G.isLink(r.mode)?(r.node_ops=D.ops_table.link.node,r.stream_ops=D.ops_table.link.stream):G.isChrdev(r.mode)&&(r.node_ops=D.ops_table.chrdev.node,r.stream_ops=D.ops_table.chrdev.stream),r.timestamp=Date.now(),t&&(t.contents[e]=r,t.timestamp=r.timestamp),r},getFileDataAsTypedArray:function(t){return t.contents?t.contents.subarray?t.contents.subarray(0,t.usedBytes):new Uint8Array(t.contents):new Uint8Array(0)},expandFileStorage:function(t,e){var r=t.contents?t.contents.length:0;e<=r||(e=Math.max(e,r*(r<1048576?2:1.125)>>>0),0!=r&&(e=Math.max(e,256)),r=t.contents,t.contents=new Uint8Array(e),0<t.usedBytes&&t.contents.set(r.subarray(0,t.usedBytes),0))},resizeFileStorage:function(t,e){var r;t.usedBytes!=e&&(0==e?(t.contents=null,t.usedBytes=0):(r=t.contents,t.contents=new Uint8Array(e),r&&t.contents.set(r.subarray(0,Math.min(e,t.usedBytes))),t.usedBytes=e))},node_ops:{getattr:function(t){var e={};return e.dev=G.isChrdev(t.mode)?t.id:1,e.ino=t.id,e.mode=t.mode,e.nlink=1,e.uid=0,e.gid=0,e.rdev=t.rdev,G.isDir(t.mode)?e.size=4096:G.isFile(t.mode)?e.size=t.usedBytes:G.isLink(t.mode)?e.size=t.link.length:e.size=0,e.atime=new Date(t.timestamp),e.mtime=new Date(t.timestamp),e.ctime=new Date(t.timestamp),e.blksize=4096,e.blocks=Math.ceil(e.size/e.blksize),e},setattr:function(t,e){void 0!==e.mode&&(t.mode=e.mode),void 0!==e.timestamp&&(t.timestamp=e.timestamp),void 0!==e.size&&D.resizeFileStorage(t,e.size)},lookup:function(t,e){throw G.genericErrors[44]},mknod:function(t,e,r,n){return D.createNode(t,e,r,n)},rename:function(t,e,r){if(G.isDir(t.mode)){var n;try{n=G.lookupNode(e,r)}catch(t){}if(n)for(var a in n.contents)throw new G.ErrnoError(55)}delete t.parent.contents[t.name],t.parent.timestamp=Date.now(),t.name=r,e.contents[r]=t,e.timestamp=t.parent.timestamp,t.parent=e},unlink:function(t,e){delete t.contents[e],t.timestamp=Date.now()},rmdir:function(t,e){for(var r in G.lookupNode(t,e).contents)throw new G.ErrnoError(55);delete t.contents[e],t.timestamp=Date.now()},readdir:function(t){for(var e=[".",".."],r=0,n=Object.keys(t.contents);r<n.length;r++){var a=n[r];e.push(a)}return e},symlink:function(t,e,r){t=D.createNode(t,e,41471,0);return t.link=r,t},readlink:function(t){if(G.isLink(t.mode))return t.link;throw new G.ErrnoError(28)}},stream_ops:{read:function(t,e,r,n,a){var i=t.node.contents;if(a>=t.node.usedBytes)return 0;var o=Math.min(t.node.usedBytes-a,n);if(8<o&&i.subarray)e.set(i.subarray(a,a+o),r);else for(var s=0;s<o;s++)e[r+s]=i[a+s];return o},write:function(t,e,r,n,a,i){if(e.buffer===h.buffer&&(i=!1),!n)return 0;var o=t.node;if(o.timestamp=Date.now(),e.subarray&&(!o.contents||o.contents.subarray)){if(i)return o.contents=e.subarray(r,r+n),o.usedBytes=n;if(0===o.usedBytes&&0===a)return o.contents=e.slice(r,r+n),o.usedBytes=n;if(a+n<=o.usedBytes)return o.contents.set(e.subarray(r,r+n),a),n}if(D.expandFileStorage(o,a+n),o.contents.subarray&&e.subarray)o.contents.set(e.subarray(r,r+n),a);else for(var s=0;s<n;s++)o.contents[a+s]=e[r+s];return o.usedBytes=Math.max(o.usedBytes,a+n),n},llseek:function(t,e,r){if(1===r?e+=t.position:2===r&&G.isFile(t.node.mode)&&(e+=t.node.usedBytes),e<0)throw new G.ErrnoError(28);return e},allocate:function(t,e,r){D.expandFileStorage(t.node,e+r),t.node.usedBytes=Math.max(t.node.usedBytes,e+r)},mmap:function(t,e,r,n,a){if(!G.isFile(t.node.mode))throw new G.ErrnoError(43);var i,o,t=t.node.contents;if(2&a||t.buffer!==h.buffer){if((0<r||r+e<t.length)&&(t=t.subarray?t.subarray(r,r+e):Array.prototype.slice.call(t,r,r+e)),o=!0,!(i=kt(e)))throw new G.ErrnoError(48);h.set(t,i)}else o=!1,i=t.byteOffset;return{ptr:i,allocated:o}},msync:function(t,e,r,n,a){return D.stream_ops.write(t,e,0,n,r,!1),0}}},It=L.preloadPlugins||[],xt={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135},A={isWindows:!1,staticInit:function(){A.isWindows=!!process.platform.match(/^win/);var t=process.binding("constants");t.fs&&(t=t.fs),A.flagsForNodeMap={1024:t.O_APPEND,64:t.O_CREAT,128:t.O_EXCL,256:t.O_NOCTTY,0:t.O_RDONLY,2:t.O_RDWR,4096:t.O_SYNC,512:t.O_TRUNC,1:t.O_WRONLY,131072:t.O_NOFOLLOW}},convertNodeCode:function(t){t=t.code;return xt[t]},mount:function(t){return A.createNode(null,"/",A.getMode(t.opts.root),0)},createNode:function(t,e,r,n){if(G.isDir(r)||G.isFile(r)||G.isLink(r))return(t=G.createNode(t,e,r)).node_ops=A.node_ops,t.stream_ops=A.stream_ops,t;throw new G.ErrnoError(28)},getMode:function(t){var e;try{e=i.lstatSync(t),A.isWindows&&(e.mode=e.mode|(292&e.mode)>>2)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}return e.mode},realPath:function(t){for(var e=[];t.parent!==t;)e.push(t.name),t=t.parent;return e.push(t.mount.opts.root),e.reverse(),w.join.apply(null,e)},flagsForNode:function(t){t=-2097153&t&-2049&-32769&-524289&-65537;var e,r=0;for(e in A.flagsForNodeMap)t&e&&(r|=A.flagsForNodeMap[e],t^=e);if(t)throw new G.ErrnoError(28);return r},node_ops:{getattr:function(t){var e,t=A.realPath(t);try{e=i.lstatSync(t)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}return A.isWindows&&!e.blksize&&(e.blksize=4096),A.isWindows&&!e.blocks&&(e.blocks=(e.size+e.blksize-1)/e.blksize|0),{dev:e.dev,ino:e.ino,mode:e.mode,nlink:e.nlink,uid:e.uid,gid:e.gid,rdev:e.rdev,size:e.size,atime:e.atime,mtime:e.mtime,ctime:e.ctime,blksize:e.blksize,blocks:e.blocks}},setattr:function(t,e){var r,n=A.realPath(t);try{void 0!==e.mode&&(i.chmodSync(n,e.mode),t.mode=e.mode),void 0!==e.timestamp&&(r=new Date(e.timestamp),i.utimesSync(n,r,r)),void 0!==e.size&&i.truncateSync(n,e.size)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}},lookup:function(t,e){var r=w.join2(A.realPath(t),e),r=A.getMode(r);return A.createNode(t,e,r)},mknod:function(t,e,r,n){t=A.createNode(t,e,r,n),e=A.realPath(t);try{G.isDir(t.mode)?i.mkdirSync(e,t.mode):i.writeFileSync(e,"",{mode:t.mode})}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}return t},rename:function(t,e,r){var n=A.realPath(t),e=w.join2(A.realPath(e),r);try{i.renameSync(n,e)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}t.name=r},unlink:function(t,e){t=w.join2(A.realPath(t),e);try{i.unlinkSync(t)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}},rmdir:function(t,e){t=w.join2(A.realPath(t),e);try{i.rmdirSync(t)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}},readdir:function(t){t=A.realPath(t);try{return i.readdirSync(t)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}},symlink:function(t,e,r){t=w.join2(A.realPath(t),e);try{i.symlinkSync(r,t)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}},readlink:function(t){var e=A.realPath(t);try{return e=i.readlinkSync(e),o.relative(o.resolve(t.mount.opts.root),e)}catch(t){if(!t.code)throw t;if("UNKNOWN"===t.code)throw new G.ErrnoError(28);throw new G.ErrnoError(A.convertNodeCode(t))}}},stream_ops:{open:function(t){var e=A.realPath(t.node);try{G.isFile(t.node.mode)&&(t.nfd=i.openSync(e,A.flagsForNode(t.flags)))}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}},close:function(t){try{G.isFile(t.node.mode)&&t.nfd&&i.closeSync(t.nfd)}catch(t){if(t.code)throw new G.ErrnoError(A.convertNodeCode(t));throw t}},read:function(t,e,r,n,a){if(0===n)return 0;try{return i.readSync(t.nfd,new Int8Array(e.buffer,r,n),{position:a})}catch(t){throw new G.ErrnoError(A.convertNodeCode(t))}},write:function(t,e,r,n,a){try{return i.writeSync(t.nfd,new Int8Array(e.buffer,r,n),{position:a})}catch(t){throw new G.ErrnoError(A.convertNodeCode(t))}},llseek:function(t,e,r){if(1===r)e+=t.position;else if(2===r&&G.isFile(t.node.mode))try{e+=i.fstatSync(t.nfd).size}catch(t){throw new G.ErrnoError(A.convertNodeCode(t))}if(e<0)throw new G.ErrnoError(28);return e},mmap:function(t,e,r,n,a){var i;if(G.isFile(t.node.mode))return i=kt(e),A.stream_ops.read(t,h,i,e,r),{ptr:i,allocated:!0};throw new G.ErrnoError(43)},msync:function(t,e,r,n,a){return A.stream_ops.write(t,e,0,n,r,!1),0}}},T={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(t){ot(f),T.reader||(T.reader=new FileReaderSync);var o=T.createNode(null,"/",T.DIR_MODE,0),s={};function n(t){for(var e=t.split("/"),r=o,n=0;n<e.length-1;n++){var a,i=e.slice(0,n+1).join("/");s[a=i]||(s[a]=T.createNode(r,e[n],T.DIR_MODE,0)),r=s[i]}return r}function a(t){t=t.split("/");return t[t.length-1]}return Array.prototype.forEach.call(t.opts.files||[],function(t){T.createNode(n(t.name),a(t.name),T.FILE_MODE,0,t,t.lastModifiedDate)}),(t.opts.blobs||[]).forEach(function(t){T.createNode(n(t.name),a(t.name),T.FILE_MODE,0,t.data)}),(t.opts.packages||[]).forEach(function(r){r.metadata.files.forEach(function(t){var e=t.filename.substr(1);T.createNode(n(e),a(e),T.FILE_MODE,0,r.blob.slice(t.start,t.end))})}),o},createNode:function(t,e,r,n,a,i){var o=G.createNode(t,e,r);return o.mode=r,o.node_ops=T.node_ops,o.stream_ops=T.stream_ops,o.timestamp=(i||new Date).getTime(),ot(T.FILE_MODE!==T.DIR_MODE),r===T.FILE_MODE?(o.size=a.size,o.contents=a):(o.size=4096,o.contents={}),t&&(t.contents[e]=o),o},node_ops:{getattr:function(t){return{dev:1,ino:t.id,mode:t.mode,nlink:1,uid:0,gid:0,rdev:0,size:t.size,atime:new Date(t.timestamp),mtime:new Date(t.timestamp),ctime:new Date(t.timestamp),blksize:4096,blocks:Math.ceil(t.size/4096)}},setattr:function(t,e){void 0!==e.mode&&(t.mode=e.mode),void 0!==e.timestamp&&(t.timestamp=e.timestamp)},lookup:function(t,e){throw new G.ErrnoError(44)},mknod:function(t,e,r,n){throw new G.ErrnoError(63)},rename:function(t,e,r){throw new G.ErrnoError(63)},unlink:function(t,e){throw new G.ErrnoError(63)},rmdir:function(t,e){throw new G.ErrnoError(63)},readdir:function(t){for(var e=[".",".."],r=0,n=Object.keys(t.contents);r<n.length;r++){var a=n[r];e.push(a)}return e},symlink:function(t,e,r){throw new G.ErrnoError(63)}},stream_ops:{read:function(t,e,r,n,a){return a>=t.node.size?0:(t=t.node.contents.slice(a,a+n),a=T.reader.readAsArrayBuffer(t),e.set(new Uint8Array(a),r),t.size)},write:function(t,e,r,n,a){throw new G.ErrnoError(29)},llseek:function(t,e,r){if(1===r?e+=t.position:2===r&&G.isFile(t.node.mode)&&(e+=t.node.size),e<0)throw new G.ErrnoError(28);return e}}},G={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(t=v.resolve(t)))return{path:"",node:null};if(8<(e=Object.assign({follow_mount:!0,recurse_count:0},e)).recurse_count)throw new G.ErrnoError(32);for(var r=t.split("/").filter(function(t){return!!t}),n=G.root,a="/",i=0;i<r.length;i++){var o=i===r.length-1;if(o&&e.parent)break;if(n=G.lookupNode(n,r[i]),a=w.join2(a,r[i]),!G.isMountpoint(n)||o&&!e.follow_mount||(n=n.mounted.root),!o||e.follow)for(var s=0;G.isLink(n.mode);){var u=G.readlink(a),a=v.resolve(w.dirname(a),u),n=G.lookupPath(a,{recurse_count:e.recurse_count+1}).node;if(40<s++)throw new G.ErrnoError(32)}}return{path:a,node:n}},getPath:function(t){for(var e,r;;){if(G.isRoot(t))return r=t.mount.mountpoint,e?"/"!==r[r.length-1]?"".concat(r,"/").concat(e):r+e:r;e=e?"".concat(t.name,"/").concat(e):t.name,t=t.parent}},hashName:function(t,e){for(var r=0,n=0;n<e.length;n++)r=(r<<5)-r+e.charCodeAt(n)|0;return(t+r>>>0)%G.nameTable.length},hashAddNode:function(t){var e=G.hashName(t.parent.id,t.name);t.name_next=G.nameTable[e],G.nameTable[e]=t},hashRemoveNode:function(t){var e=G.hashName(t.parent.id,t.name);if(G.nameTable[e]===t)G.nameTable[e]=t.name_next;else for(var r=G.nameTable[e];r;){if(r.name_next===t){r.name_next=t.name_next;break}r=r.name_next}},lookupNode:function(t,e){var r=G.mayLookup(t);if(r)throw new G.ErrnoError(r,t);for(var r=G.hashName(t.id,e),n=G.nameTable[r];n;n=n.name_next){var a=n.name;if(n.parent.id===t.id&&a===e)return n}return G.lookup(t,e)},createNode:function(t,e,r,n){t=new G.FSNode(t,e,r,n);return G.hashAddNode(t),t},destroyNode:function(t){G.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return G.ignorePermissions||(!e.includes("r")||292&t.mode)&&(!e.includes("w")||146&t.mode)&&(!e.includes("x")||73&t.mode)?0:2},mayLookup:function(t){var e=G.nodePermissions(t,"x");return e||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{G.lookupNode(t,e);return 20}catch(t){}return G.nodePermissions(t,"wx")},mayDelete:function(t,e,r){var n;try{n=G.lookupNode(t,e)}catch(t){return t.errno}e=G.nodePermissions(t,"wx");if(e)return e;if(r){if(!G.isDir(n.mode))return 54;if(G.isRoot(n)||G.getPath(n)===G.cwd())return 10}else if(G.isDir(n.mode))return 31;return 0},mayOpen:function(t,e){return t?G.isLink(t.mode)?32:G.isDir(t.mode)&&("r"!==G.flagsToPermissionString(e)||512&e)?31:G.nodePermissions(t,G.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(){for(var t=0;t<=G.MAX_OPEN_FDS;t++)if(!G.streams[t])return t;throw new G.ErrnoError(33)},getStreamChecked:function(t){t=G.getStream(t);if(t)return t;throw new G.ErrnoError(8)},getStream:function(t){return G.streams[t]},createStream:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:-1;return G.FSStream||(G.FSStream=function(){this.shared={}},G.FSStream.prototype={},Object.defineProperties(G.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}},flags:{get:function(){return this.shared.flags},set:function(t){this.shared.flags=t}},position:{get:function(){return this.shared.position},set:function(t){this.shared.position=t}}})),t=Object.assign(new G.FSStream,t),-1==e&&(e=G.nextfd()),t.fd=e,G.streams[e]=t},closeStream:function(t){G.streams[t]=null},chrdev_stream_ops:{open:function(t){var e,r=G.getDevice(t.node.rdev);t.stream_ops=r.stream_ops,null!=(e=(r=t.stream_ops).open)&&e.call(r,t)},llseek:function(){throw new G.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){G.devices[t]={stream_ops:e}},getDevice:function(t){return G.devices[t]},getMounts:function(t){for(var e=[],r=[t];r.length;){var n=r.pop();e.push(n),r.push.apply(r,n.mounts)}return e},syncfs:function(e,r){"function"==typeof e&&(r=e,e=!1),G.syncFSRequests++,1<G.syncFSRequests&&c("warning: ".concat(G.syncFSRequests," FS.syncfs operations in flight at once, probably just doing extra work"));var n=G.getMounts(G.root.mount),a=0;function i(t){return G.syncFSRequests--,r(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++a>=n.length&&i(null)}n.forEach(function(t){if(!t.type.syncfs)return o(null);t.type.syncfs(t,e,o)})},mount:function(t,e,r){var n,a="/"===r,i=!r;if(a&&G.root)throw new G.ErrnoError(10);if(!a&&!i){i=G.lookupPath(r,{follow_mount:!1});if(r=i.path,n=i.node,G.isMountpoint(n))throw new G.ErrnoError(10);if(!G.isDir(n.mode))throw new G.ErrnoError(54)}i={type:t,opts:e,mountpoint:r,mounts:[]},e=t.mount(i);return(e.mount=i).root=e,a?G.root=e:n&&(n.mounted=i,n.mount)&&n.mount.mounts.push(i),e},unmount:function(t){t=G.lookupPath(t,{follow_mount:!1});if(!G.isMountpoint(t.node))throw new G.ErrnoError(28);var t=t.node,e=t.mounted,n=G.getMounts(e),e=(Object.keys(G.nameTable).forEach(function(t){for(var e=G.nameTable[t];e;){var r=e.name_next;n.includes(e.mount)&&G.destroyNode(e),e=r}}),t.mounted=null,t.mount.mounts.indexOf(e));t.mount.mounts.splice(e,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,r){var n=G.lookupPath(t,{parent:!0}).node,t=w.basename(t);if(!t||"."===t||".."===t)throw new G.ErrnoError(28);var a=G.mayCreate(n,t);if(a)throw new G.ErrnoError(a);if(n.node_ops.mknod)return n.node_ops.mknod(n,t,e,r);throw new G.ErrnoError(63)},create:function(t,e){return G.mknod(t,e=(e=void 0!==e?e:438)&4095|32768,0)},mkdir:function(t,e){return G.mknod(t,e=(e=void 0!==e?e:511)&1023|16384,0)},mkdirTree:function(t,e){for(var r=t.split("/"),n="",a=0;a<r.length;++a)if(r[a]){n+="/"+r[a];try{G.mkdir(n,e)}catch(t){if(20!=t.errno)throw t}}},mkdev:function(t,e,r){return void 0===r&&(r=e,e=438),G.mknod(t,e|=8192,r)},symlink:function(t,e){if(!v.resolve(t))throw new G.ErrnoError(44);var r=G.lookupPath(e,{parent:!0}).node;if(!r)throw new G.ErrnoError(44);var e=w.basename(e),n=G.mayCreate(r,e);if(n)throw new G.ErrnoError(n);if(r.node_ops.symlink)return r.node_ops.symlink(r,e,t);throw new G.ErrnoError(63)},rename:function(t,e){var r=w.dirname(t),n=w.dirname(e),a=w.basename(t),i=w.basename(e),o=G.lookupPath(t,{parent:!0}),o=o.node,s=G.lookupPath(e,{parent:!0}).node;if(!o||!s)throw new G.ErrnoError(44);if(o.mount!==s.mount)throw new G.ErrnoError(75);var u,c=G.lookupNode(o,a),t=v.relative(t,n);if("."!==t.charAt(0))throw new G.ErrnoError(28);if("."!==(t=v.relative(e,r)).charAt(0))throw new G.ErrnoError(55);try{u=G.lookupNode(s,i)}catch(t){}if(c!==u){n=G.isDir(c.mode),e=G.mayDelete(o,a,n);if(e)throw new G.ErrnoError(e);if(e=u?G.mayDelete(s,i,n):G.mayCreate(s,i))throw new G.ErrnoError(e);if(!o.node_ops.rename)throw new G.ErrnoError(63);if(G.isMountpoint(c)||u&&G.isMountpoint(u))throw new G.ErrnoError(10);if(s!==o&&(e=G.nodePermissions(o,"w")))throw new G.ErrnoError(e);G.hashRemoveNode(c);try{o.node_ops.rename(c,s,i)}catch(t){throw t}finally{G.hashAddNode(c)}}},rmdir:function(t){var e=G.lookupPath(t,{parent:!0}).node,t=w.basename(t),r=G.lookupNode(e,t),n=G.mayDelete(e,t,!0);if(n)throw new G.ErrnoError(n);if(!e.node_ops.rmdir)throw new G.ErrnoError(63);if(G.isMountpoint(r))throw new G.ErrnoError(10);e.node_ops.rmdir(e,t),G.destroyNode(r)},readdir:function(t){t=G.lookupPath(t,{follow:!0}).node;if(t.node_ops.readdir)return t.node_ops.readdir(t);throw new G.ErrnoError(54)},unlink:function(t){var e=G.lookupPath(t,{parent:!0}).node;if(!e)throw new G.ErrnoError(44);var t=w.basename(t),r=G.lookupNode(e,t),n=G.mayDelete(e,t,!1);if(n)throw new G.ErrnoError(n);if(!e.node_ops.unlink)throw new G.ErrnoError(63);if(G.isMountpoint(r))throw new G.ErrnoError(10);e.node_ops.unlink(e,t),G.destroyNode(r)},readlink:function(t){t=G.lookupPath(t).node;if(!t)throw new G.ErrnoError(44);if(t.node_ops.readlink)return v.resolve(G.getPath(t.parent),t.node_ops.readlink(t));throw new G.ErrnoError(28)},stat:function(t,e){t=G.lookupPath(t,{follow:!e}).node;if(!t)throw new G.ErrnoError(44);if(t.node_ops.getattr)return t.node_ops.getattr(t);throw new G.ErrnoError(63)},lstat:function(t){return G.stat(t,!0)},chmod:function(t,e,r){if(!(r="string"==typeof t?G.lookupPath(t,{follow:!r}).node:t).node_ops.setattr)throw new G.ErrnoError(63);r.node_ops.setattr(r,{mode:4095&e|-4096&r.mode,timestamp:Date.now()})},lchmod:function(t,e){G.chmod(t,e,!0)},fchmod:function(t,e){t=G.getStreamChecked(t);G.chmod(t.node,e)},chown:function(t,e,r,n){if(!(n="string"==typeof t?G.lookupPath(t,{follow:!n}).node:t).node_ops.setattr)throw new G.ErrnoError(63);n.node_ops.setattr(n,{timestamp:Date.now()})},lchown:function(t,e,r){G.chown(t,e,r,!0)},fchown:function(t,e,r){t=G.getStreamChecked(t);G.chown(t.node,e,r)},truncate:function(t,e){if(e<0)throw new G.ErrnoError(28);if(!(t="string"==typeof t?G.lookupPath(t,{follow:!0}).node:t).node_ops.setattr)throw new G.ErrnoError(63);if(G.isDir(t.mode))throw new G.ErrnoError(31);if(!G.isFile(t.mode))throw new G.ErrnoError(28);var r=G.nodePermissions(t,"w");if(r)throw new G.ErrnoError(r);t.node_ops.setattr(t,{size:e,timestamp:Date.now()})},ftruncate:function(t,e){t=G.getStreamChecked(t);if(0==(2097155&t.flags))throw new G.ErrnoError(28);G.truncate(t.node,e)},utime:function(t,e,r){t=G.lookupPath(t,{follow:!0}).node;t.node_ops.setattr(t,{timestamp:Math.max(e,r)})},open:function(t,e,r){if(""===t)throw new G.ErrnoError(44);if(r=void 0===r?438:r,r=64&(e="string"==typeof e?function(t){var e={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[t];if(void 0===e)throw new Error("Unknown file open mode: ".concat(t));return e}(e):e)?4095&r|32768:0,"object"==an(t))n=t;else{t=w.normalize(t);try{var n=G.lookupPath(t,{follow:!(131072&e)}).node}catch(t){}}var a=!1;if(64&e)if(n){if(128&e)throw new G.ErrnoError(20)}else n=G.mknod(t,r,0),a=!0;if(!n)throw new G.ErrnoError(44);if(G.isChrdev(n.mode)&&(e&=-513),65536&e&&!G.isDir(n.mode))throw new G.ErrnoError(54);if(!a){r=G.mayOpen(n,e);if(r)throw new G.ErrnoError(r)}512&e&&!a&&G.truncate(n,0),e&=-131713;r=G.createStream({node:n,path:G.getPath(n),flags:e,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return r.stream_ops.open&&r.stream_ops.open(r),!L.logReadFiles||1&e||(G.readFiles||(G.readFiles={}),t in G.readFiles)||(G.readFiles[t]=1),r},close:function(t){if(G.isClosed(t))throw new G.ErrnoError(8);t.getdents&&(t.getdents=null);try{t.stream_ops.close&&t.stream_ops.close(t)}catch(t){throw t}finally{G.closeStream(t.fd)}t.fd=null},isClosed:function(t){return null===t.fd},llseek:function(t,e,r){if(G.isClosed(t))throw new G.ErrnoError(8);if(!t.seekable||!t.stream_ops.llseek)throw new G.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new G.ErrnoError(28);return t.position=t.stream_ops.llseek(t,e,r),t.ungotten=[],t.position},read:function(t,e,r,n,a){if(n<0||a<0)throw new G.ErrnoError(28);if(G.isClosed(t))throw new G.ErrnoError(8);if(1==(2097155&t.flags))throw new G.ErrnoError(8);if(G.isDir(t.node.mode))throw new G.ErrnoError(31);if(!t.stream_ops.read)throw new G.ErrnoError(28);var i=void 0!==a;if(i){if(!t.seekable)throw new G.ErrnoError(70)}else a=t.position;e=t.stream_ops.read(t,e,r,n,a);return i||(t.position+=e),e},write:function(t,e,r,n,a,i){if(n<0||a<0)throw new G.ErrnoError(28);if(G.isClosed(t))throw new G.ErrnoError(8);if(0==(2097155&t.flags))throw new G.ErrnoError(8);if(G.isDir(t.node.mode))throw new G.ErrnoError(31);if(!t.stream_ops.write)throw new G.ErrnoError(28);t.seekable&&1024&t.flags&&G.llseek(t,0,2);var o=void 0!==a;if(o){if(!t.seekable)throw new G.ErrnoError(70)}else a=t.position;e=t.stream_ops.write(t,e,r,n,a,i);return o||(t.position+=e),e},allocate:function(t,e,r){if(G.isClosed(t))throw new G.ErrnoError(8);if(e<0||r<=0)throw new G.ErrnoError(28);if(0==(2097155&t.flags))throw new G.ErrnoError(8);if(!G.isFile(t.node.mode)&&!G.isDir(t.node.mode))throw new G.ErrnoError(43);if(!t.stream_ops.allocate)throw new G.ErrnoError(138);t.stream_ops.allocate(t,e,r)},mmap:function(t,e,r,n,a){if(0!=(2&n)&&0==(2&a)&&2!=(2097155&t.flags))throw new G.ErrnoError(2);if(1==(2097155&t.flags))throw new G.ErrnoError(2);if(t.stream_ops.mmap)return t.stream_ops.mmap(t,e,r,n,a);throw new G.ErrnoError(43)},msync:function(t,e,r,n,a){return t.stream_ops.msync?t.stream_ops.msync(t,e,r,n,a):0},munmap:function(t){return 0},ioctl:function(t,e,r){if(t.stream_ops.ioctl)return t.stream_ops.ioctl(t,e,r);throw new G.ErrnoError(59)},readFile:function(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(r.flags=r.flags||0,r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error('Invalid encoding type "'.concat(r.encoding,'"'));var n=G.open(t,r.flags),t=G.stat(t).size,a=new Uint8Array(t);return G.read(n,a,0,t,0),"utf8"===r.encoding?e=p(a,0):"binary"===r.encoding&&(e=a),G.close(n),e},writeFile:function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},t=(r.flags=r.flags||577,G.open(t,r.flags,r.mode));if("string"==typeof e){var n=new Uint8Array(b(e)+1),a=Pt(e,n,0,n.length);G.write(t,n,0,a,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(e))throw new Error("Unsupported data type");G.write(t,e,0,e.byteLength,void 0,r.canOwn)}G.close(t)},cwd:function(){return G.currentPath},chdir:function(t){t=G.lookupPath(t,{follow:!0});if(null===t.node)throw new G.ErrnoError(44);if(!G.isDir(t.node.mode))throw new G.ErrnoError(54);var e=G.nodePermissions(t.node,"x");if(e)throw new G.ErrnoError(e);G.currentPath=t.path},createDefaultDirectories:function(){G.mkdir("/tmp"),G.mkdir("/home"),G.mkdir("/home/web_user")},createDefaultDevices:function(){G.mkdir("/dev"),G.registerDevice(G.makedev(1,3),{read:function(){return 0},write:function(t,e,r,n,a){return n}}),G.mkdev("/dev/null",G.makedev(1,3)),n.register(G.makedev(5,0),n.default_tty_ops),n.register(G.makedev(6,0),n.default_tty1_ops),G.mkdev("/dev/tty",G.makedev(5,0)),G.mkdev("/dev/tty1",G.makedev(6,0));function t(){return 0===r&&(r=Ft(e).byteLength),e[--r]}var e=new Uint8Array(1024),r=0;G.createDevice("/dev","random",t),G.createDevice("/dev","urandom",t),G.mkdir("/dev/shm"),G.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){G.mkdir("/proc");var e=G.mkdir("/proc/self");G.mkdir("/proc/self/fd"),G.mount({mount:function(){var t=G.createNode(e,"fd",16895,73);return t.node_ops={lookup:function(t,e){var r=G.getStreamChecked(+e),e={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return r.path}}};return e.parent=e}},t}},{},"/proc/self/fd")},createStandardStreams:function(){L.stdin?G.createDevice("/dev","stdin",L.stdin):G.symlink("/dev/tty","/dev/stdin"),L.stdout?G.createDevice("/dev","stdout",null,L.stdout):G.symlink("/dev/tty","/dev/stdout"),L.stderr?G.createDevice("/dev","stderr",null,L.stderr):G.symlink("/dev/tty1","/dev/stderr"),G.open("/dev/stdin",0),G.open("/dev/stdout",1),G.open("/dev/stderr",1)},ensureErrnoError:function(){G.ErrnoError||(G.ErrnoError=function(t,e){this.name="ErrnoError",this.node=e,this.setErrno=function(t){this.errno=t},this.setErrno(t),this.message="FS error"},G.ErrnoError.prototype=new Error,G.ErrnoError.prototype.constructor=G.ErrnoError,[44].forEach(function(t){G.genericErrors[t]=new G.ErrnoError(t),G.genericErrors[t].stack="<generic error, no stack>"}))},staticInit:function(){G.ensureErrnoError(),G.nameTable=new Array(4096),G.mount(D,{},"/"),G.createDefaultDirectories(),G.createDefaultDevices(),G.createSpecialDirectories(),G.filesystems={MEMFS:D,NODEFS:A,WORKERFS:T}},init:function(t,e,r){G.init.initialized=!0,G.ensureErrnoError(),L.stdin=t||L.stdin,L.stdout=e||L.stdout,L.stderr=r||L.stderr,G.createStandardStreams()},quit:function(){G.init.initialized=!1;for(var t=0;t<G.streams.length;t++){var e=G.streams[t];e&&G.close(e)}},findObject:function(t,e){t=G.analyzePath(t,e);return t.exists?t.object:null},analyzePath:function(t,e){try{t=(n=G.lookupPath(t,{follow:!e})).path}catch(t){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=G.lookupPath(t,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=w.basename(t),n=G.lookupPath(t,{follow:!e}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(t){r.error=t.errno}return r},createPath:function(t,e,r,n){t="string"==typeof t?t:G.getPath(t);for(var a=e.split("/").reverse();a.length;){var i=a.pop();if(i){var o=w.join2(t,i);try{G.mkdir(o)}catch(t){}t=o}}return o},createFile:function(t,e,r,n,a){t=w.join2("string"==typeof t?t:G.getPath(t),e),e=Mt(n,a);return G.create(t,e)},createDataFile:function(t,e,r,n,a,i){var o=e,e=(t&&(t="string"==typeof t?t:G.getPath(t),o=e?w.join2(t,e):t),Mt(n,a)),t=G.create(o,e);if(r){if("string"==typeof r){for(var s=new Array(r.length),u=0,c=r.length;u<c;++u)s[u]=r.charCodeAt(u);r=s}G.chmod(t,146|e);n=G.open(t,577);G.write(n,r,0,r.length,0,i),G.close(n),G.chmod(t,e)}},createDevice:function(t,e,u,o){var t=w.join2("string"==typeof t?t:G.getPath(t),e),e=Mt(!!u,!!o),r=(G.createDevice.major||(G.createDevice.major=64),G.makedev(G.createDevice.major++,0));return G.registerDevice(r,{open:function(t){t.seekable=!1},close:function(t){var e;null!=o&&null!=(e=o.buffer)&&e.length&&o(10)},read:function(t,e,r,n,a){for(var i,o=0,s=0;s<n;s++){try{i=u()}catch(t){throw new G.ErrnoError(29)}if(void 0===i&&0===o)throw new G.ErrnoError(6);if(null==i)break;o++,e[r+s]=i}return o&&(t.node.timestamp=Date.now()),o},write:function(t,e,r,n,a){for(var i=0;i<n;i++)try{o(e[r+i])}catch(t){throw new G.ErrnoError(29)}return n&&(t.node.timestamp=Date.now()),i}}),G.mkdev(t,e,r)},forceLoadFile:function(t){if(t.isDevice||t.isFolder||t.link||t.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!H)throw new Error("Cannot load without read() or XMLHttpRequest.");try{t.contents=Rt(H(t.url),!0),t.usedBytes=t.contents.length}catch(t){throw new G.ErrnoError(29)}},createLazyFile:function(t,e,o,r,n){function a(){this.lengthKnown=!1,this.chunks=[]}if(a.prototype.get=function(t){var e;if(!(t>this.length-1||t<0))return e=t%this.chunkSize,t=t/this.chunkSize|0,this.getter(t)[e]},a.prototype.setDataGetter=function(t){this.getter=t},a.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",o,!1),t.send(null),!(200<=t.status&&t.status<300||304===t.status))throw new Error("Couldn't load "+o+". Status: "+t.status);var e,n=Number(t.getResponseHeader("Content-length")),r=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,t=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576,i=(r||(a=n),this);i.setDataGetter(function(t){var e=t*a,r=(t+1)*a-1,r=Math.min(r,n-1);if(void 0===i.chunks[t]&&(i.chunks[t]=function(t,e){if(e<t)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(n-1<e)throw new Error("only "+n+" bytes available! programmer error!");var r=new XMLHttpRequest;if(r.open("GET",o,!1),n!==a&&r.setRequestHeader("Range","bytes="+t+"-"+e),r.responseType="arraybuffer",r.overrideMimeType&&r.overrideMimeType("text/plain; charset=x-user-defined"),r.send(null),200<=r.status&&r.status<300||304===r.status)return void 0!==r.response?new Uint8Array(r.response||[]):Rt(r.responseText||"",!0);throw new Error("Couldn't load "+o+". Status: "+r.status)}(e,r)),void 0===i.chunks[t])throw new Error("doXHR failed!");return i.chunks[t]}),!t&&n||(a=n=1,n=this.getter(0).length,a=n,at("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!f)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var i=new a,i=(Object.defineProperties(i,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}}),{isDevice:!1,contents:i})}else i={isDevice:!1,url:o};var s=G.createFile(t,e,i,r,n),u=(i.contents?s.contents=i.contents:i.url&&(s.contents=null,s.url=i.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}}),{});function c(t,e,r,n,a){var i=t.node.contents;if(a>=i.length)return 0;var o=Math.min(i.length-a,n);if(i.slice)for(var s=0;s<o;s++)e[r+s]=i[a+s];else for(s=0;s<o;s++)e[r+s]=i.get(a+s);return o}return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){return G.forceLoadFile(s),e.apply(null,arguments)}}),u.read=function(t,e,r,n,a){return G.forceLoadFile(s),c(t,e,r,n,a)},u.mmap=function(t,e,r,n,a){G.forceLoadFile(s);var i=kt(e);if(i)return c(t,h,i,e,r),{ptr:i,allocated:!0};throw new G.ErrnoError(48)},s.stream_ops=u,s}},O={DEFAULT_POLLMASK:5,calculateAt:function(t,e,r){if(w.isAbs(e))return e;if(t=-100===t?G.cwd():O.getStreamFromFD(t).path,0!=e.length)return w.join2(t,e);if(r)return t;throw new G.ErrnoError(44)},doStat:function(t,e,r){try{var n=t(e)}catch(t){if(t&&t.node&&w.normalize(e)!==w.normalize(G.getPath(t.node)))return-54;throw t}g[r>>2]=n.dev,g[r+4>>2]=n.mode,y[r+8>>2]=n.nlink,g[r+12>>2]=n.uid,g[r+16>>2]=n.gid,g[r+20>>2]=n.rdev,d=[n.size>>>0,(l=n.size,1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[r+24>>2]=d[0],g[r+28>>2]=d[1],g[r+32>>2]=4096,g[r+36>>2]=n.blocks;var t=n.atime.getTime(),e=n.mtime.getTime(),a=n.ctime.getTime();return d=[Math.floor(t/1e3)>>>0,(l=Math.floor(t/1e3),1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[r+40>>2]=d[0],g[r+44>>2]=d[1],y[r+48>>2]=t%1e3*1e3,d=[Math.floor(e/1e3)>>>0,(l=Math.floor(e/1e3),1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[r+56>>2]=d[0],g[r+60>>2]=d[1],y[r+64>>2]=e%1e3*1e3,d=[Math.floor(a/1e3)>>>0,(l=Math.floor(a/1e3),1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[r+72>>2]=d[0],g[r+76>>2]=d[1],y[r+80>>2]=a%1e3*1e3,d=[n.ino>>>0,(l=n.ino,1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[r+88>>2]=d[0],g[r+92>>2]=d[1],0},doMsync:function(t,e,r,n,a){if(!G.isFile(e.node.mode))throw new G.ErrnoError(43);if(2&n)return 0;t=s.slice(t,t+r);G.msync(e,t,a,r,n)},varargs:void 0,get:function(){var t=g[+O.varargs>>2];return O.varargs+=4,t},getp:function(){return O.get()},getStr:function(t){return E(t)},getStreamFromFD:function(t){return G.getStreamChecked(t)}};function S(t,e){return e+2097152>>>0<4194305-!!t?(t>>>0)+4294967296*e:NaN}function Bt(t){g[ve()>>2]=t}var Ut=function(t,e,r){return Pt(t,s,e,r)},N={BUCKET_BUFFER_SIZE:8192,mount:function(t){return G.createNode(null,"/",16895,0)},createPipe:function(){var t={buckets:[],refcnt:2},e=(t.buckets.push({buffer:new Uint8Array(N.BUCKET_BUFFER_SIZE),offset:0,roffset:0}),N.nextname()),r=N.nextname(),n=G.createNode(N.root,e,4096,0),a=G.createNode(N.root,r,4096,0),t=(n.pipe=t,a.pipe=t,G.createStream({path:e,node:n,flags:0,seekable:!1,stream_ops:N.stream_ops})),e=(n.stream=t,G.createStream({path:r,node:a,flags:1,seekable:!1,stream_ops:N.stream_ops}));return a.stream=e,{readable_fd:t.fd,writable_fd:e.fd}},stream_ops:{poll:function(t){var e=t.node.pipe;if(1==(2097155&t.flags))return 260;if(0<e.buckets.length)for(var r=0;r<e.buckets.length;r++){var n=e.buckets[r];if(0<n.offset-n.roffset)return 65}return 0},ioctl:function(t,e,r){return 28},fsync:function(t){return 28},read:function(t,e,r,n,a){for(var i=t.node.pipe,o=0,s=0;s<i.buckets.length;s++){var u=i.buckets[s];o+=u.offset-u.roffset}var c=e.subarray(r,r+n);if(n<=0)return 0;if(0==o)throw new G.ErrnoError(6);for(var f=Math.min(o,n),t=f,l=0,s=0;s<i.buckets.length;s++){var d=i.buckets[s],h=d.offset-d.roffset;if(f<=h){var m=d.buffer.subarray(d.roffset,d.offset);f<h?(m=m.subarray(0,f),d.roffset+=f):l++,c.set(m);break}m=d.buffer.subarray(d.roffset,d.offset);c.set(m),c=c.subarray(m.byteLength),f-=m.byteLength,l++}return l&&l==i.buckets.length&&(i.buckets[--l].offset=0,i.buckets[l].roffset=0),i.buckets.splice(0,l),t},write:function(t,e,r,n,a){var i=t.node.pipe,o=e.subarray(r,r+n),t=o.byteLength;if(t<=0)return 0;e=null,0==i.buckets.length?(e={buffer:new Uint8Array(N.BUCKET_BUFFER_SIZE),offset:0,roffset:0},i.buckets.push(e)):e=i.buckets[i.buckets.length-1],ot(e.offset<=N.BUCKET_BUFFER_SIZE),r=N.BUCKET_BUFFER_SIZE-e.offset;if(t<=r)e.buffer.set(o,e.offset),e.offset+=t;else{0<r&&(e.buffer.set(o.subarray(0,r),e.offset),e.offset+=r,o=o.subarray(r,o.byteLength));for(var s=o.byteLength/N.BUCKET_BUFFER_SIZE|0,n=o.byteLength%N.BUCKET_BUFFER_SIZE,u=0;u<s;u++){var c={buffer:new Uint8Array(N.BUCKET_BUFFER_SIZE),offset:N.BUCKET_BUFFER_SIZE,roffset:0};i.buckets.push(c),c.buffer.set(o.subarray(0,N.BUCKET_BUFFER_SIZE)),o=o.subarray(N.BUCKET_BUFFER_SIZE,o.byteLength)}0<n&&(c={buffer:new Uint8Array(N.BUCKET_BUFFER_SIZE),offset:o.byteLength,roffset:0},i.buckets.push(c),c.buffer.set(o))}return t},close:function(t){t=t.node.pipe;t.refcnt--,0===t.refcnt&&(t.buckets=null)}},nextname:function(){return N.nextname.current||(N.nextname.current=0),"pipe["+N.nextname.current+++"]"}};function Kt(t){return y[t>>2]+4294967296*g[t+4>>2]}function zt(t){return(Wt(t.getFullYear())?Vt:Yt)[t.getMonth()]+t.getDate()-1}var Wt=function(t){return t%4==0&&(t%100!=0||t%400==0)},Vt=[0,31,60,91,121,152,182,213,244,274,305,335],Yt=[0,31,59,90,120,151,181,212,243,273,304,334];function Ht(t){var e=b(t)+1,r=be(e);return r&&Ut(t,r,e),r}function Xt(){return 2147483648}function qt(){if(!qt.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==("undefined"==typeof navigator?"undefined":an(navigator))&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ee()};for(e in te)void 0===te[e]?delete t[e]:t[e]=te[e];var e,r=[];for(e in t)r.push("".concat(e,"=").concat(t[e]));qt.strings=r}return qt.strings}function Qt(t){var e;ne()||(null!=(e=L.onExit)&&e.call(L,t),it=!0),Z(t,new vt(t))}function Zt(t,e){Qt(t)}var Jt=Xt,$t=function(){return performance.now()},te={},ee=function(){return Q||"./this.program"},re=0,ne=function(){return Dt||0<re};function ae(t,e,r,n){for(var a=0,i=0;i<r;i++){var o=y[e>>2],s=y[e+4>>2],o=(e+=8,G.read(t,h,o,s,n));if(o<0)return-1;if(a+=o,o<s)break;void 0!==n&&(n+=o)}return a}function ie(t,e){h.set(t,e)}function oe(t,e,r,n){var a=y[n+40>>2],i={tm_sec:g[n>>2],tm_min:g[n+4>>2],tm_hour:g[n+8>>2],tm_mday:g[n+12>>2],tm_mon:g[n+16>>2],tm_year:g[n+20>>2],tm_wday:g[n+24>>2],tm_yday:g[n+28>>2],tm_isdst:g[n+32>>2],tm_gmtoff:g[n+36>>2],tm_zone:a?E(a):""},o=E(r),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(p in s)o=o.replace(new RegExp(p,"g"),s[p]);var u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],c=["January","February","March","April","May","June","July","August","September","October","November","December"];function f(t,e,r){for(var n="number"==typeof t?t.toString():t||"";n.length<e;)n=r[0]+n;return n}function l(t,e){return f(t,e,"0")}function d(t,e){function r(t){return t<0?-1:0<t?1:0}var n;return n=0===(n=r(t.getFullYear()-e.getFullYear()))&&0===(n=r(t.getMonth()-e.getMonth()))?r(t.getDate()-e.getDate()):n}function h(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function m(t){var t=function(t,e){for(var r=new Date(t.getTime());0<e;){var n=Wt(r.getFullYear()),a=r.getMonth(),n=(n?he:me)[a];if(!(e>n-r.getDate()))return r.setDate(r.getDate()+e),r;e-=n-r.getDate()+1,r.setDate(1),a<11?r.setMonth(a+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}(new Date(t.tm_year+1900,0,1),t.tm_yday),e=new Date(t.getFullYear(),0,4),r=new Date(t.getFullYear()+1,0,4),e=h(e),r=h(r);return d(e,t)<=0?d(r,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var p,_={"%a":function(t){return u[t.tm_wday].substring(0,3)},"%A":function(t){return u[t.tm_wday]},"%b":function(t){return c[t.tm_mon].substring(0,3)},"%B":function(t){return c[t.tm_mon]},"%C":function(t){return l((t.tm_year+1900)/100|0,2)},"%d":function(t){return l(t.tm_mday,2)},"%e":function(t){return f(t.tm_mday,2," ")},"%g":function(t){return m(t).toString().substring(2)},"%G":m,"%H":function(t){return l(t.tm_hour,2)},"%I":function(t){t=t.tm_hour;return 0==t?t=12:12<t&&(t-=12),l(t,2)},"%j":function(t){return l(t.tm_mday+function(t,e){for(var r=0,n=0;n<=e;r+=t[n++]);return r}(Wt(t.tm_year+1900)?he:me,t.tm_mon-1),3)},"%m":function(t){return l(t.tm_mon+1,2)},"%M":function(t){return l(t.tm_min,2)},"%n":function(){return"\n"},"%p":function(t){return 0<=t.tm_hour&&t.tm_hour<12?"AM":"PM"},"%S":function(t){return l(t.tm_sec,2)},"%t":function(){return"\t"},"%u":function(t){return t.tm_wday||7},"%U":function(t){t=t.tm_yday+7-t.tm_wday;return l(Math.floor(t/7),2)},"%V":function(t){var e,r=Math.floor((t.tm_yday+7-(t.tm_wday+6)%7)/7);return(t.tm_wday+371-t.tm_yday-2)%7<=2&&r++,r?53!=r||4==(e=(t.tm_wday+371-t.tm_yday)%7)||3==e&&Wt(t.tm_year)||(r=1):(r=52,(4==(e=(t.tm_wday+7-t.tm_yday-1)%7)||5==e&&Wt(t.tm_year%400-1))&&r++),l(r,2)},"%w":function(t){return t.tm_wday},"%W":function(t){t=t.tm_yday+7-(t.tm_wday+6)%7;return l(Math.floor(t/7),2)},"%y":function(t){return(t.tm_year+1900).toString().substring(2)},"%Y":function(t){return t.tm_year+1900},"%z":function(t){var e=0<=(t=t.tm_gmtoff),t=Math.abs(t)/60;return(e?"+":"-")+String("0000"+(t/60*100+t%60)).slice(-4)},"%Z":function(t){return t.tm_zone},"%%":function(){return"%"}},o=o.replace(/%%/g,"\0\0");for(p in _)o.includes(p)&&(o=o.replace(new RegExp(p,"g"),_[p](i)));return(n=Rt(o=o.replace(/\0\0/g,"%"),!1)).length>e?0:(ie(n,t),n.length-1)}function se(t){return L["_"+t]}function ue(t,e,r,n,a){var i={string:function(t){var e,r,n=0;return null!=t&&0!==t&&(e=b(t=t)+1,r=Te(e),Ut(t,r,e),n=r),n},array:function(t){var e=Te(t.length);return ie(t,e),e}},t=se(t),o=[],s=0;if(n)for(var u=0;u<n.length;u++){var c=i[r[u]];c?(0===s&&(s=P()),o[u]=c(n[u])):o[u]=n[u]}return t=t=t.apply(null,o),0!==s&&R(s),t=t,"string"===e?E(t):"boolean"===e?Boolean(t):t}function ce(t,e){_.set(t,e),Tt[t]=_.get(t)}function fe(t,e,r,n){this.parent=t=t||this,this.mount=t.mount,this.mounted=null,this.id=G.nextInode++,this.name=e,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n}var le,de,he=[31,29,31,30,31,30,31,31,30,31,30,31],me=[31,28,31,30,31,30,31,31,30,31,30,31],pe=function(t,e){t<128?e.push(t):e.push(t%128|128,t>>7)},_e=function(t){for(var e={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"},r={parameters:[],results:"v"==t[0]?[]:[e[t[0]]]},n=1;n<t.length;++n)r.parameters.push(e[t[n]]);return r},ge=function(t,e){var r=t.slice(0,1),n=t.slice(1),a={i:127,p:127,j:126,f:125,d:124,e:111};e.push(96),pe(n.length,e);for(var i=0;i<n.length;++i)e.push(a[n[i]]);"v"==r?e.push(0):e.push(1,a[r])},ye=function(t,e){if(le)for(var r=t;r<t+e;r++){var n=C(r);n&&le.set(n,r)}},Ee=[],we=(Object.defineProperties(fe.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return G.isDir(this.mode)}},isDevice:{get:function(){return G.isChrdev(this.mode)}}}),G.FSNode=fe,G.createPreloadedFile=function(s,u,t,c,f,l,d,h,m,p){var e,r,n,a,i,_=u?v.resolve(w.join2(s,u)):s;function o(t){function e(t){null!=p&&p(),h||G.createDataFile(s,u,t,c,f,m),null!=l&&l(),pt()}var r,n,a,i,o;r=t,n=_,a=e,i=function(){null!=d&&d(),pt()},"undefined"!=typeof Browser&&Browser.init(),o=!1,It.forEach(function(t){o||t.canHandle(n)&&(t.handle(r,n,a,i),o=!0)}),o||e(t)}mt(),"string"==typeof t?(e=t,r=function(t){o(t)},n=d,i=a?"":"al ".concat(e),q(e,function(t){ot(t,'Loading data file "'.concat(e,'" failed (no arrayBuffer).')),r(new Uint8Array(t)),i&&pt()},function(t){if(!n)throw'Loading data file "'.concat(e,'" failed.');n()}),i&&mt()):o(t)},G.staticInit(),L.FS_createPath=G.createPath,L.FS_createDataFile=G.createDataFile,L.FS_createPreloadedFile=G.createPreloadedFile,L.FS_unlink=G.unlink,L.FS_createLazyFile=G.createLazyFile,L.FS_createDevice=G.createDevice,$&&A.staticInit(),{y:function(t,e,r,n){a("Assertion failed: ".concat(E(t),", at: ")+[e?E(e):"unknown filename",r,n?E(n):"unknown function"])},Ke:function(t,e){return C(t)(e)},p:function(t){t=new Ot(t);return t.get_caught()||(t.set_caught(!0),Ct--),t.set_rethrown(!1),Lt.push(t),Le(t.excPtr),t.get_exception_ptr()},v:function(){j(0,0);var t=Lt.pop();Ce(t.excPtr),Gt=0},a:function(){return St([])},i:function(t){return St([t])},x:function(t,e){return St([t,e])},Ab:function(){var t=Lt.pop(),e=(t||a("no exception to throw"),t.excPtr);throw t.get_rethrown()||(Lt.push(t),t.set_rethrown(!0),t.set_caught(!1),Ct++),Gt=e},B:function(t,e,r){throw new Ot(t).init(e,r),Ct++,Gt=t},xc:function(){return Ct},e:function(t){throw Gt=Gt||t},ic:function(t,e){try{return t=O.getStr(t),G.chmod(t,e),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},af:function(t,e,r){try{var n,a=O.getStreamFromFD(t);return a.fd===e?-28:((n=G.getStream(e))&&G.close(n),G.createStream(a,e).fd)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},qc:function(t,e,r,n){try{var a,i;return(e=O.getStr(e),e=O.calculateAt(t,e),-8&r)?-28:(a=G.lookupPath(e,{follow:!0}).node)?(i="",4&r&&(i+="r"),2&r&&(i+="w"),1&r&&(i+="x"),i&&G.nodePermissions(a,i)?-2:0):-44}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},Rd:function(t,e,r,n,a,i){var o,r=S(r,n),n=S(a,i);try{return isNaN(r)?61:(o=O.getStreamFromFD(t),G.allocate(o,r,n),0)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},jc:function(t,e){try{return G.fchmod(t,e),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},hc:function(t,e,r){try{return G.fchown(t,e,r),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},ua:function(t,e,r){O.varargs=r;try{var n=O.getStreamFromFD(t);switch(e){case 0:if((a=O.get())<0)return-28;for(;G.streams[a];)a++;return G.createStream(n,a).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var a=O.get();return n.flags|=a,0;case 5:a=O.getp();return m[a+0>>1]=2,0;case 6:case 7:return 0;case 16:case 8:return-28;case 9:return Bt(28),-1;default:return-28}}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},lc:function(t){try{O.getStreamFromFD(t);return 0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},je:function(t,e){try{var r=O.getStreamFromFD(t);return O.doStat(G.stat,r.path,e)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},be:function(t,e,r){e=S(e,r);try{return isNaN(e)?61:(G.ftruncate(t,e),0)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},yc:function(t,e){try{var r,n;return 0===e?-28:(r=G.cwd(),e<(n=b(r)+1)?-68:(Ut(r,t,e),n))}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},sc:function(t,e,r){try{for(var n=O.getStreamFromFD(t),a=(n.getdents||(n.getdents=G.readdir(n.path)),0),i=G.llseek(n,0,1),o=Math.floor(i/280);o<n.getdents.length&&a+280<=r;){var s,u,c,f=n.getdents[o];u="."===f?(s=n.node.id,4):".."===f?(s=G.lookupPath(n.path,{parent:!0}).node.id,4):(s=(c=G.lookupNode(n.node,f)).id,G.isChrdev(c.mode)?2:G.isDir(c.mode)?4:G.isLink(c.mode)?10:8),d=[s>>>0,(l=s,1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[e+a>>2]=d[0],g[e+a+4>>2]=d[1],d=[280*(o+1)>>>0,(l=280*(o+1),1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[e+a+8>>2]=d[0],g[e+a+12>>2]=d[1],m[e+a+16>>1]=280,h[e+a+18>>0]=u,Ut(f,e+a+19,256),a+=280,o+=1}return G.llseek(n,280*o,0),a}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},ue:function(t,e,r){O.varargs=r;try{var n,a=O.getStreamFromFD(t);switch(e){case 21509:return a.tty?0:-59;case 21505:if(!a.tty)return-59;if(a.tty.ops.ioctl_tcgets){var i=a.tty.ops.ioctl_tcgets(a),o=O.getp();g[o>>2]=i.c_iflag||0,g[o+4>>2]=i.c_oflag||0,g[o+8>>2]=i.c_cflag||0,g[o+12>>2]=i.c_lflag||0;for(var s=0;s<32;s++)h[o+s+17>>0]=i.c_cc[s]||0}return 0;case 21510:case 21511:case 21512:return a.tty?0:-59;case 21506:case 21507:case 21508:if(!a.tty)return-59;if(a.tty.ops.ioctl_tcsets){for(var o=O.getp(),u=g[o>>2],c=g[o+4>>2],f=g[o+8>>2],l=g[o+12>>2],d=[],s=0;s<32;s++)d.push(h[o+s+17>>0]);return a.tty.ops.ioctl_tcsets(a.tty,e,{c_iflag:u,c_oflag:c,c_cflag:f,c_lflag:l,c_cc:d})}return 0;case 21519:return a.tty?(o=O.getp(),g[o>>2]=0):-59;case 21520:return a.tty?-28:-59;case 21531:o=O.getp();return G.ioctl(a,e,o);case 21523:return a.tty?(a.tty.ops.ioctl_tiocgwinsz&&(n=a.tty.ops.ioctl_tiocgwinsz(a.tty),o=O.getp(),m[o>>1]=n[0],m[o+2>>1]=n[1]),0):-59;case 21524:case 21515:return a.tty?0:-59;default:return-28}}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},Fd:function(t,e){try{return t=O.getStr(t),O.doStat(G.lstat,t,e)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},uc:function(t,e,r){try{return e=O.getStr(e),e=O.calculateAt(t,e),"/"===(e=w.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),G.mkdir(e,r,0),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},Qd:function(t,e,r,n){try{e=O.getStr(e);var a=256&n,i=4096&n;return n&=-6401,e=O.calculateAt(t,e,i),O.doStat(a?G.lstat:G.stat,e,r)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},Sb:function(t,e,r,n){O.varargs=n;try{e=O.getStr(e),e=O.calculateAt(t,e);var a=n?O.get():0;return G.open(e,r,a).fd}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},bf:function(t){try{if(0==t)throw new G.ErrnoError(21);var e=N.createPipe();return g[t>>2]=e.readable_fd,g[t+4>>2]=e.writable_fd,0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},gc:function(t,e,r,n){try{var a,i,o;return(e=O.getStr(e),e=O.calculateAt(t,e),n<=0)?-28:(a=G.readlink(e),i=Math.min(n,b(a)),o=h[r+i],Ut(a,r,n+1),h[r+i]=o,i)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},vc:function(t,e,r,n){try{return e=O.getStr(e),n=O.getStr(n),e=O.calculateAt(t,e),n=O.calculateAt(r,n),G.rename(e,n),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},tc:function(t){try{return t=O.getStr(t),G.rmdir(t),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},$d:function(t,e){try{return t=O.getStr(t),O.doStat(G.stat,t,e)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},rc:function(t,e,r){try{return t=O.getStr(t),g[r+4>>2]=4096,g[r+40>>2]=4096,g[r+8>>2]=1e6,g[r+12>>2]=5e5,g[r+16>>2]=5e5,g[r+20>>2]=G.nextInode,g[r+24>>2]=1e6,g[r+28>>2]=42,g[r+44>>2]=2,g[r+36>>2]=255,0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},wc:function(t,e,r){try{return e=O.getStr(e),e=O.calculateAt(t,e),0===r?G.unlink(e):512===r?G.rmdir(e):a("Invalid flags passed to unlinkat"),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},kc:function(t,e,r,n){try{var a,i;return e=O.getStr(e),e=O.calculateAt(t,e,!0),i=r?(a=1e3*Kt(r)+g[r+8>>2]/1e6,1e3*Kt(r+=16)+g[r+8>>2]/1e6):a=Date.now(),G.utime(e,a,i),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},Ie:function(){return 1},Le:function(){Dt=!1,re=0},Ue:function(){throw 1/0},ge:function(t,e,r){var t=S(t,e),e=new Date(1e3*t),t=(g[r>>2]=e.getSeconds(),g[r+4>>2]=e.getMinutes(),g[r+8>>2]=e.getHours(),g[r+12>>2]=e.getDate(),g[r+16>>2]=e.getMonth(),g[r+20>>2]=e.getFullYear()-1900,g[r+24>>2]=e.getDay(),0|zt(e)),t=(g[r+28>>2]=t,g[r+36>>2]=-60*e.getTimezoneOffset(),new Date(e.getFullYear(),0,1)),n=new Date(e.getFullYear(),6,1).getTimezoneOffset(),t=t.getTimezoneOffset(),e=0|(n!=t&&e.getTimezoneOffset()==Math.min(t,n));g[r+32>>2]=e},he:function(t){e=new Date(g[t+20>>2]+1900,g[t+16>>2],g[t+12>>2],g[t+8>>2],g[t+4>>2],g[t>>2],0),r=g[t+32>>2],n=e.getTimezoneOffset(),o=new Date(e.getFullYear(),0,1),a=new Date(e.getFullYear(),6,1).getTimezoneOffset(),o=o.getTimezoneOffset(),i=Math.min(o,a),r<0?g[t+32>>2]=Number(a!=o&&i==n):0<r!=(i==n)&&(o=Math.max(o,a),a=0<r?i:o,e.setTime(e.getTime()+6e4*(a-n))),g[t+24>>2]=e.getDay(),r=0|zt(e),g[t+28>>2]=r,g[t>>2]=e.getSeconds(),g[t+4>>2]=e.getMinutes(),g[t+8>>2]=e.getHours(),g[t+12>>2]=e.getDate(),g[t+16>>2]=e.getMonth(),g[t+20>>2]=e.getYear(),i=e.getTime();var e,r,n,a,i,o=isNaN(i)?(Bt(61),-1):i/1e3;return Ae((l=o,1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)),o>>>0},Od:function(t,e,r,n,a,i,o,s){var u,c,f,a=S(a,i);try{return isNaN(a)?61:(u=O.getStreamFromFD(n),f=(c=G.mmap(u,t,a,e,r)).ptr,g[o>>2]=c.allocated,y[s>>2]=f,0)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},Pd:function(t,e,r,n,a,i,o){i=S(i,o);try{if(isNaN(i))return 61;var s=O.getStreamFromFD(a);2&r&&O.doMsync(t,s,e,n,i),G.munmap(s)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return-t.errno}},ud:function(t,e,r){var n=(new Date).getFullYear(),a=new Date(n,0,1),n=new Date(n,6,1),i=a.getTimezoneOffset(),o=n.getTimezoneOffset(),s=Math.max(i,o);function u(t){t=t.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}y[t>>2]=60*s,g[e>>2]=Number(i!=o);t=u(a),s=u(n),e=Ht(t),a=Ht(s);o<i?(y[r>>2]=e,y[r+4>>2]=a):(y[r>>2]=a,y[r+4>>2]=e)},_:function(){a("")},$a:function(){return Date.now()},Oe:Jt,ob:$t,De:function(t,e,r){return s.copyWithin(t,e,e+r)},ff:function(t){var e=s.length,r=(t>>>=0,Xt());if(!(r<t))for(var n,a=1;a<=4;a*=2){var i=e*(1+.2/a),i=Math.min(i,t+100663296);if(function(t){t=(t-et.buffer.byteLength+65535)/65536;try{return et.grow(t),st(),1}catch(t){}}(Math.min(r,(i=Math.max(t,i))+((n=65536)-i%n)%n)))return!0}return!1},nc:function(o,s){var u=0;return qt().forEach(function(t,e){for(var r=s+u,n=(y[o+4*e>>2]=r,t),a=r,i=0;i<n.length;++i)h[a++>>0]=n.charCodeAt(i);h[a>>0]=0,u+=t.length+1}),0},oc:function(t,e){var r=qt(),n=(y[t>>2]=r.length,0);return r.forEach(function(t){return n+=t.length+1}),y[e>>2]=n,0},wa:Zt,Sa:function(t){try{var e=O.getStreamFromFD(t);return G.close(e),0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return t.errno}},Yb:function(t,e){try{var r=O.getStreamFromFD(t),n=r.tty?2:G.isDir(r.mode)?3:G.isLink(r.mode)?7:4;return h[e>>0]=n,m[e+2>>1]=0,d=[0,(l=0,1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[e+8>>2]=d[0],g[e+12>>2]=d[1],d=[0,(l=0,1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[e+16>>2]=d[0],g[e+20>>2]=d[1],0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return t.errno}},ae:function(t,e,r,n,a,i){var o,s,n=S(n,a);try{return isNaN(n)?61:(o=O.getStreamFromFD(t),s=ae(o,e,r,n),y[i>>2]=s,0)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return t.errno}},Gb:function(t,e,r,n){try{var a=O.getStreamFromFD(t),i=ae(a,e,r);return y[n>>2]=i,0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return t.errno}},ie:function(t,e,r,n,a){var i,e=S(e,r);try{return isNaN(e)?61:(i=O.getStreamFromFD(t),G.llseek(i,e,n),d=[i.position>>>0,(l=i.position,1<=+Math.abs(l)?0<l?+Math.floor(l/4294967296)>>>0:~~+Math.ceil((l-(~~l>>>0))/4294967296)>>>0:0)],g[a>>2]=d[0],g[a+4>>2]=d[1],i.getdents&&0===e&&0===n&&(i.getdents=null),0)}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return t.errno}},sb:function(t,e,r,n){try{var a=function(t,e,r,n){for(var a=0,i=0;i<r;i++){var o=y[e>>2],s=y[e+4>>2],o=(e+=8,G.write(t,h,o,s,n));if(o<0)return-1;a+=o,void 0!==n&&(n+=o)}return a}(O.getStreamFromFD(t),e,r);return y[n>>2]=a,0}catch(t){if(void 0===G||"ErrnoError"!==t.name)throw t;return t.errno}},df:function(t,e){return Ft(s.subarray(t,t+e)),0},ac:function(t,e){var r=P();try{return C(t)(e)}catch(t){if(R(r),t!==t+0)throw t;j(1,0)}},cb:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},rb:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},We:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},m:function(t,e){var r=P();try{return C(t)(e)}catch(t){if(R(r),t!==t+0)throw t;j(1,0)}},X:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},u:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},Aa:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},A:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},D:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Ja:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},qa:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Zb:function(t,e,r,n,a,i,o,s,u){var c=P();try{return C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Hb:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},Ua:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},ma:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},t:function(t){var e=P();try{return C(t)()}catch(t){if(R(e),t!==t+0)throw t;j(1,0)}},ia:function(t,e){var r=P();try{return C(t)(e)}catch(t){if(R(r),t!==t+0)throw t;j(1,0)}},xe:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},Ha:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Ma:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Ve:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w,v,b,D,A){var T=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w,v,b,D,A)}catch(t){if(R(T),t!==t+0)throw t;j(1,0)}},ha:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},L:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},T:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},b:function(t,e){var r=P();try{return C(t)(e)}catch(t){if(R(r),t!==t+0)throw t;j(1,0)}},z:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},Q:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},S:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},O:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Z:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},ca:function(t,e,r,n,a,i,o,s){var u=P();try{return C(t)(e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},ra:function(t,e,r,n,a,i,o,s,u){var c=P();try{return C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Ya:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Ge:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},tb:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Te:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Me:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w){var v=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w)}catch(t){if(R(v),t!==t+0)throw t;j(1,0)}},$b:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},_a:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},Da:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},ya:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Wb:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},w:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Ee:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},c:function(t,e,r){var n=P();try{return C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},E:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Vb:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},fa:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Ea:function(t,e,r,n,a,i,o,s,u){var c=P();try{return C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},La:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},jb:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},Ze:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},Xb:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},hb:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g){var y=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g)}catch(t){if(R(y),t!==t+0)throw t;j(1,0)}},Ob:function(t,e,r,n,a,i,o,s,u){var c=P();try{return C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Rb:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},ub:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},md:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return mr(t,e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Xe:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Tb:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Ce:function(t,e,r,n,a,i,o,s){var u=P();try{return C(t)(e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},pa:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},Qa:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},V:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},ab:function(t,e,r,n,a,i,o,s,u){var c=P();try{return C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Pb:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},_b:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},d:function(t,e,r,n){var a=P();try{return C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Y:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},re:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},mb:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Za:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p){var _=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p)}catch(t){if(R(_),t!==t+0)throw t;j(1,0)}},Ia:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h){var m=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h)}catch(t){if(R(m),t!==t+0)throw t;j(1,0)}},Mb:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},Nb:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Ne:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Fa:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},pb:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},k:function(t,e,r,n,a){var i=P();try{return C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},Ba:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Se:function(t,e,r,n,a,i,o,s){var u=P();try{return C(t)(e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},Ib:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},pe:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Lb:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},aa:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},ef:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Ub:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},n:function(t,e,r,n,a,i){var o=P();try{return C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Wa:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Fb:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Ae:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g){var y=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g)}catch(t){if(R(y),t!==t+0)throw t;j(1,0)}},Be:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p){var _=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p)}catch(t){if(R(_),t!==t+0)throw t;j(1,0)}},_e:function(t,e,r,n,a,i,o,s,u){var c=P();try{return C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},se:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Ka:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Pa:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},s:function(t,e,r,n,a,i,o){var s=P();try{return C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Fe:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},ze:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},le:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h){var m=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h)}catch(t){if(R(m),t!==t+0)throw t;j(1,0)}},Re:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_){var g=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_)}catch(t){if(R(g),t!==t+0)throw t;j(1,0)}},te:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},ve:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},F:function(t,e,r,n,a,i,o,s){var u=P();try{return C(t)(e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},oe:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Va:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},Cb:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_){var g=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_)}catch(t){if(R(g),t!==t+0)throw t;j(1,0)}},we:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},H:function(t,e,r,n,a,i,o,s,u){var c=P();try{return C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Pe:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},Je:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Kb:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},M:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},ba:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},za:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h){var m=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h)}catch(t){if(R(m),t!==t+0)throw t;j(1,0)}},ea:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},va:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},la:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},ke:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h){var m=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h)}catch(t){if(R(m),t!==t+0)throw t;j(1,0)}},Ca:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h){var m=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h)}catch(t){if(R(m),t!==t+0)throw t;j(1,0)}},gb:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},Oa:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p){var _=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p)}catch(t){if(R(_),t!==t+0)throw t;j(1,0)}},pc:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y){var E=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y)}catch(t){if(R(E),t!==t+0)throw t;j(1,0)}},qe:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E){var w=P();try{return C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E)}catch(t){if(R(w),t!==t+0)throw t;j(1,0)}},zc:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g){var y=P();try{return rn(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g)}catch(t){if(R(y),t!==t+0)throw t;j(1,0)}},hd:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y){var E=P();try{return vr(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y)}catch(t){if(R(E),t!==t+0)throw t;j(1,0)}},yd:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E){var w=P();try{return ur(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E)}catch(t){if(R(w),t!==t+0)throw t;j(1,0)}},zd:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p){var _=P();try{return cr(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p)}catch(t){if(R(_),t!==t+0)throw t;j(1,0)}},Fc:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_){var g=P();try{return Jr(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_)}catch(t){if(R(g),t!==t+0)throw t;j(1,0)}},Oc:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return Wr(t,e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Xc:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{return Rr(t,e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},Yc:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{return Pr(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},Qc:function(t,e,r,n,a,i,o,s,u){var c=P();try{return Kr(t,e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},wd:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return gr(t,e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Uc:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return Ir(t,e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},sd:function(t,e,r,n,a,i,o,s){var u=P();try{return Xe(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},vd:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return pr(t,e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Gc:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return Ve(t,e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Cd:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return Er(t,e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Sd:function(t,e,r,n,a,i,o){var s=P();try{return We(t,e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Kd:function(t,e,r,n,a,i,o,s){var u=P();try{return nr(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},Nc:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return Vr(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Bd:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return fr(t,e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Rc:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return xr(t,e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Vc:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return Mr(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},qd:function(t,e,r,n,a,i){var o=P();try{return ke(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},ld:function(t,e,r,n,a,i,o){var s=P();try{return Qe(t,e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},gd:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return br(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},td:function(t,e,r,n,a,i,o,s,u){var c=P();try{return $e(t,e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Xd:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return Ke(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Yd:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return xe(t,e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Wd:function(t,e,r,n,a){var i=P();try{return Be(t,e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},rd:function(t,e,r,n,a,i){var o=P();try{return Me(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Dc:function(t,e,r,n,a,i,o){var s=P();try{return $r(t,e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},pd:function(t,e,r,n,a,i,o,s){var u=P();try{return dr(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},ad:function(t,e,r,n,a,i,o,s,u){var c=P();try{return Or(t,e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Hd:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{return Nr(t,e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Jd:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return ir(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Ad:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{return lr(t,e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},_c:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return Sr(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},cd:function(t,e,r,n,a,i,o){var s=P();try{return Cr(t,e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Wc:function(t,e,r,n,a,i,o,s,u){var c=P();try{return kr(t,e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},id:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return wr(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Zd:function(t,e,r,n){var a=P();try{return Pe(t,e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Pc:function(t,e,r,n,a,i,o,s){var u=P();try{return zr(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},_d:function(t,e,r,n,a){var i=P();try{return Fe(t,e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},nd:function(t,e,r,n,a,i){var o=P();try{return He(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Vd:function(t,e,r,n,a,i,o,s){var u=P();try{return Ue(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},Bb:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return Dr(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Ac:function(t,e,r,n,a,i){var o=P();try{return Re(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Jc:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{return qr(t,e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Dd:function(t,e,r){var n=P();try{return Ze(t,e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},Ud:function(t,e,r,n){var a=P();try{return Ie(t,e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Td:function(t){var e=P();try{return ze(t)}catch(t){if(R(e),t!==t+0)throw t;j(1,0)}},de:function(t,e){var r=P();try{return je(t,e)}catch(t){if(R(r),t!==t+0)throw t;j(1,0)}},ce:function(t,e,r){var n=P();try{return Ne(t,e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},Md:function(t,e,r,n){var a=P();try{return er(t,e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Kc:function(t,e,r,n,a){var i=P();try{return Zr(t,e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},fe:function(t,e,r,n,a){var i=P();try{return Se(t,e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},od:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w,v,b,D,A,T){var L=P();try{return hr(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w,v,b,D,A,T)}catch(t){if(R(L),t!==t+0)throw t;j(1,0)}},bd:function(t,e,r,n,a,i){var o=P();try{return Fr(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},$c:function(t,e,r,n,a,i,o,s){var u=P();try{return jr(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},Ic:function(t,e,r,n){var a=P();try{return or(t,e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Mc:function(t,e,r,n,a,i){var o=P();try{return Xr(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Cc:function(t,e,r,n){var a=P();try{return tn(t,e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},l:function(t){var e=P();try{C(t)()}catch(t){if(R(e),t!==t+0)throw t;j(1,0)}},ja:function(t,e){var r=P();try{C(t)(e)}catch(t){if(R(r),t!==t+0)throw t;j(1,0)}},ne:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Db:function(t,e,r,n,a){var i=P();try{C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},g:function(t,e){var r=P();try{C(t)(e)}catch(t){if(R(r),t!==t+0)throw t;j(1,0)}},R:function(t,e,r){var n=P();try{C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},I:function(t,e,r,n){var a=P();try{C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},W:function(t,e,r,n,a){var i=P();try{C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},da:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},vb:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},ye:function(t,e,r,n,a,i,o,s){var u=P();try{C(t)(e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},fb:function(t,e,r,n,a,i,o,s,u){var c=P();try{C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},kb:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},sa:function(t,e,r,n,a){var i=P();try{C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},N:function(t,e,r,n){var a=P();try{C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},lb:function(t,e,r,n,a){var i=P();try{C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},$:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Eb:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},h:function(t,e,r){var n=P();try{C(t)(e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},C:function(t,e,r,n){var a=P();try{C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},J:function(t,e,r,n,a){var i=P();try{C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},ga:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Ta:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Xa:function(t,e,r,n,a,i,o,s,u){var c=P();try{C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Ye:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},nb:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},bc:function(t,e,r,n,a){var i=P();try{C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},K:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},eb:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},f:function(t,e,r,n){var a=P();try{C(t)(e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},ka:function(t,e,r,n,a){var i=P();try{C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},bb:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},cf:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},j:function(t,e,r,n,a){var i=P();try{C(t)(e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},Ra:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},xa:function(t,e,r,n,a,i,o,s){var u=P();try{C(t)(e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},db:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},ec:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},ib:function(t,e,r,n,a,i,o,s,u){var c=P();try{C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},wb:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},ta:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},Na:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Qb:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},o:function(t,e,r,n,a,i){var o=P();try{C(t)(e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},fc:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w,v){var b=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w,v)}catch(t){if(R(b),t!==t+0)throw t;j(1,0)}},zb:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h){var m=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h)}catch(t){if(R(m),t!==t+0)throw t;j(1,0)}},yb:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},Jb:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},q:function(t,e,r,n,a,i,o){var s=P();try{C(t)(e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},G:function(t,e,r,n,a,i,o,s){var u=P();try{C(t)(e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},me:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},U:function(t,e,r,n,a,i,o,s,u){var c=P();try{C(t)(e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},He:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Qe:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},P:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{C(t)(e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},na:function(t,e,r,n,a,i,o,s,u,c,f){var l=P();try{C(t)(e,r,n,a,i,o,s,u,c,f)}catch(t){if(R(l),t!==t+0)throw t;j(1,0)}},qb:function(t,e,r,n,a,i,o,s,u,c,f,l){var d=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l)}catch(t){if(R(d),t!==t+0)throw t;j(1,0)}},dc:function(t,e,r,n,a,i,o,s,u,c,f,l,d){var h=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d)}catch(t){if(R(h),t!==t+0)throw t;j(1,0)}},xb:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){var p=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m)}catch(t){if(R(p),t!==t+0)throw t;j(1,0)}},Ga:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p){var _=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p)}catch(t){if(R(_),t!==t+0)throw t;j(1,0)}},cc:function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g){var y=P();try{C(t)(e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g)}catch(t){if(R(y),t!==t+0)throw t;j(1,0)}},xd:function(t,e,r,n,a,i,o,s,u){var c=P();try{_r(t,e,r,n,a,i,o,s,u)}catch(t){if(R(c),t!==t+0)throw t;j(1,0)}},Ld:function(t,e,r,n,a,i,o){var s=P();try{rr(t,e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},Bc:function(t,e,r,n,a,i){var o=P();try{en(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Id:function(t,e,r,n,a,i,o){var s=P();try{ar(t,e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},dd:function(t,e,r,n,a,i,o,s){var u=P();try{Gr(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},Gd:function(t,e,r,n,a){var i=P();try{tr(t,e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},Ec:function(t,e,r,n,a,i){var o=P();try{Je(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},ee:function(t,e,r,n,a,i,o){var s=P();try{Ar(t,e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},jd:function(t,e,r,n,a,i,o,s){var u=P();try{Hr(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},Zc:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{Lr(t,e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Nd:function(t,e,r,n){var a=P();try{qe(t,e,r,n)}catch(t){if(R(a),t!==t+0)throw t;j(1,0)}},Hc:function(t,e,r,n,a){var i=P();try{Yr(t,e,r,n,a)}catch(t){if(R(i),t!==t+0)throw t;j(1,0)}},Sc:function(t,e,r,n,a,i){var o=P();try{Ur(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},fd:function(t,e,r,n,a,i){var o=P();try{Ye(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},Lc:function(t,e,r,n,a,i,o,s,u,c){var f=P();try{Qr(t,e,r,n,a,i,o,s,u,c)}catch(t){if(R(f),t!==t+0)throw t;j(1,0)}},Tc:function(t,e,r,n,a,i,o){var s=P();try{Br(t,e,r,n,a,i,o)}catch(t){if(R(s),t!==t+0)throw t;j(1,0)}},kd:function(t,e,r,n,a,i){var o=P();try{yr(t,e,r,n,a,i)}catch(t){if(R(o),t!==t+0)throw t;j(1,0)}},ed:function(t,e,r,n,a,i,o,s){var u=P();try{Tr(t,e,r,n,a,i,o,s)}catch(t){if(R(u),t!==t+0)throw t;j(1,0)}},Ed:function(t,e,r){var n=P();try{sr(t,e,r)}catch(t){if(R(n),t!==t+0)throw t;j(1,0)}},r:function(t){return t},$e:Qt,oa:oe,mc:function(t,e,r,n,a){return oe(t,e,r,n)}}),F=function(){var e,r,n,t={a:we};function a(t,e){return F=t.exports,et=F.gf,st(),_=F.hh,t=F.hf,ct.unshift(t),pt(),F}if(mt(),L.instantiateWasm)try{return L.instantiateWasm(t,a)}catch(t){c("Module.instantiateWasm callback failed with error: ".concat(t)),M(t)}return e=_t,r=t,n=function(t){a(t.instance)},(tt||"function"!=typeof WebAssembly.instantiateStreaming||gt(e)||yt(e)||$||"function"!=typeof fetch?wt(e,r,n):fetch(e,{credentials:"same-origin"}).then(function(t){return WebAssembly.instantiateStreaming(t,r).then(n,function(t){return c("wasm streaming compile failed: ".concat(t)),c("falling back to ArrayBuffer instantiation"),wt(e,r,n)})})).catch(M),{}}(),ve=(L._CPLSetConfigOption=function(t,e){return(L._CPLSetConfigOption=F.jf)(t,e)},L._CPLSetThreadLocalConfigOption=function(t,e){return(L._CPLSetThreadLocalConfigOption=F.kf)(t,e)},L._CPLError=function(t,e,r,n){return(L._CPLError=F.lf)(t,e,r,n)},L._CPLErrorReset=function(){return(L._CPLErrorReset=F.mf)()},L._CPLGetLastErrorNo=function(){return(L._CPLGetLastErrorNo=F.nf)()},L._CPLGetLastErrorType=function(){return(L._CPLGetLastErrorType=F.of)()},L._CPLGetLastErrorMsg=function(){return(L._CPLGetLastErrorMsg=F.pf)()},L._CPLQuietErrorHandler=function(t,e,r){return(L._CPLQuietErrorHandler=F.qf)(t,e,r)},L._CPLSetErrorHandler=function(t){return(L._CPLSetErrorHandler=F.rf)(t)},L._CSLCount=function(t){return(L._CSLCount=F.sf)(t)},L._CPLAtof=function(t){return(L._CPLAtof=F.tf)(t)},L._GDALSuggestedWarpOutput=function(t,e,r,n,a,i){return(L._GDALSuggestedWarpOutput=F.uf)(t,e,r,n,a,i)},L._GDALGenImgProjTransform=function(t,e,r,n,a,i,o){return(L._GDALGenImgProjTransform=F.vf)(t,e,r,n,a,i,o)},L._GDALCreateGenImgProjTransformer=function(t,e,r,n,a,i,o){return(L._GDALCreateGenImgProjTransformer=F.wf)(t,e,r,n,a,i,o)},L._GDALCreateGenImgProjTransformer2=function(t,e,r){return(L._GDALCreateGenImgProjTransformer2=F.xf)(t,e,r)},L._GDALDestroyGenImgProjTransformer=function(t){return(L._GDALDestroyGenImgProjTransformer=F.yf)(t)},L._GDALInvGeoTransform=function(t,e){return(L._GDALInvGeoTransform=F.zf)(t,e)},L._GDALReprojectImage=function(t,e,r,n,a,i,o,s,u,c){return(L._GDALReprojectImage=F.Af)(t,e,r,n,a,i,o,s,u,c)},L._OSRNewSpatialReference=function(t){return(L._OSRNewSpatialReference=F.Bf)(t)},L._OSRDestroySpatialReference=function(t){return(L._OSRDestroySpatialReference=F.Cf)(t)},L._OSRExportToWkt=function(t,e){return(L._OSRExportToWkt=F.Df)(t,e)},L._OSRSetFromUserInput=function(t,e){return(L._OSRSetFromUserInput=F.Ef)(t,e)},L._OSRImportFromEPSG=function(t,e){return(L._OSRImportFromEPSG=F.Ff)(t,e)},L._OSRSetAxisMappingStrategy=function(t,e){return(L._OSRSetAxisMappingStrategy=F.Gf)(t,e)},L._OCTDestroyCoordinateTransformation=function(t){return(L._OCTDestroyCoordinateTransformation=F.Hf)(t)},L._OCTNewCoordinateTransformation=function(t,e){return(L._OCTNewCoordinateTransformation=F.If)(t,e)},L._OCTTransform=function(t,e,r,n,a){return(L._OCTTransform=F.Jf)(t,e,r,n,a)},L._GDALAllRegister=function(){return(L._GDALAllRegister=F.Kf)()},L._OGRGetDriverCount=function(){return(L._OGRGetDriverCount=F.Lf)()},L._OGRGetDriver=function(t){return(L._OGRGetDriver=F.Mf)(t)},L._OGR_L_GetFeatureCount=function(t,e){return(L._OGR_L_GetFeatureCount=F.Nf)(t,e)},L._OGR_L_GetName=function(t){return(L._OGR_L_GetName=F.Of)(t)},L._OGR_DS_GetLayerCount=function(t){return(L._OGR_DS_GetLayerCount=F.Pf)(t)},L._OGR_DS_GetLayer=function(t,e){return(L._OGR_DS_GetLayer=F.Qf)(t,e)},L._OGR_DS_GetName=function(t){return(L._OGR_DS_GetName=F.Rf)(t)},L._OGR_DS_GetDriver=function(t){return(L._OGR_DS_GetDriver=F.Sf)(t)},L._OGR_Dr_GetName=function(t){return(L._OGR_Dr_GetName=F.Tf)(t)},L._GDALCreate=function(t,e,r,n,a,i,o){return(L._GDALCreate=F.Uf)(t,e,r,n,a,i,o)},L._GDALCreateCopy=function(t,e,r,n,a,i,o){return(L._GDALCreateCopy=F.Vf)(t,e,r,n,a,i,o)},L._GDALGetDriverShortName=function(t){return(L._GDALGetDriverShortName=F.Wf)(t)},L._GDALGetDriverLongName=function(t){return(L._GDALGetDriverLongName=F.Xf)(t)},L._GDALGetDriverCount=function(){return(L._GDALGetDriverCount=F.Yf)()},L._GDALGetDriver=function(t){return(L._GDALGetDriver=F.Zf)(t)},L._GDALGetDriverByName=function(t){return(L._GDALGetDriverByName=F._f)(t)},L._GDALGetRasterXSize=function(t){return(L._GDALGetRasterXSize=F.$f)(t)},L._GDALGetRasterYSize=function(t){return(L._GDALGetRasterYSize=F.ag)(t)},L._GDALGetRasterBand=function(t,e){return(L._GDALGetRasterBand=F.bg)(t,e)},L._GDALGetRasterCount=function(t){return(L._GDALGetRasterCount=F.cg)(t)},L._GDALGetSpatialRef=function(t){return(L._GDALGetSpatialRef=F.dg)(t)},L._GDALGetProjectionRef=function(t){return(L._GDALGetProjectionRef=F.eg)(t)},L._GDALSetProjection=function(t,e){return(L._GDALSetProjection=F.fg)(t,e)},L._GDALGetGeoTransform=function(t,e){return(L._GDALGetGeoTransform=F.gg)(t,e)},L._GDALSetGeoTransform=function(t,e){return(L._GDALSetGeoTransform=F.hg)(t,e)},L._GDALGetDatasetDriver=function(t){return(L._GDALGetDatasetDriver=F.ig)(t)},L._GDALGetFileList=function(t){return(L._GDALGetFileList=F.jg)(t)},L._GDALOpen=function(t,e){return(L._GDALOpen=F.kg)(t,e)},L._GDALOpenEx=function(t,e,r,n,a){return(L._GDALOpenEx=F.lg)(t,e,r,n,a)},L._GDALClose=function(t){return(L._GDALClose=F.mg)(t)},L._GDALDatasetGetLayerCount=function(t){return(L._GDALDatasetGetLayerCount=F.ng)(t)},L._GDALDatasetGetLayer=function(t,e){return(L._GDALDatasetGetLayer=F.og)(t,e)},L._GDALGetRasterDataType=function(t){return(L._GDALGetRasterDataType=F.pg)(t)},L._GDALGetRasterNoDataValue=function(t,e){return(L._GDALGetRasterNoDataValue=F.qg)(t,e)},L._GDALGetRasterMaximum=function(t,e){return(L._GDALGetRasterMaximum=F.rg)(t,e)},L._GDALGetRasterMinimum=function(t,e){return(L._GDALGetRasterMinimum=F.sg)(t,e)},L._GDALGetRasterStatistics=function(t,e,r,n,a,i,o){return(L._GDALGetRasterStatistics=F.tg)(t,e,r,n,a,i,o)},L._GDALSetCacheMax=function(t){return(L._GDALSetCacheMax=F.ug)(t)},L._GDALGetDescription=function(t){return(L._GDALGetDescription=F.vg)(t)},L._GDALGetMetadataItem=function(t,e,r){return(L._GDALGetMetadataItem=F.wg)(t,e,r)},L._GDALInfo=function(t,e){return(L._GDALInfo=F.xg)(t,e)},L._GDALInfoOptionsNew=function(t,e){return(L._GDALInfoOptionsNew=F.yg)(t,e)},L._GDALInfoOptionsFree=function(t){return(L._GDALInfoOptionsFree=F.zg)(t)},L._GDALBuildVRT=function(t,e,r,n,a,i){return(L._GDALBuildVRT=F.Ag)(t,e,r,n,a,i)},L._GDALBuildVRTOptionsFree=function(t){return(L._GDALBuildVRTOptionsFree=F.Bg)(t)},L._GDALBuildVRTOptionsNew=function(t,e){return(L._GDALBuildVRTOptionsNew=F.Cg)(t,e)},L._GDALTranslate=function(t,e,r,n){return(L._GDALTranslate=F.Dg)(t,e,r,n)},L._GDALTranslateOptionsNew=function(t,e){return(L._GDALTranslateOptionsNew=F.Eg)(t,e)},L._GDALTranslateOptionsFree=function(t){return(L._GDALTranslateOptionsFree=F.Fg)(t)},L._GDALRasterize=function(t,e,r,n,a){return(L._GDALRasterize=F.Gg)(t,e,r,n,a)},L._GDALRasterizeOptionsNew=function(t,e){return(L._GDALRasterizeOptionsNew=F.Hg)(t,e)},L._GDALRasterizeOptionsFree=function(t){return(L._GDALRasterizeOptionsFree=F.Ig)(t)},L._GDALWarp=function(t,e,r,n,a,i){return(L._GDALWarp=F.Jg)(t,e,r,n,a,i)},L._GDALWarpAppOptionsNew=function(t,e){return(L._GDALWarpAppOptionsNew=F.Kg)(t,e)},L._GDALWarpAppOptionsFree=function(t){return(L._GDALWarpAppOptionsFree=F.Lg)(t)},L._GDALWarpAppOptionsSetProgress=function(t,e,r){return(L._GDALWarpAppOptionsSetProgress=F.Mg)(t,e,r)},L._GDALVectorInfoOptionsFree=function(t){return(L._GDALVectorInfoOptionsFree=F.Ng)(t)},L._GDALVectorInfo=function(t,e){return(L._GDALVectorInfo=F.Og)(t,e)},L._GDALVectorInfoOptionsNew=function(t,e){return(L._GDALVectorInfoOptionsNew=F.Pg)(t,e)},L._GDALVectorTranslate=function(t,e,r,n,a,i){return(L._GDALVectorTranslate=F.Qg)(t,e,r,n,a,i)},L._GDALVectorTranslateOptionsNew=function(t,e){return(L._GDALVectorTranslateOptionsNew=F.Rg)(t,e)},L._GDALVectorTranslateOptionsFree=function(t){return(L._GDALVectorTranslateOptionsFree=F.Sg)(t)},L._GDALDEMProcessing=function(t,e,r,n,a,i){return(L._GDALDEMProcessing=F.Tg)(t,e,r,n,a,i)},L._GDALDEMProcessingOptionsNew=function(t,e){return(L._GDALDEMProcessingOptionsNew=F.Ug)(t,e)},L._GDALDEMProcessingOptionsFree=function(t){return(L._GDALDEMProcessingOptionsFree=F.Vg)(t)},function(){return(ve=F.Wg)()}),be=L._malloc=function(t){return(be=L._malloc=F.Xg)(t)},De=(L._free=function(t){return(L._free=F.Yg)(t)},function(t,e){return(De=F.Zg)(t,e)}),j=function(t,e){return(j=F._g)(t,e)},Ae=function(t){return(Ae=F.$g)(t)},P=function(){return(P=F.ah)()},R=function(t){return(R=F.bh)(t)},Te=function(t){return(Te=F.ch)(t)},Le=function(t){return(Le=F.dh)(t)},Ce=function(t){return(Ce=F.eh)(t)},Ge=function(t,e,r){return(Ge=F.fh)(t,e,r)},Oe=function(t){return(Oe=F.gh)(t)},Se=L.dynCall_jiiii=function(t,e,r,n,a){return(Se=L.dynCall_jiiii=F.ih)(t,e,r,n,a)},Ne=L.dynCall_jii=function(t,e,r){return(Ne=L.dynCall_jii=F.jh)(t,e,r)},Fe=L.dynCall_iiji=function(t,e,r,n,a){return(Fe=L.dynCall_iiji=F.kh)(t,e,r,n,a)},je=L.dynCall_ji=function(t,e){return(je=L.dynCall_ji=F.lh)(t,e)},Pe=L.dynCall_iij=function(t,e,r,n){return(Pe=L.dynCall_iij=F.mh)(t,e,r,n)},Re=L.dynCall_iijj=function(t,e,r,n,a,i){return(Re=L.dynCall_iijj=F.nh)(t,e,r,n,a,i)},ke=L.dynCall_iiiij=function(t,e,r,n,a,i){return(ke=L.dynCall_iiiij=F.oh)(t,e,r,n,a,i)},Me=L.dynCall_iiiji=function(t,e,r,n,a,i){return(Me=L.dynCall_iiiji=F.ph)(t,e,r,n,a,i)},Ie=L.dynCall_iji=function(t,e,r,n){return(Ie=L.dynCall_iji=F.qh)(t,e,r,n)},xe=L.dynCall_iiiijjjii=function(t,e,r,n,a,i,o,s,u,c,f,l){return(xe=L.dynCall_iiiijjjii=F.rh)(t,e,r,n,a,i,o,s,u,c,f,l)},Be=L.dynCall_iiij=function(t,e,r,n,a){return(Be=L.dynCall_iiij=F.sh)(t,e,r,n,a)},Ue=L.dynCall_iijiiii=function(t,e,r,n,a,i,o,s){return(Ue=L.dynCall_iijiiii=F.th)(t,e,r,n,a,i,o,s)},Ke=L.dynCall_iiiijjji=function(t,e,r,n,a,i,o,s,u,c,f){return(Ke=L.dynCall_iiiijjji=F.uh)(t,e,r,n,a,i,o,s,u,c,f)},ze=L.dynCall_j=function(t){return(ze=L.dynCall_j=F.vh)(t)},We=L.dynCall_iiiiij=function(t,e,r,n,a,i,o){return(We=L.dynCall_iiiiij=F.wh)(t,e,r,n,a,i,o)},Ve=L.dynCall_iiiiiijj=function(t,e,r,n,a,i,o,s,u,c){return(Ve=L.dynCall_iiiiiijj=F.xh)(t,e,r,n,a,i,o,s,u,c)},Ye=L.dynCall_vijii=function(t,e,r,n,a,i){return(Ye=L.dynCall_vijii=F.yh)(t,e,r,n,a,i)},He=L.dynCall_iijii=function(t,e,r,n,a,i){return(He=L.dynCall_iijii=F.zh)(t,e,r,n,a,i)},Xe=L.dynCall_iiiiiij=function(t,e,r,n,a,i,o,s){return(Xe=L.dynCall_iiiiiij=F.Ah)(t,e,r,n,a,i,o,s)},qe=L.dynCall_vij=function(t,e,r,n){return(qe=L.dynCall_vij=F.Bh)(t,e,r,n)},Qe=L.dynCall_iiiiji=function(t,e,r,n,a,i,o){return(Qe=L.dynCall_iiiiji=F.Ch)(t,e,r,n,a,i,o)},Ze=L.dynCall_ij=function(t,e,r){return(Ze=L.dynCall_ij=F.Dh)(t,e,r)},Je=L.dynCall_viiji=function(t,e,r,n,a,i){return(Je=L.dynCall_viiji=F.Eh)(t,e,r,n,a,i)},$e=L.dynCall_iiiijji=function(t,e,r,n,a,i,o,s,u){return($e=L.dynCall_iiiijji=F.Fh)(t,e,r,n,a,i,o,s,u)},tr=L.dynCall_viij=function(t,e,r,n,a){return(tr=L.dynCall_viij=F.Gh)(t,e,r,n,a)},er=L.dynCall_jiii=function(t,e,r,n){return(er=L.dynCall_jiii=F.Hh)(t,e,r,n)},rr=L.dynCall_viiiij=function(t,e,r,n,a,i,o){return(rr=L.dynCall_viiiij=F.Ih)(t,e,r,n,a,i,o)},nr=L.dynCall_iiiiiji=function(t,e,r,n,a,i,o,s){return(nr=L.dynCall_iiiiiji=F.Jh)(t,e,r,n,a,i,o,s)},ar=L.dynCall_viiiji=function(t,e,r,n,a,i,o){return(ar=L.dynCall_viiiji=F.Kh)(t,e,r,n,a,i,o)},ir=L.dynCall_iiijiiiiii=function(t,e,r,n,a,i,o,s,u,c,f){return(ir=L.dynCall_iiijiiiiii=F.Lh)(t,e,r,n,a,i,o,s,u,c,f)},or=L.dynCall_jij=function(t,e,r,n){return(or=L.dynCall_jij=F.Mh)(t,e,r,n)},sr=L.dynCall_vj=function(t,e,r){return(sr=L.dynCall_vj=F.Nh)(t,e,r)},ur=L.dynCall_iiiiiiiiiiiiijjji=function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E){return(ur=L.dynCall_iiiiiiiiiiiiijjji=F.Oh)(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E)},cr=L.dynCall_iiiiiiiiiiijji=function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p){return(cr=L.dynCall_iiiiiiiiiiijji=F.Ph)(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p)},fr=L.dynCall_iiiiijiiiii=function(t,e,r,n,a,i,o,s,u,c,f,l){return(fr=L.dynCall_iiiiijiiiii=F.Qh)(t,e,r,n,a,i,o,s,u,c,f,l)},lr=L.dynCall_iiijiiiiiii=function(t,e,r,n,a,i,o,s,u,c,f,l){return(lr=L.dynCall_iiijiiiiiii=F.Rh)(t,e,r,n,a,i,o,s,u,c,f,l)},dr=L.dynCall_iiijiii=function(t,e,r,n,a,i,o,s){return(dr=L.dynCall_iiijiii=F.Sh)(t,e,r,n,a,i,o,s)},hr=L.dynCall_jiiiiiiiiiiiiiiiiiiiiiiiii=function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w,v,b,D,A,T){return(hr=L.dynCall_jiiiiiiiiiiiiiiiiiiiiiiiii=F.Th)(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y,E,w,v,b,D,A,T)},mr=L.dynCall_iiiddddji=function(t,e,r,n,a,i,o,s,u,c){return(mr=L.dynCall_iiiddddji=F.Uh)(t,e,r,n,a,i,o,s,u,c)},pr=L.dynCall_iiiiiijii=function(t,e,r,n,a,i,o,s,u,c){return(pr=L.dynCall_iiiiiijii=F.Vh)(t,e,r,n,a,i,o,s,u,c)},_r=L.dynCall_viiiiiji=function(t,e,r,n,a,i,o,s,u){return(_r=L.dynCall_viiiiiji=F.Wh)(t,e,r,n,a,i,o,s,u)},gr=L.dynCall_iiiiiiijiii=function(t,e,r,n,a,i,o,s,u,c,f,l){return(gr=L.dynCall_iiiiiiijiii=F.Xh)(t,e,r,n,a,i,o,s,u,c,f,l)},yr=L.dynCall_vijj=function(t,e,r,n,a,i){return(yr=L.dynCall_vijj=F.Yh)(t,e,r,n,a,i)},Er=L.dynCall_iiiiiijjii=function(t,e,r,n,a,i,o,s,u,c,f,l){return(Er=L.dynCall_iiiiiijjii=F.Zh)(t,e,r,n,a,i,o,s,u,c,f,l)},wr=L.dynCall_iiijjiji=function(t,e,r,n,a,i,o,s,u,c,f){return(wr=L.dynCall_iiijjiji=F._h)(t,e,r,n,a,i,o,s,u,c,f)},vr=L.dynCall_iiiiiiiiiiiiijjii=function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y){return(vr=L.dynCall_iiiiiiiiiiiiijjii=F.$h)(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g,y)},br=L.dynCall_iiiijiiiii=function(t,e,r,n,a,i,o,s,u,c,f){return(br=L.dynCall_iiiijiiiii=F.ai)(t,e,r,n,a,i,o,s,u,c,f)},Dr=L.dynCall_iijiiiiiii=function(t,e,r,n,a,i,o,s,u,c,f){return(Dr=L.dynCall_iijiiiiiii=F.bi)(t,e,r,n,a,i,o,s,u,c,f)},Ar=L.dynCall_viijj=function(t,e,r,n,a,i,o){return(Ar=L.dynCall_viijj=F.ci)(t,e,r,n,a,i,o)},Tr=L.dynCall_vijjj=function(t,e,r,n,a,i,o,s){return(Tr=L.dynCall_vijjj=F.di)(t,e,r,n,a,i,o,s)},Lr=L.dynCall_viijjji=function(t,e,r,n,a,i,o,s,u,c){return(Lr=L.dynCall_viijjji=F.ei)(t,e,r,n,a,i,o,s,u,c)},Cr=L.dynCall_iiijj=function(t,e,r,n,a,i,o){return(Cr=L.dynCall_iiijj=F.fi)(t,e,r,n,a,i,o)},Gr=L.dynCall_viiijj=function(t,e,r,n,a,i,o,s){return(Gr=L.dynCall_viiijj=F.gi)(t,e,r,n,a,i,o,s)},Or=L.dynCall_iiijiiii=function(t,e,r,n,a,i,o,s,u){return(Or=L.dynCall_iiijiiii=F.hi)(t,e,r,n,a,i,o,s,u)},Sr=L.dynCall_iiijiiiji=function(t,e,r,n,a,i,o,s,u,c,f){return(Sr=L.dynCall_iiijiiiji=F.ii)(t,e,r,n,a,i,o,s,u,c,f)},Nr=L.dynCall_iiijiiiii=function(t,e,r,n,a,i,o,s,u,c){return(Nr=L.dynCall_iiijiiiii=F.ji)(t,e,r,n,a,i,o,s,u,c)},Fr=L.dynCall_jiiji=function(t,e,r,n,a,i){return(Fr=L.dynCall_jiiji=F.ki)(t,e,r,n,a,i)},jr=L.dynCall_jiijji=function(t,e,r,n,a,i,o,s){return(jr=L.dynCall_jiijji=F.li)(t,e,r,n,a,i,o,s)},Pr=L.dynCall_iiiiiiiijjji=function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m){return(Pr=L.dynCall_iiiiiiiijjji=F.mi)(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m)},Rr=L.dynCall_iiiiiiiijiii=function(t,e,r,n,a,i,o,s,u,c,f,l,d){return(Rr=L.dynCall_iiiiiiiijiii=F.ni)(t,e,r,n,a,i,o,s,u,c,f,l,d)},kr=L.dynCall_iiijjii=function(t,e,r,n,a,i,o,s,u){return(kr=L.dynCall_iiijjii=F.oi)(t,e,r,n,a,i,o,s,u)},Mr=L.dynCall_iiiiijjii=function(t,e,r,n,a,i,o,s,u,c,f){return(Mr=L.dynCall_iiiiijjii=F.pi)(t,e,r,n,a,i,o,s,u,c,f)},Ir=L.dynCall_iiiiiiijji=function(t,e,r,n,a,i,o,s,u,c,f,l){return(Ir=L.dynCall_iiiiiiijji=F.qi)(t,e,r,n,a,i,o,s,u,c,f,l)},xr=L.dynCall_iiiiijji=function(t,e,r,n,a,i,o,s,u,c){return(xr=L.dynCall_iiiiijji=F.ri)(t,e,r,n,a,i,o,s,u,c)},Br=L.dynCall_vijiii=function(t,e,r,n,a,i,o){return(Br=L.dynCall_vijiii=F.si)(t,e,r,n,a,i,o)},Ur=L.dynCall_vijid=function(t,e,r,n,a,i){return(Ur=L.dynCall_vijid=F.ti)(t,e,r,n,a,i)},Kr=L.dynCall_iiiiiiij=function(t,e,r,n,a,i,o,s,u){return(Kr=L.dynCall_iiiiiiij=F.ui)(t,e,r,n,a,i,o,s,u)},zr=L.dynCall_iijdddd=function(t,e,r,n,a,i,o,s){return(zr=L.dynCall_iijdddd=F.vi)(t,e,r,n,a,i,o,s)},Wr=L.dynCall_iiiiiiiijii=function(t,e,r,n,a,i,o,s,u,c,f,l){return(Wr=L.dynCall_iiiiiiiijii=F.wi)(t,e,r,n,a,i,o,s,u,c,f,l)},Vr=L.dynCall_iiiiijiiii=function(t,e,r,n,a,i,o,s,u,c,f){return(Vr=L.dynCall_iiiiijiiii=F.xi)(t,e,r,n,a,i,o,s,u,c,f)},Yr=L.dynCall_viji=function(t,e,r,n,a){return(Yr=L.dynCall_viji=F.yi)(t,e,r,n,a)},Hr=L.dynCall_viijji=function(t,e,r,n,a,i,o,s){return(Hr=L.dynCall_viijji=F.zi)(t,e,r,n,a,i,o,s)},Xr=L.dynCall_jijj=function(t,e,r,n,a,i){return(Xr=L.dynCall_jijj=F.Ai)(t,e,r,n,a,i)},qr=L.dynCall_iijjjddi=function(t,e,r,n,a,i,o,s,u,c,f){return(qr=L.dynCall_iijjjddi=F.Bi)(t,e,r,n,a,i,o,s,u,c,f)},Qr=L.dynCall_vijiidddi=function(t,e,r,n,a,i,o,s,u,c){return(Qr=L.dynCall_vijiidddi=F.Ci)(t,e,r,n,a,i,o,s,u,c)},Zr=L.dynCall_jiiid=function(t,e,r,n,a){return(Zr=L.dynCall_jiiid=F.Di)(t,e,r,n,a)},Jr=L.dynCall_iiiiiiiiiijiiiii=function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_){return(Jr=L.dynCall_iiiiiiiiiijiiiii=F.Ei)(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_)},$r=L.dynCall_iiijii=function(t,e,r,n,a,i,o){return($r=L.dynCall_iiijii=F.Fi)(t,e,r,n,a,i,o)},tn=L.dynCall_jji=function(t,e,r,n){return(tn=L.dynCall_jji=F.Gi)(t,e,r,n)},en=L.dynCall_viiij=function(t,e,r,n,a,i){return(en=L.dynCall_viiij=F.Hi)(t,e,r,n,a,i)},rn=L.dynCall_iiiiiiiiiiiiiijj=function(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g){return(rn=L.dynCall_iiiiiiiiiiiiiijj=F.Ii)(t,e,r,n,a,i,o,s,u,c,f,l,d,h,m,p,_,g)};function nn(){function t(){de||(de=!0,L.calledRun=!0,it)||(L.noFSInit||G.init.initialized||G.init(),G.ignorePermissions=!1,N.root=G.mount(N,{},null),bt(ct),k(L),L.onRuntimeInitialized&&L.onRuntimeInitialized(),dt())}0<r||(lt(),0<r)||(L.setStatus?(L.setStatus("Running..."),setTimeout(function(){setTimeout(function(){L.setStatus("")},1),t()},1)):t())}if(L.addRunDependency=mt,L.removeRunDependency=pt,L.FS_createPath=G.createPath,L.FS_createLazyFile=G.createLazyFile,L.FS_createDevice=G.createDevice,L.ENV=te,L.ccall=ue,L.cwrap=function(t,e,r,n){var a=!r||r.every(function(t){return"number"===t||"boolean"===t});return"string"!==e&&a&&!n?se(t):function(){return ue(t,e,r,arguments)}},L.addFunction=function(e,r){n=e,le||(le=new WeakMap,ye(0,_.length));var n=le.get(n)||0;if(n)return n;var a,n=function(){if(Ee.length)return Ee.pop();try{_.grow(1)}catch(t){if(t instanceof RangeError)throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.";throw t}return _.length-1}();try{ce(n,e)}catch(t){if(!(t instanceof TypeError))throw t;a=e,r=r;var i="function"==typeof WebAssembly.Function?new WebAssembly.Function(_e(r),a):(ge(r,r=[1]),pe(r.length,i=[0,97,115,109,1,0,0,0,1]),i.push.apply(i,r),i.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),r=new WebAssembly.Module(new Uint8Array(i)),new WebAssembly.Instance(r,{e:{f:a}}).exports.f);ce(n,i)}return le.set(e,n),n},L.setValue=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"i8";switch(r=r.endsWith("*")?"*":r){case"i1":case"i8":h[t>>0]=e;break;case"i16":m[t>>1]=e;break;case"i32":g[t>>2]=e;break;case"i64":a("to do setValue(i64) use WASM_BIGINT");case"float":rt[t>>2]=e;break;case"double":nt[t>>3]=e;break;case"*":y[t>>2]=e;break;default:a("invalid type for setValue: ".concat(r))}},L.getValue=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"i8";switch(e=e.endsWith("*")?"*":e){case"i1":case"i8":return h[t>>0];case"i16":return m[t>>1];case"i32":return g[t>>2];case"i64":a("to do getValue(i64) use WASM_BIGINT");case"float":return rt[t>>2];case"double":return nt[t>>3];case"*":return y[t>>2];default:a("invalid type for getValue: ".concat(e))}},L.UTF8ToString=E,L.stringToUTF8=Ut,L.lengthBytesUTF8=b,L.FS_createPreloadedFile=G.createPreloadedFile,L.FS=G,L.FS_createDataFile=G.createDataFile,L.FS_unlink=G.unlink,L.MEMFS=D,L.WORKERFS=T,L.NODEFS=A,ht=function t(){de||nn(),de||(ht=t)},L.preInit)for("function"==typeof L.preInit&&(L.preInit=[L.preInit]);0<L.preInit.length;)L.preInit.pop()();return nn(),V.ready}on="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(on=on||__filename),B.exports=U;var K=x(e.exports),y={Module:{}};function m(){var t=y.CPLGetLastErrorMsg(),e=y.CPLGetLastErrorNo();return y.CPLErrorReset(),{no:e,message:t}}function E(t){for(var e=[],r={},n=0;n<t.length;n+=1){var a=t[n];"--config"===a?(r[t[n+1]]=t[n+2],n+=2):e.push(a)}var i=e.map(function(t){return y.Module._malloc(y.Module.lengthBytesUTF8(t)+1)}),o=(i.push(0),Uint32Array.from(i)),s=(e.forEach(function(t,e){y.Module.stringToUTF8(t,o[e],y.Module.lengthBytesUTF8(t)+1)}),y.Module._malloc(o.length*o.BYTES_PER_ELEMENT));return y.Module.HEAPU32.set(o,s/o.BYTES_PER_ELEMENT),{ptr:s,ptrArray:i,config:r}}function w(t){y.Module._free(t.ptr),t.ptrArray.forEach(function(t){y.Module._free(t)})}var p="/input",_="/output",g=_;var B={},e=t(Object.freeze({__proto__:null,default:{}})),z=t(Object.freeze({__proto__:null,default:{}})),c=B,f=(c.parser=function(t,e){return new o(t,e)},c.SAXParser=o,c.SAXStream=a,c.createStream=function(t,e){return new a(t,e)},c.MAX_BUFFER_LENGTH=65536,["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"]);function o(t,e){if(!(this instanceof o))return new o(t,e);for(var r=this,n=r,a=0,i=f.length;a<i;a++)n[f[a]]="";r.q=r.c="",r.bufferCheckPosition=c.MAX_BUFFER_LENGTH,r.opt=e||{},r.opt.lowercase=r.opt.lowercase||r.opt.lowercasetags,r.looseCase=r.opt.lowercase?"toLowerCase":"toUpperCase",r.tags=[],r.closed=r.closedRoot=r.sawRoot=!1,r.tag=r.error=null,r.strict=!!t,r.noscript=!(!t&&!r.opt.noscript),r.state=D.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?Object.create(c.XML_ENTITIES):Object.create(c.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=Object.create(q)),r.trackPosition=!1!==r.opt.position,r.trackPosition&&(r.position=r.line=r.column=0),nt(r,"onready")}c.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(t){function e(){}return e.prototype=t,new e}),Object.keys||(Object.keys=function(t){var e,r=[];for(e in t)t.hasOwnProperty(e)&&r.push(e);return r}),o.prototype={end:function(){st(this)},write:function(t){var e=this;if(this.error)throw this.error;if(e.closed)return ot(e,"Cannot write after close. Assign an onready handler.");if(null===t)return st(e);"object"==typeof t&&(t=t.toString());var r,n,a=0,i="";for(;;){if(i=ht(t,a++),!(e.c=i))break;switch(e.trackPosition&&(e.position++,"\n"===i?(e.line++,e.column=0):e.column++),e.state){case D.BEGIN:if(e.state=D.BEGIN_WHITESPACE,"\ufeff"===i)continue;dt(e,i);continue;case D.BEGIN_WHITESPACE:dt(e,i);continue;case D.TEXT:if(e.sawRoot&&!e.closedRoot){for(var o=a-1;i&&"<"!==i&&"&"!==i;)(i=ht(t,a++))&&e.trackPosition&&(e.position++,"\n"===i?(e.line++,e.column=0):e.column++);e.textNode+=t.substring(o,a-1)}"<"!==i||e.sawRoot&&e.closedRoot&&!e.strict?(v(i)||e.sawRoot&&!e.closedRoot||T(e,"Text data outside of root node."),"&"===i?e.state=D.TEXT_ENTITY:e.textNode+=i):(e.state=D.OPEN_WAKA,e.startTagPosition=e.position);continue;case D.SCRIPT:"<"===i?e.state=D.SCRIPT_ENDING:e.script+=i;continue;case D.SCRIPT_ENDING:"/"===i?e.state=D.CLOSE_TAG:(e.script+="<"+i,e.state=D.SCRIPT);continue;case D.OPEN_WAKA:"!"===i?(e.state=D.SGML_DECL,e.sgmlDecl=""):v(i)||(b(l,i)?(e.state=D.OPEN_TAG,e.tagName=i):"/"===i?(e.state=D.CLOSE_TAG,e.tagName=""):"?"===i?(e.state=D.PROC_INST,e.procInstName=e.procInstBody=""):(T(e,"Unencoded <"),e.startTagPosition+1<e.position&&(o=e.position-e.startTagPosition,i=new Array(o).join(" ")+i),e.textNode+="<"+i,e.state=D.TEXT));continue;case D.SGML_DECL:(e.sgmlDecl+i).toUpperCase()===V?(A(e,"onopencdata"),e.state=D.CDATA,e.sgmlDecl="",e.cdata=""):e.sgmlDecl+i==="--"?(e.state=D.COMMENT,e.comment="",e.sgmlDecl=""):(e.sgmlDecl+i).toUpperCase()===Y?(e.state=D.DOCTYPE,(e.doctype||e.sawRoot)&&T(e,"Inappropriately located doctype declaration"),e.doctype="",e.sgmlDecl=""):">"===i?(A(e,"onsgmldeclaration",e.sgmlDecl),e.sgmlDecl="",e.state=D.TEXT):($(i)&&(e.state=D.SGML_DECL_QUOTED),e.sgmlDecl+=i);continue;case D.SGML_DECL_QUOTED:i===e.q&&(e.state=D.SGML_DECL,e.q=""),e.sgmlDecl+=i;continue;case D.DOCTYPE:">"===i?(e.state=D.TEXT,A(e,"ondoctype",e.doctype),e.doctype=!0):(e.doctype+=i,"["===i?e.state=D.DOCTYPE_DTD:$(i)&&(e.state=D.DOCTYPE_QUOTED,e.q=i));continue;case D.DOCTYPE_QUOTED:e.doctype+=i,i===e.q&&(e.q="",e.state=D.DOCTYPE);continue;case D.DOCTYPE_DTD:e.doctype+=i,"]"===i?e.state=D.DOCTYPE:$(i)&&(e.state=D.DOCTYPE_DTD_QUOTED,e.q=i);continue;case D.DOCTYPE_DTD_QUOTED:e.doctype+=i,i===e.q&&(e.state=D.DOCTYPE_DTD,e.q="");continue;case D.COMMENT:"-"===i?e.state=D.COMMENT_ENDING:e.comment+=i;continue;case D.COMMENT_ENDING:"-"===i?(e.state=D.COMMENT_ENDED,e.comment=it(e.opt,e.comment),e.comment&&A(e,"oncomment",e.comment),e.comment=""):(e.comment+="-"+i,e.state=D.COMMENT);continue;case D.COMMENT_ENDED:">"!==i?(T(e,"Malformed comment"),e.comment+="--"+i,e.state=D.COMMENT):e.state=D.TEXT;continue;case D.CDATA:"]"===i?e.state=D.CDATA_ENDING:e.cdata+=i;continue;case D.CDATA_ENDING:"]"===i?e.state=D.CDATA_ENDING_2:(e.cdata+="]"+i,e.state=D.CDATA);continue;case D.CDATA_ENDING_2:">"===i?(e.cdata&&A(e,"oncdata",e.cdata),A(e,"onclosecdata"),e.cdata="",e.state=D.TEXT):"]"===i?e.cdata+="]":(e.cdata+="]]"+i,e.state=D.CDATA);continue;case D.PROC_INST:"?"===i?e.state=D.PROC_INST_ENDING:v(i)?e.state=D.PROC_INST_BODY:e.procInstName+=i;continue;case D.PROC_INST_BODY:if(!e.procInstBody&&v(i))continue;"?"===i?e.state=D.PROC_INST_ENDING:e.procInstBody+=i;continue;case D.PROC_INST_ENDING:">"===i?(A(e,"onprocessinginstruction",{name:e.procInstName,body:e.procInstBody}),e.procInstName=e.procInstBody="",e.state=D.TEXT):(e.procInstBody+="?"+i,e.state=D.PROC_INST_BODY);continue;case D.OPEN_TAG:b(Q,i)?e.tagName+=i:(function(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,r=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(r.ns=e.ns);t.attribList.length=0,A(t,"onopentagstart",r)}(e),">"===i?L(e):"/"===i?e.state=D.OPEN_TAG_SLASH:(v(i)||T(e,"Invalid character in tag name"),e.state=D.ATTRIB));continue;case D.OPEN_TAG_SLASH:">"===i?(L(e,!0),ft(e)):(T(e,"Forward-slash in opening tag not followed by >"),e.state=D.ATTRIB);continue;case D.ATTRIB:if(v(i))continue;">"===i?L(e):"/"===i?e.state=D.OPEN_TAG_SLASH:b(l,i)?(e.attribName=i,e.attribValue="",e.state=D.ATTRIB_NAME):T(e,"Invalid attribute name");continue;case D.ATTRIB_NAME:"="===i?e.state=D.ATTRIB_VALUE:">"===i?(T(e,"Attribute without value"),e.attribValue=e.attribName,ct(e),L(e)):v(i)?e.state=D.ATTRIB_NAME_SAW_WHITE:b(Q,i)?e.attribName+=i:T(e,"Invalid attribute name");continue;case D.ATTRIB_NAME_SAW_WHITE:if("="===i)e.state=D.ATTRIB_VALUE;else{if(v(i))continue;T(e,"Attribute without value"),e.tag.attributes[e.attribName]="",e.attribValue="",A(e,"onattribute",{name:e.attribName,value:""}),e.attribName="",">"===i?L(e):b(l,i)?(e.attribName=i,e.state=D.ATTRIB_NAME):(T(e,"Invalid attribute name"),e.state=D.ATTRIB)}continue;case D.ATTRIB_VALUE:if(v(i))continue;$(i)?(e.q=i,e.state=D.ATTRIB_VALUE_QUOTED):(T(e,"Unquoted attribute value"),e.state=D.ATTRIB_VALUE_UNQUOTED,e.attribValue=i);continue;case D.ATTRIB_VALUE_QUOTED:if(i!==e.q){"&"===i?e.state=D.ATTRIB_VALUE_ENTITY_Q:e.attribValue+=i;continue}ct(e),e.q="",e.state=D.ATTRIB_VALUE_CLOSED;continue;case D.ATTRIB_VALUE_CLOSED:v(i)?e.state=D.ATTRIB:">"===i?L(e):"/"===i?e.state=D.OPEN_TAG_SLASH:b(l,i)?(T(e,"No whitespace between attributes"),e.attribName=i,e.attribValue="",e.state=D.ATTRIB_NAME):T(e,"Invalid attribute name");continue;case D.ATTRIB_VALUE_UNQUOTED:if(!function(t){return">"===t||v(t)}(i)){"&"===i?e.state=D.ATTRIB_VALUE_ENTITY_U:e.attribValue+=i;continue}ct(e),">"===i?L(e):e.state=D.ATTRIB;continue;case D.CLOSE_TAG:if(e.tagName)">"===i?ft(e):b(Q,i)?e.tagName+=i:e.script?(e.script+="</"+e.tagName,e.tagName="",e.state=D.SCRIPT):(v(i)||T(e,"Invalid tagname in closing tag"),e.state=D.CLOSE_TAG_SAW_WHITE);else{if(v(i))continue;!function(t,e){return!b(t,e)}(l,i)?e.tagName=i:e.script?(e.script+="</"+i,e.state=D.SCRIPT):T(e,"Invalid tagname in closing tag.")}continue;case D.CLOSE_TAG_SAW_WHITE:if(v(i))continue;">"===i?ft(e):T(e,"Invalid characters in closing tag");continue;case D.TEXT_ENTITY:case D.ATTRIB_VALUE_ENTITY_Q:case D.ATTRIB_VALUE_ENTITY_U:switch(e.state){case D.TEXT_ENTITY:r=D.TEXT,n="textNode";break;case D.ATTRIB_VALUE_ENTITY_Q:r=D.ATTRIB_VALUE_QUOTED,n="attribValue";break;case D.ATTRIB_VALUE_ENTITY_U:r=D.ATTRIB_VALUE_UNQUOTED,n="attribValue"}var s;";"===i?e.opt.unparsedEntities?(s=lt(e),e.entity="",e.state=r,e.write(s)):(e[n]+=lt(e),e.entity="",e.state=r):b(e.entity.length?J:Z,i)?e.entity+=i:(T(e,"Invalid character in entity name"),e[n]+="&"+e.entity+i,e.entity="",e.state=r);continue;default:throw new Error(e,"Unknown state: "+e.state)}}e.position>=e.bufferCheckPosition&&!function(t){for(var e=Math.max(c.MAX_BUFFER_LENGTH,10),r=0,n=0,a=f.length;n<a;n++){var i=t[f[n]].length;if(e<i)switch(f[n]){case"textNode":at(t);break;case"cdata":A(t,"oncdata",t.cdata),t.cdata="";break;case"script":A(t,"onscript",t.script),t.script="";break;default:ot(t,"Max buffer length exceeded: "+f[n])}r=Math.max(r,i)}var o=c.MAX_BUFFER_LENGTH-r;t.bufferCheckPosition=o+t.position}(e);return e},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var t;at(t=this),""!==t.cdata&&(A(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(A(t,"onscript",t.script),t.script="")}};try{n=e.Stream}catch(t){n=function(){}}var n=n||function(){},W=c.EVENTS.filter(function(t){return"error"!==t&&"end"!==t});function a(t,e){if(!(this instanceof a))return new a(t,e);n.apply(this),this._parser=new o(t,e),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(t){r.emit("error",t),r._parser.error=null},this._decoder=null,W.forEach(function(e){Object.defineProperty(r,"on"+e,{get:function(){return r._parser["on"+e]},set:function(t){if(!t)return r.removeAllListeners(e),r._parser["on"+e]=t;r.on(e,t)},enumerable:!0,configurable:!1})})}(a.prototype=Object.create(n.prototype,{constructor:{value:a}})).write=function(t){var e;return"function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(t)&&(this._decoder||(e=z.StringDecoder,this._decoder=new e("utf8")),t=this._decoder.write(t)),this._parser.write(t.toString()),this.emit("data",t),!0},a.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},a.prototype.on=function(e,t){var r=this;return r._parser["on"+e]||-1===W.indexOf(e)||(r._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),r.emit.apply(r,t)}),n.prototype.on.call(r,e,t)};var V="[CDATA[",Y="DOCTYPE",H="http://www.w3.org/XML/1998/namespace",X="http://www.w3.org/2000/xmlns/",q={xml:H,xmlns:X},l=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Q=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,Z=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,J=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function v(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function $(t){return'"'===t||"'"===t}function b(t,e){return t.test(e)}var tt,et,rt,D=0;for(tt in c.STATE={BEGIN:D++,BEGIN_WHITESPACE:D++,TEXT:D++,TEXT_ENTITY:D++,OPEN_WAKA:D++,SGML_DECL:D++,SGML_DECL_QUOTED:D++,DOCTYPE:D++,DOCTYPE_QUOTED:D++,DOCTYPE_DTD:D++,DOCTYPE_DTD_QUOTED:D++,COMMENT_STARTING:D++,COMMENT:D++,COMMENT_ENDING:D++,COMMENT_ENDED:D++,CDATA:D++,CDATA_ENDING:D++,CDATA_ENDING_2:D++,PROC_INST:D++,PROC_INST_BODY:D++,PROC_INST_ENDING:D++,OPEN_TAG:D++,OPEN_TAG_SLASH:D++,ATTRIB:D++,ATTRIB_NAME:D++,ATTRIB_NAME_SAW_WHITE:D++,ATTRIB_VALUE:D++,ATTRIB_VALUE_QUOTED:D++,ATTRIB_VALUE_CLOSED:D++,ATTRIB_VALUE_UNQUOTED:D++,ATTRIB_VALUE_ENTITY_Q:D++,ATTRIB_VALUE_ENTITY_U:D++,CLOSE_TAG:D++,CLOSE_TAG_SAW_WHITE:D++,SCRIPT:D++,SCRIPT_ENDING:D++},c.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},c.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(c.ENTITIES).forEach(function(t){var e=c.ENTITIES[t],e="number"==typeof e?String.fromCharCode(e):e;c.ENTITIES[t]=e}),c.STATE)c.STATE[c.STATE[tt]]=tt;function nt(t,e,r){t[e]&&t[e](r)}function A(t,e,r){t.textNode&&at(t),nt(t,e,r)}function at(t){t.textNode=it(t.opt,t.textNode),t.textNode&&nt(t,"ontext",t.textNode),t.textNode=""}function it(t,e){return t.trim&&(e=e.trim()),e=t.normalize?e.replace(/\s+/g," "):e}function ot(t,e){return at(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,nt(t,"onerror",e),t}function st(t){return t.sawRoot&&!t.closedRoot&&T(t,"Unclosed root tag"),t.state!==D.BEGIN&&t.state!==D.BEGIN_WHITESPACE&&t.state!==D.TEXT&&ot(t,"Unexpected end"),at(t),t.c="",t.closed=!0,nt(t,"onend"),o.call(t,t.strict,t.opt),t}function T(t,e){if("object"!=typeof t||!(t instanceof o))throw new Error("bad call to strictFail");t.strict&&ot(t,e)}function ut(t,e){var r=t.indexOf(":")<0?["",t]:t.split(":"),n=r[0],r=r[1];return e&&"xmlns"===t&&(n="xmlns",r=""),{prefix:n,local:r}}function ct(t){var e,r,n;t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName)||(t.opt.xmlns?(r=(e=ut(t.attribName,!0)).prefix,e=e.local,"xmlns"===r&&("xml"===e&&t.attribValue!==H?T(t,"xml: prefix must be bound to "+H+"\nActual: "+t.attribValue):"xmlns"===e&&t.attribValue!==X?T(t,"xmlns: prefix must be bound to "+X+"\nActual: "+t.attribValue):(r=t.tag,n=t.tags[t.tags.length-1]||t,r.ns===n.ns&&(r.ns=Object.create(n.ns)),r.ns[e]=t.attribValue)),t.attribList.push([t.attribName,t.attribValue])):(t.tag.attributes[t.attribName]=t.attribValue,A(t,"onattribute",{name:t.attribName,value:t.attribValue}))),t.attribName=t.attribValue=""}function L(e,t){if(e.opt.xmlns){var r=e.tag,n=ut(e.tagName),n=(r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(T(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=n.prefix),e.tags[e.tags.length-1]||e);r.ns&&n.ns!==r.ns&&Object.keys(r.ns).forEach(function(t){A(e,"onopennamespace",{prefix:t,uri:r.ns[t]})});for(var a=0,i=e.attribList.length;a<i;a++){var o=e.attribList[a],s=o[0],o=o[1],u=ut(s,!0),c=u.prefix,u=u.local,f=""!==c&&r.ns[c]||"",o={name:s,value:o,prefix:c,local:u,uri:f};c&&"xmlns"!==c&&!f&&(T(e,"Unbound namespace prefix: "+JSON.stringify(c)),o.uri=c),e.tag.attributes[s]=o,A(e,"onattribute",o)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),A(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=D.TEXT:e.state=D.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function ft(r){if(r.tagName){if(r.script){if("script"!==r.tagName)return r.script+="</"+r.tagName+">",r.tagName="",void(r.state=D.SCRIPT);A(r,"onscript",r.script),r.script=""}for(var t=r.tags.length,e=r.tagName,n=e=r.strict?e:e[r.looseCase]();t--&&r.tags[t].name!==n;)T(r,"Unexpected close tag");if(t<0)T(r,"Unmatched closing tag: "+r.tagName),r.textNode+="</"+r.tagName+">";else{r.tagName=e;for(var a=r.tags.length;a-- >t;){var i,o=r.tag=r.tags.pop();r.tagName=r.tag.name,A(r,"onclosetag",r.tagName);for(i in o.ns)i,o.ns[i];var s=r.tags[r.tags.length-1]||r;r.opt.xmlns&&o.ns!==s.ns&&Object.keys(o.ns).forEach(function(t){var e=o.ns[t];A(r,"onclosenamespace",{prefix:t,uri:e})})}0===t&&(r.closedRoot=!0),r.tagName=r.attribValue=r.attribName="",r.attribList.length=0}}else T(r,"Weird empty close tag."),r.textNode+="</>";r.state=D.TEXT}function lt(t){var e,r=t.entity,n=r.toLowerCase(),a="";return t.ENTITIES[r]||t.ENTITIES[n]||("#"===(r=n).charAt(0)&&(a="x"===r.charAt(1)?(r=r.slice(2),(e=parseInt(r,16)).toString(16)):(r=r.slice(1),(e=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),isNaN(e)||a.toLowerCase()!==r?(T(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e))}function dt(t,e){"<"===e?(t.state=D.OPEN_WAKA,t.startTagPosition=t.position):v(e)||(T(t,"Non-whitespace before first tag."),t.textNode=e,t.state=D.TEXT)}function ht(t,e){var r="";return r=e<t.length?t.charAt(e):r}function mt(){var t=[],e=-1,r=arguments.length;if(!r)return"";for(var n="";++e<r;){var a=Number(arguments[e]);if(!isFinite(a)||a<0||1114111<a||rt(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?t.push(a):t.push(55296+((a-=65536)>>10),a%1024+56320),(e+1===r||16384<t.length)&&(n+=et.apply(null,t),t.length=0)}return n}D=c.STATE,String.fromCodePoint||(et=String.fromCharCode,rt=Math.floor,Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:mt,configurable:!0,writable:!0}):String.fromCodePoint=mt);var i,C,e=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},pt=e,_t={copyOptions:function(t){var e,r={};for(e in t)t.hasOwnProperty(e)&&(r[e]=t[e]);return r},ensureFlagExists:function(t,e){t in e&&"boolean"==typeof e[t]||(e[t]=!1)},ensureSpacesExists:function(t){"spaces"in t&&("number"==typeof t.spaces||"string"==typeof t.spaces)||(t.spaces=0)},ensureAlwaysArrayExists:function(t){"alwaysArray"in t&&("boolean"==typeof t.alwaysArray||pt(t.alwaysArray))||(t.alwaysArray=!1)},ensureKeyExists:function(t,e){t+"Key"in e&&"string"==typeof e[t+"Key"]||(e[t+"Key"]=e.compact?"_"+t:t)},checkFnExists:function(t,e){return t+"Fn"in e}},gt=B,G=_t,O=e;function yt(t){var e,r=Number(t);return isNaN(r)?"true"===(e=t.toLowerCase())||"false"!==e&&t:r}function Et(t,e){var r,n;if(i.compact){if(!C[i[t+"Key"]]&&(O(i.alwaysArray)?-1!==i.alwaysArray.indexOf(i[t+"Key"]):i.alwaysArray)&&(C[i[t+"Key"]]=[]),C[i[t+"Key"]]&&!O(C[i[t+"Key"]])&&(C[i[t+"Key"]]=[C[i[t+"Key"]]]),t+"Fn"in i&&"string"==typeof e&&(e=i[t+"Fn"](e,C)),"instruction"===t&&("instructionFn"in i||"instructionNameFn"in i))for(r in e)e.hasOwnProperty(r)&&("instructionFn"in i?e[r]=i.instructionFn(e[r],r,C):(n=e[r],delete e[r],e[i.instructionNameFn(r,n,C)]=n));O(C[i[t+"Key"]])?C[i[t+"Key"]].push(e):C[i[t+"Key"]]=e}else{C[i.elementsKey]||(C[i.elementsKey]=[]);var a={};if("instruction"===(a[i.typeKey]=t)){for(r in e)if(e.hasOwnProperty(r))break;a[i.nameKey]="instructionNameFn"in i?i.instructionNameFn(r,e,C):r,i.instructionHasAttributes?(a[i.attributesKey]=e[r][i.attributesKey],"instructionFn"in i&&(a[i.attributesKey]=i.instructionFn(a[i.attributesKey],r,C))):("instructionFn"in i&&(e[r]=i.instructionFn(e[r],r,C)),a[i.instructionKey]=e[r])}else t+"Fn"in i&&(e=i[t+"Fn"](e,C)),a[i[t+"Key"]]=e;i.addParent&&(a[i.parentKey]=C),C[i.elementsKey].push(a)}}function wt(t){var e,r;if("attributesFn"in i&&(t=t&&i.attributesFn(t,C)),(i.trim||"attributeValueFn"in i||"attributeNameFn"in i||i.nativeTypeAttributes)&&t)for(e in t)t.hasOwnProperty(e)&&(i.trim&&(t[e]=t[e].trim()),i.nativeTypeAttributes&&(t[e]=yt(t[e])),"attributeValueFn"in i&&(t[e]=i.attributeValueFn(t[e],e,C)),"attributeNameFn"in i)&&(r=t[e],delete t[e],t[i.attributeNameFn(e,t[e],C)]=r);return t}function vt(t){var e,r={};if(t.body&&("xml"===t.name.toLowerCase()||i.instructionHasAttributes)){for(var n,a=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=a.exec(t.body));)r[n[1]]=n[2]||n[3]||n[4];r=wt(r)}"xml"===t.name.toLowerCase()?i.ignoreDeclaration||(C[i.declarationKey]={},Object.keys(r).length&&(C[i.declarationKey][i.attributesKey]=r),i.addParent&&(C[i.declarationKey][i.parentKey]=C)):i.ignoreInstruction||(i.trim&&(t.body=t.body.trim()),e={},i.instructionHasAttributes&&Object.keys(r).length?(e[t.name]={},e[t.name][i.attributesKey]=r):e[t.name]=t.body,Et("instruction",e))}function bt(t,e){if("object"==typeof t&&(e=t.attributes,t=t.name),e=wt(e),"elementNameFn"in i&&(t=i.elementNameFn(t,C)),i.compact){var r,n={};if(!i.ignoreAttributes&&e&&Object.keys(e).length)for(r in n[i.attributesKey]={},e)e.hasOwnProperty(r)&&(n[i.attributesKey][r]=e[r]);t in C||(O(i.alwaysArray)?-1===i.alwaysArray.indexOf(t):!i.alwaysArray)||(C[t]=[]),C[t]&&!O(C[t])&&(C[t]=[C[t]]),O(C[t])?C[t].push(n):C[t]=n}else C[i.elementsKey]||(C[i.elementsKey]=[]),(n={})[i.typeKey]="element",n[i.nameKey]=t,!i.ignoreAttributes&&e&&Object.keys(e).length&&(n[i.attributesKey]=e),i.alwaysChildren&&(n[i.elementsKey]=[]),C[i.elementsKey].push(n);n[i.parentKey]=C,C=n}function Dt(t){i.ignoreText||(t.trim()||i.captureSpacesBetweenElements)&&(i.trim&&(t=t.trim()),i.nativeType&&(t=yt(t)),Et("text",t=i.sanitize?t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"):t))}function At(t){i.ignoreComment||Et("comment",t=i.trim?t.trim():t)}function Tt(t){var e=C[i.parentKey];i.addParent||delete C[i.parentKey],C=e}function Lt(t){i.ignoreCdata||Et("cdata",t=i.trim?t.trim():t)}function Ct(t){i.ignoreDoctype||(t=t.replace(/^ /,""),Et("doctype",t=i.trim?t.trim():t))}function Gt(t){t.note=t}function Ot(t,e){var r=gt.parser(!0,{}),n={};return C=n,i=G.copyOptions(e),G.ensureFlagExists("ignoreDeclaration",i),G.ensureFlagExists("ignoreInstruction",i),G.ensureFlagExists("ignoreAttributes",i),G.ensureFlagExists("ignoreText",i),G.ensureFlagExists("ignoreComment",i),G.ensureFlagExists("ignoreCdata",i),G.ensureFlagExists("ignoreDoctype",i),G.ensureFlagExists("compact",i),G.ensureFlagExists("alwaysChildren",i),G.ensureFlagExists("addParent",i),G.ensureFlagExists("trim",i),G.ensureFlagExists("nativeType",i),G.ensureFlagExists("nativeTypeAttributes",i),G.ensureFlagExists("sanitize",i),G.ensureFlagExists("instructionHasAttributes",i),G.ensureFlagExists("captureSpacesBetweenElements",i),G.ensureAlwaysArrayExists(i),G.ensureKeyExists("declaration",i),G.ensureKeyExists("instruction",i),G.ensureKeyExists("attributes",i),G.ensureKeyExists("text",i),G.ensureKeyExists("comment",i),G.ensureKeyExists("cdata",i),G.ensureKeyExists("doctype",i),G.ensureKeyExists("type",i),G.ensureKeyExists("name",i),G.ensureKeyExists("elements",i),G.ensureKeyExists("parent",i),G.checkFnExists("doctype",i),G.checkFnExists("instruction",i),G.checkFnExists("cdata",i),G.checkFnExists("comment",i),G.checkFnExists("text",i),G.checkFnExists("instructionName",i),G.checkFnExists("elementName",i),G.checkFnExists("attributeName",i),G.checkFnExists("attributeValue",i),G.checkFnExists("attributes",i),r.opt={strictEntities:!0},r.onopentag=bt,r.ontext=Dt,r.oncomment=At,r.onclosetag=Tt,r.onerror=Gt,r.oncdata=Lt,r.ondoctype=Ct,r.onprocessinginstruction=vt,r.write(t).close(),n[i.elementsKey]&&(e=n[i.elementsKey],delete n[i.elementsKey],n[i.elementsKey]=e,delete n.text),n}var St=_t,Nt=Ot;var S,N,F=_t,Ft=e;function j(t,e,r){return(!r&&t.spaces?"\n":"")+Array(e+1).join(t.spaces)}function jt(t,e,r){if(e.ignoreAttributes)return"";var n,a,i,o,s=[];for(n in t="attributesFn"in e?e.attributesFn(t,N,S):t)t.hasOwnProperty(n)&&null!==t[n]&&void 0!==t[n]&&(o=e.noQuotesForNativeAttributes&&"string"!=typeof t[n]?"":'"',a=(a=""+t[n]).replace(/"/g,"""),i="attributeNameFn"in e?e.attributeNameFn(n,a,N,S):n,s.push(e.spaces&&e.indentAttributes?j(e,r+1,!1):" "),s.push(i+"="+o+("attributeValueFn"in e?e.attributeValueFn(a,n,N,S):a)+o));return t&&Object.keys(t).length&&e.spaces&&e.indentAttributes&&s.push(j(e,r,!1)),s.join("")}function Pt(t,e,r){return S=t,N="xml",e.ignoreDeclaration?"":"<?xml"+jt(t[e.attributesKey],e,r)+"?>"}function Rt(t,e,r){if(e.ignoreInstruction)return"";for(var n in t)if(t.hasOwnProperty(n))break;var a="instructionNameFn"in e?e.instructionNameFn(n,t[n],N,S):n;return"object"==typeof t[n]?"<?"+(N=a)+jt((S=t)[n][e.attributesKey],e,r)+"?>":(r=t[n]||"","<?"+a+((r="instructionFn"in e?e.instructionFn(r,n,N,S):r)?" "+r:"")+"?>")}function kt(t,e){return e.ignoreComment?"":"\x3c!--"+("commentFn"in e?e.commentFn(t,N,S):t)+"--\x3e"}function Mt(t,e){return e.ignoreCdata?"":"<![CDATA["+("cdataFn"in e?e.cdataFn(t,N,S):t.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function It(t,e){return e.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in e?e.doctypeFn(t,N,S):t)+">"}function xt(t,e){return e.ignoreText?"":(t=(t=(t=""+t).replace(/&/g,"&")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in e?e.textFn(t,N,S):t)}function Bt(t,e,r){N=(S=t).name;var n=[],a="elementNameFn"in e?e.elementNameFn(t.name,t):t.name,i=(n.push("<"+a),t[e.attributesKey]&&n.push(jt(t[e.attributesKey],e,r)),t[e.elementsKey]&&t[e.elementsKey].length||t[e.attributesKey]&&"preserve"===t[e.attributesKey]["xml:space"]);return(i=i||("fullTagEmptyElementFn"in e?e.fullTagEmptyElementFn(t.name,t):e.fullTagEmptyElement))?(n.push(">"),t[e.elementsKey]&&t[e.elementsKey].length&&(n.push(Ut(t[e.elementsKey],e,r+1)),N=(S=t).name),n.push(e.spaces&&function(t,e){var r;if(t.elements&&t.elements.length)for(r=0;r<t.elements.length;++r)switch(t.elements[r][e.typeKey]){case"text":if(e.indentText)return 1;break;case"cdata":if(e.indentCdata)return 1;break;case"instruction":if(e.indentInstruction)return 1;break;default:return 1}}(t,e)?"\n"+Array(r+1).join(e.spaces):""),n.push("</"+a+">")):n.push("/>"),n.join("")}function Ut(t,a,i,o){return t.reduce(function(t,e){var r=j(a,i,o&&!t);switch(e.type){case"element":return t+r+Bt(e,a,i);case"comment":return t+r+kt(e[a.commentKey],a);case"doctype":return t+r+It(e[a.doctypeKey],a);case"cdata":return t+(a.indentCdata?r:"")+Mt(e[a.cdataKey],a);case"text":return t+(a.indentText?r:"")+xt(e[a.textKey],a);case"instruction":var n={};return n[e[a.nameKey]]=e[a.attributesKey]?e:e[a.instructionKey],t+(a.indentInstruction?r:"")+Rt(n,a,i)}},"")}function Kt(t,e,r){for(var n in t)if(t.hasOwnProperty(n))switch(n){case e.parentKey:case e.attributesKey:break;case e.textKey:if(e.indentText||r)return!0;break;case e.cdataKey:if(e.indentCdata||r)return!0;break;case e.instructionKey:if(e.indentInstruction||r)return!0;break;case e.doctypeKey:case e.commentKey:default:return!0}return!1}function zt(t,e,r,n){var a,i,o,s=[];for(i in t)if(t.hasOwnProperty(i))for(o=Ft(t[i])?t[i]:[t[i]],a=0;a<o.length;++a){switch(i){case e.declarationKey:s.push(Pt(o[a],e,r));break;case e.instructionKey:s.push((e.indentInstruction?j(e,r,n):"")+Rt(o[a],e,r));break;case e.attributesKey:case e.parentKey:break;case e.textKey:s.push((e.indentText?j(e,r,n):"")+xt(o[a],e));break;case e.cdataKey:s.push((e.indentCdata?j(e,r,n):"")+Mt(o[a],e));break;case e.doctypeKey:s.push(j(e,r,n)+It(o[a],e));break;case e.commentKey:s.push(j(e,r,n)+kt(o[a],e));break;default:s.push(j(e,r,n)+function(t,e,r,n,a){S=t,N=e;var i="elementNameFn"in r?r.elementNameFn(e,t):e;if(null==t||""===t)return"fullTagEmptyElementFn"in r&&r.fullTagEmptyElementFn(e,t)||r.fullTagEmptyElement?"<"+i+"></"+i+">":"<"+i+"/>";var o=[];if(e){if(o.push("<"+i),"object"!=typeof t)return o.push(">"+xt(t,r)+"</"+i+">"),o.join("");t[r.attributesKey]&&o.push(jt(t[r.attributesKey],r,n));var s=Kt(t,r,!0)||t[r.attributesKey]&&"preserve"===t[r.attributesKey]["xml:space"];if(!(s=s||("fullTagEmptyElementFn"in r?r.fullTagEmptyElementFn(e,t):r.fullTagEmptyElement)))return o.push("/>"),o.join("");o.push(">")}return o.push(zt(t,r,n+1,!1)),S=t,(N=e)&&o.push((a?j(r,n,!1):"")+"</"+i+">"),o.join("")}(o[a],i,e,r,Kt(o[a],e)))}n=n&&!s.length}return s.join("")}function Wt(t,e){r=e,r=F.copyOptions(r),F.ensureFlagExists("ignoreDeclaration",r),F.ensureFlagExists("ignoreInstruction",r),F.ensureFlagExists("ignoreAttributes",r),F.ensureFlagExists("ignoreText",r),F.ensureFlagExists("ignoreComment",r),F.ensureFlagExists("ignoreCdata",r),F.ensureFlagExists("ignoreDoctype",r),F.ensureFlagExists("compact",r),F.ensureFlagExists("indentText",r),F.ensureFlagExists("indentCdata",r),F.ensureFlagExists("indentAttributes",r),F.ensureFlagExists("indentInstruction",r),F.ensureFlagExists("fullTagEmptyElement",r),F.ensureFlagExists("noQuotesForNativeAttributes",r),F.ensureSpacesExists(r),"number"==typeof r.spaces&&(r.spaces=Array(r.spaces+1).join(" ")),F.ensureKeyExists("declaration",r),F.ensureKeyExists("instruction",r),F.ensureKeyExists("attributes",r),F.ensureKeyExists("text",r),F.ensureKeyExists("comment",r),F.ensureKeyExists("cdata",r),F.ensureKeyExists("doctype",r),F.ensureKeyExists("type",r),F.ensureKeyExists("name",r),F.ensureKeyExists("elements",r),F.checkFnExists("doctype",r),F.checkFnExists("instruction",r),F.checkFnExists("cdata",r),F.checkFnExists("comment",r),F.checkFnExists("text",r),F.checkFnExists("instructionName",r),F.checkFnExists("elementName",r),F.checkFnExists("attributeName",r),F.checkFnExists("attributeValue",r),F.checkFnExists("attributes",r),F.checkFnExists("fullTagEmptyElement",r);var r,n=[];return S=t,N="_root_",(e=r).compact?n.push(zt(t,e,0,!0)):(t[e.declarationKey]&&n.push(Pt(t[e.declarationKey],e,0)),t[e.elementsKey]&&t[e.elementsKey].length&&n.push(Ut(t[e.elementsKey],e,0,!n.length))),n.join("")}var Vt,Yt=Wt,Ht=x({xml2js:Ot,xml2json:function(t,e){var r;return e=e,e=St.copyOptions(e),St.ensureSpacesExists(e),e=Nt(t,t=e),r="compact"in t&&t.compact?"_parent":"parent",("addParent"in t&&t.addParent?JSON.stringify(e,function(t,e){return t===r?"_":e},t.spaces):JSON.stringify(e,null,t.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},js2xml:Wt,json2xml:function(t,e){var r=null;if("string"==typeof(t=t instanceof Buffer?t.toString():t))try{r=JSON.parse(t)}catch(t){throw new Error("The JSON structure is invalid")}else r=t;return Yt(r,e)}}),P={raster:{},vector:{}};function Xt(t){if(t){t=Ht.xml2js(t);if(t.elements&&0<t.elements.length&&(1!==t.elements.length&&console.warn("invalid xml!"),t.elements[0])&&t.elements[0].elements)return t.elements[0].elements.map(function(t){var e=t.attributes;return t.elements&&0<t.elements.length&&(e.options=t.elements.map(function(t){return t.elements[0].text})),e})}return null}function qt(){for(var t,e,r,n=y.GDALGetDriverCount(),a=0;a<n;a+=1){var i=y.GDALGetDriver(a),o=(i=i,r=e=o=t=void 0,t=y.GDALGetMetadataItem(i,"DMD_EXTENSIONS",null),""!==(o=""===(o=y.GDALGetMetadataItem(i,"DMD_EXTENSION",null))&&""!==t?t.split(" ")[0]:o)&&(o=o.replace(".","").replace("/","")),"GeoJSON"===(e=y.GDALGetDescription(i))&&(o="geojson"),r=y.GDALGetMetadataItem(i,"DMD_LONGNAME",null),{extension:o,extensions:t,shortName:e,longName:r,isReadable:"YES"===y.GDALGetMetadataItem(i,"DCAP_OPEN",null),isWritable:"YES"===y.GDALGetMetadataItem(i,"DCAP_CREATE",null)||"YES"===y.GDALGetMetadataItem(i,"DCAP_CREATECOPY",null),isRaster:"YES"===y.GDALGetMetadataItem(i,"DCAP_RASTER",null),isVector:"YES"===y.GDALGetMetadataItem(i,"DCAP_VECTOR",null),openOptionsList:Xt(y.GDALGetMetadataItem(i,"DMD_OPENOPTIONLIST",null)),creationOptionList:Xt(y.GDALGetMetadataItem(i,"DMD_CREATIONOPTIONLIST",null)),layerCreationOptionList:Xt(y.GDALGetMetadataItem(i,"DS_LAYER_CREATIONOPTIONLIST",null)),helpUrl:y.GDALGetMetadataItem(i,"DMD_HELPTOPIC",null)});o.isRaster&&(P.raster[o.shortName]=s(s({index:a},o),{},{type:"raster"})),o.isVector&&(P.vector[o.shortName]=s(s({index:a},o),{},{type:"vector"}))}}function Qt(t){var e=y.GDALGetFileList(t);if(!e)return[];for(var r=[],n=0;n<100;n+=1){var a=y.Module.HEAP32[e+4*n>>2];if(0===a)break;a=y.Module.UTF8ToString(a);r.push(a)}return r}function Zt(i){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];return new Promise(function(t,e){var r=E(["-json"].concat(h(o))),n=r.config,n=(Object.entries(n).forEach(function(t){var t=d(t,2),e=t[0],t=t[1];y.CPLSetConfigOption(e,t)}),y.GDALInfoOptionsNew(r.ptr,null)),a=y.GDALInfo(i.pointer,n);y.GDALInfoOptionsFree(n),w(r),3<=y.CPLGetLastErrorNo()?e(m()):t(JSON.parse(a))})}function Jt(i){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];return new Promise(function(t,e){var r=E(["-json"].concat(h(o))),n=r.config,n=(Object.entries(n).forEach(function(t){var t=d(t,2),e=t[0],t=t[1];y.CPLSetConfigOption(e,t)}),y.GDALVectorInfoOptionsNew(r.ptr,null)),a=y.GDALVectorInfo(i.pointer,n);y.GDALVectorInfoOptionsFree(n),w(r),3<=y.CPLGetLastErrorNo()?e(m()):t(JSON.parse(a))})}function $t(){!u&&"function"!=typeof importScripts||y.Module.FS.unmount(p)}var te={ogr2ogr:function(c){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return new Promise(function(t,e){var r=E(f),n=r.config,n=(Object.entries(n).forEach(function(t){var t=d(t,2),e=t[0],t=t[1];y.CPLSetConfigOption(e,t)}),y.GDALVectorTranslateOptionsNew(r.ptr,null)),a=y.Module._malloc(4),i=(y.Module.setValue(a,c.pointer,"*"),f.indexOf("-f")+1),o="unknown",i=(0!==i&&(i=f[i],s=P.vector[i])&&(o="MapInfo File"===i&&-1!==f.indexOf("FORMAT=MIF")?"mif":s.extension),l||c.path.split(".",1)[0]),s="".concat(_,"/").concat(i,".").concat(o),a=y.GDALVectorTranslate(s,null,1,a,n,null),u=Qt(a);y.GDALVectorTranslateOptionsFree(n),w(r),y.GDALClose(a),3<=y.CPLGetLastErrorNo()?e(m()):t({local:s,real:"".concat(g,"/").concat(i,".").concat(o),all:u.map(function(t){return{local:t,real:t.replace("".concat(_,"/"),"".concat(g,"/"))}})})})},gdal_translate:function(c){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return new Promise(function(t,e){var r=E(f),n=r.config,n=(Object.entries(n).forEach(function(t){var t=d(t,2),e=t[0],t=t[1];y.CPLSetConfigOption(e,t)}),y.GDALTranslateOptionsNew(r.ptr,null)),a=f.indexOf("-of")+1,i="unknown",a=(0!==a&&(a=f[a],a=P.raster[a])&&(i=a.extension),l||c.path.split(".",1)[0]),o="".concat(_,"/").concat(a,".").concat(i),s=y.GDALTranslate(o,c.pointer,n,null),u=Qt(s);y.GDALTranslateOptionsFree(n),w(r),y.GDALClose(s),3<=y.CPLGetLastErrorNo()?e(m()):t({local:o,real:"".concat(g,"/").concat(a,".").concat(i),all:u.map(function(t){return{local:t,real:t.replace("".concat(_,"/"),"".concat(g,"/"))}})})})},gdal_rasterize:function(c){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return new Promise(function(t,e){var r=E(f),n=r.config,n=(Object.entries(n).forEach(function(t){var t=d(t,2),e=t[0],t=t[1];y.CPLSetConfigOption(e,t)}),y.GDALRasterizeOptionsNew(r.ptr,null)),a=f.indexOf("-of")+1,i="tif",a=(0!==a&&(a=f[a],a=P.raster[a])&&(i=a.extension),l||c.path.split(".",1)[0]),o="".concat(_,"/").concat(a,".").concat(i),s=y.GDALRasterize(o,null,c.pointer,n,null),u=Qt(s);y.GDALRasterizeOptionsFree(n),w(r),y.GDALClose(s),3<=y.CPLGetLastErrorNo()?e(m()):t({local:o,real:"".concat(g,"/").concat(a,".").concat(i),all:u.map(function(t){return{local:t,real:t.replace("".concat(_,"/"),"".concat(g,"/"))}})})})},gdalwarp:function(c){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return new Promise(function(t,e){var r=E(f),n=r.config,n=(Object.entries(n).forEach(function(t){var t=d(t,2),e=t[0],t=t[1];y.CPLSetConfigOption(e,t)}),y.GDALWarpAppOptionsNew(r.ptr,null)),a=y.Module._malloc(4),i=(y.Module.setValue(a,c.pointer,"*"),f.indexOf("-of")+1),o="unknown",i=(0!==i&&(i=f[i],i=P.raster[i])&&(o=i.extension),l||c.path.split(".",1)[0]),s="".concat(_,"/").concat(i,".").concat(o),a=y.GDALWarp(s,null,1,a,n,null),u=Qt(a);y.GDALWarpAppOptionsFree(n),w(r),y.GDALClose(a),3<=y.CPLGetLastErrorNo()?e(m()):t({local:s,real:"".concat(g,"/").concat(i,".").concat(o),all:u.map(function(t){return{local:t,real:t.replace("".concat(_,"/"),"".concat(g,"/"))}})})})},gdaltransform:function(_,g){return new Promise(function(t){for(var e=new Float64Array(_.map(function(t){return t[0]})),r=new Float64Array(_.map(function(t){return t[1]})),n=new Float64Array(_.map(function(t){return t[2]||0})),a=y.Module._malloc(e.length*e.BYTES_PER_ELEMENT),i=y.Module._malloc(r.length*r.BYTES_PER_ELEMENT),o=y.Module._malloc(n.length*n.BYTES_PER_ELEMENT),s=(y.Module.HEAPF64.set(e,a/e.BYTES_PER_ELEMENT),y.Module.HEAPF64.set(r,i/r.BYTES_PER_ELEMENT),y.Module.HEAPF64.set(n,o/n.BYTES_PER_ELEMENT),!1),u=!1,c=[],f=0;f<g.length;f+=1)switch(g[f]){case"-s_srs":c.push("SRC_SRS=".concat(g[f+=1]));break;case"-t_srs":c.push("DST_SRS=".concat(g[f+=1]));break;case"-ct":c.push("COORDINATE_OPERATION=".concat(g[f+=1]));break;case"-order":c.push("MAX_GCP_ORDER=".concat(g[f+=1]));break;case"-tps":c.push("METHOD=GCP_TPS");break;case"-rpc":c.push("METHOD=RPC");break;case"-geoloc":c.push("METHOD=GEOLOC_ARRAY");break;case"-i":s=!0;break;case"-to":c.push("".concat(g[f+=1]));break;case"-output_xy":u=!0}for(var l=E(c),d=y.GDALCreateGenImgProjTransformer2(null,null,l.ptr),h=(y.GDALGenImgProjTransform(d,s,_.length,a,i,o,null),[Array.from(y.Module.HEAPF64.subarray(a/e.BYTES_PER_ELEMENT,a/e.BYTES_PER_ELEMENT+e.length)),Array.from(y.Module.HEAPF64.subarray(i/r.BYTES_PER_ELEMENT,i/r.BYTES_PER_ELEMENT+r.length)),Array.from(y.Module.HEAPF64.subarray(o/n.BYTES_PER_ELEMENT,o/n.BYTES_PER_ELEMENT+n.length))]),m=[],p=0;p<h[0].length;p+=1)m.push(u?[h[0][p],h[1][p]]:[h[0][p],h[1][p],h[2][p]]);y.Module._free(a),y.Module._free(i),y.Module._free(o),w(l),y.GDALDestroyGenImgProjTransformer(d),t(m)})},gdal_location_info:function(o,s){return new Promise(function(t,e){var r=y.OSRNewSpatialReference('GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]'),n=(y.OSRSetAxisMappingStrategy(r,0),y.GDALGetSpatialRef(o.pointer)),r=y.OCTNewCoordinateTransformation(r,n),n=y.CPLAtof(String(s[0])),a=y.CPLAtof(String(s[1])),i=y.Module._malloc(8),n=(y.Module.setValue(i,n,"double"),y.Module._malloc(8));y.Module.setValue(n,a,"double");y.OCTTransform(r,1,n,i,null)||e(new Error("Failed to perform OCTTransform"));a=y.Module.getValue(n,"double"),r=y.Module.getValue(i,"double"),n=y.Module._malloc(6*Float64Array.BYTES_PER_ELEMENT),y.GDALGetGeoTransform(o.pointer,n),i=y.Module._malloc(6*Float64Array.BYTES_PER_ELEMENT),y.GDALInvGeoTransform(n,i)||e(new Error("Failed to invert transform")),n=y.Module.HEAPF64.subarray(i/Float64Array.BYTES_PER_ELEMENT,i/Float64Array.BYTES_PER_ELEMENT+6);t({pixel:Math.floor(n[0]+n[1]*a+n[2]*r),line:Math.floor(n[3]+n[4]*a+n[5]*r)})})},gdalinfo:Zt,ogrinfo:Jt,open:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],o=t,d=E(e);return Array.isArray(o)||"function"==typeof FileList&&o instanceof FileList||(o=[o]),new Promise(function(r,n){var a,i=[],e=[];h(o).forEach(function(t){!("string"==typeof t||t instanceof String)||t.substring(0,p.length+1)!=="".concat(p,"/")&&t.substring(0,_.length+1)!=="".concat(_,"/")?e.push(t):i.push({name:t.substring(t.indexOf("/",1)+1),internal:!0,prefix:t.substring(0,t.indexOf("/",1))})}),a=e,new Promise(function(e){var r,n;0===a.length?e([]):u?(r=[],a.forEach(function(t){var t=t.split("/"),e=t.pop(),t=t.join("/")||".";Vt!==t&&(Vt&&$t(),Vt=t,y.Module.FS.mount(y.Module.NODEFS,{root:t},p)),r.push({name:e})}),e(r)):"function"==typeof importScripts?(Vt&&$t(),y.Module.FS.mount(y.Module.WORKERFS,{files:a},p),Vt=!0,e(a)):(n=[],a.forEach(function(t){n.push(t.arrayBuffer())}),Promise.all(n).then(function(t){t.forEach(function(t,e){t=new Uint8Array(t);y.Module.FS.writeFile("".concat(p,"/").concat(a[e].name),t)}),e(a)}))}).then(function(t){for(var o=[].concat(h(t),i),s=[],u=(y.CPLErrorReset(),{}),c=[],e=function(){var t=o[f].name,r=t.split(".",1)[0];if(u[r]||(u[r]={}),u[r].pointer)return 0;u[r].path=t;var e=l&&l.length?"/".concat(l.join("/"),"/"):"",n="".concat(e).concat(p,"/").concat(t),a=(o[f].internal&&(n="".concat(e).concat(o[f].prefix,"/").concat(t)),y.GDALOpenEx(n,null,null,d.ptr,null));if(0===a)return e=m(),s.push(e),delete u[r],0;u[r].pointer=a;function i(){var t=y.GDALGetRasterCount(a),e=y.GDALDatasetGetLayerCount(a);u[r].type=0<t&&0===e?"raster":"vector"}t=Zt(u[r]).then(function(t){if(t&&t.bands){var e=t.size&&2<=t.size.length&&(0<t.size[0]||0<t.size[1]);if(u[r].type=0<t.bands.length&&e?"raster":"vector","vector"===u[r].type)return Jt(u[r]).then(function(t){u[r].info=t});u[r].info=t}else i();return!0}).catch(i);c.push(t)},f=0;f<o.length;f+=1)e();w(d),Promise.allSettled(c).then(function(){var t=Object.values(u);0<t.length||0===s.length?r({datasets:t,errors:s}):n(s)})})})},close:function(e){return new Promise(function(t){y.GDALClose(e.pointer),t()})},getInfo:function(m){return new Promise(function(t){var e=y.GDALGetRasterCount(m.pointer),r=y.GDALDatasetGetLayerCount(m.pointer);if(0<e&&0===r){var n=y.GDALGetRasterXSize(m.pointer),a=y.GDALGetRasterYSize(m.pointer),i=y.GDALGetProjectionRef(m.pointer),o=y.Module._malloc(6*Float64Array.BYTES_PER_ELEMENT),s=(y.GDALGetGeoTransform(m.pointer,o),y.Module.HEAPF64.subarray(o/Float64Array.BYTES_PER_ELEMENT,o/Float64Array.BYTES_PER_ELEMENT+6)),o=[[0,0],[n,0],[n,a],[0,a]].map(function(t){var e=t[0],t=t[1];return[s[0]+s[1]*e+s[2]*t,s[3]+s[4]*e+s[5]*t]}),u=y.GDALGetDatasetDriver(m.pointer),u=y.GDALGetDriverLongName(u),c=y.OGR_DS_GetName(m.pointer);t(JSON.parse(JSON.stringify({type:"raster",bandCount:e,width:n,height:a,projectionWkt:i,coordinateTransform:s,corners:o,driverName:u,dsName:c})))}else{for(var f=[],l=0;l<r;l+=1){var d=y.OGR_DS_GetLayer(m.pointer,l),h=y.OGR_L_GetName(d),d=y.OGR_L_GetFeatureCount(d,1);f.push({name:h,featureCount:d})}e=f.reduce(function(t,e){return t+e.featureCount},0),n=y.OGR_DS_GetName(m.pointer),a=y.GDALGetDatasetDriver(m.pointer);t({type:"vector",layerCount:r,featureCount:e,layers:f,dsName:n,driverName:y.GDALGetDriverLongName(a)})}})},getOutputFiles:function(){return new Promise(function(t){t(function r(t){var n=0<arguments.length&&void 0!==t?t:_.substr(1),a=n.split("/").reduce(function(t,e){return t.contents[e]},y.Module.FS.root).contents,i=[];return Object.keys(a).forEach(function(t){var e=a[t];e.usedBytes?i.push({path:"/".concat(n,"/").concat(t),size:e.usedBytes}):e.contents&&i.push.apply(i,h(r("".concat(n,"/").concat(t))))}),i}())})},getFileBytes:function(r){return new Promise(function(t){var e;r?(e=r.local||r,t(y.Module.FS.readFile(e,{encoding:"binary"}))):t(new Uint8Array)})},drivers:P,Module:y.Module};function ee(r){var n;onmessage=function(t){var e;return t.data&&"constructor"===t.data.func?(e={useWorker:!1},t.data.params&&t.data.params.config&&(e=s(s({},t.data.params.config),e)),(n=r(e)).then(function(t){t=t.drivers;return postMessage({success:!0,id:"onload",data:t})}).catch(function(t){return postMessage({success:!1,id:"onload",data:t})}),null):n.then(function(t){var e=this;this.data&&this.data.func&&t[this.data.func]?t[this.data.func].apply(t,h(this.data.params)).then(function(t){postMessage({success:!0,id:e.data.id,data:t})}).catch(function(t){postMessage({success:!1,id:e.data.id,data:{message:t.message}})}):console.error("undefined function",this.data)}.bind(t)).catch(function(t){postMessage({success:!1,id:this.id,data:{no:-1,message:t.message}})}.bind(t))}}var re,ne={gdalWorkerWrapper:null,drivers:null},B=function(){function a(t,e,r){var n=this;if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.promises={onload:{resolve:r,reject:console.error}},this.gdalWorker=new Worker(t),this.gdalWorker.onmessage=function(t){t.data&&t.data.id&&n.promises[t.data.id]&&(t.data.success?n.promises[t.data.id].resolve(t.data.data):n.promises[t.data.id].reject(t.data.data))},this.gdalWorker.postMessage({func:"constructor",params:{config:e}})}var t,e,r;return t=a,(e=[{key:"call",value:function(r){var n=this;return new Promise(function(t,e){r.id=Math.floor(1e5*Math.random()),n.promises[r.id]={resolve:t,reject:e},n.gdalWorker.postMessage(r)})}},{key:"terminate",value:function(){this.gdalWorker.terminate(),delete this.gdalWorker,delete this.promises}}])&&R(t.prototype,e),r&&R(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(),_t=new Proxy({},{get:function(t,a){return"then"===a||"catch"===a?t:"drivers"===a?ne.drivers:function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return new Promise(function(e,r){ne.gdalWorkerWrapper.call({func:a,params:n}).then(function(t){e(t)}).catch(function(t){return r(t)})})}}}),ae={variables:ne,WorkerWrapper:B,gdalProxy:_t};function ie(){var t,r,a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return re=re||(u||!1===a.useWorker?new Promise(function(t,e){var r=y.Module,n=r.onAbort;r.onAbort=function(t){e(new Error(t)),n&&n(t)},r.print=function(t){a.logHandler?a.logHandler(t,"stdout"):console.debug("gdal stdout: ".concat(t))},r.printErr=function(t){a.errorHandler?a.errorHandler(t,"stderr"):console.error("gdal stderr: ".concat(t))},r.preRun=[function(t){var r=t.ENV;r.PROJ_LIB="/usr/share/proj",r.GDAL_DATA="/usr/share/gdal",r.DXF_FEATURE_LIMIT_PER_BLOCK="-1",r.GDAL_NUM_THREADS="0",r.GDAL_ENABLE_DEPRECATED_DRIVER_GTM="YES",r.CPL_LOG_ERRORS="ON",a.env&&Object.entries(a.env).forEach(function(t){var t=d(t,2),e=t[0],t=t[1];r[e]=t})}],r.onRuntimeInitialized=function(){var t,e;y.GDALOpen||((e=y.Module).ccall("GDALAllRegister",null,[],[]),y.GDALOpen=e.cwrap("GDALOpen","number",["string"]),y.GDALOpenEx=e.cwrap("GDALOpenEx","number",["string","number","number","number","number"]),y.GDALClose=e.cwrap("GDALClose",null,["number"]),y.CPLErrorReset=e.cwrap("CPLErrorReset",null,[]),y.CPLSetErrorHandler=e.cwrap("CPLSetErrorHandler","number",["number"]),y.CPLQuietErrorHandler=e.cwrap("CPLQuietErrorHandler",null,["number","number","string"]),y.CPLGetLastErrorNo=e.cwrap("CPLGetLastErrorNo","number",[]),y.CPLGetLastErrorMsg=e.cwrap("CPLGetLastErrorMsg","string",[]),y.CPLGetLastErrorType=e.cwrap("CPLGetLastErrorType","number",[]),y.CPLSetConfigOption=e.cwrap("CPLSetConfigOption",null,["string","string"]),y.CPLSetThreadLocalConfigOption=e.cwrap("CPLSetThreadLocalConfigOption",null,["string","string"]),y.GDALGetRasterCount=e.cwrap("GDALGetRasterCount","number",["number"]),y.GDALGetRasterXSize=e.cwrap("GDALGetRasterXSize","number",["number"]),y.GDALGetRasterYSize=e.cwrap("GDALGetRasterYSize","number",["number"]),y.GDALGetProjectionRef=e.cwrap("GDALGetProjectionRef","string",["number"]),y.GDALGetGeoTransform=e.cwrap("GDALGetGeoTransform","number",["number","number"]),y.GDALInvGeoTransform=e.cwrap("GDALInvGeoTransform","number",["number","number"]),y.GDALVectorTranslate=e.cwrap("GDALVectorTranslate","number",["string","number","number","number","number","number"]),y.GDALVectorTranslateOptionsNew=e.cwrap("GDALVectorTranslateOptionsNew","number",["number","number"]),y.GDALVectorTranslateOptionsFree=e.cwrap("GDALVectorTranslateOptionsFree","number",["number"]),y.GDALDatasetGetLayerCount=e.cwrap("GDALDatasetGetLayerCount","number",["number"]),y.GDALDatasetGetLayer=e.cwrap("GDALDatasetGetLayer","number",["number","number"]),y.OGR_DS_GetLayerCount=e.cwrap("OGR_DS_GetLayerCount","number",["number"]),y.OGR_DS_GetName=e.cwrap("OGR_DS_GetName","string",["number"]),y.OGR_DS_GetLayer=e.cwrap("OGR_DS_GetLayer","number",["number","number"]),y.OGR_L_GetName=e.cwrap("OGR_L_GetName","string",["number"]),y.OGR_DS_GetDriver=e.cwrap("OGR_DS_GetDriver","number",["number"]),y.OGR_Dr_GetName=e.cwrap("OGR_Dr_GetName","string",["number"]),y.GDALGetDatasetDriver=e.cwrap("GDALGetDatasetDriver","number",["number"]),y.GDALGetDriverLongName=e.cwrap("GDALGetDriverLongName","string",["number"]),y.GDALGetDriverShortName=e.cwrap("GDALGetDriverShortName","string",["number"]),y.GDALTranslate=e.cwrap("GDALTranslate","number",["string","number","number","number"]),y.GDALTranslateOptionsNew=e.cwrap("GDALTranslateOptionsNew","number",["number","number"]),y.GDALTranslateOptionsFree=e.cwrap("GDALTranslateOptionsFree","number",["number"]),y.GDALRasterize=e.cwrap("GDALRasterize","number",["string","number","number","number","number"]),y.GDALRasterizeOptionsNew=e.cwrap("GDALRasterizeOptionsNew","number",["number","number"]),y.GDALRasterizeOptionsFree=e.cwrap("GDALRasterizeOptionsFree","number",["number"]),y.GDALWarp=e.cwrap("GDALWarp","number",["string","number","number","number","number","number"]),y.GDALWarpAppOptionsNew=e.cwrap("GDALWarpAppOptionsNew","number",["number","number"]),y.GDALWarpAppOptionsSetProgress=e.cwrap("GDALWarpAppOptionsSetProgress","number",["number","number","number"]),y.GDALWarpAppOptionsFree=e.cwrap("GDALWarpAppOptionsFree","number",["number"]),y.OSRNewSpatialReference=e.cwrap("OSRNewSpatialReference","number",["string"]),y.OSRDestroySpatialReference=e.cwrap("OSRDestroySpatialReference","number",["number"]),y.OCTNewCoordinateTransformation=e.cwrap("OCTNewCoordinateTransformation","number",["number","number"]),y.OCTDestroyCoordinateTransformation=e.cwrap("OCTDestroyCoordinateTransformation","number",["number"]),y.OCTTransform=e.cwrap("OCTTransform","number",["number","number","number","number","number"]),y.GDALGetDriverCount=e.cwrap("GDALGetDriverCount","number",[]),y.OGRGetDriverCount=e.cwrap("OGRGetDriverCount","number",[]),y.GDALGetDriver=e.cwrap("GDALGetDriver","number",["number"]),y.OGRGetDriver=e.cwrap("OGRGetDriver","number",["number"]),y.GDALGetMetadataItem=e.cwrap("GDALGetMetadataItem","string",["number","string","string"]),y.GDALGetDescription=e.cwrap("GDALGetDescription","string",["number"]),y.OGR_L_GetFeatureCount=e.cwrap("OGR_L_GetFeatureCount","number",["number","number"]),y.GDALGenImgProjTransform=e.cwrap("GDALGenImgProjTransform","number",["number","number","number","number","number","number","number"]),y.GDALCreateGenImgProjTransformer2=e.cwrap("GDALCreateGenImgProjTransformer2","number",["number","number","number"]),y.GDALDestroyGenImgProjTransformer=e.cwrap("GDALDestroyGenImgProjTransformer",null,["number"]),y.OSRSetFromUserInput=e.cwrap("OSRSetFromUserInput","number",["number","string"]),y.OSRExportToWkt=e.cwrap("OSRExportToWkt","number",["number","number"]),y.GDALGetSpatialRef=e.cwrap("GDALGetSpatialRef","number",["number"]),y.CPLAtof=e.cwrap("CPLAtof","number",["string"]),y.OSRSetAxisMappingStrategy=e.cwrap("OSRSetAxisMappingStrategy",null,["number","number"]),y.GDALInfo=e.cwrap("GDALInfo","string",["number","number"]),y.GDALInfoOptionsNew=e.cwrap("GDALInfoOptionsNew","number",["number","number"]),y.GDALInfoOptionsFree=e.cwrap("GDALInfoOptionsFree",null,["number"]),y.GDALVectorInfo=e.cwrap("GDALVectorInfo","string",["number","number"]),y.GDALVectorInfoOptionsNew=e.cwrap("GDALVectorInfoOptionsNew","number",["number","number"]),y.GDALVectorInfoOptionsFree=e.cwrap("GDALVectorInfoOptionsFree",null,["number"]),y.GDALGetFileList=e.cwrap("GDALGetFileList","number",["number"])),r.FS.mkdir(p),r.FS.mkdir(_),a.dest&&(e=a.dest,g=e,t=a.dest,u)&&y.Module.FS.mount(y.Module.NODEFS,{root:t},_),qt()},r.locateFile=function(t){var e=t,t=(a.paths&&a.paths.wasm&&"wasm"===t.split(".").pop()?e=a.paths.wasm:a.paths&&a.paths.data&&"data"===t.split(".").pop()&&(e=a.paths.data),""),t=(a.path?"/"!==(t=a.path).slice(-1)&&(t+="/"):u&&(t="node_modules/gdal3.js/dist/package/"),t+e);return t=u||"http"===t.substring(0,4)||"/"===t[0]?t:"/".concat(t)},u&&(r.getPreloadedPackage=function(t){return sn.readFileSync("./".concat(t),{flag:"r"}).buffer}),K(y.Module).then(function(){t(te)})}):(t=a.paths&&a.paths.js||"gdal3.js",r="",a.path&&"/"!==(r=a.path).slice(-1)&&(r+="/"),new Promise(function(e){ae.variables.gdalWorkerWrapper=new ae.WorkerWrapper("".concat(r).concat(t),a,function(t){ae.variables.drivers=t,e(ae.gdalProxy)})})))}return u&&(global.location={pathname:"./"}),"undefined"!=typeof window&&(window.initGdalJs=ie),"function"==typeof importScripts&&ee(ie),ie});
|