11a9dfe99SDoug MacEachern                              Apache License
21a9dfe99SDoug MacEachern                        Version 2.0, January 2004
31a9dfe99SDoug MacEachern                     http://www.apache.org/licenses/
41a9dfe99SDoug MacEachern
51a9dfe99SDoug MacEachernTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
61a9dfe99SDoug MacEachern
71a9dfe99SDoug MacEachern1. Definitions.
81a9dfe99SDoug MacEachern
91a9dfe99SDoug MacEachern   "License" shall mean the terms and conditions for use, reproduction,
101a9dfe99SDoug MacEachern   and distribution as defined by Sections 1 through 9 of this document.
111a9dfe99SDoug MacEachern
121a9dfe99SDoug MacEachern   "Licensor" shall mean the copyright owner or entity authorized by
131a9dfe99SDoug MacEachern   the copyright owner that is granting the License.
141a9dfe99SDoug MacEachern
151a9dfe99SDoug MacEachern   "Legal Entity" shall mean the union of the acting entity and all
161a9dfe99SDoug MacEachern   other entities that control, are controlled by, or are under common
171a9dfe99SDoug MacEachern   control with that entity. For the purposes of this definition,
181a9dfe99SDoug MacEachern   "control" means (i) the power, direct or indirect, to cause the
191a9dfe99SDoug MacEachern   direction or management of such entity, whether by contract or
201a9dfe99SDoug MacEachern   otherwise, or (ii) ownership of fifty percent (50%) or more of the
211a9dfe99SDoug MacEachern   outstanding shares, or (iii) beneficial ownership of such entity.
221a9dfe99SDoug MacEachern
231a9dfe99SDoug MacEachern   "You" (or "Your") shall mean an individual or Legal Entity
241a9dfe99SDoug MacEachern   exercising permissions granted by this License.
251a9dfe99SDoug MacEachern
261a9dfe99SDoug MacEachern   "Source" form shall mean the preferred form for making modifications,
271a9dfe99SDoug MacEachern   including but not limited to software source code, documentation
281a9dfe99SDoug MacEachern   source, and configuration files.
291a9dfe99SDoug MacEachern
301a9dfe99SDoug MacEachern   "Object" form shall mean any form resulting from mechanical
311a9dfe99SDoug MacEachern   transformation or translation of a Source form, including but
321a9dfe99SDoug MacEachern   not limited to compiled object code, generated documentation,
331a9dfe99SDoug MacEachern   and conversions to other media types.
341a9dfe99SDoug MacEachern
351a9dfe99SDoug MacEachern   "Work" shall mean the work of authorship, whether in Source or
361a9dfe99SDoug MacEachern   Object form, made available under the License, as indicated by a
371a9dfe99SDoug MacEachern   copyright notice that is included in or attached to the work
381a9dfe99SDoug MacEachern   (an example is provided in the Appendix below).
391a9dfe99SDoug MacEachern
401a9dfe99SDoug MacEachern   "Derivative Works" shall mean any work, whether in Source or Object
411a9dfe99SDoug MacEachern   form, that is based on (or derived from) the Work and for which the
421a9dfe99SDoug MacEachern   editorial revisions, annotations, elaborations, or other modifications
431a9dfe99SDoug MacEachern   represent, as a whole, an original work of authorship. For the purposes
441a9dfe99SDoug MacEachern   of this License, Derivative Works shall not include works that remain
451a9dfe99SDoug MacEachern   separable from, or merely link (or bind by name) to the interfaces of,
461a9dfe99SDoug MacEachern   the Work and Derivative Works thereof.
471a9dfe99SDoug MacEachern
481a9dfe99SDoug MacEachern   "Contribution" shall mean any work of authorship, including
491a9dfe99SDoug MacEachern   the original version of the Work and any modifications or additions
501a9dfe99SDoug MacEachern   to that Work or Derivative Works thereof, that is intentionally
511a9dfe99SDoug MacEachern   submitted to Licensor for inclusion in the Work by the copyright owner
521a9dfe99SDoug MacEachern   or by an individual or Legal Entity authorized to submit on behalf of
531a9dfe99SDoug MacEachern   the copyright owner. For the purposes of this definition, "submitted"
541a9dfe99SDoug MacEachern   means any form of electronic, verbal, or written communication sent
551a9dfe99SDoug MacEachern   to the Licensor or its representatives, including but not limited to
561a9dfe99SDoug MacEachern   communication on electronic mailing lists, source code control systems,
571a9dfe99SDoug MacEachern   and issue tracking systems that are managed by, or on behalf of, the
581a9dfe99SDoug MacEachern   Licensor for the purpose of discussing and improving the Work, but
591a9dfe99SDoug MacEachern   excluding communication that is conspicuously marked or otherwise
601a9dfe99SDoug MacEachern   designated in writing by the copyright owner as "Not a Contribution."
611a9dfe99SDoug MacEachern
621a9dfe99SDoug MacEachern   "Contributor" shall mean Licensor and any individual or Legal Entity
631a9dfe99SDoug MacEachern   on behalf of whom a Contribution has been received by Licensor and
641a9dfe99SDoug MacEachern   subsequently incorporated within the Work.
651a9dfe99SDoug MacEachern
661a9dfe99SDoug MacEachern2. Grant of Copyright License. Subject to the terms and conditions of
671a9dfe99SDoug MacEachern   this License, each Contributor hereby grants to You a perpetual,
681a9dfe99SDoug MacEachern   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
691a9dfe99SDoug MacEachern   copyright license to reproduce, prepare Derivative Works of,
701a9dfe99SDoug MacEachern   publicly display, publicly perform, sublicense, and distribute the
711a9dfe99SDoug MacEachern   Work and such Derivative Works in Source or Object form.
721a9dfe99SDoug MacEachern
731a9dfe99SDoug MacEachern3. Grant of Patent License. Subject to the terms and conditions of
741a9dfe99SDoug MacEachern   this License, each Contributor hereby grants to You a perpetual,
751a9dfe99SDoug MacEachern   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
761a9dfe99SDoug MacEachern   (except as stated in this section) patent license to make, have made,
771a9dfe99SDoug MacEachern   use, offer to sell, sell, import, and otherwise transfer the Work,
781a9dfe99SDoug MacEachern   where such license applies only to those patent claims licensable
791a9dfe99SDoug MacEachern   by such Contributor that are necessarily infringed by their
801a9dfe99SDoug MacEachern   Contribution(s) alone or by combination of their Contribution(s)
811a9dfe99SDoug MacEachern   with the Work to which such Contribution(s) was submitted. If You
821a9dfe99SDoug MacEachern   institute patent litigation against any entity (including a
831a9dfe99SDoug MacEachern   cross-claim or counterclaim in a lawsuit) alleging that the Work
841a9dfe99SDoug MacEachern   or a Contribution incorporated within the Work constitutes direct
851a9dfe99SDoug MacEachern   or contributory patent infringement, then any patent licenses
861a9dfe99SDoug MacEachern   granted to You under this License for that Work shall terminate
871a9dfe99SDoug MacEachern   as of the date such litigation is filed.
881a9dfe99SDoug MacEachern
891a9dfe99SDoug MacEachern4. Redistribution. You may reproduce and distribute copies of the
901a9dfe99SDoug MacEachern   Work or Derivative Works thereof in any medium, with or without
911a9dfe99SDoug MacEachern   modifications, and in Source or Object form, provided that You
921a9dfe99SDoug MacEachern   meet the following conditions:
931a9dfe99SDoug MacEachern
941a9dfe99SDoug MacEachern   (a) You must give any other recipients of the Work or
951a9dfe99SDoug MacEachern       Derivative Works a copy of this License; and
961a9dfe99SDoug MacEachern
971a9dfe99SDoug MacEachern   (b) You must cause any modified files to carry prominent notices
981a9dfe99SDoug MacEachern       stating that You changed the files; and
991a9dfe99SDoug MacEachern
1001a9dfe99SDoug MacEachern   (c) You must retain, in the Source form of any Derivative Works
1011a9dfe99SDoug MacEachern       that You distribute, all copyright, patent, trademark, and
1021a9dfe99SDoug MacEachern       attribution notices from the Source form of the Work,
1031a9dfe99SDoug MacEachern       excluding those notices that do not pertain to any part of
1041a9dfe99SDoug MacEachern       the Derivative Works; and
1051a9dfe99SDoug MacEachern
1061a9dfe99SDoug MacEachern   (d) If the Work includes a "NOTICE" text file as part of its
1071a9dfe99SDoug MacEachern       distribution, then any Derivative Works that You distribute must
1081a9dfe99SDoug MacEachern       include a readable copy of the attribution notices contained
1091a9dfe99SDoug MacEachern       within such NOTICE file, excluding those notices that do not
1101a9dfe99SDoug MacEachern       pertain to any part of the Derivative Works, in at least one
1111a9dfe99SDoug MacEachern       of the following places: within a NOTICE text file distributed
1121a9dfe99SDoug MacEachern       as part of the Derivative Works; within the Source form or
1131a9dfe99SDoug MacEachern       documentation, if provided along with the Derivative Works; or,
1141a9dfe99SDoug MacEachern       within a display generated by the Derivative Works, if and
1151a9dfe99SDoug MacEachern       wherever such third-party notices normally appear. The contents
1161a9dfe99SDoug MacEachern       of the NOTICE file are for informational purposes only and
1171a9dfe99SDoug MacEachern       do not modify the License. You may add Your own attribution
1181a9dfe99SDoug MacEachern       notices within Derivative Works that You distribute, alongside
1191a9dfe99SDoug MacEachern       or as an addendum to the NOTICE text from the Work, provided
1201a9dfe99SDoug MacEachern       that such additional attribution notices cannot be construed
1211a9dfe99SDoug MacEachern       as modifying the License.
1221a9dfe99SDoug MacEachern
1231a9dfe99SDoug MacEachern   You may add Your own copyright statement to Your modifications and
1241a9dfe99SDoug MacEachern   may provide additional or different license terms and conditions
1251a9dfe99SDoug MacEachern   for use, reproduction, or distribution of Your modifications, or
1261a9dfe99SDoug MacEachern   for any such Derivative Works as a whole, provided Your use,
1271a9dfe99SDoug MacEachern   reproduction, and distribution of the Work otherwise complies with
1281a9dfe99SDoug MacEachern   the conditions stated in this License.
1291a9dfe99SDoug MacEachern
1301a9dfe99SDoug MacEachern5. Submission of Contributions. Unless You explicitly state otherwise,
1311a9dfe99SDoug MacEachern   any Contribution intentionally submitted for inclusion in the Work
1321a9dfe99SDoug MacEachern   by You to the Licensor shall be under the terms and conditions of
1331a9dfe99SDoug MacEachern   this License, without any additional terms or conditions.
1341a9dfe99SDoug MacEachern   Notwithstanding the above, nothing herein shall supersede or modify
1351a9dfe99SDoug MacEachern   the terms of any separate license agreement you may have executed
1361a9dfe99SDoug MacEachern   with Licensor regarding such Contributions.
1371a9dfe99SDoug MacEachern
1381a9dfe99SDoug MacEachern6. Trademarks. This License does not grant permission to use the trade
1391a9dfe99SDoug MacEachern   names, trademarks, service marks, or product names of the Licensor,
1401a9dfe99SDoug MacEachern   except as required for reasonable and customary use in describing the
1411a9dfe99SDoug MacEachern   origin of the Work and reproducing the content of the NOTICE file.
1421a9dfe99SDoug MacEachern
1431a9dfe99SDoug MacEachern7. Disclaimer of Warranty. Unless required by applicable law or
1441a9dfe99SDoug MacEachern   agreed to in writing, Licensor provides the Work (and each
1451a9dfe99SDoug MacEachern   Contributor provides its Contributions) on an "AS IS" BASIS,
1461a9dfe99SDoug MacEachern   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1471a9dfe99SDoug MacEachern   implied, including, without limitation, any warranties or conditions
1481a9dfe99SDoug MacEachern   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1491a9dfe99SDoug MacEachern   PARTICULAR PURPOSE. You are solely responsible for determining the
1501a9dfe99SDoug MacEachern   appropriateness of using or redistributing the Work and assume any
1511a9dfe99SDoug MacEachern   risks associated with Your exercise of permissions under this License.
1521a9dfe99SDoug MacEachern
1531a9dfe99SDoug MacEachern8. Limitation of Liability. In no event and under no legal theory,
1541a9dfe99SDoug MacEachern   whether in tort (including negligence), contract, or otherwise,
1551a9dfe99SDoug MacEachern   unless required by applicable law (such as deliberate and grossly
1561a9dfe99SDoug MacEachern   negligent acts) or agreed to in writing, shall any Contributor be
1571a9dfe99SDoug MacEachern   liable to You for damages, including any direct, indirect, special,
1581a9dfe99SDoug MacEachern   incidental, or consequential damages of any character arising as a
1591a9dfe99SDoug MacEachern   result of this License or out of the use or inability to use the
1601a9dfe99SDoug MacEachern   Work (including but not limited to damages for loss of goodwill,
1611a9dfe99SDoug MacEachern   work stoppage, computer failure or malfunction, or any and all
1621a9dfe99SDoug MacEachern   other commercial damages or losses), even if such Contributor
1631a9dfe99SDoug MacEachern   has been advised of the possibility of such damages.
1641a9dfe99SDoug MacEachern
1651a9dfe99SDoug MacEachern9. Accepting Warranty or Additional Liability. While redistributing
1661a9dfe99SDoug MacEachern   the Work or Derivative Works thereof, You may choose to offer,
1671a9dfe99SDoug MacEachern   and charge a fee for, acceptance of support, warranty, indemnity,
1681a9dfe99SDoug MacEachern   or other liability obligations and/or rights consistent with this
1691a9dfe99SDoug MacEachern   License. However, in accepting such obligations, You may act only
1701a9dfe99SDoug MacEachern   on Your own behalf and on Your sole responsibility, not on behalf
1711a9dfe99SDoug MacEachern   of any other Contributor, and only if You agree to indemnify,
1721a9dfe99SDoug MacEachern   defend, and hold each Contributor harmless for any liability
1731a9dfe99SDoug MacEachern   incurred by, or claims asserted against, such Contributor by reason
1741a9dfe99SDoug MacEachern   of your accepting any such warranty or additional liability.
1751a9dfe99SDoug MacEachern
1761a9dfe99SDoug MacEachernEND OF TERMS AND CONDITIONS
1771a9dfe99SDoug MacEachern
1781a9dfe99SDoug MacEachernAPPENDIX: How to apply the Apache License to your work.
1791a9dfe99SDoug MacEachern
1801a9dfe99SDoug MacEachern   To apply the Apache License to your work, attach the following
1811a9dfe99SDoug MacEachern   boilerplate notice, with the fields enclosed by brackets "[]"
1821a9dfe99SDoug MacEachern   replaced with your own identifying information. (Don't include
1831a9dfe99SDoug MacEachern   the brackets!)  The text should be enclosed in the appropriate
1841a9dfe99SDoug MacEachern   comment syntax for the file format. We also recommend that a
1851a9dfe99SDoug MacEachern   file or class name and description of purpose be included on the
1861a9dfe99SDoug MacEachern   same "printed page" as the copyright notice for easier
1871a9dfe99SDoug MacEachern   identification within third-party archives.
1881a9dfe99SDoug MacEachern
1891a9dfe99SDoug MacEachernCopyright [yyyy] [name of copyright owner]
1901a9dfe99SDoug MacEachern
1911a9dfe99SDoug MacEachernLicensed under the Apache License, Version 2.0 (the "License");
1921a9dfe99SDoug MacEachernyou may not use this file except in compliance with the License.
1931a9dfe99SDoug MacEachernYou may obtain a copy of the License at
1941a9dfe99SDoug MacEachern
1951a9dfe99SDoug MacEachern    http://www.apache.org/licenses/LICENSE-2.0
1961a9dfe99SDoug MacEachern
1971a9dfe99SDoug MacEachernUnless required by applicable law or agreed to in writing, software
1981a9dfe99SDoug MacEacherndistributed under the License is distributed on an "AS IS" BASIS,
1991a9dfe99SDoug MacEachernWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2001a9dfe99SDoug MacEachernSee the License for the specific language governing permissions and
2011a9dfe99SDoug MacEachernlimitations under the License.
202