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