@mountaya/elements 0.1.0 → 0.2.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/CHANGELOG.md +38 -0
- package/README.md +4 -3
- package/THIRD-PARTY-NOTICES.txt +1 -1
- package/dist/agent/index.cjs +1152 -1905
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +1152 -1202
- package/dist/agent/index.d.ts +1152 -1202
- package/dist/agent/index.js +1147 -1903
- package/dist/agent/index.js.map +1 -1
- package/dist/camera/index.cjs +2470 -3435
- package/dist/camera/index.cjs.map +1 -1
- package/dist/camera/index.d.cts +716 -744
- package/dist/camera/index.d.ts +716 -744
- package/dist/camera/index.js +2438 -3323
- package/dist/camera/index.js.map +1 -1
- package/dist/{units-D9mBrusY.d.cts → chunk-5pTPpv4v.d.cts} +38 -41
- package/dist/{units-D9mBrusY.d.ts → chunk-5pTPpv4v.d.ts} +38 -41
- package/dist/{order-BLhsGsH8.d.ts → chunk-6JzFMFHh.d.ts} +15 -28
- package/dist/chunk-6qyuJVvt.d.ts +513 -0
- package/dist/chunk-9fp0lDic.cjs +583 -0
- package/dist/chunk-9fp0lDic.cjs.map +1 -0
- package/dist/{zones-B05QA8fy.d.ts → chunk-A48H1rDg.d.cts} +2 -4
- package/dist/{zones-B05QA8fy.d.cts → chunk-A48H1rDg.d.ts} +2 -4
- package/dist/chunk-B-m1AchR.cjs +57 -0
- package/dist/chunk-B-m1AchR.cjs.map +1 -0
- package/dist/{bundle-xYrrbJTH.d.ts → chunk-B-qFTf04.d.ts} +51 -57
- package/dist/chunk-B0YROiZh.d.cts +1475 -0
- package/dist/chunk-B14wgOvH.d.cts +68 -0
- package/dist/chunk-B19l3j9r.cjs +150 -0
- package/dist/chunk-B19l3j9r.cjs.map +1 -0
- package/dist/chunk-B2PtjVKg.cjs +86 -0
- package/dist/chunk-B2PtjVKg.cjs.map +1 -0
- package/dist/chunk-B56Oyb7W.cjs +70 -0
- package/dist/chunk-B56Oyb7W.cjs.map +1 -0
- package/dist/chunk-B5WGMQwK.cjs +113 -0
- package/dist/chunk-B5WGMQwK.cjs.map +1 -0
- package/dist/{types-nO2joeRk.d.ts → chunk-B98mKrdu.d.cts} +103 -122
- package/dist/{videoOverlay-Dh_D5_Zs.d.ts → chunk-BB0PmqIM.d.cts} +10 -10
- package/dist/chunk-BBikve0Z.cjs +269 -0
- package/dist/chunk-BBikve0Z.cjs.map +1 -0
- package/dist/chunk-BHeXmM0X.js +37 -0
- package/dist/chunk-BHeXmM0X.js.map +1 -0
- package/dist/chunk-BI8WZLpU.cjs +281 -0
- package/dist/chunk-BI8WZLpU.cjs.map +1 -0
- package/dist/chunk-BIEc_SkR.cjs +29 -0
- package/dist/chunk-BIEc_SkR.cjs.map +1 -0
- package/dist/chunk-BJ6L6_W9.cjs +553 -0
- package/dist/chunk-BJ6L6_W9.cjs.map +1 -0
- package/dist/chunk-BJ91UCbB.js +11 -0
- package/dist/chunk-BJ91UCbB.js.map +1 -0
- package/dist/chunk-BJEZWTKj.cjs +166 -0
- package/dist/chunk-BJEZWTKj.cjs.map +1 -0
- package/dist/chunk-BJz54mfg.cjs +10 -0
- package/dist/chunk-BJz54mfg.cjs.map +1 -0
- package/dist/{sections-CVlc2Inr.d.cts → chunk-BNX5LAfN.d.cts} +289 -330
- package/dist/chunk-BP6KgA86.js +35 -0
- package/dist/chunk-BP6KgA86.js.map +1 -0
- package/dist/{segmentRoute-C5UL_5bp.d.ts → chunk-BRnjQq6K.d.cts} +44 -59
- package/dist/chunk-BSiMEwPS.js +46 -0
- package/dist/chunk-BSiMEwPS.js.map +1 -0
- package/dist/chunk-BTPjDw_y.cjs +16 -0
- package/dist/chunk-BTPjDw_y.cjs.map +1 -0
- package/dist/chunk-BTUUABGI.js +17 -0
- package/dist/chunk-BTUUABGI.js.map +1 -0
- package/dist/chunk-BUeL9y7s.cjs +45 -0
- package/dist/chunk-BUeL9y7s.cjs.map +1 -0
- package/dist/chunk-BWMuCNc9.cjs +172 -0
- package/dist/chunk-BWMuCNc9.cjs.map +1 -0
- package/dist/chunk-BWjRfhpF.js +126 -0
- package/dist/chunk-BWjRfhpF.js.map +1 -0
- package/dist/{types-CTQwbSdA.d.cts → chunk-BZ5KyZXI.d.ts} +103 -122
- package/dist/chunk-B_4SVmvh.js +94 -0
- package/dist/chunk-B_4SVmvh.js.map +1 -0
- package/dist/chunk-BcTUuZQ3.js +95 -0
- package/dist/chunk-BcTUuZQ3.js.map +1 -0
- package/dist/chunk-BdkqSsJe.cjs +140 -0
- package/dist/chunk-BdkqSsJe.cjs.map +1 -0
- package/dist/chunk-BfktMVmI.js +70 -0
- package/dist/chunk-BfktMVmI.js.map +1 -0
- package/dist/chunk-BfzQb0EK.cjs +6 -0
- package/dist/chunk-BhWfT-22.d.cts +808 -0
- package/dist/chunk-BjJcqX5J.cjs +60 -0
- package/dist/chunk-BjJcqX5J.cjs.map +1 -0
- package/dist/{geodesy-543qXKtI.d.ts → chunk-Bk0L8g5J.d.cts} +3 -4
- package/dist/{geodesy-543qXKtI.d.cts → chunk-Bk0L8g5J.d.ts} +3 -4
- package/dist/chunk-Bl4_uVa6.cjs +11 -0
- package/dist/chunk-Bl4_uVa6.cjs.map +1 -0
- package/dist/chunk-BlKF4lrp.js +43 -0
- package/dist/chunk-BlKF4lrp.js.map +1 -0
- package/dist/chunk-Bm1FieGR.js +4 -0
- package/dist/chunk-Bm1FieGR.js.map +1 -0
- package/dist/chunk-Bn6ZbxkS.cjs +27 -0
- package/dist/chunk-BpN3hr6a.cjs +541 -0
- package/dist/chunk-BpN3hr6a.cjs.map +1 -0
- package/dist/{order-BZkUwMou.d.cts → chunk-Bq_WHTfd.d.cts} +15 -28
- package/dist/chunk-Bqt4LBBz.cjs +648 -0
- package/dist/chunk-Bqt4LBBz.cjs.map +1 -0
- package/dist/{language-CEWQ5uYw.d.cts → chunk-Bqt97zwf.d.cts} +3 -18
- package/dist/{language-CEWQ5uYw.d.ts → chunk-Bqt97zwf.d.ts} +3 -18
- package/dist/chunk-BsBiN4w6.d.cts +245 -0
- package/dist/chunk-BvTpOUoC.cjs +207 -0
- package/dist/chunk-BvTpOUoC.cjs.map +1 -0
- package/dist/chunk-BwK6Hl3q.cjs +446 -0
- package/dist/chunk-BwK6Hl3q.cjs.map +1 -0
- package/dist/{elevationTiles-pmsb9wnU.d.cts → chunk-BxDQZDXR.d.cts} +26 -27
- package/dist/{elevationTiles-pmsb9wnU.d.ts → chunk-BxDQZDXR.d.ts} +26 -27
- package/dist/chunk-BxUio8kX.js +20 -0
- package/dist/chunk-BxUio8kX.js.map +1 -0
- package/dist/chunk-BxaocpFi.d.cts +1 -0
- package/dist/chunk-Bywi0K1N.js +36 -0
- package/dist/chunk-Bywi0K1N.js.map +1 -0
- package/dist/chunk-C-IlmkDl.js +59 -0
- package/dist/chunk-C-IlmkDl.js.map +1 -0
- package/dist/chunk-C5PtVewq.d.ts +389 -0
- package/dist/chunk-C5dpC7mQ.js +19 -0
- package/dist/chunk-C5dpC7mQ.js.map +1 -0
- package/dist/chunk-C5q1sgSa.js +46 -0
- package/dist/chunk-C5q1sgSa.js.map +1 -0
- package/dist/chunk-C6fU9G5I.cjs +221 -0
- package/dist/chunk-C6fU9G5I.cjs.map +1 -0
- package/dist/chunk-C71dpWUK.js +5 -0
- package/dist/chunk-C71dpWUK.js.map +1 -0
- package/dist/chunk-C82N1gQX.d.ts +1831 -0
- package/dist/chunk-C8HdaHpu.js +118 -0
- package/dist/chunk-C8HdaHpu.js.map +1 -0
- package/dist/chunk-C8ZGryck.js +236 -0
- package/dist/chunk-C8ZGryck.js.map +1 -0
- package/dist/chunk-C95NG0oD.cjs +43 -0
- package/dist/chunk-C95NG0oD.cjs.map +1 -0
- package/dist/chunk-C9aR8DXb.js +9 -0
- package/dist/chunk-C9aR8DXb.js.map +1 -0
- package/dist/{camera-C48Ykaxv.d.ts → chunk-CAUZnoCs.d.ts} +135 -159
- package/dist/chunk-CBXWWuM9.cjs +82 -0
- package/dist/chunk-CBXWWuM9.cjs.map +1 -0
- package/dist/chunk-CC_Kquu7.d.cts +125 -0
- package/dist/chunk-CC_Kquu7.d.ts +125 -0
- package/dist/chunk-CCp85vXg.cjs +60 -0
- package/dist/chunk-CCp85vXg.cjs.map +1 -0
- package/dist/chunk-CEcB1_uK.js +39 -0
- package/dist/chunk-CEcB1_uK.js.map +1 -0
- package/dist/{bundle-Je5zsRFg.d.cts → chunk-CFIo021l.d.cts} +51 -57
- package/dist/chunk-CH_IZoJE.js +33 -0
- package/dist/chunk-CH_IZoJE.js.map +1 -0
- package/dist/chunk-CHrasH_g.cjs +25 -0
- package/dist/chunk-CHrasH_g.cjs.map +1 -0
- package/dist/chunk-CJVoSaAE.cjs +3 -0
- package/dist/chunk-CJp8nGcb.js +96 -0
- package/dist/chunk-CJp8nGcb.js.map +1 -0
- package/dist/chunk-CJwUtkOt.js +112 -0
- package/dist/chunk-CJwUtkOt.js.map +1 -0
- package/dist/chunk-CKhCOVIf.d.cts +751 -0
- package/dist/chunk-CKiVSRYg.js +50 -0
- package/dist/chunk-CKiVSRYg.js.map +1 -0
- package/dist/chunk-CKtd19eD.cjs +59 -0
- package/dist/chunk-CKtd19eD.cjs.map +1 -0
- package/dist/chunk-CL92KE3j.d.ts +3188 -0
- package/dist/chunk-CLqUlkAe.js +54 -0
- package/dist/chunk-CLqUlkAe.js.map +1 -0
- package/dist/chunk-CMG5OV0q.cjs +4741 -0
- package/dist/chunk-CMG5OV0q.cjs.map +1 -0
- package/dist/chunk-CN_TKSgm.js +10 -0
- package/dist/chunk-CN_TKSgm.js.map +1 -0
- package/dist/chunk-CNe6MtqV.cjs +29 -0
- package/dist/chunk-CNe6MtqV.cjs.map +1 -0
- package/dist/chunk-COQkDTC5.js +83 -0
- package/dist/chunk-COQkDTC5.js.map +1 -0
- package/dist/chunk-CPBl6K4M.cjs +168 -0
- package/dist/chunk-CPBl6K4M.cjs.map +1 -0
- package/dist/chunk-CPx0ZYFB.d.ts +3 -0
- package/dist/chunk-CQQhcP_C.d.ts +197 -0
- package/dist/chunk-CTNoajFh.d.cts +389 -0
- package/dist/chunk-CTd-qgJc.cjs +384 -0
- package/dist/chunk-CTd-qgJc.cjs.map +1 -0
- package/dist/chunk-CW80YYtU.cjs +1056 -0
- package/dist/chunk-CW80YYtU.cjs.map +1 -0
- package/dist/{searchLimits-j99-NTXR.d.ts → chunk-CWpqBgkF.d.cts} +2 -2
- package/dist/{searchLimits-j99-NTXR.d.cts → chunk-CWpqBgkF.d.ts} +2 -2
- package/dist/chunk-CXjRArgy.d.ts +3 -0
- package/dist/chunk-CXonfH3-.cjs +14 -0
- package/dist/chunk-CXonfH3-.cjs.map +1 -0
- package/dist/chunk-CYcouGXN.d.ts +825 -0
- package/dist/chunk-CZDAzEBw.cjs +1621 -0
- package/dist/chunk-CZDAzEBw.cjs.map +1 -0
- package/dist/{amenities-B3-qAjxu.d.cts → chunk-C_fQFr70.d.cts} +40 -41
- package/dist/{amenities-B3-qAjxu.d.ts → chunk-C_fQFr70.d.ts} +40 -41
- package/dist/chunk-CbOtHnnB.cjs +359 -0
- package/dist/chunk-CbOtHnnB.cjs.map +1 -0
- package/dist/chunk-CdA6ZMGk.d.cts +825 -0
- package/dist/chunk-Ce1_thm7.js +146 -0
- package/dist/chunk-Ce1_thm7.js.map +1 -0
- package/dist/chunk-CeD8Hw0j.d.cts +3188 -0
- package/dist/{camera-BrFLU1DH.d.cts → chunk-CeiTuMyt.d.cts} +135 -159
- package/dist/chunk-Ch1OLzLi.js +1 -0
- package/dist/chunk-Cizu_j1N.cjs +87 -0
- package/dist/chunk-Cizu_j1N.cjs.map +1 -0
- package/dist/chunk-CjDe9z6A.d.cts +427 -0
- package/dist/chunk-Cl1etdlu.js +63 -0
- package/dist/chunk-Cl1etdlu.js.map +1 -0
- package/dist/chunk-CmoVJDoz.js +4 -0
- package/dist/chunk-CmoVJDoz.js.map +1 -0
- package/dist/chunk-CnLucxjG.cjs +197 -0
- package/dist/chunk-CnLucxjG.cjs.map +1 -0
- package/dist/chunk-CsWjBmdi.cjs +56 -0
- package/dist/chunk-CsWjBmdi.cjs.map +1 -0
- package/dist/chunk-CuseO5MZ.d.cts +3 -0
- package/dist/chunk-CvMHibbA.d.ts +427 -0
- package/dist/chunk-CwDeiN5U.js +870 -0
- package/dist/chunk-CwDeiN5U.js.map +1 -0
- package/dist/chunk-Cwdmx4tG.js +1 -0
- package/dist/{geolocation-DDkQdWMN.d.cts → chunk-D-4MxHTt.d.cts} +33 -34
- package/dist/{geolocation-DDkQdWMN.d.ts → chunk-D-4MxHTt.d.ts} +33 -34
- package/dist/chunk-D0LF-99V.js +1093 -0
- package/dist/chunk-D0LF-99V.js.map +1 -0
- package/dist/chunk-D1fe-0c_.js +367 -0
- package/dist/chunk-D1fe-0c_.js.map +1 -0
- package/dist/chunk-D21fEI6A.d.ts +1926 -0
- package/dist/chunk-D39gAxya.cjs +89 -0
- package/dist/chunk-D39gAxya.cjs.map +1 -0
- package/dist/chunk-D6KdIW5e.cjs +228 -0
- package/dist/chunk-D6KdIW5e.cjs.map +1 -0
- package/dist/chunk-D6qHYbgW.d.cts +36 -0
- package/dist/{videoOverlay-Dh_D5_Zs.d.cts → chunk-D89E-w70.d.ts} +10 -10
- package/dist/chunk-D8bdTysL.js +552 -0
- package/dist/chunk-D8bdTysL.js.map +1 -0
- package/dist/chunk-D96QJT24.cjs +109 -0
- package/dist/chunk-D96QJT24.cjs.map +1 -0
- package/dist/chunk-DAmkQl-i.js +119 -0
- package/dist/chunk-DAmkQl-i.js.map +1 -0
- package/dist/chunk-DEfsb2lc.cjs +10 -0
- package/dist/chunk-DEfsb2lc.cjs.map +1 -0
- package/dist/chunk-DIFjT5-V.d.cts +66 -0
- package/dist/{sections-CmtaduLc.d.ts → chunk-DJpUw8TN.d.ts} +289 -330
- package/dist/chunk-DK6lm2IZ.cjs +11 -0
- package/dist/chunk-DK6lm2IZ.cjs.map +1 -0
- package/dist/chunk-DKqgr31j.cjs +61 -0
- package/dist/chunk-DKqgr31j.cjs.map +1 -0
- package/dist/chunk-DLZ0QYm9.js +37 -0
- package/dist/chunk-DLZ0QYm9.js.map +1 -0
- package/dist/chunk-DLjS0uaC.js +4 -0
- package/dist/chunk-DLjS0uaC.js.map +1 -0
- package/dist/chunk-DMokwmOV.cjs +49 -0
- package/dist/chunk-DMokwmOV.cjs.map +1 -0
- package/dist/chunk-DMvWgBZL.d.cts +1831 -0
- package/dist/chunk-DNfGfIF3.js +31 -0
- package/dist/chunk-DNfGfIF3.js.map +1 -0
- package/dist/chunk-DQbSRe8D.d.ts +245 -0
- package/dist/chunk-DSGkP8_y.js +45 -0
- package/dist/chunk-DSGkP8_y.js.map +1 -0
- package/dist/chunk-DTctvfSd.d.cts +197 -0
- package/dist/chunk-DWe7igyw.cjs +206 -0
- package/dist/chunk-DWe7igyw.cjs.map +1 -0
- package/dist/chunk-DWsMP5JR.d.ts +68 -0
- package/dist/{provider-DM71XnLX.d.cts → chunk-DWsm3HIW.d.cts} +37 -38
- package/dist/{provider-DM71XnLX.d.ts → chunk-DWsm3HIW.d.ts} +37 -38
- package/dist/chunk-DXABHjLa.cjs +3 -0
- package/dist/chunk-D_BeqSbc.cjs +42 -0
- package/dist/chunk-D_BeqSbc.cjs.map +1 -0
- package/dist/chunk-D_svQNdW.d.ts +66 -0
- package/dist/chunk-Dav4xWrp.js +330 -0
- package/dist/chunk-Dav4xWrp.js.map +1 -0
- package/dist/chunk-DbCPhepL.js +293 -0
- package/dist/chunk-DbCPhepL.js.map +1 -0
- package/dist/chunk-DcrTy-y2.cjs +43 -0
- package/dist/chunk-DcrTy-y2.cjs.map +1 -0
- package/dist/chunk-Ddv484ld.js +487 -0
- package/dist/chunk-Ddv484ld.js.map +1 -0
- package/dist/chunk-De0bjnhY.cjs +88 -0
- package/dist/chunk-De0bjnhY.cjs.map +1 -0
- package/dist/chunk-De2FmNPu.cjs +32 -0
- package/dist/chunk-De2FmNPu.cjs.map +1 -0
- package/dist/{segmentRoute-CIo6dR8Y.d.cts → chunk-DeSjQXiI.d.ts} +44 -59
- package/dist/chunk-Den0Ta6C.js +132 -0
- package/dist/chunk-Den0Ta6C.js.map +1 -0
- package/dist/chunk-DiDKEeEa.js +8 -0
- package/dist/chunk-DiDKEeEa.js.map +1 -0
- package/dist/chunk-Dj60k5PU.js +197 -0
- package/dist/chunk-Dj60k5PU.js.map +1 -0
- package/dist/chunk-DjnYQBCN.js +4705 -0
- package/dist/chunk-DjnYQBCN.js.map +1 -0
- package/dist/chunk-Dk9VKvyq.d.ts +1 -0
- package/dist/chunk-Dor1ERI9.cjs +85 -0
- package/dist/chunk-Dor1ERI9.cjs.map +1 -0
- package/dist/chunk-DpMouOoH.js +451 -0
- package/dist/chunk-DpMouOoH.js.map +1 -0
- package/dist/chunk-DposgdNL.cjs +52 -0
- package/dist/chunk-DposgdNL.cjs.map +1 -0
- package/dist/chunk-DqLTG_5Q.d.cts +3 -0
- package/dist/{roadAccess-D_rOE4xW.d.cts → chunk-Dr5MCIpS.d.cts} +5 -28
- package/dist/{roadAccess-D_rOE4xW.d.ts → chunk-Dr5MCIpS.d.ts} +5 -28
- package/dist/chunk-DrudttCC.cjs +4 -0
- package/dist/chunk-DsDYVJQC.js +173 -0
- package/dist/chunk-DsDYVJQC.js.map +1 -0
- package/dist/chunk-Dw8ur6FJ.js +27 -0
- package/dist/chunk-Dw8ur6FJ.js.map +1 -0
- package/dist/chunk-DwG6M_0v.js +64 -0
- package/dist/chunk-DwG6M_0v.js.map +1 -0
- package/dist/chunk-Dy9a5ibO.js +284 -0
- package/dist/chunk-Dy9a5ibO.js.map +1 -0
- package/dist/chunk-DyayZlQJ.js +157 -0
- package/dist/chunk-DyayZlQJ.js.map +1 -0
- package/dist/chunk-DyhJZC2i.js +126 -0
- package/dist/chunk-DyhJZC2i.js.map +1 -0
- package/dist/chunk-F9zBzmmG.cjs +45 -0
- package/dist/chunk-F9zBzmmG.cjs.map +1 -0
- package/dist/chunk-FyCYofv2.js +116 -0
- package/dist/chunk-FyCYofv2.js.map +1 -0
- package/dist/chunk-GHJRjAk2.js +1 -0
- package/dist/chunk-H14isiSf.d.ts +751 -0
- package/dist/chunk-HIJzXoN4.js +7 -0
- package/dist/chunk-HIJzXoN4.js.map +1 -0
- package/dist/chunk-Id_8kRtu.d.ts +36 -0
- package/dist/chunk-KN60yxBQ.js +5 -0
- package/dist/chunk-KN60yxBQ.js.map +1 -0
- package/dist/chunk-NM5yg6bh.cjs +82 -0
- package/dist/chunk-NM5yg6bh.cjs.map +1 -0
- package/dist/chunk-OXr3zJfM.cjs +119 -0
- package/dist/chunk-OXr3zJfM.cjs.map +1 -0
- package/dist/chunk-QGqgNC4z.d.ts +928 -0
- package/dist/chunk-QJBtJrZ0.js +36 -0
- package/dist/chunk-QJBtJrZ0.js.map +1 -0
- package/dist/{routeProfile-BsSUABXv.d.cts → chunk-QKWhxfPv.d.cts} +196 -45
- package/dist/{routeProfile-BKfSfxx6.d.ts → chunk-QKWhxfPv.d.ts} +196 -45
- package/dist/chunk-QXW7b4Ev.d.cts +410 -0
- package/dist/chunk-RHZrxUrM.cjs +39 -0
- package/dist/chunk-RHZrxUrM.cjs.map +1 -0
- package/dist/chunk-RTxe2i66.js +91 -0
- package/dist/chunk-RTxe2i66.js.map +1 -0
- package/dist/chunk-RrKkJb6P.js +16 -0
- package/dist/chunk-RrKkJb6P.js.map +1 -0
- package/dist/chunk-VOJqpcnM.cjs +181 -0
- package/dist/chunk-VOJqpcnM.cjs.map +1 -0
- package/dist/chunk-VljGTrid.js +1 -0
- package/dist/chunk-X3UVwUEK.d.cts +513 -0
- package/dist/chunk-X9K2WChn.cjs +28 -0
- package/dist/chunk-X9K2WChn.cjs.map +1 -0
- package/dist/chunk-YrtOx6oy.js +251 -0
- package/dist/chunk-YrtOx6oy.js.map +1 -0
- package/dist/chunk-bY7ySujI.d.cts +928 -0
- package/dist/chunk-bYf1sBz5.d.cts +11 -0
- package/dist/chunk-bYf1sBz5.d.ts +11 -0
- package/dist/chunk-blfknWoM.d.cts +1926 -0
- package/dist/chunk-blqsohAb.js +113 -0
- package/dist/chunk-blqsohAb.js.map +1 -0
- package/dist/chunk-cDMCjodI.cjs +58 -0
- package/dist/chunk-cDMCjodI.cjs.map +1 -0
- package/dist/chunk-cWjE3qd6.cjs +10 -0
- package/dist/chunk-cWjE3qd6.cjs.map +1 -0
- package/dist/chunk-dfOgV3fu.js +26 -0
- package/dist/chunk-dfOgV3fu.js.map +1 -0
- package/dist/chunk-f9cTwUX1.cjs +125 -0
- package/dist/chunk-f9cTwUX1.cjs.map +1 -0
- package/dist/chunk-fHVYEZs4.cjs +28 -0
- package/dist/chunk-fHVYEZs4.cjs.map +1 -0
- package/dist/chunk-fWRUMgRI.js +22 -0
- package/dist/chunk-fWRUMgRI.js.map +1 -0
- package/dist/{types-BEv8V_8V.d.cts → chunk-fozLXfHY.d.cts} +8 -8
- package/dist/{types-BEv8V_8V.d.ts → chunk-fozLXfHY.d.ts} +8 -8
- package/dist/chunk-gWmB1l3A.cjs +3122 -0
- package/dist/chunk-gWmB1l3A.cjs.map +1 -0
- package/dist/chunk-gbj2R-_w.js +58 -0
- package/dist/chunk-gbj2R-_w.js.map +1 -0
- package/dist/chunk-iIWxsAXd.js +59 -0
- package/dist/chunk-iIWxsAXd.js.map +1 -0
- package/dist/chunk-lItIuOIS.cjs +137 -0
- package/dist/chunk-lItIuOIS.cjs.map +1 -0
- package/dist/chunk-m6Rh4PCe.cjs +798 -0
- package/dist/chunk-m6Rh4PCe.cjs.map +1 -0
- package/dist/chunk-o3IRANDf.cjs +99 -0
- package/dist/chunk-o3IRANDf.cjs.map +1 -0
- package/dist/chunk-obUcg3Sk.d.ts +808 -0
- package/dist/chunk-ohsf-6Rn.js +600 -0
- package/dist/chunk-ohsf-6Rn.js.map +1 -0
- package/dist/chunk-pBleU6Nv.js +3061 -0
- package/dist/chunk-pBleU6Nv.js.map +1 -0
- package/dist/chunk-px4e99cy.js +71 -0
- package/dist/chunk-px4e99cy.js.map +1 -0
- package/dist/chunk-qwYDLeXc.cjs +99 -0
- package/dist/chunk-qwYDLeXc.cjs.map +1 -0
- package/dist/chunk-rF_859Qk.cjs +101 -0
- package/dist/chunk-rF_859Qk.cjs.map +1 -0
- package/dist/chunk-rLJkqJ5j.d.ts +1475 -0
- package/dist/chunk-twQItIRg.cjs +338 -0
- package/dist/chunk-twQItIRg.cjs.map +1 -0
- package/dist/chunk-vnPrMVjY.js +10 -0
- package/dist/chunk-vnPrMVjY.js.map +1 -0
- package/dist/chunk-ws3bVwaS.d.ts +410 -0
- package/dist/chunk-xh3UkuVs.cjs +246 -0
- package/dist/chunk-xh3UkuVs.cjs.map +1 -0
- package/dist/chunk-yMzRr26E.js +153 -0
- package/dist/chunk-yMzRr26E.js.map +1 -0
- package/dist/collab/index.cjs +802 -1254
- package/dist/collab/index.cjs.map +1 -1
- package/dist/collab/index.d.cts +518 -544
- package/dist/collab/index.d.ts +518 -544
- package/dist/collab/index.js +797 -1252
- package/dist/collab/index.js.map +1 -1
- package/dist/data/index.cjs +39 -132
- package/dist/data/index.d.cts +6 -468
- package/dist/data/index.d.ts +6 -468
- package/dist/data/index.js +7 -15
- package/dist/editor/index.cjs +2631 -4424
- package/dist/editor/index.cjs.map +1 -1
- package/dist/editor/index.d.cts +10 -59
- package/dist/editor/index.d.ts +10 -59
- package/dist/editor/index.js +2619 -4403
- package/dist/editor/index.js.map +1 -1
- package/dist/errors/index.cjs +11 -28
- package/dist/errors/index.d.cts +2 -125
- package/dist/errors/index.d.ts +2 -125
- package/dist/errors/index.js +1 -3
- package/dist/geo/index.cjs +68 -232
- package/dist/geo/index.d.cts +6 -821
- package/dist/geo/index.d.ts +6 -821
- package/dist/geo/index.js +11 -15
- package/dist/i18n/fr/index.cjs +329 -334
- package/dist/i18n/fr/index.cjs.map +1 -1
- package/dist/i18n/fr/index.d.cts +3 -10
- package/dist/i18n/fr/index.d.ts +3 -10
- package/dist/i18n/fr/index.js +324 -332
- package/dist/i18n/fr/index.js.map +1 -1
- package/dist/i18n/index.cjs +434 -447
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +152 -111
- package/dist/i18n/index.d.ts +152 -111
- package/dist/i18n/index.js +420 -420
- package/dist/i18n/index.js.map +1 -1
- package/dist/icons/index.cjs +37 -116
- package/dist/icons/index.d.cts +4 -457
- package/dist/icons/index.d.ts +4 -457
- package/dist/icons/index.js +8 -11
- package/dist/index.cjs +515 -1867
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +44 -121
- package/dist/index.d.ts +44 -121
- package/dist/index.js +52 -65
- package/dist/index.js.map +1 -1
- package/dist/layers/index.cjs +83 -318
- package/dist/layers/index.d.cts +3 -1555
- package/dist/layers/index.d.ts +3 -1555
- package/dist/layers/index.js +5 -17
- package/dist/map-client/index.cjs +5 -4
- package/dist/map-client/index.d.cts +6 -1856
- package/dist/map-client/index.d.ts +6 -1856
- package/dist/map-client/index.js +0 -3
- package/dist/maplibre-worker.mjs +4 -4
- package/dist/navigation/index.cjs +584 -671
- package/dist/navigation/index.cjs.map +1 -1
- package/dist/navigation/index.d.cts +191 -272
- package/dist/navigation/index.d.ts +191 -272
- package/dist/navigation/index.js +579 -669
- package/dist/navigation/index.js.map +1 -1
- package/dist/profile/index.cjs +177 -675
- package/dist/profile/index.d.cts +8 -2086
- package/dist/profile/index.d.ts +8 -2086
- package/dist/profile/index.js +10 -18
- package/dist/seams/index.cjs +15 -39
- package/dist/seams/index.d.cts +4 -254
- package/dist/seams/index.d.ts +4 -254
- package/dist/seams/index.js +4 -6
- package/dist/search/index.cjs +39 -147
- package/dist/search/index.d.cts +6 -888
- package/dist/search/index.d.ts +6 -888
- package/dist/search/index.js +3 -14
- package/dist/style/index.cjs +34 -116
- package/dist/style/index.d.cts +5 -538
- package/dist/style/index.d.ts +5 -538
- package/dist/style/index.js +5 -11
- package/dist/testing/index.cjs +432 -617
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +61 -109
- package/dist/testing/index.d.ts +61 -109
- package/dist/testing/index.js +427 -615
- package/dist/testing/index.js.map +1 -1
- package/dist/timezone/index.cjs +1946 -752
- package/dist/timezone/index.cjs.map +1 -1
- package/dist/timezone/index.d.cts +4 -29
- package/dist/timezone/index.d.ts +4 -29
- package/dist/timezone/index.js +1941 -750
- package/dist/timezone/index.js.map +1 -1
- package/dist/units/index.cjs +29 -99
- package/dist/units/index.d.cts +3 -75
- package/dist/units/index.d.ts +3 -75
- package/dist/units/index.js +3 -6
- package/dist/video/index.cjs +1684 -2169
- package/dist/video/index.cjs.map +1 -1
- package/dist/video/index.d.cts +386 -413
- package/dist/video/index.d.ts +386 -413
- package/dist/video/index.js +1678 -2162
- package/dist/video/index.js.map +1 -1
- package/dist/view/index.cjs +6 -42
- package/dist/view/index.d.cts +3 -836
- package/dist/view/index.d.ts +3 -836
- package/dist/view/index.js +1 -34
- package/package.json +12 -12
- package/src/auth/rules/clientHeader.ts +1 -1
- package/src/camera/rules/modes.ts +38 -42
- package/src/camera/rules/routeContent.ts +1 -0
- package/src/collab/index.ts +1 -5
- package/src/compose/engines/mountayaMap.ts +16 -42
- package/src/compose/rules/developmentWarnings.ts +4 -3
- package/src/compose/rules/fitBox.ts +67 -0
- package/src/compose/rules/maplibreWorkerVersion.gen.ts +1 -1
- package/src/compose/rules/maxBounds.ts +5 -5
- package/src/compose/rules/types.ts +4 -11
- package/src/compose/rules/workerUrl.ts +41 -6
- package/src/editing/rules/engine.ts +4 -2
- package/src/editor/engines/viewClient.ts +8 -0
- package/src/editor/rules/contract.ts +1 -6
- package/src/errors/rules/errors.ts +1 -0
- package/src/geo/index.ts +1 -6
- package/src/i18n/index.ts +1 -0
- package/src/i18n/rules/dates.ts +165 -0
- package/src/index.ts +5 -24
- package/src/map-client/rules/mapClient.ts +4 -2
- package/src/profile/rules/scale.ts +1 -5
- package/src/profile/rules/waypointCard.ts +8 -11
- package/src/search/index.ts +3 -18
- package/src/video/index.ts +1 -1
- package/src/video/profileOverlay/rules/contract.ts +1 -3
- package/src/video/rules/videoEncoder.ts +1 -1
- package/dist/accentColor-GNKBD2CW.js +0 -4
- package/dist/accentColor-GNKBD2CW.js.map +0 -1
- package/dist/accentColor-VX2JSMGE.cjs +0 -17
- package/dist/accentColor-VX2JSMGE.cjs.map +0 -1
- package/dist/chunk-23PFRRB6.js +0 -3
- package/dist/chunk-23PFRRB6.js.map +0 -1
- package/dist/chunk-2GI5SAH2.js +0 -71
- package/dist/chunk-2GI5SAH2.js.map +0 -1
- package/dist/chunk-2MQK6A74.js +0 -39
- package/dist/chunk-2MQK6A74.js.map +0 -1
- package/dist/chunk-2RE7R4LD.js +0 -73
- package/dist/chunk-2RE7R4LD.js.map +0 -1
- package/dist/chunk-3JZQKN4O.js +0 -6
- package/dist/chunk-3JZQKN4O.js.map +0 -1
- package/dist/chunk-3NDXVUUI.js +0 -50
- package/dist/chunk-3NDXVUUI.js.map +0 -1
- package/dist/chunk-3R4GFTUM.cjs +0 -59
- package/dist/chunk-3R4GFTUM.cjs.map +0 -1
- package/dist/chunk-3RVUQ6JN.cjs +0 -22
- package/dist/chunk-3RVUQ6JN.cjs.map +0 -1
- package/dist/chunk-4F6BJMJC.cjs +0 -49
- package/dist/chunk-4F6BJMJC.cjs.map +0 -1
- package/dist/chunk-4NWQD4BX.js +0 -132
- package/dist/chunk-4NWQD4BX.js.map +0 -1
- package/dist/chunk-5K2MH3R6.js +0 -10
- package/dist/chunk-5K2MH3R6.js.map +0 -1
- package/dist/chunk-6ACRNQQQ.cjs +0 -8
- package/dist/chunk-6ACRNQQQ.cjs.map +0 -1
- package/dist/chunk-6D26E3IA.js +0 -66
- package/dist/chunk-6D26E3IA.js.map +0 -1
- package/dist/chunk-6ESAW35P.cjs +0 -80
- package/dist/chunk-6ESAW35P.cjs.map +0 -1
- package/dist/chunk-6LIW2A5M.cjs +0 -1176
- package/dist/chunk-6LIW2A5M.cjs.map +0 -1
- package/dist/chunk-6OTTWVCA.js +0 -57
- package/dist/chunk-6OTTWVCA.js.map +0 -1
- package/dist/chunk-6VROJ4UG.js +0 -862
- package/dist/chunk-6VROJ4UG.js.map +0 -1
- package/dist/chunk-6Y7FTGO4.js +0 -23
- package/dist/chunk-6Y7FTGO4.js.map +0 -1
- package/dist/chunk-75I4CG64.js +0 -104
- package/dist/chunk-75I4CG64.js.map +0 -1
- package/dist/chunk-7CUBXHAH.cjs +0 -14
- package/dist/chunk-7CUBXHAH.cjs.map +0 -1
- package/dist/chunk-7GTCURVY.js +0 -52
- package/dist/chunk-7GTCURVY.js.map +0 -1
- package/dist/chunk-7IWOL6AM.cjs +0 -100
- package/dist/chunk-7IWOL6AM.cjs.map +0 -1
- package/dist/chunk-7QN7M667.cjs +0 -151
- package/dist/chunk-7QN7M667.cjs.map +0 -1
- package/dist/chunk-A6KQDKLM.cjs +0 -1197
- package/dist/chunk-A6KQDKLM.cjs.map +0 -1
- package/dist/chunk-A77EA67G.js +0 -354
- package/dist/chunk-A77EA67G.js.map +0 -1
- package/dist/chunk-AFKOABJ4.cjs +0 -7194
- package/dist/chunk-AFKOABJ4.cjs.map +0 -1
- package/dist/chunk-AG6JV5Z2.cjs +0 -183
- package/dist/chunk-AG6JV5Z2.cjs.map +0 -1
- package/dist/chunk-APBK7NMS.js +0 -30
- package/dist/chunk-APBK7NMS.js.map +0 -1
- package/dist/chunk-AWO5YA7A.cjs +0 -33
- package/dist/chunk-AWO5YA7A.cjs.map +0 -1
- package/dist/chunk-AZATU6QW.js +0 -108
- package/dist/chunk-AZATU6QW.js.map +0 -1
- package/dist/chunk-BD2U3WST.cjs +0 -623
- package/dist/chunk-BD2U3WST.cjs.map +0 -1
- package/dist/chunk-BHBEOU6L.cjs +0 -65
- package/dist/chunk-BHBEOU6L.cjs.map +0 -1
- package/dist/chunk-CNOSNYNE.js +0 -8
- package/dist/chunk-CNOSNYNE.js.map +0 -1
- package/dist/chunk-CW3EFR4O.js +0 -12
- package/dist/chunk-CW3EFR4O.js.map +0 -1
- package/dist/chunk-DASVRNBK.js +0 -7187
- package/dist/chunk-DASVRNBK.js.map +0 -1
- package/dist/chunk-DJ6LCKYP.js +0 -42
- package/dist/chunk-DJ6LCKYP.js.map +0 -1
- package/dist/chunk-E5FHQAIO.cjs +0 -45
- package/dist/chunk-E5FHQAIO.cjs.map +0 -1
- package/dist/chunk-EOML5OTY.cjs +0 -360
- package/dist/chunk-EOML5OTY.cjs.map +0 -1
- package/dist/chunk-EP5CASHL.js +0 -613
- package/dist/chunk-EP5CASHL.js.map +0 -1
- package/dist/chunk-EP5OEEVZ.cjs +0 -14
- package/dist/chunk-EP5OEEVZ.cjs.map +0 -1
- package/dist/chunk-EUXI3FGQ.js +0 -150
- package/dist/chunk-EUXI3FGQ.js.map +0 -1
- package/dist/chunk-EWFSHCOS.js +0 -40
- package/dist/chunk-EWFSHCOS.js.map +0 -1
- package/dist/chunk-EX2C5K2T.cjs +0 -25
- package/dist/chunk-EX2C5K2T.cjs.map +0 -1
- package/dist/chunk-FEXWDQIZ.cjs +0 -8
- package/dist/chunk-FEXWDQIZ.cjs.map +0 -1
- package/dist/chunk-FEYBFY7H.cjs +0 -358
- package/dist/chunk-FEYBFY7H.cjs.map +0 -1
- package/dist/chunk-FRGAV6N6.cjs +0 -34
- package/dist/chunk-FRGAV6N6.cjs.map +0 -1
- package/dist/chunk-G5DHP5VF.js +0 -6
- package/dist/chunk-G5DHP5VF.js.map +0 -1
- package/dist/chunk-G5W2UHV2.js +0 -99
- package/dist/chunk-G5W2UHV2.js.map +0 -1
- package/dist/chunk-G7OP7O2C.cjs +0 -39
- package/dist/chunk-G7OP7O2C.cjs.map +0 -1
- package/dist/chunk-GE6CFCAM.cjs +0 -25
- package/dist/chunk-GE6CFCAM.cjs.map +0 -1
- package/dist/chunk-GIFALLHI.cjs +0 -111
- package/dist/chunk-GIFALLHI.cjs.map +0 -1
- package/dist/chunk-GLFET5GM.js +0 -129
- package/dist/chunk-GLFET5GM.js.map +0 -1
- package/dist/chunk-GQ6UFPFM.js +0 -22
- package/dist/chunk-GQ6UFPFM.js.map +0 -1
- package/dist/chunk-GQJWVMXS.js +0 -129
- package/dist/chunk-GQJWVMXS.js.map +0 -1
- package/dist/chunk-GVVJPUKC.js +0 -80
- package/dist/chunk-GVVJPUKC.js.map +0 -1
- package/dist/chunk-GZ2HOCQ2.cjs +0 -134
- package/dist/chunk-GZ2HOCQ2.cjs.map +0 -1
- package/dist/chunk-HCBOHXWP.js +0 -37
- package/dist/chunk-HCBOHXWP.js.map +0 -1
- package/dist/chunk-IBQJDVHF.cjs +0 -281
- package/dist/chunk-IBQJDVHF.cjs.map +0 -1
- package/dist/chunk-ISLB6Y5Q.cjs +0 -106
- package/dist/chunk-ISLB6Y5Q.cjs.map +0 -1
- package/dist/chunk-J55CRR4F.js +0 -105
- package/dist/chunk-J55CRR4F.js.map +0 -1
- package/dist/chunk-JBG6Z6MQ.cjs +0 -28
- package/dist/chunk-JBG6Z6MQ.cjs.map +0 -1
- package/dist/chunk-K3RQOZRU.js +0 -61
- package/dist/chunk-K3RQOZRU.js.map +0 -1
- package/dist/chunk-KDJYS4GB.cjs +0 -703
- package/dist/chunk-KDJYS4GB.cjs.map +0 -1
- package/dist/chunk-KMCAHUZM.cjs +0 -4
- package/dist/chunk-KMCAHUZM.cjs.map +0 -1
- package/dist/chunk-KUCBNPC6.js +0 -87
- package/dist/chunk-KUCBNPC6.js.map +0 -1
- package/dist/chunk-KV6UE5A4.js +0 -50
- package/dist/chunk-KV6UE5A4.js.map +0 -1
- package/dist/chunk-L6TZ2HQR.cjs +0 -18
- package/dist/chunk-L6TZ2HQR.cjs.map +0 -1
- package/dist/chunk-L7QHHGG2.cjs +0 -141
- package/dist/chunk-L7QHHGG2.cjs.map +0 -1
- package/dist/chunk-LHK3Y2AL.js +0 -271
- package/dist/chunk-LHK3Y2AL.js.map +0 -1
- package/dist/chunk-LO5RYRBH.cjs +0 -6317
- package/dist/chunk-LO5RYRBH.cjs.map +0 -1
- package/dist/chunk-LS5SJMUO.cjs +0 -194
- package/dist/chunk-LS5SJMUO.cjs.map +0 -1
- package/dist/chunk-LUGTMZFN.cjs +0 -42
- package/dist/chunk-LUGTMZFN.cjs.map +0 -1
- package/dist/chunk-LVUQU6D5.js +0 -32
- package/dist/chunk-LVUQU6D5.js.map +0 -1
- package/dist/chunk-M2QRC2GZ.js +0 -166
- package/dist/chunk-M2QRC2GZ.js.map +0 -1
- package/dist/chunk-M6QJYQIM.cjs +0 -53
- package/dist/chunk-M6QJYQIM.cjs.map +0 -1
- package/dist/chunk-MGCPH5EO.js +0 -12
- package/dist/chunk-MGCPH5EO.js.map +0 -1
- package/dist/chunk-MLVUWEZR.cjs +0 -474
- package/dist/chunk-MLVUWEZR.cjs.map +0 -1
- package/dist/chunk-MTAMJMZL.cjs +0 -707
- package/dist/chunk-MTAMJMZL.cjs.map +0 -1
- package/dist/chunk-MXL5AT3N.js +0 -48
- package/dist/chunk-MXL5AT3N.js.map +0 -1
- package/dist/chunk-MYEQSESM.cjs +0 -75
- package/dist/chunk-MYEQSESM.cjs.map +0 -1
- package/dist/chunk-N3VPF6ZD.js +0 -427
- package/dist/chunk-N3VPF6ZD.js.map +0 -1
- package/dist/chunk-N6VUAIGI.js +0 -7
- package/dist/chunk-N6VUAIGI.js.map +0 -1
- package/dist/chunk-N6XRLUN6.js +0 -6286
- package/dist/chunk-N6XRLUN6.js.map +0 -1
- package/dist/chunk-NOGDOZIT.cjs +0 -114
- package/dist/chunk-NOGDOZIT.cjs.map +0 -1
- package/dist/chunk-NUWXEISH.cjs +0 -10
- package/dist/chunk-NUWXEISH.cjs.map +0 -1
- package/dist/chunk-NZCZHXYN.cjs +0 -161
- package/dist/chunk-NZCZHXYN.cjs.map +0 -1
- package/dist/chunk-ODROSWQX.cjs +0 -53
- package/dist/chunk-ODROSWQX.cjs.map +0 -1
- package/dist/chunk-OE36AYKG.cjs +0 -82
- package/dist/chunk-OE36AYKG.cjs.map +0 -1
- package/dist/chunk-OLON7MO6.cjs +0 -437
- package/dist/chunk-OLON7MO6.cjs.map +0 -1
- package/dist/chunk-PBUOR2IT.js +0 -277
- package/dist/chunk-PBUOR2IT.js.map +0 -1
- package/dist/chunk-PC2ELXFF.cjs +0 -225
- package/dist/chunk-PC2ELXFF.cjs.map +0 -1
- package/dist/chunk-PCSGXLOC.js +0 -71
- package/dist/chunk-PCSGXLOC.js.map +0 -1
- package/dist/chunk-PFNMP6FQ.js +0 -56
- package/dist/chunk-PFNMP6FQ.js.map +0 -1
- package/dist/chunk-PIWSZTIP.js +0 -690
- package/dist/chunk-PIWSZTIP.js.map +0 -1
- package/dist/chunk-PKWHJ2GI.js +0 -136
- package/dist/chunk-PKWHJ2GI.js.map +0 -1
- package/dist/chunk-PLMVBX2A.cjs +0 -76
- package/dist/chunk-PLMVBX2A.cjs.map +0 -1
- package/dist/chunk-PM3XCD2G.cjs +0 -113
- package/dist/chunk-PM3XCD2G.cjs.map +0 -1
- package/dist/chunk-QAL4GZO7.cjs +0 -143
- package/dist/chunk-QAL4GZO7.cjs.map +0 -1
- package/dist/chunk-QDB2SEA2.js +0 -74
- package/dist/chunk-QDB2SEA2.js.map +0 -1
- package/dist/chunk-QOV7UNUN.js +0 -25
- package/dist/chunk-QOV7UNUN.js.map +0 -1
- package/dist/chunk-QQUWYLSF.cjs +0 -50
- package/dist/chunk-QQUWYLSF.cjs.map +0 -1
- package/dist/chunk-QUMBH3U4.cjs +0 -9
- package/dist/chunk-QUMBH3U4.cjs.map +0 -1
- package/dist/chunk-R4KA7OFQ.js +0 -12
- package/dist/chunk-R4KA7OFQ.js.map +0 -1
- package/dist/chunk-RBSGAZQQ.js +0 -17
- package/dist/chunk-RBSGAZQQ.js.map +0 -1
- package/dist/chunk-RM5YJWZI.js +0 -46
- package/dist/chunk-RM5YJWZI.js.map +0 -1
- package/dist/chunk-ROKNKXA4.cjs +0 -8
- package/dist/chunk-ROKNKXA4.cjs.map +0 -1
- package/dist/chunk-RQG6D546.cjs +0 -75
- package/dist/chunk-RQG6D546.cjs.map +0 -1
- package/dist/chunk-SG4YDD5L.cjs +0 -74
- package/dist/chunk-SG4YDD5L.cjs.map +0 -1
- package/dist/chunk-SNRCA7EO.js +0 -56
- package/dist/chunk-SNRCA7EO.js.map +0 -1
- package/dist/chunk-SO75R4WW.cjs +0 -22
- package/dist/chunk-SO75R4WW.cjs.map +0 -1
- package/dist/chunk-SP34NHFI.js +0 -45
- package/dist/chunk-SP34NHFI.js.map +0 -1
- package/dist/chunk-SSKSSBWJ.cjs +0 -179
- package/dist/chunk-SSKSSBWJ.cjs.map +0 -1
- package/dist/chunk-TB5663C2.js +0 -1108
- package/dist/chunk-TB5663C2.js.map +0 -1
- package/dist/chunk-TGH4NRES.js +0 -220
- package/dist/chunk-TGH4NRES.js.map +0 -1
- package/dist/chunk-TJ6ZPNID.js +0 -189
- package/dist/chunk-TJ6ZPNID.js.map +0 -1
- package/dist/chunk-U45T35N2.cjs +0 -90
- package/dist/chunk-U45T35N2.cjs.map +0 -1
- package/dist/chunk-UKVOPEZ2.js +0 -442
- package/dist/chunk-UKVOPEZ2.js.map +0 -1
- package/dist/chunk-UTB4NROA.cjs +0 -887
- package/dist/chunk-UTB4NROA.cjs.map +0 -1
- package/dist/chunk-UTW33B5V.js +0 -6
- package/dist/chunk-UTW33B5V.js.map +0 -1
- package/dist/chunk-UYUBSD2V.cjs +0 -33
- package/dist/chunk-UYUBSD2V.cjs.map +0 -1
- package/dist/chunk-V3JEP5AG.cjs +0 -59
- package/dist/chunk-V3JEP5AG.cjs.map +0 -1
- package/dist/chunk-VFAGJXHR.js +0 -18
- package/dist/chunk-VFAGJXHR.js.map +0 -1
- package/dist/chunk-VMEE57E5.cjs +0 -58
- package/dist/chunk-VMEE57E5.cjs.map +0 -1
- package/dist/chunk-VQVBEX3Y.cjs +0 -113
- package/dist/chunk-VQVBEX3Y.cjs.map +0 -1
- package/dist/chunk-VZDXX7TT.cjs +0 -64
- package/dist/chunk-VZDXX7TT.cjs.map +0 -1
- package/dist/chunk-WE5ZTI4D.js +0 -346
- package/dist/chunk-WE5ZTI4D.js.map +0 -1
- package/dist/chunk-WEFUVABP.js +0 -19
- package/dist/chunk-WEFUVABP.js.map +0 -1
- package/dist/chunk-WMU4LRKC.js +0 -28
- package/dist/chunk-WMU4LRKC.js.map +0 -1
- package/dist/chunk-WQ24RRHL.cjs +0 -354
- package/dist/chunk-WQ24RRHL.cjs.map +0 -1
- package/dist/chunk-WW4CGS7G.cjs +0 -26
- package/dist/chunk-WW4CGS7G.cjs.map +0 -1
- package/dist/chunk-WXE5WCTM.js +0 -1144
- package/dist/chunk-WXE5WCTM.js.map +0 -1
- package/dist/chunk-X23BGIYA.cjs +0 -37
- package/dist/chunk-X23BGIYA.cjs.map +0 -1
- package/dist/chunk-XEW4FTR2.js +0 -98
- package/dist/chunk-XEW4FTR2.js.map +0 -1
- package/dist/chunk-XIOI4IYW.js +0 -167
- package/dist/chunk-XIOI4IYW.js.map +0 -1
- package/dist/chunk-XLVPJ37V.cjs +0 -44
- package/dist/chunk-XLVPJ37V.cjs.map +0 -1
- package/dist/chunk-XOHAXXZA.cjs +0 -51
- package/dist/chunk-XOHAXXZA.cjs.map +0 -1
- package/dist/chunk-Y4NRIHK6.cjs +0 -313
- package/dist/chunk-Y4NRIHK6.cjs.map +0 -1
- package/dist/chunk-Y4YMMKL3.js +0 -23
- package/dist/chunk-Y4YMMKL3.js.map +0 -1
- package/dist/chunk-YJNYBVE3.cjs +0 -14
- package/dist/chunk-YJNYBVE3.cjs.map +0 -1
- package/dist/chunk-Z762QNQP.cjs +0 -60
- package/dist/chunk-Z762QNQP.cjs.map +0 -1
- package/dist/chunk-ZG5KMBOF.js +0 -669
- package/dist/chunk-ZG5KMBOF.js.map +0 -1
- package/dist/chunk-ZKONQEFA.js +0 -344
- package/dist/chunk-ZKONQEFA.js.map +0 -1
- package/dist/chunk-ZR5X7QMH.js +0 -39
- package/dist/chunk-ZR5X7QMH.js.map +0 -1
- package/dist/chunk-ZW4BJQ26.js +0 -84
- package/dist/chunk-ZW4BJQ26.js.map +0 -1
- package/dist/climbs-BhlWuu0x.d.ts +0 -70
- package/dist/climbs-DgBFwySV.d.cts +0 -70
- package/dist/data/index.cjs.map +0 -1
- package/dist/data/index.js.map +0 -1
- package/dist/errors/index.cjs.map +0 -1
- package/dist/errors/index.js.map +0 -1
- package/dist/geo/index.cjs.map +0 -1
- package/dist/geo/index.js.map +0 -1
- package/dist/icons/index.cjs.map +0 -1
- package/dist/icons/index.js.map +0 -1
- package/dist/itinerary-Dp2ZnqgD.d.cts +0 -178
- package/dist/itinerary-Dp2ZnqgD.d.ts +0 -178
- package/dist/layers/index.cjs.map +0 -1
- package/dist/layers/index.js.map +0 -1
- package/dist/map-client/index.cjs.map +0 -1
- package/dist/map-client/index.js.map +0 -1
- package/dist/markerSprite-DGBQF6PO.cjs +0 -49
- package/dist/markerSprite-DGBQF6PO.cjs.map +0 -1
- package/dist/markerSprite-DZLTR6F6.js +0 -8
- package/dist/markerSprite-DZLTR6F6.js.map +0 -1
- package/dist/mountayaMap-C9mxRFib.d.cts +0 -3277
- package/dist/mountayaMap-DgnlQ2fE.d.ts +0 -3277
- package/dist/paint-BgUcj8l7.d.cts +0 -118
- package/dist/paint-Dx_qGNE_.d.ts +0 -118
- package/dist/profile/index.cjs.map +0 -1
- package/dist/profile/index.js.map +0 -1
- package/dist/seams/index.cjs.map +0 -1
- package/dist/seams/index.js.map +0 -1
- package/dist/search/index.cjs.map +0 -1
- package/dist/search/index.js.map +0 -1
- package/dist/searchHighlight-DFE7LVIL.cjs +0 -33
- package/dist/searchHighlight-DFE7LVIL.cjs.map +0 -1
- package/dist/searchHighlight-MHAQZVWG.js +0 -12
- package/dist/searchHighlight-MHAQZVWG.js.map +0 -1
- package/dist/strings-30RSdIat.d.cts +0 -552
- package/dist/strings-DPTIbzT5.d.ts +0 -552
- package/dist/stripeImage-CQUXM2YI.js +0 -14
- package/dist/stripeImage-CQUXM2YI.js.map +0 -1
- package/dist/stripeImage-R43OPA6U.cjs +0 -39
- package/dist/stripeImage-R43OPA6U.cjs.map +0 -1
- package/dist/style/index.cjs.map +0 -1
- package/dist/style/index.js.map +0 -1
- package/dist/types-B034JMjl.d.ts +0 -973
- package/dist/types-B2NDLxQA.d.cts +0 -21
- package/dist/types-B2NDLxQA.d.ts +0 -21
- package/dist/types-C8aX5KMU.d.cts +0 -973
- package/dist/units/index.cjs.map +0 -1
- package/dist/units/index.js.map +0 -1
- package/dist/view/index.cjs.map +0 -1
- package/dist/view/index.js.map +0 -1
|
@@ -0,0 +1,1093 @@
|
|
|
1
|
+
import { r as MountayaElementsNotFoundError } from "./chunk-Cl1etdlu.js";
|
|
2
|
+
import { p as convertSlope } from "./chunk-DsDYVJQC.js";
|
|
3
|
+
import { o as namesPlace } from "./chunk-BlKF4lrp.js";
|
|
4
|
+
import { A as rangeTotals, C as lineBetween, D as profileLines, E as profileLength, S as gradeAt, T as nearestPointIndexAt, b as elevationAt, h as altitudeBand, k as projectMarkers, m as activePointAt, u as MARKER_BELONGING_METERS, w as markerPasses, x as geometriesOf } from "./chunk-ohsf-6Rn.js";
|
|
5
|
+
import { t as placeGlyph } from "./chunk-C71dpWUK.js";
|
|
6
|
+
import { a as numberFormat, i as graphemeSegmenter } from "./chunk-C5q1sgSa.js";
|
|
7
|
+
import { c as formatDuration, f as formatNumber, s as formatDistance } from "./chunk-D1fe-0c_.js";
|
|
8
|
+
import { a as extentDomain } from "./chunk-px4e99cy.js";
|
|
9
|
+
const badgeFallback = (name, surface) => surface === "cell" ? name : surface === "stack" ? (graphemeSegmenter().segment(name).containing(0)?.segment ?? "").toUpperCase() : null;
|
|
10
|
+
const timestamp = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.\d+)?(?:Z|[+-](\d{2}):(\d{2}))$/;
|
|
11
|
+
const MONTH_DAYS = [
|
|
12
|
+
31,
|
|
13
|
+
28,
|
|
14
|
+
31,
|
|
15
|
+
30,
|
|
16
|
+
31,
|
|
17
|
+
30,
|
|
18
|
+
31,
|
|
19
|
+
31,
|
|
20
|
+
30,
|
|
21
|
+
31,
|
|
22
|
+
30,
|
|
23
|
+
31
|
|
24
|
+
];
|
|
25
|
+
const isLeapYear = (year) => year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
|
|
26
|
+
const daysIn = (year, month) => month === 2 && isLeapYear(year) ? 29 : MONTH_DAYS[month - 1] ?? 0;
|
|
27
|
+
const readInstant = (value) => {
|
|
28
|
+
const fields = timestamp.exec(value);
|
|
29
|
+
if (fields === null) return null;
|
|
30
|
+
const field = (index) => Number(fields[index] ?? 0);
|
|
31
|
+
const year = field(1);
|
|
32
|
+
const month = field(2);
|
|
33
|
+
const day = field(3);
|
|
34
|
+
if (!(month >= 1 && month <= 12 && day >= 1 && day <= daysIn(year, month) && field(4) <= 23 && field(5) <= 59 && field(6) <= 59 && field(7) <= 23 && field(8) <= 59)) return null;
|
|
35
|
+
const instant = new Date(value);
|
|
36
|
+
return Number.isNaN(instant.getTime()) ? null : instant;
|
|
37
|
+
};
|
|
38
|
+
const formattedInstant = (value, format) => {
|
|
39
|
+
const instant = readInstant(value);
|
|
40
|
+
return instant === null ? value : format(instant);
|
|
41
|
+
};
|
|
42
|
+
const webAddressShape = /^https?:\/\//;
|
|
43
|
+
const webAddressHostShape = /^[a-z]+:\/\/[^\s/\\?#]+(?:[/?#]|$)/;
|
|
44
|
+
const malformedEscape = /%(?![0-9A-Fa-f]{2})/;
|
|
45
|
+
const asciiEscape = /%[0-7][0-9A-Fa-f]/;
|
|
46
|
+
const holdsControlCharacter = (value) => {
|
|
47
|
+
for (let index = 0; index < value.length; index += 1) {
|
|
48
|
+
const unit = value.charCodeAt(index);
|
|
49
|
+
if (unit < 32 || unit === 127) return true;
|
|
50
|
+
}
|
|
51
|
+
return false;
|
|
52
|
+
};
|
|
53
|
+
const holdsRefusedCharacters = (value) => {
|
|
54
|
+
if (holdsControlCharacter(value)) return true;
|
|
55
|
+
const hash = value.indexOf("#");
|
|
56
|
+
const beforeFragment = hash === -1 ? value : value.slice(0, hash);
|
|
57
|
+
const fragment = hash === -1 ? "" : value.slice(hash + 1);
|
|
58
|
+
const mark = beforeFragment.indexOf("?");
|
|
59
|
+
const beforeQuery = mark === -1 ? beforeFragment : beforeFragment.slice(0, mark);
|
|
60
|
+
if (malformedEscape.test(beforeQuery) || malformedEscape.test(fragment)) return true;
|
|
61
|
+
const authority = beforeQuery.slice(beforeQuery.indexOf("//") + 2).split("/", 1)[0] ?? "";
|
|
62
|
+
return asciiEscape.test(authority.slice(authority.lastIndexOf("@") + 1));
|
|
63
|
+
};
|
|
64
|
+
const endsInAnotherScriptsNumber = /^[a-z]+:\/\/(?:[^\s/?#@]*@)?(?:[^\s/?#:.@[]*\.)*(?=\p{Nd}*(?!\d)\p{Nd})\p{Nd}+\.?(?::\d*)?(?:[/?#]|$)/u;
|
|
65
|
+
const isWebAddress = (value) => {
|
|
66
|
+
if (!webAddressShape.test(value) || !webAddressHostShape.test(value)) return false;
|
|
67
|
+
if (holdsRefusedCharacters(value) || endsInAnotherScriptsNumber.test(value)) return false;
|
|
68
|
+
try {
|
|
69
|
+
return new URL(value).host !== "";
|
|
70
|
+
} catch {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
const NUMBER_FIELD_FRACTION_DIGITS = 3;
|
|
75
|
+
const SUMMARY_SEPARATOR = " · ";
|
|
76
|
+
const amenityName = (names, amenity) => Object.hasOwn(names, amenity) ? names[amenity] ?? amenity : amenity;
|
|
77
|
+
const waypointSummaryTiming = (details, words, units, formatCutoffAt) => {
|
|
78
|
+
const openingHours = details.contact?.openingHours;
|
|
79
|
+
if (openingHours !== void 0 && openingHours !== "") return words.openingHours(openingHours);
|
|
80
|
+
const cutoffAt = details.timing?.cutoffAt;
|
|
81
|
+
if (cutoffAt !== void 0 && formatCutoffAt !== void 0) return words.cutoffAt(formattedInstant(cutoffAt, formatCutoffAt));
|
|
82
|
+
const stop = formatDuration(details.timing?.stopDuration, units);
|
|
83
|
+
return stop === "" ? null : words.stop(stop);
|
|
84
|
+
};
|
|
85
|
+
const waypointSummary = (details, copy, units, formatCutoffAt) => {
|
|
86
|
+
if (details === void 0) return null;
|
|
87
|
+
const clauses = [];
|
|
88
|
+
if ((details.amenities ?? []).length > 0) clauses.push(copy.waypointCard.amenities);
|
|
89
|
+
const timing = waypointSummaryTiming(details, copy.waypointCard.summary, units, formatCutoffAt);
|
|
90
|
+
if (timing !== null) clauses.push(timing);
|
|
91
|
+
return clauses.length === 0 ? null : clauses.join(SUMMARY_SEPARATOR);
|
|
92
|
+
};
|
|
93
|
+
const waypointHeadline = (details, copy, units, formatCutoffAt) => {
|
|
94
|
+
const description = details?.description?.trim() ?? "";
|
|
95
|
+
return description === "" ? waypointSummary(details, copy, units, formatCutoffAt) : description;
|
|
96
|
+
};
|
|
97
|
+
const waypointTimingRows = (details, copy, units, formatCutoffAt) => {
|
|
98
|
+
const words = copy.waypointCard;
|
|
99
|
+
const timing = details?.timing;
|
|
100
|
+
const rows = [];
|
|
101
|
+
if (timing === void 0) return rows;
|
|
102
|
+
if (timing.cutoffAt !== void 0 && formatCutoffAt !== void 0) rows.push({
|
|
103
|
+
label: words.cutoff,
|
|
104
|
+
value: formattedInstant(timing.cutoffAt, formatCutoffAt)
|
|
105
|
+
});
|
|
106
|
+
const stop = formatDuration(timing.stopDuration, units);
|
|
107
|
+
if (stop !== "") rows.push({
|
|
108
|
+
label: words.stop,
|
|
109
|
+
value: stop
|
|
110
|
+
});
|
|
111
|
+
return rows;
|
|
112
|
+
};
|
|
113
|
+
const webAddressRow = (label, value) => {
|
|
114
|
+
const address = value.trim();
|
|
115
|
+
return isWebAddress(address) ? {
|
|
116
|
+
external: true,
|
|
117
|
+
href: address,
|
|
118
|
+
label,
|
|
119
|
+
value
|
|
120
|
+
} : {
|
|
121
|
+
label,
|
|
122
|
+
value
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
const waypointContactRows = (details, copy) => {
|
|
126
|
+
const words = copy.waypointCard;
|
|
127
|
+
const contact = details?.contact;
|
|
128
|
+
const rows = [];
|
|
129
|
+
if (contact === void 0) return rows;
|
|
130
|
+
if (contact.openingHours !== void 0) rows.push({
|
|
131
|
+
label: words.openingHours,
|
|
132
|
+
value: contact.openingHours
|
|
133
|
+
});
|
|
134
|
+
if (contact.address !== void 0) rows.push({
|
|
135
|
+
label: words.address,
|
|
136
|
+
value: contact.address
|
|
137
|
+
});
|
|
138
|
+
if (contact.phone !== void 0) rows.push({
|
|
139
|
+
href: `tel:${contact.phone}`,
|
|
140
|
+
label: words.phone,
|
|
141
|
+
value: contact.phone
|
|
142
|
+
});
|
|
143
|
+
if (contact.email !== void 0) rows.push({
|
|
144
|
+
href: `mailto:${contact.email}`,
|
|
145
|
+
label: words.email,
|
|
146
|
+
value: contact.email
|
|
147
|
+
});
|
|
148
|
+
if (contact.website !== void 0) rows.push(webAddressRow(words.website, contact.website));
|
|
149
|
+
if (contact.bookingUrl !== void 0) rows.push(webAddressRow(words.booking, contact.bookingUrl));
|
|
150
|
+
return rows;
|
|
151
|
+
};
|
|
152
|
+
const waypointPropertyValue = (property, units, formatInstant) => {
|
|
153
|
+
const numeric = Number(property.value);
|
|
154
|
+
switch (property.format) {
|
|
155
|
+
case "duration": return Number.isFinite(numeric) ? formatDuration(numeric, units) : property.value;
|
|
156
|
+
case "distance": return Number.isFinite(numeric) ? formatDistance(numeric, units) : property.value;
|
|
157
|
+
case "number": return Number.isFinite(numeric) ? formatNumber(numeric, units, NUMBER_FIELD_FRACTION_DIGITS) : property.value;
|
|
158
|
+
case "date": return formatInstant === void 0 ? property.value : formattedInstant(property.value, formatInstant);
|
|
159
|
+
default: return property.value;
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
const waypointPropertyIsLink = (property) => property.format === "url" && isWebAddress(property.value.trim());
|
|
163
|
+
const waypointMediaLinkIsLink = (link) => isWebAddress(link.url.trim());
|
|
164
|
+
const waypointMediaLinks = (details) => (details?.media?.links ?? []).map((link) => waypointMediaLinkIsLink(link) ? {
|
|
165
|
+
...link,
|
|
166
|
+
href: link.url.trim()
|
|
167
|
+
} : link);
|
|
168
|
+
const waypointMediaPhotos = (details) => (details?.media?.photos ?? []).flatMap((photo) => {
|
|
169
|
+
const address = photo.url.trim();
|
|
170
|
+
if (!isWebAddress(address)) return [];
|
|
171
|
+
return [address === photo.url ? photo : {
|
|
172
|
+
...photo,
|
|
173
|
+
url: address
|
|
174
|
+
}];
|
|
175
|
+
});
|
|
176
|
+
const waypointDeclaresNothing = (details) => (details?.amenities ?? []).length === 0 && details?.timing === void 0 && details?.contact === void 0 && (details?.media?.photos ?? []).length === 0 && (details?.media?.links ?? []).length === 0 && (details?.properties ?? []).length === 0;
|
|
177
|
+
const waypointCard = (details, copy, units, formatCutoffAt) => ({
|
|
178
|
+
amenities: (details?.amenities ?? []).map((amenity) => ({
|
|
179
|
+
amenity,
|
|
180
|
+
name: amenityName(copy.amenities, amenity)
|
|
181
|
+
})),
|
|
182
|
+
contact: waypointContactRows(details, copy),
|
|
183
|
+
empty: waypointDeclaresNothing(details),
|
|
184
|
+
headline: waypointHeadline(details, copy, units, formatCutoffAt),
|
|
185
|
+
links: waypointMediaLinks(details),
|
|
186
|
+
photos: waypointMediaPhotos(details),
|
|
187
|
+
properties: (details?.properties ?? []).map((property) => ({
|
|
188
|
+
...waypointPropertyIsLink(property) ? { href: property.value.trim() } : {},
|
|
189
|
+
key: property.key,
|
|
190
|
+
label: property.label,
|
|
191
|
+
value: waypointPropertyValue(property, units, formatCutoffAt)
|
|
192
|
+
})),
|
|
193
|
+
timing: waypointTimingRows(details, copy, units, formatCutoffAt)
|
|
194
|
+
});
|
|
195
|
+
const amenityFilter = (rows, picked, names, locale) => {
|
|
196
|
+
const offered = new Set(rows.flatMap((row) => row.details?.amenities ?? []));
|
|
197
|
+
const collation = numberFormat(locale).resolvedOptions().locale;
|
|
198
|
+
return {
|
|
199
|
+
available: [...offered].sort((a, b) => amenityName(names, a).localeCompare(amenityName(names, b), collation)),
|
|
200
|
+
shown: picked.length === 0 ? rows : rows.filter((row) => {
|
|
201
|
+
const services = row.details?.amenities ?? [];
|
|
202
|
+
return picked.every((amenity) => services.includes(amenity));
|
|
203
|
+
})
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
const toggleAmenity = (picked, amenity) => picked.includes(amenity) ? picked.filter((entry) => entry !== amenity) : [...picked, amenity];
|
|
207
|
+
const DEFAULT_AMENITY_STACK_MAX = 4;
|
|
208
|
+
const amenityStacks = (places, max = 4) => {
|
|
209
|
+
const shownCount = max >= 0 ? Math.floor(max) : 0;
|
|
210
|
+
return places.flatMap((place) => {
|
|
211
|
+
const services = place.details?.amenities ?? [];
|
|
212
|
+
if (services.length === 0) return [];
|
|
213
|
+
const shown = services.slice(0, shownCount);
|
|
214
|
+
return [{
|
|
215
|
+
counted: services.length - shown.length,
|
|
216
|
+
named: services,
|
|
217
|
+
place,
|
|
218
|
+
shown
|
|
219
|
+
}];
|
|
220
|
+
});
|
|
221
|
+
};
|
|
222
|
+
const carriesElevation = (parts) => parts.some((part) => part.some((geometry) => profileLines(geometry).some((line) => line.some((position) => namesPlace(position) && Number.isFinite(position[2])))));
|
|
223
|
+
const profileSpans = (parts) => {
|
|
224
|
+
const spans = [];
|
|
225
|
+
let from = 0;
|
|
226
|
+
for (const part of parts) {
|
|
227
|
+
let walked = 0;
|
|
228
|
+
for (const geometry of part) walked += profileLength(geometry);
|
|
229
|
+
spans.push({
|
|
230
|
+
from,
|
|
231
|
+
to: from + walked
|
|
232
|
+
});
|
|
233
|
+
from += walked;
|
|
234
|
+
}
|
|
235
|
+
return spans;
|
|
236
|
+
};
|
|
237
|
+
const LABEL_GUTTER = 8;
|
|
238
|
+
const cullCrowdedLabels = (boxes, gutter = LABEL_GUTTER) => {
|
|
239
|
+
const hidden = /* @__PURE__ */ new Set();
|
|
240
|
+
if (boxes.length < 3) return hidden;
|
|
241
|
+
const first = boxes[0];
|
|
242
|
+
const last = boxes[boxes.length - 1];
|
|
243
|
+
if (first === void 0 || last === void 0) return hidden;
|
|
244
|
+
let keptRight = first.right;
|
|
245
|
+
for (let index = 1; index < boxes.length - 1; index += 1) {
|
|
246
|
+
const box = boxes[index];
|
|
247
|
+
if (box === void 0) continue;
|
|
248
|
+
if (box.left >= keptRight + gutter && box.right + gutter <= last.left) {
|
|
249
|
+
keptRight = box.right;
|
|
250
|
+
continue;
|
|
251
|
+
}
|
|
252
|
+
hidden.add(box.key);
|
|
253
|
+
}
|
|
254
|
+
return hidden;
|
|
255
|
+
};
|
|
256
|
+
const CURSOR_MARKER_GLYPH = "pin-filled";
|
|
257
|
+
const cursorMarkerIds = {
|
|
258
|
+
profile: "mtya-profile-cursor",
|
|
259
|
+
segmentTable: "mtya-segment-table-cursor",
|
|
260
|
+
waypointTable: "mtya-waypoint-table-cursor"
|
|
261
|
+
};
|
|
262
|
+
const showCursorMarker = (map, pinned, point) => {
|
|
263
|
+
const lngLat = [point.lngLat[0], point.lngLat[1]];
|
|
264
|
+
if (pinned !== null && pinned.color === point.color && pinned.glyph === point.glyph) try {
|
|
265
|
+
map.editMarker(point.id, { lngLat });
|
|
266
|
+
return pinned;
|
|
267
|
+
} catch (error) {
|
|
268
|
+
if (!(error instanceof MountayaElementsNotFoundError)) throw error;
|
|
269
|
+
}
|
|
270
|
+
map.addMarker({
|
|
271
|
+
color: point.color,
|
|
272
|
+
glyph: point.glyph,
|
|
273
|
+
id: point.id,
|
|
274
|
+
lngLat
|
|
275
|
+
});
|
|
276
|
+
return {
|
|
277
|
+
color: point.color,
|
|
278
|
+
glyph: point.glyph
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
const hideCursorMarker = (map, pinned, id) => {
|
|
282
|
+
if (pinned !== null) map.removeMarker(id);
|
|
283
|
+
return null;
|
|
284
|
+
};
|
|
285
|
+
const PROFILE_VIEWBOX = 100;
|
|
286
|
+
const PROFILE_TOP_INSET = 6;
|
|
287
|
+
const PROFILE_BOTTOM_INSET = 4;
|
|
288
|
+
const PROFILE_BASELINE = 96;
|
|
289
|
+
const clamp01 = (value) => Math.min(1, Math.max(0, value));
|
|
290
|
+
const unit = (value) => Math.round(value * 1e3) / 1e3;
|
|
291
|
+
const profileDomain = (series, range) => {
|
|
292
|
+
const { maxElevation, minElevation } = windowedExtent(series, range);
|
|
293
|
+
return extentDomain(minElevation, maxElevation);
|
|
294
|
+
};
|
|
295
|
+
const anchoredDomain = (series, anchor, range) => {
|
|
296
|
+
if (anchor === "sea-level") return {
|
|
297
|
+
max: profileDomain(series).max,
|
|
298
|
+
min: 0
|
|
299
|
+
};
|
|
300
|
+
return anchor === "window" ? profileDomain(series, range) : profileDomain(series);
|
|
301
|
+
};
|
|
302
|
+
const domainTicks = (domain) => [
|
|
303
|
+
domain.min,
|
|
304
|
+
(domain.min + domain.max) / 2,
|
|
305
|
+
domain.max
|
|
306
|
+
];
|
|
307
|
+
const windowedExtent = (series, range) => {
|
|
308
|
+
const whole = {
|
|
309
|
+
maxElevation: series.maxElevation,
|
|
310
|
+
minElevation: series.minElevation
|
|
311
|
+
};
|
|
312
|
+
if (range === void 0) return whole;
|
|
313
|
+
const from = Math.min(range.from, range.to);
|
|
314
|
+
const to = Math.max(range.from, range.to);
|
|
315
|
+
const first = series.points[0];
|
|
316
|
+
const last = series.points.at(-1);
|
|
317
|
+
if (first === void 0 || last === void 0 || from <= first.distance && to >= last.distance) return whole;
|
|
318
|
+
const band = altitudeBand(series.points, from, to);
|
|
319
|
+
return band === null ? whole : {
|
|
320
|
+
maxElevation: band.max,
|
|
321
|
+
minElevation: band.min
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
const rangeOf = (totalDistance, range) => range === void 0 ? {
|
|
325
|
+
from: 0,
|
|
326
|
+
to: totalDistance
|
|
327
|
+
} : {
|
|
328
|
+
from: Math.min(range.from, range.to),
|
|
329
|
+
to: Math.max(range.from, range.to)
|
|
330
|
+
};
|
|
331
|
+
const projectX = (meters, range) => {
|
|
332
|
+
const span = range.to - range.from;
|
|
333
|
+
return span > 0 ? unit((meters - range.from) / span * 100) : 0;
|
|
334
|
+
};
|
|
335
|
+
const profileX = (meters, totalDistance, range) => {
|
|
336
|
+
const span = rangeOf(totalDistance, range);
|
|
337
|
+
return span.to > span.from ? unit(clamp01((meters - span.from) / (span.to - span.from)) * 100) : 0;
|
|
338
|
+
};
|
|
339
|
+
const profileY = (elevation, domain) => {
|
|
340
|
+
const span = domain.max - domain.min;
|
|
341
|
+
const fraction = span > 0 ? clamp01((elevation - domain.min) / span) : .5;
|
|
342
|
+
return unit(6 + (1 - fraction) * 90);
|
|
343
|
+
};
|
|
344
|
+
const drawn = (points, range) => {
|
|
345
|
+
if (range === void 0) return points;
|
|
346
|
+
const from = Math.min(range.from, range.to);
|
|
347
|
+
const to = Math.max(range.from, range.to);
|
|
348
|
+
let first = points.findIndex((point) => point.distance >= from);
|
|
349
|
+
if (first === -1) return [];
|
|
350
|
+
let last = points.length - 1;
|
|
351
|
+
while (last > first && (points[last]?.distance ?? 0) > to) last -= 1;
|
|
352
|
+
first = Math.max(0, first - 1);
|
|
353
|
+
last = Math.min(points.length - 1, last + 1);
|
|
354
|
+
return points.slice(first, last + 1);
|
|
355
|
+
};
|
|
356
|
+
const profilePolyline = (points, totalDistance, domain, range) => {
|
|
357
|
+
const span = rangeOf(totalDistance, range);
|
|
358
|
+
return drawn(points, range).map((point) => `${projectX(point.distance, span)},${profileY(point.elevation, domain)}`).join(" ");
|
|
359
|
+
};
|
|
360
|
+
const curveSpans = (stretches) => {
|
|
361
|
+
const ordered = stretches.map((entry) => ({
|
|
362
|
+
...entry,
|
|
363
|
+
from: Math.min(entry.from, entry.to),
|
|
364
|
+
to: Math.max(entry.from, entry.to)
|
|
365
|
+
})).filter((span) => span.to > span.from).sort((a, b) => a.from - b.from);
|
|
366
|
+
const resolved = [];
|
|
367
|
+
let cursor = Number.NEGATIVE_INFINITY;
|
|
368
|
+
for (const span of ordered) {
|
|
369
|
+
const from = Math.max(span.from, cursor);
|
|
370
|
+
if (span.to <= from) continue;
|
|
371
|
+
resolved.push({
|
|
372
|
+
...span,
|
|
373
|
+
from
|
|
374
|
+
});
|
|
375
|
+
cursor = span.to;
|
|
376
|
+
}
|
|
377
|
+
return resolved;
|
|
378
|
+
};
|
|
379
|
+
const classAt = (classes, distance) => {
|
|
380
|
+
let ending = null;
|
|
381
|
+
for (const span of curveSpans(classes)) {
|
|
382
|
+
if (distance >= span.from && distance < span.to) return span;
|
|
383
|
+
if (distance === span.to) ending = span;
|
|
384
|
+
}
|
|
385
|
+
return ending;
|
|
386
|
+
};
|
|
387
|
+
const SLOPE_COLOR_STOPS = [
|
|
388
|
+
{
|
|
389
|
+
color: "#e8590c",
|
|
390
|
+
grade: Number.NEGATIVE_INFINITY,
|
|
391
|
+
key: "steepDescent"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
color: "#f59f00",
|
|
395
|
+
grade: -10,
|
|
396
|
+
key: "descent"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
color: "#2f9e44",
|
|
400
|
+
grade: -3,
|
|
401
|
+
key: "flat"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
color: "#f59f00",
|
|
405
|
+
grade: 3,
|
|
406
|
+
key: "ascent"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
color: "#e8590c",
|
|
410
|
+
grade: 10,
|
|
411
|
+
key: "steepAscent"
|
|
412
|
+
}
|
|
413
|
+
];
|
|
414
|
+
const bucketFor = (stops, degrees) => {
|
|
415
|
+
let found;
|
|
416
|
+
for (const stop of stops) if (degrees >= stop.grade) found = stop;
|
|
417
|
+
return found ?? stops[0];
|
|
418
|
+
};
|
|
419
|
+
const stretchGrade = (points, index) => {
|
|
420
|
+
const start = points[Math.max(0, index - 1)];
|
|
421
|
+
const end = points[Math.max(1, index)];
|
|
422
|
+
const point = points[index];
|
|
423
|
+
if (start === void 0 || end === void 0 || point === void 0) return null;
|
|
424
|
+
const run = end.distance - start.distance;
|
|
425
|
+
return run >= 100 ? convertSlope((end.elevation - start.elevation) / run, "ratio", "degrees") : gradeAt(points, point.distance);
|
|
426
|
+
};
|
|
427
|
+
const slopeColors = (points, stops = SLOPE_COLOR_STOPS) => {
|
|
428
|
+
if (points.length < 2 || stops.length === 0) return [];
|
|
429
|
+
const spans = [];
|
|
430
|
+
for (const [index, point] of points.entries()) {
|
|
431
|
+
const grade = stretchGrade(points, index);
|
|
432
|
+
if (grade === null) continue;
|
|
433
|
+
const bucket = bucketFor(stops, grade);
|
|
434
|
+
if (bucket === void 0) continue;
|
|
435
|
+
const open = spans.at(-1);
|
|
436
|
+
if (open !== void 0 && open.label === bucket.key) {
|
|
437
|
+
spans[spans.length - 1] = {
|
|
438
|
+
...open,
|
|
439
|
+
to: point.distance
|
|
440
|
+
};
|
|
441
|
+
continue;
|
|
442
|
+
}
|
|
443
|
+
spans.push({
|
|
444
|
+
color: bucket.color,
|
|
445
|
+
from: open?.to ?? point.distance,
|
|
446
|
+
label: bucket.key,
|
|
447
|
+
to: point.distance
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
return spans.filter((span) => span.to > span.from);
|
|
451
|
+
};
|
|
452
|
+
const curveStops = (colors, totalDistance, range) => {
|
|
453
|
+
const spans = curveSpans(colors);
|
|
454
|
+
const stops = [];
|
|
455
|
+
let cursor = 0;
|
|
456
|
+
for (const span of spans) {
|
|
457
|
+
const start = Math.max(profileX(span.from, totalDistance, range), cursor);
|
|
458
|
+
const end = profileX(span.to, totalDistance, range);
|
|
459
|
+
if (end <= start) continue;
|
|
460
|
+
if (start > cursor) stops.push({
|
|
461
|
+
color: null,
|
|
462
|
+
offset: cursor
|
|
463
|
+
}, {
|
|
464
|
+
color: null,
|
|
465
|
+
offset: start
|
|
466
|
+
});
|
|
467
|
+
stops.push({
|
|
468
|
+
color: span.color,
|
|
469
|
+
offset: start
|
|
470
|
+
}, {
|
|
471
|
+
color: span.color,
|
|
472
|
+
offset: end
|
|
473
|
+
});
|
|
474
|
+
cursor = end;
|
|
475
|
+
}
|
|
476
|
+
if (stops.length === 0) return [];
|
|
477
|
+
if (cursor < 100) stops.push({
|
|
478
|
+
color: null,
|
|
479
|
+
offset: cursor
|
|
480
|
+
}, {
|
|
481
|
+
color: null,
|
|
482
|
+
offset: 100
|
|
483
|
+
});
|
|
484
|
+
return stops.filter((stop, index) => {
|
|
485
|
+
const previous = stops[index - 1];
|
|
486
|
+
return previous === void 0 || previous.color !== stop.color || previous.offset !== stop.offset;
|
|
487
|
+
}).map((stop) => ({
|
|
488
|
+
color: stop.color,
|
|
489
|
+
offset: stop.offset / 100
|
|
490
|
+
}));
|
|
491
|
+
};
|
|
492
|
+
const profileAreaPath = (points, totalDistance, domain, range) => {
|
|
493
|
+
const span = rangeOf(totalDistance, range);
|
|
494
|
+
const visible = drawn(points, range);
|
|
495
|
+
const first = visible[0];
|
|
496
|
+
const last = visible.at(-1);
|
|
497
|
+
if (first === void 0 || last === void 0) return "";
|
|
498
|
+
const body = visible.map((point) => `L${projectX(point.distance, span)},${profileY(point.elevation, domain)}`).join("");
|
|
499
|
+
return `M${projectX(first.distance, span)},100${body}L${projectX(last.distance, span)},100Z`;
|
|
500
|
+
};
|
|
501
|
+
const DEFAULT_READOUT_STATS = [
|
|
502
|
+
"distance",
|
|
503
|
+
"elevation",
|
|
504
|
+
"ascent",
|
|
505
|
+
"descent"
|
|
506
|
+
];
|
|
507
|
+
const profileReadout = (series, cumulative, point, { stats = DEFAULT_READOUT_STATS, stretches = [] } = {}) => {
|
|
508
|
+
const reached = stats.includes("ascent") || stats.includes("descent") ? rangeTotals(series, cumulative, {
|
|
509
|
+
from: 0,
|
|
510
|
+
to: point.distance
|
|
511
|
+
}) : null;
|
|
512
|
+
const values = {
|
|
513
|
+
ascent: reached?.ascent ?? null,
|
|
514
|
+
descent: reached?.descent ?? null,
|
|
515
|
+
distance: point.distance,
|
|
516
|
+
elevation: point.elevation
|
|
517
|
+
};
|
|
518
|
+
return {
|
|
519
|
+
cells: stats.flatMap((key) => {
|
|
520
|
+
const value = values[key];
|
|
521
|
+
return value === null ? [] : [{
|
|
522
|
+
key,
|
|
523
|
+
value
|
|
524
|
+
}];
|
|
525
|
+
}),
|
|
526
|
+
grade: gradeAt(series.points, point.distance),
|
|
527
|
+
stretch: classAt(stretches, point.distance)
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
const distanceOf = (waypoint) => "distance" in waypoint ? waypoint.distance : null;
|
|
531
|
+
const dividesRoute = (waypoint) => waypoint.divides ?? waypoint.name !== void 0;
|
|
532
|
+
const resolveWaypoints = (input, waypoints, proximityMeters = 60) => placeWaypointPasses(input, waypoints, proximityMeters).map(({ distance, key, waypoint }) => ({
|
|
533
|
+
distance,
|
|
534
|
+
key,
|
|
535
|
+
waypoint
|
|
536
|
+
}));
|
|
537
|
+
const placeWaypointPasses = (input, waypoints, proximityMeters) => {
|
|
538
|
+
const markerOf = (waypoint, index) => ({
|
|
539
|
+
id: String(index),
|
|
540
|
+
lngLat: waypoint.lngLat
|
|
541
|
+
});
|
|
542
|
+
const candidates = waypoints.map((waypoint) => {
|
|
543
|
+
const distance = distanceOf(waypoint);
|
|
544
|
+
return distance === null || Number.isNaN(distance) ? [] : [distance];
|
|
545
|
+
});
|
|
546
|
+
const toProject = waypoints.flatMap((waypoint, index) => "lngLat" in waypoint ? [markerOf(waypoint, index)] : []);
|
|
547
|
+
for (const projection of projectMarkers(input, toProject, proximityMeters)) candidates[Number(projection.id)]?.push(projection.distance);
|
|
548
|
+
const orphans = waypoints.flatMap((waypoint, index) => "lngLat" in waypoint && candidates[index]?.length === 0 ? [markerOf(waypoint, index)] : []);
|
|
549
|
+
const nearest = /* @__PURE__ */ new Map();
|
|
550
|
+
for (const pass of markerPasses(input, orphans, MARKER_BELONGING_METERS)) {
|
|
551
|
+
const held = nearest.get(pass.id);
|
|
552
|
+
if (held === void 0 || pass.meters < held.meters) nearest.set(pass.id, pass);
|
|
553
|
+
}
|
|
554
|
+
for (const pass of nearest.values()) candidates[Number(pass.id)]?.push(pass.distance);
|
|
555
|
+
for (const list of candidates) list.sort((a, b) => a - b);
|
|
556
|
+
const primaries = [];
|
|
557
|
+
let reached = Number.NEGATIVE_INFINITY;
|
|
558
|
+
for (const list of candidates) {
|
|
559
|
+
const primary = list.find((distance) => distance >= reached) ?? list[list.length - 1];
|
|
560
|
+
primaries.push(primary);
|
|
561
|
+
if (primary !== void 0) reached = Math.max(reached, primary);
|
|
562
|
+
}
|
|
563
|
+
const claimed = primaries.filter((primary) => primary !== void 0);
|
|
564
|
+
const isClaimed = (distance) => claimed.some((primary) => Math.abs(primary - distance) <= proximityMeters);
|
|
565
|
+
const placed = [];
|
|
566
|
+
for (const [listed, waypoint] of waypoints.entries()) {
|
|
567
|
+
const primary = primaries[listed];
|
|
568
|
+
if (primary === void 0) continue;
|
|
569
|
+
placed.push({
|
|
570
|
+
distance: primary,
|
|
571
|
+
listed,
|
|
572
|
+
primary: true,
|
|
573
|
+
waypoint
|
|
574
|
+
});
|
|
575
|
+
for (const distance of candidates[listed] ?? []) if (distance !== primary && !isClaimed(distance)) placed.push({
|
|
576
|
+
distance,
|
|
577
|
+
listed,
|
|
578
|
+
primary: false,
|
|
579
|
+
waypoint
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
placed.sort((a, b) => a.distance - b.distance || a.listed - b.listed);
|
|
583
|
+
const passes = /* @__PURE__ */ new Map();
|
|
584
|
+
return placed.map(({ distance, primary, waypoint }) => {
|
|
585
|
+
const pass = passes.get(waypoint.id) ?? 0;
|
|
586
|
+
passes.set(waypoint.id, pass + 1);
|
|
587
|
+
return {
|
|
588
|
+
distance,
|
|
589
|
+
key: `${waypoint.id}#${pass}`,
|
|
590
|
+
primary,
|
|
591
|
+
waypoint
|
|
592
|
+
};
|
|
593
|
+
});
|
|
594
|
+
};
|
|
595
|
+
const chainGeometry = (segments) => {
|
|
596
|
+
const geometries = segments.flatMap((segment) => geometriesOf(segment.geojson));
|
|
597
|
+
return geometries.length === 0 ? null : {
|
|
598
|
+
geometries,
|
|
599
|
+
type: "GeometryCollection"
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
const itinerarySegmentRows = (series, cumulative, segments) => {
|
|
603
|
+
const rows = [];
|
|
604
|
+
let from = 0;
|
|
605
|
+
let travelled = 0;
|
|
606
|
+
let climbed = null;
|
|
607
|
+
let dropped = null;
|
|
608
|
+
for (const segment of segments) {
|
|
609
|
+
const length = profileLength(segment.geojson);
|
|
610
|
+
const to = Math.min(series.totalDistance, from + length);
|
|
611
|
+
const legTotals = length > 0 ? rangeTotals(series, cumulative, {
|
|
612
|
+
from,
|
|
613
|
+
to
|
|
614
|
+
}) : null;
|
|
615
|
+
const stated = segment.metrics;
|
|
616
|
+
const sectionDistance = stated?.sectionDistance ?? (legTotals === null ? null : to - from);
|
|
617
|
+
const sectionAscent = stated?.sectionAscent ?? legTotals?.ascent ?? null;
|
|
618
|
+
const sectionDescent = stated?.sectionDescent ?? legTotals?.descent ?? null;
|
|
619
|
+
travelled += sectionDistance ?? 0;
|
|
620
|
+
climbed = sectionAscent === null ? climbed : (climbed ?? 0) + sectionAscent;
|
|
621
|
+
dropped = sectionDescent === null ? dropped : (dropped ?? 0) + sectionDescent;
|
|
622
|
+
const metrics = {
|
|
623
|
+
altitudeMax: stated?.altitudeMax ?? legTotals?.elevationMax ?? null,
|
|
624
|
+
altitudeMin: stated?.altitudeMin ?? legTotals?.elevationMin ?? null,
|
|
625
|
+
ascent: stated?.ascent ?? climbed,
|
|
626
|
+
descent: stated?.descent ?? dropped,
|
|
627
|
+
difficulty: stated?.difficulty ?? null,
|
|
628
|
+
distance: stated?.distance ?? travelled,
|
|
629
|
+
duration: stated?.duration ?? null,
|
|
630
|
+
sectionAscent,
|
|
631
|
+
sectionDescent,
|
|
632
|
+
sectionDistance
|
|
633
|
+
};
|
|
634
|
+
travelled = metrics.distance ?? travelled;
|
|
635
|
+
climbed = metrics.ascent ?? climbed;
|
|
636
|
+
dropped = metrics.descent ?? dropped;
|
|
637
|
+
rows.push({
|
|
638
|
+
color: segment.color,
|
|
639
|
+
from,
|
|
640
|
+
id: segment.id,
|
|
641
|
+
index: rows.length,
|
|
642
|
+
key: segment.id,
|
|
643
|
+
...segment.memberIds === void 0 ? {} : { memberIds: segment.memberIds },
|
|
644
|
+
metrics,
|
|
645
|
+
name: segment.name ?? "",
|
|
646
|
+
to
|
|
647
|
+
});
|
|
648
|
+
from = to;
|
|
649
|
+
}
|
|
650
|
+
return rows;
|
|
651
|
+
};
|
|
652
|
+
const resolveCharacteristics = (derived, stated) => ({
|
|
653
|
+
altitudeMax: stated?.altitudeMax ?? derived.elevationMax,
|
|
654
|
+
altitudeMin: stated?.altitudeMin ?? derived.elevationMin,
|
|
655
|
+
ascent: stated?.ascent ?? derived.ascent,
|
|
656
|
+
descent: stated?.descent ?? derived.descent,
|
|
657
|
+
distance: stated?.distance ?? derived.distance,
|
|
658
|
+
duration: stated?.duration ?? null,
|
|
659
|
+
slopeMax: stated?.slopeMax ?? derived.gradeMax,
|
|
660
|
+
slopeMin: stated?.slopeMin ?? null,
|
|
661
|
+
trailDifficultyMax: stated?.trailDifficultyMax ?? null,
|
|
662
|
+
trailDifficultyMin: stated?.trailDifficultyMin ?? null
|
|
663
|
+
});
|
|
664
|
+
const WAYPOINT_ROW_FIGURES = [
|
|
665
|
+
"ascent",
|
|
666
|
+
"descent",
|
|
667
|
+
"distance",
|
|
668
|
+
"sectionAscent",
|
|
669
|
+
"sectionDescent",
|
|
670
|
+
"sectionDistance"
|
|
671
|
+
];
|
|
672
|
+
const statesRowFigure = (stated) => stated !== void 0 && WAYPOINT_ROW_FIGURES.some((figure) => (stated[figure] ?? null) !== null);
|
|
673
|
+
const carry = (total, section) => section === null ? total : (total ?? 0) + section;
|
|
674
|
+
const itineraryWaypointRows = (geojson, series, cumulative, waypoints) => {
|
|
675
|
+
const placed = placeWaypointPasses(geojson, waypoints, 60);
|
|
676
|
+
let previous = 0;
|
|
677
|
+
let before = {
|
|
678
|
+
ascent: null,
|
|
679
|
+
descent: null,
|
|
680
|
+
distance: 0
|
|
681
|
+
};
|
|
682
|
+
let follows = false;
|
|
683
|
+
return placed.map((entry, index) => {
|
|
684
|
+
const to = entry.distance;
|
|
685
|
+
const from = previous;
|
|
686
|
+
previous = to;
|
|
687
|
+
const reaching = rangeTotals(series, cumulative, {
|
|
688
|
+
from,
|
|
689
|
+
to
|
|
690
|
+
});
|
|
691
|
+
const running = rangeTotals(series, cumulative, {
|
|
692
|
+
from: 0,
|
|
693
|
+
to
|
|
694
|
+
});
|
|
695
|
+
const { waypoint } = entry;
|
|
696
|
+
const stated = entry.primary && dividesRoute(waypoint) ? waypoint.metrics : void 0;
|
|
697
|
+
follows ||= statesRowFigure(stated);
|
|
698
|
+
const sectionDistance = stated?.sectionDistance ?? reaching.distance;
|
|
699
|
+
const sectionAscent = stated?.sectionAscent ?? reaching.ascent;
|
|
700
|
+
const sectionDescent = stated?.sectionDescent ?? reaching.descent;
|
|
701
|
+
before = follows ? {
|
|
702
|
+
ascent: stated?.ascent ?? carry(before.ascent, sectionAscent),
|
|
703
|
+
descent: stated?.descent ?? carry(before.descent, sectionDescent),
|
|
704
|
+
distance: stated?.distance ?? before.distance + (sectionDistance ?? 0)
|
|
705
|
+
} : {
|
|
706
|
+
ascent: running.ascent,
|
|
707
|
+
descent: running.descent,
|
|
708
|
+
distance: to
|
|
709
|
+
};
|
|
710
|
+
return {
|
|
711
|
+
...waypoint.color === void 0 ? {} : { color: waypoint.color },
|
|
712
|
+
...waypoint.details === void 0 ? {} : { details: waypoint.details },
|
|
713
|
+
from,
|
|
714
|
+
...waypoint.glyph === void 0 ? {} : { glyph: waypoint.glyph },
|
|
715
|
+
id: waypoint.id,
|
|
716
|
+
index,
|
|
717
|
+
key: entry.key,
|
|
718
|
+
metrics: {
|
|
719
|
+
altitude: elevationAt(series.points, to),
|
|
720
|
+
ascent: before.ascent,
|
|
721
|
+
descent: before.descent,
|
|
722
|
+
distance: before.distance,
|
|
723
|
+
sectionAscent,
|
|
724
|
+
sectionDescent,
|
|
725
|
+
sectionDistance
|
|
726
|
+
},
|
|
727
|
+
...waypoint.name === void 0 ? {} : { name: waypoint.name },
|
|
728
|
+
to
|
|
729
|
+
};
|
|
730
|
+
});
|
|
731
|
+
};
|
|
732
|
+
const placeOnCurve = ({ geojson, series, domain, range, waypoints }) => {
|
|
733
|
+
const placed = resolveWaypoints(geojson, waypoints);
|
|
734
|
+
const pins = [];
|
|
735
|
+
const dividers = [];
|
|
736
|
+
const cutoffs = [];
|
|
737
|
+
for (const entry of placed) {
|
|
738
|
+
const { distance, key, waypoint } = entry;
|
|
739
|
+
if (distance < range.from || distance > range.to) continue;
|
|
740
|
+
const x = profileX(distance, series.totalDistance, range);
|
|
741
|
+
const altitude = elevationAt(series.points, distance);
|
|
742
|
+
if (waypoint.pin !== false && altitude !== null) pins.push({
|
|
743
|
+
altitude,
|
|
744
|
+
color: waypoint.color,
|
|
745
|
+
details: waypoint.details,
|
|
746
|
+
distance,
|
|
747
|
+
glyph: waypoint.glyph,
|
|
748
|
+
id: waypoint.id,
|
|
749
|
+
key,
|
|
750
|
+
label: waypoint.name,
|
|
751
|
+
x,
|
|
752
|
+
y: profileY(altitude, domain)
|
|
753
|
+
});
|
|
754
|
+
if (dividesRoute(waypoint)) dividers.push({
|
|
755
|
+
color: waypoint.color,
|
|
756
|
+
distance,
|
|
757
|
+
id: waypoint.id,
|
|
758
|
+
key,
|
|
759
|
+
name: waypoint.name ?? "",
|
|
760
|
+
x,
|
|
761
|
+
y: altitude === null ? null : profileY(altitude, domain)
|
|
762
|
+
});
|
|
763
|
+
const timing = waypoint.details?.timing;
|
|
764
|
+
if (timing?.cutoffAt !== void 0) cutoffs.push({
|
|
765
|
+
cutoffAt: timing.cutoffAt,
|
|
766
|
+
distance,
|
|
767
|
+
id: waypoint.id,
|
|
768
|
+
key,
|
|
769
|
+
...waypoint.name === void 0 ? {} : { name: waypoint.name },
|
|
770
|
+
x
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
return {
|
|
774
|
+
cutoffs,
|
|
775
|
+
dividers,
|
|
776
|
+
pins,
|
|
777
|
+
placed
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
const PROFILE_LABEL_COLUMN = 68;
|
|
781
|
+
const PROFILE_PLOT_RIGHT_INSET = 12;
|
|
782
|
+
const PROFILE_CHART_HEIGHT = 80;
|
|
783
|
+
const distanceToFraction = (km, totalKm) => totalKm > 0 ? Math.min(1, Math.max(0, km / totalKm)) : 0;
|
|
784
|
+
const EMBED_FIT_BASE_MARGIN = 56;
|
|
785
|
+
const EMBED_PROFILE_ANCHOR_INSET = 16;
|
|
786
|
+
const EMBED_PROFILE_PANEL_CHROME = 24;
|
|
787
|
+
const EMBED_PROFILE_CHARACTERISTICS_HEIGHT = 40;
|
|
788
|
+
const EMBED_PROFILE_ANALYSIS_HEIGHT = 36;
|
|
789
|
+
const EMBED_PROFILE_SECTION_GAP = 12;
|
|
790
|
+
const PROFILE_PANEL_MIN_GAP = 12;
|
|
791
|
+
const estimateProfileHeight = (sections, options) => {
|
|
792
|
+
const collapsed = options?.collapsed ?? false;
|
|
793
|
+
const enabledHeights = [];
|
|
794
|
+
if (sections.showCharacteristics) enabledHeights.push(40);
|
|
795
|
+
if (sections.showElevation && !(collapsed && sections.showCharacteristics)) enabledHeights.push(80);
|
|
796
|
+
if (sections.showAnalysis && !collapsed) enabledHeights.push(36);
|
|
797
|
+
if (enabledHeights.length === 0) return 0;
|
|
798
|
+
const sectionsHeight = enabledHeights.reduce((total, height) => total + height, 0);
|
|
799
|
+
const gaps = (enabledHeights.length - 1) * 12;
|
|
800
|
+
return 24 + sectionsHeight + gaps;
|
|
801
|
+
};
|
|
802
|
+
const embedFitPadding = (sections, measuredPanelHeight) => {
|
|
803
|
+
if (measuredPanelHeight !== void 0 && measuredPanelHeight !== null) {
|
|
804
|
+
if (measuredPanelHeight <= 0) return 56;
|
|
805
|
+
return {
|
|
806
|
+
bottom: measuredPanelHeight + 16 + 56,
|
|
807
|
+
left: 56,
|
|
808
|
+
right: 56,
|
|
809
|
+
top: 56
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
const estimated = estimateProfileHeight(sections, { collapsed: false });
|
|
813
|
+
if (estimated === 0) return 56;
|
|
814
|
+
return {
|
|
815
|
+
bottom: 72 + estimated,
|
|
816
|
+
left: 56,
|
|
817
|
+
right: 56,
|
|
818
|
+
top: 56
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
const resolveProfileVisibility = (input) => {
|
|
822
|
+
const { panelBottom, panelOpen, rootHeight, sections } = input;
|
|
823
|
+
if (rootHeight <= 0) return "chart";
|
|
824
|
+
const obstruction = panelOpen ? panelBottom + 12 : 0;
|
|
825
|
+
const capacity = rootHeight - 16 - obstruction;
|
|
826
|
+
const fullHeight = estimateProfileHeight(sections, { collapsed: false });
|
|
827
|
+
const barHeight = estimateProfileHeight(sections, { collapsed: true });
|
|
828
|
+
if (panelOpen) return barHeight > 0 && capacity >= barHeight ? "bar" : "hidden";
|
|
829
|
+
if (capacity >= fullHeight) return "chart";
|
|
830
|
+
return barHeight > 0 && capacity >= barHeight ? "bar" : "hidden";
|
|
831
|
+
};
|
|
832
|
+
const writeLegEmphasis = (map, lit, stretch, color) => {
|
|
833
|
+
if (stretch === null) {
|
|
834
|
+
if (lit) map.clearEmphasis();
|
|
835
|
+
return false;
|
|
836
|
+
}
|
|
837
|
+
map.setEmphasis({
|
|
838
|
+
geometry: stretch,
|
|
839
|
+
properties: {},
|
|
840
|
+
type: "Feature"
|
|
841
|
+
}, { color });
|
|
842
|
+
return true;
|
|
843
|
+
};
|
|
844
|
+
const surfaceColors = {
|
|
845
|
+
asphalt: "#334155",
|
|
846
|
+
cobblestone: "#a8a29e",
|
|
847
|
+
"compacted-gravel": "#b45309",
|
|
848
|
+
concrete: "#64748b",
|
|
849
|
+
dirt: "#92400e",
|
|
850
|
+
"fine-gravel": "#ca8a04",
|
|
851
|
+
grass: "#22c55e",
|
|
852
|
+
"grass-paver": "#65a30d",
|
|
853
|
+
gravel: "#d4a574",
|
|
854
|
+
ground: "#78716c",
|
|
855
|
+
ice: "#bfdbfe",
|
|
856
|
+
metal: "#71717a",
|
|
857
|
+
paved: "#475569",
|
|
858
|
+
"paving-stones": "#6b7280",
|
|
859
|
+
sand: "#fbbf24",
|
|
860
|
+
unknown: "#94a3b8",
|
|
861
|
+
unpaved: "#d97706",
|
|
862
|
+
wood: "#a16207",
|
|
863
|
+
woodchips: "#854d0e"
|
|
864
|
+
};
|
|
865
|
+
const wayTypeColors = {
|
|
866
|
+
construction: "#f43f5e",
|
|
867
|
+
cycleway: "#3b82f6",
|
|
868
|
+
ferry: "#06b6d4",
|
|
869
|
+
footway: "#8b5cf6",
|
|
870
|
+
path: "#22c55e",
|
|
871
|
+
road: "#f97316",
|
|
872
|
+
"state-road": "#ef4444",
|
|
873
|
+
steps: "#6366f1",
|
|
874
|
+
street: "#eab308",
|
|
875
|
+
track: "#a16207",
|
|
876
|
+
unknown: "#94a3b8"
|
|
877
|
+
};
|
|
878
|
+
const HIT_SLICES = 240;
|
|
879
|
+
const SLICE_WIDTH = 100 / 240;
|
|
880
|
+
const buildSlices = (points, range) => {
|
|
881
|
+
const span = range.to - range.from;
|
|
882
|
+
return Array.from({ length: 240 }, (_, slice) => ({
|
|
883
|
+
index: nearestPointIndexAt(points, range.from + (slice + .5) / 240 * span),
|
|
884
|
+
slice,
|
|
885
|
+
x: slice * SLICE_WIDTH
|
|
886
|
+
}));
|
|
887
|
+
};
|
|
888
|
+
const distanceForSlice = (slice, range) => range.from + (slice + .5) / 240 * (range.to - range.from);
|
|
889
|
+
const rowStandsFor = (row, id) => id !== null && id !== void 0 && (row.id === id || row.memberIds?.includes(id) === true);
|
|
890
|
+
const rowAt = (rows, distance) => {
|
|
891
|
+
const found = classAt(rows.map((row, index) => ({
|
|
892
|
+
from: row.from,
|
|
893
|
+
index,
|
|
894
|
+
to: row.to
|
|
895
|
+
})), distance);
|
|
896
|
+
return found === null ? null : rows[found.index] ?? null;
|
|
897
|
+
};
|
|
898
|
+
const DEFAULT_SECTION_CHIP_STATS = ["distance", "ascent"];
|
|
899
|
+
const sectionGrade = ({ sectionAscent, sectionDescent, sectionDistance }) => sectionDistance === null || sectionDistance <= 0 || sectionAscent === null || sectionDescent === null ? null : convertSlope((sectionAscent - sectionDescent) / sectionDistance, "ratio", "degrees");
|
|
900
|
+
const sectionChipCells = (metrics, stats = DEFAULT_SECTION_CHIP_STATS) => {
|
|
901
|
+
const values = {
|
|
902
|
+
ascent: metrics.sectionAscent,
|
|
903
|
+
descent: metrics.sectionDescent,
|
|
904
|
+
distance: metrics.sectionDistance,
|
|
905
|
+
grade: sectionGrade(metrics)
|
|
906
|
+
};
|
|
907
|
+
return stats.flatMap((key) => {
|
|
908
|
+
const value = values[key];
|
|
909
|
+
return value === null ? [] : [{
|
|
910
|
+
key,
|
|
911
|
+
value
|
|
912
|
+
}];
|
|
913
|
+
});
|
|
914
|
+
};
|
|
915
|
+
const DEFAULT_STAT_STRIP_STATS = [
|
|
916
|
+
"distance",
|
|
917
|
+
"ascent",
|
|
918
|
+
"descent",
|
|
919
|
+
"elevation"
|
|
920
|
+
];
|
|
921
|
+
const figure = (key, value) => value === null || value === void 0 ? [] : [{
|
|
922
|
+
key,
|
|
923
|
+
value
|
|
924
|
+
}];
|
|
925
|
+
const statStripCells = (characteristics, cursor, stats = DEFAULT_STAT_STRIP_STATS) => stats.flatMap((key) => {
|
|
926
|
+
switch (key) {
|
|
927
|
+
case "distance": return figure(key, cursor === null ? characteristics.distance : cursor.distance);
|
|
928
|
+
case "duration": return figure(key, characteristics.duration);
|
|
929
|
+
case "ascent": return figure(key, characteristics.ascent);
|
|
930
|
+
case "descent": return figure(key, characteristics.descent);
|
|
931
|
+
case "elevation": return figure(key, cursor === null ? characteristics.altitudeMax : cursor.elevation);
|
|
932
|
+
case "grade": return figure(key, cursor === null ? characteristics.slopeMax : cursor.grade);
|
|
933
|
+
case "difficulty": {
|
|
934
|
+
const difficulty = characteristics.trailDifficultyMax;
|
|
935
|
+
return difficulty === null || difficulty === void 0 ? [] : [{
|
|
936
|
+
key,
|
|
937
|
+
value: difficulty
|
|
938
|
+
}];
|
|
939
|
+
}
|
|
940
|
+
default: return [];
|
|
941
|
+
}
|
|
942
|
+
});
|
|
943
|
+
const DEFAULT_SEGMENT_TABLE_COLUMNS = [
|
|
944
|
+
"segment",
|
|
945
|
+
"profile",
|
|
946
|
+
"distance",
|
|
947
|
+
"elevation"
|
|
948
|
+
];
|
|
949
|
+
const finite = (value) => typeof value === "number" && Number.isFinite(value);
|
|
950
|
+
const segmentRowCell = (row, column) => {
|
|
951
|
+
const { metrics } = row;
|
|
952
|
+
switch (column) {
|
|
953
|
+
case "segment": return {
|
|
954
|
+
column,
|
|
955
|
+
name: row.name
|
|
956
|
+
};
|
|
957
|
+
case "profile": return {
|
|
958
|
+
color: row.color ?? null,
|
|
959
|
+
column,
|
|
960
|
+
lit: {
|
|
961
|
+
from: row.from,
|
|
962
|
+
to: row.to
|
|
963
|
+
}
|
|
964
|
+
};
|
|
965
|
+
case "distance": return {
|
|
966
|
+
column,
|
|
967
|
+
leg: metrics.sectionDistance,
|
|
968
|
+
total: metrics.distance
|
|
969
|
+
};
|
|
970
|
+
case "elevation": return {
|
|
971
|
+
ascent: metrics.sectionAscent,
|
|
972
|
+
column,
|
|
973
|
+
descent: metrics.sectionDescent,
|
|
974
|
+
totalAscent: metrics.ascent
|
|
975
|
+
};
|
|
976
|
+
case "altitude": {
|
|
977
|
+
const { altitudeMax: max, altitudeMin: min } = metrics;
|
|
978
|
+
if (finite(min) && finite(max)) return {
|
|
979
|
+
band: {
|
|
980
|
+
max,
|
|
981
|
+
min
|
|
982
|
+
},
|
|
983
|
+
column,
|
|
984
|
+
single: null
|
|
985
|
+
};
|
|
986
|
+
return {
|
|
987
|
+
band: null,
|
|
988
|
+
column,
|
|
989
|
+
single: finite(min) ? min : finite(max) ? max : null
|
|
990
|
+
};
|
|
991
|
+
}
|
|
992
|
+
case "duration": return {
|
|
993
|
+
column,
|
|
994
|
+
seconds: metrics.duration
|
|
995
|
+
};
|
|
996
|
+
case "difficulty": return {
|
|
997
|
+
column,
|
|
998
|
+
text: metrics.difficulty
|
|
999
|
+
};
|
|
1000
|
+
}
|
|
1001
|
+
};
|
|
1002
|
+
const DEFAULT_WAYPOINT_TABLE_COLUMNS = [
|
|
1003
|
+
"waypoint",
|
|
1004
|
+
"profile",
|
|
1005
|
+
"distance",
|
|
1006
|
+
"elevation",
|
|
1007
|
+
"amenities"
|
|
1008
|
+
];
|
|
1009
|
+
const waypointRowCell = (row, column, { formatCutoffAt, icons, units }) => {
|
|
1010
|
+
const { details, metrics } = row;
|
|
1011
|
+
switch (column) {
|
|
1012
|
+
case "waypoint": return {
|
|
1013
|
+
column,
|
|
1014
|
+
glyph: placeGlyph(icons, row.glyph),
|
|
1015
|
+
label: row.name === void 0 ? { word: "unlabelledWaypoint" } : { name: row.name }
|
|
1016
|
+
};
|
|
1017
|
+
case "profile": return {
|
|
1018
|
+
column,
|
|
1019
|
+
lit: {
|
|
1020
|
+
from: row.from,
|
|
1021
|
+
to: row.to
|
|
1022
|
+
}
|
|
1023
|
+
};
|
|
1024
|
+
case "distance": return {
|
|
1025
|
+
column,
|
|
1026
|
+
total: metrics.distance
|
|
1027
|
+
};
|
|
1028
|
+
case "elevation": return {
|
|
1029
|
+
ascent: metrics.sectionAscent,
|
|
1030
|
+
column,
|
|
1031
|
+
descent: metrics.sectionDescent
|
|
1032
|
+
};
|
|
1033
|
+
case "altitude": return {
|
|
1034
|
+
altitude: metrics.altitude,
|
|
1035
|
+
column
|
|
1036
|
+
};
|
|
1037
|
+
case "amenities": return {
|
|
1038
|
+
column,
|
|
1039
|
+
services: details?.amenities ?? []
|
|
1040
|
+
};
|
|
1041
|
+
case "cutoff": {
|
|
1042
|
+
const cutoffAt = details?.timing?.cutoffAt;
|
|
1043
|
+
return {
|
|
1044
|
+
column,
|
|
1045
|
+
moment: cutoffAt === void 0 || formatCutoffAt === void 0 ? null : formattedInstant(cutoffAt, formatCutoffAt)
|
|
1046
|
+
};
|
|
1047
|
+
}
|
|
1048
|
+
case "properties": return {
|
|
1049
|
+
column,
|
|
1050
|
+
fields: (details?.properties ?? []).map((property) => ({
|
|
1051
|
+
key: property.key,
|
|
1052
|
+
label: property.label,
|
|
1053
|
+
value: waypointPropertyValue(property, units, formatCutoffAt)
|
|
1054
|
+
}))
|
|
1055
|
+
};
|
|
1056
|
+
}
|
|
1057
|
+
};
|
|
1058
|
+
const noRowCursor = {
|
|
1059
|
+
marker: null,
|
|
1060
|
+
stretch: null
|
|
1061
|
+
};
|
|
1062
|
+
const segmentRowCursor = (points, row) => row === null ? noRowCursor : {
|
|
1063
|
+
marker: activePointAt(points, row.to),
|
|
1064
|
+
stretch: lineBetween(points, row.from, row.to)
|
|
1065
|
+
};
|
|
1066
|
+
const waypointRowCursor = (points, row) => row === null ? noRowCursor : {
|
|
1067
|
+
marker: activePointAt(points, row.to),
|
|
1068
|
+
stretch: null
|
|
1069
|
+
};
|
|
1070
|
+
const litSegmentId = (highlighted, hovered) => highlighted === void 0 ? hovered : highlighted;
|
|
1071
|
+
const isSegmentRowLit = (row, pointedKey, litId) => row.key === pointedKey || rowStandsFor(row, litId);
|
|
1072
|
+
const placeSpans = (spans, totalDistance, range) => {
|
|
1073
|
+
const low = range === void 0 ? 0 : Math.min(range.from, range.to);
|
|
1074
|
+
const high = range === void 0 ? totalDistance : Math.max(range.from, range.to);
|
|
1075
|
+
return spans.flatMap((span, index) => {
|
|
1076
|
+
const from = Math.min(span.from, span.to);
|
|
1077
|
+
const to = Math.max(span.from, span.to);
|
|
1078
|
+
if (to <= low || from >= high) return [];
|
|
1079
|
+
const start = profileX(from, totalDistance, range);
|
|
1080
|
+
const end = profileX(to, totalDistance, range);
|
|
1081
|
+
return end > start ? [{
|
|
1082
|
+
end,
|
|
1083
|
+
from,
|
|
1084
|
+
index,
|
|
1085
|
+
span,
|
|
1086
|
+
start,
|
|
1087
|
+
to
|
|
1088
|
+
}] : [];
|
|
1089
|
+
});
|
|
1090
|
+
};
|
|
1091
|
+
export { classAt as $, PROFILE_PANEL_MIN_GAP as A, waypointSummary as At, dividesRoute as B, writeLegEmphasis as C, waypointDeclaresNothing as Ct, EMBED_PROFILE_CHARACTERISTICS_HEIGHT as D, waypointMediaPhotos as Dt, EMBED_PROFILE_ANCHOR_INSET as E, waypointMediaLinks as Et, PROFILE_LABEL_COLUMN as F, DEFAULT_READOUT_STATS as G, itineraryWaypointRows as H, PROFILE_PLOT_RIGHT_INSET as I, PROFILE_BOTTOM_INSET as J, profileReadout as K, distanceToFraction as L, estimateProfileHeight as M, isWebAddress as Mt, resolveProfileVisibility as N, formattedInstant as Nt, EMBED_PROFILE_PANEL_CHROME as O, waypointPropertyIsLink as Ot, PROFILE_CHART_HEIGHT as P, badgeFallback as Pt, anchoredDomain as Q, placeOnCurve as R, wayTypeColors as S, waypointContactRows as St, EMBED_PROFILE_ANALYSIS_HEIGHT as T, waypointMediaLinkIsLink as Tt, resolveCharacteristics as U, itinerarySegmentRows as V, resolveWaypoints as W, PROFILE_VIEWBOX as X, PROFILE_TOP_INSET as Y, SLOPE_COLOR_STOPS as Z, HIT_SLICES as _, amenityStacks as _t, waypointRowCursor as a, profilePolyline as at, distanceForSlice as b, amenityName as bt, segmentRowCell as c, slopeColors as ct, statStripCells as d, hideCursorMarker as dt, curveSpans as et, DEFAULT_SECTION_CHIP_STATS as f, showCursorMarker as ft, rowStandsFor as g, DEFAULT_AMENITY_STACK_MAX as gt, rowAt as h, profileSpans as ht, segmentRowCursor as i, profileDomain as it, embedFitPadding as j, waypointTimingRows as jt, EMBED_PROFILE_SECTION_GAP as k, waypointPropertyValue as kt, waypointRowCell as l, CURSOR_MARKER_GLYPH as lt, sectionGrade as m, carriesElevation as mt, isSegmentRowLit as n, domainTicks as nt, DEFAULT_SEGMENT_TABLE_COLUMNS as o, profileX as ot, sectionChipCells as p, cullCrowdedLabels as pt, PROFILE_BASELINE as q, litSegmentId as r, profileAreaPath as rt, DEFAULT_WAYPOINT_TABLE_COLUMNS as s, profileY as st, placeSpans as t, curveStops as tt, DEFAULT_STAT_STRIP_STATS as u, cursorMarkerIds as ut, SLICE_WIDTH as v, amenityFilter as vt, EMBED_FIT_BASE_MARGIN as w, waypointHeadline as wt, surfaceColors as x, waypointCard as xt, buildSlices as y, toggleAmenity as yt, chainGeometry as z };
|
|
1092
|
+
|
|
1093
|
+
//# sourceMappingURL=chunk-D0LF-99V.js.map
|