1*de6e4772Smseidel 2*de6e4772Smseidel Apache License 3*de6e4772Smseidel Version 2.0, January 2004 4*de6e4772Smseidel http://www.apache.org/licenses/ 5*de6e4772Smseidel 6*de6e4772Smseidel TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7*de6e4772Smseidel 8*de6e4772Smseidel 1. Definitions. 9*de6e4772Smseidel 10*de6e4772Smseidel "License" shall mean the terms and conditions for use, reproduction, 11*de6e4772Smseidel and distribution as defined by Sections 1 through 9 of this document. 12*de6e4772Smseidel 13*de6e4772Smseidel "Licensor" shall mean the copyright owner or entity authorized by 14*de6e4772Smseidel the copyright owner that is granting the License. 15*de6e4772Smseidel 16*de6e4772Smseidel "Legal Entity" shall mean the union of the acting entity and all 17*de6e4772Smseidel other entities that control, are controlled by, or are under common 18*de6e4772Smseidel control with that entity. For the purposes of this definition, 19*de6e4772Smseidel "control" means (i) the power, direct or indirect, to cause the 20*de6e4772Smseidel direction or management of such entity, whether by contract or 21*de6e4772Smseidel otherwise, or (ii) ownership of fifty percent (50%) or more of the 22*de6e4772Smseidel outstanding shares, or (iii) beneficial ownership of such entity. 23*de6e4772Smseidel 24*de6e4772Smseidel "You" (or "Your") shall mean an individual or Legal Entity 25*de6e4772Smseidel exercising permissions granted by this License. 26*de6e4772Smseidel 27*de6e4772Smseidel "Source" form shall mean the preferred form for making modifications, 28*de6e4772Smseidel including but not limited to software source code, documentation 29*de6e4772Smseidel source, and configuration files. 30*de6e4772Smseidel 31*de6e4772Smseidel "Object" form shall mean any form resulting from mechanical 32*de6e4772Smseidel transformation or translation of a Source form, including but 33*de6e4772Smseidel not limited to compiled object code, generated documentation, 34*de6e4772Smseidel and conversions to other media types. 35*de6e4772Smseidel 36*de6e4772Smseidel "Work" shall mean the work of authorship, whether in Source or 37*de6e4772Smseidel Object form, made available under the License, as indicated by a 38*de6e4772Smseidel copyright notice that is included in or attached to the work 39*de6e4772Smseidel (an example is provided in the Appendix below). 40*de6e4772Smseidel 41*de6e4772Smseidel "Derivative Works" shall mean any work, whether in Source or Object 42*de6e4772Smseidel form, that is based on (or derived from) the Work and for which the 43*de6e4772Smseidel editorial revisions, annotations, elaborations, or other modifications 44*de6e4772Smseidel represent, as a whole, an original work of authorship. For the purposes 45*de6e4772Smseidel of this License, Derivative Works shall not include works that remain 46*de6e4772Smseidel separable from, or merely link (or bind by name) to the interfaces of, 47*de6e4772Smseidel the Work and Derivative Works thereof. 48*de6e4772Smseidel 49*de6e4772Smseidel "Contribution" shall mean any work of authorship, including 50*de6e4772Smseidel the original version of the Work and any modifications or additions 51*de6e4772Smseidel to that Work or Derivative Works thereof, that is intentionally 52*de6e4772Smseidel submitted to Licensor for inclusion in the Work by the copyright owner 53*de6e4772Smseidel or by an individual or Legal Entity authorized to submit on behalf of 54*de6e4772Smseidel the copyright owner. For the purposes of this definition, "submitted" 55*de6e4772Smseidel means any form of electronic, verbal, or written communication sent 56*de6e4772Smseidel to the Licensor or its representatives, including but not limited to 57*de6e4772Smseidel communication on electronic mailing lists, source code control systems, 58*de6e4772Smseidel and issue tracking systems that are managed by, or on behalf of, the 59*de6e4772Smseidel Licensor for the purpose of discussing and improving the Work, but 60*de6e4772Smseidel excluding communication that is conspicuously marked or otherwise 61*de6e4772Smseidel designated in writing by the copyright owner as "Not a Contribution." 62*de6e4772Smseidel 63*de6e4772Smseidel "Contributor" shall mean Licensor and any individual or Legal Entity 64*de6e4772Smseidel on behalf of whom a Contribution has been received by Licensor and 65*de6e4772Smseidel subsequently incorporated within the Work. 66*de6e4772Smseidel 67*de6e4772Smseidel 2. Grant of Copyright License. Subject to the terms and conditions of 68*de6e4772Smseidel this License, each Contributor hereby grants to You a perpetual, 69*de6e4772Smseidel worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70*de6e4772Smseidel copyright license to reproduce, prepare Derivative Works of, 71*de6e4772Smseidel publicly display, publicly perform, sublicense, and distribute the 72*de6e4772Smseidel Work and such Derivative Works in Source or Object form. 73*de6e4772Smseidel 74*de6e4772Smseidel 3. Grant of Patent License. Subject to the terms and conditions of 75*de6e4772Smseidel this License, each Contributor hereby grants to You a perpetual, 76*de6e4772Smseidel worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77*de6e4772Smseidel (except as stated in this section) patent license to make, have made, 78*de6e4772Smseidel use, offer to sell, sell, import, and otherwise transfer the Work, 79*de6e4772Smseidel where such license applies only to those patent claims licensable 80*de6e4772Smseidel by such Contributor that are necessarily infringed by their 81*de6e4772Smseidel Contribution(s) alone or by combination of their Contribution(s) 82*de6e4772Smseidel with the Work to which such Contribution(s) was submitted. If You 83*de6e4772Smseidel institute patent litigation against any entity (including a 84*de6e4772Smseidel cross-claim or counterclaim in a lawsuit) alleging that the Work 85*de6e4772Smseidel or a Contribution incorporated within the Work constitutes direct 86*de6e4772Smseidel or contributory patent infringement, then any patent licenses 87*de6e4772Smseidel granted to You under this License for that Work shall terminate 88*de6e4772Smseidel as of the date such litigation is filed. 89*de6e4772Smseidel 90*de6e4772Smseidel 4. Redistribution. You may reproduce and distribute copies of the 91*de6e4772Smseidel Work or Derivative Works thereof in any medium, with or without 92*de6e4772Smseidel modifications, and in Source or Object form, provided that You 93*de6e4772Smseidel meet the following conditions: 94*de6e4772Smseidel 95*de6e4772Smseidel (a) You must give any other recipients of the Work or 96*de6e4772Smseidel Derivative Works a copy of this License; and 97*de6e4772Smseidel 98*de6e4772Smseidel (b) You must cause any modified files to carry prominent notices 99*de6e4772Smseidel stating that You changed the files; and 100*de6e4772Smseidel 101*de6e4772Smseidel (c) You must retain, in the Source form of any Derivative Works 102*de6e4772Smseidel that You distribute, all copyright, patent, trademark, and 103*de6e4772Smseidel attribution notices from the Source form of the Work, 104*de6e4772Smseidel excluding those notices that do not pertain to any part of 105*de6e4772Smseidel the Derivative Works; and 106*de6e4772Smseidel 107*de6e4772Smseidel (d) If the Work includes a "NOTICE" text file as part of its 108*de6e4772Smseidel distribution, then any Derivative Works that You distribute must 109*de6e4772Smseidel include a readable copy of the attribution notices contained 110*de6e4772Smseidel within such NOTICE file, excluding those notices that do not 111*de6e4772Smseidel pertain to any part of the Derivative Works, in at least one 112*de6e4772Smseidel of the following places: within a NOTICE text file distributed 113*de6e4772Smseidel as part of the Derivative Works; within the Source form or 114*de6e4772Smseidel documentation, if provided along with the Derivative Works; or, 115*de6e4772Smseidel within a display generated by the Derivative Works, if and 116*de6e4772Smseidel wherever such third-party notices normally appear. The contents 117*de6e4772Smseidel of the NOTICE file are for informational purposes only and 118*de6e4772Smseidel do not modify the License. You may add Your own attribution 119*de6e4772Smseidel notices within Derivative Works that You distribute, alongside 120*de6e4772Smseidel or as an addendum to the NOTICE text from the Work, provided 121*de6e4772Smseidel that such additional attribution notices cannot be construed 122*de6e4772Smseidel as modifying the License. 123*de6e4772Smseidel 124*de6e4772Smseidel You may add Your own copyright statement to Your modifications and 125*de6e4772Smseidel may provide additional or different license terms and conditions 126*de6e4772Smseidel for use, reproduction, or distribution of Your modifications, or 127*de6e4772Smseidel for any such Derivative Works as a whole, provided Your use, 128*de6e4772Smseidel reproduction, and distribution of the Work otherwise complies with 129*de6e4772Smseidel the conditions stated in this License. 130*de6e4772Smseidel 131*de6e4772Smseidel 5. Submission of Contributions. Unless You explicitly state otherwise, 132*de6e4772Smseidel any Contribution intentionally submitted for inclusion in the Work 133*de6e4772Smseidel by You to the Licensor shall be under the terms and conditions of 134*de6e4772Smseidel this License, without any additional terms or conditions. 135*de6e4772Smseidel Notwithstanding the above, nothing herein shall supersede or modify 136*de6e4772Smseidel the terms of any separate license agreement you may have executed 137*de6e4772Smseidel with Licensor regarding such Contributions. 138*de6e4772Smseidel 139*de6e4772Smseidel 6. Trademarks. This License does not grant permission to use the trade 140*de6e4772Smseidel names, trademarks, service marks, or product names of the Licensor, 141*de6e4772Smseidel except as required for reasonable and customary use in describing the 142*de6e4772Smseidel origin of the Work and reproducing the content of the NOTICE file. 143*de6e4772Smseidel 144*de6e4772Smseidel 7. Disclaimer of Warranty. Unless required by applicable law or 145*de6e4772Smseidel agreed to in writing, Licensor provides the Work (and each 146*de6e4772Smseidel Contributor provides its Contributions) on an "AS IS" BASIS, 147*de6e4772Smseidel WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148*de6e4772Smseidel implied, including, without limitation, any warranties or conditions 149*de6e4772Smseidel of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150*de6e4772Smseidel PARTICULAR PURPOSE. You are solely responsible for determining the 151*de6e4772Smseidel appropriateness of using or redistributing the Work and assume any 152*de6e4772Smseidel risks associated with Your exercise of permissions under this License. 153*de6e4772Smseidel 154*de6e4772Smseidel 8. Limitation of Liability. In no event and under no legal theory, 155*de6e4772Smseidel whether in tort (including negligence), contract, or otherwise, 156*de6e4772Smseidel unless required by applicable law (such as deliberate and grossly 157*de6e4772Smseidel negligent acts) or agreed to in writing, shall any Contributor be 158*de6e4772Smseidel liable to You for damages, including any direct, indirect, special, 159*de6e4772Smseidel incidental, or consequential damages of any character arising as a 160*de6e4772Smseidel result of this License or out of the use or inability to use the 161*de6e4772Smseidel Work (including but not limited to damages for loss of goodwill, 162*de6e4772Smseidel work stoppage, computer failure or malfunction, or any and all 163*de6e4772Smseidel other commercial damages or losses), even if such Contributor 164*de6e4772Smseidel has been advised of the possibility of such damages. 165*de6e4772Smseidel 166*de6e4772Smseidel 9. Accepting Warranty or Additional Liability. While redistributing 167*de6e4772Smseidel the Work or Derivative Works thereof, You may choose to offer, 168*de6e4772Smseidel and charge a fee for, acceptance of support, warranty, indemnity, 169*de6e4772Smseidel or other liability obligations and/or rights consistent with this 170*de6e4772Smseidel License. However, in accepting such obligations, You may act only 171*de6e4772Smseidel on Your own behalf and on Your sole responsibility, not on behalf 172*de6e4772Smseidel of any other Contributor, and only if You agree to indemnify, 173*de6e4772Smseidel defend, and hold each Contributor harmless for any liability 174*de6e4772Smseidel incurred by, or claims asserted against, such Contributor by reason 175*de6e4772Smseidel of your accepting any such warranty or additional liability. 176*de6e4772Smseidel 177*de6e4772Smseidel END OF TERMS AND CONDITIONS 178*de6e4772Smseidel 179*de6e4772Smseidel APPENDIX: How to apply the Apache License to your work. 180*de6e4772Smseidel 181*de6e4772Smseidel To apply the Apache License to your work, attach the following 182*de6e4772Smseidel boilerplate notice, with the fields enclosed by brackets "[]" 183*de6e4772Smseidel replaced with your own identifying information. (Don't include 184*de6e4772Smseidel the brackets!) The text should be enclosed in the appropriate 185*de6e4772Smseidel comment syntax for the file format. We also recommend that a 186*de6e4772Smseidel file or class name and description of purpose be included on the 187*de6e4772Smseidel same "printed page" as the copyright notice for easier 188*de6e4772Smseidel identification within third-party archives. 189*de6e4772Smseidel 190*de6e4772Smseidel Copyright 2011-2023 Apache Software Foundation 191*de6e4772Smseidel 192*de6e4772Smseidel Licensed under the Apache License, Version 2.0 (the "License"); 193*de6e4772Smseidel you may not use this file except in compliance with the License. 194*de6e4772Smseidel You may obtain a copy of the License at 195*de6e4772Smseidel 196*de6e4772Smseidel http://www.apache.org/licenses/LICENSE-2.0 197*de6e4772Smseidel 198*de6e4772Smseidel Unless required by applicable law or agreed to in writing, software 199*de6e4772Smseidel distributed under the License is distributed on an "AS IS" BASIS, 200*de6e4772Smseidel WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201*de6e4772Smseidel See the License for the specific language governing permissions and 202*de6e4772Smseidel limitations under the License. 203