fiverunner 0.0.0-stage → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,592 @@
1
+ # Third-party notices
2
+
3
+ FiveRunner's own code is licensed under the MIT License (see [LICENSE](LICENSE)).
4
+
5
+ `src/core/lua/cfxlua.wasm` is compiled from the projects below, at the commits pinned
6
+ under [native/vendor](native/vendor), together with the Emscripten runtime libraries.
7
+ Every script runtime also loads one Lua library, [lua-promises](#lua-promises). The
8
+ catalog of FiveM natives is generated from the
9
+ [CitizenFX typings](#citizenfx-typings), and the types of the files NUI serves from the
10
+ [mime](#mime) package. The database of FiveRunner's oxmysql is
11
+ [SQLite](#sqlite-and-sqlite-wasm). The dev UI gives the pages of frames [jQuery](#jquery) at
12
+ nui://game/ui/jquery.js, as FiveM's NUI does.
13
+
14
+ ## Lua and LuaGLM
15
+
16
+ [citizenfx/lua](https://github.com/citizenfx/lua): Lua 5.4 with the LuaGLM extensions,
17
+ the runtime FiveM ships as CfxLua. MIT License.
18
+
19
+ ```text
20
+ Copyright (C) 1994-2025 Lua.org, PUC-Rio.
21
+ Copyright (C) 2020 - gottfriedleibniz
22
+
23
+ Permission is hereby granted, free of charge, to any person obtaining
24
+ a copy of this software and associated documentation files (the
25
+ "Software"), to deal in the Software without restriction, including
26
+ without limitation the rights to use, copy, modify, merge, publish,
27
+ distribute, sublicense, and/or sell copies of the Software, and to
28
+ permit persons to whom the Software is furnished to do so, subject to
29
+ the following conditions:
30
+
31
+ The above copyright notice and this permission notice shall be
32
+ included in all copies or substantial portions of the Software.
33
+
34
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
36
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
37
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
38
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
39
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
40
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
41
+ ```
42
+
43
+ ## OpenGL Mathematics (GLM)
44
+
45
+ [citizenfx/glm](https://github.com/citizenfx/glm). GLM is offered under the Happy Bunny
46
+ License or the MIT License; FiveRunner uses it under the MIT License.
47
+
48
+ ```text
49
+ Copyright (c) 2005 - G-Truc Creation
50
+
51
+ Permission is hereby granted, free of charge, to any person obtaining a copy
52
+ of this software and associated documentation files (the "Software"), to deal
53
+ in the Software without restriction, including without limitation the rights
54
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
55
+ copies of the Software, and to permit persons to whom the Software is
56
+ furnished to do so, subject to the following conditions:
57
+
58
+ The above copyright notice and this permission notice shall be included in
59
+ all copies or substantial portions of the Software.
60
+
61
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
64
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
66
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
67
+ THE SOFTWARE.
68
+ ```
69
+
70
+ ## MathGeoLib
71
+
72
+ The geometry functions of the GLM binding (`libs/glm-binding/geom` in citizenfx/lua) are
73
+ derived from MathGeoLib, Copyright Jukka Jylänki, licensed under the Apache License,
74
+ Version 2.0. The license text is at the end of this file.
75
+
76
+ ## luamsgpack-c
77
+
78
+ [citizenfx/lua-cmsgpack](https://github.com/citizenfx/lua-cmsgpack). MIT License.
79
+
80
+ ```text
81
+ Copyright (C) 2021 - gottfriedleibniz
82
+ Copyright (C) 2012 - Salvatore Sanfilippo (https://github.com/antirez/lua-cmsgpack)
83
+
84
+ Permission is hereby granted, free of charge, to any person obtaining
85
+ a copy of this software and associated documentation files (the
86
+ "Software"), to deal in the Software without restriction, including
87
+ without limitation the rights to use, copy, modify, merge, publish,
88
+ distribute, sublicense, and/or sell copies of the Software, and to
89
+ permit persons to whom the Software is furnished to do so, subject to
90
+ the following conditions:
91
+
92
+ The above copyright notice and this permission notice shall be
93
+ included in all copies or substantial portions of the Software.
94
+
95
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
96
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
97
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
98
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
99
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
100
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
101
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
102
+ ```
103
+
104
+ ## msgpack-c
105
+
106
+ [msgpack/msgpack-c](https://github.com/msgpack/msgpack-c). Boost Software License 1.0.
107
+
108
+ ```text
109
+ Boost Software License - Version 1.0 - August 17th, 2003
110
+
111
+ Permission is hereby granted, free of charge, to any person or organization
112
+ obtaining a copy of the software and accompanying documentation covered by
113
+ this license (the "Software") to use, reproduce, display, distribute,
114
+ execute, and transmit the Software, and to prepare derivative works of the
115
+ Software, and to permit third-parties to whom the Software is furnished to
116
+ do so, all subject to the following:
117
+
118
+ The copyright notices in the Software and this entire statement, including
119
+ the above license grant, this restriction and the following disclaimer,
120
+ must be included in all copies of the Software, in whole or in part, and
121
+ all derivative works of the Software, unless such copies or derivative
122
+ works are solely in the form of machine-executable object code generated by
123
+ a source language processor.
124
+
125
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
126
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
127
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
128
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
129
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
130
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
131
+ DEALINGS IN THE SOFTWARE.
132
+ ```
133
+
134
+ ## lua-rapidjson
135
+
136
+ [citizenfx/lua-rapidjson](https://github.com/citizenfx/lua-rapidjson). MIT License.
137
+
138
+ ```text
139
+ Copyright (C) 2015 Xpol Wan
140
+ Copyright (C) 2020 Gottfried Leibniz
141
+
142
+ Permission is hereby granted, free of charge, to any person obtaining a copy
143
+ of this software and associated documentation files (the "Software"), to deal
144
+ in the Software without restriction, including without limitation the rights
145
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
146
+ copies of the Software, and to permit persons to whom the Software is
147
+ furnished to do so, subject to the following conditions:
148
+
149
+ The above copyright notice and this permission notice shall be included in
150
+ all copies or substantial portions of the Software.
151
+
152
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
153
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
154
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
155
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
156
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
157
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
158
+ THE SOFTWARE.
159
+ ```
160
+
161
+ ## RapidJSON
162
+
163
+ [Tencent/rapidjson](https://github.com/Tencent/rapidjson). MIT License. Only its
164
+ MIT-licensed headers are compiled; the BSD-licensed msinttypes and the JSON-licensed
165
+ jsonchecker are not used.
166
+
167
+ ```text
168
+ Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip.
169
+
170
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
171
+
172
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
173
+
174
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
175
+ ```
176
+
177
+ ## Emscripten runtime libraries
178
+
179
+ [Emscripten](https://emscripten.org) links parts of these libraries into the module.
180
+
181
+ ### musl libc
182
+
183
+ MIT License.
184
+
185
+ ```text
186
+ Copyright © 2005-2020 Rich Felker, et al.
187
+
188
+ Permission is hereby granted, free of charge, to any person obtaining
189
+ a copy of this software and associated documentation files (the
190
+ "Software"), to deal in the Software without restriction, including
191
+ without limitation the rights to use, copy, modify, merge, publish,
192
+ distribute, sublicense, and/or sell copies of the Software, and to
193
+ permit persons to whom the Software is furnished to do so, subject to
194
+ the following conditions:
195
+
196
+ The above copyright notice and this permission notice shall be
197
+ included in all copies or substantial portions of the Software.
198
+
199
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
200
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
201
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
202
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
203
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
204
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
205
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
206
+ ```
207
+
208
+ ### Emscripten
209
+
210
+ Emscripten is available under the MIT License and the University of Illinois/NCSA Open
211
+ Source License; FiveRunner uses it under the MIT License.
212
+
213
+ ```text
214
+ Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
215
+
216
+ Permission is hereby granted, free of charge, to any person obtaining a copy
217
+ of this software and associated documentation files (the "Software"), to deal
218
+ in the Software without restriction, including without limitation the rights
219
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
220
+ copies of the Software, and to permit persons to whom the Software is
221
+ furnished to do so, subject to the following conditions:
222
+
223
+ The above copyright notice and this permission notice shall be included in
224
+ all copies or substantial portions of the Software.
225
+
226
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
227
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
228
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
229
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
230
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
231
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
232
+ THE SOFTWARE.
233
+ ```
234
+
235
+ ### dlmalloc
236
+
237
+ Written by Doug Lea and released to the public domain
238
+ ([CC0](https://creativecommons.org/publicdomain/zero/1.0/)).
239
+
240
+ ### LLVM libc++, libc++abi and compiler-rt
241
+
242
+ Apache License 2.0 with LLVM Exceptions, which allow distributing the compiled form
243
+ without these notices. Listed for completeness.
244
+
245
+ ```text
246
+ ---- LLVM Exceptions to the Apache 2.0 License ----
247
+
248
+ As an exception, if, as a result of your compiling your source code, portions
249
+ of this Software are embedded into an Object form of such source code, you
250
+ may redistribute such embedded portions in such Object form without complying
251
+ with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
252
+
253
+ In addition, if you combine or link compiled forms of this Software with
254
+ software that is licensed under the GPLv2 ("Combined Software") and if a
255
+ court of competent jurisdiction determines that the patent provision (Section
256
+ 3), the indemnity provision (Section 9) or other Section of the License
257
+ conflicts with the conditions of the GPLv2, you may retroactively and
258
+ prospectively choose to deem waived or otherwise exclude such Section(s) of
259
+ the License, but only in their entirety and only with respect to the Combined
260
+ Software.
261
+ ```
262
+
263
+ ## lua-promises
264
+
265
+ [zserge/lua-promises](https://github.com/zserge/lua-promises), the promise library FiveM
266
+ provides as `promise`, is included unmodified as
267
+ [src/core/scripting/lua/vendor/deferred.lua](src/core/scripting/lua/vendor/deferred.lua).
268
+ MIT License.
269
+
270
+ ```text
271
+ The MIT License (MIT)
272
+
273
+ Copyright (c) 2015 Serge Zaitsev
274
+
275
+ Permission is hereby granted, free of charge, to any person obtaining a copy
276
+ of this software and associated documentation files (the "Software"), to deal
277
+ in the Software without restriction, including without limitation the rights
278
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
279
+ copies of the Software, and to permit persons to whom the Software is
280
+ furnished to do so, subject to the following conditions:
281
+
282
+ The above copyright notice and this permission notice shall be included in all
283
+ copies or substantial portions of the Software.
284
+
285
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
286
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
287
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
288
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
289
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
290
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
291
+ SOFTWARE.
292
+ ```
293
+
294
+ ## CitizenFX typings
295
+
296
+ [src/core/natives/catalog](src/core/natives/catalog) is generated by
297
+ [scripts/generate-natives.ts](scripts/generate-natives.ts) from the native declarations
298
+ in the npm packages [@citizenfx/client](https://www.npmjs.com/package/@citizenfx/client)
299
+ and [@citizenfx/server](https://www.npmjs.com/package/@citizenfx/server), the TypeScript
300
+ typings Cfx.re publishes for FiveM's JavaScript runtime, at the versions pinned in
301
+ [package.json](package.json). The catalog keeps the names, aliases, parameter names and
302
+ signatures of the natives and the number of lines of their documentation, but none of the
303
+ documentation itself. The packages declare the ISC License and name no copyright holder.
304
+
305
+ ```text
306
+ Permission to use, copy, modify, and/or distribute this software for any
307
+ purpose with or without fee is hereby granted, provided that the above
308
+ copyright notice and this permission notice appear in all copies.
309
+
310
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
311
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
312
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
313
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
314
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
315
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
316
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
317
+ ```
318
+
319
+ ## mime
320
+
321
+ [src/core/engine/mime.json](src/core/engine/mime.json) is generated by
322
+ [scripts/generate-mime.ts](scripts/generate-mime.ts) from the standard types of the npm
323
+ package [mime](https://www.npmjs.com/package/mime), at the version pinned in
324
+ [package.json](package.json). MIT License.
325
+
326
+ ```text
327
+ Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
328
+
329
+ Permission is hereby granted, free of charge, to any person obtaining a copy
330
+ of this software and associated documentation files (the "Software"), to deal
331
+ in the Software without restriction, including without limitation the rights
332
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
333
+ copies of the Software, and to permit persons to whom the Software is
334
+ furnished to do so, subject to the following conditions:
335
+
336
+ The above copyright notice and this permission notice shall be included in
337
+ all copies or substantial portions of the Software.
338
+
339
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
340
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
341
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
342
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
343
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
344
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
345
+ THE SOFTWARE.
346
+ ```
347
+
348
+ ## jQuery
349
+
350
+ [src/dev/public/game/ui/jquery.js](src/dev/public/game/ui/jquery.js) is
351
+ `dist/jquery.min.js` of the npm package [jquery](https://www.npmjs.com/package/jquery) at
352
+ version 2.1.1, the version that FiveM's NUI serves, without the comment that names its
353
+ source map. MIT License.
354
+
355
+ ```text
356
+ Copyright 2014 jQuery Foundation and other contributors
357
+ http://jquery.com/
358
+
359
+ Permission is hereby granted, free of charge, to any person obtaining
360
+ a copy of this software and associated documentation files (the
361
+ "Software"), to deal in the Software without restriction, including
362
+ without limitation the rights to use, copy, modify, merge, publish,
363
+ distribute, sublicense, and/or sell copies of the Software, and to
364
+ permit persons to whom the Software is furnished to do so, subject to
365
+ the following conditions:
366
+
367
+ The above copyright notice and this permission notice shall be
368
+ included in all copies or substantial portions of the Software.
369
+
370
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
371
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
372
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
373
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
374
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
375
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
376
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
377
+ ```
378
+
379
+ ## SQLite and SQLite Wasm
380
+
381
+ `sqlite3.wasm`, next to the built tool and among the assets of the dev UI, is SQLite
382
+ compiled to WebAssembly, and the built tool and the dev UI bundle its JavaScript, both
383
+ from the npm package [@sqlite.org/sqlite-wasm](https://www.npmjs.com/package/@sqlite.org/sqlite-wasm)
384
+ at the version pinned in [package.json](package.json). SQLite is in the
385
+ [public domain](https://sqlite.org/copyright.html). The package is licensed under the
386
+ Apache License, Version 2.0. The license text is at the end of this file.
387
+
388
+ ## Apache License 2.0
389
+
390
+ ```text
391
+ Apache License
392
+ Version 2.0, January 2004
393
+ http://www.apache.org/licenses/
394
+
395
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
396
+
397
+ 1. Definitions.
398
+
399
+ "License" shall mean the terms and conditions for use, reproduction,
400
+ and distribution as defined by Sections 1 through 9 of this document.
401
+
402
+ "Licensor" shall mean the copyright owner or entity authorized by
403
+ the copyright owner that is granting the License.
404
+
405
+ "Legal Entity" shall mean the union of the acting entity and all
406
+ other entities that control, are controlled by, or are under common
407
+ control with that entity. For the purposes of this definition,
408
+ "control" means (i) the power, direct or indirect, to cause the
409
+ direction or management of such entity, whether by contract or
410
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
411
+ outstanding shares, or (iii) beneficial ownership of such entity.
412
+
413
+ "You" (or "Your") shall mean an individual or Legal Entity
414
+ exercising permissions granted by this License.
415
+
416
+ "Source" form shall mean the preferred form for making modifications,
417
+ including but not limited to software source code, documentation
418
+ source, and configuration files.
419
+
420
+ "Object" form shall mean any form resulting from mechanical
421
+ transformation or translation of a Source form, including but
422
+ not limited to compiled object code, generated documentation,
423
+ and conversions to other media types.
424
+
425
+ "Work" shall mean the work of authorship, whether in Source or
426
+ Object form, made available under the License, as indicated by a
427
+ copyright notice that is included in or attached to the work
428
+ (an example is provided in the Appendix below).
429
+
430
+ "Derivative Works" shall mean any work, whether in Source or Object
431
+ form, that is based on (or derived from) the Work and for which the
432
+ editorial revisions, annotations, elaborations, or other modifications
433
+ represent, as a whole, an original work of authorship. For the purposes
434
+ of this License, Derivative Works shall not include works that remain
435
+ separable from, or merely link (or bind by name) to the interfaces of,
436
+ the Work and Derivative Works thereof.
437
+
438
+ "Contribution" shall mean any work of authorship, including
439
+ the original version of the Work and any modifications or additions
440
+ to that Work or Derivative Works thereof, that is intentionally
441
+ submitted to Licensor for inclusion in the Work by the copyright owner
442
+ or by an individual or Legal Entity authorized to submit on behalf of
443
+ the copyright owner. For the purposes of this definition, "submitted"
444
+ means any form of electronic, verbal, or written communication sent
445
+ to the Licensor or its representatives, including but not limited to
446
+ communication on electronic mailing lists, source code control systems,
447
+ and issue tracking systems that are managed by, or on behalf of, the
448
+ Licensor for the purpose of discussing and improving the Work, but
449
+ excluding communication that is conspicuously marked or otherwise
450
+ designated in writing by the copyright owner as "Not a Contribution."
451
+
452
+ "Contributor" shall mean Licensor and any individual or Legal Entity
453
+ on behalf of whom a Contribution has been received by Licensor and
454
+ subsequently incorporated within the Work.
455
+
456
+ 2. Grant of Copyright License. Subject to the terms and conditions of
457
+ this License, each Contributor hereby grants to You a perpetual,
458
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
459
+ copyright license to reproduce, prepare Derivative Works of,
460
+ publicly display, publicly perform, sublicense, and distribute the
461
+ Work and such Derivative Works in Source or Object form.
462
+
463
+ 3. Grant of Patent License. Subject to the terms and conditions of
464
+ this License, each Contributor hereby grants to You a perpetual,
465
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
466
+ (except as stated in this section) patent license to make, have made,
467
+ use, offer to sell, sell, import, and otherwise transfer the Work,
468
+ where such license applies only to those patent claims licensable
469
+ by such Contributor that are necessarily infringed by their
470
+ Contribution(s) alone or by combination of their Contribution(s)
471
+ with the Work to which such Contribution(s) was submitted. If You
472
+ institute patent litigation against any entity (including a
473
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
474
+ or a Contribution incorporated within the Work constitutes direct
475
+ or contributory patent infringement, then any patent licenses
476
+ granted to You under this License for that Work shall terminate
477
+ as of the date such litigation is filed.
478
+
479
+ 4. Redistribution. You may reproduce and distribute copies of the
480
+ Work or Derivative Works thereof in any medium, with or without
481
+ modifications, and in Source or Object form, provided that You
482
+ meet the following conditions:
483
+
484
+ (a) You must give any other recipients of the Work or
485
+ Derivative Works a copy of this License; and
486
+
487
+ (b) You must cause any modified files to carry prominent notices
488
+ stating that You changed the files; and
489
+
490
+ (c) You must retain, in the Source form of any Derivative Works
491
+ that You distribute, all copyright, patent, trademark, and
492
+ attribution notices from the Source form of the Work,
493
+ excluding those notices that do not pertain to any part of
494
+ the Derivative Works; and
495
+
496
+ (d) If the Work includes a "NOTICE" text file as part of its
497
+ distribution, then any Derivative Works that You distribute must
498
+ include a readable copy of the attribution notices contained
499
+ within such NOTICE file, excluding those notices that do not
500
+ pertain to any part of the Derivative Works, in at least one
501
+ of the following places: within a NOTICE text file distributed
502
+ as part of the Derivative Works; within the Source form or
503
+ documentation, if provided along with the Derivative Works; or,
504
+ within a display generated by the Derivative Works, if and
505
+ wherever such third-party notices normally appear. The contents
506
+ of the NOTICE file are for informational purposes only and
507
+ do not modify the License. You may add Your own attribution
508
+ notices within Derivative Works that You distribute, alongside
509
+ or as an addendum to the NOTICE text from the Work, provided
510
+ that such additional attribution notices cannot be construed
511
+ as modifying the License.
512
+
513
+ You may add Your own copyright statement to Your modifications and
514
+ may provide additional or different license terms and conditions
515
+ for use, reproduction, or distribution of Your modifications, or
516
+ for any such Derivative Works as a whole, provided Your use,
517
+ reproduction, and distribution of the Work otherwise complies with
518
+ the conditions stated in this License.
519
+
520
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
521
+ any Contribution intentionally submitted for inclusion in the Work
522
+ by You to the Licensor shall be under the terms and conditions of
523
+ this License, without any additional terms or conditions.
524
+ Notwithstanding the above, nothing herein shall supersede or modify
525
+ the terms of any separate license agreement you may have executed
526
+ with Licensor regarding such Contributions.
527
+
528
+ 6. Trademarks. This License does not grant permission to use the trade
529
+ names, trademarks, service marks, or product names of the Licensor,
530
+ except as required for reasonable and customary use in describing the
531
+ origin of the Work and reproducing the content of the NOTICE file.
532
+
533
+ 7. Disclaimer of Warranty. Unless required by applicable law or
534
+ agreed to in writing, Licensor provides the Work (and each
535
+ Contributor provides its Contributions) on an "AS IS" BASIS,
536
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
537
+ implied, including, without limitation, any warranties or conditions
538
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
539
+ PARTICULAR PURPOSE. You are solely responsible for determining the
540
+ appropriateness of using or redistributing the Work and assume any
541
+ risks associated with Your exercise of permissions under this License.
542
+
543
+ 8. Limitation of Liability. In no event and under no legal theory,
544
+ whether in tort (including negligence), contract, or otherwise,
545
+ unless required by applicable law (such as deliberate and grossly
546
+ negligent acts) or agreed to in writing, shall any Contributor be
547
+ liable to You for damages, including any direct, indirect, special,
548
+ incidental, or consequential damages of any character arising as a
549
+ result of this License or out of the use or inability to use the
550
+ Work (including but not limited to damages for loss of goodwill,
551
+ work stoppage, computer failure or malfunction, or any and all
552
+ other commercial damages or losses), even if such Contributor
553
+ has been advised of the possibility of such damages.
554
+
555
+ 9. Accepting Warranty or Additional Liability. While redistributing
556
+ the Work or Derivative Works thereof, You may choose to offer,
557
+ and charge a fee for, acceptance of support, warranty, indemnity,
558
+ or other liability obligations and/or rights consistent with this
559
+ License. However, in accepting such obligations, You may act only
560
+ on Your own behalf and on Your sole responsibility, not on behalf
561
+ of any other Contributor, and only if You agree to indemnify,
562
+ defend, and hold each Contributor harmless for any liability
563
+ incurred by, or claims asserted against, such Contributor by reason
564
+ of your accepting any such warranty or additional liability.
565
+
566
+ END OF TERMS AND CONDITIONS
567
+
568
+ APPENDIX: How to apply the Apache License to your work.
569
+
570
+ To apply the Apache License to your work, attach the following
571
+ boilerplate notice, with the fields enclosed by brackets "[]"
572
+ replaced with your own identifying information. (Don't include
573
+ the brackets!) The text should be enclosed in the appropriate
574
+ comment syntax for the file format. We also recommend that a
575
+ file or class name and description of purpose be included on the
576
+ same "printed page" as the copyright notice for easier
577
+ identification within third-party archives.
578
+
579
+ Copyright [yyyy] [name of copyright owner]
580
+
581
+ Licensed under the Apache License, Version 2.0 (the "License");
582
+ you may not use this file except in compliance with the License.
583
+ You may obtain a copy of the License at
584
+
585
+ http://www.apache.org/licenses/LICENSE-2.0
586
+
587
+ Unless required by applicable law or agreed to in writing, software
588
+ distributed under the License is distributed on an "AS IS" BASIS,
589
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
590
+ See the License for the specific language governing permissions and
591
+ limitations under the License.
592
+ ```