nimzuk commited on
Commit
c7bb297
·
verified ·
1 Parent(s): 7243e2e

CI: sync from GitHub

Browse files
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+ WORKDIR /app
3
+ COPY requirements.txt ./requirements.txt
4
+ RUN pip install --no-cache-dir -r requirements.txt
5
+ COPY backend ./backend
6
+ COPY frontend ./frontend
7
+ COPY mock_assets ./mock_assets
8
+ ENV PORT=7860
9
+ ENV FRONT_DIR=/app/frontend
10
+ EXPOSE 7860
11
+ CMD ["uvicorn", "backend.entry:app", "--host", "0.0.0.0", "--port", "7860"]
LICENSE ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
622
+
623
+ How to Apply These Terms to Your New Programs
624
+
625
+ If you develop a new program, and you want it to be of the greatest
626
+ possible use to the public, the best way to achieve this is to make it
627
+ free software which everyone can redistribute and change under these terms.
628
+
629
+ To do so, attach the following notices to the program. It is safest
630
+ to attach them to the start of each source file to most effectively
631
+ state the exclusion of warranty; and each file should have at least
632
+ the "copyright" line and a pointer to where the full notice is found.
633
+
634
+ <one line to give the program's name and a brief idea of what it does.>
635
+ Copyright (C) <year> <name of author>
636
+
637
+ This program is free software: you can redistribute it and/or modify
638
+ it under the terms of the GNU General Public License as published by
639
+ the Free Software Foundation, either version 3 of the License, or
640
+ (at your option) any later version.
641
+
642
+ This program is distributed in the hope that it will be useful,
643
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
+ GNU General Public License for more details.
646
+
647
+ You should have received a copy of the GNU General Public License
648
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
649
+
650
+ Also add information on how to contact you by electronic and paper mail.
651
+
652
+ If the program does terminal interaction, make it output a short
653
+ notice like this when it starts in an interactive mode:
654
+
655
+ <program> Copyright (C) <year> <name of author>
656
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
+ This is free software, and you are welcome to redistribute it
658
+ under certain conditions; type `show c' for details.
659
+
660
+ The hypothetical commands `show w' and `show c' should show the appropriate
661
+ parts of the General Public License. Of course, your program's commands
662
+ might be different; for a GUI interface, you would use an "about box".
663
+
664
+ You should also get your employer (if you work as a programmer) or school,
665
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
666
+ For more information on this, and how to apply and follow the GNU GPL, see
667
+ <https://www.gnu.org/licenses/>.
668
+
669
+ The GNU General Public License does not permit incorporating your program
670
+ into proprietary programs. If your program is a subroutine library, you
671
+ may consider it more useful to permit linking proprietary applications with
672
+ the library. If this is what you want to do, use the GNU Lesser General
673
+ Public License instead of this License. But first, please read
674
+ <https://www.gnu.org/licenses/why-not-lgpl.html>.
backend/__pycache__/entry.cpython-311.pyc ADDED
Binary file (746 Bytes). View file
 
backend/__pycache__/main.cpython-311.pyc ADDED
Binary file (11.8 kB). View file
 
backend/entry.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import importlib.util, sys
2
+ from pathlib import Path
3
+ spec = importlib.util.spec_from_file_location("backend.main", str(Path(__file__).parent / "main.py"))
4
+ mod = importlib.util.module_from_spec(spec); sys.modules["backend.main"]=mod; spec.loader.exec_module(mod) # type: ignore
5
+ app = mod.app
backend/main.py ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os, uuid, shutil
2
+ from pathlib import Path
3
+ from typing import Dict, Tuple, Any
4
+ from fastapi import FastAPI, UploadFile, File, HTTPException
5
+ from fastapi.middleware.cors import CORSMiddleware
6
+ from fastapi.staticfiles import StaticFiles
7
+ from pydantic import BaseModel
8
+ from PIL import Image
9
+
10
+ CWD = Path(__file__).resolve().parent.parent
11
+ ASSETS_DIR = Path(os.getenv("ASSETS_DIR", CWD / "mock_assets"))
12
+ TMP_DIR = Path(os.getenv("TMP_DIR", CWD / "tmp"))
13
+ FRONT_DIR_ENV = os.getenv("FRONT_DIR", str(CWD / "frontend"))
14
+ for d in (TMP_DIR / "uploads", TMP_DIR / "previews", TMP_DIR / "orders"):
15
+ d.mkdir(parents=True, exist_ok=True)
16
+ UPLOADS_DIR = TMP_DIR / "uploads"
17
+ PREVIEWS_DIR = TMP_DIR / "previews"
18
+ ORDERS_DIR = TMP_DIR / "orders"
19
+
20
+ app = FastAPI(title="Clodesigner API (restored)")
21
+ app.add_middleware(CORSMiddleware, allow_origins=["*"], allow_methods=["*"], allow_headers=["*"])
22
+ front_dir = Path(FRONT_DIR_ENV); front_dir.mkdir(parents=True, exist_ok=True)
23
+ app.mount("/", StaticFiles(directory=str(front_dir), html=True), name="app")
24
+ app.mount("/files", StaticFiles(directory=str(CWD)), name="files")
25
+
26
+ class PreviewInput(BaseModel):
27
+ model: str = "MT"
28
+ view: str = "front"
29
+ src: str
30
+ tile: bool = False
31
+ offset_x: int = 0
32
+ offset_y: int = 0
33
+ scale: float = 1.0
34
+
35
+ class OrderInput(PreviewInput):
36
+ details: Dict[str, Any] = {}
37
+
38
+ def _ensure_rgba(img: Image.Image) -> Image.Image:
39
+ return img.convert("RGBA") if img.mode != "RGBA" else img
40
+
41
+ def _resize_to(img: Image.Image, size: Tuple[int, int]) -> Image.Image:
42
+ return img.resize(size, Image.BICUBIC)
43
+
44
+ def _load_view_assets(model: str, view: str):
45
+ req = ["background.png", "mask.png", "overlay.png"]
46
+ opt = ["mask_s1.png", "mask_s2.png"]
47
+ candidates = [ASSETS_DIR / model / view, ASSETS_DIR / view]
48
+ base = next((p for p in candidates if p.exists()), None)
49
+ if not base:
50
+ tried = " | ".join(map(str, candidates))
51
+ raise HTTPException(400, f"Assets dir not found for view='{view}'. Tried: {tried}")
52
+ missing = [n for n in req if not (base / n).exists()]
53
+ if missing:
54
+ raise HTTPException(400, f"Missing assets in {base}: {', '.join(missing)}")
55
+ files = {n: base/n for n in req}
56
+ for n in opt:
57
+ p = base / n
58
+ if p.exists(): files[n] = p
59
+ return files
60
+
61
+ def _compose_preview(src_img_path: Path, assets):
62
+ bg = _ensure_rgba(Image.open(assets["background.png"]))
63
+ canvas = Image.new("RGBA", bg.size, (0,0,0,0))
64
+ canvas.alpha_composite(bg)
65
+ user = _ensure_rgba(Image.open(src_img_path)).resize((1200,900), Image.BICUBIC)
66
+ x = (canvas.width - user.width)//2
67
+ y = (canvas.height - user.height)//2
68
+ base_mask = Image.open(assets["mask.png"]).convert("L")
69
+ user_on = Image.new("RGBA", canvas.size, (0,0,0,0))
70
+ user_on.paste(user, (x,y), user)
71
+ canvas.paste(user_on, (0,0), base_mask)
72
+ for s in ("mask_s1.png","mask_s2.png"):
73
+ if s in assets:
74
+ m = Image.open(assets[s]).convert("L")
75
+ tmp = Image.new("RGBA", canvas.size, (0,0,0,0))
76
+ tmp.paste(user, (x,y), user)
77
+ canvas.paste(tmp, (0,0), m)
78
+ overlay = _ensure_rgba(Image.open(assets["overlay.png"]))
79
+ canvas.alpha_composite(overlay)
80
+ return canvas
81
+
82
+ @app.post("/api/upload")
83
+ async def upload(file: UploadFile = File(...)):
84
+ name = file.filename or "upload.bin"
85
+ data = await file.read()
86
+ if not name.lower().endswith((".png",".jpg",".jpeg")):
87
+ raise HTTPException(400, "Only PNG/JPG allowed")
88
+ if len(data) > 50*1024*1024:
89
+ raise HTTPException(400, "File too large (>50MB)")
90
+ up = UPLOADS_DIR / f"{uuid.uuid4().hex}_{name}"
91
+ up.write_bytes(data)
92
+ rel = up.relative_to(CWD)
93
+ return {"path": str(rel).replace("\\","/"), "url": f"/files/{rel}".replace("\\","/")}
94
+
95
+ @app.post("/api/preview")
96
+ async def preview(p: PreviewInput):
97
+ src = (CWD / p.src) if not Path(p.src).is_absolute() else Path(p.src)
98
+ if not src.exists():
99
+ raise HTTPException(400, f"Uploaded file not found: {src}")
100
+ img = _compose_preview(src, _load_view_assets(p.model, p.view))
101
+ out = PREVIEWS_DIR / f"{uuid.uuid4().hex[:8]}_{p.model}_{p.view}.png"
102
+ img.save(out, "PNG")
103
+ rel = out.relative_to(CWD)
104
+ return {"ok": True, "url": f"/files/{rel}".replace("\\","/")}
105
+
106
+ @app.post("/api/order")
107
+ async def order(p: OrderInput):
108
+ src = (CWD / p.src) if not Path(p.src).is_absolute() else Path(p.src)
109
+ if not src.exists():
110
+ raise HTTPException(400, f"Uploaded file not found: {src}")
111
+ oid = uuid.uuid4().hex[:8]
112
+ base = (ORDERS_DIR / oid); (base/"mockups").mkdir(parents=True, exist_ok=True); (base/"sources").mkdir(parents=True, exist_ok=True)
113
+ shutil.copy2(src, base/"sources"/Path(src.name))
114
+ img = _compose_preview(src, _load_view_assets(p.model, p.view))
115
+ out = base/"mockups"/f"{p.model}_{p.view}.png"; img.save(out, "PNG")
116
+ return {"ok": True, "order": oid,
117
+ "mockups": [f"/files/{out.relative_to(CWD)}".replace("\\","/")],
118
+ "mockups_dir": f"/files/{(base/'mockups').relative_to(CWD)}".replace("\\","/")}
frontend/index.html ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html><html><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/>
2
+ <title>Clodesigner (restored)</title>
3
+ <style>body{background:#0d1117;color:#c9d1d9;font-family:system-ui;padding:24px}img{max-width:100%}.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}</style>
4
+ </head><body>
5
+ <h2>Clodesigner (restored)</h2>
6
+ <div class="row">
7
+ <input id="file" type="file" accept="image/*"/>
8
+ <select id="model"><option>MT</option><option>WT</option><option>KT</option></select>
9
+ <select id="view"><option>front</option><option>back</option><option>sleeveL</option><option>sleeveR</option></select>
10
+ <button id="btnPrev">Preview</button><button id="btnOrder">Order</button>
11
+ </div>
12
+ <div class="row" style="margin-top:16px">
13
+ <div style="flex:1;min-width:300px"><h3>Preview</h3><img id="prev"/></div>
14
+ <div style="flex:1;min-width:300px"><h3>Order</h3><pre id="out" style="background:#161b22;padding:12px;border-radius:8px"></pre></div>
15
+ </div>
16
+ <script>
17
+ let uploaded=null;
18
+ document.getElementById('file').addEventListener('change', async (e)=>{
19
+ const f=e.target.files[0]; if(!f) return;
20
+ const fd=new FormData(); fd.append('file',f);
21
+ const r=await fetch('/api/upload',{method:'POST',body:fd}); uploaded=await r.json();
22
+ });
23
+ document.getElementById('btnPrev').onclick=async ()=>{
24
+ if(!uploaded) return alert('Upload first');
25
+ const model=document.getElementById('model').value, view=document.getElementById('view').value;
26
+ const r=await fetch('/api/preview',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({model,view,src:uploaded.path})});
27
+ const j=await r.json(); document.getElementById('prev').src=j.url||'';
28
+ };
29
+ document.getElementById('btnOrder').onclick=async ()=>{
30
+ if(!uploaded) return alert('Upload first');
31
+ const model=document.getElementById('model').value, view=document.getElementById('view').value;
32
+ const r=await fetch('/api/order',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({model,view,src:uploaded.path,details:{}})});
33
+ const j=await r.json(); document.getElementById('out').textContent=JSON.stringify(j,null,2);
34
+ };
35
+ </script></body></html>
frontend/package-lock.json ADDED
@@ -0,0 +1,1791 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hf-clothing-constructor",
3
+ "version": "0.1.1",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "hf-clothing-constructor",
9
+ "version": "0.1.1",
10
+ "dependencies": {
11
+ "konva": "^9.3.16",
12
+ "react": "18.3.1",
13
+ "react-dom": "18.3.1",
14
+ "react-konva": "^18.2.12",
15
+ "zustand": "4.5.2"
16
+ },
17
+ "devDependencies": {
18
+ "@types/react": "18.3.5",
19
+ "@types/react-dom": "18.3.0",
20
+ "@vitejs/plugin-react": "^4.3.1",
21
+ "vite": "5.4.2"
22
+ }
23
+ },
24
+ "node_modules/@babel/code-frame": {
25
+ "version": "7.27.1",
26
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
27
+ "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
28
+ "dev": true,
29
+ "license": "MIT",
30
+ "dependencies": {
31
+ "@babel/helper-validator-identifier": "^7.27.1",
32
+ "js-tokens": "^4.0.0",
33
+ "picocolors": "^1.1.1"
34
+ },
35
+ "engines": {
36
+ "node": ">=6.9.0"
37
+ }
38
+ },
39
+ "node_modules/@babel/compat-data": {
40
+ "version": "7.28.5",
41
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz",
42
+ "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==",
43
+ "dev": true,
44
+ "license": "MIT",
45
+ "engines": {
46
+ "node": ">=6.9.0"
47
+ }
48
+ },
49
+ "node_modules/@babel/core": {
50
+ "version": "7.28.5",
51
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.5.tgz",
52
+ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==",
53
+ "dev": true,
54
+ "license": "MIT",
55
+ "dependencies": {
56
+ "@babel/code-frame": "^7.27.1",
57
+ "@babel/generator": "^7.28.5",
58
+ "@babel/helper-compilation-targets": "^7.27.2",
59
+ "@babel/helper-module-transforms": "^7.28.3",
60
+ "@babel/helpers": "^7.28.4",
61
+ "@babel/parser": "^7.28.5",
62
+ "@babel/template": "^7.27.2",
63
+ "@babel/traverse": "^7.28.5",
64
+ "@babel/types": "^7.28.5",
65
+ "@jridgewell/remapping": "^2.3.5",
66
+ "convert-source-map": "^2.0.0",
67
+ "debug": "^4.1.0",
68
+ "gensync": "^1.0.0-beta.2",
69
+ "json5": "^2.2.3",
70
+ "semver": "^6.3.1"
71
+ },
72
+ "engines": {
73
+ "node": ">=6.9.0"
74
+ },
75
+ "funding": {
76
+ "type": "opencollective",
77
+ "url": "https://opencollective.com/babel"
78
+ }
79
+ },
80
+ "node_modules/@babel/generator": {
81
+ "version": "7.28.5",
82
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz",
83
+ "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==",
84
+ "dev": true,
85
+ "license": "MIT",
86
+ "dependencies": {
87
+ "@babel/parser": "^7.28.5",
88
+ "@babel/types": "^7.28.5",
89
+ "@jridgewell/gen-mapping": "^0.3.12",
90
+ "@jridgewell/trace-mapping": "^0.3.28",
91
+ "jsesc": "^3.0.2"
92
+ },
93
+ "engines": {
94
+ "node": ">=6.9.0"
95
+ }
96
+ },
97
+ "node_modules/@babel/helper-compilation-targets": {
98
+ "version": "7.27.2",
99
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz",
100
+ "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==",
101
+ "dev": true,
102
+ "license": "MIT",
103
+ "dependencies": {
104
+ "@babel/compat-data": "^7.27.2",
105
+ "@babel/helper-validator-option": "^7.27.1",
106
+ "browserslist": "^4.24.0",
107
+ "lru-cache": "^5.1.1",
108
+ "semver": "^6.3.1"
109
+ },
110
+ "engines": {
111
+ "node": ">=6.9.0"
112
+ }
113
+ },
114
+ "node_modules/@babel/helper-globals": {
115
+ "version": "7.28.0",
116
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
117
+ "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==",
118
+ "dev": true,
119
+ "license": "MIT",
120
+ "engines": {
121
+ "node": ">=6.9.0"
122
+ }
123
+ },
124
+ "node_modules/@babel/helper-module-imports": {
125
+ "version": "7.27.1",
126
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz",
127
+ "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==",
128
+ "dev": true,
129
+ "license": "MIT",
130
+ "dependencies": {
131
+ "@babel/traverse": "^7.27.1",
132
+ "@babel/types": "^7.27.1"
133
+ },
134
+ "engines": {
135
+ "node": ">=6.9.0"
136
+ }
137
+ },
138
+ "node_modules/@babel/helper-module-transforms": {
139
+ "version": "7.28.3",
140
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz",
141
+ "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==",
142
+ "dev": true,
143
+ "license": "MIT",
144
+ "dependencies": {
145
+ "@babel/helper-module-imports": "^7.27.1",
146
+ "@babel/helper-validator-identifier": "^7.27.1",
147
+ "@babel/traverse": "^7.28.3"
148
+ },
149
+ "engines": {
150
+ "node": ">=6.9.0"
151
+ },
152
+ "peerDependencies": {
153
+ "@babel/core": "^7.0.0"
154
+ }
155
+ },
156
+ "node_modules/@babel/helper-plugin-utils": {
157
+ "version": "7.27.1",
158
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz",
159
+ "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==",
160
+ "dev": true,
161
+ "license": "MIT",
162
+ "engines": {
163
+ "node": ">=6.9.0"
164
+ }
165
+ },
166
+ "node_modules/@babel/helper-string-parser": {
167
+ "version": "7.27.1",
168
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
169
+ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
170
+ "dev": true,
171
+ "license": "MIT",
172
+ "engines": {
173
+ "node": ">=6.9.0"
174
+ }
175
+ },
176
+ "node_modules/@babel/helper-validator-identifier": {
177
+ "version": "7.28.5",
178
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
179
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
180
+ "dev": true,
181
+ "license": "MIT",
182
+ "engines": {
183
+ "node": ">=6.9.0"
184
+ }
185
+ },
186
+ "node_modules/@babel/helper-validator-option": {
187
+ "version": "7.27.1",
188
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
189
+ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
190
+ "dev": true,
191
+ "license": "MIT",
192
+ "engines": {
193
+ "node": ">=6.9.0"
194
+ }
195
+ },
196
+ "node_modules/@babel/helpers": {
197
+ "version": "7.28.4",
198
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz",
199
+ "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==",
200
+ "dev": true,
201
+ "license": "MIT",
202
+ "dependencies": {
203
+ "@babel/template": "^7.27.2",
204
+ "@babel/types": "^7.28.4"
205
+ },
206
+ "engines": {
207
+ "node": ">=6.9.0"
208
+ }
209
+ },
210
+ "node_modules/@babel/parser": {
211
+ "version": "7.28.5",
212
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz",
213
+ "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==",
214
+ "dev": true,
215
+ "license": "MIT",
216
+ "dependencies": {
217
+ "@babel/types": "^7.28.5"
218
+ },
219
+ "bin": {
220
+ "parser": "bin/babel-parser.js"
221
+ },
222
+ "engines": {
223
+ "node": ">=6.0.0"
224
+ }
225
+ },
226
+ "node_modules/@babel/plugin-transform-react-jsx-self": {
227
+ "version": "7.27.1",
228
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz",
229
+ "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==",
230
+ "dev": true,
231
+ "license": "MIT",
232
+ "dependencies": {
233
+ "@babel/helper-plugin-utils": "^7.27.1"
234
+ },
235
+ "engines": {
236
+ "node": ">=6.9.0"
237
+ },
238
+ "peerDependencies": {
239
+ "@babel/core": "^7.0.0-0"
240
+ }
241
+ },
242
+ "node_modules/@babel/plugin-transform-react-jsx-source": {
243
+ "version": "7.27.1",
244
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz",
245
+ "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==",
246
+ "dev": true,
247
+ "license": "MIT",
248
+ "dependencies": {
249
+ "@babel/helper-plugin-utils": "^7.27.1"
250
+ },
251
+ "engines": {
252
+ "node": ">=6.9.0"
253
+ },
254
+ "peerDependencies": {
255
+ "@babel/core": "^7.0.0-0"
256
+ }
257
+ },
258
+ "node_modules/@babel/template": {
259
+ "version": "7.27.2",
260
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
261
+ "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==",
262
+ "dev": true,
263
+ "license": "MIT",
264
+ "dependencies": {
265
+ "@babel/code-frame": "^7.27.1",
266
+ "@babel/parser": "^7.27.2",
267
+ "@babel/types": "^7.27.1"
268
+ },
269
+ "engines": {
270
+ "node": ">=6.9.0"
271
+ }
272
+ },
273
+ "node_modules/@babel/traverse": {
274
+ "version": "7.28.5",
275
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz",
276
+ "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==",
277
+ "dev": true,
278
+ "license": "MIT",
279
+ "dependencies": {
280
+ "@babel/code-frame": "^7.27.1",
281
+ "@babel/generator": "^7.28.5",
282
+ "@babel/helper-globals": "^7.28.0",
283
+ "@babel/parser": "^7.28.5",
284
+ "@babel/template": "^7.27.2",
285
+ "@babel/types": "^7.28.5",
286
+ "debug": "^4.3.1"
287
+ },
288
+ "engines": {
289
+ "node": ">=6.9.0"
290
+ }
291
+ },
292
+ "node_modules/@babel/types": {
293
+ "version": "7.28.5",
294
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz",
295
+ "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==",
296
+ "dev": true,
297
+ "license": "MIT",
298
+ "dependencies": {
299
+ "@babel/helper-string-parser": "^7.27.1",
300
+ "@babel/helper-validator-identifier": "^7.28.5"
301
+ },
302
+ "engines": {
303
+ "node": ">=6.9.0"
304
+ }
305
+ },
306
+ "node_modules/@esbuild/aix-ppc64": {
307
+ "version": "0.21.5",
308
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
309
+ "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
310
+ "cpu": [
311
+ "ppc64"
312
+ ],
313
+ "dev": true,
314
+ "license": "MIT",
315
+ "optional": true,
316
+ "os": [
317
+ "aix"
318
+ ],
319
+ "engines": {
320
+ "node": ">=12"
321
+ }
322
+ },
323
+ "node_modules/@esbuild/android-arm": {
324
+ "version": "0.21.5",
325
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
326
+ "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
327
+ "cpu": [
328
+ "arm"
329
+ ],
330
+ "dev": true,
331
+ "license": "MIT",
332
+ "optional": true,
333
+ "os": [
334
+ "android"
335
+ ],
336
+ "engines": {
337
+ "node": ">=12"
338
+ }
339
+ },
340
+ "node_modules/@esbuild/android-arm64": {
341
+ "version": "0.21.5",
342
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
343
+ "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
344
+ "cpu": [
345
+ "arm64"
346
+ ],
347
+ "dev": true,
348
+ "license": "MIT",
349
+ "optional": true,
350
+ "os": [
351
+ "android"
352
+ ],
353
+ "engines": {
354
+ "node": ">=12"
355
+ }
356
+ },
357
+ "node_modules/@esbuild/android-x64": {
358
+ "version": "0.21.5",
359
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
360
+ "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
361
+ "cpu": [
362
+ "x64"
363
+ ],
364
+ "dev": true,
365
+ "license": "MIT",
366
+ "optional": true,
367
+ "os": [
368
+ "android"
369
+ ],
370
+ "engines": {
371
+ "node": ">=12"
372
+ }
373
+ },
374
+ "node_modules/@esbuild/darwin-arm64": {
375
+ "version": "0.21.5",
376
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
377
+ "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
378
+ "cpu": [
379
+ "arm64"
380
+ ],
381
+ "dev": true,
382
+ "license": "MIT",
383
+ "optional": true,
384
+ "os": [
385
+ "darwin"
386
+ ],
387
+ "engines": {
388
+ "node": ">=12"
389
+ }
390
+ },
391
+ "node_modules/@esbuild/darwin-x64": {
392
+ "version": "0.21.5",
393
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
394
+ "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
395
+ "cpu": [
396
+ "x64"
397
+ ],
398
+ "dev": true,
399
+ "license": "MIT",
400
+ "optional": true,
401
+ "os": [
402
+ "darwin"
403
+ ],
404
+ "engines": {
405
+ "node": ">=12"
406
+ }
407
+ },
408
+ "node_modules/@esbuild/freebsd-arm64": {
409
+ "version": "0.21.5",
410
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
411
+ "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
412
+ "cpu": [
413
+ "arm64"
414
+ ],
415
+ "dev": true,
416
+ "license": "MIT",
417
+ "optional": true,
418
+ "os": [
419
+ "freebsd"
420
+ ],
421
+ "engines": {
422
+ "node": ">=12"
423
+ }
424
+ },
425
+ "node_modules/@esbuild/freebsd-x64": {
426
+ "version": "0.21.5",
427
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
428
+ "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
429
+ "cpu": [
430
+ "x64"
431
+ ],
432
+ "dev": true,
433
+ "license": "MIT",
434
+ "optional": true,
435
+ "os": [
436
+ "freebsd"
437
+ ],
438
+ "engines": {
439
+ "node": ">=12"
440
+ }
441
+ },
442
+ "node_modules/@esbuild/linux-arm": {
443
+ "version": "0.21.5",
444
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
445
+ "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
446
+ "cpu": [
447
+ "arm"
448
+ ],
449
+ "dev": true,
450
+ "license": "MIT",
451
+ "optional": true,
452
+ "os": [
453
+ "linux"
454
+ ],
455
+ "engines": {
456
+ "node": ">=12"
457
+ }
458
+ },
459
+ "node_modules/@esbuild/linux-arm64": {
460
+ "version": "0.21.5",
461
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
462
+ "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
463
+ "cpu": [
464
+ "arm64"
465
+ ],
466
+ "dev": true,
467
+ "license": "MIT",
468
+ "optional": true,
469
+ "os": [
470
+ "linux"
471
+ ],
472
+ "engines": {
473
+ "node": ">=12"
474
+ }
475
+ },
476
+ "node_modules/@esbuild/linux-ia32": {
477
+ "version": "0.21.5",
478
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
479
+ "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
480
+ "cpu": [
481
+ "ia32"
482
+ ],
483
+ "dev": true,
484
+ "license": "MIT",
485
+ "optional": true,
486
+ "os": [
487
+ "linux"
488
+ ],
489
+ "engines": {
490
+ "node": ">=12"
491
+ }
492
+ },
493
+ "node_modules/@esbuild/linux-loong64": {
494
+ "version": "0.21.5",
495
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
496
+ "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
497
+ "cpu": [
498
+ "loong64"
499
+ ],
500
+ "dev": true,
501
+ "license": "MIT",
502
+ "optional": true,
503
+ "os": [
504
+ "linux"
505
+ ],
506
+ "engines": {
507
+ "node": ">=12"
508
+ }
509
+ },
510
+ "node_modules/@esbuild/linux-mips64el": {
511
+ "version": "0.21.5",
512
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
513
+ "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
514
+ "cpu": [
515
+ "mips64el"
516
+ ],
517
+ "dev": true,
518
+ "license": "MIT",
519
+ "optional": true,
520
+ "os": [
521
+ "linux"
522
+ ],
523
+ "engines": {
524
+ "node": ">=12"
525
+ }
526
+ },
527
+ "node_modules/@esbuild/linux-ppc64": {
528
+ "version": "0.21.5",
529
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
530
+ "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
531
+ "cpu": [
532
+ "ppc64"
533
+ ],
534
+ "dev": true,
535
+ "license": "MIT",
536
+ "optional": true,
537
+ "os": [
538
+ "linux"
539
+ ],
540
+ "engines": {
541
+ "node": ">=12"
542
+ }
543
+ },
544
+ "node_modules/@esbuild/linux-riscv64": {
545
+ "version": "0.21.5",
546
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
547
+ "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
548
+ "cpu": [
549
+ "riscv64"
550
+ ],
551
+ "dev": true,
552
+ "license": "MIT",
553
+ "optional": true,
554
+ "os": [
555
+ "linux"
556
+ ],
557
+ "engines": {
558
+ "node": ">=12"
559
+ }
560
+ },
561
+ "node_modules/@esbuild/linux-s390x": {
562
+ "version": "0.21.5",
563
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
564
+ "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
565
+ "cpu": [
566
+ "s390x"
567
+ ],
568
+ "dev": true,
569
+ "license": "MIT",
570
+ "optional": true,
571
+ "os": [
572
+ "linux"
573
+ ],
574
+ "engines": {
575
+ "node": ">=12"
576
+ }
577
+ },
578
+ "node_modules/@esbuild/linux-x64": {
579
+ "version": "0.21.5",
580
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
581
+ "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
582
+ "cpu": [
583
+ "x64"
584
+ ],
585
+ "dev": true,
586
+ "license": "MIT",
587
+ "optional": true,
588
+ "os": [
589
+ "linux"
590
+ ],
591
+ "engines": {
592
+ "node": ">=12"
593
+ }
594
+ },
595
+ "node_modules/@esbuild/netbsd-x64": {
596
+ "version": "0.21.5",
597
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
598
+ "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
599
+ "cpu": [
600
+ "x64"
601
+ ],
602
+ "dev": true,
603
+ "license": "MIT",
604
+ "optional": true,
605
+ "os": [
606
+ "netbsd"
607
+ ],
608
+ "engines": {
609
+ "node": ">=12"
610
+ }
611
+ },
612
+ "node_modules/@esbuild/openbsd-x64": {
613
+ "version": "0.21.5",
614
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
615
+ "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
616
+ "cpu": [
617
+ "x64"
618
+ ],
619
+ "dev": true,
620
+ "license": "MIT",
621
+ "optional": true,
622
+ "os": [
623
+ "openbsd"
624
+ ],
625
+ "engines": {
626
+ "node": ">=12"
627
+ }
628
+ },
629
+ "node_modules/@esbuild/sunos-x64": {
630
+ "version": "0.21.5",
631
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
632
+ "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
633
+ "cpu": [
634
+ "x64"
635
+ ],
636
+ "dev": true,
637
+ "license": "MIT",
638
+ "optional": true,
639
+ "os": [
640
+ "sunos"
641
+ ],
642
+ "engines": {
643
+ "node": ">=12"
644
+ }
645
+ },
646
+ "node_modules/@esbuild/win32-arm64": {
647
+ "version": "0.21.5",
648
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
649
+ "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
650
+ "cpu": [
651
+ "arm64"
652
+ ],
653
+ "dev": true,
654
+ "license": "MIT",
655
+ "optional": true,
656
+ "os": [
657
+ "win32"
658
+ ],
659
+ "engines": {
660
+ "node": ">=12"
661
+ }
662
+ },
663
+ "node_modules/@esbuild/win32-ia32": {
664
+ "version": "0.21.5",
665
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
666
+ "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
667
+ "cpu": [
668
+ "ia32"
669
+ ],
670
+ "dev": true,
671
+ "license": "MIT",
672
+ "optional": true,
673
+ "os": [
674
+ "win32"
675
+ ],
676
+ "engines": {
677
+ "node": ">=12"
678
+ }
679
+ },
680
+ "node_modules/@esbuild/win32-x64": {
681
+ "version": "0.21.5",
682
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
683
+ "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
684
+ "cpu": [
685
+ "x64"
686
+ ],
687
+ "dev": true,
688
+ "license": "MIT",
689
+ "optional": true,
690
+ "os": [
691
+ "win32"
692
+ ],
693
+ "engines": {
694
+ "node": ">=12"
695
+ }
696
+ },
697
+ "node_modules/@jridgewell/gen-mapping": {
698
+ "version": "0.3.13",
699
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
700
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
701
+ "dev": true,
702
+ "license": "MIT",
703
+ "dependencies": {
704
+ "@jridgewell/sourcemap-codec": "^1.5.0",
705
+ "@jridgewell/trace-mapping": "^0.3.24"
706
+ }
707
+ },
708
+ "node_modules/@jridgewell/remapping": {
709
+ "version": "2.3.5",
710
+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
711
+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
712
+ "dev": true,
713
+ "license": "MIT",
714
+ "dependencies": {
715
+ "@jridgewell/gen-mapping": "^0.3.5",
716
+ "@jridgewell/trace-mapping": "^0.3.24"
717
+ }
718
+ },
719
+ "node_modules/@jridgewell/resolve-uri": {
720
+ "version": "3.1.2",
721
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
722
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
723
+ "dev": true,
724
+ "license": "MIT",
725
+ "engines": {
726
+ "node": ">=6.0.0"
727
+ }
728
+ },
729
+ "node_modules/@jridgewell/sourcemap-codec": {
730
+ "version": "1.5.5",
731
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
732
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
733
+ "dev": true,
734
+ "license": "MIT"
735
+ },
736
+ "node_modules/@jridgewell/trace-mapping": {
737
+ "version": "0.3.31",
738
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
739
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
740
+ "dev": true,
741
+ "license": "MIT",
742
+ "dependencies": {
743
+ "@jridgewell/resolve-uri": "^3.1.0",
744
+ "@jridgewell/sourcemap-codec": "^1.4.14"
745
+ }
746
+ },
747
+ "node_modules/@rolldown/pluginutils": {
748
+ "version": "1.0.0-beta.27",
749
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",
750
+ "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",
751
+ "dev": true,
752
+ "license": "MIT"
753
+ },
754
+ "node_modules/@rollup/rollup-android-arm-eabi": {
755
+ "version": "4.52.5",
756
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.5.tgz",
757
+ "integrity": "sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==",
758
+ "cpu": [
759
+ "arm"
760
+ ],
761
+ "dev": true,
762
+ "license": "MIT",
763
+ "optional": true,
764
+ "os": [
765
+ "android"
766
+ ]
767
+ },
768
+ "node_modules/@rollup/rollup-android-arm64": {
769
+ "version": "4.52.5",
770
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.5.tgz",
771
+ "integrity": "sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==",
772
+ "cpu": [
773
+ "arm64"
774
+ ],
775
+ "dev": true,
776
+ "license": "MIT",
777
+ "optional": true,
778
+ "os": [
779
+ "android"
780
+ ]
781
+ },
782
+ "node_modules/@rollup/rollup-darwin-arm64": {
783
+ "version": "4.52.5",
784
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.5.tgz",
785
+ "integrity": "sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==",
786
+ "cpu": [
787
+ "arm64"
788
+ ],
789
+ "dev": true,
790
+ "license": "MIT",
791
+ "optional": true,
792
+ "os": [
793
+ "darwin"
794
+ ]
795
+ },
796
+ "node_modules/@rollup/rollup-darwin-x64": {
797
+ "version": "4.52.5",
798
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.5.tgz",
799
+ "integrity": "sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==",
800
+ "cpu": [
801
+ "x64"
802
+ ],
803
+ "dev": true,
804
+ "license": "MIT",
805
+ "optional": true,
806
+ "os": [
807
+ "darwin"
808
+ ]
809
+ },
810
+ "node_modules/@rollup/rollup-freebsd-arm64": {
811
+ "version": "4.52.5",
812
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.5.tgz",
813
+ "integrity": "sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==",
814
+ "cpu": [
815
+ "arm64"
816
+ ],
817
+ "dev": true,
818
+ "license": "MIT",
819
+ "optional": true,
820
+ "os": [
821
+ "freebsd"
822
+ ]
823
+ },
824
+ "node_modules/@rollup/rollup-freebsd-x64": {
825
+ "version": "4.52.5",
826
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.5.tgz",
827
+ "integrity": "sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==",
828
+ "cpu": [
829
+ "x64"
830
+ ],
831
+ "dev": true,
832
+ "license": "MIT",
833
+ "optional": true,
834
+ "os": [
835
+ "freebsd"
836
+ ]
837
+ },
838
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
839
+ "version": "4.52.5",
840
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.5.tgz",
841
+ "integrity": "sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==",
842
+ "cpu": [
843
+ "arm"
844
+ ],
845
+ "dev": true,
846
+ "license": "MIT",
847
+ "optional": true,
848
+ "os": [
849
+ "linux"
850
+ ]
851
+ },
852
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
853
+ "version": "4.52.5",
854
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.5.tgz",
855
+ "integrity": "sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==",
856
+ "cpu": [
857
+ "arm"
858
+ ],
859
+ "dev": true,
860
+ "license": "MIT",
861
+ "optional": true,
862
+ "os": [
863
+ "linux"
864
+ ]
865
+ },
866
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
867
+ "version": "4.52.5",
868
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.5.tgz",
869
+ "integrity": "sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==",
870
+ "cpu": [
871
+ "arm64"
872
+ ],
873
+ "dev": true,
874
+ "license": "MIT",
875
+ "optional": true,
876
+ "os": [
877
+ "linux"
878
+ ]
879
+ },
880
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
881
+ "version": "4.52.5",
882
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.5.tgz",
883
+ "integrity": "sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==",
884
+ "cpu": [
885
+ "arm64"
886
+ ],
887
+ "dev": true,
888
+ "license": "MIT",
889
+ "optional": true,
890
+ "os": [
891
+ "linux"
892
+ ]
893
+ },
894
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
895
+ "version": "4.52.5",
896
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.5.tgz",
897
+ "integrity": "sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==",
898
+ "cpu": [
899
+ "loong64"
900
+ ],
901
+ "dev": true,
902
+ "license": "MIT",
903
+ "optional": true,
904
+ "os": [
905
+ "linux"
906
+ ]
907
+ },
908
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
909
+ "version": "4.52.5",
910
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.5.tgz",
911
+ "integrity": "sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==",
912
+ "cpu": [
913
+ "ppc64"
914
+ ],
915
+ "dev": true,
916
+ "license": "MIT",
917
+ "optional": true,
918
+ "os": [
919
+ "linux"
920
+ ]
921
+ },
922
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
923
+ "version": "4.52.5",
924
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.5.tgz",
925
+ "integrity": "sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==",
926
+ "cpu": [
927
+ "riscv64"
928
+ ],
929
+ "dev": true,
930
+ "license": "MIT",
931
+ "optional": true,
932
+ "os": [
933
+ "linux"
934
+ ]
935
+ },
936
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
937
+ "version": "4.52.5",
938
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.5.tgz",
939
+ "integrity": "sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==",
940
+ "cpu": [
941
+ "riscv64"
942
+ ],
943
+ "dev": true,
944
+ "license": "MIT",
945
+ "optional": true,
946
+ "os": [
947
+ "linux"
948
+ ]
949
+ },
950
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
951
+ "version": "4.52.5",
952
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.5.tgz",
953
+ "integrity": "sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==",
954
+ "cpu": [
955
+ "s390x"
956
+ ],
957
+ "dev": true,
958
+ "license": "MIT",
959
+ "optional": true,
960
+ "os": [
961
+ "linux"
962
+ ]
963
+ },
964
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
965
+ "version": "4.52.5",
966
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.5.tgz",
967
+ "integrity": "sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==",
968
+ "cpu": [
969
+ "x64"
970
+ ],
971
+ "dev": true,
972
+ "license": "MIT",
973
+ "optional": true,
974
+ "os": [
975
+ "linux"
976
+ ]
977
+ },
978
+ "node_modules/@rollup/rollup-linux-x64-musl": {
979
+ "version": "4.52.5",
980
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.5.tgz",
981
+ "integrity": "sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==",
982
+ "cpu": [
983
+ "x64"
984
+ ],
985
+ "dev": true,
986
+ "license": "MIT",
987
+ "optional": true,
988
+ "os": [
989
+ "linux"
990
+ ]
991
+ },
992
+ "node_modules/@rollup/rollup-openharmony-arm64": {
993
+ "version": "4.52.5",
994
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.5.tgz",
995
+ "integrity": "sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==",
996
+ "cpu": [
997
+ "arm64"
998
+ ],
999
+ "dev": true,
1000
+ "license": "MIT",
1001
+ "optional": true,
1002
+ "os": [
1003
+ "openharmony"
1004
+ ]
1005
+ },
1006
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
1007
+ "version": "4.52.5",
1008
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.5.tgz",
1009
+ "integrity": "sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==",
1010
+ "cpu": [
1011
+ "arm64"
1012
+ ],
1013
+ "dev": true,
1014
+ "license": "MIT",
1015
+ "optional": true,
1016
+ "os": [
1017
+ "win32"
1018
+ ]
1019
+ },
1020
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
1021
+ "version": "4.52.5",
1022
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.5.tgz",
1023
+ "integrity": "sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==",
1024
+ "cpu": [
1025
+ "ia32"
1026
+ ],
1027
+ "dev": true,
1028
+ "license": "MIT",
1029
+ "optional": true,
1030
+ "os": [
1031
+ "win32"
1032
+ ]
1033
+ },
1034
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
1035
+ "version": "4.52.5",
1036
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.5.tgz",
1037
+ "integrity": "sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==",
1038
+ "cpu": [
1039
+ "x64"
1040
+ ],
1041
+ "dev": true,
1042
+ "license": "MIT",
1043
+ "optional": true,
1044
+ "os": [
1045
+ "win32"
1046
+ ]
1047
+ },
1048
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
1049
+ "version": "4.52.5",
1050
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.5.tgz",
1051
+ "integrity": "sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==",
1052
+ "cpu": [
1053
+ "x64"
1054
+ ],
1055
+ "dev": true,
1056
+ "license": "MIT",
1057
+ "optional": true,
1058
+ "os": [
1059
+ "win32"
1060
+ ]
1061
+ },
1062
+ "node_modules/@types/babel__core": {
1063
+ "version": "7.20.5",
1064
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
1065
+ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
1066
+ "dev": true,
1067
+ "license": "MIT",
1068
+ "dependencies": {
1069
+ "@babel/parser": "^7.20.7",
1070
+ "@babel/types": "^7.20.7",
1071
+ "@types/babel__generator": "*",
1072
+ "@types/babel__template": "*",
1073
+ "@types/babel__traverse": "*"
1074
+ }
1075
+ },
1076
+ "node_modules/@types/babel__generator": {
1077
+ "version": "7.27.0",
1078
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
1079
+ "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
1080
+ "dev": true,
1081
+ "license": "MIT",
1082
+ "dependencies": {
1083
+ "@babel/types": "^7.0.0"
1084
+ }
1085
+ },
1086
+ "node_modules/@types/babel__template": {
1087
+ "version": "7.4.4",
1088
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
1089
+ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
1090
+ "dev": true,
1091
+ "license": "MIT",
1092
+ "dependencies": {
1093
+ "@babel/parser": "^7.1.0",
1094
+ "@babel/types": "^7.0.0"
1095
+ }
1096
+ },
1097
+ "node_modules/@types/babel__traverse": {
1098
+ "version": "7.28.0",
1099
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
1100
+ "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
1101
+ "dev": true,
1102
+ "license": "MIT",
1103
+ "dependencies": {
1104
+ "@babel/types": "^7.28.2"
1105
+ }
1106
+ },
1107
+ "node_modules/@types/estree": {
1108
+ "version": "1.0.8",
1109
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
1110
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
1111
+ "dev": true,
1112
+ "license": "MIT"
1113
+ },
1114
+ "node_modules/@types/prop-types": {
1115
+ "version": "15.7.15",
1116
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
1117
+ "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
1118
+ "license": "MIT"
1119
+ },
1120
+ "node_modules/@types/react": {
1121
+ "version": "18.3.5",
1122
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz",
1123
+ "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==",
1124
+ "license": "MIT",
1125
+ "dependencies": {
1126
+ "@types/prop-types": "*",
1127
+ "csstype": "^3.0.2"
1128
+ }
1129
+ },
1130
+ "node_modules/@types/react-dom": {
1131
+ "version": "18.3.0",
1132
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz",
1133
+ "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==",
1134
+ "dev": true,
1135
+ "license": "MIT",
1136
+ "dependencies": {
1137
+ "@types/react": "*"
1138
+ }
1139
+ },
1140
+ "node_modules/@types/react-reconciler": {
1141
+ "version": "0.28.9",
1142
+ "resolved": "https://registry.npmjs.org/@types/react-reconciler/-/react-reconciler-0.28.9.tgz",
1143
+ "integrity": "sha512-HHM3nxyUZ3zAylX8ZEyrDNd2XZOnQ0D5XfunJF5FLQnZbHHYq4UWvW1QfelQNXv1ICNkwYhfxjwfnqivYB6bFg==",
1144
+ "license": "MIT",
1145
+ "peerDependencies": {
1146
+ "@types/react": "*"
1147
+ }
1148
+ },
1149
+ "node_modules/@vitejs/plugin-react": {
1150
+ "version": "4.7.0",
1151
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz",
1152
+ "integrity": "sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==",
1153
+ "dev": true,
1154
+ "license": "MIT",
1155
+ "dependencies": {
1156
+ "@babel/core": "^7.28.0",
1157
+ "@babel/plugin-transform-react-jsx-self": "^7.27.1",
1158
+ "@babel/plugin-transform-react-jsx-source": "^7.27.1",
1159
+ "@rolldown/pluginutils": "1.0.0-beta.27",
1160
+ "@types/babel__core": "^7.20.5",
1161
+ "react-refresh": "^0.17.0"
1162
+ },
1163
+ "engines": {
1164
+ "node": "^14.18.0 || >=16.0.0"
1165
+ },
1166
+ "peerDependencies": {
1167
+ "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
1168
+ }
1169
+ },
1170
+ "node_modules/baseline-browser-mapping": {
1171
+ "version": "2.8.20",
1172
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.20.tgz",
1173
+ "integrity": "sha512-JMWsdF+O8Orq3EMukbUN1QfbLK9mX2CkUmQBcW2T0s8OmdAUL5LLM/6wFwSrqXzlXB13yhyK9gTKS1rIizOduQ==",
1174
+ "dev": true,
1175
+ "license": "Apache-2.0",
1176
+ "bin": {
1177
+ "baseline-browser-mapping": "dist/cli.js"
1178
+ }
1179
+ },
1180
+ "node_modules/browserslist": {
1181
+ "version": "4.27.0",
1182
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.27.0.tgz",
1183
+ "integrity": "sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw==",
1184
+ "dev": true,
1185
+ "funding": [
1186
+ {
1187
+ "type": "opencollective",
1188
+ "url": "https://opencollective.com/browserslist"
1189
+ },
1190
+ {
1191
+ "type": "tidelift",
1192
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
1193
+ },
1194
+ {
1195
+ "type": "github",
1196
+ "url": "https://github.com/sponsors/ai"
1197
+ }
1198
+ ],
1199
+ "license": "MIT",
1200
+ "dependencies": {
1201
+ "baseline-browser-mapping": "^2.8.19",
1202
+ "caniuse-lite": "^1.0.30001751",
1203
+ "electron-to-chromium": "^1.5.238",
1204
+ "node-releases": "^2.0.26",
1205
+ "update-browserslist-db": "^1.1.4"
1206
+ },
1207
+ "bin": {
1208
+ "browserslist": "cli.js"
1209
+ },
1210
+ "engines": {
1211
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
1212
+ }
1213
+ },
1214
+ "node_modules/caniuse-lite": {
1215
+ "version": "1.0.30001751",
1216
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001751.tgz",
1217
+ "integrity": "sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==",
1218
+ "dev": true,
1219
+ "funding": [
1220
+ {
1221
+ "type": "opencollective",
1222
+ "url": "https://opencollective.com/browserslist"
1223
+ },
1224
+ {
1225
+ "type": "tidelift",
1226
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
1227
+ },
1228
+ {
1229
+ "type": "github",
1230
+ "url": "https://github.com/sponsors/ai"
1231
+ }
1232
+ ],
1233
+ "license": "CC-BY-4.0"
1234
+ },
1235
+ "node_modules/convert-source-map": {
1236
+ "version": "2.0.0",
1237
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
1238
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
1239
+ "dev": true,
1240
+ "license": "MIT"
1241
+ },
1242
+ "node_modules/csstype": {
1243
+ "version": "3.1.3",
1244
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
1245
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
1246
+ "license": "MIT"
1247
+ },
1248
+ "node_modules/debug": {
1249
+ "version": "4.4.3",
1250
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
1251
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
1252
+ "dev": true,
1253
+ "license": "MIT",
1254
+ "dependencies": {
1255
+ "ms": "^2.1.3"
1256
+ },
1257
+ "engines": {
1258
+ "node": ">=6.0"
1259
+ },
1260
+ "peerDependenciesMeta": {
1261
+ "supports-color": {
1262
+ "optional": true
1263
+ }
1264
+ }
1265
+ },
1266
+ "node_modules/electron-to-chromium": {
1267
+ "version": "1.5.240",
1268
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.240.tgz",
1269
+ "integrity": "sha512-OBwbZjWgrCOH+g6uJsA2/7Twpas2OlepS9uvByJjR2datRDuKGYeD+nP8lBBks2qnB7bGJNHDUx7c/YLaT3QMQ==",
1270
+ "dev": true,
1271
+ "license": "ISC"
1272
+ },
1273
+ "node_modules/esbuild": {
1274
+ "version": "0.21.5",
1275
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
1276
+ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
1277
+ "dev": true,
1278
+ "hasInstallScript": true,
1279
+ "license": "MIT",
1280
+ "bin": {
1281
+ "esbuild": "bin/esbuild"
1282
+ },
1283
+ "engines": {
1284
+ "node": ">=12"
1285
+ },
1286
+ "optionalDependencies": {
1287
+ "@esbuild/aix-ppc64": "0.21.5",
1288
+ "@esbuild/android-arm": "0.21.5",
1289
+ "@esbuild/android-arm64": "0.21.5",
1290
+ "@esbuild/android-x64": "0.21.5",
1291
+ "@esbuild/darwin-arm64": "0.21.5",
1292
+ "@esbuild/darwin-x64": "0.21.5",
1293
+ "@esbuild/freebsd-arm64": "0.21.5",
1294
+ "@esbuild/freebsd-x64": "0.21.5",
1295
+ "@esbuild/linux-arm": "0.21.5",
1296
+ "@esbuild/linux-arm64": "0.21.5",
1297
+ "@esbuild/linux-ia32": "0.21.5",
1298
+ "@esbuild/linux-loong64": "0.21.5",
1299
+ "@esbuild/linux-mips64el": "0.21.5",
1300
+ "@esbuild/linux-ppc64": "0.21.5",
1301
+ "@esbuild/linux-riscv64": "0.21.5",
1302
+ "@esbuild/linux-s390x": "0.21.5",
1303
+ "@esbuild/linux-x64": "0.21.5",
1304
+ "@esbuild/netbsd-x64": "0.21.5",
1305
+ "@esbuild/openbsd-x64": "0.21.5",
1306
+ "@esbuild/sunos-x64": "0.21.5",
1307
+ "@esbuild/win32-arm64": "0.21.5",
1308
+ "@esbuild/win32-ia32": "0.21.5",
1309
+ "@esbuild/win32-x64": "0.21.5"
1310
+ }
1311
+ },
1312
+ "node_modules/escalade": {
1313
+ "version": "3.2.0",
1314
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
1315
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
1316
+ "dev": true,
1317
+ "license": "MIT",
1318
+ "engines": {
1319
+ "node": ">=6"
1320
+ }
1321
+ },
1322
+ "node_modules/fsevents": {
1323
+ "version": "2.3.3",
1324
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
1325
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
1326
+ "dev": true,
1327
+ "hasInstallScript": true,
1328
+ "license": "MIT",
1329
+ "optional": true,
1330
+ "os": [
1331
+ "darwin"
1332
+ ],
1333
+ "engines": {
1334
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
1335
+ }
1336
+ },
1337
+ "node_modules/gensync": {
1338
+ "version": "1.0.0-beta.2",
1339
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
1340
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
1341
+ "dev": true,
1342
+ "license": "MIT",
1343
+ "engines": {
1344
+ "node": ">=6.9.0"
1345
+ }
1346
+ },
1347
+ "node_modules/its-fine": {
1348
+ "version": "1.2.5",
1349
+ "resolved": "https://registry.npmjs.org/its-fine/-/its-fine-1.2.5.tgz",
1350
+ "integrity": "sha512-fXtDA0X0t0eBYAGLVM5YsgJGsJ5jEmqZEPrGbzdf5awjv0xE7nqv3TVnvtUF060Tkes15DbDAKW/I48vsb6SyA==",
1351
+ "license": "MIT",
1352
+ "dependencies": {
1353
+ "@types/react-reconciler": "^0.28.0"
1354
+ },
1355
+ "peerDependencies": {
1356
+ "react": ">=18.0"
1357
+ }
1358
+ },
1359
+ "node_modules/js-tokens": {
1360
+ "version": "4.0.0",
1361
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
1362
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
1363
+ "license": "MIT"
1364
+ },
1365
+ "node_modules/jsesc": {
1366
+ "version": "3.1.0",
1367
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
1368
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
1369
+ "dev": true,
1370
+ "license": "MIT",
1371
+ "bin": {
1372
+ "jsesc": "bin/jsesc"
1373
+ },
1374
+ "engines": {
1375
+ "node": ">=6"
1376
+ }
1377
+ },
1378
+ "node_modules/json5": {
1379
+ "version": "2.2.3",
1380
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
1381
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
1382
+ "dev": true,
1383
+ "license": "MIT",
1384
+ "bin": {
1385
+ "json5": "lib/cli.js"
1386
+ },
1387
+ "engines": {
1388
+ "node": ">=6"
1389
+ }
1390
+ },
1391
+ "node_modules/konva": {
1392
+ "version": "9.3.22",
1393
+ "resolved": "https://registry.npmjs.org/konva/-/konva-9.3.22.tgz",
1394
+ "integrity": "sha512-yQI5d1bmELlD/fowuyfOp9ff+oamg26WOCkyqUyc+nczD/lhRa3EvD2MZOoc4c1293TAubW9n34fSQLgSeEgSw==",
1395
+ "funding": [
1396
+ {
1397
+ "type": "patreon",
1398
+ "url": "https://www.patreon.com/lavrton"
1399
+ },
1400
+ {
1401
+ "type": "opencollective",
1402
+ "url": "https://opencollective.com/konva"
1403
+ },
1404
+ {
1405
+ "type": "github",
1406
+ "url": "https://github.com/sponsors/lavrton"
1407
+ }
1408
+ ],
1409
+ "license": "MIT"
1410
+ },
1411
+ "node_modules/loose-envify": {
1412
+ "version": "1.4.0",
1413
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
1414
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
1415
+ "license": "MIT",
1416
+ "dependencies": {
1417
+ "js-tokens": "^3.0.0 || ^4.0.0"
1418
+ },
1419
+ "bin": {
1420
+ "loose-envify": "cli.js"
1421
+ }
1422
+ },
1423
+ "node_modules/lru-cache": {
1424
+ "version": "5.1.1",
1425
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
1426
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
1427
+ "dev": true,
1428
+ "license": "ISC",
1429
+ "dependencies": {
1430
+ "yallist": "^3.0.2"
1431
+ }
1432
+ },
1433
+ "node_modules/ms": {
1434
+ "version": "2.1.3",
1435
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1436
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
1437
+ "dev": true,
1438
+ "license": "MIT"
1439
+ },
1440
+ "node_modules/nanoid": {
1441
+ "version": "3.3.11",
1442
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
1443
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
1444
+ "dev": true,
1445
+ "funding": [
1446
+ {
1447
+ "type": "github",
1448
+ "url": "https://github.com/sponsors/ai"
1449
+ }
1450
+ ],
1451
+ "license": "MIT",
1452
+ "bin": {
1453
+ "nanoid": "bin/nanoid.cjs"
1454
+ },
1455
+ "engines": {
1456
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
1457
+ }
1458
+ },
1459
+ "node_modules/node-releases": {
1460
+ "version": "2.0.26",
1461
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.26.tgz",
1462
+ "integrity": "sha512-S2M9YimhSjBSvYnlr5/+umAnPHE++ODwt5e2Ij6FoX45HA/s4vHdkDx1eax2pAPeAOqu4s9b7ppahsyEFdVqQA==",
1463
+ "dev": true,
1464
+ "license": "MIT"
1465
+ },
1466
+ "node_modules/picocolors": {
1467
+ "version": "1.1.1",
1468
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
1469
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
1470
+ "dev": true,
1471
+ "license": "ISC"
1472
+ },
1473
+ "node_modules/postcss": {
1474
+ "version": "8.5.6",
1475
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
1476
+ "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
1477
+ "dev": true,
1478
+ "funding": [
1479
+ {
1480
+ "type": "opencollective",
1481
+ "url": "https://opencollective.com/postcss/"
1482
+ },
1483
+ {
1484
+ "type": "tidelift",
1485
+ "url": "https://tidelift.com/funding/github/npm/postcss"
1486
+ },
1487
+ {
1488
+ "type": "github",
1489
+ "url": "https://github.com/sponsors/ai"
1490
+ }
1491
+ ],
1492
+ "license": "MIT",
1493
+ "dependencies": {
1494
+ "nanoid": "^3.3.11",
1495
+ "picocolors": "^1.1.1",
1496
+ "source-map-js": "^1.2.1"
1497
+ },
1498
+ "engines": {
1499
+ "node": "^10 || ^12 || >=14"
1500
+ }
1501
+ },
1502
+ "node_modules/react": {
1503
+ "version": "18.3.1",
1504
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
1505
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
1506
+ "license": "MIT",
1507
+ "dependencies": {
1508
+ "loose-envify": "^1.1.0"
1509
+ },
1510
+ "engines": {
1511
+ "node": ">=0.10.0"
1512
+ }
1513
+ },
1514
+ "node_modules/react-dom": {
1515
+ "version": "18.3.1",
1516
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
1517
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
1518
+ "license": "MIT",
1519
+ "dependencies": {
1520
+ "loose-envify": "^1.1.0",
1521
+ "scheduler": "^0.23.2"
1522
+ },
1523
+ "peerDependencies": {
1524
+ "react": "^18.3.1"
1525
+ }
1526
+ },
1527
+ "node_modules/react-konva": {
1528
+ "version": "18.2.14",
1529
+ "resolved": "https://registry.npmjs.org/react-konva/-/react-konva-18.2.14.tgz",
1530
+ "integrity": "sha512-lBDe/5fTgquMdg1AHI0B16YZdAOvEhWMBWuo12ioyY0icdxcz9Cf12j86fsCJCHdnvjUOlZeC0f5q+siyHbD4Q==",
1531
+ "funding": [
1532
+ {
1533
+ "type": "patreon",
1534
+ "url": "https://www.patreon.com/lavrton"
1535
+ },
1536
+ {
1537
+ "type": "opencollective",
1538
+ "url": "https://opencollective.com/konva"
1539
+ },
1540
+ {
1541
+ "type": "github",
1542
+ "url": "https://github.com/sponsors/lavrton"
1543
+ }
1544
+ ],
1545
+ "license": "MIT",
1546
+ "dependencies": {
1547
+ "@types/react-reconciler": "^0.28.2",
1548
+ "its-fine": "^1.1.1",
1549
+ "react-reconciler": "~0.29.0",
1550
+ "scheduler": "^0.23.0"
1551
+ },
1552
+ "peerDependencies": {
1553
+ "konva": "^8.0.1 || ^7.2.5 || ^9.0.0 || ^10.0.0",
1554
+ "react": ">=18.0.0",
1555
+ "react-dom": ">=18.0.0"
1556
+ }
1557
+ },
1558
+ "node_modules/react-reconciler": {
1559
+ "version": "0.29.2",
1560
+ "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.29.2.tgz",
1561
+ "integrity": "sha512-zZQqIiYgDCTP/f1N/mAR10nJGrPD2ZR+jDSEsKWJHYC7Cm2wodlwbR3upZRdC3cjIjSlTLNVyO7Iu0Yy7t2AYg==",
1562
+ "license": "MIT",
1563
+ "dependencies": {
1564
+ "loose-envify": "^1.1.0",
1565
+ "scheduler": "^0.23.2"
1566
+ },
1567
+ "engines": {
1568
+ "node": ">=0.10.0"
1569
+ },
1570
+ "peerDependencies": {
1571
+ "react": "^18.3.1"
1572
+ }
1573
+ },
1574
+ "node_modules/react-refresh": {
1575
+ "version": "0.17.0",
1576
+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz",
1577
+ "integrity": "sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==",
1578
+ "dev": true,
1579
+ "license": "MIT",
1580
+ "engines": {
1581
+ "node": ">=0.10.0"
1582
+ }
1583
+ },
1584
+ "node_modules/rollup": {
1585
+ "version": "4.52.5",
1586
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.5.tgz",
1587
+ "integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==",
1588
+ "dev": true,
1589
+ "license": "MIT",
1590
+ "dependencies": {
1591
+ "@types/estree": "1.0.8"
1592
+ },
1593
+ "bin": {
1594
+ "rollup": "dist/bin/rollup"
1595
+ },
1596
+ "engines": {
1597
+ "node": ">=18.0.0",
1598
+ "npm": ">=8.0.0"
1599
+ },
1600
+ "optionalDependencies": {
1601
+ "@rollup/rollup-android-arm-eabi": "4.52.5",
1602
+ "@rollup/rollup-android-arm64": "4.52.5",
1603
+ "@rollup/rollup-darwin-arm64": "4.52.5",
1604
+ "@rollup/rollup-darwin-x64": "4.52.5",
1605
+ "@rollup/rollup-freebsd-arm64": "4.52.5",
1606
+ "@rollup/rollup-freebsd-x64": "4.52.5",
1607
+ "@rollup/rollup-linux-arm-gnueabihf": "4.52.5",
1608
+ "@rollup/rollup-linux-arm-musleabihf": "4.52.5",
1609
+ "@rollup/rollup-linux-arm64-gnu": "4.52.5",
1610
+ "@rollup/rollup-linux-arm64-musl": "4.52.5",
1611
+ "@rollup/rollup-linux-loong64-gnu": "4.52.5",
1612
+ "@rollup/rollup-linux-ppc64-gnu": "4.52.5",
1613
+ "@rollup/rollup-linux-riscv64-gnu": "4.52.5",
1614
+ "@rollup/rollup-linux-riscv64-musl": "4.52.5",
1615
+ "@rollup/rollup-linux-s390x-gnu": "4.52.5",
1616
+ "@rollup/rollup-linux-x64-gnu": "4.52.5",
1617
+ "@rollup/rollup-linux-x64-musl": "4.52.5",
1618
+ "@rollup/rollup-openharmony-arm64": "4.52.5",
1619
+ "@rollup/rollup-win32-arm64-msvc": "4.52.5",
1620
+ "@rollup/rollup-win32-ia32-msvc": "4.52.5",
1621
+ "@rollup/rollup-win32-x64-gnu": "4.52.5",
1622
+ "@rollup/rollup-win32-x64-msvc": "4.52.5",
1623
+ "fsevents": "~2.3.2"
1624
+ }
1625
+ },
1626
+ "node_modules/scheduler": {
1627
+ "version": "0.23.2",
1628
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
1629
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
1630
+ "license": "MIT",
1631
+ "dependencies": {
1632
+ "loose-envify": "^1.1.0"
1633
+ }
1634
+ },
1635
+ "node_modules/semver": {
1636
+ "version": "6.3.1",
1637
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
1638
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
1639
+ "dev": true,
1640
+ "license": "ISC",
1641
+ "bin": {
1642
+ "semver": "bin/semver.js"
1643
+ }
1644
+ },
1645
+ "node_modules/source-map-js": {
1646
+ "version": "1.2.1",
1647
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
1648
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
1649
+ "dev": true,
1650
+ "license": "BSD-3-Clause",
1651
+ "engines": {
1652
+ "node": ">=0.10.0"
1653
+ }
1654
+ },
1655
+ "node_modules/update-browserslist-db": {
1656
+ "version": "1.1.4",
1657
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz",
1658
+ "integrity": "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==",
1659
+ "dev": true,
1660
+ "funding": [
1661
+ {
1662
+ "type": "opencollective",
1663
+ "url": "https://opencollective.com/browserslist"
1664
+ },
1665
+ {
1666
+ "type": "tidelift",
1667
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
1668
+ },
1669
+ {
1670
+ "type": "github",
1671
+ "url": "https://github.com/sponsors/ai"
1672
+ }
1673
+ ],
1674
+ "license": "MIT",
1675
+ "dependencies": {
1676
+ "escalade": "^3.2.0",
1677
+ "picocolors": "^1.1.1"
1678
+ },
1679
+ "bin": {
1680
+ "update-browserslist-db": "cli.js"
1681
+ },
1682
+ "peerDependencies": {
1683
+ "browserslist": ">= 4.21.0"
1684
+ }
1685
+ },
1686
+ "node_modules/use-sync-external-store": {
1687
+ "version": "1.2.0",
1688
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz",
1689
+ "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==",
1690
+ "license": "MIT",
1691
+ "peerDependencies": {
1692
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
1693
+ }
1694
+ },
1695
+ "node_modules/vite": {
1696
+ "version": "5.4.2",
1697
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.2.tgz",
1698
+ "integrity": "sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==",
1699
+ "dev": true,
1700
+ "license": "MIT",
1701
+ "dependencies": {
1702
+ "esbuild": "^0.21.3",
1703
+ "postcss": "^8.4.41",
1704
+ "rollup": "^4.20.0"
1705
+ },
1706
+ "bin": {
1707
+ "vite": "bin/vite.js"
1708
+ },
1709
+ "engines": {
1710
+ "node": "^18.0.0 || >=20.0.0"
1711
+ },
1712
+ "funding": {
1713
+ "url": "https://github.com/vitejs/vite?sponsor=1"
1714
+ },
1715
+ "optionalDependencies": {
1716
+ "fsevents": "~2.3.3"
1717
+ },
1718
+ "peerDependencies": {
1719
+ "@types/node": "^18.0.0 || >=20.0.0",
1720
+ "less": "*",
1721
+ "lightningcss": "^1.21.0",
1722
+ "sass": "*",
1723
+ "sass-embedded": "*",
1724
+ "stylus": "*",
1725
+ "sugarss": "*",
1726
+ "terser": "^5.4.0"
1727
+ },
1728
+ "peerDependenciesMeta": {
1729
+ "@types/node": {
1730
+ "optional": true
1731
+ },
1732
+ "less": {
1733
+ "optional": true
1734
+ },
1735
+ "lightningcss": {
1736
+ "optional": true
1737
+ },
1738
+ "sass": {
1739
+ "optional": true
1740
+ },
1741
+ "sass-embedded": {
1742
+ "optional": true
1743
+ },
1744
+ "stylus": {
1745
+ "optional": true
1746
+ },
1747
+ "sugarss": {
1748
+ "optional": true
1749
+ },
1750
+ "terser": {
1751
+ "optional": true
1752
+ }
1753
+ }
1754
+ },
1755
+ "node_modules/yallist": {
1756
+ "version": "3.1.1",
1757
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
1758
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
1759
+ "dev": true,
1760
+ "license": "ISC"
1761
+ },
1762
+ "node_modules/zustand": {
1763
+ "version": "4.5.2",
1764
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.2.tgz",
1765
+ "integrity": "sha512-2cN1tPkDVkwCy5ickKrI7vijSjPksFRfqS6237NzT0vqSsztTNnQdHw9mmN7uBdk3gceVXU0a+21jFzFzAc9+g==",
1766
+ "license": "MIT",
1767
+ "dependencies": {
1768
+ "use-sync-external-store": "1.2.0"
1769
+ },
1770
+ "engines": {
1771
+ "node": ">=12.7.0"
1772
+ },
1773
+ "peerDependencies": {
1774
+ "@types/react": ">=16.8",
1775
+ "immer": ">=9.0.6",
1776
+ "react": ">=16.8"
1777
+ },
1778
+ "peerDependenciesMeta": {
1779
+ "@types/react": {
1780
+ "optional": true
1781
+ },
1782
+ "immer": {
1783
+ "optional": true
1784
+ },
1785
+ "react": {
1786
+ "optional": true
1787
+ }
1788
+ }
1789
+ }
1790
+ }
1791
+ }
frontend/package.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "hf-clothing-constructor",
3
+ "private": true,
4
+ "version": "0.1.1",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "vite build",
9
+ "preview": "vite preview"
10
+ },
11
+ "dependencies": {
12
+ "konva": "^9.3.16",
13
+ "react": "18.3.1",
14
+ "react-dom": "18.3.1",
15
+ "react-konva": "^18.2.12",
16
+ "zustand": "4.5.2"
17
+ },
18
+ "devDependencies": {
19
+ "@types/react": "18.3.5",
20
+ "@types/react-dom": "18.3.0",
21
+ "@vitejs/plugin-react": "^4.3.1",
22
+ "vite": "5.4.2"
23
+ }
24
+ }
frontend/src/main.jsx ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import React from 'react'
2
+ import { createRoot } from 'react-dom/client'
3
+ import App from './ui/App.jsx'
4
+ createRoot(document.getElementById('root')).render(<App />)
frontend/src/ui/App.jsx ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { useState } from 'react'
2
+ import useStore from '../useStore.js'
3
+ import { Stage, Layer, Image as KImage, Rect } from 'react-konva'
4
+
5
+ const W=1000,H=1000
6
+ function useImage(url){ const [i,set]=React.useState(null); React.useEffect(()=>{ if(!url){set(null);return} const im=new Image(); im.crossOrigin='anonymous'; im.onload=()=>set(im); im.src=url },[url]); return i }
7
+ export default function App(){
8
+ const s = useStore()
9
+ const d = s.details[s.active]
10
+ const img = useImage(d.previewUrl)
11
+ return (
12
+ <div style={{display:'grid',gridTemplateColumns:'280px 1fr',minHeight:'100vh'}}>
13
+ <div style={{padding:16,borderRight:'1px solid #1f2430'}}>
14
+ <div>
15
+ <label>Model</label>
16
+ <select value={s.model} onChange={e=>s.setModel(e.target.value)}>
17
+ <option value="MT">MT</option><option value="WT">WT</option><option value="KT">KT</option>
18
+ </select>
19
+ </div>
20
+ <div style={{margin:'12px 0'}}>
21
+ {['front','sleeveL','back','sleeveR'].map(v=>(
22
+ <button key={v} onClick={()=>s.setActive(v)} style={{marginRight:6, padding:'6px 10px'}}>{v}</button>
23
+ ))}
24
+ </div>
25
+ <div>
26
+ <input type="range" min="0.05" max="4" step="0.01" value={d.transform.scale} onChange={e=>s.setScale(parseFloat(e.target.value))}/>
27
+ <input type="range" min="-1000" max="1000" step="1" value={d.transform.tx} onChange={e=>s.setTx(parseFloat(e.target.value))}/>
28
+ <input type="range" min="-1000" max="1000" step="1" value={d.transform.ty} onChange={e=>s.setTy(parseFloat(e.target.value))}/>
29
+ <div><label><input type="checkbox" checked={d.tile.enabled} onChange={()=>s.toggleTile()}/> tile</label></div>
30
+ </div>
31
+ <div style={{marginTop:12}}>
32
+ <input id="file" type="file" accept="image/png,image/jpeg" style={{display:'none'}} onChange={async (e)=>{ if(!e.target.files?.[0])return; await s.uploadAndSpread(e.target.files[0]); e.target.value='' }}/>
33
+ <label htmlFor="file" style={{padding:'8px 12px',background:'#2563eb',display:'inline-block',borderRadius:8,cursor:'pointer'}}>Upload / Spread</label>
34
+ </div>
35
+ <div style={{marginTop:12}}>
36
+ <button onClick={s.startOrder}>Order</button>
37
+ </div>
38
+ </div>
39
+ <div style={{display:'grid',placeItems:'center'}}>
40
+ {!img ? <label style={{border:'2px dashed #3a4251',padding:40,borderRadius:12,cursor:'pointer'}}>
41
+ <input type="file" accept="image/png,image/jpeg" style={{display:'none'}} onChange={async (e)=>{ if(!e.target.files?.[0])return; await s.uploadAndSpread(e.target.files[0]); e.target.value='' }}/>
42
+ + Upload image
43
+ </label> : (
44
+ <Stage width={W} height={H}>
45
+ <Layer>
46
+ <Rect x={0} y={0} width={W} height={H} fill="#111318"/>
47
+ <KImage image={img} x={d.transform.tx} y={d.transform.ty} width={img.width*d.transform.scale} height={img.height*d.transform.scale} draggable
48
+ onDragMove={e=>{ const n=e.target; s.setTx(n.x()); s.setTy(n.y()) }}
49
+ onWheel={e=>{ e.evt.preventDefault(); const delta=e.evt.deltaY>0?-0.05:0.05; s.setScale(Math.max(0.05, d.transform.scale+delta)) }}
50
+ />
51
+ </Layer>
52
+ </Stage>
53
+ )}
54
+ </div>
55
+ </div>
56
+ )
57
+ }
frontend/src/useStore.js ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // frontend/src/useStore.js
2
+ import { create } from "zustand";
3
+
4
+ // небольшие хелперы для запросов
5
+ const postJSON = async (url, body) => {
6
+ const res = await fetch(url, {
7
+ method: "POST",
8
+ headers: { "Content-Type": "application/json" },
9
+ body: JSON.stringify(body),
10
+ });
11
+ if (!res.ok) throw new Error(await res.text());
12
+ return res.json();
13
+ };
14
+
15
+ const postFile = async (url, file) => {
16
+ const fd = new FormData();
17
+ fd.append("file", file);
18
+ const res = await fetch(url, { method: "POST", body: fd });
19
+ if (!res.ok) throw new Error(await res.text());
20
+ return res.json();
21
+ };
22
+
23
+ const useStore = create((set, get) => ({
24
+ // состояние
25
+ model: "MT",
26
+ view: "front",
27
+ tile: false,
28
+ offsetX: 0,
29
+ offsetY: 0,
30
+ scale: 1,
31
+ uploadedPath: null,
32
+ busy: false,
33
+ lastPreviewUrls: null,
34
+ lastOrderInfo: null,
35
+
36
+ // сеттеры
37
+ setModel: (model) => set({ model }),
38
+ setView: (view) => set({ view }),
39
+ setTile: (tile) => set({ tile }),
40
+ setOffsetX: (offsetX) => set({ offsetX }),
41
+ setOffsetY: (offsetY) => set({ offsetY }),
42
+ setScale: (scale) => set({ scale }),
43
+
44
+ // 1) загрузка принта
45
+ async upload(file) {
46
+ set({ busy: true });
47
+ try {
48
+ const { path } = await postFile("/api/upload", file);
49
+ set({ uploadedPath: path });
50
+ return path;
51
+ } finally {
52
+ set({ busy: false });
53
+ }
54
+ },
55
+
56
+ // 2) построение превью из текущих контролов
57
+ async spread() {
58
+ const { model, view, tile, offsetX, offsetY, scale, uploadedPath } = get();
59
+ if (!uploadedPath) throw new Error("Сначала загрузите принт");
60
+
61
+ set({ busy: true });
62
+ try {
63
+ const payload = {
64
+ model,
65
+ view,
66
+ details: {
67
+ print_path: uploadedPath,
68
+ tile,
69
+ offset_x: offsetX,
70
+ offset_y: offsetY,
71
+ scale,
72
+ },
73
+ };
74
+ const data = await postJSON("/api/preview", payload);
75
+ const urls =
76
+ data.previews ||
77
+ (data.preview_url ? { [view]: data.preview_url } : null);
78
+ set({ lastPreviewUrls: urls });
79
+ return data;
80
+ } finally {
81
+ set({ busy: false });
82
+ }
83
+ },
84
+
85
+ // удобный комбинированный экшен под кнопку "Upload / Spread"
86
+ async uploadAndSpread(file) {
87
+ await get().upload(file);
88
+ return get().spread();
89
+ },
90
+
91
+ // 3) создание заказа
92
+ async startOrder() {
93
+ const { model, view, tile, offsetX, offsetY, scale, uploadedPath } = get();
94
+ if (!uploadedPath) throw new Error("Сначала загрузите принт");
95
+
96
+ set({ busy: true });
97
+ try {
98
+ const payload = {
99
+ model,
100
+ view,
101
+ details: {
102
+ print_path: uploadedPath,
103
+ tile,
104
+ offset_x: offsetX,
105
+ offset_y: offsetY,
106
+ scale,
107
+ },
108
+ };
109
+ const data = await postJSON("/api/order", payload);
110
+ set({ lastOrderInfo: data });
111
+ return data;
112
+ } finally {
113
+ set({ busy: false });
114
+ }
115
+ },
116
+ }));
117
+
118
+ export default useStore;
frontend/vite.config.js ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import { defineConfig } from 'vite'
2
+ import react from '@vitejs/plugin-react'
3
+ export default defineConfig({ plugins:[react()], server:{ port:5173 } })
mock_assets/MT/back/1 ADDED
File without changes
mock_assets/MT/back/background.png ADDED
mock_assets/MT/back/mask.png ADDED
mock_assets/MT/back/mask_s1.png ADDED
mock_assets/MT/back/mask_s2.png ADDED
mock_assets/MT/back/overlay.png ADDED
mock_assets/MT/front/1 ADDED
File without changes
mock_assets/MT/front/background.png ADDED
mock_assets/MT/front/mask.png ADDED
mock_assets/MT/front/mask_s1.png ADDED
mock_assets/MT/front/mask_s2.png ADDED
mock_assets/MT/front/overlay.png ADDED
mock_assets/MT/sleeveL/background.png ADDED
mock_assets/MT/sleeveL/mask.png ADDED
mock_assets/MT/sleeveL/mask_s1.png ADDED
mock_assets/MT/sleeveL/mask_s2.png ADDED
mock_assets/MT/sleeveL/overlay.png ADDED
mock_assets/MT/sleeveR/background.png ADDED
mock_assets/MT/sleeveR/mask.png ADDED
mock_assets/MT/sleeveR/mask_s1.png ADDED
mock_assets/MT/sleeveR/mask_s2.png ADDED
mock_assets/MT/sleeveR/overlay.png ADDED
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ fastapi==0.112.1
2
+ uvicorn[standard]==0.30.6
3
+ pillow==10.4.0
4
+ python-multipart==0.0.9