@mountaya/elements 0.0.0-stage → 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 +273 -0
- package/LICENCE.fr.txt +280 -0
- package/LICENSE.txt +262 -0
- package/README.md +1510 -2
- package/THIRD-PARTY-NOTICES.txt +103 -0
- package/dist/agent/index.cjs +1211 -0
- package/dist/agent/index.cjs.map +1 -0
- package/dist/agent/index.d.cts +1966 -0
- package/dist/agent/index.d.ts +1966 -0
- package/dist/agent/index.js +1181 -0
- package/dist/agent/index.js.map +1 -0
- package/dist/camera/index.cjs +2512 -0
- package/dist/camera/index.cjs.map +1 -0
- package/dist/camera/index.d.cts +1723 -0
- package/dist/camera/index.d.ts +1723 -0
- package/dist/camera/index.js +2443 -0
- package/dist/camera/index.js.map +1 -0
- package/dist/chunk-5pTPpv4v.d.cts +897 -0
- package/dist/chunk-5pTPpv4v.d.ts +897 -0
- package/dist/chunk-6JzFMFHh.d.ts +119 -0
- 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/chunk-A48H1rDg.d.cts +73 -0
- package/dist/chunk-A48H1rDg.d.ts +73 -0
- package/dist/chunk-B-m1AchR.cjs +57 -0
- package/dist/chunk-B-m1AchR.cjs.map +1 -0
- package/dist/chunk-B-qFTf04.d.ts +216 -0
- 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/chunk-B98mKrdu.d.cts +302 -0
- package/dist/chunk-BB0PmqIM.d.cts +44 -0
- 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/chunk-BNX5LAfN.d.cts +912 -0
- package/dist/chunk-BP6KgA86.js +35 -0
- package/dist/chunk-BP6KgA86.js.map +1 -0
- package/dist/chunk-BRnjQq6K.d.cts +157 -0
- 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/chunk-BZ5KyZXI.d.ts +302 -0
- 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/chunk-Bk0L8g5J.d.cts +77 -0
- package/dist/chunk-Bk0L8g5J.d.ts +77 -0
- 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/chunk-Bq_WHTfd.d.cts +119 -0
- package/dist/chunk-Bqt4LBBz.cjs +648 -0
- package/dist/chunk-Bqt4LBBz.cjs.map +1 -0
- package/dist/chunk-Bqt97zwf.d.cts +54 -0
- package/dist/chunk-Bqt97zwf.d.ts +54 -0
- 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/chunk-BxDQZDXR.d.cts +76 -0
- package/dist/chunk-BxDQZDXR.d.ts +76 -0
- 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/chunk-CAUZnoCs.d.ts +525 -0
- 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/chunk-CFIo021l.d.cts +216 -0
- 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/chunk-CWpqBgkF.d.cts +24 -0
- package/dist/chunk-CWpqBgkF.d.ts +24 -0
- 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/chunk-C_fQFr70.d.cts +159 -0
- package/dist/chunk-C_fQFr70.d.ts +159 -0
- 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/chunk-CeiTuMyt.d.cts +525 -0
- 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/chunk-D-4MxHTt.d.cts +105 -0
- package/dist/chunk-D-4MxHTt.d.ts +105 -0
- 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/chunk-D89E-w70.d.ts +44 -0
- 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/chunk-DJpUw8TN.d.ts +912 -0
- 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/chunk-DWsm3HIW.d.cts +120 -0
- package/dist/chunk-DWsm3HIW.d.ts +120 -0
- 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/chunk-DeSjQXiI.d.ts +157 -0
- 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/chunk-Dr5MCIpS.d.cts +63 -0
- package/dist/chunk-Dr5MCIpS.d.ts +63 -0
- 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/chunk-QKWhxfPv.d.cts +361 -0
- package/dist/chunk-QKWhxfPv.d.ts +361 -0
- 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/chunk-fozLXfHY.d.cts +55 -0
- package/dist/chunk-fozLXfHY.d.ts +55 -0
- 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 +831 -0
- package/dist/collab/index.cjs.map +1 -0
- package/dist/collab/index.d.cts +824 -0
- package/dist/collab/index.d.ts +824 -0
- package/dist/collab/index.js +819 -0
- package/dist/collab/index.js.map +1 -0
- package/dist/data/index.cjs +39 -0
- package/dist/data/index.d.cts +6 -0
- package/dist/data/index.d.ts +6 -0
- package/dist/data/index.js +7 -0
- package/dist/editor/index.cjs +2713 -0
- package/dist/editor/index.cjs.map +1 -0
- package/dist/editor/index.d.cts +10 -0
- package/dist/editor/index.d.ts +10 -0
- package/dist/editor/index.js +2702 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/errors/index.cjs +11 -0
- package/dist/errors/index.d.cts +2 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +1 -0
- package/dist/geo/index.cjs +68 -0
- package/dist/geo/index.d.cts +6 -0
- package/dist/geo/index.d.ts +6 -0
- package/dist/geo/index.js +11 -0
- package/dist/i18n/fr/index.cjs +333 -0
- package/dist/i18n/fr/index.cjs.map +1 -0
- package/dist/i18n/fr/index.d.cts +18 -0
- package/dist/i18n/fr/index.d.ts +18 -0
- package/dist/i18n/fr/index.js +328 -0
- package/dist/i18n/fr/index.js.map +1 -0
- package/dist/i18n/index.cjs +451 -0
- package/dist/i18n/index.cjs.map +1 -0
- package/dist/i18n/index.d.cts +268 -0
- package/dist/i18n/index.d.ts +268 -0
- package/dist/i18n/index.js +430 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/icons/index.cjs +37 -0
- package/dist/icons/index.d.cts +4 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.js +8 -0
- package/dist/index.cjs +517 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +174 -0
- package/dist/index.d.ts +174 -0
- package/dist/index.js +54 -0
- package/dist/index.js.map +1 -0
- package/dist/layers/index.cjs +83 -0
- package/dist/layers/index.d.cts +3 -0
- package/dist/layers/index.d.ts +3 -0
- package/dist/layers/index.js +5 -0
- package/dist/map-client/index.cjs +5 -0
- package/dist/map-client/index.d.cts +6 -0
- package/dist/map-client/index.d.ts +6 -0
- package/dist/map-client/index.js +0 -0
- package/dist/maplibre-worker.mjs +12 -0
- package/dist/navigation/index.cjs +612 -0
- package/dist/navigation/index.cjs.map +1 -0
- package/dist/navigation/index.d.cts +551 -0
- package/dist/navigation/index.d.ts +551 -0
- package/dist/navigation/index.js +599 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/profile/index.cjs +177 -0
- package/dist/profile/index.d.cts +8 -0
- package/dist/profile/index.d.ts +8 -0
- package/dist/profile/index.js +10 -0
- package/dist/seams/index.cjs +15 -0
- package/dist/seams/index.d.cts +4 -0
- package/dist/seams/index.d.ts +4 -0
- package/dist/seams/index.js +4 -0
- package/dist/search/index.cjs +39 -0
- package/dist/search/index.d.cts +6 -0
- package/dist/search/index.d.ts +6 -0
- package/dist/search/index.js +3 -0
- package/dist/style/index.cjs +34 -0
- package/dist/style/index.d.cts +5 -0
- package/dist/style/index.d.ts +5 -0
- package/dist/style/index.js +5 -0
- package/dist/styles.css +11 -0
- package/dist/testing/index.cjs +444 -0
- package/dist/testing/index.cjs.map +1 -0
- package/dist/testing/index.d.cts +217 -0
- package/dist/testing/index.d.ts +217 -0
- package/dist/testing/index.js +435 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/timezone/index.cjs +1953 -0
- package/dist/timezone/index.cjs.map +1 -0
- package/dist/timezone/index.d.cts +28 -0
- package/dist/timezone/index.d.ts +28 -0
- package/dist/timezone/index.js +1948 -0
- package/dist/timezone/index.js.map +1 -0
- package/dist/units/index.cjs +29 -0
- package/dist/units/index.d.cts +3 -0
- package/dist/units/index.d.ts +3 -0
- package/dist/units/index.js +3 -0
- package/dist/video/index.cjs +1713 -0
- package/dist/video/index.cjs.map +1 -0
- package/dist/video/index.d.cts +846 -0
- package/dist/video/index.d.ts +846 -0
- package/dist/video/index.js +1689 -0
- package/dist/video/index.js.map +1 -0
- package/dist/view/index.cjs +7 -0
- package/dist/view/index.d.cts +3 -0
- package/dist/view/index.d.ts +3 -0
- package/dist/view/index.js +1 -0
- package/package.json +433 -4
- package/src/agent/engines/session.ts +2255 -0
- package/src/agent/index.ts +109 -0
- package/src/agent/rules/agentError.ts +128 -0
- package/src/agent/rules/boundedInputJson.ts +53 -0
- package/src/agent/rules/conversation.ts +629 -0
- package/src/agent/rules/conversationFaults.ts +349 -0
- package/src/agent/rules/conversationHost.ts +390 -0
- package/src/agent/rules/dispatcher.ts +102 -0
- package/src/agent/rules/errorCodes.ts +78 -0
- package/src/agent/rules/errorStatus.ts +65 -0
- package/src/agent/rules/scriptedTransport.ts +390 -0
- package/src/agent/rules/stickToBottom.ts +38 -0
- package/src/agent/rules/toolResultPayload.ts +197 -0
- package/src/auth/rules/clientHeader.ts +22 -0
- package/src/auth/rules/sentCredential.ts +76 -0
- package/src/auth/rules/transformRequest.ts +803 -0
- package/src/camera/engines/videoFlight.ts +1758 -0
- package/src/camera/index.ts +157 -0
- package/src/camera/rules/clearance.ts +1099 -0
- package/src/camera/rules/fit.ts +132 -0
- package/src/camera/rules/modes.ts +1019 -0
- package/src/camera/rules/plan.ts +478 -0
- package/src/camera/rules/planner.ts +129 -0
- package/src/camera/rules/poseRanges.ts +38 -0
- package/src/camera/rules/presets.ts +185 -0
- package/src/camera/rules/profileSamples.ts +243 -0
- package/src/camera/rules/route.ts +596 -0
- package/src/camera/rules/routeContent.ts +105 -0
- package/src/camera/rules/spline.ts +765 -0
- package/src/camera/rules/sweptViewports.ts +39 -0
- package/src/camera/rules/track.ts +1412 -0
- package/src/camera/rules/vocabulary.ts +130 -0
- package/src/camera/rules/zoom.ts +216 -0
- package/src/collab/engines/session.ts +1902 -0
- package/src/collab/engines/trailingThrottle.ts +151 -0
- package/src/collab/index.ts +52 -0
- package/src/collab/rules/dispatch.ts +143 -0
- package/src/collab/rules/peerNames.ts +51 -0
- package/src/collab/rules/scriptedTransport.ts +244 -0
- package/src/compose/engines/baseMapSwitch.ts +1136 -0
- package/src/compose/engines/events.ts +962 -0
- package/src/compose/engines/mountayaMap.ts +5648 -0
- package/src/compose/engines/sentCredentials.ts +146 -0
- package/src/compose/engines/slotRequests.ts +413 -0
- package/src/compose/rules/accessRefusal.ts +109 -0
- package/src/compose/rules/accessStanding.ts +75 -0
- package/src/compose/rules/analysisKinds.ts +331 -0
- package/src/compose/rules/analysisLayers.ts +176 -0
- package/src/compose/rules/cameraMoves.ts +38 -0
- package/src/compose/rules/carriedLayers.ts +87 -0
- package/src/compose/rules/developmentWarnings.ts +167 -0
- package/src/compose/rules/fitBox.ts +67 -0
- package/src/compose/rules/fitCamera.ts +54 -0
- package/src/compose/rules/geoJsonSlot.ts +61 -0
- package/src/compose/rules/geometrySlots.ts +155 -0
- package/src/compose/rules/glyphNode.ts +62 -0
- package/src/compose/rules/layerKeys.ts +92 -0
- package/src/compose/rules/layerOrder.ts +85 -0
- package/src/compose/rules/layersManifest.ts +26 -0
- package/src/compose/rules/mapOptions.ts +300 -0
- package/src/compose/rules/maplibreWorkerVersion.gen.ts +8 -0
- package/src/compose/rules/markerPin.ts +122 -0
- package/src/compose/rules/markerRegistry.ts +85 -0
- package/src/compose/rules/markerSprite.ts +382 -0
- package/src/compose/rules/maxBounds.ts +120 -0
- package/src/compose/rules/overlayLookup.ts +49 -0
- package/src/compose/rules/paintDiff.ts +38 -0
- package/src/compose/rules/panLock.ts +77 -0
- package/src/compose/rules/patch.ts +124 -0
- package/src/compose/rules/queriedFeature.ts +55 -0
- package/src/compose/rules/queryLayers.ts +46 -0
- package/src/compose/rules/searchHighlight.ts +313 -0
- package/src/compose/rules/slotNames.ts +19 -0
- package/src/compose/rules/stripeImage.ts +253 -0
- package/src/compose/rules/swapMarker.ts +66 -0
- package/src/compose/rules/terrainVariant.ts +88 -0
- package/src/compose/rules/types.ts +559 -0
- package/src/compose/rules/urlHash.ts +19 -0
- package/src/compose/rules/viewOptions.ts +451 -0
- package/src/compose/rules/workerUrl.ts +131 -0
- package/src/data/engines/itineraryResource.ts +643 -0
- package/src/data/index.ts +78 -0
- package/src/data/rules/adapt.ts +473 -0
- package/src/data/rules/editModes.ts +51 -0
- package/src/data/rules/itinerary.ts +168 -0
- package/src/data/rules/nullable.ts +63 -0
- package/src/data/rules/roadAccess.ts +169 -0
- package/src/data/rules/segmentGroups.ts +309 -0
- package/src/data/rules/selectors.ts +95 -0
- package/src/data/rules/zones.ts +79 -0
- package/src/draw/engines/boundaryEngine.ts +1003 -0
- package/src/draw/engines/framedAdapter.ts +198 -0
- package/src/draw/engines/pointerCursor.ts +205 -0
- package/src/draw/engines/segmentEngine.ts +1405 -0
- package/src/draw/engines/snapIndex.ts +254 -0
- package/src/draw/engines/waypointEngine.ts +574 -0
- package/src/draw/engines/zoneEngine.ts +1137 -0
- package/src/draw/rules/drawFrame.ts +123 -0
- package/src/draw/rules/insertVertex.ts +226 -0
- package/src/draw/rules/screenSpace.ts +62 -0
- package/src/draw/rules/seeds.ts +185 -0
- package/src/draw/rules/snap.ts +115 -0
- package/src/draw/rules/snapCameraKey.ts +50 -0
- package/src/draw/rules/terraDrawShared.ts +214 -0
- package/src/draw/rules/zoneOutline.ts +213 -0
- package/src/editing/engines/cursor.ts +505 -0
- package/src/editing/engines/draftMarker.ts +149 -0
- package/src/editing/rules/accent.ts +11 -0
- package/src/editing/rules/engine.ts +288 -0
- package/src/editing/rules/placement.ts +22 -0
- package/src/editing/rules/positions.ts +89 -0
- package/src/editing/rules/sources.ts +9 -0
- package/src/editing/rules/types.ts +457 -0
- package/src/editing/rules/vocabulary.ts +10 -0
- package/src/editing/rules/waypointCursor.ts +228 -0
- package/src/editor/engines/directionArrows.ts +459 -0
- package/src/editor/engines/directions.ts +1383 -0
- package/src/editor/engines/editorClient.ts +134 -0
- package/src/editor/engines/eventScope.ts +59 -0
- package/src/editor/engines/frameLoop.ts +159 -0
- package/src/editor/engines/itineraryPreview.ts +272 -0
- package/src/editor/engines/mapLockGuard.ts +66 -0
- package/src/editor/engines/overlayRenderer.ts +2696 -0
- package/src/editor/engines/peerDraft.ts +760 -0
- package/src/editor/engines/poiPick.ts +305 -0
- package/src/editor/engines/pointPick.ts +84 -0
- package/src/editor/engines/roadAccessLine.ts +140 -0
- package/src/editor/engines/searchHighlight.ts +183 -0
- package/src/editor/engines/viewClient.ts +4091 -0
- package/src/editor/engines/zoneBadges.ts +503 -0
- package/src/editor/index.ts +97 -0
- package/src/editor/rules/accentColor.ts +116 -0
- package/src/editor/rules/camera.ts +121 -0
- package/src/editor/rules/contract.ts +120 -0
- package/src/editor/rules/icons.ts +825 -0
- package/src/editor/rules/markerElements.ts +244 -0
- package/src/editor/rules/style.ts +51 -0
- package/src/editor/rules/terrain.ts +98 -0
- package/src/editor/rules/tileWarm.ts +191 -0
- package/src/editor/rules/tilesReload.ts +158 -0
- package/src/editor/rules/zoneBadgePlacement.ts +1832 -0
- package/src/editor/rules/zoneTimeStyling.ts +119 -0
- package/src/errors/index.ts +25 -0
- package/src/errors/rules/errors.ts +158 -0
- package/src/errors/rules/print.ts +129 -0
- package/src/geo/index.ts +89 -0
- package/src/geo/rules/boundaries.ts +105 -0
- package/src/geo/rules/camera.ts +496 -0
- package/src/geo/rules/corridor.ts +242 -0
- package/src/geo/rules/elevationTiles.ts +269 -0
- package/src/geo/rules/formatLngLat.ts +63 -0
- package/src/geo/rules/geodesy.ts +125 -0
- package/src/geo/rules/geometry.ts +362 -0
- package/src/geo/rules/lineWalk.ts +77 -0
- package/src/geo/rules/longitude.ts +99 -0
- package/src/geo/rules/searchLimits.ts +22 -0
- package/src/geo/rules/segmentGeometry.ts +80 -0
- package/src/geo/rules/terrain.ts +107 -0
- package/src/geo/rules/tuples.ts +124 -0
- package/src/geo/rules/types.ts +54 -0
- package/src/geo/rules/webMercator.ts +57 -0
- package/src/i18n/fr/index.ts +17 -0
- package/src/i18n/fr/rules/fr.ts +85 -0
- package/src/i18n/fr/rules/words.gen.ts +277 -0
- package/src/i18n/index.ts +82 -0
- package/src/i18n/rules/bundle.ts +378 -0
- package/src/i18n/rules/config.ts +71 -0
- package/src/i18n/rules/dates.ts +165 -0
- package/src/i18n/rules/endonyms.gen.ts +19 -0
- package/src/i18n/rules/language.ts +92 -0
- package/src/i18n/rules/localizedName.ts +33 -0
- package/src/i18n/rules/merge.ts +106 -0
- package/src/i18n/rules/scope.ts +127 -0
- package/src/i18n/rules/strings.ts +632 -0
- package/src/i18n/rules/videoOverlay.ts +121 -0
- package/src/i18n/rules/wordForms.ts +95 -0
- package/src/i18n/rules/words.gen.ts +277 -0
- package/src/icons/index.ts +54 -0
- package/src/icons/rules/activities.ts +40 -0
- package/src/icons/rules/amenities.ts +250 -0
- package/src/icons/rules/artwork.gen.ts +83 -0
- package/src/icons/rules/artwork.ts +47 -0
- package/src/icons/rules/fallback.ts +21 -0
- package/src/icons/rules/lucideMarkers.gen.ts +112 -0
- package/src/icons/rules/lucideUi.gen.ts +197 -0
- package/src/icons/rules/paint.ts +107 -0
- package/src/icons/rules/parse.ts +475 -0
- package/src/icons/rules/provider.ts +373 -0
- package/src/icons/rules/sprites.ts +54 -0
- package/src/icons/rules/ui.ts +348 -0
- package/src/icons/rules/waypoints.ts +215 -0
- package/src/index.ts +993 -0
- package/src/layers/engines/layersSelection.ts +515 -0
- package/src/layers/engines/readoutEngine.ts +131 -0
- package/src/layers/index.ts +151 -0
- package/src/layers/rules/analysis.ts +135 -0
- package/src/layers/rules/enrichment.ts +30 -0
- package/src/layers/rules/geoJson.ts +270 -0
- package/src/layers/rules/hover.ts +67 -0
- package/src/layers/rules/itineraries.ts +182 -0
- package/src/layers/rules/layersPanel.ts +237 -0
- package/src/layers/rules/order.ts +194 -0
- package/src/layers/rules/overlayInstant.ts +49 -0
- package/src/layers/rules/overlays.ts +52 -0
- package/src/layers/rules/poiPanel.ts +119 -0
- package/src/layers/rules/pois.ts +114 -0
- package/src/layers/rules/readout.ts +340 -0
- package/src/layers/rules/streetView.ts +16 -0
- package/src/layers/rules/tileTimestamp.ts +146 -0
- package/src/layers/rules/timeSlider.ts +192 -0
- package/src/layers/rules/timeWindow.ts +123 -0
- package/src/layers/rules/zones.ts +43 -0
- package/src/layers/rules/zoom.ts +77 -0
- package/src/map-client/index.ts +71 -0
- package/src/map-client/rules/mapClient.ts +1945 -0
- package/src/navigation/engines/navigation.ts +493 -0
- package/src/navigation/index.ts +51 -0
- package/src/navigation/rules/followedRoute.ts +78 -0
- package/src/navigation/rules/instructions.ts +89 -0
- package/src/navigation/rules/itineraryRoute.ts +232 -0
- package/src/navigation/rules/offRoute.ts +41 -0
- package/src/navigation/rules/progress.ts +230 -0
- package/src/navigation/rules/prompts.ts +217 -0
- package/src/navigation/rules/routeRequest.ts +98 -0
- package/src/navigation/rules/status.ts +142 -0
- package/src/navigation/rules/steps.ts +234 -0
- package/src/navigation/rules/types.ts +83 -0
- package/src/profile/index.ts +307 -0
- package/src/profile/rules/amenityBadge.ts +35 -0
- package/src/profile/rules/amenityFilter.ts +74 -0
- package/src/profile/rules/amenityStacks.ts +66 -0
- package/src/profile/rules/axis.ts +89 -0
- package/src/profile/rules/axisCulling.ts +83 -0
- package/src/profile/rules/axisLookup.ts +180 -0
- package/src/profile/rules/climbs.ts +292 -0
- package/src/profile/rules/cursorMarker.ts +122 -0
- package/src/profile/rules/cursorReadout.ts +104 -0
- package/src/profile/rules/curvePlacement.ts +216 -0
- package/src/profile/rules/dock.ts +293 -0
- package/src/profile/rules/elevation.ts +1263 -0
- package/src/profile/rules/instant.ts +89 -0
- package/src/profile/rules/intl.ts +237 -0
- package/src/profile/rules/legEmphasis.ts +53 -0
- package/src/profile/rules/profileColors.ts +66 -0
- package/src/profile/rules/profileLayout.ts +59 -0
- package/src/profile/rules/profileSlices.ts +55 -0
- package/src/profile/rules/routeProfile.ts +475 -0
- package/src/profile/rules/rowMatch.ts +50 -0
- package/src/profile/rules/scale.ts +646 -0
- package/src/profile/rules/scaleFrame.ts +171 -0
- package/src/profile/rules/sectionChips.ts +83 -0
- package/src/profile/rules/sections.ts +923 -0
- package/src/profile/rules/slopeRamp.ts +160 -0
- package/src/profile/rules/statStrip.ts +103 -0
- package/src/profile/rules/steepness.ts +51 -0
- package/src/profile/rules/tableCells.ts +269 -0
- package/src/profile/rules/tableCursor.ts +87 -0
- package/src/profile/rules/unitPatterns.ts +335 -0
- package/src/profile/rules/units.ts +1025 -0
- package/src/profile/rules/waypointCard.ts +590 -0
- package/src/profile/rules/webAddress.ts +130 -0
- package/src/profile/rules/windowSpans.ts +65 -0
- package/src/rules/asciiFold.ts +17 -0
- package/src/rules/inDevelopment.ts +54 -0
- package/src/rules/listeners.ts +62 -0
- package/src/rules/timers.ts +9 -0
- package/src/rules/types.ts +22 -0
- package/src/rules/uuid.ts +87 -0
- package/src/seams/engines/geolocateControl.ts +286 -0
- package/src/seams/index.ts +50 -0
- package/src/seams/rules/clock.ts +169 -0
- package/src/seams/rules/geolocation.ts +165 -0
- package/src/seams/rules/segmentRoute.ts +187 -0
- package/src/search/engines/search.ts +1093 -0
- package/src/search/index.ts +99 -0
- package/src/search/rules/describe.ts +383 -0
- package/src/search/rules/filters.ts +195 -0
- package/src/search/rules/highlight.ts +270 -0
- package/src/search/rules/pick.ts +90 -0
- package/src/search/rules/rows.ts +258 -0
- package/src/search/rules/searchFocus.ts +27 -0
- package/src/search/rules/searchViewport.ts +44 -0
- package/src/search/rules/shown.ts +77 -0
- package/src/search/rules/types.ts +340 -0
- package/src/stream/rules/reconnectSchedule.ts +83 -0
- package/src/style/engines/organizationRead.ts +80 -0
- package/src/style/index.ts +63 -0
- package/src/style/rules/apply.ts +268 -0
- package/src/style/rules/attribution.ts +119 -0
- package/src/style/rules/itineraryLine.ts +142 -0
- package/src/style/rules/language.ts +668 -0
- package/src/style/rules/layout.gen.ts +27 -0
- package/src/style/rules/organization.ts +96 -0
- package/src/style/rules/paint.ts +143 -0
- package/src/style/rules/panelLayout.ts +51 -0
- package/src/style/rules/roadAccessColors.ts +29 -0
- package/src/style/rules/roadAccessLine.ts +267 -0
- package/src/style/rules/segmentColors.ts +207 -0
- package/src/testing/catalogs.ts +103 -0
- package/src/testing/index.ts +30 -0
- package/src/testing/mapClient.ts +241 -0
- package/src/testing/mountayaMap.ts +741 -0
- package/src/timezone/index.ts +14 -0
- package/src/timezone/rules/viewport.ts +875 -0
- package/src/units/index.ts +55 -0
- package/src/units/rules/conversions.ts +620 -0
- package/src/units/rules/preferenceChoices.ts +124 -0
- package/src/units/rules/preferences.ts +77 -0
- package/src/units/rules/rounding.ts +69 -0
- package/src/video/engines/videoRun.ts +654 -0
- package/src/video/engines/viewClient.ts +6 -0
- package/src/video/index.ts +83 -0
- package/src/video/profileOverlay/rules/contract.ts +210 -0
- package/src/video/profileOverlay/rules/curve.ts +216 -0
- package/src/video/profileOverlay/rules/draw.ts +410 -0
- package/src/video/profileOverlay/rules/fonts.ts +54 -0
- package/src/video/profileOverlay/rules/graphDesign.ts +690 -0
- package/src/video/profileOverlay/rules/minimalDesign.ts +144 -0
- package/src/video/profileOverlay/rules/registry.ts +23 -0
- package/src/video/profileOverlay/rules/staticLayer.ts +582 -0
- package/src/video/profileOverlay/rules/stripDesign.ts +327 -0
- package/src/video/profileOverlay/rules/types.ts +78 -0
- package/src/video/rules/videoConstants.ts +250 -0
- package/src/video/rules/videoEncoder.ts +277 -0
- package/src/video/rules/videoFrames.ts +99 -0
- package/src/video/rules/videoPreview.ts +185 -0
- package/src/video/rules/videoRecorder.ts +746 -0
- package/src/video/rules/videoWatermark.ts +155 -0
- package/src/video/rules/watermarkMark.ts +40 -0
- package/src/view/engines/viewClient.ts +6 -0
- package/src/view/index.ts +20 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { _ as createTransformRequest, a as ZOOM_EASE_MS, b as MapEvents, c as CameraConstraints, d as RawMap, f as TerrainVariant, g as TransformedRequest, h as TransformRequestOptions, i as STREETVIEW_COVERAGE_TILES, l as MapLibreOptions, m as RequestTransform, n as STREETVIEW_COVERAGE_LAYER, o as maplibregl, p as MapCredential, r as STREETVIEW_COVERAGE_SOURCE, s as LayerPatch, t as MountayaMap, u as MountayaMapOptions, v as GeometrySlot, y as MapEventEngine } from "./chunk-CeD8Hw0j.cjs";
|
|
2
|
+
import { a as tileSourceLayerRanks, i as rankForTileLayer, n as POI_SOURCE_LAYER_NAMES, r as poiSourceLayers, t as LayerRank } from "./chunk-Bq_WHTfd.cjs";
|
|
3
|
+
import { $ as SuggestionsInput, A as ItineraryDrawOptions, B as MountedSpecification, C as DirectionsResult, D as GeocodeResult, E as GeocodeInput, F as MatrixMetric, G as QueriedFeature, H as PoiCategory, I as MatrixResult, J as RouteHazard, K as RasterPaint, L as MountOptions, M as MarkerOptions, N as MatrixDrawOptions, O as IsochronesInput, P as MatrixInput, Q as SuggestionDrawOptions, R as MountayaMapEvent, S as DirectionsInput, T as FitBoundsOptions, U as PoisInput, V as Overlay, W as PoisResult, X as SearchResult, Y as SearchInput, Z as SearchTargetsInput, _ as CameraPose, a as SegmentEditOptions, b as DataActivitySlug, c as WaypointEditOptions, d as WaypointPoiSeed, et as SuggestionsResult, f as ZoneDraft, g as Camera, h as AnalysisId, i as SegmentDraft, j as Layers, k as IsochronesResult, l as WaypointEngineDraftChange, m as AnalysisHandle, n as BoundaryEditOptions, nt as Unsubscribe, o as SegmentViaPromptEvent, p as ZoneEditOptions, q as Renderable, r as DraftPhase, rt as ZoomRange, s as WaypointDraftSnapshot, t as BoundaryDraft, tt as Terrain, u as WaypointPoiCapture, v as CategoryOverlays, w as DrawOptions, x as DataRangeType, y as CollectionDrawOptions, z as MountayaMapEvents } from "./chunk-bY7ySujI.cjs";
|
|
4
|
+
import { S as invalidateItineraryResource, _ as itineraryWaypoint, a as SEGMENT_GROUP_ID_PREFIX, b as ItineraryResourceEngine, c as groupIdForSegment, d as maxOrNull, f as minOrNull, g as itinerarySegments, h as itineraryGeometry, i as waypointsForSelection, l as segmentGroupOptionId, m as itineraryCharacteristics, n as segmentsForSelection, o as SEGMENT_GROUP_MIN_MEMBERS, p as sumOrNull, r as waypointGeometries, s as applySegmentGroups, t as segmentGeometries, u as segmentIdsForOption, v as itineraryWaypoints, x as ItineraryResourceEngineOptions, y as ItineraryResource } from "./chunk-CjDe9z6A.cjs";
|
|
5
|
+
import { a as SEGMENT_EDIT_MODES, c as WaypointEditMode, i as ZoneMode, n as ZONE_MODES, o as SegmentEditMode, r as ZoneLevel, s as WAYPOINT_EDIT_MODES, t as ZONE_LEVELS } from "./chunk-A48H1rDg.cjs";
|
|
6
|
+
import { _ as fetchItinerary, a as buildElevationPoints, b as bandValueAt, c as profileCharacteristics, d as FetchItineraryOptions, f as ItinerarySegment, g as ItineraryWithDetails, h as ItineraryWaypoint, i as WaypointProjection, l as projectWaypoints, m as ItinerarySource, n as ProfileCharacteristics, o as buildInfoBands, p as ItinerarySegmentGroup, r as WAYPOINT_PROXIMITY_METERS, s as committedPaceOf, t as IndexedInfo, u as trailDifficultyRank, v as InfoBand, x as nearestRoutePointIndexAt, y as RouteProfilePoint } from "./chunk-QKWhxfPv.cjs";
|
|
7
|
+
import { i as roadAccessKindOf, n as RoadAccessKind, r as roadAccessFeatures, t as ROAD_ACCESS_KINDS } from "./chunk-Dr5MCIpS.cjs";
|
|
8
|
+
import { a as EDIT_MOVE_CURSOR, i as EDIT_GRAB_CURSOR, n as EDIT_CROSS_CURSOR, o as ZONE_CREATE_CURSOR, r as EDIT_GRABBING_CURSOR, t as CURSOR_LOCK_DATA_ATTRIBUTE } from "./chunk-DIFjT5-V.cjs";
|
|
9
|
+
import { a as errorFrom, i as MountayaElementsRejectionError, n as MountayaElementsForbiddenError, r as MountayaElementsNotFoundError, t as MountayaElementsError } from "./chunk-CC_Kquu7.cjs";
|
|
10
|
+
import { A as distanceToSegmentMeters, B as ZOOM_BUFFER, C as extractLines, D as geometriesEqual, E as flattenGeometries, F as MAX_BOUNDS_MIN_PAD_DEG, G as maxBoundsLongitudes, H as boundingBoxSpanMeters, I as MAX_BOUNDS_PAD_FRACTION, J as specificationBounds, K as normalizeBoundingBox, L as TILE_ZOOM_MAX, M as routeLines, N as EFFECTIVE_MIN_ZOOM_FLOOR, O as segmentLineCoordinates, P as EFFECTIVE_ZOOM_MIN_SPAN, R as TILE_ZOOM_MIN, S as extractLineStrings, T as extractVias, U as boundsWithPixelPadding, V as ZoomBounds, W as effectiveZoomBounds, X as boundingBoxToBoundary, Y as boundaryToBoundingBox, Z as selectBoundary, _ as wrapLongitude, a as SlopeAspect, b as boundsOf, c as slopeAspectFromNeighbours, d as DIRECTIONS_VIA_MIN, f as SEGMENT_MIN_VIAS, g as longitudeDelta, h as LONGITUDE_LIMIT, i as AspectCardinal, j as metersToRoute, k as formatLngLat, l as DIRECTIONS_VIA_COUNTER_THRESHOLD, m as LATITUDE_LIMIT, n as pointTuple, o as TerrainNeighbours, p as buildSegmentGeometry, q as paddedMaxBounds, r as viewportBoundsFrom, s as aspectCardinal, t as boundsTuple, u as DIRECTIONS_VIA_MAX, v as wrapLongitudePastRange, w as extractPoint, x as buildGeometryCollection, y as boundingBoxToPolygon, z as WEB_MERCATOR_MAX_LAT } from "./chunk-CKhCOVIf.cjs";
|
|
11
|
+
import { a as decodeElevation, i as TerrainReading, n as ElevationSource, o as elevationTilesAt, r as ElevationTile, s as terrainFromElevationTiles, t as ElevationEncoding } from "./chunk-BxDQZDXR.cjs";
|
|
12
|
+
import { r as haversineMeters, t as EARTH_RADIUS_METERS } from "./chunk-Bk0L8g5J.cjs";
|
|
13
|
+
import { t as SEARCH_LIMIT_MAX } from "./chunk-CWpqBgkF.cjs";
|
|
14
|
+
import { i as MapViewport, n as FitBoundsPadding, r as LngLat, t as BoundingBox } from "./chunk-fozLXfHY.cjs";
|
|
15
|
+
import { C as Artwork, S as watermarkArtwork, T as activityMarkerIcon, _ as allowedAttributes, a as WAYPOINT_FALLBACK_GLYPH, b as lucideIconProvider, c as WaypointGlyph, d as UiGlyph, f as WAYPOINT_ICON_PREFIX, g as GlyphElement, h as glyphPaint, i as UserWaypointIcon, l as WaypointIconGroupId, m as ShapePaint, n as DEFAULT_WAYPOINT_ICON, o as WAYPOINT_GLYPHS, p as waypointIconImageId, r as USER_WAYPOINT_ICONS, s as WAYPOINT_ICON_GROUPS, t as DEFAULT_WAYPOINT_COLOR, u as UI_GLYPHS, v as parseGlyph, w as ACTIVITY_MARKER_PREFIX, x as placeGlyph, y as lucideUiIconProvider } from "./chunk-QXW7b4Ev.cjs";
|
|
16
|
+
import { a as WAYPOINT_PROPERTY_FORMATS, c as WaypointPropertyFormat, i as WAYPOINT_AMENITY_GROUPS, l as amenityGlyph, n as AmenityGlyph, o as WaypointAmenity, r as WAYPOINT_AMENITIES, s as WaypointAmenityGroupId, t as AMENITY_GLYPHS } from "./chunk-C_fQFr70.cjs";
|
|
17
|
+
import { i as clampMapLanguage, n as MAP_LANGUAGES, o as languageEndonym, r as MapLanguage, t as DataLanguage } from "./chunk-Bqt97zwf.cjs";
|
|
18
|
+
import { a as fallbackProvider, i as createIconProvider, n as IconProvider, r as IconProviderOptions, t as GlyphPaint } from "./chunk-DWsm3HIW.cjs";
|
|
19
|
+
import { $ as ITINERARY_POINT_SOURCE_LAYER, A as PoiPanelRowsInput, At as SUGGESTION_ALTERNATIVE_COLOR, B as LayersPanelRow, Bt as LayersSelectionEngineOptions, C as ReadoutRow, Ct as MATRIX_LINE_MIN_WIDTH, D as poiCategoryStyles, Dt as RESULT_POINT_RADIUS, E as omtCategoryToPoiEnum, Et as POI_RESULT_POINT_COLOR, F as overlayInstant, Ft as matrixLineWidth, G as ITINERARY_CASING_LAYER_SUFFIX, H as layersPanelPress, Ht as LayersSelectionTarget, I as LayersPanelCategory, It as ReadoutEngine, J as ITINERARY_DASHED_OPACITY, K as ITINERARY_CASING_OPACITY, L as LayersPanelChoice, Lt as ReadoutEngineOptions, M as poiPanelRows, Mt as SUGGESTION_ALTERNATIVE_OPACITY, N as OverlayKind, Nt as SUGGESTION_CHOSEN_COLOR, O as PoiPanelRow, Ot as RESULT_POINT_STROKE_COLOR, P as findOverlay, Pt as isochroneColor, Q as ITINERARY_LINE_WIDTH_STOPS, R as LayersPanelInput, Rt as ReadoutOpen, S as ReadoutReading, St as MATRIX_LINE_MAX_WIDTH, T as PoiCategoryStyle, Tt as PLACE_POINT_COLOR, U as layersPanelSections, V as LayersPanelSection, Vt as LayersSelectionSnapshot, W as ITINERARY_CASING_COLOR, X as ITINERARY_LINE_DASHARRAY, Y as ITINERARY_ENDPOINT_ICONS, Z as ITINERARY_LINE_SOURCE_LAYER, _ as timestampedSources, _t as ISOCHRONE_FILL_OPACITY, a as ZONE_FILL_SOURCE_LAYER, at as hoveredItinerary, b as ReadoutInput, bt as ISOCHRONE_RAMP, c as TimeSliderTick, ct as isochronesToGeoJson, d as timeSliderTicks, dt as poisToGeoJson, et as ITINERARY_RESTRICTION_SOURCE_LAYER, f as TIME_WINDOW_FUTURE_HOURS, ft as suggestionsToGeoJson, g as TimestampedSource, gt as DIRECTIONS_LINE_COLOR, h as timeSliderWindow, ht as isEnrichmentCategory, i as ZONE_DEFAULT_COLOR, it as HoveredItinerary, j as poiPanelNoteZoom, jt as SUGGESTION_ALTERNATIVE_DASHARRAY, k as PoiPanelRows, kt as RESULT_POINT_STROKE_WIDTH, l as timeSliderReadout, lt as matrixToGeoJson, m as TimeSliderWindow, mt as POIS_OVERLAY_SLUG, n as paintZoomRange, nt as itineraryLineLayout, o as zoneLevelColors, ot as analysisProps, p as TIME_WINDOW_PAST_HOURS, pt as ENRICHMENT_CATEGORY_SLUG, q as ITINERARY_CASING_WIDTH_STOPS, r as zoomIntoRange, rt as roadAccessIconLayerIdOf, s as TimeSliderReadout, st as directionsToGeoJson, t as PaintedLayers, tt as isItineraryCasingLayer, u as timeSliderRelease, ut as placesToGeoJson, v as STREETVIEW_MIN_ZOOM, vt as ISOCHRONE_LINE_COLOR, w as readoutRows, wt as MATRIX_LINE_OPACITY, x as ReadoutMeasure, xt as MATRIX_LINE_COLOR, y as ReadoutCategoryLabel, yt as ISOCHRONE_LINE_WIDTH, z as LayersPanelPress, zt as LayersSelectionEngine } from "./chunk-B0YROiZh.cjs";
|
|
20
|
+
import { $ as sectionChipCells, $t as curveSpans, A as SegmentRowCell, An as DEFAULT_AMENITY_STACK_MAX, At as ProfileVisibility, B as classifySteepness, Bn as climbAt, Bt as placeOnCurve, C as TableCursor, Cn as showCursorMarker, Ct as EMBED_PROFILE_ANALYSIS_HEIGHT, D as waypointRowCursor, Dn as carriesElevation, Dt as EMBED_PROFILE_SECTION_GAP, E as segmentRowCursor, En as ProfileSpan, Et as EMBED_PROFILE_PANEL_CHROME, F as segmentRowCell, Fn as BadgeSurface, Ft as PlaceOnCurveInput, G as statStripCells, Gt as PROFILE_TOP_INSET, H as StatStripCell, Hn as detectClimbs, Ht as CurveStop, I as waypointRowCell, In as badgeFallback, It as PlaceOnCurveValue, J as SlopeRampStop, Jt as ProfileClass, K as ASCENT_RAMP_STOPS, Kt as PROFILE_VIEWBOX, L as STEEPNESS_OVERLAY_SLUG, Ln as CLIMB_CATEGORIES, Lt as PlacedCutoff, M as WaypointRowCell, Mn as AmenityFilter, Mt as embedFitPadding, N as WaypointRowCellOptions, Nn as amenityFilter, Nt as estimateProfileHeight, O as DEFAULT_SEGMENT_TABLE_COLUMNS, On as profileSpans, Ot as EmbedProfileSections, P as WaypointTableColumn, Pn as toggleAmenity, Pt as resolveProfileVisibility, Q as SectionChipStat, Qt as classAt, R as STEEPNESS_THRESHOLDS, Rn as ClimbCategory, Rt as PlacedDivider, S as waypointTimingRows, Sn as hideCursorMarker, St as EMBED_FIT_BASE_MARGIN, T as litSegmentId, Tn as cullCrowdedLabels, Tt as EMBED_PROFILE_CHARACTERISTICS_HEIGHT, U as StatStripCursor, Ut as PROFILE_BASELINE, V as DEFAULT_STAT_STRIP_STATS, Vn as climbCategoryFor, Vt as CurveColor, W as StatStripStat, Wt as PROFILE_BOTTOM_INSET, X as DEFAULT_SECTION_CHIP_STATS, Xt as SlopeColorStop, Y as slopeRampColor, Yt as SLOPE_COLOR_STOPS, Z as SectionChipCell, Zt as anchoredDomain, _ as waypointMediaLinks, _n as CURSOR_MARKER_GLYPH, _t as dateTimeFormat, a as WaypointCardField, an as profileX, at as SLICE_WIDTH, b as waypointPropertyValue, bn as CursorMarkerPoint, bt as relativeTimeFormat, c as WaypointCardStringsLike, cn as DistanceTick, ct as PROFILE_CHART_HEIGHT, d as amenityName, dn as DEFAULT_READOUT_STATS, dt as distanceToFraction, en as curveStops, et as sectionGrade, f as waypointCard, fn as ProfileReadout, ft as surfaceColors, g as waypointMediaLinkIsLink, gn as profileReadout, gt as clearIntlCache, h as waypointHeadline, hn as ReadoutStat, ht as writeLegEmphasis, i as WaypointCardFacts, in as profilePolyline, it as HitSlice, j as SegmentTableColumn, jn as amenityStacks, jt as ProfileVisibilityInput, k as DEFAULT_WAYPOINT_TABLE_COLUMNS, kn as AmenityStack, kt as PROFILE_PANEL_MIN_GAP, l as WaypointContactRow, ln as ElevationDomain, lt as PROFILE_LABEL_COLUMN, m as waypointDeclaresNothing, mn as ReadoutCell, mt as LegEmphasisMap, n as placeSpans, nn as profileAreaPath, nt as rowStandsFor, o as WaypointCardRow, on as profileY, ot as buildSlices, p as waypointContactRows, pn as ProfileReadoutOptions, pt as wayTypeColors, q as DESCENT_RAMP_STOPS, qt as ProfileAnchor, r as isWebAddress, rn as profileDomain, rt as HIT_SLICES, s as WaypointCardService, sn as slopeColors, st as distanceForSlice, t as PlacedSpan, tn as domainTicks, tt as rowAt, u as WaypointMediaLink, un as distanceTicks, ut as PROFILE_PLOT_RIGHT_INSET, v as waypointMediaPhotos, vn as CursorMarkerMap, vt as displayNames, w as isSegmentRowLit, wn as AxisLabelBox, wt as EMBED_PROFILE_ANCHOR_INSET, x as waypointSummary, xn as cursorMarkerIds, xt as formattedInstant, y as waypointPropertyIsLink, yn as CursorMarkerPin, yt as numberFormat, z as SteepnessClass, zn as ClimbSpan, zt as PlacedWaypointMark } from "./chunk-blfknWoM.cjs";
|
|
21
|
+
import { $ as projectMarkers, A as ElevationSeries, B as ProjectedMarker, C as itinerarySegmentRows, D as CumulativeElevation, E as resolveWaypoints, F as MIN_RANGE_SPAN_METERS, G as downsampleElevation, H as buildElevationSeries, I as MarkerToProject, J as lineBetween, K as elevationAt, L as ProfileInput, M as MARKER_BELONGING_METERS, N as MARKER_PROXIMITY_METERS, O as ELEVATION_NOISE_THRESHOLD_METERS, P as MAX_PROFILE_POINTS, Q as profileTotals, R as ProfileRange, S as dividesRoute, T as resolveCharacteristics, U as clampRange, V as activePointAt, W as cumulativeElevation, X as profileLength, Y as nearestPointIndexAt, Z as profileLines, _ as WaypointPhotoDetail, a as ItinerarySegmentRowOverride, b as WaypointTimingDetail, c as PlacedWaypoint, d as WaypointAt, et as rangeTotals, f as WaypointContactDetail, g as WaypointOn, h as WaypointMediaDetail, i as ItinerarySegmentRowMetrics, j as GRADE_WINDOW_METERS, k as ElevationPoint, l as ResolvedCharacteristics, m as WaypointLinkDetail, n as ItinerarySegmentInput, o as ItineraryWaypointRow, p as WaypointDetails, q as gradeAt, r as ItinerarySegmentRow, s as ItineraryWaypointRowMetrics, t as ItineraryCharacteristics, u as Waypoint, v as WaypointPropertyDetail, w as itineraryWaypointRows, x as chainGeometry, y as WaypointPropertyFormatDetail, z as ProfileTotals } from "./chunk-BNX5LAfN.cjs";
|
|
22
|
+
import { $ as convertTemperature, A as resolveSpeedKmh, B as MINUTES_PER_HOUR, C as kilometersPerHourToDisplay, D as parseDistanceToMeters, E as parseAscentToMeters, F as DataSizeUnit, G as SlopeUnit, H as RADIANS_TO_DEGREES, I as DurationUnit, J as convertDuration, K as SpeedUnit, L as LengthUnit, M as splitDuration, N as DEGREES_PER_TURN, O as parsePaceClock, P as DEGREES_TO_RADIANS, Q as convertSpeed, R as METERS_PER_KILOMETER, S as formatTemperature, T as paceMinutesToClockNumber, U as SECONDS_PER_HOUR, V as ProportionUnit, W as SECONDS_PER_MINUTE, X as convertProportion, Y as convertLength, Z as convertSlope, _ as formatProportion, a as displayToKilometersPerHour, at as UnitLength, b as formatSnowfall, c as elevationUnitFor, ct as UnitTemperature, d as formatDuration, et as isPaceUnit, f as formatElevation, g as formatPaceClock, h as formatNumber, i as defaultUnits, it as UNIT_TEMPERATURES, j as speedUnitFor, k as parseSpeedToKmh, l as formatAltitudeRange, m as formatNavDistance, n as MeasurementFormatOptions, nt as UNIT_PACES, o as distanceUnitFor, ot as UnitPace, p as formatHumidity, q as convertDataSize, r as UnitFormatOptions, rt as UNIT_SLOPES, s as durationForSpeed, st as UnitSlope, t as DurationForSpeedInput, tt as UNIT_LENGTHS, u as formatDistance, v as formatSlope, w as paceClockNumberToMinutes, x as formatSpeed, y as formatSnowDepth, z as MILLISECONDS_PER_SECOND } from "./chunk-5pTPpv4v.cjs";
|
|
23
|
+
import { i as TileSpecification, n as TileSource, r as TileSourceType, t as TileLayer } from "./chunk-bYf1sBz5.cjs";
|
|
24
|
+
import { a as GeolocateControlEngine, c as GeolocateControlTarget, i as systemClock, n as manualClock, o as GeolocateControlEngineOptions, r as repeatEvery, s as GeolocateControlSnapshot, t as Clock } from "./chunk-BsBiN4w6.cjs";
|
|
25
|
+
import { a as browserGeolocation, i as GeolocationSeam, n as GeolocationFixOptions, o as inertGeolocation, r as GeolocationPermission, t as GeolocationFix } from "./chunk-D-4MxHTt.cjs";
|
|
26
|
+
import { a as SegmentRouteAnalysisEntry, c as SegmentRouteOptions, i as SegmentRouteAnalysis, l as SegmentRouteResult, n as SegmentAnalyzeFn, o as SegmentRouteElevation, r as SegmentRoute, s as SegmentRouteFn, t as SEGMENT_ROUTE_REFUSED } from "./chunk-BRnjQq6K.cjs";
|
|
27
|
+
import { A as describePoi, B as SearchEngine, C as everySectionEmpty, D as sectionHasRows, E as searchListState, F as wayTitle, H as SearchFetch, I as SEARCH_DEBOUNCE_MS, L as SEARCH_TARGETS, M as describeZone, N as placeTitle, O as sectionsForFilter, P as poiTitle, R as SEARCH_VIEWPORT_REFRESH_MS, S as SearchListStatus, T as searchFilterTargets, U as SearchUnsubscribe, V as SearchEngineOptions, W as SearchViewport, _ as splitByRanges, a as createSearchViewport, b as SearchFilter, c as placeRow, d as zoneRow, f as SearchPick, g as highlightRanges, h as HighlightPart, i as SearchCameraSource, j as describeWay, k as describePlace, l as poiRow, m as pickTarget, n as shownSearchSnapshot, o as collectionRow, p as SearchPickCamera, r as unansweredSearchSnapshot, s as itineraryRow, t as SearchOwed, u as wayRow, v as FailedSearchSection, w as firstActiveSection, x as SearchListState, y as SEARCH_FILTERS, z as SearchConfig } from "./chunk-BhWfT-22.cjs";
|
|
28
|
+
import { C as SearchTargetName, E as ZoneRow, S as SearchSnapshot, T as WayRow, _ as SearchRowPayloadWay, a as PlaceRow, b as SearchSection, c as SearchHighlight, d as SearchRow, f as SearchRowPayload, g as SearchRowPayloadPoi, h as SearchRowPayloadPlace, i as MatchedRange, l as SearchLabel, m as SearchRowPayloadItinerary, n as DataZoneLevel, o as PoiRow, p as SearchRowPayloadCollection, r as ItineraryRow, s as SECTION_ORDER, t as CollectionRow, u as SearchLabelResolver, v as SearchRowPayloadZone, w as SearchWording, x as SearchSectionState, y as SearchRowSecondary } from "./chunk-B98mKrdu.cjs";
|
|
29
|
+
import { C as applySpecification, D as OrganizationReadEngine, E as tileSourceSpec, S as StyleTarget, T as tileLayerSpec, _ as itineraryDashedLineSpec, a as segmentColorAt, b as BASEMAP_ATTRIBUTION, c as PanelFrame, d as OrganizationReadState, f as WatermarkPage, g as itineraryCasingSpec, h as ItineraryLineOptions, i as pickLivelyColor, l as PanelLayout, m as organizationWatermark, n as LIVELY_PALETTE, o as roadAccessColors, p as WatermarkPlacement, r as assignDistinctColors, s as roadAccessGlyph, t as DEFAULT_SEGMENT_COLOR, u as panelLayout, v as itineraryLineSpec, w as removeSpecification, x as ApplySpecificationOptions, y as zoomInterpolatedWidth } from "./chunk-CTNoajFh.cjs";
|
|
30
|
+
import { a as LanguageStyleTarget, i as resolveMapPaint, n as MapPaintOverrides, o as applyLanguageToStyle, r as defaultMapPaint, t as MapPaint } from "./chunk-DTctvfSd.cjs";
|
|
31
|
+
import { a as preferenceChoices, i as PreferencePress, n as PreferenceField, o as preferencePress, r as PreferenceOption, t as PreferenceChoice } from "./chunk-B14wgOvH.cjs";
|
|
32
|
+
import { Map } from "maplibre-gl";
|
|
33
|
+
/**
|
|
34
|
+
* Building parsed glyph shapes into a live SVG element.
|
|
35
|
+
*
|
|
36
|
+
* The DOM half of the glyph pipeline, and it is a module of its own because it is the half
|
|
37
|
+
* that does not travel. `icons/rules/parse.ts` turns markup into structured shapes and is a
|
|
38
|
+
* function of its input, which is what a Dart, Swift or Kotlin port reimplements; this takes
|
|
39
|
+
* those shapes and asks a document to make nodes out of them, which no port reimplements
|
|
40
|
+
* because each platform's own SVG API is the answer there.
|
|
41
|
+
*
|
|
42
|
+
* It lives under `compose/` rather than under `icons/` for that reason alone: `compose` is the
|
|
43
|
+
* facade's tree and is reachable only from the package root, where the renderer already is,
|
|
44
|
+
* while `@mountaya/elements/icons` is an entry a consumer takes precisely because it costs
|
|
45
|
+
* nothing that needs a browser.
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* appendGlyph builds the parsed shapes into an existing SVG element.
|
|
49
|
+
*
|
|
50
|
+
* `createElementNS` with the SVG namespace, not `innerHTML`: an element created in the HTML
|
|
51
|
+
* namespace looks right in the inspector and renders as nothing. The parse is what keeps the
|
|
52
|
+
* markup safe to build at all (see the allowlist it enforces).
|
|
53
|
+
*
|
|
54
|
+
* @param svg The element the shapes are appended to, in the document that owns it.
|
|
55
|
+
* @param markup The glyph's markup, as an icon provider answers it.
|
|
56
|
+
*/
|
|
57
|
+
export declare const appendGlyph: (svg: SVGElement, markup: string) => void;
|
|
58
|
+
/**
|
|
59
|
+
* beforeIdForRank resolves the `beforeId` that inserts a layer of the given rank into its
|
|
60
|
+
* deterministic position. It walks the live layer ids in their current draw order (bottom
|
|
61
|
+
* to top) and returns the first one that is tracked AND ranks strictly higher: the new
|
|
62
|
+
* layer inserts directly beneath it, so it lands above every lower-or-equal-ranked tracked
|
|
63
|
+
* layer and below every higher-ranked one. When no tracked layer ranks higher it returns
|
|
64
|
+
* undefined, meaning "add on top".
|
|
65
|
+
*
|
|
66
|
+
* The ids come from `getLayersOrder` rather than `getStyle`: only the id is weighed, and
|
|
67
|
+
* `getStyle` serializes the entire style document on every call, a cost this resolver
|
|
68
|
+
* would pay once per insertion, and a terrain switch replays every slot through it.
|
|
69
|
+
*
|
|
70
|
+
* Only tracked layers are weighed, so untracked base-style layers are never chosen as an
|
|
71
|
+
* anchor and stay beneath the ranked ones.
|
|
72
|
+
*
|
|
73
|
+
* The registry has to be passed in rather than derived from the style, which is why this is
|
|
74
|
+
* a function over state rather than a pure ordering: MapLibre's style carries no notion of
|
|
75
|
+
* who added a layer or why, so the only way to tell a ranked layer from a base-style layer is
|
|
76
|
+
* to have recorded it at insertion time.
|
|
77
|
+
*
|
|
78
|
+
* @param map The map whose live layers are walked.
|
|
79
|
+
* @param layerRankById The rank of every tracked layer, by id.
|
|
80
|
+
* @param rank The rank of the layer about to be inserted.
|
|
81
|
+
* @returns The id to insert before, or `undefined` to add on top.
|
|
82
|
+
*/
|
|
83
|
+
export declare const beforeIdForRank: (map: Map, layerRankById: ReadonlyMap<string, number>, rank: LayerRank) => string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* The camera in the URL.
|
|
86
|
+
*
|
|
87
|
+
* MapLibre owns the `#view` hash and writes it with `history.replaceState`, which most
|
|
88
|
+
* routers never observe. So a navigation that serializes the router's own idea of the hash
|
|
89
|
+
* writes an empty one and **drops the camera from the URL**: a shared or bookmarked link
|
|
90
|
+
* then opens on the default view rather than the one that was shared.
|
|
91
|
+
*
|
|
92
|
+
* This is a published contract rather than an application detail: `#view` is what every
|
|
93
|
+
* Mountaya embed URL carries, so a consumer building their own routing needs the same
|
|
94
|
+
* value on every navigation.
|
|
95
|
+
*/
|
|
96
|
+
/**
|
|
97
|
+
* currentMapHash returns the live URL hash without its leading `#`, for a router navigation
|
|
98
|
+
* to carry through. Empty outside a browser.
|
|
99
|
+
*/
|
|
100
|
+
export declare const currentMapHash: () => string;
|
|
101
|
+
/**
|
|
102
|
+
* ensureMapLibreWorker points MapLibre at the tile worker this package publishes, unless the
|
|
103
|
+
* consumer has already pointed it somewhere themselves.
|
|
104
|
+
*
|
|
105
|
+
* **What it is for.** MapLibre 6 loads its worker from a URL instead of inlining it, and derives
|
|
106
|
+
* one from its own `import.meta.url` when nobody supplies it. After bundling that is the
|
|
107
|
+
* consumer's emitted chunk rather than the installed package, so it asks for a worker beside
|
|
108
|
+
* their hashed assets and gets a 404. Nothing throws: the canvas mounts, the controls work, and
|
|
109
|
+
* no tile ever loads. Upstream's answer is a one-time `setWorkerUrl()` per application, spelled
|
|
110
|
+
* differently for every bundler: a setup step with a silent failure mode, which is exactly the
|
|
111
|
+
* kind of step this package exists to absorb.
|
|
112
|
+
*
|
|
113
|
+
* **Why a bare self-reference.** `new URL(…, import.meta.url)` is the one asset form every
|
|
114
|
+
* bundler resolves and emits, and it is matched SYNTACTICALLY: the specifier and
|
|
115
|
+
* `import.meta.url` have to sit in the expression literally, which is why neither is lifted into
|
|
116
|
+
* a variable here however much tidier that would read. Naming the package rather than a relative
|
|
117
|
+
* path is what makes it survive the layouts this module is read under: the build may place this
|
|
118
|
+
* code in any chunk at any depth, and the `@mountaya/source` condition resolves it straight out
|
|
119
|
+
* of `src/`, so any `./` is right in one layout and wrong in another. A package name is the same
|
|
120
|
+
* string from all of them.
|
|
121
|
+
*
|
|
122
|
+
* **Why the worker is this package's and not the consumer's copy.** Pointing at
|
|
123
|
+
* `maplibre-gl/dist/maplibre-gl-worker.mjs` is worse than doing nothing: that file imports a far
|
|
124
|
+
* larger sibling by literal filename, bundlers hash asset names, and the emitted result is a stub
|
|
125
|
+
* whose first import 404s. `scripts/build-worker.mjs` inlines the sibling so the published
|
|
126
|
+
* artifact is a plain self-contained asset. The cost is that it is built against the maplibre-gl
|
|
127
|
+
* this package pins while the peer admits any `^6`, which is what the version check below is
|
|
128
|
+
* for.
|
|
129
|
+
*
|
|
130
|
+
* **A consumer who chose always wins.** The URL is only written when nothing holds one, so
|
|
131
|
+
* calling `setWorkerUrl` yourself (the exact-version escape hatch, and the CDN case where
|
|
132
|
+
* MapLibre's own detection is already right) keeps working and is never second-guessed.
|
|
133
|
+
*
|
|
134
|
+
* **A build that resolves nothing is told so.** A bundler with no asset handling leaves the
|
|
135
|
+
* expression to the browser, which joins the specifier onto the chunk's own address. In development
|
|
136
|
+
* `warnOnUnrewrittenWorker` says so once, naming the address and the `setWorkerUrl` call that
|
|
137
|
+
* replaces it.
|
|
138
|
+
*/
|
|
139
|
+
export declare const ensureMapLibreWorker: () => void;
|
|
140
|
+
/**
|
|
141
|
+
* Whether a developer is the one reading the page, for what is said to a developer alone: a
|
|
142
|
+
* console warning, the cause of a failure beside its sentence.
|
|
143
|
+
*/
|
|
144
|
+
/**
|
|
145
|
+
* inDevelopment reports whether a developer is reading this page: every build a bundler did not
|
|
146
|
+
* mark as production, and every page served with no bundler at all.
|
|
147
|
+
*
|
|
148
|
+
* It reads `process.env.NODE_ENV`, whole, because that expression is what a bundler replaces with
|
|
149
|
+
* a literal: a production build then reads `"production" !== "production"`. Under Node the name
|
|
150
|
+
* is the real one. A page that loads a package from a CDN has neither a bundler nor a `process`,
|
|
151
|
+
* and it is a developer's page.
|
|
152
|
+
*
|
|
153
|
+
* The answer is a reading of the build, never a proof of it. A production build whose bundler
|
|
154
|
+
* writes nothing over `process.env.NODE_ENV`, run where no `process` exists, states no mode and
|
|
155
|
+
* is read as development. Gate on it only what is safe to show a visitor of such a build, a
|
|
156
|
+
* warning or a diagnostic detail, and never a credential or a debugging door.
|
|
157
|
+
*
|
|
158
|
+
* @returns `false` when the mode is `"production"`, and `true` for every other mode, for no mode
|
|
159
|
+
* and where no `process` exists to read.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* ```ts
|
|
163
|
+
* import { inDevelopment } from "@mountaya/elements";
|
|
164
|
+
*
|
|
165
|
+
* declare const cause: Error;
|
|
166
|
+
*
|
|
167
|
+
* if (inDevelopment()) {
|
|
168
|
+
* console.warn("The map's stylesheet is not loaded.", cause);
|
|
169
|
+
* }
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
export declare const inDevelopment: () => boolean;
|
|
173
|
+
export { ACTIVITY_MARKER_PREFIX, AMENITY_GLYPHS, ASCENT_RAMP_STOPS, type AmenityFilter, type AmenityGlyph, type AmenityStack, type AnalysisHandle, type AnalysisId, type ApplySpecificationOptions, type Artwork, type AspectCardinal, type AxisLabelBox, BASEMAP_ATTRIBUTION, type BadgeSurface, type BoundaryDraft, type BoundaryEditOptions, type BoundingBox, CLIMB_CATEGORIES, CURSOR_LOCK_DATA_ATTRIBUTE, CURSOR_MARKER_GLYPH, type Camera, type CameraConstraints, type CameraPose, type CategoryOverlays, type ClimbCategory, type ClimbSpan, type Clock, type CollectionDrawOptions, type CollectionRow, type CumulativeElevation, type CursorMarkerMap, type CursorMarkerPin, type CursorMarkerPoint, type CurveColor, type CurveStop, DEFAULT_AMENITY_STACK_MAX, DEFAULT_READOUT_STATS, DEFAULT_SECTION_CHIP_STATS, DEFAULT_SEGMENT_COLOR, DEFAULT_SEGMENT_TABLE_COLUMNS, DEFAULT_STAT_STRIP_STATS, DEFAULT_WAYPOINT_COLOR, DEFAULT_WAYPOINT_ICON, DEFAULT_WAYPOINT_TABLE_COLUMNS, DEGREES_PER_TURN, DEGREES_TO_RADIANS, DESCENT_RAMP_STOPS, DIRECTIONS_LINE_COLOR, DIRECTIONS_VIA_COUNTER_THRESHOLD, DIRECTIONS_VIA_MAX, DIRECTIONS_VIA_MIN, type DataActivitySlug, type DataLanguage, type DataRangeType, type DataSizeUnit, type DataZoneLevel, type DirectionsInput, type DirectionsResult, type DistanceTick, type DraftPhase, type DrawOptions, type DurationForSpeedInput, type DurationUnit, EARTH_RADIUS_METERS, EDIT_CROSS_CURSOR, EDIT_GRABBING_CURSOR, EDIT_GRAB_CURSOR, EDIT_MOVE_CURSOR, EFFECTIVE_MIN_ZOOM_FLOOR, EFFECTIVE_ZOOM_MIN_SPAN, ELEVATION_NOISE_THRESHOLD_METERS, EMBED_FIT_BASE_MARGIN, EMBED_PROFILE_ANALYSIS_HEIGHT, EMBED_PROFILE_ANCHOR_INSET, EMBED_PROFILE_CHARACTERISTICS_HEIGHT, EMBED_PROFILE_PANEL_CHROME, EMBED_PROFILE_SECTION_GAP, ENRICHMENT_CATEGORY_SLUG, type ElevationDomain, type ElevationEncoding, type ElevationPoint, type ElevationSeries, type ElevationSource, type ElevationTile, type EmbedProfileSections, type FailedSearchSection, type FetchItineraryOptions, type FitBoundsOptions, type FitBoundsPadding, GRADE_WINDOW_METERS, type GeocodeInput, type GeocodeResult, GeolocateControlEngine, type GeolocateControlEngineOptions, type GeolocateControlSnapshot, type GeolocateControlTarget, type GeolocationFix, type GeolocationFixOptions, type GeolocationPermission, type GeolocationSeam, type GeometrySlot, type GlyphElement, type GlyphPaint, HIT_SLICES, type HighlightPart, type HitSlice, type HoveredItinerary, ISOCHRONE_FILL_OPACITY, ISOCHRONE_LINE_COLOR, ISOCHRONE_LINE_WIDTH, ISOCHRONE_RAMP, ITINERARY_CASING_COLOR, ITINERARY_CASING_LAYER_SUFFIX, ITINERARY_CASING_OPACITY, ITINERARY_CASING_WIDTH_STOPS, ITINERARY_DASHED_OPACITY, ITINERARY_ENDPOINT_ICONS, ITINERARY_LINE_DASHARRAY, ITINERARY_LINE_SOURCE_LAYER, ITINERARY_LINE_WIDTH_STOPS, ITINERARY_POINT_SOURCE_LAYER, ITINERARY_RESTRICTION_SOURCE_LAYER, type IconProvider, type IconProviderOptions, type IndexedInfo, type InfoBand, type IsochronesInput, type IsochronesResult, type ItineraryCharacteristics, type ItineraryDrawOptions, type ItineraryLineOptions, type ItineraryResource, ItineraryResourceEngine, type ItineraryResourceEngineOptions, type ItineraryRow, type ItinerarySegment, type ItinerarySegmentGroup, type ItinerarySegmentInput, type ItinerarySegmentRow, type ItinerarySegmentRowMetrics, type ItinerarySegmentRowOverride, type ItinerarySource, type ItineraryWaypoint, type ItineraryWaypointRow, type ItineraryWaypointRowMetrics, type ItineraryWithDetails, LATITUDE_LIMIT, LIVELY_PALETTE, LONGITUDE_LIMIT, type LanguageStyleTarget, type LayerPatch, LayerRank, type Layers, type LayersPanelCategory, type LayersPanelChoice, type LayersPanelInput, type LayersPanelPress, type LayersPanelRow, type LayersPanelSection, LayersSelectionEngine, type LayersSelectionEngineOptions, type LayersSelectionSnapshot, type LayersSelectionTarget, type LegEmphasisMap, type LengthUnit, type LngLat, MAP_LANGUAGES, MARKER_BELONGING_METERS, MARKER_PROXIMITY_METERS, MATRIX_LINE_COLOR, MATRIX_LINE_MAX_WIDTH, MATRIX_LINE_MIN_WIDTH, MATRIX_LINE_OPACITY, MAX_BOUNDS_MIN_PAD_DEG, MAX_BOUNDS_PAD_FRACTION, MAX_PROFILE_POINTS, METERS_PER_KILOMETER, MILLISECONDS_PER_SECOND, MINUTES_PER_HOUR, MIN_RANGE_SPAN_METERS, type MapCredential, MapEventEngine, type MapEvents, type MapLanguage, type MapLibreOptions, type MapPaint, type MapPaintOverrides, type MapViewport, type MarkerOptions, type MarkerToProject, type MatchedRange, type MatrixDrawOptions, type MatrixInput, type MatrixMetric, type MatrixResult, type MeasurementFormatOptions, type MountOptions, MountayaElementsError, MountayaElementsForbiddenError, MountayaElementsNotFoundError, MountayaElementsRejectionError, MountayaMap, type MountayaMapEvent, type MountayaMapEvents, type MountayaMapOptions, type MountedSpecification, OrganizationReadEngine, type OrganizationReadState, type Overlay, type OverlayKind, PLACE_POINT_COLOR, POIS_OVERLAY_SLUG, POI_RESULT_POINT_COLOR, POI_SOURCE_LAYER_NAMES, PROFILE_BASELINE, PROFILE_BOTTOM_INSET, PROFILE_CHART_HEIGHT, PROFILE_LABEL_COLUMN, PROFILE_PANEL_MIN_GAP, PROFILE_PLOT_RIGHT_INSET, PROFILE_TOP_INSET, PROFILE_VIEWBOX, type PaintedLayers, type PanelFrame, type PanelLayout, type PlaceOnCurveInput, type PlaceOnCurveValue, type PlaceRow, type PlacedCutoff, type PlacedDivider, type PlacedSpan, type PlacedWaypoint, type PlacedWaypointMark, type PoiCategory, type PoiCategoryStyle, type PoiPanelRow, type PoiPanelRows, type PoiPanelRowsInput, type PoiRow, type PoisInput, type PoisResult, type PreferenceChoice, type PreferenceField, type PreferenceOption, type PreferencePress, type ProfileAnchor, type ProfileCharacteristics, type ProfileClass, type ProfileInput, type ProfileRange, type ProfileReadout, type ProfileReadoutOptions, type ProfileSpan, type ProfileTotals, type ProfileVisibility, type ProfileVisibilityInput, type ProjectedMarker, type ProportionUnit, type QueriedFeature, RADIANS_TO_DEGREES, RESULT_POINT_RADIUS, RESULT_POINT_STROKE_COLOR, RESULT_POINT_STROKE_WIDTH, ROAD_ACCESS_KINDS, type RasterPaint, type RawMap, type ReadoutCategoryLabel, type ReadoutCell, ReadoutEngine, type ReadoutEngineOptions, type ReadoutInput, type ReadoutMeasure, type ReadoutOpen, type ReadoutReading, type ReadoutRow, type ReadoutStat, type Renderable, type RequestTransform, type ResolvedCharacteristics, type RoadAccessKind, type RouteHazard, type RouteProfilePoint, SEARCH_DEBOUNCE_MS, SEARCH_FILTERS, SEARCH_LIMIT_MAX, SEARCH_TARGETS, SEARCH_VIEWPORT_REFRESH_MS, SECONDS_PER_HOUR, SECONDS_PER_MINUTE, SECTION_ORDER, SEGMENT_EDIT_MODES, SEGMENT_GROUP_ID_PREFIX, SEGMENT_GROUP_MIN_MEMBERS, SEGMENT_MIN_VIAS, SEGMENT_ROUTE_REFUSED, SLICE_WIDTH, SLOPE_COLOR_STOPS, STEEPNESS_OVERLAY_SLUG, STEEPNESS_THRESHOLDS, STREETVIEW_COVERAGE_LAYER, STREETVIEW_COVERAGE_SOURCE, STREETVIEW_COVERAGE_TILES, STREETVIEW_MIN_ZOOM, SUGGESTION_ALTERNATIVE_COLOR, SUGGESTION_ALTERNATIVE_DASHARRAY, SUGGESTION_ALTERNATIVE_OPACITY, SUGGESTION_CHOSEN_COLOR, type SearchCameraSource, type SearchConfig, SearchEngine, type SearchEngineOptions, type SearchFetch, type SearchFilter, type SearchHighlight, type SearchInput, type SearchLabel, type SearchLabelResolver, type SearchListState, type SearchListStatus, type SearchOwed, type SearchPick, type SearchPickCamera, type SearchResult, type SearchRow, type SearchRowPayload, type SearchRowPayloadCollection, type SearchRowPayloadItinerary, type SearchRowPayloadPlace, type SearchRowPayloadPoi, type SearchRowPayloadWay, type SearchRowPayloadZone, type SearchRowSecondary, type SearchSection, type SearchSectionState, type SearchSnapshot, type SearchTargetName, type SearchTargetsInput, type SearchUnsubscribe, type SearchViewport, type SearchWording, type SectionChipCell, type SectionChipStat, type SegmentAnalyzeFn, type SegmentDraft, type SegmentEditMode, type SegmentEditOptions, type SegmentRoute, type SegmentRouteAnalysis, type SegmentRouteAnalysisEntry, type SegmentRouteElevation, type SegmentRouteFn, type SegmentRouteOptions, type SegmentRouteResult, type SegmentRowCell, type SegmentTableColumn, type SegmentViaPromptEvent, type ShapePaint, type SlopeAspect, type SlopeColorStop, type SlopeRampStop, type SlopeUnit, type SpeedUnit, type StatStripCell, type StatStripCursor, type StatStripStat, type SteepnessClass, type StyleTarget, type SuggestionDrawOptions, type SuggestionsInput, type SuggestionsResult, TILE_ZOOM_MAX, TILE_ZOOM_MIN, TIME_WINDOW_FUTURE_HOURS, TIME_WINDOW_PAST_HOURS, type TableCursor, type Terrain, type TerrainNeighbours, type TerrainReading, type TerrainVariant, type TileLayer, type TileSource, type TileSourceType, type TileSpecification, type TimeSliderReadout, type TimeSliderTick, type TimeSliderWindow, type TimestampedSource, type TransformRequestOptions, type TransformedRequest, UI_GLYPHS, UNIT_LENGTHS, UNIT_PACES, UNIT_SLOPES, UNIT_TEMPERATURES, USER_WAYPOINT_ICONS, type UiGlyph, type UnitFormatOptions, type UnitLength, type UnitPace, type UnitSlope, type UnitTemperature, type Unsubscribe, type UserWaypointIcon, WAYPOINT_AMENITIES, WAYPOINT_AMENITY_GROUPS, WAYPOINT_EDIT_MODES, WAYPOINT_FALLBACK_GLYPH, WAYPOINT_GLYPHS, WAYPOINT_ICON_GROUPS, WAYPOINT_ICON_PREFIX, WAYPOINT_PROPERTY_FORMATS, WAYPOINT_PROXIMITY_METERS, WEB_MERCATOR_MAX_LAT, type WatermarkPage, type WatermarkPlacement, type WayRow, type Waypoint, type WaypointAmenity, type WaypointAmenityGroupId, type WaypointAt, type WaypointCardFacts, type WaypointCardField, type WaypointCardRow, type WaypointCardService, type WaypointCardStringsLike, type WaypointContactDetail, type WaypointContactRow, type WaypointDetails, type WaypointDraftSnapshot, type WaypointEditMode, type WaypointEditOptions, type WaypointEngineDraftChange, type WaypointGlyph, type WaypointIconGroupId, type WaypointLinkDetail, type WaypointMediaDetail, type WaypointMediaLink, type WaypointOn, type WaypointPhotoDetail, type WaypointPoiCapture, type WaypointPoiSeed, type WaypointProjection, type WaypointPropertyDetail, type WaypointPropertyFormat, type WaypointPropertyFormatDetail, type WaypointRowCell, type WaypointRowCellOptions, type WaypointTableColumn, type WaypointTimingDetail, ZONE_CREATE_CURSOR, ZONE_DEFAULT_COLOR, ZONE_FILL_SOURCE_LAYER, ZONE_LEVELS, ZONE_MODES, ZOOM_BUFFER, ZOOM_EASE_MS, type ZoneDraft, type ZoneEditOptions, type ZoneLevel, type ZoneMode, type ZoneRow, type ZoomBounds, type ZoomRange, activePointAt, activityMarkerIcon, allowedAttributes, amenityFilter, amenityGlyph, amenityName, amenityStacks, analysisProps, anchoredDomain, applyLanguageToStyle, applySegmentGroups, applySpecification, aspectCardinal, assignDistinctColors, badgeFallback, bandValueAt, boundaryToBoundingBox, boundingBoxSpanMeters, boundingBoxToBoundary, boundingBoxToPolygon, boundsOf, boundsTuple, boundsWithPixelPadding, browserGeolocation, buildElevationPoints, buildElevationSeries, buildGeometryCollection, buildInfoBands, buildSegmentGeometry, buildSlices, carriesElevation, chainGeometry, clampMapLanguage, clampRange, classAt, classifySteepness, clearIntlCache, climbAt, climbCategoryFor, collectionRow, committedPaceOf, convertDataSize, convertDuration, convertLength, convertProportion, convertSlope, convertSpeed, convertTemperature, createIconProvider, createSearchViewport, createTransformRequest, cullCrowdedLabels, cumulativeElevation, cursorMarkerIds, curveSpans, curveStops, dateTimeFormat, decodeElevation, defaultMapPaint, defaultUnits, describePlace, describePoi, describeWay, describeZone, detectClimbs, directionsToGeoJson, displayNames, displayToKilometersPerHour, distanceForSlice, distanceTicks, distanceToFraction, distanceToSegmentMeters, distanceUnitFor, dividesRoute, domainTicks, downsampleElevation, durationForSpeed, effectiveZoomBounds, elevationAt, elevationTilesAt, elevationUnitFor, embedFitPadding, errorFrom, estimateProfileHeight, everySectionEmpty, extractLineStrings, extractLines, extractPoint, extractVias, fallbackProvider, fetchItinerary, findOverlay, firstActiveSection, flattenGeometries, formatAltitudeRange, formatDistance, formatDuration, formatElevation, formatHumidity, formatLngLat, formatNavDistance, formatNumber, formatPaceClock, formatProportion, formatSlope, formatSnowDepth, formatSnowfall, formatSpeed, formatTemperature, formattedInstant, geometriesEqual, glyphPaint, gradeAt, groupIdForSegment, haversineMeters, hideCursorMarker, highlightRanges, hoveredItinerary, inertGeolocation, invalidateItineraryResource, isEnrichmentCategory, isItineraryCasingLayer, isPaceUnit, isSegmentRowLit, isWebAddress, isochroneColor, isochronesToGeoJson, itineraryCasingSpec, itineraryCharacteristics, itineraryDashedLineSpec, itineraryGeometry, itineraryLineLayout, itineraryLineSpec, itineraryRow, itinerarySegmentRows, itinerarySegments, itineraryWaypoint, itineraryWaypointRows, itineraryWaypoints, kilometersPerHourToDisplay, languageEndonym, layersPanelPress, layersPanelSections, lineBetween, litSegmentId, longitudeDelta, lucideIconProvider, lucideUiIconProvider, manualClock, maplibregl, matrixLineWidth, matrixToGeoJson, maxBoundsLongitudes, maxOrNull, metersToRoute, minOrNull, nearestPointIndexAt, nearestRoutePointIndexAt, normalizeBoundingBox, numberFormat, omtCategoryToPoiEnum, organizationWatermark, overlayInstant, paceClockNumberToMinutes, paceMinutesToClockNumber, paddedMaxBounds, paintZoomRange, panelLayout, parseAscentToMeters, parseDistanceToMeters, parseGlyph, parsePaceClock, parseSpeedToKmh, pickLivelyColor, pickTarget, placeGlyph, placeOnCurve, placeRow, placeSpans, placeTitle, placesToGeoJson, poiCategoryStyles, poiPanelNoteZoom, poiPanelRows, poiRow, poiSourceLayers, poiTitle, pointTuple, poisToGeoJson, preferenceChoices, preferencePress, profileAreaPath, profileCharacteristics, profileDomain, profileLength, profileLines, profilePolyline, profileReadout, profileSpans, profileTotals, profileX, profileY, projectMarkers, projectWaypoints, rangeTotals, rankForTileLayer, readoutRows, relativeTimeFormat, removeSpecification, repeatEvery, resolveCharacteristics, resolveMapPaint, resolveProfileVisibility, resolveSpeedKmh, resolveWaypoints, roadAccessColors, roadAccessFeatures, roadAccessGlyph, roadAccessIconLayerIdOf, roadAccessKindOf, routeLines, rowAt, rowStandsFor, searchFilterTargets, searchListState, sectionChipCells, sectionGrade, sectionHasRows, sectionsForFilter, segmentColorAt, segmentGeometries, segmentGroupOptionId, segmentIdsForOption, segmentLineCoordinates, segmentRowCell, segmentRowCursor, segmentsForSelection, selectBoundary, showCursorMarker, shownSearchSnapshot, slopeAspectFromNeighbours, slopeColors, slopeRampColor, specificationBounds, speedUnitFor, splitByRanges, splitDuration, statStripCells, suggestionsToGeoJson, sumOrNull, surfaceColors, systemClock, terrainFromElevationTiles, tileLayerSpec, tileSourceLayerRanks, tileSourceSpec, timeSliderReadout, timeSliderRelease, timeSliderTicks, timeSliderWindow, timestampedSources, toggleAmenity, trailDifficultyRank, unansweredSearchSnapshot, viewportBoundsFrom, watermarkArtwork, wayRow, wayTitle, wayTypeColors, waypointCard, waypointContactRows, waypointDeclaresNothing, waypointGeometries, waypointHeadline, waypointIconImageId, waypointMediaLinkIsLink, waypointMediaLinks, waypointMediaPhotos, waypointPropertyIsLink, waypointPropertyValue, waypointRowCell, waypointRowCursor, waypointSummary, waypointTimingRows, waypointsForSelection, wrapLongitude, wrapLongitudePastRange, writeLegEmphasis, zoneLevelColors, zoneRow, zoomInterpolatedWidth, zoomIntoRange };
|
|
174
|
+
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { _ as createTransformRequest, a as ZOOM_EASE_MS, b as MapEvents, c as CameraConstraints, d as RawMap, f as TerrainVariant, g as TransformedRequest, h as TransformRequestOptions, i as STREETVIEW_COVERAGE_TILES, l as MapLibreOptions, m as RequestTransform, n as STREETVIEW_COVERAGE_LAYER, o as maplibregl, p as MapCredential, r as STREETVIEW_COVERAGE_SOURCE, s as LayerPatch, t as MountayaMap, u as MountayaMapOptions, v as GeometrySlot, y as MapEventEngine } from "./chunk-CL92KE3j.js";
|
|
2
|
+
import { a as tileSourceLayerRanks, i as rankForTileLayer, n as POI_SOURCE_LAYER_NAMES, r as poiSourceLayers, t as LayerRank } from "./chunk-6JzFMFHh.js";
|
|
3
|
+
import { $ as SuggestionsInput, A as ItineraryDrawOptions, B as MountedSpecification, C as DirectionsResult, D as GeocodeResult, E as GeocodeInput, F as MatrixMetric, G as QueriedFeature, H as PoiCategory, I as MatrixResult, J as RouteHazard, K as RasterPaint, L as MountOptions, M as MarkerOptions, N as MatrixDrawOptions, O as IsochronesInput, P as MatrixInput, Q as SuggestionDrawOptions, R as MountayaMapEvent, S as DirectionsInput, T as FitBoundsOptions, U as PoisInput, V as Overlay, W as PoisResult, X as SearchResult, Y as SearchInput, Z as SearchTargetsInput, _ as CameraPose, a as SegmentEditOptions, b as DataActivitySlug, c as WaypointEditOptions, d as WaypointPoiSeed, et as SuggestionsResult, f as ZoneDraft, g as Camera, h as AnalysisId, i as SegmentDraft, j as Layers, k as IsochronesResult, l as WaypointEngineDraftChange, m as AnalysisHandle, n as BoundaryEditOptions, nt as Unsubscribe, o as SegmentViaPromptEvent, p as ZoneEditOptions, q as Renderable, r as DraftPhase, rt as ZoomRange, s as WaypointDraftSnapshot, t as BoundaryDraft, tt as Terrain, u as WaypointPoiCapture, v as CategoryOverlays, w as DrawOptions, x as DataRangeType, y as CollectionDrawOptions, z as MountayaMapEvents } from "./chunk-QGqgNC4z.js";
|
|
4
|
+
import { S as invalidateItineraryResource, _ as itineraryWaypoint, a as SEGMENT_GROUP_ID_PREFIX, b as ItineraryResourceEngine, c as groupIdForSegment, d as maxOrNull, f as minOrNull, g as itinerarySegments, h as itineraryGeometry, i as waypointsForSelection, l as segmentGroupOptionId, m as itineraryCharacteristics, n as segmentsForSelection, o as SEGMENT_GROUP_MIN_MEMBERS, p as sumOrNull, r as waypointGeometries, s as applySegmentGroups, t as segmentGeometries, u as segmentIdsForOption, v as itineraryWaypoints, x as ItineraryResourceEngineOptions, y as ItineraryResource } from "./chunk-CvMHibbA.js";
|
|
5
|
+
import { a as SEGMENT_EDIT_MODES, c as WaypointEditMode, i as ZoneMode, n as ZONE_MODES, o as SegmentEditMode, r as ZoneLevel, s as WAYPOINT_EDIT_MODES, t as ZONE_LEVELS } from "./chunk-A48H1rDg.js";
|
|
6
|
+
import { _ as fetchItinerary, a as buildElevationPoints, b as bandValueAt, c as profileCharacteristics, d as FetchItineraryOptions, f as ItinerarySegment, g as ItineraryWithDetails, h as ItineraryWaypoint, i as WaypointProjection, l as projectWaypoints, m as ItinerarySource, n as ProfileCharacteristics, o as buildInfoBands, p as ItinerarySegmentGroup, r as WAYPOINT_PROXIMITY_METERS, s as committedPaceOf, t as IndexedInfo, u as trailDifficultyRank, v as InfoBand, x as nearestRoutePointIndexAt, y as RouteProfilePoint } from "./chunk-QKWhxfPv.js";
|
|
7
|
+
import { i as roadAccessKindOf, n as RoadAccessKind, r as roadAccessFeatures, t as ROAD_ACCESS_KINDS } from "./chunk-Dr5MCIpS.js";
|
|
8
|
+
import { a as EDIT_MOVE_CURSOR, i as EDIT_GRAB_CURSOR, n as EDIT_CROSS_CURSOR, o as ZONE_CREATE_CURSOR, r as EDIT_GRABBING_CURSOR, t as CURSOR_LOCK_DATA_ATTRIBUTE } from "./chunk-D_svQNdW.js";
|
|
9
|
+
import { a as errorFrom, i as MountayaElementsRejectionError, n as MountayaElementsForbiddenError, r as MountayaElementsNotFoundError, t as MountayaElementsError } from "./chunk-CC_Kquu7.js";
|
|
10
|
+
import { A as distanceToSegmentMeters, B as ZOOM_BUFFER, C as extractLines, D as geometriesEqual, E as flattenGeometries, F as MAX_BOUNDS_MIN_PAD_DEG, G as maxBoundsLongitudes, H as boundingBoxSpanMeters, I as MAX_BOUNDS_PAD_FRACTION, J as specificationBounds, K as normalizeBoundingBox, L as TILE_ZOOM_MAX, M as routeLines, N as EFFECTIVE_MIN_ZOOM_FLOOR, O as segmentLineCoordinates, P as EFFECTIVE_ZOOM_MIN_SPAN, R as TILE_ZOOM_MIN, S as extractLineStrings, T as extractVias, U as boundsWithPixelPadding, V as ZoomBounds, W as effectiveZoomBounds, X as boundingBoxToBoundary, Y as boundaryToBoundingBox, Z as selectBoundary, _ as wrapLongitude, a as SlopeAspect, b as boundsOf, c as slopeAspectFromNeighbours, d as DIRECTIONS_VIA_MIN, f as SEGMENT_MIN_VIAS, g as longitudeDelta, h as LONGITUDE_LIMIT, i as AspectCardinal, j as metersToRoute, k as formatLngLat, l as DIRECTIONS_VIA_COUNTER_THRESHOLD, m as LATITUDE_LIMIT, n as pointTuple, o as TerrainNeighbours, p as buildSegmentGeometry, q as paddedMaxBounds, r as viewportBoundsFrom, s as aspectCardinal, t as boundsTuple, u as DIRECTIONS_VIA_MAX, v as wrapLongitudePastRange, w as extractPoint, x as buildGeometryCollection, y as boundingBoxToPolygon, z as WEB_MERCATOR_MAX_LAT } from "./chunk-H14isiSf.js";
|
|
11
|
+
import { a as decodeElevation, i as TerrainReading, n as ElevationSource, o as elevationTilesAt, r as ElevationTile, s as terrainFromElevationTiles, t as ElevationEncoding } from "./chunk-BxDQZDXR.js";
|
|
12
|
+
import { r as haversineMeters, t as EARTH_RADIUS_METERS } from "./chunk-Bk0L8g5J.js";
|
|
13
|
+
import { t as SEARCH_LIMIT_MAX } from "./chunk-CWpqBgkF.js";
|
|
14
|
+
import { i as MapViewport, n as FitBoundsPadding, r as LngLat, t as BoundingBox } from "./chunk-fozLXfHY.js";
|
|
15
|
+
import { C as Artwork, S as watermarkArtwork, T as activityMarkerIcon, _ as allowedAttributes, a as WAYPOINT_FALLBACK_GLYPH, b as lucideIconProvider, c as WaypointGlyph, d as UiGlyph, f as WAYPOINT_ICON_PREFIX, g as GlyphElement, h as glyphPaint, i as UserWaypointIcon, l as WaypointIconGroupId, m as ShapePaint, n as DEFAULT_WAYPOINT_ICON, o as WAYPOINT_GLYPHS, p as waypointIconImageId, r as USER_WAYPOINT_ICONS, s as WAYPOINT_ICON_GROUPS, t as DEFAULT_WAYPOINT_COLOR, u as UI_GLYPHS, v as parseGlyph, w as ACTIVITY_MARKER_PREFIX, x as placeGlyph, y as lucideUiIconProvider } from "./chunk-ws3bVwaS.js";
|
|
16
|
+
import { a as WAYPOINT_PROPERTY_FORMATS, c as WaypointPropertyFormat, i as WAYPOINT_AMENITY_GROUPS, l as amenityGlyph, n as AmenityGlyph, o as WaypointAmenity, r as WAYPOINT_AMENITIES, s as WaypointAmenityGroupId, t as AMENITY_GLYPHS } from "./chunk-C_fQFr70.js";
|
|
17
|
+
import { i as clampMapLanguage, n as MAP_LANGUAGES, o as languageEndonym, r as MapLanguage, t as DataLanguage } from "./chunk-Bqt97zwf.js";
|
|
18
|
+
import { a as fallbackProvider, i as createIconProvider, n as IconProvider, r as IconProviderOptions, t as GlyphPaint } from "./chunk-DWsm3HIW.js";
|
|
19
|
+
import { $ as ITINERARY_POINT_SOURCE_LAYER, A as PoiPanelRowsInput, At as SUGGESTION_ALTERNATIVE_COLOR, B as LayersPanelRow, Bt as LayersSelectionEngineOptions, C as ReadoutRow, Ct as MATRIX_LINE_MIN_WIDTH, D as poiCategoryStyles, Dt as RESULT_POINT_RADIUS, E as omtCategoryToPoiEnum, Et as POI_RESULT_POINT_COLOR, F as overlayInstant, Ft as matrixLineWidth, G as ITINERARY_CASING_LAYER_SUFFIX, H as layersPanelPress, Ht as LayersSelectionTarget, I as LayersPanelCategory, It as ReadoutEngine, J as ITINERARY_DASHED_OPACITY, K as ITINERARY_CASING_OPACITY, L as LayersPanelChoice, Lt as ReadoutEngineOptions, M as poiPanelRows, Mt as SUGGESTION_ALTERNATIVE_OPACITY, N as OverlayKind, Nt as SUGGESTION_CHOSEN_COLOR, O as PoiPanelRow, Ot as RESULT_POINT_STROKE_COLOR, P as findOverlay, Pt as isochroneColor, Q as ITINERARY_LINE_WIDTH_STOPS, R as LayersPanelInput, Rt as ReadoutOpen, S as ReadoutReading, St as MATRIX_LINE_MAX_WIDTH, T as PoiCategoryStyle, Tt as PLACE_POINT_COLOR, U as layersPanelSections, V as LayersPanelSection, Vt as LayersSelectionSnapshot, W as ITINERARY_CASING_COLOR, X as ITINERARY_LINE_DASHARRAY, Y as ITINERARY_ENDPOINT_ICONS, Z as ITINERARY_LINE_SOURCE_LAYER, _ as timestampedSources, _t as ISOCHRONE_FILL_OPACITY, a as ZONE_FILL_SOURCE_LAYER, at as hoveredItinerary, b as ReadoutInput, bt as ISOCHRONE_RAMP, c as TimeSliderTick, ct as isochronesToGeoJson, d as timeSliderTicks, dt as poisToGeoJson, et as ITINERARY_RESTRICTION_SOURCE_LAYER, f as TIME_WINDOW_FUTURE_HOURS, ft as suggestionsToGeoJson, g as TimestampedSource, gt as DIRECTIONS_LINE_COLOR, h as timeSliderWindow, ht as isEnrichmentCategory, i as ZONE_DEFAULT_COLOR, it as HoveredItinerary, j as poiPanelNoteZoom, jt as SUGGESTION_ALTERNATIVE_DASHARRAY, k as PoiPanelRows, kt as RESULT_POINT_STROKE_WIDTH, l as timeSliderReadout, lt as matrixToGeoJson, m as TimeSliderWindow, mt as POIS_OVERLAY_SLUG, n as paintZoomRange, nt as itineraryLineLayout, o as zoneLevelColors, ot as analysisProps, p as TIME_WINDOW_PAST_HOURS, pt as ENRICHMENT_CATEGORY_SLUG, q as ITINERARY_CASING_WIDTH_STOPS, r as zoomIntoRange, rt as roadAccessIconLayerIdOf, s as TimeSliderReadout, st as directionsToGeoJson, t as PaintedLayers, tt as isItineraryCasingLayer, u as timeSliderRelease, ut as placesToGeoJson, v as STREETVIEW_MIN_ZOOM, vt as ISOCHRONE_LINE_COLOR, w as readoutRows, wt as MATRIX_LINE_OPACITY, x as ReadoutMeasure, xt as MATRIX_LINE_COLOR, y as ReadoutCategoryLabel, yt as ISOCHRONE_LINE_WIDTH, z as LayersPanelPress, zt as LayersSelectionEngine } from "./chunk-rLJkqJ5j.js";
|
|
20
|
+
import { $ as sectionChipCells, $t as curveSpans, A as SegmentRowCell, An as DEFAULT_AMENITY_STACK_MAX, At as ProfileVisibility, B as classifySteepness, Bn as climbAt, Bt as placeOnCurve, C as TableCursor, Cn as showCursorMarker, Ct as EMBED_PROFILE_ANALYSIS_HEIGHT, D as waypointRowCursor, Dn as carriesElevation, Dt as EMBED_PROFILE_SECTION_GAP, E as segmentRowCursor, En as ProfileSpan, Et as EMBED_PROFILE_PANEL_CHROME, F as segmentRowCell, Fn as BadgeSurface, Ft as PlaceOnCurveInput, G as statStripCells, Gt as PROFILE_TOP_INSET, H as StatStripCell, Hn as detectClimbs, Ht as CurveStop, I as waypointRowCell, In as badgeFallback, It as PlaceOnCurveValue, J as SlopeRampStop, Jt as ProfileClass, K as ASCENT_RAMP_STOPS, Kt as PROFILE_VIEWBOX, L as STEEPNESS_OVERLAY_SLUG, Ln as CLIMB_CATEGORIES, Lt as PlacedCutoff, M as WaypointRowCell, Mn as AmenityFilter, Mt as embedFitPadding, N as WaypointRowCellOptions, Nn as amenityFilter, Nt as estimateProfileHeight, O as DEFAULT_SEGMENT_TABLE_COLUMNS, On as profileSpans, Ot as EmbedProfileSections, P as WaypointTableColumn, Pn as toggleAmenity, Pt as resolveProfileVisibility, Q as SectionChipStat, Qt as classAt, R as STEEPNESS_THRESHOLDS, Rn as ClimbCategory, Rt as PlacedDivider, S as waypointTimingRows, Sn as hideCursorMarker, St as EMBED_FIT_BASE_MARGIN, T as litSegmentId, Tn as cullCrowdedLabels, Tt as EMBED_PROFILE_CHARACTERISTICS_HEIGHT, U as StatStripCursor, Ut as PROFILE_BASELINE, V as DEFAULT_STAT_STRIP_STATS, Vn as climbCategoryFor, Vt as CurveColor, W as StatStripStat, Wt as PROFILE_BOTTOM_INSET, X as DEFAULT_SECTION_CHIP_STATS, Xt as SlopeColorStop, Y as slopeRampColor, Yt as SLOPE_COLOR_STOPS, Z as SectionChipCell, Zt as anchoredDomain, _ as waypointMediaLinks, _n as CURSOR_MARKER_GLYPH, _t as dateTimeFormat, a as WaypointCardField, an as profileX, at as SLICE_WIDTH, b as waypointPropertyValue, bn as CursorMarkerPoint, bt as relativeTimeFormat, c as WaypointCardStringsLike, cn as DistanceTick, ct as PROFILE_CHART_HEIGHT, d as amenityName, dn as DEFAULT_READOUT_STATS, dt as distanceToFraction, en as curveStops, et as sectionGrade, f as waypointCard, fn as ProfileReadout, ft as surfaceColors, g as waypointMediaLinkIsLink, gn as profileReadout, gt as clearIntlCache, h as waypointHeadline, hn as ReadoutStat, ht as writeLegEmphasis, i as WaypointCardFacts, in as profilePolyline, it as HitSlice, j as SegmentTableColumn, jn as amenityStacks, jt as ProfileVisibilityInput, k as DEFAULT_WAYPOINT_TABLE_COLUMNS, kn as AmenityStack, kt as PROFILE_PANEL_MIN_GAP, l as WaypointContactRow, ln as ElevationDomain, lt as PROFILE_LABEL_COLUMN, m as waypointDeclaresNothing, mn as ReadoutCell, mt as LegEmphasisMap, n as placeSpans, nn as profileAreaPath, nt as rowStandsFor, o as WaypointCardRow, on as profileY, ot as buildSlices, p as waypointContactRows, pn as ProfileReadoutOptions, pt as wayTypeColors, q as DESCENT_RAMP_STOPS, qt as ProfileAnchor, r as isWebAddress, rn as profileDomain, rt as HIT_SLICES, s as WaypointCardService, sn as slopeColors, st as distanceForSlice, t as PlacedSpan, tn as domainTicks, tt as rowAt, u as WaypointMediaLink, un as distanceTicks, ut as PROFILE_PLOT_RIGHT_INSET, v as waypointMediaPhotos, vn as CursorMarkerMap, vt as displayNames, w as isSegmentRowLit, wn as AxisLabelBox, wt as EMBED_PROFILE_ANCHOR_INSET, x as waypointSummary, xn as cursorMarkerIds, xt as formattedInstant, y as waypointPropertyIsLink, yn as CursorMarkerPin, yt as numberFormat, z as SteepnessClass, zn as ClimbSpan, zt as PlacedWaypointMark } from "./chunk-D21fEI6A.js";
|
|
21
|
+
import { $ as projectMarkers, A as ElevationSeries, B as ProjectedMarker, C as itinerarySegmentRows, D as CumulativeElevation, E as resolveWaypoints, F as MIN_RANGE_SPAN_METERS, G as downsampleElevation, H as buildElevationSeries, I as MarkerToProject, J as lineBetween, K as elevationAt, L as ProfileInput, M as MARKER_BELONGING_METERS, N as MARKER_PROXIMITY_METERS, O as ELEVATION_NOISE_THRESHOLD_METERS, P as MAX_PROFILE_POINTS, Q as profileTotals, R as ProfileRange, S as dividesRoute, T as resolveCharacteristics, U as clampRange, V as activePointAt, W as cumulativeElevation, X as profileLength, Y as nearestPointIndexAt, Z as profileLines, _ as WaypointPhotoDetail, a as ItinerarySegmentRowOverride, b as WaypointTimingDetail, c as PlacedWaypoint, d as WaypointAt, et as rangeTotals, f as WaypointContactDetail, g as WaypointOn, h as WaypointMediaDetail, i as ItinerarySegmentRowMetrics, j as GRADE_WINDOW_METERS, k as ElevationPoint, l as ResolvedCharacteristics, m as WaypointLinkDetail, n as ItinerarySegmentInput, o as ItineraryWaypointRow, p as WaypointDetails, q as gradeAt, r as ItinerarySegmentRow, s as ItineraryWaypointRowMetrics, t as ItineraryCharacteristics, u as Waypoint, v as WaypointPropertyDetail, w as itineraryWaypointRows, x as chainGeometry, y as WaypointPropertyFormatDetail, z as ProfileTotals } from "./chunk-DJpUw8TN.js";
|
|
22
|
+
import { $ as convertTemperature, A as resolveSpeedKmh, B as MINUTES_PER_HOUR, C as kilometersPerHourToDisplay, D as parseDistanceToMeters, E as parseAscentToMeters, F as DataSizeUnit, G as SlopeUnit, H as RADIANS_TO_DEGREES, I as DurationUnit, J as convertDuration, K as SpeedUnit, L as LengthUnit, M as splitDuration, N as DEGREES_PER_TURN, O as parsePaceClock, P as DEGREES_TO_RADIANS, Q as convertSpeed, R as METERS_PER_KILOMETER, S as formatTemperature, T as paceMinutesToClockNumber, U as SECONDS_PER_HOUR, V as ProportionUnit, W as SECONDS_PER_MINUTE, X as convertProportion, Y as convertLength, Z as convertSlope, _ as formatProportion, a as displayToKilometersPerHour, at as UnitLength, b as formatSnowfall, c as elevationUnitFor, ct as UnitTemperature, d as formatDuration, et as isPaceUnit, f as formatElevation, g as formatPaceClock, h as formatNumber, i as defaultUnits, it as UNIT_TEMPERATURES, j as speedUnitFor, k as parseSpeedToKmh, l as formatAltitudeRange, m as formatNavDistance, n as MeasurementFormatOptions, nt as UNIT_PACES, o as distanceUnitFor, ot as UnitPace, p as formatHumidity, q as convertDataSize, r as UnitFormatOptions, rt as UNIT_SLOPES, s as durationForSpeed, st as UnitSlope, t as DurationForSpeedInput, tt as UNIT_LENGTHS, u as formatDistance, v as formatSlope, w as paceClockNumberToMinutes, x as formatSpeed, y as formatSnowDepth, z as MILLISECONDS_PER_SECOND } from "./chunk-5pTPpv4v.js";
|
|
23
|
+
import { i as TileSpecification, n as TileSource, r as TileSourceType, t as TileLayer } from "./chunk-bYf1sBz5.js";
|
|
24
|
+
import { a as GeolocateControlEngine, c as GeolocateControlTarget, i as systemClock, n as manualClock, o as GeolocateControlEngineOptions, r as repeatEvery, s as GeolocateControlSnapshot, t as Clock } from "./chunk-DQbSRe8D.js";
|
|
25
|
+
import { a as browserGeolocation, i as GeolocationSeam, n as GeolocationFixOptions, o as inertGeolocation, r as GeolocationPermission, t as GeolocationFix } from "./chunk-D-4MxHTt.js";
|
|
26
|
+
import { a as SegmentRouteAnalysisEntry, c as SegmentRouteOptions, i as SegmentRouteAnalysis, l as SegmentRouteResult, n as SegmentAnalyzeFn, o as SegmentRouteElevation, r as SegmentRoute, s as SegmentRouteFn, t as SEGMENT_ROUTE_REFUSED } from "./chunk-DeSjQXiI.js";
|
|
27
|
+
import { A as describePoi, B as SearchEngine, C as everySectionEmpty, D as sectionHasRows, E as searchListState, F as wayTitle, H as SearchFetch, I as SEARCH_DEBOUNCE_MS, L as SEARCH_TARGETS, M as describeZone, N as placeTitle, O as sectionsForFilter, P as poiTitle, R as SEARCH_VIEWPORT_REFRESH_MS, S as SearchListStatus, T as searchFilterTargets, U as SearchUnsubscribe, V as SearchEngineOptions, W as SearchViewport, _ as splitByRanges, a as createSearchViewport, b as SearchFilter, c as placeRow, d as zoneRow, f as SearchPick, g as highlightRanges, h as HighlightPart, i as SearchCameraSource, j as describeWay, k as describePlace, l as poiRow, m as pickTarget, n as shownSearchSnapshot, o as collectionRow, p as SearchPickCamera, r as unansweredSearchSnapshot, s as itineraryRow, t as SearchOwed, u as wayRow, v as FailedSearchSection, w as firstActiveSection, x as SearchListState, y as SEARCH_FILTERS, z as SearchConfig } from "./chunk-obUcg3Sk.js";
|
|
28
|
+
import { C as SearchTargetName, E as ZoneRow, S as SearchSnapshot, T as WayRow, _ as SearchRowPayloadWay, a as PlaceRow, b as SearchSection, c as SearchHighlight, d as SearchRow, f as SearchRowPayload, g as SearchRowPayloadPoi, h as SearchRowPayloadPlace, i as MatchedRange, l as SearchLabel, m as SearchRowPayloadItinerary, n as DataZoneLevel, o as PoiRow, p as SearchRowPayloadCollection, r as ItineraryRow, s as SECTION_ORDER, t as CollectionRow, u as SearchLabelResolver, v as SearchRowPayloadZone, w as SearchWording, x as SearchSectionState, y as SearchRowSecondary } from "./chunk-BZ5KyZXI.js";
|
|
29
|
+
import { C as applySpecification, D as OrganizationReadEngine, E as tileSourceSpec, S as StyleTarget, T as tileLayerSpec, _ as itineraryDashedLineSpec, a as segmentColorAt, b as BASEMAP_ATTRIBUTION, c as PanelFrame, d as OrganizationReadState, f as WatermarkPage, g as itineraryCasingSpec, h as ItineraryLineOptions, i as pickLivelyColor, l as PanelLayout, m as organizationWatermark, n as LIVELY_PALETTE, o as roadAccessColors, p as WatermarkPlacement, r as assignDistinctColors, s as roadAccessGlyph, t as DEFAULT_SEGMENT_COLOR, u as panelLayout, v as itineraryLineSpec, w as removeSpecification, x as ApplySpecificationOptions, y as zoomInterpolatedWidth } from "./chunk-C5PtVewq.js";
|
|
30
|
+
import { a as LanguageStyleTarget, i as resolveMapPaint, n as MapPaintOverrides, o as applyLanguageToStyle, r as defaultMapPaint, t as MapPaint } from "./chunk-CQQhcP_C.js";
|
|
31
|
+
import { a as preferenceChoices, i as PreferencePress, n as PreferenceField, o as preferencePress, r as PreferenceOption, t as PreferenceChoice } from "./chunk-DWsMP5JR.js";
|
|
32
|
+
import { Map } from "maplibre-gl";
|
|
33
|
+
/**
|
|
34
|
+
* Building parsed glyph shapes into a live SVG element.
|
|
35
|
+
*
|
|
36
|
+
* The DOM half of the glyph pipeline, and it is a module of its own because it is the half
|
|
37
|
+
* that does not travel. `icons/rules/parse.ts` turns markup into structured shapes and is a
|
|
38
|
+
* function of its input, which is what a Dart, Swift or Kotlin port reimplements; this takes
|
|
39
|
+
* those shapes and asks a document to make nodes out of them, which no port reimplements
|
|
40
|
+
* because each platform's own SVG API is the answer there.
|
|
41
|
+
*
|
|
42
|
+
* It lives under `compose/` rather than under `icons/` for that reason alone: `compose` is the
|
|
43
|
+
* facade's tree and is reachable only from the package root, where the renderer already is,
|
|
44
|
+
* while `@mountaya/elements/icons` is an entry a consumer takes precisely because it costs
|
|
45
|
+
* nothing that needs a browser.
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* appendGlyph builds the parsed shapes into an existing SVG element.
|
|
49
|
+
*
|
|
50
|
+
* `createElementNS` with the SVG namespace, not `innerHTML`: an element created in the HTML
|
|
51
|
+
* namespace looks right in the inspector and renders as nothing. The parse is what keeps the
|
|
52
|
+
* markup safe to build at all (see the allowlist it enforces).
|
|
53
|
+
*
|
|
54
|
+
* @param svg The element the shapes are appended to, in the document that owns it.
|
|
55
|
+
* @param markup The glyph's markup, as an icon provider answers it.
|
|
56
|
+
*/
|
|
57
|
+
export declare const appendGlyph: (svg: SVGElement, markup: string) => void;
|
|
58
|
+
/**
|
|
59
|
+
* beforeIdForRank resolves the `beforeId` that inserts a layer of the given rank into its
|
|
60
|
+
* deterministic position. It walks the live layer ids in their current draw order (bottom
|
|
61
|
+
* to top) and returns the first one that is tracked AND ranks strictly higher: the new
|
|
62
|
+
* layer inserts directly beneath it, so it lands above every lower-or-equal-ranked tracked
|
|
63
|
+
* layer and below every higher-ranked one. When no tracked layer ranks higher it returns
|
|
64
|
+
* undefined, meaning "add on top".
|
|
65
|
+
*
|
|
66
|
+
* The ids come from `getLayersOrder` rather than `getStyle`: only the id is weighed, and
|
|
67
|
+
* `getStyle` serializes the entire style document on every call, a cost this resolver
|
|
68
|
+
* would pay once per insertion, and a terrain switch replays every slot through it.
|
|
69
|
+
*
|
|
70
|
+
* Only tracked layers are weighed, so untracked base-style layers are never chosen as an
|
|
71
|
+
* anchor and stay beneath the ranked ones.
|
|
72
|
+
*
|
|
73
|
+
* The registry has to be passed in rather than derived from the style, which is why this is
|
|
74
|
+
* a function over state rather than a pure ordering: MapLibre's style carries no notion of
|
|
75
|
+
* who added a layer or why, so the only way to tell a ranked layer from a base-style layer is
|
|
76
|
+
* to have recorded it at insertion time.
|
|
77
|
+
*
|
|
78
|
+
* @param map The map whose live layers are walked.
|
|
79
|
+
* @param layerRankById The rank of every tracked layer, by id.
|
|
80
|
+
* @param rank The rank of the layer about to be inserted.
|
|
81
|
+
* @returns The id to insert before, or `undefined` to add on top.
|
|
82
|
+
*/
|
|
83
|
+
export declare const beforeIdForRank: (map: Map, layerRankById: ReadonlyMap<string, number>, rank: LayerRank) => string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* The camera in the URL.
|
|
86
|
+
*
|
|
87
|
+
* MapLibre owns the `#view` hash and writes it with `history.replaceState`, which most
|
|
88
|
+
* routers never observe. So a navigation that serializes the router's own idea of the hash
|
|
89
|
+
* writes an empty one and **drops the camera from the URL**: a shared or bookmarked link
|
|
90
|
+
* then opens on the default view rather than the one that was shared.
|
|
91
|
+
*
|
|
92
|
+
* This is a published contract rather than an application detail: `#view` is what every
|
|
93
|
+
* Mountaya embed URL carries, so a consumer building their own routing needs the same
|
|
94
|
+
* value on every navigation.
|
|
95
|
+
*/
|
|
96
|
+
/**
|
|
97
|
+
* currentMapHash returns the live URL hash without its leading `#`, for a router navigation
|
|
98
|
+
* to carry through. Empty outside a browser.
|
|
99
|
+
*/
|
|
100
|
+
export declare const currentMapHash: () => string;
|
|
101
|
+
/**
|
|
102
|
+
* ensureMapLibreWorker points MapLibre at the tile worker this package publishes, unless the
|
|
103
|
+
* consumer has already pointed it somewhere themselves.
|
|
104
|
+
*
|
|
105
|
+
* **What it is for.** MapLibre 6 loads its worker from a URL instead of inlining it, and derives
|
|
106
|
+
* one from its own `import.meta.url` when nobody supplies it. After bundling that is the
|
|
107
|
+
* consumer's emitted chunk rather than the installed package, so it asks for a worker beside
|
|
108
|
+
* their hashed assets and gets a 404. Nothing throws: the canvas mounts, the controls work, and
|
|
109
|
+
* no tile ever loads. Upstream's answer is a one-time `setWorkerUrl()` per application, spelled
|
|
110
|
+
* differently for every bundler: a setup step with a silent failure mode, which is exactly the
|
|
111
|
+
* kind of step this package exists to absorb.
|
|
112
|
+
*
|
|
113
|
+
* **Why a bare self-reference.** `new URL(…, import.meta.url)` is the one asset form every
|
|
114
|
+
* bundler resolves and emits, and it is matched SYNTACTICALLY: the specifier and
|
|
115
|
+
* `import.meta.url` have to sit in the expression literally, which is why neither is lifted into
|
|
116
|
+
* a variable here however much tidier that would read. Naming the package rather than a relative
|
|
117
|
+
* path is what makes it survive the layouts this module is read under: the build may place this
|
|
118
|
+
* code in any chunk at any depth, and the `@mountaya/source` condition resolves it straight out
|
|
119
|
+
* of `src/`, so any `./` is right in one layout and wrong in another. A package name is the same
|
|
120
|
+
* string from all of them.
|
|
121
|
+
*
|
|
122
|
+
* **Why the worker is this package's and not the consumer's copy.** Pointing at
|
|
123
|
+
* `maplibre-gl/dist/maplibre-gl-worker.mjs` is worse than doing nothing: that file imports a far
|
|
124
|
+
* larger sibling by literal filename, bundlers hash asset names, and the emitted result is a stub
|
|
125
|
+
* whose first import 404s. `scripts/build-worker.mjs` inlines the sibling so the published
|
|
126
|
+
* artifact is a plain self-contained asset. The cost is that it is built against the maplibre-gl
|
|
127
|
+
* this package pins while the peer admits any `^6`, which is what the version check below is
|
|
128
|
+
* for.
|
|
129
|
+
*
|
|
130
|
+
* **A consumer who chose always wins.** The URL is only written when nothing holds one, so
|
|
131
|
+
* calling `setWorkerUrl` yourself (the exact-version escape hatch, and the CDN case where
|
|
132
|
+
* MapLibre's own detection is already right) keeps working and is never second-guessed.
|
|
133
|
+
*
|
|
134
|
+
* **A build that resolves nothing is told so.** A bundler with no asset handling leaves the
|
|
135
|
+
* expression to the browser, which joins the specifier onto the chunk's own address. In development
|
|
136
|
+
* `warnOnUnrewrittenWorker` says so once, naming the address and the `setWorkerUrl` call that
|
|
137
|
+
* replaces it.
|
|
138
|
+
*/
|
|
139
|
+
export declare const ensureMapLibreWorker: () => void;
|
|
140
|
+
/**
|
|
141
|
+
* Whether a developer is the one reading the page, for what is said to a developer alone: a
|
|
142
|
+
* console warning, the cause of a failure beside its sentence.
|
|
143
|
+
*/
|
|
144
|
+
/**
|
|
145
|
+
* inDevelopment reports whether a developer is reading this page: every build a bundler did not
|
|
146
|
+
* mark as production, and every page served with no bundler at all.
|
|
147
|
+
*
|
|
148
|
+
* It reads `process.env.NODE_ENV`, whole, because that expression is what a bundler replaces with
|
|
149
|
+
* a literal: a production build then reads `"production" !== "production"`. Under Node the name
|
|
150
|
+
* is the real one. A page that loads a package from a CDN has neither a bundler nor a `process`,
|
|
151
|
+
* and it is a developer's page.
|
|
152
|
+
*
|
|
153
|
+
* The answer is a reading of the build, never a proof of it. A production build whose bundler
|
|
154
|
+
* writes nothing over `process.env.NODE_ENV`, run where no `process` exists, states no mode and
|
|
155
|
+
* is read as development. Gate on it only what is safe to show a visitor of such a build, a
|
|
156
|
+
* warning or a diagnostic detail, and never a credential or a debugging door.
|
|
157
|
+
*
|
|
158
|
+
* @returns `false` when the mode is `"production"`, and `true` for every other mode, for no mode
|
|
159
|
+
* and where no `process` exists to read.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* ```ts
|
|
163
|
+
* import { inDevelopment } from "@mountaya/elements";
|
|
164
|
+
*
|
|
165
|
+
* declare const cause: Error;
|
|
166
|
+
*
|
|
167
|
+
* if (inDevelopment()) {
|
|
168
|
+
* console.warn("The map's stylesheet is not loaded.", cause);
|
|
169
|
+
* }
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
export declare const inDevelopment: () => boolean;
|
|
173
|
+
export { ACTIVITY_MARKER_PREFIX, AMENITY_GLYPHS, ASCENT_RAMP_STOPS, type AmenityFilter, type AmenityGlyph, type AmenityStack, type AnalysisHandle, type AnalysisId, type ApplySpecificationOptions, type Artwork, type AspectCardinal, type AxisLabelBox, BASEMAP_ATTRIBUTION, type BadgeSurface, type BoundaryDraft, type BoundaryEditOptions, type BoundingBox, CLIMB_CATEGORIES, CURSOR_LOCK_DATA_ATTRIBUTE, CURSOR_MARKER_GLYPH, type Camera, type CameraConstraints, type CameraPose, type CategoryOverlays, type ClimbCategory, type ClimbSpan, type Clock, type CollectionDrawOptions, type CollectionRow, type CumulativeElevation, type CursorMarkerMap, type CursorMarkerPin, type CursorMarkerPoint, type CurveColor, type CurveStop, DEFAULT_AMENITY_STACK_MAX, DEFAULT_READOUT_STATS, DEFAULT_SECTION_CHIP_STATS, DEFAULT_SEGMENT_COLOR, DEFAULT_SEGMENT_TABLE_COLUMNS, DEFAULT_STAT_STRIP_STATS, DEFAULT_WAYPOINT_COLOR, DEFAULT_WAYPOINT_ICON, DEFAULT_WAYPOINT_TABLE_COLUMNS, DEGREES_PER_TURN, DEGREES_TO_RADIANS, DESCENT_RAMP_STOPS, DIRECTIONS_LINE_COLOR, DIRECTIONS_VIA_COUNTER_THRESHOLD, DIRECTIONS_VIA_MAX, DIRECTIONS_VIA_MIN, type DataActivitySlug, type DataLanguage, type DataRangeType, type DataSizeUnit, type DataZoneLevel, type DirectionsInput, type DirectionsResult, type DistanceTick, type DraftPhase, type DrawOptions, type DurationForSpeedInput, type DurationUnit, EARTH_RADIUS_METERS, EDIT_CROSS_CURSOR, EDIT_GRABBING_CURSOR, EDIT_GRAB_CURSOR, EDIT_MOVE_CURSOR, EFFECTIVE_MIN_ZOOM_FLOOR, EFFECTIVE_ZOOM_MIN_SPAN, ELEVATION_NOISE_THRESHOLD_METERS, EMBED_FIT_BASE_MARGIN, EMBED_PROFILE_ANALYSIS_HEIGHT, EMBED_PROFILE_ANCHOR_INSET, EMBED_PROFILE_CHARACTERISTICS_HEIGHT, EMBED_PROFILE_PANEL_CHROME, EMBED_PROFILE_SECTION_GAP, ENRICHMENT_CATEGORY_SLUG, type ElevationDomain, type ElevationEncoding, type ElevationPoint, type ElevationSeries, type ElevationSource, type ElevationTile, type EmbedProfileSections, type FailedSearchSection, type FetchItineraryOptions, type FitBoundsOptions, type FitBoundsPadding, GRADE_WINDOW_METERS, type GeocodeInput, type GeocodeResult, GeolocateControlEngine, type GeolocateControlEngineOptions, type GeolocateControlSnapshot, type GeolocateControlTarget, type GeolocationFix, type GeolocationFixOptions, type GeolocationPermission, type GeolocationSeam, type GeometrySlot, type GlyphElement, type GlyphPaint, HIT_SLICES, type HighlightPart, type HitSlice, type HoveredItinerary, ISOCHRONE_FILL_OPACITY, ISOCHRONE_LINE_COLOR, ISOCHRONE_LINE_WIDTH, ISOCHRONE_RAMP, ITINERARY_CASING_COLOR, ITINERARY_CASING_LAYER_SUFFIX, ITINERARY_CASING_OPACITY, ITINERARY_CASING_WIDTH_STOPS, ITINERARY_DASHED_OPACITY, ITINERARY_ENDPOINT_ICONS, ITINERARY_LINE_DASHARRAY, ITINERARY_LINE_SOURCE_LAYER, ITINERARY_LINE_WIDTH_STOPS, ITINERARY_POINT_SOURCE_LAYER, ITINERARY_RESTRICTION_SOURCE_LAYER, type IconProvider, type IconProviderOptions, type IndexedInfo, type InfoBand, type IsochronesInput, type IsochronesResult, type ItineraryCharacteristics, type ItineraryDrawOptions, type ItineraryLineOptions, type ItineraryResource, ItineraryResourceEngine, type ItineraryResourceEngineOptions, type ItineraryRow, type ItinerarySegment, type ItinerarySegmentGroup, type ItinerarySegmentInput, type ItinerarySegmentRow, type ItinerarySegmentRowMetrics, type ItinerarySegmentRowOverride, type ItinerarySource, type ItineraryWaypoint, type ItineraryWaypointRow, type ItineraryWaypointRowMetrics, type ItineraryWithDetails, LATITUDE_LIMIT, LIVELY_PALETTE, LONGITUDE_LIMIT, type LanguageStyleTarget, type LayerPatch, LayerRank, type Layers, type LayersPanelCategory, type LayersPanelChoice, type LayersPanelInput, type LayersPanelPress, type LayersPanelRow, type LayersPanelSection, LayersSelectionEngine, type LayersSelectionEngineOptions, type LayersSelectionSnapshot, type LayersSelectionTarget, type LegEmphasisMap, type LengthUnit, type LngLat, MAP_LANGUAGES, MARKER_BELONGING_METERS, MARKER_PROXIMITY_METERS, MATRIX_LINE_COLOR, MATRIX_LINE_MAX_WIDTH, MATRIX_LINE_MIN_WIDTH, MATRIX_LINE_OPACITY, MAX_BOUNDS_MIN_PAD_DEG, MAX_BOUNDS_PAD_FRACTION, MAX_PROFILE_POINTS, METERS_PER_KILOMETER, MILLISECONDS_PER_SECOND, MINUTES_PER_HOUR, MIN_RANGE_SPAN_METERS, type MapCredential, MapEventEngine, type MapEvents, type MapLanguage, type MapLibreOptions, type MapPaint, type MapPaintOverrides, type MapViewport, type MarkerOptions, type MarkerToProject, type MatchedRange, type MatrixDrawOptions, type MatrixInput, type MatrixMetric, type MatrixResult, type MeasurementFormatOptions, type MountOptions, MountayaElementsError, MountayaElementsForbiddenError, MountayaElementsNotFoundError, MountayaElementsRejectionError, MountayaMap, type MountayaMapEvent, type MountayaMapEvents, type MountayaMapOptions, type MountedSpecification, OrganizationReadEngine, type OrganizationReadState, type Overlay, type OverlayKind, PLACE_POINT_COLOR, POIS_OVERLAY_SLUG, POI_RESULT_POINT_COLOR, POI_SOURCE_LAYER_NAMES, PROFILE_BASELINE, PROFILE_BOTTOM_INSET, PROFILE_CHART_HEIGHT, PROFILE_LABEL_COLUMN, PROFILE_PANEL_MIN_GAP, PROFILE_PLOT_RIGHT_INSET, PROFILE_TOP_INSET, PROFILE_VIEWBOX, type PaintedLayers, type PanelFrame, type PanelLayout, type PlaceOnCurveInput, type PlaceOnCurveValue, type PlaceRow, type PlacedCutoff, type PlacedDivider, type PlacedSpan, type PlacedWaypoint, type PlacedWaypointMark, type PoiCategory, type PoiCategoryStyle, type PoiPanelRow, type PoiPanelRows, type PoiPanelRowsInput, type PoiRow, type PoisInput, type PoisResult, type PreferenceChoice, type PreferenceField, type PreferenceOption, type PreferencePress, type ProfileAnchor, type ProfileCharacteristics, type ProfileClass, type ProfileInput, type ProfileRange, type ProfileReadout, type ProfileReadoutOptions, type ProfileSpan, type ProfileTotals, type ProfileVisibility, type ProfileVisibilityInput, type ProjectedMarker, type ProportionUnit, type QueriedFeature, RADIANS_TO_DEGREES, RESULT_POINT_RADIUS, RESULT_POINT_STROKE_COLOR, RESULT_POINT_STROKE_WIDTH, ROAD_ACCESS_KINDS, type RasterPaint, type RawMap, type ReadoutCategoryLabel, type ReadoutCell, ReadoutEngine, type ReadoutEngineOptions, type ReadoutInput, type ReadoutMeasure, type ReadoutOpen, type ReadoutReading, type ReadoutRow, type ReadoutStat, type Renderable, type RequestTransform, type ResolvedCharacteristics, type RoadAccessKind, type RouteHazard, type RouteProfilePoint, SEARCH_DEBOUNCE_MS, SEARCH_FILTERS, SEARCH_LIMIT_MAX, SEARCH_TARGETS, SEARCH_VIEWPORT_REFRESH_MS, SECONDS_PER_HOUR, SECONDS_PER_MINUTE, SECTION_ORDER, SEGMENT_EDIT_MODES, SEGMENT_GROUP_ID_PREFIX, SEGMENT_GROUP_MIN_MEMBERS, SEGMENT_MIN_VIAS, SEGMENT_ROUTE_REFUSED, SLICE_WIDTH, SLOPE_COLOR_STOPS, STEEPNESS_OVERLAY_SLUG, STEEPNESS_THRESHOLDS, STREETVIEW_COVERAGE_LAYER, STREETVIEW_COVERAGE_SOURCE, STREETVIEW_COVERAGE_TILES, STREETVIEW_MIN_ZOOM, SUGGESTION_ALTERNATIVE_COLOR, SUGGESTION_ALTERNATIVE_DASHARRAY, SUGGESTION_ALTERNATIVE_OPACITY, SUGGESTION_CHOSEN_COLOR, type SearchCameraSource, type SearchConfig, SearchEngine, type SearchEngineOptions, type SearchFetch, type SearchFilter, type SearchHighlight, type SearchInput, type SearchLabel, type SearchLabelResolver, type SearchListState, type SearchListStatus, type SearchOwed, type SearchPick, type SearchPickCamera, type SearchResult, type SearchRow, type SearchRowPayload, type SearchRowPayloadCollection, type SearchRowPayloadItinerary, type SearchRowPayloadPlace, type SearchRowPayloadPoi, type SearchRowPayloadWay, type SearchRowPayloadZone, type SearchRowSecondary, type SearchSection, type SearchSectionState, type SearchSnapshot, type SearchTargetName, type SearchTargetsInput, type SearchUnsubscribe, type SearchViewport, type SearchWording, type SectionChipCell, type SectionChipStat, type SegmentAnalyzeFn, type SegmentDraft, type SegmentEditMode, type SegmentEditOptions, type SegmentRoute, type SegmentRouteAnalysis, type SegmentRouteAnalysisEntry, type SegmentRouteElevation, type SegmentRouteFn, type SegmentRouteOptions, type SegmentRouteResult, type SegmentRowCell, type SegmentTableColumn, type SegmentViaPromptEvent, type ShapePaint, type SlopeAspect, type SlopeColorStop, type SlopeRampStop, type SlopeUnit, type SpeedUnit, type StatStripCell, type StatStripCursor, type StatStripStat, type SteepnessClass, type StyleTarget, type SuggestionDrawOptions, type SuggestionsInput, type SuggestionsResult, TILE_ZOOM_MAX, TILE_ZOOM_MIN, TIME_WINDOW_FUTURE_HOURS, TIME_WINDOW_PAST_HOURS, type TableCursor, type Terrain, type TerrainNeighbours, type TerrainReading, type TerrainVariant, type TileLayer, type TileSource, type TileSourceType, type TileSpecification, type TimeSliderReadout, type TimeSliderTick, type TimeSliderWindow, type TimestampedSource, type TransformRequestOptions, type TransformedRequest, UI_GLYPHS, UNIT_LENGTHS, UNIT_PACES, UNIT_SLOPES, UNIT_TEMPERATURES, USER_WAYPOINT_ICONS, type UiGlyph, type UnitFormatOptions, type UnitLength, type UnitPace, type UnitSlope, type UnitTemperature, type Unsubscribe, type UserWaypointIcon, WAYPOINT_AMENITIES, WAYPOINT_AMENITY_GROUPS, WAYPOINT_EDIT_MODES, WAYPOINT_FALLBACK_GLYPH, WAYPOINT_GLYPHS, WAYPOINT_ICON_GROUPS, WAYPOINT_ICON_PREFIX, WAYPOINT_PROPERTY_FORMATS, WAYPOINT_PROXIMITY_METERS, WEB_MERCATOR_MAX_LAT, type WatermarkPage, type WatermarkPlacement, type WayRow, type Waypoint, type WaypointAmenity, type WaypointAmenityGroupId, type WaypointAt, type WaypointCardFacts, type WaypointCardField, type WaypointCardRow, type WaypointCardService, type WaypointCardStringsLike, type WaypointContactDetail, type WaypointContactRow, type WaypointDetails, type WaypointDraftSnapshot, type WaypointEditMode, type WaypointEditOptions, type WaypointEngineDraftChange, type WaypointGlyph, type WaypointIconGroupId, type WaypointLinkDetail, type WaypointMediaDetail, type WaypointMediaLink, type WaypointOn, type WaypointPhotoDetail, type WaypointPoiCapture, type WaypointPoiSeed, type WaypointProjection, type WaypointPropertyDetail, type WaypointPropertyFormat, type WaypointPropertyFormatDetail, type WaypointRowCell, type WaypointRowCellOptions, type WaypointTableColumn, type WaypointTimingDetail, ZONE_CREATE_CURSOR, ZONE_DEFAULT_COLOR, ZONE_FILL_SOURCE_LAYER, ZONE_LEVELS, ZONE_MODES, ZOOM_BUFFER, ZOOM_EASE_MS, type ZoneDraft, type ZoneEditOptions, type ZoneLevel, type ZoneMode, type ZoneRow, type ZoomBounds, type ZoomRange, activePointAt, activityMarkerIcon, allowedAttributes, amenityFilter, amenityGlyph, amenityName, amenityStacks, analysisProps, anchoredDomain, applyLanguageToStyle, applySegmentGroups, applySpecification, aspectCardinal, assignDistinctColors, badgeFallback, bandValueAt, boundaryToBoundingBox, boundingBoxSpanMeters, boundingBoxToBoundary, boundingBoxToPolygon, boundsOf, boundsTuple, boundsWithPixelPadding, browserGeolocation, buildElevationPoints, buildElevationSeries, buildGeometryCollection, buildInfoBands, buildSegmentGeometry, buildSlices, carriesElevation, chainGeometry, clampMapLanguage, clampRange, classAt, classifySteepness, clearIntlCache, climbAt, climbCategoryFor, collectionRow, committedPaceOf, convertDataSize, convertDuration, convertLength, convertProportion, convertSlope, convertSpeed, convertTemperature, createIconProvider, createSearchViewport, createTransformRequest, cullCrowdedLabels, cumulativeElevation, cursorMarkerIds, curveSpans, curveStops, dateTimeFormat, decodeElevation, defaultMapPaint, defaultUnits, describePlace, describePoi, describeWay, describeZone, detectClimbs, directionsToGeoJson, displayNames, displayToKilometersPerHour, distanceForSlice, distanceTicks, distanceToFraction, distanceToSegmentMeters, distanceUnitFor, dividesRoute, domainTicks, downsampleElevation, durationForSpeed, effectiveZoomBounds, elevationAt, elevationTilesAt, elevationUnitFor, embedFitPadding, errorFrom, estimateProfileHeight, everySectionEmpty, extractLineStrings, extractLines, extractPoint, extractVias, fallbackProvider, fetchItinerary, findOverlay, firstActiveSection, flattenGeometries, formatAltitudeRange, formatDistance, formatDuration, formatElevation, formatHumidity, formatLngLat, formatNavDistance, formatNumber, formatPaceClock, formatProportion, formatSlope, formatSnowDepth, formatSnowfall, formatSpeed, formatTemperature, formattedInstant, geometriesEqual, glyphPaint, gradeAt, groupIdForSegment, haversineMeters, hideCursorMarker, highlightRanges, hoveredItinerary, inertGeolocation, invalidateItineraryResource, isEnrichmentCategory, isItineraryCasingLayer, isPaceUnit, isSegmentRowLit, isWebAddress, isochroneColor, isochronesToGeoJson, itineraryCasingSpec, itineraryCharacteristics, itineraryDashedLineSpec, itineraryGeometry, itineraryLineLayout, itineraryLineSpec, itineraryRow, itinerarySegmentRows, itinerarySegments, itineraryWaypoint, itineraryWaypointRows, itineraryWaypoints, kilometersPerHourToDisplay, languageEndonym, layersPanelPress, layersPanelSections, lineBetween, litSegmentId, longitudeDelta, lucideIconProvider, lucideUiIconProvider, manualClock, maplibregl, matrixLineWidth, matrixToGeoJson, maxBoundsLongitudes, maxOrNull, metersToRoute, minOrNull, nearestPointIndexAt, nearestRoutePointIndexAt, normalizeBoundingBox, numberFormat, omtCategoryToPoiEnum, organizationWatermark, overlayInstant, paceClockNumberToMinutes, paceMinutesToClockNumber, paddedMaxBounds, paintZoomRange, panelLayout, parseAscentToMeters, parseDistanceToMeters, parseGlyph, parsePaceClock, parseSpeedToKmh, pickLivelyColor, pickTarget, placeGlyph, placeOnCurve, placeRow, placeSpans, placeTitle, placesToGeoJson, poiCategoryStyles, poiPanelNoteZoom, poiPanelRows, poiRow, poiSourceLayers, poiTitle, pointTuple, poisToGeoJson, preferenceChoices, preferencePress, profileAreaPath, profileCharacteristics, profileDomain, profileLength, profileLines, profilePolyline, profileReadout, profileSpans, profileTotals, profileX, profileY, projectMarkers, projectWaypoints, rangeTotals, rankForTileLayer, readoutRows, relativeTimeFormat, removeSpecification, repeatEvery, resolveCharacteristics, resolveMapPaint, resolveProfileVisibility, resolveSpeedKmh, resolveWaypoints, roadAccessColors, roadAccessFeatures, roadAccessGlyph, roadAccessIconLayerIdOf, roadAccessKindOf, routeLines, rowAt, rowStandsFor, searchFilterTargets, searchListState, sectionChipCells, sectionGrade, sectionHasRows, sectionsForFilter, segmentColorAt, segmentGeometries, segmentGroupOptionId, segmentIdsForOption, segmentLineCoordinates, segmentRowCell, segmentRowCursor, segmentsForSelection, selectBoundary, showCursorMarker, shownSearchSnapshot, slopeAspectFromNeighbours, slopeColors, slopeRampColor, specificationBounds, speedUnitFor, splitByRanges, splitDuration, statStripCells, suggestionsToGeoJson, sumOrNull, surfaceColors, systemClock, terrainFromElevationTiles, tileLayerSpec, tileSourceLayerRanks, tileSourceSpec, timeSliderReadout, timeSliderRelease, timeSliderTicks, timeSliderWindow, timestampedSources, toggleAmenity, trailDifficultyRank, unansweredSearchSnapshot, viewportBoundsFrom, watermarkArtwork, wayRow, wayTitle, wayTypeColors, waypointCard, waypointContactRows, waypointDeclaresNothing, waypointGeometries, waypointHeadline, waypointIconImageId, waypointMediaLinkIsLink, waypointMediaLinks, waypointMediaPhotos, waypointPropertyIsLink, waypointPropertyValue, waypointRowCell, waypointRowCursor, waypointSummary, waypointTimingRows, waypointsForSelection, wrapLongitude, wrapLongitudePastRange, writeLegEmphasis, zoneLevelColors, zoneRow, zoomInterpolatedWidth, zoomIntoRange };
|
|
174
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { a as ZOOM_EASE_MS, d as createTransformRequest, i as STREETVIEW_COVERAGE_TILES, l as maplibregl, n as STREETVIEW_COVERAGE_LAYER, o as ensureMapLibreWorker, r as STREETVIEW_COVERAGE_SOURCE, s as beforeIdForRank, t as MountayaMap } from "./chunk-pBleU6Nv.js";
|
|
2
|
+
import { y as MapEventEngine } from "./chunk-DpMouOoH.js";
|
|
3
|
+
import { t as appendGlyph } from "./chunk-BxUio8kX.js";
|
|
4
|
+
import { a as fetchItinerary, i as invalidateItineraryResource, n as WAYPOINT_EDIT_MODES, r as ItineraryResourceEngine, t as SEGMENT_EDIT_MODES } from "./chunk-YrtOx6oy.js";
|
|
5
|
+
import { a as itineraryWaypoints, c as applySegmentGroups, d as segmentIdsForOption, i as itineraryWaypoint, l as groupIdForSegment, n as itineraryGeometry, o as SEGMENT_GROUP_ID_PREFIX, r as itinerarySegments, s as SEGMENT_GROUP_MIN_MEMBERS, t as itineraryCharacteristics, u as segmentGroupOptionId } from "./chunk-DbCPhepL.js";
|
|
6
|
+
import { A as rangeTotals, C as lineBetween, D as profileLines, E as profileLength, M as minOrNull, N as sumOrNull, O as profileTotals, S as gradeAt, T as nearestPointIndexAt, _ as clampRange, a as profileCharacteristics, b as elevationAt, c as ELEVATION_NOISE_THRESHOLD_METERS, d as MARKER_PROXIMITY_METERS, f as MAX_PROFILE_POINTS, g as buildElevationSeries, i as committedPaceOf, j as maxOrNull, k as projectMarkers, l as GRADE_WINDOW_METERS, m as activePointAt, n as buildElevationPoints, o as projectWaypoints, p as MIN_RANGE_SPAN_METERS, r as buildInfoBands, s as trailDifficultyRank, t as WAYPOINT_PROXIMITY_METERS, u as MARKER_BELONGING_METERS, v as cumulativeElevation, y as downsampleElevation } from "./chunk-ohsf-6Rn.js";
|
|
7
|
+
import { n as roadAccessFeatures, r as roadAccessKindOf, t as ROAD_ACCESS_KINDS } from "./chunk-DwG6M_0v.js";
|
|
8
|
+
import { a as waypointsForSelection, i as waypointGeometries, n as segmentGeometries, r as segmentsForSelection } from "./chunk-dfOgV3fu.js";
|
|
9
|
+
import { r as nearestRoutePointIndexAt, t as bandValueAt } from "./chunk-BP6KgA86.js";
|
|
10
|
+
import { n as ZONE_MODES, t as ZONE_LEVELS } from "./chunk-RrKkJb6P.js";
|
|
11
|
+
import { a as EDIT_GRAB_CURSOR, i as EDIT_GRABBING_CURSOR, o as EDIT_MOVE_CURSOR, r as EDIT_CROSS_CURSOR, s as ZONE_CREATE_CURSOR, t as CURSOR_LOCK_DATA_ATTRIBUTE } from "./chunk-yMzRr26E.js";
|
|
12
|
+
import { a as errorFrom, i as MountayaElementsRejectionError, n as MountayaElementsForbiddenError, r as MountayaElementsNotFoundError, t as MountayaElementsError } from "./chunk-Cl1etdlu.js";
|
|
13
|
+
import { n as boundingBoxToBoundary, r as selectBoundary, t as boundaryToBoundingBox } from "./chunk-Dw8ur6FJ.js";
|
|
14
|
+
import { _ as specificationBounds, a as TILE_ZOOM_MAX, c as ZOOM_BUFFER, d as boundsWithPixelPadding, f as effectiveZoomBounds, h as paddedMaxBounds, i as MAX_BOUNDS_PAD_FRACTION, m as normalizeBoundingBox, n as EFFECTIVE_ZOOM_MIN_SPAN, o as TILE_ZOOM_MIN, p as maxBoundsLongitudes, r as MAX_BOUNDS_MIN_PAD_DEG, s as WEB_MERCATOR_MAX_LAT, t as EFFECTIVE_MIN_ZOOM_FLOOR, u as boundingBoxSpanMeters } from "./chunk-DyhJZC2i.js";
|
|
15
|
+
import { a as routeLines, i as metersToRoute, t as distanceToSegmentMeters } from "./chunk-iIWxsAXd.js";
|
|
16
|
+
import { i as terrainFromElevationTiles, n as decodeElevation, r as elevationTilesAt, t as formatLngLat } from "./chunk-FyCYofv2.js";
|
|
17
|
+
import { i as haversineMeters, t as EARTH_RADIUS_METERS } from "./chunk-BlKF4lrp.js";
|
|
18
|
+
import { a as extractLines, c as flattenGeometries, i as extractLineStrings, l as geometriesEqual, n as boundsOf, o as extractPoint, r as buildGeometryCollection, s as extractVias, t as boundingBoxToPolygon, u as segmentLineCoordinates } from "./chunk-CJwUtkOt.js";
|
|
19
|
+
import { i as languageEndonym, n as clampMapLanguage, t as MAP_LANGUAGES } from "./chunk-Bywi0K1N.js";
|
|
20
|
+
import { a as wrapLongitudePastRange, i as wrapLongitude, n as LONGITUDE_LIMIT, r as longitudeDelta, t as LATITUDE_LIMIT } from "./chunk-C9aR8DXb.js";
|
|
21
|
+
import { i as SEARCH_LIMIT_MAX, n as pointTuple, r as viewportBoundsFrom, t as boundsTuple } from "./chunk-BHeXmM0X.js";
|
|
22
|
+
import { a as buildSegmentGeometry, i as SEGMENT_MIN_VIAS, n as DIRECTIONS_VIA_MAX, r as DIRECTIONS_VIA_MIN, t as DIRECTIONS_VIA_COUNTER_THRESHOLD } from "./chunk-fWRUMgRI.js";
|
|
23
|
+
import { n as slopeAspectFromNeighbours, t as aspectCardinal } from "./chunk-DLZ0QYm9.js";
|
|
24
|
+
import { a as WAYPOINT_AMENITY_GROUPS, c as ACTIVITY_MARKER_PREFIX, i as WAYPOINT_AMENITIES, l as activityMarkerIcon, n as lucideUiIconProvider, o as WAYPOINT_PROPERTY_FORMATS, r as AMENITY_GLYPHS, s as amenityGlyph, t as UI_GLYPHS } from "./chunk-Ddv484ld.js";
|
|
25
|
+
import { t as watermarkArtwork } from "./chunk-CLqUlkAe.js";
|
|
26
|
+
import { t as placeGlyph } from "./chunk-C71dpWUK.js";
|
|
27
|
+
import { t as lucideIconProvider } from "./chunk-B_4SVmvh.js";
|
|
28
|
+
import { a as fallbackProvider, i as createIconProvider, n as allowedAttributes, r as parseGlyph, t as glyphPaint } from "./chunk-Dy9a5ibO.js";
|
|
29
|
+
import { r as waypointIconImageId, t as WAYPOINT_ICON_PREFIX } from "./chunk-HIJzXoN4.js";
|
|
30
|
+
import { a as WAYPOINT_GLYPHS, i as WAYPOINT_FALLBACK_GLYPH, n as DEFAULT_WAYPOINT_ICON, o as WAYPOINT_ICON_GROUPS, r as USER_WAYPOINT_ICONS, t as DEFAULT_WAYPOINT_COLOR } from "./chunk-Den0Ta6C.js";
|
|
31
|
+
import { a as timeSliderRelease, c as poiPanelNoteZoom, d as layersPanelPress, f as layersPanelSections, g as LayersSelectionEngine, h as readoutRows, i as timeSliderReadout, l as poiPanelRows, m as ReadoutEngine, n as TIME_WINDOW_PAST_HOURS, o as timeSliderTicks, p as hoveredItinerary, r as timeSliderWindow, s as STREETVIEW_MIN_ZOOM, t as TIME_WINDOW_FUTURE_HOURS, u as overlayInstant } from "./chunk-D8bdTysL.js";
|
|
32
|
+
import { C as SUGGESTION_ALTERNATIVE_DASHARRAY, D as matrixLineWidth, E as isochroneColor, F as isEnrichmentCategory, M as findOverlay, N as ENRICHMENT_CATEGORY_SLUG, O as paintZoomRange, P as POIS_OVERLAY_SLUG, S as SUGGESTION_ALTERNATIVE_COLOR, T as SUGGESTION_CHOSEN_COLOR, _ as PLACE_POINT_COLOR, a as placesToGeoJson, b as RESULT_POINT_STROKE_COLOR, c as DIRECTIONS_LINE_COLOR, d as ISOCHRONE_LINE_WIDTH, f as ISOCHRONE_RAMP, g as MATRIX_LINE_OPACITY, h as MATRIX_LINE_MIN_WIDTH, i as matrixToGeoJson, j as timestampedSources, k as zoomIntoRange, l as ISOCHRONE_FILL_OPACITY, m as MATRIX_LINE_MAX_WIDTH, n as directionsToGeoJson, o as poisToGeoJson, p as MATRIX_LINE_COLOR, r as isochronesToGeoJson, s as suggestionsToGeoJson, t as analysisProps, u as ISOCHRONE_LINE_COLOR, v as POI_RESULT_POINT_COLOR, w as SUGGESTION_ALTERNATIVE_OPACITY, x as RESULT_POINT_STROKE_WIDTH, y as RESULT_POINT_RADIUS } from "./chunk-C8ZGryck.js";
|
|
33
|
+
import { C as roadAccessIconLayerIdOf, _ as ITINERARY_LINE_WIDTH_STOPS, a as tileSourceLayerRanks, b as isItineraryCasingLayer, c as zoneLevelColors, d as ITINERARY_CASING_OPACITY, f as ITINERARY_CASING_WIDTH_STOPS, g as ITINERARY_LINE_SOURCE_LAYER, h as ITINERARY_LINE_DASHARRAY, i as rankForTileLayer, l as ITINERARY_CASING_COLOR, m as ITINERARY_ENDPOINT_ICONS, n as POI_SOURCE_LAYER_NAMES, o as ZONE_DEFAULT_COLOR, p as ITINERARY_DASHED_OPACITY, r as poiSourceLayers, s as ZONE_FILL_SOURCE_LAYER, t as LayerRank, u as ITINERARY_CASING_LAYER_SUFFIX, v as ITINERARY_POINT_SOURCE_LAYER, x as itineraryLineLayout, y as ITINERARY_RESTRICTION_SOURCE_LAYER } from "./chunk-CJp8nGcb.js";
|
|
34
|
+
import { n as poiCategoryStyles, t as omtCategoryToPoiEnum } from "./chunk-blqsohAb.js";
|
|
35
|
+
import { $ as classAt, A as PROFILE_PANEL_MIN_GAP, At as waypointSummary, B as dividesRoute, C as writeLegEmphasis, Ct as waypointDeclaresNothing, D as EMBED_PROFILE_CHARACTERISTICS_HEIGHT, Dt as waypointMediaPhotos, E as EMBED_PROFILE_ANCHOR_INSET, Et as waypointMediaLinks, F as PROFILE_LABEL_COLUMN, G as DEFAULT_READOUT_STATS, H as itineraryWaypointRows, I as PROFILE_PLOT_RIGHT_INSET, J as PROFILE_BOTTOM_INSET, K as profileReadout, L as distanceToFraction, M as estimateProfileHeight, Mt as isWebAddress, N as resolveProfileVisibility, Nt as formattedInstant, O as EMBED_PROFILE_PANEL_CHROME, Ot as waypointPropertyIsLink, P as PROFILE_CHART_HEIGHT, Pt as badgeFallback, Q as anchoredDomain, R as placeOnCurve, S as wayTypeColors, St as waypointContactRows, T as EMBED_PROFILE_ANALYSIS_HEIGHT, Tt as waypointMediaLinkIsLink, U as resolveCharacteristics, V as itinerarySegmentRows, W as resolveWaypoints, X as PROFILE_VIEWBOX, Y as PROFILE_TOP_INSET, Z as SLOPE_COLOR_STOPS, _ as HIT_SLICES, _t as amenityStacks, a as waypointRowCursor, at as profilePolyline, b as distanceForSlice, bt as amenityName, c as segmentRowCell, ct as slopeColors, d as statStripCells, dt as hideCursorMarker, et as curveSpans, f as DEFAULT_SECTION_CHIP_STATS, ft as showCursorMarker, g as rowStandsFor, gt as DEFAULT_AMENITY_STACK_MAX, h as rowAt, ht as profileSpans, i as segmentRowCursor, it as profileDomain, j as embedFitPadding, jt as waypointTimingRows, k as EMBED_PROFILE_SECTION_GAP, kt as waypointPropertyValue, l as waypointRowCell, lt as CURSOR_MARKER_GLYPH, m as sectionGrade, mt as carriesElevation, n as isSegmentRowLit, nt as domainTicks, o as DEFAULT_SEGMENT_TABLE_COLUMNS, ot as profileX, p as sectionChipCells, pt as cullCrowdedLabels, q as PROFILE_BASELINE, r as litSegmentId, rt as profileAreaPath, s as DEFAULT_WAYPOINT_TABLE_COLUMNS, st as profileY, t as placeSpans, tt as curveStops, u as DEFAULT_STAT_STRIP_STATS, ut as cursorMarkerIds, v as SLICE_WIDTH, vt as amenityFilter, w as EMBED_FIT_BASE_MARGIN, wt as waypointHeadline, x as surfaceColors, xt as waypointCard, y as buildSlices, yt as toggleAmenity, z as chainGeometry } from "./chunk-D0LF-99V.js";
|
|
36
|
+
import { i as detectClimbs, n as climbAt, r as climbCategoryFor, t as CLIMB_CATEGORIES } from "./chunk-BWjRfhpF.js";
|
|
37
|
+
import { a as numberFormat, n as dateTimeFormat, o as relativeTimeFormat, r as displayNames, t as clearIntlCache } from "./chunk-C5q1sgSa.js";
|
|
38
|
+
import { n as DESCENT_RAMP_STOPS, r as slopeRampColor, t as ASCENT_RAMP_STOPS } from "./chunk-RTxe2i66.js";
|
|
39
|
+
import { i as distanceTicks, n as STEEPNESS_THRESHOLDS, r as classifySteepness, t as STEEPNESS_OVERLAY_SLUG } from "./chunk-px4e99cy.js";
|
|
40
|
+
import { C as parseAscentToMeters, D as resolveSpeedKmh, E as parseSpeedToKmh, O as speedUnitFor, S as paceMinutesToClockNumber, T as parsePaceClock, _ as formatSnowfall, a as elevationUnitFor, b as kilometersPerHourToDisplay, c as formatDuration, d as formatNavDistance, f as formatNumber, g as formatSnowDepth, h as formatSlope, i as durationForSpeed, k as splitDuration, l as formatElevation, m as formatProportion, n as displayToKilometersPerHour, o as formatAltitudeRange, p as formatPaceClock, r as distanceUnitFor, s as formatDistance, t as defaultUnits, u as formatHumidity, v as formatSpeed, w as parseDistanceToMeters, x as paceClockNumberToMinutes, y as formatTemperature } from "./chunk-D1fe-0c_.js";
|
|
41
|
+
import { t as inDevelopment } from "./chunk-CN_TKSgm.js";
|
|
42
|
+
import { i as GeolocateControlEngine, n as repeatEvery, r as systemClock, t as manualClock } from "./chunk-DyayZlQJ.js";
|
|
43
|
+
import { n as inertGeolocation, t as browserGeolocation } from "./chunk-DSGkP8_y.js";
|
|
44
|
+
import { t as SEGMENT_ROUTE_REFUSED } from "./chunk-CmoVJDoz.js";
|
|
45
|
+
import { A as poiTitle, C as highlightRanges, D as describeWay, E as describePoi, O as describeZone, S as zoneRow, T as describePlace, _ as collectionRow, a as SEARCH_FILTERS, b as poiRow, c as searchFilterTargets, d as sectionsForFilter, f as SEARCH_DEBOUNCE_MS, g as SECTION_ORDER, h as SearchEngine, i as pickTarget, j as wayTitle, k as placeTitle, l as searchListState, m as SEARCH_VIEWPORT_REFRESH_MS, n as unansweredSearchSnapshot, o as everySectionEmpty, p as SEARCH_TARGETS, r as createSearchViewport, s as firstActiveSection, t as shownSearchSnapshot, u as sectionHasRows, v as itineraryRow, w as splitByRanges, x as wayRow, y as placeRow } from "./chunk-CwDeiN5U.js";
|
|
46
|
+
import { a as applySpecification, c as tileSourceSpec, l as OrganizationReadEngine, n as BASEMAP_ATTRIBUTION, o as removeSpecification, s as tileLayerSpec, t as applyLanguageToStyle } from "./chunk-Dav4xWrp.js";
|
|
47
|
+
import { a as itineraryLineSpec, c as resolveMapPaint, d as assignDistinctColors, f as pickLivelyColor, i as itineraryDashedLineSpec, l as DEFAULT_SEGMENT_COLOR, n as roadAccessGlyph, o as zoomInterpolatedWidth, p as segmentColorAt, r as itineraryCasingSpec, s as defaultMapPaint, t as roadAccessColors, u as LIVELY_PALETTE } from "./chunk-DAmkQl-i.js";
|
|
48
|
+
import { n as organizationWatermark, t as panelLayout } from "./chunk-gbj2R-_w.js";
|
|
49
|
+
import { a as MINUTES_PER_HOUR, c as SECONDS_PER_MINUTE, d as convertLength, f as convertProportion, g as isPaceUnit, h as convertTemperature, i as MILLISECONDS_PER_SECOND, l as convertDataSize, m as convertSpeed, n as DEGREES_TO_RADIANS, o as RADIANS_TO_DEGREES, p as convertSlope, r as METERS_PER_KILOMETER, s as SECONDS_PER_HOUR, t as DEGREES_PER_TURN, u as convertDuration } from "./chunk-DsDYVJQC.js";
|
|
50
|
+
import { a as UNIT_SLOPES, i as UNIT_PACES, n as preferencePress, o as UNIT_TEMPERATURES, r as UNIT_LENGTHS, t as preferenceChoices } from "./chunk-CKiVSRYg.js";
|
|
51
|
+
const currentMapHash = () => typeof globalThis.window === "undefined" ? "" : globalThis.window.location.hash.replace(/^#/, "");
|
|
52
|
+
export { ACTIVITY_MARKER_PREFIX, AMENITY_GLYPHS, ASCENT_RAMP_STOPS, BASEMAP_ATTRIBUTION, CLIMB_CATEGORIES, CURSOR_LOCK_DATA_ATTRIBUTE, CURSOR_MARKER_GLYPH, DEFAULT_AMENITY_STACK_MAX, DEFAULT_READOUT_STATS, DEFAULT_SECTION_CHIP_STATS, DEFAULT_SEGMENT_COLOR, DEFAULT_SEGMENT_TABLE_COLUMNS, DEFAULT_STAT_STRIP_STATS, DEFAULT_WAYPOINT_COLOR, DEFAULT_WAYPOINT_ICON, DEFAULT_WAYPOINT_TABLE_COLUMNS, DEGREES_PER_TURN, DEGREES_TO_RADIANS, DESCENT_RAMP_STOPS, DIRECTIONS_LINE_COLOR, DIRECTIONS_VIA_COUNTER_THRESHOLD, DIRECTIONS_VIA_MAX, DIRECTIONS_VIA_MIN, EARTH_RADIUS_METERS, EDIT_CROSS_CURSOR, EDIT_GRABBING_CURSOR, EDIT_GRAB_CURSOR, EDIT_MOVE_CURSOR, EFFECTIVE_MIN_ZOOM_FLOOR, EFFECTIVE_ZOOM_MIN_SPAN, ELEVATION_NOISE_THRESHOLD_METERS, EMBED_FIT_BASE_MARGIN, EMBED_PROFILE_ANALYSIS_HEIGHT, EMBED_PROFILE_ANCHOR_INSET, EMBED_PROFILE_CHARACTERISTICS_HEIGHT, EMBED_PROFILE_PANEL_CHROME, EMBED_PROFILE_SECTION_GAP, ENRICHMENT_CATEGORY_SLUG, GRADE_WINDOW_METERS, GeolocateControlEngine, HIT_SLICES, ISOCHRONE_FILL_OPACITY, ISOCHRONE_LINE_COLOR, ISOCHRONE_LINE_WIDTH, ISOCHRONE_RAMP, ITINERARY_CASING_COLOR, ITINERARY_CASING_LAYER_SUFFIX, ITINERARY_CASING_OPACITY, ITINERARY_CASING_WIDTH_STOPS, ITINERARY_DASHED_OPACITY, ITINERARY_ENDPOINT_ICONS, ITINERARY_LINE_DASHARRAY, ITINERARY_LINE_SOURCE_LAYER, ITINERARY_LINE_WIDTH_STOPS, ITINERARY_POINT_SOURCE_LAYER, ITINERARY_RESTRICTION_SOURCE_LAYER, ItineraryResourceEngine, LATITUDE_LIMIT, LIVELY_PALETTE, LONGITUDE_LIMIT, LayerRank, LayersSelectionEngine, MAP_LANGUAGES, MARKER_BELONGING_METERS, MARKER_PROXIMITY_METERS, MATRIX_LINE_COLOR, MATRIX_LINE_MAX_WIDTH, MATRIX_LINE_MIN_WIDTH, MATRIX_LINE_OPACITY, MAX_BOUNDS_MIN_PAD_DEG, MAX_BOUNDS_PAD_FRACTION, MAX_PROFILE_POINTS, METERS_PER_KILOMETER, MILLISECONDS_PER_SECOND, MINUTES_PER_HOUR, MIN_RANGE_SPAN_METERS, MapEventEngine, MountayaElementsError, MountayaElementsForbiddenError, MountayaElementsNotFoundError, MountayaElementsRejectionError, MountayaMap, OrganizationReadEngine, PLACE_POINT_COLOR, POIS_OVERLAY_SLUG, POI_RESULT_POINT_COLOR, POI_SOURCE_LAYER_NAMES, PROFILE_BASELINE, PROFILE_BOTTOM_INSET, PROFILE_CHART_HEIGHT, PROFILE_LABEL_COLUMN, PROFILE_PANEL_MIN_GAP, PROFILE_PLOT_RIGHT_INSET, PROFILE_TOP_INSET, PROFILE_VIEWBOX, RADIANS_TO_DEGREES, RESULT_POINT_RADIUS, RESULT_POINT_STROKE_COLOR, RESULT_POINT_STROKE_WIDTH, ROAD_ACCESS_KINDS, ReadoutEngine, SEARCH_DEBOUNCE_MS, SEARCH_FILTERS, SEARCH_LIMIT_MAX, SEARCH_TARGETS, SEARCH_VIEWPORT_REFRESH_MS, SECONDS_PER_HOUR, SECONDS_PER_MINUTE, SECTION_ORDER, SEGMENT_EDIT_MODES, SEGMENT_GROUP_ID_PREFIX, SEGMENT_GROUP_MIN_MEMBERS, SEGMENT_MIN_VIAS, SEGMENT_ROUTE_REFUSED, SLICE_WIDTH, SLOPE_COLOR_STOPS, STEEPNESS_OVERLAY_SLUG, STEEPNESS_THRESHOLDS, STREETVIEW_COVERAGE_LAYER, STREETVIEW_COVERAGE_SOURCE, STREETVIEW_COVERAGE_TILES, STREETVIEW_MIN_ZOOM, SUGGESTION_ALTERNATIVE_COLOR, SUGGESTION_ALTERNATIVE_DASHARRAY, SUGGESTION_ALTERNATIVE_OPACITY, SUGGESTION_CHOSEN_COLOR, SearchEngine, TILE_ZOOM_MAX, TILE_ZOOM_MIN, TIME_WINDOW_FUTURE_HOURS, TIME_WINDOW_PAST_HOURS, UI_GLYPHS, UNIT_LENGTHS, UNIT_PACES, UNIT_SLOPES, UNIT_TEMPERATURES, USER_WAYPOINT_ICONS, WAYPOINT_AMENITIES, WAYPOINT_AMENITY_GROUPS, WAYPOINT_EDIT_MODES, WAYPOINT_FALLBACK_GLYPH, WAYPOINT_GLYPHS, WAYPOINT_ICON_GROUPS, WAYPOINT_ICON_PREFIX, WAYPOINT_PROPERTY_FORMATS, WAYPOINT_PROXIMITY_METERS, WEB_MERCATOR_MAX_LAT, ZONE_CREATE_CURSOR, ZONE_DEFAULT_COLOR, ZONE_FILL_SOURCE_LAYER, ZONE_LEVELS, ZONE_MODES, ZOOM_BUFFER, ZOOM_EASE_MS, activePointAt, activityMarkerIcon, allowedAttributes, amenityFilter, amenityGlyph, amenityName, amenityStacks, analysisProps, anchoredDomain, appendGlyph, applyLanguageToStyle, applySegmentGroups, applySpecification, aspectCardinal, assignDistinctColors, badgeFallback, bandValueAt, beforeIdForRank, boundaryToBoundingBox, boundingBoxSpanMeters, boundingBoxToBoundary, boundingBoxToPolygon, boundsOf, boundsTuple, boundsWithPixelPadding, browserGeolocation, buildElevationPoints, buildElevationSeries, buildGeometryCollection, buildInfoBands, buildSegmentGeometry, buildSlices, carriesElevation, chainGeometry, clampMapLanguage, clampRange, classAt, classifySteepness, clearIntlCache, climbAt, climbCategoryFor, collectionRow, committedPaceOf, convertDataSize, convertDuration, convertLength, convertProportion, convertSlope, convertSpeed, convertTemperature, createIconProvider, createSearchViewport, createTransformRequest, cullCrowdedLabels, cumulativeElevation, currentMapHash, cursorMarkerIds, curveSpans, curveStops, dateTimeFormat, decodeElevation, defaultMapPaint, defaultUnits, describePlace, describePoi, describeWay, describeZone, detectClimbs, directionsToGeoJson, displayNames, displayToKilometersPerHour, distanceForSlice, distanceTicks, distanceToFraction, distanceToSegmentMeters, distanceUnitFor, dividesRoute, domainTicks, downsampleElevation, durationForSpeed, effectiveZoomBounds, elevationAt, elevationTilesAt, elevationUnitFor, embedFitPadding, ensureMapLibreWorker, errorFrom, estimateProfileHeight, everySectionEmpty, extractLineStrings, extractLines, extractPoint, extractVias, fallbackProvider, fetchItinerary, findOverlay, firstActiveSection, flattenGeometries, formatAltitudeRange, formatDistance, formatDuration, formatElevation, formatHumidity, formatLngLat, formatNavDistance, formatNumber, formatPaceClock, formatProportion, formatSlope, formatSnowDepth, formatSnowfall, formatSpeed, formatTemperature, formattedInstant, geometriesEqual, glyphPaint, gradeAt, groupIdForSegment, haversineMeters, hideCursorMarker, highlightRanges, hoveredItinerary, inDevelopment, inertGeolocation, invalidateItineraryResource, isEnrichmentCategory, isItineraryCasingLayer, isPaceUnit, isSegmentRowLit, isWebAddress, isochroneColor, isochronesToGeoJson, itineraryCasingSpec, itineraryCharacteristics, itineraryDashedLineSpec, itineraryGeometry, itineraryLineLayout, itineraryLineSpec, itineraryRow, itinerarySegmentRows, itinerarySegments, itineraryWaypoint, itineraryWaypointRows, itineraryWaypoints, kilometersPerHourToDisplay, languageEndonym, layersPanelPress, layersPanelSections, lineBetween, litSegmentId, longitudeDelta, lucideIconProvider, lucideUiIconProvider, manualClock, maplibregl, matrixLineWidth, matrixToGeoJson, maxBoundsLongitudes, maxOrNull, metersToRoute, minOrNull, nearestPointIndexAt, nearestRoutePointIndexAt, normalizeBoundingBox, numberFormat, omtCategoryToPoiEnum, organizationWatermark, overlayInstant, paceClockNumberToMinutes, paceMinutesToClockNumber, paddedMaxBounds, paintZoomRange, panelLayout, parseAscentToMeters, parseDistanceToMeters, parseGlyph, parsePaceClock, parseSpeedToKmh, pickLivelyColor, pickTarget, placeGlyph, placeOnCurve, placeRow, placeSpans, placeTitle, placesToGeoJson, poiCategoryStyles, poiPanelNoteZoom, poiPanelRows, poiRow, poiSourceLayers, poiTitle, pointTuple, poisToGeoJson, preferenceChoices, preferencePress, profileAreaPath, profileCharacteristics, profileDomain, profileLength, profileLines, profilePolyline, profileReadout, profileSpans, profileTotals, profileX, profileY, projectMarkers, projectWaypoints, rangeTotals, rankForTileLayer, readoutRows, relativeTimeFormat, removeSpecification, repeatEvery, resolveCharacteristics, resolveMapPaint, resolveProfileVisibility, resolveSpeedKmh, resolveWaypoints, roadAccessColors, roadAccessFeatures, roadAccessGlyph, roadAccessIconLayerIdOf, roadAccessKindOf, routeLines, rowAt, rowStandsFor, searchFilterTargets, searchListState, sectionChipCells, sectionGrade, sectionHasRows, sectionsForFilter, segmentColorAt, segmentGeometries, segmentGroupOptionId, segmentIdsForOption, segmentLineCoordinates, segmentRowCell, segmentRowCursor, segmentsForSelection, selectBoundary, showCursorMarker, shownSearchSnapshot, slopeAspectFromNeighbours, slopeColors, slopeRampColor, specificationBounds, speedUnitFor, splitByRanges, splitDuration, statStripCells, suggestionsToGeoJson, sumOrNull, surfaceColors, systemClock, terrainFromElevationTiles, tileLayerSpec, tileSourceLayerRanks, tileSourceSpec, timeSliderReadout, timeSliderRelease, timeSliderTicks, timeSliderWindow, timestampedSources, toggleAmenity, trailDifficultyRank, unansweredSearchSnapshot, viewportBoundsFrom, watermarkArtwork, wayRow, wayTitle, wayTypeColors, waypointCard, waypointContactRows, waypointDeclaresNothing, waypointGeometries, waypointHeadline, waypointIconImageId, waypointMediaLinkIsLink, waypointMediaLinks, waypointMediaPhotos, waypointPropertyIsLink, waypointPropertyValue, waypointRowCell, waypointRowCursor, waypointSummary, waypointTimingRows, waypointsForSelection, wrapLongitude, wrapLongitudePastRange, writeLegEmphasis, zoneLevelColors, zoneRow, zoomInterpolatedWidth, zoomIntoRange };
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/compose/rules/urlHash.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAa,uBACX,OAAO,WAAW,WAAW,cAAc,KAAK,WAAW,OAAO,SAAS,KAAK,QAAQ,MAAM,EAAE"}
|