vipassana-design-standards 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. checksums.yaml +7 -0
  2. data/.htaccess +3 -0
  3. data/README.md +4 -0
  4. data/assets/css/fonts.css +5176 -0
  5. data/assets/css/index.css +179 -0
  6. data/assets/css/logo.css +40 -0
  7. data/assets/fonts/FootlightMTProBold.woff +0 -0
  8. data/assets/fonts/FootlightMTProBoldItalic.woff +0 -0
  9. data/assets/fonts/FootlightMTProExtraBold.woff +0 -0
  10. data/assets/fonts/FootlightMTProExtraBoldIt.woff +0 -0
  11. data/assets/fonts/FootlightMTProItalic.woff +0 -0
  12. data/assets/fonts/FootlightMTProLight.base64.js +1 -0
  13. data/assets/fonts/FootlightMTProLight.woff +0 -0
  14. data/assets/fonts/FootlightMTProLightItalic.woff +0 -0
  15. data/assets/fonts/FootlightMTProRegular.woff +0 -0
  16. data/assets/fonts/Lato-Black.woff +0 -0
  17. data/assets/fonts/Lato-BlackItalic.woff +0 -0
  18. data/assets/fonts/Lato-Bold.woff +0 -0
  19. data/assets/fonts/Lato-BoldItalic.woff +0 -0
  20. data/assets/fonts/Lato-Italic.woff +0 -0
  21. data/assets/fonts/Lato-Light.base64.js +1 -0
  22. data/assets/fonts/Lato-Light.woff +0 -0
  23. data/assets/fonts/Lato-LightItalic.woff +0 -0
  24. data/assets/fonts/Lato-Regular.woff +0 -0
  25. data/assets/fonts/Lato-Thin.woff +0 -0
  26. data/assets/fonts/Lato-ThinItalic.woff +0 -0
  27. data/assets/fonts/OFL.txt +93 -0
  28. data/assets/images/wheels/favicon.png +0 -0
  29. data/assets/images/wheels/favicon.svg +1483 -0
  30. data/assets/images/wheels/old versions/2.5D-wheel.png +0 -0
  31. data/assets/images/wheels/old versions/2.5D-wheel.svg +109 -0
  32. data/assets/images/wheels/old versions/2D-wheel.svg +472 -0
  33. data/assets/images/wheels/old versions/3D-wheel.svg +1 -0
  34. data/assets/images/wheels/old versions/dhamma wheel 3D.png +0 -0
  35. data/assets/images/wheels/old versions/wheel-3d.ai +3723 -9
  36. data/assets/images/wheels/old versions/wheel-3d.png +0 -0
  37. data/assets/images/wheels/tests/2.5D-wheel-1.svg +414 -0
  38. data/assets/images/wheels/tests/2.5D-wheel-2.svg +409 -0
  39. data/assets/images/wheels/tests/2.5D-wheel-3.svg +449 -0
  40. data/assets/images/wheels/tests/2.5D-wheel-4.svg +459 -0
  41. data/assets/images/wheels/tests/2.5D-wheel-5.svg +452 -0
  42. data/assets/images/wheels/tests/2.5D-wheel-6.svg +457 -0
  43. data/assets/images/wheels/tests/2.5D-wheel-7.svg +459 -0
  44. data/assets/images/wheels/tests/2.5D-wheel-8.svg +459 -0
  45. data/assets/images/wheels/tests/2.5D-wheel-sebastian.svg +3 -0
  46. data/assets/images/wheels/tests/3D-wheel-2.svg +1352 -0
  47. data/assets/images/wheels/tests/3D-wheel-sebastian.svg +1 -0
  48. data/assets/images/wheels/tests/3D-wheel.svg +1 -0
  49. data/assets/images/wheels/wheel-2023-duotone.png +0 -0
  50. data/assets/images/wheels/wheel-2023-duotone.svg +1 -0
  51. data/assets/images/wheels/wheel-2023-duotone.svg.js +1 -0
  52. data/assets/images/wheels/wheel-2023-working-document-with-all-layers.svg +1608 -0
  53. data/assets/images/wheels/wheel-2023.png +0 -0
  54. data/assets/images/wheels/wheel-2023.svg +1 -0
  55. data/assets/images/wheels/wheel-2023.svg.js +1 -0
  56. data/assets/javascripts/i18n.js +302 -0
  57. data/assets/javascripts/index.js +395 -0
  58. data/dist/Dhamma-Wheel.svg +1 -0
  59. data/dist/design-standards-v0.3.pdf +0 -0
  60. data/dist/favicon.png +0 -0
  61. data/dist/favicon.svg +1490 -0
  62. data/dist/fonts.zip +0 -0
  63. data/dist/logos/logo-bg-large.png +0 -0
  64. data/dist/logos/logo-bg-small.png +0 -0
  65. data/dist/logos/logo-bg.png +0 -0
  66. data/dist/logos/logo-cs-large.png +0 -0
  67. data/dist/logos/logo-cs-small.png +0 -0
  68. data/dist/logos/logo-cs.png +0 -0
  69. data/dist/logos/logo-de-large.png +0 -0
  70. data/dist/logos/logo-de-small.png +0 -0
  71. data/dist/logos/logo-de.png +0 -0
  72. data/dist/logos/logo-el-large.png +0 -0
  73. data/dist/logos/logo-el-small.png +0 -0
  74. data/dist/logos/logo-el.png +0 -0
  75. data/dist/logos/logo-en-large.png +0 -0
  76. data/dist/logos/logo-en-small.png +0 -0
  77. data/dist/logos/logo-en.png +0 -0
  78. data/dist/logos/logo-es-large.png +0 -0
  79. data/dist/logos/logo-es-small.png +0 -0
  80. data/dist/logos/logo-es.png +0 -0
  81. data/dist/logos/logo-fa-large.png +0 -0
  82. data/dist/logos/logo-fa-small.png +0 -0
  83. data/dist/logos/logo-fa.png +0 -0
  84. data/dist/logos/logo-fi-large.png +0 -0
  85. data/dist/logos/logo-fi-small.png +0 -0
  86. data/dist/logos/logo-fi.png +0 -0
  87. data/dist/logos/logo-fr-large.png +0 -0
  88. data/dist/logos/logo-fr-small.png +0 -0
  89. data/dist/logos/logo-fr.png +0 -0
  90. data/dist/logos/logo-gu-large.png +0 -0
  91. data/dist/logos/logo-gu-small.png +0 -0
  92. data/dist/logos/logo-gu.png +0 -0
  93. data/dist/logos/logo-he-large.png +0 -0
  94. data/dist/logos/logo-he-small.png +0 -0
  95. data/dist/logos/logo-he.png +0 -0
  96. data/dist/logos/logo-hi-large.png +0 -0
  97. data/dist/logos/logo-hi-small.png +0 -0
  98. data/dist/logos/logo-hi.png +0 -0
  99. data/dist/logos/logo-hu-large.png +0 -0
  100. data/dist/logos/logo-hu-small.png +0 -0
  101. data/dist/logos/logo-hu.png +0 -0
  102. data/dist/logos/logo-id-large.png +0 -0
  103. data/dist/logos/logo-id-small.png +0 -0
  104. data/dist/logos/logo-id.png +0 -0
  105. data/dist/logos/logo-it-large.png +0 -0
  106. data/dist/logos/logo-it-small.png +0 -0
  107. data/dist/logos/logo-it.png +0 -0
  108. data/dist/logos/logo-ja-large.png +0 -0
  109. data/dist/logos/logo-ja-small.png +0 -0
  110. data/dist/logos/logo-ja.png +0 -0
  111. data/dist/logos/logo-km-large.png +0 -0
  112. data/dist/logos/logo-km-small.png +0 -0
  113. data/dist/logos/logo-km.png +0 -0
  114. data/dist/logos/logo-ko-large.png +0 -0
  115. data/dist/logos/logo-ko-small.png +0 -0
  116. data/dist/logos/logo-ko.png +0 -0
  117. data/dist/logos/logo-lt-large.png +0 -0
  118. data/dist/logos/logo-lt-small.png +0 -0
  119. data/dist/logos/logo-lt.png +0 -0
  120. data/dist/logos/logo-lv-large.png +0 -0
  121. data/dist/logos/logo-lv-small.png +0 -0
  122. data/dist/logos/logo-lv.png +0 -0
  123. data/dist/logos/logo-mk-large.png +0 -0
  124. data/dist/logos/logo-mk-small.png +0 -0
  125. data/dist/logos/logo-mk.png +0 -0
  126. data/dist/logos/logo-mr-large.png +0 -0
  127. data/dist/logos/logo-mr-small.png +0 -0
  128. data/dist/logos/logo-mr.png +0 -0
  129. data/dist/logos/logo-nl-large.png +0 -0
  130. data/dist/logos/logo-nl-small.png +0 -0
  131. data/dist/logos/logo-nl.png +0 -0
  132. data/dist/logos/logo-or-large.png +0 -0
  133. data/dist/logos/logo-or-small.png +0 -0
  134. data/dist/logos/logo-or.png +0 -0
  135. data/dist/logos/logo-pl-large.png +0 -0
  136. data/dist/logos/logo-pl-small.png +0 -0
  137. data/dist/logos/logo-pl.png +0 -0
  138. data/dist/logos/logo-pt-large.png +0 -0
  139. data/dist/logos/logo-pt-small.png +0 -0
  140. data/dist/logos/logo-pt.png +0 -0
  141. data/dist/logos/logo-ro-large.png +0 -0
  142. data/dist/logos/logo-ro-small.png +0 -0
  143. data/dist/logos/logo-ro.png +0 -0
  144. data/dist/logos/logo-ru-large.png +0 -0
  145. data/dist/logos/logo-ru-small.png +0 -0
  146. data/dist/logos/logo-ru.png +0 -0
  147. data/dist/logos/logo-si-large.png +0 -0
  148. data/dist/logos/logo-si-small.png +0 -0
  149. data/dist/logos/logo-si.png +0 -0
  150. data/dist/logos/logo-sl-large.png +0 -0
  151. data/dist/logos/logo-sl-small.png +0 -0
  152. data/dist/logos/logo-sl.png +0 -0
  153. data/dist/logos/logo-sr-large.png +0 -0
  154. data/dist/logos/logo-sr-small.png +0 -0
  155. data/dist/logos/logo-sr.png +0 -0
  156. data/dist/logos/logo-sv-large.png +0 -0
  157. data/dist/logos/logo-sv-small.png +0 -0
  158. data/dist/logos/logo-sv.png +0 -0
  159. data/dist/logos/logo-ta-large.png +0 -0
  160. data/dist/logos/logo-ta-small.png +0 -0
  161. data/dist/logos/logo-ta.png +0 -0
  162. data/dist/logos/logo-te-large.png +0 -0
  163. data/dist/logos/logo-te-small.png +0 -0
  164. data/dist/logos/logo-te.png +0 -0
  165. data/dist/logos/logo-th-large.png +0 -0
  166. data/dist/logos/logo-th-small.png +0 -0
  167. data/dist/logos/logo-th.png +0 -0
  168. data/dist/logos/logo-tr-large.png +0 -0
  169. data/dist/logos/logo-tr-small.png +0 -0
  170. data/dist/logos/logo-tr.png +0 -0
  171. data/dist/logos/logo-vi-large.png +0 -0
  172. data/dist/logos/logo-vi-small.png +0 -0
  173. data/dist/logos/logo-vi.png +0 -0
  174. data/dist/logos/logo-zh-HANS-large.png +0 -0
  175. data/dist/logos/logo-zh-HANS-small.png +0 -0
  176. data/dist/logos/logo-zh-HANS.png +0 -0
  177. data/dist/logos/logo-zh-HANT-HK-large.png +0 -0
  178. data/dist/logos/logo-zh-HANT-HK-small.png +0 -0
  179. data/dist/logos/logo-zh-HANT-HK.png +0 -0
  180. data/dist/logos/logo-zh-HANT-large.png +0 -0
  181. data/dist/logos/logo-zh-HANT-small.png +0 -0
  182. data/dist/logos/logo-zh-HANT.png +0 -0
  183. data/dist/logos-inline-svg.json +1 -0
  184. data/dist/logos.zip +0 -0
  185. data/dist/resolutions/logo-en.svg +1 -0
  186. data/dist/resolutions/logo-en@128px.png +0 -0
  187. data/dist/resolutions/logo-en@640px.png +0 -0
  188. data/dist/resolutions/logo-en@64px.png +0 -0
  189. data/index.html +222 -0
  190. data/lib/vipassana/logo_helper.rb +9 -0
  191. data/lib/vipassana/logos_inline_svg.rb +6 -0
  192. data/lib/vipassana/translations_generator.rb +258 -0
  193. data/lib/vipassana-design-standards.rb +3 -0
  194. data/resolution.html +22 -0
  195. data/vipassana-design-standards.gemspec +15 -0
  196. metadata +237 -0
@@ -0,0 +1,395 @@
1
+ // i18n JSON
2
+ import i18nJson from './i18n.js?ver=0.10'
3
+
4
+ // Dependencies
5
+ import { Canvg } from 'https://cdn.skypack.dev/canvg@^4.0.0';
6
+ import fileSaver from 'https://cdn.jsdelivr.net/npm/file-saver@2.0.5/+esm'
7
+ import jszip from 'https://cdn.jsdelivr.net/npm/jszip@3.10.1/+esm'
8
+
9
+ // Graphicals element as JS
10
+ import wheel from '../images/wheels/wheel-2023.svg.js'
11
+ import wheelDuotone from '../images/wheels/wheel-2023-duotone.svg.js'
12
+ import footlight from '../fonts/FootlightMTProLight.base64.js'
13
+ import lato from '../fonts/Lato-Light.base64.js'
14
+
15
+ export default {
16
+ data() {
17
+ return {
18
+ ready: false,
19
+ locale: 'en',
20
+ width: 1200,
21
+ height: 100,
22
+ scale100: 100,
23
+ wheel: 'wheel1',
24
+ disposition: 'left-one-line',
25
+ displayTagline: true,
26
+ night: false,
27
+ embedSVG: false,
28
+ generating: false,
29
+ customImageName: null,
30
+ customSizeName: null,
31
+ colorPalette: [
32
+ { color: "#9C6B14", text: "Header text", name: "Dark Gold" },
33
+ { color: "#B78730", text: "Buttons and graphical elements", name: "Light Gold" },
34
+ { color: "#1E3461", text: "Header text, buttons and graphical elements", name: "Blue" },
35
+ { color: "#4F4D47", text: "Paragraph Text", name: "Grey" },
36
+ ]
37
+ }
38
+ },
39
+ computed: {
40
+ fullTitle() {
41
+ return this.t('vipassana_as_taught') || `${this.t('vipassana_meditation')} ${this.t('as_taught')}`
42
+ },
43
+ i18n() {
44
+ return i18nJson
45
+ },
46
+ isRtl() {
47
+ return this.i18n[this.locale].rtl
48
+ },
49
+ fontPath() {
50
+ return 'assets/fonts/'
51
+ },
52
+ titleFontUrl() {
53
+ return this.embedSVG ? footlight : `${this.fontPath}FootlightMTProLight.woff`
54
+ },
55
+ taglineFontUrl() {
56
+ return this.embedSVG ? lato : `${this.fontPath}Lato-Light.woff`
57
+ },
58
+ wheels() {
59
+ return {
60
+ wheel1: wheel,
61
+ wheel2: wheelDuotone,
62
+ }
63
+ },
64
+ wheelSVGCode() {
65
+ return this.wheels[this.wheel]
66
+ },
67
+ wheelPath() {
68
+ const paths = {
69
+ wheel1: 'https://design-standards.dhamma.org/dist/Dhamma-Wheel.svg',
70
+ wheel2: 'https://design-standards.dhamma.org/assets/images/wheels/wheel-2023-duotone.svg',
71
+ }
72
+ return paths[this.wheel]
73
+ },
74
+ scale() {
75
+ return this.scale100 / 100
76
+ },
77
+ dispositions() {
78
+ return ['left-one-line', 'left-two-lines', 'centered']
79
+ },
80
+ titleFontSize() {
81
+ switch (this.locale) {
82
+ case "si": return 27;
83
+ default: return 32
84
+ }
85
+ },
86
+ taglineFontSize() {
87
+ switch (this.locale) {
88
+ case "si": return 16;
89
+ default: return 18
90
+ }
91
+ },
92
+ titleFontFamily() {
93
+ return this.getTitleFontFamily(this.locale)
94
+ },
95
+ taglineFontFamily() {
96
+ return this.getTaglineFontFamily(this.locale)
97
+ },
98
+ positions() {
99
+ if (this.i18n[this.locale].reverse) {
100
+ return {
101
+ 'left-one-line': {
102
+ firstTitleTop: 60,
103
+ vTitleWithdraw: 6
104
+ },
105
+ 'left-one-line_tagline': {
106
+ taglineTop: 38,
107
+ firstTitleTop: 73
108
+ },
109
+ 'left-two-lines': {
110
+ secondTitleTop: 40,
111
+ firstTitleTop: 78
112
+ },
113
+ 'left-two-lines_tagline': {
114
+ taglineTop: 19,
115
+ secondTitleTop: 56,
116
+ firstTitleTop: 92
117
+ },
118
+ 'centered': {
119
+ secondTitleTop: 132,
120
+ firstTitleTop: 167,
121
+ },
122
+ 'centered_tagline': {
123
+ taglineTop: 124,
124
+ secondTitleTop: 159,
125
+ firstTitleTop: 193,
126
+
127
+ },
128
+ }
129
+ }
130
+ return {
131
+ 'left-one-line': {
132
+ firstTitleTop: 60,
133
+ vTitleWithdraw: 6
134
+ },
135
+ 'left-one-line_tagline': {
136
+ firstTitleTop: 48,
137
+ taglineTop: 78,
138
+ vTitleWithdraw: 6
139
+ },
140
+ 'left-two-lines': {
141
+ firstTitleTop: 43,
142
+ secondTitleTop: 81,
143
+ vTitleWithdraw: 3
144
+ },
145
+ 'left-two-lines_tagline': {
146
+ firstTitleTop: 32,
147
+ secondTitleTop: 65,
148
+ taglineTop: 92,
149
+ vTitleWithdraw: 3
150
+ },
151
+ 'centered': {
152
+ firstTitleTop: 132,
153
+ secondTitleTop: 167,
154
+ },
155
+ 'centered_tagline': {
156
+ firstTitleTop: 132,
157
+ secondTitleTop: 167,
158
+ taglineTop: 195,
159
+ },
160
+ }
161
+ },
162
+ pos() {
163
+ return this.positions[this.disposition + (this.displayTagline ? '_tagline' : '')]
164
+ },
165
+ wheelTranslate() {
166
+ const wheelWidth = 70
167
+ if (this.disposition == 'centered') return (this.width / 2) - (wheelWidth / 2)
168
+ else return this.isRtl ? this.width - 70 : 0
169
+ },
170
+ textTranslate() {
171
+ return this.isRtl && this.disposition != 'centered' ? this.width : 0
172
+ },
173
+ imageName() {
174
+ if (this.customImageName) return this.customImageName
175
+
176
+ const wheel = this.wheel == 'wheel1' ? '' : `-${this.wheel}`
177
+ return `logo-${this.locale}-${this.disposition}${this.displayTagline ? '' : '-no-tagline'}${wheel}`
178
+ },
179
+ sizeName() {
180
+ if (this.customSizeName !== null) return this.customSizeName
181
+
182
+ return this.scale100 == 100 ? '' : `@${this.scale100}px`
183
+ },
184
+ titleColor() {
185
+ return this.night ? "#fff" : "#9C6B14"
186
+ },
187
+ taglineColor() {
188
+ return this.night ? "#ffffff90" : "#4F4D47"
189
+ },
190
+ logoCode() {
191
+ return `<img height="64" src="https://design-standards.dhamma.org/dist/logos/logo-${this.locale}.png" alt="${this.fullTitle}"/>`
192
+ }
193
+ },
194
+ mounted() {
195
+ this.ready = true
196
+ this.$watch(
197
+ (vm) => [vm.locale, vm.disposition, vm.displayTagline],
198
+ () => { if (!this.generating) this.updateImageSize() },
199
+ { immediate: true, deep: true, }
200
+ )
201
+ },
202
+ methods: {
203
+ t(key) {
204
+ return this.i18n[this.locale][key]
205
+ },
206
+ copyCode() {
207
+ navigator.clipboard.writeText(this.logoCode);
208
+ },
209
+ inlineSvg() {
210
+ return document.querySelector('#logo-svg').outerHTML
211
+ },
212
+ textLeft(text) {
213
+ if (this.disposition == 'centered') return this.width / 2
214
+
215
+ let result = 86
216
+ // improve alignement when text start with v, like Vipassana
217
+ if (!this.isRtl && text && text.length > 1 && text[0].toLowerCase() == 'v')
218
+ result -= (this.pos.vTitleWithdraw || 0)
219
+ return this.isRtl ? -1 * result : result
220
+ },
221
+ getTitleFontFamily(locale) {
222
+ return this.universalFont(locale) || "FootLight"
223
+ },
224
+ getTaglineFontFamily(locale) {
225
+ switch (locale) {
226
+ case "tr": return 'Noto Sans';
227
+ case "bg": return 'Noto Sans';
228
+ case "el": return 'Noto Sans';
229
+ case "mk": return 'Noto Sans';
230
+ case "mr": return 'Noto Sans';
231
+ case "or": return 'Noto Sans';
232
+ case "ro": return 'Noto Sans';
233
+ case "ru": return 'Noto Sans';
234
+ case "vi": return 'Noto Sans';
235
+ default: return this.universalFont(locale) || "Lato"
236
+ }
237
+ },
238
+ universalFont(locale) {
239
+ switch (locale) {
240
+ case "gu": return 'Noto Sans Gujarati';
241
+ case "ja": return 'Noto Sans JP';
242
+ case "ko": return 'Noto Sans KR';
243
+ case "si": return 'Noto Sans Sinhala';
244
+ case "km": return 'Noto Sans Khmer';
245
+ case "fa": return 'Noto Sans Arabic';
246
+ case "ar": return 'Noto Sans Arabic';
247
+ default: return null
248
+ }
249
+ },
250
+ downloadSVG() {
251
+ const [filename, content] = this.getSVGData()
252
+ fileSaver.saveAs(content, filename);
253
+ },
254
+ getSVGData() {
255
+ const blob = new Blob([this.inlineSvg()], {type: 'image/svg'})
256
+ return [`${this.imageName}.svg`, blob]
257
+ },
258
+ downloadPNG() {
259
+ const [filename, canvas] = this.getPNGData()
260
+ fileSaver.saveAs(canvas.toDataURL(), filename);
261
+ },
262
+ getPNGData() {
263
+ // SVG -> canvas -> PNG
264
+ const canvas = document.querySelector('canvas')
265
+ Canvg.fromString(canvas.getContext('2d'), this.inlineSvg()).render()
266
+ return [`${this.imageName}${this.sizeName}.png`, canvas]
267
+ },
268
+ async updateImageSize() {
269
+ await this.$nextTick()
270
+ // Update the logo size based on the real width of wheel + text
271
+ this.width = document.getElementById("logo").getBBox().width + 3
272
+ this.height = document.getElementById("logo").getBBox().height + 1
273
+ },
274
+ async generateAllInlineSVG() {
275
+ this.generating = true
276
+ this.embedSVG = false
277
+ let svgs = {}
278
+
279
+ for (let locale in this.i18n) {
280
+ this.locale = locale
281
+ svgs[locale] = {}
282
+
283
+ // Left 2 line no tag line for Mobile
284
+ this.disposition = 'left-two-lines'
285
+ this.displayTagline = false
286
+ svgs[locale].mobile = await this.generateSvgCode()
287
+
288
+ // Auto disposition
289
+ this.disposition = 'left-one-line'
290
+ this.displayTagline = true
291
+ await this.updateImageSize()
292
+ if ((this.width / this.height) > 8.5) {
293
+ this.disposition = 'left-two-lines'
294
+ }
295
+ svgs[locale].normal = await this.generateSvgCode()
296
+
297
+ // All dispositions
298
+ for (let disposition of this.dispositions) {
299
+ this.disposition = disposition
300
+ for (let tagline of [true, false]) {
301
+ this.displayTagline = tagline
302
+ const name = `${this.disposition}${this.displayTagline ? '' : '-no-tagline'}`
303
+ svgs[locale][name] = await this.generateSvgCode()
304
+ }
305
+ }
306
+ }
307
+
308
+ // Create ruby file
309
+ const result = `
310
+ # This file has been generated by design-standards.dhamma.org wesbite
311
+ # index.js#generateAllInlineSVG
312
+
313
+ SVGS = ${JSON.stringify(svgs)}
314
+ `
315
+ var blob = new Blob([result], {type: "text/plain;charset=utf-8"})
316
+ fileSaver.saveAs(blob, "logos_inline_svg.rb")
317
+
318
+ var blob = new Blob([JSON.stringify(svgs)], {type: "text/plain;charset=utf-8"})
319
+ fileSaver.saveAs(blob, "logos-inline-svg.json")
320
+
321
+ this.generating = false
322
+ },
323
+ async generateSvgCode() {
324
+ await this.updateImageSize()
325
+ await this.$nextTick()
326
+ let svgNode = document.getElementById("logo-svg").cloneNode(true)
327
+ svgNode.removeAttribute('id')
328
+ svgNode.removeAttribute('width')
329
+ svgNode.removeAttribute('height')
330
+ svgNode.getElementById('logo').removeAttribute('transform')
331
+ let result = svgNode.outerHTML
332
+ return result.replace(/<\!--.*?-->/g, "") // remove comments
333
+ },
334
+ async generateAllLogos() {
335
+ this.generating = true
336
+ const zip = new jszip();
337
+
338
+ for (let locale in this.i18n) {
339
+ this.locale = locale
340
+
341
+ // Left 2 line no tag line for Mobile
342
+ this.disposition = 'left-two-lines'
343
+ this.displayTagline = false
344
+ this.customImageName = `logo-${this.locale}`
345
+ this.customSizeName = '-small'
346
+ await this.generateImages(zip, [80])
347
+
348
+ // Auto disposition
349
+ this.disposition = 'left-one-line'
350
+ this.displayTagline = true
351
+ await this.updateImageSize()
352
+ if ((this.width / this.height) > 8.5) {
353
+ this.disposition = 'left-two-lines'
354
+ }
355
+ this.customImageName = `logo-${this.locale}`
356
+ this.customSizeName = ''
357
+ await this.generateImages(zip, [64])
358
+ this.customSizeName = '-large'
359
+ await this.generateImages(zip, [80])
360
+ }
361
+
362
+ zip.generateAsync({type:"blob"}).then((content) => {
363
+ fileSaver.saveAs(content, "logos.zip");
364
+ this.generating = false
365
+ this.customImageName = null
366
+ this.customSizeName = null
367
+ this.scale100 = 100
368
+ this.locale = "en"
369
+ this.wheel = "wheel1"
370
+ this.disposition = "left-one-line"
371
+ });
372
+ },
373
+ async generateImages(zip, sizes) {
374
+ await this.updateImageSize()
375
+ await this.$nextTick()
376
+ // const [filename, content] = this.getSVGData()
377
+ // zip.file(filename, content);
378
+ for(let scale of sizes) {
379
+ this.scale100 = scale
380
+ await this.$nextTick()
381
+ await this.$nextTick()
382
+ await this.addPNGImage(zip)
383
+ }
384
+ },
385
+ addPNGImage(zip) {
386
+ return new Promise(resolve => {
387
+ const [filename, canvas] = this.getPNGData()
388
+ canvas.toBlob(function(blob) {
389
+ zip.file(filename, blob)
390
+ resolve()
391
+ })
392
+ })
393
+ }
394
+ },
395
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="70" height="100"><path d="M37.93.008c-3.819-.098-8.562.773-12.254 2.25C12.369 7.578 2.548 23.006.447 41.889-2.537 68.701 9.661 92.892 28.914 98.348l1.996.592c1.123.354 2.274.609 3.441.764 14.732 2.071 28.437-11.39 33.719-33.121 2.569-10.567 2.486-23.861-.215-34.279C62.803 12.813 51.25.347 37.93.008zm-.504.676c14.417.124 27.686 15.618 30.99 38.695 4.088 28.558-8.924 56.34-27.881 59.527v-.002c-14.893 2.504-29.223-12.18-33.65-34.482-5.082-25.601 4.04-52.885 20.484-61.273C30.71 1.445 34.099.655 37.426.684zm1.768 4.867c-12.541-.076-23.252 13.537-26.531 33.99-1.198 7.488-.927 18.034.635 24.533l.41 1.857c.883 4.288 3.143 10.091 5.494 14.115 1.808 3.093 3.745 5.639 5.834 7.666 3.403 3.304 7.206 5.218 11.516 5.82v-.004c9.189 1.287 18.854-5.731 24.283-17.629C73.718 47.657 61.982 7.249 40.412 5.602a17.38 17.38 0 0 0-1.219-.051zm-4.803 1.424l1.674.195 3.168 18.072 3.582 17.879-1.16.305zm4.215.293c.143-.01.299-.006.461.014.451.054.815.217.992.406a1.066 1.074 0 0 1 .021.213 1.066 1.074 0 0 1-.541.936 1.066 1.074 0 0 1-.078.041 1.066 1.074 0 0 1-.443.098A1.066 1.074 0 0 1 37.951 7.9a1.066 1.074 0 0 1 .127-.51c.135-.066.317-.109.527-.123zM31 7.947a.993 1 .362 0 1 .029.225.993 1 .362 0 1-.004.086.993 1 .362 0 1-.002.012 1.34 1.34 0 0 1-.045.211.993 1 .362 0 1-.943.686.993 1 .362 0 1-.572-.189c-.042-.045-.096-.083-.145-.129a.993 1 .362 0 1-.023-.025c.638-.443 1.037-.636 1.705-.875zm1.35.295c.369-.02.618.031.654.186l2.697 13.477L38.32 35.17 28.094 9.928c-.032-.202.309-.457.82-.709a1.539 1.55.362 0 0 1.117.498 1.539 1.55.362 0 0 1.533-1.363 5.88 5.88 0 0 1 .785-.111zm4.484.08c.131.014.413.083.625.127a1.653 1.664 0 0 0 1.559 1.117 1.653 1.664 0 0 0 1.096-.422c.516.165.941.317.988.395l.236 12.619h.004l.152 12.523-2.482-13.137-2.416-13.211c.022-.023.107-.025.238-.012zm5.93.025a2.49 2.49 0 0 1 1.262.473l.035 8.799.068 16.756.008 8.662c-.331-.019-.53-.016-1.004.049l-.004-3.631-.105-16.926-.26-14.182zm3.594 1.766c.542-.041 1.245.213 1.609.963a1.204 1.213 0 0 1-1.014 1.195c-.054.003-.113.015-.164.016a1.204 1.213 0 0 1-.023 0 1.204 1.213 0 0 1-.01 0 1.19 1.19 0 0 1-.439-.088h-.002a1.204 1.213 0 0 1-.035-.018c-.132-.06-.254-.139-.355-.24a1.204 1.213 0 0 1-.014-.016 1.22 1.22 0 0 1-.25-.375c-.062-.15-.096-.308-.096-.475 0-.113.023-.226.045-.338a1.204 1.213 0 0 1 .276-.488 1.204 1.213 0 0 1 .004-.004c.126-.072.288-.119.469-.133zm-18.783.111c.075-.027.105.025.16.131L34.6 27.072l6.758 16.502-.396.398c-.218.22-.423.355-.455.301l-6.947-16.691-6.891-16.596.477-.422c.233-.207.354-.313.43-.34zm16.955.99l.426.291c.193.831.929 1.451 1.813 1.451.032 0 .062-.008.094-.01l.994.807v-.006l.385.336-1.787 9.736-1.789 9.734-.066-3.412-.068-11.172zm5.654 1.365c.299.106.747.485.941.713l-2.902 15.102-2.576 14.59-.889-.018 2.676-14.811zm-25.002.016l5.371 12.625 5.27 12.559-7.289-10.166-7.27-10.187.527-.768c.137-.199.291-.398.436-.6a1.422 1.432 84.379 0 0 .43.021 1.422 1.432 84.379 0 0 1.287-1.555 1.422 1.432 84.379 0 0-.154-.514c.725-.882 1.309-1.503 1.393-1.416zm27.73 3.061a1.204 1.213 0 0 1 .053 0 1.204 1.213 0 0 1 .09.004 1.204 1.213 0 0 1 .002 0 1.204 1.213 0 0 1 .01.002 1.204 1.213 0 0 1 .262.053 1.204 1.213 0 0 1 .084.029 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .082.037 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .156.092 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .205.184 1.204 1.213 0 0 1 0 .002 1.204 1.213 0 0 1 .232.396 1.204 1.213 0 0 1 .07.408 1.204 1.213 0 0 1-.168.619 1.204 1.213 0 0 1-.082.119 1.204 1.213 0 0 1-.023.031 1.204 1.213 0 0 1 0 .002 1.204 1.213 0 0 1-.029.031 1.204 1.213 0 0 1-.033.037 1.204 1.213 0 0 1-.098.092 1.204 1.213 0 0 1-.275.174 1.204 1.213 0 0 1-.492.105 1.204 1.213 0 0 1-.531-.123 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.156-.092 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.072-.055 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.068-.062 1.204 1.213 0 0 1-.062-.064 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.057-.068 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.051-.074 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.045-.078 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.039-.08 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.033-.084 1.204 1.213 0 0 1-.072-.414 1.204 1.213 0 0 1 .123-.537 1.204 1.213 0 0 1 .094-.16 1.204 1.213 0 0 1 .117-.143 1.204 1.213 0 0 1 .318-.238 1.204 1.213 0 0 1 .139-.062 1.204 1.213 0 0 1 .002-.002 1.204 1.213 0 0 1 .059-.018 1.204 1.213 0 0 1 .131-.033 1.204 1.213 0 0 1 .17-.02zm-2.07 1.365c.06.021.165.116.301.262a1.867 1.88 0 0 0 .979 1.264c.282.382.53.708.887 1.227l.531.771-2.922 7.311v-.004l-3.092 7.512c-.005-.136 3.194-18.129 3.256-18.318.009-.027.028-.035.061-.023zm-29.803 1.045L40.07 44.813c.038.065-.056.37-.207.676l-.277.559-9.674-13.264-9.74-13.373c-.116-.192.724-1.498.867-1.344zm34.779.936c.172.274.43.797.578 1.098l-9.184 23.178-.51-.123-.459-.078zm-36.637 2.215l7.725 10.408h-.004l7.617 10.307c-.175-.057-17.982-14.576-18.004-14.682-.028-.139.286-.963.676-1.908a1.422 1.432 67.227 0 0 .531-.113 1.422 1.432 67.227 0 0 .771-1.865 1.422 1.432 67.227 0 0-.256-.4c.463-.99.878-1.817.943-1.746zm38.154 1.561a1.204 1.213 0 0 1 .051 0 1.204 1.213 0 0 1 .09.004 1.204 1.213 0 0 1 .002 0 1.204 1.213 0 0 1 .01.002 1.204 1.213 0 0 1 .262.053 1.204 1.213 0 0 1 .084.029 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .082.037 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .156.092 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .205.184 1.204 1.213 0 0 1 0 .002 1.204 1.213 0 0 1 .232.396 1.204 1.213 0 0 1 .07.408 1.204 1.213 0 0 1-.031.277 1.204 1.213 0 0 1-.014.053 1.204 1.213 0 0 1-.01.033 1.204 1.213 0 0 1 0 .002 1.204 1.213 0 0 1-.029.086 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.037.082 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.041.08 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.049.076 1.204 1.213 0 0 1-.02.025 1.204 1.213 0 0 1-.035.047 1.204 1.213 0 0 1-.002.004 1.204 1.213 0 0 1-.061.066 1.204 1.213 0 0 1-.211.178 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.078.045 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.08.039 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.084.033 1.204 1.213 0 0 1-.408.072 1.204 1.213 0 0 1-.531-.123 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.078-.043 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.031-.02 1.204 1.213 0 0 1-.045-.029 1.204 1.213 0 0 1-.072-.055 1.204 1.213 0 0 1-.07-.064 1.204 1.213 0 0 1-.062-.064 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.057-.068 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.051-.074 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.045-.078 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.039-.08 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.033-.084 1.204 1.213 0 0 1-.072-.414 1.204 1.213 0 0 1 .086-.453 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .131-.242 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .057-.07 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .061-.068 1.204 1.213 0 0 1 .213-.178 1.204 1.213 0 0 1 .133-.076 1.204 1.213 0 0 1 .113-.049 1.204 1.213 0 0 1 .178-.049 1.204 1.213 0 0 1 .184-.021zm-1.988 1.002l.178.355a1.867 1.88 0 0 0 .607 1.248l.713 1.545.354.857-3.807 5.496-3.855 5.545 2.918-7.609zm4.58 2.533l.352 1.084-5.799 8.387-5.717 8.623-.371-.379-.373-.379 5.904-8.646 6.004-8.689zm-43.584 1.586l22.881 18.508c.116.106.107.241-.047.84h-.002c-.1.39-.205.711-.234.711-.164-.008-23.235-18.243-23.24-18.367-.011-.336.527-1.759.643-1.691zm43.971 2.535a1.204 1.213 0 0 1 .053 0 1.204 1.213 0 0 1 .363.057 1.204 1.213 0 0 1 .168.068 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .666 1.086 1.204 1.213 0 0 1-.049.34 1.204 1.213 0 0 1-.006.023 1.204 1.213 0 0 1 0 .002 1.204 1.213 0 0 1-.029.086 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.037.082 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.041.08 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.049.076 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.053.07 1.204 1.213 0 0 1-.008.01 1.204 1.213 0 0 1-.055.061 1.204 1.213 0 0 1-.137.123 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.02.014 1.204 1.213 0 0 1-.102.068 1.204 1.213 0 0 1-.031.018 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.08.039 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.084.033 1.204 1.213 0 0 1-.408.072 1.204 1.213 0 0 1-.363-.057 1.204 1.213 0 0 1-.084-.029 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.082-.035 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.08-.043 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.074-.049 1.204 1.213 0 0 1-.002 0 1.204 1.213 0 0 1-.055-.041 1.204 1.213 0 0 1-.02-.016 1.204 1.213 0 0 1-.066-.061 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.062-.064 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.109-.145 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.045-.078 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.146-.58 1.204 1.213 0 0 1 .217-.697 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .117-.143 1.204 1.213 0 0 1 .137-.123 1.204 1.213 0 0 1 .154-.102 1.204 1.213 0 0 1 .168-.076 1.204 1.213 0 0 1 .268-.064 1.204 1.213 0 0 1 .092-.006zm-1.947.469l.148.512a1.867 1.88 0 0 0-.016.232 1.867 1.88 0 0 0 .422 1.189c.48 1.671.662 2.402.605 2.496l-4.508 3.762-4.598 3.789c-.078.06.78-1.268 1.908-2.951l4.041-6.047zm-43.172.459l19.303 14.703v.004l-10.492-3.664c-9.658-3.464-10.398-3.746-10.398-3.957-.002-.222.162-1.079.365-2.068a1.422 1.432 62.155 0 0 .475-.152 1.422 1.432 62.155 0 0 .604-1.926 1.422 1.432 62.155 0 0-.5-.537c.29-1.237.564-2.321.645-2.402zm47.33 3.014l.227.947-6.189 5.383-6.645 5.723c-.097.038-.517-1.007-.434-1.08l13.041-10.973zm-.334 3.801a1.204 1.213 0 0 1 .053 0 1.204 1.213 0 0 1 .361.057 1.204 1.213 0 0 1 .471.283 1.204 1.213 0 0 1 .176.215 1.204 1.213 0 0 1 .045.074 1.204 1.213 0 0 1 .002.006 1.204 1.213 0 0 1 .123.348 1.204 1.213 0 0 1 .021.23 1.204 1.213 0 0 1-.057.365 1.204 1.213 0 0 1-.066.17 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.041.08 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.166.219 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.064.063 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.068.057 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.012.008 1.204 1.213 0 0 1-.123.08 1.204 1.213 0 0 1-.018.012 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.08.039 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.084.033 1.204 1.213 0 0 1-.254.063 1.204 1.213 0 0 1-.021.002 1.204 1.213 0 0 1-.135.008 1.204 1.213 0 0 1-.184-.014 1.204 1.213 0 0 1-.088-.018 1.204 1.213 0 0 1-.002 0 1.204 1.213 0 0 1-.033-.01 1.204 1.213 0 0 1-.057-.016 1.204 1.213 0 0 1-.082-.029 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.158-.078 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.035-.023 1.204 1.213 0 0 1-.041-.027 1.204 1.213 0 0 1-.07-.055 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.064-.059 1.204 1.213 0 0 1-.064-.066 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.15-.215 1.204 1.213 0 0 1-.008-.012 1.204 1.213 0 0 1-.039-.08 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.031-.084 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.027-.086 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.041-.32 1.204 1.213 0 0 1 .055-.365 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .068-.17 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .094-.158 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .576-.443 1.204 1.213 0 0 1 .268-.064 1.204 1.213 0 0 1 .092-.006zm-1.998.121c.019.02.111.594.184 1.012a1.867 1.88 0 0 0 0 .08 1.867 1.88 0 0 0 .137.707c.129.823.259 1.716.293 2.088l.027.299-5.035 1.984-5.086 1.986 4.93-4.355c2.464-2.133 4.513-3.844 4.551-3.801zm-46.646 1.061l25.229 9.109h.002c.046.041.046.412 0 .826l-.084.754-12.705-4.301-12.756-4.352c-.1-.1.207-2.075.314-2.037zm50.473 2.775l.098.924-6.125 2.564v.002l-6.732 2.832c0-.081-.644-.736-.76-.779zm-50.885.244l11.43 3.693 11.379 3.746-3.164.063-11.617.135-8.455.076v-1.32c0-.36.018-.841.033-1.307a1.422 1.432 53.005 0 0 .404-.215 1.422 1.432 53.005 0 0 .289-1.996 1.422 1.432 53.005 0 0-.561-.443c.088-1.295.19-2.36.262-2.432zm33.344 1.244c1.214-.058 2.436 1.044 3.201 3.23.288.821.317.802-1.369.805-1.247 0-1.383.019-1.695.23-1.357.919-1.512 4.522-.252 5.848l.426.447h1.555 1.553l-.102.377c-.344 1.286-1.422 2.893-2.225 3.314-3.635 1.906-6.275-6.645-3.695-11.973.719-1.486 1.659-2.234 2.604-2.279zm14.559 1.24l.064.67c.006.063.015.273.021.367a1.867 1.88 0 0 0-.115.65 1.867 1.88 0 0 0 .199.844l.016.275.057 1.465-2.217.066-4.824.129-2.607.064-.068-.221c-.092-.295-.558-.071 4.748-2.312zm1.787.475a1.204 1.213 0 0 1 .051 0 1.204 1.213 0 0 1 .09.004 1.204 1.213 0 0 1 .004 0 1.204 1.213 0 0 1 .018.002 1.204 1.213 0 0 1 .164.027 1.204 1.213 0 0 1 .088.025 1.204 1.213 0 0 1 .084.029 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .164.08 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .219.17 1.204 1.213 0 0 1 .367.871 1.204 1.213 0 0 1-.057.365 1.204 1.213 0 0 1-.066.17 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.092.158 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.053.07 1.204 1.213 0 0 1-.004.004 1.204 1.213 0 0 1-.059.066 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.064.063 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.068.057 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.072.053 1.204 1.213 0 0 1-.027.016 1.204 1.213 0 0 1-.053.031 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.08.039 1.204 1.213 0 0 1-.004.002 1.204 1.213 0 0 1-.082.033 1.204 1.213 0 0 1-.41.072 1.204 1.213 0 0 1-.359-.055 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.084-.029 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.16-.078 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.012-.008 1.204 1.213 0 0 1-.135-.096 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.066-.059 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.061-.064 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.055-.066 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.029-.043 1.204 1.213 0 0 1-.023-.033 1.204 1.213 0 0 1-.045-.076 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.039-.078 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.031-.082 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.027-.086 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.02-.086 1.204 1.213 0 0 1-.021-.234 1.204 1.213 0 0 1 .002-.092 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .053-.271 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .031-.086 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .037-.082 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .043-.08 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .051-.076 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .023-.031 1.204 1.213 0 0 1 .064-.078 1.204 1.213 0 0 1 .029-.031 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .064-.062 1.204 1.213 0 0 1 .002-.002 1.204 1.213 0 0 1 .145-.111 1.204 1.213 0 0 1 .08-.049 1.204 1.213 0 0 1 .082-.041 1.204 1.213 0 0 1 .264-.084 1.204 1.213 0 0 1 .182-.021zM50.01 48.061c1.538 0 2.032 4.087.643 5.314v-.004c-1.729 1.526-2.961-3.273-1.277-4.967.234-.236.435-.344.635-.344zm14.398 1.672l.016 1.006-5.434.178-6.402.299-.766.051-.031-.646-.033-.648.352-.002 6.182-.15c2.036-.051 3.618-.105 6.117-.086zm-25.717.723l.027.711.025.711h-.525l-11.547.498-12.494.566-1.471.068v-.957-.957l13.016-.32 11.072-.258zm22.525.793l-.062 1.539a1.867 1.88 0 0 0-.201.852 1.867 1.88 0 0 0 .111.635l-.061.932-.066.365-4.539-1.596-4.648-1.639c-.062-.022-.091-.172-.066-.332l.043-.293 4.107-.172 4.744-.232zm-22.525.945c.051.051.266 1.405.229 1.443l-12.348 5.219-12.428 5.232c-.129.052-.49-1.866-.371-1.975l24.918-9.92zm24.078.232a1.204 1.213 0 0 1 .053 0 1.204 1.213 0 0 1 .088.004 1.204 1.213 0 0 1 .004 0 1.204 1.213 0 0 1 .02.002 1.204 1.213 0 0 1 .162.027 1.204 1.213 0 0 1 .088.025 1.204 1.213 0 0 1 .084.029 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .385.252 1.204 1.213 0 0 1 .346.642 1.204 1.213 0 0 1 .021.229 1.204 1.213 0 0 1-.273.77 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.061.068 1.204 1.213 0 0 1-.098.092 1.204 1.213 0 0 1-.113.084 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.16.088 1.204 1.213 0 0 1-.494.105 1.204 1.213 0 0 1-.615-.17 1.204 1.213 0 0 1-.146-.104 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.064-.057 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.062-.066 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.055-.066 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.049-.072 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.037-.062 1.204 1.213 0 0 1-.01-.018 1.204 1.213 0 0 1-.039-.078 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.031-.082 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.027-.086 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.02-.086 1.204 1.213 0 0 1-.021-.234 1.204 1.213 0 0 1 .123-.537 1.204 1.213 0 0 1 .148-.232 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .063-.068 1.204 1.213 0 0 1 .318-.238 1.204 1.213 0 0 1 .227-.092 1.204 1.213 0 0 1 .09-.021 1.204 1.213 0 0 1 .184-.021zm-27.846.201L24.4 56.771v.002l-10.707 4.189c-.183.066-.214-.115-.49-2.348a1.422 1.432 40.624 0 0 .465-.357 1.422 1.432 40.624 0 0-.145-2.014 1.422 1.432 40.624 0 0-.611-.305c-.112-1.17-.197-2.188-.168-2.219l22.18-1.094zm16.5.363c.027-.073 10.129 3.404 12.438 4.299l-.15.934-12.834-4.168c-.145-.057-.122-.123.174-.514.186-.247.354-.494.373-.551zm-12.428 1.176c.081.008.483 1.223.424 1.271l-7.961 6.883-.002-.002-14.303 12.256c-.124-.279-.24-.561-.346-.848l-.291-.762 11.199-9.402zm11.645.559c.035-.035 9.951 3.247 10.01 3.307.043.043-.089.965-.258 1.988a1.867 1.88 0 0 0-.271.977 1.867 1.88 0 0 0 .037.367c-.056.303-.117.606-.193.904-.038.033-9.359-7.508-9.324-7.543zm-.604.525l12.436 9.85-.244.926-5.98-4.531-6.711-5.299.5-.941zm-10.35.664l.275.508c.151.276.273.544.273.59l-8.887 13.41h.002L22.387 83.83c-.102.111-.919-1.042-.857-1.207l9.104-13.418zm-5.623.377c.181.012-1.293 1.207-9.039 7.598l-8.986 7.387c-.068.042-.395-.977-.746-2.158a1.422 1.432 26.378 0 0 .451-.531 1.422 1.432 26.378 0 0-.637-1.914 1.422 1.432 26.378 0 0-.533-.143c-.208-.817-.369-1.506-.369-1.709 0-.122 2.304-1.136 9.25-4.061l10.049-4.236c.257-.11.5-.236.561-.232zm14.82.895l5.707 7.994 5.355 7.568-.311.848-5.135-7.027-5.924-8.137-.389-.547.348-.35zm-8.26.393c.032-.035.223.076.422.252l.363.32-5.773 14.906-6.758 17.256c-.102-.005-.912-.599-.912-.67 0-.098 12.591-31.989 12.658-32.064zm1.371.908c.063-.02.172.005.385.055.396.092.432.127.387.357l-2.969 16.895-2.984 16.818-.963-.012c0-.062 5.958-33.511 6.039-33.904.026-.125.043-.189.105-.209zm5.367.029v.004l8.756 21.564-.475.721-.689-1.695-4.682-11.27-3.812-9.186.434-.086c.24-.049.45-.074.469-.053zm-4.016.088h.422.424l.066 10.557.068 16.258v5.707l-.389.199-.387.197-.061-8.453-.102-16.459zm1.912 0h.434l.154.777 5.033 26.877-.562.576c-.102.105-5.492-28.068-5.492-28.174 0-.03.194-.057.434-.057zm5.561.059l4.305 3.297 4.164 3.254c0 .071-.264.947-.457 1.615a1.867 1.88 0 0 0-.654 1.432 1.867 1.88 0 0 0 .068.498c-.033.094-.059.191-.094.285l-3.746-5.244-3.586-5.137zm11.117 1.121a1.204 1.213 0 0 1 .053 0 1.204 1.213 0 0 1 .088.004 1.204 1.213 0 0 1 .004 0 1.204 1.213 0 0 1 .02.002 1.204 1.213 0 0 1 .162.027 1.204 1.213 0 0 1 .088.025 1.204 1.213 0 0 1 .084.029 1.204 1.213 0 0 1 .004.002 1.204 1.213 0 0 1 .383.252 1.204 1.213 0 0 1 .346.643 1.204 1.213 0 0 1 .021.229 1.204 1.213 0 0 1-.273.77 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.061.068 1.204 1.213 0 0 1-.098.092 1.204 1.213 0 0 1-.113.084 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.654.193 1.204 1.213 0 0 1-.615-.17 1.204 1.213 0 0 1-.146-.104 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.064-.057 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.062-.066 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.055-.066 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.049-.072 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.037-.062 1.204 1.213 0 0 1-.01-.018 1.204 1.213 0 0 1-.039-.078 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.031-.082 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.027-.084 1.204 1.213 0 0 1-.002-.006 1.204 1.213 0 0 1-.02-.086 1.204 1.213 0 0 1-.021-.234 1.204 1.213 0 0 1 .123-.537 1.204 1.213 0 0 1 .148-.232 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .063-.068 1.204 1.213 0 0 1 .318-.238 1.204 1.213 0 0 1 .139-.062 1.204 1.213 0 0 1 .178-.051 1.204 1.213 0 0 1 .184-.021zm-27.209.379L20.307 80.957c-.353-.569-.774-1.348-1.191-2.152a1.422 1.432 18.528 0 0 .174-.348 1.422 1.432 18.528 0 0-.893-1.811 1.422 1.432 18.528 0 0-.365-.07c-.344-.763-.598-1.388-.535-1.451l17.232-14.963zm14.877 2.111l3.734 4.996 3.635 4.904-.213.518h-.002c-.097.234-.435.943-.75 1.596a1.867 1.88 0 0 0-.723 1.488l-.141.287-2.125-5.242-2.816-6.943c-.382-.935-.653-1.658-.6-1.604zm-14 2.875l-9.203 23.039-.004.004c-.03.068-.086.123-.129.123s-.49-.442-1.006-.977a1.422 1.432 5.871 0 0 .096-.385 1.422 1.432 5.871 0 0-1.268-1.572 1.422 1.432 5.871 0 0-.199-.006 1.422 1.432 5.871 0 0-.367.064c-.071-.083-.221-.237-.273-.303l-.574-.711 4.654-6.965 6.441-9.66c.986-1.483 1.808-2.677 1.832-2.652zm12.041.621l2.85 6.686 2.826 6.703-.494.738c-.124.185-.354.487-.551.76a1.867 1.88 0 0 0-1.455 1.787c-.005-.012-.016-.013-.016-.037l-1.59-8.352-1.57-8.285zm12.346 1.277a1.204 1.213 0 0 1 .053 0 1.204 1.213 0 0 1 .363.057 1.204 1.213 0 0 1 .084.029 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .082.037 1.204 1.213 0 0 1 .002.002 1.204 1.213 0 0 1 .666 1.086 1.204 1.213 0 0 1-.049.34 1.204 1.213 0 0 1-.006.023 1.204 1.213 0 0 1 0 .002 1.204 1.213 0 0 1-.008.021 1.204 1.213 0 0 1-.061.148 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.146.23 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.061.068 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.064.063 1.204 1.213 0 0 1-.07.059 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.02.014 1.204 1.213 0 0 1-.102.068 1.204 1.213 0 0 1-.031.018 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.08.039 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.084.033 1.204 1.213 0 0 1-.256.063 1.204 1.213 0 0 1-.02.002 1.204 1.213 0 0 1-.133.008 1.204 1.213 0 0 1-.172-.012 1.204 1.213 0 0 1-.01-.002 1.204 1.213 0 0 1-.002 0 1.204 1.213 0 0 1-.088-.018 1.204 1.213 0 0 1-.002 0 1.204 1.213 0 0 1-.023-.006 1.204 1.213 0 0 1-.066-.02 1.204 1.213 0 0 1-.084-.029 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.082-.035 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.08-.043 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.074-.049 1.204 1.213 0 0 1-.002 0 1.204 1.213 0 0 1-.072-.057 1.204 1.213 0 0 1-.002 0 1.204 1.213 0 0 1-.061-.055 1.204 1.213 0 0 1-.008-.008 1.204 1.213 0 0 1-.062-.064 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.156-.225 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.146-.58 1.204 1.213 0 0 1 .123-.539 1.204 1.213 0 0 1 .094-.158 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .117-.143 1.204 1.213 0 0 1 .459-.301 1.204 1.213 0 0 1 .268-.064 1.204 1.213 0 0 1 .092-.006zm-21.678.828l-4.229 23.223c-.038.154-.124.22-.27.209-.267-.021-.421-.043-.617-.064a1.515 1.472 22.866 0 0-.848-.893 1.515 1.472 22.866 0 0-.488-.119 1.515 1.472 22.866 0 0-.207-.002 1.515 1.472 22.866 0 0-1.111.604c-.577-.121-1.08-.239-1.08-.283l8.85-22.674zm6.531.014l1.73 8.631 1.734 8.701c.003.045-.507.491-1.09.98-.599.012-1.185.286-1.562.807-.143.197-.236.415-.297.637l-.146.104-.262.172-.062-.381-.055-10.014zm-3.248.98l.051 10.443.035 10.422-.598.248c-.114.045-.231.079-.346.121a1.753 1.803 86.012 0 0-.838-.141 1.753 1.803 86.012 0 0-1.414.838c-.058.014-.152.044-.199.055l-.604.141 1.371-7.793 1.947-11.07.594-3.264zm15.504 5.693a1.204 1.213 0 0 1 .053 0 1.204 1.213 0 0 1 .363.057 1.204 1.213 0 0 1 .471.283 1.204 1.213 0 0 1 .365.873 1.204 1.213 0 0 1-.055.365 1.204 1.213 0 0 1-.066.17 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.209.301 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.064.063 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.068.057 1.204 1.213 0 0 1-.004.002 1.204 1.213 0 0 1-.15.1 1.204 1.213 0 0 1-.004.002 1.204 1.213 0 0 1-.078.039 1.204 1.213 0 0 1-.004.002 1.204 1.213 0 0 1-.082.033 1.204 1.213 0 0 1-.244.061 1.204 1.213 0 0 1-.039.006 1.204 1.213 0 0 1-.127.006 1.204 1.213 0 0 1-.359-.055 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.084-.029 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.082-.035 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.078-.043 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.074-.049 1.204 1.213 0 0 1-.002 0 1.204 1.213 0 0 1-.137-.115 1.204 1.213 0 0 1-.006-.004 1.204 1.213 0 0 1-.221-.291 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.145-.58 1.204 1.213 0 0 1 .332-.842 1.204 1.213 0 0 1 .137-.123 1.204 1.213 0 0 1 .154-.102 1.204 1.213 0 0 1 .168-.076 1.204 1.213 0 0 1 .268-.064 1.204 1.213 0 0 1 .092-.006zm-4.465 6.719a1.204 1.213 0 0 1 .053 0 1.204 1.213 0 0 1 1.053.629 1.204 1.213 0 0 1 .002.006 1.204 1.213 0 0 1 .145.578 1.204 1.213 0 0 1-.057.365 1.204 1.213 0 0 1-.066.17 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.041.08 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.049.076 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.115.141 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.064.063 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.068.057 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.072.053 1.204 1.213 0 0 1-.027.016 1.204 1.213 0 0 1-.053.031 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.08.039 1.204 1.213 0 0 1-.002.002 1.204 1.213 0 0 1-.084.033 1.204 1.213 0 0 1-.41.072 1.204 1.213 0 0 1-.273-.031 1.204 1.213 0 0 1-.086-.023 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.082-.029 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.158-.078 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.072-.049 1.204 1.213 0 0 1-.004-.002 1.204 1.213 0 0 1-.035-.027 1.204 1.213 0 0 1-.039-.029 1.204 1.213 0 0 1-.064-.059 1.204 1.213 0 0 1-.064-.066 1.204 1.213 0 0 1-.004-.004 1.204 1.213 0 0 1-.107-.143 1.204 1.213 0 0 1-.123-.25 1.204 1.213 0 0 1-.002-.002 1.204 1.213 0 0 1-.027-.086 1.204 1.213 0 0 1-.002-.004 1.204 1.213 0 0 1-.041-.32 1.204 1.213 0 0 1 .055-.365 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .068-.17 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .094-.158 1.204 1.213 0 0 1 0-.002 1.204 1.213 0 0 1 .117-.141 1.204 1.213 0 0 1 .137-.125 1.204 1.213 0 0 1 .154-.102 1.204 1.213 0 0 1 .254-.104 1.204 1.213 0 0 1 .182-.037 1.204 1.213 0 0 1 .092-.006zm-5.197 5.631c.123.017.244.051.359.104.078.035.153.079.225.131.097.07.179.161.262.25a1.287 1.278 35.987 0 1 .248.533 1.287 1.278 35.987 0 1 .002.008c-.067.62-.848 1.481-2.01 1.273a1.287 1.278 35.987 0 1-.396-1.613 1.287 1.278 35.987 0 1 .012-.021c.022-.034.04-.074.063-.105a1.287 1.278 35.987 0 1 .031-.047 1.287 1.278 35.987 0 1 .027-.035 1.28 1.28 0 0 1 .115-.127 1.287 1.278 35.987 0 1 .049-.047 1.287 1.278 35.987 0 1 .002-.002 1.25 1.25 0 0 1 .168-.125c.155-.09.307-.147.465-.172a1.287 1.278 35.987 0 1 .012-.002c.121-.018.245-.019.367-.002zm-7.406 3.67a1.131 1.163 86.012 0 1 .117.006 1.3 1.3 0 0 1 .154.027 1.131 1.163 86.012 0 1 .875 1.016 1.131 1.163 86.012 0 1-.008.227c-.179.213-.564.413-1.051.504-.448.084-.842.047-1.096-.062a1.131 1.163 86.012 0 1-.162-.506 1.131 1.163 86.012 0 1 .686-1.109c.033-.013.065-.029.1-.039.01-.003.019-.009.029-.012a1.131 1.163 86.012 0 1 .268-.049 1.131 1.163 86.012 0 1 .088-.002zm-8.311.172a.977.95 22.866 0 1 .424.078.977.95 22.866 0 1 .428.346c.061.103.116.222.15.346a.977.95 22.866 0 1 .01.053c.018.083.013.169.008.256a.977.95 22.866 0 1-.021.117c-.656-.123-1.264-.351-1.826-.654a.977.95 22.866 0 1 .1-.164c.022-.026.042-.054.066-.078a.977.95 22.866 0 1 .662-.299z" fill="#b78730"/></svg>
Binary file
data/dist/favicon.png ADDED
Binary file