├── .gitignore ├── LICENSE ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── src ├── App.vue ├── components │ └── Modal.vue ├── main.js └── utils │ └── converter.js ├── vite.config.js └── 使用示例.png /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 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 | 635 | Copyright (C) 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 . 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 | Copyright (C) 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 | . 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 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

ChatBox to OpenWebUI

2 | 3 | ChatBox to OpenWebUI 是一个在线工具,帮助用户便捷地将 ChatBox 导出的对话记录转换为 Open WebUI 格式。 4 | 5 | 它允许用户上传 ChatBox 导出的 JSON 文件,并自动将其转换为 Open WebUI 兼容的格式,方便用户将聊天记录从轻量化的 [ChatBox](https://github.com/Bin-Huang/chatbox) 迁移到功能更加丰富的 [Open WebUI](https://github.com/open-webui/open-webui)。 6 | 7 | 该项目的代码主要由 `claude-3.5-sonnet` 和 `chatgpt-4o-latest` 编写,我提供了非常多的样式、功能设计提议和反馈。 8 | 9 | ![使用示例](使用示例.png) 10 | 11 | ## 功能特性 12 | 13 | - 自动检测并提示含有不成对的消息(可能不受Open WebUI支持),或是包含图片(未包含在ChatBox的导出数据中)的对话 14 | - 允许用户为每个对话指定使用的模型,使其显示在历史记录中 15 | - 支持全选/取消选择要转换的对话 16 | - 生成兼容 Open WebUI 格式的 JSON 文件 17 | - 响应式设计,支持桌面和移动设备 18 | 19 | ## 如何使用 20 | 21 | 1. 访问 [ChatBox to Open WebUI](https://cooksleep.github.io/ChatBox2OpenWebUI/)。 22 | 2. 在 ChatBox 的`设置-其它-备份与恢复`中**只勾选`聊天记录`**,然后导出。 23 | 3. 点击`选择文件`按钮,选择刚刚从 ChatBox 导出的 JSON 文件。 24 | 4. 查看上传的对话列表,根据需要选择或取消选择从 ChatBox 中导出的对话。 25 | 5. 为每个对话指定使用的模型(可选)。 26 | 6. 点击`转换并导出`按钮生成 Open WebUI 格式的 JSON 文件。 27 | 7. 在 Open WebUI 的`设置-对话-导入聊天记录`中选择刚刚生成的文件。 28 | 8. 刷新 Open WebUI 页面,完成数据导入。 29 | 30 | ## 贡献 31 | 32 | 欢迎对项目进行贡献!如果您有任何建议或想要添加新功能,请随时创建一个 Issue 或 Pull Request。 33 | 34 | ## 许可证 35 | 36 | 本项目采用 [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html) 许可证,详情请见 [LICENSE](LICENSE) 文件。 37 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ChatBox to Open WebUI 7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "chatbox2openwebui", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "chatbox2openwebui", 9 | "version": "1.0.0", 10 | "license": "ISC", 11 | "dependencies": { 12 | "uuid": "^10.0.0", 13 | "vue": "^3.4.38" 14 | }, 15 | "devDependencies": { 16 | "@vitejs/plugin-vue": "^5.1.2", 17 | "gh-pages": "^5.0.0", 18 | "vite": "^5.4.2" 19 | } 20 | }, 21 | "node_modules/@babel/helper-string-parser": { 22 | "version": "7.24.8", 23 | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", 24 | "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", 25 | "engines": { 26 | "node": ">=6.9.0" 27 | } 28 | }, 29 | "node_modules/@babel/helper-validator-identifier": { 30 | "version": "7.24.7", 31 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", 32 | "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", 33 | "engines": { 34 | "node": ">=6.9.0" 35 | } 36 | }, 37 | "node_modules/@babel/parser": { 38 | "version": "7.25.4", 39 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.4.tgz", 40 | "integrity": "sha512-nq+eWrOgdtu3jG5Os4TQP3x3cLA8hR8TvJNjD8vnPa20WGycimcparWnLK4jJhElTK6SDyuJo1weMKO/5LpmLA==", 41 | "dependencies": { 42 | "@babel/types": "^7.25.4" 43 | }, 44 | "bin": { 45 | "parser": "bin/babel-parser.js" 46 | }, 47 | "engines": { 48 | "node": ">=6.0.0" 49 | } 50 | }, 51 | "node_modules/@babel/types": { 52 | "version": "7.25.4", 53 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.4.tgz", 54 | "integrity": "sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==", 55 | "dependencies": { 56 | "@babel/helper-string-parser": "^7.24.8", 57 | "@babel/helper-validator-identifier": "^7.24.7", 58 | "to-fast-properties": "^2.0.0" 59 | }, 60 | "engines": { 61 | "node": ">=6.9.0" 62 | } 63 | }, 64 | "node_modules/@esbuild/aix-ppc64": { 65 | "version": "0.21.5", 66 | "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", 67 | "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", 68 | "cpu": [ 69 | "ppc64" 70 | ], 71 | "dev": true, 72 | "optional": true, 73 | "os": [ 74 | "aix" 75 | ], 76 | "engines": { 77 | "node": ">=12" 78 | } 79 | }, 80 | "node_modules/@esbuild/android-arm": { 81 | "version": "0.21.5", 82 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", 83 | "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", 84 | "cpu": [ 85 | "arm" 86 | ], 87 | "dev": true, 88 | "optional": true, 89 | "os": [ 90 | "android" 91 | ], 92 | "engines": { 93 | "node": ">=12" 94 | } 95 | }, 96 | "node_modules/@esbuild/android-arm64": { 97 | "version": "0.21.5", 98 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", 99 | "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", 100 | "cpu": [ 101 | "arm64" 102 | ], 103 | "dev": true, 104 | "optional": true, 105 | "os": [ 106 | "android" 107 | ], 108 | "engines": { 109 | "node": ">=12" 110 | } 111 | }, 112 | "node_modules/@esbuild/android-x64": { 113 | "version": "0.21.5", 114 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", 115 | "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", 116 | "cpu": [ 117 | "x64" 118 | ], 119 | "dev": true, 120 | "optional": true, 121 | "os": [ 122 | "android" 123 | ], 124 | "engines": { 125 | "node": ">=12" 126 | } 127 | }, 128 | "node_modules/@esbuild/darwin-arm64": { 129 | "version": "0.21.5", 130 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", 131 | "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", 132 | "cpu": [ 133 | "arm64" 134 | ], 135 | "dev": true, 136 | "optional": true, 137 | "os": [ 138 | "darwin" 139 | ], 140 | "engines": { 141 | "node": ">=12" 142 | } 143 | }, 144 | "node_modules/@esbuild/darwin-x64": { 145 | "version": "0.21.5", 146 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", 147 | "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", 148 | "cpu": [ 149 | "x64" 150 | ], 151 | "dev": true, 152 | "optional": true, 153 | "os": [ 154 | "darwin" 155 | ], 156 | "engines": { 157 | "node": ">=12" 158 | } 159 | }, 160 | "node_modules/@esbuild/freebsd-arm64": { 161 | "version": "0.21.5", 162 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", 163 | "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", 164 | "cpu": [ 165 | "arm64" 166 | ], 167 | "dev": true, 168 | "optional": true, 169 | "os": [ 170 | "freebsd" 171 | ], 172 | "engines": { 173 | "node": ">=12" 174 | } 175 | }, 176 | "node_modules/@esbuild/freebsd-x64": { 177 | "version": "0.21.5", 178 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", 179 | "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", 180 | "cpu": [ 181 | "x64" 182 | ], 183 | "dev": true, 184 | "optional": true, 185 | "os": [ 186 | "freebsd" 187 | ], 188 | "engines": { 189 | "node": ">=12" 190 | } 191 | }, 192 | "node_modules/@esbuild/linux-arm": { 193 | "version": "0.21.5", 194 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", 195 | "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", 196 | "cpu": [ 197 | "arm" 198 | ], 199 | "dev": true, 200 | "optional": true, 201 | "os": [ 202 | "linux" 203 | ], 204 | "engines": { 205 | "node": ">=12" 206 | } 207 | }, 208 | "node_modules/@esbuild/linux-arm64": { 209 | "version": "0.21.5", 210 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", 211 | "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", 212 | "cpu": [ 213 | "arm64" 214 | ], 215 | "dev": true, 216 | "optional": true, 217 | "os": [ 218 | "linux" 219 | ], 220 | "engines": { 221 | "node": ">=12" 222 | } 223 | }, 224 | "node_modules/@esbuild/linux-ia32": { 225 | "version": "0.21.5", 226 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", 227 | "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", 228 | "cpu": [ 229 | "ia32" 230 | ], 231 | "dev": true, 232 | "optional": true, 233 | "os": [ 234 | "linux" 235 | ], 236 | "engines": { 237 | "node": ">=12" 238 | } 239 | }, 240 | "node_modules/@esbuild/linux-loong64": { 241 | "version": "0.21.5", 242 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", 243 | "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", 244 | "cpu": [ 245 | "loong64" 246 | ], 247 | "dev": true, 248 | "optional": true, 249 | "os": [ 250 | "linux" 251 | ], 252 | "engines": { 253 | "node": ">=12" 254 | } 255 | }, 256 | "node_modules/@esbuild/linux-mips64el": { 257 | "version": "0.21.5", 258 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", 259 | "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", 260 | "cpu": [ 261 | "mips64el" 262 | ], 263 | "dev": true, 264 | "optional": true, 265 | "os": [ 266 | "linux" 267 | ], 268 | "engines": { 269 | "node": ">=12" 270 | } 271 | }, 272 | "node_modules/@esbuild/linux-ppc64": { 273 | "version": "0.21.5", 274 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", 275 | "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", 276 | "cpu": [ 277 | "ppc64" 278 | ], 279 | "dev": true, 280 | "optional": true, 281 | "os": [ 282 | "linux" 283 | ], 284 | "engines": { 285 | "node": ">=12" 286 | } 287 | }, 288 | "node_modules/@esbuild/linux-riscv64": { 289 | "version": "0.21.5", 290 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", 291 | "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", 292 | "cpu": [ 293 | "riscv64" 294 | ], 295 | "dev": true, 296 | "optional": true, 297 | "os": [ 298 | "linux" 299 | ], 300 | "engines": { 301 | "node": ">=12" 302 | } 303 | }, 304 | "node_modules/@esbuild/linux-s390x": { 305 | "version": "0.21.5", 306 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", 307 | "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", 308 | "cpu": [ 309 | "s390x" 310 | ], 311 | "dev": true, 312 | "optional": true, 313 | "os": [ 314 | "linux" 315 | ], 316 | "engines": { 317 | "node": ">=12" 318 | } 319 | }, 320 | "node_modules/@esbuild/linux-x64": { 321 | "version": "0.21.5", 322 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", 323 | "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", 324 | "cpu": [ 325 | "x64" 326 | ], 327 | "dev": true, 328 | "optional": true, 329 | "os": [ 330 | "linux" 331 | ], 332 | "engines": { 333 | "node": ">=12" 334 | } 335 | }, 336 | "node_modules/@esbuild/netbsd-x64": { 337 | "version": "0.21.5", 338 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", 339 | "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", 340 | "cpu": [ 341 | "x64" 342 | ], 343 | "dev": true, 344 | "optional": true, 345 | "os": [ 346 | "netbsd" 347 | ], 348 | "engines": { 349 | "node": ">=12" 350 | } 351 | }, 352 | "node_modules/@esbuild/openbsd-x64": { 353 | "version": "0.21.5", 354 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", 355 | "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", 356 | "cpu": [ 357 | "x64" 358 | ], 359 | "dev": true, 360 | "optional": true, 361 | "os": [ 362 | "openbsd" 363 | ], 364 | "engines": { 365 | "node": ">=12" 366 | } 367 | }, 368 | "node_modules/@esbuild/sunos-x64": { 369 | "version": "0.21.5", 370 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", 371 | "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", 372 | "cpu": [ 373 | "x64" 374 | ], 375 | "dev": true, 376 | "optional": true, 377 | "os": [ 378 | "sunos" 379 | ], 380 | "engines": { 381 | "node": ">=12" 382 | } 383 | }, 384 | "node_modules/@esbuild/win32-arm64": { 385 | "version": "0.21.5", 386 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", 387 | "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", 388 | "cpu": [ 389 | "arm64" 390 | ], 391 | "dev": true, 392 | "optional": true, 393 | "os": [ 394 | "win32" 395 | ], 396 | "engines": { 397 | "node": ">=12" 398 | } 399 | }, 400 | "node_modules/@esbuild/win32-ia32": { 401 | "version": "0.21.5", 402 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", 403 | "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", 404 | "cpu": [ 405 | "ia32" 406 | ], 407 | "dev": true, 408 | "optional": true, 409 | "os": [ 410 | "win32" 411 | ], 412 | "engines": { 413 | "node": ">=12" 414 | } 415 | }, 416 | "node_modules/@esbuild/win32-x64": { 417 | "version": "0.21.5", 418 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", 419 | "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", 420 | "cpu": [ 421 | "x64" 422 | ], 423 | "dev": true, 424 | "optional": true, 425 | "os": [ 426 | "win32" 427 | ], 428 | "engines": { 429 | "node": ">=12" 430 | } 431 | }, 432 | "node_modules/@jridgewell/sourcemap-codec": { 433 | "version": "1.5.0", 434 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", 435 | "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" 436 | }, 437 | "node_modules/@rollup/rollup-android-arm-eabi": { 438 | "version": "4.21.1", 439 | "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.1.tgz", 440 | "integrity": "sha512-2thheikVEuU7ZxFXubPDOtspKn1x0yqaYQwvALVtEcvFhMifPADBrgRPyHV0TF3b+9BgvgjgagVyvA/UqPZHmg==", 441 | "cpu": [ 442 | "arm" 443 | ], 444 | "dev": true, 445 | "optional": true, 446 | "os": [ 447 | "android" 448 | ] 449 | }, 450 | "node_modules/@rollup/rollup-android-arm64": { 451 | "version": "4.21.1", 452 | "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.1.tgz", 453 | "integrity": "sha512-t1lLYn4V9WgnIFHXy1d2Di/7gyzBWS8G5pQSXdZqfrdCGTwi1VasRMSS81DTYb+avDs/Zz4A6dzERki5oRYz1g==", 454 | "cpu": [ 455 | "arm64" 456 | ], 457 | "dev": true, 458 | "optional": true, 459 | "os": [ 460 | "android" 461 | ] 462 | }, 463 | "node_modules/@rollup/rollup-darwin-arm64": { 464 | "version": "4.21.1", 465 | "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.1.tgz", 466 | "integrity": "sha512-AH/wNWSEEHvs6t4iJ3RANxW5ZCK3fUnmf0gyMxWCesY1AlUj8jY7GC+rQE4wd3gwmZ9XDOpL0kcFnCjtN7FXlA==", 467 | "cpu": [ 468 | "arm64" 469 | ], 470 | "dev": true, 471 | "optional": true, 472 | "os": [ 473 | "darwin" 474 | ] 475 | }, 476 | "node_modules/@rollup/rollup-darwin-x64": { 477 | "version": "4.21.1", 478 | "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.1.tgz", 479 | "integrity": "sha512-dO0BIz/+5ZdkLZrVgQrDdW7m2RkrLwYTh2YMFG9IpBtlC1x1NPNSXkfczhZieOlOLEqgXOFH3wYHB7PmBtf+Bg==", 480 | "cpu": [ 481 | "x64" 482 | ], 483 | "dev": true, 484 | "optional": true, 485 | "os": [ 486 | "darwin" 487 | ] 488 | }, 489 | "node_modules/@rollup/rollup-linux-arm-gnueabihf": { 490 | "version": "4.21.1", 491 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.1.tgz", 492 | "integrity": "sha512-sWWgdQ1fq+XKrlda8PsMCfut8caFwZBmhYeoehJ05FdI0YZXk6ZyUjWLrIgbR/VgiGycrFKMMgp7eJ69HOF2pQ==", 493 | "cpu": [ 494 | "arm" 495 | ], 496 | "dev": true, 497 | "optional": true, 498 | "os": [ 499 | "linux" 500 | ] 501 | }, 502 | "node_modules/@rollup/rollup-linux-arm-musleabihf": { 503 | "version": "4.21.1", 504 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.1.tgz", 505 | "integrity": "sha512-9OIiSuj5EsYQlmwhmFRA0LRO0dRRjdCVZA3hnmZe1rEwRk11Jy3ECGGq3a7RrVEZ0/pCsYWx8jG3IvcrJ6RCew==", 506 | "cpu": [ 507 | "arm" 508 | ], 509 | "dev": true, 510 | "optional": true, 511 | "os": [ 512 | "linux" 513 | ] 514 | }, 515 | "node_modules/@rollup/rollup-linux-arm64-gnu": { 516 | "version": "4.21.1", 517 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.1.tgz", 518 | "integrity": "sha512-0kuAkRK4MeIUbzQYu63NrJmfoUVicajoRAL1bpwdYIYRcs57iyIV9NLcuyDyDXE2GiZCL4uhKSYAnyWpjZkWow==", 519 | "cpu": [ 520 | "arm64" 521 | ], 522 | "dev": true, 523 | "optional": true, 524 | "os": [ 525 | "linux" 526 | ] 527 | }, 528 | "node_modules/@rollup/rollup-linux-arm64-musl": { 529 | "version": "4.21.1", 530 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.1.tgz", 531 | "integrity": "sha512-/6dYC9fZtfEY0vozpc5bx1RP4VrtEOhNQGb0HwvYNwXD1BBbwQ5cKIbUVVU7G2d5WRE90NfB922elN8ASXAJEA==", 532 | "cpu": [ 533 | "arm64" 534 | ], 535 | "dev": true, 536 | "optional": true, 537 | "os": [ 538 | "linux" 539 | ] 540 | }, 541 | "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { 542 | "version": "4.21.1", 543 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.1.tgz", 544 | "integrity": "sha512-ltUWy+sHeAh3YZ91NUsV4Xg3uBXAlscQe8ZOXRCVAKLsivGuJsrkawYPUEyCV3DYa9urgJugMLn8Z3Z/6CeyRQ==", 545 | "cpu": [ 546 | "ppc64" 547 | ], 548 | "dev": true, 549 | "optional": true, 550 | "os": [ 551 | "linux" 552 | ] 553 | }, 554 | "node_modules/@rollup/rollup-linux-riscv64-gnu": { 555 | "version": "4.21.1", 556 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.1.tgz", 557 | "integrity": "sha512-BggMndzI7Tlv4/abrgLwa/dxNEMn2gC61DCLrTzw8LkpSKel4o+O+gtjbnkevZ18SKkeN3ihRGPuBxjaetWzWg==", 558 | "cpu": [ 559 | "riscv64" 560 | ], 561 | "dev": true, 562 | "optional": true, 563 | "os": [ 564 | "linux" 565 | ] 566 | }, 567 | "node_modules/@rollup/rollup-linux-s390x-gnu": { 568 | "version": "4.21.1", 569 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.1.tgz", 570 | "integrity": "sha512-z/9rtlGd/OMv+gb1mNSjElasMf9yXusAxnRDrBaYB+eS1shFm6/4/xDH1SAISO5729fFKUkJ88TkGPRUh8WSAA==", 571 | "cpu": [ 572 | "s390x" 573 | ], 574 | "dev": true, 575 | "optional": true, 576 | "os": [ 577 | "linux" 578 | ] 579 | }, 580 | "node_modules/@rollup/rollup-linux-x64-gnu": { 581 | "version": "4.21.1", 582 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.1.tgz", 583 | "integrity": "sha512-kXQVcWqDcDKw0S2E0TmhlTLlUgAmMVqPrJZR+KpH/1ZaZhLSl23GZpQVmawBQGVhyP5WXIsIQ/zqbDBBYmxm5w==", 584 | "cpu": [ 585 | "x64" 586 | ], 587 | "dev": true, 588 | "optional": true, 589 | "os": [ 590 | "linux" 591 | ] 592 | }, 593 | "node_modules/@rollup/rollup-linux-x64-musl": { 594 | "version": "4.21.1", 595 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.1.tgz", 596 | "integrity": "sha512-CbFv/WMQsSdl+bpX6rVbzR4kAjSSBuDgCqb1l4J68UYsQNalz5wOqLGYj4ZI0thGpyX5kc+LLZ9CL+kpqDovZA==", 597 | "cpu": [ 598 | "x64" 599 | ], 600 | "dev": true, 601 | "optional": true, 602 | "os": [ 603 | "linux" 604 | ] 605 | }, 606 | "node_modules/@rollup/rollup-win32-arm64-msvc": { 607 | "version": "4.21.1", 608 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.1.tgz", 609 | "integrity": "sha512-3Q3brDgA86gHXWHklrwdREKIrIbxC0ZgU8lwpj0eEKGBQH+31uPqr0P2v11pn0tSIxHvcdOWxa4j+YvLNx1i6g==", 610 | "cpu": [ 611 | "arm64" 612 | ], 613 | "dev": true, 614 | "optional": true, 615 | "os": [ 616 | "win32" 617 | ] 618 | }, 619 | "node_modules/@rollup/rollup-win32-ia32-msvc": { 620 | "version": "4.21.1", 621 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.1.tgz", 622 | "integrity": "sha512-tNg+jJcKR3Uwe4L0/wY3Ro0H+u3nrb04+tcq1GSYzBEmKLeOQF2emk1whxlzNqb6MMrQ2JOcQEpuuiPLyRcSIw==", 623 | "cpu": [ 624 | "ia32" 625 | ], 626 | "dev": true, 627 | "optional": true, 628 | "os": [ 629 | "win32" 630 | ] 631 | }, 632 | "node_modules/@rollup/rollup-win32-x64-msvc": { 633 | "version": "4.21.1", 634 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.1.tgz", 635 | "integrity": "sha512-xGiIH95H1zU7naUyTKEyOA/I0aexNMUdO9qRv0bLKN3qu25bBdrxZHqA3PTJ24YNN/GdMzG4xkDcd/GvjuhfLg==", 636 | "cpu": [ 637 | "x64" 638 | ], 639 | "dev": true, 640 | "optional": true, 641 | "os": [ 642 | "win32" 643 | ] 644 | }, 645 | "node_modules/@types/estree": { 646 | "version": "1.0.5", 647 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", 648 | "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", 649 | "dev": true 650 | }, 651 | "node_modules/@vitejs/plugin-vue": { 652 | "version": "5.1.2", 653 | "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.1.2.tgz", 654 | "integrity": "sha512-nY9IwH12qeiJqumTCLJLE7IiNx7HZ39cbHaysEUd+Myvbz9KAqd2yq+U01Kab1R/H1BmiyM2ShTYlNH32Fzo3A==", 655 | "dev": true, 656 | "engines": { 657 | "node": "^18.0.0 || >=20.0.0" 658 | }, 659 | "peerDependencies": { 660 | "vite": "^5.0.0", 661 | "vue": "^3.2.25" 662 | } 663 | }, 664 | "node_modules/@vue/compiler-core": { 665 | "version": "3.4.38", 666 | "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.38.tgz", 667 | "integrity": "sha512-8IQOTCWnLFqfHzOGm9+P8OPSEDukgg3Huc92qSG49if/xI2SAwLHQO2qaPQbjCWPBcQoO1WYfXfTACUrWV3c5A==", 668 | "dependencies": { 669 | "@babel/parser": "^7.24.7", 670 | "@vue/shared": "3.4.38", 671 | "entities": "^4.5.0", 672 | "estree-walker": "^2.0.2", 673 | "source-map-js": "^1.2.0" 674 | } 675 | }, 676 | "node_modules/@vue/compiler-dom": { 677 | "version": "3.4.38", 678 | "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.38.tgz", 679 | "integrity": "sha512-Osc/c7ABsHXTsETLgykcOwIxFktHfGSUDkb05V61rocEfsFDcjDLH/IHJSNJP+/Sv9KeN2Lx1V6McZzlSb9EhQ==", 680 | "dependencies": { 681 | "@vue/compiler-core": "3.4.38", 682 | "@vue/shared": "3.4.38" 683 | } 684 | }, 685 | "node_modules/@vue/compiler-sfc": { 686 | "version": "3.4.38", 687 | "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.38.tgz", 688 | "integrity": "sha512-s5QfZ+9PzPh3T5H4hsQDJtI8x7zdJaew/dCGgqZ2630XdzaZ3AD8xGZfBqpT8oaD/p2eedd+pL8tD5vvt5ZYJQ==", 689 | "dependencies": { 690 | "@babel/parser": "^7.24.7", 691 | "@vue/compiler-core": "3.4.38", 692 | "@vue/compiler-dom": "3.4.38", 693 | "@vue/compiler-ssr": "3.4.38", 694 | "@vue/shared": "3.4.38", 695 | "estree-walker": "^2.0.2", 696 | "magic-string": "^0.30.10", 697 | "postcss": "^8.4.40", 698 | "source-map-js": "^1.2.0" 699 | } 700 | }, 701 | "node_modules/@vue/compiler-ssr": { 702 | "version": "3.4.38", 703 | "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.38.tgz", 704 | "integrity": "sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==", 705 | "dependencies": { 706 | "@vue/compiler-dom": "3.4.38", 707 | "@vue/shared": "3.4.38" 708 | } 709 | }, 710 | "node_modules/@vue/reactivity": { 711 | "version": "3.4.38", 712 | "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.38.tgz", 713 | "integrity": "sha512-4vl4wMMVniLsSYYeldAKzbk72+D3hUnkw9z8lDeJacTxAkXeDAP1uE9xr2+aKIN0ipOL8EG2GPouVTH6yF7Gnw==", 714 | "dependencies": { 715 | "@vue/shared": "3.4.38" 716 | } 717 | }, 718 | "node_modules/@vue/runtime-core": { 719 | "version": "3.4.38", 720 | "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.38.tgz", 721 | "integrity": "sha512-21z3wA99EABtuf+O3IhdxP0iHgkBs1vuoCAsCKLVJPEjpVqvblwBnTj42vzHRlWDCyxu9ptDm7sI2ZMcWrQqlA==", 722 | "dependencies": { 723 | "@vue/reactivity": "3.4.38", 724 | "@vue/shared": "3.4.38" 725 | } 726 | }, 727 | "node_modules/@vue/runtime-dom": { 728 | "version": "3.4.38", 729 | "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.38.tgz", 730 | "integrity": "sha512-afZzmUreU7vKwKsV17H1NDThEEmdYI+GCAK/KY1U957Ig2NATPVjCROv61R19fjZNzMmiU03n79OMnXyJVN0UA==", 731 | "dependencies": { 732 | "@vue/reactivity": "3.4.38", 733 | "@vue/runtime-core": "3.4.38", 734 | "@vue/shared": "3.4.38", 735 | "csstype": "^3.1.3" 736 | } 737 | }, 738 | "node_modules/@vue/server-renderer": { 739 | "version": "3.4.38", 740 | "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.38.tgz", 741 | "integrity": "sha512-NggOTr82FbPEkkUvBm4fTGcwUY8UuTsnWC/L2YZBmvaQ4C4Jl/Ao4HHTB+l7WnFCt5M/dN3l0XLuyjzswGYVCA==", 742 | "dependencies": { 743 | "@vue/compiler-ssr": "3.4.38", 744 | "@vue/shared": "3.4.38" 745 | }, 746 | "peerDependencies": { 747 | "vue": "3.4.38" 748 | } 749 | }, 750 | "node_modules/@vue/shared": { 751 | "version": "3.4.38", 752 | "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.38.tgz", 753 | "integrity": "sha512-q0xCiLkuWWQLzVrecPb0RMsNWyxICOjPrcrwxTUEHb1fsnvni4dcuyG7RT/Ie7VPTvnjzIaWzRMUBsrqNj/hhw==" 754 | }, 755 | "node_modules/array-union": { 756 | "version": "1.0.2", 757 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", 758 | "integrity": "sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng==", 759 | "dev": true, 760 | "dependencies": { 761 | "array-uniq": "^1.0.1" 762 | }, 763 | "engines": { 764 | "node": ">=0.10.0" 765 | } 766 | }, 767 | "node_modules/array-uniq": { 768 | "version": "1.0.3", 769 | "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", 770 | "integrity": "sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==", 771 | "dev": true, 772 | "engines": { 773 | "node": ">=0.10.0" 774 | } 775 | }, 776 | "node_modules/async": { 777 | "version": "3.2.6", 778 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", 779 | "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", 780 | "dev": true 781 | }, 782 | "node_modules/balanced-match": { 783 | "version": "1.0.2", 784 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 785 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 786 | "dev": true 787 | }, 788 | "node_modules/brace-expansion": { 789 | "version": "1.1.11", 790 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 791 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 792 | "dev": true, 793 | "dependencies": { 794 | "balanced-match": "^1.0.0", 795 | "concat-map": "0.0.1" 796 | } 797 | }, 798 | "node_modules/commander": { 799 | "version": "2.20.3", 800 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", 801 | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", 802 | "dev": true 803 | }, 804 | "node_modules/commondir": { 805 | "version": "1.0.1", 806 | "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", 807 | "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", 808 | "dev": true 809 | }, 810 | "node_modules/concat-map": { 811 | "version": "0.0.1", 812 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 813 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 814 | "dev": true 815 | }, 816 | "node_modules/csstype": { 817 | "version": "3.1.3", 818 | "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", 819 | "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" 820 | }, 821 | "node_modules/email-addresses": { 822 | "version": "5.0.0", 823 | "resolved": "https://registry.npmjs.org/email-addresses/-/email-addresses-5.0.0.tgz", 824 | "integrity": "sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==", 825 | "dev": true 826 | }, 827 | "node_modules/entities": { 828 | "version": "4.5.0", 829 | "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", 830 | "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", 831 | "engines": { 832 | "node": ">=0.12" 833 | }, 834 | "funding": { 835 | "url": "https://github.com/fb55/entities?sponsor=1" 836 | } 837 | }, 838 | "node_modules/esbuild": { 839 | "version": "0.21.5", 840 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", 841 | "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", 842 | "dev": true, 843 | "hasInstallScript": true, 844 | "bin": { 845 | "esbuild": "bin/esbuild" 846 | }, 847 | "engines": { 848 | "node": ">=12" 849 | }, 850 | "optionalDependencies": { 851 | "@esbuild/aix-ppc64": "0.21.5", 852 | "@esbuild/android-arm": "0.21.5", 853 | "@esbuild/android-arm64": "0.21.5", 854 | "@esbuild/android-x64": "0.21.5", 855 | "@esbuild/darwin-arm64": "0.21.5", 856 | "@esbuild/darwin-x64": "0.21.5", 857 | "@esbuild/freebsd-arm64": "0.21.5", 858 | "@esbuild/freebsd-x64": "0.21.5", 859 | "@esbuild/linux-arm": "0.21.5", 860 | "@esbuild/linux-arm64": "0.21.5", 861 | "@esbuild/linux-ia32": "0.21.5", 862 | "@esbuild/linux-loong64": "0.21.5", 863 | "@esbuild/linux-mips64el": "0.21.5", 864 | "@esbuild/linux-ppc64": "0.21.5", 865 | "@esbuild/linux-riscv64": "0.21.5", 866 | "@esbuild/linux-s390x": "0.21.5", 867 | "@esbuild/linux-x64": "0.21.5", 868 | "@esbuild/netbsd-x64": "0.21.5", 869 | "@esbuild/openbsd-x64": "0.21.5", 870 | "@esbuild/sunos-x64": "0.21.5", 871 | "@esbuild/win32-arm64": "0.21.5", 872 | "@esbuild/win32-ia32": "0.21.5", 873 | "@esbuild/win32-x64": "0.21.5" 874 | } 875 | }, 876 | "node_modules/escape-string-regexp": { 877 | "version": "1.0.5", 878 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 879 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", 880 | "dev": true, 881 | "engines": { 882 | "node": ">=0.8.0" 883 | } 884 | }, 885 | "node_modules/estree-walker": { 886 | "version": "2.0.2", 887 | "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", 888 | "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" 889 | }, 890 | "node_modules/filename-reserved-regex": { 891 | "version": "2.0.0", 892 | "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz", 893 | "integrity": "sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==", 894 | "dev": true, 895 | "engines": { 896 | "node": ">=4" 897 | } 898 | }, 899 | "node_modules/filenamify": { 900 | "version": "4.3.0", 901 | "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz", 902 | "integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==", 903 | "dev": true, 904 | "dependencies": { 905 | "filename-reserved-regex": "^2.0.0", 906 | "strip-outer": "^1.0.1", 907 | "trim-repeated": "^1.0.0" 908 | }, 909 | "engines": { 910 | "node": ">=8" 911 | }, 912 | "funding": { 913 | "url": "https://github.com/sponsors/sindresorhus" 914 | } 915 | }, 916 | "node_modules/find-cache-dir": { 917 | "version": "3.3.2", 918 | "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", 919 | "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", 920 | "dev": true, 921 | "dependencies": { 922 | "commondir": "^1.0.1", 923 | "make-dir": "^3.0.2", 924 | "pkg-dir": "^4.1.0" 925 | }, 926 | "engines": { 927 | "node": ">=8" 928 | }, 929 | "funding": { 930 | "url": "https://github.com/avajs/find-cache-dir?sponsor=1" 931 | } 932 | }, 933 | "node_modules/find-up": { 934 | "version": "4.1.0", 935 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", 936 | "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", 937 | "dev": true, 938 | "dependencies": { 939 | "locate-path": "^5.0.0", 940 | "path-exists": "^4.0.0" 941 | }, 942 | "engines": { 943 | "node": ">=8" 944 | } 945 | }, 946 | "node_modules/fs-extra": { 947 | "version": "8.1.0", 948 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", 949 | "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", 950 | "dev": true, 951 | "dependencies": { 952 | "graceful-fs": "^4.2.0", 953 | "jsonfile": "^4.0.0", 954 | "universalify": "^0.1.0" 955 | }, 956 | "engines": { 957 | "node": ">=6 <7 || >=8" 958 | } 959 | }, 960 | "node_modules/fs.realpath": { 961 | "version": "1.0.0", 962 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 963 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 964 | "dev": true 965 | }, 966 | "node_modules/fsevents": { 967 | "version": "2.3.3", 968 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 969 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 970 | "dev": true, 971 | "hasInstallScript": true, 972 | "optional": true, 973 | "os": [ 974 | "darwin" 975 | ], 976 | "engines": { 977 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 978 | } 979 | }, 980 | "node_modules/gh-pages": { 981 | "version": "5.0.0", 982 | "resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-5.0.0.tgz", 983 | "integrity": "sha512-Nqp1SjkPIB94Xw/3yYNTUL+G2dxlhjvv1zeN/4kMC1jfViTEqhtVz/Ba1zSXHuvXCN9ADNS1dN4r5/J/nZWEQQ==", 984 | "dev": true, 985 | "dependencies": { 986 | "async": "^3.2.4", 987 | "commander": "^2.18.0", 988 | "email-addresses": "^5.0.0", 989 | "filenamify": "^4.3.0", 990 | "find-cache-dir": "^3.3.1", 991 | "fs-extra": "^8.1.0", 992 | "globby": "^6.1.0" 993 | }, 994 | "bin": { 995 | "gh-pages": "bin/gh-pages.js", 996 | "gh-pages-clean": "bin/gh-pages-clean.js" 997 | }, 998 | "engines": { 999 | "node": ">=10" 1000 | } 1001 | }, 1002 | "node_modules/glob": { 1003 | "version": "7.2.3", 1004 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 1005 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 1006 | "deprecated": "Glob versions prior to v9 are no longer supported", 1007 | "dev": true, 1008 | "dependencies": { 1009 | "fs.realpath": "^1.0.0", 1010 | "inflight": "^1.0.4", 1011 | "inherits": "2", 1012 | "minimatch": "^3.1.1", 1013 | "once": "^1.3.0", 1014 | "path-is-absolute": "^1.0.0" 1015 | }, 1016 | "engines": { 1017 | "node": "*" 1018 | }, 1019 | "funding": { 1020 | "url": "https://github.com/sponsors/isaacs" 1021 | } 1022 | }, 1023 | "node_modules/globby": { 1024 | "version": "6.1.0", 1025 | "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", 1026 | "integrity": "sha512-KVbFv2TQtbzCoxAnfD6JcHZTYCzyliEaaeM/gH8qQdkKr5s0OP9scEgvdcngyk7AVdY6YVW/TJHd+lQ/Df3Daw==", 1027 | "dev": true, 1028 | "dependencies": { 1029 | "array-union": "^1.0.1", 1030 | "glob": "^7.0.3", 1031 | "object-assign": "^4.0.1", 1032 | "pify": "^2.0.0", 1033 | "pinkie-promise": "^2.0.0" 1034 | }, 1035 | "engines": { 1036 | "node": ">=0.10.0" 1037 | } 1038 | }, 1039 | "node_modules/graceful-fs": { 1040 | "version": "4.2.11", 1041 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", 1042 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", 1043 | "dev": true 1044 | }, 1045 | "node_modules/inflight": { 1046 | "version": "1.0.6", 1047 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1048 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1049 | "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", 1050 | "dev": true, 1051 | "dependencies": { 1052 | "once": "^1.3.0", 1053 | "wrappy": "1" 1054 | } 1055 | }, 1056 | "node_modules/inherits": { 1057 | "version": "2.0.4", 1058 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1059 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1060 | "dev": true 1061 | }, 1062 | "node_modules/jsonfile": { 1063 | "version": "4.0.0", 1064 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", 1065 | "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", 1066 | "dev": true, 1067 | "optionalDependencies": { 1068 | "graceful-fs": "^4.1.6" 1069 | } 1070 | }, 1071 | "node_modules/locate-path": { 1072 | "version": "5.0.0", 1073 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", 1074 | "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", 1075 | "dev": true, 1076 | "dependencies": { 1077 | "p-locate": "^4.1.0" 1078 | }, 1079 | "engines": { 1080 | "node": ">=8" 1081 | } 1082 | }, 1083 | "node_modules/magic-string": { 1084 | "version": "0.30.11", 1085 | "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", 1086 | "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==", 1087 | "dependencies": { 1088 | "@jridgewell/sourcemap-codec": "^1.5.0" 1089 | } 1090 | }, 1091 | "node_modules/make-dir": { 1092 | "version": "3.1.0", 1093 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", 1094 | "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", 1095 | "dev": true, 1096 | "dependencies": { 1097 | "semver": "^6.0.0" 1098 | }, 1099 | "engines": { 1100 | "node": ">=8" 1101 | }, 1102 | "funding": { 1103 | "url": "https://github.com/sponsors/sindresorhus" 1104 | } 1105 | }, 1106 | "node_modules/minimatch": { 1107 | "version": "3.1.2", 1108 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1109 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1110 | "dev": true, 1111 | "dependencies": { 1112 | "brace-expansion": "^1.1.7" 1113 | }, 1114 | "engines": { 1115 | "node": "*" 1116 | } 1117 | }, 1118 | "node_modules/nanoid": { 1119 | "version": "3.3.7", 1120 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", 1121 | "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", 1122 | "funding": [ 1123 | { 1124 | "type": "github", 1125 | "url": "https://github.com/sponsors/ai" 1126 | } 1127 | ], 1128 | "bin": { 1129 | "nanoid": "bin/nanoid.cjs" 1130 | }, 1131 | "engines": { 1132 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 1133 | } 1134 | }, 1135 | "node_modules/object-assign": { 1136 | "version": "4.1.1", 1137 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1138 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", 1139 | "dev": true, 1140 | "engines": { 1141 | "node": ">=0.10.0" 1142 | } 1143 | }, 1144 | "node_modules/once": { 1145 | "version": "1.4.0", 1146 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1147 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1148 | "dev": true, 1149 | "dependencies": { 1150 | "wrappy": "1" 1151 | } 1152 | }, 1153 | "node_modules/p-limit": { 1154 | "version": "2.3.0", 1155 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", 1156 | "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", 1157 | "dev": true, 1158 | "dependencies": { 1159 | "p-try": "^2.0.0" 1160 | }, 1161 | "engines": { 1162 | "node": ">=6" 1163 | }, 1164 | "funding": { 1165 | "url": "https://github.com/sponsors/sindresorhus" 1166 | } 1167 | }, 1168 | "node_modules/p-locate": { 1169 | "version": "4.1.0", 1170 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", 1171 | "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", 1172 | "dev": true, 1173 | "dependencies": { 1174 | "p-limit": "^2.2.0" 1175 | }, 1176 | "engines": { 1177 | "node": ">=8" 1178 | } 1179 | }, 1180 | "node_modules/p-try": { 1181 | "version": "2.2.0", 1182 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", 1183 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", 1184 | "dev": true, 1185 | "engines": { 1186 | "node": ">=6" 1187 | } 1188 | }, 1189 | "node_modules/path-exists": { 1190 | "version": "4.0.0", 1191 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1192 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1193 | "dev": true, 1194 | "engines": { 1195 | "node": ">=8" 1196 | } 1197 | }, 1198 | "node_modules/path-is-absolute": { 1199 | "version": "1.0.1", 1200 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1201 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1202 | "dev": true, 1203 | "engines": { 1204 | "node": ">=0.10.0" 1205 | } 1206 | }, 1207 | "node_modules/picocolors": { 1208 | "version": "1.0.1", 1209 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", 1210 | "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" 1211 | }, 1212 | "node_modules/pify": { 1213 | "version": "2.3.0", 1214 | "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", 1215 | "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", 1216 | "dev": true, 1217 | "engines": { 1218 | "node": ">=0.10.0" 1219 | } 1220 | }, 1221 | "node_modules/pinkie": { 1222 | "version": "2.0.4", 1223 | "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", 1224 | "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", 1225 | "dev": true, 1226 | "engines": { 1227 | "node": ">=0.10.0" 1228 | } 1229 | }, 1230 | "node_modules/pinkie-promise": { 1231 | "version": "2.0.1", 1232 | "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", 1233 | "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", 1234 | "dev": true, 1235 | "dependencies": { 1236 | "pinkie": "^2.0.0" 1237 | }, 1238 | "engines": { 1239 | "node": ">=0.10.0" 1240 | } 1241 | }, 1242 | "node_modules/pkg-dir": { 1243 | "version": "4.2.0", 1244 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", 1245 | "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", 1246 | "dev": true, 1247 | "dependencies": { 1248 | "find-up": "^4.0.0" 1249 | }, 1250 | "engines": { 1251 | "node": ">=8" 1252 | } 1253 | }, 1254 | "node_modules/postcss": { 1255 | "version": "8.4.41", 1256 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", 1257 | "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", 1258 | "funding": [ 1259 | { 1260 | "type": "opencollective", 1261 | "url": "https://opencollective.com/postcss/" 1262 | }, 1263 | { 1264 | "type": "tidelift", 1265 | "url": "https://tidelift.com/funding/github/npm/postcss" 1266 | }, 1267 | { 1268 | "type": "github", 1269 | "url": "https://github.com/sponsors/ai" 1270 | } 1271 | ], 1272 | "dependencies": { 1273 | "nanoid": "^3.3.7", 1274 | "picocolors": "^1.0.1", 1275 | "source-map-js": "^1.2.0" 1276 | }, 1277 | "engines": { 1278 | "node": "^10 || ^12 || >=14" 1279 | } 1280 | }, 1281 | "node_modules/rollup": { 1282 | "version": "4.21.1", 1283 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.1.tgz", 1284 | "integrity": "sha512-ZnYyKvscThhgd3M5+Qt3pmhO4jIRR5RGzaSovB6Q7rGNrK5cUncrtLmcTTJVSdcKXyZjW8X8MB0JMSuH9bcAJg==", 1285 | "dev": true, 1286 | "dependencies": { 1287 | "@types/estree": "1.0.5" 1288 | }, 1289 | "bin": { 1290 | "rollup": "dist/bin/rollup" 1291 | }, 1292 | "engines": { 1293 | "node": ">=18.0.0", 1294 | "npm": ">=8.0.0" 1295 | }, 1296 | "optionalDependencies": { 1297 | "@rollup/rollup-android-arm-eabi": "4.21.1", 1298 | "@rollup/rollup-android-arm64": "4.21.1", 1299 | "@rollup/rollup-darwin-arm64": "4.21.1", 1300 | "@rollup/rollup-darwin-x64": "4.21.1", 1301 | "@rollup/rollup-linux-arm-gnueabihf": "4.21.1", 1302 | "@rollup/rollup-linux-arm-musleabihf": "4.21.1", 1303 | "@rollup/rollup-linux-arm64-gnu": "4.21.1", 1304 | "@rollup/rollup-linux-arm64-musl": "4.21.1", 1305 | "@rollup/rollup-linux-powerpc64le-gnu": "4.21.1", 1306 | "@rollup/rollup-linux-riscv64-gnu": "4.21.1", 1307 | "@rollup/rollup-linux-s390x-gnu": "4.21.1", 1308 | "@rollup/rollup-linux-x64-gnu": "4.21.1", 1309 | "@rollup/rollup-linux-x64-musl": "4.21.1", 1310 | "@rollup/rollup-win32-arm64-msvc": "4.21.1", 1311 | "@rollup/rollup-win32-ia32-msvc": "4.21.1", 1312 | "@rollup/rollup-win32-x64-msvc": "4.21.1", 1313 | "fsevents": "~2.3.2" 1314 | } 1315 | }, 1316 | "node_modules/semver": { 1317 | "version": "6.3.1", 1318 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", 1319 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", 1320 | "dev": true, 1321 | "bin": { 1322 | "semver": "bin/semver.js" 1323 | } 1324 | }, 1325 | "node_modules/source-map-js": { 1326 | "version": "1.2.0", 1327 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", 1328 | "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", 1329 | "engines": { 1330 | "node": ">=0.10.0" 1331 | } 1332 | }, 1333 | "node_modules/strip-outer": { 1334 | "version": "1.0.1", 1335 | "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz", 1336 | "integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==", 1337 | "dev": true, 1338 | "dependencies": { 1339 | "escape-string-regexp": "^1.0.2" 1340 | }, 1341 | "engines": { 1342 | "node": ">=0.10.0" 1343 | } 1344 | }, 1345 | "node_modules/to-fast-properties": { 1346 | "version": "2.0.0", 1347 | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", 1348 | "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", 1349 | "engines": { 1350 | "node": ">=4" 1351 | } 1352 | }, 1353 | "node_modules/trim-repeated": { 1354 | "version": "1.0.0", 1355 | "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz", 1356 | "integrity": "sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==", 1357 | "dev": true, 1358 | "dependencies": { 1359 | "escape-string-regexp": "^1.0.2" 1360 | }, 1361 | "engines": { 1362 | "node": ">=0.10.0" 1363 | } 1364 | }, 1365 | "node_modules/universalify": { 1366 | "version": "0.1.2", 1367 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", 1368 | "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", 1369 | "dev": true, 1370 | "engines": { 1371 | "node": ">= 4.0.0" 1372 | } 1373 | }, 1374 | "node_modules/uuid": { 1375 | "version": "10.0.0", 1376 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", 1377 | "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", 1378 | "funding": [ 1379 | "https://github.com/sponsors/broofa", 1380 | "https://github.com/sponsors/ctavan" 1381 | ], 1382 | "bin": { 1383 | "uuid": "dist/bin/uuid" 1384 | } 1385 | }, 1386 | "node_modules/vite": { 1387 | "version": "5.4.2", 1388 | "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.2.tgz", 1389 | "integrity": "sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==", 1390 | "dev": true, 1391 | "dependencies": { 1392 | "esbuild": "^0.21.3", 1393 | "postcss": "^8.4.41", 1394 | "rollup": "^4.20.0" 1395 | }, 1396 | "bin": { 1397 | "vite": "bin/vite.js" 1398 | }, 1399 | "engines": { 1400 | "node": "^18.0.0 || >=20.0.0" 1401 | }, 1402 | "funding": { 1403 | "url": "https://github.com/vitejs/vite?sponsor=1" 1404 | }, 1405 | "optionalDependencies": { 1406 | "fsevents": "~2.3.3" 1407 | }, 1408 | "peerDependencies": { 1409 | "@types/node": "^18.0.0 || >=20.0.0", 1410 | "less": "*", 1411 | "lightningcss": "^1.21.0", 1412 | "sass": "*", 1413 | "sass-embedded": "*", 1414 | "stylus": "*", 1415 | "sugarss": "*", 1416 | "terser": "^5.4.0" 1417 | }, 1418 | "peerDependenciesMeta": { 1419 | "@types/node": { 1420 | "optional": true 1421 | }, 1422 | "less": { 1423 | "optional": true 1424 | }, 1425 | "lightningcss": { 1426 | "optional": true 1427 | }, 1428 | "sass": { 1429 | "optional": true 1430 | }, 1431 | "sass-embedded": { 1432 | "optional": true 1433 | }, 1434 | "stylus": { 1435 | "optional": true 1436 | }, 1437 | "sugarss": { 1438 | "optional": true 1439 | }, 1440 | "terser": { 1441 | "optional": true 1442 | } 1443 | } 1444 | }, 1445 | "node_modules/vue": { 1446 | "version": "3.4.38", 1447 | "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.38.tgz", 1448 | "integrity": "sha512-f0ZgN+mZ5KFgVv9wz0f4OgVKukoXtS3nwET4c2vLBGQR50aI8G0cqbFtLlX9Yiyg3LFGBitruPHt2PxwTduJEw==", 1449 | "dependencies": { 1450 | "@vue/compiler-dom": "3.4.38", 1451 | "@vue/compiler-sfc": "3.4.38", 1452 | "@vue/runtime-dom": "3.4.38", 1453 | "@vue/server-renderer": "3.4.38", 1454 | "@vue/shared": "3.4.38" 1455 | }, 1456 | "peerDependencies": { 1457 | "typescript": "*" 1458 | }, 1459 | "peerDependenciesMeta": { 1460 | "typescript": { 1461 | "optional": true 1462 | } 1463 | } 1464 | }, 1465 | "node_modules/wrappy": { 1466 | "version": "1.0.2", 1467 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1468 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 1469 | "dev": true 1470 | } 1471 | } 1472 | } 1473 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "homepage": "", 3 | "name": "chatbox2openwebui", 4 | "version": "1.0.0", 5 | "main": "index.js", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vite build", 9 | "preview": "vite preview", 10 | "predeploy": "vite build", 11 | "deploy": "gh-pages -d dist" 12 | }, 13 | "keywords": [], 14 | "author": "", 15 | "license": "ISC", 16 | "description": "", 17 | "dependencies": { 18 | "uuid": "^10.0.0", 19 | "vue": "^3.4.38" 20 | }, 21 | "devDependencies": { 22 | "@vitejs/plugin-vue": "^5.1.2", 23 | "vite": "^5.4.2", 24 | "gh-pages": "^5.0.0" 25 | } 26 | } -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 81 | 82 | 324 | 325 | -------------------------------------------------------------------------------- /src/components/Modal.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | 4 | createApp(App).mount('#app') -------------------------------------------------------------------------------- /src/utils/converter.js: -------------------------------------------------------------------------------- 1 | import { v4 as uuidv4 } from 'uuid'; 2 | 3 | const USER_ROLE = "user"; 4 | const ASSISTANT_ROLE = "assistant"; 5 | const SYSTEM_ROLE = "system"; 6 | 7 | export function isValidConversation(messages) { 8 | let lastRole = null; 9 | for (let msg of messages) { 10 | if (msg.role === lastRole && (lastRole === USER_ROLE || lastRole === ASSISTANT_ROLE)) { 11 | return false; 12 | } 13 | lastRole = msg.role; 14 | } 15 | return true; 16 | } 17 | 18 | export function convertConversation(conversation, model) { 19 | let messages = []; 20 | let messageDict = {}; 21 | let lastMessageId = null; 22 | let systemContent = ""; 23 | 24 | for (let msg of conversation.messages) { 25 | if (msg.role === SYSTEM_ROLE) { 26 | systemContent = msg.content; 27 | continue; 28 | } 29 | 30 | if (msg.role === USER_ROLE || msg.role === ASSISTANT_ROLE) { 31 | let content = msg.content; 32 | if (msg.pictures && msg.pictures.length > 0) { 33 | content += "\n[该消息原本包含图片,但未被保存]"; 34 | } 35 | 36 | let message = { 37 | id: msg.id, 38 | parentId: lastMessageId, 39 | childrenIds: [], 40 | role: msg.role, 41 | content: content, 42 | timestamp: msg.timestamp ? Math.floor(msg.timestamp / 1000) : Math.floor(Date.now() / 1000), 43 | models: msg.role === USER_ROLE ? [model] : [], 44 | model: msg.role === ASSISTANT_ROLE ? model : null, 45 | modelName: msg.role === ASSISTANT_ROLE ? model : null, 46 | modelIdx: msg.role === ASSISTANT_ROLE ? 0 : null, 47 | done: msg.role === ASSISTANT_ROLE ? true : null, 48 | userContext: msg.role === ASSISTANT_ROLE ? null : null 49 | }; 50 | if (lastMessageId) { 51 | messages[messages.length - 1].childrenIds.push(msg.id); 52 | } 53 | messages.push(message); 54 | messageDict[msg.id] = message; 55 | lastMessageId = msg.id; 56 | } 57 | } 58 | 59 | return { 60 | id: "", 61 | title: conversation.name || "未命名对话", 62 | models: [model], 63 | system: "", 64 | params: { 65 | system: systemContent 66 | }, 67 | messages: messages, 68 | history: { 69 | messages: messageDict, 70 | currentId: lastMessageId 71 | }, 72 | tags: [], 73 | timestamp: Math.floor(Date.now() / 1000), 74 | files: [] 75 | }; 76 | } -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import vue from '@vitejs/plugin-vue' 3 | 4 | export default defineConfig({ 5 | base: './', 6 | plugins: [vue()] 7 | }) -------------------------------------------------------------------------------- /使用示例.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CookSleep/ChatBox2OpenWebUI/46d27eb49f35711ebb3314fdd84b6fe9fdf15bb9/使用示例.png --------------------------------------------------------------------------------