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