@mountaya/studio 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/agent/index.cjs +2561 -2815
  3. package/dist/agent/index.cjs.map +1 -1
  4. package/dist/agent/index.d.cts +766 -786
  5. package/dist/agent/index.d.ts +766 -786
  6. package/dist/agent/index.js +2553 -2790
  7. package/dist/agent/index.js.map +1 -1
  8. package/dist/chunk-3Oi_Zrtm.js +9 -0
  9. package/dist/chunk-3Oi_Zrtm.js.map +1 -0
  10. package/dist/chunk-B18OPIu_.js +6 -0
  11. package/dist/chunk-B18OPIu_.js.map +1 -0
  12. package/dist/chunk-B5Uz3Qct.cjs +15 -0
  13. package/dist/chunk-B5Uz3Qct.cjs.map +1 -0
  14. package/dist/chunk-BBEJwkd3.d.cts +839 -0
  15. package/dist/chunk-BIEc_SkR.cjs +29 -0
  16. package/dist/chunk-BIEc_SkR.cjs.map +1 -0
  17. package/dist/chunk-BKMFOe-N.js +171 -0
  18. package/dist/chunk-BKMFOe-N.js.map +1 -0
  19. package/dist/chunk-BP4uy7E1.d.ts +11583 -0
  20. package/dist/chunk-BSHTsFiB.js +1403 -0
  21. package/dist/chunk-BSHTsFiB.js.map +1 -0
  22. package/dist/chunk-BTUUABGI.js +17 -0
  23. package/dist/chunk-BTUUABGI.js.map +1 -0
  24. package/dist/chunk-BaPiaz5X.cjs +115 -0
  25. package/dist/chunk-BaPiaz5X.cjs.map +1 -0
  26. package/dist/chunk-BeCVpkYr.cjs +542 -0
  27. package/dist/chunk-BeCVpkYr.cjs.map +1 -0
  28. package/dist/chunk-BgngsvK8.cjs +6202 -0
  29. package/dist/chunk-BgngsvK8.cjs.map +1 -0
  30. package/dist/chunk-BhInd7CJ.d.cts +253 -0
  31. package/dist/chunk-Bn6ZbxkS.cjs +27 -0
  32. package/dist/chunk-By9ZnkVI.js +60 -0
  33. package/dist/chunk-By9ZnkVI.js.map +1 -0
  34. package/dist/chunk-BzqPhxsz.cjs +367 -0
  35. package/dist/chunk-BzqPhxsz.cjs.map +1 -0
  36. package/dist/chunk-C2mMX81q.d.ts +443 -0
  37. package/dist/chunk-C2rr9Q0V.cjs +1402 -0
  38. package/dist/chunk-C2rr9Q0V.cjs.map +1 -0
  39. package/dist/{directorThreads-CqmvsV8b.d.cts → chunk-CDJCbwIQ.d.cts} +20 -22
  40. package/dist/chunk-CLGvBOVH.d.cts +1654 -0
  41. package/dist/chunk-COdw1dc6.d.ts +525 -0
  42. package/dist/chunk-CQCJnT2i.d.ts +511 -0
  43. package/dist/chunk-CSyHY67q.cjs +353 -0
  44. package/dist/chunk-CSyHY67q.cjs.map +1 -0
  45. package/dist/chunk-CiK1Iqrv.js +950 -0
  46. package/dist/chunk-CiK1Iqrv.js.map +1 -0
  47. package/dist/chunk-CmJBgSwZ.cjs +24 -0
  48. package/dist/chunk-CmJBgSwZ.cjs.map +1 -0
  49. package/dist/chunk-CnrsRK2u.cjs +83 -0
  50. package/dist/chunk-CnrsRK2u.cjs.map +1 -0
  51. package/dist/chunk-Co782_9r.js +326 -0
  52. package/dist/chunk-Co782_9r.js.map +1 -0
  53. package/dist/chunk-Csr3KDpZ.cjs +32 -0
  54. package/dist/chunk-Csr3KDpZ.cjs.map +1 -0
  55. package/dist/chunk-CwkmccXv.js +89 -0
  56. package/dist/chunk-CwkmccXv.js.map +1 -0
  57. package/dist/chunk-D0Q4iL9B.cjs +255 -0
  58. package/dist/chunk-D0Q4iL9B.cjs.map +1 -0
  59. package/dist/chunk-DFwiSzUS.cjs +72 -0
  60. package/dist/chunk-DFwiSzUS.cjs.map +1 -0
  61. package/dist/chunk-DIFayl2P.d.cts +443 -0
  62. package/dist/chunk-DIGF58ux.d.cts +525 -0
  63. package/dist/chunk-DKuuuld5.js +101 -0
  64. package/dist/chunk-DKuuuld5.js.map +1 -0
  65. package/dist/chunk-DMePkFEo.js +5054 -0
  66. package/dist/chunk-DMePkFEo.js.map +1 -0
  67. package/dist/chunk-DO5SIBgu.js +305 -0
  68. package/dist/chunk-DO5SIBgu.js.map +1 -0
  69. package/dist/chunk-DOQ_7eE5.d.ts +6662 -0
  70. package/dist/{tabs-B2nRO4p_.d.ts → chunk-DThaaNeb.d.cts} +2 -2
  71. package/dist/{tabs-B2nRO4p_.d.cts → chunk-DThaaNeb.d.ts} +2 -2
  72. package/dist/{directorThreads-CqmvsV8b.d.ts → chunk-DUQzjUJy.d.ts} +20 -22
  73. package/dist/chunk-DX37IPhV.cjs +1903 -0
  74. package/dist/chunk-DX37IPhV.cjs.map +1 -0
  75. package/dist/chunk-Damps5Tk.cjs +155 -0
  76. package/dist/chunk-Damps5Tk.cjs.map +1 -0
  77. package/dist/chunk-DbK5PhpJ.d.ts +1654 -0
  78. package/dist/chunk-De0vAASv.d.ts +253 -0
  79. package/dist/chunk-DhSZ7YZt.d.cts +6662 -0
  80. package/dist/chunk-DjEvqvPA.cjs +43 -0
  81. package/dist/chunk-DjEvqvPA.cjs.map +1 -0
  82. package/dist/{saveFile-j-1kkApx.d.cts → chunk-DkwDzwvu.d.cts} +7 -9
  83. package/dist/{saveFile-j-1kkApx.d.ts → chunk-DkwDzwvu.d.ts} +7 -9
  84. package/dist/chunk-Dmszv9If.js +71 -0
  85. package/dist/chunk-Dmszv9If.js.map +1 -0
  86. package/dist/chunk-Dp_ftNWY.d.cts +511 -0
  87. package/dist/chunk-DsHQySz0.js +31 -0
  88. package/dist/chunk-DsHQySz0.js.map +1 -0
  89. package/dist/chunk-DwoUyHHh.js +281 -0
  90. package/dist/chunk-DwoUyHHh.js.map +1 -0
  91. package/dist/chunk-IaIDQflj.d.cts +2315 -0
  92. package/dist/chunk-IaIDQflj.d.ts +2315 -0
  93. package/dist/chunk-cVXLsZfL.d.ts +839 -0
  94. package/dist/chunk-mIaCX9EJ.d.cts +11583 -0
  95. package/dist/chunk-nJQxbOwQ.cjs +8962 -0
  96. package/dist/chunk-nJQxbOwQ.cjs.map +1 -0
  97. package/dist/chunk-o9jaxhCO.js +8852 -0
  98. package/dist/chunk-o9jaxhCO.js.map +1 -0
  99. package/dist/chunk-p-Tt_Lwz.js +14 -0
  100. package/dist/chunk-p-Tt_Lwz.js.map +1 -0
  101. package/dist/engines/index.cjs +2046 -3401
  102. package/dist/engines/index.cjs.map +1 -1
  103. package/dist/engines/index.d.cts +1510 -1550
  104. package/dist/engines/index.d.ts +1510 -1550
  105. package/dist/engines/index.js +2039 -3380
  106. package/dist/engines/index.js.map +1 -1
  107. package/dist/handlers/index.cjs +47 -93
  108. package/dist/handlers/index.cjs.map +1 -1
  109. package/dist/handlers/index.d.cts +61 -103
  110. package/dist/handlers/index.d.ts +61 -103
  111. package/dist/handlers/index.js +27 -36
  112. package/dist/handlers/index.js.map +1 -1
  113. package/dist/index.cjs +3347 -4398
  114. package/dist/index.cjs.map +1 -1
  115. package/dist/index.d.cts +8 -7297
  116. package/dist/index.d.ts +8 -7297
  117. package/dist/index.js +2997 -3187
  118. package/dist/index.js.map +1 -1
  119. package/dist/plugins/index.cjs +482 -949
  120. package/dist/plugins/index.cjs.map +1 -1
  121. package/dist/plugins/index.d.cts +44 -61
  122. package/dist/plugins/index.d.ts +44 -61
  123. package/dist/plugins/index.js +471 -915
  124. package/dist/plugins/index.js.map +1 -1
  125. package/dist/seams/index.cjs +77 -140
  126. package/dist/seams/index.cjs.map +1 -1
  127. package/dist/seams/index.d.cts +125 -158
  128. package/dist/seams/index.d.ts +125 -158
  129. package/dist/seams/index.js +41 -71
  130. package/dist/seams/index.js.map +1 -1
  131. package/dist/strings/fr/index.cjs +2130 -2116
  132. package/dist/strings/fr/index.cjs.map +1 -1
  133. package/dist/strings/fr/index.d.cts +3 -5
  134. package/dist/strings/fr/index.d.ts +3 -5
  135. package/dist/strings/fr/index.js +2125 -2114
  136. package/dist/strings/fr/index.js.map +1 -1
  137. package/dist/strings/index.cjs +2331 -2625
  138. package/dist/strings/index.cjs.map +1 -1
  139. package/dist/strings/index.d.cts +3 -731
  140. package/dist/strings/index.d.ts +3 -731
  141. package/dist/strings/index.js +2324 -2615
  142. package/dist/strings/index.js.map +1 -1
  143. package/dist/testing/index.cjs +214 -276
  144. package/dist/testing/index.cjs.map +1 -1
  145. package/dist/testing/index.d.cts +61 -121
  146. package/dist/testing/index.d.ts +61 -121
  147. package/dist/testing/index.js +208 -273
  148. package/dist/testing/index.js.map +1 -1
  149. package/dist/time/index.cjs +23 -23
  150. package/dist/time/index.cjs.map +1 -1
  151. package/dist/time/index.d.cts +5 -7
  152. package/dist/time/index.d.ts +5 -7
  153. package/dist/time/index.js +18 -21
  154. package/dist/time/index.js.map +1 -1
  155. package/package.json +14 -15
  156. package/src/agent/rules/stateDelta.ts +1 -0
  157. package/src/agent/stores/agentThreads.ts +1 -4
  158. package/src/bus/rules/bus.ts +1 -2
  159. package/src/bus/rules/defineRegistry.ts +3 -5
  160. package/src/bus/rules/types.ts +6 -7
  161. package/src/chrome/stores/uiStore.ts +4 -2
  162. package/src/embed/rules/fieldDependencies.ts +2 -0
  163. package/src/embed/rules/safetyRules.ts +2 -0
  164. package/src/embed/rules/tableCode.ts +4 -3
  165. package/src/index.ts +6 -27
  166. package/src/itinerary/rules/import.ts +6 -8
  167. package/src/plugins/contracts/plugin.ts +4 -2
  168. package/src/seams/rules/formatters.ts +5 -3
  169. package/src/testing/index.ts +1 -5
  170. package/src/viewer/rules/platformViewer.ts +1 -0
  171. package/dist/bus-BwiNiXdH.d.ts +0 -514
  172. package/dist/bus-DzmhPwdK.d.cts +0 -514
  173. package/dist/chainModel-B23pEP_1.d.cts +0 -127
  174. package/dist/chainModel-B23pEP_1.d.ts +0 -127
  175. package/dist/chunk-2HFY7ETU.js +0 -5721
  176. package/dist/chunk-2HFY7ETU.js.map +0 -1
  177. package/dist/chunk-355TOXSB.js +0 -72
  178. package/dist/chunk-355TOXSB.js.map +0 -1
  179. package/dist/chunk-4ZCUZVSV.js +0 -10275
  180. package/dist/chunk-4ZCUZVSV.js.map +0 -1
  181. package/dist/chunk-6HEKY3NF.js +0 -95
  182. package/dist/chunk-6HEKY3NF.js.map +0 -1
  183. package/dist/chunk-7GFLGGBX.cjs +0 -8
  184. package/dist/chunk-7GFLGGBX.cjs.map +0 -1
  185. package/dist/chunk-7NBRCENN.cjs +0 -19
  186. package/dist/chunk-7NBRCENN.cjs.map +0 -1
  187. package/dist/chunk-AF5GCXE3.js +0 -8
  188. package/dist/chunk-AF5GCXE3.js.map +0 -1
  189. package/dist/chunk-CJDIFRGZ.cjs +0 -2005
  190. package/dist/chunk-CJDIFRGZ.cjs.map +0 -1
  191. package/dist/chunk-CNPZY7N3.js +0 -349
  192. package/dist/chunk-CNPZY7N3.js.map +0 -1
  193. package/dist/chunk-DZJHTWSF.cjs +0 -45
  194. package/dist/chunk-DZJHTWSF.cjs.map +0 -1
  195. package/dist/chunk-EABIHHWA.js +0 -42
  196. package/dist/chunk-EABIHHWA.js.map +0 -1
  197. package/dist/chunk-EKZWV6RS.cjs +0 -415
  198. package/dist/chunk-EKZWV6RS.cjs.map +0 -1
  199. package/dist/chunk-EOKRXXAC.cjs +0 -24
  200. package/dist/chunk-EOKRXXAC.cjs.map +0 -1
  201. package/dist/chunk-F73W2ZTJ.js +0 -1126
  202. package/dist/chunk-F73W2ZTJ.js.map +0 -1
  203. package/dist/chunk-H4DVOZ5O.js +0 -1897
  204. package/dist/chunk-H4DVOZ5O.js.map +0 -1
  205. package/dist/chunk-HI52PBFT.cjs +0 -10314
  206. package/dist/chunk-HI52PBFT.cjs.map +0 -1
  207. package/dist/chunk-IDBXFBLG.cjs +0 -1225
  208. package/dist/chunk-IDBXFBLG.cjs.map +0 -1
  209. package/dist/chunk-LBWTJZUJ.js +0 -297
  210. package/dist/chunk-LBWTJZUJ.js.map +0 -1
  211. package/dist/chunk-NCLA6DKD.cjs +0 -310
  212. package/dist/chunk-NCLA6DKD.cjs.map +0 -1
  213. package/dist/chunk-O4MC5DPD.js +0 -19
  214. package/dist/chunk-O4MC5DPD.js.map +0 -1
  215. package/dist/chunk-OP37FKW6.cjs +0 -98
  216. package/dist/chunk-OP37FKW6.cjs.map +0 -1
  217. package/dist/chunk-OQSYFH3Z.cjs +0 -5945
  218. package/dist/chunk-OQSYFH3Z.cjs.map +0 -1
  219. package/dist/chunk-PACIO4NS.cjs +0 -26
  220. package/dist/chunk-PACIO4NS.cjs.map +0 -1
  221. package/dist/chunk-PSZ2R3TC.cjs +0 -75
  222. package/dist/chunk-PSZ2R3TC.cjs.map +0 -1
  223. package/dist/chunk-QFO5CZG2.cjs +0 -136
  224. package/dist/chunk-QFO5CZG2.cjs.map +0 -1
  225. package/dist/chunk-QL63MUEW.cjs +0 -140
  226. package/dist/chunk-QL63MUEW.cjs.map +0 -1
  227. package/dist/chunk-RFUPPVZO.js +0 -17
  228. package/dist/chunk-RFUPPVZO.js.map +0 -1
  229. package/dist/chunk-RPG2LWMP.js +0 -23
  230. package/dist/chunk-RPG2LWMP.js.map +0 -1
  231. package/dist/chunk-TIBXK6B7.cjs +0 -12
  232. package/dist/chunk-TIBXK6B7.cjs.map +0 -1
  233. package/dist/chunk-UU65VNEV.js +0 -381
  234. package/dist/chunk-UU65VNEV.js.map +0 -1
  235. package/dist/chunk-VGX6TR2I.js +0 -209
  236. package/dist/chunk-VGX6TR2I.js.map +0 -1
  237. package/dist/chunk-WUTDDBVP.js +0 -130
  238. package/dist/chunk-WUTDDBVP.js.map +0 -1
  239. package/dist/chunk-WVQQLKCI.cjs +0 -224
  240. package/dist/chunk-WVQQLKCI.cjs.map +0 -1
  241. package/dist/chunk-WZYXG3SE.js +0 -111
  242. package/dist/chunk-WZYXG3SE.js.map +0 -1
  243. package/dist/chunk-XDI2X3KE.js +0 -6
  244. package/dist/chunk-XDI2X3KE.js.map +0 -1
  245. package/dist/chunk-XKHLRIC7.cjs +0 -381
  246. package/dist/chunk-XKHLRIC7.cjs.map +0 -1
  247. package/dist/context-DNtd2WUv.d.cts +0 -11666
  248. package/dist/context-DgB72Bur.d.ts +0 -11666
  249. package/dist/en-Bu4Ti9Ev.d.cts +0 -2315
  250. package/dist/en-Bu4Ti9Ev.d.ts +0 -2315
  251. package/dist/shareLink-B6hlt942.d.ts +0 -144
  252. package/dist/shareLink-C7rIMb7x.d.ts +0 -527
  253. package/dist/shareLink-CnTxxXjp.d.cts +0 -144
  254. package/dist/shareLink-DyZVYH2V.d.cts +0 -527
  255. package/dist/studioPlugin-C3C7VjMy.d.ts +0 -847
  256. package/dist/studioPlugin-Cf3OBNUv.d.cts +0 -847
  257. package/dist/types-BzJRV6UI.d.cts +0 -845
  258. package/dist/types-BzJRV6UI.d.ts +0 -845
  259. package/dist/zoneForm-CdYNtnnA.d.cts +0 -320
  260. package/dist/zoneForm-mG85yt5e.d.ts +0 -320
@@ -1,10 +1,7 @@
1
- import { Clock, GeolocationSeam } from '@mountaya/elements/seams';
2
- export { Clock, manualClock, repeatEvery, systemClock } from '@mountaya/elements/seams';
3
- import { S as StudioIds, a as StudioSaveFile } from '../saveFile-j-1kkApx.js';
4
- export { b as StudioFile, c as browserSaveFile, i as inertStudioSaveFile, s as sequentialStudioIds, d as systemStudioIds } from '../saveFile-j-1kkApx.js';
5
- import { ItineraryWithDetails } from '@mountaya/client';
6
- import { CameraPlanner } from '@mountaya/elements/camera';
7
-
1
+ import { a as StudioIds, i as inertStudioSaveFile, n as StudioSaveFile, o as sequentialStudioIds, r as browserSaveFile, s as systemStudioIds, t as StudioFile } from "../chunk-DkwDzwvu.js";
2
+ import { CameraPlanner } from "@mountaya/elements/camera";
3
+ import { Clock, Clock as Clock$1, GeolocationSeam, manualClock, repeatEvery, systemClock } from "@mountaya/elements/seams";
4
+ import { ItineraryWithDetails } from "@mountaya/client";
8
5
  /**
9
6
  * StudioFormatters is how a number, a date and a relative moment reach a screen.
10
7
  *
@@ -31,57 +28,58 @@ import { CameraPlanner } from '@mountaya/elements/camera';
31
28
  type StudioRelativeUnit = "day" | "hour" | "minute" | "month" | "second" | "week" | "year";
32
29
  /** StudioFormatters is the locale-formatting capability, as everything above it sees it. */
33
30
  interface StudioFormatters {
34
- /**
35
- * The pattern a date-time FIELD is written and read in, as Unicode LDML date-field symbols
36
- * (`DD/MM/YYYY HH:mm`): the spelling `dayjs`, Swift's `DateFormatter` and Java's
37
- * `DateTimeFormatter` all take.
38
- *
39
- * A pattern rather than a formatted string because the subject is an INPUT: the reader edits
40
- * the text, so the field has to be able to parse back what it printed, and only a pattern
41
- * expresses both halves at once.
42
- *
43
- * Numeric throughout, deliberately. A month NAME would need per-locale month data the
44
- * rendering library has to have loaded, and the one shipped here does not, so an abbreviated
45
- * month renders in English whatever the pattern says. A numeric field is also the one a reader
46
- * types into rather than reads.
47
- */
48
- readonly dateTimePattern: () => string;
49
- /**
50
- * A video's elapsed or total position, as `m:ss`.
51
- *
52
- * Here rather than assembled at the call site because the digits are the locale's: a clock
53
- * concatenated from `String(minutes)` is Latin digits in a studio reading Arabic numerals
54
- * everywhere else on the same screen.
55
- *
56
- * A position before the start reads as the start, `0:00`. A duration that is no finite number
57
- * reads as the empty string, as a missing measurement does.
58
- */
59
- readonly formatClock: (durationMs: number) => string;
60
- /**
61
- * An instant, as a date and a time, in the Gregorian calendar whatever calendar the locale
62
- * keeps. A `Date` that holds no instant, and options naming a time zone the runtime's zone data
63
- * does not hold, read as the empty string.
64
- *
65
- * @default options `{ dateStyle: "medium", timeStyle: "short" }`
66
- */
67
- readonly formatDateTime: (value: Date, options?: Intl.DateTimeFormatOptions) => string;
68
- /** A plain number, grouped and rounded the way the locale writes numbers. */
69
- readonly formatNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
70
- /**
71
- * A share of a whole, as a RATIO: `0.45` reads as "45%".
72
- *
73
- * A ratio rather than a number already multiplied, because that is what `Intl` takes and
74
- * because a percentage's sign, separator and symbol placement are all the locale's: French
75
- * writes `45 %` with a no-break space, and a `${n}%` template cannot.
76
- */
77
- readonly formatPercent: (value: number, options?: Intl.NumberFormatOptions) => string;
78
- /**
79
- * A signed offset from now (negative is in the past), as "2 days ago" or "in 6 hours". An
80
- * offset that is no finite number reads as the empty string.
81
- *
82
- * @default options `{ numeric: "auto" }`
83
- */
84
- readonly formatRelativeTime: (value: number, unit: StudioRelativeUnit, options?: Intl.RelativeTimeFormatOptions) => string;
31
+ /**
32
+ * The pattern a date-time FIELD is written and read in, as Unicode LDML date-field symbols
33
+ * (`DD/MM/YYYY HH:mm`): the spelling `dayjs`, Swift's `DateFormatter` and Java's
34
+ * `DateTimeFormatter` all take.
35
+ *
36
+ * A pattern rather than a formatted string because the subject is an INPUT: the reader edits
37
+ * the text, so the field has to be able to parse back what it printed, and only a pattern
38
+ * expresses both halves at once.
39
+ *
40
+ * Numeric throughout, deliberately. A month NAME would need per-locale month data the
41
+ * rendering library has to have loaded, and the one shipped here does not, so an abbreviated
42
+ * month renders in English whatever the pattern says. A numeric field is also the one a reader
43
+ * types into rather than reads.
44
+ */
45
+ readonly dateTimePattern: () => string;
46
+ /**
47
+ * A video's elapsed or total position, as `m:ss`.
48
+ *
49
+ * Here rather than assembled at the call site because the digits are the locale's: a clock
50
+ * concatenated from `String(minutes)` is Latin digits in a studio reading Arabic numerals
51
+ * everywhere else on the same screen.
52
+ *
53
+ * A position before the start reads as the start, `0:00`. A duration that is no finite number
54
+ * reads as the empty string, as a missing measurement does.
55
+ */
56
+ readonly formatClock: (durationMs: number) => string;
57
+ /**
58
+ * An instant, as a date and a time, in the Gregorian calendar whatever calendar the locale
59
+ * keeps, and in the language's typography: in French, the first of a month is "1er" and the
60
+ * date never breaks across two lines. A `Date` that holds no instant, and options naming a time
61
+ * zone the runtime's zone data does not hold, read as the empty string.
62
+ *
63
+ * @default options `{ dateStyle: "medium", timeStyle: "short" }`
64
+ */
65
+ readonly formatDateTime: (value: Date, options?: Intl.DateTimeFormatOptions) => string;
66
+ /** A plain number, grouped and rounded the way the locale writes numbers. */
67
+ readonly formatNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
68
+ /**
69
+ * A share of a whole, as a RATIO: `0.45` reads as "45%".
70
+ *
71
+ * A ratio rather than a number already multiplied, because that is what `Intl` takes and
72
+ * because a percentage's sign, separator and symbol placement are all the locale's: French
73
+ * writes `45 %` with a no-break space, and a `${n}%` template cannot.
74
+ */
75
+ readonly formatPercent: (value: number, options?: Intl.NumberFormatOptions) => string;
76
+ /**
77
+ * A signed offset from now (negative is in the past), as "2 days ago" or "in 6 hours". An
78
+ * offset that is no finite number reads as the empty string.
79
+ *
80
+ * @default options `{ numeric: "auto" }`
81
+ */
82
+ readonly formatRelativeTime: (value: number, unit: StudioRelativeUnit, options?: Intl.RelativeTimeFormatOptions) => string;
85
83
  }
86
84
  /**
87
85
  * createIntlFormatters formats through the platform's own `Intl`, for one locale.
@@ -93,8 +91,7 @@ interface StudioFormatters {
93
91
  * time zone the runtime's zone data does not hold and a relative offset that is no finite number
94
92
  * each read as the empty string, where the platform's formatter throws a `RangeError`.
95
93
  */
96
- declare const createIntlFormatters: (locale: string) => StudioFormatters;
97
-
94
+ export declare const createIntlFormatters: (locale: string) => StudioFormatters;
98
95
  /**
99
96
  * StudioLinks is where a link to somewhere ELSE comes from.
100
97
  *
@@ -110,14 +107,14 @@ declare const createIntlFormatters: (locale: string) => StudioFormatters;
110
107
  */
111
108
  /** StudioLinks is the outbound-link capability, as everything above it sees it. */
112
109
  interface StudioLinks {
113
- /**
114
- * A link to this coordinate on an external map, or null when there is none to offer.
115
- *
116
- * `name` is what the place is called, when the surface knows: a search hit and a waypoint both
117
- * have one, a bare right-click on the map does not. A provider that can search by name uses
118
- * it; one that cannot ignores it.
119
- */
120
- readonly placeAt: (position: [number, number], name?: string) => string | null;
110
+ /**
111
+ * A link to this coordinate on an external map, or null when there is none to offer.
112
+ *
113
+ * `name` is what the place is called, when the surface knows: a search hit and a waypoint both
114
+ * have one, a bare right-click on the map does not. A provider that can search by name uses
115
+ * it; one that cannot ignores it.
116
+ */
117
+ readonly placeAt: (position: [number, number], name?: string) => string | null;
121
118
  }
122
119
  /**
123
120
  * googleMapsLinks opens places on Google Maps.
@@ -126,7 +123,7 @@ interface StudioLinks {
126
123
  * uses the search form so the pin carries the name: the plain coordinate form drops it, and a
127
124
  * user who clicked "Refuge du Goûter" arrives at an unlabelled dot.
128
125
  */
129
- declare const googleMapsLinks: StudioLinks;
126
+ export declare const googleMapsLinks: StudioLinks;
130
127
  /**
131
128
  * openStreetMapLinks opens places on OpenStreetMap.
132
129
  *
@@ -135,7 +132,7 @@ declare const googleMapsLinks: StudioLinks;
135
132
  * this link sees the map they were just looking at. OSM carries no search-by-name-at-coordinate
136
133
  * form, so `name` is deliberately unused.
137
134
  */
138
- declare const openStreetMapLinks: StudioLinks;
135
+ export declare const openStreetMapLinks: StudioLinks;
139
136
  /**
140
137
  * inertStudioLinks offers nowhere to go.
141
138
  *
@@ -143,8 +140,7 @@ declare const openStreetMapLinks: StudioLinks;
143
140
  * already handles it, because `placeAt` answering null is the same answer a provider gives for a
144
141
  * coordinate it cannot address.
145
142
  */
146
- declare const inertStudioLinks: StudioLinks;
147
-
143
+ export declare const inertStudioLinks: StudioLinks;
148
144
  /**
149
145
  * Holding a departure the studio is not ready to allow.
150
146
  *
@@ -169,13 +165,13 @@ declare const inertStudioLinks: StudioLinks;
169
165
  * seam.
170
166
  */
171
167
  interface StudioNavigationTarget {
172
- readonly pathname: string;
173
- readonly search: Readonly<Record<string, unknown>>;
168
+ readonly pathname: string;
169
+ readonly search: Readonly<Record<string, unknown>>;
174
170
  }
175
171
  /** StudioNavigationAttempt is one navigation the host is about to perform. */
176
172
  interface StudioNavigationAttempt {
177
- readonly current: StudioNavigationTarget;
178
- readonly next: StudioNavigationTarget;
173
+ readonly current: StudioNavigationTarget;
174
+ readonly next: StudioNavigationTarget;
179
175
  }
180
176
  /**
181
177
  * StudioNavigationHold is a held navigation, and the two ways out of it.
@@ -186,12 +182,12 @@ interface StudioNavigationAttempt {
186
182
  * the one path where doing nothing strands the reader.
187
183
  */
188
184
  interface StudioNavigationHold {
189
- /** Whether a navigation is being held right now, waiting for an answer. */
190
- readonly blocked: boolean;
191
- /** Let the held navigation through. */
192
- proceed(): void;
193
- /** Abandon the held navigation and stay. */
194
- reset(): void;
185
+ /** Whether a navigation is being held right now, waiting for an answer. */
186
+ readonly blocked: boolean;
187
+ /** Let the held navigation through. */
188
+ proceed(): void;
189
+ /** Abandon the held navigation and stay. */
190
+ reset(): void;
195
191
  }
196
192
  /**
197
193
  * StudioNavigationBlocker holds an in-app navigation until the studio answers for it.
@@ -213,9 +209,9 @@ type StudioNavigationBlocker = (shouldBlock: (attempt: StudioNavigationAttempt)
213
209
  * has already left. A binding's own tab-close guard needs no host at all, so the work a reader
214
210
  * would actually lose stays protected either way.
215
211
  */
216
- declare const inertNavigationHold: StudioNavigationHold;
212
+ export declare const inertNavigationHold: StudioNavigationHold;
217
213
  /** inertNavigationBlocker is the blocker a studio reads when no host supplied one. */
218
- declare const inertNavigationBlocker: StudioNavigationBlocker;
214
+ export declare const inertNavigationBlocker: StudioNavigationBlocker;
219
215
  /**
220
216
  * isStudioOwnNavigation reports whether a navigation is the studio mirroring its own state into
221
217
  * the URL: the pathname stays, and every search key whose value differs is one the studio
@@ -240,8 +236,7 @@ declare const inertNavigationBlocker: StudioNavigationBlocker;
240
236
  * const hold = blocker((attempt) => editing() && !isStudioOwnNavigation(attempt));
241
237
  * ```
242
238
  */
243
- declare const isStudioOwnNavigation: ({ current, next }: StudioNavigationAttempt) => boolean;
244
-
239
+ export declare const isStudioOwnNavigation: ({ current, next }: StudioNavigationAttempt) => boolean;
245
240
  /**
246
241
  * How a studio surface says something happened that the reader did not ask to be told twice.
247
242
  *
@@ -269,12 +264,12 @@ declare const isStudioOwnNavigation: ({ current, next }: StudioNavigationAttempt
269
264
  * long a toast should sit on that host's surfaces.
270
265
  */
271
266
  interface StudioNotify {
272
- /** Reports something that failed. */
273
- error(message: string): void;
274
- /** Reports something that landed. */
275
- success(message: string): void;
276
- /** Reports something that landed in part, or that the reader should know before going on. */
277
- warning(message: string): void;
267
+ /** Reports something that failed. */
268
+ error(message: string): void;
269
+ /** Reports something that landed. */
270
+ success(message: string): void;
271
+ /** Reports something that landed in part, or that the reader should know before going on. */
272
+ warning(message: string): void;
278
273
  }
279
274
  /**
280
275
  * inertStudioNotify is what a studio mounted without a host binding reads.
@@ -284,8 +279,7 @@ interface StudioNotify {
284
279
  * built-in surface would draw chrome in whatever corner this package guessed at, over a host
285
280
  * whose own notifications live somewhere else entirely.
286
281
  */
287
- declare const inertStudioNotify: StudioNotify;
288
-
282
+ export declare const inertStudioNotify: StudioNotify;
289
283
  /**
290
284
  * StudioPersistenceDrawer is where a LOCAL studio session keeps its records.
291
285
  *
@@ -304,13 +298,13 @@ declare const inertStudioNotify: StudioNotify;
304
298
  * go picks a persistence, not a drawer.
305
299
  */
306
300
  interface StudioPersistenceDrawer {
307
- /**
308
- * Every record held, or null when the drawer holds no document this drawer wrote: nothing has
309
- * been written yet, or what is stored is a document in another shape. Never throws.
310
- */
311
- read: () => Record<string, ItineraryWithDetails> | null;
312
- /** Replaces the whole document. Does nothing where it cannot; never throws. */
313
- write: (records: Record<string, ItineraryWithDetails>) => void;
301
+ /**
302
+ * Every record held, or null when the drawer holds no document this drawer wrote: nothing has
303
+ * been written yet, or what is stored is a document in another shape. Never throws.
304
+ */
305
+ read: () => Record<string, ItineraryWithDetails> | null;
306
+ /** Replaces the whole document. Does nothing where it cannot; never throws. */
307
+ write: (records: Record<string, ItineraryWithDetails>) => void;
314
308
  }
315
309
  /**
316
310
  * localPersistenceDrawer keeps the records in `localStorage`, namespaced, and degrades to keeping
@@ -340,7 +334,7 @@ interface StudioPersistenceDrawer {
340
334
  *
341
335
  * @param namespace - The name of the drawer, which keys its document in the storage.
342
336
  */
343
- declare const localPersistenceDrawer: (namespace: string) => StudioPersistenceDrawer;
337
+ export declare const localPersistenceDrawer: (namespace: string) => StudioPersistenceDrawer;
344
338
  /**
345
339
  * memoryPersistenceDrawer keeps the records for the lifetime of the object and no longer.
346
340
  *
@@ -348,8 +342,7 @@ declare const localPersistenceDrawer: (namespace: string) => StudioPersistenceDr
348
342
  * {@link localStudioStorage}: a kiosk, a shared terminal, a server render and a test all want an
349
343
  * editor whose verbs work and whose writes are gone when the object is.
350
344
  */
351
- declare const memoryPersistenceDrawer: () => StudioPersistenceDrawer;
352
-
345
+ export declare const memoryPersistenceDrawer: () => StudioPersistenceDrawer;
353
346
  /**
354
347
  * StudioStorage is where a preference that outlives a session is kept.
355
348
  *
@@ -378,12 +371,12 @@ declare const memoryPersistenceDrawer: () => StudioPersistenceDrawer;
378
371
  type StudioStorageKey = "import.routingGuideSeen";
379
372
  /** StudioStorage is the persistent-preference capability, as everything above it sees it. */
380
373
  interface StudioStorage {
381
- /** Forgets a key. A key that was never written is not an error. */
382
- readonly remove: (key: StudioStorageKey) => void;
383
- /** The stored value, or null when there is none. Never throws. */
384
- readonly read: (key: StudioStorageKey) => string | null;
385
- /** Stores a value. Does nothing where nothing can be stored. Never throws. */
386
- readonly write: (key: StudioStorageKey, value: string) => void;
374
+ /** Forgets a key. A key that was never written is not an error. */
375
+ readonly remove: (key: StudioStorageKey) => void;
376
+ /** The stored value, or null when there is none. Never throws. */
377
+ readonly read: (key: StudioStorageKey) => string | null;
378
+ /** Stores a value. Does nothing where nothing can be stored. Never throws. */
379
+ readonly write: (key: StudioStorageKey, value: string) => void;
387
380
  }
388
381
  /**
389
382
  * localStudioStorage keeps values in the browser's `localStorage`, namespaced, and degrades to
@@ -399,7 +392,7 @@ interface StudioStorage {
399
392
  * All three are held by `storage.test.ts`, which models each environment, since none of them is
400
393
  * reachable in a normal test run.
401
394
  */
402
- declare const localStudioStorage: () => StudioStorage;
395
+ export declare const localStudioStorage: () => StudioStorage;
403
396
  /**
404
397
  * memoryStudioStorage keeps values for the lifetime of the object and no longer.
405
398
  *
@@ -407,50 +400,25 @@ declare const localStudioStorage: () => StudioStorage;
407
400
  * a kiosk, a shared terminal or a preview render wants, and, unlike omitting the seam, it is a
408
401
  * decision a reader of the host's code can see.
409
402
  */
410
- declare const memoryStudioStorage: () => StudioStorage;
411
-
412
- /**
413
- * Every capability the studio needs from the world around it, in one place.
414
- *
415
- * Each of these is something the studio cannot do for itself and a host can do differently: where
416
- * a device fix comes from, what time it is, where a preference is kept, and whether there is
417
- * anywhere outside the product to send someone. They are gathered into one interface for the
418
- * reason a Dart or Swift port exists at all: the list IS the port's checklist, and a port that
419
- * reads one file per seam has a chance to miss one in each.
420
- *
421
- * Three properties hold for every member, and they are what makes this a seam rather than a bag
422
- * of options:
423
- *
424
- * - **Framework-free.** Nothing here names React, a hook, a component or the DOM. A binding
425
- * lives one level up, in `@mountaya/studio-react`, and a port writes its own.
426
- * - **A defined absence.** Every seam has a shipped implementation that does nothing, and doing
427
- * nothing is a STATE every surface already renders: a geolocation that answers `no_api`, a
428
- * storage that forgets, a link provider that offers nowhere. Turning one off needs no new
429
- * branch anywhere. {@link CameraPlanner} is the one member this reads differently for, and
430
- * its own docblock says why: what a host varies there is where the work runs, not whether.
431
- * - **Total.** No method throws. A private-mode browser refusing storage, a blocked permissions
432
- * descriptor, a quota that is full: each is an answer, never an exception a surface has to
433
- * wrap.
434
- */
435
-
403
+ export declare const memoryStudioStorage: () => StudioStorage;
436
404
  /** StudioSeams is every capability the studio takes from its host. */
437
405
  interface StudioSeams {
438
- /** Where a Camera Plan is resolved into per-frame poses, and therefore on which thread. */
439
- readonly cameraPlanner: CameraPlanner;
440
- /** Where a product-meaningful moment or delay comes from. */
441
- readonly clock: Clock;
442
- /** How a number, a date and a relative moment reach a screen. */
443
- readonly formatters: StudioFormatters;
444
- /** Where a device fix comes from, and whether asking would prompt. */
445
- readonly geolocation: GeolocationSeam;
446
- /** Where a client-side id comes from, for a draft that has no resource to name yet. */
447
- readonly ids: StudioIds;
448
- /** Where a link to somewhere outside the product goes, or that there is none. */
449
- readonly links: StudioLinks;
450
- /** Where a file the studio produced goes: a disk, a share sheet, or nowhere. */
451
- readonly saveFile: StudioSaveFile;
452
- /** Where a preference that outlives a session is kept. */
453
- readonly storage: StudioStorage;
406
+ /** Where a Camera Plan is resolved into per-frame poses, and therefore on which thread. */
407
+ readonly cameraPlanner: CameraPlanner;
408
+ /** Where a product-meaningful moment or delay comes from. */
409
+ readonly clock: Clock$1;
410
+ /** How a number, a date and a relative moment reach a screen. */
411
+ readonly formatters: StudioFormatters;
412
+ /** Where a device fix comes from, and whether asking would prompt. */
413
+ readonly geolocation: GeolocationSeam;
414
+ /** Where a client-side id comes from, for a draft that has no resource to name yet. */
415
+ readonly ids: StudioIds;
416
+ /** Where a link to somewhere outside the product goes, or that there is none. */
417
+ readonly links: StudioLinks;
418
+ /** Where a file the studio produced goes: a disk, a share sheet, or nowhere. */
419
+ readonly saveFile: StudioSaveFile;
420
+ /** Where a preference that outlives a session is kept. */
421
+ readonly storage: StudioStorage;
454
422
  }
455
423
  /**
456
424
  * createDefaultStudioSeams is the studio wired to the browser it is running in.
@@ -464,7 +432,7 @@ interface StudioSeams {
464
432
  *
465
433
  * @param locale - The BCP 47 locale the formatters write in. Defaults to `"en"`.
466
434
  */
467
- declare const createDefaultStudioSeams: (locale?: string) => StudioSeams;
435
+ export declare const createDefaultStudioSeams: (locale?: string) => StudioSeams;
468
436
  /**
469
437
  * createInertStudioSeams is the studio with every capability switched off, and it still renders.
470
438
  *
@@ -479,7 +447,6 @@ declare const createDefaultStudioSeams: (locale?: string) => StudioSeams;
479
447
  *
480
448
  * @param locale - The BCP 47 locale the formatters write in. Defaults to `"en"`.
481
449
  */
482
- declare const createInertStudioSeams: (locale?: string) => StudioSeams;
483
-
484
- export { StudioIds, StudioSaveFile, createDefaultStudioSeams, createInertStudioSeams, createIntlFormatters, googleMapsLinks, inertNavigationBlocker, inertNavigationHold, inertStudioLinks, inertStudioNotify, isStudioOwnNavigation, localPersistenceDrawer, localStudioStorage, memoryPersistenceDrawer, memoryStudioStorage, openStreetMapLinks };
485
- export type { StudioFormatters, StudioLinks, StudioNavigationAttempt, StudioNavigationBlocker, StudioNavigationHold, StudioNavigationTarget, StudioNotify, StudioPersistenceDrawer, StudioRelativeUnit, StudioSeams, StudioStorage, StudioStorageKey };
450
+ export declare const createInertStudioSeams: (locale?: string) => StudioSeams;
451
+ export { type Clock, type StudioFile, type StudioFormatters, type StudioIds, type StudioLinks, type StudioNavigationAttempt, type StudioNavigationBlocker, type StudioNavigationHold, type StudioNavigationTarget, type StudioNotify, type StudioPersistenceDrawer, type StudioRelativeUnit, type StudioSaveFile, type StudioSeams, type StudioStorage, type StudioStorageKey, browserSaveFile, inertStudioSaveFile, manualClock, repeatEvery, sequentialStudioIds, systemClock, systemStudioIds };
452
+ //# sourceMappingURL=index.d.ts.map
@@ -1,79 +1,49 @@
1
- export { localPersistenceDrawer, memoryPersistenceDrawer } from '../chunk-355TOXSB.js';
2
- export { browserSaveFile, createDefaultStudioSeams, createInertStudioSeams, createIntlFormatters, googleMapsLinks, inertStudioLinks, inertStudioSaveFile, localStudioStorage, memoryStudioStorage, openStreetMapLinks, sequentialStudioIds, systemStudioIds } from '../chunk-VGX6TR2I.js';
3
- export { manualClock, repeatEvery, systemClock } from '@mountaya/elements/seams';
4
-
5
- // src/seams/rules/navigation.ts
6
- var inertNavigationHold = {
7
- blocked: false,
8
- proceed: () => {
9
- },
10
- reset: () => {
11
- }
1
+ import { a as inertStudioSaveFile, c as openStreetMapLinks, d as createIntlFormatters, i as browserSaveFile, l as sequentialStudioIds, m as memoryStudioStorage, n as createInertStudioSeams, o as googleMapsLinks, p as localStudioStorage, s as inertStudioLinks, t as createDefaultStudioSeams, u as systemStudioIds } from "../chunk-BKMFOe-N.js";
2
+ import { n as memoryPersistenceDrawer, t as localPersistenceDrawer } from "../chunk-By9ZnkVI.js";
3
+ import { manualClock, repeatEvery, systemClock } from "@mountaya/elements/seams";
4
+ const inertNavigationHold = {
5
+ blocked: false,
6
+ proceed: () => {},
7
+ reset: () => {}
12
8
  };
13
- var inertNavigationBlocker = () => inertNavigationHold;
14
- var studioOwnSearchKeys = {
15
- activeThread: "activeThread",
16
- enrichments: "enrichments",
17
- overlay: "overlay",
18
- terrain: "terrain",
19
- threads: "threads",
20
- time_offset: "time_offset"
9
+ const inertNavigationBlocker = () => inertNavigationHold;
10
+ const studioOwnSearchKeys = {
11
+ activeThread: "activeThread",
12
+ enrichments: "enrichments",
13
+ overlay: "overlay",
14
+ terrain: "terrain",
15
+ threads: "threads",
16
+ time_offset: "time_offset"
21
17
  };
22
- var isParsedLiteral = (value) => {
23
- if (typeof value !== "object" || value === null) {
24
- return false;
25
- }
26
- if (Array.isArray(value)) {
27
- return true;
28
- }
29
- const prototype = Object.getPrototypeOf(value);
30
- return prototype === Object.prototype || prototype === null;
18
+ const isParsedLiteral = (value) => {
19
+ if (typeof value !== "object" || value === null) return false;
20
+ if (Array.isArray(value)) return true;
21
+ const prototype = Object.getPrototypeOf(value);
22
+ return prototype === Object.prototype || prototype === null;
31
23
  };
32
- var listOf = (value) => Array.isArray(value) ? value : null;
33
- var ownMember = (record, key) => Object.hasOwn(record, key) ? record[key] : void 0;
34
- var sameSearchValue = (current, next) => {
35
- if (Object.is(current, next)) {
36
- return true;
37
- }
38
- if (!isParsedLiteral(current) || !isParsedLiteral(next)) {
39
- return false;
40
- }
41
- const currentList = listOf(current);
42
- const nextList = listOf(next);
43
- if (currentList !== null || nextList !== null) {
44
- return currentList !== null && nextList !== null && currentList.length === nextList.length && currentList.every((member, index) => sameSearchValue(member, nextList[index]));
45
- }
46
- const keys = /* @__PURE__ */ new Set([...Object.keys(current), ...Object.keys(next)]);
47
- for (const key of keys) {
48
- if (!sameSearchValue(ownMember(current, key), ownMember(next, key))) {
49
- return false;
50
- }
51
- }
52
- return true;
24
+ const listOf = (value) => Array.isArray(value) ? value : null;
25
+ const ownMember = (record, key) => Object.hasOwn(record, key) ? record[key] : void 0;
26
+ const sameSearchValue = (current, next) => {
27
+ if (Object.is(current, next)) return true;
28
+ if (!isParsedLiteral(current) || !isParsedLiteral(next)) return false;
29
+ const currentList = listOf(current);
30
+ const nextList = listOf(next);
31
+ if (currentList !== null || nextList !== null) return currentList !== null && nextList !== null && currentList.length === nextList.length && currentList.every((member, index) => sameSearchValue(member, nextList[index]));
32
+ const keys = /* @__PURE__ */ new Set([...Object.keys(current), ...Object.keys(next)]);
33
+ for (const key of keys) if (!sameSearchValue(ownMember(current, key), ownMember(next, key))) return false;
34
+ return true;
53
35
  };
54
- var isStudioOwnNavigation = ({ current, next }) => {
55
- if (next.pathname !== current.pathname) {
56
- return false;
57
- }
58
- const keys = /* @__PURE__ */ new Set([...Object.keys(current.search), ...Object.keys(next.search)]);
59
- for (const key of keys) {
60
- if (!Object.hasOwn(studioOwnSearchKeys, key) && !sameSearchValue(current.search[key], next.search[key])) {
61
- return false;
62
- }
63
- }
64
- return true;
36
+ const isStudioOwnNavigation = ({ current, next }) => {
37
+ if (next.pathname !== current.pathname) return false;
38
+ const keys = /* @__PURE__ */ new Set([...Object.keys(current.search), ...Object.keys(next.search)]);
39
+ for (const key of keys) if (!Object.hasOwn(studioOwnSearchKeys, key) && !sameSearchValue(current.search[key], next.search[key])) return false;
40
+ return true;
65
41
  };
66
-
67
- // src/seams/rules/notify.ts
68
- var inertStudioNotify = {
69
- error: () => {
70
- },
71
- success: () => {
72
- },
73
- warning: () => {
74
- }
42
+ const inertStudioNotify = {
43
+ error: () => {},
44
+ success: () => {},
45
+ warning: () => {}
75
46
  };
47
+ export { browserSaveFile, createDefaultStudioSeams, createInertStudioSeams, createIntlFormatters, googleMapsLinks, inertNavigationBlocker, inertNavigationHold, inertStudioLinks, inertStudioNotify, inertStudioSaveFile, isStudioOwnNavigation, localPersistenceDrawer, localStudioStorage, manualClock, memoryPersistenceDrawer, memoryStudioStorage, openStreetMapLinks, repeatEvery, sequentialStudioIds, systemClock, systemStudioIds };
76
48
 
77
- export { inertNavigationBlocker, inertNavigationHold, inertStudioNotify, isStudioOwnNavigation };
78
- //# sourceMappingURL=index.js.map
79
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/seams/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AC,CAAC,CAAA;AAC1F,EAAA,KAAA,MAAW,OAAO,IAAA,EAAM;AACtB,IAAA,IACE,CAAC,MAAA,CAAO,MAAA,CAAO,mBAAA,EAAqB,GAAG,KACvC,CAAC,eAAA,CAAgB,OAAA,CAAQ,MAAA,CAAO,GAAG,CAAA,EAAG,IAAA,CAAK,MAAA,CAAO,GAAG,CAAC,CAAA,EACtD;AACA,MAAA,OAAO,KAAA;AAAA,IACT;AAAA,EACF;AAEA,EAAA,OAAO,IAAA;AACT;;;ACjLO,IAAM,iBAAA,GAAkC;AAAA,EAC7C,OAAO,MAAM;AAAA,EAAC,CAAA;AAAA,EACd,SAAS,MAAM;AAAA,EAAC,CAAA;AAAA,EAChB,SAAS,MAAM;AAAA,EAAC;AAClB","file":"index.js"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/seams/rules/navigation.ts","../../src/seams/rules/notify.ts"],"mappings":";;;AA6EA,MAAa,sBAA4C;CACvD,SAAS;CACT,eAAe,CAAC;CAChB,aAAa,CAAC;AAChB;AAGA,MAAa,+BAAwD;AAgBrE,MAAM,sBAAsB;CAC1B,cAAc;CACd,aAAa;CACb,SAAS;CACT,SAAS;CACT,SAAS;CACT,aAAa;AACf;AASA,MAAM,mBAAmB,UAA+D;CACtF,IAAI,OAAO,UAAU,YAAY,UAAU,MACzC,OAAO;CAGT,IAAI,MAAM,QAAQ,KAAK,GACrB,OAAO;CAGT,MAAM,YAAqB,OAAO,eAAe,KAAK;CAEtD,OAAO,cAAc,OAAO,aAAa,cAAc;AACzD;AAGA,MAAM,UAAU,UAA+C,MAAM,QAAQ,KAAK,IAAI,QAAQ;AAG9F,MAAM,aAAa,QAA2C,QAC5D,OAAO,OAAO,QAAQ,GAAG,IAAI,OAAO,OAAO,KAAA;AAgB7C,MAAM,mBAAmB,SAAkB,SAA2B;CACpE,IAAI,OAAO,GAAG,SAAS,IAAI,GACzB,OAAO;CAGT,IAAI,CAAC,gBAAgB,OAAO,KAAK,CAAC,gBAAg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