1 1.1 christos Mozilla Public License, version 2.0 2 1.1 christos 3 1.1 christos 1. Definitions 4 1.1 christos 5 1.1 christos 1.1. "Contributor" 6 1.1 christos 7 1.1 christos means each individual or legal entity that creates, contributes to the 8 1.1 christos creation of, or owns Covered Software. 9 1.1 christos 10 1.1 christos 1.2. "Contributor Version" 11 1.1 christos 12 1.1 christos means the combination of the Contributions of others (if any) used by a 13 1.1 christos Contributor and that particular Contributor's Contribution. 14 1.1 christos 15 1.1 christos 1.3. "Contribution" 16 1.1 christos 17 1.1 christos means Covered Software of a particular Contributor. 18 1.1 christos 19 1.1 christos 1.4. "Covered Software" 20 1.1 christos 21 1.1 christos means Source Code Form to which the initial Contributor has attached the 22 1.1 christos notice in Exhibit A, the Executable Form of such Source Code Form, and 23 1.1 christos Modifications of such Source Code Form, in each case including portions 24 1.1 christos thereof. 25 1.1 christos 26 1.1 christos 1.5. "Incompatible With Secondary Licenses" 27 1.1 christos means 28 1.1 christos 29 1.1 christos a. that the initial Contributor has attached the notice described in 30 1.1 christos Exhibit B to the Covered Software; or 31 1.1 christos 32 1.1 christos b. that the Covered Software was made available under the terms of 33 1.1 christos version 1.1 or earlier of the License, but not also under the terms of 34 1.1 christos a Secondary License. 35 1.1 christos 36 1.1 christos 1.6. "Executable Form" 37 1.1 christos 38 1.1 christos means any form of the work other than Source Code Form. 39 1.1 christos 40 1.1 christos 1.7. "Larger Work" 41 1.1 christos 42 1.1 christos means a work that combines Covered Software with other material, in a 43 1.1 christos separate file or files, that is not Covered Software. 44 1.1 christos 45 1.1 christos 1.8. "License" 46 1.1 christos 47 1.1 christos means this document. 48 1.1 christos 49 1.1 christos 1.9. "Licensable" 50 1.1 christos 51 1.1 christos means having the right to grant, to the maximum extent possible, whether 52 1.1 christos at the time of the initial grant or subsequently, any and all of the 53 1.1 christos rights conveyed by this License. 54 1.1 christos 55 1.1 christos 1.10. "Modifications" 56 1.1 christos 57 1.1 christos means any of the following: 58 1.1 christos 59 1.1 christos a. any file in Source Code Form that results from an addition to, 60 1.1 christos deletion from, or modification of the contents of Covered Software; or 61 1.1 christos 62 1.1 christos b. any new file in Source Code Form that contains any Covered Software. 63 1.1 christos 64 1.1 christos 1.11. "Patent Claims" of a Contributor 65 1.1 christos 66 1.1 christos means any patent claim(s), including without limitation, method, 67 1.1 christos process, and apparatus claims, in any patent Licensable by such 68 1.1 christos Contributor that would be infringed, but for the grant of the License, 69 1.1 christos by the making, using, selling, offering for sale, having made, import, 70 1.1 christos or transfer of either its Contributions or its Contributor Version. 71 1.1 christos 72 1.1 christos 1.12. "Secondary License" 73 1.1 christos 74 1.1 christos means either the GNU General Public License, Version 2.0, the GNU Lesser 75 1.1 christos General Public License, Version 2.1, the GNU Affero General Public 76 1.1 christos License, Version 3.0, or any later versions of those licenses. 77 1.1 christos 78 1.1 christos 1.13. "Source Code Form" 79 1.1 christos 80 1.1 christos means the form of the work preferred for making modifications. 81 1.1 christos 82 1.1 christos 1.14. "You" (or "Your") 83 1.1 christos 84 1.1 christos means an individual or a legal entity exercising rights under this 85 1.1 christos License. For legal entities, "You" includes any entity that controls, is 86 1.1 christos controlled by, or is under common control with You. For purposes of this 87 1.1 christos definition, "control" means (a) the power, direct or indirect, to cause 88 1.1 christos the direction or management of such entity, whether by contract or 89 1.1 christos otherwise, or (b) ownership of more than fifty percent (50%) of the 90 1.1 christos outstanding shares or beneficial ownership of such entity. 91 1.1 christos 92 1.1 christos 93 1.1 christos 2. License Grants and Conditions 94 1.1 christos 95 1.1 christos 2.1. Grants 96 1.1 christos 97 1.1 christos Each Contributor hereby grants You a world-wide, royalty-free, 98 1.1 christos non-exclusive license: 99 1.1 christos 100 1.1 christos a. under intellectual property rights (other than patent or trademark) 101 1.1 christos Licensable by such Contributor to use, reproduce, make available, 102 1.1 christos modify, display, perform, distribute, and otherwise exploit its 103 1.1 christos Contributions, either on an unmodified basis, with Modifications, or 104 1.1 christos as part of a Larger Work; and 105 1.1 christos 106 1.1 christos b. under Patent Claims of such Contributor to make, use, sell, offer for 107 1.1 christos sale, have made, import, and otherwise transfer either its 108 1.1 christos Contributions or its Contributor Version. 109 1.1 christos 110 1.1 christos 2.2. Effective Date 111 1.1 christos 112 1.1 christos The licenses granted in Section 2.1 with respect to any Contribution 113 1.1 christos become effective for each Contribution on the date the Contributor first 114 1.1 christos distributes such Contribution. 115 1.1 christos 116 1.1 christos 2.3. Limitations on Grant Scope 117 1.1 christos 118 1.1 christos The licenses granted in this Section 2 are the only rights granted under 119 1.1 christos this License. No additional rights or licenses will be implied from the 120 1.1 christos distribution or licensing of Covered Software under this License. 121 1.1 christos Notwithstanding Section 2.1(b) above, no patent license is granted by a 122 1.1 christos Contributor: 123 1.1 christos 124 1.1 christos a. for any code that a Contributor has removed from Covered Software; or 125 1.1 christos 126 1.1 christos b. for infringements caused by: (i) Your and any other third party's 127 1.1 christos modifications of Covered Software, or (ii) the combination of its 128 1.1 christos Contributions with other software (except as part of its Contributor 129 1.1 christos Version); or 130 1.1 christos 131 1.1 christos c. under Patent Claims infringed by Covered Software in the absence of 132 1.1 christos its Contributions. 133 1.1 christos 134 1.1 christos This License does not grant any rights in the trademarks, service marks, 135 1.1 christos or logos of any Contributor (except as may be necessary to comply with 136 1.1 christos the notice requirements in Section 3.4). 137 1.1 christos 138 1.1 christos 2.4. Subsequent Licenses 139 1.1 christos 140 1.1 christos No Contributor makes additional grants as a result of Your choice to 141 1.1 christos distribute the Covered Software under a subsequent version of this 142 1.1 christos License (see Section 10.2) or under the terms of a Secondary License (if 143 1.1 christos permitted under the terms of Section 3.3). 144 1.1 christos 145 1.1 christos 2.5. Representation 146 1.1 christos 147 1.1 christos Each Contributor represents that the Contributor believes its 148 1.1 christos Contributions are its original creation(s) or it has sufficient rights to 149 1.1 christos grant the rights to its Contributions conveyed by this License. 150 1.1 christos 151 1.1 christos 2.6. Fair Use 152 1.1 christos 153 1.1 christos This License is not intended to limit any rights You have under 154 1.1 christos applicable copyright doctrines of fair use, fair dealing, or other 155 1.1 christos equivalents. 156 1.1 christos 157 1.1 christos 2.7. Conditions 158 1.1 christos 159 1.1 christos Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in 160 1.1 christos Section 2.1. 161 1.1 christos 162 1.1 christos 163 1.1 christos 3. Responsibilities 164 1.1 christos 165 1.1 christos 3.1. Distribution of Source Form 166 1.1 christos 167 1.1 christos All distribution of Covered Software in Source Code Form, including any 168 1.1 christos Modifications that You create or to which You contribute, must be under 169 1.1 christos the terms of this License. You must inform recipients that the Source 170 1.1 christos Code Form of the Covered Software is governed by the terms of this 171 1.1 christos License, and how they can obtain a copy of this License. You may not 172 1.1 christos attempt to alter or restrict the recipients' rights in the Source Code 173 1.1 christos Form. 174 1.1 christos 175 1.1 christos 3.2. Distribution of Executable Form 176 1.1 christos 177 1.1 christos If You distribute Covered Software in Executable Form then: 178 1.1 christos 179 1.1 christos a. such Covered Software must also be made available in Source Code Form, 180 1.1 christos as described in Section 3.1, and You must inform recipients of the 181 1.1 christos Executable Form how they can obtain a copy of such Source Code Form by 182 1.1 christos reasonable means in a timely manner, at a charge no more than the cost 183 1.1 christos of distribution to the recipient; and 184 1.1 christos 185 1.1 christos b. You may distribute such Executable Form under the terms of this 186 1.1 christos License, or sublicense it under different terms, provided that the 187 1.1 christos license for the Executable Form does not attempt to limit or alter the 188 1.1 christos recipients' rights in the Source Code Form under this License. 189 1.1 christos 190 1.1 christos 3.3. Distribution of a Larger Work 191 1.1 christos 192 1.1 christos You may create and distribute a Larger Work under terms of Your choice, 193 1.1 christos provided that You also comply with the requirements of this License for 194 1.1 christos the Covered Software. If the Larger Work is a combination of Covered 195 1.1 christos Software with a work governed by one or more Secondary Licenses, and the 196 1.1 christos Covered Software is not Incompatible With Secondary Licenses, this 197 1.1 christos License permits You to additionally distribute such Covered Software 198 1.1 christos under the terms of such Secondary License(s), so that the recipient of 199 1.1 christos the Larger Work may, at their option, further distribute the Covered 200 1.1 christos Software under the terms of either this License or such Secondary 201 1.1 christos License(s). 202 1.1 christos 203 1.1 christos 3.4. Notices 204 1.1 christos 205 1.1 christos You may not remove or alter the substance of any license notices 206 1.1 christos (including copyright notices, patent notices, disclaimers of warranty, or 207 1.1 christos limitations of liability) contained within the Source Code Form of the 208 1.1 christos Covered Software, except that You may alter any license notices to the 209 1.1 christos extent required to remedy known factual inaccuracies. 210 1.1 christos 211 1.1 christos 3.5. Application of Additional Terms 212 1.1 christos 213 1.1 christos You may choose to offer, and to charge a fee for, warranty, support, 214 1.1 christos indemnity or liability obligations to one or more recipients of Covered 215 1.1 christos Software. However, You may do so only on Your own behalf, and not on 216 1.1 christos behalf of any Contributor. You must make it absolutely clear that any 217 1.1 christos such warranty, support, indemnity, or liability obligation is offered by 218 1.1 christos You alone, and You hereby agree to indemnify every Contributor for any 219 1.1 christos liability incurred by such Contributor as a result of warranty, support, 220 1.1 christos indemnity or liability terms You offer. You may include additional 221 1.1 christos disclaimers of warranty and limitations of liability specific to any 222 1.1 christos jurisdiction. 223 1.1 christos 224 1.1 christos 4. Inability to Comply Due to Statute or Regulation 225 1.1 christos 226 1.1 christos If it is impossible for You to comply with any of the terms of this License 227 1.1 christos with respect to some or all of the Covered Software due to statute, 228 1.1 christos judicial order, or regulation then You must: (a) comply with the terms of 229 1.1 christos this License to the maximum extent possible; and (b) describe the 230 1.1 christos limitations and the code they affect. Such description must be placed in a 231 1.1 christos text file included with all distributions of the Covered Software under 232 1.1 christos this License. Except to the extent prohibited by statute or regulation, 233 1.1 christos such description must be sufficiently detailed for a recipient of ordinary 234 1.1 christos skill to be able to understand it. 235 1.1 christos 236 1.1 christos 5. Termination 237 1.1 christos 238 1.1 christos 5.1. The rights granted under this License will terminate automatically if You 239 1.1 christos fail to comply with any of its terms. However, if You become compliant, 240 1.1 christos then the rights granted under this License from a particular Contributor 241 1.1 christos are reinstated (a) provisionally, unless and until such Contributor 242 1.1 christos explicitly and finally terminates Your grants, and (b) on an ongoing 243 1.1 christos basis, if such Contributor fails to notify You of the non-compliance by 244 1.1 christos some reasonable means prior to 60 days after You have come back into 245 1.1 christos compliance. Moreover, Your grants from a particular Contributor are 246 1.1 christos reinstated on an ongoing basis if such Contributor notifies You of the 247 1.1 christos non-compliance by some reasonable means, this is the first time You have 248 1.1 christos received notice of non-compliance with this License from such 249 1.1 christos Contributor, and You become compliant prior to 30 days after Your receipt 250 1.1 christos of the notice. 251 1.1 christos 252 1.1 christos 5.2. If You initiate litigation against any entity by asserting a patent 253 1.1 christos infringement claim (excluding declaratory judgment actions, 254 1.1 christos counter-claims, and cross-claims) alleging that a Contributor Version 255 1.1 christos directly or indirectly infringes any patent, then the rights granted to 256 1.1 christos You by any and all Contributors for the Covered Software under Section 257 1.1 christos 2.1 of this License shall terminate. 258 1.1 christos 259 1.1 christos 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user 260 1.1 christos license agreements (excluding distributors and resellers) which have been 261 1.1 christos validly granted by You or Your distributors under this License prior to 262 1.1 christos termination shall survive termination. 263 1.1 christos 264 1.1 christos 6. Disclaimer of Warranty 265 1.1 christos 266 1.1 christos Covered Software is provided under this License on an "as is" basis, 267 1.1 christos without warranty of any kind, either expressed, implied, or statutory, 268 1.1 christos including, without limitation, warranties that the Covered Software is free 269 1.1 christos of defects, merchantable, fit for a particular purpose or non-infringing. 270 1.1 christos The entire risk as to the quality and performance of the Covered Software 271 1.1 christos is with You. Should any Covered Software prove defective in any respect, 272 1.1 christos You (not any Contributor) assume the cost of any necessary servicing, 273 1.1 christos repair, or correction. This disclaimer of warranty constitutes an essential 274 1.1 christos part of this License. No use of any Covered Software is authorized under 275 1.1 christos this License except under this disclaimer. 276 1.1 christos 277 1.1 christos 7. Limitation of Liability 278 1.1 christos 279 1.1 christos Under no circumstances and under no legal theory, whether tort (including 280 1.1 christos negligence), contract, or otherwise, shall any Contributor, or anyone who 281 1.1 christos distributes Covered Software as permitted above, be liable to You for any 282 1.1 christos direct, indirect, special, incidental, or consequential damages of any 283 1.1 christos character including, without limitation, damages for lost profits, loss of 284 1.1 christos goodwill, work stoppage, computer failure or malfunction, or any and all 285 1.1 christos other commercial damages or losses, even if such party shall have been 286 1.1 christos informed of the possibility of such damages. This limitation of liability 287 1.1 christos shall not apply to liability for death or personal injury resulting from 288 1.1 christos such party's negligence to the extent applicable law prohibits such 289 1.1 christos limitation. Some jurisdictions do not allow the exclusion or limitation of 290 1.1 christos incidental or consequential damages, so this exclusion and limitation may 291 1.1 christos not apply to You. 292 1.1 christos 293 1.1 christos 8. Litigation 294 1.1 christos 295 1.1 christos Any litigation relating to this License may be brought only in the courts 296 1.1 christos of a jurisdiction where the defendant maintains its principal place of 297 1.1 christos business and such litigation shall be governed by laws of that 298 1.1 christos jurisdiction, without reference to its conflict-of-law provisions. Nothing 299 1.1 christos in this Section shall prevent a party's ability to bring cross-claims or 300 1.1 christos counter-claims. 301 1.1 christos 302 1.1 christos 9. Miscellaneous 303 1.1 christos 304 1.1 christos This License represents the complete agreement concerning the subject 305 1.1 christos matter hereof. If any provision of this License is held to be 306 1.1 christos unenforceable, such provision shall be reformed only to the extent 307 1.1 christos necessary to make it enforceable. Any law or regulation which provides that 308 1.1 christos the language of a contract shall be construed against the drafter shall not 309 1.1 christos be used to construe this License against a Contributor. 310 1.1 christos 311 1.1 christos 312 1.1 christos 10. Versions of the License 313 1.1 christos 314 1.1 christos 10.1. New Versions 315 1.1 christos 316 1.1 christos Mozilla Foundation is the license steward. Except as provided in Section 317 1.1 christos 10.3, no one other than the license steward has the right to modify or 318 1.1 christos publish new versions of this License. Each version will be given a 319 1.1 christos distinguishing version number. 320 1.1 christos 321 1.1 christos 10.2. Effect of New Versions 322 1.1 christos 323 1.1 christos You may distribute the Covered Software under the terms of the version 324 1.1 christos of the License under which You originally received the Covered Software, 325 1.1 christos or under the terms of any subsequent version published by the license 326 1.1 christos steward. 327 1.1 christos 328 1.1 christos 10.3. Modified Versions 329 1.1 christos 330 1.1 christos If you create software not governed by this License, and you want to 331 1.1 christos create a new license for such software, you may create and use a 332 1.1 christos modified version of this License if you rename the license and remove 333 1.1 christos any references to the name of the license steward (except to note that 334 1.1 christos such modified license differs from this License). 335 1.1 christos 336 1.1 christos 10.4. Distributing Source Code Form that is Incompatible With Secondary 337 1.1 christos Licenses If You choose to distribute Source Code Form that is 338 1.1 christos Incompatible With Secondary Licenses under the terms of this version of 339 1.1 christos the License, the notice described in Exhibit B of this License must be 340 1.1 christos attached. 341 1.1 christos 342 1.1 christos Exhibit A - Source Code Form License Notice 343 1.1 christos 344 1.1 christos This Source Code Form is subject to the 345 1.1 christos terms of the Mozilla Public License, v. 346 1.1 christos 2.0. If a copy of the MPL was not 347 1.1 christos distributed with this file, You can 348 1.1 christos obtain one at 349 1.1 christos https://mozilla.org/MPL/2.0/. 350 1.1 christos 351 1.1 christos If it is not possible or desirable to put the notice in a particular file, 352 1.1 christos then You may include the notice in a location (such as a LICENSE file in a 353 1.1 christos relevant directory) where a recipient would be likely to look for such a 354 1.1 christos notice. 355 1.1 christos 356 1.1 christos You may add additional accurate notices of copyright ownership. 357 1.1 christos 358 1.1 christos Exhibit B - "Incompatible With Secondary Licenses" Notice 359 1.1 christos 360 1.1 christos This Source Code Form is "Incompatible 361 1.1 christos With Secondary Licenses", as defined by 362 1.1 christos the Mozilla Public License, v. 2.0. 363