162306a36Sopenharmony_ciValid-License-Identifier: Apache-2.0 262306a36Sopenharmony_ciSPDX-URL: https://spdx.org/licenses/Apache-2.0.html 362306a36Sopenharmony_ciUsage-Guide: 462306a36Sopenharmony_ci Do NOT use. The Apache-2.0 is not GPL2 compatible. It may only be used 562306a36Sopenharmony_ci for dual-licensed files where the other license is GPL2 compatible. 662306a36Sopenharmony_ci If you end up using this it MUST be used together with a GPL2 compatible 762306a36Sopenharmony_ci license using "OR". 862306a36Sopenharmony_ci To use the Apache License version 2.0 put the following SPDX tag/value 962306a36Sopenharmony_ci pair into a comment according to the placement guidelines in the 1062306a36Sopenharmony_ci licensing rules documentation: 1162306a36Sopenharmony_ci SPDX-License-Identifier: Apache-2.0 1262306a36Sopenharmony_ciLicense-Text: 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciApache License 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciVersion 2.0, January 2004 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_cihttp://www.apache.org/licenses/ 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci1. Definitions. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci"License" shall mean the terms and conditions for use, reproduction, and 2562306a36Sopenharmony_cidistribution as defined by Sections 1 through 9 of this document. 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci"Licensor" shall mean the copyright owner or entity authorized by the 2862306a36Sopenharmony_cicopyright owner that is granting the License. 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci"Legal Entity" shall mean the union of the acting entity and all other 3162306a36Sopenharmony_cientities that control, are controlled by, or are under common control with 3262306a36Sopenharmony_cithat entity. For the purposes of this definition, "control" means (i) the 3362306a36Sopenharmony_cipower, direct or indirect, to cause the direction or management of such 3462306a36Sopenharmony_cientity, whether by contract or otherwise, or (ii) ownership of fifty 3562306a36Sopenharmony_cipercent (50%) or more of the outstanding shares, or (iii) beneficial 3662306a36Sopenharmony_ciownership of such entity. 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci"You" (or "Your") shall mean an individual or Legal Entity exercising 3962306a36Sopenharmony_cipermissions granted by this License. 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci"Source" form shall mean the preferred form for making modifications, 4262306a36Sopenharmony_ciincluding but not limited to software source code, documentation source, 4362306a36Sopenharmony_ciand configuration files. 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci"Object" form shall mean any form resulting from mechanical transformation 4662306a36Sopenharmony_cior translation of a Source form, including but not limited to compiled 4762306a36Sopenharmony_ciobject code, generated documentation, and conversions to other media types. 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci"Work" shall mean the work of authorship, whether in Source or Object form, 5062306a36Sopenharmony_cimade available under the License, as indicated by a copyright notice that 5162306a36Sopenharmony_ciis included in or attached to the work (an example is provided in the 5262306a36Sopenharmony_ciAppendix below). 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ci"Derivative Works" shall mean any work, whether in Source or Object form, 5562306a36Sopenharmony_cithat is based on (or derived from) the Work and for which the editorial 5662306a36Sopenharmony_cirevisions, annotations, elaborations, or other modifications represent, as 5762306a36Sopenharmony_cia whole, an original work of authorship. For the purposes of this License, 5862306a36Sopenharmony_ciDerivative Works shall not include works that remain separable from, or 5962306a36Sopenharmony_cimerely link (or bind by name) to the interfaces of, the Work and Derivative 6062306a36Sopenharmony_ciWorks thereof. 6162306a36Sopenharmony_ci 6262306a36Sopenharmony_ci"Contribution" shall mean any work of authorship, including the original 6362306a36Sopenharmony_civersion of the Work and any modifications or additions to that Work or 6462306a36Sopenharmony_ciDerivative Works thereof, that is intentionally submitted to Licensor for 6562306a36Sopenharmony_ciinclusion in the Work by the copyright owner or by an individual or Legal 6662306a36Sopenharmony_ciEntity authorized to submit on behalf of the copyright owner. For the 6762306a36Sopenharmony_cipurposes of this definition, "submitted" means any form of electronic, 6862306a36Sopenharmony_civerbal, or written communication sent to the Licensor or its 6962306a36Sopenharmony_cirepresentatives, including but not limited to communication on electronic 7062306a36Sopenharmony_cimailing lists, source code control systems, and issue tracking systems that 7162306a36Sopenharmony_ciare managed by, or on behalf of, the Licensor for the purpose of discussing 7262306a36Sopenharmony_ciand improving the Work, but excluding communication that is conspicuously 7362306a36Sopenharmony_cimarked or otherwise designated in writing by the copyright owner as "Not a 7462306a36Sopenharmony_ciContribution." 7562306a36Sopenharmony_ci 7662306a36Sopenharmony_ci"Contributor" shall mean Licensor and any individual or Legal Entity on 7762306a36Sopenharmony_cibehalf of whom a Contribution has been received by Licensor and 7862306a36Sopenharmony_cisubsequently incorporated within the Work. 7962306a36Sopenharmony_ci 8062306a36Sopenharmony_ci2. Grant of Copyright License. Subject to the terms and conditions of this 8162306a36Sopenharmony_ci License, each Contributor hereby grants to You a perpetual, worldwide, 8262306a36Sopenharmony_ci non-exclusive, no-charge, royalty-free, irrevocable copyright license to 8362306a36Sopenharmony_ci reproduce, prepare Derivative Works of, publicly display, publicly 8462306a36Sopenharmony_ci perform, sublicense, and distribute the Work and such Derivative Works 8562306a36Sopenharmony_ci in Source or Object form. 8662306a36Sopenharmony_ci 8762306a36Sopenharmony_ci3. Grant of Patent License. Subject to the terms and conditions of this 8862306a36Sopenharmony_ci License, each Contributor hereby grants to You a perpetual, worldwide, 8962306a36Sopenharmony_ci non-exclusive, no-charge, royalty-free, irrevocable (except as stated in 9062306a36Sopenharmony_ci this section) patent license to make, have made, use, offer to sell, 9162306a36Sopenharmony_ci sell, import, and otherwise transfer the Work, where such license 9262306a36Sopenharmony_ci applies only to those patent claims licensable by such Contributor that 9362306a36Sopenharmony_ci are necessarily infringed by their Contribution(s) alone or by 9462306a36Sopenharmony_ci combination of their Contribution(s) with the Work to which such 9562306a36Sopenharmony_ci Contribution(s) was submitted. If You institute patent litigation 9662306a36Sopenharmony_ci against any entity (including a cross-claim or counterclaim in a 9762306a36Sopenharmony_ci lawsuit) alleging that the Work or a Contribution incorporated within 9862306a36Sopenharmony_ci the Work constitutes direct or contributory patent infringement, then 9962306a36Sopenharmony_ci any patent licenses granted to You under this License for that Work 10062306a36Sopenharmony_ci shall terminate as of the date such litigation is filed. 10162306a36Sopenharmony_ci 10262306a36Sopenharmony_ci4. Redistribution. You may reproduce and distribute copies of the Work or 10362306a36Sopenharmony_ci Derivative Works thereof in any medium, with or without modifications, 10462306a36Sopenharmony_ci and in Source or Object form, provided that You meet the following 10562306a36Sopenharmony_ci conditions: 10662306a36Sopenharmony_ci 10762306a36Sopenharmony_ci a. You must give any other recipients of the Work or Derivative Works a 10862306a36Sopenharmony_ci copy of this License; and 10962306a36Sopenharmony_ci 11062306a36Sopenharmony_ci b. You must cause any modified files to carry prominent notices stating 11162306a36Sopenharmony_ci that You changed the files; and 11262306a36Sopenharmony_ci 11362306a36Sopenharmony_ci c. You must retain, in the Source form of any Derivative Works that You 11462306a36Sopenharmony_ci distribute, all copyright, patent, trademark, and attribution notices 11562306a36Sopenharmony_ci from the Source form of the Work, excluding those notices that do not 11662306a36Sopenharmony_ci pertain to any part of the Derivative Works; and 11762306a36Sopenharmony_ci 11862306a36Sopenharmony_ci d. If the Work includes a "NOTICE" text file as part of its 11962306a36Sopenharmony_ci distribution, then any Derivative Works that You distribute must 12062306a36Sopenharmony_ci include a readable copy of the attribution notices contained within 12162306a36Sopenharmony_ci such NOTICE file, excluding those notices that do not pertain to any 12262306a36Sopenharmony_ci part of the Derivative Works, in at least one of the following 12362306a36Sopenharmony_ci places: within a NOTICE text file distributed as part of the 12462306a36Sopenharmony_ci Derivative Works; within the Source form or documentation, if 12562306a36Sopenharmony_ci provided along with the Derivative Works; or, within a display 12662306a36Sopenharmony_ci generated by the Derivative Works, if and wherever such third-party 12762306a36Sopenharmony_ci notices normally appear. The contents of the NOTICE file are for 12862306a36Sopenharmony_ci informational purposes only and do not modify the License. You may 12962306a36Sopenharmony_ci add Your own attribution notices within Derivative Works that You 13062306a36Sopenharmony_ci distribute, alongside or as an addendum to the NOTICE text from the 13162306a36Sopenharmony_ci Work, provided that such additional attribution notices cannot be 13262306a36Sopenharmony_ci construed as modifying the License. 13362306a36Sopenharmony_ci 13462306a36Sopenharmony_ci You may add Your own copyright statement to Your modifications and may 13562306a36Sopenharmony_ci provide additional or different license terms and conditions for use, 13662306a36Sopenharmony_ci reproduction, or distribution of Your modifications, or for any such 13762306a36Sopenharmony_ci Derivative Works as a whole, provided Your use, reproduction, and 13862306a36Sopenharmony_ci distribution of the Work otherwise complies with the conditions stated 13962306a36Sopenharmony_ci in this License. 14062306a36Sopenharmony_ci 14162306a36Sopenharmony_ci5. Submission of Contributions. Unless You explicitly state otherwise, any 14262306a36Sopenharmony_ci Contribution intentionally submitted for inclusion in the Work by You to 14362306a36Sopenharmony_ci the Licensor shall be under the terms and conditions of this License, 14462306a36Sopenharmony_ci without any additional terms or conditions. Notwithstanding the above, 14562306a36Sopenharmony_ci nothing herein shall supersede or modify the terms of any separate 14662306a36Sopenharmony_ci license agreement you may have executed with Licensor regarding such 14762306a36Sopenharmony_ci Contributions. 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ci6. Trademarks. This License does not grant permission to use the trade 15062306a36Sopenharmony_ci names, trademarks, service marks, or product names of the Licensor, 15162306a36Sopenharmony_ci except as required for reasonable and customary use in describing the 15262306a36Sopenharmony_ci origin of the Work and reproducing the content of the NOTICE file. 15362306a36Sopenharmony_ci 15462306a36Sopenharmony_ci7. Disclaimer of Warranty. Unless required by applicable law or agreed to 15562306a36Sopenharmony_ci in writing, Licensor provides the Work (and each Contributor provides 15662306a36Sopenharmony_ci its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 15762306a36Sopenharmony_ci OF ANY KIND, either express or implied, including, without limitation, 15862306a36Sopenharmony_ci any warranties or conditions of TITLE, NON-INFRINGEMENT, 15962306a36Sopenharmony_ci MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely 16062306a36Sopenharmony_ci responsible for determining the appropriateness of using or 16162306a36Sopenharmony_ci redistributing the Work and assume any risks associated with Your 16262306a36Sopenharmony_ci exercise of permissions under this License. 16362306a36Sopenharmony_ci 16462306a36Sopenharmony_ci8. Limitation of Liability. In no event and under no legal theory, whether 16562306a36Sopenharmony_ci in tort (including negligence), contract, or otherwise, unless required 16662306a36Sopenharmony_ci by applicable law (such as deliberate and grossly negligent acts) or 16762306a36Sopenharmony_ci agreed to in writing, shall any Contributor be liable to You for 16862306a36Sopenharmony_ci damages, including any direct, indirect, special, incidental, or 16962306a36Sopenharmony_ci consequential damages of any character arising as a result of this 17062306a36Sopenharmony_ci License or out of the use or inability to use the Work (including but 17162306a36Sopenharmony_ci not limited to damages for loss of goodwill, work stoppage, computer 17262306a36Sopenharmony_ci failure or malfunction, or any and all other commercial damages or 17362306a36Sopenharmony_ci losses), even if such Contributor has been advised of the possibility of 17462306a36Sopenharmony_ci such damages. 17562306a36Sopenharmony_ci 17662306a36Sopenharmony_ci9. Accepting Warranty or Additional Liability. While redistributing the 17762306a36Sopenharmony_ci Work or Derivative Works thereof, You may choose to offer, and charge a 17862306a36Sopenharmony_ci fee for, acceptance of support, warranty, indemnity, or other liability 17962306a36Sopenharmony_ci obligations and/or rights consistent with this License. However, in 18062306a36Sopenharmony_ci accepting such obligations, You may act only on Your own behalf and on 18162306a36Sopenharmony_ci Your sole responsibility, not on behalf of any other Contributor, and 18262306a36Sopenharmony_ci only if You agree to indemnify, defend, and hold each Contributor 18362306a36Sopenharmony_ci harmless for any liability incurred by, or claims asserted against, such 18462306a36Sopenharmony_ci Contributor by reason of your accepting any such warranty or additional 18562306a36Sopenharmony_ci liability. 18662306a36Sopenharmony_ci 18762306a36Sopenharmony_ciEND OF TERMS AND CONDITIONS 188