bb8f8e
bb8f8e
                                 Apache License
bb8f8e
                           Version 2.0, January 2004
bb8f8e
                        http://www.apache.org/licenses/
bb8f8e
bb8f8e
   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
bb8f8e
bb8f8e
   1. Definitions.
bb8f8e
bb8f8e
      "License" shall mean the terms and conditions for use, reproduction,
bb8f8e
      and distribution as defined by Sections 1 through 9 of this document.
bb8f8e
bb8f8e
      "Licensor" shall mean the copyright owner or entity authorized by
bb8f8e
      the copyright owner that is granting the License.
bb8f8e
bb8f8e
      "Legal Entity" shall mean the union of the acting entity and all
bb8f8e
      other entities that control, are controlled by, or are under common
bb8f8e
      control with that entity. For the purposes of this definition,
bb8f8e
      "control" means (i) the power, direct or indirect, to cause the
bb8f8e
      direction or management of such entity, whether by contract or
bb8f8e
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
bb8f8e
      outstanding shares, or (iii) beneficial ownership of such entity.
bb8f8e
bb8f8e
      "You" (or "Your") shall mean an individual or Legal Entity
bb8f8e
      exercising permissions granted by this License.
bb8f8e
bb8f8e
      "Source" form shall mean the preferred form for making modifications,
bb8f8e
      including but not limited to software source code, documentation
bb8f8e
      source, and configuration files.
bb8f8e
bb8f8e
      "Object" form shall mean any form resulting from mechanical
bb8f8e
      transformation or translation of a Source form, including but
bb8f8e
      not limited to compiled object code, generated documentation,
bb8f8e
      and conversions to other media types.
bb8f8e
bb8f8e
      "Work" shall mean the work of authorship, whether in Source or
bb8f8e
      Object form, made available under the License, as indicated by a
bb8f8e
      copyright notice that is included in or attached to the work
bb8f8e
      (an example is provided in the Appendix below).
bb8f8e
bb8f8e
      "Derivative Works" shall mean any work, whether in Source or Object
bb8f8e
      form, that is based on (or derived from) the Work and for which the
bb8f8e
      editorial revisions, annotations, elaborations, or other modifications
bb8f8e
      represent, as a whole, an original work of authorship. For the purposes
bb8f8e
      of this License, Derivative Works shall not include works that remain
bb8f8e
      separable from, or merely link (or bind by name) to the interfaces of,
bb8f8e
      the Work and Derivative Works thereof.
bb8f8e
bb8f8e
      "Contribution" shall mean any work of authorship, including
bb8f8e
      the original version of the Work and any modifications or additions
bb8f8e
      to that Work or Derivative Works thereof, that is intentionally
bb8f8e
      submitted to Licensor for inclusion in the Work by the copyright owner
bb8f8e
      or by an individual or Legal Entity authorized to submit on behalf of
bb8f8e
      the copyright owner. For the purposes of this definition, "submitted"
bb8f8e
      means any form of electronic, verbal, or written communication sent
bb8f8e
      to the Licensor or its representatives, including but not limited to
bb8f8e
      communication on electronic mailing lists, source code control systems,
bb8f8e
      and issue tracking systems that are managed by, or on behalf of, the
bb8f8e
      Licensor for the purpose of discussing and improving the Work, but
bb8f8e
      excluding communication that is conspicuously marked or otherwise
bb8f8e
      designated in writing by the copyright owner as "Not a Contribution."
bb8f8e
bb8f8e
      "Contributor" shall mean Licensor and any individual or Legal Entity
bb8f8e
      on behalf of whom a Contribution has been received by Licensor and
bb8f8e
      subsequently incorporated within the Work.
bb8f8e
bb8f8e
   2. Grant of Copyright License. Subject to the terms and conditions of
bb8f8e
      this License, each Contributor hereby grants to You a perpetual,
bb8f8e
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
bb8f8e
      copyright license to reproduce, prepare Derivative Works of,
bb8f8e
      publicly display, publicly perform, sublicense, and distribute the
bb8f8e
      Work and such Derivative Works in Source or Object form.
bb8f8e
bb8f8e
   3. Grant of Patent License. Subject to the terms and conditions of
bb8f8e
      this License, each Contributor hereby grants to You a perpetual,
bb8f8e
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
bb8f8e
      (except as stated in this section) patent license to make, have made,
bb8f8e
      use, offer to sell, sell, import, and otherwise transfer the Work,
bb8f8e
      where such license applies only to those patent claims licensable
bb8f8e
      by such Contributor that are necessarily infringed by their
bb8f8e
      Contribution(s) alone or by combination of their Contribution(s)
bb8f8e
      with the Work to which such Contribution(s) was submitted. If You
bb8f8e
      institute patent litigation against any entity (including a
bb8f8e
      cross-claim or counterclaim in a lawsuit) alleging that the Work
bb8f8e
      or a Contribution incorporated within the Work constitutes direct
bb8f8e
      or contributory patent infringement, then any patent licenses
bb8f8e
      granted to You under this License for that Work shall terminate
bb8f8e
      as of the date such litigation is filed.
bb8f8e
bb8f8e
   4. Redistribution. You may reproduce and distribute copies of the
bb8f8e
      Work or Derivative Works thereof in any medium, with or without
bb8f8e
      modifications, and in Source or Object form, provided that You
bb8f8e
      meet the following conditions:
bb8f8e
bb8f8e
      (a) You must give any other recipients of the Work or
bb8f8e
          Derivative Works a copy of this License; and
bb8f8e
bb8f8e
      (b) You must cause any modified files to carry prominent notices
bb8f8e
          stating that You changed the files; and
bb8f8e
bb8f8e
      (c) You must retain, in the Source form of any Derivative Works
bb8f8e
          that You distribute, all copyright, patent, trademark, and
bb8f8e
          attribution notices from the Source form of the Work,
bb8f8e
          excluding those notices that do not pertain to any part of
bb8f8e
          the Derivative Works; and
bb8f8e
bb8f8e
      (d) If the Work includes a "NOTICE" text file as part of its
bb8f8e
          distribution, then any Derivative Works that You distribute must
bb8f8e
          include a readable copy of the attribution notices contained
bb8f8e
          within such NOTICE file, excluding those notices that do not
bb8f8e
          pertain to any part of the Derivative Works, in at least one
bb8f8e
          of the following places: within a NOTICE text file distributed
bb8f8e
          as part of the Derivative Works; within the Source form or
bb8f8e
          documentation, if provided along with the Derivative Works; or,
bb8f8e
          within a display generated by the Derivative Works, if and
bb8f8e
          wherever such third-party notices normally appear. The contents
bb8f8e
          of the NOTICE file are for informational purposes only and
bb8f8e
          do not modify the License. You may add Your own attribution
bb8f8e
          notices within Derivative Works that You distribute, alongside
bb8f8e
          or as an addendum to the NOTICE text from the Work, provided
bb8f8e
          that such additional attribution notices cannot be construed
bb8f8e
          as modifying the License.
bb8f8e
bb8f8e
      You may add Your own copyright statement to Your modifications and
bb8f8e
      may provide additional or different license terms and conditions
bb8f8e
      for use, reproduction, or distribution of Your modifications, or
bb8f8e
      for any such Derivative Works as a whole, provided Your use,
bb8f8e
      reproduction, and distribution of the Work otherwise complies with
bb8f8e
      the conditions stated in this License.
bb8f8e
bb8f8e
   5. Submission of Contributions. Unless You explicitly state otherwise,
bb8f8e
      any Contribution intentionally submitted for inclusion in the Work
bb8f8e
      by You to the Licensor shall be under the terms and conditions of
bb8f8e
      this License, without any additional terms or conditions.
bb8f8e
      Notwithstanding the above, nothing herein shall supersede or modify
bb8f8e
      the terms of any separate license agreement you may have executed
bb8f8e
      with Licensor regarding such Contributions.
bb8f8e
bb8f8e
   6. Trademarks. This License does not grant permission to use the trade
bb8f8e
      names, trademarks, service marks, or product names of the Licensor,
bb8f8e
      except as required for reasonable and customary use in describing the
bb8f8e
      origin of the Work and reproducing the content of the NOTICE file.
bb8f8e
bb8f8e
   7. Disclaimer of Warranty. Unless required by applicable law or
bb8f8e
      agreed to in writing, Licensor provides the Work (and each
bb8f8e
      Contributor provides its Contributions) on an "AS IS" BASIS,
bb8f8e
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
bb8f8e
      implied, including, without limitation, any warranties or conditions
bb8f8e
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
bb8f8e
      PARTICULAR PURPOSE. You are solely responsible for determining the
bb8f8e
      appropriateness of using or redistributing the Work and assume any
bb8f8e
      risks associated with Your exercise of permissions under this License.
bb8f8e
bb8f8e
   8. Limitation of Liability. In no event and under no legal theory,
bb8f8e
      whether in tort (including negligence), contract, or otherwise,
bb8f8e
      unless required by applicable law (such as deliberate and grossly
bb8f8e
      negligent acts) or agreed to in writing, shall any Contributor be
bb8f8e
      liable to You for damages, including any direct, indirect, special,
bb8f8e
      incidental, or consequential damages of any character arising as a
bb8f8e
      result of this License or out of the use or inability to use the
bb8f8e
      Work (including but not limited to damages for loss of goodwill,
bb8f8e
      work stoppage, computer failure or malfunction, or any and all
bb8f8e
      other commercial damages or losses), even if such Contributor
bb8f8e
      has been advised of the possibility of such damages.
bb8f8e
bb8f8e
   9. Accepting Warranty or Additional Liability. While redistributing
bb8f8e
      the Work or Derivative Works thereof, You may choose to offer,
bb8f8e
      and charge a fee for, acceptance of support, warranty, indemnity,
bb8f8e
      or other liability obligations and/or rights consistent with this
bb8f8e
      License. However, in accepting such obligations, You may act only
bb8f8e
      on Your own behalf and on Your sole responsibility, not on behalf
bb8f8e
      of any other Contributor, and only if You agree to indemnify,
bb8f8e
      defend, and hold each Contributor harmless for any liability
bb8f8e
      incurred by, or claims asserted against, such Contributor by reason
bb8f8e
      of your accepting any such warranty or additional liability.
bb8f8e
bb8f8e
   END OF TERMS AND CONDITIONS
bb8f8e
bb8f8e
   APPENDIX: How to apply the Apache License to your work.
bb8f8e
bb8f8e
      To apply the Apache License to your work, attach the following
bb8f8e
      boilerplate notice, with the fields enclosed by brackets "[]"
bb8f8e
      replaced with your own identifying information. (Don't include
bb8f8e
      the brackets!)  The text should be enclosed in the appropriate
bb8f8e
      comment syntax for the file format. We also recommend that a
bb8f8e
      file or class name and description of purpose be included on the
bb8f8e
      same "printed page" as the copyright notice for easier
bb8f8e
      identification within third-party archives.
bb8f8e
bb8f8e
   Copyright [yyyy] [name of copyright owner]
bb8f8e
bb8f8e
   Licensed under the Apache License, Version 2.0 (the "License");
bb8f8e
   you may not use this file except in compliance with the License.
bb8f8e
   You may obtain a copy of the License at
bb8f8e
bb8f8e
       http://www.apache.org/licenses/LICENSE-2.0
bb8f8e
bb8f8e
   Unless required by applicable law or agreed to in writing, software
bb8f8e
   distributed under the License is distributed on an "AS IS" BASIS,
bb8f8e
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
bb8f8e
   See the License for the specific language governing permissions and
bb8f8e
   limitations under the License.