cross-country 1.2.21 → 1.2.22

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 (259) hide show
  1. package/dist/Color-F6OSRLHC-BbLcUd-T.js +575 -0
  2. package/dist/{bolt-Bw4E_fgS.js → bolt-BLbYxvOV.js} +6 -5
  3. package/dist/bundle.css +36 -31
  4. package/dist/colour-util-Bzfca_cM.js +775 -0
  5. package/dist/components/atoms/circle/__tests__/circle.test.js +2 -2
  6. package/dist/components/atoms/column/__tests__/column.test.js +2 -2
  7. package/dist/components/atoms/index.js +1 -1
  8. package/dist/components/atoms/list/index.js +4 -0
  9. package/dist/components/atoms/list/list-item/index.js +4 -0
  10. package/dist/components/atoms/list/list-item/list-item.js +20 -0
  11. package/dist/components/atoms/list/list.js +33 -0
  12. package/dist/components/atoms/radio/index.js +2 -2
  13. package/dist/components/atoms/radio/radio.js +42 -3
  14. package/dist/components/atoms/text/animate-number/animate-number.js +1 -1
  15. package/dist/components/atoms/text/index.js +1 -1
  16. package/dist/components/atoms/text/input/__stories__/state-machine-fetch-dragons.js +3 -3
  17. package/dist/components/atoms/text/input/input-text-machine.js +3 -3
  18. package/dist/components/atoms/text/input/state-machine-text-input.js +1 -1
  19. package/dist/components/atoms/text/span/__stories__/span-story.js +6 -5
  20. package/dist/components/index.js +116 -116
  21. package/dist/components/molecules/autocomplete/autocomplete-machine.js +3 -3
  22. package/dist/components/molecules/autocomplete/autocomplete.js +1 -1
  23. package/dist/components/molecules/card/amazon/amazon-card.js +7 -6
  24. package/dist/components/molecules/card/builder/card-builder-machine/card-builder-machine.js +1 -1
  25. package/dist/components/molecules/card/builder/card-builder-machine/card-service-events.js +2 -2
  26. package/dist/components/molecules/card/builder/card-builder-machine/platform-states-amazon.js +1 -1
  27. package/dist/components/molecules/card/builder/card-builder-machine/platform-states-common.js +1 -1
  28. package/dist/components/molecules/card/builder/card-builder.js +1 -1
  29. package/dist/components/molecules/card/builder/card-editor.js +7 -6
  30. package/dist/components/molecules/card/card.js +6 -5
  31. package/dist/components/molecules/carousel/carousel.js +6 -5
  32. package/dist/components/molecules/day-number/day-number.js +6 -5
  33. package/dist/components/molecules/field/field.js +6 -5
  34. package/dist/components/molecules/gold-leaf/gold-leaf-view/__tests__/gold-leaf-view.test.js +3 -3
  35. package/dist/components/molecules/gold-leaf/gold-leaf-view/controls/gold-leaf-view-controls.js +8 -7
  36. package/dist/components/molecules/gold-leaf/gold-leaf-view/email/gold-leaf-email-view.js +7 -6
  37. package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.js +7 -6
  38. package/dist/components/molecules/gold-leaf/gold-leaf-view/index.js +1 -1
  39. package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-leaf-image.js +7 -6
  40. package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-card.js +40 -0
  41. package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-image-card.js +8 -7
  42. package/dist/components/molecules/gold-leaf/gold-leaf.js +1 -1
  43. package/dist/components/molecules/header/Header.js +10 -9
  44. package/dist/components/molecules/hero/hero.js +7 -6
  45. package/dist/components/molecules/icons/index.js +4 -3
  46. package/dist/components/molecules/icons/x/x.js +6 -5
  47. package/dist/components/molecules/index.js +8 -7
  48. package/dist/components/molecules/key-value-pairs/__tests__/key-value-pairs.js +1 -1
  49. package/dist/components/molecules/key-value-pairs/key-value-pairs.js +10 -9
  50. package/dist/components/molecules/keywords/keywords.js +6 -5
  51. package/dist/components/molecules/loading/__tests__/loading.test.js +1 -1
  52. package/dist/components/molecules/log-error-boundary/__stories__/log-error-boundary-story.js +1 -1
  53. package/dist/components/molecules/log-error-boundary/__tests__/log-error-boundary.test.js +2 -2
  54. package/dist/components/molecules/log-error-boundary/log-error-boundary.js +6 -5
  55. package/dist/components/molecules/modal/modal.js +6 -5
  56. package/dist/components/molecules/policies/index.js +4 -3
  57. package/dist/components/molecules/policies/privacy-policy.js +8 -7
  58. package/dist/components/molecules/policies/terms-of-use.js +8 -7
  59. package/dist/components/molecules/quote/quote.js +6 -5
  60. package/dist/components/molecules/radiogroup/__stories__/radio-group-form-story.js +12 -11
  61. package/dist/components/molecules/radiogroup/__stories__/radio-group-react-hook-form-story.js +15 -14
  62. package/dist/components/molecules/radiogroup/radiogroup.js +9 -9
  63. package/dist/components/molecules/related-articles/related-articles.js +15 -14
  64. package/dist/components/molecules/search/search.js +6 -5
  65. package/dist/components/molecules/stagger/stagger.js +6 -5
  66. package/dist/components/molecules/tile/corners.js +1 -1
  67. package/dist/components/molecules/tile/index.js +1 -1
  68. package/dist/components/molecules/tile/tile-interactive.js +5 -4
  69. package/dist/components/molecules/tile/tile.js +1 -1
  70. package/dist/components/molecules/time-progress/__tests__/progress.test.js +1 -1
  71. package/dist/components/molecules/time-progress/pilot/index.js +2 -3
  72. package/dist/components/molecules/time-progress/progress-over-year.js +6 -5
  73. package/dist/components/molecules/time-progress/progress.js +6 -5
  74. package/dist/components/molecules/user/anon-user.js +6 -5
  75. package/dist/components/molecules/user/user.js +7 -6
  76. package/dist/components/molecules/venn-diagram/__tests__/venn-diagram.tests.js +2 -2
  77. package/dist/components/molecules/venn-diagram/venn-diagram-circle.js +6 -5
  78. package/dist/components/molecules/venn-diagram/venn-diagram.js +6 -5
  79. package/dist/components/molecules/wallpaper/__tests__/wallpaper.tests.js +2 -2
  80. package/dist/components/molecules/wallpaper/wallpaper.js +1 -1
  81. package/dist/components/molecules/wrapper/__stories__/wrapper-children-story.js +6 -5
  82. package/dist/components/organisms/actors/actor/actor-builder-machine.js +2 -2
  83. package/dist/components/organisms/actors/actor/actor-builder.js +6 -5
  84. package/dist/components/organisms/actors/actor/actor.js +5 -4
  85. package/dist/components/organisms/actors/actor/index.js +1 -1
  86. package/dist/components/organisms/actors/animal/animal.js +1 -1
  87. package/dist/components/organisms/actors/monsters/troll/troll-machine.js +2 -2
  88. package/dist/components/organisms/actors/monsters/troll/troll.js +6 -5
  89. package/dist/components/organisms/actors/party/cleric/cleric.js +1 -1
  90. package/dist/components/organisms/actors/party/hunter/hunter.js +1 -1
  91. package/dist/components/organisms/actors/party/warrior/warrior.js +1 -1
  92. package/dist/components/organisms/actors/party/wizard/wizard.js +1 -1
  93. package/dist/components/organisms/actors/wisp/wisp.js +1 -1
  94. package/dist/components/organisms/ads/ad-card.js +6 -5
  95. package/dist/components/organisms/animation/animate-actor/animate-actor.js +6 -5
  96. package/dist/components/organisms/animation/one-day/one-day.js +15 -14
  97. package/dist/components/organisms/animation/reverse-text-animation/reverse-text-animation.js +6 -5
  98. package/dist/components/organisms/bento/layouts/five-by-four/bento-five-by-four.js +9 -8
  99. package/dist/components/organisms/bento/layouts/four-by-four/bento-four-by-four.js +6 -5
  100. package/dist/components/organisms/bento/layouts/three-by-three/bento-three-by-three.js +6 -5
  101. package/dist/components/organisms/bento/layouts/two-by-two/bento-two-by-two.js +6 -5
  102. package/dist/components/organisms/blog/__stories__/blog-story.js +9 -8
  103. package/dist/components/organisms/blog/blog-post/__stories__/blog-post-story.js +6 -5
  104. package/dist/components/organisms/blog/blog-post/blog-post-machine/build-listicle-machine.js +1 -1
  105. package/dist/components/organisms/blog/blog-post/blog-post-machine/delete-listicle-item.js +2 -2
  106. package/dist/components/organisms/blog/blog-post/blog-post-machine/load-listicle.js +2 -2
  107. package/dist/components/organisms/blog/blog-post/blog-post-machine/manage-listicle-items.js +1 -1
  108. package/dist/components/organisms/blog/blog-post/blog-post-machine/save-listicle-item.js +2 -2
  109. package/dist/components/organisms/blog/blog-post/blog-post-machine/save-listicle.js +2 -2
  110. package/dist/components/organisms/blog/blog-post/blog-post-machine/update-listice-item.js +2 -2
  111. package/dist/components/organisms/blog/blog-post/blog-post.js +6 -5
  112. package/dist/components/organisms/blog/blog-post-list.js +12 -11
  113. package/dist/components/organisms/blog/blog.js +6 -5
  114. package/dist/components/organisms/branch/branch.js +6 -5
  115. package/dist/components/organisms/branches/__tests__/branch-list.test.js +6 -4
  116. package/dist/components/organisms/branches/branch-list.js +61 -39
  117. package/dist/components/organisms/branches/branches.js +7 -6
  118. package/dist/components/organisms/calendar/calendar.js +6 -5
  119. package/dist/components/organisms/charts/chart/__stories__/data-set.js +1 -1
  120. package/dist/components/organisms/charts/chart/chart-gold-leaf/chart-gold-leaf.js +4 -3
  121. package/dist/components/organisms/clusters/cluster.js +6 -5
  122. package/dist/components/organisms/json-map-tile-grid/index.js +1 -1
  123. package/dist/components/organisms/json-map-tile-grid/json-map-tile-grid.js +6 -4
  124. package/dist/components/organisms/listicle/__stories__/andor-right-click-story.js +6 -5
  125. package/dist/components/organisms/listicle/__stories__/listicle-fb-v-canada-story.js +6 -5
  126. package/dist/components/organisms/listicle/__stories__/listicle-story.js +6 -5
  127. package/dist/components/organisms/listicle/build-listicle-machine/build-listicle-machine.js +1 -1
  128. package/dist/components/organisms/listicle/build-listicle-machine/delete-listicle-item.js +2 -2
  129. package/dist/components/organisms/listicle/build-listicle-machine/load-listicle.js +2 -2
  130. package/dist/components/organisms/listicle/build-listicle-machine/manage-listicle-items.js +1 -1
  131. package/dist/components/organisms/listicle/build-listicle-machine/save-listicle-item.js +2 -2
  132. package/dist/components/organisms/listicle/build-listicle-machine/save-listicle.js +2 -2
  133. package/dist/components/organisms/listicle/build-listicle-machine/update-listice-item.js +2 -2
  134. package/dist/components/organisms/listicle/edit-listicle/edit-listicle.js +13 -12
  135. package/dist/components/organisms/listicle/edit-listicle-item-list/edit-listicle-item-list.js +6 -5
  136. package/dist/components/organisms/listicle/edit-listicle-item-list/listicle-item-input.js +12 -11
  137. package/dist/components/organisms/listicle/edit-listicle-item-list/listicle-item.js +6 -5
  138. package/dist/components/organisms/listicle/listicle-builder.js +14 -13
  139. package/dist/components/organisms/listicle/listicle-item-list.js +12 -11
  140. package/dist/components/organisms/listicle/listicle.js +6 -5
  141. package/dist/components/organisms/listicle/post-link.js +7 -6
  142. package/dist/components/organisms/login/__stories__/login-story.js +6 -5
  143. package/dist/components/organisms/login/login-fetching-transition.js +6 -5
  144. package/dist/components/organisms/login/login-fields-transition.js +21 -20
  145. package/dist/components/organisms/login/login-response-transition.js +66 -11
  146. package/dist/components/organisms/login/login-submit-transition.js +6 -5
  147. package/dist/components/organisms/login/login-view.js +7 -6
  148. package/dist/components/organisms/metrics/metrics.js +6 -5
  149. package/dist/components/organisms/palettes/palettes.js +14 -12
  150. package/dist/components/organisms/player/player.js +6 -5
  151. package/dist/components/organisms/registration/password-strength-helper.js +11 -10
  152. package/dist/components/organisms/registration/post-registration.js +2 -2
  153. package/dist/components/organisms/registration/registration-form.js +6 -5
  154. package/dist/components/organisms/registration/registration-machine.js +2 -2
  155. package/dist/components/organisms/registration/registration-response.js +6 -5
  156. package/dist/components/organisms/registration/registration.js +7 -6
  157. package/dist/components/organisms/stage/stage.js +9 -8
  158. package/dist/components/organisms/survey/__stories__/build-form-story.js +6 -5
  159. package/dist/components/organisms/survey/build-form-machine.js +2 -2
  160. package/dist/components/organisms/survey/build-form.js +8 -7
  161. package/dist/components/organisms/survey/final-form.js +8 -7
  162. package/dist/components/organisms/survey/question/edit/__stories__/edit-question-story.js +6 -5
  163. package/dist/components/organisms/survey/question/edit/add-media.js +6 -5
  164. package/dist/components/organisms/survey/question/edit/add-question/__stories__/add-question-story.js +6 -5
  165. package/dist/components/organisms/survey/question/edit/add-question/add-question.js +30 -29
  166. package/dist/components/organisms/survey/question/edit/answer/answer-input.js +6 -5
  167. package/dist/components/organisms/survey/question/edit/answer-input.js +6 -5
  168. package/dist/components/organisms/survey/question/edit/edit-multiple-choice.js +6 -5
  169. package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js +2 -2
  170. package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list.js +7 -6
  171. package/dist/components/organisms/survey/question/edit/edit-option-list/option-input.js +6 -5
  172. package/dist/components/organisms/survey/question/edit/edit-option-list/option.js +7 -6
  173. package/dist/components/organisms/survey/question/edit/question-answer-input.js +6 -5
  174. package/dist/components/organisms/survey/question/take/__stories__/multiple-choice-story.js +6 -5
  175. package/dist/components/organisms/survey/question/take/__stories__/take-answer-date-time-input-story.js +6 -5
  176. package/dist/components/organisms/survey/question/take/__stories__/take-answer-input-story.js +6 -5
  177. package/dist/components/organisms/survey/question/take/inputs/input-manager.js +6 -5
  178. package/dist/components/organisms/survey/question/take/multiple-choice.js +6 -5
  179. package/dist/components/organisms/survey/question/take/take-answer-input.js +12 -11
  180. package/dist/components/organisms/tile-grid/__tests__/tile-grid.tests.js +3 -3
  181. package/dist/components/organisms/tile-grid/grid-row.js +6 -5
  182. package/dist/components/organisms/tile-grid/index.js +1 -1
  183. package/dist/components/organisms/tile-grid/island-tile-grid.js +12 -11
  184. package/dist/components/organisms/tile-grid/tile-grid.js +6 -4
  185. package/dist/components/organisms/worlds/area-of-effect/__stories__/area-of-affect-story.js +6 -5
  186. package/dist/components/organisms/worlds/area-of-effect/area-of-affect.js +31 -29
  187. package/dist/components/organisms/worlds/island/__stories__/island-story.js +18 -16
  188. package/dist/components/organisms/worlds/island/__stories__/island-util.js +25 -23
  189. package/dist/components/pages/home/headwinds/header/headwinds-header.js +6 -5
  190. package/dist/components/pages/home/headwinds/headwinds-footer.js +6 -5
  191. package/dist/components/pages/home/headwinds/headwinds-hero.js +6 -5
  192. package/dist/components/pages/home/headwinds/headwinds-sidequest.js +35 -34
  193. package/dist/components/pages/home/headwinds/home.js +9 -8
  194. package/dist/components/pages/index.js +6 -5
  195. package/dist/components/pages/profile/headwinds/headwinds-profile.js +21 -20
  196. package/dist/components/pages/profile/index.js +4 -3
  197. package/dist/components/templates/articles/article/article.js +6 -5
  198. package/dist/components/templates/home/headwinds/headwinds-home-hero.js +6 -5
  199. package/dist/components/templates/home/headwinds/headwinds-home.js +6 -5
  200. package/dist/components/templates/home/home.js +10 -9
  201. package/dist/fp-util-DZLSTUg5.js +8 -0
  202. package/dist/gold-leaf-view-CgRraK2i.js +183 -0
  203. package/dist/gold-leaf-view.module-p3mWnO60.js +17 -0
  204. package/dist/headline-DzDFQZ3e.js +11 -0
  205. package/dist/image-find-util-DMX6BcO-.js +1036 -0
  206. package/dist/index-BTF1caLu.js +2529 -0
  207. package/dist/{index-COQaJqs5.js → index-OdyFkztm.js} +3670 -2660
  208. package/dist/{index-DsigmIMS.js → index-_cvPLH70.js} +1 -1
  209. package/dist/index.esm-DGm91C_6.js +944 -0
  210. package/dist/index.js +143 -140
  211. package/dist/lib/components/atoms/list/index.d.ts +2 -0
  212. package/dist/lib/components/atoms/list/list-item/index.d.ts +2 -0
  213. package/dist/lib/components/atoms/list/list-item/list-item.d.ts +10 -0
  214. package/dist/lib/components/atoms/list/list.d.ts +12 -0
  215. package/dist/lib/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-card.d.ts +4 -0
  216. package/dist/lib/components/organisms/branch/branch.d.ts +3 -1
  217. package/dist/lib/components/organisms/branches/__stories__/branches.stories.d.ts +7 -0
  218. package/dist/lib/components/organisms/branches/branch-list.d.ts +4 -1
  219. package/dist/lib/models/TreeModel.d.ts +12 -0
  220. package/dist/lib/models/index.d.ts +1 -0
  221. package/dist/lib/utils/golds/feed-util.d.ts +17 -0
  222. package/dist/lib/utils/index.d.ts +5 -0
  223. package/dist/list.module-pjS_KHqp.js +10 -0
  224. package/dist/{log-2a4cc478.esm-HFv7vQ7j.js → log-2a4cc478.esm-BdzQp5f-.js} +15 -15
  225. package/dist/{log-error-boundary-story-BF8rmHhr.js → log-error-boundary-story-CcyM__Yt.js} +6541 -7185
  226. package/dist/{magic-string.es-VsGWiGpd.js → magic-string.es-QkQE39Zh.js} +11 -6
  227. package/dist/{radio-BTUtRmLM.js → mobile-detect-CWVWWCSg.js} +12 -51
  228. package/dist/models/TreeModel.js +12 -0
  229. package/dist/models/index.js +3 -2
  230. package/dist/{react-spring_web.modern-nSq5Xzxb.js → react-spring_web.modern-ClBJWBW2.js} +281 -273
  231. package/dist/{react.esm-BEaxtOYu.js → react.esm-BpVcViTQ.js} +2197 -2181
  232. package/dist/string-util-D7tmqJRS.js +35 -0
  233. package/dist/table-data-BnRZ5F7y.js +16 -0
  234. package/dist/utils/golds/feed-util.js +240 -0
  235. package/dist/utils/index.js +12 -0
  236. package/dist/{vi.YFlodzP_-CjWVzrI3.js → vi.YFlodzP_-C3qjkUdf.js} +2 -2
  237. package/dist/{xstate-actors.esm-Ba6reXm_.js → xstate-actors.esm-CcLF5JHw.js} +1 -1
  238. package/dist/{xstate-react.esm-Ct8KIFgA.js → xstate-react.esm-DWdE0_Ay.js} +1 -1
  239. package/dist/{xstate.esm-Bo02HSs2.js → xstate.esm-COAqQ2fq.js} +11 -11
  240. package/package.json +4 -2
  241. package/dist/Color-ERTF36HU-DRLqcX19.js +0 -358
  242. package/dist/_getTag-CqbPZ7Cl.js +0 -449
  243. package/dist/components/organisms/branches/__stories__/branches-story.js +0 -6
  244. package/dist/components/organisms/branches/branch-list.types.js +0 -1
  245. package/dist/feed-util-CZfVh6cR.js +0 -244
  246. package/dist/fp-util-4N0NK_eU.js +0 -8
  247. package/dist/gold-leaf-view-BAGw5McJ.js +0 -117
  248. package/dist/gold-leaf-view.module-BTNjKEeW.js +0 -17
  249. package/dist/headline-DuHL8hAt.js +0 -11
  250. package/dist/image-find-util-Cl2ZJHfC.js +0 -41
  251. package/dist/index-BsYJgl86.js +0 -3853
  252. package/dist/index-Cdg9lY68.js +0 -542
  253. package/dist/index.esm-BrPDxyfz.js +0 -933
  254. package/dist/lib/components/organisms/branches/__stories__/branches-story.d.ts +0 -2
  255. package/dist/lib/components/organisms/branches/branch-list.types.d.ts +0 -5
  256. package/dist/list-BkQjCFcb.js +0 -14
  257. package/dist/list-item-DyDjznkQ.js +0 -8
  258. package/dist/login-response-transition-Dws0eBbH.js +0 -123
  259. package/dist/table-data-PGM-_ef9.js +0 -16
@@ -0,0 +1,775 @@
1
+ const n = [
2
+ [
3
+ "#69d2e7",
4
+ "#a7dbd8",
5
+ "#e0e4cc",
6
+ "#f38630",
7
+ "#fa6900"
8
+ ],
9
+ [
10
+ "#fe4365",
11
+ "#fc9d9a",
12
+ "#f9cdad",
13
+ "#c8c8a9",
14
+ "#83af9b"
15
+ ],
16
+ [
17
+ "#ecd078",
18
+ "#d95b43",
19
+ "#c02942",
20
+ "#542437",
21
+ "#53777a"
22
+ ],
23
+ [
24
+ "#556270",
25
+ "#4ecdc4",
26
+ "#c7f464",
27
+ "#ff6b6b",
28
+ "#c44d58"
29
+ ],
30
+ [
31
+ "#774f38",
32
+ "#e08e79",
33
+ "#f1d4af",
34
+ "#ece5ce",
35
+ "#c5e0dc"
36
+ ],
37
+ [
38
+ "#e8ddcb",
39
+ "#cdb380",
40
+ "#036564",
41
+ "#033649",
42
+ "#031634"
43
+ ],
44
+ [
45
+ "#490a3d",
46
+ "#bd1550",
47
+ "#e97f02",
48
+ "#f8ca00",
49
+ "#8a9b0f"
50
+ ],
51
+ [
52
+ "#594f4f",
53
+ "#547980",
54
+ "#45ada8",
55
+ "#9de0ad",
56
+ "#e5fcc2"
57
+ ],
58
+ [
59
+ "#00a0b0",
60
+ "#6a4a3c",
61
+ "#cc333f",
62
+ "#eb6841",
63
+ "#edc951"
64
+ ],
65
+ [
66
+ "#e94e77",
67
+ "#d68189",
68
+ "#c6a49a",
69
+ "#c6e5d9",
70
+ "#f4ead5"
71
+ ],
72
+ [
73
+ "#3fb8af",
74
+ "#7fc7af",
75
+ "#dad8a7",
76
+ "#ff9e9d",
77
+ "#ff3d7f"
78
+ ],
79
+ [
80
+ "#d9ceb2",
81
+ "#948c75",
82
+ "#d5ded9",
83
+ "#7a6a53",
84
+ "#99b2b7"
85
+ ],
86
+ [
87
+ "#ffffff",
88
+ "#cbe86b",
89
+ "#f2e9e1",
90
+ "#1c140d",
91
+ "#cbe86b"
92
+ ],
93
+ [
94
+ "#efffcd",
95
+ "#dce9be",
96
+ "#555152",
97
+ "#2e2633",
98
+ "#99173c"
99
+ ],
100
+ [
101
+ "#343838",
102
+ "#005f6b",
103
+ "#008c9e",
104
+ "#00b4cc",
105
+ "#00dffc"
106
+ ],
107
+ [
108
+ "#413e4a",
109
+ "#73626e",
110
+ "#b38184",
111
+ "#f0b49e",
112
+ "#f7e4be"
113
+ ],
114
+ [
115
+ "#ff4e50",
116
+ "#fc913a",
117
+ "#f9d423",
118
+ "#ede574",
119
+ "#e1f5c4"
120
+ ],
121
+ [
122
+ "#99b898",
123
+ "#fecea8",
124
+ "#ff847c",
125
+ "#e84a5f",
126
+ "#2a363b"
127
+ ],
128
+ [
129
+ "#655643",
130
+ "#80bca3",
131
+ "#f6f7bd",
132
+ "#e6ac27",
133
+ "#bf4d28"
134
+ ],
135
+ [
136
+ "#00a8c6",
137
+ "#40c0cb",
138
+ "#f9f2e7",
139
+ "#aee239",
140
+ "#8fbe00"
141
+ ],
142
+ [
143
+ "#351330",
144
+ "#424254",
145
+ "#64908a",
146
+ "#e8caa4",
147
+ "#cc2a41"
148
+ ],
149
+ [
150
+ "#554236",
151
+ "#f77825",
152
+ "#d3ce3d",
153
+ "#f1efa5",
154
+ "#60b99a"
155
+ ],
156
+ [
157
+ "#5d4157",
158
+ "#838689",
159
+ "#a8caba",
160
+ "#cad7b2",
161
+ "#ebe3aa"
162
+ ],
163
+ [
164
+ "#8c2318",
165
+ "#5e8c6a",
166
+ "#88a65e",
167
+ "#bfb35a",
168
+ "#f2c45a"
169
+ ],
170
+ [
171
+ "#fad089",
172
+ "#ff9c5b",
173
+ "#f5634a",
174
+ "#ed303c",
175
+ "#3b8183"
176
+ ],
177
+ [
178
+ "#ff4242",
179
+ "#f4fad2",
180
+ "#d4ee5e",
181
+ "#e1edb9",
182
+ "#f0f2eb"
183
+ ],
184
+ [
185
+ "#f8b195",
186
+ "#f67280",
187
+ "#c06c84",
188
+ "#6c5b7b",
189
+ "#355c7d"
190
+ ],
191
+ [
192
+ "#d1e751",
193
+ "#ffffff",
194
+ "#000000",
195
+ "#4dbce9",
196
+ "#26ade4"
197
+ ],
198
+ [
199
+ "#1b676b",
200
+ "#519548",
201
+ "#88c425",
202
+ "#bef202",
203
+ "#eafde6"
204
+ ],
205
+ [
206
+ "#5e412f",
207
+ "#fcebb6",
208
+ "#78c0a8",
209
+ "#f07818",
210
+ "#f0a830"
211
+ ],
212
+ [
213
+ "#bcbdac",
214
+ "#cfbe27",
215
+ "#f27435",
216
+ "#f02475",
217
+ "#3b2d38"
218
+ ],
219
+ [
220
+ "#452632",
221
+ "#91204d",
222
+ "#e4844a",
223
+ "#e8bf56",
224
+ "#e2f7ce"
225
+ ],
226
+ [
227
+ "#eee6ab",
228
+ "#c5bc8e",
229
+ "#696758",
230
+ "#45484b",
231
+ "#36393b"
232
+ ],
233
+ [
234
+ "#f0d8a8",
235
+ "#3d1c00",
236
+ "#86b8b1",
237
+ "#f2d694",
238
+ "#fa2a00"
239
+ ],
240
+ [
241
+ "#2a044a",
242
+ "#0b2e59",
243
+ "#0d6759",
244
+ "#7ab317",
245
+ "#a0c55f"
246
+ ],
247
+ [
248
+ "#f04155",
249
+ "#ff823a",
250
+ "#f2f26f",
251
+ "#fff7bd",
252
+ "#95cfb7"
253
+ ],
254
+ [
255
+ "#b9d7d9",
256
+ "#668284",
257
+ "#2a2829",
258
+ "#493736",
259
+ "#7b3b3b"
260
+ ],
261
+ [
262
+ "#bbbb88",
263
+ "#ccc68d",
264
+ "#eedd99",
265
+ "#eec290",
266
+ "#eeaa88"
267
+ ],
268
+ [
269
+ "#b3cc57",
270
+ "#ecf081",
271
+ "#ffbe40",
272
+ "#ef746f",
273
+ "#ab3e5b"
274
+ ],
275
+ [
276
+ "#a3a948",
277
+ "#edb92e",
278
+ "#f85931",
279
+ "#ce1836",
280
+ "#009989"
281
+ ],
282
+ [
283
+ "#300030",
284
+ "#480048",
285
+ "#601848",
286
+ "#c04848",
287
+ "#f07241"
288
+ ],
289
+ [
290
+ "#67917a",
291
+ "#170409",
292
+ "#b8af03",
293
+ "#ccbf82",
294
+ "#e33258"
295
+ ],
296
+ [
297
+ "#aab3ab",
298
+ "#c4cbb7",
299
+ "#ebefc9",
300
+ "#eee0b7",
301
+ "#e8caaf"
302
+ ],
303
+ [
304
+ "#e8d5b7",
305
+ "#0e2430",
306
+ "#fc3a51",
307
+ "#f5b349",
308
+ "#e8d5b9"
309
+ ],
310
+ [
311
+ "#ab526b",
312
+ "#bca297",
313
+ "#c5ceae",
314
+ "#f0e2a4",
315
+ "#f4ebc3"
316
+ ],
317
+ [
318
+ "#607848",
319
+ "#789048",
320
+ "#c0d860",
321
+ "#f0f0d8",
322
+ "#604848"
323
+ ],
324
+ [
325
+ "#b6d8c0",
326
+ "#c8d9bf",
327
+ "#dadabd",
328
+ "#ecdbbc",
329
+ "#fedcba"
330
+ ],
331
+ [
332
+ "#a8e6ce",
333
+ "#dcedc2",
334
+ "#ffd3b5",
335
+ "#ffaaa6",
336
+ "#ff8c94"
337
+ ],
338
+ [
339
+ "#3e4147",
340
+ "#fffedf",
341
+ "#dfba69",
342
+ "#5a2e2e",
343
+ "#2a2c31"
344
+ ],
345
+ [
346
+ "#fc354c",
347
+ "#29221f",
348
+ "#13747d",
349
+ "#0abfbc",
350
+ "#fcf7c5"
351
+ ],
352
+ [
353
+ "#cc0c39",
354
+ "#e6781e",
355
+ "#c8cf02",
356
+ "#f8fcc1",
357
+ "#1693a7"
358
+ ],
359
+ [
360
+ "#1c2130",
361
+ "#028f76",
362
+ "#b3e099",
363
+ "#ffeaad",
364
+ "#d14334"
365
+ ],
366
+ [
367
+ "#a7c5bd",
368
+ "#e5ddcb",
369
+ "#eb7b59",
370
+ "#cf4647",
371
+ "#524656"
372
+ ],
373
+ [
374
+ "#dad6ca",
375
+ "#1bb0ce",
376
+ "#4f8699",
377
+ "#6a5e72",
378
+ "#563444"
379
+ ],
380
+ [
381
+ "#5c323e",
382
+ "#a82743",
383
+ "#e15e32",
384
+ "#c0d23e",
385
+ "#e5f04c"
386
+ ],
387
+ [
388
+ "#edebe6",
389
+ "#d6e1c7",
390
+ "#94c7b6",
391
+ "#403b33",
392
+ "#d3643b"
393
+ ],
394
+ [
395
+ "#fdf1cc",
396
+ "#c6d6b8",
397
+ "#987f69",
398
+ "#e3ad40",
399
+ "#fcd036"
400
+ ],
401
+ [
402
+ "#230f2b",
403
+ "#f21d41",
404
+ "#ebebbc",
405
+ "#bce3c5",
406
+ "#82b3ae"
407
+ ],
408
+ [
409
+ "#b9d3b0",
410
+ "#81bda4",
411
+ "#b28774",
412
+ "#f88f79",
413
+ "#f6aa93"
414
+ ],
415
+ [
416
+ "#3a111c",
417
+ "#574951",
418
+ "#83988e",
419
+ "#bcdea5",
420
+ "#e6f9bc"
421
+ ],
422
+ [
423
+ "#5e3929",
424
+ "#cd8c52",
425
+ "#b7d1a3",
426
+ "#dee8be",
427
+ "#fcf7d3"
428
+ ],
429
+ [
430
+ "#1c0113",
431
+ "#6b0103",
432
+ "#a30006",
433
+ "#c21a01",
434
+ "#f03c02"
435
+ ],
436
+ [
437
+ "#000000",
438
+ "#9f111b",
439
+ "#b11623",
440
+ "#292c37",
441
+ "#cccccc"
442
+ ],
443
+ [
444
+ "#382f32",
445
+ "#ffeaf2",
446
+ "#fcd9e5",
447
+ "#fbc5d8",
448
+ "#f1396d"
449
+ ],
450
+ [
451
+ "#e3dfba",
452
+ "#c8d6bf",
453
+ "#93ccc6",
454
+ "#6cbdb5",
455
+ "#1a1f1e"
456
+ ],
457
+ [
458
+ "#f6f6f6",
459
+ "#e8e8e8",
460
+ "#333333",
461
+ "#990100",
462
+ "#b90504"
463
+ ],
464
+ [
465
+ "#1b325f",
466
+ "#9cc4e4",
467
+ "#e9f2f9",
468
+ "#3a89c9",
469
+ "#f26c4f"
470
+ ],
471
+ [
472
+ "#a1dbb2",
473
+ "#fee5ad",
474
+ "#faca66",
475
+ "#f7a541",
476
+ "#f45d4c"
477
+ ],
478
+ [
479
+ "#c1b398",
480
+ "#605951",
481
+ "#fbeec2",
482
+ "#61a6ab",
483
+ "#accec0"
484
+ ],
485
+ [
486
+ "#5e9fa3",
487
+ "#dcd1b4",
488
+ "#fab87f",
489
+ "#f87e7b",
490
+ "#b05574"
491
+ ],
492
+ [
493
+ "#951f2b",
494
+ "#f5f4d7",
495
+ "#e0dfb1",
496
+ "#a5a36c",
497
+ "#535233"
498
+ ],
499
+ [
500
+ "#8dccad",
501
+ "#988864",
502
+ "#fea6a2",
503
+ "#f9d6ac",
504
+ "#ffe9af"
505
+ ],
506
+ [
507
+ "#2d2d29",
508
+ "#215a6d",
509
+ "#3ca2a2",
510
+ "#92c7a3",
511
+ "#dfece6"
512
+ ],
513
+ [
514
+ "#413d3d",
515
+ "#040004",
516
+ "#c8ff00",
517
+ "#fa023c",
518
+ "#4b000f"
519
+ ],
520
+ [
521
+ "#eff3cd",
522
+ "#b2d5ba",
523
+ "#61ada0",
524
+ "#248f8d",
525
+ "#605063"
526
+ ],
527
+ [
528
+ "#ffefd3",
529
+ "#fffee4",
530
+ "#d0ecea",
531
+ "#9fd6d2",
532
+ "#8b7a5e"
533
+ ],
534
+ [
535
+ "#cfffdd",
536
+ "#b4dec1",
537
+ "#5c5863",
538
+ "#a85163",
539
+ "#ff1f4c"
540
+ ],
541
+ [
542
+ "#9dc9ac",
543
+ "#fffec7",
544
+ "#f56218",
545
+ "#ff9d2e",
546
+ "#919167"
547
+ ],
548
+ [
549
+ "#4e395d",
550
+ "#827085",
551
+ "#8ebe94",
552
+ "#ccfc8e",
553
+ "#dc5b3e"
554
+ ],
555
+ [
556
+ "#a8a7a7",
557
+ "#cc527a",
558
+ "#e8175d",
559
+ "#474747",
560
+ "#363636"
561
+ ],
562
+ [
563
+ "#f8edd1",
564
+ "#d88a8a",
565
+ "#474843",
566
+ "#9d9d93",
567
+ "#c5cfc6"
568
+ ],
569
+ [
570
+ "#046d8b",
571
+ "#309292",
572
+ "#2fb8ac",
573
+ "#93a42a",
574
+ "#ecbe13"
575
+ ],
576
+ [
577
+ "#f38a8a",
578
+ "#55443d",
579
+ "#a0cab5",
580
+ "#cde9ca",
581
+ "#f1edd0"
582
+ ],
583
+ [
584
+ "#a70267",
585
+ "#f10c49",
586
+ "#fb6b41",
587
+ "#f6d86b",
588
+ "#339194"
589
+ ],
590
+ [
591
+ "#ff003c",
592
+ "#ff8a00",
593
+ "#fabe28",
594
+ "#88c100",
595
+ "#00c176"
596
+ ],
597
+ [
598
+ "#ffedbf",
599
+ "#f7803c",
600
+ "#f54828",
601
+ "#2e0d23",
602
+ "#f8e4c1"
603
+ ],
604
+ [
605
+ "#4e4d4a",
606
+ "#353432",
607
+ "#94ba65",
608
+ "#2790b0",
609
+ "#2b4e72"
610
+ ],
611
+ [
612
+ "#0ca5b0",
613
+ "#4e3f30",
614
+ "#fefeeb",
615
+ "#f8f4e4",
616
+ "#a5b3aa"
617
+ ],
618
+ [
619
+ "#4d3b3b",
620
+ "#de6262",
621
+ "#ffb88c",
622
+ "#ffd0b3",
623
+ "#f5e0d3"
624
+ ],
625
+ [
626
+ "#fffbb7",
627
+ "#a6f6af",
628
+ "#66b6ab",
629
+ "#5b7c8d",
630
+ "#4f2958"
631
+ ],
632
+ [
633
+ "#edf6ee",
634
+ "#d1c089",
635
+ "#b3204d",
636
+ "#412e28",
637
+ "#151101"
638
+ ],
639
+ [
640
+ "#9d7e79",
641
+ "#ccac95",
642
+ "#9a947c",
643
+ "#748b83",
644
+ "#5b756c"
645
+ ],
646
+ [
647
+ "#fcfef5",
648
+ "#e9ffe1",
649
+ "#cdcfb7",
650
+ "#d6e6c3",
651
+ "#fafbe3"
652
+ ],
653
+ [
654
+ "#9cddc8",
655
+ "#bfd8ad",
656
+ "#ddd9ab",
657
+ "#f7af63",
658
+ "#633d2e"
659
+ ],
660
+ [
661
+ "#30261c",
662
+ "#403831",
663
+ "#36544f",
664
+ "#1f5f61",
665
+ "#0b8185"
666
+ ],
667
+ [
668
+ "#aaff00",
669
+ "#ffaa00",
670
+ "#ff00aa",
671
+ "#aa00ff",
672
+ "#00aaff"
673
+ ],
674
+ [
675
+ "#d1313d",
676
+ "#e5625c",
677
+ "#f9bf76",
678
+ "#8eb2c5",
679
+ "#615375"
680
+ ],
681
+ [
682
+ "#ffe181",
683
+ "#eee9e5",
684
+ "#fad3b2",
685
+ "#ffba7f",
686
+ "#ff9c97"
687
+ ],
688
+ [
689
+ "#73c8a9",
690
+ "#dee1b6",
691
+ "#e1b866",
692
+ "#bd5532",
693
+ "#373b44"
694
+ ],
695
+ [
696
+ "#805841",
697
+ "#dcf7f3",
698
+ "#fffcdd",
699
+ "#ffd8d8",
700
+ "#f5a2a2"
701
+ ]
702
+ ];
703
+ class l {
704
+ constructor() {
705
+ }
706
+ getColours() {
707
+ const f = {
708
+ lips: "#c0c0c0",
709
+ drySoil: "#c8b51d",
710
+ sand: "#efe9e2",
711
+ // me
712
+ glass: "#c0c8d9",
713
+ numberCruncher: "#718fb4",
714
+ higherGround: "#a68573",
715
+ mailaise: "#4e596c",
716
+ explorer: "#3d3335",
717
+ blackSnout: "#120f12"
718
+ };
719
+ return [
720
+ "lips",
721
+ "drySoil",
722
+ "sand",
723
+ "glass",
724
+ "numberCruncher",
725
+ "higherGround",
726
+ "mailaise",
727
+ "explorer",
728
+ "blackSnout"
729
+ ].map((c) => f[c]);
730
+ }
731
+ getSplashPalette() {
732
+ return [
733
+ { hex: "#C1DED2", id: 0 },
734
+ { hex: "#D9D9D9", id: 1 },
735
+ { hex: "#EFE9E2", id: 2 },
736
+ { hex: "#EEEEEE", id: 3 },
737
+ { hex: "#F9EBDE", id: 4 },
738
+ { hex: "#E9DACC", id: 5 }
739
+ ];
740
+ }
741
+ getColour(f) {
742
+ return globalVariable[f];
743
+ }
744
+ getColorPalettes(f) {
745
+ return n[f];
746
+ }
747
+ hexToRgb(f) {
748
+ let e = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(f), d = parseInt(e[1], 16), c = parseInt(e[2], 16), a = parseInt(e[3], 16);
749
+ return "rgb(" + String(d) + "," + String(c) + "," + String(a) + ")";
750
+ }
751
+ // color credit: http://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
752
+ // note percet is a decimal like 0.5
753
+ // you can effectively use getShadedColor and either pass -0.5 or 0.5 to darken or lighten a color respectively
754
+ getShadedColor(f, e) {
755
+ let d = f.split(","), c = e < 0 ? 0 : 255, a = e < 0 ? e * -1 : e, b = parseInt(d[0].slice(4)), t = parseInt(d[1]), r = parseInt(d[2]);
756
+ return "rgb(" + (Math.round((c - b) * a) + b) + "," + (Math.round((c - t) * a) + t) + "," + (Math.round((c - r) * a) + r) + ")";
757
+ }
758
+ getBlendedColor(f, e, d) {
759
+ let c = f.split(","), a = e.split(","), b = parseInt(c[0].slice(4)), t = parseInt(c[1]), r = parseInt(c[2]);
760
+ return "rgb(" + (Math.round((parseInt(a[0].slice(4)) - b) * d) + b) + "," + (Math.round((parseInt(a[1]) - t) * d) + t) + "," + (Math.round((parseInt(a[2]) - r) * d) + r) + ")";
761
+ }
762
+ // I can't exactly remember what is colorData?! I think it's picked from the canvas?!
763
+ lighten(f) {
764
+ let e = f.lightCount * 10 / 100;
765
+ return f.originalColor, f.curColor = this.getBlendedColor(f.originalColor, "rgb(255,255,255)", e), f.lightCount >= 10 && (f.lightCount = 9), f.lightCount++, f.darkCount <= 0 && (f.darkCount = 1), f.darkCount--, f;
766
+ }
767
+ darken(f) {
768
+ let e = f.darkCount * 10 / 100;
769
+ return f.originalColor, f.curColor = this.getBlendedColor(f.originalColor, "rgb(0,0,0)", e), f.darkCount >= 10 && (f.darkCount = 9), f.darkCount++, f.lightCount <= 0 && (f.lightCount = 1), f.lightCount--, f;
770
+ }
771
+ }
772
+ const s = new l();
773
+ export {
774
+ s as c
775
+ };