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