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