-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimages.js
More file actions
155 lines (146 loc) · 14.5 KB
/
Copy pathimages.js
File metadata and controls
155 lines (146 loc) · 14.5 KB
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
"use strict";
(function (window) {
/**
* Icons used in the application as SVG strings.
* All icons are attached to the global 'Icons' object.
*/
window.Icons = {
options: `<svg viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg">
<title>settings</title>
<desc>Created with Sketch Beta.</desc>
<defs></defs>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-103,-362)" fill="#000000">
<path d="M118,382 C115.261,382 113.042,379.762 113.042,377 C113.042,374.238 115.261,372 118,372 C120.739,372 122.959,374.238 122.959,377 C122.959,379.762 120.739,382 118,382 Z M132.008,380.536 L129.685,379.184 C129.815,378.474 129.901,377.749 129.901,377 C129.901,376.252 129.815,375.526 129.685,374.816 L132.008,373.464 C132.957,372.912 133.281,371.688 132.733,370.732 L130.75,367.268 C130.203,366.312 128.989,365.983 128.041,366.536 L125.694,367.901 C124.598,366.961 123.352,366.192 121.967,365.697 L121.967,364 C121.967,362.896 121.079,362 119.983,362 L116.017,362 C114.921,362 114.033,362.896 114.033,364 L114.033,365.697 C112.648,366.192 111.402,366.961 110.306,367.901 L107.959,366.536 C107.011,365.983 105.797,366.312 105.25,367.268 L103.267,370.732 C102.719,371.688 103.044,372.912 103.992,373.464 L106.315,374.816 C106.185,375.526 106.099,376.252 106.099,377 C106.099,377.749 106.185,378.474 106.315,379.184 L103.992,380.536 C103.044,381.088 102.719,382.312 103.267,383.268 L105.25,386.732 C105.797,387.688 107.011,388.017 107.959,387.464 L110.306,386.099 C111.402,387.039 112.648,387.809 114.033,388.303 L114.033,390 C114.033,391.104 114.921,392 116.017,392 L119.983,392 C121.079,392 121.967,391.104 121.967,390 L121.967,388.303 C123.352,387.809 124.598,387.039 125.694,386.099 L128.041,387.464 C128.989,388.017 130.203,387.688 130.75,386.732 L132.733,383.268 C133.281,382.312 132.957,381.088 132.008,380.536 Z M118,374 C116.357,374 115.025,375.344 115.025,377 C115.025,378.657 116.357,380 118,380 C119.643,380 120.975,378.657 120.975,377 C120.975,375.344 119.643,374 118,374 Z"></path>
</g>
</g>
</svg>`,
addPlaceholder: `<svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
<title>zoom-in</title>
<desc>Created with Sketch Beta.</desc>
<defs></defs>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-310,-1141)" fill="#000000">
<path d="M328.519,1155.41 L324.522,1155.41 L324.522,1159.41 C324.522,1159.97 324.075,1160.41 323.523,1160.41 C322.972,1160.41 322.524,1159.97 322.524,1159.41 L322.524,1155.41 L318.529,1155.41 C317.978,1155.41 317.53,1154.7 317.53,1154.14 C317.53,1153.59 317.978,1153.41 318.529,1153.41 L322.524,1153.41 L322.524,1149.41 C322.524,1148.85 322.972,1148.41 323.523,1148.41 C324.075,1148.41 324.522,1148.85 324.522,1149.41 L324.522,1153.41 L328.519,1153.41 C329.07,1153.41 329.518,1153.86 329.518,1154.41 C329.518,1154.96 329.07,1155.41 328.519,1155.41 L328.519,1155.41 Z M341.688,1171.25 L333.429,1163.12 C335.592,1160.77 336.92,1157.67 336.92,1154.25 C336.92,1146.93 330.894,1141 323.46,1141 C316.026,1141 310,1146.93 310,1154.25 C310,1161.56 316.026,1167.49 323.46,1167.49 C326.672,1167.49 329.618,1166.38 331.932,1164.53 L340.225,1172.69 C340.629,1173.09 341.284,1173.09 341.688,1171.25 C342.093,1172.3 342.093,1171.65 341.688,1171.25 Z"></path>
</g>
</g>
</svg>`,
deanonymize: `<svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
<title>refresh</title>
<desc>Created with Sketch Beta.</desc>
<defs></defs>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-154,-1141)" fill="#000000">
<path d="M184.858,1143.56 C185.397,1143.02 186.009,1142.55 186.009,1142 C186.009,1141.45 185.562,1141 185.009,1141 L175.009,1141 C174.888,1141 174.009,1141 174.009,1142 L174.009,1152 C174.009,1152.55 174.457,1153 175.009,1153 C175.562,1153 175.947,1152.47 176.373,1152.05 L179.152,1149.27 C180.922,1151.36 182,1154.05 182,1157 C182,1163.63 176.627,1169 170,1169 C163.373,1169 158,1163.63 158,1157 C158,1151.06 162.327,1146.13 168,1145.18 L168,1141.14 C160.109,1142.12 154,1148.84 154,1157 C154,1165.84 161.164,1173 170,1173 C178.836,1173 186,1165.84 186,1157 C186,1152.94 184.484,1149.25 181.993,1146.43 L184.858,1143.56" ></path>
</g>
</g>
</svg>`,
anonymize: `<svg viewBox="0 -1 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg">
<title>wind</title>
<desc>Created with Sketch Beta.</desc>
<defs></defs>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-466,-830)" fill="#000000">
<path d="M488,844 L467,844 C466.447,844 466,844.447 466,845 C466,845.553 466.447,846 467,846 L486.833,846 C489.687,846 492,847.791 492,850 C492,852.209 490.291,854 486,854 L486,856 L488,856 C491.313,856 494,853.313 494,850 C494,846.687 491.313,844 488,844 Z M480.002,848 L480,848 L472,848 C471.447,848 471,848.448 471,849 C471,849.553 471.447,850 472,850 L480,850 C481.104,850 482,850.896 482,852 C482,853.104 481.104,854 480,854 L480,856 C482.209,856 484,854.209 484,852 C484,849.792 482.21,848.002 480.002,848 Z M475,838 L487,838 C487.553,838 488,837.553 488,837 C488,836.448 487.553,836 487,836 L475,836 C474.447,836 474,836.448 474,837 C474,837.553 474.447,838 475,838 Z M470,842 L488,842 C491.313,842 494,839.313 494,836 C494,832.687 491.313,830 488,830 L488,832 C490.822,832.531 492,833.791 492,836 C492,838.209 489.687,840 486.833,840 L470,840 C469.447,840 469,840.448 469,841 C469,841.553 469.447,842 470,842 Z"></path>
</g>
</g>
</svg>`,
help: `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM3.00683 12C3.00683 16.9668 7.03321 20.9932 12 20.9932C16.9668 20.9932 20.9932 16.9668 20.9932 12C20.9932 7.03321 16.9668 3.00683 12 3.00683C7.03321 3.00683 3.00683 7.03321 3.00683 12Z" fill="#0F0F0F"/>
<path d="M13.5 18C13.5 18.8284 12.8284 19.5 12 19.5C11.1716 19.5 10.5 18.8284 10.5 18C10.5 17.1716 11.1716 16.5 12 16.5C12.8284 16.5 13.5 17.1716 13.5 18Z" fill="#0F0F0F"/>
<path d="M11 12V14C11 14 11 15 12 15C13 15 13 14 13 14V12C13 12 13.4792 11.8629 13.6629 11.7883C13.6629 11.7883 13.9969 11.6691 14.2307 11.4896C14.4646 11.3102 14.6761 11.097 14.8654 10.8503C15.0658 10.6035 15.2217 10.3175 15.333 9.99221C15.4443 9.66693 15.5 9.4038 15.5 9C15.5 8.32701 15.3497 7.63675 15.0491 7.132C14.7596 6.61604 14.3476 6.21786 13.8132 5.93745C13.2788 5.64582 12.6553 5.5 11.9427 5.5C11.4974 5.5 11.1021 5.55608 10.757 5.66825C10.4118 5.7692 10.1057 5.9094 9.83844 6.08887C9.58236 6.25712 9.36525 6.4478 9.18711 6.66091C9.02011 6.86281 8.8865 7.0591 8.78629 7.24978C8.68609 7.44046 8.61929 7.6087 8.58589 7.75452C8.51908 7.96763 8.49125 8.14149 8.50238 8.27609C8.52465 8.41069 8.59145 8.52285 8.70279 8.61258C8.81413 8.70231 8.9867 8.79765 9.22051 8.8986C9.46546 8.97712 9.65473 9.00516 9.78834 8.98273C9.93308 8.96029 10.05 8.89299 10.1391 8.78083C10.1391 8.78083 10.6138 8.10569 10.7474 7.97109C10.8922 7.82528 11.0703 7.71312 11.2819 7.6346C11.4934 7.54487 11.7328 7.5 12 7.5C12.579 7.5 13.0076 7.64021 13.286 7.92062C13.5754 8.18982 13.6629 8.41629 13.6629 8.93225C13.6629 9.27996 13.6017 9.56038 13.4792 9.77349C13.3567 9.9866 13.1953 10.1605 12.9949 10.2951C12.9949 10.2951 12.7227 10.3991 12.5 10.5C12.2885 10.5897 11.9001 10.7381 11.6997 10.8503C11.5104 10.9512 11.4043 11.0573 11.2819 11.2144C11.1594 11.3714 11 11.7308 11 12Z" fill="#0F0F0F"/>
</svg>`,
placeholderOptions: `<svg viewBox="0 -2 27 27" version="1.1" xmlns="http://www.w3.org/2000/svg">
<title>shuffle</title>
<desc>Created with Sketch Beta.</desc>
<defs></defs>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-362,-623)" fill="#000000">
<path d="M384.528,638.166 C384.23,637.871 383.299,637.948 383,638.244 L383,641 L379,641 L375.465,636.161 L374.207,637.792 L378,642.909 L383,642.909 L383,645.781 C383.299,646.076 384.23,645.945 384.528,645.649 L388.771,642.442 C389.069,642.147 389.069,641.669 388.771,641.373 L384.528,638.166 Z M383,628 L383,630.688 C383.299,630.982 384.23,631.105 384.528,630.811 L388.771,627.604 C389.069,627.308 389.069,626.829 388.771,626.534 L384.528,623.326 C384.23,623.031 383.299,622.861 383,623.156 L383,626 L378,626 L367,641 L363,641 C362.447,641 362,641.373 362,641.92 C362,642.466 362.447,643 363,643 L368,643 L379,628 L383,628 L383,628 Z M363,628 L367,628 L370.508,632.803 L371.766,631.172 C371.766,631.172 368.254,626.323 368,626 L363,626 C362.447,626 362,626.534 362,627.08 C362,627.627 362.447,628 363,628 L363,628 Z"></path>
</g>
</g>
</svg>`,
logo: `<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="562.000000pt" height="667.000000pt" viewBox="0 0 562.000000 667.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,667.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M2730 6384 c-19 -8 -75 -29 -125 -46 -49 -16 -166 -61 -260 -100 -93
-38 -321 -128 -505 -199 -184 -72 -389 -152 -455 -179 -184 -74 -649 -256
-850 -331 l-180 -68 -3 -1068 c-3 -1119 2 -1307 39 -1501 78 -411 213 -740
453 -1105 142 -216 224 -316 410 -502 288 -287 539 -472 934 -684 192 -103
574 -281 605 -281 23 0 355 153 557 257 516 264 872 546 1195 943 62 76 83
105 150 200 222 315 368 624 459 970 78 300 78 293 79 1612 l2 1166 -75 30
c-41 17 -127 50 -190 73 -266 97 -575 215 -846 322 -159 63 -352 138 -429 167
-77 29 -199 76 -271 106 -72 29 -180 71 -240 93 -60 21 -169 62 -242 90 -145
55 -160 58 -212 35z m275 -441 c703 -267 949 -361 1290 -496 105 -41 201 -78
215 -82 14 -4 98 -36 188 -71 89 -35 168 -64 175 -64 17 0 24 -1919 8 -2087
-31 -313 -105 -577 -246 -868 -88 -183 -183 -331 -329 -514 -306 -385 -689
-680 -1199 -926 -167 -80 -294 -135 -313 -135 -23 0 -337 145 -476 220 -180
97 -396 231 -488 303 -138 109 -318 269 -390 348 -241 265 -424 545 -548 839
-92 219 -161 497 -182 740 -7 77 -12 499 -13 1101 l-2 975 45 11 c42 10 153
53 665 256 282 112 446 176 685 267 118 45 283 108 365 141 236 93 316 118
350 112 17 -3 107 -34 200 -70z"/>
<path d="M2685 5785 c-60 -24 -177 -70 -260 -103 -276 -110 -513 -202 -520
-202 -4 0 -91 -33 -194 -74 -464 -183 -649 -254 -746 -287 l-70 -23 2 -941 c2
-599 6 -980 13 -1050 41 -406 205 -813 469 -1164 160 -213 332 -390 511 -526
227 -171 385 -266 704 -419 l199 -96 241 119 c400 198 607 334 834 548 338
319 578 681 710 1074 30 87 65 217 79 295 l27 139 5 1011 6 1012 -135 47 c-74
26 -207 76 -295 110 -144 57 -459 180 -655 255 -41 16 -187 72 -325 125 -137
53 -288 110 -335 127 -47 17 -101 38 -120 48 l-35 17 -110 -42z m740 -495 c81
-7 132 -16 158 -29 22 -11 45 -17 51 -15 7 3 21 -4 31 -16 10 -11 14 -20 10
-20 -5 0 2 -11 15 -25 24 -25 47 -35 34 -13 -4 7 -3 8 5 4 6 -4 9 -11 6 -16
-3 -5 79 -91 182 -192 378 -370 411 -404 431 -444 43 -85 46 -142 47 -864 0
-699 -7 -892 -38 -975 -55 -146 -72 -186 -99 -237 -41 -76 -141 -171 -220
-208 -105 -49 -178 -63 -305 -58 l-113 4 -55 -58 c-68 -71 -131 -108 -255
-151 l-95 -32 -470 -3 c-619 -4 -755 10 -920 95 -220 113 -367 274 -453 493
-26 66 -45 136 -52 190 -7 59 -10 347 -7 935 l3 850 31 116 c35 134 65 204
128 299 54 82 100 124 212 197 106 69 150 86 305 118 108 21 131 23 191 14 62
-10 77 -8 160 15 51 14 106 27 122 29 66 9 848 6 960 -3z"/>
<path d="M3630 5236 c0 -3 9 -10 20 -16 11 -6 20 -8 20 -6 0 3 -9 10 -20 16
-11 6 -20 8 -20 6z"/>
<path d="M2502 5149 c-66 -11 -220 -88 -273 -136 -56 -51 -128 -161 -170 -258
l-33 -80 -9 -940 c-6 -698 -5 -954 4 -995 25 -121 140 -290 234 -346 63 -37
146 -63 231 -74 41 -5 360 -10 707 -11 609 -1 635 0 690 19 229 81 359 271
388 567 15 152 7 1487 -9 1526 -5 14 -43 52 -84 85 -40 32 -207 192 -372 354
l-298 295 -477 1 c-262 1 -500 -2 -529 -7z m910 -158 c4 -3 11 -110 14 -236 8
-257 9 -263 84 -348 78 -88 90 -91 365 -97 l240 -5 0 -765 0 -765 -23 -67
c-43 -125 -152 -212 -297 -237 -39 -6 -286 -9 -690 -7 -629 3 -630 3 -690 26
-76 29 -174 124 -213 208 l-27 57 -3 910 c-2 613 1 933 8 980 12 77 59 171
116 235 47 52 160 109 237 120 70 10 868 2 879 -9z"/>
<path d="M2561 4786 c-117 -42 -181 -171 -146 -293 69 -236 409 -206 451 40
15 90 -48 190 -149 240 -60 29 -102 33 -156 13z m109 -131 c60 -31 78 -99 39
-149 -17 -22 -28 -26 -69 -26 -42 0 -52 4 -74 31 -37 43 -34 83 8 125 38 38
54 41 96 19z"/>
<path d="M2473 4059 c-57 -17 -74 -76 -35 -121 14 -17 62 -18 733 -18 l718 0
15 22 c30 42 19 91 -25 113 -24 13 -129 15 -701 14 -385 0 -687 -5 -705 -10z"/>
<path d="M2678 3762 l-217 -2 -26 -31 c-28 -34 -27 -60 4 -92 16 -16 62 -18
730 -19 l713 -2 24 27 c30 35 30 59 0 94 l-24 28 -494 0 c-271 0 -591 -1 -710
-3z"/>
<path d="M2445 3435 c-31 -30 -33 -77 -5 -105 20 -20 33 -20 739 -20 l720 0
15 22 c23 33 20 75 -9 103 l-24 25 -706 0 -706 0 -24 -25z"/>
<path d="M2446 3139 c-19 -15 -26 -30 -26 -54 0 -24 7 -39 26 -54 26 -21 34
-21 725 -21 383 0 705 3 714 6 23 9 47 61 39 87 -3 12 -13 30 -22 40 -14 16
-61 17 -722 17 -700 0 -708 0 -734 -21z"/>
<path d="M2445 2835 c-31 -30 -33 -77 -5 -105 18 -18 33 -20 173 -20 83 0 401
-2 706 -4 l554 -4 29 28 c35 35 36 73 3 105 l-24 25 -706 0 -706 0 -24 -25z"/>
<path d="M1991 5104 c-97 -21 -162 -55 -229 -121 -84 -83 -167 -249 -181 -368
-17 -131 -17 -1628 -1 -1846 7 -100 15 -133 50 -225 74 -199 163 -312 299
-383 141 -73 166 -76 786 -90 480 -11 563 -2 638 68 l41 38 -110 9 c-60 4
-290 7 -512 6 -258 -2 -417 1 -442 8 -22 6 -110 45 -197 87 -143 69 -165 83
-231 148 -39 40 -79 89 -87 109 -28 67 -55 230 -71 433 -15 179 -15 283 -6
890 12 756 15 803 73 918 39 76 55 94 128 134 48 27 65 44 92 93 19 33 46 67
61 76 16 9 28 20 28 24 0 12 -56 8 -129 -8z"/>
</g>
</svg>`,
// Hinzugefügte Icons:
spinner: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
<circle cx="50" cy="50" fill="none" stroke="#000" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">
<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>
</circle>
</svg>`,
check: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="green">
<path d="M20.285,6.709l-11.999,12l-5.285-5.285l1.415-1.414l3.87,3.87l10.584-10.584L20.285,6.709z"/>
</svg>`
};
})(window);