mirage2d 1.1.2 → 1.1.4
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/dist/MirageHttp.es.js +5268 -0
- package/dist/MirageHttp.es.js.map +1 -0
- package/dist/MirageHttp.umd.js +2 -0
- package/dist/MirageHttp.umd.js.map +1 -0
- package/dist/assets/js/basedecoder-fa2b8e8d.js +107 -0
- package/dist/assets/js/decoder-f19e05cf.js +6 -0
- package/dist/assets/js/deflate-adb9a67b.js +8 -0
- package/dist/{js/dist/_html2canvas@1.4.1@html2canvas.e8006fee.js → assets/js/html2canvas.esm-3dd231c5.js} +0 -0
- package/dist/assets/js/index-3263db85.js +1 -0
- package/dist/assets/js/index-a9db46a5.js +212968 -0
- package/dist/{js/lib/_canvg@3.0.10@canvg.bd557ac8.js → assets/js/index.es-38f73a27.js} +2179 -351
- package/dist/assets/js/jpeg-3bf23728.js +835 -0
- package/dist/{js/_lerc@3.0.0@lerc/_lerc@3.0.0@lerc.dc2ff398.js → assets/js/lerc-4c39f39b.js} +26 -1
- package/dist/assets/js/lzw-d0cad8af.js +123 -0
- package/dist/assets/js/packbits-d75b4cce.js +25 -0
- package/dist/{js/_pako@2.0.4@pako/_pako@2.0.4@pako.52d6b320.js → assets/js/pako.esm-49deb4d7.js} +0 -0
- package/dist/{js/dist/_dompurify@2.4.0@dompurify.e7ba523e.js → assets/js/purify.es-1915dfae.js} +0 -0
- package/dist/assets/js/raw-9656f9cc.js +7 -0
- package/dist/assets/js/webimage-edb7156c.js +27 -0
- package/package.json +1 -1
- package/dist/js/_@babel_runtime@7.18.9@@babel/_@babel_runtime@7.18.9@@babel.e0126ca2.js +0 -51
- package/dist/js/_@petamoriken_float16@3.6.6@@petamoriken/_@petamoriken_float16@3.6.6@@petamoriken.c5188241.js +0 -217
- package/dist/js/_@turf_along@6.5.0@@turf/_@turf_along@6.5.0@@turf.18dbc1a3.js +0 -31
- package/dist/js/_@turf_angle@6.5.0@@turf/_@turf_angle@6.5.0@@turf.554ac9bf.js +0 -1
- package/dist/js/_@turf_area@6.5.0@@turf/_@turf_area@6.5.0@@turf.6cbf0cc1.js +0 -74
- package/dist/js/_@turf_bbox-clip@6.5.0@@turf/_@turf_bbox-clip@6.5.0@@turf.e491cb90.js +0 -1
- package/dist/js/_@turf_bbox-polygon@6.5.0@@turf/_@turf_bbox-polygon@6.5.0@@turf.523f1c20.js +0 -19
- package/dist/js/_@turf_bbox@6.5.0@@turf/_@turf_bbox@6.5.0@@turf.4c59feee.js +0 -48
- package/dist/js/_@turf_bearing@6.5.0@@turf/_@turf_bearing@6.5.0@@turf.f2555a09.js +0 -25
- package/dist/js/_@turf_bezier-spline@6.5.0@@turf/_@turf_bezier-spline@6.5.0@@turf.fa7991dd.js +0 -137
- package/dist/js/_@turf_boolean-clockwise@6.5.0@@turf/_@turf_boolean-clockwise@6.5.0@@turf.4031f280.js +0 -1
- package/dist/js/_@turf_boolean-contains@6.5.0@@turf/_@turf_boolean-contains@6.5.0@@turf.836d55d8.js +0 -191
- package/dist/js/_@turf_boolean-crosses@6.5.0@@turf/_@turf_boolean-crosses@6.5.0@@turf.c5f65a28.js +0 -125
- package/dist/js/_@turf_boolean-disjoint@6.5.0@@turf/_@turf_boolean-disjoint@6.5.0@@turf.bbd60872.js +0 -122
- package/dist/js/_@turf_boolean-equal@6.5.0@@turf/_@turf_boolean-equal@6.5.0@@turf.341ffa01.js +0 -1
- package/dist/js/_@turf_boolean-intersects@6.5.0@@turf/_@turf_boolean-intersects@6.5.0@@turf.05fc28b3.js +0 -15
- package/dist/js/_@turf_boolean-overlap@6.5.0@@turf/_@turf_boolean-overlap@6.5.0@@turf.a519db25.js +0 -53
- package/dist/js/_@turf_boolean-parallel@6.5.0@@turf/_@turf_boolean-parallel@6.5.0@@turf.dbf2bc2d.js +0 -1
- package/dist/js/_@turf_boolean-point-in-polygon@6.5.0@@turf/_@turf_boolean-point-in-polygon@6.5.0@@turf.62a2d48a.js +0 -65
- package/dist/js/_@turf_boolean-point-on-line@6.5.0@@turf/_@turf_boolean-point-on-line@6.5.0@@turf.3cf3aaa1.js +0 -69
- package/dist/js/_@turf_boolean-within@6.5.0@@turf/_@turf_boolean-within@6.5.0@@turf.d70d6bfc.js +0 -172
- package/dist/js/_@turf_buffer@6.5.0@@turf/_@turf_buffer@6.5.0@@turf.88330dfe.js +0 -99
- package/dist/js/_@turf_center-mean@6.5.0@@turf/_@turf_center-mean@6.5.0@@turf.b3d7c917.js +0 -1
- package/dist/js/_@turf_center-median@6.5.0@@turf/_@turf_center-median@6.5.0@@turf.44c4669e.js +0 -1
- package/dist/js/_@turf_center-of-mass@6.5.0@@turf/_@turf_center-of-mass@6.5.0@@turf.63ce279e.js +0 -1
- package/dist/js/_@turf_center@6.5.0@@turf/_@turf_center@6.5.0@@turf.a45495b5.js +0 -12
- package/dist/js/_@turf_centroid@6.5.0@@turf/_@turf_centroid@6.5.0@@turf.0a5be869.js +0 -17
- package/dist/js/_@turf_circle@6.5.0@@turf/_@turf_circle@6.5.0@@turf.0166b8c2.js +0 -16
- package/dist/js/_@turf_clean-coords@6.5.0@@turf/_@turf_clean-coords@6.5.0@@turf.8c76bd63.js +0 -111
- package/dist/js/_@turf_clone@6.5.0@@turf/_@turf_clone@6.5.0@@turf.cd05b1f8.js +0 -100
- package/dist/js/_@turf_clusters-dbscan@6.5.0@@turf/_@turf_clusters-dbscan@6.5.0@@turf.6bbee7e9.js +0 -1
- package/dist/js/_@turf_clusters-kmeans@6.5.0@@turf/_@turf_clusters-kmeans@6.5.0@@turf.505415df.js +0 -1
- package/dist/js/_@turf_clusters@6.5.0@@turf/_@turf_clusters@6.5.0@@turf.84cb9680.js +0 -1
- package/dist/js/_@turf_collect@6.5.0@@turf/_@turf_collect@6.5.0@@turf.93e41b5f.js +0 -1
- package/dist/js/_@turf_combine@6.5.0@@turf/_@turf_combine@6.5.0@@turf.33ee6336.js +0 -1
- package/dist/js/_@turf_concave@6.5.0@@turf/_@turf_concave@6.5.0@@turf.6fb6a8be.js +0 -179
- package/dist/js/_@turf_convex@6.5.0@@turf/_@turf_convex@6.5.0@@turf.24600ac2.js +0 -1
- package/dist/js/_@turf_destination@6.5.0@@turf/_@turf_destination@6.5.0@@turf.2621651e.js +0 -18
- package/dist/js/_@turf_difference@6.5.0@@turf/_@turf_difference@6.5.0@@turf.70df5e79.js +0 -18
- package/dist/js/_@turf_dissolve@6.5.0@@turf/_@turf_dissolve@6.5.0@@turf.edb28fc1.js +0 -1
- package/dist/js/_@turf_distance-weight@6.5.0@@turf/_@turf_distance-weight@6.5.0@@turf.e168af7f.js +0 -1
- package/dist/js/_@turf_distance@6.5.0@@turf/_@turf_distance@6.5.0@@turf.0c7b8aea.js +0 -22
- package/dist/js/_@turf_ellipse@6.5.0@@turf/_@turf_ellipse@6.5.0@@turf.37986056.js +0 -1
- package/dist/js/_@turf_envelope@6.5.0@@turf/_@turf_envelope@6.5.0@@turf.599c5772.js +0 -1
- package/dist/js/_@turf_explode@6.5.0@@turf/_@turf_explode@6.5.0@@turf.5c768db5.js +0 -24
- package/dist/js/_@turf_flatten@6.5.0@@turf/_@turf_flatten@6.5.0@@turf.57e9114c.js +0 -1
- package/dist/js/_@turf_flip@6.5.0@@turf/_@turf_flip@6.5.0@@turf.1f02101f.js +0 -1
- package/dist/js/_@turf_great-circle@6.5.0@@turf/_@turf_great-circle@6.5.0@@turf.2ca021a8.js +0 -1
- package/dist/js/_@turf_helpers@6.5.0@@turf/_@turf_helpers@6.5.0@@turf.f1480aa1.js +0 -364
- package/dist/js/_@turf_hex-grid@6.5.0@@turf/_@turf_hex-grid@6.5.0@@turf.a6a45778.js +0 -99
- package/dist/js/_@turf_interpolate@6.5.0@@turf/_@turf_interpolate@6.5.0@@turf.4d39bd8c.js +0 -1
- package/dist/js/_@turf_intersect@6.5.0@@turf/_@turf_intersect@6.5.0@@turf.34082cdf.js +0 -17
- package/dist/js/_@turf_invariant@6.5.0@@turf/_@turf_invariant@6.5.0@@turf.0ef69f8c.js +0 -71
- package/dist/js/_@turf_isobands@6.5.0@@turf/_@turf_isobands@6.5.0@@turf.def019df.js +0 -3109
- package/dist/js/_@turf_isolines@6.5.0@@turf/_@turf_isolines@6.5.0@@turf.da623b25.js +0 -1
- package/dist/js/_@turf_kinks@6.5.0@@turf/_@turf_kinks@6.5.0@@turf.ee61685b.js +0 -87
- package/dist/js/_@turf_length@6.5.0@@turf/_@turf_length@6.5.0@@turf.f73f6c98.js +0 -12
- package/dist/js/_@turf_line-arc@6.5.0@@turf/_@turf_line-arc@6.5.0@@turf.3dc57055.js +0 -37
- package/dist/js/_@turf_line-chunk@6.5.0@@turf/_@turf_line-chunk@6.5.0@@turf.1867af48.js +0 -43
- package/dist/js/_@turf_line-intersect@6.5.0@@turf/_@turf_line-intersect@6.5.0@@turf.c4d81948.js +0 -73
- package/dist/js/_@turf_line-offset@6.5.0@@turf/_@turf_line-offset@6.5.0@@turf.e6846793.js +0 -116
- package/dist/js/_@turf_line-overlap@6.5.0@@turf/_@turf_line-overlap@6.5.0@@turf.addba9a5.js +0 -76
- package/dist/js/_@turf_line-segment@6.5.0@@turf/_@turf_line-segment@6.5.0@@turf.18ce3010.js +0 -55
- package/dist/js/_@turf_line-slice-along@6.5.0@@turf/_@turf_line-slice-along@6.5.0@@turf.2b802464.js +0 -57
- package/dist/js/_@turf_line-slice@6.5.0@@turf/_@turf_line-slice@6.5.0@@turf.6423a053.js +0 -23
- package/dist/js/_@turf_line-split@6.5.0@@turf/_@turf_line-split@6.5.0@@turf.2022f104.js +0 -125
- package/dist/js/_@turf_line-to-polygon@6.5.0@@turf/_@turf_line-to-polygon@6.5.0@@turf.83f5e69f.js +0 -1
- package/dist/js/_@turf_mask@6.5.0@@turf/_@turf_mask@6.5.0@@turf.96cd5a94.js +0 -1
- package/dist/js/_@turf_meta@6.5.0@@turf/_@turf_meta@6.5.0@@turf.1b9d5da5.js +0 -611
- package/dist/js/_@turf_midpoint@6.5.0@@turf/_@turf_midpoint@6.5.0@@turf.67c14f94.js +0 -1
- package/dist/js/_@turf_moran-index@6.5.0@@turf/_@turf_moran-index@6.5.0@@turf.2ad5365a.js +0 -1
- package/dist/js/_@turf_nearest-point-on-line@6.5.0@@turf/_@turf_nearest-point-on-line@6.5.0@@turf.095c8c0d.js +0 -57
- package/dist/js/_@turf_nearest-point-to-line@6.5.0@@turf/_@turf_nearest-point-to-line@6.5.0@@turf.68484097.js +0 -1
- package/dist/js/_@turf_nearest-point@6.5.0@@turf/_@turf_nearest-point@6.5.0@@turf.e0d2f509.js +0 -24
- package/dist/js/_@turf_planepoint@6.5.0@@turf/_@turf_planepoint@6.5.0@@turf.56fc70b3.js +0 -1
- package/dist/js/_@turf_point-grid@6.5.0@@turf/_@turf_point-grid@6.5.0@@turf.2d278644.js +0 -42
- package/dist/js/_@turf_point-on-feature@6.5.0@@turf/_@turf_point-on-feature@6.5.0@@turf.0c740874.js +0 -1
- package/dist/js/_@turf_point-to-line-distance@6.5.0@@turf/_@turf_point-to-line-distance@6.5.0@@turf.33105d82.js +0 -1
- package/dist/js/_@turf_points-within-polygon@6.5.0@@turf/_@turf_points-within-polygon@6.5.0@@turf.659cd335.js +0 -35
- package/dist/js/_@turf_polygon-smooth@6.5.0@@turf/_@turf_polygon-smooth@6.5.0@@turf.43a7c33e.js +0 -1
- package/dist/js/_@turf_polygon-tangents@6.5.0@@turf/_@turf_polygon-tangents@6.5.0@@turf.a2c3a7b6.js +0 -1
- package/dist/js/_@turf_polygon-to-line@6.5.0@@turf/_@turf_polygon-to-line@6.5.0@@turf.3177cfb1.js +0 -48
- package/dist/js/_@turf_polygonize@6.5.0@@turf/_@turf_polygonize@6.5.0@@turf.f7cc4910.js +0 -1
- package/dist/js/_@turf_projection@6.5.0@@turf/_@turf_projection@6.5.0@@turf.ffdd3321.js +0 -1
- package/dist/js/_@turf_random@6.5.0@@turf/_@turf_random@6.5.0@@turf.f65251e4.js +0 -130
- package/dist/js/_@turf_rectangle-grid@6.5.0@@turf/_@turf_rectangle-grid@6.5.0@@turf.7e8b1a1f.js +0 -49
- package/dist/js/_@turf_rewind@6.5.0@@turf/_@turf_rewind@6.5.0@@turf.5d137ee9.js +0 -1
- package/dist/js/_@turf_rhumb-bearing@6.5.0@@turf/_@turf_rhumb-bearing@6.5.0@@turf.fb8f6ade.js +0 -30
- package/dist/js/_@turf_rhumb-destination@6.5.0@@turf/_@turf_rhumb-destination@6.5.0@@turf.dc0e4753.js +0 -36
- package/dist/js/_@turf_rhumb-distance@6.5.0@@turf/_@turf_rhumb-distance@6.5.0@@turf.94e475b8.js +0 -30
- package/dist/js/_@turf_sample@6.5.0@@turf/_@turf_sample@6.5.0@@turf.7181d7a7.js +0 -1
- package/dist/js/_@turf_sector@6.5.0@@turf/_@turf_sector@6.5.0@@turf.04ffddfe.js +0 -39
- package/dist/js/_@turf_shortest-path@6.5.0@@turf/_@turf_shortest-path@6.5.0@@turf.0c1b62a8.js +0 -367
- package/dist/js/_@turf_simplify@6.5.0@@turf/_@turf_simplify@6.5.0@@turf.46703d2e.js +0 -1
- package/dist/js/_@turf_square-grid@6.5.0@@turf/_@turf_square-grid@6.5.0@@turf.38bd2eaa.js +0 -8
- package/dist/js/_@turf_square@6.5.0@@turf/_@turf_square@6.5.0@@turf.2705289a.js +0 -27
- package/dist/js/_@turf_standard-deviational-ellipse@6.5.0@@turf/_@turf_standard-deviational-ellipse@6.5.0@@turf.7094e432.js +0 -1
- package/dist/js/_@turf_tag@6.5.0@@turf/_@turf_tag@6.5.0@@turf.cb60b0c1.js +0 -1
- package/dist/js/_@turf_tesselate@6.5.0@@turf/_@turf_tesselate@6.5.0@@turf.330e4aae.js +0 -1
- package/dist/js/_@turf_tin@6.5.0@@turf/_@turf_tin@6.5.0@@turf.077204c4.js +0 -173
- package/dist/js/_@turf_transform-rotate@6.5.0@@turf/_@turf_transform-rotate@6.5.0@@turf.6d350d36.js +0 -1
- package/dist/js/_@turf_transform-scale@6.5.0@@turf/_@turf_transform-scale@6.5.0@@turf.d6f65671.js +0 -90
- package/dist/js/_@turf_transform-translate@6.5.0@@turf/_@turf_transform-translate@6.5.0@@turf.9296b81a.js +0 -1
- package/dist/js/_@turf_triangle-grid@6.5.0@@turf/_@turf_triangle-grid@6.5.0@@turf.939f94ab.js +0 -107
- package/dist/js/_@turf_truncate@6.5.0@@turf/_@turf_truncate@6.5.0@@turf.ed70ebcb.js +0 -33
- package/dist/js/_@turf_turf@6.4.0@@turf/_@turf_turf@6.4.0@@turf.34fde8ec.js +0 -1
- package/dist/js/_@turf_union@6.5.0@@turf/_@turf_union@6.5.0@@turf.386ee2eb.js +0 -1
- package/dist/js/_@turf_unkink-polygon@6.5.0@@turf/_@turf_unkink-polygon@6.5.0@@turf.cb446e47.js +0 -1
- package/dist/js/_@turf_voronoi@6.5.0@@turf/_@turf_voronoi@6.5.0@@turf.c30d929e.js +0 -30
- package/dist/js/_call-bind@1.0.2@call-bind/_call-bind@1.0.2@call-bind.3811d387.js +0 -53
- package/dist/js/_concaveman@1.2.1@concaveman/_concaveman@1.2.1@concaveman.e747f731.js +0 -1
- package/dist/js/_core-js@3.25.0@core-js/_core-js@3.25.0@core-js.003355ed.js +0 -5029
- package/dist/js/_crypto-js@4.1.1@crypto-js/_crypto-js@4.1.1@crypto-js.e2f7f158.js +0 -1823
- package/dist/js/_d3-array@1.2.4@d3-array/_d3-array@1.2.4@d3-array.d606df6b.js +0 -58
- package/dist/js/_d3-geo@1.7.1@d3-geo/_d3-geo@1.7.1@d3-geo.7d357be1.js +0 -1094
- package/dist/js/_d3-voronoi@1.1.2@d3-voronoi/_d3-voronoi@1.1.2@d3-voronoi.072f12a6.js +0 -816
- package/dist/js/_deep-equal@1.1.1@deep-equal/_deep-equal@1.1.1@deep-equal.98576c17.js +0 -108
- package/dist/js/_define-properties@1.1.4@define-properties/_define-properties@1.1.4@define-properties.647c3367.js +0 -40
- package/dist/js/_density-clustering@1.3.0@density-clustering/_density-clustering@1.3.0@density-clustering.a07fc6ae.js +0 -1
- package/dist/js/_earcut@2.2.4@earcut/_earcut@2.2.4@earcut.972ebfd3.js +0 -1
- package/dist/js/_echarts-gl@1.1.2@echarts-gl/_echarts-gl@1.1.2@echarts-gl.1e3964b9.js +0 -36533
- package/dist/js/_echarts@4.9.0@echarts/_echarts@4.9.0@echarts.7d74ba77.js +0 -44219
- package/dist/js/_fflate@0.4.8@fflate/_fflate@0.4.8@fflate.d8111196.js +0 -571
- package/dist/js/_function-bind@1.1.1@function-bind/_function-bind@1.1.1@function-bind.de3cf11d.js +0 -46
- package/dist/js/_functions-have-names@1.2.3@functions-have-names/_functions-have-names@1.2.3@functions-have-names.7def2408.js +0 -27
- package/dist/js/_geojson-equality@0.1.6@geojson-equality/_geojson-equality@0.1.6@geojson-equality.09ffa121.js +0 -133
- package/dist/js/_geojson-path-finder@1.5.3@geojson-path-finder/_geojson-path-finder@1.5.3@geojson-path-finder.7a10eb99.js +0 -348
- package/dist/js/_geojson-rbush@3.2.0@geojson-rbush/_geojson-rbush@3.2.0@geojson-rbush.2adaeedb.js +0 -93
- package/dist/js/_geotiff@2.0.4@geotiff/_geotiff@2.0.4@geotiff.5b08f79e.js +0 -3663
- package/dist/js/_get-intrinsic@1.1.2@get-intrinsic/_get-intrinsic@1.1.2@get-intrinsic.a633bd68.js +0 -291
- package/dist/js/_has-property-descriptors@1.0.0@has-property-descriptors/_has-property-descriptors@1.0.0@has-property-descriptors.6bd2d302.js +0 -26
- package/dist/js/_has-symbols@1.0.3@has-symbols/_has-symbols@1.0.3@has-symbols.70406077.js +0 -63
- package/dist/js/_has-tostringtag@1.0.0@has-tostringtag/_has-tostringtag@1.0.0@has-tostringtag.2d502422.js +0 -6
- package/dist/js/_has@1.0.3@has/_has@1.0.3@has.ddd2eb68.js +0 -4
- package/dist/js/_ieee754@1.2.1@ieee754/_ieee754@1.2.1@ieee754.56426503.js +0 -80
- package/dist/js/_is-arguments@1.1.1@is-arguments/_is-arguments@1.1.1@is-arguments.7d77e24a.js +0 -23
- package/dist/js/_is-date-object@1.0.5@is-date-object/_is-date-object@1.0.5@is-date-object.08cc2543.js +0 -20
- package/dist/js/_is-regex@1.1.4@is-regex/_is-regex@1.1.4@is-regex.6417e007.js +0 -47
- package/dist/js/_jspdf@2.5.1@jspdf/_jspdf@2.5.1@jspdf.e927dbd8.js +0 -8494
- package/dist/js/_kml-geojson@1.2.0@kml-geojson/_kml-geojson@1.2.0@kml-geojson.f1ae86e4.js +0 -7858
- package/dist/js/_lru-cache@6.0.0@lru-cache/_lru-cache@6.0.0@lru-cache.dd72cc1b.js +0 -263
- package/dist/js/_mgrs@1.0.0@mgrs/_mgrs@1.0.0@mgrs.12d1da3e.js +0 -432
- package/dist/js/_object-assign@4.1.1@object-assign/_object-assign@4.1.1@object-assign.e4009c1c.js +0 -69
- package/dist/js/_object-is@1.1.5@object-is/_object-is@1.1.5@object-is.e47f5d65.js +0 -45
- package/dist/js/_object-keys@1.1.1@object-keys/_object-keys@1.1.1@object-keys.4b1d0a99.js +0 -151
- package/dist/js/_ol-echarts@2.0.6@ol-echarts/_ol-echarts@2.0.6@ol-echarts.658aaf82.js +0 -841
- package/dist/js/_ol-ext@3.2.30@ol-ext/_ol-ext@3.2.30@ol-ext.b94220dd.js +0 -4614
- package/dist/js/_ol-mapbox-style@8.2.1@ol-mapbox-style/_ol-mapbox-style@8.2.1@ol-mapbox-style.795310f3.js +0 -1
- package/dist/js/_ol@6.15.1@ol/_ol@6.15.1@ol.8fd0cbb5.js +0 -31823
- package/dist/js/_pbf@3.2.1@pbf/_pbf@3.2.1@pbf.330acf55.js +0 -647
- package/dist/js/_performance-now@2.1.0@performance-now/_performance-now@2.1.0@performance-now.a51379c2.js +0 -34
- package/dist/js/_point-in-polygon@1.1.0@point-in-polygon/_point-in-polygon@1.1.0@point-in-polygon.2cc4306e.js +0 -1
- package/dist/js/_polygon-clipping@0.15.3@polygon-clipping/_polygon-clipping@0.15.3@polygon-clipping.c0e9ec57.js +0 -1363
- package/dist/js/_proj4@2.8.0@proj4/_proj4@2.8.0@proj4.1600352c.js +0 -4885
- package/dist/js/_quickselect@1.1.1@quickselect/_quickselect@1.1.1@quickselect.8afce154.js +0 -1
- package/dist/js/_quickselect@2.0.0@quickselect/_quickselect@2.0.0@quickselect.9f5c1e48.js +0 -51
- package/dist/js/_raf@3.4.1@raf/_raf@3.4.1@raf.ac0d6c66.js +0 -60
- package/dist/js/_rbush@2.0.2@rbush/_rbush@2.0.2@rbush.7149e620.js +0 -1
- package/dist/js/_rbush@3.0.1@rbush/_rbush@3.0.1@rbush.57d33d95.js +0 -402
- package/dist/js/_regexp.prototype.flags@1.4.3@regexp.prototype.flags/_regexp.prototype.flags@1.4.3@regexp.prototype.flags.8b6921c6.js +0 -102
- package/dist/js/_rgbcolor@1.0.1@rgbcolor/_rgbcolor@1.0.1@rgbcolor.dd87e013.js +0 -272
- package/dist/js/_robust-predicates@2.0.4@robust-predicates/_robust-predicates@2.0.4@robust-predicates.564bf2f8.js +0 -1
- package/dist/js/_skmeans@0.9.7@skmeans/_skmeans@0.9.7@skmeans.933c6a76.js +0 -1
- package/dist/js/_splaytree@3.1.1@splaytree/_splaytree@3.1.1@splaytree.6cb55ed3.js +0 -671
- package/dist/js/_stackblur-canvas@2.5.0@stackblur-canvas/_stackblur-canvas@2.5.0@stackblur-canvas.dd883d14.js +0 -214
- package/dist/js/_svg-pathdata@6.0.3@svg-pathdata/_svg-pathdata@6.0.3@svg-pathdata.7e858a5f.js +0 -441
- package/dist/js/_tinyqueue@2.0.3@tinyqueue/_tinyqueue@2.0.3@tinyqueue.78918532.js +0 -73
- package/dist/js/_topojson-client@3.1.0@topojson-client/_topojson-client@3.1.0@topojson-client.aef4e2d5.js +0 -238
- package/dist/js/_topojson-server@3.0.1@topojson-server/_topojson-server@3.0.1@topojson-server.b521a412.js +0 -662
- package/dist/js/_turf-jsts@1.2.3@turf-jsts/_turf-jsts@1.2.3@turf-jsts.6ef42696.js +0 -18934
- package/dist/js/_web-worker@1.2.0@web-worker/_web-worker@1.2.0@web-worker.43288df7.js +0 -2
- package/dist/js/_wkt-parser@1.3.2@wkt-parser/_wkt-parser@1.3.2@wkt-parser.0e1cf374.js +0 -461
- package/dist/js/_xml-utils@1.2.0@xml-utils/_xml-utils@1.2.0@xml-utils.2a8ae655.js +0 -126
- package/dist/js/_yallist@4.0.0@yallist/_yallist@4.0.0@yallist.8350aafe.js +0 -363
- package/dist/js/_zrender@4.3.2@zrender/_zrender@4.3.2@zrender.1feea14d.js +0 -12455
- package/dist/mirage2d.es.js +0 -15894
|
@@ -1,647 +0,0 @@
|
|
|
1
|
-
import { _ as _ieee754_1_2_1_ieee754 } from "../_ieee754@1.2.1@ieee754/_ieee754@1.2.1@ieee754.56426503.js";
|
|
2
|
-
var _pbf_3_2_1_pbf = Pbf;
|
|
3
|
-
var ieee754 = _ieee754_1_2_1_ieee754;
|
|
4
|
-
function Pbf(buf) {
|
|
5
|
-
this.buf = ArrayBuffer.isView && ArrayBuffer.isView(buf) ? buf : new Uint8Array(buf || 0);
|
|
6
|
-
this.pos = 0;
|
|
7
|
-
this.type = 0;
|
|
8
|
-
this.length = this.buf.length;
|
|
9
|
-
}
|
|
10
|
-
Pbf.Varint = 0;
|
|
11
|
-
Pbf.Fixed64 = 1;
|
|
12
|
-
Pbf.Bytes = 2;
|
|
13
|
-
Pbf.Fixed32 = 5;
|
|
14
|
-
var SHIFT_LEFT_32 = (1 << 16) * (1 << 16), SHIFT_RIGHT_32 = 1 / SHIFT_LEFT_32;
|
|
15
|
-
var TEXT_DECODER_MIN_LENGTH = 12;
|
|
16
|
-
var utf8TextDecoder = typeof TextDecoder === "undefined" ? null : new TextDecoder("utf8");
|
|
17
|
-
Pbf.prototype = {
|
|
18
|
-
destroy: function() {
|
|
19
|
-
this.buf = null;
|
|
20
|
-
},
|
|
21
|
-
readFields: function(readField, result, end) {
|
|
22
|
-
end = end || this.length;
|
|
23
|
-
while (this.pos < end) {
|
|
24
|
-
var val = this.readVarint(), tag = val >> 3, startPos = this.pos;
|
|
25
|
-
this.type = val & 7;
|
|
26
|
-
readField(tag, result, this);
|
|
27
|
-
if (this.pos === startPos)
|
|
28
|
-
this.skip(val);
|
|
29
|
-
}
|
|
30
|
-
return result;
|
|
31
|
-
},
|
|
32
|
-
readMessage: function(readField, result) {
|
|
33
|
-
return this.readFields(readField, result, this.readVarint() + this.pos);
|
|
34
|
-
},
|
|
35
|
-
readFixed32: function() {
|
|
36
|
-
var val = readUInt32(this.buf, this.pos);
|
|
37
|
-
this.pos += 4;
|
|
38
|
-
return val;
|
|
39
|
-
},
|
|
40
|
-
readSFixed32: function() {
|
|
41
|
-
var val = readInt32(this.buf, this.pos);
|
|
42
|
-
this.pos += 4;
|
|
43
|
-
return val;
|
|
44
|
-
},
|
|
45
|
-
readFixed64: function() {
|
|
46
|
-
var val = readUInt32(this.buf, this.pos) + readUInt32(this.buf, this.pos + 4) * SHIFT_LEFT_32;
|
|
47
|
-
this.pos += 8;
|
|
48
|
-
return val;
|
|
49
|
-
},
|
|
50
|
-
readSFixed64: function() {
|
|
51
|
-
var val = readUInt32(this.buf, this.pos) + readInt32(this.buf, this.pos + 4) * SHIFT_LEFT_32;
|
|
52
|
-
this.pos += 8;
|
|
53
|
-
return val;
|
|
54
|
-
},
|
|
55
|
-
readFloat: function() {
|
|
56
|
-
var val = ieee754.read(this.buf, this.pos, true, 23, 4);
|
|
57
|
-
this.pos += 4;
|
|
58
|
-
return val;
|
|
59
|
-
},
|
|
60
|
-
readDouble: function() {
|
|
61
|
-
var val = ieee754.read(this.buf, this.pos, true, 52, 8);
|
|
62
|
-
this.pos += 8;
|
|
63
|
-
return val;
|
|
64
|
-
},
|
|
65
|
-
readVarint: function(isSigned) {
|
|
66
|
-
var buf = this.buf, val, b;
|
|
67
|
-
b = buf[this.pos++];
|
|
68
|
-
val = b & 127;
|
|
69
|
-
if (b < 128)
|
|
70
|
-
return val;
|
|
71
|
-
b = buf[this.pos++];
|
|
72
|
-
val |= (b & 127) << 7;
|
|
73
|
-
if (b < 128)
|
|
74
|
-
return val;
|
|
75
|
-
b = buf[this.pos++];
|
|
76
|
-
val |= (b & 127) << 14;
|
|
77
|
-
if (b < 128)
|
|
78
|
-
return val;
|
|
79
|
-
b = buf[this.pos++];
|
|
80
|
-
val |= (b & 127) << 21;
|
|
81
|
-
if (b < 128)
|
|
82
|
-
return val;
|
|
83
|
-
b = buf[this.pos];
|
|
84
|
-
val |= (b & 15) << 28;
|
|
85
|
-
return readVarintRemainder(val, isSigned, this);
|
|
86
|
-
},
|
|
87
|
-
readVarint64: function() {
|
|
88
|
-
return this.readVarint(true);
|
|
89
|
-
},
|
|
90
|
-
readSVarint: function() {
|
|
91
|
-
var num = this.readVarint();
|
|
92
|
-
return num % 2 === 1 ? (num + 1) / -2 : num / 2;
|
|
93
|
-
},
|
|
94
|
-
readBoolean: function() {
|
|
95
|
-
return Boolean(this.readVarint());
|
|
96
|
-
},
|
|
97
|
-
readString: function() {
|
|
98
|
-
var end = this.readVarint() + this.pos;
|
|
99
|
-
var pos = this.pos;
|
|
100
|
-
this.pos = end;
|
|
101
|
-
if (end - pos >= TEXT_DECODER_MIN_LENGTH && utf8TextDecoder) {
|
|
102
|
-
return readUtf8TextDecoder(this.buf, pos, end);
|
|
103
|
-
}
|
|
104
|
-
return readUtf8(this.buf, pos, end);
|
|
105
|
-
},
|
|
106
|
-
readBytes: function() {
|
|
107
|
-
var end = this.readVarint() + this.pos, buffer = this.buf.subarray(this.pos, end);
|
|
108
|
-
this.pos = end;
|
|
109
|
-
return buffer;
|
|
110
|
-
},
|
|
111
|
-
readPackedVarint: function(arr, isSigned) {
|
|
112
|
-
if (this.type !== Pbf.Bytes)
|
|
113
|
-
return arr.push(this.readVarint(isSigned));
|
|
114
|
-
var end = readPackedEnd(this);
|
|
115
|
-
arr = arr || [];
|
|
116
|
-
while (this.pos < end)
|
|
117
|
-
arr.push(this.readVarint(isSigned));
|
|
118
|
-
return arr;
|
|
119
|
-
},
|
|
120
|
-
readPackedSVarint: function(arr) {
|
|
121
|
-
if (this.type !== Pbf.Bytes)
|
|
122
|
-
return arr.push(this.readSVarint());
|
|
123
|
-
var end = readPackedEnd(this);
|
|
124
|
-
arr = arr || [];
|
|
125
|
-
while (this.pos < end)
|
|
126
|
-
arr.push(this.readSVarint());
|
|
127
|
-
return arr;
|
|
128
|
-
},
|
|
129
|
-
readPackedBoolean: function(arr) {
|
|
130
|
-
if (this.type !== Pbf.Bytes)
|
|
131
|
-
return arr.push(this.readBoolean());
|
|
132
|
-
var end = readPackedEnd(this);
|
|
133
|
-
arr = arr || [];
|
|
134
|
-
while (this.pos < end)
|
|
135
|
-
arr.push(this.readBoolean());
|
|
136
|
-
return arr;
|
|
137
|
-
},
|
|
138
|
-
readPackedFloat: function(arr) {
|
|
139
|
-
if (this.type !== Pbf.Bytes)
|
|
140
|
-
return arr.push(this.readFloat());
|
|
141
|
-
var end = readPackedEnd(this);
|
|
142
|
-
arr = arr || [];
|
|
143
|
-
while (this.pos < end)
|
|
144
|
-
arr.push(this.readFloat());
|
|
145
|
-
return arr;
|
|
146
|
-
},
|
|
147
|
-
readPackedDouble: function(arr) {
|
|
148
|
-
if (this.type !== Pbf.Bytes)
|
|
149
|
-
return arr.push(this.readDouble());
|
|
150
|
-
var end = readPackedEnd(this);
|
|
151
|
-
arr = arr || [];
|
|
152
|
-
while (this.pos < end)
|
|
153
|
-
arr.push(this.readDouble());
|
|
154
|
-
return arr;
|
|
155
|
-
},
|
|
156
|
-
readPackedFixed32: function(arr) {
|
|
157
|
-
if (this.type !== Pbf.Bytes)
|
|
158
|
-
return arr.push(this.readFixed32());
|
|
159
|
-
var end = readPackedEnd(this);
|
|
160
|
-
arr = arr || [];
|
|
161
|
-
while (this.pos < end)
|
|
162
|
-
arr.push(this.readFixed32());
|
|
163
|
-
return arr;
|
|
164
|
-
},
|
|
165
|
-
readPackedSFixed32: function(arr) {
|
|
166
|
-
if (this.type !== Pbf.Bytes)
|
|
167
|
-
return arr.push(this.readSFixed32());
|
|
168
|
-
var end = readPackedEnd(this);
|
|
169
|
-
arr = arr || [];
|
|
170
|
-
while (this.pos < end)
|
|
171
|
-
arr.push(this.readSFixed32());
|
|
172
|
-
return arr;
|
|
173
|
-
},
|
|
174
|
-
readPackedFixed64: function(arr) {
|
|
175
|
-
if (this.type !== Pbf.Bytes)
|
|
176
|
-
return arr.push(this.readFixed64());
|
|
177
|
-
var end = readPackedEnd(this);
|
|
178
|
-
arr = arr || [];
|
|
179
|
-
while (this.pos < end)
|
|
180
|
-
arr.push(this.readFixed64());
|
|
181
|
-
return arr;
|
|
182
|
-
},
|
|
183
|
-
readPackedSFixed64: function(arr) {
|
|
184
|
-
if (this.type !== Pbf.Bytes)
|
|
185
|
-
return arr.push(this.readSFixed64());
|
|
186
|
-
var end = readPackedEnd(this);
|
|
187
|
-
arr = arr || [];
|
|
188
|
-
while (this.pos < end)
|
|
189
|
-
arr.push(this.readSFixed64());
|
|
190
|
-
return arr;
|
|
191
|
-
},
|
|
192
|
-
skip: function(val) {
|
|
193
|
-
var type = val & 7;
|
|
194
|
-
if (type === Pbf.Varint)
|
|
195
|
-
while (this.buf[this.pos++] > 127) {
|
|
196
|
-
}
|
|
197
|
-
else if (type === Pbf.Bytes)
|
|
198
|
-
this.pos = this.readVarint() + this.pos;
|
|
199
|
-
else if (type === Pbf.Fixed32)
|
|
200
|
-
this.pos += 4;
|
|
201
|
-
else if (type === Pbf.Fixed64)
|
|
202
|
-
this.pos += 8;
|
|
203
|
-
else
|
|
204
|
-
throw new Error("Unimplemented type: " + type);
|
|
205
|
-
},
|
|
206
|
-
writeTag: function(tag, type) {
|
|
207
|
-
this.writeVarint(tag << 3 | type);
|
|
208
|
-
},
|
|
209
|
-
realloc: function(min) {
|
|
210
|
-
var length = this.length || 16;
|
|
211
|
-
while (length < this.pos + min)
|
|
212
|
-
length *= 2;
|
|
213
|
-
if (length !== this.length) {
|
|
214
|
-
var buf = new Uint8Array(length);
|
|
215
|
-
buf.set(this.buf);
|
|
216
|
-
this.buf = buf;
|
|
217
|
-
this.length = length;
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
finish: function() {
|
|
221
|
-
this.length = this.pos;
|
|
222
|
-
this.pos = 0;
|
|
223
|
-
return this.buf.subarray(0, this.length);
|
|
224
|
-
},
|
|
225
|
-
writeFixed32: function(val) {
|
|
226
|
-
this.realloc(4);
|
|
227
|
-
writeInt32(this.buf, val, this.pos);
|
|
228
|
-
this.pos += 4;
|
|
229
|
-
},
|
|
230
|
-
writeSFixed32: function(val) {
|
|
231
|
-
this.realloc(4);
|
|
232
|
-
writeInt32(this.buf, val, this.pos);
|
|
233
|
-
this.pos += 4;
|
|
234
|
-
},
|
|
235
|
-
writeFixed64: function(val) {
|
|
236
|
-
this.realloc(8);
|
|
237
|
-
writeInt32(this.buf, val & -1, this.pos);
|
|
238
|
-
writeInt32(this.buf, Math.floor(val * SHIFT_RIGHT_32), this.pos + 4);
|
|
239
|
-
this.pos += 8;
|
|
240
|
-
},
|
|
241
|
-
writeSFixed64: function(val) {
|
|
242
|
-
this.realloc(8);
|
|
243
|
-
writeInt32(this.buf, val & -1, this.pos);
|
|
244
|
-
writeInt32(this.buf, Math.floor(val * SHIFT_RIGHT_32), this.pos + 4);
|
|
245
|
-
this.pos += 8;
|
|
246
|
-
},
|
|
247
|
-
writeVarint: function(val) {
|
|
248
|
-
val = +val || 0;
|
|
249
|
-
if (val > 268435455 || val < 0) {
|
|
250
|
-
writeBigVarint(val, this);
|
|
251
|
-
return;
|
|
252
|
-
}
|
|
253
|
-
this.realloc(4);
|
|
254
|
-
this.buf[this.pos++] = val & 127 | (val > 127 ? 128 : 0);
|
|
255
|
-
if (val <= 127)
|
|
256
|
-
return;
|
|
257
|
-
this.buf[this.pos++] = (val >>>= 7) & 127 | (val > 127 ? 128 : 0);
|
|
258
|
-
if (val <= 127)
|
|
259
|
-
return;
|
|
260
|
-
this.buf[this.pos++] = (val >>>= 7) & 127 | (val > 127 ? 128 : 0);
|
|
261
|
-
if (val <= 127)
|
|
262
|
-
return;
|
|
263
|
-
this.buf[this.pos++] = val >>> 7 & 127;
|
|
264
|
-
},
|
|
265
|
-
writeSVarint: function(val) {
|
|
266
|
-
this.writeVarint(val < 0 ? -val * 2 - 1 : val * 2);
|
|
267
|
-
},
|
|
268
|
-
writeBoolean: function(val) {
|
|
269
|
-
this.writeVarint(Boolean(val));
|
|
270
|
-
},
|
|
271
|
-
writeString: function(str) {
|
|
272
|
-
str = String(str);
|
|
273
|
-
this.realloc(str.length * 4);
|
|
274
|
-
this.pos++;
|
|
275
|
-
var startPos = this.pos;
|
|
276
|
-
this.pos = writeUtf8(this.buf, str, this.pos);
|
|
277
|
-
var len = this.pos - startPos;
|
|
278
|
-
if (len >= 128)
|
|
279
|
-
makeRoomForExtraLength(startPos, len, this);
|
|
280
|
-
this.pos = startPos - 1;
|
|
281
|
-
this.writeVarint(len);
|
|
282
|
-
this.pos += len;
|
|
283
|
-
},
|
|
284
|
-
writeFloat: function(val) {
|
|
285
|
-
this.realloc(4);
|
|
286
|
-
ieee754.write(this.buf, val, this.pos, true, 23, 4);
|
|
287
|
-
this.pos += 4;
|
|
288
|
-
},
|
|
289
|
-
writeDouble: function(val) {
|
|
290
|
-
this.realloc(8);
|
|
291
|
-
ieee754.write(this.buf, val, this.pos, true, 52, 8);
|
|
292
|
-
this.pos += 8;
|
|
293
|
-
},
|
|
294
|
-
writeBytes: function(buffer) {
|
|
295
|
-
var len = buffer.length;
|
|
296
|
-
this.writeVarint(len);
|
|
297
|
-
this.realloc(len);
|
|
298
|
-
for (var i = 0; i < len; i++)
|
|
299
|
-
this.buf[this.pos++] = buffer[i];
|
|
300
|
-
},
|
|
301
|
-
writeRawMessage: function(fn, obj) {
|
|
302
|
-
this.pos++;
|
|
303
|
-
var startPos = this.pos;
|
|
304
|
-
fn(obj, this);
|
|
305
|
-
var len = this.pos - startPos;
|
|
306
|
-
if (len >= 128)
|
|
307
|
-
makeRoomForExtraLength(startPos, len, this);
|
|
308
|
-
this.pos = startPos - 1;
|
|
309
|
-
this.writeVarint(len);
|
|
310
|
-
this.pos += len;
|
|
311
|
-
},
|
|
312
|
-
writeMessage: function(tag, fn, obj) {
|
|
313
|
-
this.writeTag(tag, Pbf.Bytes);
|
|
314
|
-
this.writeRawMessage(fn, obj);
|
|
315
|
-
},
|
|
316
|
-
writePackedVarint: function(tag, arr) {
|
|
317
|
-
if (arr.length)
|
|
318
|
-
this.writeMessage(tag, writePackedVarint, arr);
|
|
319
|
-
},
|
|
320
|
-
writePackedSVarint: function(tag, arr) {
|
|
321
|
-
if (arr.length)
|
|
322
|
-
this.writeMessage(tag, writePackedSVarint, arr);
|
|
323
|
-
},
|
|
324
|
-
writePackedBoolean: function(tag, arr) {
|
|
325
|
-
if (arr.length)
|
|
326
|
-
this.writeMessage(tag, writePackedBoolean, arr);
|
|
327
|
-
},
|
|
328
|
-
writePackedFloat: function(tag, arr) {
|
|
329
|
-
if (arr.length)
|
|
330
|
-
this.writeMessage(tag, writePackedFloat, arr);
|
|
331
|
-
},
|
|
332
|
-
writePackedDouble: function(tag, arr) {
|
|
333
|
-
if (arr.length)
|
|
334
|
-
this.writeMessage(tag, writePackedDouble, arr);
|
|
335
|
-
},
|
|
336
|
-
writePackedFixed32: function(tag, arr) {
|
|
337
|
-
if (arr.length)
|
|
338
|
-
this.writeMessage(tag, writePackedFixed32, arr);
|
|
339
|
-
},
|
|
340
|
-
writePackedSFixed32: function(tag, arr) {
|
|
341
|
-
if (arr.length)
|
|
342
|
-
this.writeMessage(tag, writePackedSFixed32, arr);
|
|
343
|
-
},
|
|
344
|
-
writePackedFixed64: function(tag, arr) {
|
|
345
|
-
if (arr.length)
|
|
346
|
-
this.writeMessage(tag, writePackedFixed64, arr);
|
|
347
|
-
},
|
|
348
|
-
writePackedSFixed64: function(tag, arr) {
|
|
349
|
-
if (arr.length)
|
|
350
|
-
this.writeMessage(tag, writePackedSFixed64, arr);
|
|
351
|
-
},
|
|
352
|
-
writeBytesField: function(tag, buffer) {
|
|
353
|
-
this.writeTag(tag, Pbf.Bytes);
|
|
354
|
-
this.writeBytes(buffer);
|
|
355
|
-
},
|
|
356
|
-
writeFixed32Field: function(tag, val) {
|
|
357
|
-
this.writeTag(tag, Pbf.Fixed32);
|
|
358
|
-
this.writeFixed32(val);
|
|
359
|
-
},
|
|
360
|
-
writeSFixed32Field: function(tag, val) {
|
|
361
|
-
this.writeTag(tag, Pbf.Fixed32);
|
|
362
|
-
this.writeSFixed32(val);
|
|
363
|
-
},
|
|
364
|
-
writeFixed64Field: function(tag, val) {
|
|
365
|
-
this.writeTag(tag, Pbf.Fixed64);
|
|
366
|
-
this.writeFixed64(val);
|
|
367
|
-
},
|
|
368
|
-
writeSFixed64Field: function(tag, val) {
|
|
369
|
-
this.writeTag(tag, Pbf.Fixed64);
|
|
370
|
-
this.writeSFixed64(val);
|
|
371
|
-
},
|
|
372
|
-
writeVarintField: function(tag, val) {
|
|
373
|
-
this.writeTag(tag, Pbf.Varint);
|
|
374
|
-
this.writeVarint(val);
|
|
375
|
-
},
|
|
376
|
-
writeSVarintField: function(tag, val) {
|
|
377
|
-
this.writeTag(tag, Pbf.Varint);
|
|
378
|
-
this.writeSVarint(val);
|
|
379
|
-
},
|
|
380
|
-
writeStringField: function(tag, str) {
|
|
381
|
-
this.writeTag(tag, Pbf.Bytes);
|
|
382
|
-
this.writeString(str);
|
|
383
|
-
},
|
|
384
|
-
writeFloatField: function(tag, val) {
|
|
385
|
-
this.writeTag(tag, Pbf.Fixed32);
|
|
386
|
-
this.writeFloat(val);
|
|
387
|
-
},
|
|
388
|
-
writeDoubleField: function(tag, val) {
|
|
389
|
-
this.writeTag(tag, Pbf.Fixed64);
|
|
390
|
-
this.writeDouble(val);
|
|
391
|
-
},
|
|
392
|
-
writeBooleanField: function(tag, val) {
|
|
393
|
-
this.writeVarintField(tag, Boolean(val));
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
function readVarintRemainder(l, s, p) {
|
|
397
|
-
var buf = p.buf, h, b;
|
|
398
|
-
b = buf[p.pos++];
|
|
399
|
-
h = (b & 112) >> 4;
|
|
400
|
-
if (b < 128)
|
|
401
|
-
return toNum(l, h, s);
|
|
402
|
-
b = buf[p.pos++];
|
|
403
|
-
h |= (b & 127) << 3;
|
|
404
|
-
if (b < 128)
|
|
405
|
-
return toNum(l, h, s);
|
|
406
|
-
b = buf[p.pos++];
|
|
407
|
-
h |= (b & 127) << 10;
|
|
408
|
-
if (b < 128)
|
|
409
|
-
return toNum(l, h, s);
|
|
410
|
-
b = buf[p.pos++];
|
|
411
|
-
h |= (b & 127) << 17;
|
|
412
|
-
if (b < 128)
|
|
413
|
-
return toNum(l, h, s);
|
|
414
|
-
b = buf[p.pos++];
|
|
415
|
-
h |= (b & 127) << 24;
|
|
416
|
-
if (b < 128)
|
|
417
|
-
return toNum(l, h, s);
|
|
418
|
-
b = buf[p.pos++];
|
|
419
|
-
h |= (b & 1) << 31;
|
|
420
|
-
if (b < 128)
|
|
421
|
-
return toNum(l, h, s);
|
|
422
|
-
throw new Error("Expected varint not more than 10 bytes");
|
|
423
|
-
}
|
|
424
|
-
function readPackedEnd(pbf) {
|
|
425
|
-
return pbf.type === Pbf.Bytes ? pbf.readVarint() + pbf.pos : pbf.pos + 1;
|
|
426
|
-
}
|
|
427
|
-
function toNum(low, high, isSigned) {
|
|
428
|
-
if (isSigned) {
|
|
429
|
-
return high * 4294967296 + (low >>> 0);
|
|
430
|
-
}
|
|
431
|
-
return (high >>> 0) * 4294967296 + (low >>> 0);
|
|
432
|
-
}
|
|
433
|
-
function writeBigVarint(val, pbf) {
|
|
434
|
-
var low, high;
|
|
435
|
-
if (val >= 0) {
|
|
436
|
-
low = val % 4294967296 | 0;
|
|
437
|
-
high = val / 4294967296 | 0;
|
|
438
|
-
} else {
|
|
439
|
-
low = ~(-val % 4294967296);
|
|
440
|
-
high = ~(-val / 4294967296);
|
|
441
|
-
if (low ^ 4294967295) {
|
|
442
|
-
low = low + 1 | 0;
|
|
443
|
-
} else {
|
|
444
|
-
low = 0;
|
|
445
|
-
high = high + 1 | 0;
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
if (val >= 18446744073709552e3 || val < -18446744073709552e3) {
|
|
449
|
-
throw new Error("Given varint doesn't fit into 10 bytes");
|
|
450
|
-
}
|
|
451
|
-
pbf.realloc(10);
|
|
452
|
-
writeBigVarintLow(low, high, pbf);
|
|
453
|
-
writeBigVarintHigh(high, pbf);
|
|
454
|
-
}
|
|
455
|
-
function writeBigVarintLow(low, high, pbf) {
|
|
456
|
-
pbf.buf[pbf.pos++] = low & 127 | 128;
|
|
457
|
-
low >>>= 7;
|
|
458
|
-
pbf.buf[pbf.pos++] = low & 127 | 128;
|
|
459
|
-
low >>>= 7;
|
|
460
|
-
pbf.buf[pbf.pos++] = low & 127 | 128;
|
|
461
|
-
low >>>= 7;
|
|
462
|
-
pbf.buf[pbf.pos++] = low & 127 | 128;
|
|
463
|
-
low >>>= 7;
|
|
464
|
-
pbf.buf[pbf.pos] = low & 127;
|
|
465
|
-
}
|
|
466
|
-
function writeBigVarintHigh(high, pbf) {
|
|
467
|
-
var lsb = (high & 7) << 4;
|
|
468
|
-
pbf.buf[pbf.pos++] |= lsb | ((high >>>= 3) ? 128 : 0);
|
|
469
|
-
if (!high)
|
|
470
|
-
return;
|
|
471
|
-
pbf.buf[pbf.pos++] = high & 127 | ((high >>>= 7) ? 128 : 0);
|
|
472
|
-
if (!high)
|
|
473
|
-
return;
|
|
474
|
-
pbf.buf[pbf.pos++] = high & 127 | ((high >>>= 7) ? 128 : 0);
|
|
475
|
-
if (!high)
|
|
476
|
-
return;
|
|
477
|
-
pbf.buf[pbf.pos++] = high & 127 | ((high >>>= 7) ? 128 : 0);
|
|
478
|
-
if (!high)
|
|
479
|
-
return;
|
|
480
|
-
pbf.buf[pbf.pos++] = high & 127 | ((high >>>= 7) ? 128 : 0);
|
|
481
|
-
if (!high)
|
|
482
|
-
return;
|
|
483
|
-
pbf.buf[pbf.pos++] = high & 127;
|
|
484
|
-
}
|
|
485
|
-
function makeRoomForExtraLength(startPos, len, pbf) {
|
|
486
|
-
var extraLen = len <= 16383 ? 1 : len <= 2097151 ? 2 : len <= 268435455 ? 3 : Math.floor(Math.log(len) / (Math.LN2 * 7));
|
|
487
|
-
pbf.realloc(extraLen);
|
|
488
|
-
for (var i = pbf.pos - 1; i >= startPos; i--)
|
|
489
|
-
pbf.buf[i + extraLen] = pbf.buf[i];
|
|
490
|
-
}
|
|
491
|
-
function writePackedVarint(arr, pbf) {
|
|
492
|
-
for (var i = 0; i < arr.length; i++)
|
|
493
|
-
pbf.writeVarint(arr[i]);
|
|
494
|
-
}
|
|
495
|
-
function writePackedSVarint(arr, pbf) {
|
|
496
|
-
for (var i = 0; i < arr.length; i++)
|
|
497
|
-
pbf.writeSVarint(arr[i]);
|
|
498
|
-
}
|
|
499
|
-
function writePackedFloat(arr, pbf) {
|
|
500
|
-
for (var i = 0; i < arr.length; i++)
|
|
501
|
-
pbf.writeFloat(arr[i]);
|
|
502
|
-
}
|
|
503
|
-
function writePackedDouble(arr, pbf) {
|
|
504
|
-
for (var i = 0; i < arr.length; i++)
|
|
505
|
-
pbf.writeDouble(arr[i]);
|
|
506
|
-
}
|
|
507
|
-
function writePackedBoolean(arr, pbf) {
|
|
508
|
-
for (var i = 0; i < arr.length; i++)
|
|
509
|
-
pbf.writeBoolean(arr[i]);
|
|
510
|
-
}
|
|
511
|
-
function writePackedFixed32(arr, pbf) {
|
|
512
|
-
for (var i = 0; i < arr.length; i++)
|
|
513
|
-
pbf.writeFixed32(arr[i]);
|
|
514
|
-
}
|
|
515
|
-
function writePackedSFixed32(arr, pbf) {
|
|
516
|
-
for (var i = 0; i < arr.length; i++)
|
|
517
|
-
pbf.writeSFixed32(arr[i]);
|
|
518
|
-
}
|
|
519
|
-
function writePackedFixed64(arr, pbf) {
|
|
520
|
-
for (var i = 0; i < arr.length; i++)
|
|
521
|
-
pbf.writeFixed64(arr[i]);
|
|
522
|
-
}
|
|
523
|
-
function writePackedSFixed64(arr, pbf) {
|
|
524
|
-
for (var i = 0; i < arr.length; i++)
|
|
525
|
-
pbf.writeSFixed64(arr[i]);
|
|
526
|
-
}
|
|
527
|
-
function readUInt32(buf, pos) {
|
|
528
|
-
return (buf[pos] | buf[pos + 1] << 8 | buf[pos + 2] << 16) + buf[pos + 3] * 16777216;
|
|
529
|
-
}
|
|
530
|
-
function writeInt32(buf, val, pos) {
|
|
531
|
-
buf[pos] = val;
|
|
532
|
-
buf[pos + 1] = val >>> 8;
|
|
533
|
-
buf[pos + 2] = val >>> 16;
|
|
534
|
-
buf[pos + 3] = val >>> 24;
|
|
535
|
-
}
|
|
536
|
-
function readInt32(buf, pos) {
|
|
537
|
-
return (buf[pos] | buf[pos + 1] << 8 | buf[pos + 2] << 16) + (buf[pos + 3] << 24);
|
|
538
|
-
}
|
|
539
|
-
function readUtf8(buf, pos, end) {
|
|
540
|
-
var str = "";
|
|
541
|
-
var i = pos;
|
|
542
|
-
while (i < end) {
|
|
543
|
-
var b0 = buf[i];
|
|
544
|
-
var c = null;
|
|
545
|
-
var bytesPerSequence = b0 > 239 ? 4 : b0 > 223 ? 3 : b0 > 191 ? 2 : 1;
|
|
546
|
-
if (i + bytesPerSequence > end)
|
|
547
|
-
break;
|
|
548
|
-
var b1, b2, b3;
|
|
549
|
-
if (bytesPerSequence === 1) {
|
|
550
|
-
if (b0 < 128) {
|
|
551
|
-
c = b0;
|
|
552
|
-
}
|
|
553
|
-
} else if (bytesPerSequence === 2) {
|
|
554
|
-
b1 = buf[i + 1];
|
|
555
|
-
if ((b1 & 192) === 128) {
|
|
556
|
-
c = (b0 & 31) << 6 | b1 & 63;
|
|
557
|
-
if (c <= 127) {
|
|
558
|
-
c = null;
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
} else if (bytesPerSequence === 3) {
|
|
562
|
-
b1 = buf[i + 1];
|
|
563
|
-
b2 = buf[i + 2];
|
|
564
|
-
if ((b1 & 192) === 128 && (b2 & 192) === 128) {
|
|
565
|
-
c = (b0 & 15) << 12 | (b1 & 63) << 6 | b2 & 63;
|
|
566
|
-
if (c <= 2047 || c >= 55296 && c <= 57343) {
|
|
567
|
-
c = null;
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
} else if (bytesPerSequence === 4) {
|
|
571
|
-
b1 = buf[i + 1];
|
|
572
|
-
b2 = buf[i + 2];
|
|
573
|
-
b3 = buf[i + 3];
|
|
574
|
-
if ((b1 & 192) === 128 && (b2 & 192) === 128 && (b3 & 192) === 128) {
|
|
575
|
-
c = (b0 & 15) << 18 | (b1 & 63) << 12 | (b2 & 63) << 6 | b3 & 63;
|
|
576
|
-
if (c <= 65535 || c >= 1114112) {
|
|
577
|
-
c = null;
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
if (c === null) {
|
|
582
|
-
c = 65533;
|
|
583
|
-
bytesPerSequence = 1;
|
|
584
|
-
} else if (c > 65535) {
|
|
585
|
-
c -= 65536;
|
|
586
|
-
str += String.fromCharCode(c >>> 10 & 1023 | 55296);
|
|
587
|
-
c = 56320 | c & 1023;
|
|
588
|
-
}
|
|
589
|
-
str += String.fromCharCode(c);
|
|
590
|
-
i += bytesPerSequence;
|
|
591
|
-
}
|
|
592
|
-
return str;
|
|
593
|
-
}
|
|
594
|
-
function readUtf8TextDecoder(buf, pos, end) {
|
|
595
|
-
return utf8TextDecoder.decode(buf.subarray(pos, end));
|
|
596
|
-
}
|
|
597
|
-
function writeUtf8(buf, str, pos) {
|
|
598
|
-
for (var i = 0, c, lead; i < str.length; i++) {
|
|
599
|
-
c = str.charCodeAt(i);
|
|
600
|
-
if (c > 55295 && c < 57344) {
|
|
601
|
-
if (lead) {
|
|
602
|
-
if (c < 56320) {
|
|
603
|
-
buf[pos++] = 239;
|
|
604
|
-
buf[pos++] = 191;
|
|
605
|
-
buf[pos++] = 189;
|
|
606
|
-
lead = c;
|
|
607
|
-
continue;
|
|
608
|
-
} else {
|
|
609
|
-
c = lead - 55296 << 10 | c - 56320 | 65536;
|
|
610
|
-
lead = null;
|
|
611
|
-
}
|
|
612
|
-
} else {
|
|
613
|
-
if (c > 56319 || i + 1 === str.length) {
|
|
614
|
-
buf[pos++] = 239;
|
|
615
|
-
buf[pos++] = 191;
|
|
616
|
-
buf[pos++] = 189;
|
|
617
|
-
} else {
|
|
618
|
-
lead = c;
|
|
619
|
-
}
|
|
620
|
-
continue;
|
|
621
|
-
}
|
|
622
|
-
} else if (lead) {
|
|
623
|
-
buf[pos++] = 239;
|
|
624
|
-
buf[pos++] = 191;
|
|
625
|
-
buf[pos++] = 189;
|
|
626
|
-
lead = null;
|
|
627
|
-
}
|
|
628
|
-
if (c < 128) {
|
|
629
|
-
buf[pos++] = c;
|
|
630
|
-
} else {
|
|
631
|
-
if (c < 2048) {
|
|
632
|
-
buf[pos++] = c >> 6 | 192;
|
|
633
|
-
} else {
|
|
634
|
-
if (c < 65536) {
|
|
635
|
-
buf[pos++] = c >> 12 | 224;
|
|
636
|
-
} else {
|
|
637
|
-
buf[pos++] = c >> 18 | 240;
|
|
638
|
-
buf[pos++] = c >> 12 & 63 | 128;
|
|
639
|
-
}
|
|
640
|
-
buf[pos++] = c >> 6 & 63 | 128;
|
|
641
|
-
}
|
|
642
|
-
buf[pos++] = c & 63 | 128;
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
return pos;
|
|
646
|
-
}
|
|
647
|
-
export { _pbf_3_2_1_pbf as _ };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { c as commonjsGlobal } from "../_@turf_bbox@6.5.0@@turf/_@turf_bbox@6.5.0@@turf.4c59feee.js";
|
|
2
|
-
var performanceNow = { exports: {} };
|
|
3
|
-
(function() {
|
|
4
|
-
var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;
|
|
5
|
-
if (typeof performance !== "undefined" && performance !== null && performance.now) {
|
|
6
|
-
performanceNow.exports = function() {
|
|
7
|
-
return performance.now();
|
|
8
|
-
};
|
|
9
|
-
} else if (typeof process !== "undefined" && process !== null && process.hrtime) {
|
|
10
|
-
performanceNow.exports = function() {
|
|
11
|
-
return (getNanoSeconds() - nodeLoadTime) / 1e6;
|
|
12
|
-
};
|
|
13
|
-
hrtime = process.hrtime;
|
|
14
|
-
getNanoSeconds = function() {
|
|
15
|
-
var hr;
|
|
16
|
-
hr = hrtime();
|
|
17
|
-
return hr[0] * 1e9 + hr[1];
|
|
18
|
-
};
|
|
19
|
-
moduleLoadTime = getNanoSeconds();
|
|
20
|
-
upTime = process.uptime() * 1e9;
|
|
21
|
-
nodeLoadTime = moduleLoadTime - upTime;
|
|
22
|
-
} else if (Date.now) {
|
|
23
|
-
performanceNow.exports = function() {
|
|
24
|
-
return Date.now() - loadTime;
|
|
25
|
-
};
|
|
26
|
-
loadTime = Date.now();
|
|
27
|
-
} else {
|
|
28
|
-
performanceNow.exports = function() {
|
|
29
|
-
return new Date().getTime() - loadTime;
|
|
30
|
-
};
|
|
31
|
-
loadTime = new Date().getTime();
|
|
32
|
-
}
|
|
33
|
-
}).call(commonjsGlobal);
|
|
34
|
-
export { performanceNow as p };
|