@reuters-graphics/graphics-components 3.0.12 → 3.0.13

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 (75) hide show
  1. package/dist/components/@types/global.d.ts +45 -0
  2. package/dist/components/Scroller/Scroller.mdx +2 -2
  3. package/dist/components/ScrollerBase/ScrollerBase.mdx +0 -5
  4. package/dist/components/ScrollerVideo/Debug.svelte +207 -0
  5. package/dist/components/ScrollerVideo/Debug.svelte.d.ts +5 -0
  6. package/dist/components/ScrollerVideo/ScrollerVideo.mdx +462 -0
  7. package/dist/components/ScrollerVideo/ScrollerVideo.stories.svelte +190 -0
  8. package/dist/components/ScrollerVideo/ScrollerVideo.stories.svelte.d.ts +19 -0
  9. package/dist/components/ScrollerVideo/ScrollerVideo.svelte +292 -0
  10. package/dist/components/ScrollerVideo/ScrollerVideo.svelte.d.ts +58 -0
  11. package/dist/components/ScrollerVideo/ScrollerVideoForeground.svelte +164 -0
  12. package/dist/components/ScrollerVideo/ScrollerVideoForeground.svelte.d.ts +17 -0
  13. package/dist/components/ScrollerVideo/demo/AdvancedUsecases.svelte +114 -0
  14. package/dist/components/ScrollerVideo/demo/AdvancedUsecases.svelte.d.ts +3 -0
  15. package/dist/components/ScrollerVideo/demo/Embedded.svelte +94 -0
  16. package/dist/components/ScrollerVideo/demo/Embedded.svelte.d.ts +3 -0
  17. package/dist/components/ScrollerVideo/demo/WithAi2svelteForegrounds.svelte +117 -0
  18. package/dist/components/ScrollerVideo/demo/WithAi2svelteForegrounds.svelte.d.ts +3 -0
  19. package/dist/components/ScrollerVideo/demo/WithScrollerBase.svelte +80 -0
  20. package/dist/components/ScrollerVideo/demo/WithScrollerBase.svelte.d.ts +3 -0
  21. package/dist/components/ScrollerVideo/demo/WithTextForegrounds.svelte +72 -0
  22. package/dist/components/ScrollerVideo/demo/WithTextForegrounds.svelte.d.ts +18 -0
  23. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/ai-chart.svelte +631 -0
  24. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/ai-chart.svelte.d.ts +3 -0
  25. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/annotation1.svelte +428 -0
  26. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/annotation1.svelte.d.ts +26 -0
  27. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/annotation2.svelte +402 -0
  28. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/annotation2.svelte.d.ts +26 -0
  29. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/annotation3.svelte +398 -0
  30. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/annotation3.svelte.d.ts +26 -0
  31. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/annotation4.svelte +360 -0
  32. package/dist/components/ScrollerVideo/demo/graphic/ai2svelte/annotation4.svelte.d.ts +26 -0
  33. package/dist/components/ScrollerVideo/demo/graphic/imgs/ai-chart-md.png +0 -0
  34. package/dist/components/ScrollerVideo/demo/graphic/imgs/ai-chart-sm.png +0 -0
  35. package/dist/components/ScrollerVideo/demo/graphic/imgs/ai-chart-xs.png +0 -0
  36. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation1-lg.png +0 -0
  37. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation1-md.png +0 -0
  38. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation1-sm.png +0 -0
  39. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation1-xl.png +0 -0
  40. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation1-xs.png +0 -0
  41. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation2-lg.png +0 -0
  42. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation2-md.png +0 -0
  43. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation2-sm.png +0 -0
  44. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation2-xl.png +0 -0
  45. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation2-xs.png +0 -0
  46. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation3-lg.png +0 -0
  47. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation3-md.png +0 -0
  48. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation3-sm.png +0 -0
  49. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation3-xl.png +0 -0
  50. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation3-xs.png +0 -0
  51. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation4-lg.png +0 -0
  52. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation4-md.png +0 -0
  53. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation4-sm.png +0 -0
  54. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation4-xl.png +0 -0
  55. package/dist/components/ScrollerVideo/demo/graphic/imgs/annotation4-xs.png +0 -0
  56. package/dist/components/ScrollerVideo/ts/ScrollerVideo.d.ts +248 -0
  57. package/dist/components/ScrollerVideo/ts/ScrollerVideo.js +762 -0
  58. package/dist/components/ScrollerVideo/ts/mp4box.d.ts +137 -0
  59. package/dist/components/ScrollerVideo/ts/state.svelte.d.ts +51 -0
  60. package/dist/components/ScrollerVideo/ts/state.svelte.js +25 -0
  61. package/dist/components/ScrollerVideo/ts/utils.d.ts +70 -0
  62. package/dist/components/ScrollerVideo/ts/utils.js +92 -0
  63. package/dist/components/ScrollerVideo/ts/videoDecoder.d.ts +11 -0
  64. package/dist/components/ScrollerVideo/ts/videoDecoder.js +193 -0
  65. package/dist/components/ScrollerVideo/videos/HPO.mp4 +0 -0
  66. package/dist/components/ScrollerVideo/videos/drone.mp4 +0 -0
  67. package/dist/components/ScrollerVideo/videos/goldengate.mp4 +0 -0
  68. package/dist/components/ScrollerVideo/videos/tennis.mp4 +0 -0
  69. package/dist/components/ScrollerVideo/videos/waves_lg.mp4 +0 -0
  70. package/dist/components/ScrollerVideo/videos/waves_md.mp4 +0 -0
  71. package/dist/components/ScrollerVideo/videos/waves_sm.mp4 +0 -0
  72. package/dist/components/SiteHeadline/SiteHeadline.mdx +4 -1
  73. package/dist/index.d.ts +3 -1
  74. package/dist/index.js +2 -0
  75. package/package.json +3 -1
@@ -0,0 +1,631 @@
1
+ <script lang="ts">
2
+ // For demo purposes only, hard-wiring img paths from Vite
3
+ // @ts-ignore img
4
+ import chartXs from '../imgs/ai-chart-xs.png';
5
+ // @ts-ignore img
6
+ import chartSm from '../imgs/ai-chart-sm.png';
7
+ // @ts-ignore img
8
+ import chartMd from '../imgs/ai-chart-md.png';
9
+
10
+ let width = $state<number>();
11
+ </script>
12
+
13
+ <!-- Generated by ai2html v0.100.0 - 2021-09-29 12:37 -->
14
+
15
+ <div id="g-_ai-chart-box" bind:clientWidth={width}>
16
+ <!-- Artboard: xs -->
17
+ {#if width && width >= 0 && width < 510}
18
+ <div id="g-_ai-chart-xs" class="g-artboard" style="">
19
+ <div style="padding: 0 0 91.7004% 0;"></div>
20
+ <div
21
+ id="g-_ai-chart-xs-img"
22
+ class="g-aiImg"
23
+ style={`background-image: url(${chartXs});`}
24
+ ></div>
25
+ <div
26
+ id="g-ai0-1"
27
+ class="g-map-labels g-aiAbs g-aiPointText"
28
+ style="top:3.216%;margin-top:-7.7px;left:0.5952%;width:99px;"
29
+ >
30
+ <p class="g-pstyle0">Shake intensity</p>
31
+ </div>
32
+ <div
33
+ id="g-ai0-2"
34
+ class="g-legend g-aiAbs g-aiPointText"
35
+ style="top:9.8251%;margin-top:-7.7px;left:4.9821%;width:47px;"
36
+ >
37
+ <p class="g-pstyle0">Light</p>
38
+ </div>
39
+ <div
40
+ id="g-ai0-3"
41
+ class="g-legend g-aiAbs g-aiPointText"
42
+ style="top:15.7733%;margin-top:-7.7px;left:4.9821%;width:69px;"
43
+ >
44
+ <p class="g-pstyle0">Moderate</p>
45
+ </div>
46
+ <div
47
+ id="g-ai0-4"
48
+ class="g-map-labels g-aiAbs g-aiPointText"
49
+ style="top:16.4343%;margin-top:-7.7px;left:79.0675%;width:82px;"
50
+ >
51
+ <p class="g-pstyle0">Cap-Haitien</p>
52
+ </div>
53
+ <div
54
+ id="g-ai0-5"
55
+ class="g-legend g-aiAbs g-aiPointText"
56
+ style="top:21.7216%;margin-top:-7.7px;left:4.9821%;width:55px;"
57
+ >
58
+ <p class="g-pstyle0">Strong</p>
59
+ </div>
60
+ <div
61
+ id="g-ai0-6"
62
+ class="g-legend g-aiAbs g-aiPointText"
63
+ style="top:28.0002%;margin-top:-7.7px;left:4.9821%;width:78px;"
64
+ >
65
+ <p class="g-pstyle0">Very strong</p>
66
+ </div>
67
+ <div
68
+ id="g-ai0-7"
69
+ class="g-map-labels g-aiAbs g-aiPointText"
70
+ style="top:28.9916%;margin-top:-7.7px;left:62.2348%;width:68px;"
71
+ >
72
+ <p class="g-pstyle0">Gonaïves</p>
73
+ </div>
74
+ <div
75
+ id="g-ai0-8"
76
+ class="g-map-labels g-aiAbs g-aiPointText"
77
+ style="top:39.9449%;margin-top:-14.9px;left:28.714%;margin-left:-36.5px;width:73px;"
78
+ >
79
+ <p class="g-pstyle1">Caribbean</p>
80
+ <p class="g-pstyle1">Sea</p>
81
+ </div>
82
+ <div
83
+ id="g-ai0-9"
84
+ class="g-map-labels g-aiAbs g-aiPointText"
85
+ style="top:42.6579%;margin-top:-10.1px;left:68.5061%;width:77px;"
86
+ >
87
+ <p class="g-pstyle2">HAITI</p>
88
+ </div>
89
+ <div
90
+ id="g-ai0-10"
91
+ class="g-map-labels g-aiAbs g-aiPointText"
92
+ style="top:59.0632%;margin-top:-7.7px;left:11.2526%;width:63px;"
93
+ >
94
+ <p class="g-pstyle0">Jeremie</p>
95
+ </div>
96
+ <div
97
+ id="g-ai0-11"
98
+ class="g-map-labels g-aiAbs g-aiPointText"
99
+ style="top:61.1155%;margin-top:-8.9px;left:70.5455%;width:106px;"
100
+ >
101
+ <p class="g-pstyle3">Port-au-Prince</p>
102
+ </div>
103
+ <div
104
+ id="g-ai0-12"
105
+ class="g-map-labels g-aiAbs g-aiPointText"
106
+ style="top:62.1069%;margin-top:-8.9px;left:32.6015%;width:77px;"
107
+ >
108
+ <p class="g-pstyle3">Epicenter</p>
109
+ </div>
110
+ <div
111
+ id="g-ai0-13"
112
+ class="g-map-labels g-aiAbs g-aiPointText"
113
+ style="top:78.8906%;margin-top:-7.7px;left:63.9138%;width:58px;"
114
+ >
115
+ <p class="g-pstyle0">Jacmel</p>
116
+ </div>
117
+ <div
118
+ id="g-ai0-14"
119
+ class="g-map-labels g-aiAbs g-aiPointText"
120
+ style="top:80.2124%;margin-top:-7.7px;left:22.5649%;width:71px;"
121
+ >
122
+ <p class="g-pstyle0">Les Cayes</p>
123
+ </div>
124
+ <div
125
+ id="g-ai0-15"
126
+ class="g-map-labels g-aiAbs g-aiPointText"
127
+ style="top:87.8129%;margin-top:-7.7px;left:0.6179%;width:49px;"
128
+ >
129
+ <p class="g-pstyle0">50 mi</p>
130
+ </div>
131
+ <div
132
+ id="g-ai0-16"
133
+ class="g-map-labels g-aiAbs g-aiPointText"
134
+ style="top:91.0202%;margin-top:-11.4px;right:10.4418%;width:70px;"
135
+ >
136
+ <p class="g-pstyle4">Dominican</p>
137
+ <p class="g-pstyle4">Republic</p>
138
+ </div>
139
+ <div
140
+ id="g-ai0-17"
141
+ class="g-map-labels g-aiAbs g-aiPointText"
142
+ style="top:93.7611%;margin-top:-7.7px;left:0.6179%;width:52px;"
143
+ >
144
+ <p class="g-pstyle0">50 km</p>
145
+ </div>
146
+ </div>
147
+ {/if}
148
+ <!-- Artboard: sm -->
149
+ {#if width && width >= 510 && width < 660}
150
+ <div id="g-_ai-chart-sm" class="g-artboard" style="">
151
+ <div style="padding: 0 0 82.703% 0;"></div>
152
+ <div
153
+ id="g-_ai-chart-sm-img"
154
+ class="g-aiImg"
155
+ style={`background-image: url(${chartSm});`}
156
+ ></div>
157
+ <div
158
+ id="g-ai1-1"
159
+ class="g-map-labels g-aiAbs g-aiPointText"
160
+ style="top:3.8773%;margin-top:-9.4px;left:0.3278%;width:111px;"
161
+ >
162
+ <p class="g-pstyle0">Shake intensity</p>
163
+ </div>
164
+ <div
165
+ id="g-ai1-2"
166
+ class="g-legend g-aiAbs g-aiPointText"
167
+ style="top:9.0933%;margin-top:-9.4px;left:3.0258%;width:52px;"
168
+ >
169
+ <p class="g-pstyle0">Light</p>
170
+ </div>
171
+ <div
172
+ id="g-ai1-3"
173
+ class="g-legend g-aiAbs g-aiPointText"
174
+ style="top:13.5979%;margin-top:-9.4px;left:3.0259%;width:77px;"
175
+ >
176
+ <p class="g-pstyle0">Moderate</p>
177
+ </div>
178
+ <div
179
+ id="g-ai1-4"
180
+ class="g-map-labels g-aiAbs g-aiPointText"
181
+ style="top:16.6801%;margin-top:-9.4px;left:70.3255%;width:92px;"
182
+ >
183
+ <p class="g-pstyle0">Cap-Haitien</p>
184
+ </div>
185
+ <div
186
+ id="g-ai1-5"
187
+ class="g-legend g-aiAbs g-aiPointText"
188
+ style="top:18.3397%;margin-top:-9.4px;left:3.0258%;width:61px;"
189
+ >
190
+ <p class="g-pstyle0">Strong</p>
191
+ </div>
192
+ <div
193
+ id="g-ai1-6"
194
+ class="g-legend g-aiAbs g-aiPointText"
195
+ style="top:22.6073%;margin-top:-9.4px;left:3.0258%;width:88px;"
196
+ >
197
+ <p class="g-pstyle0">Very strong</p>
198
+ </div>
199
+ <div
200
+ id="g-ai1-7"
201
+ class="g-map-labels g-aiAbs g-aiPointText"
202
+ style="top:28.5344%;margin-top:-9.4px;left:55.9181%;width:76px;"
203
+ >
204
+ <p class="g-pstyle0">Gonaïves</p>
205
+ </div>
206
+ <div
207
+ id="g-ai1-8"
208
+ class="g-map-labels g-aiAbs g-aiPointText"
209
+ style="top:38.8091%;margin-top:-17.7px;left:27.2818%;margin-left:-41px;width:82px;"
210
+ >
211
+ <p class="g-pstyle1">Caribbean</p>
212
+ <p class="g-pstyle1">Sea</p>
213
+ </div>
214
+ <div
215
+ id="g-ai1-9"
216
+ class="g-map-labels g-aiAbs g-aiPointText"
217
+ style="top:39.9724%;margin-top:-8.6px;left:61.2858%;width:67px;"
218
+ >
219
+ <p class="g-pstyle2">HAITI</p>
220
+ </div>
221
+ <div
222
+ id="g-ai1-10"
223
+ class="g-map-labels g-aiAbs g-aiPointText"
224
+ style="top:56.985%;margin-top:-9.4px;left:12.2815%;width:69px;"
225
+ >
226
+ <p class="g-pstyle0">Jeremie</p>
227
+ </div>
228
+ <div
229
+ id="g-ai1-11"
230
+ class="g-map-labels g-aiAbs g-aiPointText"
231
+ style="top:59.1569%;margin-top:-9.5px;left:63.0314%;width:112px;"
232
+ >
233
+ <p class="g-pstyle3">Port-au-Prince</p>
234
+ </div>
235
+ <div
236
+ id="g-ai1-12"
237
+ class="g-map-labels g-aiAbs g-aiPointText"
238
+ style="top:60.1053%;margin-top:-9.5px;left:30.5543%;width:81px;"
239
+ >
240
+ <p class="g-pstyle3">Epicenter</p>
241
+ </div>
242
+ <div
243
+ id="g-ai1-13"
244
+ class="g-map-labels g-aiAbs g-aiPointText"
245
+ style="top:62.7194%;margin-top:-16.5px;left:91.2282%;margin-left:-57px;width:114px;"
246
+ >
247
+ <p class="g-pstyle4">Dominican</p>
248
+ <p class="g-pstyle4">Republic</p>
249
+ </div>
250
+ <div
251
+ id="g-ai1-14"
252
+ class="g-map-labels g-aiAbs g-aiPointText"
253
+ style="top:75.4778%;margin-top:-9.4px;left:57.3552%;width:64px;"
254
+ >
255
+ <p class="g-pstyle0">Jacmel</p>
256
+ </div>
257
+ <div
258
+ id="g-ai1-15"
259
+ class="g-map-labels g-aiAbs g-aiPointText"
260
+ style="top:76.6632%;margin-top:-9.4px;left:21.9639%;width:79px;"
261
+ >
262
+ <p class="g-pstyle0">Les Cayes</p>
263
+ </div>
264
+ <div
265
+ id="g-ai1-16"
266
+ class="g-map-labels g-aiAbs g-aiPointText"
267
+ style="top:85.5251%;margin-top:-7.7px;left:0.1344%;width:49px;"
268
+ >
269
+ <p class="g-pstyle5">50 mi</p>
270
+ </div>
271
+ <div
272
+ id="g-ai1-17"
273
+ class="g-map-labels g-aiAbs g-aiPointText"
274
+ style="top:90.0297%;margin-top:-7.7px;left:0.1344%;width:52px;"
275
+ >
276
+ <p class="g-pstyle5">50 km</p>
277
+ </div>
278
+ </div>
279
+ {/if}
280
+ <!-- Artboard: md -->
281
+ {#if width && width >= 660}
282
+ <div id="g-_ai-chart-md" class="g-artboard" style="">
283
+ <div style="padding: 0 0 79.6009% 0;"></div>
284
+ <div
285
+ id="g-_ai-chart-md-img"
286
+ class="g-aiImg"
287
+ style={`background-image: url(${chartMd});`}
288
+ ></div>
289
+ <div
290
+ id="g-ai2-1"
291
+ class="g-map-labels g-aiAbs g-aiPointText"
292
+ style="top:2.3515%;margin-top:-9.4px;left:0.3608%;width:111px;"
293
+ >
294
+ <p class="g-pstyle0">Shake intensity</p>
295
+ </div>
296
+ <div
297
+ id="g-ai2-2"
298
+ class="g-legend g-aiAbs g-aiPointText"
299
+ style="top:7.6811%;margin-top:-9.4px;left:2.6603%;width:52px;"
300
+ >
301
+ <p class="g-pstyle0">Light</p>
302
+ </div>
303
+ <div
304
+ id="g-ai2-3"
305
+ class="g-legend g-aiAbs g-aiPointText"
306
+ style="top:12.2494%;margin-top:-9.4px;left:2.6604%;width:77px;"
307
+ >
308
+ <p class="g-pstyle0">Moderate</p>
309
+ </div>
310
+ <div
311
+ id="g-ai2-4"
312
+ class="g-map-labels g-aiAbs g-aiPointText"
313
+ style="top:15.4852%;margin-top:-9.4px;left:70.3606%;width:92px;"
314
+ >
315
+ <p class="g-pstyle0">Cap-Haitien</p>
316
+ </div>
317
+ <div
318
+ id="g-ai2-5"
319
+ class="g-legend g-aiAbs g-aiPointText"
320
+ style="top:17.1983%;margin-top:-9.4px;left:2.6603%;width:61px;"
321
+ >
322
+ <p class="g-pstyle0">Strong</p>
323
+ </div>
324
+ <div
325
+ id="g-ai2-6"
326
+ class="g-legend g-aiAbs g-aiPointText"
327
+ style="top:21.7666%;margin-top:-9.4px;left:2.6603%;width:88px;"
328
+ >
329
+ <p class="g-pstyle0">Very strong</p>
330
+ </div>
331
+ <div
332
+ id="g-ai2-7"
333
+ class="g-map-labels g-aiAbs g-aiPointText"
334
+ style="top:27.6672%;margin-top:-9.4px;left:55.993%;width:76px;"
335
+ >
336
+ <p class="g-pstyle0">Gonaïves</p>
337
+ </div>
338
+ <div
339
+ id="g-ai2-8"
340
+ class="g-map-labels g-aiAbs g-aiPointText"
341
+ style="top:38.0099%;margin-top:-17.7px;left:27.2388%;margin-left:-41px;width:82px;"
342
+ >
343
+ <p class="g-pstyle1">Caribbean</p>
344
+ <p class="g-pstyle1">Sea</p>
345
+ </div>
346
+ <div
347
+ id="g-ai2-9"
348
+ class="g-map-labels g-aiAbs g-aiPointText"
349
+ style="top:42.7626%;margin-top:-10.7px;left:62.8914%;width:80px;"
350
+ >
351
+ <p class="g-pstyle2">HAITI</p>
352
+ </div>
353
+ <div
354
+ id="g-ai2-10"
355
+ class="g-map-labels g-aiAbs g-aiPointText"
356
+ style="top:50.0029%;margin-top:-17.7px;left:92.295%;margin-left:-60.5px;width:121px;"
357
+ >
358
+ <p class="g-pstyle3">Dominican</p>
359
+ <p class="g-pstyle3">Republic</p>
360
+ </div>
361
+ <div
362
+ id="g-ai2-11"
363
+ class="g-map-labels g-aiAbs g-aiPointText"
364
+ style="top:57.3608%;margin-top:-9.4px;left:12.2815%;width:69px;"
365
+ >
366
+ <p class="g-pstyle0">Jeremie</p>
367
+ </div>
368
+ <div
369
+ id="g-ai2-12"
370
+ class="g-map-labels g-aiAbs g-aiPointText"
371
+ style="top:60.2742%;margin-top:-10.7px;left:30.6995%;width:89px;"
372
+ >
373
+ <p class="g-pstyle4">Epicenter</p>
374
+ </div>
375
+ <div
376
+ id="g-ai2-13"
377
+ class="g-map-labels g-aiAbs g-aiPointText"
378
+ style="top:62.5583%;margin-top:-10.7px;left:66.3403%;width:125px;"
379
+ >
380
+ <p class="g-pstyle4">Port-au-Prince</p>
381
+ </div>
382
+ <div
383
+ id="g-ai2-14"
384
+ class="g-map-labels g-aiAbs g-aiPointText"
385
+ style="top:75.6338%;margin-top:-9.4px;left:57.8174%;width:64px;"
386
+ >
387
+ <p class="g-pstyle0">Jacmel</p>
388
+ </div>
389
+ <div
390
+ id="g-ai2-15"
391
+ class="g-map-labels g-aiAbs g-aiPointText"
392
+ style="top:77.3469%;margin-top:-9.4px;left:22.5239%;width:79px;"
393
+ >
394
+ <p class="g-pstyle0">Les Cayes</p>
395
+ </div>
396
+ <div
397
+ id="g-ai2-16"
398
+ class="g-map-labels g-aiAbs g-aiPointText"
399
+ style="top:86.936%;margin-top:-7.7px;left:0.1678%;width:49px;"
400
+ >
401
+ <p class="g-pstyle5">50 mi</p>
402
+ </div>
403
+ <div
404
+ id="g-ai2-17"
405
+ class="g-map-labels g-aiAbs g-aiPointText"
406
+ style="top:91.5043%;margin-top:-7.7px;left:0.1678%;width:52px;"
407
+ >
408
+ <p class="g-pstyle5">50 km</p>
409
+ </div>
410
+ </div>
411
+ {/if}
412
+ </div>
413
+
414
+ <!-- End ai2html - 2021-09-29 12:37 -->
415
+
416
+ <!-- ai file: _ai-chart.ai -->
417
+ <style>#g-_ai-chart-box,
418
+ #g-_ai-chart-box .g-artboard {
419
+ margin: 0 auto;
420
+ }
421
+
422
+ #g-_ai-chart-box p {
423
+ margin: 0;
424
+ }
425
+
426
+ #g-_ai-chart-box .g-aiAbs {
427
+ position: absolute;
428
+ }
429
+
430
+ #g-_ai-chart-box .g-aiImg {
431
+ position: absolute;
432
+ top: 0;
433
+ display: block;
434
+ width: 100% !important;
435
+ height: 100%;
436
+ background-size: contain;
437
+ background-repeat: no-repeat;
438
+ }
439
+
440
+ #g-_ai-chart-box .g-aiPointText p {
441
+ white-space: nowrap;
442
+ }
443
+
444
+ #g-_ai-chart-xs {
445
+ position: relative;
446
+ overflow: hidden;
447
+ }
448
+
449
+ #g-_ai-chart-xs p {
450
+ font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
451
+ font-weight: 400;
452
+ line-height: 14px;
453
+ height: auto;
454
+ opacity: 1;
455
+ letter-spacing: 0em;
456
+ font-size: 12px;
457
+ text-align: left;
458
+ color: rgb(51, 51, 51);
459
+ text-transform: none;
460
+ padding-bottom: 0;
461
+ padding-top: 0;
462
+ mix-blend-mode: normal;
463
+ font-style: normal;
464
+ position: static;
465
+ }
466
+
467
+ #g-_ai-chart-xs .g-pstyle0 {
468
+ height: 14px;
469
+ }
470
+
471
+ #g-_ai-chart-xs .g-pstyle1 {
472
+ font-style: italic;
473
+ height: 14px;
474
+ text-align: center;
475
+ color: rgb(113, 115, 117);
476
+ }
477
+
478
+ #g-_ai-chart-xs .g-pstyle2 {
479
+ font-weight: 700;
480
+ line-height: 18px;
481
+ height: 18px;
482
+ letter-spacing: 0.25em;
483
+ font-size: 15px;
484
+ }
485
+
486
+ #g-_ai-chart-xs .g-pstyle3 {
487
+ font-weight: 700;
488
+ line-height: 16px;
489
+ height: 16px;
490
+ font-size: 13px;
491
+ }
492
+
493
+ #g-_ai-chart-xs .g-pstyle4 {
494
+ line-height: 11px;
495
+ height: 11px;
496
+ font-size: 11px;
497
+ text-align: right;
498
+ }
499
+
500
+ #g-_ai-chart-sm {
501
+ position: relative;
502
+ overflow: hidden;
503
+ }
504
+
505
+ #g-_ai-chart-sm p {
506
+ font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
507
+ font-weight: 400;
508
+ line-height: 17px;
509
+ height: auto;
510
+ opacity: 1;
511
+ letter-spacing: 0em;
512
+ font-size: 14px;
513
+ text-align: left;
514
+ color: rgb(51, 51, 51);
515
+ text-transform: none;
516
+ padding-bottom: 0;
517
+ padding-top: 0;
518
+ mix-blend-mode: normal;
519
+ font-style: normal;
520
+ position: static;
521
+ }
522
+
523
+ #g-_ai-chart-sm .g-pstyle0 {
524
+ height: 17px;
525
+ }
526
+
527
+ #g-_ai-chart-sm .g-pstyle1 {
528
+ font-style: italic;
529
+ height: 17px;
530
+ text-align: center;
531
+ color: rgb(113, 115, 117);
532
+ }
533
+
534
+ #g-_ai-chart-sm .g-pstyle2 {
535
+ font-weight: 700;
536
+ line-height: 15px;
537
+ height: 15px;
538
+ letter-spacing: 0.25em;
539
+ font-size: 12px;
540
+ }
541
+
542
+ #g-_ai-chart-sm .g-pstyle3 {
543
+ font-weight: 700;
544
+ height: 17px;
545
+ }
546
+
547
+ #g-_ai-chart-sm .g-pstyle4 {
548
+ font-weight: 300;
549
+ line-height: 16px;
550
+ height: 16px;
551
+ letter-spacing: 0.25em;
552
+ font-size: 13px;
553
+ text-align: center;
554
+ text-transform: uppercase;
555
+ color: rgb(134, 136, 139);
556
+ }
557
+
558
+ #g-_ai-chart-sm .g-pstyle5 {
559
+ line-height: 14px;
560
+ height: 14px;
561
+ font-size: 12px;
562
+ }
563
+
564
+ #g-_ai-chart-md {
565
+ position: relative;
566
+ overflow: hidden;
567
+ }
568
+
569
+ #g-_ai-chart-md p {
570
+ font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
571
+ font-weight: 400;
572
+ line-height: 17px;
573
+ height: auto;
574
+ opacity: 1;
575
+ letter-spacing: 0em;
576
+ font-size: 14px;
577
+ text-align: left;
578
+ color: rgb(51, 51, 51);
579
+ text-transform: none;
580
+ padding-bottom: 0;
581
+ padding-top: 0;
582
+ mix-blend-mode: normal;
583
+ font-style: normal;
584
+ position: static;
585
+ }
586
+
587
+ #g-_ai-chart-md .g-pstyle0 {
588
+ height: 17px;
589
+ }
590
+
591
+ #g-_ai-chart-md .g-pstyle1 {
592
+ font-style: italic;
593
+ height: 17px;
594
+ text-align: center;
595
+ color: rgb(113, 115, 117);
596
+ }
597
+
598
+ #g-_ai-chart-md .g-pstyle2 {
599
+ font-weight: 700;
600
+ line-height: 19px;
601
+ height: 19px;
602
+ letter-spacing: 0.25em;
603
+ font-size: 16px;
604
+ }
605
+
606
+ #g-_ai-chart-md .g-pstyle3 {
607
+ font-weight: 300;
608
+ height: 17px;
609
+ letter-spacing: 0.25em;
610
+ text-align: center;
611
+ text-transform: uppercase;
612
+ color: rgb(134, 136, 139);
613
+ }
614
+
615
+ #g-_ai-chart-md .g-pstyle4 {
616
+ font-weight: 700;
617
+ line-height: 19px;
618
+ height: 19px;
619
+ font-size: 16px;
620
+ }
621
+
622
+ #g-_ai-chart-md .g-pstyle5 {
623
+ line-height: 14px;
624
+ height: 14px;
625
+ font-size: 12px;
626
+ }
627
+
628
+ /* Custom CSS */
629
+ * {
630
+ color: white !important;
631
+ }</style>
@@ -0,0 +1,3 @@
1
+ declare const AiChart: import("svelte").Component<Record<string, never>, {}, "">;
2
+ type AiChart = ReturnType<typeof AiChart>;
3
+ export default AiChart;