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