@mappedin/mappedin-js 6.30.0 → 6.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_LICENSES.txt +68 -161
- package/lib/esm/chunk-7B7J4IXM.js +2 -0
- package/lib/esm/chunk-EXOCWBOF.js +1 -0
- package/lib/esm/chunk-J5TYCDYA.js +1 -0
- package/lib/esm/chunk-PQ2OLSSS.js +1381 -0
- package/lib/esm/chunk-SAPR7Z5M.js +1771 -0
- package/lib/esm/chunk-TWRTSPVQ.js +2 -0
- package/lib/esm/chunk-ZJEQSG7Y.js +5 -0
- package/lib/esm/index.d.ts +1397 -280
- package/lib/esm/index.js +660 -1
- package/lib/esm/inspector-2DU7TV3T.css +1 -0
- package/lib/esm/{inspector-6TN57EHG.js → inspector-BXOUWL5H.js} +2 -2
- package/lib/esm/internal-WXG4ZPV3.js +1 -0
- package/lib/esm/src-Q2KNMHOD.js +1 -0
- package/lib/esm/text3d-PIWYZMWH.js +1 -0
- package/lib/esm/workers/collision-worker.csp.js +1 -1
- package/package.json +3 -2
- package/lib/esm/GLTFExporter-6CFIB35E.js +0 -1
- package/lib/esm/GLTFLoader-4HJWTRLM.js +0 -1
- package/lib/esm/chunk-7WSSZSL2.js +0 -661
- package/lib/esm/chunk-NO3DWTOG.js +0 -1515
- package/lib/esm/chunk-NRL4CNJO.js +0 -1222
- package/lib/esm/chunk-Q7BEUNXA.js +0 -1
- package/lib/esm/chunk-UHBPXUGN.js +0 -3819
- package/lib/esm/inspector-XFCJVSNO.css +0 -1
- package/lib/esm/internal-GAAKLDRM.js +0 -1
- package/lib/esm/internal-MHQVREWX.css +0 -1
- package/lib/esm/src-PT63JZBF.js +0 -1
- package/lib/esm/text3d-CZ52NRGO.js +0 -252
package/THIRD_PARTY_LICENSES.txt
CHANGED
|
@@ -1116,7 +1116,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1116
1116
|
|
|
1117
1117
|
The following npm packages may be included in this product:
|
|
1118
1118
|
|
|
1119
|
-
- source-map-js@1.2.
|
|
1119
|
+
- source-map-js@1.2.2
|
|
1120
1120
|
- source-map@0.5.7
|
|
1121
1121
|
- source-map@0.6.1
|
|
1122
1122
|
|
|
@@ -3292,7 +3292,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
3292
3292
|
|
|
3293
3293
|
The following npm package may be included in this product:
|
|
3294
3294
|
|
|
3295
|
-
- compression@1.8.
|
|
3295
|
+
- compression@1.8.2
|
|
3296
3296
|
|
|
3297
3297
|
This package contains the following license:
|
|
3298
3298
|
|
|
@@ -5459,7 +5459,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
5459
5459
|
|
|
5460
5460
|
The following npm package may be included in this product:
|
|
5461
5461
|
|
|
5462
|
-
- handlebars@4.7.
|
|
5462
|
+
- handlebars@4.7.10
|
|
5463
5463
|
|
|
5464
5464
|
This package contains the following license:
|
|
5465
5465
|
|
|
@@ -8223,6 +8223,7 @@ The following npm packages may be included in this product:
|
|
|
8223
8223
|
- react-devtools-core@6.1.2
|
|
8224
8224
|
- react-native-is-edge-to-edge@1.1.7
|
|
8225
8225
|
- server-only@0.0.1
|
|
8226
|
+
- standard-navigation@0.0.8
|
|
8226
8227
|
- structured-headers@0.4.1
|
|
8227
8228
|
- tr46@0.0.3
|
|
8228
8229
|
|
|
@@ -8387,8 +8388,8 @@ SOFTWARE.
|
|
|
8387
8388
|
|
|
8388
8389
|
The following npm packages may be included in this product:
|
|
8389
8390
|
|
|
8390
|
-
- brace-expansion@1.1.
|
|
8391
|
-
- brace-expansion@2.1.
|
|
8391
|
+
- brace-expansion@1.1.22
|
|
8392
|
+
- brace-expansion@2.1.8
|
|
8392
8393
|
|
|
8393
8394
|
These packages each contain the following license:
|
|
8394
8395
|
|
|
@@ -9145,12 +9146,12 @@ SOFTWARE.
|
|
|
9145
9146
|
|
|
9146
9147
|
The following npm packages may be included in this product:
|
|
9147
9148
|
|
|
9148
|
-
- @react-navigation/bottom-tabs@7.
|
|
9149
|
-
- @react-navigation/core@7.
|
|
9150
|
-
- @react-navigation/elements@2.9.
|
|
9151
|
-
- @react-navigation/native-stack@7.
|
|
9152
|
-
- @react-navigation/native@7.1
|
|
9153
|
-
- @react-navigation/routers@7.5
|
|
9149
|
+
- @react-navigation/bottom-tabs@7.21.0
|
|
9150
|
+
- @react-navigation/core@7.24.0
|
|
9151
|
+
- @react-navigation/elements@2.9.45
|
|
9152
|
+
- @react-navigation/native-stack@7.21.0
|
|
9153
|
+
- @react-navigation/native@7.5.1
|
|
9154
|
+
- @react-navigation/routers@7.6.5
|
|
9154
9155
|
|
|
9155
9156
|
These packages each contain the following license:
|
|
9156
9157
|
|
|
@@ -9547,36 +9548,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
9547
9548
|
|
|
9548
9549
|
-----------
|
|
9549
9550
|
|
|
9550
|
-
The following npm package may be included in this product:
|
|
9551
|
-
|
|
9552
|
-
- fflate@0.7.4
|
|
9553
|
-
|
|
9554
|
-
This package contains the following license:
|
|
9555
|
-
|
|
9556
|
-
MIT License
|
|
9557
|
-
|
|
9558
|
-
Copyright (c) 2020 Arjun Barrett
|
|
9559
|
-
|
|
9560
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9561
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9562
|
-
in the Software without restriction, including without limitation the rights
|
|
9563
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9564
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9565
|
-
furnished to do so, subject to the following conditions:
|
|
9566
|
-
|
|
9567
|
-
The above copyright notice and this permission notice shall be included in all
|
|
9568
|
-
copies or substantial portions of the Software.
|
|
9569
|
-
|
|
9570
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9571
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9572
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9573
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9574
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9575
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9576
|
-
SOFTWARE.
|
|
9577
|
-
|
|
9578
|
-
-----------
|
|
9579
|
-
|
|
9580
9551
|
The following npm package may be included in this product:
|
|
9581
9552
|
|
|
9582
9553
|
- get-package-type@0.1.0
|
|
@@ -9789,36 +9760,6 @@ SOFTWARE.
|
|
|
9789
9760
|
|
|
9790
9761
|
-----------
|
|
9791
9762
|
|
|
9792
|
-
The following npm package may be included in this product:
|
|
9793
|
-
|
|
9794
|
-
- fflate@0.8.2
|
|
9795
|
-
|
|
9796
|
-
This package contains the following license:
|
|
9797
|
-
|
|
9798
|
-
MIT License
|
|
9799
|
-
|
|
9800
|
-
Copyright (c) 2023 Arjun Barrett
|
|
9801
|
-
|
|
9802
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9803
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9804
|
-
in the Software without restriction, including without limitation the rights
|
|
9805
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9806
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9807
|
-
furnished to do so, subject to the following conditions:
|
|
9808
|
-
|
|
9809
|
-
The above copyright notice and this permission notice shall be included in all
|
|
9810
|
-
copies or substantial portions of the Software.
|
|
9811
|
-
|
|
9812
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9813
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9814
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9815
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9816
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9817
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9818
|
-
SOFTWARE.
|
|
9819
|
-
|
|
9820
|
-
-----------
|
|
9821
|
-
|
|
9822
9763
|
The following npm packages may be included in this product:
|
|
9823
9764
|
|
|
9824
9765
|
- sf-symbols-typescript@2.1.0
|
|
@@ -9976,7 +9917,7 @@ THE SOFTWARE.
|
|
|
9976
9917
|
|
|
9977
9918
|
The following npm package may be included in this product:
|
|
9978
9919
|
|
|
9979
|
-
- zod@4.
|
|
9920
|
+
- zod@4.6.7
|
|
9980
9921
|
|
|
9981
9922
|
This package contains the following license:
|
|
9982
9923
|
|
|
@@ -10004,6 +9945,36 @@ SOFTWARE.
|
|
|
10004
9945
|
|
|
10005
9946
|
-----------
|
|
10006
9947
|
|
|
9948
|
+
The following npm package may be included in this product:
|
|
9949
|
+
|
|
9950
|
+
- fflate@0.8.3
|
|
9951
|
+
|
|
9952
|
+
This package contains the following license:
|
|
9953
|
+
|
|
9954
|
+
MIT License
|
|
9955
|
+
|
|
9956
|
+
Copyright (c) 2026 Arjun Barrett
|
|
9957
|
+
|
|
9958
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9959
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9960
|
+
in the Software without restriction, including without limitation the rights
|
|
9961
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9962
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9963
|
+
furnished to do so, subject to the following conditions:
|
|
9964
|
+
|
|
9965
|
+
The above copyright notice and this permission notice shall be included in all
|
|
9966
|
+
copies or substantial portions of the Software.
|
|
9967
|
+
|
|
9968
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9969
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9970
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9971
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9972
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9973
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9974
|
+
SOFTWARE.
|
|
9975
|
+
|
|
9976
|
+
-----------
|
|
9977
|
+
|
|
10007
9978
|
The following npm packages may be included in this product:
|
|
10008
9979
|
|
|
10009
9980
|
- @emotion/is-prop-valid@1.4.0
|
|
@@ -10158,7 +10129,7 @@ The following npm packages may be included in this product:
|
|
|
10158
10129
|
|
|
10159
10130
|
- undici-types@6.21.0
|
|
10160
10131
|
- undici-types@7.16.0
|
|
10161
|
-
- undici@6.
|
|
10132
|
+
- undici@6.29.1
|
|
10162
10133
|
|
|
10163
10134
|
These packages each contain the following license:
|
|
10164
10135
|
|
|
@@ -10402,24 +10373,6 @@ SOFTWARE.
|
|
|
10402
10373
|
|
|
10403
10374
|
-----------
|
|
10404
10375
|
|
|
10405
|
-
The following npm package may be included in this product:
|
|
10406
|
-
|
|
10407
|
-
- query-string@7.1.3
|
|
10408
|
-
|
|
10409
|
-
This package contains the following license:
|
|
10410
|
-
|
|
10411
|
-
MIT License
|
|
10412
|
-
|
|
10413
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (http://sindresorhus.com)
|
|
10414
|
-
|
|
10415
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
10416
|
-
|
|
10417
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
10418
|
-
|
|
10419
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
10420
|
-
|
|
10421
|
-
-----------
|
|
10422
|
-
|
|
10423
10376
|
The following npm packages may be included in this product:
|
|
10424
10377
|
|
|
10425
10378
|
- ansi-escapes@4.3.2
|
|
@@ -10429,6 +10382,7 @@ The following npm packages may be included in this product:
|
|
|
10429
10382
|
- cli-spinners@2.9.2
|
|
10430
10383
|
- escape-string-regexp@4.0.0
|
|
10431
10384
|
- execa@5.1.1
|
|
10385
|
+
- filter-obj@5.1.0
|
|
10432
10386
|
- find-up@5.0.0
|
|
10433
10387
|
- get-stream@6.0.1
|
|
10434
10388
|
- import-fresh@3.3.1
|
|
@@ -10445,6 +10399,8 @@ The following npm packages may be included in this product:
|
|
|
10445
10399
|
- p-locate@5.0.0
|
|
10446
10400
|
- parse-json@5.2.0
|
|
10447
10401
|
- pretty-bytes@5.6.0
|
|
10402
|
+
- query-string@9.5.1
|
|
10403
|
+
- split-on-first@3.0.0
|
|
10448
10404
|
- string-width@5.1.2
|
|
10449
10405
|
- strip-ansi@7.1.0
|
|
10450
10406
|
- supports-color@8.1.1
|
|
@@ -10540,7 +10496,6 @@ The following npm packages may be included in this product:
|
|
|
10540
10496
|
- resolve-global@1.0.0
|
|
10541
10497
|
- shebang-regex@3.0.0
|
|
10542
10498
|
- slash@3.0.0
|
|
10543
|
-
- split-on-first@1.1.0
|
|
10544
10499
|
- string-width@4.2.3
|
|
10545
10500
|
- strip-ansi@5.2.0
|
|
10546
10501
|
- strip-ansi@6.0.1
|
|
@@ -11381,7 +11336,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
11381
11336
|
|
|
11382
11337
|
The following npm package may be included in this product:
|
|
11383
11338
|
|
|
11384
|
-
- shell-quote@1.
|
|
11339
|
+
- shell-quote@1.11.0
|
|
11385
11340
|
|
|
11386
11341
|
This package contains the following license:
|
|
11387
11342
|
|
|
@@ -13230,7 +13185,7 @@ THE SOFTWARE.
|
|
|
13230
13185
|
|
|
13231
13186
|
The following npm package may be included in this product:
|
|
13232
13187
|
|
|
13233
|
-
- decode-uri-component@0.
|
|
13188
|
+
- decode-uri-component@0.5.1
|
|
13234
13189
|
|
|
13235
13190
|
This package contains the following license:
|
|
13236
13191
|
|
|
@@ -13910,36 +13865,6 @@ THE SOFTWARE.
|
|
|
13910
13865
|
|
|
13911
13866
|
-----------
|
|
13912
13867
|
|
|
13913
|
-
The following npm package may be included in this product:
|
|
13914
|
-
|
|
13915
|
-
- strict-uri-encode@2.0.0
|
|
13916
|
-
|
|
13917
|
-
This package contains the following license:
|
|
13918
|
-
|
|
13919
|
-
The MIT License (MIT)
|
|
13920
|
-
|
|
13921
|
-
Copyright (c) Kevin Martensson <kevinmartensson@gmail.com> (github.com/kevva)
|
|
13922
|
-
|
|
13923
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13924
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13925
|
-
in the Software without restriction, including without limitation the rights
|
|
13926
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13927
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
13928
|
-
furnished to do so, subject to the following conditions:
|
|
13929
|
-
|
|
13930
|
-
The above copyright notice and this permission notice shall be included in
|
|
13931
|
-
all copies or substantial portions of the Software.
|
|
13932
|
-
|
|
13933
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13934
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
13935
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13936
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
13937
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
13938
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
13939
|
-
THE SOFTWARE.
|
|
13940
|
-
|
|
13941
|
-
-----------
|
|
13942
|
-
|
|
13943
13868
|
The following npm packages may be included in this product:
|
|
13944
13869
|
|
|
13945
13870
|
- kleur@3.0.3
|
|
@@ -14040,7 +13965,6 @@ The following npm packages may be included in this product:
|
|
|
14040
13965
|
- cli-cursor@2.1.0
|
|
14041
13966
|
- decamelize@1.2.0
|
|
14042
13967
|
- escape-string-regexp@1.0.5
|
|
14043
|
-
- filter-obj@1.1.0
|
|
14044
13968
|
- import-fresh@2.0.0
|
|
14045
13969
|
- is-plain-obj@1.1.0
|
|
14046
13970
|
- map-obj@1.0.1
|
|
@@ -14200,7 +14124,7 @@ THE SOFTWARE.
|
|
|
14200
14124
|
|
|
14201
14125
|
The following npm package may be included in this product:
|
|
14202
14126
|
|
|
14203
|
-
- image-size@
|
|
14127
|
+
- image-size@2.0.4
|
|
14204
14128
|
|
|
14205
14129
|
This package contains the following license:
|
|
14206
14130
|
|
|
@@ -14422,23 +14346,6 @@ SOFTWARE.
|
|
|
14422
14346
|
|
|
14423
14347
|
-----------
|
|
14424
14348
|
|
|
14425
|
-
The following npm package may be included in this product:
|
|
14426
|
-
|
|
14427
|
-
- queue@6.0.2
|
|
14428
|
-
|
|
14429
|
-
This package contains the following license:
|
|
14430
|
-
|
|
14431
|
-
The MIT License (MIT)
|
|
14432
|
-
Copyright (c) 2014 Jesse Tane <jesse.tane@gmail.com>
|
|
14433
|
-
|
|
14434
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
14435
|
-
|
|
14436
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
14437
|
-
|
|
14438
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
14439
|
-
|
|
14440
|
-
-----------
|
|
14441
|
-
|
|
14442
14349
|
The following npm package may be included in this product:
|
|
14443
14350
|
|
|
14444
14351
|
- nullthrows@1.1.1
|
|
@@ -14823,23 +14730,23 @@ Unlicense
|
|
|
14823
14730
|
|
|
14824
14731
|
The following npm packages may be included in this product:
|
|
14825
14732
|
|
|
14826
|
-
- @mappedin/mvf-annotations@3.0.0-
|
|
14827
|
-
- @mappedin/mvf-cms@3.0.0-
|
|
14828
|
-
- @mappedin/mvf-connections@3.0.0-
|
|
14829
|
-
- @mappedin/mvf-core@3.0.0-
|
|
14830
|
-
- @mappedin/mvf-default-style@3.0.0-
|
|
14831
|
-
- @mappedin/mvf-facade@3.0.0-
|
|
14832
|
-
- @mappedin/mvf-floor-images@3.0.0-
|
|
14833
|
-
- @mappedin/mvf-floor-stacks@3.0.0-
|
|
14834
|
-
- @mappedin/mvf-kinds@3.0.0-
|
|
14835
|
-
- @mappedin/mvf-locations@3.0.0-
|
|
14836
|
-
- @mappedin/mvf-navigation-flags@3.0.0-
|
|
14837
|
-
- @mappedin/mvf-nodes@3.0.0-
|
|
14838
|
-
- @mappedin/mvf-outdoors@3.0.0-
|
|
14839
|
-
- @mappedin/mvf-tileset@3.0.0-
|
|
14840
|
-
- @mappedin/mvf-traversability@3.0.0-
|
|
14841
|
-
- @mappedin/mvf-v2@2.100.0-
|
|
14842
|
-
- @mappedin/typebox-fast-transform@1.0.0-
|
|
14733
|
+
- @mappedin/mvf-annotations@3.0.0-5f5ce79.0
|
|
14734
|
+
- @mappedin/mvf-cms@3.0.0-5f5ce79.0
|
|
14735
|
+
- @mappedin/mvf-connections@3.0.0-5f5ce79.0
|
|
14736
|
+
- @mappedin/mvf-core@3.0.0-5f5ce79.0
|
|
14737
|
+
- @mappedin/mvf-default-style@3.0.0-5f5ce79.0
|
|
14738
|
+
- @mappedin/mvf-facade@3.0.0-5f5ce79.0
|
|
14739
|
+
- @mappedin/mvf-floor-images@3.0.0-5f5ce79.0
|
|
14740
|
+
- @mappedin/mvf-floor-stacks@3.0.0-5f5ce79.0
|
|
14741
|
+
- @mappedin/mvf-kinds@3.0.0-5f5ce79.0
|
|
14742
|
+
- @mappedin/mvf-locations@3.0.0-5f5ce79.0
|
|
14743
|
+
- @mappedin/mvf-navigation-flags@3.0.0-5f5ce79.0
|
|
14744
|
+
- @mappedin/mvf-nodes@3.0.0-5f5ce79.0
|
|
14745
|
+
- @mappedin/mvf-outdoors@3.0.0-5f5ce79.0
|
|
14746
|
+
- @mappedin/mvf-tileset@3.0.0-5f5ce79.0
|
|
14747
|
+
- @mappedin/mvf-traversability@3.0.0-5f5ce79.0
|
|
14748
|
+
- @mappedin/mvf-v2@2.100.0-5f5ce79.0
|
|
14749
|
+
- @mappedin/typebox-fast-transform@1.0.0-5f5ce79.0
|
|
14843
14750
|
|
|
14844
14751
|
These packages each contain the following license:
|
|
14845
14752
|
|
|
@@ -14887,7 +14794,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
14887
14794
|
|
|
14888
14795
|
The following npm package may be included in this product:
|
|
14889
14796
|
|
|
14890
|
-
- node-forge@1.4.
|
|
14797
|
+
- node-forge@1.4.2
|
|
14891
14798
|
|
|
14892
14799
|
This package contains the following license:
|
|
14893
14800
|
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as G}from"./chunk-PWEV3AFA.js";var m,c=G(()=>{m={env:{NODE_ENV:"production",npm_package_version:"6.32.0"}}});c();var _="[MappedinJS]",B=(a=>(a[a.LOG=0]="LOG",a[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.SILENT=4]="SILENT",a))(B||{}),$={log:0,debug:0,info:1,warn:2,error:3,silent:4};function Y(n){return $[n.toLowerCase()]}function I(n="",{prefix:t=_}={}){let e=`${t}${n?`-${n}`:""}`,r=(i,o)=>{if(typeof window<"u"&&window.rnDebug){let a=o.map(s=>s instanceof Error&&s.stack?`${s.message}
|
|
2
|
+
${s.stack}`:s);window.rnDebug(`${n} ${i}: ${a.join(" ")}`)}};return{logState:m.env.NODE_ENV==="test"?4:1,debug(...i){this.logState<=0&&(console.debug(e,...i),r("debug",i))},log(...i){this.debug(...i)},info(...i){this.logState<=1&&(console.info(e,...i),r("info",i))},warn(...i){this.logState<=2&&(console.warn(e,...i),r("warn",i))},error(...i){this.logState<=3&&(console.error(e,...i),r("error",i))},assert(...i){console.assert(...i)},time(i){console.time(i)},timeEnd(i){console.timeEnd(i)},setLevel(i){let o=typeof i=="string"?Y(i):i;if(o===void 0||!(o>=0&&o<=4)){console.warn(e,`setLevel: unknown log level "${i}"`);return}this.logState=o}}}var V=I();function U(n){V.setLevel(n)}var Q=V;c();function j(n,t,e=!1){let r=null,i=0,o=function(...a){i++,i===1&&e===!0&&n(...a);let s=()=>{(!e||i>1)&&n(...a),r=null,i=0};clearTimeout(r),r=setTimeout(s,t)};return o.cancel=function(){r&&(clearTimeout(r),r=null),i=0},o}function ee(n,t,e){let r=null,i=null,o,a=null,s=0;e||(e={});let l=function(){s=e.leading===!1?0:Date.now(),a=null,i&&(o=n.apply(r,i)),a||(r=i=null)};return function(...u){let d=Date.now();!s&&e.leading===!1&&(s=d);let f=t-(d-s);return f<=0||f>t?(a&&(clearTimeout(a),a=null),s=d,o=n.apply(this,u),a||(r=i=null)):!a&&e.trailing!==!1&&(r=this,i=u,a=setTimeout(l,f)),o}}c();var x=[0,4,6,8,10],ne=()=>{let n=new Array(16).fill(0),t=Math.random()*4294967296;for(let r=0;r<n.length;r++)r>0&&(r&3)===0&&(t=Math.random()*4294967296),n[r]=t>>>((r&3)<<3)&255;let e=n.map(r=>r.toString(16).padStart(2,"0"));return e[6]="4"+e[6][1],e[8]=["8","9","a","b"].includes(e[7][0])?e[7]:"a"+e[7][1],x.map((r,i)=>e.slice(r,i===x.length-1?void 0:x[i+1]).join("")).join("-")};function ie(n,t=0){let e=3735928559^t,r=1103547991^t;for(let i=0,o;i<n.length;i++)o=n.charCodeAt(i),e=Math.imul(e^o,2654435761),r=Math.imul(r^o,1597334677);return e=Math.imul(e^e>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507)^Math.imul(e^e>>>13,3266489909),4294967296*(2097151&r)+(e>>>0)}c();var k=class{_subscribers={};_abortController=new AbortController;get signal(){return this._abortController.signal}getSubscribers(t){if(!(!this._subscribers||!this._subscribers[t]||this.signal.aborted))return this._subscribers[t]}publish(t,e){let r=this.getSubscribers(t);r&&r.forEach(function(i){typeof i=="function"&&i(e)})}hasSubscribers(t){return!!this.getSubscribers(t)?.length}onAbort(t){this.signal.addEventListener("abort",()=>t(),{once:!0})}on(t,e,r){let i=r?.signal;if(i?.aborted||this._abortController&&this._abortController.signal.aborted)return()=>{};this._subscribers||(this._subscribers={}),this._subscribers[t]=this._subscribers[t]||[],this._subscribers[t].push(e);let o=()=>{this.off(t,e)};return i&&i.addEventListener("abort",o,{once:!0}),o}off(t,e){let r=this.getSubscribers(t);if(!r)return;let i=r.indexOf(e);i!==-1&&r.splice(i,1)}destroy(){this.signal.aborted||(this._subscribers={},this._abortController.abort())}};c();function K(n,t){return`${t} ${n}`}var A=class extends Error{constructor(t,e=_){super(K(t,e)),this.name="MappedinError"}},O=class extends A{constructor(t,e=_){super(t,e),this.name="MappedinRenderError"}};c();var de=63710088e-1;c();var g=63710088e-1,R={centimeters:g*100,centimetres:g*100,degrees:g/111325,feet:g*3.28084,inches:g*39.37,kilometers:g/1e3,kilometres:g/1e3,meters:g,metres:g,miles:g/1609.344,millimeters:g*1e3,millimetres:g*1e3,nauticalmiles:g/1852,radians:1,yards:g*1.0936},he={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:1/1e3,kilometres:1/1e3,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/g,yards:1.0936133};function p(n,t,e){e===void 0&&(e={});var r={type:"Feature"};return(e.id===0||e.id)&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.properties=t||{},r.geometry=n,r}function q(n,t,e){if(e===void 0&&(e={}),!n)throw new Error("coordinates is required");if(!Array.isArray(n))throw new Error("coordinates must be an Array");if(n.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!D(n[0])||!D(n[1]))throw new Error("coordinates must contain numbers");var r={type:"Point",coordinates:n};return p(r,t,e)}function me(n,t,e){e===void 0&&(e={});for(var r=0,i=n;r<i.length;r++){var o=i[r];if(o.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var a=0;a<o[o.length-1].length;a++)if(o[o.length-1][a]!==o[0][a])throw new Error("First and last Position are not equivalent.")}var s={type:"Polygon",coordinates:n};return p(s,t,e)}function C(n,t,e){if(e===void 0&&(e={}),n.length<2)throw new Error("coordinates must be an array of two or more positions");var r={type:"LineString",coordinates:n};return p(r,t,e)}function ve(n,t){t===void 0&&(t={});var e={type:"FeatureCollection"};return t.id&&(e.id=t.id),t.bbox&&(e.bbox=t.bbox),e.features=n,e}function be(n,t,e){e===void 0&&(e={});var r={type:"MultiLineString",coordinates:n};return p(r,t,e)}function ye(n,t,e){e===void 0&&(e={});var r={type:"MultiPolygon",coordinates:n};return p(r,t,e)}function pe(n,t){t===void 0&&(t="kilometers");var e=R[t];if(!e)throw new Error(t+" units is invalid");return n*e}function we(n,t){t===void 0&&(t="kilometers");var e=R[t];if(!e)throw new Error(t+" units is invalid");return n/e}function Le(n){var t=n%(2*Math.PI);return t*180/Math.PI}function Ne(n){var t=n%360;return t*Math.PI/180}function D(n){return!isNaN(n)&&n!==null&&!Array.isArray(n)}c();function M(n,t,e){if(n!==null)for(var r,i,o,a,s,l,u,d=0,f=0,v,b=n.type,E=b==="FeatureCollection",w=b==="Feature",P=E?n.features.length:1,L=0;L<P;L++){u=E?n.features[L].geometry:w?n.geometry:n,v=u?u.type==="GeometryCollection":!1,s=v?u.geometries.length:1;for(var T=0;T<s;T++){var h=0,N=0;if(a=v?u.geometries[T]:u,a!==null){l=a.coordinates;var y=a.type;switch(d=e&&(y==="Polygon"||y==="MultiPolygon")?1:0,y){case null:break;case"Point":if(t(l,f,L,h,N)===!1)return!1;f++,h++;break;case"LineString":case"MultiPoint":for(r=0;r<l.length;r++){if(t(l[r],f,L,h,N)===!1)return!1;f++,y==="MultiPoint"&&h++}y==="LineString"&&h++;break;case"Polygon":case"MultiLineString":for(r=0;r<l.length;r++){for(i=0;i<l[r].length-d;i++){if(t(l[r][i],f,L,h,N)===!1)return!1;f++}y==="MultiLineString"&&h++,y==="Polygon"&&N++}y==="Polygon"&&h++;break;case"MultiPolygon":for(r=0;r<l.length;r++){for(N=0,i=0;i<l[r].length;i++){for(o=0;o<l[r][i].length-d;o++){if(t(l[r][i][o],f,L,h,N)===!1)return!1;f++}N++}h++}break;case"GeometryCollection":for(r=0;r<a.geometries.length;r++)if(M(a.geometries[r],t,e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function xe(n,t){if(n.type==="Feature")t(n,0);else if(n.type==="FeatureCollection")for(var e=0;e<n.features.length&&t(n.features[e],e)!==!1;e++);}function J(n,t){var e,r,i,o,a,s,l,u,d,f,v=0,b=n.type==="FeatureCollection",E=n.type==="Feature",w=b?n.features.length:1;for(e=0;e<w;e++){for(s=b?n.features[e].geometry:E?n.geometry:n,u=b?n.features[e].properties:E?n.properties:{},d=b?n.features[e].bbox:E?n.bbox:void 0,f=b?n.features[e].id:E?n.id:void 0,l=s?s.type==="GeometryCollection":!1,a=l?s.geometries.length:1,i=0;i<a;i++){if(o=l?s.geometries[i]:s,o===null){if(t(null,v,u,d,f)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(t(o,v,u,d,f)===!1)return!1;break}case"GeometryCollection":{for(r=0;r<o.geometries.length;r++)if(t(o.geometries[r],v,u,d,f)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}v++}}function W(n,t){J(n,function(e,r,i,o,a){var s=e===null?null:e.type;switch(s){case null:case"Point":case"LineString":case"Polygon":return t(p(e,i,{bbox:o,id:a}),r,0)===!1?!1:void 0}var l;switch(s){case"MultiPoint":l="Point";break;case"MultiLineString":l="LineString";break;case"MultiPolygon":l="Polygon";break}for(var u=0;u<e.coordinates.length;u++){var d=e.coordinates[u],f={type:l,coordinates:d};if(t(p(f,i),r,u)===!1)return!1}})}function z(n,t){W(n,function(e,r,i){var o=0;if(e.geometry){var a=e.geometry.type;if(!(a==="Point"||a==="MultiPoint")){var s,l=0,u=0,d=0;if(M(e,function(f,v,b,E,w){if(s===void 0||r>l||E>u||w>d){s=f,l=r,u=E,d=w,o=0;return}var P=C([s,f],e.properties);if(t(P,r,i,w,o)===!1)return!1;o++,s=f})===!1)return!1}}})}function Ae(n,t,e){var r=e,i=!1;return z(n,function(o,a,s,l,u){i===!1&&e===void 0?r=o:r=t(r,o,a,s,l,u),i=!0}),r}c();function S(n){var t=[1/0,1/0,-1/0,-1/0];return M(n,function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]<e[0]&&(t[2]=e[0]),t[3]<e[1]&&(t[3]=e[1])}),t}S.default=S;var Oe=S;export{c as a,m as b,B as c,Y as d,I as e,U as f,Q as g,ne as h,ie as i,j,ee as k,k as l,A as m,O as n,p as o,q as p,me as q,C as r,ve as s,be as t,ye as u,pe as v,we as w,Le as x,Ne as y,M as z,xe as A,W as B,Ae as C,Oe as D,de as E};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as Ce,R as Ie,S as De,U as Le,V as Me,W as Oe,Y as ve,Z as B,_ as Ne,aa as ke,ba as Ge,w as D}from"./chunk-TWRTSPVQ.js";import{H as V,L as ce,M as ue,N as Fe,Q as we,W as fe,c as se,g as je,h as Ue,i as ze,j as Xe,q as de,r as w}from"./chunk-ZJEQSG7Y.js";import{a as S,b as g,g as U}from"./chunk-7B7J4IXM.js";S();import{z as He}from"zod";function Ye(e){try{let o=e.shape;if("type"in o){let t=o.type;if(t instanceof He.ZodOptional&&(t=t._def.innerType),"value"in t)return String(t.value);if(t instanceof He.ZodDefault&&"value"in t._def.innerType)return String(t._def.innerType.value)}return"unknown"}catch{return"unknown"}}function We(e){if(e.success)return{};let o={};for(let t of e.error.issues)if(t.path.length>0){let i=String(t.path[0]);o[i]||(o[i]=[]),o[i].push(t.message)}return o}function Be(e,o){let t=Object.entries(e);if(t.length>0){let i=t.map(([n,f])=>`${n}: ${f.join(", ")}`).join("; ");U.warn(`${t.length} invalid field(s) in ${o??"unknown"} state: [${i}]`)}}function Ve(e,o,t){if(t?.disableValidation)return o;if(o==null||typeof o!="object")return{};let i=e.safeParse(o);if(i.success){let s={};for(let d of Object.keys(o))d in i.data&&(s[d]=o[d]);return s}let n=We(i);t?.warn&&Be(n,Ye(e));let f={};for(let s of Object.keys(o))!(s in n)&&s in e.shape&&(f[s]=o[s]);return f}function _(e,o,t){if(t?.disableValidation)return o;let i=e.safeParse(o);if(i.success)return i.data;if(t?.warn===!0){let n=We(i);Be(n,Ye(e))}return o}S();import a from"zod";var $e="path",P={color:"#4b90e2",width:1,completeFraction:0,visible:!0,interactive:!1,verticalOffset:.1,xrayOpacity:.25,smoothingTension:de.tension,smoothingCornerRadius:de.cornerRadius,dashed:!1,dashDiscrete:!1,dashCornerRadius:0,endcapExtension:[.5,.5],billboarding:80},me={enabled:a.boolean().optional(),cornerRadius:a.number().min(0).max(1).default(P.dashCornerRadius)},Ze=a.union([a.object({mode:a.literal("length-scaling").optional(),length:a.number().min(0).max(1).default(.1),gap:a.number().min(0).max(1).default(.1),...me}),a.object({mode:a.literal("width-scaling").optional(),size:a.number().min(0).default(w.size),gapSize:a.number().min(0).default(w.gapSize),...me}),a.object({mode:a.literal("absolute"),meters:a.number().min(0).default(1),gapMeters:a.number().min(0).default(.5),...me})]),Se={__EXPERIMENTAL_DASH_CORNER_RADIUS:a.number().min(0).max(1).optional()},gt=a.discriminatedUnion("__EXPERIMENTAL_DASH_MODE",[a.object({__EXPERIMENTAL_DASH_MODE:a.literal("length-scaling"),__EXPERIMENTAL_DASH_LENGTH:a.number().min(0).max(1).optional(),__EXPERIMENTAL_DASH_GAP:a.number().min(0).max(1).optional(),...Se}),a.object({__EXPERIMENTAL_DASH_MODE:a.literal("width-scaling"),__EXPERIMENTAL_DASH_SIZE:a.number().min(0).optional(),__EXPERIMENTAL_GAP_SIZE:a.number().min(0).optional(),...Se}),a.object({__EXPERIMENTAL_DASH_MODE:a.literal("absolute"),__EXPERIMENTAL_DASH_METERS:a.number().min(0).optional(),__EXPERIMENTAL_GAP_METERS:a.number().min(0).optional(),...Se})]),be=a.object({type:a.literal($e).default($e),color:a.string().default(P.color),width:a.union([a.number(),a.string().regex(se),a.object({on:a.literal("zoom-level"),input:a.array(a.number()).nonempty(),output:a.union([a.array(a.number()).nonempty(),a.array(a.string().regex(se)).nonempty()]),easing:a.string().optional()})]),completeFraction:a.number().default(P.completeFraction),visible:a.boolean().default(P.visible),interactive:a.boolean().default(P.interactive),verticalOffset:a.number().default(P.verticalOffset),highlightStartFraction:a.number().default(0),highlightEndFraction:a.number().default(0),highlightColor:a.string().default("red"),highlightWidthMultiplier:a.number().default(1.1),highlightCompleteFraction:a.number().default(1),highlightDisplayArrowsOnPath:a.boolean().default(!1),xrayOpacity:a.number().min(0).max(1).default(P.xrayOpacity),travelledEndFraction:a.number().default(0),travelledColor:a.string().default("#999"),smoothing:a.object({tension:a.number().default(P.smoothingTension),cornerRadius:a.number().default(P.smoothingCornerRadius)}).optional(),dashed:a.boolean().default(P.dashed),dashDiscrete:a.boolean().default(P.dashDiscrete),dashCornerRadius:a.number().min(0).max(1).default(P.dashCornerRadius),dash:Ze.optional(),geometry:a.enum(["tube","ribbon"]).default("tube"),endcapExtension:a.tuple([a.number(),a.number()]).default(P.endcapExtension),billboarding:a.union([a.boolean(),a.number().min(0).max(90)]).default(P.billboarding),border:a.object({enabled:a.boolean(),color:a.custom(e=>typeof e=="string"),width:a.number().optional()}).optional(),xray:a.object({opacity:a.number().min(0).max(1).optional(),color:a.string().optional(),tint:a.number().min(0).max(1).optional(),dithering:a.number().min(0).optional()}).optional()}),_t={__EXPERIMENTAL_GEOMETRY:a.enum(["tube","ribbon"]).optional(),__EXPERIMENTAL_ENDCAP_EXTENSION:a.tuple([a.number(),a.number()]).optional(),__EXPERIMENTAL_BILLBOARDING:a.union([a.boolean(),a.number().min(0).max(90)]).optional(),__EXPERIMENTAL_BORDER:a.object({enabled:a.boolean(),color:a.custom(e=>typeof e=="string"),width:a.number().optional()}).optional(),__EXPERIMENTAL_SMOOTHING_TENSION:a.number().optional(),__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS:a.number().optional(),__EXPERIMENTAL_XRAY_STYLE:a.object({opacity:a.number().min(0).max(1).optional(),color:a.string().optional(),tint:a.number().min(0).max(1).optional(),dithering:a.number().min(0).optional()}).optional(),__EXPERIMENTAL_DASH_OPTIONS:a.union([Ze,gt]).optional()},zt=be.omit({dashDiscrete:!0}).partial().extend(_t),Xt=a.strictObject(be.shape);function Ft(e){let{color:o,visible:t,interactive:i,width:n,verticalOffset:f,completeFraction:s,highlightStartFraction:d,highlightEndFraction:T,highlightColor:x,highlightWidthMultiplier:m,highlightCompleteFraction:c,highlightDisplayArrowsOnPath:b,travelledEndFraction:M,travelledColor:O,xrayOpacity:A,xrayStyle:R,smoothingTension:I,smoothingCornerRadius:j,dashed:p,dashDiscrete:h,dashCornerRadius:C,dashLength:Y,dashGap:W,dashRelativeToWidth:ne,dashSize:le,gapSize:pe,dashAbsolute:F,dashMeters:z,gapMeters:Ae,geometryType:St,endcapExtension:bt,billboarding:ht,border:Tt}=e,X={};A!==void 0&&(X.opacity=A),R?.color!==void 0&&(X.color=R.color),R?.tint!==void 0&&(X.tint=R.tint),R?.dithering!==void 0&&(X.dithering=R.dithering);let Et=Object.keys(X).length>0?X:void 0,yt={enabled:p,cornerRadius:C,...F?{mode:"absolute",meters:z,gapMeters:Ae}:ne?{mode:"width-scaling",size:le,gapSize:pe}:{mode:"length-scaling",length:Y,gap:W}};return _(be,{color:o,visible:t,interactive:i,width:n,verticalOffset:f,completeFraction:s,highlightStartFraction:d,highlightEndFraction:T,highlightColor:x,highlightWidthMultiplier:m,highlightCompleteFraction:c,highlightDisplayArrowsOnPath:b,travelledEndFraction:M,travelledColor:O,xrayOpacity:A,xray:Et,smoothing:{tension:I,cornerRadius:j},dashed:p,dashDiscrete:h,dashCornerRadius:C,dash:yt,geometry:St,endcapExtension:bt,billboarding:ht,border:Tt})}function xt(e,o){g.env.NODE_ENV!=="production"&&U.warn(`${e} takes precedence over deprecated ${o}`)}function wt(e){let o=e.geometry??e.__EXPERIMENTAL_GEOMETRY,t=e.endcapExtension??e.__EXPERIMENTAL_ENDCAP_EXTENSION,i=e.billboarding??e.__EXPERIMENTAL_BILLBOARDING,n=e.border??e.__EXPERIMENTAL_BORDER,f=e.smoothing,s=f?.tension??e.__EXPERIMENTAL_SMOOTHING_TENSION,d=f?.cornerRadius??e.__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS,T=e.xray,x=e.__EXPERIMENTAL_XRAY_STYLE,m=T??x,c=e.dash??e.__EXPERIMENTAL_DASH_OPTIONS,b=c?{enabled:c.enabled,mode:c.mode??c.__EXPERIMENTAL_DASH_MODE,length:c.length??c.__EXPERIMENTAL_DASH_LENGTH,gap:c.gap??c.__EXPERIMENTAL_DASH_GAP,size:c.size??c.__EXPERIMENTAL_DASH_SIZE,gapSize:c.gapSize??c.__EXPERIMENTAL_GAP_SIZE,meters:c.meters??c.__EXPERIMENTAL_DASH_METERS,gapMeters:c.gapMeters??c.__EXPERIMENTAL_GAP_METERS,cornerRadius:c.cornerRadius??c.__EXPERIMENTAL_DASH_CORNER_RADIUS}:void 0,M=typeof e.dashed=="boolean"?e.dashed:void 0,O=b?.enabled??M;b?.enabled!==void 0&&M!==void 0&&xt("dash.enabled","dashed");let A=o==="ribbon",R=t!==void 0&&(t[0]!==0||t[1]!==0)&&(t[0]!==P.endcapExtension[0]||t[1]!==P.endcapExtension[1]),I=i!==void 0&&i!==!1,j=n?.enabled===!0;!A&&(R||I||j)&&g.env.NODE_ENV!=="production"&&U.warn('Ribbon-only path options (endcapExtension, billboarding, border) have no effect with tube geometry. Set geometry: "ribbon" to apply them.'),b?.cornerRadius!==void 0&&!A&&g.env.NODE_ENV!=="production"&&U.warn("dash.cornerRadius has no effect on tube geometry");let p={};for(let h in e)if(h==="geometry"||h==="__EXPERIMENTAL_GEOMETRY")o!==void 0&&(p.geometryType=o);else if(h==="endcapExtension"||h==="__EXPERIMENTAL_ENDCAP_EXTENSION")t!==void 0&&(p.endcapExtension=t);else if(h==="billboarding"||h==="__EXPERIMENTAL_BILLBOARDING")i!==void 0&&(p.billboarding=i);else if(h==="border"||h==="__EXPERIMENTAL_BORDER")n!==void 0&&(p.border=n);else if(h==="smoothing"||h==="__EXPERIMENTAL_SMOOTHING_TENSION"||h==="__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS")s!==void 0&&(p.smoothingTension=s),d!==void 0&&(p.smoothingCornerRadius=d);else if(h==="dash"||h==="__EXPERIMENTAL_DASH_OPTIONS"){if(b){let C=O===!0?b.mode??"width-scaling":b.mode;C==="length-scaling"?(p.dashRelativeToWidth=!1,p.dashAbsolute=!1,b.length!==void 0&&(p.dashLength=b.length),b.gap!==void 0&&(p.dashGap=b.gap)):C==="width-scaling"?(p.dashRelativeToWidth=!0,p.dashAbsolute=!1,p.dashSize=b.size??w.size,p.gapSize=b.gapSize??w.gapSize):C==="absolute"&&(p.dashAbsolute=!0,p.dashRelativeToWidth=!1,b.meters!==void 0&&(p.dashMeters=b.meters),b.gapMeters!==void 0&&(p.gapMeters=b.gapMeters)),b.cornerRadius!==void 0&&(p.dashCornerRadius=b.cornerRadius)}}else if(h==="xray"||h==="__EXPERIMENTAL_XRAY_STYLE"){if(m){m.opacity!==void 0&&(p.xrayOpacity=m.opacity);let C={};m.color!==void 0&&(C.color=m.color),m.tint!==void 0&&(C.tint=m.tint),m.dithering!==void 0&&(C.dithering=m.dithering),Object.keys(C).length>0&&(p.xrayStyle=C)}}else h==="xrayOpacity"?m?.opacity===void 0&&(p[h]=e[h]):p[h]=e[h];return O!==void 0&&(p.dashed=O),p}S();import N from"zod";var Ke="doors",he=N.object({type:N.literal(Ke).default(Ke),color:N.string().default("#ffffff"),topColor:N.string().optional(),texture:N.object({url:N.string().optional()}).optional(),topTexture:N.object({url:N.string().optional()}).optional(),visible:N.boolean().default(!1),opacity:N.number().default(1)}),Vt=he.partial(),$t=N.strictObject(he.shape);function Zt(e,o){let{color:t,topColor:i,texture:n,topTexture:f,opacity:s}=e,d=o?.visible??!1;return _(he,{visible:d,color:t,topColor:i,opacity:s,texture:n?{url:n}:void 0,topTexture:f?{url:f}:void 0})}function Kt(e,o){let t={featureCollection:{},container:{}};return e.visible!==void 0&&(t.container.visible=e.visible),e.color&&(e.color==="initial"?t.featureCollection.color=o?.initialColor:t.featureCollection.color=e.color),e.topColor&&(e.topColor==="initial"?t.featureCollection.topColor=o?.initialTopColor:t.featureCollection.topColor=e.topColor),e.texture?.url!==void 0&&(t.featureCollection.texture=e.texture.url),e.topTexture?.url!==void 0&&(t.featureCollection.topTexture=e.topTexture.url),e.opacity!==void 0&&(t.featureCollection.opacity=e.opacity),t}function Jt(e,o){let t={};return o==null||(e.color&&(e.color==="initial"?t.color=o.initialColor:t.color=e.color),e.topColor&&(e.topColor==="initial"?t.topColor=o.initialTopColor:t.topColor=e.topColor),e.visible!==void 0&&(t.visible=e.visible),e.texture?.url!==void 0&&(t.texture=e.texture.url),e.topTexture?.url!==void 0&&(t.topTexture=e.topTexture.url),e.opacity!==void 0&&(t.opacity=e.opacity)),t}S();import{z as H}from"zod";var Je="facade",Te=H.object({type:H.literal(Je).default(Je),opacity:H.number().default(1),visible:H.boolean().default(!0)}),oo=Te.partial(),ao=H.strictObject(Te.shape);function ro(e){return _(Te,{opacity:e.opacity,visible:e.visible})}S();import{z as r}from"zod";var k="floor",qe=`${k}.footprint`,Qe=`${k}.geometry`,et=`${k}.labels`,tt=`${k}.markers`,ot=`${k}.images`,at=`${k}.occlusion`,rt=`${k}.paths`,it=`${k}.areas`,nt=`${k}.models`,$=r.object({type:r.literal(qe).default(qe),altitude:r.number().default(0),visible:r.boolean().default(!1),height:r.number().default(0),opacity:r.number().default(1),side:r.enum(["double","front","back"]).default("double"),color:r.string().default("#ffffff"),ceilingVisible:r.boolean().default(!0),basementMaskEnabled:r.boolean().default(!1),outline:r.boolean().default(!0),ceilingThickness:r.number().default(.2)}),uo=$.partial(),Z=r.object({type:r.literal(Qe).default(Qe),opacity:r.number().default(1),visible:r.boolean().default(!0),heightScale:r.number().default(1),maskId:r.number().nullable().default(null),maskEffect:r.enum(["hide","reveal"]).default("hide"),maskMode:r.enum(["mask","masked-object"]).default("mask"),maskEnabled:r.boolean().default(!1),effectStart:r.number().default(0),effectDistance:r.number().default(0),darkenAmount:r.number().default(0),darkenUseDepth:r.boolean().default(!0),desaturateAmount:r.number().default(0),desaturateUseDepth:r.boolean().default(!0),washOutAmount:r.number().default(0),washOutUseDepth:r.boolean().default(!1)}),fo=Z.partial(),K=r.object({type:r.literal(et).default(et),enabled:r.boolean().default(!0)}),mo=K.partial(),J=r.object({type:r.literal(tt).default(tt),enabled:r.boolean().default(!0)}),So=J.partial(),q=r.object({type:r.literal(ot).default(ot),visible:r.boolean().default(!0),collisionsEnabled:r.boolean().default(!1)}),bo=q.partial(),Q=r.object({type:r.literal(at).default(at),enabled:r.boolean().default(!0)}),ho=Q.partial(),ee=r.object({type:r.literal(rt).default(rt),visible:r.boolean().default(!0)}),To=ee.partial(),te=r.object({type:r.literal(k).default(k),visible:r.boolean().default(!1),altitude:r.number().default(0)}),oe=r.object({type:r.literal(it).default(it),visible:r.boolean().default(!0)}),Eo=oe.partial(),Rt=r.object({visible:r.boolean().default(!0)}),Pt=r.object({visible:r.boolean().default(!0)}),ae=r.object({visible:r.boolean().default(!0),geometryText:Rt.default({visible:!0}),floorText:Pt.default({visible:!0})}),yo=ae.partial(),re=r.object({type:r.literal(nt).default(nt),visible:r.boolean().default(!0)}),go=re.partial(),At=r.object({...te.shape,geometry:Z,labels:K,markers:J,images:q,footprint:$,occlusion:Q,paths:ee,areas:oe,text3d:ae,models:re}),_o=te.partial(),xo=r.object({...te.shape,geometry:Z.partial(),labels:K.partial(),markers:J.partial(),images:q.partial(),footprint:$.partial(),occlusion:Q.partial(),paths:ee.partial(),areas:oe.partial(),text3d:ae.partial(),models:re.partial()}).partial(),Ro=r.strictObject({...te.shape,geometry:r.strictObject(Z.shape),labels:r.strictObject(K.shape),markers:r.strictObject(J.shape),images:r.strictObject(q.shape),footprint:r.strictObject($.shape),occlusion:r.strictObject(Q.shape),paths:r.strictObject(ee.shape),areas:r.strictObject(oe.shape),text3d:r.strictObject(ae.shape),models:r.strictObject(re.shape)});function lt(e,o){let t=e?.getInternalState().geometry3DMap.get(o);if(t?.type!=="group-container")return!0;let i=t,n=e?.getSystems().text3DSystem;return n?.getBatchedText(i)?.visible??n?.getBatchVisible(i)??!0}function Po(e,o,t){if(!o){U.error("Floor is not defined. Cannot get floor state.");return}let i=o.layers.get(Ce),n=i?t?.getState(i.containerId):void 0,f=o.layers.get(Ie),s=o.layers.get(De),d=o.footprintObject?.getState(),T=o.layers.get(Le),x=T?t?.getState(T.containerId):void 0,m=o.layers.get(Oe),c=m?t?.getState(m.containerId):void 0,b=!1;if(i?.layers)for(let F of i.layers.values()){let z=t?.getState(F);if(z?.children?.[0]){b=t?.getState(z.children[0])?.enableImageCollisions??!1;break}}let M=o.layers.get(ve),O=M?t?.getState(M.containerId):void 0,A=o.layers.get(Me),R=A?t?.getState(A.containerId):void 0,I=o.layers.get(B),j=I?t?.getState(I.containerId):void 0,p=!0,h=!0,C=!0,Y=!0;for(let[,F]of i.layers){let z=t?.getState(F);z?.maskId||(p=!1),z?.maskEffect||(h=!1),z?.maskMode||(C=!1),z?.maskEnabled||(Y=!1)}let W=o.layers.get(Ne),ne=W?t?.getState(W.containerId):void 0,le=lt(t,ke(o.id)),pe=lt(t,Ge(o.id));return _(At,{geometry:{opacity:n?.opacity,visible:n?.visible,maskId:p,maskEffect:h,maskMode:C,maskEnabled:Y},labels:{enabled:f?.visible},markers:{enabled:s?.visible},footprint:{altitude:d?.altitude,visible:d?.visible,height:d?.height,opacity:d?.opacity,side:d?.side,color:d?.color,ceilingVisible:d?.ceilingVisible,basementMaskEnabled:d?.basementMaskEnabled,outline:d?.outline,ceilingThickness:d?.ceilingThickness},images:{visible:c?.visible,collisionsEnabled:b},occlusion:{enabled:x?.visible},paths:{visible:O?.visible},areas:{visible:R?.visible},text3d:{visible:ne?.visible,geometryText:{visible:le},floorText:{visible:pe}},models:{visible:j?.visible},visible:e.visible,altitude:e.altitude})}S();import{z as u}from"zod";var pt="geometry",Ee=u.object({type:u.literal(pt).default(pt),visible:u.boolean().default(!0),color:u.union([u.string(),u.literal("initial")]).default("#ffffff"),topColor:u.union([u.string(),u.literal("initial")]).optional(),hoverColor:u.union([u.string(),u.literal("initial")]).optional(),interactive:u.union([u.boolean(),u.literal("pass-through")]).default(!1),opacity:u.number().default(1),height:u.number().default(0),slopeBearing:u.number().min(0).max(360).default(0),slopeFactor:u.number().min(-1).max(1).default(0),slopeEnabled:u.boolean().default(!1),altitude:u.number().default(0),texture:u.object({url:u.string()}).optional(),topTexture:u.object({url:u.string()}).optional(),flipImageToFaceCamera:u.boolean().default(!1),enableImageCollisions:u.boolean().default(!1),borderVisible:u.boolean().default(!1),borderColor:u.string().optional(),borderWidth:u.number().optional()}),Lo=Ee.partial(),Mo=u.strictObject(Ee.shape);function Oo(e){let{altitude:o,interactive:t,hoverColor:i,color:n,visible:f,opacity:s,height:d,slope:T,slopeEnabled:x,texture:m,topTexture:c,flipImageToFaceCamera:b,enableImageCollisions:M,topColor:O,borderVisible:A,borderColor:R,borderWidth:I}=e;return _(Ee,{interactive:t,hoverColor:i,color:n,visible:f,opacity:s,height:d,slopeBearing:T?.bearing??0,slopeFactor:T?.factor??0,slopeEnabled:x??!1,texture:m?{url:e.texture}:void 0,topTexture:c?{url:c}:void 0,flipImageToFaceCamera:b,enableImageCollisions:M,topColor:O,altitude:o,borderVisible:A,borderColor:R,borderWidth:I})}function vo(e,o){let t={};return o==null||(e.color&&(e.color==="initial"?t.color=o.initialColor:t.color=e.color),e.topColor&&(e.topColor==="initial"?t.topColor=o.initialTopColor:t.topColor=e.topColor),e.visible!==void 0&&(t.visible=e.visible),e.texture?.url!==void 0&&(t.texture=e.texture.url),e.topTexture?.url!==void 0&&(t.topTexture=e.topTexture.url),e.hoverColor!==void 0&&(t.hoverColor=e.hoverColor),e.interactive!==void 0&&(t.interactive=e.interactive),e.height!==void 0&&(t.height=e.height),(e.slopeBearing!==void 0||e.slopeFactor!==void 0)&&(t.slope={bearing:e.slopeBearing??o.slope?.bearing??0,factor:e.slopeFactor??o.slope?.factor??0}),e.slopeEnabled!==void 0&&(t.slopeEnabled=e.slopeEnabled),e.opacity!==void 0&&(t.opacity=e.opacity),e.flipImageToFaceCamera!==void 0&&(t.flipImageToFaceCamera=e.flipImageToFaceCamera),e.enableImageCollisions!==void 0&&(t.enableImageCollisions=e.enableImageCollisions),e.altitude!==void 0&&(t.altitude=e.altitude),e.borderVisible!==void 0&&(t.borderVisible=e.borderVisible),e.borderColor!==void 0&&(t.borderColor=e.borderColor),e.borderWidth!==void 0&&(t.borderWidth=e.borderWidth)),t}S();import v from"zod";var ye="label",Ct=v.object({type:v.literal(ye).default(ye),text:v.string(),rank:v.custom(e=>V.safeParse(e).success||e==="initial"),appearance:v.custom(e=>Fe.safeParse(e).success),interactive:v.boolean().default(!1),enabled:v.boolean().default(!0),textPlacement:v.union([v.enum(ce),v.array(v.enum(ce))]).default(ue),occlude:v.boolean().default(!0)}),Uo=Ct.partial();function zo(e){let{text:o,enabled:t,options:i}=e;return{type:ye,text:o??"",appearance:we(i?.appearance??{}),rank:i?.rank??"medium",enabled:t??!0,interactive:i?.interactive??!1,textPlacement:i?.textPlacement??ue,occlude:i?.occlude??!0}}function Xo(e,o){let t={options:{}};if(!t.options)throw new Error("options should exist");return e.text&&(t.text=e.text),e.appearance&&(t.options.appearance=e.appearance),e.textPlacement&&(t.options.textPlacement=e.textPlacement),e.rank!=null&&(e.rank==="initial"?t.options.rank=o.initialRank||2:t.options.rank=e.rank),e.enabled!==void 0&&(t.enabled=e.enabled),e.interactive!==void 0&&(t.options.interactive=e.interactive),e.occlude!==void 0&&(t.options.occlude=e.occlude),e.enabled!==void 0&&(t.enabled=e.enabled),t}S();import E from"zod";var ge="marker",It=E.object({type:E.literal(ge).default(ge),rank:E.custom(e=>V.safeParse(e).success||e==="initial"),placement:E.union([E.enum(fe),E.array(E.enum(fe))]).optional(),interactive:E.union([E.boolean(),E.literal("pointer-events-auto")]).default(!1),dynamicResize:E.boolean().default(!0),enabled:E.boolean().default(!0),zIndex:E.number().optional(),lowPriorityPin:E.object({enabled:E.boolean().optional(),size:E.number().positive().optional(),color:E.string().optional()}).optional(),element:E.custom(e=>e instanceof HTMLElement,{error:"Must be an HTMLElement instance"}),contentHTML:E.string(),occlude:E.boolean().default(!0),animated:E.boolean().default(!0)}),Bo=It.omit({element:!0}).partial();function Vo(e,o){let t=o?.target?o.target.anchorTarget:void 0,{enabled:i,placement:n,element:f,dynamicResize:s,contentHTML:d,options:T,position:x,parent:m}=e,c=typeof m=="object"?m.id:m;return t==null&&(t=new D({latitude:x?.[1]??0,longitude:x?.[0]??0,floorId:c?.toString()})),{type:ge,rank:T?.rank??"medium",interactive:T?.interactive??!1,enabled:i??!0,element:f,placement:n??[],zIndex:T?.zIndex,dynamicResize:s??!0,lowPriorityPin:T?.lowPriorityPin,contentHTML:d??"",occlude:T?.occlude??!0,animated:T?.animated??!0}}function $o(e,o){let t={};return t.options={},e.rank!=null&&(e.rank==="initial"?t.options.rank=o.initialRank||2:t.options.rank=e.rank),e.dynamicResize!=null&&(t.options.dynamicResize=e.dynamicResize),e.enabled!=null&&(t.enabled=e.enabled),e.interactive!=null&&(t.options.interactive=e.interactive),e.enabled!=null&&(t.enabled=e.enabled),e.contentHTML!=null&&(t.contentHTML=e.contentHTML),e.placement!=null&&(t.placement=e.placement),e.occlude!=null&&(t.options.occlude=e.occlude),"zIndex"in e&&(t.options.zIndex=e.zIndex),e.animated!=null&&(t.options.animated=e.animated),t}S();import{z as y}from"zod";var st="shape",_e=y.object({type:y.literal(st).default(st),visible:y.boolean().default(!0),altitude:y.number().default(0),color:y.string().default("#ffffff"),hoverColor:y.string().optional(),height:y.number().default(0),opacity:y.number().default(1),interactive:y.union([y.boolean(),y.literal("pass-through")]).default(!1),bevel:y.object({enabled:y.boolean().optional(),thickness:y.number().optional(),size:y.number().optional(),offset:y.number().optional(),segments:y.number().optional()}).optional(),visibleThroughGeometry:y.boolean().default(!1),position:y.custom(e=>D.is(e))}),Dt=_e.partial(),ta=y.strictObject(_e.shape);function oa(e){let{children:o,bevel:t,position:i}=e;if(o==null||o.length<1){U.error(`Expected at least one child for Shape (${e.id}). Cannot get shape state.`);return}let{color:n,hoverColor:f,opacity:s,interactive:d,height:T,visible:x,altitude:m,visibleThroughGeometry:c}=e;return _(_e,{altitude:m,visible:x,color:n,hoverColor:f,height:T,opacity:s,interactive:d,bevel:t,visibleThroughGeometry:c,position:new D({latitude:i[1],longitude:i[0],verticalOffset:m??0})})}function aa(e){let o=Ve(Dt,e,{warn:!0}),t={};return o.visible!==void 0&&(t.visible=o.visible),o.altitude!==void 0&&(t.altitude=o.altitude),o.color!==void 0&&(t.color=o.color),o.hoverColor!==void 0&&(t.hoverColor=o.hoverColor),o.opacity!==void 0&&(t.opacity=o.opacity),o.height!==void 0&&(t.height=o.height),o.interactive!==void 0&&(t.interactive=o.interactive),o.bevel!==void 0&&(t.bevel={enabled:o.bevel.enabled||!1,thickness:o.bevel.thickness,size:o.bevel.size,offset:o.bevel.offset,segments:o.bevel.segments}),o.visibleThroughGeometry!==void 0&&(t.visibleThroughGeometry=o.visibleThroughGeometry),o.position!==void 0&&(t.position=[o.position.longitude,o.position.latitude],t.altitude=o.position.verticalOffset),{mergedShapeState:t}}S();var na=["visible","altitude","opacity","interactive","preloadGeometry","focusable"];function la(e,o){let t=e,i={};for(let n of o)t[n]!==void 0&&(i[n]=t[n]);return i}function pa(e,o){let t=e,i=o,n=0;for(let f in t){let s=t[f];if(s!==void 0){if(typeof s=="object"&&s!==null||typeof s=="function"||i[f]!==s)return!1;n++}}return n>0}S();import ie from"zod";var dt="text3d",ct=ie.object({type:ie.literal(dt).default(dt),position:ie.custom(e=>e instanceof D,{error:"Must be a Coordinate instance"})}),ut=ze.extend({...ct.shape}),Sa=Xe.extend({...ct.shape}).partial(),ba=ie.strictObject(ut.shape);function ha(e){let{position:o,type:t,...i}=e;return{...i,...o?{position:[o.longitude,o.latitude,o.verticalOffset]}:{}}}function Ta(e){let{position:o,visible:t,color:i,flipToFaceCamera:n,font:f,fontSize:s,outlineColor:d,outlineOpacity:T,outlineBlur:x,outlineWidth:m,outlineOffsetX:c,outlineOffsetY:b,strokeWidth:M,strokeOpacity:O,strokeColor:A,fillOpacity:R,hoverColor:I,rotation:j,content:p}=e;return _(ut,{position:new D({latitude:o?.[1]??0,longitude:o?.[0]??0}),visible:t,color:i,flipToFaceCamera:n,font:f,fontSize:s,outlineColor:d,outlineOpacity:T,outlineBlur:x,outlineWidth:m,outlineOffsetX:c,outlineOffsetY:b,strokeWidth:M,strokeOpacity:O,strokeColor:A,fillOpacity:R,hoverColor:I,rotation:j,content:p})}S();import L from"zod";var ft="walls",xe=L.object({type:L.literal(ft).default(ft),color:L.string().default("#ffffff"),topColor:L.string().optional(),texture:L.object({url:L.string()}).or(L.undefined()),topTexture:L.object({url:L.string()}).or(L.undefined()),visible:L.boolean().default(!0),height:L.number().default(0),opacity:L.number().default(1)}),xa=xe.partial(),Ra=L.strictObject(xe.shape);function Pa(e){let{color:o,topColor:t,texture:i,topTexture:n,visible:f,height:s,opacity:d}=e;return _(xe,{visible:f,color:o,topColor:t,texture:i?{url:i}:void 0,topTexture:n?{url:n}:void 0,height:s,opacity:d})}function Aa(e,o){let t={};return o==null||(e.color&&(e.color==="initial"?t.color=o.initialColor:t.color=e.color),e.topColor&&(e.topColor==="initial"?t.topColor=o.initialTopColor:t.topColor=e.topColor),e.visible!==void 0&&(t.visible=e.visible),e.texture?.url!==void 0&&(t.texture=e.texture.url),e.topTexture?.url!==void 0&&(t.topTexture=e.topTexture.url),e.height!==void 0&&(t.height=e.height),e.opacity!==void 0&&(t.opacity=e.opacity)),t}S();import{z as G}from"zod";var Re="image3d",Lt=G.object({type:G.literal(Re).default(Re),visible:G.boolean().default(!0),opacity:G.number().min(0).max(1).default(1),position:G.custom(e=>e instanceof D,{error:"Must be a Coordinate instance"}),width:G.number().default(1),height:G.number().default(1),rotation:G.number().default(0),verticalOffset:G.number().default(0),flipImagesToFaceCamera:G.boolean().default(!1),interactive:G.boolean().default(!1)}),Ma=Lt.partial();function Oa(e){let{position:o,flipImagesToFaceCamera:t,type:i,...n}=e;return{...n,...o?{position:[o.longitude,o.latitude]}:{},...t!=null?{flipImageToFaceCamera:t}:{}}}function va(e){let{position:o}=e;return{type:Re,visible:e.visible??!0,opacity:e.opacity??1,position:new D({latitude:o?.[1]??0,longitude:o?.[0]??0,verticalOffset:o?.[2]}),width:e.width??1,height:e.height??1,rotation:e.rotation??0,verticalOffset:e.verticalOffset??0,flipImagesToFaceCamera:e.flipImageToFaceCamera??!1,interactive:e.interactive??!1}}S();import{z as l}from"zod";var mt="model",Pe=je.extend({type:l.literal(mt).default(mt),color:l.string().optional(),position:l.custom(e=>D.is(e),{error:"Expected a Coordinate"}),visible:l.boolean().default(!0),rotation:l.tuple([l.number(),l.number(),l.number()]).default([0,0,0]),scale:l.tuple([l.number(),l.number(),l.number()]).default([1,1,1]),verticalOffset:l.number().default(0),opacity:l.number().default(1),material:l.record(l.string(),Ue).optional(),interactive:l.boolean().default(!1),clippingPlaneZOffset:l.custom(e=>typeof e=="number"&&!Number.isNaN(e),{message:"Must be a valid number (including Infinity)"}).default(1/0),clippingPlaneTopColor:l.string().default("#E67B5B"),clippingPlaneTopVisible:l.boolean().default(!0),castShadow:l.boolean().default(!0),receiveShadow:l.boolean().default(!0),clippingEnabled:l.boolean().default(!1)}),Fa=Pe.extend({scale:l.union([l.number(),l.tuple([l.number(),l.number(),l.number()])]),rotation:l.union([l.number(),l.tuple([l.number(),l.number(),l.number()])])}).omit({castShadow:!0,receiveShadow:!0,clippingEnabled:!0}).partial(),wa=l.strictObject(Pe.shape);function Ha(e){let{color:o,position:t,rotation:i,scale:n,visible:f,interactive:s,opacity:d,material:T,verticalOffset:x,parent:m,clippingPlaneZOffset:c,clippingPlaneTopColor:b,clippingPlaneTopVisible:M,castShadow:O,receiveShadow:A,clippingEnabled:R}=e,I=typeof m=="object"?m?.id?.toString():m?.toString(),j=`${B}-`,p=I?.startsWith(j)?I.slice(j.length):I;return _(Pe,{color:o,position:new D({latitude:t?.[1]??0,longitude:t?.[0]??0,verticalOffset:t?.[2],floorId:p}),rotation:i,scale:n,visible:f,interactive:s,opacity:d,material:T,verticalOffset:x,clippingPlaneZOffset:c,clippingPlaneTopColor:b,clippingPlaneTopVisible:M,castShadow:O,receiveShadow:A,clippingEnabled:R})}S();export{Ve as a,zt as b,Ft as c,wt as d,Vt as e,Zt as f,Kt as g,Jt as h,oo as i,ro as j,$ as k,fo as l,mo as m,So as n,bo as o,ho as p,To as q,Eo as r,yo as s,go as t,_o as u,Po as v,Lo as w,Oo as x,vo as y,ye as z,Uo as A,zo as B,Xo as C,ge as D,Bo as E,Vo as F,$o as G,Dt as H,oa as I,aa as J,na as K,la as L,pa as M,Sa as N,ha as O,Ta as P,xa as Q,Pa as R,Aa as S,Ma as T,Oa as U,va as V,Fa as W,Ha as X};
|