-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.php
2838 lines (2730 loc) · 207 KB
/
dashboard.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
error_reporting(-1);
ini_set('display_errors', 'On');
/**
* This page uses the BuildingOS API to display live readings in a dynamically generated SVG
* Its dependancies are jQuery and GSAP, which are both included at the bottom of this file
*
* @author Tim Robert-Fitzgerald June 2016
*/
//$log = array(); // For debugging purposes. Remove when code is in production
require '../includes/db.php'; // The connection to the MySQL data is stored in here, which is a dynamically generated file written by install.php
require '../includes/class.Meter.php'; // Some animations depend on the reading of a meter
// require 'includes/analytics.php';
header('Content-Type: image/svg+xml');
$gauges = array(); // Array containing the URLs of the guages to be displayed on the right sidebar for each button
$num_btns = 0; // Used to calculate x position of the buttons
$resources = array('landing'); // Used later in JS below; filled up when checking if each button exists so resources that dont have buttons dont exist
// Builds a gauge URL
function gaugeURL($rv_id, $meter_id, $color, $bg, $height, $width, $font_family, $title, $title2, $border_radius, $rounding, $ver, $units, $title_font_size = 24) {
$q = http_build_query([
'rv_id' => $rv_id,
'meter_id' => $meter_id,
'color' => $color,
'bg' => $bg,
'height' => $height,
'width' => $width,
'font_family' => $font_family,
'title' => $title,
'title2' => $title2,
'border_radius' => $border_radius,
'rounding' => $rounding,
'ver' => $ver,
'units' => $units,
'title_font_size' => $title_font_size
]);
return "https://environmentaldashboard.org/gauges/gauge.php?" . $q;
}
// Builds a gauge URL
/* it is meter_id => data hub variable id, if meter id exist in datahub_variables then data will be fetch from dataHubGaugeURL*/
// 43664 : "O3"
// 43666 : "PM10"
// 43665 : "PM2.5"
$datahub_variables = [
/* air quality */
'2148' => '43666',
'2571' => '43665',
'2125' => '43664',
/* water */
'351' => '85106',
'347' => '85105',
'314' => '82385',
/* electricity */
'2950' => '43668',
'786' => '45660',
'789' => '85108',
'788' => '85107',
/* lake erie aka stream */
322 => 83929,
323 => 83923,
315 => 83924,
324 => 83927,
];
function dataHubGaugeURL($rv_id, $meter_id, $color, $bg, $height, $width, $font_family, $title, $title2, $border_radius, $rounding, $ver, $units, $title_font_size = 24) {
$q = http_build_query([
'rv_id' => $rv_id,
'var_id' => $meter_id,
'color' => $color,
'bg' => $bg,
// 'height' => $height,
// 'width' => $width,
'font_family' => $font_family,
'title' => $title,
'title2' => $title2,
'border_radius' => $border_radius,
'rounding' => $rounding,
'ver' => $ver,
'units' => $units,
'title_font_size' => $title_font_size
]);
return "https://oberlin.communityhub.cloud/api/data-hub-v2/gauges?" . $q;
}
function relativeValueOfGauge($db, $gauge_id, $min = 0, $max = 100) {
// 'SELECT relative_value FROM relative_values WHERE meter_uuid IN (SELECT bos_uuid FROM meters WHERE meters.id = ?) LIMIT 1'
$stmt = $db->prepare('SELECT meter_id FROM gauges WHERE id = ?');
$stmt->execute(array($gauge_id));
$meter_id = $stmt->fetchColumn();
$stmt = $db->prepare('SELECT relative_value FROM relative_values WHERE meter_uuid IN (SELECT bos_uuid FROM meters WHERE meters.id = ?) LIMIT 1');
$stmt->execute(array($meter_id));
return ($stmt->fetchColumn() / 100) * ($max - $min) + $min;
}
// ------------------------
// SELECT the links to the gauges and messages to be shown with each state
foreach ($db->query("SELECT * FROM cwd_states WHERE user_id = {$user_id} AND `on` = 1") as $row) {
$gauge1_data = $db->query('SELECT * FROM gauges WHERE id = \'' . $row['gauge1'] . '\'')->fetch();
// var_dump($gauge1_data);die;
if(isset($datahub_variables[$gauge1_data['meter_id']])){
$gauge1 = dataHubGaugeURL($gauge1_data['rv_id'], $datahub_variables[$gauge1_data['meter_id']], $gauge1_data['color'], $gauge1_data['bg'], $gauge1_data['height'], $gauge1_data['width'], $gauge1_data['font_family'], $gauge1_data['title'], $gauge1_data['title2'], $gauge1_data['border_radius'], $gauge1_data['rounding'], $gauge1_data['ver'], $gauge1_data['units'], $gauge1_data['title_font_size']);
}else{
$gauge1 = gaugeURL($gauge1_data['rv_id'], $gauge1_data['meter_id'], $gauge1_data['color'], $gauge1_data['bg'], $gauge1_data['height'], $gauge1_data['width'], $gauge1_data['font_family'], $gauge1_data['title'], $gauge1_data['title2'], $gauge1_data['border_radius'], $gauge1_data['rounding'], $gauge1_data['ver'], $gauge1_data['units'], $gauge1_data['title_font_size']);
}
$gauge2_data = $db->query('SELECT * FROM gauges WHERE id = \'' . $row['gauge2'] . '\'')->fetch();
if (isset($datahub_variables[$gauge2_data['meter_id']])) {
$gauge2 = dataHubGaugeURL($gauge2_data['rv_id'], $datahub_variables[$gauge2_data['meter_id']], $gauge2_data['color'], $gauge2_data['bg'], $gauge2_data['height'], $gauge2_data['width'], $gauge2_data['font_family'], $gauge2_data['title'], $gauge2_data['title2'], $gauge2_data['border_radius'], $gauge2_data['rounding'], $gauge2_data['ver'], $gauge2_data['units'],
$gauge2_data['title_font_size']);
}else{
$gauge2 = gaugeURL($gauge2_data['rv_id'], $gauge2_data['meter_id'], $gauge2_data['color'], $gauge2_data['bg'], $gauge2_data['height'], $gauge2_data['width'], $gauge2_data['font_family'], $gauge2_data['title'], $gauge2_data['title2'], $gauge2_data['border_radius'], $gauge2_data['rounding'], $gauge2_data['ver'], $gauge2_data['units'], $gauge2_data['title_font_size']);
}
$gauge3_data = $db->query('SELECT * FROM gauges WHERE id = \'' . $row['gauge3'] . '\'')->fetch();
if (isset($datahub_variables[$gauge3_data['meter_id']])) {
$gauge3 = dataHubGaugeURL($gauge3_data['rv_id'], $datahub_variables[$gauge3_data['meter_id']], $gauge3_data['color'], $gauge3_data['bg'], $gauge3_data['height'], $gauge3_data['width'], $gauge3_data['font_family'], $gauge3_data['title'], $gauge3_data['title2'], $gauge3_data['border_radius'], $gauge3_data['rounding'], $gauge3_data['ver'], $gauge3_data['units'], $gauge3_data['title_font_size']);
} else {
$gauge3 = gaugeURL($gauge3_data['rv_id'], $gauge3_data['meter_id'], $gauge3_data['color'], $gauge3_data['bg'], $gauge3_data['height'], $gauge3_data['width'], $gauge3_data['font_family'], $gauge3_data['title'], $gauge3_data['title2'], $gauge3_data['border_radius'], $gauge3_data['rounding'], $gauge3_data['ver'], $gauge3_data['units'], $gauge3_data['title_font_size']);
}
$gauge4_data = $db->query('SELECT * FROM gauges WHERE id = \'' . $row['gauge4'] . '\'')->fetch();
if (isset($datahub_variables[$gauge4_data['meter_id']])) {
$gauge4 = dataHubGaugeURL($gauge4_data['rv_id'], $datahub_variables[$gauge4_data['meter_id']], $gauge4_data['color'], $gauge4_data['bg'], $gauge4_data['height'], $gauge4_data['width'], $gauge4_data['font_family'], $gauge4_data['title'], $gauge4_data['title2'], $gauge4_data['border_radius'], $gauge4_data['rounding'], $gauge4_data['ver'], $gauge4_data['units'], $gauge4_data['title_font_size']);
} else {
$gauge4 = gaugeURL($gauge4_data['rv_id'], $gauge4_data['meter_id'], $gauge4_data['color'], $gauge4_data['bg'], $gauge4_data['height'], $gauge4_data['width'], $gauge4_data['font_family'], $gauge4_data['title'], $gauge4_data['title2'], $gauge4_data['border_radius'], $gauge4_data['rounding'], $gauge4_data['ver'], $gauge4_data['units'], $gauge4_data['title_font_size']);
}
// Save these so they can be hardcoded in as an initial state that doesnt repeat
if ($row['resource'] === 'landing') {
$landing1 = $gauge1;
$landing2 = $gauge2;
$landing3 = $gauge3;
$landing4 = $gauge4;
continue;
}
// Fill the array
$gauges[$row['resource']]['gauge1'] = $gauge1;
$gauges[$row['resource']]['gauge2'] = $gauge2;
$gauges[$row['resource']]['gauge3'] = $gauge3;
$gauges[$row['resource']]['gauge4'] = $gauge4;
$num_btns++;
}
// ------------------------
// See $num_btns
switch ($num_btns) {
// index 0 of $x is the initial position of the button
// All other indexes are the amount the text needs to be shifted to fit in the buttons for each button in the order that's in the source
case 5:
$x = array(220, 75, 100, 90, 80, 92);
break;
case 4:
$x = array(380, 75, 100, 90, 80, 92);
break;
case 3:
$x = array(340, 75, 100, 90, 80, 92);
break;
case 2:
$x = array(480, 75, 100, 90, 80, 92);
break;
default:
$x = array(600, 75, 100, 90, 80, 92);
break;
}
// ------------------------
// Get timing preferences
$timing = $db->query("SELECT * FROM timing WHERE user_id = {$user_id} LIMIT 1")->fetch();
// ------------------------
// Determine speed of animations
$cwd_bos = $db->query("SELECT * FROM cwd_bos WHERE user_id = {$user_id} LIMIT 1")->fetch(); // Get the meter IDs from the settings table
$water_speed = relativeValueOfGauge($db, $cwd_bos['water_speed'], -1, 1);
// array_push($log, 'Initial water speed ' . $water_speed);
$water_speed = (-$water_speed) + 2; // Default speed is 2, range 1-3
// Note that since the number we're generating above is the number of seconds it takes for the animation to complete, 1 is the fastest speed and 3 is the slowest
// array_push($log, 'Scaled water speed ' . $water_speed);
$electricity_speed = relativeValueOfGauge($db, $cwd_bos['electricity_speed'], -1, 1);
// array_push($log, 'Initial electricity speed ' . $electricity_speed);
$electricity_speed = (-$electricity_speed) + 2;
// array_push($log, 'Scaled electricity speed ' . $electricity_speed);
// Determine mood of the squirrel and fish
$squirrel_moods = (isset($_GET['ver']) && $_GET['ver'] === 'kiosk') ?
array('happy-kiosk', 'neutral-kiosk', 'angry-kiosk') : array('happy', 'neutral', 'angry');
$fish_moods = (isset($_GET['ver']) && $_GET['ver'] === 'kiosk') ?
array('happy-kiosk', 'neutral-kiosk', 'sad-kiosk') : array('happy', 'neutral', 'sad');
$cwd_dashboard_interval = !empty($_GET['interval']) ? $_GET['interval'] : $timing['interval'];
$cwd_dashboard_default_state = !empty($_GET['current_state']) ? $_GET['current_state'] : 'landing';
$play_single_cwd_state = !empty($_GET['current_state']);
$squirrel_mood = $squirrel_moods[round(relativeValueOfGauge($db, $cwd_bos['squirrel'], 0, 2))];
$fish_mood = $fish_moods[round(relativeValueOfGauge($db, $cwd_bos['fish'], 0, 2))];
$landing_messages_pct = relativeValueOfGauge($db, $cwd_bos['landing_messages']);
// array_push($log, 'Landing messages %: ' . $landing_messages_pct);
$landing_messages_bin = pickProb($landing_messages_pct);
$electricity_bool = false;
if (array_key_exists('electricity', $gauges)) {
$electricity_bool = true;
$electricity_messages_pct = relativeValueOfGauge($db, $cwd_bos['electricity_messages']);
// array_push($log, 'electricity messages %: ' . $electricity_messages_pct);
$electricity_messages_bin = pickProb($electricity_messages_pct);
}
$gas_bool = false;
if (array_key_exists('gas', $gauges)) {
$gas_bool = true;
$gas_messages_pct = relativeValueOfGauge($db, $cwd_bos['gas_messages']);
// array_push($log, 'gas messages %: ' . $gas_messages_pct);
$gas_messages_bin = pickProb($gas_messages_pct);
}
$stream_bool = false;
if (array_key_exists('stream', $gauges)) {
$stream_bool = true;
$stream_messages_pct = relativeValueOfGauge($db, $cwd_bos['stream_messages']);
// array_push($log, 'stream messages %: ' . $stream_messages_pct);
$stream_messages_bin = pickProb($stream_messages_pct);
}
$water_bool = false;
if (array_key_exists('water', $gauges)) {
$water_bool = true;
$water_messages_pct = relativeValueOfGauge($db, $cwd_bos['water_messages']);
// array_push($log, 'water messages %: ' . $water_messages_pct);
$water_messages_bin = pickProb($water_messages_pct);
}
$weather_bool = false;
if (array_key_exists('weather', $gauges)) {
$weather_bool = true;
$weather_messages_pct = relativeValueOfGauge($db, $cwd_bos['weather_messages']);
// array_push($log, 'weather messages %: ' . $weather_messages_pct);
$weather_messages_bin = pickProb($weather_messages_pct);
}
function pickProb($messages_pct) {
if ($messages_pct > 80) {
return 'prob5';
}
if ($messages_pct > 60) {
return 'prob4';
}
if ($messages_pct > 40) {
return 'prob3';
}
if ($messages_pct > 20) {
return 'prob2';
}
else {
return 'prob1';
}
}
// ------------------------
// Landing messages
// Multiply bin by rand() to get weighted random sorting. The reason you multiply multiple rand() terms is to reduce the influence of the bin term i.e. to get more randomness.
$landing_messages = $db->query("SELECT message FROM cwd_messages
WHERE user_id = {$user_id} AND resource = 'landing' AND {$landing_messages_bin} > 0
ORDER BY {$landing_messages_bin} * rand() * rand() * rand() * rand() * rand() DESC")->fetchAll();
// Electricity
if ($electricity_bool) {
$electricity_messages = $db->query("SELECT message FROM cwd_messages
WHERE user_id = {$user_id} AND resource = 'electricity' AND {$electricity_messages_bin} > 0
ORDER BY {$electricity_messages_bin} * rand() * rand() * rand() * rand() * rand() DESC")->fetchAll();
}
// Gas
if ($gas_bool) {
$gas_messages = $db->query("SELECT message FROM cwd_messages
WHERE user_id = {$user_id} AND resource = 'gas' AND {$gas_messages_bin} > 0
ORDER BY {$gas_messages_bin} * rand() * rand() * rand() * rand() * rand() DESC")->fetchAll();
}
// Stream
if ($stream_bool) {
$stream_messages = $db->query("SELECT message FROM cwd_messages
WHERE user_id = {$user_id} AND resource = 'stream' AND {$stream_messages_bin} > 0
ORDER BY {$stream_messages_bin} * rand() * rand() * rand() * rand() * rand() DESC")->fetchAll();
}
// Water
if ($water_bool) {
$water_messages = $db->query("SELECT message FROM cwd_messages
WHERE user_id = {$user_id} AND resource = 'water' AND {$water_messages_bin} > 0
ORDER BY {$water_messages_bin} * rand() * rand() * rand() * rand() * rand() DESC")->fetchAll();
}
// Weather
if ($weather_bool) {
$weather_messages = $db->query("SELECT message FROM cwd_messages
WHERE user_id = {$user_id} AND resource = 'weather' AND {$weather_messages_bin} > 0
ORDER BY {$weather_messages_bin} * rand() * rand() * rand() * rand() * rand() DESC")->fetchAll();
}
// If it's raining irl, it's raining in cwd
$its_raining = ($db->query('SELECT COUNT(*) FROM meter_data WHERE meter_id = 166 AND value > 0 AND recorded > ' . strtotime('-20 minutes'))->fetchColumn() === '0') ? false : true;
// Whether edit tools are are available
$admin = false;
if (isset($_COOKIE['token'])) {
$stmt = $db->prepare('SELECT token FROM users WHERE id = ?');
$stmt->execute(array($user_id));
if ($_COOKIE['token'] === $stmt->fetchColumn()) {
$admin = true;
}
}
?>
<svg version="1.1" id="drawing" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1584px" height="893px" viewBox="0 0 1584 893" enable-background="new 0 0 1584 893" xml:space="preserve" <?php if ($admin) { echo 'onload="makeDraggable(evt)"';} ?>>
<defs>
<clipPath id="waterline_clip1">
<circle r="35" cx="760" cy="320" />
<circle r="35" cx="760" cy="320" />
<circle r="35" cx="760" cy="320" />
</clipPath>
<clipPath id="waterline_clip2">
<circle r="35" cx="1090" cy="210" />
</clipPath>
<clipPath id="waterline_clip3">
<circle r="35" cx="1020" cy="520" />
<circle r="35" cx="680" cy="750" />
</clipPath>
<clipPath id="waterline_clip4">
<circle r="35" cx="400" cy="500" />
</clipPath>
<clipPath id="flow_marks_clip">
<rect width="300" height="100" x="0" y="893" />
</clipPath>
<filter id="landscape_components_filter"><feComponentTransfer in="SourceGraphic"><feFuncR id="SvgjsFeFuncR1656" type="linear" slope="1" intercept="0.2"></feFuncR><feFuncG type="linear" slope="1" intercept="0.2"></feFuncG><feFuncB type="linear" slope="1" intercept="0.2"></feFuncB><feFuncA type="identity"></feFuncA></feComponentTransfer></filter>
<linearGradient id="rain-color" x1="50%" y1="100%" x2="50%" y2="0%" >
<stop offset="0%" style="stop-color:#2980b9;stop-opacity:1" />
<stop offset="100%" style="stop-color:#2980b9;stop-opacity:0.1" />
</linearGradient>
</defs>
<rect id="background_white_bit" fill="#FFFFFF" width="1258.039" height="58.615" />
<!-- <image overflow="visible" enable-background="new" width="1260" height="893" id="background" xlink:href="img/city-bg.png"></image> -->
<image overflow="visible" enable-background="new" width="1584" height="893" id="background" xlink:href="img/<?php echo ($user_id === 2) ? 'cwdbgcle.svg' : 'background.png'; ?>"></image>
<!-- <path id="sky" d="M0 50 L800 50 L800 200 Z"></path> -->
<!-- charachters used to be here -->
<?php if ($user_id !== 2) { ?>
<g id="river">
<g id="plum_x5F_creek" <?php echo ($user_id === 3) ? 'transform="translate(1275), scale(-1, 1)"' : ''; ?>>
<path id="stream_flow" fill="#00AAED" d="M678.05,204.6l-1.896,0.3c-11.145,2.9-20.367,5.5-27.7,7.8
c-7.367,2.333-13.483,4.117-18.354,5.35c-4.855,1.2-10.1,2.633-15.688,4.3c-5.645,1.667-10.645,3.066-15,4.2
c-4.4,1.133-8.604,2.317-12.604,3.55c-4.133,1.367-7.267,2.45-9.396,3.25c-3.667,1.367-6.9,2.816-9.7,4.35
c-3.067,1.566-5.917,3.4-8.55,5.5c-3.4,2.7-6.917,6.833-10.562,12.4c-4.6,7-7.767,11.483-9.5,13.45
c-4.633,5.167-10.467,9.767-17.5,13.8c-4.522,2.533-10.688,5.35-18.5,8.45c-9.396,3.633-16.434,6.4-21.1,8.3
c-8.1,3.233-14.517,5.283-19.25,6.15c-4.767,0.867-9.25,2.1-13.45,3.7c-4.2,1.6-9.283,3.229-15.25,4.896
c-6.033,1.639-11.933,4.389-17.7,8.25c-5.767,3.833-9.105,6.117-10.05,6.854c-0.933,0.729-22.1,15.167-63.5,43.3
c-13.5,6.933-26.033,13.683-37.6,20.25c-26.367,14.9-44.75,22.933-55.15,24.1c-10.4,1.104-22.167,4.521-35.3,10.25
c-3.733,1.438-7.033,2.645-9.9,3.604c-2.867,0.933-7.567,2.833-14.1,5.7c-6.567,2.855-6.767,7.05-0.6,12.55
c6.133,5.466,9.083,11.116,8.85,16.95c-0.267,5.833-3.933,9.766-11,11.8c-7.1,2.033-13.35,4.216-18.75,6.55
s-15.917,5.9-31.55,10.7c-15.7,4.8-23.117,9.583-22.25,14.35c0.833,4.733,5.8,11.366,14.9,19.9c9.1,8.5,2.75,18.033-19.05,28.6
c-21.8,10.534-34.483,20.784-38.05,30.75c-3.567,9.938-0.667,17.784,8.7,23.55c8.333,5.104,11.133,16.584,8.4,34.45
c-9.934,20.134-4.967,45.05,14.9,74.75c2,4.667,6.05,10.15,12.15,16.45c9,9.3,20.35,16.217,34.05,20.75
c13.667,4.5,25.633,13.283,35.9,26.35c10.233,13.033,29.35,21.918,57.35,26.65c27.966,4.733,46.85,18.967,56.65,42.7
c9.8,23.7,47.316,36.384,112.55,38.05H251.3l-0.1-0.05l0.05,0.05H91.6C68.867,880.967,58,867.7,59,852.7
c0.667-16.4-12.667-31.366-40-44.9c-10-6.134-16-15.384-18-27.75V533.2c1.9-3.833,4.517-6.733,7.85-8.7
c4.3-2.6,11.233-4.533,20.8-5.8c9.567-1.271,18.783-3.95,27.65-8.05c8.833-4.146,12.95-10.617,12.35-19.45
c-0.633-8.866,6.067-15.083,20.1-18.65c14.033-3.562,26.483-6.35,37.35-8.35c10.8-2.034,18.95-5.25,24.45-9.65
c-3.667-4.033-5.767-6.6-6.3-7.7c-1.933-3.729-1.483-7.3,1.35-10.688c6.967-8.167,17-14.604,30.1-19.312
c1.667-0.633,4.133-1.467,7.4-2.5c1.9-0.6,6.4-1.855,13.5-3.8c5.533-1.533,10.05-2.896,13.55-4.1c6.467-2.2,12.133-4.284,17-6.25
c4.867-1.967,13.184-3.917,24.95-5.854c11.733-1.967,30.667-9.5,56.8-22.6c25.3-12.7,41.25-22.352,47.85-28.95
c11.933-7.533,18.983-12.383,21.15-14.55c2.167-2.2,6.083-5.233,11.75-9.102c3.194-2.167,7.967-4.833,14.3-8
c10.667-5.5,23.7-10.631,39.1-15.398c8.604-2.767,21.521-6.75,38.75-11.95l10.5-3.65c6.938-2.566,12.784-4.767,17.55-6.6
c7.167-2.8,12.066-4.983,14.7-6.55c6.771-4,9.617-8.033,8.55-12.1c-0.833-3.066-0.667-5.95,0.5-8.65c1.2-2.7,3.45-5.333,6.75-7.9
c3.104-2.434,6.645-4.633,10.604-6.6c2.966-1.467,6.533-2.967,10.7-4.5c7.633-2.8,16.062-5.317,25.3-7.55
c6.033-1.5,14.283-3.25,24.75-5.25c3.366-0.633,8.146-1.6,14.35-2.9c6.567-1.4,11.333-2.383,14.3-2.95
c8.144-1.533,15.478-3,22-4.4c3.9-0.833,7.228-1.567,9.95-2.2l4.25,2.25L678.05,204.6z M175.35,780.75c0,0.1,0.017,0.2,0.05,0.3
l0.6,0.9C175.767,781.55,175.55,781.15,175.35,780.75z" />
<path id="riparian_zone_2_" fill="#51CEF4" d="M548.6,255.6c-0.833,1.266-1.624,2.45-2.375,3.55
c0.333-0.522,0.686-1.056,1.025-1.6c1.05-1.648,2.092-3.173,3.125-4.575C549.788,253.812,549.196,254.687,548.6,255.6z
M134.275,538.425c-0.667-1.165-1.609-2.306-2.825-3.425c-9.167-8.434-14.184-15-15.05-19.7c-0.152-0.771-0.085-1.561,0.2-2.35
c2.075,4.35,6.658,9.85,13.75,16.5C133.424,532.321,134.732,535.312,134.275,538.425z M127.1,464.2
c9.144-1.722,16.386-4.288,21.725-7.7c0.886,1.003,1.944,2.17,3.175,3.5c-5.467,4.434-13.583,7.717-24.35,9.85
c-10.867,2.104-23.3,4.984-37.3,8.65c-14,3.7-20.65,9.983-19.95,18.85c0.7,8.834-3.35,15.334-12.15,19.5
c-8.833,4.167-18.033,6.938-27.6,8.312c-9.533,1.333-16.45,3.333-20.75,6c-2.62,1.561-5.586,5.311-8.9,11.25v-9.2
c1.9-3.833,4.517-6.733,7.85-8.7c4.3-2.6,11.233-4.533,20.8-5.8c9.567-1.271,18.783-3.95,27.65-8.05
c8.833-4.146,12.95-10.617,12.35-19.45c-0.633-8.866,6.067-15.083,20.1-18.65C103.783,468.995,116.233,466.2,127.1,464.2z
M190.15,449.2c6.133,5.466,9.083,11.116,8.85,16.95c-0.004,0.098-0.013,0.188-0.025,0.3c-1.126-4.169-3.935-8.218-8.425-12.15
c-4.103-3.617-5.419-6.676-3.95-9.175C187.345,446.395,188.528,447.754,190.15,449.2z M175.35,780.75c0,0.1,0.017,0.2,0.05,0.3
l0.6,0.9C175.767,781.55,175.55,781.15,175.35,780.75z M110.35,744.95c-6.167-6.271-10.267-11.717-12.3-16.354
c-8.455-12.413-12.263-28.413-11.425-48c2.487,12.455,8.695,26.105,18.625,40.95c2,4.667,6.05,10.15,12.15,16.45
c9,9.3,20.35,16.217,34.05,20.75c13.667,4.5,25.633,13.283,35.9,26.35c10.233,13.033,29.35,21.917,57.35,26.65
c27.966,4.732,46.85,18.967,56.65,42.7c9.8,23.7,47.316,36.384,112.55,38.05h-58.775c-33.006-5.58-52.948-16.496-59.825-32.75
c-10-23.633-29-37.7-57-42.2c-28.066-4.466-47.267-13.183-57.6-26.146c-10.367-12.979-22.417-21.646-36.15-26
C130.817,760.967,119.417,754.15,110.35,744.95z M90.575,625.975c-1.596-3.314-3.854-5.855-6.775-7.625
c-6.356-3.84-9.773-8.646-10.25-14.425c1.642,3.188,4.441,5.988,8.4,8.425C86.397,615.071,89.272,619.613,90.575,625.975z
M168.7,787.45c-0.034-0.104-0.05-0.2-0.05-0.3c0.2,0.396,0.417,0.8,0.65,1.188L168.7,787.45z M524.3,269.15
c-2.633,1.567-7.517,3.783-14.646,6.65c-4.733,1.9-10.566,4.15-17.5,6.75l-10.45,3.75c-17.2,5.367-30.083,9.467-38.65,12.3
c-15.367,4.9-28.35,10.15-38.95,15.75c-6.3,3.233-11.048,5.95-14.25,8.15c-5.633,3.9-9.517,6.967-11.646,9.2
c-2.167,2.167-9.188,7.062-21.05,14.7c-6.533,6.667-22.383,16.467-47.556,29.396c-26,13.333-44.867,21.034-56.6,23.104
c-11.733,2.021-20.033,4.05-24.9,6.05c-4.833,2-10.483,4.133-16.95,6.396c-3.467,1.233-7.967,2.645-13.5,4.2
c-7.066,2-11.55,3.317-13.45,3.95c-3.267,1.066-5.733,1.917-7.4,2.55c-13.033,4.833-23,11.354-29.9,19.55
c-1.087,1.333-1.812,2.692-2.175,4.075c-1.283-3.31-0.658-6.479,1.875-9.521c6.967-8.167,17-14.604,30.1-19.312
c1.667-0.633,4.133-1.467,7.4-2.5c1.9-0.6,6.4-1.855,13.5-3.8c5.533-1.533,10.05-2.896,13.55-4.1c6.467-2.2,12.133-4.284,17-6.25
c4.867-1.975,13.184-3.917,24.95-5.854c11.733-1.967,30.667-9.5,56.8-22.6c25.3-12.7,41.25-22.353,47.85-28.95
c11.938-7.533,18.983-12.383,21.15-14.55c2.167-2.2,6.083-5.233,11.75-9.103c3.196-2.168,7.967-4.834,14.3-8
c10.667-5.5,23.7-10.633,39.1-15.397c8.604-2.767,21.521-6.75,38.75-11.95l10.5-3.65c6.938-2.566,12.784-4.767,17.55-6.6
c7.175-2.8,12.066-4.983,14.7-6.55c3.062-1.805,5.312-3.613,6.775-5.425C531.161,264.097,528.486,266.622,524.3,269.15z
M671.8,202.35V203l-0.3-0.15c-2.733,0.667-6.05,1.433-9.95,2.3c-6.533,1.434-13.85,2.95-21.95,4.55
c-2.967,0.6-7.729,1.633-14.3,3.1c-6.167,1.367-10.933,2.367-14.3,3c-10.467,2.1-18.7,3.934-24.7,5.5
c-9.229,2.3-17.646,4.883-25.25,7.75c-4.167,1.567-7.716,3.1-10.646,4.6c-3.978,2-7.483,4.233-10.562,6.7
c-1.756,1.398-3.215,2.806-4.375,4.225c1.306-2.113,3.265-4.188,5.875-6.225c3.104-2.434,6.645-4.633,10.604-6.6
c2.966-1.467,6.533-2.967,10.7-4.5c7.633-2.8,16.062-5.317,25.3-7.55c6.033-1.5,14.283-3.25,24.75-5.25
c3.366-0.633,8.146-1.6,14.35-2.9c6.567-1.4,11.333-2.383,14.309-2.95c8.135-1.533,15.469-3,22-4.4
C666.562,203.514,669.379,202.897,671.8,202.35z" />
<g id="objects">
<g>
<path fill="#4ACBF5" d="M214.1,812.951c-4.491,2.59-10.928,2.933-19.31,1.021l-1.311-0.893
c-0.451-1.146,0.096-2.092,1.638-2.836c-0.327,0.968-0.123,1.66,0.614,2.076c5.406,2.566,10.676,1.229,15.809-4.021
C215.8,809.35,216.652,810.896,214.1,812.951z" />
</g>
<g>
<path fill="#B7AEA1" d="M207.156,803.693c1.185,0.312,2.36,1.354,3.525,3.143c1.165,1.761,1.829,2.562,1.993,2.406
c1.472,0.803,1.952,1.738,1.44,2.809c-6.561,2.874-12.785,3.176-18.671,0.902c-0.674-1.805-0.766-3.266-0.276-4.379
c0.491-1.114,2.116-1.716,4.875-1.812l2.606-2.729C204.489,803.471,205.991,803.359,207.156,803.693z" />
<path fill="#AD9D89" d="M207.493,808.039c-0.49,0.135-1.093,0.201-1.809,0.201c-0.715,0-1.318-0.066-1.809-0.201
c-0.491-0.134-0.736-0.289-0.736-0.468c0-0.188,0.245-0.335,0.736-0.479c0.49-0.134,1.093-0.189,1.809-0.189
c0.716,0,1.319,0.062,1.809,0.189c0.511,0.145,0.767,0.289,0.767,0.479C208.26,807.75,208.004,807.905,207.493,808.039z" />
<path fill="#AD9D89" d="M198.387,811.115c1.308-0.09,2.524-0.188,3.648-0.271c1.104-0.09,1.472-0.188,1.104-0.301
c-0.552-0.268-0.348-0.257,0.613,0.033c0.94,0.289,1.983,0.345,3.127,0.166c1.165-0.178,1.87-0.229,2.116-0.133
c0.225,0.062-0.327,0.379-1.656,0.936c-1.329,0.561-2.678,0.836-4.047,0.836c-1.39,0-2.565-0.104-3.526-0.334
c-0.961-0.201-1.441-0.469-1.441-0.803C198.326,811.203,198.347,811.158,198.387,811.115z" />
<path fill="#AD9D89" d="M203.14,810.547c0.368,0.111,0,0.211-1.104,0.301c-1.124,0.101-2.34,0.188-3.648,0.271
c-0.062-0.023-0.112-0.045-0.153-0.068c-0.428-0.135-1.113-0.312-2.054-0.551c-0.94-0.229-1.012-0.393-0.214-0.484
c0.792-0.093,1.728-0.132,2.805-0.105c1.079,0.013,1.789,0.062,2.131,0.146C201.247,810.134,201.993,810.301,203.14,810.547z" />
</g>
<g>
<path fill="#4ACBF5" d="M221.756,825.319c-2.679,2.438-6.518,2.766-11.518,0.969l-0.781-0.842
c-0.269-1.081,0.057-1.979,0.977-2.675c-0.196,0.9-0.074,1.562,0.366,1.959c3.224,2.428,6.367,1.153,9.429-3.791
C222.77,821.922,223.278,823.382,221.756,825.319z" />
</g>
<g>
<path fill="#BCB5AC" d="M220.873,821.811c0.877,0.74,1.164,1.604,0.859,2.602c-3.913,2.646-7.625,2.929-11.136,0.832
c-0.402-1.664-0.458-3.021-0.165-4.039c0.292-1.027,0.927-1.787,1.901-2.281l2.012-1.146c1.092,0.688,2.053,0.896,2.88,0.604
c0.827-0.292,1.616,0.242,2.368,1.604C220.348,821.341,220.774,821.952,220.873,821.811z M215.625,820.701
c0.292,0.123,0.652,0.185,1.079,0.185c0.427,0,0.787-0.062,1.079-0.185c0.305-0.124,0.458-0.271,0.458-0.438
s-0.152-0.309-0.458-0.432c-0.292-0.124-0.652-0.188-1.079-0.188c-0.427,0-0.787,0.062-1.079,0.188
c-0.293,0.123-0.439,0.268-0.439,0.432C215.186,820.433,215.332,820.577,215.625,820.701z M215.186,823.014
c-0.683-0.227-1.127-0.381-1.334-0.463s-0.628-0.123-1.262-0.123c-0.646-0.021-1.207,0.01-1.682,0.092
c-0.476,0.082-0.433,0.236,0.128,0.475c0.561,0.193,0.969,0.357,1.225,0.481c0.024,0.021,0.055,0.04,0.092,0.062
c-0.024,0.041-0.037,0.082-0.037,0.123c0,0.309,0.287,0.555,0.859,0.74c0.573,0.193,1.274,0.309,2.103,0.309
c0.816,0,1.621-0.258,2.414-0.771c0.792-0.521,1.121-0.812,0.987-0.863c-0.146-0.082-0.567-0.041-1.262,0.123
c-0.683,0.165-1.305,0.104-1.865-0.154C214.979,822.776,214.856,822.766,215.186,823.014z" />
<path fill="#ADA08D" d="M212.352,823.537c0.78-0.082,1.505-0.164,2.176-0.246c0.658-0.083,0.878-0.176,0.658-0.277
c-0.329-0.248-0.207-0.229,0.366,0.029c0.561,0.268,1.183,0.319,1.865,0.154c0.694-0.164,1.115-0.205,1.262-0.123
c0.134,0.062-0.195,0.35-0.987,0.863c-0.793,0.514-1.598,0.771-2.414,0.771c-0.829,0-1.53-0.104-2.103-0.309
c-0.573-0.188-0.859-0.438-0.859-0.74C212.315,823.619,212.327,823.578,212.352,823.537z" />
<path fill="#ADA08D" d="M215.625,820.701c-0.293-0.124-0.439-0.271-0.439-0.438s0.146-0.309,0.439-0.432
c0.292-0.124,0.652-0.188,1.079-0.188c0.427,0,0.787,0.062,1.079,0.188c0.305,0.123,0.458,0.268,0.458,0.432
s-0.152,0.312-0.458,0.438c-0.292,0.123-0.652,0.185-1.079,0.185C216.277,820.886,215.917,820.824,215.625,820.701z" />
<path fill="#ADA08D" d="M215.186,823.014c0.22,0.104,0,0.194-0.658,0.277c-0.67,0.082-1.396,0.164-2.176,0.246
c-0.037-0.021-0.067-0.041-0.092-0.062c-0.256-0.124-0.664-0.288-1.225-0.492c-0.561-0.228-0.604-0.382-0.128-0.464
c0.475-0.082,1.036-0.104,1.682-0.092c0.634,0,1.054,0.041,1.262,0.123S214.503,822.787,215.186,823.014z" />
</g>
</g>
<g id="flow_marks_1_">
<path fill="#36B8F2" d="M184.55,461.45c-2.167,4.134-5.9,6.833-11.2,8.1c13.433-5.2,13.316-12.2-0.35-21
C182.867,452.983,186.717,457.283,184.55,461.45z M144.55,524.7l0.2,0.2c-0.3,0.021-0.717,0.016-1.25-0.062
C143.867,524.816,144.217,524.767,144.55,524.7z M161.975,483.1h0.175c-2.12,1.021-4.454,2.271-7,3.75l-0.3-0.146
c1.667-0.833,3.35-1.688,5.05-2.55C160.611,483.801,161.302,483.45,161.975,483.1z" />
<g>
<path fill="#36B8F2" d="M59.2,767.85v-0.3c1.466,1.104,2.966,2.233,4.5,3.4c24.167,18.466,50.25,30.062,78.25,34.8
c27.961,4.73,49.028,19.572,63.2,44.525c14.175,24.956,45.875,37.015,95.1,36.175c-8.724,4.353-24.674,4.369-47.85,0.05
c-33.233-8.467-54.3-22.883-63.2-43.25c-8.9-20.4-27.083-31.9-54.55-34.5c-27.467-2.6-46.367-10.383-56.7-23.35
C72.217,778.233,65.967,772.383,59.2,767.85z M50.5,747.85c1.966,1.4,6.25,3.742,12.85,7.025s20.8,11.842,42.6,25.675v0.3
c-5.467-3.666-11.267-6.479-17.4-8.438c-13.733-4.438-25.133-11.25-34.2-20.45C52.95,750.55,51.667,749.184,50.5,747.85z" />
</g>
<g>
<path fill="#36B8F2" d="M56.6,537.075c0.304,1.384-2.996,4.06-9.9,8.021c-6.901,3.979-14.118,7.666-21.65,11.104
c-7.6,3.396-12.483,9.683-14.65,18.85c-1.784,7.409-4.918,13.333-9.4,17.775V586.6c3.563-3.881,6.03-8.514,7.4-13.896
c1.934-7.604,6.733-13.604,14.4-18c7.633-4.366,14.767-7.967,21.4-10.8C49.137,541.802,53.27,539.527,56.6,537.075z" />
</g>
<g>
<path fill="#36B8F2" d="M16,719.35c-4.133-2.766-8.183-9.8-12.15-21.1c-3.4-12.3-3.767-22.517-1.1-30.65
C-0.15,680.233,4.267,697.483,16,719.35z" />
</g>
<g>
<path fill="#36B8F2" d="M20.826,546.508c6.485-2.021,13.046-5.637,19.684-10.83c10.006-7.803,19.278-12.932,27.815-15.39
c-3.344,1.875-6.954,4.229-10.83,7.067C43.259,537.742,31.035,544.127,20.826,546.508z" />
</g>
<g>
<path fill="#36B8F2" d="M125.95,483.1c10.733-3.562,19.966-4.688,27.7-3.396c-11.8-1.104-26.917,3.616-45.35,14.146
C110.3,490.584,116.183,487,125.95,483.1z" />
</g>
</g>
</g>
<?php if ($user_id !== 3) { ?>
<g id="black_x5F_river">
<path id="river_flow" fill="#00AAED" d="M1258.301,243.3v36.1c-34.667-14.1-63.768-23-87.301-26.7
c-23.566-3.733-42.633-6.6-57.199-8.6c-14.601-2-22.018-3-22.25-3c-3.934-0.466-7.934-0.883-12-1.25
c-11.533-1.133-23.768-2.1-36.701-2.9c-14.562-0.933-31.146-1.717-49.75-2.35c-44.6-1-82.312-1.667-113.146-2
c-30.833-0.367-57.021-1.867-78.55-4.5c-21.567-2.633-37.938-4.683-49.104-6.15c-14.667-1.9-27.85-4.1-39.55-6.6
c-25.761-5.447-43.995-13.805-54.7-25.075c-0.644-0.679-2.811-2.071-6.5-4.175c4.021-1.21,8.4-1.627,13.15-1.25l-1.104,0.35
c-1.168,0.067-1.051,0.8,0.354,2.2c1.367,1.433,5.267,4.267,11.7,8.5c6.433,4.2,19.562,8.633,39.396,13.3
c19.833,4.667,44.854,8.383,75.051,11.15c30.166,2.767,57.332,4.233,81.5,4.4c24.145,0.133,43.399-0.184,57.812-0.95
c14.359-0.767,34.188-0.7,59.5,0.2c25.267,0.9,45.133,1.4,59.6,1.5c20.438,0.1,38.783,0.433,55.053,1
c16.23,0.533,30.73,2.1,43.5,4.7c12.771,2.6,30.725,4.133,53.854,4.6C1224.033,236.233,1243.167,238.733,1258.301,243.3z" />
<path id="riparian_zone" fill="#51CEF4" d="M1258.25,273.325l0.051,6.075c-0.045-0.018-0.087-0.035-0.125-0.05L1258.25,273.325z
M1258.301,243.3v3.85c-15.134-4.633-34.268-7.217-57.396-7.75c-23.138-0.6-41.066-2.217-53.812-4.85
c-12.766-2.667-27.266-4.3-43.5-4.9c-16.266-0.633-34.604-1.05-55.049-1.25c-14.467-0.167-34.334-0.75-59.601-1.75
c-25.271-1.033-45.104-1.2-59.5-0.5c-14.399,0.733-33.667,0.967-57.803,0.7c-24.166-0.267-51.313-1.85-81.447-4.75
c-30.2-2.9-55.2-6.733-75-11.5c-19.833-4.733-32.95-9.216-39.354-13.45c-6.433-4.267-10.312-7.117-11.646-8.55
c-1.4-1.4-2.15-2.133-2.25-2.2l0.175-0.1h0.725c0.312,0.304,0.682,0.67,1.104,1.1c1.367,1.433,5.267,4.267,11.7,8.5
c6.433,4.2,19.562,8.633,39.396,13.3c19.833,4.667,44.854,8.383,75.05,11.15c30.168,2.767,57.334,4.233,81.5,4.4
c24.146,0.133,43.4-0.184,57.812-0.95c14.356-0.767,34.188-0.7,59.5,0.2c25.267,0.9,45.133,1.4,59.6,1.5
c20.438,0.1,38.783,0.433,55.052,1c16.231,0.533,30.731,2.1,43.5,4.7c12.771,2.6,30.724,4.133,53.854,4.6
C1224.033,236.233,1243.167,238.733,1258.301,243.3z" />
</g>
<?php } ?>
</g>
<?php } // end if ($user_id !== 2) ?>
<g id="sunset" display="none">
<rect id="background_sunset_bit" display="inline" fill="#FEFACC" width="1258.039" height="58.615" />
<image display="inline" overflow="visible" enable-background="new " width="1256" height="137" id="sunset_graphic" xlink:href="img/sunset.png" transform="matrix(1 0 0 1 1.0205 58.6152)">
</image>
</g>
<g id="flow_marks" clip-path="url(#flow_marks_clip)" style="opacity:0">
<path display="inline" fill="#92E3FC" d="M183.558,462.634c-2.167,4.133-5.9,6.833-11.2,8.104c13.433-5.2,13.316-12.2-0.35-21
C181.875,454.167,185.725,458.467,183.558,462.634z M142.508,526.033c0.367-0.033,0.717-0.083,1.05-0.149l0.2,0.2
C143.458,526.117,143.042,526.101,142.508,526.033z M158.908,485.334c0.711-0.35,1.402-0.7,2.075-1.051h0.175
c-2.12,1.012-4.454,2.262-7,3.75l-0.3-0.149C155.525,487.05,157.208,486.2,158.908,485.334z" />
<path display="inline" fill="#92E3FC" d="M76.958,786.584c-5.733-7.167-11.983-13.017-18.75-17.551v-0.3
c1.466,1.101,2.966,2.229,4.5,3.396c24.167,18.467,50.25,30.066,78.25,34.8c27.961,4.73,49.028,19.572,63.2,44.525
c14.175,24.956,45.875,37.015,95.1,36.175c-8.724,4.354-24.674,4.369-47.85,0.05c-33.233-8.467-54.3-22.884-63.2-43.25
c-8.9-20.396-27.083-31.896-54.55-34.5C106.191,807.333,87.292,799.55,76.958,786.584z M53.358,753.134
c-1.4-1.396-2.684-2.767-3.85-4.101c1.966,1.396,6.25,3.741,12.85,7.021c6.6,3.284,20.8,11.854,42.6,25.688v0.301
c-5.467-3.666-11.267-6.483-17.4-8.449C73.825,769.15,62.425,762.334,53.358,753.134z" />
<path display="inline" fill="#92E3FC" d="M43.208,545.084c4.937-2.099,9.07-4.373,12.4-6.825c0.304,1.384-2.996,4.062-9.9,8.024
c-6.901,3.967-14.118,7.667-21.65,11.101c-7.6,3.399-12.483,9.688-14.65,18.854c-1.784,7.396-4.918,13.334-9.4,17.771v-6.226
c3.563-3.881,6.03-8.521,7.4-13.899c1.934-7.601,6.733-13.601,14.4-18C29.441,551.517,36.575,547.917,43.208,545.084z" />
<path display="inline" fill="#92E3FC" d="M15.008,720.533c-4.133-2.771-8.183-9.8-12.15-21.104c-3.4-12.3-3.767-22.517-1.1-30.646
C-1.142,681.417,3.275,698.667,15.008,720.533z" />
<path display="inline" fill="#92E3FC" d="M67.358,521.483c-3.367,1.854-6.983,4.217-10.85,7.05
c-14.233,10.396-26.45,16.783-36.65,19.146c6.467-2.021,13.017-5.633,19.65-10.8C49.508,529.051,58.792,523.917,67.358,521.483z" />
<path display="inline" fill="#92E3FC" d="M124.958,484.283c10.733-3.566,19.966-4.699,27.7-3.399
c-11.8-1.101-26.917,3.616-45.35,14.149C109.308,491.767,115.191,488.184,124.958,484.283z" />
</g>
<path id="flowpath" fill="none" d="M391.111,984.562c-45.272-18.396-88.772-40.354-130.083-66.479
c-17.963-11.354-36.367-23.123-51.044-38.676c-13.199-13.987-22.659-30.925-34.254-46.17
c-13.204-17.359-31.177-37.627-50.981-47.695c-15.071-7.661-32.549-6.793-47.613-14.838c-27.367-14.61-46.411-45.222-60.279-71.82
C3.62,673.499-12.494,638.516-4.115,609.11c6.541-22.957,28.802-36.943,45.936-51.621c27.643-23.688,49.917-52.188,80.851-71.95
c26.352-16.842,45.643-40.576,71.953-57.613c19.09-12.354,39.654-22.311,60.302-31.765c63.169-28.921,129.253-51.415,194.688-74.565
" />
<?php if ($user_id !== 3) {
echo '<image overflow="visible" enable-background="new" width="460" height="483" id="vegetation" xlink:href="img/vegetation.png" transform="matrix(1 0 0 1 0 410)">
</image>';
}
if ($user_id !== 2) {
?>
<g id="waterlines" <?php echo ($user_id === 3) ? 'transform="translate(1350), scale(-1, 1)"' : ''; ?>>
<g opacity="0.2">
<path d="M1070.073,240.2l-68.354,13.95v0.05c-7.396,1.9-13.47,2.57-18.188,2c-2.604-0.27-4.688-0.48-6.25-0.65l-4.9,4.85
c4,0.37,7.28,0.68,9.854,0.95c5.521,0.5,12.271-0.28,20.25-2.35v-0.05l80.354-17.4L1070.073,240.2z M896.523,246.2
c-5.771-0.5-12.812,0.28-21.104,2.35l0.604,4.8c8.93-2.57,15.22-3.58,18.85-3.05c3.631,0.5,5.9,1.07,6.801,1.7l5.149-4.85
C902.653,246.78,899.224,246.47,896.523,246.2z M852.224,255.7c-66.5,17.03-94.62,36.15-84.35,57.35
c2.03-21.33,32.5-39.58,91.4-54.75L852.224,255.7z M983.974,683.93c0.33,0.88,0.646,1.75,0.938,2.62h0.72L983.974,683.93z" />
<path d="M872.424,763.1c-31.5,0.23-66.301,0.354-84.396,0.354l0.188-9.854l84.354,0.062c82.521-4.438,116.58-26.91,102.181-67.45
l-76.229-120.7h0.062l-68.354-108.7c0.063,0.07,0.146,0.146,0.194,0.2l-21.5-33.45c-4.17-5.271-11.33-9.271-21.5-12.05h0.056
c-21.354-7.5-31.926-18.3-31.646-32.396V352.56c-3.9,3.771-9.03,7.104-15.4,10l-56.646,26.7c-9.73,5.13-18.28,7.82-25.65,8.05
c-3.562-0.021-186.779-0.021-189.646,0c0.229-3.47,0.633-6.75,1.188-9.85c2.07-0.03,184.883-0.05,188.45-0.05
c6.57,0.062,14.521-2.382,23.854-7.354l54.604-25.646c12.47-5.53,18.83-13.562,19.104-24.062v-6.85h8.396l-0.55-0.3h3.688
l-0.438,0.3h0.396v8c0.646,9.93,6.979,17.57,19,22.9l75.312,35.396v-0.05c0.17,0.1,0.33,0.18,0.5,0.25l0.053,0.05l0.447,0.2v0.05
c9,4.671,16.683,6.971,23.053,6.9h105.6v9.896H892.5c-2.13-0.021-4.448-0.021-6.948,0c-7.271-0.27-15.646-2.879-25.146-7.85
l-78.062-36.7c-5.931-2.7-10.801-5.78-14.603-9.25v25.8c0.132,10.669,8.396,18.771,24.802,24.301c0.028,0,0.08,0.021,0.146,0.062
c12.354,4.329,20.314,9.43,23.896,15.3v-0.05l89.604,142.05v-0.05l19.479,30.85l58.317,92.38c0.327,0.88,0.643,1.75,0.933,2.62
C1000.323,732.09,962.823,757.61,872.424,763.1z" />
</g>
<g opacity="0.2">
<path d="M948.973,451.8l12,0.604l95.451,137.396v-0.05l98.25,141.5c2.133,3.133,4.033,5.949,5.699,8.449
c1.667,2.5,5.1,8.229,10.301,17.2c0.799,1.934,2,4.75,3.604,8.438c1.396,4.733,1.479,9.479,0.25,14.2
c-6.867,40.8-62.783,66.716-167.75,77.75c-13.033,1.866-28.084,3-45.15,3.396c-1.3,0-2.6,0.021-3.896,0.062H565.825
c-0.033,0.021-0.066,0.05-0.104,0.05h-8.25c-0.396-0.034-1.083-0.083-2.05-0.146c-1-0.062-2-0.104-3-0.104
c-1.033,0-7.617-0.812-19.75-2.45c-11.783-1.604-22.549-5.938-32.3-13v0.354c-0.833-0.732-1.667-1.479-2.5-2.199
c-26.333-23.438-55.05-55.188-86.15-95.25c-0.1-0.033-0.183-0.066-0.25-0.104l0.15-0.104c-0.067-0.062-0.867-1.2-2.4-3.396
l10.45-6.896l4.8,2.1c8.534,8.867,30.438,13.812,65.7,14.812l166.5,0.3v9.396c-16.167,0-42.562,0.021-59.2,0.062
c-24.433,0.062-49.933,0.134-76.5,0.188c-41,0.104-69.267-1.688-84.8-5.396c16.438,24.101,37,47.467,61.7,70.101
c0.833,0.771,1.667,1.533,2.5,2.312v0.146c6.412,6.104,11.496,9.988,15.25,11.691c3.966,1.771,9.064,3.417,15.3,4.95
c6.2,1.467,17.667,2.688,34.4,3.688h391.851c1.5-0.021,2.982-0.062,4.449-0.104c17.301-0.604,32.283-1.729,44.95-3.396V848.3
c101.936-12.332,154.469-37.999,157.601-77h-0.396c-2-9.562-6.482-19.8-13.449-30.694c-0.966-1.473-1.95-2.938-2.95-4.438h-0.05
l-98.25-141.5h0.05L948.973,451.8z M466.874,413.5l12.2-0.4L368.574,563c-0.066,0.066-0.117,0.133-0.15,0.199
c-8,10.562-5.933,18.634,6.2,24.2v-0.062l76.2,37.7V625c49.3,22.366,53.062,45.516,11.3,69.449h-0.05l-28.7,16.45l-0.05-2.562
h-0.05l-0.062-8.396l-1.3-1.604l17.25-9.438c34.771-17.199,35.383-33.949,1.854-50.25l-0.06-2.562v2.5l-87.35-43.1
c-0.034,0-0.067-0.021-0.104-0.062c-15.729-7.473-18.033-18.271-6.896-32.396h0.05L466.874,413.5z" />
</g>
<g>
<g>
<path fill="#B4F0FE" d="M972.873,656.4l-5.6-8.854h0.05l-57.854-91.3v0.05l-89.601-141.45v0.062
c-3.569-5.871-11.529-10.95-23.899-15.25c-0.062-0.03-0.119-0.062-0.146-0.062c-16.4-5.521-24.67-13.6-24.8-24.188v-25.7
c3.8,3.43,8.67,6.5,14.6,9.2l78.051,36.55c9.5,4.97,17.88,7.562,25.149,7.8c2.5-0.029,4.812-0.029,6.95,0h98.688v-9.85H888.82
c-6.37,0.062-14.062-2.229-23.062-6.854v-0.05l-0.438-0.2l-0.062-0.05c-0.172-0.07-0.312-0.15-0.5-0.25v0.05l-75.307-35.25
c-12.021-5.33-18.369-12.95-19-22.85V320h-0.396l0.195-0.15h-0.35v0.25h-5.5V320h-5.45v6.85
c-0.271,10.438-6.63,18.42-19.104,23.95l-54.604,25.55c-9.33,4.938-17.278,7.37-23.854,7.312c-3.562,0-186.382,0.02-188.438,0.05
c-0.562,3.104-0.979,6.37-1.197,9.8c2.867-0.021,186.078-0.021,189.646,0c7.359-0.229,15.923-2.896,25.646-8l56.646-26.6
c6.363-2.9,11.5-6.229,15.396-9.95v26.45c-0.271,14.021,10.271,24.771,31.646,32.25h-0.061c10.172,2.77,17.328,6.77,21.5,12
l37.31,59.8c-1.104-2.07-2.139-4.021-3.104-5.854l55.442,87.438h-0.062l28.646,45.15h-0.062l34.854,55h0.055
c0.896,1.5,1.774,2.979,2.646,4.45c28.938,50.1-2.25,77.604-93.562,82.55l-83.188-0.05l-0.396,9.8
c17.868,0,52.354-0.12,83.445-0.354c99.104-6.062,133.771-36.72,104-91.938C976.644,662.62,974.844,659.53,972.873,656.4z
M843.924,468.25c0.029,0.27,0.08,0.55,0.149,0.85C843.604,468.2,843.554,467.92,843.924,468.25z" />
<g>
<image display="none" overflow="visible" enable-background="new " width="267" height="475" id="freshwater_highlighted" xlink:href="img/freshwater_highlighted.png" transform="matrix(1 0 0 1 739.5 301)">
</image>
<g>
<path fill="#B4F0FE" d="M977.704,665.652c-1.605-3.032-3.405-6.122-5.376-9.252l-5.6-8.854h0.05l-57.854-91.3v0.05
l-89.601-141.45v0.062c-3.569-5.871-11.529-10.95-23.899-15.25c-0.062-0.03-0.119-0.062-0.146-0.062
c-16.4-5.521-24.67-13.6-24.8-24.188v-25.7l-0.375-19.949c-0.081-0.593-0.146-1.195-0.188-1.805V320h-0.396l0.188-0.15h-0.354
v0.25h-5.5V320h-5.45l0.144,28.955v26.45c-0.271,14.021,10.277,24.771,31.646,32.25h-0.062c10.174,2.77,17.327,6.77,21.5,12
l37.312,59.8c-1.104-2.07-2.144-4.021-3.104-5.854l55.446,87.45h-0.051l28.646,45.15h-0.052l34.854,55h0.062
c0.896,1.5,1.771,2.979,2.646,4.45c28.938,50.1-2.25,77.604-93.552,82.55l-83.198-0.05l-0.396,9.8
c17.87,0,52.354-0.12,83.438-0.354C972.807,751.533,1007.475,720.877,977.704,665.652z" />
</g>
</g>
</g>
<path fill="#B4F0FE" d="M1079.523,240.75l-71.45,15.75v0.05c-7.729,2.07-14.28,2.85-19.649,2.35c-2.49-0.27-29.53-3.3-81.101-9.1
c-3.95-0.52-6.771-0.91-8.399-1.15c-3.938-0.63-17.15,2.1-39.62,8.18l0.021,0.02c-56.8,14.23-86.2,31.47-88.2,51.7
c-10.021-20.08,17.39-38.18,82.25-54.3l-0.55,0.05c25.229-6.77,40.021-10.02,44.351-9.75c3.239,0.17,6.42,0.51,9.55,1l2.649,0.3
c51.03,5,77.801,7.63,80.301,7.9c4.604,0.57,10.479-0.08,17.649-1.95v-0.05l55.601-12.3L1079.523,240.75z" />
</g>
<g>
<path fill="#E2D1C7" d="M412.062,741.9l-0.479,0.31c-0.05-0.07-0.11-0.14-0.16-0.21L412.062,741.9z" />
<path fill="#E2D1C7" d="M1174.523,774.02c-6.86,40.812-62.771,66.73-167.75,77.78c-13.03,1.87-28.08,3-45.15,3.4
c-1.3,0-2.6,0.02-3.899,0.05H565.824c-0.04,0.021-0.08,0.03-0.13,0.05h-8.229c-0.396-0.03-1.09-0.08-2.08-0.146
c-0.979-0.08-1.979-0.12-3-0.131c-1,0.011-7.577-0.812-19.729-2.449c-12.17-1.646-23.24-6.2-33.23-13.67l-0.05-4.65V839
c-26.72-23.56-55.94-55.77-87.66-96.63c-0.04-0.05-0.08-0.104-0.13-0.16l0.479-0.31l12.408-7.9c5.9,6.14,18.2,10.39,36.9,12.75
c8.33,1.06,17.93,1.74,28.8,2.05l166.5,0.3v9.45c-12.77,0-35.6,0.021-48.5,0.05h-24.899c-20.062,0.062-40.851,0.104-62.312,0.15
c-24.354,0.06-44.212-0.56-59.57-1.85c-10.5-0.881-18.892-2.07-25.188-3.57c16.769,24.59,37.812,48.42,63.188,71.52v0.2
c6.87,6.63,12.29,10.84,16.25,12.62c3.979,1.8,9.07,3.45,15.271,4.95c6.228,1.5,17.688,2.74,34.438,3.729H957.2
c1.5-0.021,2.979-0.062,4.438-0.1c17.312-0.6,32.28-1.729,44.95-3.4v-0.05c102.486-12.41,155.04-38.3,157.646-77.646
c-1.87-7.312-4.775-14.4-8.729-21.312c-0.021-0.051-0.052-0.101-0.062-0.146c-1.521-2.854-3.229-5.75-5.104-8.7
c-0.972-1.47-1.947-2.95-2.947-4.45h-0.053l-98.25-141.5h0.053l-95.553-136.85h10.604l92.25,132.1v-0.05l98.25,141.5
c2.136,3.13,4.021,5.95,5.688,8.45c1.674,2.5,5.104,8.229,10.312,17.2c0.808,1.938,2,4.76,3.604,8.438
C1175.684,764.57,1175.773,769.29,1174.523,774.02z" />
</g>
<g>
<path fill="#E2D1C7" d="M462.124,688.85l-0.06-0.02l-28.69,16.47l-0.05-2.55h-0.05l-0.062-3c-1.329-1.561-3.26-3.26-5.8-5.1
l21.36-11.15c0.13-0.07,0.26-0.13,0.39-0.2c34.76-17.188,35.37-33.938,1.854-50.25l-0.059-3.41V633l-87.35-43.1l-0.104-0.062
c-15.74-7.47-18.05-18.26-6.896-32.396h0.01l108.24-146.854h11.896L368.553,557.4l-0.146,0.188
c-7.99,10.58-5.92,18.646,6.18,24.17l0.021-0.02l76.195,37.688v-0.057C500.133,641.77,503.894,664.92,462.124,688.85z" />
</g>
<g>
<image display="none" overflow="visible" enable-background="new " width="273" height="62" id="wastewater_highlighted" xlink:href="img/wastewater_highlighted.png" transform="matrix(1 0 0 1 392.5 716)">
</image>
<g>
<g>
<path fill="#E2D1C7" d="M656.648,749.545v9.45c-12.771,0-35.604,0.017-48.5,0.05c-8.233,0-16.533,0-24.9,0
c-20.076,0.051-40.852,0.102-62.324,0.15c-24.354,0.057-44.214-0.562-59.575-1.854c-12.878-1.075-22.595-2.626-29.146-4.646
l1.725,1.271c-7.979-5.667-15.479-9.409-22.5-11.225l13.025-8.3c5.896,6.138,18.202,10.388,36.896,12.75
c8.33,1.061,17.938,1.729,28.812,2.05L656.648,749.545z" />
</g>
</g>
</g>
</g>
<g id="waterlines_clip" style="opacity: 0">
<g display="inline">
<path clip-path="url(#waterline_clip1)" fill="#1CCBD3" d="M972.873,656.4l-5.6-8.854h0.05l-57.854-91.3v0.05l-89.601-141.45v0.062
c-3.569-5.871-11.529-10.95-23.899-15.25c-0.062-0.03-0.119-0.062-0.146-0.062c-16.4-5.521-24.67-13.6-24.8-24.188v-25.7
c3.8,3.43,8.67,6.5,14.6,9.2l78.051,36.55c9.5,4.97,17.88,7.562,25.149,7.8c2.5-0.029,4.812-0.029,6.95,0h98.688v-9.85H888.82
c-6.37,0.062-14.062-2.229-23.062-6.854v-0.05l-0.438-0.2l-0.062-0.05c-0.172-0.07-0.312-0.15-0.5-0.25v0.05l-75.307-35.25
c-12.021-5.33-18.369-12.95-19-22.85V320h-0.396l0.195-0.15h-0.35v0.25h-5.5V320h-5.45v6.85
c-0.271,10.438-6.63,18.42-19.104,23.95l-54.604,25.55c-9.33,4.938-17.278,7.37-23.854,7.312c-3.562,0-186.382,0.02-188.438,0.05
c-0.562,3.104-0.979,6.37-1.197,9.8c2.867-0.021,186.078-0.021,189.646,0c7.359-0.229,15.923-2.896,25.646-8l56.646-26.6
c6.363-2.9,11.5-6.229,15.396-9.95v26.45c-0.271,14.021,10.271,24.771,31.646,32.25h-0.061c10.172,2.77,17.328,6.77,21.5,12
l37.31,59.8c-1.104-2.07-2.139-4.021-3.104-5.854l55.442,87.438h-0.062l28.646,45.15h-0.062l34.854,55h0.055
c0.896,1.5,1.774,2.979,2.646,4.45c28.938,50.1-2.25,77.604-93.562,82.55l-83.188-0.05l-0.396,9.8
c17.868,0,52.354-0.12,83.445-0.354c99.104-6.062,133.771-36.72,104-91.938C976.644,662.62,974.844,659.53,972.873,656.4z
M843.924,468.25c0.029,0.27,0.08,0.55,0.149,0.85C843.604,468.2,843.554,467.92,843.924,468.25z" />
<path fill="#1CCBD3" clip-path="url(#waterline_clip2)" d="M1079.523,240.75l-71.45,15.75v0.05c-7.729,2.07-14.28,2.85-19.649,2.35c-2.49-0.27-29.53-3.3-81.101-9.1
c-3.95-0.52-6.771-0.91-8.399-1.15c-3.938-0.63-17.15,2.1-39.62,8.18l0.021,0.02c-56.8,14.23-86.2,31.47-88.2,51.7
c-10.021-20.08,17.39-38.18,82.25-54.3l-0.55,0.05c25.229-6.77,40.021-10.02,44.351-9.75c3.239,0.17,6.42,0.51,9.55,1l2.649,0.3
c51.03,5,77.801,7.63,80.301,7.9c4.604,0.57,10.479-0.08,17.649-1.95v-0.05l55.601-12.3L1079.523,240.75z" />
</g>
<g display="inline">
<g>
<path fill="#E28A64" d="M412.062,741.9l-0.479,0.31c-0.05-0.07-0.11-0.14-0.16-0.21L412.062,741.9z" />
<path fill="#E28A64" clip-path="url(#waterline_clip3)" d="M1174.523,774.02c-6.86,40.812-62.771,66.73-167.75,77.78c-13.03,1.87-28.08,3-45.15,3.4
c-1.3,0-2.6,0.02-3.899,0.05H565.824c-0.04,0.021-0.08,0.03-0.13,0.05h-8.229c-0.396-0.03-1.09-0.08-2.08-0.146
c-0.979-0.08-1.979-0.12-3-0.131c-1,0.011-7.577-0.812-19.729-2.449c-12.17-1.646-23.24-6.2-33.23-13.67l-0.05-4.65V839
c-26.72-23.56-55.94-55.77-87.66-96.63c-0.04-0.05-0.08-0.104-0.13-0.16l0.479-0.31l12.408-7.9c5.9,6.14,18.2,10.39,36.9,12.75
c8.33,1.06,17.93,1.74,28.8,2.05l166.5,0.3v9.45c-12.77,0-35.6,0.021-48.5,0.05h-24.899c-20.062,0.062-40.851,0.104-62.312,0.15
c-24.354,0.06-44.212-0.56-59.57-1.85c-10.5-0.881-18.892-2.07-25.188-3.57c16.769,24.59,37.812,48.42,63.188,71.52v0.2
c6.87,6.63,12.29,10.84,16.25,12.62c3.979,1.8,9.07,3.45,15.271,4.95c6.228,1.5,17.688,2.74,34.438,3.729H957.2
c1.5-0.021,2.979-0.062,4.438-0.1c17.312-0.6,32.28-1.729,44.95-3.4v-0.05c102.486-12.41,155.04-38.3,157.646-77.646
c-1.87-7.312-4.775-14.4-8.729-21.312c-0.021-0.051-0.052-0.101-0.062-0.146c-1.521-2.854-3.229-5.75-5.104-8.7
c-0.972-1.47-1.947-2.95-2.947-4.45h-0.053l-98.25-141.5h0.053l-95.553-136.85h10.604l92.25,132.1v-0.05l98.25,141.5
c2.136,3.13,4.021,5.95,5.688,8.45c1.674,2.5,5.104,8.229,10.312,17.2c0.808,1.938,2,4.76,3.604,8.438
C1175.684,764.57,1175.773,769.29,1174.523,774.02z" />
</g>
<g>
<path fill="#E28A64" clip-path="url(#waterline_clip4)" d="M462.124,688.85l-0.06-0.02l-28.69,16.47l-0.05-2.55h-0.05l-0.062-3c-1.329-1.561-3.26-3.26-5.8-5.1
l21.36-11.15c0.13-0.07,0.26-0.13,0.39-0.2c34.76-17.188,35.37-33.938,1.854-50.25l-0.059-3.41V633l-87.35-43.1l-0.104-0.062
c-15.74-7.47-18.05-18.26-6.896-32.396h0.01l108.24-146.854h11.896L368.553,557.4l-0.146,0.188
c-7.99,10.58-5.92,18.646,6.18,24.17l0.021-0.02l76.195,37.688v-0.057C500.133,641.77,503.894,664.92,462.124,688.85z" />
</g>
</g>
</g>
<?php } // end if ($user_id !== 2) ?>
<g id="dropletpaths">
<path fill="none" d="M1087.5,231c-62.031,31.808-150.163,20.399-215.592,21.004c-30.583,0.283-68.828,8.238-88.581,33.96
c-9.396,12.234-24.736,13.063-37.828,22.586c-21.508,15.646-50.178-16.044-56-30.211" />
<path fill="none" d="M717.791,308.55c47.642-12.377,39.261,15.981,19.03,28.956c-12.438,6.918-26.276,29.86-39.375,35.447
c-15.422,6.577-25.951,10.326-36.992,12.298c-10.151,1.813-170.735,2.125-185.954,1.749" />
<path fill="none" d="M707.459,267.669C776.5,244.5,749.5,312.787,825.923,371.18c25.043,11.487,43.619,26.354,72.172,27.792
c19.415,0.984,79-0.271,98.405-0.973" />
<path fill="none" d="M695.322,277c85.513-19.494,69.422,62.339,70.396,73.385c1.062,11.919-1.146,32.896,7.146,42.604
c8.438,9.883,28.847,10.604,39.87,18.979c9.965,7.588,13.542,21.283,20.646,31.289c9.562,13.456,18.792,27.154,27.813,40.979
c18.229,27.938,35.54,56.479,52.762,85.062c17.92,29.744,34.709,60.709,54.438,89.312c14.146,20.5,32.024,46.562,2.896,65.393
c-17.128,11.07-34.734,22.479-55.318,24.969c-21.664,2.625-79.604,2.622-87.312,3.646c-11.362,1.479-58.812,1.021-70.236,0.46" />
<path fill="none" d="M477.5,406c-7.146,11.299-99.504,130.429-107.037,141.472c-3.979,5.836-12.479,14.877-12.132,22.562
c0.753,16.614,38.087,25.542,49.968,31.062c21.312,9.906,42.842,21.107,62.336,34.312c16.312,11.042,19.174,21.555,2.521,34.478
c-19.021,14.74-52.836,33.229-73.65,45.112" />
<path fill="none" d="M681.5,754c-49.649-0.564-119.368,1.492-169.018,2.059c-21.733,0.248-42.021-0.645-62.688-7.979
c-18.162-6.452-43.829-21.186-60.299-31.07" />
<path fill="none" d="M960.503,454.998c24.503,36.554,115.142,157.993,138.565,195.181c9.896,15.738,19.845,31.417,30.021,46.979
c10.044,15.349,23.26,29.414,32.445,45.161c21.039,36.062-12.049,67.133-42.188,79.896c-15.92,6.75-31.562,13.127-48.521,16.938
c-36.825,8.259-78.417,9.874-116.146,9.875c-49.438,0.001-98.666,3.021-148.117,2.979c-26.459-0.021-52.021-4.042-78.188-4.021
c-36.037,0.021-72.064,0.386-108.099,0.67c-39.244,0.309-94.48,15.181-126.188-16.405c-19.104-19.038-35.896-40.269-52.146-61.753
c-12.985-17.17-31.162-37.396-48.447-50.506" />
</g>
<image overflow="visible" enable-background="new " width="67" height="84" id="windmill_base" xlink:href="img/wind_turbine_base.png" transform="matrix(1 0 0 1 8.25 251.0059)">
</image>
<image overflow="visible" enable-background="new " width="43" height="39" id="blades" xlink:href="img/wind_turbine_blades.png" transform="matrix(0.9999 0 0 0.9999 22.252 260.834)">
</image>
<?php if (!isset($_GET['ver']) || $_GET['ver'] !== 'kiosk') { ?>
<image overflow="visible" enable-background="new " width="1584" height="77" id="top_menu" xlink:href="img/menu_top.png">
</image>
<?php } ?>
<image xlink:href="img/squirrel/<?php echo $squirrel_mood; ?>.gif" x="0" y="1" height="206px" width="182px" id="squirrel"/>
<image xlink:href="img/fish/<?php echo $fish_mood; ?>.gif" x="0" y="1" height="206px" width="182px" id="fish" style="opacity:0"/>
<!-- Original ship heightxWidth was 22x44 -->
<image overflow="visible" enable-background="new " width="55" height="27.5" id="ship" xlink:href="img/ship.png" transform="matrix(0.9999 0 0 0.9999 0 180)">
</image>
<?php if ($user_id !== 2) { echo ($user_id === 3) ? '<g id="powerlines_back" transform="translate(-110,0)">' : '<g id="powerlines_back">'; ?>
<g id="powerlines_lit_back" display="none">
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M806.402,317c32.895,48.497,94.96,150.995,193.678,127.589" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M316.473,210.2c95.25,24.828,188.79,21.278,280.604-10.65" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M361.473,213.95c87.483,13.403,174.973,8.82,262.45-13.75" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M605.823,215.85c-10,68.402-41.323,124.15-126.322,168.814" />
</g>
<path fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="3" d="M316.473,210.2
c95.25,24.828,188.79,21.278,280.604-10.65" />
<path fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="3" d="M361.473,213.95
c87.483,13.403,174.973,8.82,262.45-13.75" />
<path fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="3" d="M320.073,231.55
c104.294,25.97,196.227,17.57,275.8-25.2" />
<path fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="3" d="M357.523,231.05
c87.052,16.438,174.935,7.822,263.646-25.85" />
<path fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="3" d="M802.58,299.089
c12.529,30.823,87.085,173.328,197.5,145.5" />
<path fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="3" d="M605.823,215.85
c-10,68.402-41.323,124.15-126.322,168.814" />
<g id="sparkpaths_back" display="none">
<!-- <path fill="none" d="M605.823,215.872C602.41,233.617,593,337.506,477.08,384.089" /> -->
<circle cx="605" cy="215" r="7" fill="#FFF915" />
<!-- <path fill="none" d="M802.58,299.089c12.529,30.823,87.085,173.328,197.5,145.5" /> -->
<circle cx="820" cy="320" r="7" fill="#FFF915" />
</g>
</g>
<?php } // end if $user_id !== 2 ?>
<g id="clickables">
<?php
$text_pos = array();
foreach ($db->query("SELECT component, pos, widthxheight, img, attr FROM cwd_landscape_components WHERE hidden = 0 AND user_id = {$user_id} AND component != 'river_click' ORDER BY `order` ASC") as $row) {
$p = explode(',', str_replace(' ', '', $row['pos']));
$wh = explode('x', str_replace(' ', '', strtolower($row['widthxheight'])));
$text_pos[$row['component']] = array($p[0] + $wh[0], $p[1] + ((1/3)*$wh[1]));
echo "<image {$row['attr']} style='cursor:pointer' class='draggable' overflow='visible' enable-background='new '
width='{$wh[0]}' height='{$wh[1]}' id='{$row['component']}' xlink:href='{$row['img']}' x='{$p[0]}' y='{$p[1]}'></image>";
// figure out pos of inside of house based on translating from old pos
if ($row['component'] === 'houses') {
$houses_x = $p[0] - 519;
$houses_y = $p[1] - 584;
}
}
?>
<path id="river_click" fill="#2B9CBF" fill-opacity="0" d="M1199.9,235.8c-23.131-0.47-41.08-2-53.854-4.6
c-12.76-2.6-27.26-4.17-43.5-4.7c-16.26-0.57-34.604-0.9-55.05-1c-14.46-0.1-34.33-0.6-59.604-1.5
c-25.303-0.9-45.133-0.97-59.5-0.2c-14.396,0.77-33.651,1.08-57.803,0.95c-21.47-0.15-45.3-1.32-71.51-3.52v6.71
c0.43,0.05,0.87,0.11,1.312,0.16c21.526,2.63,47.728,4.13,78.558,4.5c30.83,0.33,68.55,1,113.146,2
c18.604,0.63,35.188,1.42,49.75,2.35c12.938,0.8,25.17,1.77,36.7,2.9c4.069,0.37,8.069,0.78,12,1.25c0.229,0,7.649,1,22.25,3
c14.569,2,33.63,4.87,57.2,8.6c23.521,3.7,52.63,12.6,87.3,26.7v-36.1C1242.17,238.73,1223.03,236.23,1199.9,235.8z M413.9,892.5
c-65.23-1.67-102.75-14.35-112.55-38.05c-9.8-23.73-28.68-37.97-56.65-42.7c-28-4.73-47.12-13.62-57.35-26.65
c-10.27-13.062-22.23-21.85-35.9-26.35c-13.7-4.53-25.05-11.45-34.05-20.75c-6.1-6.3-10.15-11.78-12.15-16.45
c-19.87-29.7-24.83-54.62-14.9-74.75c2.73-17.87-0.07-29.35-8.4-34.45c-9.37-5.77-12.27-13.619-8.7-23.55
c3.57-9.97,16.25-20.22,38.05-30.75c21.8-10.569,28.15-20.1,19.05-28.6c-9.1-8.53-14.07-15.17-14.9-19.9
c-0.48-2.646,1.59-5.31,6.23-7.96H67.65c-1.99,3.74-5.44,6.76-10.35,9.062c-8.87,4.1-18.08,6.771-27.65,8.05
c-9.57,1.27-16.5,3.2-20.8,5.8c-3.33,1.97-5.95,4.87-7.85,8.7v246.85c2,12.37,8,21.62,18,27.75c27.33,13.53,40.67,28.5,40,44.9
c-1,15,9.87,28.27,32.6,39.8h159.65l-0.05-0.05l0.1,0.05L413.9,892.5L413.9,892.5z M175.4,781.05c-0.03-0.1-0.05-0.2-0.05-0.3
c0.2,0.4,0.42,0.8,0.65,1.2L175.4,781.05z" />
</g>
<?php if ($user_id !== 2) { echo ($user_id === 3) ? '<g id="powerlines" transform="translate(-110,0)">' : '<g id="powerlines">'; ?>
<g id="powerlines_lit" display="none">
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M624.023,200.222c64.021,63.933,133.396,96.833,208.1,98.7" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M836.373,298.321c52.52,149.147,127.502,259.949,224.949,332.401" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M806.402,317" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M479.501,384.664" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M605.823,215.872" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M1022.223,667.371c-27.633,14.104-53.517,24.57-77.646,31.4c-45.363,12.836-84.562,12.836-117.574,0
c-2.703-1.06-5.361-2.188-7.975-3.4" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M800.773,298.321c43.713,149.958,109.104,260.333,196.188,331.151" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M595.823,200.222c64.017,63.947,133.384,96.848,208.1,98.7" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-miterlimit="10" d="M288.545,893
c52.598-48.266,105.798-140.229,112.07-173.854" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-miterlimit="10" d="M832.123,298.921
c14.333-16.166,27.854-31.59,34.854-59.256" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M152.173,302.05c64.789-15.182,134.572-44.548,209.354-88.1" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M140.923,301.4c58.317-18.8,116.633-49.2,174.95-91.2" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M597.077,199.55" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M316.473,210.2" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M623.923,200.2" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M361.473,213.95" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M479.501,384.664" />
<path display="inline" fill="none" stroke="#FFF915" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="3" d="
M605.823,215.85" />
</g>
<g>
<g id="shadow_1_" opacity="0.2">
<g>
<path d="M358.773,272.5c0.021,0.062-0.021,0.145-0.125,0.25c-0.271,0.055-0.45,0.072-0.556,0.05
c-0.733-0.575-2.15-0.898-4.25-0.975c-0.32-0.063-2.126-0.038-5.396,0.075c-2.133-0.013-3.674-0.037-4.625-0.075
c-1.683-0.101-2.961-0.309-3.854-0.625c-0.146-0.042-0.125-0.102,0.075-0.175c0.172-0.106,0.347-0.141,0.525-0.102
c1.029,0.379,2.654,0.579,4.875,0.602c1.249,0.024,3.174,0.017,5.771-0.025c1.92-0.041,3.351,0.001,4.275,0.125
C356.972,271.748,358.064,272.039,358.773,272.5z" />
<path d="M355.148,259.4c-0.017-0.121,0.104-0.214,0.35-0.275c0.3-0.111,1.775-0.561,4.425-1.35
c1.784-0.61,3.229-1.127,4.325-1.552c0.124-0.089,0.249-0.112,0.375-0.073c0.549,0.393,1.041,0.899,1.475,1.523
c0.229,0.368,0.562,0.942,1,1.727c0.91-1.537,1.938-3.045,3.075-4.525c-0.474-0.268-0.771-0.668-0.896-1.2
c-0.042-0.042-0.083-0.083-0.125-0.125h0.646c0.133,0.412,0.354,0.712,0.65,0.9c0.188-0.313,0.438-0.621,0.75-0.925l0.5-0.025
c-2.049,2.766-4.049,5.766-6,9c-3.146,5.344-5.957,10.86-8.45,16.55l0.325,0.2h-0.45v0.35l-0.1-0.073l-1.9,4.475
c-0.021,0.123-0.154,0.206-0.4,0.25c-0.104,0-0.188,0-0.25,0c-0.1-0.003-0.104-0.045-0.021-0.125l2.125-4.85
c-1.34-0.87-2.123-1.361-2.354-1.477c-0.805-0.579-1.388-1.128-1.75-1.648c-1.008-1.156-1.591-1.823-1.75-2
c-0.373-0.375-0.639-0.65-0.8-0.825c-0.415-0.266-0.824-0.423-1.225-0.477c-0.469-0.073-1.161,0.043-2.075,0.352
c-0.356,0.097-1.098,0.364-2.225,0.8l-5.025,2c-1.306,0.496-3.164,1.129-5.575,1.9c-0.955,0.279-1.812,0.539-2.575,0.773
c-1.321,0.43-2.354,0.795-3.1,1.102c-0.291,0.065-0.458,0.065-0.5,0c-0.043-0.115,0.057-0.217,0.3-0.302
c0.862-0.323,1.961-0.683,3.3-1.073c0.066-0.016,0.133-0.031,0.2-0.052l3.575-1.1c1.464-0.448,3.239-1.107,5.325-1.975
c2.664-1.103,4.438-1.777,5.325-2.025c1.552-0.592,2.613-0.851,3.194-0.775c0.632,0.004,1.281,0.312,1.95,0.927
c0.363,0.313,1.022,0.998,1.979,2.05c0.084,0.169,0.268,0.452,0.55,0.85c0.228,0.32,0.48,0.579,0.771,0.775l2.65,1.625
c2.546-5.622,5.429-11.13,8.647-16.525l1.5-2.425c-0.222,0.062-0.354,0.062-0.397,0c-0.428-0.854-0.729-1.461-0.9-1.825
c-0.34-0.389-0.651-0.747-0.944-1.075l-0.275-0.273c-0.184-0.048-0.451,0.02-0.8,0.2c-0.943,0.311-2.235,0.744-3.875,1.3
c-2.11,0.599-3.485,1.048-4.125,1.35C355.348,259.445,355.207,259.438,355.148,259.4z" />
<path d="M349.948,262.174c1.521-1.306,3.468-2.864,5.825-4.675c2.005-1.621,3.616-2.88,4.85-3.775h0.5
c-5.262,4.101-8.829,6.926-10.7,8.477c-2.62,2.136-4.603,3.752-5.95,4.85c-2.332,1.835-4.54,3.511-6.625,5.025
c-1.541,1.065-3.749,2.558-6.625,4.475c-0.397,0.266-0.814,0.54-1.25,0.825c-3.785,2.433-6.521,4.258-8.225,5.475
c-0.18,0.075-0.363,0.125-0.55,0.15c-0.148-0.068-0.148-0.127,0-0.175c-0.03-0.049-0.02-0.073,0.05-0.075
c1.692-1.231,4.425-3.064,8.2-5.5c0.62-0.402,1.211-0.785,1.771-1.15c2.623-1.715,4.648-3.063,6.075-4.05
C340.607,269.66,344.823,266.367,349.948,262.174z" />
<path d="M355.323,259.75c-0.084-0.102-0.025-0.186,0.175-0.25c0.155-0.077,0.28-0.094,0.375-0.05
c0.987,0.816,1.654,2.034,2,3.648c3.102-1.414,5.693-2.497,7.775-3.25c0.188-0.084,0.342-0.084,0.444,0
c-0.002,0.062-0.086,0.121-0.25,0.177c-1.938,0.763-4.558,1.871-7.85,3.323c0.087,0.748,0.254,1.939,0.5,3.575
c0.283,1.403,0.883,2.545,1.8,3.425c0.026,0.054-0.082,0.137-0.325,0.25c-0.222,0.06-0.338,0.075-0.35,0.052
c-0.845-0.863-1.429-2.004-1.75-3.427c-0.229-1.639-0.4-2.839-0.525-3.6c-2.927,1.295-4.969,2.178-6.125,2.65
c-2.391,0.977-4.549,1.817-6.475,2.523c-0.254,0.063-0.388,0.056-0.4-0.023c-0.047-0.109,0.059-0.193,0.306-0.25
c1.948-0.683,4.114-1.516,6.5-2.5c0.966-0.437,3.021-1.345,6.175-2.727C357.002,261.685,356.335,260.502,355.323,259.75z" />
</g>
</g>
<path opacity="0.2" enable-background="new " d="M322.923,278.299l-0.35,1.5c-0.999,0.899-0.466,1.666,1.6,2.3
c2.064,0.638,5.281,1.229,9.65,1.775c4.369,0.547,8.886,0.572,13.55,0.075c4.666-0.499,6.982-1.233,6.95-2.2
c-0.033-1,0.034-1.767,0.2-2.3c0.433-0.102,0.717-0.268,0.85-0.5c0.1-0.102,0.1-0.233,0-0.4c0.033-0.167,0.033-0.3,0-0.398
l0.05-0.102c0,0.167,0.083,0.25,0.25,0.25c0.133,0.034,0.217-0.033,0.25-0.2l0.15-0.3v-0.05c0.167-0.133,0.3-0.434,0.396-0.9
c0-0.032,0.033-0.115,0.104-0.25v5.852c-0.271,0.667-0.533,1.398-0.8,2.2l-0.056,0.148c-0.133,0-0.229,0.067-0.3,0.2
c-0.033,0.133-0.033,0.283,0,0.45v0.05c-0.033-0.1-0.083-0.184-0.146-0.25c-0.104-0.033-0.188-0.017-0.25,0.05
c-0.033-0.065-0.104-0.1-0.2-0.1c-0.167,0.065-0.25,0.216-0.25,0.45l0.05,0.35h-0.1c-2,0.566-4.533,0.75-7.604,0.55
c-3.396-0.366-5.933-0.583-7.6-0.648c-4.137-0.066-7.233-0.167-9.303-0.302c-3.564-0.166-6.647-0.55-9.25-1.148h-0.147l-1.3-0.15
l-0.25-1.648C320.506,280.049,321.79,278.599,322.923,278.299z" />
<g id="tower_1_">
<g>
<path fill="none" stroke="#373435" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="3" d="
M355.973,278.5c-6.104-14.078-10.188-33.262-12.25-57.55" />
<path fill="#231F20" d="M338.709,164.445c0.051-0.178,0.164-0.228,0.34-0.152c0.151,0.076,0.202,0.203,0.151,0.379
c-0.378,1.209-0.812,2.961-1.285,5.255c-0.025,0.177-0.139,0.252-0.341,0.229c-0.176-0.051-0.251-0.163-0.229-0.34
C337.953,167.141,338.406,165.352,338.709,164.445z" />
<path fill="#231F20" d="M338.406,199.869c-0.104,0.149-0.214,0.163-0.34,0.037c-0.151-0.104-0.182-0.239-0.075-0.416
c0.302-0.479,0.756-1.046,1.355-1.701c-1.008-0.857-1.765-1.475-2.269-1.854c-0.151-0.101-0.164-0.227-0.038-0.378
c0.126-0.177,0.252-0.2,0.378-0.075l2.344,1.891c0.435-0.453,1.122-1.084,2.079-1.891c0.126-0.125,0.252-0.113,0.378,0.039
c0.104,0.176,0.076,0.313-0.07,0.414c-0.812,0.655-1.468,1.262-1.972,1.814l1.438,1.361c0.126,0.126,0.126,0.252,0,0.378
c-0.126,0.149-0.252,0.164-0.378,0.037l-1.479-1.36C339.288,198.696,338.835,199.263,338.406,199.869z" />
<path fill="#231F20" d="M342.792,206.938c0.101,0.15,0.076,0.29-0.075,0.415c-0.146,0.103-0.271,0.076-0.378-0.075
c-0.58-0.855-1.396-1.713-2.458-2.57l-2.798,2.76c-0.126,0.127-0.265,0.127-0.416,0c-0.126-0.125-0.126-0.252,0-0.378
l2.76-2.722c-0.58-0.428-1.475-1.021-2.685-1.777c-0.151-0.1-0.189-0.227-0.113-0.377c0.076-0.177,0.202-0.215,0.378-0.114
c1.512,0.983,2.458,1.602,2.835,1.854c0.958-1.008,1.664-1.789,2.117-2.344c0.101-0.15,0.239-0.164,0.416-0.037
c0.151,0.125,0.164,0.251,0.038,0.377c-0.605,0.73-1.312,1.524-2.117,2.382C341.38,205.185,342.212,206.055,342.792,206.938z" />
<path fill="#231F20" d="M341.771,208.261c0.101-0.151,0.227-0.164,0.378-0.039c0.146,0.103,0.176,0.229,0.07,0.379
c-0.428,0.605-1.122,1.322-2.08,2.154c1.109,0.883,1.884,1.777,2.312,2.686c0.076,0.177,0.021,0.29-0.151,0.341
c-0.177,0.075-0.303,0.037-0.378-0.113c-0.428-0.908-1.159-1.752-2.188-2.533c-1.033,0.933-1.729,1.612-2.08,2.041
c-0.125,0.126-0.252,0.14-0.378,0.037c-0.126-0.125-0.144-0.264-0.038-0.415c0.454-0.58,1.134-1.248,2.042-2.004
c-0.63-0.454-1.109-0.806-1.438-1.059c-0.555-0.403-0.996-0.77-1.32-1.098c-0.127-0.125-0.142-0.264-0.035-0.416
c0.125-0.125,0.251-0.125,0.378,0c0.176,0.152,1.121,0.884,2.835,2.193C340.649,209.583,341.342,208.866,341.771,208.261z" />
<path fill="#231F20" d="M329.22,198.28c0.151,0.101,0.189,0.228,0.113,0.378c-0.076,0.177-0.202,0.227-0.378,0.151
c-0.479-0.253-1.034-0.594-1.664-1.021c-0.706-0.479-1.248-0.844-1.625-1.097c-0.151-0.102-0.164-0.228-0.038-0.378
c0.125-0.15,0.265-0.177,0.416-0.076C327.531,197.272,328.589,197.953,329.22,198.28z" />
<path fill="#231F20" d="M333.643,198.318c0.126,0.126,0.126,0.265,0,0.416c-0.126,0.149-0.252,0.164-0.378,0.037
c-1.084-1.083-1.985-2.055-2.722-2.91c-0.101-0.127-0.076-0.252,0.076-0.379c0.176-0.102,0.312-0.089,0.416,0.039
C331.639,196.302,332.509,197.234,333.643,198.318z" />
<path fill="#231F20" d="M347.442,198.469c0.176,0.075,0.227,0.201,0.146,0.378c-0.101,0.151-0.239,0.201-0.416,0.151
c-1.104-0.403-2.143-1.046-3.1-1.929c-0.126-0.125-0.126-0.265,0-0.416c0.126-0.15,0.252-0.163,0.378-0.037
C345.363,197.5,346.358,198.117,347.442,198.469z" />
<path fill="#231F20" d="M351.222,198.658c0.182,0.102,0.229,0.227,0.151,0.379c-0.076,0.176-0.202,0.227-0.378,0.149
c-0.554-0.276-0.958-0.54-1.209-0.793c-0.126-0.127-0.126-0.266,0-0.416c0.126-0.151,0.252-0.163,0.378-0.038
C350.365,198.167,350.718,198.406,351.222,198.658z" />
<path fill="#231F20" d="M332.698,174.576c0.146,0.102,0.164,0.228,0.038,0.379c-0.126,0.15-0.271,0.176-0.416,0.075
l-1.896-1.323c-0.146-0.101-0.164-0.227-0.038-0.378c0.104-0.151,0.229-0.177,0.378-0.075L332.698,174.576z" />
<path fill="#231F20" d="M346.156,174.387c0.146,0.104,0.164,0.239,0.038,0.416c-0.126,0.151-0.251,0.163-0.378,0.038
c-0.812-0.58-1.562-0.87-2.271-0.87c-0.176-0.023-0.277-0.126-0.302-0.302c0-0.202,0.088-0.29,0.265-0.266
C344.367,173.404,345.249,173.732,346.156,174.387z" />
<path fill="#231F20" d="M349.786,175.371c0.151,0.101,0.164,0.214,0.038,0.34c-0.126,0.151-0.271,0.176-0.417,0.076
c-0.781-0.504-1.297-0.959-1.55-1.361c-0.104-0.15-0.076-0.276,0.07-0.379c0.151-0.125,0.277-0.113,0.378,0.038
C348.588,174.462,349.08,174.892,349.786,175.371z" />
<path fill="#231F20" d="M329.976,218.619c0.183,0.051,0.22,0.164,0.114,0.341c-0.076,0.177-0.202,0.239-0.378,0.188
c-0.68-0.277-1.222-0.693-1.625-1.247c-0.101-0.151-0.076-0.276,0.076-0.378c0.151-0.126,0.277-0.113,0.378,0.036
C328.892,218.064,329.371,218.417,329.976,218.619z" />
<path fill="#231F20" d="M332.433,218.808c0.182,0.052,0.229,0.164,0.151,0.341c-0.075,0.178-0.202,0.239-0.378,0.188
c-0.605-0.227-1.134-0.565-1.587-1.021c-0.126-0.126-0.139-0.253-0.038-0.378c0.126-0.152,0.252-0.164,0.378-0.038
C331.438,218.33,331.929,218.632,332.433,218.808z" />
<path fill="#231F20" d="M320.273,231l-0.104,1.25C320.673,231.516,320.706,231.099,320.273,231z M343.473,220.75
c-3.194,0-5.934-0.05-8.194-0.15c-0.5,5.167-1,9.052-1.5,11.65c-1.5,8.367-2.473,14-2.9,16.9c-0.533,3.731-0.967,6.55-1.3,8.448
c-0.5,3.066-1.083,5.834-1.75,8.302c-0.5,1.967-1.367,4.75-2.604,8.35c-0.479,1.381-0.9,2.631-1.271,3.75
c0.203-0.148,0.481-0.324,0.85-0.525c0.881-0.482,1.811-1.059,2.775-1.725l2.45-1.7c1-0.7,2.1-1.716,3.3-3.05
c1.6-1.733,2.684-2.834,3.25-3.3c1.034-0.9,1.833-1.317,2.396-1.25c0.667,0.065,1.556,0.55,2.65,1.45
c0.7,0.532,1.917,1.6,3.65,3.198c0.267,0.269,0.683,0.7,1.25,1.302c0.5,0.5,0.944,0.883,1.35,1.148l3.75,2.4
c-2.2-8.634-4.067-17.467-5.6-26.5l-0.65-4.35c-0.167,0.102-0.3,0.084-0.4-0.05c-1.167-1.5-2.05-2.616-2.646-3.35
c-0.633-0.7-1.283-1.366-1.95-2l-0.55-0.5c-0.167-0.102-0.367-0.018-0.604,0.25c-0.633,0.667-1.562,1.466-2.8,2.398
c-1.533,1.135-2.533,1.917-3,2.352c-0.133,0.1-0.267,0.083-0.396-0.05c-0.104-0.2-0.067-0.352,0.1-0.45
c0.233-0.2,1.316-1.018,3.25-2.45c1.3-1.033,2.283-1.967,2.95-2.8c0.1-0.102,0.229-0.116,0.396-0.05
c0.938,0.731,1.917,1.684,2.95,2.85c0.604,0.7,1.467,1.783,2.604,3.25c-0.438-2.8-0.771-5.584-1-8.35
c-0.7-0.5-1.4-1.283-2.104-2.352c-0.967-1.366-1.6-2.216-1.896-2.55c-0.306-0.367-0.533-0.5-0.7-0.4
c-0.133,0.066-0.367,0.269-0.7,0.602l-1.45,1.3c-1.367,1.2-2.433,2.217-3.2,3.05c-0.1,0.102-0.229,0.102-0.396,0
c-0.133-0.134-0.15-0.267-0.05-0.399c0.694-0.734,1.646-1.635,2.85-2.7c1.467-1.3,2.436-2.185,2.9-2.65
c0.1-0.1,0.229-0.1,0.396,0c0.567,0.5,1.283,1.384,2.15,2.65c0.833,1.267,1.534,2.148,2.1,2.648
C343.706,230.65,343.473,225.783,343.473,220.75z M335.173,215.549l-0.6,0.2c-0.5,0.166-1.233,0.283-2.2,0.35
c-1.133,0.102-1.9,0.185-2.3,0.25c-1.271,0.269-2.816,0.65-4.65,1.15c-1,0.334-2.517,0.8-4.55,1.4
c5.233,0.532,9.85,0.898,13.85,1.1L335.173,215.549z M342.023,215.4l0.146-0.052c-0.896-0.166-1.7-0.266-2.396-0.3
c-1.5-0.033-2.833,0.083-4,0.352l-0.45,4.6c2.267,0.133,4.979,0.2,8.146,0.2c0-1.3,0.033-2.616,0.104-3.95h-0.05
c-0.104,0.033-0.2,0-0.306-0.1c-0.1-0.066-0.111-0.167-0.05-0.302l0.104-0.198l-0.95-0.25c0.1,0.065,0.146,0.148,0.146,0.25
c0,0.1-0.05,0.166-0.146,0.198c-0.733,0.468-1.4,0.917-2,1.352c0.8,0.6,1.617,1.35,2.45,2.25c0.133,0.167,0.133,0.3,0,0.398
c-0.167,0.102-0.317,0.084-0.45-0.05c-0.733-0.866-1.566-1.616-2.5-2.25l-1.854,1.352c-0.133,0.1-0.25,0.083-0.35-0.052
c-0.133-0.166-0.117-0.3,0.05-0.398l1.7-1.2c-0.771-0.467-1.55-0.783-2.353-0.95c-0.197,0-0.28-0.116-0.25-0.35
c0.064-0.167,0.186-0.233,0.353-0.2c0.897,0.166,1.8,0.55,2.7,1.15C340.456,216.433,341.19,215.933,342.023,215.4z
M344.173,215.849c-0.1,1.435-0.146,2.867-0.146,4.302c3.694-0.033,7.133-0.2,10.3-0.5c-0.938-0.302-2.617-0.95-5.05-1.95
C347.106,216.833,345.406,216.216,344.173,215.849z M342.873,200.799l-6.5-0.1v0.85c-0.033,1.435-0.233,3.65-0.6,6.65
c-0.306,2.898-0.473,5.116-0.5,6.648c0.027-0.166,0.111-0.25,0.25-0.25c0.133,0,0.217,0.084,0.25,0.25
c1.167-0.266,2.361-0.383,3.6-0.35c1.3,0.033,2.7,0.233,4.2,0.6l0.05-0.148c0.066-0.134,0.2-0.185,0.4-0.15
c-0.067-1.866-0.233-4.2-0.5-7C343.09,203.166,342.873,200.833,342.873,200.799z M343.073,194.75c0,1.633,0.1,3.45,0.3,5.45
l9.05-0.05c0.604,0,1.567-0.066,2.9-0.2c1.267-0.167,2.25-0.25,2.95-0.25c-1.473-0.435-4-1.268-7.604-2.5
C347.473,196.099,344.94,195.283,343.073,194.75z M338.573,190.549c-0.533-0.634-1.083-1.1-1.65-1.398l-0.05,3.1
L338.573,190.549z M341.223,194.25h-0.146v-0.05c-0.066,0-0.104-0.034-0.104-0.102l-0.05-0.198l-4.5,0.35l-0.05,5.9l6.4,0.05
c-0.167-2-0.271-3.817-0.306-5.45v-0.15L341.223,194.25z M340.623,193.349c-0.467-0.833-1.017-1.633-1.65-2.398l-2.146,2.148
l-0.05,0.551L340.623,193.349z M337.173,183.599l-0.146,2.45c0.194-0.5,0.583-1.065,1.146-1.7L337.173,183.599z M337.173,187.4
c-0.033,0.1-0.1,0.166-0.2,0.198v0.901c0.7,0.4,1.367,0.934,2,1.6c0.7-0.731,1.306-1.5,1.806-2.3
c0.1-0.134,0.25-0.167,0.444-0.1c0.167,0.065,0.2,0.183,0.104,0.35c-0.466,0.768-1.117,1.602-1.95,2.5
c0.867,1,1.55,2.067,2.05,3.2l1,0.25c-0.167-2.033-0.3-4.283-0.396-6.75c-0.033,0.033-0.104,0.017-0.2-0.05
c-0.8-0.7-1.867-1.534-3.2-2.5C337.756,185.632,337.273,186.533,337.173,187.4z M337.973,178.4l-0.444,2.25l1.694-1.552
C338.79,178.799,338.373,178.566,337.973,178.4z M341.973,181.549c-0.062,0.034-0.133-0.017-0.194-0.148
c-0.5-0.734-1.188-1.4-2.056-2l-2.396,2.148l-0.15,1.4h0.05l1.354,1c0.633-0.602,1.467-1.25,2.5-1.95
c0.167-0.1,0.3-0.084,0.396,0.05c0.104,0.167,0.066,0.3-0.1,0.4c-0.934,0.634-1.7,1.25-2.3,1.85
c1.133,0.866,2.117,1.65,2.95,2.352L341.973,181.549z M341.473,177.5c0.104,0.133,0.066,0.267-0.1,0.4l-1.25,1.1
c0.767,0.533,1.383,1.133,1.85,1.8l0.15-3.898c0-0.135,0.083-0.234,0.25-0.302l-3.9-0.05l-0.05,0.102
c-0.2,0.698-0.3,1.1-0.3,1.198c0.566,0.269,1.083,0.533,1.55,0.802l1.4-1.25C341.206,177.266,341.34,177.299,341.473,177.5z
M338.373,170.7c-0.567,1.232-0.917,2.933-1.05,5.1l4.8,0.15c-0.133-2.233-0.2-3.9-0.2-5c-0.267-0.067-0.517-0.101-0.75-0.101
C341.14,170.849,340.206,170.799,338.373,170.7z M337.773,170.7h-0.604c-1.562,0.533-3.583,1.134-6.05,1.8
c-3.733,0.967-5.769,1.5-6.103,1.6c0.334,0.801,4.25,1.367,11.75,1.7l0.103-0.898h-0.15c-1.028-0.533-1.812-1.15-2.35-1.852