inugami-ng 0.0.19 → 0.0.21

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.
@@ -0,0 +1,530 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, model, output, viewChild, computed, signal, effect, HostListener, Component } from '@angular/core';
3
+ import { GET_COLOR, COMPUTE_PERCENT, COLORS_MATLAB, SVG_MATH, SVG_BUILDER, SVG_TRANSFORM } from 'inugami-ng/services';
4
+
5
+ const SVG_SWITZERLAND_COLORED = (selectItem) => {
6
+ return {
7
+ styleclass: `colored-${selectItem.id} ${selectItem.selected ? 'selected' : ''}`
8
+ };
9
+ };
10
+ const SVG_SWITZERLAND_MONOCHROME = (selectItem) => {
11
+ return {
12
+ styleclass: `monochrome ${selectItem.selected ? 'selected' : ''}`
13
+ };
14
+ };
15
+ const SVG_SWITZERLAND_LEVEL_MONOCHROME_GENERATOR = (selectItem, colorIndex, min, max) => {
16
+ let value = selectItem.value ? Number(selectItem.value) : 0;
17
+ if (value < min) {
18
+ value = min;
19
+ }
20
+ if (value > max) {
21
+ value = max;
22
+ }
23
+ const range = max - min;
24
+ const percentage = range <= 0 ? 0 : ((value - min) / range) * 100;
25
+ const saturation = Math.round(percentage);
26
+ const lightness = 70 - (percentage * 0.3);
27
+ const style = `fill:hsl(${colorIndex} ${saturation}% ${lightness}% / 1);`;
28
+ return {
29
+ styleclass: `monochrome-level`,
30
+ style: style
31
+ };
32
+ };
33
+ const SVG_SWITZERLAND_LEVEL_MONOCHROME_BLUE = (selectItem) => {
34
+ return SVG_SWITZERLAND_LEVEL_MONOCHROME_GENERATOR(selectItem, 200, 0, 10);
35
+ };
36
+ const SVG_SWITZERLAND_LEVEL_MONOCHROME_RED = (selectItem) => {
37
+ return SVG_SWITZERLAND_LEVEL_MONOCHROME_GENERATOR(selectItem, 0, 0, 10);
38
+ };
39
+ const SVG_SWITZERLAND_LEVEL_MONOCHROME_GREEN = (selectItem) => {
40
+ return SVG_SWITZERLAND_LEVEL_MONOCHROME_GENERATOR(selectItem, 100, 0, 10);
41
+ };
42
+ const SVG_SWITZERLAND_LEVEL_COLOR_100 = (selectItem) => {
43
+ return SVG_SWITZERLAND_LEVEL_COLOR_GENERATOR(selectItem, 0, 100);
44
+ };
45
+ const SVG_SWITZERLAND_LEVEL_COLOR_GENERATOR = (selectItem, min, max, colors) => {
46
+ const color = GET_COLOR(COMPUTE_PERCENT(Number(selectItem.value) || 0, min, max), colors ? colors : COLORS_MATLAB);
47
+ return {
48
+ styleclass: `color-level`,
49
+ style: `fill:${color};`
50
+ };
51
+ };
52
+
53
+ class InuSvgSwitzerland {
54
+ //==================================================================================================================
55
+ // ATTRIBUTES
56
+ //==================================================================================================================
57
+ actionHandler = input(undefined, ...(ngDevMode ? [{ debugName: "actionHandler" }] : []));
58
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
59
+ formValue = model([], ...(ngDevMode ? [{ debugName: "formValue" }] : []));
60
+ matcher = input(...(ngDevMode ? [undefined, { debugName: "matcher" }] : []));
61
+ styleGenerator = input(undefined, ...(ngDevMode ? [{ debugName: "styleGenerator" }] : []));
62
+ styleclass = input('', ...(ngDevMode ? [{ debugName: "styleclass" }] : []));
63
+ valid = input(true, ...(ngDevMode ? [{ debugName: "valid" }] : []));
64
+ value = model([], ...(ngDevMode ? [{ debugName: "value" }] : []));
65
+ valueExtractor = input(undefined, ...(ngDevMode ? [{ debugName: "valueExtractor" }] : []));
66
+ //
67
+ selected = output();
68
+ hover = output();
69
+ leave = output();
70
+ changed = output();
71
+ //
72
+ component = viewChild('component', ...(ngDevMode ? [{ debugName: "component" }] : []));
73
+ container = viewChild('container', ...(ngDevMode ? [{ debugName: "container" }] : []));
74
+ onModelChange = () => {
75
+ };
76
+ _styleClass = computed(() => {
77
+ return [
78
+ 'inu-svg',
79
+ 'inu-svg-switzerland',
80
+ this.disabled() ? 'disabled' : '',
81
+ !this.valid() ? 'invalid' : '',
82
+ this.styleclass() ? this.styleclass() : ''
83
+ ].join(' ');
84
+ }, ...(ngDevMode ? [{ debugName: "_styleClass" }] : []));
85
+ //--- SVG components
86
+ _styleGenerator = signal(SVG_SWITZERLAND_COLORED, ...(ngDevMode ? [{ debugName: "_styleGenerator" }] : []));
87
+ height = 200;
88
+ width = 600;
89
+ parent = null;
90
+ locator = null;
91
+ canvas = null;
92
+ graph = null;
93
+ cantons = {};
94
+ //==================================================================================================================
95
+ // INIT
96
+ //==================================================================================================================
97
+ constructor() {
98
+ effect(() => {
99
+ this.initStyleGenerator();
100
+ this.updateValues();
101
+ });
102
+ }
103
+ ngAfterViewInit() {
104
+ const component = this.component();
105
+ const container = this.container();
106
+ if (component && container) {
107
+ this.initStyleGenerator();
108
+ this.resolveParentSize(component, container);
109
+ this.initializeLayout(container);
110
+ this.resize();
111
+ this.initValues(this.value());
112
+ this.updateValues();
113
+ }
114
+ }
115
+ initStyleGenerator() {
116
+ const generator = this.styleGenerator();
117
+ this._styleGenerator.set(generator ? generator : SVG_SWITZERLAND_COLORED);
118
+ }
119
+ onResize() {
120
+ const component = this.component();
121
+ const container = this.container();
122
+ if (component && container) {
123
+ this.resolveParentSize(component, container);
124
+ this.resize();
125
+ }
126
+ }
127
+ //==================================================================================================================
128
+ // RENDERING
129
+ //=================================================================================================================
130
+ resolveParentSize(component, container) {
131
+ if (component?.nativeElement && component?.nativeElement.parentNode && component?.nativeElement.parentNode.parentNode) {
132
+ this.parent = component?.nativeElement.parentNode.parentNode;
133
+ }
134
+ if (this.parent) {
135
+ let parentSize = SVG_MATH.size(this.parent);
136
+ this.height = parentSize.height;
137
+ this.width = parentSize.width;
138
+ }
139
+ container?.nativeElement.setAttribute('style', `display: block; height:${this.height}px;width:${this.width}px`);
140
+ }
141
+ initializeLayout(container) {
142
+ this.locator = SVG_BUILDER.createGroup(container?.nativeElement, { styleClass: 'locator' });
143
+ this.canvas = SVG_BUILDER.createGroup(this.locator, { styleClass: 'canvas' });
144
+ if (this.canvas) {
145
+ this.graph = SVG_BUILDER.createGroup(this.canvas, { styleClass: 'graph' });
146
+ }
147
+ if (this.graph) {
148
+ this.renderLakes(this.graph);
149
+ this.renderCantons(this.graph);
150
+ }
151
+ this.updateValues();
152
+ }
153
+ renderLakes(graph) {
154
+ const lakesGrp = SVG_BUILDER.createGroup(graph, { styleClass: 'lakes' });
155
+ if (!lakesGrp) {
156
+ return;
157
+ }
158
+ SVG_BUILDER.createCurve(lakesGrp, `
159
+ m 723.84341,10.253907 c -5.8575,3.310874 3.23243,5.530154 2.23389,9.09668 4.68492,5.454309 11.52455,8.041803 17.14233,11.795654 7.60154,0.444957 11.73514,8.802384 11.25,15.269166 4.62427,-0.205868 3.72284,0.661426 1.63514,2.946167 6.54972,0.739351 6.6378,13.946134 -0.93933,9.508668 -5.78947,-0.822782 71.16391,76.318908 74.94506,75.880758 l 6.99094,-19.09615 c 0.78358,-4.35972 3.65621,-5.14234 4.72232,-0.66461 6.15001,6.70339 10.09213,-3.54128 15.23255,-4.5575 -1.44704,4.21681 0.63215,7.29682 5.77331,6.28601 4.31085,-0.56664 2.26891,-9.25234 8.69202,-6.82251 4.17116,1.70335 11.82162,-0.23694 6.69251,-5.53344 -4.4706,-0.90009 -5.49524,-10.288912 -11.31592,-4.949344 -4.29704,-4.865034 -11.55713,-5.486285 -16.71936,-9.336548 -2.29036,-3.782189 -4.44572,-7.45792 -9.55262,-4.910889 -6.91707,-0.395867 -8.78029,-7.621461 -11.46423,-12.810059 -1.72608,-9.014576 -11.61727,-6.189597 -17.82166,-9.153443 -5.16623,-8.045616 -13.47086,-1.160507 -20.60486,-2.197266 -6.58811,-2.989966 -12.26001,-7.380885 -18.17504,-11.486206 -5.23031,-2.558841 -9.09675,-7.179067 -8.04566,-12.832032 -5.27416,-3.39247 -10.7824,-7.630163 -16.74133,-10.270386 -5.24409,-0.178483 -5.6751,-5.672424 -10.448,-6.518555 -1.96115,-3.221996 -7.75689,-2.831153 -8.48145,-7.858887 -1.33777,-1.22406 -3.18997,-1.894253 -5.00061,-1.785278 z m -10.88745,23.567505 c -0.005,-6.84e-4 -0.008,9.18e-4 -0.009,0.0037 -0.002,0.0048 0.008,0.02098 0.022,0.04028 0.0349,0.0079 0.0701,0.01286 0.10254,0.02747 0.0257,0.01149 -0.0809,-0.06662 -0.11536,-0.07141 z m 0.0128,0.04395 c -2.41909,-0.03682 -1.94078,2.640791 -0.26917,3.398437 1.02046,1.502852 3.37119,2.311433 3.60535,4.154664 -1.81142,0.439713 -2.06407,-2.578738 -3.73535,-2.995606 -1.78521,-0.703733 -3.56464,-1.407622 -5.21301,-2.404175 -2.14701,-0.876876 -5.1073,-0.913721 -6.80054,0.882569 -1.91186,1.963695 0.60696,3.568604 2.52502,3.652954 2.54089,0.280531 4.21871,2.453591 6.56067,3.26477 2.17773,0.977424 4.35384,2.663334 5.0409,5.037232 -0.0228,2.609666 -2.59159,4.082134 -4.54651,5.304566 -1.84582,0.987964 -4.11144,1.282308 -5.50232,3.008423 -1.71013,1.486543 -3.10118,3.388677 -5.05738,4.562988 -1.67144,0.394362 -4.36204,1.103729 -2.98828,3.394776 -0.0131,1.117602 1.33293,0.481232 2.05628,0.648193 13.79268,0.01518 27.58549,0.03061 41.37817,0.04578 0.37048,-2.225339 0.74097,-4.450685 1.11145,-6.676025 1.17321,-0.971263 -0.64909,-2.538043 -0.7196,-3.757325 -1.7526,-1.093583 -2.42837,-3.908399 -4.77539,-3.810425 -2.28874,-0.345956 -4.34751,1.204944 -6.58631,0.81482 -1.56519,-0.972887 -3.42496,-1.211506 -5.09216,-1.957398 -1.35257,-1.196048 0.38412,-3.48353 -0.53284,-5.024414 1.09953,0.232188 1.98624,1.794309 3.41858,1.906128 1.65411,1.094971 3.35025,2.472036 4.2041,4.132691 1.77325,-0.265577 3.58783,-1.09039 5.54444,-0.529175 1.08418,-1.178377 -1.17318,-2.757636 -1.65711,-3.896485 -1.77219,-0.853515 -4.09112,-0.408137 -5.5133,-2.019653 -1.54173,-1.571032 -3.40909,-2.527747 -5.31922,-3.533936 -1.81781,-1.359475 -4.4274,-1.102579 -5.84839,-3.101807 -1.53216,-1.369214 -3.48926,-2.20086 -4.72778,-3.896484 -0.17969,-0.208675 -0.38222,-0.395996 -0.5603,-0.606079 z M 608.60415,115.35645 376.25612,148.39966 264.85841,217.80946 155.20203,347.34743 421.65346,484.84865 786.59732,406.32204 796.86588,199.5337 Z M 169.70032,416.11086 c -26.88413,17.23692 -53.76834,34.47389 -80.652465,51.71081 l -18.892823,69.79798 c 4.670405,-0.75439 9.340826,-1.50879 14.011231,-2.26318 2.756378,-6.62271 6.08346,-13.10341 8.48877,-19.81385 -0.113114,-6.73044 3.681552,-11.8627 7.049561,-17.25769 4.215276,-7.07438 9.097456,-18.63756 18.720706,-17.39319 4.72885,2.74752 8.51481,14.67771 15.40649,6.56617 4.39692,-5.51575 17.60472,-2.93943 16.92078,-12.88148 4.73543,-6.82421 11.19869,-2.32589 17.06543,-2.21191 7.75762,-1.73657 15.3393,-3.90316 23.34229,-2.45544 7.8446,-1.15119 15.49241,-0.14409 23.23242,1.13342 3.38347,3.3885 8.24316,1.83649 11.18774,5.92895 5.79162,4.78992 11.58327,9.58021 17.37488,14.37012 4.55689,-7.36876 9.11377,-14.73756 13.67066,-22.10632 -4.15963,-5.65853 -7.92888,-11.77802 -12.33033,-17.15149 -24.86511,-11.9912 -49.73023,-23.98171 -74.59534,-35.9729 z m 476.42032,150.69031 c -0.55775,0.83342 -0.27842,1.21916 -0.58778,2.75208 -0.25477,1.41971 -0.73309,2.78299 -1.08948,4.17114 0.0227,0.85888 -0.0671,2.39747 1.19202,1.99585 h 4.26453 c 0.52087,-2.62479 1.8499,-5.09039 3.57605,-7.11914 1.11781,-1.19567 2.95096,-2.9542 4.7223,-2.90772 0.9252,-1.07172 5.59107,-1.76482 5.59107,-1.76482 5.04452,-5.47546 16.12241,-5.20057 23.16505,-6.74909 l -4.40749,-21.04077 -36.5037,0.96317 z m 92.73742,23.18298 c -2.60042,1.16477 -4.63268,3.83822 -7.7655,3.86719 -2.15284,0.34427 -4.34355,0.63028 -6.49658,0.12818 -2.62405,-0.30253 -4.76249,1.31958 -6.92872,2.51037 -1.06248,0.79312 -2.30805,0.78245 -3.55957,0.69397 -10.12097,-0.19248 -20.24158,-0.3843 -30.36255,-0.57678 0.99182,5.20568 1.98365,10.41138 2.97547,15.61707 1.7549,2.14341 0.98704,4.90318 1.4685,7.45239 0.71204,2.40467 -1.14846,5.39707 1.45752,7.03857 2.06291,0.48053 -0.35468,4.09557 2.40418,3.33802 1.31447,-0.8697 2.22836,-2.29736 3.94226,-2.30164 1.14732,-0.0965 2.34398,-0.90377 3.44055,-0.27832 4.40602,1.62772 8.81237,3.2557 13.21839,4.88342 -1.38306,-7.68309 -2.76612,-15.36622 -4.14917,-23.04931 l 8.07495,-7.17042 c 2.78285,-0.41803 3.87076,-3.55332 6.40869,-4.35791 3.45293,-0.46688 6.95114,0.1927 10.39673,-0.21057 2.39235,-0.2579 3.98336,-2.29737 5.71472,-3.75183 1.63556,-1.21417 2.35458,-3.24352 -0.23987,-3.8324 z
160
+ `, { styleClass: 'inu-svg-switzerland-lakes' });
161
+ }
162
+ renderCantons(graph) {
163
+ const group = SVG_BUILDER.createGroup(graph, { styleClass: 'inu-svg-switzerland-cantons' });
164
+ if (group) {
165
+ this.renderCantonAI(group);
166
+ this.renderCantonAG(group);
167
+ this.renderCantonAR(group);
168
+ this.renderCantonBE(group);
169
+ this.renderCantonBL(group);
170
+ this.renderCantonBS(group);
171
+ this.renderCantonFR(group);
172
+ this.renderCantonGE(group);
173
+ this.renderCantonGL(group);
174
+ this.renderCantonGR(group);
175
+ this.renderCantonJU(group);
176
+ this.renderCantonLU(group);
177
+ this.renderCantonNE(group);
178
+ this.renderCantonNW(group);
179
+ this.renderCantonOW(group);
180
+ this.renderCantonSG(group);
181
+ this.renderCantonSH(group);
182
+ this.renderCantonSO(group);
183
+ this.renderCantonSZ(group);
184
+ this.renderCantonTG(group);
185
+ this.renderCantonTI(group);
186
+ this.renderCantonUR(group);
187
+ this.renderCantonVD(group);
188
+ this.renderCantonVS(group);
189
+ this.renderCantonZG(group);
190
+ this.renderCantonZH(group);
191
+ }
192
+ }
193
+ renderCantonAI(group) {
194
+ this.renderCanton(group, 'AI', `
195
+ m 783.594,195 -0.844,-4.781 -1.875,-4.625 -2.375,-2 -2.125,-4.25 1.125,-6.375 0.75,-5.875 3.125,-3.5 4.125,-3.625 1.75,-2.75 -1.125,-1.5 -1.5,-3.625 2.5,-0.75 3.5,-0.75 3.875,1.625 6.25,2.5 5.125,2.25 2,4 2.75,1.25 3.375,-0.125 3.404,-0.788 0.895,4.287 -0.088,4.861 -1.326,7.336 -2.121,5.657 -3.624,4.861 -6.275,6.099 -2.829,2.121 -4.419,2.563 -1.503,0.884 -3.447,-0.089 -2.917,-1.148 z m 59.422,-56.656 -2.984,-2.531 -3.406,-2.656 -2.844,-1.094 -3.812,1.094 0.281,3.188 2.75,1.938 2.219,1.531 2.393,1.38 3.58,-1.321 z m -15.333,8.571 -0.214,-2.79 4.781,-2.531 -2.062,-1.781 -2.156,-3.344 -1.094,-2 -1.625,0.656 -2.813,0.875 -1.281,0.969 -1.188,1.562 2.75,1.938 -1.094,1.438 -2.375,1.219 -1.562,1.969 0.797,1.878 1.078,-0.736 2.739,0.089 2.563,0.265 z
196
+ `);
197
+ }
198
+ renderCantonAR(group) {
199
+ this.renderCanton(group, 'AR', `
200
+ m 843.008,138.348 -2.977,-2.535 -3.406,-2.656 -2.844,-1.094 -3.812,1.094 0.281,3.188 2.75,1.938 2.219,1.531 2.396,1.373 -2.615,2.032 -4,0.875 -1.75,1.875 -1.578,0.953 -0.203,-2.797 4.781,-2.531 -2.062,-1.781 -2.156,-3.344 -1.094,-2 -1.625,0.656 -2.813,0.875 -1.281,0.969 -1.188,1.562 2.75,1.938 -1.094,1.438 -2.375,1.219 -1.562,1.969 0.795,1.863 -1.17,3.137 -1.625,4.125 v 2.25 l 1.25,2.5 0.405,2.343 -3.405,0.781 -3.375,0.125 -2.75,-1.25 -2,-4 -5.125,-2.25 -6.25,-2.5 -3.875,-1.625 -3.5,0.75 -2.5,0.75 1.5,3.625 1.125,1.5 -1.75,2.75 -4.125,3.625 -3.125,3.5 -0.75,5.875 -1.125,6.375 2.125,4.25 2.375,2 1.875,4.625 0.855,4.771 -2.73,2.104 -4.125,-2.125 -5,-3.25 -2.5,-2 -2.375,1.5 -3,0.5 -3.375,-0.5 -3,-1.5 -3.125,-1.875 2.75,-5.875 -1.875,-0.875 -1.125,-5.375 0.375,-2.625 3.25,-2.625 1.5,-1.5 -3,-2.5 -2.375,1.75 -0.75,-0.625 v -2.5 l -2.25,-2.375 -0.125,-1.625 2.625,-1.375 2.625,-2.75 0.625,-3 0.25,-1.875 3,-2 2.75,-2.75 4.25,-0.75 5.375,-0.375 5.375,-1.375 3.5,-2.5 4.5,-0.75 4.5,0.125 h 1.625 l 5,-0.875 3.75,-1.75 h 2.375 l 1.375,-4.625 4.375,-0.875 4.75,-1.375 5,-2.25 3.25,-3.625 2.75,-2.625 3.5,0.125 3.25,2.375 4.125,2.25 4.5,1.5 5,2.75 2.125,1.25 z
201
+ `);
202
+ }
203
+ renderCantonAG(group) {
204
+ this.renderCanton(group, 'AG', `
205
+ m 537.18935,73.813479 c -0.14844,0.006 -0.28674,0.03091 -0.40649,0.0769 -0.505,0.193 -0.7281,1.04125 -1.1261,1.40625 -0.449,0.410999 -1.21006,0.751099 -1.69006,1.126099 -0.99,0.771999 -2.45232,1.737332 -3.09632,2.814331 -0.178,0.298999 -0.063,0.855099 -0.28198,1.126098 -0.353,0.443 -1.18123,0.591117 -1.68823,0.844117 -0.676,0.337999 -1.54137,0.864099 -2.25037,1.126098 -0.326,0.121 -0.7801,0.239983 -1.1261,0.281983 -0.754,0.093 -1.81718,-0.251 -2.53418,0 -0.51,0.179 -0.99325,0.777099 -1.40625,1.126098 -0.777,0.656 -1.69218,1.682198 -2.53418,2.252198 -0.156,0.105 -0.38413,0.215151 -0.56213,0.280151 -0.652,0.242 -1.5612,0.478965 -2.2522,0.563965 -0.419,0.052 -1.02325,-0.18 -1.40625,0 -0.596,0.279 -1.18308,1.066402 -1.40808,1.686401 -0.058,0.159 0,0.394965 0,0.563965 0,0.591 0.136,1.395216 0,1.970215 -0.13,0.551 -0.57212,1.191233 -0.84412,1.688233 -0.237,0.430999 -0.41611,1.166081 -0.84411,1.408081 -0.294,0.166 -0.7881,0 -1.1261,0 -0.844,0 -2.01233,0.267 -2.81433,0 -0.4,-0.134 -0.7751,-0.610948 -1.1261,-0.845947 -0.408,-0.275 -0.92108,-0.772117 -1.40808,-0.844117 -0.345,-0.052 -0.8331,0.09398 -1.1261,0.281983 -0.455,0.291999 -0.7431,1.02325 -1.1261,1.40625 -0.382,0.381999 -0.98425,0.788099 -1.40625,1.126098 -0.422,0.338 -0.92225,0.886099 -1.40625,1.126099 -0.624,0.308 -1.5612,0.477134 -2.2522,0.562134 -1.09,0.135 -2.56428,0.068 -3.66027,0 -0.68,-0.042 -1.6012,-0.08498 -2.2522,-0.281983 -0.542,-0.163999 -1.1414,-0.691116 -1.6864,-0.844116 -0.98,-0.273999 -2.3653,-0.196982 -3.3783,-0.281982 -1.014,-0.084 -2.3623,-0.238152 -3.3783,-0.280152 -0.75999,-0.031 -1.85635,-0.347999 -2.53234,0 -0.646,0.332 -0.99609,1.371216 -1.40809,1.970215 -0.347,0.5 -0.62409,1.344233 -1.12609,1.688233 -0.642,0.439999 -1.80418,0.833133 -2.53418,0.562134 -0.396,-0.147 -0.50912,-0.869099 -0.84412,-1.126099 -0.721,-0.552999 -2.08433,-0.583268 -2.81433,-1.124268 -0.434,-0.321999 -0.8781,-0.928081 -1.1261,-1.408081 -0.281,-0.545999 -0.43413,-1.369215 -0.56213,-1.970215 -0.125,-0.583999 -0.12616,-1.393215 -0.28016,-1.970215 -0.117,-0.438999 -0.38996,-0.988081 -0.56396,-1.408081 -0.246,-0.594999 -0.55812,-1.394215 -0.84412,-1.970215 -0.304,-0.609999 -0.6441,-1.489215 -1.1261,-1.970215 -0.48199,-0.480999 -1.32821,-0.898098 -1.97021,-1.126098 -0.484,-0.173 -1.17523,-0.266983 -1.68823,-0.281983 -0.764,-0.021 -1.80918,0.03698 -2.53418,0.281983 -0.466,0.157 -0.96525,0.625116 -1.40625,0.844116 -0.407,0.202 -0.97008,0.439134 -1.40808,0.562134 -0.494,0.138 -1.17424,0.275982 -1.68824,0.281982 -0.598,0.007 -1.40021,-0.103982 -1.97021,-0.281982 -0.721,-0.226 -1.5172,-0.952099 -2.2522,-1.126099 -0.411,-0.098 -1.01625,-0.162 -1.40625,0 -0.331,0.137 -0.64495,0.548948 -0.84595,0.845947 -0.361,0.532 -0.60711,1.372216 -0.84411,1.970215 -0.363,0.918999 -0.6201,2.247315 -1.1261,3.096314 -0.522,0.872999 -1.4452,1.91618 -2.2522,2.53418 -0.75,0.573999 -1.93433,1.06425 -2.81433,1.40625 -1.145,0.445999 -2.77743,0.729099 -3.94043,1.126098 -0.86,0.294 -1.94733,0.855099 -2.81433,1.126099 -1.075,0.337 -2.55645,0.607117 -3.65845,0.844116 -0.842,0.181 -1.97692,0.365824 -2.74292,0.543824 l 0.29297,1.633292 2.9187,1.04737 2.86377,1.48681 3.25012,2.86377 1.54358,0.77089 0.65918,1.21031 -0.32959,1.54359 0.22156,2.31263 3.41492,-0.22156 2.31262,-1.65161 2.20276,-2.0929 0.77087,-2.42432 0.55115,-1.98303 0.55115,-2.42431 0.77087,-1.431894 1.43372,-0.880738 1.54175,0.109864 1.65161,1.102298 0.99243,1.21216 2.09289,2.64404 2.53418,3.41492 3.0835,5.50781 1.10413,4.07593 2.42248,3.19519 1.87317,1.1023 2.42432,0.10986 2.86377,0.32959 -0.22156,2.31262 0.55115,3.52661 2.72644,1.78893 1.07483,0.1941 2.14782,0.21972 0.0568,1.76331 0.71594,2.36755 1.59668,0.44129 0.71594,3.02856 0.10986,2.58911 -2.42248,1.43189 1.87134,1.81823 3.25012,1.76331 2.03796,1.21216 1.81824,0.8258 2.36755,0.38453 2.75574,2.64404 0.43946,2.14966 -1.92811,4.51538 -1.87316,3.80127 -1.92811,5.45288 -0.99243,3.47168 -1.21215,1.7633 -1.26709,0.49622 -1.65162,0.27466 -3.80127,-0.27466 -5.8374,-0.49622 -3.03039,-0.66101 -2.36939,-0.9375 -1.92627,-1.54175 -1.86401,-1.32202 c -0.195,0.647 -0.80806,1.36133 -0.88806,2.01233 -0.133,1.074 0.92986,2.44912 0.78186,3.52112 -0.119,0.858 -0.82246,1.87417 -1.37146,2.54517 -0.58,0.71 -1.79442,1.22456 -2.34742,1.95556 -0.348,0.461 -0.45486,1.28448 -0.78186,1.76148 -0.516,0.753 -1.61932,1.41149 -2.15332,2.15149 -0.461,0.64 -0.7947,1.65924 -1.1737,2.34924 -0.66,1.2 -1.50625,2.8348 -2.34925,3.9148 -0.562,0.72 -1.30884,1.80338 -2.13684,2.09838 l -0.4779,1.10047 -0.77271,3.30688 0.0568,5.45288 0.43579,3.47901 4.18945,-0.34058 1.98303,-1.32202 1.98303,-0.55115 4.29749,-0.54931 3.30505,0.43945 1.87134,0.88257 3.96607,0.21972 1.32202,-0.77087 0.88257,-0.99243 0.55114,-1.1023 v -8.703 l 0.10987,-2.09289 1.32202,0.21972 1.32202,1.21216 h 1.87134 1.43371 l 2.97364,-0.88074 1.7633,-0.66101 1.54175,2.86377 0.66101,1.98303 v 2.75391 l -0.21973,3.74634 -0.22155,1.21033 h 1.87317 l 2.86377,0.22155 2.53418,-0.22155 2.64404,-0.77088 0.77087,-2.31262 0.55115,-2.20276 1.21216,-0.88257 2.53418,-0.77087 2.53235,0.55115 1.65344,0.33142 0.32959,0.55114 0.88257,2.20276 0.10986,2.86377 2.64404,0.55115 5.28809,-0.43945 5.06653,-0.55115 1.7633,-0.44128 0.32959,1.43188 -2.53234,1.21216 v 1.54358 l 0.21972,1.32019 1.76331,1.54358 2.31262,0.66101 1.98303,-0.33142 1.87317,-1.54175 1.10047,-2.20459 0.33142,-2.42249 0.77087,-3.96606 0.99243,-2.64404 2.53235,-1.43372 0.62988,-0.81299 c -0.0402,-0.12445 -0.0802,-0.24673 -0.12634,-0.35522 -0.325,-0.765 -1.03777,-1.64469 -1.38977,-2.39868 -0.188,-0.402 -0.41837,-0.95478 -0.50537,-1.38978 -0.163,-0.81799 -0.0223,-1.94971 -0.12634,-2.77771 -0.14,-1.11299 -0.59406,-2.55211 -0.75806,-3.6621 -0.123,-0.827 -0.16069,-1.94572 -0.25269,-2.77772 -0.129,-1.17699 -0.58737,-2.73196 -0.50537,-3.91296 0.029,-0.432 0.14203,-1.02877 0.37903,-1.38977 0.133,-0.202 0.38972,-0.49437 0.63172,-0.50537 0.40999,-0.017 0.86308,0.45406 1.13708,0.75806 0.489,0.54 0.75109,1.52799 1.13709,2.14599 0.273,0.438 0.77574,0.92994 1.01074,1.38794 0.493,0.959 0.82708,2.37743 1.13708,3.40943 0.338,1.12699 0.74191,2.64245 1.00891,3.78845 0.22,0.94 0.50372,2.19974 0.63172,3.15674 0.004,0.0319 0.009,0.07 0.0128,0.10254 l 0.46692,-0.60425 2.20276,-0.10987 3.41492,0.77088 0.9906,1.7633 4.29749,1.21216 0.66101,0.43946 0.65918,2.09289 0.22155,3.30505 0.9906,4.62708 2.09473,6.82983 1.76331,5.28809 0.77087,4.51904 2.20459,5.83924 1.9812,4.18579 2.09473,4.18579 1.54175,2.53418 2.31262,-0.32959 5.39795,-1.32202 4.9292,-1.45935 c 0.4,-1.188 0.22795,-2.96412 0.57495,-4.19312 0.227,-0.8 1.1461,-1.70135 1.1261,-2.53235 -0.017,-0.755 -0.8811,-1.53719 -1.1261,-2.25219 -0.279,-0.814 -0.35413,-1.97934 -0.56213,-2.81434 -0.214,-0.85499 -0.71612,-1.94316 -0.84412,-2.81616 -0.172,-1.169 0.046,-2.7566 0,-3.9386 -0.042,-1.1 -0.0432,-2.58528 -0.28015,-3.66027 -0.157,-0.704 -0.56795,-1.5862 -0.84595,-2.2522 -0.465,-1.115 -1.65723,-2.44945 -1.68823,-3.65845 -0.023,-0.909 0.7351,-1.99333 1.1261,-2.81433 0.373,-0.785 1.22808,-1.68218 1.40808,-2.53418 0.193,-0.912 -0.079,-2.18448 -0.28198,-3.09448 -0.216,-0.965 -0.8211,-2.15815 -1.1261,-3.09815 -0.189,-0.585 -0.37314,-1.38621 -0.56214,-1.97021 -0.305,-0.941 -0.6921,-2.20732 -1.1261,-3.09632 -0.349,-0.716 -1.21631,-1.71831 -1.62231,-2.42431 l 3.28674,-0.65735 2.37671,-1.0968 2.37488,-2.65137 1.76331,-3.18604 1.75964,-3.01757 -0.95581,-0.44495 -1.97571,2.79785 -2.72278,-0.50171 -1.36963,-1.1206 -1.7102,-2.07825 -0.47241,-7.76917 0.57312,-2.58728 -6.84998,-3.61816 -0.38818,-2.19727 6.07544,-7.23816 0.77453,-1.80908 -0.64636,-3.10364 -3.61816,-2.06726 -2.19727,-1.03454 -0.26001,-0.90271 -0.90271,-5.0409 -0.51819,-2.84546 -0.38818,-1.6809 -1.5509,-1.2909 -1.81092,-5.42907 2.06909,-6.46363 1.80909,-3.35998 v -4.13636 l 3.35998,-2.84362 4.13635,-4.13636 2.32727,-5.945426 0.25818,-3.878174 -0.64636,-0.743409 1.30554,-2.058105 c -0.414,-0.186 -0.94792,-0.466148 -1.39892,-0.551148 -0.331,-0.063 -0.8141,-0.128999 -1.1261,0 -0.662,0.274 -1.33523,1.066065 -1.68823,1.690064 -0.172,0.303 -0.008,0.911099 -0.28199,1.126099 -0.733,0.570999 -2.16731,0 -3.09631,0 -1.014,0 -2.3673,0.077 -3.3783,0 -1.10699,-0.084 -2.53244,-0.563965 -3.65844,-0.563965 -1.126,0 -2.3933,-1.332216 -3.3783,-1.970215 -0.61,-0.394 -0.28222,-1.12525 -1.97021,-1.40625 -1.69,-0.282 -2.16732,-2.167315 -3.09632,-3.096314 -0.76,-0.760999 -2.07235,-1.563181 -2.53235,-2.53418 -0.363,-0.766999 -0.015,-2.008332 -0.28198,-2.814331 -0.156,-0.466999 -0.44812,-1.11325 -0.84412,-1.40625 -0.55999,-0.414999 -1.56119,-0.477965 -2.25219,-0.563965 -0.754,-0.093 -1.78418,0.122 -2.53418,0 -0.527,-0.084 -1.16124,-0.476134 -1.68823,-0.562133 -0.583,-0.095 -1.38122,-0.053 -1.97022,0 -0.941,0.084 -2.15631,0.478133 -3.09631,0.562133 -0.336,0.031 -0.7901,0.042 -1.1261,0 -0.346,-0.042 -0.8101,-0.134151 -1.1261,-0.280151 -0.659,-0.304 -1.49822,-0.855082 -1.97022,-1.408081 -0.246,-0.287 -0.25996,-0.901099 -0.56396,-1.126099 -0.30975,-0.228 -0.8346,-0.375149 -1.27991,-0.357056 z
206
+ `);
207
+ }
208
+ renderCantonBE(group) {
209
+ this.renderCanton(group, 'BE', `
210
+ m 352.10451,170.75867 -3.73902,4.98413 -5.29724,4.36158 -5.29541,2.80517 -6.23291,1.24695 -7.16675,0.31128 -5.9198,-1.24695 -3.11645,-3.42773 h -4.0503 l -3.73901,0.62439 -1.55823,3.4259 0.31128,4.3634 -3.73901,2.18079 1.24695,6.54419 -13.08838,0.93567 -7.47803,-1.56006 -0.62256,3.42774 -3.11646,6.85546 -3.73901,4.98597 -5.9198,0.93383 -0.31311,2.4939 -1.5564,2.49207 -3.11645,0.31311 -5.9198,-0.62439 -2.72827,2.64953 -4.75159,4.20594 -3.27026,2.10388 -5.80445,0.66101 1.75232,3.7793 0.46692,5.9198 -1.08948,4.20593 -2.18261,2.80517 0.62439,3.73902 3.58154,-1.55823 3.42956,-1.55823 4.36158,-2.18261 5.1416,-2.49207 8.4137,-1.09131 5.9198,-0.15564 1.71386,1.09131 7.01111,3.73901 6.54419,4.36158 0.93384,3.27209 -0.31128,3.73902 -0.50171,2.59277 c 0.55867,-0.18725 1.13032,-0.36915 1.59485,-0.56946 0.7,-0.302 1.70817,-0.62608 2.27417,-1.13708 0.366,-0.331 0.6464,-0.95577 0.8844,-1.38977 0.26,-0.477 0.40722,-1.22746 0.75622,-1.64246 0.386,-0.459 1.11246,-0.85609 1.64246,-1.13709 0.467,-0.246 1.18863,-0.35588 1.64063,-0.62988 0.734,-0.445 1.50299,-1.32614 2.14599,-1.89514 0.645,-0.568 1.395,-1.48014 2.146,-1.89514 0.588,-0.325 1.51583,-0.40672 2.14783,-0.63172 0.46498,-0.164 1.09928,-0.36488 1.51428,-0.62988 0.52,-0.332 1.07011,-0.9646 1.51611,-1.3916 0.426,-0.407 1.11077,-0.86794 1.38977,-1.38794 0.182,-0.341 0.002,-0.97043 0.25269,-1.26343 0.289,-0.336 1.02877,-0.24637 1.38977,-0.50537 0.591,-0.425 1.05428,-1.33014 1.51428,-1.89514 0.374,-0.458 0.85043,-1.09128 1.26343,-1.51428 0.562,-0.576 1.41448,-1.2378 2.02148,-1.7688 0.607,-0.531 1.33966,-1.3368 2.01966,-1.7688 0.559,-0.354 1.39448,-0.66857 2.02148,-0.88257 0.443,-0.151 1.15428,-0.67903 1.51428,-0.37903 0.438,0.365 -0.005,1.33816 -0.12451,1.89514 -0.068,0.316 -0.16703,0.76492 -0.37903,1.00892 -0.312,0.358 -1.03377,0.44305 -1.38977,0.75805 -0.732,0.648 -1.45114,1.78037 -1.89514,2.65137 -0.326,0.641 -0.55206,1.58334 -0.75806,2.27234 -0.212,0.713 -0.28588,1.73868 -0.62988,2.39868 -0.298,0.572 -1.05577,1.09046 -1.38977,1.64246 -0.572,0.945 -0.90577,2.41559 -1.38977,3.40759 -0.267,0.55 -0.68274,1.2528 -1.01074,1.7688 -0.424,0.665 -1.07712,1.49101 -1.51612,2.14599 -0.473,0.708 -0.82928,1.89369 -1.51428,2.39869 -0.348,0.257 -0.99077,0.21202 -1.38977,0.37902 -0.485,0.204 -1.17711,0.4824 -1.51611,0.8844 -0.418,0.495 -0.49006,1.43249 -0.75806,2.02149 -0.231,0.51 -0.47457,1.25862 -0.88257,1.64062 -0.334,0.312 -0.94177,0.53555 -1.38977,0.63355 -0.556,0.12 -1.34214,-0.131 -1.89514,0 -0.412,0.097 -0.91243,0.39188 -1.26343,0.62988 -0.421,0.287 -0.81259,0.89509 -1.26159,1.13709 -0.654,0.354 -1.69569,0.39071 -2.39869,0.63171 -0.546,0.188 -1.21381,0.60006 -1.76879,0.75806 -0.479,0.137 -1.14363,0.28668 -1.64063,0.25268 -0.395,-0.027 -0.96043,-0.12503 -1.26343,-0.37903 -0.453,-0.376 -1.00457,-1.18147 -0.88257,-1.76147 0.061,-0.29 0.50923,-0.47155 0.75623,-0.63355 0.284,-0.186 0.70974,-0.34754 1.01074,-0.50354 0.496,-0.258 1.18146,-0.56641 1.64246,-0.88439 0.618,-0.427 1.36131,-1.11046 1.89331,-1.64246 0.532,-0.532 1.07747,-1.39714 1.64245,-1.89514 0.513,-0.451 1.38415,-0.81043 1.89515,-1.26343 0.262,-0.231 0.63522,-0.55457 0.75622,-0.88257 0.224,-0.604 0.508,-1.75001 0,-2.14599 -0.246,-0.192 -0.79891,0.0207 -1.00891,0.25268 -0.336,0.368 -0.0597,1.18246 -0.25268,1.64246 -0.146,0.349 -0.49006,0.74091 -0.75806,1.00891 -0.804,0.804 -2.1214,1.59034 -3.0304,2.27234 -0.454,0.341 -1.06328,0.79108 -1.51428,1.13708 -0.535,0.411 -1.5168,0.75777 -1.7688,1.38977 -0.253,0.631 -1.59568,1.2323 -2.39868,1.51428 -0.647,0.227 -1.58917,0.29152 -2.27417,0.25452 -0.349,-0.02 -0.85925,-0.0395 -1.13525,-0.25452 -0.15455,-0.12054 -0.2155,-0.37768 -0.29847,-0.58776 -0.1991,0.0415 -1.49085,0.31178 -2.14416,0.401 -0.694,0.095 -1.64144,0.0604 -2.32544,0.2124 -0.724,0.162 -1.65344,0.53095 -2.32544,0.84595 -0.799,0.374 -1.78984,1.01249 -2.53784,1.47949 -0.776,0.484 -1.82984,1.11189 -2.53784,1.69189 -0.624,0.511 -1.4423,1.24047 -1.9043,1.90247 -0.52,0.745 -0.87492,1.93124 -1.26892,2.75024 -0.37,0.766 -0.89992,1.77085 -1.26892,2.53785 -0.394,0.81996 -1.26892,2.74944 -1.26892,2.72644 l 1.52893,1.42822 c 0.0211,0.005 0.0431,0.017 0.0641,0.0201 0.619,0.092 1.40366,-0.4032 2.01966,-0.5072 0.825,-0.14 1.94254,-0.27186 2.77954,-0.25086 0.536,0.014 1.30997,-0.0291 1.76697,0.25086 0.789,0.484 1.4908,1.64302 1.7688,2.52502 0.27299,0.867 0.146,2.13523 0,3.03223 -0.0341,0.21032 -0.0958,0.43799 -0.16663,0.67017 l 0.6665,0.33691 3.89099,1.23779 0.74524,0.43396 6.85364,-2.02514 4.42017,-0.17579 9.7229,-1.59118 9.01611,-4.24256 2.29798,-1.4154 3.53576,3.89099 0.70679,3.53394 -4.06494,2.65136 -1.7688,2.29981 1.59119,5.83191 0.35522,5.83374 -1.06201,8.13354 4.2279,0.30579 c -0.031,-0.011 0.82915,1.44227 1.35315,1.92627 0.356,0.329 0.90828,0.73847 1.38428,0.82947 0.496,0.094 1.16877,-0.38949 1.66077,-0.27649 1.392,0.323 2.55851,2.21155 3.87451,2.76855 0.855,0.362 2.13421,0.74098 3.04321,0.55298 0.293,-0.061 0.5563,-0.43598 0.8313,-0.55298 0.704,-0.301 1.72941,-0.64881 2.48841,-0.55481 0.55296,0.068 1.15859,0.5943 1.66259,0.8313 0.739,0.349 1.70941,1.35196 2.48841,1.10596 0.462,-0.146 0.4353,-1.10528 0.8313,-1.38428 0.69296,-0.488 1.92072,-0.59298 2.76672,-0.55298 0.867,0.041 2.02455,0.38547 2.76855,0.82947 0.807,0.483 1.85475,1.34675 2.21375,2.21375 0.286,0.69 -0.041,1.74606 0,2.49206 0.042,0.751 -0.0485,1.81044 0.27649,2.4884 0.255,0.53 1.29028,0.80528 1.38428,1.38428 0.059,0.367 -0.33098,0.80979 -0.55298,1.10779 -0.951,1.27 -3.24055,2.14402 -3.87451,3.59802 l -0.89722,-1.43554 -2.47376,-1.94642 -0.70861,-1.58935 -1.94459,2.65137 c 0,0 -0.70839,1.59097 -0.88439,2.29797 -0.176,0.707 2.47741,2.82715 2.47741,2.82715 l 2.29798,1.4154 0.7489,0.48157 c -0.715,0.62 -1.43326,1.69107 -1.93726,2.49207 -0.595,0.942 -1.2498,2.2847 -1.66076,3.3197 -0.319,0.806 -0.4803,1.97555 -0.8313,2.76855 -0.39,0.886 -1.35794,1.84573 -1.65894,2.76673 -0.285,0.872 -0.18349,2.13304 -0.27649,3.04504 -0.075,0.748 0.10751,1.84324 -0.27649,2.49024 -0.517,0.872 -2.25055,1.06625 -2.76855,1.93725 -0.382,0.646 -0.37849,1.74524 -0.27649,2.49024 0.181,1.329 0.9938,2.988 1.66076,4.151 0.471,0.821 1.74226,1.56323 1.93726,2.49023 0.141,0.67 -0.26898,1.59075 -0.55298,2.21375 -0.421,0.922 -1.63412,1.80155 -1.93908,2.76855 -0.249,0.792 -0.421,2.05256 0,2.76856 0.43396,0.737 1.90905,0.77626 2.50305,1.39526 l 4.97497,1.84387 2.82715,1.76697 4.24256,3.71338 2.65136,2.64954 0.17761,7.95593 -0.52917,4.94934 -3.00659,-0.17578 -1.59119,0.35339 -3.71155,-1.59118 -3.00476,1.94458 -0.531,2.64953 -0.35523,5.30457 -0.35339,6.89575 3.35815,5.30273 -3.53576,2.12037 -5.30274,-0.52918 -3.53577,1.94275 -4.77172,3.71338 -2.80884,3.63831 1.22314,4.151 0.70679,6.1853 0.35522,5.65796 -2.29797,3.35815 -3.1842,4.06494 c 0,0 0.708,4.24357 0.531,5.30457 -0.177,1.061 0,4.42017 0,4.42017 0,0 -1.76858,1.94375 -2.47558,2.47375 -0.707,0.53 -3.71155,0.53101 -3.71155,0.53101 l -1.23779,1.59118 0.17578,3.53577 2.12219,3.00476 0.17761,3.35816 -1.7688,3.18237 v 7.42493 l 3.35816,3.00476 -0.17578,2.82898 1.41357,6.36291 -1.08398,2.88941 5.85937,0.12268 2.96082,-2.02515 1.24511,-3.89465 0.78003,-4.36158 2.64771,-2.02514 3.89465,-2.4939 4.05029,0.78003 v 6.38855 l 1.40259,2.18079 2.80518,1.09131 4.51721,-2.80518 4.51904,-3.11646 c 0,0 6.07683,-4.67213 6.69983,-4.98413 0.623,-0.312 8.56934,-2.33642 8.56934,-2.33642 l 4.82849,1.08948 8.10242,2.64953 4.36157,-1.40259 4.20776,-2.02514 2.64771,-2.80518 1.09131,-1.71387 -4.51904,-2.95898 1.8695,-1.87134 2.33643,-1.24512 h 4.51904 l 4.98413,0.15564 2.96082,-3.73901 2.18078,-4.05029 2.64954,-2.64954 5.60852,1.09131 7.78931,5.60852 4.51904,6.85364 14.80042,-12.15088 12.93274,-11.21704 9.50317,-0.46875 5.76416,-0.93567 5.29724,-4.36157 2.18079,-2.95899 7.01294,-3.42956 0.7782,-9.97193 4.36157,-1.71203 3.89648,-2.02515 2.80335,-1.86951 3.11645,-0.15564 3.73902,2.02515 4.98413,2.33642 3.89648,-0.31127 4.51905,1.71203 5.9198,3.89649 6.38855,1.24694 3.58337,3.42774 5.29724,-0.93567 10.28137,-2.64771 4.83033,-1.71386 7.47802,-4.67469 1.40259,-2.33642 3.58338,-1.86951 3.11462,-2.18078 3.58521,-3.2721 0.77819,-3.11645 v -5.29725 l 1.24695,-5.60852 2.33643,-4.05029 2.49389,-3.42773 3.89832,-4.35425 -1.9519,-3.20252 -0.93567,-2.41516 -0.62439,-3.50464 -0.23255,-1.94824 2.10389,0.23254 3.11645,0.54749 2.5708,0.93384 2.56897,0.31311 1.86951,-1.17005 0.85693,-1.63513 v -3.03772 l -0.15564,-3.03955 -1.16821,-3.81592 -1.79077,-3.349 -0.46875,-5.29907 0.23254,-1.94641 2.10571,-3.98071 -5.68725,-2.71729 -4.09058,3.23181 -1.47583,-1.90429 -1.3678,-1.3678 -5.72387,-3.62366 -0.70313,1.13159 -3.97339,1.71387 -3.62182,1.51978 -3.42774,3.11645 -6.38855,4.67285 -4.83032,-3.11462 -4.67468,-1.86951 -3.42774,0.62256 -5.60669,0.15564 -2.96081,0.93384 -5.45288,2.33825 -6.23108,-2.18078 -7.01111,-5.60852 -2.80518,-0.78003 -7.7893,-1.08948 -2.02332,-0.30395 -4.52087,0.65368 -6.6211,1.94641 -2.92236,1.36231 -3.58154,-5.67078 -3.96424,-4.73511 -6.28052,-5.28808 -5.50781,-3.19519 -5.83923,-4.18762 -0.9906,-2.0929 -1.32202,-3.63464 -0.44129,-7.16126 3.52478,0.10986 1.21216,-2.53418 0.10986,-5.06652 -0.9906,-2.0929 -1.7633,-1.32202 2.8656,-2.31445 2.64221,-1.43189 1.98303,-1.87317 3.74634,0.44129 2.31262,-2.42432 1.1023,-2.0929 0.77087,-3.41491 2.0929,-3.41492 1.54358,-3.19519 -0.22156,-2.31262 -1.32202,-3.74634 -0.66101,-2.97363 -2.42249,-0.77271 -3.52478,-0.21973 -3.19519,0.44129 -0.77087,-3.19519 -0.33143,-2.97364 -0.88073,-1.98303 -2.31446,-2.7539 -2.20276,-2.09473 1.1023,-2.75391 0.43945,-4.51721 0.55115,-2.42432 -0.10986,-2.86377 -0.21973,-2.09472 -0.77087,-3.74451 0.88073,-2.53418 1.87317,-2.09289 0.9906,-2.53418 -0.9906,-2.53235 -2.20276,-3.30689 v -3.30505 l 0.66101,-5.06653 -0.33142,-1.76331 -1.65161,-2.42248 -1.9812,-2.64588 -2.64587,-5.50781 -1.1023,-4.18762 0.22156,-2.42432 v -1.10046 l -0.44128,-3.47168 -0.0549,-5.45288 0.77088,-3.30506 0.45593,-1.04736 c -0.697,0.292 -1.77301,-0.027 -2.53601,0 -0.823,0.029 -1.91626,0.20992 -2.73926,0.19592 -1.122,-0.019 -2.60387,-0.51284 -3.71887,-0.39184 -0.368,0.041 -0.86471,0.18484 -1.17371,0.39184 -0.449,0.302 -0.7727,1.00663 -1.1737,1.36963 -0.454,0.409 -1.19659,0.77789 -1.67359,1.16089 -0.618,0.499 -1.31097,1.31392 -1.89697,1.81092 l -1.83105,-2.81434 -1.32386,0.85694 -3.58337,1.71386 -3.50464,0.39002 -3.42957,-0.46875 -1.79077,-4.44031 -2.80517,-3.89465 -1.08948,-1.32385 -3.42957,-0.39002 -2.02331,1.16821 -3.03955,1.01441 -3.03772,1.24512 -2.02515,0.31311 -7.55676,-0.78003 -2.41516,-0.23255 0.23437,1.86951 0.0787,1.63696 -0.39002,2.33643 0.85511,2.6477 v 2.72644 l 1.8695,0.39002 1.86951,-0.0769 1.40259,1.08948 2.10388,1.16821 0.54565,2.02515 -0.15564,1.24695 2.56897,5.06287 1.63697,2.41516 1.8695,1.94641 2.49207,1.24695 2.33642,2.25952 0.39002,2.88208 -0.0769,2.25952 -2.33643,3.11462 -3.66211,3.11646 -3.03772,0.93567 -5.37415,-0.31311 -5.37597,-1.01258 -2.18262,-2.10205 -2.56897,-1.63696 -2.5708,-0.54565 -2.10388,0.7782 -3.03772,0.93566 -0.54566,3.35083 -1.08947,4.36158 -2.10389,3.97339 -3.03955,2.02331 -3.11462,1.7926 -3.73902,1.79261 -0.46691,1.08947 1.01257,1.86951 1.09131,1.55823 -0.39002,2.10388 -1.71386,1.32385 -2.88392,1.09131 -2.80334,0.15564 -1.32385,-1.79077 0.23254,-1.7926 0.0769,-2.33643 -2.41333,0.7013 -2.41517,1.32385 -3.03955,2.18078 -0.85693,0.62439 -0.54382,-0.70129 -2.25953,-3.81775 -1.32385,-2.88208 -1.01257,-2.41516 0.15381,-2.25952 1.09131,-0.7782 2.88208,0.46692 1.40258,1.17004 2.25953,-0.23437 4.59594,-0.31128 0.7013,-2.10388 v -2.88392 l 1.47949,-2.18078 2.02515,-2.64771 4.05212,0.23255 2.88208,0.15747 1.63513,-0.46875 1.86951,-3.66028 -3.03772,-4.67468 -0.31128,-4.0503 -0.29846,-4.1748 c -0.526,0.479 -1.62564,0.32943 -2.30164,0.59143 -0.798,0.309 -1.78706,0.90128 -2.49206,1.38428 -0.534,0.366 -1.09794,1.05644 -1.65894,1.38244 -0.613,0.356 -1.50974,0.7433 -2.21374,0.8313 -0.746,0.093 -1.78124,-0.52549 -2.49024,-0.27649 -0.443,0.155 -0.87679,0.69796 -1.10779,1.10596 -0.337,0.596 -0.23898,1.60578 -0.55298,2.21374 -0.35096,0.681 -1.04676,1.48209 -1.66076,1.93909 -0.656,0.488 -1.81524,0.64296 -2.49024,1.10596 -0.386,0.266 -0.72495,0.83196 -1.10595,1.10596 -0.452,0.325 -1.24442,0.46148 -1.67542,0.81848 l -0.90454,-1.71936 -1.17004,-4.75159 -1.32386,-0.62256 -3.349,-1.0144 -1.63696,-1.94641 -0.85693,-6.85547 5.37597,-2.18079 5.99854,-2.72644 3.97339,-2.41516 3.50464,-2.96082 0.0769,-3.11462 3.66211,-0.46875 4.28467,-0.93567 1.40259,-0.46692 0.62256,-1.08948 0.70129,-2.88391 2.49207,-2.10388 2.88208,-1.08948 6.07544,-1.71386 2.33825,-1.56006 1.4795,-2.18079 2.02331,-1.7926 2.26502,-3.45703 -1.79627,-0.20325 h -6.54419 l -3.11462,3.73901 -3.42774,2.49207 -6.23291,-2.18079 -5.29724,-0.62256 -9.03442,-0.93566 -4.36341,0.31127 -0.93567,-4.98596 z M 493.9673,357.70753 c 0.57,10e-4 1.34015,-0.004 1.89515,0.12635 0.48,0.113 1.05328,0.45871 1.51428,0.63171 0.337,0.126 0.80808,0.23303 1.13708,0.37903 0.358,0.156 0.82509,0.39588 1.13709,0.62988 0.299,0.226 0.8234,0.5144 0.8844,0.8844 0.067,0.418 -0.33172,0.96443 -0.63172,1.26343 -0.299,0.3 -0.89842,0.41671 -1.26342,0.63171 -0.751,0.443 -1.65469,1.18846 -2.39869,1.64246 -0.47896,0.291 -1.15362,0.6114 -1.64062,0.8844 -0.459,0.257 -1.07611,0.59457 -1.51611,0.88257 -0.432,0.281 -0.92777,0.78274 -1.38977,1.01074 -0.602,0.297 -1.525,0.37571 -2.146,0.63171 -0.518,0.212 -1.29946,0.4434 -1.64246,0.8844 -0.288,0.37 -0.10006,1.13828 -0.37902,1.51428 -0.395,0.533 -1.33415,0.78309 -1.89515,1.13709 -0.577,0.366 -1.27331,0.97743 -1.89331,1.26343 -0.501,0.232 -1.2378,0.35437 -1.7688,0.50537 -0.531,0.151 -1.23696,0.35437 -1.76696,0.50537 -0.266,0.076 -0.6494,0.10769 -0.8844,0.25269 -0.525,0.32496 -0.95677,1.07611 -1.38977,1.51611 -0.732,0.745 -1.70303,1.75185 -2.52503,2.39685 -0.497,0.39 -1.2118,0.84108 -1.7688,1.13708 -0.764,0.407 -1.83753,0.83709 -2.64953,1.13709 -0.596,0.22 -1.38749,0.59871 -2.02149,0.63171 -0.58,0.031 -1.33314,-0.23803 -1.89514,-0.37903 -0.383,-0.096 -0.98243,-0.10002 -1.26343,-0.37902 -0.365,-0.363 -0.54737,-1.12763 -0.50537,-1.64063 0.028,-0.338 0.26037,-0.7784 0.50537,-1.0144 0.481,-0.455 1.42949,-0.58757 2.02149,-0.88257 0.624,-0.311 1.41748,-0.79209 2.02148,-1.13709 0.722,-0.412 1.74768,-0.87177 2.39868,-1.38977 0.651,-0.517 1.19431,-1.57348 1.89331,-2.02148 0.505,-0.323 1.38115,-0.32188 1.89515,-0.62988 0.84896,-0.509 1.63268,-1.64417 2.39868,-2.27417 0.861,-0.706 2.19339,-1.411 3.03039,-2.146 0.503,-0.443 1.08529,-1.12463 1.51429,-1.64063 0.36496,-0.437 0.79408,-1.06311 1.13708,-1.51611 0.49,-0.646 1.02946,-1.617 1.64246,-2.146 0.589,-0.50996 1.58334,-0.90042 2.27234,-1.26342 0.59996,-0.317 1.41148,-0.71575 2.02148,-1.01075 0.565,-0.27296 1.28631,-0.72756 1.89331,-0.88256 0.589,-0.149 1.41452,-0.12735 2.02148,-0.12635 z m -84.86023,1.89331 c 0.938,0.038 1.515,1.57934 2.146,2.27234 0.85,0.932 1.84371,2.30974 2.77771,3.15674 0.622,0.565 1.52134,1.26446 2.27234,1.64246 0.675,0.339 1.77868,0.32705 2.39868,0.75805 0.709,0.493 1.1458,1.67534 1.7688,2.27234 0.235,0.226 0.70957,0.35472 0.88257,0.63172 0.244,0.391 -0.0615,1.17928 0.25451,1.51428 0.346,0.369 1.15763,0.22903 1.64063,0.37903 0.778,0.244 1.76802,0.70674 2.52502,1.01074 0.757,0.303 1.83403,0.57574 2.52503,1.01074 1.088,0.687 2.37174,1.88506 3.15674,2.90406 0.49597,0.64497 0.99742,1.62968 1.26342,2.39868 0.138,0.4 -0.009,1.05677 0.25269,1.38977 0.461,0.587 1.54334,0.85391 2.27234,1.00891 0.63,0.134 1.50399,0.048 2.14599,0 0.764,-0.057 1.76003,-0.4042 2.52503,-0.3772 0.698,0.023 1.58134,0.40837 2.27234,0.50537 0.64,0.089 1.50399,0.18851 2.14599,0.12451 0.74,-0.074 1.65669,-0.68188 2.39869,-0.62988 0.49097,0.033 1.06011,0.44288 1.51611,0.62988 0.386,0.158 1.01175,0.19404 1.27075,0.50904 0.392,0.477 0.073,1.48548 0.37903,2.02148 0.199,0.35 0.72491,0.59857 1.00891,0.88257 0.285,0.285 0.6974,0.65274 0.8844,1.01074 0.145,0.276 0.37368,0.72277 0.25268,1.01074 -0.20497,0.484 -1.01211,0.7304 -1.51611,0.8844 -0.581,0.177 -1.41965,0.22735 -2.01965,0.12635 -0.485,-0.081 -1.02812,-0.55972 -1.51612,-0.63172 -0.75297,-0.112 -1.77802,0.10469 -2.52502,0.25269 -0.776,0.154 -1.78402,0.48306 -2.52502,0.75806 -0.7,0.26 -1.54634,0.83974 -2.27234,1.01074 -0.849,0.199 -2.05506,0.32034 -2.90406,0.12634 -0.546,-0.125 -1.16362,-0.5924 -1.64062,-0.8844 -0.511,-0.313 -1.14446,-0.80408 -1.64246,-1.13708 -0.524,-0.35 -1.1978,-0.86909 -1.7688,-1.13709 -0.576,-0.269 -1.39765,-0.50171 -2.01965,-0.63171 -0.672,-0.141 -1.61617,-0.0587 -2.27417,-0.25269 -0.324,-0.096 -0.73391,-0.30737 -1.00891,-0.50537 -0.305,-0.219 -0.6194,-0.61657 -0.8844,-0.88257 -0.228,-0.228 -0.62306,-0.46605 -0.75806,-0.75805 -0.206,-0.448 -0.10734,-1.14746 -0.12634,-1.64246 -0.014,-0.341 0.21,-0.86809 0,-1.13709 -0.288,-0.37 -1.09611,-0.17102 -1.51611,-0.37902 -0.435,-0.216 -0.91243,-0.67475 -1.26343,-1.01075 -0.291,-0.278 -0.58757,-0.73491 -0.88257,-1.00891 -0.416,-0.387 -1.06211,-0.79608 -1.51611,-1.13708 -0.455,-0.341 -1.00012,-0.89709 -1.51612,-1.13709 -0.458,-0.214 -1.14562,-0.27203 -1.64062,-0.37903 -0.378,-0.082 -0.92243,-0.0697 -1.26343,-0.25268 -0.473,-0.253 -0.89743,-0.87043 -1.26343,-1.26343 -0.513,-0.55 -1.16945,-1.30831 -1.64245,-1.89331 -0.237,-0.295 -0.56906,-0.68174 -0.75806,-1.01074 -0.244,-0.428 -0.39088,-1.08612 -0.62988,-1.51612 -0.158,-0.285 -0.35972,-0.70242 -0.63172,-0.88439 -0.42,-0.28 -1.17445,-0.1842 -1.64245,-0.3772 -0.33,-0.137 -0.83774,-0.31872 -1.01074,-0.63172 -0.257,-0.464 -0.122,-1.25282 0,-1.76879 0.117,-0.495 0.68505,-1.01312 0.75805,-1.51612 0.094,-0.646 -0.32203,-1.49502 -0.37903,-2.14599 -0.057,-0.642 -0.262,-1.558 0,-2.146 0.207,-0.466 0.75443,-1.15709 1.26343,-1.13709 z
211
+ `);
212
+ }
213
+ renderCantonBL(group) {
214
+ this.renderCanton(group, 'BL', `
215
+ m 353.717,141.851 0.413,2.029 1.091,1.947 5.219,4.674 1.598,2.415 2.921,0.546 1.873,-0.296 0.23,-1.652 0.856,-2.025 1.559,-1.013 3.193,-0.155 3.583,0.078 0.468,2.181 3.35,2.259 2.805,-2.259 3.583,-1.091 0.546,-1.791 1.246,-3.428 7.634,-1.091 1.091,-3.895 7.244,-0.546 0.234,-2.96 1.714,-2.882 1.246,-3.739 -0.623,-2.649 -2.025,-2.648 0.155,-3.583 4.83,-0.156 2.648,-0.155 2.182,-2.493 1.246,0.468 2.025,2.96 4.284,0.701 3.272,-0.312 2.882,1.324 -0.468,1.246 -2.181,4.285 -1.792,2.337 -2.492,2.492 -0.546,3.116 -0.233,4.051 -1.013,2.493 -2.259,1.168 -1.948,0.857 -5.063,0.312 0.234,5.063 0.623,3.661 0.935,4.129 h 3.739 l 5.531,-0.312 6.076,-0.856 2.259,1.402 1.091,2.259 1.791,2.415 2.182,2.025 1.792,1.48 2.492,1.09 2.571,0.39 2.337,-0.233 v -2.259 l 0.389,-2.415 3.116,-2.337 4.752,-1.792 3.506,-1.48 3.038,-2.025 3.661,-3.661 2.648,-3.193 2.805,-0.623 4.518,0.545 3.428,-1.636 4.129,-3.038 0.312,-2.648 c -0.39,0 -1.324,-2.104 -1.324,-2.104 l -1.48,-1.87 0.312,-3.037 1.013,-2.26 0.716,-2.333 -2.686,-1.713 -0.551,-3.525 0.221,-2.313 -2.864,-0.33 -2.424,-0.11 -1.873,-1.102 -2.423,-3.195 -1.103,-4.076 -3.084,-5.508 -2.534,-3.415 -2.093,-2.645 -0.992,-1.212 -1.652,-1.102 -1.542,-0.11 -1.433,0.882 -0.771,1.432 -0.551,2.424 -0.551,1.983 -0.771,2.424 -2.203,2.093 -2.313,1.652 -3.415,0.221 -0.221,-2.313 0.33,-1.543 -0.66,-1.211 -1.543,-0.771 -3.25,-2.864 -2.864,-1.487 -2.919,-1.047 -0.367,-1.613 c -0.935,0.222 -2.218,0.445 -3.095,0.845 -0.554,0.252 -1.139,0.864 -1.688,1.126 -1.037,0.492 -2.561,0.792 -3.659,1.126 -0.844,0.256 -1.934,0.857 -2.814,0.845 -0.802,-0.013 -1.794,-0.538 -2.534,-0.845 -0.872,-0.361 -2.07,-0.826 -2.814,-1.407 -0.613,-0.479 -1.196,-1.368 -1.688,-1.971 -0.609,-0.746 -1.457,-1.719 -1.971,-2.533 -0.503,-0.799 -0.663,-2.134 -1.216,-2.755 l -2.58,2.01 0.623,4.83 -1.714,1.714 -3.271,0.623 -1.869,-2.337 -2.337,0.312 -0.468,-4.362 -2.93,-1.31 -2.791,1.416 -2.838,0.346 -3.184,0.736 -3.596,1.214 -2.749,3.595 0.635,4.441 1.903,2.326 v 3.808 l -2.363,3.385 c 1.185,0.081 1.268,0.089 1.942,0.141 l 2.104,1.324 0.156,1.636 0.155,1.402 -1.479,2.337 -0.779,1.636 -1.169,1.324 -1.168,-0.155 -2.182,-0.078 -1.869,-0.233 -2.96,1.246 -2.104,0.312 -2.025,-0.701 -1.402,-0.545 -0.811,-1.47 -1.6,1.341 -1.48,1.48 -1.904,4.021 1.121,0.703 1.714,-0.701 1.091,1.168 2.804,2.104 2.648,2.648 1.169,2.337 -0.156,2.415 -0.778,1.87 -0.935,0.935 -2.338,0.233 -2.804,-1.402 -3.817,-0.935 z m -0.661,-5.161 0.665,5.165 -5.589,-0.545 -4.129,-3.817 0.125,-2.847 c 1.058,0.129 2.353,0.791 3.392,0.991 1.236,0.238 2.959,0.086 4.18,0.397 0.44,0.114 1.007,0.419 1.356,0.656 z
216
+ `);
217
+ }
218
+ renderCantonBS(group) {
219
+ this.renderCanton(group, 'BS', `
220
+ m 394.357,95.13 2.93,1.31 0.468,4.362 2.337,-0.312 1.869,2.337 3.271,-0.623 1.714,-1.714 -0.623,-4.83 2.615,-2.037 1.562,-1.761 0.847,-2.115 0.634,-1.269 2.115,0.212 1.903,-1.48 v -1.058 l -0.423,-0.846 -1.692,-0.635 -0.211,-2.326 1.903,-1.903 0.212,-1.27 -1.48,-0.211 -2.327,1.691 -2.114,1.058 -2.815,1.124 -3.105,0.346 -2.494,1.191 -3.429,3.684 -0.746,4.15 z
221
+ `);
222
+ }
223
+ renderCantonFR(group) {
224
+ this.renderCanton(group, 'FR', `
225
+ m 314.48732,274.92921 -2.29798,1.41541 -9.01611,4.24255 -9.7229,1.59119 -4.42017,0.17578 -6.86096,2.02514 -0.91553,3.81043 v 5.47851 l 1.2378,1.59119 0.0568,0.0989 c 0.55045,-0.34937 1.16,-0.68963 1.68457,-0.90821 0.399,-0.16698 0.97877,-0.24602 1.38977,-0.37902 0.924,-0.299 2.14558,-0.73409 3.02856,-1.13709 0.941,-0.429 2.07923,-1.24045 3.03223,-1.64245 0.585,-0.247 1.38467,-0.62989 2.01965,-0.62989 0.636,0 1.53849,0.21889 2.02149,0.62989 0.388,0.33 0.63106,1.02411 0.75806,1.51611 0.228,0.881 0.60834,2.25941 0.12634,3.03039 -0.351,0.562 -1.48949,0.4924 -2.02149,0.8844 -0.607,0.447 -1.14462,1.33015 -1.64062,1.89515 -0.603,0.68498 -1.33349,1.67335 -2.02149,2.27233 -0.412,0.359 -1.00811,0.80975 -1.51611,1.01075 -0.642,0.254 -1.66334,0.0512 -2.27234,0.37719 -0.16055,0.0861 -0.31661,0.20286 -0.46875,0.33509 l 0.2417,0.4248 2.82898,5.83374 -3.00659,2.65137 -3.71155,2.82715 -0.52917,5.30456 -1.59302,3.35816 -3.00476,2.82898 -1.76697,2.12036 -1.94458,-1.23779 1.59119,-4.06495 -0.17762,-4.94934 -2.47558,-1.7688 -2.29798,-2.47558 -4.06494,-3.35816 -1.59118,-4.24072 -1.2378,-4.77356 -3.18237,-1.59119 -0.17761,-0.17761 -0.7251,-0.60425 c -0.60331,0.57065 -1.22071,1.16731 -1.74683,1.66443 -1.208,1.142 -2.75614,2.73446 -4.04113,3.78846 -0.90235,0.73942 -2.01668,1.53443 -3.13111,2.30529 l 1.3385,1.86585 4.77356,5.30273 4.06494,3.35999 2.1222,0.88257 v 5.30273 l 1.59118,3.5376 -0.17761,6.18713 -4.06494,3.00476 -0.8844,4.24256 -1.59119,5.65613 -2.47558,2.82898 -4.42017,4.94934 -0.8844,2.65136 2.65137,2.29798 -0.52918,3.71338 -8.30932,10.25207 -6.18714,6.71814 -0.35339,4.59595 -1.4154,2.65137 -3.35816,0.17761 -1.59119,-1.41541 -2.12036,-0.17578 -2.65136,1.94458 -3.53577,3.35816 -1.59119,0.52917 v 6.18897 l 0.8844,5.65613 v 8.8385 l 0.70679,2.12036 3.18237,-1.41358 1.7688,-0.70678 1.41357,2.47558 3.35816,-1.7688 2.82715,-0.52917 3.1842,2.82715 3.18238,1.4154 3.00476,0.70679 1.46301,1.10779 -0.93201,1.54358 -3.00659,2.65136 -1.7688,2.47376 -1.23596,1.59119 -1.59119,0.17761 -0.8844,1.7688 0.17762,2.65136 -3.53577,-1.06201 -3.18237,-3.00476 -3.88916,-0.17578 -0.8844,2.29797 -0.53101,3.00477 3.00659,1.94274 0.8844,1.94458 1.59119,3.35999 3.53393,0.52918 3.891,-2.12037 1.94274,-3.00659 3.88916,-3.35815 1.41541,0.531 2.47559,2.47376 4.41833,3.89099 4.06677,1.94275 4.59595,1.23779 0.35339,3.71338 1.59119,6.89392 1.23779,5.12696 -0.70678,2.12036 4.24255,-1.41358 3.18054,-2.65136 c 0,0 3.18259,-3.71195 3.00659,-4.59595 -0.17598,-0.884 3.18238,-4.42017 3.18238,-4.42017 l 3.35815,-3.18237 3.71338,-0.8844 6.1853,-0.70679 3.71338,-2.29797 4.06495,-4.42017 2.65136,-4.24255 3.35999,-1.76697 2.82715,-1.59119 3.35815,-2.82898 3.71338,1.94458 6.59912,-3.45886 2.77039,-3.61267 4.77173,-3.71155 3.53576,-1.94458 5.30274,0.52918 3.5376,-2.12036 -3.35999,-5.30274 0.35339,-6.89575 0.35523,-5.30274 0.531,-2.65136 3.00476,-1.94458 3.71155,1.59118 1.59119,-0.35339 3.00659,0.17578 0.52918,-4.94934 -0.17762,-7.95593 -2.65136,-2.64954 -4.24256,-3.71338 -2.82715,-1.76697 -4.97497,-1.84387 c -0.594,-0.62 -2.06722,-0.65926 -2.50122,-1.39526 -0.421,-0.716 -0.249,-1.97656 0,-2.76856 0.305,-0.967 1.51625,-1.84472 1.93725,-2.76672 0.284,-0.623 0.69498,-1.54558 0.55298,-2.21558 -0.196,-0.927 -1.46625,-1.66923 -1.93725,-2.49023 -0.667,-1.163 -1.47977,-2.82017 -1.66077,-4.14917 -0.102,-0.745 -0.10651,-1.84607 0.27649,-2.49207 0.518,-0.872 2.25155,-1.06625 2.76855,-1.93725 0.383,-0.647 0.20149,-1.74224 0.27649,-2.49024 0.092,-0.912 -0.009,-2.17304 0.27649,-3.04504 0.301,-0.921 1.26977,-1.88074 1.66077,-2.76672 0.351,-0.793 0.51047,-1.96256 0.82947,-2.76856 0.411,-1.035 1.06576,-2.3777 1.66076,-3.3197 0.504,-0.801 1.22226,-1.87207 1.93726,-2.49207 l -0.7489,-0.48156 -2.29798,-1.41541 c 0,0 -2.65441,-2.12015 -2.47741,-2.82715 0.177,-0.707 0.8844,-2.29797 0.8844,-2.29797 l 1.94641,-2.65137 0.70678,1.58936 2.47376,1.94641 0.89722,1.43554 c 0.634,-1.45398 2.92351,-2.32802 3.87451,-3.59802 0.222,-0.297 0.61298,-0.74079 0.55298,-1.10779 -0.094,-0.579 -1.12928,-0.85344 -1.38428,-1.38244 -0.325,-0.678 -0.23449,-1.73924 -0.27649,-2.49024 -0.041,-0.746 0.286,-1.80206 0,-2.49206 -0.36,-0.867 -1.40675,-1.73175 -2.21375,-2.21375 -0.74498,-0.444 -1.90072,-0.78847 -2.76672,-0.82947 -0.846,-0.04 -2.07655,0.066 -2.76855,0.55298 -0.395,0.28 -0.36747,1.23828 -0.82947,1.38428 -0.779,0.247 -1.75124,-0.75596 -2.49024,-1.10596 -0.504,-0.237 -1.10776,-0.7633 -1.66076,-0.8313 -0.759,-0.093 -1.78624,0.25381 -2.49024,0.55481 -0.275,0.117 -0.5383,0.49381 -0.8313,0.55481 -0.909,0.187 -2.18921,-0.19381 -3.04321,-0.55481 -1.316,-0.557 -2.48251,-2.44655 -3.87451,-2.76855 -0.492,-0.114 -1.16477,0.37232 -1.66077,0.27832 -0.476,-0.091 -1.02928,-0.5023 -1.38428,-0.8313 -0.52498,-0.485 -1.38414,-1.93727 -1.35314,-1.92627 l -4.22791,-0.30579 1.06201,-8.13171 -0.35522,-5.83557 -1.59119,-5.83191 1.7688,-2.29981 4.06494,-2.65136 -0.70679,-3.53394 z m -70.69153,36.32446 c -0.34749,0.59573 -0.48323,1.47516 -0.85144,2.0105 -0.425,0.619 -1.2738,1.20397 -1.7688,1.76697 -0.82,0.933 -1.68903,2.36408 -2.52503,3.28308 -1.046,1.15 -2.66862,2.45577 -3.78662,3.53577 -0.925,0.893 -2.0364,2.21539 -3.03039,3.03039 -1.48,1.212 -3.61257,2.64394 -5.30457,3.53394 -1.083,0.571 -2.72145,0.91611 -3.78845,1.51611 -0.661,0.371 -1.58566,0.89412 -2.01966,1.51612 -0.452,0.648 -0.36905,1.83702 -0.75805,2.52502 -0.554,0.98 -1.80203,1.91471 -2.52503,2.77771 -0.19386,0.2318 -0.40553,0.5308 -0.60974,0.802 l 0.60608,0.48523 4.06677,3.00476 -1.59118,1.06202 4.59594,3.35815 4.94935,2.12219 2.12036,0.3534 2.29797,-1.2378 2.29981,-2.47375 2.82714,1.76697 3.88916,1.59118 h 3.0066 l 2.12036,-2.12036 1.06201,-3.89099 v -3.88916 l 0.8844,-2.29797 -1.23779,-0.70679 -1.7688,0.17761 -0.52918,1.7688 -2.47558,-0.17761 1.76879,-4.77356 0.17762,-1.94275 2.29797,-5.48035 2.64954,-2.29797 -3.35816,-5.12696 -3.35815,1.41358 -0.17761,-1.06018 5.12695,-2.82898 -2.47376,-2.65137 -2.12219,0.17761 z m -9.38965,37.21436 -1.59119,0.8844 0.70679,1.59119 -2.12036,3.71155 -3.88916,4.94934 4.24438,2.2998 2.29797,2.29797 2.1222,0.3534 1.94275,-3.00476 2.82898,-5.30457 -1.06202,-1.59118 -3.18237,-3.18055 z m -15.55664,9.01612 -3.35999,0.35339 -1.94275,3.18237 0.52918,2.82898 2.29797,1.76697 1.7688,-1.59119 0.8844,-3.53393 z m 5.48034,3.00659 -0.35522,4.24255 1.06201,1.59119 2.29797,-1.06201 1.94458,-2.82715 -2.29797,-1.59119 z
226
+ `);
227
+ }
228
+ renderCantonGE(group) {
229
+ this.renderCanton(group, 'GE', `
230
+ m 81.141361,479.63564 -1.062012,4.06494 2.475586,1.06201 3.88916,1.76697 -0.353393,3.18237 2.655029,1.06202 0.09705,0.0549 c 0.01542,-0.26417 0.012,-0.5552 0.04944,-0.78919 0.0735,-0.463 0.160527,-1.00878 0.280152,-1.54541 0.119431,-0.53647 0.271074,-1.06348 0.476074,-1.48498 0.1895,-0.388 0.511373,-0.7776 0.845947,-1.15906 0.334625,-0.38138 0.681852,-0.75478 0.922852,-1.11328 0.09177,-0.13699 0.172471,-0.33185 0.26001,-0.48706 l -0.463257,-0.20142 -5.300904,-2.99927 z m -8.389893,17.86194 -2.537842,2.32727 -0.633545,5.28625 -1.270752,1.4795 -1.479492,2.96081 v 3.38379 l 1.691894,2.1167 0.210572,3.59436 -1.056519,2.11487 -2.327271,1.05835 -3.59436,1.26892 c 0,0 -2.538596,0.21238 -3.808594,0.63538 -1.268998,0.423 -1.902466,0.63354 -1.902466,0.63354 l -1.902466,1.6919 -2.114868,0.2124 -3.173218,-0.2124 -1.479492,-0.21058 -1.902466,0.63355 -1.481323,1.69189 -1.268921,1.90247 -1.056519,1.48132 -2.750244,0.63355 -2.114868,3.38379 -0.635376,1.90429 1.904296,1.05652 1.902466,0.63538 0.635376,1.47949 -0.210571,3.59619 -1.270752,3.17139 -1.479492,3.38379 -0.422974,2.32727 4.227906,-0.2124 4.229736,0.84777 4.229737,1.05652 1.902465,-3.17321 1.691895,-1.47767 1.481323,-0.2124 2.748414,0.84595 4.65271,0.2124 3.806763,0.84595 3.383789,0.42297 2.32727,-1.05835 1.902466,-1.69189 2.960816,-1.6919 2.748413,-1.26892 2.750244,-1.90246 2.960816,-3.38379 2.537842,-2.96082 2.960815,-3.38379 2.114868,-2.11487 3.38379,-0.84594 2.960815,-1.48133 3.596196,-1.47949 2.96081,-1.47949 1.6919,-2.53784 1.47949,-1.6919 -0.2124,-2.53784 -0.21241,-1.90246 -1.90246,-1.05835 h -1.26892 l -0.42298,1.26892 -1.90246,0.63537 h -2.96082 l -1.904295,-1.90246 -3.171387,-2.32727 -1.922608,-3.96973 -0.217895,-0.2417 c -0.001,0.007 -0.0026,0.0133 -0.0037,0.0201 -0.03059,0.20366 -0.07828,0.39353 -0.117188,0.59143 -0.03536,0.17964 -0.06239,0.36537 -0.111694,0.53284 -0.007,0.0238 -0.01828,0.0443 -0.02563,0.0678 -0.09312,0.29676 -0.20935,0.57181 -0.380859,0.79468 -0.093,0.12075 -0.216715,0.22397 -0.358887,0.31677 -0.42674,0.2786 -1.016163,0.45847 -1.409912,0.69397 -0.613499,0.3665 -1.425291,0.70018 -2.182618,1.09131 -0.378749,0.19556 -0.74378,0.40573 -1.063842,0.64087 -0.159999,0.11757 -0.30778,0.24189 -0.441285,0.37353 -0.133103,0.13135 -0.252691,0.27119 -0.351562,0.41931 -0.128,0.19175 -0.210237,0.42031 -0.265503,0.67017 -0.16562,0.74917 -0.08462,1.6849 -0.239868,2.3584 -0.206736,0.90205 -0.656297,1.96237 -0.964966,2.97363 -0.02727,0.0893 -0.06325,0.18078 -0.08789,0.26917 -0.101381,0.36354 -0.177522,0.71627 -0.210571,1.05102 -0.02025,0.208 -0.0012,0.43594 0.03479,0.672 0.07197,0.47226 0.213794,0.97977 0.254517,1.44653 0.02036,0.23338 0.01488,0.45668 -0.03662,0.65918 -0.202,0.794 -0.985114,1.64734 -1.516114,2.27234 -1.072998,1.269 -2.768309,2.72045 -4.039307,3.78845 -0.332999,0.2805 -0.703596,0.77334 -1.09497,1.16822 -0.195702,0.19733 -0.395966,0.37101 -0.600586,0.47973 -0.204609,0.1088 -0.412809,0.15322 -0.622559,0.0952 -0.136,-0.0375 -0.256029,-0.13109 -0.357056,-0.25818 -0.302999,-0.38152 -0.439224,-1.06874 -0.355224,-1.48499 0.02625,-0.131 0.108546,-0.24314 0.219726,-0.34607 0.222281,-0.20578 0.559647,-0.37375 0.794678,-0.57678 0.117516,-0.10151 0.210024,-0.21233 0.249024,-0.34058 0.0555,-0.1845 0.02812,-0.41075 -0.03113,-0.63537 -0.05925,-0.22463 -0.151889,-0.44805 -0.223389,-0.62805 -0.264,-0.664 -1.075597,-1.32966 -1.261597,-2.01966 -0.144562,-0.53715 -0.237095,-1.13454 -0.289306,-1.76147 -0.0027,-0.0326 -0.0048,-0.0642 -0.0073,-0.097 -0.04608,-0.6071 -0.05431,-1.2405 -0.02747,-1.875 0.0018,-0.0422 0.0052,-0.0824 0.0073,-0.12451 0.03199,-0.65019 0.09543,-1.2991 0.190429,-1.91894 0.09831,-0.64148 0.227279,-1.25218 0.379029,-1.79993 0.104,-0.376 0.30173,-0.78848 0.532837,-1.18469 0.231,-0.39638 0.495591,-0.77615 0.730591,-1.08765 0.193487,-0.25682 0.437898,-0.5043 0.706787,-0.75073 0.268228,-0.24583 0.560965,-0.49058 0.849609,-0.73609 0.28882,-0.24586 0.573022,-0.49518 0.827637,-0.75073 0.0047,-0.005 0.0081,-0.01 0.01282,-0.0147 0.248311,-0.2506 0.469346,-0.50856 0.631714,-0.7782 0.275243,-0.4577 0.488178,-1.04923 0.655518,-1.65527 0.155003,-0.5624 0.272008,-1.13957 0.355224,-1.62781 0.07975,-0.467 0.09043,-0.9848 0.07324,-1.5271 -0.01719,-0.54229 -0.06221,-1.10906 -0.09521,-1.67175 -0.03304,-0.56252 -0.05426,-1.12174 -0.02197,-1.64978 0.03231,-0.52817 0.117881,-1.02426 0.296631,-1.46301 0.09426,-0.23149 0.246467,-0.45106 0.422974,-0.66468 0.02431,-0.029 0.05518,-0.0555 0.08057,-0.0842 0.459562,-0.52796 1.074485,-1.01755 1.525269,-1.51246 l -0.593262,-0.36071 -5.126953,-3.00476 -4.174805,-2.78138 z
231
+ `);
232
+ }
233
+ renderCantonGL(group) {
234
+ this.renderCanton(group, 'GL', `
235
+ m 709.08511,218.56019 -0.82947,1.74316 -7.07153,15.38086 2.12219,2.21009 0.79651,2.91504 -0.6189,1.59301 -1.59118,0.79468 -2.12219,1.85669 -0.3534,1.50147 1.41541,1.23779 1.85486,0.35339 1.50329,0.44129 -2.21008,6.01135 -2.79236,5.11963 -4.31213,3.93677 -2.62574,-0.18677 -1.93725,-0.37537 -1.875,0.1886 0.31128,4.87427 -1.43738,1.12427 1.25061,1.68823 1.43738,1.37512 1.43738,2.56165 0.62439,1.18835 0.9375,-0.31311 0.43396,1.31104 2.18811,2.56164 1.31103,1.24878 -1.24878,1.62598 0.9375,1.49963 2.43714,3.18787 3.12561,2.75024 1.73584,1.13526 -1.94458,1.59118 -1.14624,1.85486 -0.17762,1.59119 0.26551,1.32751 0.61889,1.58936 0.70679,0.70862 -2.47559,1.06201 -0.79651,1.32385 -3.28491,1.59485 2.06177,2.67334 2.66052,4.39087 0.66468,3.5907 -0.13184,2.8601 -2.26318,2.79419 -3.92395,2.66053 -5.05555,2.12951 -4.32312,1.39527 -3.72619,1.06384 -0.033,1.32935 0.39917,1.4978 1.4978,4.12353 0.84412,3.6731 3.36548,0.35705 3.76464,0.84595 1.22132,2.82166 h 3.76465 l 4.14001,-1.78711 3.10364,-0.93933 7.05505,-1.41175 3.8562,-1.41174 2.63489,-2.81982 0.65735,-3.10547 1.31653,-4.89075 c 0,0 1.88171,-3.57442 1.97571,-3.95142 0.094,-0.376 0.84778,-3.10363 0.84778,-3.10363 l 2.82165,-1.69373 2.91687,-0.28198 2.91504,1.41174 2.06909,3.29224 1.31653,2.25769 1.78711,1.03454 1.69189,-1.31652 2.73011,-2.25769 2.63305,-2.91688 1.88233,-1.7871 2.63489,-0.75257 4.98413,-0.1886 2.3529,0.65918 1.22315,-3.38745 1.59851,-2.06909 2.72827,-3.10364 2.7301,-2.82165 3.06153,-0.68848 0.69213,-3.30322 -1.62048,-3.64746 -1.82556,-2.12952 -2.12769,-1.82556 0.81116,-0.91187 2.23023,-2.63489 -0.4065,-10.33996 -1.31653,-7.19605 -1.0144,-4.96765 -2.73743,-1.92627 -2.02698,-0.71045 -2.33093,0.71045 -2.12952,1.11511 -2.22839,1.01441 -5.27161,-0.30579 -2.63488,-0.81115 -1.31836,-1.72303 -0.70862,-2.02697 0.30395,-1.92627 1.01441,-0.60791 3.54858,-1.11512 2.53418,-0.91186 3.14026,-4.05579 -0.20141,-2.73559 -0.40467,-7.70325 -0.20325,-3.44605 v -1.34948 c -0.12029,-0.0235 -0.24677,-0.05 -0.35339,-0.0677 -0.665,-0.112 -1.57406,-0.12217 -2.23205,-0.26917 -0.579,-0.13 -1.31301,-0.43639 -1.875,-0.62439 -0.482,-0.161 -1.11184,-0.4195 -1.60584,-0.5365 -0.553,-0.13 -1.311,-0.20233 -1.875,-0.26733 -0.588,-0.069 -1.38472,-0.0634 -1.96472,-0.17944 -0.523,-0.105 -1.20539,-0.32867 -1.69739,-0.53467 -0.475,-0.199 -1.06694,-0.55584 -1.51794,-0.80384 -0.189,-0.10399 -0.54239,-0.15705 -0.62439,-0.35705 -0.073,-0.181 0.10944,-0.44239 0.17944,-0.62439 0.108,-0.28 0.26995,-0.65156 0.44495,-0.89356 0.067,-0.093 0.19216,-0.18616 0.26916,-0.26916 0.0323,-0.0345 0.0649,-0.0852 0.097,-0.12634 -0.0466,0.0126 -2.30363,0.6223 -3.20435,0.86975 -1.143,0.314 -2.61913,1.35793 -3.78113,1.12793 -1.111,-0.221 -2.41429,-1.09224 -3.37829,-1.68823 -0.719,-0.444 -1.5712,-1.18924 -2.2522,-1.68824 -3.269,-2.39999 -7.96518,-5.16686 -10.97717,-7.88086 -1.511,-1.361 -3.90844,-3.12168 -4.47144,-5.07568 z
236
+ `);
237
+ }
238
+ renderCantonGR(group) {
239
+ this.renderCanton(group, 'GR', `
240
+ m 684.342,337.91 3.387,0.376 3.763,0.847 1.223,2.822 h 3.763 l 4.14,-1.788 3.104,-0.94 7.056,-1.411 3.856,-1.411 2.634,-2.821 0.658,-3.104 1.317,-4.892 c 0,0 1.882,-3.574 1.976,-3.951 0.094,-0.376 0.847,-3.104 0.847,-3.104 l 2.822,-1.693 2.916,-0.282 2.916,1.411 2.069,3.292 1.316,2.258 1.788,1.034 1.692,-1.316 2.729,-2.258 2.634,-2.916 1.882,-1.787 2.634,-0.753 4.985,-0.188 2.352,0.658 1.223,-3.387 1.6,-2.069 2.728,-3.104 2.729,-2.821 3.051,-0.701 3.847,4.109 1.115,-0.608 1.824,-1.318 2.027,-0.304 2.534,0.102 2.839,1.014 3.75,0.912 5.677,0.71 6.487,0.405 4.258,1.014 3.142,1.216 4.866,2.636 3.446,1.724 0.71,-0.608 0.912,-1.521 0.202,-1.926 -0.709,-2.433 3.548,-0.102 -0.102,-2.23 -1.014,-2.027 0.304,-3.041 1.724,-4.257 3.75,-4.156 3.954,-6.893 1.216,-2.737 2.129,-1.014 3.41,-1.844 c -0.607,-0.914 -1.752,-1.883 -2.387,-2.783 -0.555,-0.787 -1.183,-1.915 -1.592,-2.786 -0.868,-1.848 -1.502,-4.531 -2.389,-6.369 -0.908,-1.882 -2.751,-4.055 -3.583,-5.972 -0.346,-0.798 -0.314,-2.062 -0.74,-2.754 l 2.71,1.295 3.589,-0.149 1.196,-1.346 1.196,-1.944 3.738,0.149 2.692,1.944 0.897,1.794 2.841,0.3 3.738,-1.197 1.347,-1.196 1.645,-0.747 3.739,0.897 3.738,0.448 3.439,-1.346 8.075,1.794 5.683,3.29 7.179,1.196 5.384,0.599 5.383,2.691 3.59,3.59 3.888,1.794 3.589,0.897 6.281,-2.991 0.599,3.29 1.495,2.692 0.897,3.29 -1.795,2.393 -1.794,6.28 0.896,2.394 0.3,4.486 -0.3,2.093 1.496,1.496 4.187,2.094 5.982,3.888 3.589,2.094 7.478,-0.897 4.187,4.486 3.889,0.599 5.981,3.589 2.991,5.981 2.393,2.692 4.486,-0.299 2.393,4.187 11.366,0.599 5.084,-2.094 4.188,-3.889 3.888,-2.093 7.179,0.299 0.299,-10.469 1.495,-2.99 0.599,-3.889 2.094,-2.094 2.393,1.496 3.29,0.598 h 5.085 l 2.99,-2.094 0.3,-3.589 -0.599,-2.691 2.094,-0.3 2.393,-3.589 1.795,-4.785 0.896,-4.785 4.188,-1.795 4.486,-1.196 2.094,0.599 5.683,6.28 0.104,4.165 c 0.48,0.275 1.428,0.031 2.058,0.275 1.28,0.499 2.113,2.556 3.377,3.097 1.168,0.499 3.015,-0.108 4.223,0.281 0.758,0.245 1.66,0.874 2.252,1.407 0.715,0.646 1.561,1.663 1.97,2.534 0.332,0.704 0.402,1.771 0.563,2.533 0.178,0.843 0.563,2.814 0.563,2.814 l 0.176,0.238 c 0,0 -0.388,1.007 -0.739,1.451 -0.409,0.517 -1.279,0.89 -1.688,1.407 -0.587,0.74 -1.021,1.953 -1.408,2.814 -0.372,0.83 -0.846,1.949 -1.126,2.814 -0.321,0.994 -0.652,2.352 -0.844,3.378 -0.125,0.67 -0.026,1.621 -0.282,2.252 l 1.121,2.484 -0.448,3.29 0.599,1.943 -0.3,2.394 -0.896,3.888 -1.795,3.141 -1.047,2.991 0.149,2.542 -1.645,2.243 -2.243,1.495 -1.795,1.646 -0.448,2.243 0.598,3.439 1.646,2.393 1.943,3.141 -0.149,1.495 -2.99,1.646 -3.889,2.393 -2.542,2.243 -0.599,1.645 0.897,2.243 1.795,1.346 0.747,2.243 -6.58,6.281 -1.346,1.646 0.449,6.28 1.196,1.646 1.495,5.683 0.897,3.141 1.794,1.196 2.842,-0.449 4.785,-1.196 4.637,1.795 1.943,2.393 3.29,3.589 0.149,6.879 -0.896,5.234 -1.646,3.439 -1.047,3.738 -2.691,3.739 -2.692,-0.3 -1.943,-1.196 -3.59,-0.897 -5.233,0.449 -2.842,-0.897 -6.132,-0.299 -2.841,1.047 -7.478,0.149 -0.598,-1.944 -1.196,-2.243 -1.347,-2.99 -2.841,-1.646 -4.188,-0.299 -1.645,-0.599 -1.795,-1.645 0.299,-2.692 2.393,-1.943 -0.149,-3.439 -0.448,-1.646 -2.094,-2.691 -1.047,-2.842 -0.448,-1.346 -2.692,-0.149 -0.897,1.944 v 1.047 l -0.896,1.645 h -1.496 l -2.542,-1.047 -2.243,-0.149 -3.29,0.897 -0.897,2.094 -2.542,0.747 -1.646,1.646 -3.888,1.196 -1.047,0.598 -2.691,-0.598 -3.29,0.598 -1.496,3.29 0.748,4.786 -2.991,1.346 -2.243,1.944 -0.896,3.14 -4.637,4.785 -0.598,2.692 v 4.636 l -0.299,3.738 -0.897,1.646 -1.795,3.439 0.748,5.832 0.747,2.393 -0.747,2.394 -0.3,4.336 2.244,3.29 1.794,3.439 1.944,0.449 2.841,1.346 2.243,-0.299 4.038,-0.449 c 0,0 1.795,-0.299 2.842,-0.747 1.047,-0.449 3.439,-1.346 3.439,-1.346 l 0.747,1.943 1.047,2.243 2.692,2.991 0.747,2.243 -0.598,1.346 -3.889,2.991 -2.841,1.196 -1.795,1.645 -0.149,0.599 -0.844,3.553 -1.058,4.019 -1.269,4.019 0.635,3.384 2.114,4.441 2.961,4.019 2.538,2.114 2.961,3.807 1.903,3.384 2.115,3.807 -3.596,3.808 -4.441,5.71 -1.903,0.423 -3.384,-0.212 -3.807,-1.057 -3.384,0.211 -1.692,2.326 -1.058,1.27 -1.269,-1.48 -2.115,-1.48 0.212,-3.807 0.635,-5.287 -1.058,-3.807 -4.653,-3.173 -5.498,-2.326 -1.692,-1.058 0.423,-4.229 v -3.173 l -1.48,-1.903 -0.211,-4.229 1.48,-0.635 -0.423,-4.652 -3.808,-3.596 -1.903,-2.749 -1.903,-2.75 -2.114,-1.903 -2.538,1.27 -2.749,1.48 -3.596,-0.847 -3.384,0.847 -2.961,1.48 -1.903,1.057 -2.538,1.058 h -6.345 l -4.019,1.27 -1.691,3.172 -2.538,1.692 -2.326,1.48 -2.326,0.423 -4.653,-2.326 -3.384,-2.115 -3.384,2.115 -1.48,2.326 -0.423,5.922 0.212,3.172 -1.058,2.961 -1.903,1.48 -1.48,-0.635 -4.019,-0.846 -4.441,1.691 -4.652,1.27 -3.173,0.423 -2.537,-0.846 -4.864,-0.212 -3.384,-1.903 -6.134,-2.961 -3.172,-3.172 -2.749,-3.807 -0.847,-2.75 -1.691,-4.864 -2.75,-1.903 -3.595,-2.326 -3.384,-1.903 0.846,-2.961 0.423,-4.864 -2.749,-5.71 -1.058,-3.596 v -4.652 l 0.423,-3.384 1.692,-4.441 1.057,-5.71 -0.211,-3.596 -1.903,-2.538 -4.864,-0.423 -1.692,1.48 -2.749,3.172 -0.423,3.173 -1.692,2.538 -0.423,1.058 -2.749,-0.635 -1.692,-1.903 -3.807,-3.173 v -2.749 l -0.211,-2.961 -3.596,-1.269 -6.133,0.846 -5.076,0.846 -4.652,1.903 -3.173,3.384 0.212,3.596 0.634,5.287 -1.057,2.326 -3.384,2.115 -2.327,2.115 0.212,4.863 7.402,6.557 v 9.094 l 0.634,5.922 1.903,3.384 0.424,6.557 -2.538,5.075 -4.019,8.248 -4.019,4.864 -0.423,7.19 -0.211,2.327 -2.115,1.057 -3.173,2.538 -0.423,2.326 -1.903,2.961 -1.48,1.27 -2.326,4.018 -0.635,3.384 -0.211,2.75 -5.039,0.892 -3.879,-3.703 -4.14,-5.832 -3.574,-3.387 -4.892,-3.574 -0.753,-3.764 0.753,-5.079 -1.882,-5.08 -3.01,-5.079 -1.317,-3.575 1.693,-3.01 1.693,-4.892 -0.188,-5.268 1.128,-3.01 2.258,-1.882 2.069,-3.387 -1.129,-5.832 0.188,-4.327 1.505,-3.951 0.564,-3.01 -2.822,-3.387 -0.752,-3.386 1.881,-3.763 0.471,-5.269 -3.292,-3.668 -3.48,-1.129 -2.164,-0.188 -3.292,-3.292 -2.446,-3.669 -2.728,-6.208 -0.376,-4.986 0.847,-7.242 2.163,-1.6 3.01,-3.198 -0.564,-2.069 -1.034,-0.564 -3.857,-0.94 -3.104,-4.045 -1.882,-1.882 -4.515,1.317 -3.763,-0.377 -0.564,-2.352 -0.377,-3.198 -0.47,-4.703 -0.564,-3.198 -0.658,0.752 -1.693,1.224 -5.927,0.47 -3.292,2.634 -1.129,2.446 1.976,4.045 0.847,1.693 -0.095,2.634 -2.539,2.445 -2.729,1.882 -2.728,1.223 -3.857,0.658 -3.856,1.035 h -1.976 l -1.505,-0.847 -3.763,2.822 -3.387,-0.564 -3.292,-1.882 -2.258,-1.223 -4.609,-0.847 -3.574,0.753 -3.614,-0.164 -4.124,-1.862 -3.925,-0.883 1.315,-6.216 -3.387,-5.079 -2.821,-3.763 v -6.209 l 2.445,-3.387 1.881,-1.129 -2.069,-4.515 -0.376,-2.258 1.693,-3.574 2.822,-1.693 5.079,-0.188 3.387,-3.574 4.139,-2.258 1.505,-5.08 0.564,-2.634 3.387,-0.376 1.882,3.198 3.574,0.188 2.822,-2.634 0.94,-4.327 3.198,-3.198 1.505,-4.327 -1.316,-4.892 2.069,-1.693 2.822,-1.317 2.821,-0.376 4.092,-4.162
241
+ `);
242
+ }
243
+ renderCantonJU(group) {
244
+ this.renderCanton(group, 'JU', `
245
+ m 344.099,134.651 c -1.778,-0.226 -4.146,0.061 -5.935,0.19 -1.078,0.077 -2.521,0.195 -3.582,0.397 -0.669,0.128 -1.531,0.425 -2.189,0.598 -0.715,0.187 -1.685,0.374 -2.389,0.597 -0.793,0.251 -1.84,0.631 -2.588,0.995 -0.626,0.306 -1.458,0.745 -1.99,1.194 -0.421,0.355 -0.868,0.949 -1.285,1.479 l -3.312,-1.923 -1.691,-2.326 -4.23,0.423 -4.229,-1.903 -4.019,-1.27 -1.269,-1.058 v -4.229 l 1.48,-3.384 2.114,-3.172 v -3.384 l -3.172,1.269 -3.384,-1.058 -1.692,-2.115 -3.172,-2.326 h -2.961 l -3.595,1.48 -4.019,1.903 -5.922,-1.269 -5.287,-1.269 -3.596,-1.692 -5.287,0.423 -2.114,1.27 -1.058,1.903 -0.635,2.749 2.538,4.019 1.48,3.807 -1.058,2.114 -2.961,0.847 -3.595,2.538 -1.904,1.691 -2.537,0.635 -1.27,1.903 -1.058,4.652 -1.691,0.846 -2.538,2.115 -0.634,4.019 -2.75,2.538 -1.269,3.172 0.846,4.019 9.306,0.423 4.019,0.212 3.807,-1.48 3.172,-1.48 4.653,-1.27 4.652,0.423 1.903,1.692 2.326,2.326 2.538,4.653 -1.48,1.691 -0.211,2.115 -1.27,2.114 -4.441,1.058 -2.326,2.115 -1.269,2.961 -0.499,2.681 c -0.387,0.2 -2.024,1.209 -2.518,1.526 -0.597,0.385 -1.516,0.704 -2.214,0.83 -0.735,0.134 -1.782,-0.235 -2.491,0 -0.787,0.263 -1.507,1.225 -2.214,1.661 -0.474,0.293 -1.125,0.675 -1.66,0.83 -0.802,0.231 -2.115,-0.244 -2.768,0.276 -0.205,0.164 -0.234,0.571 -0.276,0.83 -0.054,0.328 -0.127,0.801 0,1.107 0.225,0.542 1.159,0.842 1.384,1.384 0.477,1.15 0.052,2.907 0,4.151 -0.042,0.998 -0.298,2.321 -0.277,3.32 0.015,0.669 0.291,1.545 0.277,2.214 -0.011,0.505 -0.01,1.232 -0.277,1.661 -0.378,0.605 -1.41,0.901 -1.937,1.383 -0.564,0.518 -1.112,1.403 -1.661,1.938 -1.226,1.194 -3.05,2.582 -4.428,3.598 -1.204,0.888 -3.048,1.756 -4.15,2.768 -1.176,1.078 -2.433,2.827 -3.321,4.151 -0.477,0.71 -0.924,1.77 -1.384,2.49 -0.607,0.952 -1.353,2.314 -2.214,3.044 -0.566,0.48 -1.491,0.937 -2.214,1.107 -0.484,0.114 -1.2,-0.19 -1.66,0 -0.543,0.225 -1.384,0.797 -1.384,1.384 0,0.587 0.809,1.266 1.384,1.384 0.438,0.09 0.994,-0.773 1.384,-0.554 0.439,0.248 0.234,1.157 0.276,1.66 0.041,0.497 0.196,1.203 -0.007,1.719 l 4.629,-0.079 2.532,2.736 5.804,-0.672 3.271,-2.104 4.752,-4.206 2.727,-2.649 5.92,0.624 3.116,-0.312 1.558,-2.493 0.312,-2.493 5.921,-0.935 3.739,-4.985 3.115,-6.855 0.624,-3.428 7.478,1.559 13.087,-0.935 -1.246,-6.544 3.739,-2.182 -0.312,-4.362 1.558,-3.427 3.739,-0.624 h 4.051 l 3.116,3.428 5.92,1.247 7.167,-0.312 6.232,-1.246 5.297,-2.805 5.297,-4.362 3.739,-4.985 1.558,0.623 0.936,4.986 4.362,-0.312 9.036,0.936 5.297,0.623 6.232,2.181 3.428,-2.492 3.115,-3.739 h 6.544 l 2.163,0.266 0.329,-2.836 -6.776,0.077 -0.701,-1.558 -1.48,-3.583 -0.39,-3.038 v -4.44 l -4.362,-0.468 -5.453,1.402 -6.231,-1.402 -2.922,-4.811 -1.83,0.293 -2.921,-0.546 -1.598,-2.415 -5.219,-4.674 -1.091,-1.947 -0.378,-2.065 -5.62,-0.505 -4.129,-3.817 z
246
+ `);
247
+ }
248
+ renderCantonLU(group) {
249
+ this.renderCanton(group, 'LU', `
250
+ m 545.76235,185.87586 -2.20276,0.10987 -0.46509,0.60058 c 0.14146,1.08082 0.27186,2.49395 0.2417,3.56506 -0.017,0.612 -0.0897,1.43349 -0.25268,2.02149 -0.2,0.718 -0.50977,1.71834 -1.01074,2.27234 -0.205,0.226 -0.5824,0.5452 -0.8844,0.5072 -0.266,-0.036 -0.49589,-0.39971 -0.62989,-0.63171 -0.294,-0.509 -0.34937,-1.32915 -0.50537,-1.89515 -0.11687,-0.42089 -0.23207,-0.95775 -0.38086,-1.41723 l -0.62988,0.81482 -2.53418,1.43371 -0.9906,2.64405 -0.77087,3.96606 -0.33143,2.42249 -1.10229,2.20459 -1.87317,1.54174 -1.9812,0.32959 -2.31445,-0.65918 -1.76148,-1.54357 -0.22156,-1.32019 v -1.54358 l 2.53418,-1.21216 -0.33142,-1.43189 -1.7633,0.43946 -5.06653,0.55114 -5.28809,0.44129 -2.64404,-0.55115 -0.10986,-2.86377 -0.88257,-2.20459 -0.32959,-0.54932 -1.65161,-0.33142 -2.53418,-0.55114 -2.53235,0.77087 -1.21216,0.88257 -0.55115,2.20276 -0.77087,2.31262 -2.64405,0.77087 -2.53418,0.22156 -2.86376,-0.22156 h -1.87317 l 0.21972,-1.21032 0.22156,-3.74634 v -2.75391 l -0.66101,-1.98303 -1.54358,-2.86377 -1.76147,0.66101 -2.97547,0.88074 h -1.43188 -1.87317 l -1.32202,-1.21216 -1.32203,-0.21973 -0.10986,2.0929 v 8.703 l -0.55115,1.1023 -0.88073,0.9906 -1.32202,0.77087 -3.96607,-0.21972 -1.87317,-0.88074 -3.30505,-0.44129 -4.29566,0.55115 -1.98303,0.55115 -1.98303,1.32202 -4.17664,0.35706 -0.009,1.07482 -0.22156,2.42432 1.10229,4.18579 2.64405,5.50782 1.98303,2.64587 1.65161,2.42432 0.33142,1.76147 -0.66101,5.06836 v 3.30505 l 2.20276,3.30506 0.9906,2.53418 -0.9906,2.53235 -1.87317,2.09472 -0.88074,2.53235 0.77088,3.74634 0.21972,2.0929 0.10987,2.86377 -0.55115,2.42431 -0.43945,4.51721 -1.1023,2.75391 2.20276,2.09473 2.31262,2.7539 0.88257,1.98304 0.32959,2.97363 0.77088,3.19519 3.19519,-0.43945 3.52478,0.21972 2.42431,0.77088 0.66101,2.97546 1.32203,3.74451 0.21972,2.31262 -1.54175,3.19519 -2.09289,3.41492 -0.77088,3.41491 -1.10229,2.09473 -2.31262,2.42249 -3.74634,-0.43946 -1.98303,1.87317 -2.64405,1.43189 -2.86377,2.31262 1.76331,1.32202 0.9906,2.0929 -0.10986,5.06836 -1.21216,2.53234 -3.52478,-0.10986 0.43945,7.16126 1.32202,3.63647 0.99244,2.0929 5.83923,4.18579 5.50781,3.19519 6.27869,5.28808 3.96606,4.73694 3.58155,5.67078 2.92236,-1.36414 6.62109,-1.94641 4.52637,-0.64636 1.48499,-2.93518 3.10547,-2.74109 -0.36438,-1.64612 -4.57032,-7.12829 v -2.74109 l 1.27991,-2.92603 2.37671,-1.82739 1.46301,-2.9242 0.73059,-2.3767 0.54749,-7.13013 1.64612,-1.46118 2.92419,-3.29041 1.46301,-2.0105 2.92603,1.8274 -0.36621,2.55981 1.82739,0.54932 2.1936,-4.38904 1.46302,-3.47351 2.55798,-2.9242 3.1073,-2.55981 -2.37488,-5.1178 5.1178,-4.2041 4.2041,-0.36621 1.82739,1.46301 5.72388,-2.20459 -2.03979,-7.78198 6.07361,-2.84363 3.23181,0.51636 3.1018,-1.67908 5.81726,2.19727 4.00635,0.12817 1.1023,-0.13733 c -0.0881,-0.247 -0.33614,-0.4948 -0.41565,-0.73425 -0.0633,-0.192 -0.12581,-0.42684 -0.16297,-0.66284 v -0.002 c -0.0371,-0.23663 -0.0495,-0.47383 -0.0165,-0.67383 0.06,-0.354 0.2875,-0.813 0.5365,-1.073 0.19,-0.198 0.53084,-0.39995 0.80384,-0.44495 0.295,-0.049 0.72044,0.0306 0.98144,0.17761 0.14,0.079 0.27172,0.21418 0.39185,0.36255 0.12012,0.14838 0.22876,0.30979 0.32226,0.44129 0.159,0.225 0.22278,0.64466 0.44678,0.80566 0.12107,0.0872 0.29181,0.13133 0.46875,0.15381 0.17775,0.0228 0.3632,0.0233 0.5127,0.0238 0.462,10e-4 1.10194,-0.0662 1.51794,-0.26916 0.14765,-0.0713 0.32306,-0.17612 0.47607,-0.30212 0.14773,-0.12162 0.2742,-0.26259 0.32776,-0.41199 0.057,-0.15975 0.068,-0.33722 0.0513,-0.52368 -0.0167,-0.18663 -0.0613,-0.38162 -0.11535,-0.57862 -0.108,-0.394 -0.25397,-0.79143 -0.29297,-1.12793 -0.043,-0.3735 -0.0286,-0.82105 -0.033,-1.26342 -0.004,-0.44238 -0.028,-0.8808 -0.14649,-1.2378 -0.0531,-0.16127 -0.16281,-0.32685 -0.28015,-0.48889 -3.1e-4,-4.4e-4 2.9e-4,-10e-4 0,-0.002 -0.003,-0.004 -0.005,-0.007 -0.007,-0.011 -0.12085,-0.16611 -0.25045,-0.32823 -0.33691,-0.47973 -0.044,-0.078 -0.12161,-0.16726 -0.18311,-0.26001 -0.0615,-0.0928 -0.10623,-0.18766 -0.0842,-0.27466 0.02,-0.079 0.0763,-0.13968 0.15198,-0.19043 0.11874,-0.0796 0.27885,-0.13886 0.42663,-0.20508 0.13467,-0.0607 0.25904,-0.12685 0.31311,-0.23071 0.099,-0.19 0.12636,-0.44349 0.11536,-0.7013 -0.011,-0.258 -0.0604,-0.51992 -0.11536,-0.72692 -0.055,-0.2085 -0.17525,-0.42975 -0.31127,-0.64454 -0.136,-0.21462 -0.28784,-0.42308 -0.40284,-0.60607 -0.276,-0.44 -0.67544,-1.00723 -0.98144,-1.42823 -0.258,-0.354 -0.58056,-0.85289 -0.89356,-1.16089 -0.18355,-0.18162 -0.43762,-0.34781 -0.6903,-0.51452 -0.005,-0.003 -0.008,-0.006 -0.0128,-0.009 -0.004,-0.003 -0.008,-0.006 -0.0128,-0.009 -0.2625,-0.173 -0.52378,-0.34783 -0.71228,-0.53833 -0.1755,-0.177 -0.39028,-0.39048 -0.57678,-0.62073 -0.1865,-0.23025 -0.34416,-0.47577 -0.40466,-0.71777 -0.046,-0.184 0.0177,-0.45123 0.0897,-0.62623 0.0516,-0.12387 0.12335,-0.27439 0.21423,-0.40832 10e-4,-0.002 0.002,-0.003 0.004,-0.004 7.2e-4,-0.001 0.003,-7.8e-4 0.004,-0.002 0.0893,-0.12997 0.19427,-0.24552 0.31311,-0.3003 0.391,-0.181 1.00923,-0.004 1.42823,0.0897 0.563,0.127 1.29711,0.40911 1.78711,0.71411 0.28237,0.17478 0.58022,0.42406 0.86609,0.68847 0.3013,0.27869 0.5888,0.57444 0.82946,0.82947 0.236,0.249 0.50933,0.54566 0.76538,0.8551 3.1e-4,3.7e-4 -3e-4,10e-4 0,0.002 0.005,0.007 0.0109,0.0134 0.0165,0.0202 0.003,0.004 0.006,0.009 0.009,0.0128 0.24602,0.2993 0.47511,0.60739 0.63721,0.89539 0.153,0.273 0.19805,0.71328 0.35705,0.98328 0.1345,0.2295 0.31162,0.49624 0.51087,0.73974 0.004,0.004 0.007,0.007 0.011,0.011 0.19655,0.2376 0.4149,0.45387 0.63904,0.58777 0.212,0.1265 0.4922,0.23981 0.78003,0.30945 0.28783,0.0696 0.58331,0.0956 0.82581,0.0476 0.2075,-0.0405 0.41327,-0.17662 0.60974,-0.33508 0.19647,-0.15846 0.38364,-0.33925 0.55114,-0.46875 0.587,-0.452 1.34206,-1.09284 1.875,-1.60584 0.683,-0.65794 1.49617,-1.62977 2.14417,-2.32177 0.452,-0.485 1.01694,-1.17367 1.51794,-1.60767 0.0589,-0.0511 0.14485,-0.0999 0.21241,-0.15015 l -1.16639,-0.79284 -0.45776,-0.64087 1.46301,-1.55274 1.37146,-1.55456 1.00525,-2.46826 0.0916,-0.73059 3.56323,-3.29041 3.93127,-4.93652 1.73584,-1.27808 1.87317,-1.2323 -0.3186,-2.9718 -0.45777,-1.55457 -0.91369,0.27466 -1.46301,1.37146 -2.0105,-0.64087 -1.8274,-2.74109 -2.84912,-4.62707 -4.83764,1.52344 -5.39795,1.32019 -2.31262,0.33142 -1.54175,-2.53418 -2.09473,-4.18579 -1.9812,-4.18579 -2.20459,-5.83924 -0.77087,-4.51904 -1.76331,-5.28809 -2.0929,-6.82983 -0.99243,-4.62708 -0.21972,-3.30505 -0.66102,-2.0929 -0.66101,-0.44128 -4.29565,-1.21216 -0.99243,-1.76147 z m 1.46118,19.48609 c 0.319,-0.009 0.64754,0.0266 0.91004,0.0696 0.486,0.079 1.15528,0.29388 1.51428,0.62988 0.372,0.347 0.54106,1.05611 0.75806,1.51611 0.319,0.674 0.70674,1.59134 1.01074,2.27234 0.34,0.758 0.84908,1.74603 1.13708,2.52503 0.234,0.629 0.50572,1.48699 0.63172,2.14599 0.078,0.411 0.24034,0.98677 0.12634,1.38977 -0.156,0.546 -0.58909,1.36312 -1.13709,1.51612 -0.58895,0.165 -1.36114,-0.45906 -1.89514,-0.75806 -0.495,-0.279 -1.15811,-0.69525 -1.51611,-1.13525 -0.396,-0.488 -0.61557,-1.32815 -0.88257,-1.89515 -0.339,-0.72 -0.78808,-1.68168 -1.13708,-2.39868 -0.333,-0.684 -0.96209,-1.53034 -1.13709,-2.27234 -0.078,-0.332 -0.028,-0.79708 0,-1.13708 0.038,-0.459 0.0837,-1.08716 0.25269,-1.51611 0.101,-0.254 0.26937,-0.61823 0.50537,-0.75623 0.2295,-0.134 0.53976,-0.18717 0.85876,-0.19592 z m -27.87231,13.93799 c 0.67169,-0.036 1.4667,0.64378 2.01233,1.02722 0.307,0.216 0.6514,0.5914 0.8844,0.8844 0.223,0.281 0.47471,0.68974 0.63171,1.01074 0.194,0.399 0.25137,1.02494 0.50537,1.38794 0.539,0.772 1.68968,1.40248 2.39868,2.02148 0.807,0.705 1.79037,1.75972 2.65137,2.39868 0.533,0.395 1.35714,0.74909 1.89514,1.13709 0.567,0.409 1.33697,0.96511 1.76697,1.51611 0.364,0.467 0.7274,1.19497 0.8844,1.76697 0.141,0.513 0.13134,1.2378 0.12634,1.7688 -0.004,0.418 -0.0283,0.98194 -0.12634,1.38794 -0.096,0.398 -0.27137,0.92943 -0.50537,1.26343 -0.263,0.374 -0.68509,0.94974 -1.13709,1.01074 -0.42,0.056 -0.90659,-0.39971 -1.26159,-0.63171 -0.452,-0.292 -0.96694,-0.80209 -1.38794,-1.13709 -0.488,-0.386 -1.13746,-0.90143 -1.64246,-1.26343 -0.445,-0.318 -1.06311,-0.70474 -1.51611,-1.01074 -0.722,-0.489 -1.68169,-1.14266 -2.39869,-1.64062 -0.64596,-0.45 -1.60999,-0.93912 -2.14599,-1.51612 -0.45,-0.487 -0.73009,-1.37314 -1.13709,-1.89514 -0.364,-0.465 -1.15677,-0.84694 -1.38977,-1.38794 -0.51,-1.184 -0.10734,-3.00582 -0.12634,-4.29382 -0.012,-0.834 -0.293,-1.99771 0,-2.77771 0.142,-0.377 0.4904,-0.92875 0.8844,-1.01075 0.0436,-0.009 0.0889,-0.0141 0.13367,-0.0165 z m 64.98047,42.19482 c -0.0443,0.0875 -0.0879,0.19839 -0.13184,0.28015 -0.212,0.393 -0.53966,0.89178 -0.80566,1.24878 -0.295,0.396 -0.70734,0.91561 -1.06934,1.25061 -0.269,0.247 -0.69727,0.48811 -0.98327,0.71411 -0.358,0.281 -0.82489,0.67345 -1.16089,0.98145 -0.1115,0.103 -0.25722,0.21292 -0.39185,0.33142 -0.13465,0.11873 -0.25826,0.24652 -0.32226,0.38452 -0.068,0.1465 -0.11542,0.33788 -0.13367,0.53101 -0.018,0.19271 -0.006,0.38633 0.0458,0.53833 0.0705,0.2065 0.2235,0.41696 0.40466,0.60425 0.1815,0.18725 0.39045,0.35141 0.57495,0.46691 0.237,0.148 0.61739,0.22917 0.89539,0.26917 0.29772,0.0439 0.65461,0.0809 1.00891,0.0879 0.002,4e-5 0.004,-4e-5 0.005,0 0.004,7e-5 0.007,-0.002 0.011,-0.002 0.33287,0.006 0.6642,-0.0135 0.9375,-0.0861 0.2085,-0.055 0.43096,-0.1743 0.64636,-0.30945 0.21525,-0.13512 0.42375,-0.28616 0.60425,-0.40466 0.336,-0.221 0.71016,-0.62683 1.07116,-0.80383 0.274,-0.134 0.68245,-0.20817 0.98145,-0.26917 0.43725,-0.0892 0.99684,-0.26715 1.49414,-0.29663 0.16576,-0.01 0.32558,-0.003 0.47058,0.0293 0.436,0.096 0.90778,0.51783 1.24878,0.80383 0.363,0.305 0.72017,0.84389 1.07117,1.16089 0.299,0.27 0.712,0.62683 1.07299,0.80383 0.273,0.134 0.70245,0.14539 0.98145,0.26733 0.347,0.152 0.74547,0.35627 1.1261,0.58777 0.38062,0.2315 0.74173,0.49057 1.01623,0.75257 0.306,0.292 0.58384,0.79806 0.80384,1.15905 0.268,0.44 0.63383,1.03095 0.80383,1.51795 0.144,0.412 0.27717,0.99405 0.26917,1.43005 -0.008,0.357 -0.14317,0.82589 -0.26917,1.16089 -0.0795,0.2135 -0.27428,0.43589 -0.44128,0.66101 -0.0835,0.11256 -0.16103,0.22548 -0.21241,0.33875 -0.0514,0.11322 -0.0772,0.22624 -0.0604,0.33874 0.003,0.0222 0.0214,0.0412 0.0293,0.0623 l 0.27832,-0.13916 3.26843,0.43396 1.27991,-0.41016 1.0968,-1.0968 -0.18311,-6.67236 -1.55456,-0.7782 -1.59851,-0.95947 -1.64612,-1.8274 -2.9718,-2.64953 -1.5857,-2.01233 -1.68091,-0.45227 -1.42273,0.32226 -2.58544,0.13001 z m -4.58313,15.71228 c -0.48302,0.0213 -0.99218,0.0779 -1.48865,0.12635 -0.004,3.5e-4 -0.007,-3.6e-4 -0.011,0 -0.45058,0.0437 -0.89286,0.0824 -1.28357,0.0714 -0.25545,-0.007 -0.55033,-0.0448 -0.84594,-0.0842 l 0.097,1.06933 h 3.48816 l 2.86194,-0.63354 c -0.29671,-0.0432 -0.62663,-0.15643 -0.95764,-0.26917 -0.004,-10e-4 -0.009,-0.002 -0.0128,-0.004 -0.33447,-0.11351 -0.66917,-0.22561 -0.96863,-0.25818 -0.2735,-0.0297 -0.57026,-0.0319 -0.8789,-0.0183 z
251
+ `);
252
+ }
253
+ renderCantonNE(group) {
254
+ this.renderCanton(group, 'NE', `
255
+ m 239.85536,224.07716 -4.62891,0.0787 c -0.942,2.156 -4.01346,3.86869 -5.80444,5.47669 -1.052,0.944 -2.46803,2.19504 -3.59803,3.04504 -1.196,0.901 -2.922,1.91173 -4.151,2.76673 -0.927,0.64598 -1.95621,1.90574 -3.04321,2.21374 -1.041,0.295 -2.54402,-0.52366 -3.59802,-0.27466 -0.471,0.111 -1.02928,0.50147 -1.38428,0.82947 -0.525,0.485 -0.87928,1.43226 -1.38428,1.93726 -0.505,0.505 -1.33325,1.00427 -1.93725,1.38427 l -0.94849,0.27466 1.90247,4.01917 -0.84595,1.90246 -3.38379,0.84778 -3.80859,-0.2124 -1.05652,0.84595 -0.42481,2.96081 -0.84595,1.6919 -1.05651,1.69189 h -3.38562 l -0.84595,1.90247 v 1.90246 l 2.53967,0.84778 0.63355,1.90247 -0.21057,1.90246 -2.53968,1.05835 -2.53784,0.21057 -3.38379,1.9043 -2.96081,5.92163 -2.95899,4.65271 -1.9043,1.26892 -5.71106,0.21057 -2.74841,1.48133 -6.1322,2.32544 -5.71106,2.11487 -4.65271,1.69189 -2.75025,1.05835 -1.69006,-0.42481 -3.17322,3.38379 -5.71106,6.34644 -3.80676,5.71106 2.53784,3.17139 2.75025,3.80676 2.53784,2.32544 -0.63538,6.13403 c 0,0 0.57235,3.70854 -0.14465,6.80054 l 16.43188,-2.33276 9.1919,-6.00953 5.65613,-2.65136 7.77832,-2.12036 3.71338,-4.77356 6.54052,-4.24256 5.30274,-4.94934 3.18237,-1.23596 2.29798,5.47851 -1.41358,4.06678 3.18238,1.94275 0.70678,7.24914 2.65137,1.94275 0.097,0.30945 c 0.55202,-0.49446 1.27871,-0.95603 1.57104,-1.53992 0.239,-0.48 0.0459,-1.2738 0.25086,-1.7688 0.72599,-1.74899 2.51945,-3.64505 3.78845,-5.05005 0.898,-0.99499 2.36408,-2.05439 3.28308,-3.03039 0.738,-0.783 1.29834,-2.31671 2.27234,-2.77771 0.342,-0.162 0.89959,0.109 1.26159,0 0.524,-0.158 1.06212,-0.70674 1.51612,-1.01074 0.455,-0.303 1.01111,-0.80175 1.51611,-1.01075 0.357,-0.148 0.87643,-0.25268 1.26343,-0.25268 0.386,0 0.90643,0.39968 1.26343,0.25268 0.252,-0.105 0.42637,-0.49605 0.50537,-0.75805 0.176,-0.581 -0.038,-1.41466 0,-2.01966 0.038,-0.61 -0.18115,-1.58948 0.25085,-2.02148 0.433,-0.433 1.41249,-0.21469 2.02149,-0.25269 0.454,-0.028 1.06111,0 1.51611,0 0.303,0 0.73574,0.127 1.01074,0 0.635,-0.292 1.27228,-1.11196 1.51428,-1.76696 0.157,-0.427 0,-1.06112 0,-1.51612 0,-0.984 -0.12,-2.30508 0,-3.28308 0.076,-0.621 0.28838,-1.43365 0.50538,-2.01965 0.236,-0.636 0.61474,-1.47149 1.01074,-2.02149 0.314,-0.435 0.85943,-0.91242 1.26343,-1.26342 0.286,-0.248 0.65174,-0.63806 1.01074,-0.75806 0.646,-0.216 1.60934,0.156 2.27234,0 0.661,-0.156 1.46965,-0.61291 2.01965,-1.00891 0.609,-0.439 1.1078,-1.41663 1.7688,-1.77063 0.681,-0.364 1.76102,-0.38454 2.52502,-0.50354 0.677,-0.106 1.65334,0.0443 2.27234,-0.25269 0.289,-0.14 0.54806,-0.51605 0.75806,-0.75805 0.249,-0.286 0.47106,-0.76375 0.75806,-1.01075 0.84699,-0.73 2.34508,-1.1578 3.28308,-1.76879 0.723,-0.472 1.55851,-1.27897 2.2705,-1.76697 0.729,-0.499 1.67303,-1.28012 2.52503,-1.51612 0.657,-0.182 1.60117,-0.108 2.27417,0 0.473,0.077 1.09928,0.26738 1.51428,0.50537 0.7,0.401 1.37149,1.2938 2.02149,1.7688 0.34122,0.24782 0.78217,0.64423 1.20117,0.73792 l -1.53076,-1.42822 c 0,0.023 0.87492,-1.90746 1.26892,-2.72644 0.37,-0.766 0.89992,-1.77085 1.26892,-2.53785 0.394,-0.819 0.74892,-2.00524 1.26892,-2.75024 0.462,-0.662 1.2803,-1.39047 1.9043,-1.90247 0.708,-0.58 1.76184,-1.20789 2.53784,-1.69189 0.748,-0.466 1.73884,-1.10549 2.53784,-1.47949 0.672,-0.316 1.60044,-0.68395 2.32544,-0.84595 0.683,-0.152 1.63144,-0.1174 2.32544,-0.2124 0.65331,-0.0892 1.94507,-0.35954 2.14416,-0.401 -0.0244,-0.0618 -0.049,-0.12188 -0.0806,-0.17029 -0.162,-0.247 -0.60772,-0.46123 -0.63172,-0.75623 -0.017,-0.221 0.23103,-0.46771 0.37903,-0.63171 0.254,-0.281 0.69074,-0.55406 1.01074,-0.75806 0.471,-0.301 1.13146,-0.6554 1.64246,-0.8844 0.34824,-0.15582 0.76324,-0.29822 1.18469,-0.43945 l 0.50171,-2.59644 0.31311,-3.73901 -0.93567,-3.27026 -6.54236,-4.36341 -7.01294,-3.73901 -1.71386,-1.08948 -5.9198,0.15564 -8.4137,1.08948 -5.1416,2.49389 -4.36157,2.18079 -3.42774,1.55823 -3.58337,1.55823 -0.62256,-3.73902 2.18079,-2.80334 1.0913,-4.20777 -0.46691,-5.9198 -1.7157,-3.72985 z
256
+ `);
257
+ }
258
+ renderCantonNW(group) {
259
+ this.renderCanton(group, 'NW', `
260
+ m 549.84743,275.67811 -3.1018,1.68091 -3.23181,-0.51636 -6.07361,2.84363 2.04162,7.78198 7.06971,-2.18261 7.13012,1.46118 3.55408,1.23596 c 0.055,-0.056 0.11399,-0.10505 0.17578,-0.13916 0.309,-0.169 0.81389,-0.11261 1.16089,-0.17761 0.485,-0.092 1.14584,-0.17806 1.60583,-0.35706 0.548,-0.214 1.17639,-0.70844 1.69739,-0.98144 0.445,-0.233 1.15095,-0.36912 1.51795,-0.71412 0.244,-0.23 0.47267,-0.65327 0.53467,-0.98327 0.041,-0.212 0.0673,-0.56428 -0.0897,-0.71228 -0.293,-0.276 -0.9385,-0.0405 -1.3385,-0.0916 -0.433,-0.055 -1.05822,-0.0363 -1.42822,-0.26734 -0.228,-0.142 -0.4455,-0.46211 -0.5365,-0.71411 -0.183,-0.504 -0.11072,-1.24928 -0.0897,-1.78528 0.024,-0.621 0.20216,-1.43644 0.26916,-2.05444 0.034,-0.32 0.15589,-0.75617 0.0879,-1.07117 -0.005,-0.0225 -0.0195,-0.0452 -0.0275,-0.0677 l -1.10413,0.13916 -4.00635,-0.13 z m 23.71033,1.44287 c -0.18637,0.0137 -0.36327,0.0454 -0.52002,0.10437 -0.568,0.215 -1.08994,0.90834 -1.51794,1.34033 -0.375,0.378 -0.84189,0.91351 -1.16089,1.33851 -0.534,0.714 -1.09784,1.76839 -1.60584,2.49939 -0.229,0.33 -0.57983,0.73816 -0.80383,1.07116 -0.437,0.648 -0.90133,1.58706 -1.34033,2.23206 -0.322,0.475 -0.82106,1.05494 -1.15906,1.51794 -0.442,0.606 -0.84705,1.58245 -1.43005,2.05445 -0.43,0.348 -1.18756,0.49811 -1.69556,0.71411 -0.563,0.239 -1.337,0.51183 -1.875,0.80383 -0.425,0.229 -0.89533,0.70556 -1.34033,0.89356 -0.354,0.149 -0.87061,0.21616 -1.25061,0.26916 -0.15463,0.0218 -0.33913,0.0221 -0.52002,0.0348 l -1.83106,3.52661 -1.27807,2.19361 0.36438,1.64611 0.91369,2.74292 2.01233,0.91187 3.1073,1.46301 2.74109,-1.0968 2.19361,0.36438 -1.09681,6.76392 -0.73059,5.66711 -1.09863,8.04199 v 4.57032 l 0.36621,3.83972 -1.46301,3.47168 -1.27808,1.82922 9.84741,8.25623 5.72205,3.62182 1.38611,1.37146 3.1366,-2.60193 0.64453,-1.42272 v -1.16272 l -1.16272,-1.29273 -1.55091,-0.77454 -2.45544,-1.81091 -1.42273,-2.58362 -1.68091,-2.19726 -0.90454,-2.58545 -0.77454,-4.39636 -0.25817,-3.87635 -0.26001,-3.35998 0.90454,-1.68091 h 1.68091 l 1.42273,1.16272 0.12817,0.90454 -1.4209,0.64636 0.13001,1.03455 1.80908,0.64636 1.5509,-0.26001 2.19727,-1.29272 1.80908,-2.19544 3.23181,3.22998 9.17358,-0.53833 -0.0201,-6.67785 1.56189,-4.06312 -0.68664,-1.18652 -0.68848,0.18677 -0.18677,-1.49964 -1.81274,0.12452 2.37488,-3.43689 2.37487,-1.18836 3.75001,-1.37512 3.31237,-1.99951 2.18811,-1.81275 1.31287,-0.56213 3.12378,-2.06177 2.43896,-3.06152 3.62366,-2.62573 1.18836,-1.49964 -0.24903,-2.8125 0.18677,-2.43713 1.56189,-1.93909 1.37512,-1.43738 -0.24902,-1.12426 -0.16663,-0.52918 c -0.49499,0.28064 -0.93011,0.92527 -1.41906,1.18286 -0.765,0.403 -2.01056,0.38684 -2.76856,0.80384 -0.532,0.292 -1.01994,0.99333 -1.51794,1.34033 -0.325,0.227 -0.80289,0.45739 -1.16089,0.62439 -0.653,0.306 -1.55506,0.64555 -2.23206,0.89355 -0.716,0.263 -1.68367,0.57384 -2.40967,0.80384 -0.8,0.25399 -1.87683,0.55883 -2.67883,0.80383 -0.43,0.132 -1.00105,0.31294 -1.43005,0.44494 -0.615,0.19 -1.41945,0.51723 -2.05445,0.62623 -0.581,0.101 -1.38389,0.19872 -1.96289,0.0897 -0.26,-0.049 -0.55383,-0.27506 -0.80383,-0.35706 -0.834,-0.273 -2.04928,-0.28639 -2.85828,-0.62439 -0.501,-0.209 -1.02894,-0.74828 -1.51794,-0.98327 -0.611,-0.293 -1.48334,-0.55712 -2.14234,-0.71412 -0.89599,-0.214 -2.12389,-0.32294 -3.03588,-0.44494 -0.669,-0.09 -1.57906,-0.0982 -2.23206,-0.26917 -0.477,-0.124 -1.09694,-0.36739 -1.51794,-0.62439 -0.39,-0.236 -0.82489,-0.67344 -1.16089,-0.98144 -0.223,-0.205 -0.60511,-0.43295 -0.71411,-0.71595 -0.173,-0.45099 -0.0623,-1.14783 0.0897,-1.60583 0.122,-0.367 0.43611,-0.80317 0.71411,-1.07117 0.294,-0.283 0.78689,-0.54911 1.16089,-0.71411 0.536,-0.235 1.301,-0.4265 1.875,-0.5365 0.529,-0.101 1.25428,-0.0886 1.78528,-0.17761 0.57,-0.097 1.334,-0.24178 1.875,-0.44678 0.426,-0.161 1.1245,-0.31211 1.3385,-0.71411 0.127,-0.237 0.11411,-0.71655 -0.0879,-0.89355 -0.585,-0.512 -1.81212,0.0757 -2.58912,0.0897 -0.88499,0.016 -2.06399,-0.038 -2.94799,0 -0.617,0.027 -1.43562,0.15244 -2.05262,0.17944 -0.723,0.031 -1.6945,0.096 -2.41149,0 -0.005,-7e-4 -0.0112,-0.003 -0.0165,-0.004 l -2.86927,0.63354 h -3.48816 l -0.097,-1.07116 c -0.29689,-0.0396 -0.59407,-0.0812 -0.84961,-0.0952 -0.50175,-0.0255 -1.15291,-0.14552 -1.71204,-0.10437 z
261
+ `);
262
+ }
263
+ renderCantonOW(group) {
264
+ this.renderCanton(group, 'OW', `
265
+ m 546.55337,285.28382 -7.06604,2.17713 -5.72937,2.20825 -1.8274,-1.46118 -4.2041,0.36438 -5.1178,4.2041 2.37488,5.1178 -3.1073,2.55981 -2.55798,2.92603 -1.46301,3.47351 -2.19361,4.38721 -1.82739,-0.54932 0.36621,-2.55798 -2.92603,-1.82923 -1.46301,2.01233 -2.92419,3.28858 -1.64612,1.46301 -0.54749,7.1283 -0.73059,2.3767 -1.46301,2.92603 -2.37671,1.82739 -1.27991,2.9242 v 2.74292 l 4.57032,7.12829 0.36438,1.64612 -3.10547,2.74109 -1.49231,2.92603 2.02514,0.30944 7.79114,1.08948 2.80335,0.78003 7.01111,5.60852 6.23108,2.18079 5.45471,-2.33826 2.95898,-0.93384 5.60852,-0.15564 3.42774,-0.62255 4.67468,1.8695 4.82849,3.11463 6.38855,-4.67286 3.42774,-3.11645 3.62182,-1.51978 3.97339,-1.71386 0.70496,-1.13343 -9.85108,-8.25256 1.27991,-1.82922 1.46301,-3.47168 -0.36621,-3.83973 v -4.57031 l 1.0968,-8.04199 0.73059,-5.66711 1.09681,-6.76392 -2.19178,-0.36438 -2.74292,1.0968 -3.1073,-1.46301 -2.01049,-0.9137 -0.9137,-2.74109 -0.36621,-1.64612 1.27991,-2.1936 1.82922,-3.52478 c -0.28471,0.0199 -0.57266,0.0464 -0.81848,0.0549 -0.535,0.018 -1.25528,0.074 -1.78528,0 -0.388,-0.062 -1.11844,-2.1e-4 -1.25244,-0.36621 -0.1,-0.272 0.3395,-0.59183 0.5365,-0.80383 0.208,-0.224 0.55583,-0.44539 0.80383,-0.62439 0.313,-0.226 0.77817,-0.46211 1.07117,-0.71411 0.302,-0.26 0.62672,-0.68545 0.89172,-0.98145 0.14259,-0.16069 0.28433,-0.40608 0.45227,-0.57678 l -3.55591,-1.23779 z m 24.87488,36.15052 -0.90271,1.68091 0.25817,3.35998 0.25818,3.87635 0.77454,4.39636 0.90637,2.58545 1.68091,2.19726 1.4209,2.58362 2.45544,1.81091 1.55091,0.77454 1.16455,1.29273 v 1.16272 l -0.64637,1.42272 -3.14025,2.59644 1.46301,1.90613 4.09057,-3.23181 5.68543,2.72278 2.79419,-0.29114 1.46301,0.1831 1.82739,0.45594 1.09681,0.73059 3.01757,-2.83265 -0.1831,-0.91369 -1.46301,-2.37671 -1.46302,-1.27808 0.36438,-1.92077 -4.20227,-1.00525 0.0916,-1.0968 1.82739,0.0915 1.18835,-0.45777 0.54932,-1.55456 -0.9137,-1.46118 -1.18835,-1.0968 1.55273,-4.47876 2.56165,-2.74292 3.83789,-2.0105 -0.36621,-2.55982 -2.10205,-0.64087 -1.27991,-0.54748 -4.31213,0.0128 -9.17908,0.531 -3.22998,-3.22998 -1.81092,2.19544 -2.19726,1.29272 -1.5509,0.26001 -1.80909,-0.64636 -0.13,-1.03455 1.42273,-0.64636 -0.13001,-0.90454 -1.42273,-1.16272 z
266
+ `);
267
+ }
268
+ renderCantonSG(group) {
269
+ this.renderCanton(group, 'SG', `
270
+ m 782.64957,102.44751 -1.11512,1.11512 -2.63488,0.30395 -2.94068,0.5072 -2.22839,0.40467 -1.21765,2.12768 -2.12952,1.11511 -1.11328,0.50721 -0.20325,1.21582 2.83814,0.60791 1.62231,-0.80933 2.63489,-0.20325 2.53418,2.93885 0.91187,4.35791 0.40649,2.12951 -2.83814,1.21582 -4.15649,0.50721 -4.15649,1.62231 -2.83814,1.21582 -3.34351,-0.30395 -3.75183,-2.63672 -2.02697,-1.21582 -4.35791,0.40466 -1.41907,-1.51978 -0.71045,-1.82556 -1.51978,-0.10071 -2.23022,-0.60791 -3.75,-3.14392 -1.11511,3.24463 -3.6493,3.44605 -2.73559,0.91186 -5.37232,0.50721 -2.94067,-1.72486 -1.92627,-2.02698 -4.45862,-2.12768 -2.94067,-0.5072 -2.83631,1.31836 -3.85437,0.91186 -1.72302,1.82373 -0.10071,2.43347 1.92444,3.34534 1.82556,1.31836 3.85254,3.04138 1.52161,1.01258 -0.5072,4.05395 -1.31836,2.23022 h -3.95325 l -5.1709,0.60792 -1.11328,1.5216 -0.9137,4.96765 -2.02697,1.72303 -1.11328,3.24279 -0.62256,2.09656 -1.21765,0.50171 -1.36231,1.79077 -1.9281,1.06751 1.04736,2.40234 2.56165,5.48035 3.09448,4.85962 0.79651,5.83374 -0.8844,3.88916 -4.15466,0.70678 -2.91687,2.74109 -2.03247,2.29798 0.61889,2.03247 1.41358,-0.44129 0.44128,1.14808 -1.67908,3.71337 0.0879,3.00477 -5.74401,1.50329 -4.65821,1.62048 -2.18811,1.62415 -1.56189,0.93933 h -2.24853 l -4.00086,-0.56213 -2.25036,-1.25061 -2.56165,-0.56214 -2.37488,0.75074 -1.93725,1.99951 -1.25061,2.06177 0.49987,1.68823 v 0.0128 c 0.39091,-0.15638 0.96205,-0.14879 1.3147,-0.3534 0.417,-0.241 0.70109,-0.93108 1.13709,-1.13708 0.345,-0.163 0.88159,-0.13035 1.26159,-0.12635 0.306,0.004 0.71375,0.0554 1.01075,0.12635 0.548,0.13 1.35579,0.24771 1.76879,0.63171 0.483,0.451 0.6324,1.40949 0.8844,2.02149 0.279,0.67598 0.4684,1.6695 0.8844,2.2705 0.29,0.42 0.8616,0.82009 1.2616,1.13709 0.47,0.372 1.08446,0.91808 1.64246,1.13708 0.748,0.293 1.84936,0.37103 2.65136,0.37903 0.611,0.005 1.46249,-0.006 2.02149,-0.25268 0.319,-0.142 0.54657,-0.66206 0.88257,-0.75806 0.479,-0.137 1.16145,0.12068 1.64245,0.25268 0.394,0.107 0.87543,0.38038 1.26343,0.50538 0.595,0.192 1.3975,0.55237 2.02148,0.50537 0.491,-0.036 1.04029,-0.49872 1.51429,-0.63172 0.48,-0.135 1.15445,-0.14968 1.64245,-0.25268 0.576,-0.12 1.32916,-0.34237 1.89514,-0.50537 0.61,-0.177 1.42249,-0.41789 2.02149,-0.62989 0.576,-0.205 1.32131,-0.54005 1.89331,-0.75805 0.414,-0.158 0.97777,-0.34037 1.38977,-0.50537 0.342,-0.135 0.75859,-0.49171 1.13159,-0.50171 0.527,-0.013 1.21646,0.31971 1.64246,0.63171 0.195,0.143 0.43937,0.39771 0.50537,0.63171 0.083,0.294 0.008,0.73575 -0.12634,1.01075 -0.0792,0.16171 -0.20479,0.31448 -0.34607,0.46325 l 1.07666,1.10413 1.63696,0.97229 0.21973,7.95593 0.66284,2.34192 2.51953,-0.44128 2.90772,0.73059 c 0.52997,1.962 2.96043,3.71285 4.47143,5.07385 3.012,2.714 7.7082,5.48269 10.97717,7.88269 0.681,0.499 1.5332,1.2424 2.2522,1.6864 0.964,0.596 2.2673,1.46907 3.3783,1.69007 1.162,0.23 2.63813,-0.81393 3.78113,-1.12793 0.89865,-0.24689 3.14038,-0.85261 3.19702,-0.86792 0.16172,-0.20717 0.32379,-0.46597 0.52734,-0.58777 0.424,-0.252 1.11567,-0.31406 1.60767,-0.35706 0.615,-0.054 1.43861,0.0297 2.05261,0.0897 0.539,0.052 1.26011,0.14317 1.78711,0.26917 0.164,0.039 0.37867,0.11261 0.53467,0.17761 0.332,0.138 0.75016,0.3765 1.07116,0.5365 0.215,0.107 0.47912,0.31206 0.71412,0.35706 0.63297,0.122 1.50116,-0.12245 2.14416,-0.17945 0.294,-0.026 0.69045,-0.14472 0.98145,-0.0897 0.294,0.055 0.60855,0.35578 0.89355,0.44678 0.336,0.107 0.80889,0.21144 1.16089,0.17944 0.481,-0.045 1.04394,-0.4395 1.51794,-0.5365 0.421,-0.086 1.00623,-0.16972 1.42823,-0.0897 0.436,0.082 0.9075,0.52022 1.3385,0.62622 0.573,0.141 1.39455,-0.0551 1.96655,0.0879 0.604,0.152 1.295,0.66656 1.875,0.89356 0.418,0.164 0.99822,0.3178 1.42822,0.44677 0.374,0.111 0.86278,0.30123 1.24878,0.35523 0.292,0.041 0.68645,0.005 0.98145,0 0.884,-0.013 2.08719,0.11811 2.94616,-0.0879 0.49,-0.117 1.02878,-0.60594 1.51978,-0.71594 0.496,-0.11 1.18856,-0.047 1.69556,0 0.434,0.041 1.00705,0.16016 1.43005,0.26916 0.491,0.127 1.09984,0.48367 1.60584,0.53467 0.885,0.09 2.05716,-0.31423 2.94616,-0.35523 0.964,-0.045 2.26053,-0.0633 3.2135,0.0897 0.552,0.089 1.28628,0.28266 1.78528,0.53466 0.359,0.181 0.88,0.45084 1.073,0.80384 0.18,0.33 0.21989,0.89861 0.0879,1.25061 -0.107,0.284 -0.53211,0.47211 -0.71411,0.71411 -0.167,0.22 -0.22878,0.63383 -0.44678,0.80383 -0.24,0.189 -0.68561,0.18534 -0.97961,0.26734 -0.376,0.104 -0.86361,0.30905 -1.25061,0.35705 -0.826,0.101 -1.93856,-0.12772 -2.76856,-0.0897 -0.431,0.021 -1.00522,0.26644 -1.42822,0.17944 -0.365,-0.074 -0.71,-0.54239 -1.073,-0.62439 -0.314,-0.071 -0.75919,0.0107 -1.07116,0.0897 -0.453,0.114 -0.96623,0.54639 -1.42823,0.62439 -0.662,0.11 -1.55922,-0.16745 -2.23022,-0.17945 -0.617,-0.012 -1.44445,7.2e-4 -2.05445,0.0897 -0.547,0.079 -1.23611,0.40078 -1.78711,0.44678 -0.69597,0.058 -1.62394,-0.12744 -2.31994,-0.17944 -0.75,-0.055 -1.74922,-0.19061 -2.50122,-0.17761 -0.511,0.008 -1.18339,0.18644 -1.69739,0.17944 -0.595,-0.009 -1.38589,-0.12534 -1.96289,-0.26734 -0.691,-0.16897 -1.55806,-0.57483 -2.23206,-0.80383 -0.586,-0.198 -1.36855,-0.46722 -1.96655,-0.62622 -0.26374,-0.0698 -0.58283,-0.13795 -0.88806,-0.19775 v 1.34399 l 0.20325,3.44605 0.40466,7.70324 0.20142,2.73743 -3.14209,4.05396 -2.53418,0.91369 -3.54676,1.11328 -1.0144,0.60791 -0.30579,1.92627 0.71045,2.02698 1.31653,1.72485 2.63672,0.81116 5.27161,0.30396 2.22839,-1.01441 2.12952,-1.11511 2.33093,-0.70862 2.02698,0.70862 2.73742,1.92627 1.01258,4.96765 1.31836,7.19605 0.40466,10.33996 -2.23023,2.63672 -0.80932,0.91187 2.12768,1.82373 1.82373,2.12951 1.62232,3.64747 -0.72327,3.33435 3.86536,4.06677 1.11511,-0.60791 1.82373,-1.31836 2.02698,-0.30396 2.53418,0.10254 2.83813,1.01258 3.75,0.91186 5.6781,0.71045 6.4856,0.40466 4.25903,1.01441 3.14209,1.21582 4.86512,2.63672 3.44604,1.72302 0.71045,-0.60791 0.91187,-1.51978 0.20141,-1.92627 -0.70862,-2.43347 3.54859,-0.10254 -0.10254,-2.23022 -1.01441,-2.02698 0.30396,-3.03955 1.72485,-4.2572 3.75,-4.1565 3.95325,-6.89209 1.21582,-2.73742 2.12952,-1.01441 3.40942,-1.84387 c -0.607,-0.914 -1.75086,-1.8832 -2.38586,-2.7832 -0.555,-0.787 -1.18402,-1.91587 -1.59302,-2.78687 -0.868,-1.848 -1.5007,-4.53041 -2.3877,-6.36841 -0.908,-1.88197 -2.75137,-4.05407 -3.58337,-5.97107 -0.346,-0.798 -0.31421,-2.06352 -0.78918,-2.79052 -0.528,-0.705 -1.73669,-0.87036 -1.99769,-1.58936 -0.226,-0.62 0.0598,-1.61315 0.4358,-2.15515 0.45397,-0.655 1.68719,-0.84708 2.25219,-1.40808 0.781,-0.775 1.32605,-2.20432 1.97205,-3.09632 0.703,-0.97297 1.96935,-2.03631 2.53235,-3.09631 0.414,-0.778 0.62211,-1.96233 0.84411,-2.81433 0.197,-0.754 0.47814,-1.75935 0.56214,-2.53235 0.102,-0.924 0.158,-2.18131 0,-3.09631 -0.214,-1.237 -0.96225,-2.76743 -1.40625,-3.94043 -0.322,-0.851 -0.8051,-1.96619 -1.1261,-2.81616 -0.444,-1.174 -0.93225,-2.7766 -1.40625,-3.9386 -0.457,-1.119 -1.34809,-2.50128 -1.69006,-3.66028 -0.169,-0.572 -0.16516,-1.38422 -0.28016,-1.97022 -0.201,-1.024 -0.61594,-2.35829 -0.84594,-3.37829 -0.188,-0.84 -0.40714,-1.96833 -0.56214,-2.81433 -0.186,-1.011 -0.43813,-2.3583 -0.56213,-3.3783 -0.133,-1.093 -0.39298,-2.56245 -0.28198,-3.65845 0.062,-0.611 0.28113,-1.42321 0.56213,-1.97021 0.496,-0.961 1.6042,-1.94933 2.2522,-2.81433 0.618,-0.825 1.37704,-1.97336 1.97204,-2.81433 0.839,-1.187 2.04736,-2.70746 2.81433,-3.94043 0.66,-1.058 1.59922,-2.47028 1.97022,-3.66028 0.228,-0.729 0.20415,-1.77135 0.28015,-2.53235 0.094,-0.928 -0.061,-2.22932 0.28198,-3.09632 0.353,-0.89597 1.20822,-1.9452 1.97022,-2.53417 0.51,-0.393 1.43904,-0.48312 1.97204,-0.84412 0.692,-0.469 1.53822,-1.25422 1.97022,-1.97022 0.592,-0.984 0.8001,-2.55744 1.1261,-3.65844 0.176,-0.59 0.27513,-1.42805 0.56213,-1.97205 0.309,-0.583 0.86125,-1.31623 1.40625,-1.68823 0.441,-0.301 1.24207,-0.27114 1.69007,-0.56214 1.15297,-0.74697 2.37231,-2.20846 3.09631,-3.37646 0.619,-1 0.89725,-2.60028 1.40625,-3.66028 0.508,-1.057 1.44405,-2.3303 1.97205,-3.3783 0.57797,-1.14897 1.0614,-2.81643 1.6864,-3.94043 0.502,-0.89997 1.42004,-1.94433 1.97204,-2.81433 0.364,-0.575 0.8051,-1.36921 1.1261,-1.97021 0.356,-0.666 0.4471,-1.9202 1.1261,-2.2522 0.387,-0.188 0.97825,0.23898 1.40625,0.28198 1.009,0.1 2.3673,0.071 3.3783,0 0.596,-0.043 1.40821,-0.077 1.97021,-0.28198 0.748,-0.273 1.9162,-0.68425 2.2522,-1.40625 0.248,-0.542 -0.10582,-1.40121 -0.28382,-1.97021 -0.112,-0.361 -0.36113,-0.8071 -0.56213,-1.1261 -0.514,-0.815 -1.26705,-1.87818 -1.97205,-2.53418 -0.22297,-0.207 -0.69911,-0.29414 -0.84411,-0.56214 -0.278,-0.521 -0.064,-1.38221 0,-1.97021 0.086,-0.773 0.50213,-1.75818 0.56213,-2.53418 0.105,-1.35 -0.0222,-3.1754 -0.28015,-4.5044 -0.306,-1.57197 -1.77406,-3.46469 -1.69006,-5.06469 0.054,-1.019 1.46708,-2.07732 1.40808,-3.09632 -0.027,-0.492 -0.56212,-1.00408 -0.84412,-1.40808 -0.309,-0.443 -0.6641,-1.12708 -1.1261,-1.40808 -0.735,-0.447 -2.02733,-0.2093 -2.81433,-0.5603 -0.771,-0.345 -1.58522,-1.17309 -2.25219,-1.69006 -0.428,-0.331 -0.87609,-1.0301 -1.40809,-1.1261 -0.263,-0.047 -0.59411,0.18998 -0.84411,0.28198 -0.428,0.156 -0.96025,0.47713 -1.40625,0.56213 -0.083,0.016 -0.19698,0 -0.28198,0 -0.422,0 -1.03128,0.193 -1.40625,0 -0.646,-0.332 -0.99609,-1.37121 -1.40809,-1.97021 -0.173,-0.25 -0.40413,-0.58412 -0.56213,-0.84412 -0.547,-0.906 -1.05523,-2.25014 -1.68823,-3.09814 -0.501,-0.669 -1.40305,-1.35622 -1.97205,-1.97022 -0.528,-0.571 -1.31923,-1.28421 -1.68823,-1.97021 -0.291,-0.542 -0.56216,-1.96999 -0.54016,-1.88599 l -0.0861,-0.16479 c -0.1419,0.29373 -0.29565,0.61091 -0.40466,0.8789 -0.182,0.449 -0.2845,1.10778 -0.5365,1.51978 -0.366,0.597 -1.04067,1.28355 -1.60767,1.69555 -0.504,0.367 -1.277,0.71656 -1.875,0.89356 -0.985,0.291 -2.37495,0.30995 -3.39294,0.44495 -0.804,0.106 -1.87384,0.25805 -2.67884,0.35705 -0.481,0.059 -1.12183,0.21144 -1.60583,0.17944 -0.88,-0.06 -2.04245,-0.37394 -2.85645,-0.71594 -1.043,-0.437 -2.27833,-1.33089 -3.21533,-1.96289 -0.968,-0.653 -2.18661,-1.62878 -3.12561,-2.32178 -0.291,-0.215 -0.60933,-0.44598 -0.93933,-0.68298 l 0.83679,-1.72852 0.40466,-1.62048 -2.83813,-2.23022 -2.43347,-0.91187 -0.004,0.002 2.43347,0.91187 2.83813,2.23022 -0.40649,1.62049 -1.51978,3.14209 -2.73742,2.12951 -2.53418,-0.5072 -2.12769,-1.82373 0.10071,-2.93884 1.72302,-3.14209 1.33484,-0.97046 c 0.028,-0.192 0.036,-0.37884 -0.022,-0.53284 -0.224,-0.605 -1.07367,-1.06805 -1.60767,-1.43005 -0.13327,-0.0903 -0.31308,-0.16473 -0.47607,-0.24536 l -1.5564,2.1643 -1.62231,1.31653 -2.93885,2.73743 -3.14392,1.31653 -1.01257,3.44604 -0.71045,3.24463 -1.62232,-0.60791 -3.03955,-0.91187 -0.5072,-2.53418 -2.63672,-3.64929 -2.33093,-0.40466 -2.83814,-2.53418 0.30396,-0.30579 0.91187,-1.92627 -1.72303,-0.40466 1.21582,-2.43347 z m 41.7279,21.2677 3.50098,0.12635 3.25012,2.37488 4.12354,2.25036 4.50073,1.49964 5.00061,2.75024 2.12402,1.24878 -3.86901,4.37439 -1.81641,1.53076 -3.62183,1.32019 -2.56897,2.02698 -4.00085,0.87524 -1.74866,1.875 -1.58386,0.99244 -2.73926,-0.37171 -2.56348,-0.2655 -2.73742,-0.0897 -1.06384,0.69397 -1.18653,3.16406 -1.62597,4.12537 v 2.25036 l 1.25061,2.49939 0.41564,2.29981 0.88257,4.32495 -0.0879,4.86145 -1.32568,7.3352 -2.12036,5.65613 -3.62366,4.86145 -6.27502,6.09924 -2.82898,2.12037 -4.42017,2.56347 -1.5033,0.8844 -3.44604,-0.0897 -2.91687,-1.14807 -6.17432,-3.81226 -2.7008,2.16797 -4.12354,-2.12585 -5.00061,-3.25012 -2.49939,-1.99952 -2.37488,1.49964 -3.0011,0.49988 -3.37463,-0.49988 -2.99927,-1.49964 -3.12561,-1.875 2.75025,-5.87402 -1.875,-0.87524 -1.1261,-5.37598 0.37536,-2.6239 3.25013,-2.62574 1.49963,-1.49963 -2.99927,-2.49939 -2.37488,1.74866 -0.75073,-0.62439 v -2.49939 l -2.25037,-2.37488 -0.12451,-1.62598 2.62574,-1.37512 2.6239,-2.75024 0.62622,-2.99927 0.24902,-1.875 3.0011,-1.99951 2.75024,-2.75025 4.24988,-0.75073 5.37415,-0.37536 5.37597,-1.37513 3.49915,-2.49939 4.50073,-0.7489 4.4989,0.12451 h 1.62598 l 4.99878,-0.87524 3.75,-1.75049 h 2.37488 l 1.37512,-4.62524 4.37622,-0.87525 4.74976,-1.37329 4.99878,-2.25036 3.25012,-3.62549 z
271
+ `);
272
+ }
273
+ renderCantonSH(group) {
274
+ this.renderCanton(group, 'SH', `
275
+ m 618.133,88.524 c -0.425,0.531 -1.661,0.52 -1.97,1.126 -0.347,0.682 0.345,1.771 0.281,2.533 -0.052,0.613 -0.281,1.425 -0.563,1.971 -0.248,0.48 -0.671,1.115 -1.126,1.407 -0.293,0.188 -0.817,0.443 -1.126,0.281 -0.639,-0.335 -0.591,-1.576 -0.844,-2.252 -0.254,-0.675 -0.454,-1.645 -0.845,-2.251 -0.452,-0.703 -0.49998,-1.502 -1.19298,-1.971 -1.3548,-5.174499 2.41842,-6.066923 4.38967,-5.562369 0,0 0.20683,-3.809856 1.18723,-3.297299 2.19496,1.147533 5.45673,1.442855 5.00836,1.724415 -1.28851,0.809127 -3.71948,2.987656 -3.19928,6.291253 z m 20.629,-36.493 c -0.486,-0.444 -0.977,-0.808 -1.488,-1.226 -0.418,-0.342 -0.979,-0.794 -1.407,-1.126 -0.334,-0.258 -0.74,-0.672 -1.126,-0.844 -0.393,-0.176 -0.977,-0.266 -1.407,-0.281 -0.681,-0.025 -1.578,0.183 -2.252,0.281 -0.508,0.074 -1.356,-0.11 -1.688,0.281 -0.164,0.193 0.016,0.592 0,0.845 -0.043,0.68 -0.184,1.578 -0.281,2.252 -0.074,0.508 -0.072,1.22 -0.282,1.688 -0.22,0.494 -0.915,0.909 -1.126,1.407 -0.265,0.627 -0.313,1.572 -0.281,2.252 0.037,0.777 0.111,1.955 0.521,2.614 l -1.407,-1.517 -0.846,-0.846 -1.586,-0.951 -1.48,-0.529 -1.058,0.317 -1.48,0.74 -2.749,-0.105 -3.49,-0.105 -1.586,0.423 -0.423,0.846 -1.394,0.729 -0.897,1.047 -1.645,0.599 -0.599,2.094 0.599,0.896 -0.3,0.449 -6.43,-0.149 -3.29,0.747 -0.748,1.047 -0.448,0.748 -1.047,-0.299 -0.3,-1.047 0.3,-1.496 -0.3,-2.093 -1.047,-0.599 h -2.542 -3.141 l -1.645,-1.495 -1.944,-1.496 -1.795,-0.448 0.3,-2.393 1.346,-2.692 0.299,-1.794 -0.897,-2.842 1.196,-2.393 2.243,-2.094 2.094,-1.944 1.795,-1.794 1.196,-2.094 0.598,-2.243 1.047,-2.393 0.897,-2.243 1.646,-1.795 1.645,-1.495 1.944,-1.496 2.393,-1.196 2.692,-0.598 h 1.943 l 1.646,-0.449 1.794,-1.196 1.795,-0.896 2.691,0.598 1.944,-0.149 1.346,-1.346 -0.299,-1.944 -0.598,-1.646 -1.047,-0.896 0.299,-1.944 1.645,-0.448 h 2.842 l 3.439,0.896 1.645,0.748 3.29,1.346 -0.448,1.646 -0.149,1.495 0.149,2.094 0.448,1.944 0.897,2.393 1.496,1.346 2.093,0.448 0.897,-1.047 1.347,-2.542 -1.197,-4.188 -0.299,-2.093 0.299,-1.496 2.094,1.795 1.944,1.794 1.646,1.496 1.196,1.196 0.448,1.196 v 1.795 l -0.299,2.99 0.299,1.196 1.944,-0.149 0.747,-1.047 1.944,-0.897 1.944,-0.149 2.542,1.196 0.897,2.692 -0.897,0.747 -1.645,2.394 -0.897,2.243 0.448,2.243 1.944,1.645 1.346,1.944 -0.299,2.094 -1.645,0.299 -1.496,-0.299 -1.196,-1.496 -1.047,-0.747 -2.841,-0.3 -2.094,0.15 -1.944,0.299 -0.897,0.897 -1.047,1.495 0.299,1.645 -0.448,1.944 -0.299,1.646 z m 47.492,10.594 c -0.801,-0.367 -1.977,-0.576 -2.817,-0.842 -0.764,-0.242 -1.833,-0.455 -2.533,-0.845 -0.576,-0.321 -1.185,-0.981 -1.688,-1.407 -0.595,-0.503 -1.371,-1.192 -1.971,-1.689 -0.416,-0.345 -0.979,-0.795 -1.407,-1.126 -0.334,-0.258 -0.745,-0.662 -1.126,-0.844 -0.629,-0.3 -1.557,-0.521 -2.252,-0.563 -0.68,-0.041 -1.572,0.239 -2.252,0.281 -0.843,0.053 -1.978,0.112 -2.808,0 l 0.918,-1.797 0.598,-1.645 1.047,-1.944 0.449,-1.495 -1.047,-1.196 -1.496,-0.897 -1.794,-0.299 -1.496,-0.599 -0.896,-1.196 0.448,-1.196 -0.149,-1.495 1.346,-1.047 1.496,-1.196 1.196,-0.748 1.046,-0.299 1.496,0.299 0.149,0.748 0.748,1.645 1.047,0.449 1.794,0.896 2.543,0.897 1.196,0.299 2.393,0.748 2.094,1.646 1.645,0.896 0.448,1.496 -0.747,0.598 -1.196,0.3 -1.346,-0.3 -1.197,1.196 v 1.795 l 1.944,2.243 1.196,2.691 0.599,0.897 1.346,1.496 0.897,1.495 z
276
+ `);
277
+ }
278
+ renderCantonSO(group) {
279
+ this.renderCanton(group, 'SO', `
280
+ m 394.405,173.715 -2.26,3.506 -2.025,1.792 -1.479,2.181 -2.337,1.559 -6.076,1.714 -2.883,1.09 -2.492,2.104 -0.701,2.883 -0.623,1.09 -1.402,0.468 -4.285,0.935 -3.661,0.468 -0.078,3.115 -3.505,2.961 -3.973,2.415 -5.999,2.726 -5.375,2.182 0.857,6.855 1.636,1.947 3.35,1.013 1.324,0.623 1.169,4.752 0.906,1.72 c 0.431,-0.357 1.222,-0.494 1.674,-0.819 0.381,-0.274 0.72,-0.841 1.106,-1.107 0.675,-0.463 1.835,-0.618 2.491,-1.106 0.614,-0.457 1.309,-1.257 1.66,-1.938 0.314,-0.608 0.217,-1.618 0.554,-2.214 0.231,-0.408 0.664,-0.951 1.107,-1.106 0.709,-0.249 1.744,0.369 2.49,0.276 0.704,-0.088 1.601,-0.474 2.214,-0.83 0.561,-0.326 1.126,-1.018 1.66,-1.384 0.705,-0.483 1.693,-1.075 2.491,-1.384 0.676,-0.262 1.776,-0.112 2.302,-0.591 l 0.298,4.174 0.312,4.051 3.038,4.674 -1.87,3.661 -1.636,0.468 -2.882,-0.156 -4.051,-0.233 -2.025,2.648 -1.48,2.181 v 2.883 l -0.701,2.104 -4.596,0.312 -2.26,0.233 -1.402,-1.169 -2.882,-0.467 -1.091,0.778 -0.155,2.26 1.013,2.415 1.324,2.882 2.259,3.817 0.545,0.701 0.857,-0.623 3.038,-2.182 2.415,-1.324 2.415,-0.701 -0.078,2.337 -0.233,1.792 1.324,1.791 2.804,-0.155 2.883,-1.091 1.714,-1.324 0.39,-2.104 -1.091,-1.558 -1.013,-1.87 0.467,-1.09 3.739,-1.792 3.116,-1.792 3.038,-2.025 2.104,-3.973 1.091,-4.362 0.545,-3.35 3.038,-0.935 2.104,-0.779 2.57,0.545 2.57,1.637 2.182,2.103 5.375,1.013 5.375,0.312 3.038,-0.935 3.661,-3.116 2.337,-3.115 0.078,-2.26 -0.39,-2.882 -2.337,-2.259 -2.492,-1.247 -1.87,-1.947 -1.636,-2.415 -2.57,-5.063 0.155,-1.246 -0.545,-2.025 -2.104,-1.169 -1.402,-1.09 -1.869,0.077 -1.87,-0.389 v -2.727 l -0.856,-2.648 0.39,-2.337 -0.078,-1.637 -0.234,-1.869 2.415,0.233 7.557,0.779 2.025,-0.312 3.038,-1.246 3.038,-1.013 2.025,-1.169 3.428,0.39 1.09,1.324 2.805,3.895 1.792,4.44 3.428,0.468 3.505,-0.39 3.584,-1.714 1.324,-0.856 1.831,2.815 c 0.586,-0.497 1.278,-1.313 1.896,-1.812 0.477,-0.383 1.22,-0.752 1.674,-1.161 0.401,-0.363 0.725,-1.068 1.174,-1.37 0.309,-0.207 0.806,-0.351 1.174,-0.392 1.115,-0.121 2.597,0.373 3.719,0.392 0.823,0.014 1.916,-0.166 2.739,-0.195 0.763,-0.027 1.839,0.292 2.544,0 0.844,-0.35 1.591,-1.433 2.152,-2.152 0.843,-1.08 1.689,-2.714 2.349,-3.914 0.379,-0.69 0.713,-1.709 1.174,-2.349 0.534,-0.74 1.636,-1.399 2.152,-2.152 0.327,-0.477 0.435,-1.3 0.783,-1.761 0.553,-0.731 1.768,-1.247 2.348,-1.957 0.549,-0.671 1.251,-1.686 1.37,-2.544 0.148,-1.072 -0.915,-2.448 -0.782,-3.522 0.08,-0.651 0.693,-1.365 0.888,-2.012 l 1.864,1.322 1.928,1.542 2.369,0.937 3.029,0.661 5.839,0.496 3.801,0.275 1.652,-0.275 1.267,-0.496 1.212,-1.763 0.992,-3.471 1.928,-5.453 1.873,-3.801 1.928,-4.517 -0.44,-2.148 -2.755,-2.644 -2.368,-0.386 -1.817,-0.826 -2.038,-1.212 -3.25,-1.763 -1.873,-1.817 2.424,-1.433 -0.11,-2.589 -0.716,-3.029 -1.598,-0.44 -0.716,-2.369 -0.056,-1.763 -2.148,-0.22 -1.115,-0.22 -0.716,2.282 -1.013,2.26 -0.312,3.037 1.48,1.87 c 0,0 0.935,2.104 1.324,2.104 l -0.312,2.648 -4.129,3.038 -3.428,1.636 -4.518,-0.545 -2.805,0.623 -2.648,3.193 -3.661,3.661 -3.038,2.025 -3.506,1.48 -4.752,1.792 -3.116,2.337 -0.389,2.415 v 2.259 l -2.337,0.233 -2.571,-0.39 -2.492,-1.09 -1.792,-1.48 -2.182,-2.025 -1.791,-2.415 -1.091,-2.259 -2.259,-1.402 -6.076,0.856 -5.531,0.312 h -3.739 l -0.935,-4.129 -0.623,-3.661 -0.234,-5.063 5.063,-0.312 1.948,-0.857 2.259,-1.168 1.013,-2.493 0.233,-4.051 0.546,-3.116 2.492,-2.492 1.792,-2.337 2.181,-4.285 0.468,-1.246 -2.882,-1.324 -3.272,0.312 -4.284,-0.701 -2.025,-2.96 -1.246,-0.468 -2.182,2.493 -2.648,0.155 -4.83,0.156 -0.155,3.583 2.025,2.648 0.623,2.649 -1.246,3.739 -1.714,2.882 -0.234,2.96 -7.244,0.546 -1.091,3.895 -7.634,1.091 -1.246,3.428 -0.546,1.791 -3.583,1.091 -2.805,2.259 -3.35,-2.259 -0.468,-2.181 -3.583,-0.078 -3.193,0.155 -1.559,1.013 -0.856,2.025 -0.273,1.559 2.922,4.907 6.231,1.402 5.453,-1.402 4.362,0.468 v 4.44 l 0.39,3.038 1.48,3.583 0.701,1.558 6.776,-0.077 -0.428,2.765 m -33.874,-42.343 1.115,0.704 1.714,-0.701 1.091,1.168 2.804,2.104 2.648,2.648 1.169,2.337 -0.156,2.415 -0.778,1.87 -0.935,0.935 -2.338,0.233 -2.804,-1.402 -3.817,-0.935 -6.836,-0.954 -0.604,-5.122 -0.022,-0.023 3.726,-1.895 z m 57.086,95.274 1.324,-1.129 1.597,-0.936 1.285,0.195 1.52,1.519 -0.078,1.091 -0.896,1.87 c 0,0 -1.285,1.324 -1.441,1.363 -0.155,0.038 -2.181,0.896 -2.181,0.896 l -1.363,-0.117 -0.701,-0.974 v -2.104 z m -38.54,-110.298 1.966,0.148 2.104,1.324 0.156,1.636 0.155,1.402 -1.479,2.337 -0.779,1.636 -1.169,1.324 -1.168,-0.155 -2.182,-0.078 -1.869,-0.233 -2.96,1.246 -2.104,0.312 -2.025,-0.701 -1.402,-0.545 -0.793,-1.397 0.497,-0.635 1.692,-1.692 -2.538,-2.326 -2.326,-1.48 -1.903,-0.634 2.326,-2.75 1.903,-0.211 1.903,1.057 2.538,2.538 c 0,0 0.635,1.692 2.115,1.903 1.48,0.212 5.075,-1.269 5.075,-1.269 z
281
+ `);
282
+ }
283
+ renderCantonSZ(group) {
284
+ this.renderCanton(group, 'SZ', `
285
+ m 700.06167,205.90028 c -0.3202,0.33532 -0.73973,0.64117 -1.03637,0.91919 -0.589,0.55 -1.35066,1.3198 -2.01966,1.7688 -0.703,0.47299 -1.72502,0.98842 -2.52502,1.26342 -0.914,0.313 -2.19074,0.60372 -3.15674,0.63172 -0.535,0.015 -1.2348,-0.20369 -1.7688,-0.25269 -0.906,-0.083 -2.1214,-0.16434 -3.03039,-0.12634 -0.915,0.038 -2.1244,0.24603 -3.0304,0.37903 -0.456,0.066 -1.11911,0.0159 -1.51611,0.25085 -0.371,0.222 -0.63857,0.78009 -0.88257,1.13709 -0.25,0.364 -0.48506,0.91442 -0.75806,1.26342 -0.197,0.253 -0.45606,0.64706 -0.75806,0.75806 -0.82199,0.299 -2.03905,-0.12468 -2.90405,-0.25268 -0.919,-0.135 -2.13339,-0.39072 -3.03039,-0.63172 -0.693,-0.188 -1.61634,-0.46506 -2.27234,-0.75806 -0.558,-0.249 -1.25497,-0.67674 -1.76697,-1.01074 -0.749,-0.487 -1.56851,-1.43697 -2.40051,-1.76697 -0.603,-0.238 -1.498,-0.25768 -2.146,-0.25268 -0.573,0.004 -1.33031,0.14568 -1.89331,0.25268 -0.308,0.059 -0.69874,0.22269 -1.01074,0.25269 -0.717,0.069 -1.68168,-0.0713 -2.39868,-0.12634 -1.14,-0.087 -2.68963,-0.062 -3.78663,-0.37903 -0.244,-0.071 -0.50505,-0.39503 -0.75805,-0.37903 -0.409,0.025 -0.83309,0.48206 -1.13709,0.75806 -0.398,0.361 -0.63008,1.20777 -1.13708,1.38977 -0.363,0.13 -0.90843,-0.10052 -1.26343,-0.25452 -0.598,-0.259 -1.2968,-0.8106 -1.7688,-1.2616 -0.24659,-0.23595 -0.4846,-0.55593 -0.71777,-0.88073 l -2.25037,0.25085 -0.75073,1.56189 -1.43738,2.68799 -2.12585,2.6239 -2.06177,1.49964 -0.18677,1.90612 1.1554,2.43897 0.46508,1.64612 0.78553,2.70446 0.25818,1.29273 -1.93726,4.78088 -0.77637,4.13819 -1.29272,2.19543 -1.93909,1.42273 -1.29089,1.68091 -0.26001,2.71362 -0.12818,1.29273 -1.16272,0.77453 -2.84545,-0.51635 -3.49,-0.90455 -1.42089,0.90455 -2.32727,0.77453 -2.06727,1.55091 -2.58544,1.29272 -2.71363,-0.12817 -0.77636,-3.36182 -3.61817,0.13 -2.97363,0.25818 -2.38037,1.00342 c 0.063,0.45035 0.1084,0.90271 0.17395,1.28174 0.202,1.167 0.46637,2.72896 0.50537,3.91296 0.02,0.608 0.15363,1.48249 -0.12634,2.02149 -0.224,0.431 -0.7776,0.99591 -1.2616,1.00891 -0.326,0.009 -0.59857,-0.47488 -0.88257,-0.62988 -0.359,-0.196 -0.87843,-0.36954 -1.26343,-0.50354 -0.374,-0.131 -0.89043,-0.24903 -1.26343,-0.37903 -0.386,-0.135 -0.92159,-0.28137 -1.26159,-0.50537 -0.179,-0.118 -0.38937,-0.32721 -0.50537,-0.50721 -0.288,-0.443 -0.34472,-1.19862 -0.63172,-1.64062 -0.351,-0.539 -1.01011,-1.26411 -1.51611,-1.51611 -0.505,-0.253 -0.5704,-0.75875 -0.8844,-1.01075 -0.37,-0.297 -0.99077,-0.50022 -1.38977,-0.75622 -0.478,-0.308 -1.16011,-0.69509 -1.51611,-1.13709 -0.286,-0.357 -0.56589,-0.93677 -0.62989,-1.38977 -0.038,-0.266 0.0163,-0.6414 0.12635,-0.8844 0.145,-0.319 0.52105,-0.6274 0.75805,-0.8844 0.255,-0.275 0.60457,-0.6324 0.88257,-0.8844 0.4,-0.362 0.98077,-0.78625 1.38977,-1.13525 0.348,-0.296 0.92209,-0.60874 1.13709,-1.01074 0.097,-0.181 0.17721,-0.49132 0.0952,-0.67932 -0.07,-0.159 -0.31324,-0.26642 -0.47424,-0.33142 -0.427,-0.175 -1.06328,-0.16269 -1.51428,-0.25269 -0.36987,-0.0731 -0.85726,-0.11238 -1.26343,-0.22888 l -1.29822,0.70679 -2.56165,1.27075 -1.91162,1.27441 -1.73767,1.27991 -3.92944,4.93469 -3.56506,3.29224 -0.0916,0.72876 -1.00525,2.46826 -1.37146,1.55457 -1.46118,1.55273 0.45593,0.64087 1.16456,0.79285 c 0.41528,-0.30948 0.94558,-0.60662 1.30737,-0.92103 0.443,-0.38598 0.90933,-1.02905 1.34033,-1.43005 0.529,-0.493 1.307,-1.06894 1.875,-1.51794 0.345,-0.272 0.91006,-0.53056 1.15906,-0.89356 0.159,-0.229 0.11816,-0.65655 0.26916,-0.89355 0.192,-0.305 0.62356,-0.56384 0.89356,-0.80384 0.213,-0.188 0.48811,-0.45139 0.71411,-0.62439 0.23,-0.176 0.52283,-0.60966 0.80383,-0.53466 0.174,0.046 0.21634,0.36266 0.26734,0.53466 0.132,0.439 0.22944,1.06195 0.17944,1.51795 -0.054,0.48 -0.37067,1.06294 -0.53467,1.51794 -0.341,0.94 -0.78489,2.19861 -1.16089,3.12561 -0.33937,0.83663 -0.77835,1.90728 -1.20849,2.75757 l 2.29065,0.47974 2.58361,-0.13001 1.42273,-0.32226 1.68091,0.45227 1.58753,2.01233 2.96997,2.64953 1.64612,1.8274 1.60034,0.9613 1.55273,0.77637 0.18494,6.67236 -1.0968,1.0968 -1.27991,0.41016 -3.26843,-0.43396 -0.28015,0.13916 c 0.087,0.22845 0.41419,0.40042 0.59509,0.56213 0.256,0.229 0.59255,0.55011 0.89355,0.71411 0.372,0.202 0.94234,0.29978 1.34034,0.44678 0.461,0.172 1.03294,0.53539 1.51794,0.62439 0.948,0.174 2.2735,0.13128 3.2135,-0.0897 0.374,-0.087 0.77689,-0.52067 1.16089,-0.53467 0.457,-0.017 0.98105,0.44267 1.43005,0.53467 0.577,0.119 1.37689,0.0207 1.96289,0.0897 0.84,0.1 1.92356,0.56167 2.76856,0.53467 0.637,-0.02 1.47544,-0.27067 2.05444,-0.53467 0.474,-0.216 1.01023,-0.67144 1.42823,-0.98144 0.27498,-0.204 0.61155,-0.51913 0.89355,-0.71411 0.385,-0.268 0.90533,-0.62884 1.34033,-0.80384 0.331,-0.134 0.81006,-0.19516 1.15906,-0.26916 0.854,-0.179 1.98628,-0.5275 2.85828,-0.5365 0.489,-0.005 1.19483,0.004 1.60583,0.26916 0.486,0.315 0.71717,1.14684 1.07117,1.60584 0.197,0.256 0.52811,0.54166 0.71411,0.80566 0.193,0.274 0.3475,0.70445 0.5365,0.98145 0.258,0.376 0.80744,0.73806 0.98144,1.15906 0.246,0.59598 0.16245,1.49916 0.17945,2.14416 0.021,0.831 -0.12772,1.93756 -0.0897,2.76856 0.03,0.64598 0.16133,1.50333 0.26733,2.14233 0.13,0.782 0.3685,1.81411 0.5365,2.58911 0.128,0.591 0.37794,1.36372 0.44494,1.96472 0.005,0.0474 0.005,0.10954 0.009,0.1593 l 2.45361,-0.18859 3.18787,1.18835 1.57104,0.18494 2.82898,-0.43946 5.83374,-1.50329 0.88257,7.0697 -0.35339,2.3877 1.5033,2.65136 2.47558,-1.23779 2.03247,-0.79468 3.27027,-3.18237 2.56347,-1.41358 3.62366,-1.06201 1.14807,0.44129 2.03247,1.94458 1.41541,-0.17762 1.94275,-1.50146 1.1499,-0.8844 2.47559,-0.35339 3.18054,0.97046 1.23779,2.0343 -0.35339,3.09265 -0.8844,3.27209 0.97229,2.20826 2.82898,-1.76697 0.70678,8.30932 1.59119,-1.23779 1.06201,-1.94458 1.50147,-1.14807 5.83374,-1.7688 9.18457,-5.12329 3.27942,-1.59119 0.79651,-1.32568 2.47375,-1.06201 -0.70679,-0.70679 -0.61889,-1.59119 -0.26367,-1.32568 0.17578,-1.59119 1.14807,-1.85485 1.94458,-1.59119 -1.73584,-1.13526 -3.12561,-2.75024 -2.43714,-3.18787 -0.93933,-1.49963 1.25061,-1.62598 -1.31103,-1.24878 -2.18811,-2.56347 -0.43945,-1.31104 -0.9375,0.31128 -0.62439,-1.18835 -1.43921,-2.56165 -1.43738,-1.37512 -1.25061,-1.68823 1.43921,-1.12427 -0.31311,-4.87427 1.875,-0.1886 1.93908,0.37537 2.62391,0.18677 4.31213,-3.93677 2.79236,-5.11963 2.21008,-6.01135 -1.5033,-0.44129 -1.85485,-0.35339 -1.41541,-1.23596 0.35523,-1.5033 2.12036,-1.85669 1.59118,-0.79468 0.6189,-1.59301 -0.79651,-2.91504 -2.12036,-2.21009 7.07153,-15.38086 0.86426,-1.75048 -2.9425,-0.72327 -2.51954,0.44128 -0.66284,-2.34192 -0.22155,-7.95593 -1.63514,-0.97229 z m -35.47485,20.97839 c 0.39362,-0.003 0.8086,0.0554 1.1261,0.1648 0.31,0.105 0.64955,0.40639 0.89355,0.62439 0.241,0.214 0.57411,0.51283 0.71411,0.80383 0.21,0.441 0.23617,1.11883 0.26917,1.60583 0.061,0.909 -0.10272,2.12489 -0.0897,3.03589 0.013,0.938 0.10161,2.18861 0.17761,3.12561 0.063,0.752 0.14816,1.75439 0.26916,2.49939 0.141,0.866 0.41239,2.00445 0.62439,2.85645 0.12,0.486 0.18378,1.18166 0.44678,1.60766 0.209,0.339 0.69245,0.61773 0.98145,0.89173 0.3,0.288 0.64644,0.73627 0.98144,0.98327 0.415,0.307 1.17478,0.42084 1.51978,0.80384 0.289,0.322 0.4097,0.9245 0.53466,1.3385 0.15,0.498 0.41406,1.17939 0.35706,1.69739 -0.035,0.321 -0.18778,0.78844 -0.44678,0.98144 -0.413,0.307 -1.22422,0.42871 -1.69922,0.23071 -0.57496,-0.24 -0.86781,-1.16593 -1.24877,-1.65893 -0.291,-0.378 -0.67845,-0.88161 -0.98145,-1.25061 -0.47,-0.572 -1.12867,-1.31 -1.60767,-1.875 -0.431,-0.507 -1.03922,-1.15556 -1.42822,-1.69556 -0.33,-0.458 -0.71644,-1.10783 -0.98144,-1.60583 -0.333,-0.625 -0.74045,-1.47917 -0.98145,-2.14417 -0.313,-0.861 -0.47083,-2.09217 -0.80383,-2.94617 -0.318,-0.81496 -0.90937,-1.82811 -1.34033,-2.58911 -0.327,-0.576 -0.93889,-1.252 -1.16089,-1.875 -0.208,-0.586 -0.26834,-1.43344 -0.26734,-2.05444 0,-0.405 -0.0306,-0.99233 0.17945,-1.34033 0.289,-0.476 1.05294,-0.76034 1.51794,-1.06934 0.21,-0.139 0.49811,-0.31578 0.71411,-0.44678 0.318,-0.192 0.71017,-0.53639 1.07117,-0.62439 0.19537,-0.0476 0.423,-0.0731 0.65918,-0.0751 z
286
+ `);
287
+ }
288
+ renderCantonTG(group) {
289
+ this.renderCanton(group, 'TG', `
290
+ m 644.78213,49.625246 c -0.16778,-0.003 -0.32708,0.01343 -0.47058,0.05493 -0.747,0.218 -1.30422,1.285235 -1.97022,1.688232 -0.39,0.235 -1.00008,0.360134 -1.40808,0.562134 -0.44,0.219 -0.91756,0.90465 -1.42456,0.81665 l -2.05261,2.801514 -0.44128,1.85669 1.50146,3.358154 1.85852,2.893067 1.81275,0.999756 1.99951,1.124267 4.37439,0.875244 4.18945,0.124512 2.93701,-1.875 1.56189,-1.624145 0.99976,-0.750733 0.99975,-1.499634 0.56214,-1.062012 0.56213,0.188599 3.87634,0.437622 v 0.9375 l 2.49939,1.250611 3.06153,1.124267 2.8125,0.812989 0.68847,0.875244 -4.2517,7.749023 -3.93677,5.438233 -1.97022,-1.25061 0.12635,-0.811158 -4.68934,-0.750732 -2.59094,0.153809 -1.15539,1.001587 -0.2179,1.843872 0.37537,1.415405 0.85144,2.508545 c 0.799,0.058 1.75535,-0.651116 2.53235,-0.844116 0.499,-0.124 1.17523,-0.301152 1.68823,-0.280152 1.392,0.055 3.21325,0.600775 4.48425,1.118775 l 0.29846,4.30481 2.91687,1.94458 3.77747,1.160888 2.82349,2.545167 1.25061,1.625976 -0.25086,0.999756 -3.62366,0.124512 0.49988,2.625732 0.99976,2.248534 1.62414,1.00159 2.62574,-0.12634 1.99951,-0.62439 2.37488,1.25061 4.37439,1.99951 0.62622,3.49915 -1.1261,6.37573 -1.74866,4.00085 -0.62622,4.24988 2.60742,4.87244 -0.17761,2.91687 1.06018,2.91687 1.7688,1.59119 1.41357,1.14807 -2.73925,0.97229 -1.23597,3.27209 -1.77978,2.81799 c 1.605,0.242 3.69056,0.93102 5.17456,1.59302 0.636,0.283 1.35736,0.90285 1.99036,1.19385 1.02897,0.473 2.56937,0.68785 3.58337,1.19385 0.844,0.422 2.09325,3.7932 2.07825,6.5332 l 1.94275,-1.07117 1.36047,-1.79077 1.21948,-0.50171 0.62256,-2.09655 1.11328,-3.2428 2.02698,-1.72302 0.9137,-4.96766 1.11328,-1.5216 5.1709,-0.60791 h 3.95141 l 1.31836,-2.2284 0.5072,-4.05578 -1.5216,-1.01258 -3.85254,-3.04138 -1.82373,-1.31836 -1.92627,-3.34533 0.10254,-2.43165 1.72302,-1.82556 3.85254,-0.91186 2.83813,-1.31653 2.93885,0.50537 4.46045,2.12952 1.92627,2.02697 2.93884,1.72303 5.37231,-0.5072 2.7356,-0.91187 3.64929,-3.44605 1.11511,-3.24279 3.75183,3.14209 2.2284,0.60791 1.5216,0.10071 0.71045,1.82556 1.41907,1.5216 4.35791,-0.40649 2.02698,1.21765 3.75,2.63489 3.34534,0.30395 2.83813,-1.21582 4.1565,-1.62231 4.15466,-0.5072 2.83813,-1.21582 -0.40466,-2.12769 -0.91186,-4.35974 -2.53418,-2.93884 -2.63672,0.20324 -1.62049,0.81116 -2.83813,-0.60791 0.20325,-1.21765 1.11328,-0.50537 2.12951,-1.11511 1.21582,-2.12952 2.23023,-0.40466 2.93884,-0.50721 2.63489,-0.30395 1.11511,-1.11511 2.73743,1.5216 -1.21765,2.43164 1.72485,0.40467 -0.9137,1.92627 -0.30395,0.30578 2.83813,2.53418 2.33277,0.40466 2.63489,3.6493 0.5072,2.53418 3.04138,0.91186 1.62048,0.60791 0.71045,-3.24463 1.01441,-3.44604 3.14209,-1.31653 2.94067,-2.73743 1.62048,-1.31653 1.56189,-2.1698 c -0.44278,-0.21871 -0.92997,-0.42065 -1.30554,-0.64453 -0.843,-0.502 -1.91583,-1.258 -2.67883,-1.875 -0.825,-0.668 -1.76011,-1.7485 -2.58911,-2.4115 -0.481,-0.385 -1.23339,-0.754887 -1.69739,-1.160887 -0.513,-0.450997 -1.09994,-1.155559 -1.51794,-1.695556 -0.296,-0.382 -0.71773,-0.890335 -0.89173,-1.340332 -0.196,-0.505 -0.29116,-1.244279 -0.26916,-1.785279 0.024,-0.577997 0.21977,-1.344 0.44677,-1.875 0.174,-0.409997 0.61801,-0.842782 0.80201,-1.248779 0.081,-0.178 0.18944,-0.432221 0.17944,-0.626221 -0.021,-0.432997 -0.29167,-0.980501 -0.53467,-1.338501 -0.394,-0.579997 -1.11956,-1.209666 -1.69556,-1.607666 -0.70997,-0.488997 -1.81894,-0.865613 -2.59094,-1.25061 -1.104,-0.549 -2.59828,-1.246003 -3.66028,-1.875 -0.864,-0.511 -1.96555,-1.273003 -2.76855,-1.875 -0.64,-0.478 -1.40047,-1.23556 -2.05444,-1.695557 -0.687,-0.484 -1.70367,-0.972223 -2.40967,-1.428223 -0.276,-0.177 -0.63673,-0.421221 -0.89173,-0.626221 -0.341,-0.271997 -0.74899,-0.688614 -1.07299,-0.979614 -0.452,-0.406 -1.00995,-1.007332 -1.51795,-1.340332 -0.371,-0.242 -0.9535,-0.406221 -1.3385,-0.626221 -0.62,-0.352997 -1.34672,-0.983501 -1.96472,-1.338501 -0.592,-0.339997 -1.42247,-0.720445 -2.05444,-0.981445 -0.524,-0.217 -1.23828,-0.47239 -1.78528,-0.62439 -0.501,-0.139 -1.21156,-0.168058 -1.69556,-0.357055 -0.784,-0.305 -1.6665,-1.039226 -2.4115,-1.428223 -0.574,-0.3 -1.35172,-0.688386 -1.96472,-0.895386 -0.573,-0.192 -1.44072,-0.143949 -1.96472,-0.444946 -0.51,-0.292 -0.8995,-1.040054 -1.3385,-1.430054 -0.373,-0.33 -0.92334,-0.707617 -1.34034,-0.979614 -0.492,-0.322 -1.17155,-0.716277 -1.69555,-0.983277 -0.469,-0.24 -1.11884,-0.512111 -1.60584,-0.714111 -0.689,-0.286 -1.7258,-0.443555 -2.32177,-0.893555 -0.426,-0.324 -0.67717,-1.065223 -1.07117,-1.428223 -0.23754,-0.219266 -0.59389,-0.381798 -0.93567,-0.554809 l -4.31213,0.126343 -3.43873,-0.897217 -2.84179,-0.897217 -0.59876,-1.644287 -1.98852,-0.710449 c -0.0379,0.02677 -0.077,0.0547 -0.1117,0.07507 -0.301,0.177 -0.78808,0.228685 -1.13708,0.252685 -0.683,0.046 -1.60434,-0.04443 -2.27234,-0.190429 -0.434,-0.095 -0.97494,-0.344542 -1.38794,-0.50354 -0.516,-0.199 -1.18954,-0.50297 -1.70654,-0.69397 -0.337,-0.125 -0.79326,-0.26803 -1.13526,-0.379028 -0.473,-0.154 -1.09037,-0.409203 -1.57837,-0.507203 -0.447,-0.089 -1.06311,-0.07251 -1.51611,-0.124511 -0.913,-0.104 -2.1254,-0.283285 -3.0304,-0.441285 -0.647,-0.113998 -1.49299,-0.369115 -2.14599,-0.443115 -0.828,-0.094 -1.94471,-0.06026 -2.77771,-0.06226 -1.193,-0.004 -2.78305,0.08626 -3.97705,0.06226 -0.683,-0.014 -1.61017,-0.286341 -2.27417,-0.126343 -0.256,0.062 -0.52123,0.323285 -0.75623,0.441285 -0.258,0.129998 -0.6324,0.253028 -0.8844,0.379028 -0.253,0.126 -1.63759,0.921684 -2.33459,1.325684 -0.419,0.241998 -0.96662,0.589312 -1.3916,0.820312 -0.669,0.365 -1.62851,0.728087 -2.27051,1.137085 -0.489,0.312 -0.99512,0.943341 -1.51612,1.199341 -0.14,0.069 -0.35737,0.07334 -0.50537,0.126343 -0.375,0.134 -0.81634,0.458627 -1.19934,0.567627 -0.477,0.137 -1.15545,0.0966 -1.64245,0.188598 -0.501,0.096 -1.17263,0.239116 -1.64063,0.443116 -0.491,0.213998 -1.00711,0.775655 -1.51611,0.946655 -0.612,0.205 -1.507,0.0916 -2.146,0.188599 -0.44,0.066 -1.01903,0.419941 -1.45203,0.314941 -0.1209,-0.02708 -0.28457,-0.09673 -0.42297,-0.186768 l -0.0439,0.0238 c 0,0 -1.45609,0.759955 -2.34009,0.975952 -0.824,0.202 -1.97033,0.356983 -2.81433,0.281983 -0.612,-0.056 -1.40922,-0.311134 -1.97022,-0.562134 -1.004,-0.451 -2.09531,-1.514046 -3.09631,-1.972046 -0.802,-0.366 -1.97433,-0.578119 -2.81433,-0.844116 -0.764,-0.242 -1.83418,-0.454117 -2.53418,-0.844117 -0.576,-0.320997 -1.18524,-0.982081 -1.68824,-1.408081 -0.59497,-0.502997 -1.37021,-1.191235 -1.97021,-1.688232 -0.416,-0.345 -0.97825,-0.795099 -1.40625,-1.126099 -0.334,-0.258 -0.7451,-0.662116 -1.1261,-0.844116 -0.629,-0.3 -1.5572,-0.520134 -2.2522,-0.562134 -0.68,-0.041 -1.57219,0.238152 -2.25219,0.280152 -0.843,0.053 -1.97836,0.111997 -2.81433,0 -0.954,-0.127 -2.18832,-0.521117 -3.09632,-0.844117 -0.783,-0.278997 -1.82818,-0.687101 -2.53418,-1.126098 -0.56,-0.349 -1.08623,-1.139253 -1.68823,-1.40625 -0.546,-0.243 -1.38622,-0.156983 -1.97022,-0.281983 -0.60197,-0.128 -1.39121,-0.356134 -1.97021,-0.562134 -0.605,-0.215997 -1.36922,-0.616947 -1.97022,-0.845947 -0.25,-0.095 -0.58094,-0.248151 -0.84594,-0.280151 -1.093,-0.135 -2.56345,0.160151 -3.65845,0.280151 -0.594,0.065 -1.38524,0.399982 -1.97021,0.281982 -0.482,-0.097 -0.94409,-0.680116 -1.40809,-0.844116 -0.4215,-0.15 -0.99629,-0.32782 -1.49963,-0.336914 z m 165.95399,58.040774 -1.32935,0.9668 -1.72302,3.14209 -0.10254,2.93884 2.12952,1.82556 2.53418,0.5072 2.73559,-2.12951 0.68482,-1.41541 c -1.032,-0.742 -2.18918,-1.55918 -3.07618,-2.26318 -0.387,-0.307 -0.81861,-0.83217 -1.25061,-1.07117 -0.393,-0.218 -1.25222,-0.0328 -1.42822,-0.44678 -0.164,-0.386 0.50139,-0.84961 0.62439,-1.25061 0.0708,-0.22952 0.16228,-0.52237 0.20142,-0.80383 z
291
+ `);
292
+ }
293
+ renderCantonTI(group) {
294
+ this.renderCanton(group, 'TI', `
295
+ m 702.11612,394.91823 -0.65735,0.75256 -1.6919,1.22498 -5.92712,0.46875 -3.29224,2.63489 -1.12976,2.44628 1.97571,4.0448 0.84778,1.6919 -0.0952,2.63489 -2.53967,2.44446 -2.72827,1.88232 -2.72827,1.22314 -3.8562,0.65735 -3.85621,1.03455 h -1.9757 l -1.50513,-0.84595 -3.76282,2.82166 -3.38745,-0.56397 -3.29224,-1.88232 -2.25769,-1.22315 -4.60876,-0.84594 -3.57422,0.75256 -3.6145,-0.1648 -4.12354,-1.86035 -3.91845,-0.89355 -1.51062,2.63305 -3.00843,2.53968 -4.32861,0.28198 -1.12793,-1.69189 -2.63489,-1.12977 -7.43225,-0.75256 -2.06726,-1.50513 -4.32861,-1.03454 -5.26795,1.03454 -3.29224,3.19886 -1.41174,3.38562 0.65918,4.2334 -0.28198,2.53967 -1.22315,1.50513 -5.01892,1.64611 -3.7445,0.22705 -1.5857,3.35633 -3.66028,3.35083 -0.93566,2.6477 -1.24695,2.25952 -1.55823,0.46692 -3.03772,-0.31128 h -3.89465 l -2.02515,-0.54565 0.23254,4.28467 -0.0769,2.88208 -1.58569,6.33728 6.14685,-2.95349 5.07568,-0.84595 4.22974,1.47949 3.38379,6.34461 0.42297,2.75024 -0.42297,5.49866 v 5.9198 6.55701 l 0.63354,7.19055 -0.84595,5.49866 -2.74841,5.28808 -2.96265,3.59619 -0.84594,4.86328 3.59619,4.86329 1.26892,3.80859 -0.42297,2.11304 0.84594,2.96081 4.65454,4.01917 5.9198,3.38379 5.92164,3.17322 3.38378,5.07568 5.71106,8.45947 3.38379,3.17139 0.42481,3.80676 4.21875,4.4513 1.94275,4.0393 2.39319,0.29846 2.99011,0.59693 2.09472,1.79626 2.8418,1.64612 3.88733,0.44678 2.24304,1.64612 1.69007,0.802 c 0.0149,-0.0444 0.0255,-0.0955 0.0421,-0.13733 0.424,-1.062 1.45402,-2.24195 1.99402,-3.25195 0.425,-0.794 0.88877,-1.90529 1.25977,-2.72827 0.353,-0.783 0.74573,-1.86508 1.15173,-2.62208 0.248,-0.46198 0.61082,-1.0655 0.94482,-1.4685 0.498,-0.6 1.30465,-1.27028 1.88965,-1.78528 0.52,-0.458 1.22862,-1.05051 1.78162,-1.46851 0.396,-0.3 0.93013,-0.70099 1.36413,-0.94299 0.48,-0.269 1.15308,-0.57525 1.67908,-0.73425 0.521,-0.157 1.24145,-0.33794 1.78345,-0.31494 0.488,0.021 1.12187,0.23314 1.57287,0.42114 0.403,0.168 0.87177,0.53125 1.25977,0.73425 0.462,0.242 1.06488,0.62042 1.57288,0.73242 0.461,0.103 1.13687,0.181 1.57287,0 0.37,-0.153 0.665,-0.65499 0.943,-0.94299 0.51198,-0.527 1.18907,-1.23545 1.67907,-1.78345 0.357,-0.399 0.9444,-0.8703 1.1554,-1.3623 0.236,-0.554 0.0487,-1.41402 0.20874,-1.99402 0.119,-0.434 0.34688,-1.01414 0.62988,-1.36414 0.297,-0.367 0.84377,-0.71899 1.25977,-0.94299 0.323,-0.175 0.81056,-0.28914 1.15356,-0.42114 0.634,-0.241 1.42339,-0.77162 2.09839,-0.83862 0.51,-0.05 1.23225,0.0619 1.67725,0.31494 0.582,0.332 1.03533,1.17007 1.47033,1.67907 0.319,0.374 0.7732,0.85094 1.0492,1.25794 0.26,0.385 0.55025,0.93815 0.73425,1.36413 0.157,0.365 0.35531,0.86577 0.41931,1.25977 0.041,0.248 -0.085,0.60262 0,0.83862 0.084,0.231 0.40968,0.41189 0.52368,0.62989 0.107,0.202 0.19257,0.50625 0.21057,0.73425 0.02,0.253 0.0466,0.63462 -0.10437,0.83862 -0.18498,0.249 -0.66682,0.28231 -0.94482,0.41931 -0.417,0.204 -0.9123,0.62026 -1.3623,0.73426 -0.397,0.1 -0.95914,-0.057 -1.36414,0 -0.454,0.063 -1.02751,0.29431 -1.46851,0.41931 -0.661,0.189 -1.53777,0.45488 -2.20275,0.62988 -0.908,0.239 -2.16322,0.40625 -3.04322,0.73425 -0.963,0.359 -2.25021,0.91988 -3.04321,1.57288 -0.587,0.485 -1.03288,1.45702 -1.57288,1.99402 -0.651,0.649 -1.67333,1.34182 -2.41333,1.88782 -0.709,0.523 -1.7115,1.14307 -2.4115,1.67907 -0.816,0.624 -1.95507,1.42076 -2.62207,2.20276 -0.16635,0.19502 -0.26354,0.52612 -0.40832,0.78003 l 3.09082,1.63696 2.99011,2.54334 1.64612,-0.89722 2.24304,-1.94275 1.04736,-1.19751 1.49415,0.45044 5.08483,5.23316 3.58887,4.33594 2.09473,2.99194 0.29846,3.14026 -1.94458,2.09472 -1.64429,1.19568 -0.78918,0.19959 -0.21057,1.58569 -0.52918,3.59619 -1.58569,1.37329 -4.01917,2.53968 -2.53784,2.22107 -0.95215,2.64404 1.27076,2.74841 h 1.37329 l 2.75024,0.42298 3.70056,1.37512 2.43347,2.64404 3.06519,2.64405 2.43164,2.64404 2.16797,0.50171 0.0256,0.0147 c -0.0263,-0.07 -0.0518,-0.1413 -0.0623,-0.20874 -0.093,-0.597 0.0709,-1.43819 0.31494,-1.99219 0.163,-0.368 0.57662,-0.7422 0.83862,-1.0492 0.303,-0.355 0.8972,-0.71056 1.0492,-1.15356 0.133,-0.387 -0.10337,-0.95231 -0.10437,-1.36231 -0.002,-0.88399 -0.18843,-2.15084 0.21057,-2.93884 0.243,-0.477 0.86813,-0.94956 1.36413,-1.15356 0.379,-0.155 0.95531,-0.15537 1.36231,-0.10437 0.396,0.049 1.02776,0.0963 1.25976,0.41931 0.147,0.204 0.056,0.59445 0,0.84045 -0.129,0.577 -0.54945,1.26662 -0.84045,1.78162 -0.279,0.494 -0.80019,1.06471 -1.04919,1.57471 -0.218,0.446 -0.41969,1.08587 -0.52369,1.57287 -0.137,0.649 -0.20874,1.53876 -0.20874,2.20276 0,0.664 0.0897,1.54976 0.20874,2.20276 0.064,0.352 0.24395,0.80156 0.31495,1.15356 0.094,0.467 0.16574,1.09971 0.20874,1.57471 0.059,0.659 0.14637,1.54276 0.10437,2.20276 -0.034,0.542 -0.31611,1.23862 -0.31311,1.78162 0.002,0.513 0.11611,1.20607 0.31311,1.67907 0.191,0.459 0.64782,0.96614 0.94482,1.36414 0.362,0.485 0.71294,1.30988 1.25794,1.57288 0.31099,0.149 0.83539,0.132 1.15539,0 0.657,-0.273 1.15425,-1.19708 1.67725,-1.67908 0.394,-0.363 1.03713,-0.72857 1.36413,-1.15357 0.403,-0.524 0.64383,-1.40218 0.94483,-1.99218 0.358,-0.704 0.87993,-1.61596 1.25793,-2.30896 0.378,-0.693 0.97277,-1.57396 1.25977,-2.30896 0.283,-0.725 0.38088,-1.77971 0.62988,-2.5177 0.229,-0.682 0.70299,-1.52476 0.94299,-2.20276 0.231,-0.647 0.46089,-1.53576 0.62989,-2.20276 0.143,-0.563 0.41231,-1.30782 0.41931,-1.88782 0.007,-0.643 -0.21931,-1.49022 -0.41931,-2.10022 -0.162,-0.495 -0.53226,-1.09288 -0.73426,-1.57288 -0.104,-0.248 -0.30994,-0.56862 -0.31494,-0.83862 -0.01,-0.497 0.17951,-1.21671 0.52551,-1.57471 0.187,-0.193 0.57263,-0.35511 0.83863,-0.31311 0.199,0.031 0.33168,0.36132 0.52368,0.41932 0.333,0.101 0.80856,-0.15237 1.15356,-0.10437 0.434,0.06 0.93314,0.44368 1.36414,0.52368 0.65,0.121 1.54576,0.065 2.20276,0 0.32,-0.031 0.73119,-0.16374 1.04919,-0.20874 0.375,-0.052 0.89277,-0.007 1.25977,-0.10437 0.435,-0.115 0.9433,-0.46389 1.3623,-0.62989 0.37,-0.147 0.91577,-0.21931 1.25977,-0.41931 0.366,-0.213 0.72919,-0.66782 1.04919,-0.94482 0.371,-0.322 0.84477,-0.7862 1.25977,-1.0492 0.068,-0.0432 0.14937,-0.0823 0.22705,-0.12268 l -0.009,-0.19592 -1.05651,-1.26892 -1.26893,-2.53967 0.21058,-4.22791 1.69189,-4.44031 2.32544,-1.48132 4.01917,-1.47949 4.22973,-1.47949 1.90247,-1.26893 1.47949,-2.32727 0.84595,-3.17321 -0.21057,-3.38379 -1.6919,-3.59619 -0.63354,-2.53602 1.47949,-3.59619 6.1322,-2.53784 4.22974,-4.01916 2.53784,-2.53785 1.90247,-0.84594 2.11486,-3.59436 2.15149,-1.01258 -3.87817,-3.70239 -4.14002,-5.83374 -3.57421,-3.38562 -4.89258,-3.57422 -0.75257,-3.76465 0.75257,-5.07934 -1.88233,-5.07935 -3.00842,-5.07935 -1.31836,-3.57421 1.69373,-3.01026 1.69189,-4.89258 -0.18677,-5.26794 1.12793,-3.01026 2.25769,-1.88049 2.0691,-3.38745 -1.12977,-5.83191 0.1886,-4.32678 1.50513,-3.95142 0.56396,-3.01025 -2.82165,-3.38745 -0.75256,-3.38562 1.88049,-3.76282 0.47241,-5.26978 -3.29224,-3.6676 -3.48083,-1.12793 -2.16431,-0.1886 -3.29223,-3.29223 -2.44446,-3.66944 -2.72827,-6.20727 -0.3772,-4.98597 0.84778,-7.24182 2.16247,-1.60034 3.01026,-3.19885 -0.56397,-2.06909 -1.03454,-0.56397 -3.8562,-0.93933 -3.10364,-4.0448 -1.88233,-1.88232 -4.51538,1.31652 -3.76282,-0.37719 -0.56396,-2.35108 -0.3772,-3.19885 -0.46875,-4.70215 z m 14.45984,207.17286 c -0.35632,0.0885 -0.7088,0.17354 -1.00708,0.27283 -0.7,0.234 -1.6228,0.57562 -2.3108,0.83862 -0.63299,0.241 -1.49455,0.52662 -2.09655,0.83862 -0.667,0.345 -1.52422,0.88214 -2.10022,1.36414 -0.529,0.444 -1.15088,1.13208 -1.57288,1.67907 -0.433,0.558 -0.92493,1.37002 -1.25793,1.99402 -0.292,0.547 -0.57546,1.32682 -0.84046,1.88782 -0.149,0.319 -0.41668,0.7132 -0.52368,1.0492 -0.251,0.78899 -0.35731,1.90227 -0.41931,2.72827 -0.065,0.847 -0.089,1.98764 0,2.83264 0.063,0.607 0.24231,1.40719 0.41931,1.99219 0.196,0.649 0.46746,1.53422 0.84046,2.10022 0.34299,0.52 1.0575,0.9995 1.4685,1.4685 0.34,0.387 0.7692,0.92831 1.0492,1.36231 0.29,0.449 0.72362,1.05087 0.83862,1.57287 0.123,0.555 0.0716,1.35065 -0.10437,1.88965 -0.197,0.606 -0.61657,1.44045 -1.15357,1.78345 -0.187,0.12 -0.52025,0.16637 -0.73425,0.10437 -0.278,-0.081 -0.60725,-0.36888 -0.73425,-0.62988 -0.33,-0.68 -10e-4,-1.76871 -0.10437,-2.5177 -0.075,-0.545 -0.15131,-1.30445 -0.41931,-1.78345 -0.455,-0.816 -1.52976,-1.55476 -2.20276,-2.20276 -0.433,-0.417 -0.90851,-1.14414 -1.46851,-1.36414 -0.293,-0.115 -0.74019,-0.062 -1.04919,0 -0.47,0.097 -1.14634,0.27689 -1.47034,0.62989 -0.27,0.293 -0.19631,0.92976 -0.41931,1.25976 -0.323,0.482 -1.04651,0.85994 -1.46851,1.25794 -0.76,0.719 -1.6905,1.7597 -2.4115,2.5177 -0.3038,0.31964 -0.64741,0.71616 -0.99426,1.09497 l 1.25977,1.56921 v 2.11487 l 1.69006,4.44031 2.96082,4.86511 -0.42298,2.74841 -2.74841,2.53785 -2.53784,4.01916 v 2.11487 l 1.47949,0.21057 2.53784,-2.53601 3.38379,0.21057 2.53784,2.53784 2.96082,0.63538 3.17322,-0.2124 1.90246,0.84594 0.42298,3.17322 2.75024,0.84595 3.80676,-1.90247 0.84595,-5.07568 0.63538,-2.96082 1.69189,-3.59619 1.05652,-4.22973 3.17322,-2.11487 2.11486,-2.32544 0.84595,-2.96082 -0.84595,-0.63537 c 0,0 -2.32621,-2.96117 -3.17321,-4.01917 -0.846,-1.057 -3.38379,-2.53601 -3.38379,-2.53601 h -4.44214 l -2.11304,-1.69189 -0.63537,-2.32728 0.42297,-3.17321 -1.47949,-2.53601 -1.6919,-2.11487 -1.26892,-3.59619 -0.42297,-1.6919 1.47949,-1.90246 1.90247,-1.90247 2.32727,-0.63538 0.0531,-2.16797 z
296
+ `);
297
+ }
298
+ renderCantonUR(group) {
299
+ this.renderCanton(group, 'UR', `
300
+ m 620.44009,281.4734 c -0.2986,0.002 -0.64107,0.10623 -0.88257,0.21423 -0.0341,0.0153 -0.0654,0.0469 -0.0989,0.0659 l 0.16663,0.52918 0.24902,1.12426 -1.37512,1.43738 -1.56189,1.93909 -0.18677,2.43713 0.24903,2.8125 -1.18836,1.49964 -3.62366,2.62573 -2.43896,3.06152 -3.12378,2.06177 -1.31287,0.56213 -2.18811,1.81275 -3.31237,1.99951 -3.75001,1.37512 -2.37487,1.18836 -2.37488,3.43689 1.81274,-0.12452 0.18677,1.49964 0.68848,-0.18677 0.68664,1.18469 -1.56189,4.06128 0.0183,6.66504 4.3158,0.007 1.27991,0.54931 2.10205,0.64087 0.36621,2.55799 -3.83789,2.01232 -2.56165,2.74109 -1.55273,4.47876 1.18835,1.09681 0.9137,1.46301 -0.54932,1.55273 -1.18835,0.45777 -1.82739,-0.0916 -0.0916,1.09681 4.20227,1.00524 -0.36438,1.92078 1.46302,1.27808 1.46301,2.37671 0.1831,0.91369 -3.01757,2.83264 -1.09681,-0.72876 -1.82739,-0.45776 -1.46301,-0.1831 -2.79053,0.28381 -2.10571,3.98437 -0.23255,1.94642 0.46692,5.29724 1.79261,3.35083 1.16821,3.81591 0.15564,3.03772 v 3.03772 l -0.85693,1.63697 -1.86951,1.16821 -2.5708,-0.31128 -2.56897,-0.93567 -3.11646,-0.54565 -2.10388,-0.23255 0.23254,1.94642 0.62256,3.50646 0.9375,2.41517 1.94641,3.208 1.78528,0.47608 2.26502,1.45569 0.31311,2.33825 -0.54566,10.67139 -2.18261,5.68726 -1.71387,4.98596 0.93567,2.02515 2.49206,4.05029 0.93567,2.18079 1.17005,2.72827 1.32385,1.94641 2.25769,1.32385 2.25952,1.24695 2.75757,0.46875 3.74084,-0.23438 5.01893,-1.64611 1.22314,-1.50513 0.28198,-2.53967 -0.65918,-4.2334 1.41175,-3.38562 3.29223,-3.19886 5.26795,-1.03454 4.32861,1.03454 2.06909,1.50513 7.43042,0.75256 2.63489,1.12977 1.12976,1.69189 4.32678,-0.28198 3.00843,-2.53968 1.50879,-2.63855 1.31469,-6.20361 -3.38745,-5.07934 -2.82165,-3.76282 v -6.20911 l 2.44629,-3.38745 1.88049,-1.12793 -2.06909,-4.51538 -0.37537,-2.25769 1.6919,-3.57422 2.82165,-1.69373 5.07935,-0.18676 3.38745,-3.57422 4.13818,-2.25769 1.50513,-5.08118 0.56396,-2.63306 3.38745,-0.37719 1.88233,3.19885 3.57422,0.1886 2.82165,-2.63489 0.93933,-4.32678 3.19886,-3.19886 1.50512,-4.32678 -1.31652,-4.89075 2.06909,-1.69372 2.82165,-1.31653 2.82166,-0.3772 4.0741,-4.14367 -0.85511,-3.6493 -1.4978,-4.12353 -0.39917,-1.49597 0.033,-1.33118 3.7262,-1.06384 4.32312,-1.39527 5.05554,-2.12951 3.92578,-2.66053 2.26135,-2.79418 0.13367,-2.86011 -0.66651,-3.5907 -2.65869,-4.39087 -2.05627,-2.677 -9.18457,5.12695 -5.83557,1.7688 -1.50147,1.14807 -1.06018,1.94458 -1.59302,1.23779 -0.70678,-8.30932 -2.82715,1.76697 -0.97412,-2.20826 0.88623,-3.27209 0.35339,-3.09265 -1.23779,-2.0343 -3.18238,-0.97046 -2.47558,0.35339 -1.14807,0.8844 -1.94458,1.50146 -1.41358,0.17762 -2.03247,-1.94458 -1.14807,-0.44129 -3.62549,1.06201 -2.56164,1.41358 -3.2721,3.18237 -2.03247,0.79468 -2.47559,1.23779 -1.50329,-2.65136 0.35522,-2.3877 -0.8844,-7.0697 -5.83374,1.50329 -2.82898,0.43946 -1.57104,-0.18494 -3.18787,-1.18835 -2.45178,0.18859 c 0.0579,0.62057 0.0714,1.39516 -0.009,1.98487 -0.067,0.496 -0.30594,1.12583 -0.44494,1.60583 -0.18,0.618 -0.50422,1.42145 -0.62622,2.05445 -0.117,0.606 -0.34761,1.45944 -0.17761,2.05444 0.073,0.257 0.36766,0.50511 0.53466,0.71411 0.284,0.356 0.68345,0.81589 0.98145,1.16089 0.212,0.243 0.54794,0.52783 0.71594,0.80383 0.193,0.319 0.35495,0.79889 0.44495,1.16089 0.162,0.654 0.21516,1.56006 0.26916,2.23206 0.054,0.668 0.27772,1.58822 0.0897,2.23022 -0.093,0.314 -0.35822,0.70556 -0.62622,0.89356 -0.432,0.301 -1.27355,0.13377 -1.69555,0.44677 -0.329,0.243 -0.48511,0.82006 -0.71411,1.15906 -0.278,0.414 -0.50628,1.19533 -0.98328,1.34033 -0.3,0.091 -0.74262,-0.15205 -0.97962,-0.35705 -0.29999,-0.259 -0.46722,-0.79806 -0.62622,-1.15906 -0.195,-0.442 -0.40866,-1.05278 -0.53466,-1.51978 -0.186,-0.68499 -0.39078,-1.61477 -0.44678,-2.32177 -0.07,-0.881 0.0467,-2.06034 0.0897,-2.94434 0.02,-0.402 0.16372,-0.94433 0.0897,-1.34033 -0.082,-0.437 -0.45222,-0.93233 -0.62622,-1.34033 -0.203,-0.476 -0.40139,-1.13884 -0.62439,-1.60584 -0.187,-0.39 -0.58111,-0.83961 -0.71411,-1.25061 -0.156,-0.486 -0.21844,-1.18556 -0.17944,-1.69556 0.04,-0.52399 0.31077,-1.18755 0.44677,-1.69555 0.157,-0.59 0.38367,-1.37272 0.53467,-1.96472 0.199,-0.774 0.41139,-1.81812 0.62439,-2.58912 0.12,-0.43299 0.35478,-0.99005 0.44678,-1.43005 0.149,-0.712 0.26516,-1.68267 0.26916,-2.40967 0.004,-0.808 -0.16716,-1.87683 -0.26916,-2.67883 -0.111,-0.887 -0.0228,-2.15917 -0.44678,-2.94617 -0.171,-0.317 -0.54672,-0.69983 -0.89172,-0.80383 -0.0845,-0.0253 -0.17879,-0.0356 -0.27832,-0.0348 z m 63.93128,56.43128 0.009,0.0421 0.009,-0.0604 z
301
+ `);
302
+ }
303
+ renderCantonVD(group) {
304
+ this.renderCanton(group, 'VD', `
305
+ m 276.87196,282.37062 c -0.16781,0.55001 -0.40663,1.12843 -0.59143,1.59851 -0.335,0.852 -0.76443,2.01154 -1.26343,2.77954 -0.498,0.764 -1.28848,1.72651 -2.02148,2.27051 -0.871,0.647 -2.31125,1.03111 -3.28125,1.51611 -1.001,0.499 -2.38609,1.1008 -3.28309,1.7688 -1.03198,0.767 -2.11039,2.13241 -3.03039,3.03039 -1.05629,1.02945 -2.33072,2.22697 -3.55957,3.38929 l 0.72693,0.60058 0.17761,0.17578 3.18237,1.59119 1.23597,4.77356 1.59118,4.24255 4.06494,3.35816 2.29981,2.47558 2.47558,1.76697 0.17579,4.94934 -1.59119,4.06678 1.94458,1.23596 1.7688,-2.12036 3.00476,-2.82898 1.59119,-3.35816 0.531,-5.30456 3.71155,-2.82715 3.00476,-2.65137 -2.82715,-5.83374 -0.23987,-0.42297 c -0.54289,0.47147 -1.02966,1.17374 -1.42822,1.6864 -0.303,0.391 -0.5974,0.98777 -0.8844,1.38977 -0.282,0.395 -0.62491,0.96643 -1.00891,1.26343 -0.59,0.455 -1.53917,0.88191 -2.27417,1.00891 -0.972,0.168 -2.32225,-0.0167 -3.28125,-0.25269 -0.561,-0.138 -1.2898,-0.43322 -1.7688,-0.75622 -0.533,-0.362 -1.15428,-0.98412 -1.51428,-1.51612 -0.323,-0.478 -0.77506,-1.1928 -0.75806,-1.7688 0.018,-0.59297 0.5604,-1.26896 0.8844,-1.76696 0.293,-0.452 0.73709,-1.02977 1.13709,-1.38977 0.875,-0.786 2.35208,-1.426 3.28308,-2.146 0.89,-0.689 1.86871,-1.86005 2.77771,-2.52502 0.21232,-0.15537 0.45733,-0.31972 0.71228,-0.48157 l -0.0568,-0.10071 -1.2378,-1.59119 v -5.47851 l 0.94116,-3.82508 -0.76355,-0.41748 -3.89099,-1.23779 z m -71.8158,14.48181 -3.18237,1.23779 -5.30457,4.94934 -6.53869,4.24256 -3.71338,4.77173 -7.77832,2.12036 -5.65613,2.6532 -9.1919,6.00952 -16.43371,2.33276 -3.23731,3.7738 -2.11487,1.90247 -0.2124,2.32544 -0.42297,5.07751 -2.11487,1.4795 0.84778,2.11487 1.47766,1.69006 3.38562,1.69189 1.26892,3.17322 -2.96082,4.22791 -2.96081,3.17321 -3.59436,2.11487 -4.86511,1.05835 -1.9043,1.05652 -0.63355,2.75025 -7.40112,6.76757 -10.15137,6.76941 -5.07568,2.11304 -4.44214,4.01917 -4.227906,4.44213 -12.689209,11.63086 -10.151368,9.30542 -4.863281,4.44214 -2.537842,3.59436 5.71106,6.34461 2.113037,2.75024 1.270752,5.92163 -3.806763,3.17139 -2.750244,2.96082 -2.960816,4.44214 -3.596191,5.49865 -2.537842,4.44031 0.422973,7.40295 -0.845947,4.22791 -2.114868,3.59619 4.863281,3.17322 6.76941,4.86328 6.557007,6.76758 1.479492,3.38379 -0.212402,4.01916 -2.537842,4.01917 -2.748413,4.65271 1.203003,0.0421 4.180298,2.77771 5.126953,3.0066 0.591431,0.35888 c 0.07885,-0.0868 0.174517,-0.17234 0.239868,-0.26001 0.954999,-1.281 2.103711,-3.09751 2.77771,-4.54651 0.706999,-1.52099 1.440799,-3.65773 1.768799,-5.30273 0.161754,-0.81111 0.149317,-1.82672 0.203247,-2.74841 l -0.09338,-0.0531 -0.01648,-0.002 -2.651368,-1.06201 0.355225,-3.18054 -3.88916,-1.7688 -2.475586,-1.06018 1.06018,-4.06677 4.77356,1.41357 5.297242,2.99011 0.477905,0.20691 c 0.55981,-0.99416 1.063611,-2.24971 1.757812,-3.04321 1.066999,-1.221 3.574825,-1.83008 4.293824,-3.28308 0.201,-0.407 -0.28,-1.15528 0,-1.51428 0.575999,-0.738 2.131565,-0.48506 3.028559,-0.75806 1.078,-0.326 2.60277,-0.63243 3.53577,-1.26343 0.757,-0.51 1.60248,-1.46234 2.02148,-2.27234 0.464,-0.898 0.52106,-2.30008 0.75806,-3.28308 0.292,-1.215 0.20891,-3.0793 1.00891,-4.0393 0.586,-0.704 2.13254,-0.61543 2.77954,-1.26343 0.647,-0.648 0.7396,-2.02471 1.2616,-2.77771 0.732,-1.057 2.0954,-2.1484 3.03039,-3.0304 1.327,-1.252 3.18252,-2.82814 4.54651,-4.04114 0.682,-0.60499 1.42034,-1.69465 2.27234,-2.01965 1.133,-0.432 2.83214,-0.096 4.04114,0 1.452,0.113 3.35037,0.58723 4.79736,0.75623 0.981,0.115 2.30709,0.40168 3.28309,0.25268 1.20999,-0.186 2.67745,-1.00211 3.78845,-1.51611 1.477,-0.682 3.33136,-1.81719 4.79736,-2.52319 1.192,-0.573 2.92014,-1.0648 4.04114,-1.7688 1.183,-0.742 2.45194,-2.1464 3.53393,-3.0304 0.669,-0.547 1.77518,-1.06097 2.27417,-1.76697 0.553,-0.782 0.46492,-2.24139 1.00892,-3.03039 0.611,-0.887 1.98054,-1.55217 2.77954,-2.27417 0.556,-0.503 1.03597,-1.59497 1.76696,-1.76697 0.699,-0.165 1.64734,0.40306 2.27234,0.75806 0.608,0.344 1.1478,1.19328 1.7688,1.51428 0.833,0.431 2.1004,0.64406 3.0304,0.75806 0.677,0.083 1.59234,0.043 2.27234,0 0.609,-0.038 1.45665,-0.0139 2.01965,-0.25086 0.446,-0.189 0.87143,-0.72657 1.26343,-1.01257 0.44,-0.322 1.01411,-0.79491 1.51611,-1.00891 0.643,-0.274 1.57434,-0.48237 2.27234,-0.50537 0.996,-0.033 2.35825,0.12937 3.28125,0.50537 0.604,0.245 1.2018,0.93942 1.7688,1.26342 0.647,0.37 1.61034,0.66492 2.27234,1.00892 0.784,0.407 1.67402,1.27911 2.52502,1.51611 0.803,0.223 1.94571,0.059 2.77771,0 1.068,-0.076 2.48977,-0.27537 3.53577,-0.50537 0.772,-0.171 1.73703,-0.82606 2.52502,-0.75806 0.675,0.058 1.39249,0.75874 2.02149,1.01074 0.956,0.384 2.40008,0.47875 3.28308,1.01075 0.734,0.441 1.38665,1.44165 2.01965,2.01965 0.438,0.399 1.06312,0.88143 1.51612,1.26343 0.533,0.451 1.11097,1.27311 1.76696,1.51611 0.568,0.21 1.42149,0.09 2.02149,0 1.019,-0.153 2.26708,-1.18074 3.28308,-1.01074 1.017,0.169 1.91871,1.45248 2.77771,2.02148 0.737,0.488 1.81203,0.99512 2.52503,1.51612 0.65099,0.475 1.28265,1.43896 2.01965,1.76696 1.186,0.526 3.00582,0.35437 4.29382,0.50537 1.288,0.151 3.026,0.22338 4.29199,0.50538 1.17,0.261 2.75546,0.65742 3.78846,1.26342 0.973,0.568 1.77971,2.00303 2.77771,2.52503 0.896,0.469 2.37808,0.30722 3.28308,0.75622 1.06,0.526 2.00439,1.93603 3.03039,2.52503 0.769,0.442 1.98571,0.61157 2.77771,1.01257 1.219,0.616 2.71346,1.68303 3.78846,2.52503 0.96999,0.761 2.23739,1.83188 3.03039,2.77587 0.635,0.757 1.26197,1.92972 1.76697,2.77771 0.399,0.67 1.16143,1.49934 1.26343,2.27234 0.122,0.93 -0.39206,2.1684 -0.75806,3.0304 -0.279,0.658 -0.68843,1.59548 -1.26343,2.02148 -0.693,0.516 -1.91688,0.67906 -2.77588,0.75806 -0.909,0.083 -2.12522,-0.15552 -3.03222,-0.25452 -1.14,-0.123 -2.64863,-0.64454 -3.78662,-0.50354 -0.27713,0.0349 -0.57149,0.13969 -0.86792,0.26368 0.13105,0.20385 0.74682,1.10478 1.06567,1.50879 0.548,0.69297 1.33426,1.57057 1.93726,2.21557 0.56197,0.601 1.53408,1.22126 1.93908,1.93726 0.337,0.596 0.33798,1.56374 0.55298,2.21374 0.34,1.024 0.96428,2.32573 1.38428,3.3197 0.246,0.584 0.42447,1.45309 0.82947,1.93909 0.574,0.69 1.82223,1.05894 2.49023,1.65894 0.965,0.867 2.07556,2.22453 2.76856,3.32153 0.63497,1.005 1.01693,2.59802 1.65893,3.59802 0.413,0.645 1.23777,1.29926 1.66077,1.93726 0.514,0.774 0.98328,1.93155 1.38428,2.76855 0.51497,1.072 1.23976,2.48603 1.66076,3.59803 0.307,0.811 0.70347,1.90972 0.82947,2.76672 0.108,0.739 0,1.74507 0,2.49207 0,0.99597 -0.173,2.3397 0,3.3197 0.168,0.957 0.72196,2.15104 1.10596,3.04504 0.44,1.022 0.92376,2.48473 1.66076,3.3197 0.395,0.449 1.22877,0.69279 1.66077,1.10779 0.815,0.782 1.55575,2.12522 2.21375,3.04322 1.00597,1.40397 2.6707,3.10298 3.3197,4.70398 0.602,1.48097 0.6183,3.67581 0.8313,5.25878 0.099,0.745 0.0885,1.76224 0.27649,2.49024 0.54,2.09 2.06555,4.60026 2.76855,6.64123 l 0.67017,-0.66467 5.79162,-4.14917 7.17224,-4.33594 5.48035,-4.41833 6.00952,-5.83374 4.77356,-4.42017 3.88916,-5.65613 1.94458,-3.71154 1.76697,-3.18421 -2.12036,-4.59595 2.82715,-2.65136 4.22973,-2.95716 1.07483,-2.87658 -1.41357,-6.36292 0.17578,-2.82898 -3.35815,-3.00476 v -7.42493 l 1.7688,-3.18237 -0.17762,-3.35815 -2.12219,-3.00476 -0.17578,-3.53577 1.23779,-1.59119 c 0,0 3.00455,0 3.71155,-0.531 0.707,-0.531 2.47559,-2.47376 2.47559,-2.47376 0,0 -0.177,-3.35917 0,-4.42017 0.177,-1.06097 -0.53101,-5.30273 -0.53101,-5.30273 l 3.1842,-4.06677 2.29798,-3.35816 -0.35523,-5.65612 -0.70678,-6.18714 -1.18103,-4.15832 -6.59729,3.4497 -3.71338,-1.94458 -3.35816,2.82898 -2.82715,1.59119 -3.35998,1.7688 -2.65137,4.24072 -4.06494,4.42017 -3.71155,2.29797 -6.18713,0.70862 -3.71338,0.88257 -3.35816,3.1842 c 0,0 -3.35937,3.53434 -3.18237,4.41834 0.177,0.884 -3.00476,4.59778 -3.00476,4.59778 l -3.18237,2.64953 -4.24256,1.41541 0.70679,-2.1222 -1.23779,-5.12695 -1.59119,-6.89392 -0.35339,-3.71338 -4.59595,-1.23596 -4.06677,-1.94458 -4.41834,-3.88916 -2.47558,-2.47559 -1.41541,-0.52917 -3.88916,3.35632 -1.94275,3.00659 -3.89099,2.1222 -3.53394,-0.53101 -1.59118,-3.35816 -0.8844,-1.94458 -3.00659,-1.94458 0.531,-3.00476 0.8844,-2.29797 3.88916,0.17761 3.18237,3.00476 3.53577,1.06018 -0.17761,-2.64953 0.8844,-1.77063 1.59119,-0.17578 1.23779,-1.59119 1.76697,-2.47559 3.00659,-2.65136 0.932,-1.54175 -1.46301,-1.10779 -3.00476,-0.70862 -3.18237,-1.41357 -3.18238,-2.82898 -2.82897,0.531 -3.35816,1.76697 -1.41357,-2.47375 -1.7688,0.70678 -3.18238,1.41358 -0.70678,-2.12036 v -8.84034 l -0.8844,-5.65612 v -6.18714 l 1.59118,-0.531 3.53577,-3.35816 2.65137,-1.94458 2.12036,0.17761 1.59119,1.41358 3.35998,-0.17578 1.41358,-2.65137 0.35339,-4.59595 6.18713,-6.71814 8.30933,-10.2539 0.52918,-3.71338 -2.64954,-2.29798 0.88257,-2.64953 4.42016,-4.95118 2.47559,-2.82714 1.59119,-5.65796 0.8844,-4.24073 4.06494,-3.00476 0.17761,-6.18896 -1.59119,-3.53577 v -5.30273 l -2.12219,-0.8844 -4.06494,-3.35816 -4.77356,-5.30456 -1.32935,-1.86402 c -0.75338,0.52115 -1.51908,1.043 -2.17346,1.48316 -1.413,0.949 -3.68519,1.74239 -4.79919,3.03039 -0.0646,0.0746 -0.10853,0.17649 -0.16114,0.26734 l 0.68665,0.62073 2.12036,-0.17762 2.47559,2.65137 -5.12696,2.82898 0.17762,1.06018 3.35815,-1.41357 3.35815,5.12512 -2.65136,2.2998 -2.29798,5.47852 -0.17578,1.94458 -1.7688,4.77356 2.47559,0.17578 0.52917,-1.76697 1.7688,-0.17761 1.23597,0.70679 -0.88257,2.29797 v 3.88916 l -1.06201,3.88916 -2.12037,2.12219 h -3.00659 l -3.88916,-1.59118 -2.82715,-1.7688 -2.2998,2.47558 -2.29798,1.2378 -2.12036,-0.35523 -4.95117,-2.12036 -4.59595,-3.35815 1.59119,-1.06201 -4.06494,-3.00477 -0.60608,-0.48522 c -0.63441,0.84278 -1.29285,1.77175 -1.91162,2.47741 -0.425,0.484 -0.92212,1.27012 -1.51612,1.51612 -0.76898,0.318 -1.95271,0.121 -2.77771,0 -0.78198,-0.115 -1.78102,-0.48806 -2.52502,-0.75806 -0.542,-0.197 -1.21097,-0.60206 -1.76697,-0.75806 -0.516,-0.145 -1.2338,-0.27468 -1.7688,-0.25268 -1.01,0.043 -2.36108,0.34305 -3.28308,0.75805 -0.594,0.268 -1.2378,0.8826 -1.7688,1.2616 -0.531,0.379 -1.23596,0.88443 -1.76696,1.26343 -0.531,0.379 -1.1938,0.95643 -1.7688,1.26343 -0.572,0.305 -1.43366,0.48305 -2.01966,0.75805 -0.553,0.26 -1.2388,0.70591 -1.7688,1.00891 -0.531,0.304 -1.16981,0.88658 -1.76879,1.01258 -1.416,0.298 -3.49037,0.11761 -4.79737,-0.50537 -0.386,-0.185 -0.8464,-0.61359 -1.0144,-1.00159 -0.203,-0.491 -0.179,-1.2698 0,-1.7688 0.361,-1.013 1.59534,-1.93971 2.27234,-2.77771 0.305,-0.377 0.62874,-0.96343 1.01074,-1.26343 0.854,-0.668 2.22308,-1.28228 3.28308,-1.51428 0.37,-0.081 0.9076,0.133 1.2616,0 0.754,-0.284 1.45548,-1.1968 2.02148,-1.7688 0.492,-0.498 1.10713,-1.2018 1.51611,-1.7688 0.258,-0.359 0.43406,-0.96243 0.75806,-1.26343 0.622,-0.575 1.82203,-0.79042 2.52503,-1.26342 0.669,-0.449 1.48165,-1.16697 2.01965,-1.76697 0.619,-0.688 1.1188,-1.86803 1.7688,-2.52503 0.459,-0.463 1.1478,-1.06442 1.7688,-1.26342 0.505,-0.161 1.28898,0.232 1.76696,0 1.213,-0.59 1.98673,-2.44194 2.77771,-3.53394 0.482,-0.664 1.10512,-1.56517 1.51612,-2.27417 0.425,-0.732 0.76843,-1.83702 1.26343,-2.52502 0.11889,-0.16517 0.27673,-0.3219 0.4486,-0.47608 l -0.0989,-0.31128 -2.65137,-1.94458 -0.70679,-7.24731 -3.18237,-1.94458 1.41357,-4.06494 z m 13.79334,60.63172 0.17761,3.00659 -0.8844,3.53393 -1.7688,1.59119 -2.29797,-1.76697 -0.52918,-2.82898 1.94275,-3.18237 z
306
+ `);
307
+ }
308
+ renderCantonVS(group) {
309
+ this.renderCanton(group, 'VS', `
310
+ m 580.34548,388.87941 -3.89099,4.35608 -2.49206,3.42773 -2.33826,4.05213 -1.24512,5.60852 v 5.29724 l -0.7782,3.11462 -3.5852,3.2721 -3.11463,2.18079 -3.58337,1.8695 -1.40259,2.33826 -7.47803,4.67285 -4.83032,1.71387 -10.28137,2.64953 -5.29907,0.93384 -3.58155,-3.42773 -6.38855,-1.24512 -5.92163,-3.89648 -4.51721,-1.71387 -3.89648,0.31311 -4.98414,-2.33826 -3.73901,-2.02331 -3.11645,0.15381 -2.80335,1.8695 -3.89648,2.02515 -4.36158,1.71387 -0.77819,9.97192 -7.01294,3.42773 -2.18079,2.96082 -5.29724,4.36157 -5.76416,0.93567 -9.50501,0.46692 -12.93091,11.21887 -14.80224,12.15088 -4.51722,-6.85364 -7.7893,-5.61035 -5.61035,-1.08947 -2.64771,2.6477 -2.18079,4.05212 -2.96081,3.73902 -4.98596,-0.15747 H 389.339 l -2.33642,1.24695 -1.87134,1.8695 4.51904,2.96082 -1.08947,1.71387 -2.64954,2.80517 -4.20593,2.02515 -4.36158,1.40076 -8.10241,-2.64954 -4.82849,-1.08948 c 0,0 -7.94634,2.02626 -8.56934,2.33826 -0.623,0.312 -6.69983,4.98413 -6.69983,4.98413 l -4.51904,3.11645 -4.51721,2.80335 -2.80518,-1.08948 -1.40259,-2.18262 v -6.38855 l -4.05029,-0.77819 -3.89466,2.49389 -2.64953,2.02332 -0.7782,4.3634 -1.24512,3.89466 -2.96264,2.02514 -5.85389,-0.12817 -4.22607,2.948 -2.82715,2.65319 2.12036,4.59595 -1.76696,3.18238 -1.94459,3.71154 -3.88916,5.65796 -4.77356,4.41834 -6.00952,5.83374 -5.48034,4.42016 -7.17225,4.33594 -5.79162,4.14917 -0.67017,0.66467 c -0.703,-2.04099 -2.22855,-4.55306 -2.76855,-6.64306 -0.188,-0.728 -0.17749,-1.74341 -0.27649,-2.48841 -0.213,-1.58299 -0.22747,-3.77962 -0.82947,-5.26062 -0.649,-1.60099 -2.31553,-3.29998 -3.32153,-4.70398 -0.658,-0.91799 -1.39875,-2.26121 -2.21375,-3.04321 -0.432,-0.415 -1.26393,-0.65879 -1.65893,-1.10779 -0.737,-0.835 -1.22077,-2.2977 -1.66077,-3.3197 -0.384,-0.894 -0.93796,-2.08804 -1.10596,-3.04504 -0.173,-0.98 0,-2.32371 0,-3.31971 0,-0.74699 0.108,-1.75123 0,-2.49023 -0.126,-0.857 -0.5243,-1.95572 -0.8313,-2.76672 -0.421,-1.112 -1.14576,-2.52603 -1.66076,-3.59803 -0.401,-0.837 -0.87028,-1.99455 -1.38428,-2.76855 -0.423,-0.638 -1.24594,-1.29409 -1.65894,-1.93909 -0.642,-1 -1.02576,-2.59302 -1.66076,-3.59802 -0.693,-1.097 -1.80356,-2.4527 -2.76856,-3.3197 -0.668,-0.6 -1.9144,-0.97077 -2.4884,-1.66077 -0.405,-0.486 -0.5853,-1.35326 -0.8313,-1.93726 -0.42,-0.99399 -1.04428,-2.2957 -1.38428,-3.3197 -0.215,-0.65 -0.21598,-1.61957 -0.55298,-2.21557 -0.405,-0.716 -1.37708,-1.33626 -1.93908,-1.93726 -0.603,-0.645 -1.38926,-1.52075 -1.93726,-2.21374 -0.31886,-0.40402 -0.93467,-1.30672 -1.06567,-1.51063 -0.57119,0.2385 -1.15376,0.56892 -1.66077,0.74891 -0.972,0.343 -2.25408,0.95691 -3.28308,1.00891 -0.771,0.039 -1.78603,-0.72754 -2.52502,-0.50354 -0.615,0.187 -0.87612,1.45128 -1.51612,1.51428 -0.815,0.081 -1.55551,-1.11528 -2.27051,-1.51428 -0.801,-0.445 -1.90554,-0.98943 -2.77954,-1.26343 -0.56157,-0.17562 -1.2529,-0.29812 -1.91894,-0.39185 l 0.82397,5.35401 -1.47949,2.53784 -2.32544,2.32727 -4.01916,1.26892 0.84594,2.11487 2.53784,3.17139 1.6919,3.59619 1.26892,1.90246 1.69189,0.42298 3.5962,2.53784 1.47949,2.11487 1.47949,1.90429 2.96082,0.84595 1.90246,2.74842 v 5.07568 l -0.84595,4.65271 -2.74841,4.65271 -4.22973,5.70923 -2.96082,5.92346 0.63538,5.28626 0.42297,5.71106 -3.59619,2.11486 -2.96082,4.22791 -0.84595,2.32544 2.11487,1.69372 2.32544,2.74842 5.70923,-0.21241 2.96265,-0.42297 2.96081,-0.42297 4.22791,1.69189 5.07568,1.26892 1.6919,2.96082 -1.47949,2.53784 0.63354,6.13403 -0.42297,3.17322 -2.11487,1.69007 -0.63355,4.65271 0.21057,2.96081 2.53785,-0.42297 1.48132,-1.6919 1.47949,-2.96081 0.63538,-1.47949 3.59436,-0.21241 1.90246,0.63538 1.9043,3.80676 1.9043,0.63538 2.74841,4.01916 3.59436,5.9198 4.65271,5.71106 3.38562,6.13404 1.05652,4.4403 -1.47949,4.01917 3.38379,0.84595 3.38379,0.84594 0.42297,4.86512 v 4.65271 l 2.75024,2.95898 c 0,0 3.38331,4.86504 4.44031,6.13403 1.057,1.269 2.32544,4.01917 2.32544,4.01917 l 2.32727,3.80676 1.4795,4.22974 0.84594,1.90246 1.6919,-0.21057 2.11487,-4.01916 2.53784,-2.74842 4.86511,-0.4248 4.22791,3.38379 2.32543,2.96081 1.9043,0.42298 v -4.43848 l 0.21057,-2.75024 2.53784,-2.32727 h 2.75025 l 3.80676,-0.42298 2.31262,-0.33874 2.99012,-0.59876 1.79443,-1.79443 2.39319,-3.58887 1.19751,-2.69165 4.50806,0.65003 5.06286,1.14441 4.01184,-0.21058 4.36158,1.70655 3.88732,1.79443 1.79627,-1.49597 1.79443,-0.89539 2.69165,-0.59875 1.49598,-2.99194 3.88732,-1.79261 4.78455,-2.69348 2.09473,-0.89538 -0.59876,-0.89722 1.49597,-4.48609 2.0929,-0.30029 2.09473,-1.49414 2.09289,-0.89722 3.5907,-0.59875 h 2.68982 l 2.69165,-1.79444 -0.59875,-2.39318 1.79626,-3.58887 1.58936,-0.40283 1.90429,-0.84595 3.17139,1.47949 3.38379,3.80676 3.80859,0.63538 6.1322,-1.05835 5.07569,0.63538 2.96081,1.90246 1.4795,1.9043 2.96081,2.11304 3.38562,2.11487 1.26892,5.28808 1.6919,0.84595 1.05652,-0.42297 4.86511,-2.32728 3.17322,-0.21057 4.2279,1.26892 4.65271,4.44214 4.01917,-2.75024 4.44031,0.84595 3.80676,0.2124 2.75024,-1.48132 v -1.05835 l -0.63537,-7.6117 1.26892,-4.65271 4.01916,-4.44031 4.22974,-2.75024 17.34192,-1.05652 2.75024,-2.53784 2.53601,-5.28809 2.11487,-4.65271 2.96265,-2.53784 -1.9043,-3.59436 0.2124,-8.03833 1.26892,-2.11304 3.80677,-3.59619 5.71106,-2.96082 4.44031,-0.42297 h 3.80676 l 0.63537,-2.96081 2.11487,-3.5962 3.17139,-2.75024 2.96081,-0.84595 0.21241,-1.69006 -0.84595,-4.65271 3.17322,-2.96082 -0.63538,-4.01916 -2.32727,-2.32727 -1.47949,-5.07386 -0.42297,-3.80676 -3.17322,-4.44214 -4.01734,-3.38379 -5.49865,-2.75024 0.42297,-3.59436 2.96081,-2.75025 3.5962,-5.49865 3.38379,-3.38379 3.17138,-1.26892 3.80677,0.42297 3.80676,1.47949 4.01916,-1.05652 4.65271,-5.92163 1.9043,-3.17321 v -1.9043 l 1.90247,-1.47949 3.80676,-1.26892 2.32727,-3.80677 3.38379,-2.11487 7.61169,-3.17138 1.6919,-3.38562 -1.05652,-2.96082 -3.38562,-0.84595 -2.53784,-2.32727 1.05835,-4.2279 1.90429,-2.53784 4.44031,-1.05835 4.86328,-3.38379 8.87879,-4.2334 1.58386,-6.33728 0.0787,-2.88208 -0.23255,-4.28467 2.02515,0.54565 h 3.89465 l 3.03772,0.31311 1.55823,-0.46875 1.24695,-2.25952 0.93567,-2.6477 3.66027,-3.349 1.63331,-3.35816 -2.80152,-0.45959 -2.25952,-1.24512 -2.25952,-1.32568 -1.32385,-1.94641 -1.16822,-2.72827 -0.93567,-2.18079 -2.49206,-4.05029 -0.93567,-2.02515 1.71387,-4.98596 2.18261,-5.68543 0.54383,-10.67322 -0.31128,-2.33825 -2.26685,-1.45569 z
311
+ `);
312
+ }
313
+ renderCantonZG(group) {
314
+ this.renderCanton(group, 'ZG', `
315
+ m 580.98086,196.89332 c -0.182,0.852 -1.03691,1.74918 -1.40991,2.53418 -0.391,0.821 -1.1491,1.90533 -1.1261,2.81433 0.031,1.209 1.22323,2.54345 1.68823,3.65845 0.278,0.666 0.68712,1.54819 0.84412,2.25219 0.237,1.075 0.23998,2.56028 0.28198,3.66028 0.046,1.182 -0.172,2.7696 0,3.9386 0.128,0.873 0.63011,1.96116 0.84411,2.81616 0.208,0.835 0.28314,2.00035 0.56214,2.81433 0.245,0.715 1.1091,1.49537 1.1261,2.25037 0.02,0.831 -0.8991,1.73418 -1.1261,2.53418 -0.347,1.229 -0.17463,3.00389 -0.56763,4.23889 l 2.74841,4.51721 1.82923,2.74109 2.0105,0.64087 1.46118,-1.37146 0.91553,-0.27466 0.45593,1.55457 0.32593,3.01025 2.59643,-1.35131 1.29639,-0.70679 c -0.13851,-0.0397 -0.26689,-0.0879 -0.37903,-0.15015 -0.328,-0.182 -0.6474,-0.5944 -0.8844,-0.8844 -0.26,-0.317 -0.60606,-0.75525 -0.75806,-1.13525 -0.243,-0.607 -0.42702,-1.49583 -0.37902,-2.14783 0.026,-0.359 0.25502,-0.79825 0.37902,-1.13525 0.141,-0.383 0.48437,-0.85643 0.50537,-1.26343 0.015,-0.276 -0.0757,-0.6724 -0.25268,-0.8844 -0.216,-0.261 -0.81374,-0.22854 -1.01074,-0.50354 -0.333,-0.467 -0.24869,-1.32214 -0.25269,-1.89514 -0.006,-0.648 0.19169,-1.5 0.25269,-2.146 0.05,-0.53 0.18834,-1.2418 0.12634,-1.7688 -0.088,-0.75 -0.67223,-1.64868 -0.75623,-2.39868 -0.051,-0.454 -0.0325,-1.08711 0.12452,-1.51611 0.112,-0.306 0.40571,-0.6494 0.63171,-0.8844 0.3,-0.312 0.7941,-0.6214 1.13708,-0.8844 0.301,-0.23 0.69092,-0.55306 1.00892,-0.75806 0.4,-0.256 0.9196,-0.81022 1.3916,-0.75622 0.453,0.052 0.75325,0.76174 1.13525,1.01074 0.384,0.25 0.96477,0.45971 1.38977,0.63171 0.522,0.211 1.2278,0.47289 1.7688,0.62989 0.82,0.239 1.96488,0.36354 2.77588,0.63354 0.355,0.117 0.82209,0.30454 1.13709,0.50354 0.29598,0.187 0.73839,0.44106 0.88439,0.75806 0.111,0.24 0,0.6184 0,0.8844 0,0.227 0.057,0.53622 0,0.75622 -0.117,0.46 -0.56722,0.9556 -0.75622,1.3916 -0.144,0.329 -0.28703,0.78826 -0.37903,1.13526 -0.15,0.561 -0.27503,1.32514 -0.37903,1.89514 -0.125,0.679 -0.22103,1.59934 -0.37903,2.27234 -0.118,0.502 -0.35337,1.14946 -0.50537,1.64246 -0.152,0.49298 -0.29537,1.16962 -0.50537,1.64062 -0.18,0.404 -0.55907,0.86843 -0.75805,1.26343 -0.223,0.44 -0.49872,1.04111 -0.63172,1.51611 -0.135,0.48 -0.27968,1.14446 -0.25268,1.64246 0.031,0.587 0.25737,1.36031 0.50537,1.89331 0.196,0.419 0.6014,0.89743 0.8844,1.26343 0.607,0.787 1.44599,1.81902 2.14599,2.52502 0.53,0.535 1.51031,0.99646 1.89331,1.64246 0.2588,0.43569 0.3747,1.02827 0.45777,1.62231 l 2.3822,-1.00342 2.9718,-0.25818 3.62,-0.13 0.77453,3.36182 2.71546,0.12817 2.58545,-1.29272 2.06726,-1.55091 2.32544,-0.77453 1.42273,-0.90455 3.48999,0.90455 2.84362,0.51635 1.16272,-0.77453 0.13001,-1.29273 0.25818,-2.71362 1.29272,-1.68091 1.93909,-1.42273 1.29089,-2.19543 0.77637,-4.13819 1.93909,-4.78088 -0.26001,-1.29273 -0.78553,-2.70813 -2.96264,1.80542 -3.10181,-0.26001 -0.77637,-0.90271 -0.77453,-2.84362 -0.90454,-0.13001 -3.62,-0.38818 -1.29089,-0.51819 -0.77637,-1.4209 -0.13,-2.19726 -0.64454,-2.0691 -0.51818,-2.32544 -0.13001,-2.06726 -1.29272,-0.51819 -1.4209,0.26001 -1.03455,-2.45544 -2.45544,0.38635 -1.29273,-1.68091 -1.03454,-1.03271 -4.13636,0.25818 -3.22998,-0.25818 -2.06726,0.77454 -2.19726,1.93908 -3.10181,1.16272 -4.65454,0.25818 -3.10181,0.25818 -3.87817,-1.16272 -1.4209,-1.16272 -4.29382,0.12451 c -0.648,-1.024 -1.11408,-2.60143 -1.67908,-3.66943 -0.461,-0.871 -1.25123,-1.93333 -1.68823,-2.81433 -0.404,-0.815 -0.8461,-1.94935 -1.1261,-2.81433 -0.106,-0.331 -0.27632,-0.84595 -0.27832,-0.84595 z m 44.31885,35.39795 c 0.0815,-1.6e-4 0.16083,0.006 0.2362,0.0183 0.382,0.062 0.74534,0.50511 1.06934,0.71411 0.425,0.275 0.96805,0.68756 1.43005,0.89356 0.713,0.317 1.80139,0.36711 2.49939,0.71411 0.48,0.238 1.04506,0.69816 1.43006,1.07116 0.492,0.477 1.05822,1.20728 1.42822,1.78528 0.193,0.302 0.33667,0.77117 0.53467,1.07117 0.273,0.411 1.012,0.76061 1.073,1.25061 0.03,0.237 -0.24706,0.50211 -0.35706,0.71411 -0.311,0.596 -0.54517,1.54872 -1.07117,1.96472 -0.48,0.379 -1.35972,0.45367 -1.96472,0.53467 -0.371,0.05 -0.98561,0.26583 -1.25061,0.002 -0.303,-0.303 0.12,-1.01805 0,-1.43005 -0.195,-0.67 -0.71261,-1.51872 -1.25061,-1.96472 -0.444,-0.368 -1.27928,-0.43628 -1.78528,-0.71228 -0.404,-0.222 -0.81978,-0.72739 -1.24878,-0.89539 -0.403,-0.158 -1.04205,0.0124 -1.43005,-0.17761 -0.749,-0.365 -1.78572,-1.25072 -1.96472,-1.96472 -0.178,-0.714 -0.37962,-1.40873 -0.17762,-1.96473 0.154,-0.427 0.67717,-0.84216 1.07117,-1.07116 0.462,-0.26775 1.15789,-0.55186 1.72852,-0.55298 z
316
+ `);
317
+ }
318
+ renderCantonZH(group) {
319
+ this.renderCanton(group, 'ZH', `
320
+ m 633.33438,48.62549 c -0.681,-0.025 -1.5782,0.182152 -2.2522,0.280152 -0.508,0.074 -1.35623,-0.109018 -1.68823,0.281982 -0.164,0.193 0.016,0.591117 0,0.844116 -0.043,0.68 -0.18316,1.578198 -0.28016,2.252198 -0.074,0.507999 -0.072,1.220233 -0.28198,1.688232 -0.22,0.494 -0.9151,0.908251 -1.1261,1.40625 -0.265,0.627 -0.31398,1.572198 -0.28198,2.252198 0.037,0.776999 0.12818,1.955746 0.52918,2.614746 0.378,0.481999 1.37202,0.767684 1.72302,1.325683 0.37,0.59 0.51313,1.558198 0.56213,2.252198 0.062,0.846999 0.14585,2.080332 -0.28015,2.814331 -0.364,0.627999 -1.25721,1.272081 -1.97021,1.408081 -0.343,0.064 -0.7921,-0.185983 -1.1261,-0.281982 -0.257,-0.075 -0.66895,-0.08198 -0.84595,-0.281983 -0.285,-0.322 -0.17015,-0.99025 -0.28015,-1.40625 -0.138,-0.515999 -0.03,-1.679232 -0.56397,-1.688232 -0.721,-0.014 -0.66511,1.553198 -0.84411,2.252197 -0.147,0.577999 -0.27199,1.373215 -0.28199,1.970215 -0.012,0.764999 0.097,1.791349 0.28199,2.532349 0.111,0.440999 0.45213,0.967081 0.56213,1.408081 0.186,0.740999 0.27798,1.768349 0.28198,2.532348 0.005,0.849 -0.023,2.006332 -0.28198,2.814332 -0.207,0.647999 -0.7131,1.431046 -1.1261,1.972046 -0.508,0.663999 -1.40778,1.350005 -2.05078,2.005005 -1.95894,3.034718 -4.31162,0.620737 -5.25146,-2.42981 -0.17254,-0.560029 1.08481,-0.978966 0.90454,-1.565552 -0.43031,-1.400192 -0.75737,-1.85339 -1.4209,-3.28125 -0.50967,-1.096765 -3.1305,-0.67462 -3.66944,-1.668091 -0.39392,-0.726151 -1.87554,-0.07613 -2.25585,-0.708618 -1.71843,-2.857881 -1.78977,-2.74765 -4.74244,-1.92627 -0.19456,-0.0315 -2.2903,1.106227 -5.06652,2.601929 -1.6986,0.915128 -3.91435,1.701723 -5.33387,3.206177 -1.56643,1.660157 -1.21478,4.412106 -1.85852,6.011353 -0.28969,0.719685 0.64129,1.902412 2.09839,2.054443 1.18853,0.124009 1.7754,-0.04742 1.6626,0.534668 -0.26836,1.384835 2.83335,-2.189898 2.78869,-0.45227 -0.59599,-0.043 -0.0191,2.152385 -0.55114,2.369384 -0.526,0.202 -0.69491,1.117913 -1.14991,1.409913 -1.17199,0.751999 -3.15239,0.788099 -4.50439,1.126098 -1.013,0.253 -2.3463,0.682117 -3.3783,0.844117 -1.25399,0.196999 -2.95058,0.309982 -4.22058,0.281982 -0.765,-0.018 -1.80118,-0.06498 -2.53418,-0.281982 -0.544,-0.16 -1.17105,-0.611272 -1.70105,-0.853272 l -1.30554,2.058106 0.64636,0.741577 -0.25818,3.878174 -2.32727,5.945431 -4.13635,4.13636 -3.35998,2.84362 v 4.13636 l -1.80909,3.35998 -2.06909,6.46363 1.81092,5.42907 1.5509,1.29273 0.38818,1.68091 0.51819,2.84362 0.90271,5.0409 0.26001,0.90454 2.19727,1.03271 3.61816,2.0691 0.64636,3.1018 -0.77453,1.80908 -6.07544,7.23816 0.38818,2.19727 6.84998,3.62 -0.57312,2.58544 0.47241,7.76917 1.7102,2.07825 1.36963,1.1206 2.72278,0.50171 1.97571,-2.79785 0.95581,0.44495 -1.75964,3.01941 -1.76331,3.18603 -2.37488,2.64954 -2.37671,1.09863 -3.28674,0.65552 c 0.406,0.706 1.27331,1.70831 1.62231,2.42431 0.434,0.889 0.8211,2.15715 1.1261,3.09815 0.189,0.584 0.37314,1.38338 0.56214,1.96838 0.305,0.94 0.9101,2.13315 1.1261,3.09815 0.203,0.91 0.47434,2.18333 0.25634,3.08532 -0.025,-0.01 0.20062,0.52411 0.30762,0.85511 0.28,0.865 0.72027,1.99933 1.12427,2.81433 0.438,0.882 1.23006,1.94333 1.69006,2.81433 0.564,1.068 1.03008,2.64543 1.67908,3.66943 l 4.29199,-0.12451 1.42273,1.16272 3.87634,1.16272 3.10364,-0.25818 4.65271,-0.25818 3.10181,-1.16272 2.19726,-1.93908 2.0691,-0.77637 3.22998,0.26001 4.13635,-0.26001 1.03455,1.03455 1.29272,1.6809 2.45544,-0.38818 1.03272,2.45728 1.42273,-0.26001 1.29272,0.51818 0.12818,2.06726 0.51819,2.32544 0.64636,2.0691 0.13,2.19543 0.77454,1.42273 1.29272,0.51636 3.61817,0.39001 0.90637,0.12818 0.77454,2.84546 0.77453,0.90271 3.10364,0.26001 2.95898,-1.87684 -0.46691,-1.56921 -1.15723,-2.43713 0.1886,-1.90613 2.06177,-1.49964 2.12585,-2.62573 1.43738,-2.68799 0.75073,-1.56189 2.25037,-0.25085 0.0458,-0.0146 c -0.24254,-0.3361 -0.47879,-0.68139 -0.71411,-0.94665 -0.782,-0.882 -1.92971,-1.96072 -2.77771,-2.77771 -0.521,-0.503 -1.1848,-1.21363 -1.7688,-1.64063 -0.808,-0.591 -2.11905,-1.02146 -2.90405,-1.64246 -0.567,-0.449 -1.24746,-1.1618 -1.64246,-1.76879 -0.314,-0.484 -0.46105,-1.2728 -0.75805,-1.7688 -0.373,-0.624 -1.01929,-1.35931 -1.51429,-1.89331 -0.49299,-0.53 -1.12279,-1.31546 -1.76879,-1.64246 -0.723,-0.365 -1.84337,-0.44737 -2.65137,-0.50537 -0.832,-0.06 -1.94871,0.21634 -2.77771,0.12634 -0.585,-0.063 -1.35614,-0.26737 -1.89514,-0.50537 -0.701,-0.312 -1.491,-0.98894 -2.146,-1.38794 -0.521,-0.318 -1.29597,-0.62074 -1.76697,-1.01074 -0.538,-0.444 -1.04111,-1.2558 -1.51611,-1.7688 -0.546,-0.59 -1.58531,-1.15114 -1.89331,-1.89514 -0.275,-0.664 0.136,-1.69085 0,-2.39685 -0.154,-0.802 -0.65574,-1.79103 -1.01074,-2.52503 -0.398,-0.825 -1.03812,-1.8712 -1.51612,-2.6532 -0.471,-0.77099 -1.19245,-1.74019 -1.64245,-2.52319 -0.421,-0.735 -0.9486,-1.73802 -1.2616,-2.52502 -0.291,-0.735 -0.49006,-1.78103 -0.75806,-2.52503 -0.264,-0.735 -0.77774,-1.65368 -1.01074,-2.39868 -0.22,-0.702 -0.19537,-1.73351 -0.50537,-2.40051 -0.182,-0.392 -0.6324,-0.78609 -0.8844,-1.13709 -0.32,-0.442 -0.75974,-1.02828 -1.01074,-1.51428 -0.242,-0.469 -0.39788,-1.16746 -0.62988,-1.64246 -0.194,-0.397 -0.70306,-0.82259 -0.75806,-1.26159 -0.049,-0.393 0.23303,-0.89643 0.37903,-1.26343 0.25,-0.63 0.65191,-1.44449 1.00891,-2.02148 0.199,-0.322 0.37906,-1.01075 0.75806,-1.01075 0.75799,0 1.02711,1.44049 1.51611,2.02149 0.604,0.717 1.63,1.48934 2.146,2.27234 0.52299,0.793 0.91642,2.02005 1.26342,2.90405 0.293,0.747 0.7034,1.74302 0.8844,2.52502 0.146,0.632 0.0549,1.528 0.25086,2.146 0.145,0.452 0.54305,0.96677 0.75805,1.38977 0.322,0.635 0.69875,1.507 1.01075,2.146 0.295,0.61 0.71474,1.40965 1.01074,2.01965 0.311,0.641 0.74074,1.488 1.01074,2.146 0.26,0.632 0.43306,1.54599 0.75806,2.14599 0.386,0.713 1.08162,1.559 1.64062,2.146 0.685,0.722 1.77603,1.493 2.52503,2.14599 0.728,0.635 1.68951,1.49383 2.40051,2.14783 0.729,0.671 1.57585,1.71834 2.39685,2.27234 0.829,0.56 2.0884,1.05194 3.0304,1.38794 0.84799,0.303 2.03305,0.52806 2.90405,0.75806 0.568,0.15 1.34214,0.30637 1.89514,0.50537 0.51,0.185 1.17046,0.48906 1.64246,0.75805 0.639,0.364 1.44665,0.92778 2.01965,1.38978 0.729,0.58999 1.57334,1.52099 2.27234,2.14599 0.48,0.431 1.15146,0.96977 1.64245,1.38977 0.571,0.489 1.26232,1.23063 1.89332,1.64063 0.52599,0.341 1.32514,0.6214 1.89514,0.8844 0.416,0.191 0.97277,0.44371 1.38977,0.63171 0.681,0.306 1.56034,0.79074 2.27234,1.01074 0.404,0.124 0.97177,0.18169 1.38977,0.25269 0.945,0.162 2.19891,0.42854 3.1549,0.50354 0.869,0.069 2.03306,0.023 2.90406,0 0.721,-0.019 1.72168,0.12149 2.39868,-0.12451 0.356,-0.129 0.67074,-0.59106 1.01074,-0.75806 0.0146,-0.007 0.0342,-0.01 0.0494,-0.0165 l -0.48523,-1.6333 1.25061,-2.0636 1.93909,-1.99951 2.37488,-0.7489 2.56164,0.5603 2.25037,1.25061 3.99902,0.56213 h 2.25037 l 1.56189,-0.9375 2.18811,-1.62597 4.65637,-1.61865 5.74585,-1.5033 -0.0879,-3.00476 1.67908,-3.71338 -0.44129,-1.14807 -1.41357,0.44128 -0.6189,-2.0343 2.03247,-2.29797 2.91687,-2.73926 4.15467,-0.70679 0.88256,-3.88916 -0.79467,-5.83374 -3.09449,-4.86145 -2.56347,-5.47851 -1.05286,-2.40784 c 0.008,-2.733 -1.2434,-6.10305 -2.0874,-6.52405 -1.014,-0.507 -2.55255,-0.72185 -3.58155,-1.19385 -0.63299,-0.291 -1.35435,-0.91085 -1.99035,-1.19385 -1.483,-0.66199 -3.5704,-1.35101 -5.17639,-1.59301 l 1.77978,-2.81983 1.23779,-3.27026 2.73743,-0.97412 -1.41357,-1.14807 -1.76697,-1.59119 -1.06201,-2.91687 0.17761,-2.91687 -2.60559,-4.87244 0.62439,-4.24988 1.75049,-4.00085 1.12426,-6.3739 -0.62438,-3.50098 -4.37623,-1.99951 -2.37487,-1.25061 -1.99952,0.62622 -2.6239,0.12451 -1.62597,-0.99975 -0.99976,-2.25037 -0.49988,-2.625733 3.62549,-0.124512 0.24902,-0.999756 -1.25061,-1.624145 -2.82348,-2.545166 -3.77747,-1.16272 -2.91687,-1.94458 -0.29663,-4.30481 c -1.271,-0.518999 -3.09325,-1.063774 -4.48425,-1.118774 -0.514,-0.021 -1.19107,0.157982 -1.69007,0.281982 -0.777,0.192 -1.73335,0.899285 -2.53234,0.842285 l -0.85145,-2.506714 -0.37536,-1.417236 0.21789,-1.843872 1.15723,-0.999756 2.59277,-0.15564 4.68934,0.748902 -0.12635,0.812988 1.97022,1.248779 3.93677,-5.438232 4.2517,-7.749024 -0.68847,-0.875244 -2.8125,-0.811158 -3.06153,-1.126098 -2.49939,-1.250611 v -0.9375 l -3.87634,-0.437622 -0.56213,-0.188598 -0.56214,1.062011 -0.99975,1.499634 -0.99976,0.750733 -1.56189,1.625976 -2.93701,1.875 -4.18945,-0.126342 -4.37439,-0.875245 -1.99951,-1.124267 -1.81275,-0.999756 -1.85852,-2.893067 -1.50146,-3.358154 0.44128,-1.85669 2.06909,-2.772217 c -0.237,-0.029 -0.38713,-0.401134 -0.56213,-0.562133 -0.487,-0.445 -1.17723,-0.990082 -1.68823,-1.408081 -0.418,-0.342 -0.98009,-0.7941 -1.40809,-1.126099 -0.334,-0.258 -0.74009,-0.672117 -1.12609,-0.844116 -0.393,-0.176 -0.97625,-0.265152 -1.40625,-0.280152 z
321
+ `);
322
+ }
323
+ renderCanton(parent, canton, curve) {
324
+ const result = SVG_BUILDER.createCurve(parent, curve, { styleClass: `inu-svg-switzerland-canton ${canton}` });
325
+ if (result) {
326
+ result.onmousedown = (mouseEvent) => mouseEvent.preventDefault();
327
+ result.onclick = (mouseEvent) => this.onClick(canton, result, mouseEvent);
328
+ result.ondblclick = (mouseEvent) => this.ondblclick(canton, result, mouseEvent);
329
+ result.ontouchend = (toucheEvent) => this.ontouchend(canton, result, toucheEvent);
330
+ result.onmouseenter = (mouseEvent) => this.onHover(canton, mouseEvent);
331
+ result.onmouseleave = (mouseEvent) => this.onMouseLeave(canton, mouseEvent);
332
+ this.cantons[canton] = {
333
+ name: canton,
334
+ node: result,
335
+ lastTap: 0,
336
+ selectItem: {
337
+ id: canton,
338
+ title: canton
339
+ }
340
+ };
341
+ }
342
+ return result;
343
+ }
344
+ //==================================================================================================================
345
+ // ACTIONS
346
+ //==================================================================================================================
347
+ initValues(values) {
348
+ if (values.length == 0) {
349
+ return;
350
+ }
351
+ for (let value of values) {
352
+ const matcher = this.matcher();
353
+ const cantons = Object.keys(this.cantons);
354
+ for (let cantonName of cantons) {
355
+ const canton = this.cantons[cantonName];
356
+ const selectItem = this.extractMatchValue(canton, value, matcher);
357
+ if (selectItem) {
358
+ canton.selectItem = selectItem;
359
+ }
360
+ }
361
+ }
362
+ }
363
+ extractMatchValue(canton, value, matcher) {
364
+ if (typeof value == 'string' && canton.name === value) {
365
+ return {
366
+ selected: true,
367
+ value: value
368
+ };
369
+ }
370
+ else if (matcher) {
371
+ return matcher(canton.selectItem, value);
372
+ }
373
+ return undefined;
374
+ }
375
+ updateValues() {
376
+ const extractor = this.valueExtractor();
377
+ const valueExtractor = extractor ? extractor : (v) => v?.value;
378
+ const styleGenerator = this._styleGenerator();
379
+ const cantons = Object.keys(this.cantons);
380
+ for (let cantonName of cantons) {
381
+ const canton = this.cantons[cantonName];
382
+ const style = styleGenerator({
383
+ id: canton.selectItem.id,
384
+ selected: canton.selectItem.selected,
385
+ title: canton.selectItem.title,
386
+ value: valueExtractor(canton.selectItem)
387
+ });
388
+ if (style?.style) {
389
+ canton.node.setAttribute('style', style.style);
390
+ }
391
+ if (style?.styleclass) {
392
+ canton.node.setAttribute('class', `inu-svg-switzerland-canton ${cantonName} ${style.styleclass}`);
393
+ }
394
+ }
395
+ }
396
+ //==================================================================================================================
397
+ // EVENT
398
+ //==================================================================================================================
399
+ ondblclick(cantonName, result, event) {
400
+ this.onClick(cantonName, result, event);
401
+ }
402
+ onClick(cantonName, result, event) {
403
+ event.preventDefault();
404
+ event.stopPropagation();
405
+ if (this.disabled()) {
406
+ return;
407
+ }
408
+ if (event.ctrlKey) {
409
+ return this.deselect(cantonName);
410
+ }
411
+ const canton = this.cantons[cantonName];
412
+ if (!canton || canton.selectItem.disabled) {
413
+ return;
414
+ }
415
+ canton.selectItem.selected = true;
416
+ const handler = this.actionHandler();
417
+ if (handler) {
418
+ const newValue = handler.onSelected(canton.selectItem);
419
+ canton.selectItem.value = newValue;
420
+ }
421
+ this.updateValues();
422
+ this.sendSelected();
423
+ }
424
+ ontouchend(cantonName, result, toucheEvent) {
425
+ toucheEvent.preventDefault();
426
+ if (this.disabled()) {
427
+ return;
428
+ }
429
+ const canton = this.cantons[cantonName];
430
+ if (!canton) {
431
+ return;
432
+ }
433
+ const currentTime = new Date().getTime();
434
+ const tapLength = currentTime - canton.lastTap;
435
+ if (tapLength < 300 && tapLength > 0) {
436
+ this.deselect(cantonName);
437
+ }
438
+ else {
439
+ canton.selectItem.selected = true;
440
+ const handler = this.actionHandler();
441
+ if (handler) {
442
+ const newValue = handler.onSelected(canton.selectItem);
443
+ canton.selectItem.value = newValue;
444
+ }
445
+ canton.lastTap = currentTime;
446
+ }
447
+ this.updateValues();
448
+ this.sendSelected();
449
+ }
450
+ deselect(cantonName) {
451
+ const canton = this.cantons[cantonName];
452
+ if (!canton || canton.selectItem.disabled) {
453
+ return;
454
+ }
455
+ canton.selectItem.selected = false;
456
+ const handler = this.actionHandler();
457
+ if (handler) {
458
+ if (!handler.toggleSelectState()) {
459
+ canton.selectItem.selected = true;
460
+ }
461
+ const newValue = handler.onDeselected(canton.selectItem);
462
+ canton.selectItem.value = newValue;
463
+ }
464
+ this.updateValues();
465
+ this.sendSelected();
466
+ }
467
+ sendSelected() {
468
+ const values = [];
469
+ const result = [];
470
+ const cantons = Object.keys(this.cantons);
471
+ for (let cantonName of cantons) {
472
+ const cantonItem = this.cantons[cantonName];
473
+ if (cantonItem.selectItem.selected || cantonItem.selectItem.value != undefined) {
474
+ result.push(cantonItem.selectItem);
475
+ values.push(cantonItem.selectItem.value);
476
+ }
477
+ }
478
+ this.selected.emit(result);
479
+ this.formValue.set([...values]);
480
+ this.value.set([...values]);
481
+ this.changed.emit([...values]);
482
+ this.onModelChange([...values]);
483
+ }
484
+ onHover(cantonName, mouseEvent) {
485
+ const canton = this.cantons[cantonName];
486
+ if (!canton) {
487
+ return;
488
+ }
489
+ setTimeout(() => this.hover.emit(canton.selectItem));
490
+ }
491
+ onMouseLeave(cantonName, mouseEvent) {
492
+ const canton = this.cantons[cantonName];
493
+ if (!canton) {
494
+ return;
495
+ }
496
+ setTimeout(() => this.leave.emit(canton.selectItem));
497
+ }
498
+ //==================================================================================================================
499
+ // TOOLS
500
+ //==================================================================================================================
501
+ resize() {
502
+ if (this.locator && this.parent) {
503
+ SVG_TRANSFORM.center(this.locator, this.parent, true, true);
504
+ }
505
+ }
506
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: InuSvgSwitzerland, deps: [], target: i0.ɵɵFactoryTarget.Component });
507
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.8", type: InuSvgSwitzerland, isStandalone: true, selector: "inu-svg-switzerland", inputs: { actionHandler: { classPropertyName: "actionHandler", publicName: "actionHandler", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, formValue: { classPropertyName: "formValue", publicName: "formValue", isSignal: true, isRequired: false, transformFunction: null }, matcher: { classPropertyName: "matcher", publicName: "matcher", isSignal: true, isRequired: false, transformFunction: null }, styleGenerator: { classPropertyName: "styleGenerator", publicName: "styleGenerator", isSignal: true, isRequired: false, transformFunction: null }, styleclass: { classPropertyName: "styleclass", publicName: "styleclass", isSignal: true, isRequired: false, transformFunction: null }, valid: { classPropertyName: "valid", publicName: "valid", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, valueExtractor: { classPropertyName: "valueExtractor", publicName: "valueExtractor", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { formValue: "formValueChange", value: "valueChange", selected: "selected", hover: "hover", leave: "leave", changed: "changed" }, host: { listeners: { "window:resize": "onResize()" } }, viewQueries: [{ propertyName: "component", first: true, predicate: ["component"], descendants: true, isSignal: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, isSignal: true }], ngImport: i0, template: `
508
+ <div [class]="_styleClass()" #component>
509
+ <svg #container xmlns="http://www.w3.org/2000/svg"></svg>
510
+ </div>
511
+ `, isInline: true, styles: ["::ng-deep .inu-svg-switzerland-lakes{fill:#729fcf;stroke-opacity:0}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton{stroke-opacity:0;stroke:#22241c;stroke-width:4;stroke-dasharray:none}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton.selected{stroke:#dfdfdf;stroke-opacity:1}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton:hover{stroke-opacity:1}::ng-deep .colored-AI{fill:#20603d}::ng-deep .colored-AG{fill:#d36e70}::ng-deep .colored-AR{fill:#00bb2d}::ng-deep .colored-BE{fill:#4c9141}::ng-deep .colored-BL{fill:#641c34}::ng-deep .colored-BS{fill:#9c9c9c}::ng-deep .colored-FR{fill:#343e40}::ng-deep .colored-GE{fill:#5c3c60}::ng-deep .colored-GL{fill:#c6a664}::ng-deep .colored-GR{fill:#6d6552}::ng-deep .colored-JU{fill:#909090}::ng-deep .colored-LU{fill:#fdf4e3}::ng-deep .colored-NE{fill:#2e3a23}::ng-deep .colored-NW{fill:#5e2129}::ng-deep .colored-OW{fill:#4e5452}::ng-deep .colored-SG{fill:#3d642d}::ng-deep .colored-SH{fill:#ff2301}::ng-deep .colored-SO{fill:#d6ae01}::ng-deep .colored-SZ{fill:#23282b}::ng-deep .colored-TG{fill:#6c6874}::ng-deep .colored-TI{fill:#59351f}::ng-deep .colored-UR{fill:#434750}::ng-deep .colored-VD{fill:#8b8c7a}::ng-deep .colored-VS{fill:#aea04b}::ng-deep .colored-ZG{fill:#b32821}::ng-deep .colored-ZH{fill:#6c4675}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton{transition:fill .15s,stroke .1s,stroke-opacity 50ms;cursor:pointer;outline:none}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton.monochrome{fill:#dcdcdc;stroke:#bdbcc3;stroke-opacity:.5}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton.monochrome:hover{stroke-opacity:1;stroke:#717076}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton.monochrome.selected{fill:#2f5e76;stroke-opacity:1;stroke:#717076}\n"] });
512
+ }
513
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: InuSvgSwitzerland, decorators: [{
514
+ type: Component,
515
+ args: [{ selector: 'inu-svg-switzerland', standalone: true, imports: [], template: `
516
+ <div [class]="_styleClass()" #component>
517
+ <svg #container xmlns="http://www.w3.org/2000/svg"></svg>
518
+ </div>
519
+ `, styles: ["::ng-deep .inu-svg-switzerland-lakes{fill:#729fcf;stroke-opacity:0}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton{stroke-opacity:0;stroke:#22241c;stroke-width:4;stroke-dasharray:none}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton.selected{stroke:#dfdfdf;stroke-opacity:1}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton:hover{stroke-opacity:1}::ng-deep .colored-AI{fill:#20603d}::ng-deep .colored-AG{fill:#d36e70}::ng-deep .colored-AR{fill:#00bb2d}::ng-deep .colored-BE{fill:#4c9141}::ng-deep .colored-BL{fill:#641c34}::ng-deep .colored-BS{fill:#9c9c9c}::ng-deep .colored-FR{fill:#343e40}::ng-deep .colored-GE{fill:#5c3c60}::ng-deep .colored-GL{fill:#c6a664}::ng-deep .colored-GR{fill:#6d6552}::ng-deep .colored-JU{fill:#909090}::ng-deep .colored-LU{fill:#fdf4e3}::ng-deep .colored-NE{fill:#2e3a23}::ng-deep .colored-NW{fill:#5e2129}::ng-deep .colored-OW{fill:#4e5452}::ng-deep .colored-SG{fill:#3d642d}::ng-deep .colored-SH{fill:#ff2301}::ng-deep .colored-SO{fill:#d6ae01}::ng-deep .colored-SZ{fill:#23282b}::ng-deep .colored-TG{fill:#6c6874}::ng-deep .colored-TI{fill:#59351f}::ng-deep .colored-UR{fill:#434750}::ng-deep .colored-VD{fill:#8b8c7a}::ng-deep .colored-VS{fill:#aea04b}::ng-deep .colored-ZG{fill:#b32821}::ng-deep .colored-ZH{fill:#6c4675}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton{transition:fill .15s,stroke .1s,stroke-opacity 50ms;cursor:pointer;outline:none}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton.monochrome{fill:#dcdcdc;stroke:#bdbcc3;stroke-opacity:.5}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton.monochrome:hover{stroke-opacity:1;stroke:#717076}::ng-deep .inu-svg-switzerland-cantons .inu-svg-switzerland-canton.monochrome.selected{fill:#2f5e76;stroke-opacity:1;stroke:#717076}\n"] }]
520
+ }], ctorParameters: () => [], propDecorators: { actionHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionHandler", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], formValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "formValue", required: false }] }, { type: i0.Output, args: ["formValueChange"] }], matcher: [{ type: i0.Input, args: [{ isSignal: true, alias: "matcher", required: false }] }], styleGenerator: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleGenerator", required: false }] }], styleclass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleclass", required: false }] }], valid: [{ type: i0.Input, args: [{ isSignal: true, alias: "valid", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], valueExtractor: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueExtractor", required: false }] }], selected: [{ type: i0.Output, args: ["selected"] }], hover: [{ type: i0.Output, args: ["hover"] }], leave: [{ type: i0.Output, args: ["leave"] }], changed: [{ type: i0.Output, args: ["changed"] }], component: [{ type: i0.ViewChild, args: ['component', { isSignal: true }] }], container: [{ type: i0.ViewChild, args: ['container', { isSignal: true }] }], onResize: [{
521
+ type: HostListener,
522
+ args: ['window:resize']
523
+ }] } });
524
+
525
+ /**
526
+ * Generated bundle index. Do not edit.
527
+ */
528
+
529
+ export { InuSvgSwitzerland, SVG_SWITZERLAND_COLORED, SVG_SWITZERLAND_LEVEL_COLOR_100, SVG_SWITZERLAND_LEVEL_COLOR_GENERATOR, SVG_SWITZERLAND_LEVEL_MONOCHROME_BLUE, SVG_SWITZERLAND_LEVEL_MONOCHROME_GENERATOR, SVG_SWITZERLAND_LEVEL_MONOCHROME_GREEN, SVG_SWITZERLAND_LEVEL_MONOCHROME_RED, SVG_SWITZERLAND_MONOCHROME };
530
+ //# sourceMappingURL=inugami-ng-components-inu-svg-switzerland.mjs.map