18b52a31eSHanoh Haim
28bbd5a29SHanoh Haim                                 Apache License
38bbd5a29SHanoh Haim                           Version 2.0, January 2004
48bbd5a29SHanoh Haim                        http://www.apache.org/licenses/
58bbd5a29SHanoh Haim
78bbd5a29SHanoh Haim
88bbd5a29SHanoh Haim   1. Definitions.
98bbd5a29SHanoh Haim
108bbd5a29SHanoh Haim      "License" shall mean the terms and conditions for use, reproduction,
118bbd5a29SHanoh Haim      and distribution as defined by Sections 1 through 9 of this document.
128bbd5a29SHanoh Haim
138bbd5a29SHanoh Haim      "Licensor" shall mean the copyright owner or entity authorized by
148bbd5a29SHanoh Haim      the copyright owner that is granting the License.
158bbd5a29SHanoh Haim
168bbd5a29SHanoh Haim      "Legal Entity" shall mean the union of the acting entity and all
178bbd5a29SHanoh Haim      other entities that control, are controlled by, or are under common
188bbd5a29SHanoh Haim      control with that entity. For the purposes of this definition,
198bbd5a29SHanoh Haim      "control" means (i) the power, direct or indirect, to cause the
208bbd5a29SHanoh Haim      direction or management of such entity, whether by contract or
218bbd5a29SHanoh Haim      otherwise, or (ii) ownership of fifty percent (50%) or more of the
228bbd5a29SHanoh Haim      outstanding shares, or (iii) beneficial ownership of such entity.
238bbd5a29SHanoh Haim
248bbd5a29SHanoh Haim      "You" (or "Your") shall mean an individual or Legal Entity
258bbd5a29SHanoh Haim      exercising permissions granted by this License.
268bbd5a29SHanoh Haim
278bbd5a29SHanoh Haim      "Source" form shall mean the preferred form for making modifications,
288bbd5a29SHanoh Haim      including but not limited to software source code, documentation
298bbd5a29SHanoh Haim      source, and configuration files.
308bbd5a29SHanoh Haim
318bbd5a29SHanoh Haim      "Object" form shall mean any form resulting from mechanical
328bbd5a29SHanoh Haim      transformation or translation of a Source form, including but
338bbd5a29SHanoh Haim      not limited to compiled object code, generated documentation,
348bbd5a29SHanoh Haim      and conversions to other media types.
358bbd5a29SHanoh Haim
368bbd5a29SHanoh Haim      "Work" shall mean the work of authorship, whether in Source or
378bbd5a29SHanoh Haim      Object form, made available under the License, as indicated by a
388bbd5a29SHanoh Haim      copyright notice that is included in or attached to the work
398bbd5a29SHanoh Haim      (an example is provided in the Appendix below).
408bbd5a29SHanoh Haim
418bbd5a29SHanoh Haim      "Derivative Works" shall mean any work, whether in Source or Object
428bbd5a29SHanoh Haim      form, that is based on (or derived from) the Work and for which the
438bbd5a29SHanoh Haim      editorial revisions, annotations, elaborations, or other modifications
448bbd5a29SHanoh Haim      represent, as a whole, an original work of authorship. For the purposes
458bbd5a29SHanoh Haim      of this License, Derivative Works shall not include works that remain
468bbd5a29SHanoh Haim      separable from, or merely link (or bind by name) to the interfaces of,
478bbd5a29SHanoh Haim      the Work and Derivative Works thereof.
488bbd5a29SHanoh Haim
498bbd5a29SHanoh Haim      "Contribution" shall mean any work of authorship, including
508bbd5a29SHanoh Haim      the original version of the Work and any modifications or additions
518bbd5a29SHanoh Haim      to that Work or Derivative Works thereof, that is intentionally
528bbd5a29SHanoh Haim      submitted to Licensor for inclusion in the Work by the copyright owner
538bbd5a29SHanoh Haim      or by an individual or Legal Entity authorized to submit on behalf of
548bbd5a29SHanoh Haim      the copyright owner. For the purposes of this definition, "submitted"
558bbd5a29SHanoh Haim      means any form of electronic, verbal, or written communication sent
568bbd5a29SHanoh Haim      to the Licensor or its representatives, including but not limited to
578bbd5a29SHanoh Haim      communication on electronic mailing lists, source code control systems,
588bbd5a29SHanoh Haim      and issue tracking systems that are managed by, or on behalf of, the
598bbd5a29SHanoh Haim      Licensor for the purpose of discussing and improving the Work, but
608bbd5a29SHanoh Haim      excluding communication that is conspicuously marked or otherwise
618bbd5a29SHanoh Haim      designated in writing by the copyright owner as "Not a Contribution."
628bbd5a29SHanoh Haim
638bbd5a29SHanoh Haim      "Contributor" shall mean Licensor and any individual or Legal Entity
648bbd5a29SHanoh Haim      on behalf of whom a Contribution has been received by Licensor and
658bbd5a29SHanoh Haim      subsequently incorporated within the Work.
668bbd5a29SHanoh Haim
678bbd5a29SHanoh Haim   2. Grant of Copyright License. Subject to the terms and conditions of
688bbd5a29SHanoh Haim      this License, each Contributor hereby grants to You a perpetual,
698bbd5a29SHanoh Haim      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
708bbd5a29SHanoh Haim      copyright license to reproduce, prepare Derivative Works of,
718bbd5a29SHanoh Haim      publicly display, publicly perform, sublicense, and distribute the
728bbd5a29SHanoh Haim      Work and such Derivative Works in Source or Object form.
738bbd5a29SHanoh Haim
748bbd5a29SHanoh Haim   3. Grant of Patent License. Subject to the terms and conditions of
758bbd5a29SHanoh Haim      this License, each Contributor hereby grants to You a perpetual,
768bbd5a29SHanoh Haim      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
778bbd5a29SHanoh Haim      (except as stated in this section) patent license to make, have made,
788bbd5a29SHanoh Haim      use, offer to sell, sell, import, and otherwise transfer the Work,
798bbd5a29SHanoh Haim      where such license applies only to those patent claims licensable
808bbd5a29SHanoh Haim      by such Contributor that are necessarily infringed by their
818bbd5a29SHanoh Haim      Contribution(s) alone or by combination of their Contribution(s)
828bbd5a29SHanoh Haim      with the Work to which such Contribution(s) was submitted. If You
838bbd5a29SHanoh Haim      institute patent litigation against any entity (including a
848bbd5a29SHanoh Haim      cross-claim or counterclaim in a lawsuit) alleging that the Work
858bbd5a29SHanoh Haim      or a Contribution incorporated within the Work constitutes direct
868bbd5a29SHanoh Haim      or contributory patent infringement, then any patent licenses
878bbd5a29SHanoh Haim      granted to You under this License for that Work shall terminate
888bbd5a29SHanoh Haim      as of the date such litigation is filed.
898bbd5a29SHanoh Haim
908bbd5a29SHanoh Haim   4. Redistribution. You may reproduce and distribute copies of the
918bbd5a29SHanoh Haim      Work or Derivative Works thereof in any medium, with or without
928bbd5a29SHanoh Haim      modifications, and in Source or Object form, provided that You
938bbd5a29SHanoh Haim      meet the following conditions:
948bbd5a29SHanoh Haim
958bbd5a29SHanoh Haim      (a) You must give any other recipients of the Work or
968bbd5a29SHanoh Haim          Derivative Works a copy of this License; and
978bbd5a29SHanoh Haim
988bbd5a29SHanoh Haim      (b) You must cause any modified files to carry prominent notices
998bbd5a29SHanoh Haim          stating that You changed the files; and
1008bbd5a29SHanoh Haim
1018bbd5a29SHanoh Haim      (c) You must retain, in the Source form of any Derivative Works
1028bbd5a29SHanoh Haim          that You distribute, all copyright, patent, trademark, and
1038bbd5a29SHanoh Haim          attribution notices from the Source form of the Work,
1048bbd5a29SHanoh Haim          excluding those notices that do not pertain to any part of
1058bbd5a29SHanoh Haim          the Derivative Works; and
1068bbd5a29SHanoh Haim
1078bbd5a29SHanoh Haim      (d) If the Work includes a "NOTICE" text file as part of its
1088bbd5a29SHanoh Haim          distribution, then any Derivative Works that You distribute must
1098bbd5a29SHanoh Haim          include a readable copy of the attribution notices contained
1108bbd5a29SHanoh Haim          within such NOTICE file, excluding those notices that do not
1118bbd5a29SHanoh Haim          pertain to any part of the Derivative Works, in at least one
1128bbd5a29SHanoh Haim          of the following places: within a NOTICE text file distributed
1138bbd5a29SHanoh Haim          as part of the Derivative Works; within the Source form or
1148bbd5a29SHanoh Haim          documentation, if provided along with the Derivative Works; or,
1158bbd5a29SHanoh Haim          within a display generated by the Derivative Works, if and
1168bbd5a29SHanoh Haim          wherever such third-party notices normally appear. The contents
1178bbd5a29SHanoh Haim          of the NOTICE file are for informational purposes only and
1188bbd5a29SHanoh Haim          do not modify the License. You may add Your own attribution
1198bbd5a29SHanoh Haim          notices within Derivative Works that You distribute, alongside
1208bbd5a29SHanoh Haim          or as an addendum to the NOTICE text from the Work, provided
1218bbd5a29SHanoh Haim          that such additional attribution notices cannot be construed
1228bbd5a29SHanoh Haim          as modifying the License.
1238bbd5a29SHanoh Haim
1248bbd5a29SHanoh Haim      You may add Your own copyright statement to Your modifications and
1258bbd5a29SHanoh Haim      may provide additional or different license terms and conditions
1268bbd5a29SHanoh Haim      for use, reproduction, or distribution of Your modifications, or
1278bbd5a29SHanoh Haim      for any such Derivative Works as a whole, provided Your use,
1288bbd5a29SHanoh Haim      reproduction, and distribution of the Work otherwise complies with
1298bbd5a29SHanoh Haim      the conditions stated in this License.
1308bbd5a29SHanoh Haim
1318bbd5a29SHanoh Haim   5. Submission of Contributions. Unless You explicitly state otherwise,
1328bbd5a29SHanoh Haim      any Contribution intentionally submitted for inclusion in the Work
1338bbd5a29SHanoh Haim      by You to the Licensor shall be under the terms and conditions of
1348bbd5a29SHanoh Haim      this License, without any additional terms or conditions.
1358bbd5a29SHanoh Haim      Notwithstanding the above, nothing herein shall supersede or modify
1368bbd5a29SHanoh Haim      the terms of any separate license agreement you may have executed
1378bbd5a29SHanoh Haim      with Licensor regarding such Contributions.
1388bbd5a29SHanoh Haim
1398bbd5a29SHanoh Haim   6. Trademarks. This License does not grant permission to use the trade
1408bbd5a29SHanoh Haim      names, trademarks, service marks, or product names of the Licensor,
1418bbd5a29SHanoh Haim      except as required for reasonable and customary use in describing the
1428bbd5a29SHanoh Haim      origin of the Work and reproducing the content of the NOTICE file.
1438bbd5a29SHanoh Haim
1448bbd5a29SHanoh Haim   7. Disclaimer of Warranty. Unless required by applicable law or
1458bbd5a29SHanoh Haim      agreed to in writing, Licensor provides the Work (and each
1468bbd5a29SHanoh Haim      Contributor provides its Contributions) on an "AS IS" BASIS,
1478bbd5a29SHanoh Haim      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1488bbd5a29SHanoh Haim      implied, including, without limitation, any warranties or conditions
1508bbd5a29SHanoh Haim      PARTICULAR PURPOSE. You are solely responsible for determining the
1518bbd5a29SHanoh Haim      appropriateness of using or redistributing the Work and assume any
1528bbd5a29SHanoh Haim      risks associated with Your exercise of permissions under this License.
1538bbd5a29SHanoh Haim
1548bbd5a29SHanoh Haim   8. Limitation of Liability. In no event and under no legal theory,
1558bbd5a29SHanoh Haim      whether in tort (including negligence), contract, or otherwise,
1568bbd5a29SHanoh Haim      unless required by applicable law (such as deliberate and grossly
1578bbd5a29SHanoh Haim      negligent acts) or agreed to in writing, shall any Contributor be
1588bbd5a29SHanoh Haim      liable to You for damages, including any direct, indirect, special,
1598bbd5a29SHanoh Haim      incidental, or consequential damages of any character arising as a
1608bbd5a29SHanoh Haim      result of this License or out of the use or inability to use the
1618bbd5a29SHanoh Haim      Work (including but not limited to damages for loss of goodwill,
1628bbd5a29SHanoh Haim      work stoppage, computer failure or malfunction, or any and all
1638bbd5a29SHanoh Haim      other commercial damages or losses), even if such Contributor
1648bbd5a29SHanoh Haim      has been advised of the possibility of such damages.
1658bbd5a29SHanoh Haim
1668bbd5a29SHanoh Haim   9. Accepting Warranty or Additional Liability. While redistributing
1678bbd5a29SHanoh Haim      the Work or Derivative Works thereof, You may choose to offer,
1688bbd5a29SHanoh Haim      and charge a fee for, acceptance of support, warranty, indemnity,
1698bbd5a29SHanoh Haim      or other liability obligations and/or rights consistent with this
1708bbd5a29SHanoh Haim      License. However, in accepting such obligations, You may act only
1718bbd5a29SHanoh Haim      on Your own behalf and on Your sole responsibility, not on behalf
1728bbd5a29SHanoh Haim      of any other Contributor, and only if You agree to indemnify,
1738bbd5a29SHanoh Haim      defend, and hold each Contributor harmless for any liability
1748bbd5a29SHanoh Haim      incurred by, or claims asserted against, such Contributor by reason
1758bbd5a29SHanoh Haim      of your accepting any such warranty or additional liability.
1768bbd5a29SHanoh Haim
1778bbd5a29SHanoh Haim   END OF TERMS AND CONDITIONS
1788bbd5a29SHanoh Haim
1798bbd5a29SHanoh Haim   APPENDIX: How to apply the Apache License to your work.
1808bbd5a29SHanoh Haim
1818bbd5a29SHanoh Haim      To apply the Apache License to your work, attach the following
1828bbd5a29SHanoh Haim      boilerplate notice, with the fields enclosed by brackets "[]"
1838bbd5a29SHanoh Haim      replaced with your own identifying information. (Don't include
1848bbd5a29SHanoh Haim      the brackets!)  The text should be enclosed in the appropriate
1858bbd5a29SHanoh Haim      comment syntax for the file format. We also recommend that a
1868bbd5a29SHanoh Haim      file or class name and description of purpose be included on the
1878bbd5a29SHanoh Haim      same "printed page" as the copyright notice for easier
1888bbd5a29SHanoh Haim      identification within third-party archives.
1898bbd5a29SHanoh Haim
1908bbd5a29SHanoh Haim   Copyright [yyyy] [name of copyright owner]
1918b52a31eSHanoh Haim
1928b52a31eSHanoh Haim   Licensed under the Apache License, Version 2.0 (the "License");
1938b52a31eSHanoh Haim   you may not use this file except in compliance with the License.
1948b52a31eSHanoh Haim   You may obtain a copy of the License at
1958b52a31eSHanoh Haim
1968b52a31eSHanoh Haim       http://www.apache.org/licenses/LICENSE-2.0
1978b52a31eSHanoh Haim
1988b52a31eSHanoh Haim   Unless required by applicable law or agreed to in writing, software
1998b52a31eSHanoh Haim   distributed under the License is distributed on an "AS IS" BASIS,
2008b52a31eSHanoh Haim   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2018b52a31eSHanoh Haim   See the License for the specific language governing permissions and
2028b52a31eSHanoh Haim   limitations under the License.