storeshot 0.1.0 → 0.2.0

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,121 @@
1
+ Creative Commons Legal Code
2
+
3
+ CC0 1.0 Universal
4
+
5
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12
+ HEREUNDER.
13
+
14
+ Statement of Purpose
15
+
16
+ The laws of most jurisdictions throughout the world automatically confer
17
+ exclusive Copyright and Related Rights (defined below) upon the creator
18
+ and subsequent owner(s) (each and all, an "owner") of an original work of
19
+ authorship and/or a database (each, a "Work").
20
+
21
+ Certain owners wish to permanently relinquish those rights to a Work for
22
+ the purpose of contributing to a commons of creative, cultural and
23
+ scientific works ("Commons") that the public can reliably and without fear
24
+ of later claims of infringement build upon, modify, incorporate in other
25
+ works, reuse and redistribute as freely as possible in any form whatsoever
26
+ and for any purposes, including without limitation commercial purposes.
27
+ These owners may contribute to the Commons to promote the ideal of a free
28
+ culture and the further production of creative, cultural and scientific
29
+ works, or to gain reputation or greater distribution for their Work in
30
+ part through the use and efforts of others.
31
+
32
+ For these and/or other purposes and motivations, and without any
33
+ expectation of additional consideration or compensation, the person
34
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
35
+ is an owner of Copyright and Related Rights in the Work, voluntarily
36
+ elects to apply CC0 to the Work and publicly distribute the Work under its
37
+ terms, with knowledge of his or her Copyright and Related Rights in the
38
+ Work and the meaning and intended legal effect of CC0 on those rights.
39
+
40
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
41
+ protected by copyright and related or neighboring rights ("Copyright and
42
+ Related Rights"). Copyright and Related Rights include, but are not
43
+ limited to, the following:
44
+
45
+ i. the right to reproduce, adapt, distribute, perform, display,
46
+ communicate, and translate a Work;
47
+ ii. moral rights retained by the original author(s) and/or performer(s);
48
+ iii. publicity and privacy rights pertaining to a person's image or
49
+ likeness depicted in a Work;
50
+ iv. rights protecting against unfair competition in regards to a Work,
51
+ subject to the limitations in paragraph 4(a), below;
52
+ v. rights protecting the extraction, dissemination, use and reuse of data
53
+ in a Work;
54
+ vi. database rights (such as those arising under Directive 96/9/EC of the
55
+ European Parliament and of the Council of 11 March 1996 on the legal
56
+ protection of databases, and under any national implementation
57
+ thereof, including any amended or successor version of such
58
+ directive); and
59
+ vii. other similar, equivalent or corresponding rights throughout the
60
+ world based on applicable law or treaty, and any national
61
+ implementations thereof.
62
+
63
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
64
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
65
+ irrevocably and unconditionally waives, abandons, and surrenders all of
66
+ Affirmer's Copyright and Related Rights and associated claims and causes
67
+ of action, whether now known or unknown (including existing as well as
68
+ future claims and causes of action), in the Work (i) in all territories
69
+ worldwide, (ii) for the maximum duration provided by applicable law or
70
+ treaty (including future time extensions), (iii) in any current or future
71
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
72
+ including without limitation commercial, advertising or promotional
73
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
74
+ member of the public at large and to the detriment of Affirmer's heirs and
75
+ successors, fully intending that such Waiver shall not be subject to
76
+ revocation, rescission, cancellation, termination, or any other legal or
77
+ equitable action to disrupt the quiet enjoyment of the Work by the public
78
+ as contemplated by Affirmer's express Statement of Purpose.
79
+
80
+ 3. Public License Fallback. Should any part of the Waiver for any reason
81
+ be judged legally invalid or ineffective under applicable law, then the
82
+ Waiver shall be preserved to the maximum extent permitted taking into
83
+ account Affirmer's express Statement of Purpose. In addition, to the
84
+ extent the Waiver is so judged Affirmer hereby grants to each affected
85
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
86
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
87
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
88
+ maximum duration provided by applicable law or treaty (including future
89
+ time extensions), (iii) in any current or future medium and for any number
90
+ of copies, and (iv) for any purpose whatsoever, including without
91
+ limitation commercial, advertising or promotional purposes (the
92
+ "License"). The License shall be deemed effective as of the date CC0 was
93
+ applied by Affirmer to the Work. Should any part of the License for any
94
+ reason be judged legally invalid or ineffective under applicable law, such
95
+ partial invalidity or ineffectiveness shall not invalidate the remainder
96
+ of the License, and in such case Affirmer hereby affirms that he or she
97
+ will not (i) exercise any of his or her remaining Copyright and Related
98
+ Rights in the Work or (ii) assert any associated claims and causes of
99
+ action with respect to the Work, in either case contrary to Affirmer's
100
+ express Statement of Purpose.
101
+
102
+ 4. Limitations and Disclaimers.
103
+
104
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
105
+ surrendered, licensed or otherwise affected by this document.
106
+ b. Affirmer offers the Work as-is and makes no representations or
107
+ warranties of any kind concerning the Work, express, implied,
108
+ statutory or otherwise, including without limitation warranties of
109
+ title, merchantability, fitness for a particular purpose, non
110
+ infringement, or the absence of latent or other defects, accuracy, or
111
+ the present or absence of errors, whether or not discoverable, all to
112
+ the greatest extent permissible under applicable law.
113
+ c. Affirmer disclaims responsibility for clearing rights of other persons
114
+ that may apply to the Work or any use thereof, including without
115
+ limitation any person's Copyright and Related Rights in the Work.
116
+ Further, Affirmer disclaims responsibility for obtaining any necessary
117
+ consents, permissions or other rights required for any use of the
118
+ Work.
119
+ d. Affirmer understands and acknowledges that Creative Commons is not a
120
+ party to this document and has no duty or obligation with respect to
121
+ this CC0 or use of the Work.
@@ -0,0 +1,16 @@
1
+ # CC0 laurel artwork
2
+
3
+ This directory contains three laurel SVGs obtained from Wikimedia Commons and
4
+ one StoreShot derivative. Each work is dedicated to the public domain under
5
+ CC0 1.0. The complete legal text is in `LICENSE`.
6
+
7
+ Source files:
8
+
9
+ - `laurel-wreath-classic.svg`: [Steren-Laurel.svg](https://commons.wikimedia.org/wiki/File:Steren-Laurel.svg), by Steren
10
+ - `laurel-wreath-natural.svg`: [Greek Roman Laurel wreath vector.svg](https://commons.wikimedia.org/wiki/File:Greek_Roman_Laurel_wreath_vector.svg), by Dalovar
11
+ - `laurel-branch.svg`: [Laurel-right.svg](https://commons.wikimedia.org/wiki/File:Laurel-right.svg), by Leki, based on work by Indolences
12
+ - `laurel-pair-wide.svg`: a StoreShot derivative of `laurel-branch.svg`, with a
13
+ mirrored copy positioned for wide award and installation-count treatments
14
+
15
+ The three upstream files are copied without semantic changes. StoreShot applies
16
+ user-selected colors at render time.
@@ -0,0 +1,95 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:cc="http://creativecommons.org/ns#"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:svg="http://www.w3.org/2000/svg"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
+ version="1.0"
11
+ width="244.14168"
12
+ height="307.26953"
13
+ id="svg3027"
14
+ inkscape:version="0.48.2 r9819"
15
+ sodipodi:docname="Laurel_wreath.svg">
16
+ <metadata
17
+ id="metadata3067">
18
+ <rdf:RDF>
19
+ <cc:Work
20
+ rdf:about="">
21
+ <dc:format>image/svg+xml</dc:format>
22
+ <dc:type
23
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
24
+ <dc:title></dc:title>
25
+ </cc:Work>
26
+ </rdf:RDF>
27
+ </metadata>
28
+ <defs
29
+ id="defs3065" />
30
+ <sodipodi:namedview
31
+ pagecolor="#ffffff"
32
+ bordercolor="#666666"
33
+ borderopacity="1"
34
+ objecttolerance="10"
35
+ gridtolerance="10"
36
+ guidetolerance="10"
37
+ inkscape:pageopacity="0"
38
+ inkscape:pageshadow="2"
39
+ inkscape:window-width="1024"
40
+ inkscape:window-height="555"
41
+ id="namedview3063"
42
+ showgrid="false"
43
+ fit-margin-left="10"
44
+ fit-margin-top="10"
45
+ fit-margin-right="10"
46
+ fit-margin-bottom="10"
47
+ inkscape:zoom="1"
48
+ inkscape:cx="201.68368"
49
+ inkscape:cy="127.29673"
50
+ inkscape:window-x="-4"
51
+ inkscape:window-y="-4"
52
+ inkscape:window-maximized="1"
53
+ inkscape:current-layer="svg3027" />
54
+ <g
55
+ transform="translate(-263.27531,-152.27393)"
56
+ id="g3029">
57
+ <g
58
+ id="g3031"
59
+ style="fill:#008000">
60
+ <path
61
+ d="m 413.88664,162.27393 c 9.20019,8.06543 15.58105,18.26562 22.40625,27.77734 6.11816,7.57519 13.94433,12.57031 20.87988,19.08447 -3.74414,-7.76172 -3.88086,-17.0332 -9.19141,-24.16308 -7.55664,-13.1836 -21.56933,-17.82178 -34.09472,-22.69873 l 0,0 z"
62
+ id="path3043"
63
+ inkscape:connector-curvature="0" />
64
+ <path
65
+ d="m 464.20011,190.35986 c -4.47461,-5.5625 -10.14746,-9.42822 -16.53125,-11.06054 12.39551,8.51513 11.58887,23.7749 15.51856,36.46045 1.25293,4.69091 3.42871,9.01269 4.51269,13.82128 l -0.31543,0.25098 c -2.0625,-5.43603 -5.6875,-10.57226 -10.21191,-15.00781 -8.80371,-8.12695 -21.82715,-13.1919 -26.1416,-25.21387 0.19726,16.70606 14.13379,29.83985 27.46875,39.22901 5.49902,4.82421 10.80175,10.32226 13.83008,16.52392 0.29687,-4.21484 -0.62305,-8.44678 -0.32325,-12.96191 1.4502,-14.5835 2.50391,-31.22901 -7.80664,-42.04151 l 0,0 z"
66
+ id="path3045"
67
+ inkscape:connector-curvature="0" />
68
+ <path
69
+ d="m 489.28019,240.22754 c 0.37305,-14.77832 -5.76074,-26.8418 -14.4043,-37.85303 -0.25097,-0.12549 -0.42968,-0.37646 -0.75293,-0.31592 9.51465,14.4585 1.64356,32.67041 2.07715,49.11036 l 1.25489,16.83203 c -0.18653,0.12207 -0.18653,0.62793 -0.62793,0.43359 -0.5625,-1.87598 -0.68457,-3.88086 -1.06055,-5.81055 -2.24121,-13.57714 -14.03223,-23.21093 -24.33106,-32.59375 -2.19921,-2.4541 -4.14355,-4.9458 -5.27343,-7.82568 0.84082,6.76025 2.95996,13.57861 5.76464,19.83057 8.01563,15.63183 22.82325,28.458 25.52833,46.35449 1.3125,-17.15039 12.98925,-29.97266 11.82519,-48.16211 l 0,0 z"
70
+ id="path3047"
71
+ inkscape:connector-curvature="0" />
72
+ <path
73
+ d="m 496.47843,261.24316 c -1.06543,-4.62207 -1.87988,-9.40527 -3.8916,-13.64648 3.81152,19.53711 -9.3291,33.61426 -13.63965,50.54883 -1.80371,6.33398 -2.24511,13.13672 -4.82422,19.08008 -0.24023,0.12988 -0.44921,-0.1211 -0.59765,-0.31153 6.41797,-17.98926 -2.84668,-34.70605 -12.15625,-48.79101 -2.26367,-3.81641 -3.56836,-8.06641 -4.69434,-12.45313 -0.98926,8.1416 1.06934,17.51758 2.25195,25.97071 2.26368,10.75585 5.64258,20.95605 8.58399,31.39257 1.93555,6.52149 1.42676,13.87891 0.43262,20.71192 L 468.87589,333 c 6.8252,-12.58594 20.33985,-22.40234 24.35352,-36.15234 3.30273,-10.96192 5.49805,-23.66016 3.24902,-35.6045 l 0,0 z"
74
+ id="path3049"
75
+ inkscape:connector-curvature="0" />
76
+ <path
77
+ d="m 497.09464,299.40137 c -1.50293,20.70801 -23.77148,31.65039 -34.09375,48.79394 -2.44238,3.50782 -4.56152,7.38867 -7.82519,10.3252 0.50976,-2.20606 2.56836,-4.0625 3.32422,-6.32227 3.61133,-7.19043 4.92773,-15.75879 4.05957,-24.44922 -1,-10.57714 -5.43653,-20.39257 -3.74317,-31.51757 -9.07031,19.55664 -6.31543,43.96679 -11.38672,65.1582 -1.32812,4.63476 -4.01074,8.77344 -5.76855,13.20312 18.63574,-12.69238 44.04687,-24.76855 52.31445,-48.03027 3.48438,-8.02051 3.87305,-17.9502 3.11914,-27.16113 l 0,0 z"
78
+ id="path3051"
79
+ inkscape:connector-curvature="0" />
80
+ <path
81
+ d="m 485.96281,346.95508 c -10.39063,23.50586 -36.41406,25.45312 -53.86231,39.7666 -3.21093,2.8457 -6.57519,5.26562 -10.20019,6.9541 l -0.18653,-0.18945 c 4.00586,-3.62207 8.63965,-7.74707 11.44434,-12.44141 10.21191,-14.19922 6.62012,-34.08984 14.27148,-49.36133 -6.95214,8.31641 -13.27441,16.96094 -17.47168,26.39551 -6.24316,15.40137 -8.6289,32.79688 -23.07519,44.43897 15.63379,-5.15235 33.94922,-3.71289 47.74805,-13.33936 15.0664,-9.25976 28.51269,-24.96582 31.33203,-42.22363 l 0,0 z"
82
+ id="path3053"
83
+ inkscape:connector-curvature="0" />
84
+ <path
85
+ d="m 459.25773,390.80664 c -16.66016,18.94775 -43.88281,12.62549 -66.0752,17.58447 -3.13476,0.42774 -6.0039,1.6836 -9.32617,1.17383 2.64551,-1.67383 6.31641,-1.49219 9.2041,-3.01367 17.39551,-6.11133 19.94727,-24.94385 29.39063,-37.64307 -12.06445,8.01172 -22.20703,18.81739 -33.33692,29.2876 -8,7.00781 -17.62988,10.24219 -27.77636,12.30469 2.43847,0.89062 5.63476,0.64648 8.25195,1.33203 18.22852,4.48242 38.48047,11.80859 57.81152,5.25 12.56739,-3.95703 25.53321,-13.89453 31.85645,-26.27588 l 0,0 z"
86
+ id="path3055"
87
+ inkscape:connector-curvature="0" />
88
+ <path
89
+ d="m 312.85148,415.57471 c -13.4208,6.6289 -27.47754,15.76758 -39.57617,27.45508 2.03906,2.32812 4.67969,4.50585 7.16699,6.51367 11.65918,-12.5625 24.57129,-24.6543 39.02832,-31.7168 2.65299,-1.06199 5.30599,-1.99055 7.95898,-2.37305 14.47464,-3.28304 23.58204,7.4336 34.41309,13.51368 12.62109,8.8125 30.77246,12.95117 46.02539,6.87109 8.20313,-3.11133 16.15039,-7.69336 22.08984,-15.14063 -12.0039,8.26954 -29.88183,9.13672 -43.5332,3.76563 -18.31836,-7.94531 -37.35351,-18.01758 -59.43652,-13.20117 -7.66804,1.32616 -7.43972,1.1141 -14.13672,4.3125 z"
90
+ id="path3057"
91
+ inkscape:connector-curvature="0"
92
+ sodipodi:nodetypes="ccccccccccc" />
93
+ </g>
94
+ </g>
95
+ </svg>
@@ -0,0 +1,88 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" width="555" height="288" viewBox="173 10 555 288">
2
+ <g transform="translate(407.840216064 0) scale(-1 1)">
3
+ <g
4
+ transform="translate(-263.27531,-152.27393)"
5
+ id="g3029">
6
+ <g
7
+ id="g3031"
8
+ style="fill:#008000">
9
+ <path
10
+ d="m 413.88664,162.27393 c 9.20019,8.06543 15.58105,18.26562 22.40625,27.77734 6.11816,7.57519 13.94433,12.57031 20.87988,19.08447 -3.74414,-7.76172 -3.88086,-17.0332 -9.19141,-24.16308 -7.55664,-13.1836 -21.56933,-17.82178 -34.09472,-22.69873 l 0,0 z"
11
+ id="path3043"
12
+ inkscape:connector-curvature="0" />
13
+ <path
14
+ d="m 464.20011,190.35986 c -4.47461,-5.5625 -10.14746,-9.42822 -16.53125,-11.06054 12.39551,8.51513 11.58887,23.7749 15.51856,36.46045 1.25293,4.69091 3.42871,9.01269 4.51269,13.82128 l -0.31543,0.25098 c -2.0625,-5.43603 -5.6875,-10.57226 -10.21191,-15.00781 -8.80371,-8.12695 -21.82715,-13.1919 -26.1416,-25.21387 0.19726,16.70606 14.13379,29.83985 27.46875,39.22901 5.49902,4.82421 10.80175,10.32226 13.83008,16.52392 0.29687,-4.21484 -0.62305,-8.44678 -0.32325,-12.96191 1.4502,-14.5835 2.50391,-31.22901 -7.80664,-42.04151 l 0,0 z"
15
+ id="path3045"
16
+ inkscape:connector-curvature="0" />
17
+ <path
18
+ d="m 489.28019,240.22754 c 0.37305,-14.77832 -5.76074,-26.8418 -14.4043,-37.85303 -0.25097,-0.12549 -0.42968,-0.37646 -0.75293,-0.31592 9.51465,14.4585 1.64356,32.67041 2.07715,49.11036 l 1.25489,16.83203 c -0.18653,0.12207 -0.18653,0.62793 -0.62793,0.43359 -0.5625,-1.87598 -0.68457,-3.88086 -1.06055,-5.81055 -2.24121,-13.57714 -14.03223,-23.21093 -24.33106,-32.59375 -2.19921,-2.4541 -4.14355,-4.9458 -5.27343,-7.82568 0.84082,6.76025 2.95996,13.57861 5.76464,19.83057 8.01563,15.63183 22.82325,28.458 25.52833,46.35449 1.3125,-17.15039 12.98925,-29.97266 11.82519,-48.16211 l 0,0 z"
19
+ id="path3047"
20
+ inkscape:connector-curvature="0" />
21
+ <path
22
+ d="m 496.47843,261.24316 c -1.06543,-4.62207 -1.87988,-9.40527 -3.8916,-13.64648 3.81152,19.53711 -9.3291,33.61426 -13.63965,50.54883 -1.80371,6.33398 -2.24511,13.13672 -4.82422,19.08008 -0.24023,0.12988 -0.44921,-0.1211 -0.59765,-0.31153 6.41797,-17.98926 -2.84668,-34.70605 -12.15625,-48.79101 -2.26367,-3.81641 -3.56836,-8.06641 -4.69434,-12.45313 -0.98926,8.1416 1.06934,17.51758 2.25195,25.97071 2.26368,10.75585 5.64258,20.95605 8.58399,31.39257 1.93555,6.52149 1.42676,13.87891 0.43262,20.71192 L 468.87589,333 c 6.8252,-12.58594 20.33985,-22.40234 24.35352,-36.15234 3.30273,-10.96192 5.49805,-23.66016 3.24902,-35.6045 l 0,0 z"
23
+ id="path3049"
24
+ inkscape:connector-curvature="0" />
25
+ <path
26
+ d="m 497.09464,299.40137 c -1.50293,20.70801 -23.77148,31.65039 -34.09375,48.79394 -2.44238,3.50782 -4.56152,7.38867 -7.82519,10.3252 0.50976,-2.20606 2.56836,-4.0625 3.32422,-6.32227 3.61133,-7.19043 4.92773,-15.75879 4.05957,-24.44922 -1,-10.57714 -5.43653,-20.39257 -3.74317,-31.51757 -9.07031,19.55664 -6.31543,43.96679 -11.38672,65.1582 -1.32812,4.63476 -4.01074,8.77344 -5.76855,13.20312 18.63574,-12.69238 44.04687,-24.76855 52.31445,-48.03027 3.48438,-8.02051 3.87305,-17.9502 3.11914,-27.16113 l 0,0 z"
27
+ id="path3051"
28
+ inkscape:connector-curvature="0" />
29
+ <path
30
+ d="m 485.96281,346.95508 c -10.39063,23.50586 -36.41406,25.45312 -53.86231,39.7666 -3.21093,2.8457 -6.57519,5.26562 -10.20019,6.9541 l -0.18653,-0.18945 c 4.00586,-3.62207 8.63965,-7.74707 11.44434,-12.44141 10.21191,-14.19922 6.62012,-34.08984 14.27148,-49.36133 -6.95214,8.31641 -13.27441,16.96094 -17.47168,26.39551 -6.24316,15.40137 -8.6289,32.79688 -23.07519,44.43897 15.63379,-5.15235 33.94922,-3.71289 47.74805,-13.33936 15.0664,-9.25976 28.51269,-24.96582 31.33203,-42.22363 l 0,0 z"
31
+ id="path3053"
32
+ inkscape:connector-curvature="0" />
33
+ <path
34
+ d="m 459.25773,390.80664 c -16.66016,18.94775 -43.88281,12.62549 -66.0752,17.58447 -3.13476,0.42774 -6.0039,1.6836 -9.32617,1.17383 2.64551,-1.67383 6.31641,-1.49219 9.2041,-3.01367 17.39551,-6.11133 19.94727,-24.94385 29.39063,-37.64307 -12.06445,8.01172 -22.20703,18.81739 -33.33692,29.2876 -8,7.00781 -17.62988,10.24219 -27.77636,12.30469 2.43847,0.89062 5.63476,0.64648 8.25195,1.33203 18.22852,4.48242 38.48047,11.80859 57.81152,5.25 12.56739,-3.95703 25.53321,-13.89453 31.85645,-26.27588 l 0,0 z"
35
+ id="path3055"
36
+ inkscape:connector-curvature="0" />
37
+ <path
38
+ d="m 312.85148,415.57471 c -13.4208,6.6289 -27.47754,15.76758 -39.57617,27.45508 2.03906,2.32812 4.67969,4.50585 7.16699,6.51367 11.65918,-12.5625 24.57129,-24.6543 39.02832,-31.7168 2.65299,-1.06199 5.30599,-1.99055 7.95898,-2.37305 14.47464,-3.28304 23.58204,7.4336 34.41309,13.51368 12.62109,8.8125 30.77246,12.95117 46.02539,6.87109 8.20313,-3.11133 16.15039,-7.69336 22.08984,-15.14063 -12.0039,8.26954 -29.88183,9.13672 -43.5332,3.76563 -18.31836,-7.94531 -37.35351,-18.01758 -59.43652,-13.20117 -7.66804,1.32616 -7.43972,1.1141 -14.13672,4.3125 z"
39
+ id="path3057"
40
+ inkscape:connector-curvature="0"
41
+ sodipodi:nodetypes="ccccccccccc" />
42
+ </g>
43
+ </g>
44
+ </g>
45
+ <g transform="translate(492.159783936 0)">
46
+ <g
47
+ transform="translate(-263.27531,-152.27393)"
48
+ id="g3029">
49
+ <g
50
+ id="g3031"
51
+ style="fill:#008000">
52
+ <path
53
+ d="m 413.88664,162.27393 c 9.20019,8.06543 15.58105,18.26562 22.40625,27.77734 6.11816,7.57519 13.94433,12.57031 20.87988,19.08447 -3.74414,-7.76172 -3.88086,-17.0332 -9.19141,-24.16308 -7.55664,-13.1836 -21.56933,-17.82178 -34.09472,-22.69873 l 0,0 z"
54
+ id="path3043"
55
+ inkscape:connector-curvature="0" />
56
+ <path
57
+ d="m 464.20011,190.35986 c -4.47461,-5.5625 -10.14746,-9.42822 -16.53125,-11.06054 12.39551,8.51513 11.58887,23.7749 15.51856,36.46045 1.25293,4.69091 3.42871,9.01269 4.51269,13.82128 l -0.31543,0.25098 c -2.0625,-5.43603 -5.6875,-10.57226 -10.21191,-15.00781 -8.80371,-8.12695 -21.82715,-13.1919 -26.1416,-25.21387 0.19726,16.70606 14.13379,29.83985 27.46875,39.22901 5.49902,4.82421 10.80175,10.32226 13.83008,16.52392 0.29687,-4.21484 -0.62305,-8.44678 -0.32325,-12.96191 1.4502,-14.5835 2.50391,-31.22901 -7.80664,-42.04151 l 0,0 z"
58
+ id="path3045"
59
+ inkscape:connector-curvature="0" />
60
+ <path
61
+ d="m 489.28019,240.22754 c 0.37305,-14.77832 -5.76074,-26.8418 -14.4043,-37.85303 -0.25097,-0.12549 -0.42968,-0.37646 -0.75293,-0.31592 9.51465,14.4585 1.64356,32.67041 2.07715,49.11036 l 1.25489,16.83203 c -0.18653,0.12207 -0.18653,0.62793 -0.62793,0.43359 -0.5625,-1.87598 -0.68457,-3.88086 -1.06055,-5.81055 -2.24121,-13.57714 -14.03223,-23.21093 -24.33106,-32.59375 -2.19921,-2.4541 -4.14355,-4.9458 -5.27343,-7.82568 0.84082,6.76025 2.95996,13.57861 5.76464,19.83057 8.01563,15.63183 22.82325,28.458 25.52833,46.35449 1.3125,-17.15039 12.98925,-29.97266 11.82519,-48.16211 l 0,0 z"
62
+ id="path3047"
63
+ inkscape:connector-curvature="0" />
64
+ <path
65
+ d="m 496.47843,261.24316 c -1.06543,-4.62207 -1.87988,-9.40527 -3.8916,-13.64648 3.81152,19.53711 -9.3291,33.61426 -13.63965,50.54883 -1.80371,6.33398 -2.24511,13.13672 -4.82422,19.08008 -0.24023,0.12988 -0.44921,-0.1211 -0.59765,-0.31153 6.41797,-17.98926 -2.84668,-34.70605 -12.15625,-48.79101 -2.26367,-3.81641 -3.56836,-8.06641 -4.69434,-12.45313 -0.98926,8.1416 1.06934,17.51758 2.25195,25.97071 2.26368,10.75585 5.64258,20.95605 8.58399,31.39257 1.93555,6.52149 1.42676,13.87891 0.43262,20.71192 L 468.87589,333 c 6.8252,-12.58594 20.33985,-22.40234 24.35352,-36.15234 3.30273,-10.96192 5.49805,-23.66016 3.24902,-35.6045 l 0,0 z"
66
+ id="path3049"
67
+ inkscape:connector-curvature="0" />
68
+ <path
69
+ d="m 497.09464,299.40137 c -1.50293,20.70801 -23.77148,31.65039 -34.09375,48.79394 -2.44238,3.50782 -4.56152,7.38867 -7.82519,10.3252 0.50976,-2.20606 2.56836,-4.0625 3.32422,-6.32227 3.61133,-7.19043 4.92773,-15.75879 4.05957,-24.44922 -1,-10.57714 -5.43653,-20.39257 -3.74317,-31.51757 -9.07031,19.55664 -6.31543,43.96679 -11.38672,65.1582 -1.32812,4.63476 -4.01074,8.77344 -5.76855,13.20312 18.63574,-12.69238 44.04687,-24.76855 52.31445,-48.03027 3.48438,-8.02051 3.87305,-17.9502 3.11914,-27.16113 l 0,0 z"
70
+ id="path3051"
71
+ inkscape:connector-curvature="0" />
72
+ <path
73
+ d="m 485.96281,346.95508 c -10.39063,23.50586 -36.41406,25.45312 -53.86231,39.7666 -3.21093,2.8457 -6.57519,5.26562 -10.20019,6.9541 l -0.18653,-0.18945 c 4.00586,-3.62207 8.63965,-7.74707 11.44434,-12.44141 10.21191,-14.19922 6.62012,-34.08984 14.27148,-49.36133 -6.95214,8.31641 -13.27441,16.96094 -17.47168,26.39551 -6.24316,15.40137 -8.6289,32.79688 -23.07519,44.43897 15.63379,-5.15235 33.94922,-3.71289 47.74805,-13.33936 15.0664,-9.25976 28.51269,-24.96582 31.33203,-42.22363 l 0,0 z"
74
+ id="path3053"
75
+ inkscape:connector-curvature="0" />
76
+ <path
77
+ d="m 459.25773,390.80664 c -16.66016,18.94775 -43.88281,12.62549 -66.0752,17.58447 -3.13476,0.42774 -6.0039,1.6836 -9.32617,1.17383 2.64551,-1.67383 6.31641,-1.49219 9.2041,-3.01367 17.39551,-6.11133 19.94727,-24.94385 29.39063,-37.64307 -12.06445,8.01172 -22.20703,18.81739 -33.33692,29.2876 -8,7.00781 -17.62988,10.24219 -27.77636,12.30469 2.43847,0.89062 5.63476,0.64648 8.25195,1.33203 18.22852,4.48242 38.48047,11.80859 57.81152,5.25 12.56739,-3.95703 25.53321,-13.89453 31.85645,-26.27588 l 0,0 z"
78
+ id="path3055"
79
+ inkscape:connector-curvature="0" />
80
+ <path
81
+ d="m 312.85148,415.57471 c -13.4208,6.6289 -27.47754,15.76758 -39.57617,27.45508 2.03906,2.32812 4.67969,4.50585 7.16699,6.51367 11.65918,-12.5625 24.57129,-24.6543 39.02832,-31.7168 2.65299,-1.06199 5.30599,-1.99055 7.95898,-2.37305 14.47464,-3.28304 23.58204,7.4336 34.41309,13.51368 12.62109,8.8125 30.77246,12.95117 46.02539,6.87109 8.20313,-3.11133 16.15039,-7.69336 22.08984,-15.14063 -12.0039,8.26954 -29.88183,9.13672 -43.5332,3.76563 -18.31836,-7.94531 -37.35351,-18.01758 -59.43652,-13.20117 -7.66804,1.32616 -7.43972,1.1141 -14.13672,4.3125 z"
82
+ id="path3057"
83
+ inkscape:connector-curvature="0"
84
+ sodipodi:nodetypes="ccccccccccc" />
85
+ </g>
86
+ </g>
87
+ </g>
88
+ </svg>
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+ <svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:svg="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:ns1="http://sozi.baierouge.fr" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg2" viewBox="0 0 564.23 574.03" version="1.0" inkscape:version="0.91 r13725">
4
+ <g id="layer1" transform="translate(-80.498 -288.9)">
5
+ <path id="path2707" style="fill:#000000" d="m303.07 839.99c0-16.262 5.4549-25.579 28.954-49.452 15.925-16.178 28.954-30.32 28.954-31.426 0-1.1063-18.114-3.0351-40.254-4.2861-32.593-1.8416-43.062-4.9133-55.012-16.14-15.735-14.783-19.445-24.822-7.5205-20.35 13.395 5.0229 44.879 7.0229 44.879 2.851 0-11.5-23.353-23.301-46.11-23.301-40.914 0-69.14-11.364-84.549-34.04-7.592-11.173-12.875-21.242-11.741-22.377 1.1347-1.1347 11.853 4.5803 23.818 12.7 20.146 13.672 37.511 19.057 37.511 11.633 0-12.921-29.235-38.492-53.052-46.402-28.052-9.3172-58.655-38.364-64.675-61.386-2.2474-8.594 1.7144-6.9768 18.054 7.3696 12.964 11.382 21.813 15.741 23.244 11.448 4.2065-12.619-11.685-41.195-30.017-53.977-21.144-14.742-28.319-24.74-33.209-46.273-5.1539-22.697 0.89123-24.621 13.292-4.2297 10.156 16.701 22.159 18.707 22.105 3.6939-0.0136-3.7932-7.8201-18.623-17.348-32.955-9.5275-14.332-17.334-32.727-17.348-40.876-0.02714-16.223 16.806-44.233 17.196-28.613 0.43429 17.427 12.488 52.334 17.089 49.491 2.6011-1.6076 6.0053-16.202 7.5648-32.432 1.9777-20.582 8.3354-37.312 21.016-55.303 9.9994-14.186 18.181-29.779 18.181-34.652 0-4.8722 2.6059-7.2481 5.7908-5.2797s5.7908 14.724 5.7908 28.346c0 21.568-2.9913 27.452-23.163 45.561-21.778 19.551-29.623 40.129-18.028 47.294 5.9418 3.6722 19.534-10.636 14.698-15.472-1.7767-1.7767-0.5276-4.9009 2.7759-6.9425 9.5639-5.9108 14.133 24.288 6.4727 42.782-3.8368 9.2627-11.95 21.342-18.028 26.844-6.0788 5.5013-11.052 14.593-11.052 20.204 0 5.6108-2.4237 11.07-5.3861 12.132-2.9624 1.0616-1.5565 7.1293 3.124 13.484 7.2967 9.906 9.2906 10.319 13.984 2.8954 3.0104-4.7619 5.5134-14.521 5.5621-21.687 0.0488-7.1661 2.2988-13.029 5-13.029 7.209 0 25.975 44.306 21.697 51.227-2.0079 3.2488-5.8841 17.862-8.614 32.474-4.6833 25.069-4.0448 27.221 11.318 38.161l16.282 11.594-5.4249-18.916c-7.7589-27.054-6.9281-29.388 6.9899-19.639 19.155 13.417 33.831 39.266 33.873 59.661 0.021 10.163 2.6865 20.115 5.9234 22.116 3.2369 2.0005 4.4668 5.9323 2.7332 8.7374-2.7774 4.4939 14.124 17.263 22.85 17.263 7.3845 0 2.4993-23.818-8.8203-43.003-19.397-32.875-10.066-37.38 18.361-8.8664 18.248 18.304 27.395 33.276 31.449 51.476 6.5617 29.46 19.689 39.575 15.65 12.06-1.4207-9.6795-4.8884-19.024-7.7062-20.765-6.6398-4.1036-6.6347-14.064 0.007-14.064 10.017 0 47.004 43.31 53.314 62.428 6.7938 20.585 12.046 20.604 15.182 0.0545 2.4144-15.82 27.275-48.709 43.304-57.288 10.772-5.7647 11.708-5.2578 7.8802 4.2653-8.3441 20.759-10.792 54.238-3.9653 54.238 3.6043 0 6.0929-1.9544 5.5303-4.3431-1.5449-6.5591 12.142-54.58 20.024-70.253 7.4886-14.891 43.177-44.671 47.888-39.96 1.5812 1.5812-4.2518 16.161-12.962 32.399-16.752 31.23-15.942 39.258 3.3436 33.137 7.5645-2.4009 12.93-10.405 14.912-22.244 1.7021-10.172 4.3209-26.184 5.8196-35.582 2.878-18.049 34.62-54.63 41.465-47.785 2.2119 2.2119 1.1668 10.287-2.3224 17.945-8.1375 17.86-2.3983 23.634 11.231 11.299 11.081-10.028 15.06-50.69 5.5369-56.576-8.2229-5.082-5.9594-33.949 4.0001-51.015l9.234-15.823 6.0503 18.718c7.6005 23.514 17.1 24.137 19.344 1.268 1.2857-13.102-2.7719-22.037-16.283-35.856-14.029-14.35-18.068-23.647-18.324-42.184-0.4193-30.381 3.5941-34.142 13.223-12.389 8.2488 18.635 16.776 18.726 16.776 0.17912 0-6.308-10.423-21.686-23.163-34.174-20.199-19.799-23.163-26.025-23.163-48.651 0-14.27 2.6059-27.557 5.7908-29.525 3.1849-1.9684 5.7908 0.13225 5.7908 4.6681s5.4008 15.113 12.002 23.505c6.601 8.3918 9.8584 15.341 7.2385 15.442-2.6199 0.1013 0.0381 3.8223 5.9065 8.2688 6.9464 5.2633 11.529 17.829 13.132 36.008 4.5357 51.443 15.991 56.141 22.995 9.4314 3.749-25 4.6253-26.12 12.357-15.79 11.196 14.958 6.352 48.658-10.215 71.066-7.2234 9.7702-13.606 25.712-14.184 35.427-0.9995 16.801-0.53083 17.192 9.6033 8.0212 5.8597-5.303 10.654-14.296 10.654-19.984 0-5.6883 2.6059-11.953 5.7908-13.921 3.4586-2.1376 5.7908 4.9783 5.7908 17.669 0 17.509-4.575 25.758-26.002 46.882-14.301 14.099-27.732 32.704-29.846 41.345s-6.6998 17.625-10.191 19.965c-4.2507 2.8493-3.765 4.2837 1.4707 4.3431 4.2996 0.0488 16.677-8.7712 27.506-19.6 21.924-21.924 23.699-20.277 10.972 10.182-9.5304 22.809-23.26 33.539-56.333 44.023-12.735 4.0372-26.897 14.415-34.466 25.256-7.0662 10.122-15.579 20.318-18.918 22.658-9.2599 6.4904 4.9518 5.4553 23.955-1.7448 8.9659-3.3971 22.165-11.669 29.331-18.382 16.144-15.123 16.698-8.8026 1.3965 15.955-13.532 21.896-31.414 29.946-74.265 33.435-21.441 1.7457-34.672 6.3019-43.27 14.9l-12.385 12.385h16.145c8.8795 0 21.185-2.6975 27.345-5.9945 15.559-8.3268 14.351 1.687-2.5779 21.368-12.162 14.139-18.617 16.292-55.012 18.349-22.679 1.2815-41.234 3.7385-41.234 5.46 0 1.7216 13.029 16.907 28.954 33.745 23.242 24.575 28.861 34.396 28.482 49.781l-0.47238 19.167-8.7724-20.268c-11.327-26.169-46.705-69.489-56.75-69.489-10.822 0-37.446 32.796-50.536 62.251-6.0152 13.536-12.118 24.611-13.561 24.611-1.4434 0-2.6244-9.0168-2.6244-20.037z"/>
6
+ </g>
7
+ <metadata>
8
+ <rdf:RDF>
9
+ <cc:Work>
10
+ <dc:format>image/svg+xml</dc:format>
11
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
12
+ <cc:license rdf:resource="http://creativecommons.org/licenses/publicdomain/"/>
13
+ <dc:publisher>
14
+ <cc:Agent rdf:about="http://openclipart.org/">
15
+ <dc:title>Openclipart</dc:title>
16
+ </cc:Agent>
17
+ </dc:publisher>
18
+ <dc:title>Laurel</dc:title>
19
+ <dc:date>2009-03-11T09:34:13</dc:date>
20
+ <dc:description/>
21
+ <dc:source>https://openclipart.org/detail/22132/laurel-by-steren</dc:source>
22
+ <dc:creator>
23
+ <cc:Agent>
24
+ <dc:title>Steren</dc:title>
25
+ </cc:Agent>
26
+ </dc:creator>
27
+ <dc:subject>
28
+ <rdf:Bag>
29
+ <rdf:li>fame</rdf:li>
30
+ <rdf:li>laurel</rdf:li>
31
+ <rdf:li>nature</rdf:li>
32
+ <rdf:li>outline</rdf:li>
33
+ <rdf:li>victory</rdf:li>
34
+ <rdf:li>wreath</rdf:li>
35
+ </rdf:Bag>
36
+ </dc:subject>
37
+ </cc:Work>
38
+ <cc:License rdf:about="http://creativecommons.org/licenses/publicdomain/">
39
+ <cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/>
40
+ <cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/>
41
+ <cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/>
42
+ </cc:License>
43
+ </rdf:RDF>
44
+ </metadata>
45
+ </svg>
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
4
+ <svg version="1.1" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
5
+ x="0px" y="0px" viewBox="0 160.7 595.3 519.9" xml:space="preserve">
6
+ <image display="none" width="74" height="65" xlink:href="data:image/gif;base64,R0lGODlhSgBBAMQfAP3+/NjlyJK2ZYevVuTt2uvy48rbtKnGhmqbLPH168TXq3SiO22dMGKWIX2o
7
+ SLTNlvX48VqRFr3To2SYJaLBffn7993p0LnQnGCUHmeZKNPiwW+fM6/Jjs7fu5y9c////yH5BAEA
8
+ AB8ALAAAAABKAEEAAAX/4CeOZGmeaKqubEusb9sGcj16qkThrUdJmpTAVuNghqWOI9NoDGSDxgTh
9
+ OAkwHGILsWGYGgzGpmHDdBGNLGmzmWhXAgTDPTKYwxOejDLZcDEKJH0ISG8nC2INFiNyeE9EAxNh
10
+ GxkjBGBchicGcmMjRkwIFIYHaBkYByN9DAiBmgYkclQjAgMCF5oktYUOsiSuNg4bI4gTqblFksMi
11
+ CwtaDRkPIh4IGMhEDYQiFxMNQTUHks4iGHqL1yfnHxQRIw5zozUDcg00IgcKDg0YE4XoHhMwNKhy
12
+ AJaIDKweQaFHwkK3MHMydLimYQ7EJuo6YKpSQwDCNCaWZJgQ8FoEKRMy/ziQRuICJoUtFJhpwDLJ
13
+ hwMUcOXScIFCqoknGnhiYU/EkgbAJhpElwIW0A8asnEU8c0EhQYSiJFZx6AJFWBMScxrwoDHhHEf
14
+ FDTQUyIOAl3UMCCYiwZDvLDrBGagi6GKB3Vz/elqRILGgAUbFjhgi1cEBQeIFwxQM+IMTF0IJ9xt
15
+ fC0cK8GC/CzjfG2BHGMpwDDAoO7Cu8VgSX8w4OG1zg8WwGywluKA0AY69TWKAJrzlTBoOKods/nE
16
+ VbsfPPrJkCGrbBMI9jLI8Egg4zptbfWRfF3FAQFsMuwqsVSCgwk1RzwtL6OqiAdnb3sciOKFdfoi
17
+ BBIbCfqo19IgaI1wWP9XlNH3gG4DqMNMZg1+gFBCIwQwxXaX0RcJK1uJME8YlbTVyATWIdJGggAy
18
+ 0wcbAUqCoQmmsVKFAZkV1yJA2wXSCyujmYAeAhEEok2LKsSRllwMdGgCLlnFkBZkSDrgwH+zBXKb
19
+ FvqA1KJLA0lYQgINebCAAMeUQMlQSEqy1wkcCLAAYxhQtwFbRjCH5D2/pckVdYCU8OMcU82j0p4K
20
+ TjHVe8hNJQhEGYxDqDvNNXYAWgNQN+FFKBiQkhyRXnCnCAGc4idnRnhzDwLuIZTdBAPqgkgzfppG
21
+ R3nZvDXCpWycKcN82/SRQVGkWUChCcBqMaJyFSLDgXW9IOCkDGQSK2L/VyPwF9YAvHEAxmUvWHsC
22
+ t90IdddVj3jEIjILZLCMAGuNQMEYUvS1QhdszKGZCLoSgIEYI2xpw3+I8PaBF+uQBFEYLbS7cAML
23
+ cFDUvwi8YIQhqDDT1X8PLKAaiRsspQIBHum1wWZqMTCOPndhaQIwvnH0DlYkULBAuQYSIeAJciHh
24
+ B8IKRCAwCRFYxwoDNFBQzQk7N3aFCAZ0sRV+IZKgUQbH/IuwHdMy9UAqrkig6wdSuwLGuu9MkIVG
25
+ APMb5QdfQ3XNBTdTN5JQAywVB80BzASWApIYnA1MA4yREnVCxUfEBRFwMQkb5ZRwCjHZ+ePBXst0
26
+ wE8JFJjRxSREKk6EuEh0eUnCJSTUGWS7Bn+giAkc2J3doegcYEulBYggAJkKYiAlBgNUlQASuQs5
27
+ QKWNSTBWA8QJmSFoHpw0uMsAenxhGyZ0XNQCoq8CIgOxcnYA5sjBN4ICA3RVdTfS/idBNgtDR59p
28
+ TUjhqAAbSosZKxPA9F79CFiAyGRDgwe4jFGnEVkHZEQJR8FCdIhyjFBIhDwGxiuCK9BABEgyCxS4
29
+ BwEpicAAMWiCA2RhhCaABQdORcIWuhBJIQAAOw==" transform="matrix(8.4913 0 0 8.4913 -182.8543 1497.4553)">
30
+ </image>
31
+ <g>
32
+ <path fill="#6D9D30" d="M312.5,623.5c0,0,1.7-53.5,35.7-72.2C348.2,551.3,383.8,587,312.5,623.5z"/>
33
+ <path fill="#6D9D30" d="M312.5,623.5c0,0,4.2,69.6,74.7,55.2C388.1,678.7,390.6,650.7,312.5,623.5z"/>
34
+ <path fill="#6D9D30" d="M377.9,616.7c0,0-14.4-48.4,10.2-82.4C388.1,534.3,428,570.8,377.9,616.7z"/>
35
+ <path fill="#6D9D30" d="M377.9,616.7c0,0,7.6,55.2,84.9,35.7C463.7,652.3,473.8,615,377.9,616.7z"/>
36
+ <path fill="#6D9D30" d="M432.2,587.8c0,0,37.4,57.7,89.2,6.8C521.4,594.6,501.9,564.9,432.2,587.8z"/>
37
+ <path fill="#6D9D30" d="M432.2,587.8c0,0-29.7-14.4-11.9-80.7C421.2,507.1,473,534.3,432.2,587.8z"/>
38
+ <path fill="#6D9D30" d="M477.2,542c0,0-18.7-1.7-27.2-23.8c-4.2-10.2-5.1-26.3-5.1-45.9c0,0,23.8,0.8,34.8,21.2
39
+ C484.9,504.6,492.5,519.9,477.2,542z"/>
40
+ <path fill="#6D9D30" d="M477.2,542c0,0,4.2,17.8,23.8,20.4c11.9,1.7,34,0.8,49.3-10.2c18.7-13.6,19.5-27.2,19.5-27.2
41
+ s-22.9-8.5-47.6,0C510.4,529.2,495.1,535.2,477.2,542z"/>
42
+ <path fill="#6D9D30" d="M510.4,491c0,0,51.8-55.2,84.1-43.3C595.3,447.7,580,523.3,510.4,491z"/>
43
+ <path fill="#6D9D30" d="M510.4,491c0,0-39.1-6.8-49.3-60.3C461.1,431.6,518.9,434.1,510.4,491z"/>
44
+ <path fill="#6D9D30" d="M529.9,435.8c0,0,18.7-62,62.8-68.8C591.9,367,608.9,431.6,529.9,435.8z"/>
45
+ <path fill="#6D9D30" d="M529.9,435.8c0,0-56-7.6-66.2-47.6C463.7,388.3,512.9,375.5,529.9,435.8z"/>
46
+ <path fill="#6D9D30" d="M535.8,371.3c0,0-19.5-49.3,38.2-79.8C574.1,291.4,596.1,351.7,535.8,371.3z"/>
47
+ <path fill="#6D9D30" d="M535.8,371.3c0,0-73,17-87.5-28.9C448.4,342.4,490,315.2,535.8,371.3z"/>
48
+ <path fill="#6D9D30" d="M512.1,312.7c0,0-21.2-57.7,17.8-93.4C529.9,219.3,573.2,282.1,512.1,312.7z"/>
49
+ <path fill="#6D9D30" d="M512.1,312.7c0,0-41.6-45-86.6-3.4C425.4,309.3,466.2,335.6,512.1,312.7z"/>
50
+ <path fill="#6D9D30" d="M477.2,260.9c0,0-39.1-42.5-5.1-100.2C472.1,160.7,525.6,229.5,477.2,260.9z"/>
51
+ <path fill="#6D9D30" d="M433.9,227.8c0,0,1.7-56-75.6-59.4C358.4,168.3,356.7,226.9,433.9,227.8z"/>
52
+ <path fill="#6D9D30" d="M281.9,623.5c0,0-1.7-53.5-35.7-72.2C246.3,551.3,211.4,587,281.9,623.5z"/>
53
+ <path fill="#6D9D30" d="M281.9,623.5c0,0-4.2,69.6-74.7,55.2C207.2,678.7,203.8,650.7,281.9,623.5z"/>
54
+ <path fill="#6D9D30" d="M216.5,616.7c0,0,14.4-48.4-10.2-82.4C207.2,534.3,167.3,570.8,216.5,616.7z"/>
55
+ <path fill="#6D9D30" d="M216.5,616.7c0,0-7.6,55.2-84.9,35.7C131.6,652.3,120.6,615,216.5,616.7z"/>
56
+ <path fill="#6D9D30" d="M162.2,587.8c0,0-37.4,57.7-89.2,6.8C73,594.6,93.4,564.9,162.2,587.8z"/>
57
+ <path fill="#6D9D30" d="M162.2,587.8c0,0,29.7-14.4,11.9-80.7C174.1,507.1,122.3,534.3,162.2,587.8z"/>
58
+ <path fill="#6D9D30" d="M118,542c0,0,18.7-1.7,27.2-23.8c4.2-10.2,5.1-26.3,5.1-45.9c0,0-23.8,0.8-34.8,21.2
59
+ C109.5,504.6,102.8,519.9,118,542z"/>
60
+ <path fill="#6D9D30" d="M118,542c0,0-4.2,17.8-23.8,20.4c-11.9,1.7-34,0.8-49.3-10.2C26.3,537.7,25.5,525,25.5,525s22.9-8.5,47.6,0
61
+ C84.9,529.2,99.4,535.2,118,542z"/>
62
+ <path fill="#6D9D30" d="M84.1,491c0,0-51.8-55.2-84.1-43.3C0,447.7,15.3,523.3,84.1,491z"/>
63
+ <path fill="#6D9D30" d="M84.1,491c0,0,39.1-6.8,49.3-60.3C134.2,431.6,76.4,434.1,84.1,491z"/>
64
+ <path fill="#6D9D30" d="M65.4,435.8c0,0-18.7-62-62.8-68.8C2.5,367-14.4,431.6,65.4,435.8z"/>
65
+ <path fill="#6D9D30" d="M65.4,435.8c0,0,56-7.6,66.2-47.6C131.6,388.3,81.5,375.5,65.4,435.8z"/>
66
+ <path fill="#6D9D30" d="M58.6,371.3c0,0,19.5-49.3-38.2-79.8C20.4,291.4-0.8,351.7,58.6,371.3z"/>
67
+ <path fill="#6D9D30" d="M58.6,371.3c0,0,73,17,87.5-28.9C146.1,342.4,104.4,315.2,58.6,371.3z"/>
68
+ <path fill="#6D9D30" d="M83.2,312.7c0,0,21.2-57.7-17.8-93.4C65.4,219.3,21.2,282.1,83.2,312.7z"/>
69
+ <path fill="#6D9D30" d="M83.2,312.7c0,0,41.6-45,86.6-3.4C169.8,309.3,128.2,335.6,83.2,312.7z"/>
70
+ <path fill="#6D9D30" d="M118,260.9c0,0,39.1-42.5,5.1-100.2C123.1,160.7,69.6,229.5,118,260.9z"/>
71
+ <path fill="#6D9D30" d="M118,263.1c0,0,32.9-38.9,81.7,10C199.9,273.1,155,298.9,118,263.1z"/>
72
+ <path fill="#6D9D30" d="M161.3,227.8c0,0-1.7-56,75.6-59.4C236.9,168.3,237.8,226.9,161.3,227.8z"/>
73
+ <path fill="#6D9D30" d="M477.2,263c0,0-32.8-38.8-81.5,10C395.7,273,440.4,298.8,477.2,263z"/>
74
+ </g>
75
+ </svg>
@@ -0,0 +1 @@
1
+ import{a as e,i as t,r as n,t as r}from"./shared-stFaxZuu.js";import{$n as i,Dr as a,En as o,Gn as s,I as c,Jt as l,Mr as u,N as d,Nr as f,On as p,P as m,Qn as h,R as g,Sr as _,Xn as v,Yn as y,Yt as b,Zn as x,_ as S,_n as C,_r as w,_t as T,ar as E,br as D,cr as O,dr as k,f as A,g as j,gn as M,gr as N,gt as ee,h as P,hr as F,ht as I,ir as L,it as R,jr as z,kr as te,m as ne,mn as B,mt as re,p as ie,qt as V,rr as ae,sr as H,v as oe,vr as U,vt as se,wr as ce,xr as W,y as le,yr as ue,z as de,zn as fe}from"./index-BrRqpj-U.js";var G=z(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),pe=z(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),me=z(`monitor`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),he=z(`palette`,[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]),ge=z(`shapes`,[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`,key:`1bo67w`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`,key:`w3z12y`}]]),_e=z(`tablet`,[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,ry:`2`,key:`76otgf`}],[`line`,{x1:`12`,x2:`12.01`,y1:`18`,y2:`18`,key:`1dp563`}]]),ve=z(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),ye=z(`watch`,[[`path`,{d:`M12 10v2.2l1.6 1`,key:`n3r21l`}],[`path`,{d:`m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05`,key:`18k57s`}],[`path`,{d:`m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05`,key:`16ny36`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}]]),K=f(u(),1);function be(e){let{open:t,defaultOpen:n,onOpenChange:r,disabled:i}=e,[a,c]=R({controlled:t,default:n,name:`Collapsible`,state:`open`}),{mounted:l,setMounted:u,transitionStatus:d}=b(a,!0,!0),f=o(),[m,h]=K.useState(),g=m??f,_=O(e=>{let t=!a,n=p(s,e.nativeEvent);r(t,n),!n.isCanceled&&c(t)});return K.useMemo(()=>({disabled:i,handleTrigger:_,mounted:l,open:a,panelId:g,setMounted:u,setOpen:c,setPanelIdState:h,transitionStatus:d}),[i,_,l,a,g,u,c,h,d])}var xe=K.createContext(void 0);function Se(){let e=K.useContext(xe);if(e===void 0)throw Error(E(15));return e}var q=function(e){return e.open=`data-open`,e.closed=`data-closed`,e[e.startingStyle=y.startingStyle]=`startingStyle`,e[e.endingStyle=y.endingStyle]=`endingStyle`,e}({}),Ce=function(e){return e.panelOpen=`data-panel-open`,e}({}),we={[q.open]:``},Te={[q.closed]:``},Ee={open(e){return e?{[Ce.panelOpen]:``}:null}},De={open(e){return e?we:Te}},J={height:void 0,width:void 0};function Oe(e){let{externalRef:t,hiddenUntilFound:n,id:r,keepMounted:i,mounted:a,onOpenChange:o,open:s,setMounted:c,setOpen:u,transitionStatus:d}=e,f=K.useRef(null),m=K.useRef(null),[h,g]=K.useState(J),_=K.useRef(J),v=K.useRef(!1),y=K.useRef(s),b=K.useRef(!1),[x,S]=K.useState(!1),w=K.useRef(null),T=ae(t,f),E=M({mounted:a,open:s}),D=l(f,!1,!1),k=!s&&!a,A=x?`idle`:d,j=s&&(y.current||b.current),N=!s&&a&&m.current===`css-animation`&&h.height===void 0&&h.width===void 0?_.current:h,ee=n&&k&&m.current!==`css-animation`,P=O((e,t=!0)=>{t&&(_.current=e),g(e)}),F=O(()=>{w.current?.(),w.current=null}),I=O(e=>{F(),w.current=()=>{w.current=null,e()}}),L=O(()=>{s&&a&&m.current===`css-animation`&&(b.current=!0)});H(()=>{!x||d===`starting`||S(!1)},[x,d]),K.useEffect(()=>()=>{L(),F()},[L,F]),H(()=>{let e=f.current;if(!e)return;!s&&w.current&&F();let t=ke(e,j);if(m.current=t,s&&d===`idle`&&y.current&&t===`css-animation`){_.current=Y(e);return}if(s&&d===`starting`){let n=v.current;if(v.current=!1,t===`none`){P(Y(e)),S(!0);return}if(t===`css-transition`){let t=je(e);if(P(Y(e)),!n)return t;let r=X(e,`transition-duration`,`0s`);return I(r),S(!0),t}if(t===`css-animation`){if(P(Y(e)),!n){X(e,`animation-name`,`none`)();return}let t=X(e,`animation-name`,`none`),r=X(e,`animation-duration`,`0s`);t(),I(r),S(!0);return}}if(!s&&a&&(d===`idle`||d===`starting`)){if(y.current=!1,b.current=!1,t===`none`){P(J,!1),c(!1);return}P(Y(e));return}if(d!==`ending`)return;if(t===`none`){c(!1);return}let n=Y(e);if(!((n.height??0)>0||(n.width??0)>0)){c(!1);return}P(n),t===`css-animation`&&X(e,`animation-name`,`none`)()},[a,s,F,P,c,I,j,d]),V({enabled:s&&a&&A===`idle`,open:!0,ref:f,onComplete(){s&&P(J,!1)}}),K.useEffect(()=>{if(s||!a||A!==`ending`||!f.current)return;let e=new AbortController,t=-1;function n(){E.current.open||(c(!1),P(J,!1))}return t=B.request(()=>{e.signal.aborted||D(n,e.signal)}),()=>{B.cancel(t),e.abort()}},[E,a,s,A,D,P,c]),H(()=>{let e=f.current;!e||!n||!k||e.setAttribute(`hidden`,`until-found`)},[k,n]),K.useEffect(function(){let e=f.current;if(!e)return;function t(e){let t=p(fe,e);o(!0,t),!t.isCanceled&&(v.current=!0,u(!0))}return C(e,`beforematch`,t)},[o,u]);let R=i||n||a||s;return{height:N.height,props:{...ee?{[q.startingStyle]:``}:void 0,hidden:k,id:r},ref:T,shouldPreventOpenAnimation:j,shouldRender:R,transitionStatus:A,width:N.width}}function Y(e){return{height:e.scrollHeight,width:e.scrollWidth}}function ke(e,t=!1){let n=k(e).getComputedStyle(e),r=(n.animationName.split(`,`).map(e=>e.trim()).some(e=>e!==``&&e!==`none`)||t)&&Ae(n.animationDuration),i=Ae(n.transitionDuration);return r&&i||i?`css-transition`:r?`css-animation`:`none`}function Ae(e){return e.split(`,`).map(e=>e.trim()).some(e=>e!==``&&Number.parseFloat(e)>0)}function X(e,t,n){let r=e.style.getPropertyValue(t),i=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{if(r===``){e.style.removeProperty(t);return}e.style.setProperty(t,r,i)}}function je(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(t=>{e.style.setProperty(t,`initial`,`important`)});function n(){Object.entries(t).forEach(([t,n])=>{if(n===``){e.style.removeProperty(t);return}e.style.setProperty(t,n)})}let r=B.request(n);return()=>{B.cancel(r),n()}}var Me={...De,...v},Z=w(),Ne=K.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:i=!1,disabled:a=!1,onOpenChange:o,open:s,style:c,...l}=e,u=O(o),d=be({open:s,defaultOpen:i,onOpenChange:u,disabled:a}),f=K.useMemo(()=>({open:d.open,disabled:d.disabled,transitionStatus:d.transitionStatus}),[d.open,d.disabled,d.transitionStatus]),p=K.useMemo(()=>({...d,onOpenChange:u,state:f}),[d,u,f]),m=h(`div`,e,{state:f,ref:t,props:l,stateAttributesMapping:Me});return(0,Z.jsx)(xe.Provider,{value:p,children:m})}),Pe={...Ee,...v},Fe=K.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:i,state:a,disabled:o}=Se(),{className:s,disabled:c=o,render:l,nativeButton:u=!0,style:d,...f}=e,{getButtonProps:p,buttonRef:m}=L({disabled:c,focusableWhenDisabled:!0,native:u});return h(`button`,e,{state:a,ref:[t,m],props:[{"aria-controls":r?n:void 0,"aria-expanded":r,onClick:i},f,p],stateAttributesMapping:Pe})}),Ie=function(e){return e.collapsiblePanelHeight=`--collapsible-panel-height`,e.collapsiblePanelWidth=`--collapsible-panel-width`,e}({}),Le=K.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:a,render:o,id:s,style:c,...l}=e,{mounted:u,onOpenChange:d,open:f,panelId:p,setMounted:m,setPanelIdState:g,setOpen:_,state:v,transitionStatus:y}=Se(),b=r??!1,x=a??!1;H(()=>{if(s)return g(s),()=>{g(void 0)}},[s,g]);let{height:S,props:C,ref:w,shouldPreventOpenAnimation:T,shouldRender:E,transitionStatus:D,width:O}=Oe({externalRef:t,hiddenUntilFound:b,id:p,keepMounted:x,mounted:u,onOpenChange:d,open:f,setMounted:m,setOpen:_,transitionStatus:y}),k={...v,transitionStatus:D},A=i(c,k),j=h(`div`,{...e,style:void 0},{state:k,ref:w,props:[C,{style:{[Ie.collapsiblePanelHeight]:S===void 0?`auto`:`${S}px`,[Ie.collapsiblePanelWidth]:O===void 0?`auto`:`${O}px`}},l,A?{style:A}:void 0,T?{style:{animationName:`none`}}:void 0],stateAttributesMapping:Me});return E?j:null});function Re({className:e,size:t=`default`,...n}){return(0,Z.jsx)(`div`,{"data-slot":`card`,"data-size":t,className:U(`group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl`,e),...n})}function ze({className:e,...t}){return(0,Z.jsx)(`div`,{"data-slot":`card-header`,className:U(`group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)`,e),...t})}function Be({className:e,...t}){return(0,Z.jsx)(`div`,{"data-slot":`card-title`,className:U(`font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm`,e),...t})}function Ve({className:e,...t}){return(0,Z.jsx)(`div`,{"data-slot":`card-description`,className:U(`text-sm text-muted-foreground`,e),...t})}function He({className:e,...t}){return(0,Z.jsx)(`div`,{"data-slot":`card-content`,className:U(`px-(--card-spacing)`,e),...t})}var Ue=Ne;function We({className:e,...t}){return(0,Z.jsx)(Fe,{"data-slot":`collapsible-trigger`,className:U(e),...t})}function Ge({className:e,...t}){return(0,Z.jsx)(Le,{"data-slot":`collapsible-content`,className:U(e),...t})}var Q={screenshots:{label:`Raw screenshots`,description:`Unframed captures from your app`,icon:a},brand:{label:`Brand assets`,description:`Photography, logos, illustrations, and artwork`,icon:he},other:{label:`Other`,description:`Reusable supporting imagery`,icon:ge}},Ke=/\.(png|jpe?g|webp|svg)$/i,$={iphone:`iPhone`,ipad:`iPad`,mac:`Mac`,watch:`Watch`},qe=[`iphone`,`ipad`,`mac`,`watch`,`unknown`],Je={iphone:`1290 / 2796`,ipad:`3 / 4`,mac:`16 / 10`,watch:`422 / 514`,unknown:`4 / 3`};function Ye({project:t,onProjectChange:i}){let[a,o]=(0,K.useState)(`screenshots`),[s,l]=(0,K.useState)(!1),[u,f]=(0,K.useState)(null),[p,h]=(0,K.useState)(null),[v,y]=(0,K.useState)(!1),[b,C]=(0,K.useState)(null),[w,E]=(0,K.useState)(null),[O,k]=(0,K.useState)(()=>new Set),M=(0,K.useRef)(0),L=(0,K.useRef)(null),R=t.assets[a],z=a===`screenshots`?qe.map(e=>({id:e,label:e===`unknown`?`Unknown device`:$[e],assets:R.filter(t=>(t.deviceType??`unknown`)===e)})).filter(e=>e.assets.length>0):[{id:a,label:null,assets:R}];async function B(e){let t=Array.from(e.target.files??[]);e.target.value=``,await V(t)}async function V(e){if(e.length===0)return;let n=e.filter(e=>Ke.test(e.name)),r=e.length-n.length;l(!0),f(null),h(null);let o=0,s=0,c=0,u=new Set(t.assets[a].map(e=>e.name)),d=[];try{for(let e of n)try{await _(`/api/assets?category=${a}&filename=${encodeURIComponent(e.name)}`,{method:`POST`,headers:{"Content-Type":e.type||`application/octet-stream`},body:e}),u.has(e.name)?s+=1:o+=1,u.add(e.name)}catch(t){t instanceof ue&&t.code===`DUPLICATE_ASSET`?c+=1:d.push(`${e.name}: ${W(t)}`)}(o>0||s>0)&&i(await _(`/api/project`));let e=[o>0?`Added ${o} ${o===1?`asset`:`assets`}.`:``,s>0?`Replaced ${s} ${s===1?`asset`:`assets`}.`:``,c>0?`Skipped ${c} ${c===1?`duplicate`:`duplicates`}.`:``,r>0?`Ignored ${r} unsupported ${r===1?`file`:`files`}.`:``].filter(Boolean).join(` `);e&&h(e),d.length>0&&f(d.join(` `))}finally{l(!1)}}function ae(e){e.dataTransfer.types.includes(`Files`)&&(e.preventDefault(),M.current+=1,y(!0))}function H(e){e.dataTransfer.types.includes(`Files`)&&(e.preventDefault(),M.current=Math.max(0,M.current-1),M.current===0&&y(!1))}function fe(e){e.dataTransfer.types.includes(`Files`)&&(e.preventDefault(),e.dataTransfer.dropEffect=`copy`)}async function G(e){if(e.preventDefault(),M.current=0,y(!1),!s)try{await V(await Ze(e.dataTransfer))}catch(e){f(W(e))}}async function me(e){l(!0);try{await _(`/api/assets/${e.category}/${encodeURIComponent(e.name)}`,{method:`DELETE`}),i(await _(`/api/project`)),E(null)}catch(e){f(W(e))}finally{l(!1)}}async function he(e,t){l(!0),f(null);try{let n=await _(`/api/assets/${e.category}/${encodeURIComponent(e.name)}`,{method:`PATCH`,body:JSON.stringify({deviceType:t===`auto`?null:t})});i(n),C(t=>t?.id===e.id?n.assets.screenshots.find(t=>t.id===e.id)??null:t)}catch(e){f(W(e))}finally{l(!1)}}return(0,Z.jsxs)(`div`,{className:`relative h-full overflow-auto`,onDragEnter:ae,onDragLeave:H,onDragOver:fe,onDrop:G,children:[(0,Z.jsxs)(`div`,{className:`mx-auto max-w-7xl space-y-6 p-8`,children:[(0,Z.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-4`,children:[(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`mb-1 text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground`,children:`Project library`}),(0,Z.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:`Asset catalog`}),(0,Z.jsx)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:`Source files stay reusable and separate from the final screenshot sets.`})]}),(0,Z.jsx)(`input`,{ref:L,className:`hidden`,type:`file`,multiple:!0,accept:`image/png,image/jpeg,image/webp,image/svg+xml`,onChange:B}),(0,Z.jsxs)(x,{disabled:s,onClick:()=>L.current?.click(),children:[(0,Z.jsx)(ve,{className:`size-4`}),`Add to `,Q[a].label.toLowerCase()]})]}),(0,Z.jsx)(`div`,{className:`grid grid-cols-1 gap-2 sm:grid-cols-3`,children:r.map(e=>{let n=Q[e],r=n.icon,i=a===e;return(0,Z.jsxs)(x,{"aria-pressed":i,className:U(`h-11 w-full flex-row justify-start gap-2 rounded-lg px-2.5 text-left`,i&&`border-foreground/50 bg-muted/40 hover:border-foreground/50 hover:bg-muted/40`),type:`button`,variant:`outline`,onClick:()=>o(e),children:[(0,Z.jsx)(`span`,{className:U(`grid size-7 shrink-0 place-items-center rounded-md bg-muted text-muted-foreground`,i&&`bg-foreground text-background`),children:(0,Z.jsx)(r,{className:`size-3.5`})}),(0,Z.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-xs font-semibold`,children:n.label}),(0,Z.jsx)(A,{className:`h-5 px-1.5 text-[10px]`,variant:`secondary`,children:t.assets[e].length})]},e)})}),p&&(0,Z.jsx)(F,{role:`status`,variant:`muted`,children:(0,Z.jsx)(N,{children:p})}),u&&(0,Z.jsx)(F,{variant:`destructive`,children:(0,Z.jsx)(N,{children:u})}),(0,Z.jsxs)(Re,{className:`relative overflow-hidden`,children:[v&&(0,Z.jsx)(`div`,{className:`pointer-events-none absolute inset-0 z-10 grid place-items-center border-2 border-dashed border-primary bg-background/90 backdrop-blur-sm`,children:(0,Z.jsxs)(`div`,{className:`text-center`,children:[(0,Z.jsx)(`span`,{className:`mx-auto mb-3 grid size-12 place-items-center rounded-full bg-primary text-primary-foreground`,children:(0,Z.jsx)(ve,{className:`size-5`})}),(0,Z.jsx)(`p`,{className:`font-semibold`,children:`Drop files or folders here`}),(0,Z.jsxs)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:[`Supported images will be added to `,Q[a].label.toLowerCase(),`.`]})]})}),(0,Z.jsxs)(ze,{children:[(0,Z.jsx)(Be,{children:Q[a].label}),(0,Z.jsxs)(Ve,{children:[Q[a].description,`. Add files or drop a folder; PNG, JPEG, WebP, and SVG up to 25 MB.`]})]}),(0,Z.jsx)(He,{children:R.length===0?(0,Z.jsxs)(x,{className:`h-auto min-h-72 w-full flex-col gap-3 rounded-xl border-dashed bg-muted/20 text-center whitespace-normal hover:bg-muted/40`,type:`button`,variant:`outline`,onClick:()=>L.current?.click(),children:[(0,Z.jsx)(`span`,{className:`grid size-12 place-items-center rounded-full border bg-background shadow-sm`,children:(0,Z.jsx)(e,{className:`size-5 text-muted-foreground`})}),(0,Z.jsxs)(`span`,{className:`text-sm font-medium`,children:[`Add your first `,Q[a].label.toLowerCase()]}),(0,Z.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Choose files or drop files and folders anywhere on this page.`})]}):(0,Z.jsx)(`div`,{className:`space-y-7`,children:z.map(e=>(0,Z.jsx)(`section`,{"aria-labelledby":e.label?`asset-group-${e.id}`:void 0,children:(0,Z.jsxs)(Ue,{open:!O.has(e.id),onOpenChange:t=>k(n=>{let r=new Set(n);return t?r.delete(e.id):r.add(e.id),r}),children:[e.label&&(0,Z.jsxs)(We,{className:`mb-3 flex w-full items-center gap-2 rounded-md py-1 text-left outline-none hover:text-foreground/70 focus-visible:ring-2 focus-visible:ring-ring [&[data-panel-open]>svg]:rotate-180`,id:`asset-group-${e.id}`,children:[(0,Z.jsx)(`span`,{className:`text-sm font-semibold`,children:e.label}),(0,Z.jsx)(A,{className:`h-5 px-2 text-[11px]`,variant:`secondary`,children:e.assets.length}),(0,Z.jsx)(te,{className:`ml-auto size-4 text-muted-foreground transition-transform`})]}),(0,Z.jsx)(Ge,{children:(0,Z.jsx)(`div`,{className:U(`grid gap-4`,a===`screenshots`?`grid-cols-[repeat(auto-fill,minmax(9rem,1fr))]`:`sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4`),children:e.assets.map(e=>(0,Z.jsxs)(`article`,{className:`group overflow-hidden rounded-xl border bg-background`,children:[(0,Z.jsxs)(x,{"aria-label":`Preview ${e.name}`,className:`relative grid h-auto w-full place-items-center overflow-hidden rounded-none bg-[linear-gradient(45deg,#f4f4f5_25%,transparent_25%),linear-gradient(-45deg,#f4f4f5_25%,transparent_25%),linear-gradient(45deg,transparent_75%,#f4f4f5_75%),linear-gradient(-45deg,transparent_75%,#f4f4f5_75%)] bg-[length:20px_20px] bg-[position:0_0,0_10px,10px_-10px,-10px_0px] p-0 hover:bg-transparent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset active:translate-y-0`,style:{aspectRatio:a===`screenshots`?Je[e.deviceType??`unknown`]:`4 / 3`},type:`button`,variant:`ghost`,onClick:()=>C(e),children:[(0,Z.jsx)(`img`,{className:`h-full w-full object-contain`,src:e.url,alt:e.name}),(0,Z.jsxs)(`span`,{className:`absolute inset-0 grid place-items-center bg-black/0 opacity-0 transition-all group-hover:bg-black/20 group-hover:opacity-100 group-focus-within:bg-black/20 group-focus-within:opacity-100`,children:[(0,Z.jsx)(`span`,{className:`grid size-10 place-items-center rounded-full bg-background/90 shadow-sm`,children:(0,Z.jsx)(pe,{className:`size-4`})}),(0,Z.jsxs)(`span`,{className:`absolute bottom-2 left-2 rounded-md bg-black/70 px-2 py-1 text-[10px] font-medium text-white shadow-sm backdrop-blur-sm`,children:[e.width&&e.height?`${e.width} × ${e.height} · `:``,D(e.size)]})]})]}),(0,Z.jsxs)(`div`,{className:`flex items-center justify-between gap-1.5 px-2 py-1.5`,children:[(0,Z.jsx)(`div`,{className:`min-w-0`,children:(0,Z.jsx)(`p`,{className:`truncate text-xs font-medium`,title:e.name,children:e.name})}),(0,Z.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[a===`screenshots`&&(0,Z.jsxs)(d,{disabled:s,value:e.deviceTypeOverride??`auto`,onValueChange:t=>{t!==null&&he(e,t)},children:[(0,Z.jsx)(g,{"aria-label":`Device type for ${e.name}`,className:`justify-center border-0 bg-transparent text-muted-foreground hover:bg-muted hover:text-foreground [&>svg:last-child]:hidden`,title:e.deviceType&&e.deviceType!==`unknown`?$[e.deviceType]:`Unknown device`,size:`icon-xs`,children:(0,Z.jsx)(de,{children:(0,Z.jsx)(Xe,{deviceType:e.deviceType??`unknown`})})}),(0,Z.jsxs)(m,{children:[(0,Z.jsxs)(c,{value:`auto`,children:[`Auto · `,e.detectedDeviceType&&e.detectedDeviceType!==`unknown`?$[e.detectedDeviceType]:`Unknown`]}),n.map(e=>(0,Z.jsx)(c,{value:e,children:$[e]},e))]})]}),(0,Z.jsx)(x,{"aria-label":`Delete ${e.name}`,className:`text-muted-foreground hover:text-foreground`,disabled:s,size:`icon-xs`,variant:`ghost`,onClick:()=>E(e),children:(0,Z.jsx)(ce,{className:`size-3.5`})})]})]})]},e.id))})})]})},e.id))})})]})]}),(0,Z.jsx)(re,{open:!!b,onOpenChange:e=>{e||C(null)},children:b&&(0,Z.jsxs)(I,{className:`h-[calc(100vh-2rem)] max-w-7xl grid-rows-[auto_minmax(0,1fr)] gap-0 overflow-hidden p-0`,children:[(0,Z.jsxs)(T,{className:`border-b px-4 py-3 pr-14`,children:[(0,Z.jsx)(se,{className:`truncate text-sm`,children:b.name}),(0,Z.jsxs)(ee,{className:`text-xs`,children:[Q[b.category].label,` · `,D(b.size)]})]}),(0,Z.jsx)(`div`,{className:`relative min-h-0 overflow-hidden bg-black/85 p-4`,children:(0,Z.jsx)(`img`,{className:`size-full object-contain`,src:b.url,alt:b.name})})]})}),(0,Z.jsx)(ie,{open:!!w,onOpenChange:e=>{!e&&!s&&E(null)},children:(0,Z.jsxs)(P,{children:[(0,Z.jsxs)(oe,{children:[(0,Z.jsx)(le,{children:`Delete this asset?`}),(0,Z.jsxs)(j,{children:[w?.name,` will be removed from the local asset catalog. Existing canvas layers that use it will no longer render.`]})]}),(0,Z.jsxs)(S,{children:[(0,Z.jsx)(ne,{render:(0,Z.jsx)(x,{disabled:s,variant:`outline`}),children:`Cancel`}),(0,Z.jsx)(x,{disabled:s||!w,variant:`destructive`,onClick:()=>{w&&me(w)},children:`Delete asset`})]})]})})]})}function Xe({deviceType:e}){let n={iphone:t,ipad:_e,mac:me,watch:ye,unknown:G}[e];return(0,Z.jsx)(n,{className:`size-3.5`})}async function Ze(e){let t=Array.from(e.items).map(e=>e.webkitGetAsEntry?.()).filter(e=>!!e);return t.length===0?Array.from(e.files):(await Promise.all(t.map(Qe))).flat()}async function Qe(e){if(e.isFile){let t=e;return[await new Promise((e,n)=>t.file(e,n))]}if(!e.isDirectory)return[];let t=e.createReader(),n=[];for(;;){let e=await new Promise((e,n)=>t.readEntries(e,n));if(e.length===0)break;n.push(...e)}return(await Promise.all(n.map(Qe))).flat()}export{Ye as AssetsView};