dr-claw 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/LICENSE +1380 -0
  2. package/NOTICE +17 -0
  3. package/README.md +875 -0
  4. package/README.zh-CN.md +857 -0
  5. package/dist/api-docs.html +878 -0
  6. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  7. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  8. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  9. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  10. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  11. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  12. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  13. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  14. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  15. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  16. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  17. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  18. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  19. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  20. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  21. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  22. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  23. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  24. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  25. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  26. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  27. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  28. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  29. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  30. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  31. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  32. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  33. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  34. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  35. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  36. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  37. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  38. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  39. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  40. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  41. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  42. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  43. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  44. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  45. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  46. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  47. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  48. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  49. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  50. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  51. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  52. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  53. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  54. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  55. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  56. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  57. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  58. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  59. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  60. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  61. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  62. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  63. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  64. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  65. package/dist/assets/_basePickBy-C0n1uo4u.js +1 -0
  66. package/dist/assets/_baseUniq-BRNmhFkc.js +1 -0
  67. package/dist/assets/arc-DOMBmC_A.js +1 -0
  68. package/dist/assets/architectureDiagram-VXUJARFQ-CtMWglbD.js +36 -0
  69. package/dist/assets/blockDiagram-VD42YOAC-DK_gTkJy.js +122 -0
  70. package/dist/assets/c4Diagram-YG6GDRKO-DrDAvsn7.js +10 -0
  71. package/dist/assets/channel-BFOE7OyC.js +1 -0
  72. package/dist/assets/chunk-4BX2VUAB-CGbhdZcN.js +1 -0
  73. package/dist/assets/chunk-55IACEB6-sGeFSxen.js +1 -0
  74. package/dist/assets/chunk-B4BG7PRW-RxgHAU_P.js +165 -0
  75. package/dist/assets/chunk-DI55MBZ5-CvHUXZrx.js +220 -0
  76. package/dist/assets/chunk-FMBD7UC4-Sn7cXVNU.js +15 -0
  77. package/dist/assets/chunk-QN33PNHL-bDKOHppN.js +1 -0
  78. package/dist/assets/chunk-QZHKN3VN-B9kN5LGm.js +1 -0
  79. package/dist/assets/chunk-TZMSLE5B-CCBe6len.js +1 -0
  80. package/dist/assets/classDiagram-2ON5EDUG-DQoMNYlY.js +1 -0
  81. package/dist/assets/classDiagram-v2-WZHVMYZB-DQoMNYlY.js +1 -0
  82. package/dist/assets/clone-BulQSblH.js +1 -0
  83. package/dist/assets/cose-bilkent-S5V4N54A-r6sLiHBW.js +1 -0
  84. package/dist/assets/cytoscape.esm-5J0xJHOV.js +321 -0
  85. package/dist/assets/dagre-6UL2VRFP-AbsaR1Oa.js +4 -0
  86. package/dist/assets/defaultLocale-DX6XiGOO.js +1 -0
  87. package/dist/assets/diagram-PSM6KHXK-DjCvdUyy.js +24 -0
  88. package/dist/assets/diagram-QEK2KX5R-CqiocXkH.js +43 -0
  89. package/dist/assets/diagram-S2PKOQOG-D5ALeoII.js +24 -0
  90. package/dist/assets/erDiagram-Q2GNP2WA-C1AeOsiz.js +60 -0
  91. package/dist/assets/flowDiagram-NV44I4VS-C98ve_DO.js +162 -0
  92. package/dist/assets/ganttDiagram-JELNMOA3-3zdLvcxD.js +267 -0
  93. package/dist/assets/gitGraphDiagram-V2S2FVAM-nDuDMsHh.js +65 -0
  94. package/dist/assets/graph-Blm-emkR.js +1 -0
  95. package/dist/assets/index-B8Yutsnm.css +1 -0
  96. package/dist/assets/index-Cf6gyhc3.js +654 -0
  97. package/dist/assets/infoDiagram-HS3SLOUP-CmzE3q0R.js +2 -0
  98. package/dist/assets/init-Gi6I4Gst.js +1 -0
  99. package/dist/assets/journeyDiagram-XKPGCS4Q-CYaW7LrP.js +139 -0
  100. package/dist/assets/kanban-definition-3W4ZIXB7-mkmW7p0j.js +89 -0
  101. package/dist/assets/layout-Ct2kFIId.js +1 -0
  102. package/dist/assets/linear-CKG9EwIJ.js +1 -0
  103. package/dist/assets/mermaid.core-CaKcUnnd.js +250 -0
  104. package/dist/assets/mindmap-definition-VGOIOE7T-Bct-pYin.js +68 -0
  105. package/dist/assets/ordinal-Cboi1Yqb.js +1 -0
  106. package/dist/assets/pieDiagram-ADFJNKIX-C8wFD4Jr.js +30 -0
  107. package/dist/assets/quadrantDiagram-AYHSOK5B-CuiE_f46.js +7 -0
  108. package/dist/assets/requirementDiagram-UZGBJVZJ-C4v1CqU8.js +64 -0
  109. package/dist/assets/sankeyDiagram-TZEHDZUN-keAqqs-Y.js +10 -0
  110. package/dist/assets/sequenceDiagram-WL72ISMW-ClNbvKTB.js +145 -0
  111. package/dist/assets/stateDiagram-FKZM4ZOC-D8We-2vq.js +1 -0
  112. package/dist/assets/stateDiagram-v2-4FDKWEC3-BUURfjrE.js +1 -0
  113. package/dist/assets/timeline-definition-IT6M3QCI-DsvEMT5T.js +61 -0
  114. package/dist/assets/treemap-GDKQZRPO-TJrzN7Bj.js +162 -0
  115. package/dist/assets/vendor-codemirror-ansM-eig.js +33 -0
  116. package/dist/assets/vendor-react-BWF6YQQ3.js +8 -0
  117. package/dist/assets/vendor-xterm-DfcmCpbH.js +66 -0
  118. package/dist/assets/xychartDiagram-PRI3JC2R-BdATmY5F.js +7 -0
  119. package/dist/clear-cache.html +85 -0
  120. package/dist/convert-icons.md +53 -0
  121. package/dist/dr-claw.png +0 -0
  122. package/dist/favicon.png +0 -0
  123. package/dist/generate-icons.js +49 -0
  124. package/dist/icons/claude-ai-icon.svg +1 -0
  125. package/dist/icons/codex-white.svg +3 -0
  126. package/dist/icons/codex.svg +3 -0
  127. package/dist/icons/cursor-white.svg +12 -0
  128. package/dist/icons/cursor.svg +1 -0
  129. package/dist/icons/file.svg +16997 -0
  130. package/dist/icons/generate-icons.md +19 -0
  131. package/dist/icons/icon-128x128.png +0 -0
  132. package/dist/icons/icon-144x144.png +0 -0
  133. package/dist/icons/icon-152x152.png +0 -0
  134. package/dist/icons/icon-192x192.png +0 -0
  135. package/dist/icons/icon-384x384.png +0 -0
  136. package/dist/icons/icon-512x512.png +0 -0
  137. package/dist/icons/icon-72x72.png +0 -0
  138. package/dist/icons/icon-96x96.png +0 -0
  139. package/dist/icons/news/arxiv.svg +1 -0
  140. package/dist/icons/news/huggingface.svg +8 -0
  141. package/dist/icons/news/x-black.png +0 -0
  142. package/dist/icons/news/x-white.png +0 -0
  143. package/dist/icons/news/xiaohongshu.png +0 -0
  144. package/dist/index.html +51 -0
  145. package/dist/leveraged-cognition.png +0 -0
  146. package/dist/manifest.json +61 -0
  147. package/dist/screenshots/chat.png +0 -0
  148. package/dist/screenshots/new_claw.png +0 -0
  149. package/dist/screenshots/news_dashboard.png +0 -0
  150. package/dist/screenshots/project_dashboard.png +0 -0
  151. package/dist/screenshots/research_lab.png +0 -0
  152. package/dist/screenshots/skill_library.png +0 -0
  153. package/dist/screenshots/task_list.png +0 -0
  154. package/dist/screenshots/terminal_example.png +0 -0
  155. package/dist/screenshots/terminal_example1.png +0 -0
  156. package/dist/sw.js +58 -0
  157. package/dist/wechat-group-qr.jpg +0 -0
  158. package/package.json +133 -0
  159. package/public/api-docs.html +878 -0
  160. package/public/clear-cache.html +85 -0
  161. package/public/convert-icons.md +53 -0
  162. package/public/dr-claw.png +0 -0
  163. package/public/favicon.png +0 -0
  164. package/public/generate-icons.js +49 -0
  165. package/public/icons/claude-ai-icon.svg +1 -0
  166. package/public/icons/codex-white.svg +3 -0
  167. package/public/icons/codex.svg +3 -0
  168. package/public/icons/cursor-white.svg +12 -0
  169. package/public/icons/cursor.svg +1 -0
  170. package/public/icons/file.svg +16997 -0
  171. package/public/icons/generate-icons.md +19 -0
  172. package/public/icons/icon-128x128.png +0 -0
  173. package/public/icons/icon-144x144.png +0 -0
  174. package/public/icons/icon-152x152.png +0 -0
  175. package/public/icons/icon-192x192.png +0 -0
  176. package/public/icons/icon-384x384.png +0 -0
  177. package/public/icons/icon-512x512.png +0 -0
  178. package/public/icons/icon-72x72.png +0 -0
  179. package/public/icons/icon-96x96.png +0 -0
  180. package/public/icons/news/arxiv.svg +1 -0
  181. package/public/icons/news/huggingface.svg +8 -0
  182. package/public/icons/news/x-black.png +0 -0
  183. package/public/icons/news/x-white.png +0 -0
  184. package/public/icons/news/xiaohongshu.png +0 -0
  185. package/public/leveraged-cognition.png +0 -0
  186. package/public/manifest.json +61 -0
  187. package/public/screenshots/chat.png +0 -0
  188. package/public/screenshots/new_claw.png +0 -0
  189. package/public/screenshots/news_dashboard.png +0 -0
  190. package/public/screenshots/project_dashboard.png +0 -0
  191. package/public/screenshots/research_lab.png +0 -0
  192. package/public/screenshots/skill_library.png +0 -0
  193. package/public/screenshots/task_list.png +0 -0
  194. package/public/screenshots/terminal_example.png +0 -0
  195. package/public/screenshots/terminal_example1.png +0 -0
  196. package/public/sw.js +58 -0
  197. package/public/wechat-group-qr.jpg +0 -0
  198. package/scripts/export-skills-catalog-v2.mjs +746 -0
  199. package/scripts/fix-node-pty.js +45 -0
  200. package/scripts/gemini_image_core.py +470 -0
  201. package/scripts/install-python-tools.js +64 -0
  202. package/server/AGENTS.md +73 -0
  203. package/server/__tests__/gemini-legacy-thought.test.mjs +88 -0
  204. package/server/__tests__/runtimePorts.test.mjs +115 -0
  205. package/server/__tests__/session-delete.test.mjs +166 -0
  206. package/server/bin/compute-node +70 -0
  207. package/server/claude-sdk.js +799 -0
  208. package/server/cli-chat.js +488 -0
  209. package/server/cli.js +354 -0
  210. package/server/compute-node.js +439 -0
  211. package/server/constants/config.js +5 -0
  212. package/server/cursor-cli.js +340 -0
  213. package/server/database/auth.db +0 -0
  214. package/server/database/db.js +1852 -0
  215. package/server/database/init.sql +194 -0
  216. package/server/gemini-cli.js +1352 -0
  217. package/server/index.js +3154 -0
  218. package/server/load-env.js +71 -0
  219. package/server/local-gpu.js +860 -0
  220. package/server/middleware/auth.js +100 -0
  221. package/server/openai-codex.js +724 -0
  222. package/server/openrouter.js +890 -0
  223. package/server/project-token-usage.js +407 -0
  224. package/server/projects.js +3973 -0
  225. package/server/routes/agent.js +1272 -0
  226. package/server/routes/auth.js +128 -0
  227. package/server/routes/auto-research.js +558 -0
  228. package/server/routes/cli-auth.js +958 -0
  229. package/server/routes/codex.js +344 -0
  230. package/server/routes/commands.js +601 -0
  231. package/server/routes/compute.js +358 -0
  232. package/server/routes/cursor.js +795 -0
  233. package/server/routes/git.js +1348 -0
  234. package/server/routes/mcp-utils.js +48 -0
  235. package/server/routes/mcp.js +618 -0
  236. package/server/routes/news.js +711 -0
  237. package/server/routes/projects.js +633 -0
  238. package/server/routes/references.js +338 -0
  239. package/server/routes/settings.js +285 -0
  240. package/server/routes/skills.js +914 -0
  241. package/server/routes/taskmaster.js +2566 -0
  242. package/server/routes/telemetry.js +89 -0
  243. package/server/routes/user.js +155 -0
  244. package/server/scripts/fix_session_names.js +57 -0
  245. package/server/scripts/research-news/common_words.py +19 -0
  246. package/server/scripts/research-news/link_keywords.py +298 -0
  247. package/server/scripts/research-news/scan_existing_notes.py +266 -0
  248. package/server/scripts/research-news/scoring_utils.py +227 -0
  249. package/server/scripts/research-news/search_arxiv.py +842 -0
  250. package/server/scripts/research-news/search_huggingface.py +438 -0
  251. package/server/scripts/research-news/search_x.py +490 -0
  252. package/server/scripts/research-news/search_xiaohongshu.py +610 -0
  253. package/server/taskmaster-templates/README.md +150 -0
  254. package/server/taskmaster-templates/README.zh-CN.md +150 -0
  255. package/server/taskmaster-templates/ai-research-dataset.json +230 -0
  256. package/server/taskmaster-templates/ai-research-method-model.json +230 -0
  257. package/server/taskmaster-templates/ai-research-position-paper.json +230 -0
  258. package/server/telemetry.js +121 -0
  259. package/server/templates/AGENTS.md +103 -0
  260. package/server/templates/CLAUDE.md +104 -0
  261. package/server/templates/GEMINI.md +103 -0
  262. package/server/templates/cursor-project.md +108 -0
  263. package/server/templates/index.js +37 -0
  264. package/server/utils/__tests__/sessionTokenUsage.test.js +82 -0
  265. package/server/utils/auto-research-mailer.js +57 -0
  266. package/server/utils/cliResolution.js +170 -0
  267. package/server/utils/commandParser.js +303 -0
  268. package/server/utils/cursorCommand.js +61 -0
  269. package/server/utils/geminiApiKey.js +28 -0
  270. package/server/utils/gitConfig.js +24 -0
  271. package/server/utils/imageAttachmentFiles.js +35 -0
  272. package/server/utils/mcp-detector.js +198 -0
  273. package/server/utils/parsers/bibtex-parser.js +207 -0
  274. package/server/utils/permissions.js +100 -0
  275. package/server/utils/runtimePorts.js +212 -0
  276. package/server/utils/sessionFormatting.js +68 -0
  277. package/server/utils/sessionIndex.js +100 -0
  278. package/server/utils/sessionMode.js +95 -0
  279. package/server/utils/sessionTokenUsage.js +105 -0
  280. package/server/utils/taskmaster-websocket.js +129 -0
  281. package/server/utils/zotero-client.js +136 -0
  282. package/shared/errorClassifier.js +102 -0
  283. package/shared/geminiThinkingSupport.d.ts +22 -0
  284. package/shared/geminiThinkingSupport.js +96 -0
  285. package/shared/geminiThoughtParser.d.ts +8 -0
  286. package/shared/geminiThoughtParser.js +30 -0
  287. package/shared/modelConstants.js +139 -0
package/LICENSE ADDED
@@ -0,0 +1,1380 @@
1
+ # Licensing Notes
2
+
3
+ This repository contains a combined work.
4
+
5
+ Portions derived from Claude Code UI (claudecodeui) remain under the
6
+ GNU General Public License v3.0 (GPL-3.0).
7
+
8
+ Original modifications and additions by Dr. Claw Contributors are
9
+ licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
10
+
11
+ See NOTICE for attribution and scope.
12
+
13
+ # GNU AFFERO GENERAL PUBLIC LICENSE
14
+
15
+ Version 3, 29 June 2007
16
+
17
+ Copyright (C) 2007 Free Software Foundation, Inc.
18
+ <https://fsf.org/>
19
+
20
+ Everyone is permitted to copy and distribute verbatim copies of this
21
+ license document, but changing it is not allowed.
22
+
23
+ ## Preamble
24
+
25
+ The GNU Affero General Public License is a free, copyleft license for
26
+ software and other kinds of works, specifically designed to ensure
27
+ cooperation with the community in the case of network server software.
28
+
29
+ The licenses for most software and other practical works are designed
30
+ to take away your freedom to share and change the works. By contrast,
31
+ our General Public Licenses are intended to guarantee your freedom to
32
+ share and change all versions of a program--to make sure it remains
33
+ free software for all its users.
34
+
35
+ When we speak of free software, we are referring to freedom, not
36
+ price. Our General Public Licenses are designed to make sure that you
37
+ have the freedom to distribute copies of free software (and charge for
38
+ them if you wish), that you receive source code or can get it if you
39
+ want it, that you can change the software or use pieces of it in new
40
+ free programs, and that you know you can do these things.
41
+
42
+ Developers that use our General Public Licenses protect your rights
43
+ with two steps: (1) assert copyright on the software, and (2) offer
44
+ you this License which gives you legal permission to copy, distribute
45
+ and/or modify the software.
46
+
47
+ To protect your rights, we need to prevent others from denying you
48
+ these rights or asking you to surrender the rights. Therefore, you
49
+ have certain responsibilities if you distribute copies of the
50
+ software, or if you modify it: responsibilities to respect the freedom
51
+ of others.
52
+
53
+ For example, if you distribute copies of such a program, whether
54
+ gratis or for a fee, you must pass on to the recipients the same
55
+ freedoms that you received. You must make sure that they, too, receive
56
+ or can get the source code. And you must show them these terms so they
57
+ know their rights.
58
+
59
+ A secondary benefit of defending all users' freedom is that
60
+ improvements made in alternate versions of the program, if they
61
+ receive widespread use, become available for other developers to
62
+ incorporate. Many developers of free software are heartened and
63
+ encouraged by the resulting cooperation. However, in the case of
64
+ software used on network servers, this result may fail to come about.
65
+ The GNU General Public License permits making a modified version and
66
+ letting the public access it on a server without ever releasing its
67
+ source code to the public.
68
+
69
+ The GNU Affero General Public License is designed specifically to
70
+ ensure that, in such cases, the modified source code becomes available
71
+ to the community. It requires the operator of a network server to
72
+ provide the source code of the modified version running there to the
73
+ users of that server. Therefore, public use of a modified version, on
74
+ a publicly accessible server, gives the public access to the source
75
+ code of the modified version.
76
+
77
+ An older license, called the Affero General Public License and
78
+ published by Affero, was designed to accomplish similar goals. This is
79
+ a different license, not a version of the Affero GPL, but Affero has
80
+ released a new version of the Affero GPL which permits relicensing
81
+ under this license.
82
+
83
+ The precise terms and conditions for copying, distribution and
84
+ modification follow.
85
+
86
+ ## TERMS AND CONDITIONS
87
+
88
+ ### 0. Definitions.
89
+
90
+ "This License" refers to version 3 of the GNU Affero General Public
91
+ License.
92
+
93
+ "Copyright" also means copyright-like laws that apply to other kinds
94
+ of works, such as semiconductor masks.
95
+
96
+ "The Program" refers to any copyrightable work licensed under this
97
+ License. Each licensee is addressed as "you". "Licensees" and
98
+ "recipients" may be individuals or organizations.
99
+
100
+ To "modify" a work means to copy from or adapt all or part of the work
101
+ in a fashion requiring copyright permission, other than the making of
102
+ an exact copy. The resulting work is called a "modified version" of
103
+ the earlier work or a work "based on" the earlier work.
104
+
105
+ A "covered work" means either the unmodified Program or a work based
106
+ on the Program.
107
+
108
+ To "propagate" a work means to do anything with it that, without
109
+ permission, would make you directly or secondarily liable for
110
+ infringement under applicable copyright law, except executing it on a
111
+ computer or modifying a private copy. Propagation includes copying,
112
+ distribution (with or without modification), making available to the
113
+ public, and in some countries other activities as well.
114
+
115
+ To "convey" a work means any kind of propagation that enables other
116
+ parties to make or receive copies. Mere interaction with a user
117
+ through a computer network, with no transfer of a copy, is not
118
+ conveying.
119
+
120
+ An interactive user interface displays "Appropriate Legal Notices" to
121
+ the extent that it includes a convenient and prominently visible
122
+ feature that (1) displays an appropriate copyright notice, and (2)
123
+ tells the user that there is no warranty for the work (except to the
124
+ extent that warranties are provided), that licensees may convey the
125
+ work under this License, and how to view a copy of this License. If
126
+ the interface presents a list of user commands or options, such as a
127
+ menu, a prominent item in the list meets this criterion.
128
+
129
+ ### 1. Source Code.
130
+
131
+ The "source code" for a work means the preferred form of the work for
132
+ making modifications to it. "Object code" means any non-source form of
133
+ a work.
134
+
135
+ A "Standard Interface" means an interface that either is an official
136
+ standard defined by a recognized standards body, or, in the case of
137
+ interfaces specified for a particular programming language, one that
138
+ is widely used among developers working in that language.
139
+
140
+ The "System Libraries" of an executable work include anything, other
141
+ than the work as a whole, that (a) is included in the normal form of
142
+ packaging a Major Component, but which is not part of that Major
143
+ Component, and (b) serves only to enable use of the work with that
144
+ Major Component, or to implement a Standard Interface for which an
145
+ implementation is available to the public in source code form. A
146
+ "Major Component", in this context, means a major essential component
147
+ (kernel, window system, and so on) of the specific operating system
148
+ (if any) on which the executable work runs, or a compiler used to
149
+ produce the work, or an object code interpreter used to run it.
150
+
151
+ The "Corresponding Source" for a work in object code form means all
152
+ the source code needed to generate, install, and (for an executable
153
+ work) run the object code and to modify the work, including scripts to
154
+ control those activities. However, it does not include the work's
155
+ System Libraries, or general-purpose tools or generally available free
156
+ programs which are used unmodified in performing those activities but
157
+ which are not part of the work. For example, Corresponding Source
158
+ includes interface definition files associated with source files for
159
+ the work, and the source code for shared libraries and dynamically
160
+ linked subprograms that the work is specifically designed to require,
161
+ such as by intimate data communication or control flow between those
162
+ subprograms and other parts of the work.
163
+
164
+ The Corresponding Source need not include anything that users can
165
+ regenerate automatically from other parts of the Corresponding Source.
166
+
167
+ The Corresponding Source for a work in source code form is that same
168
+ work.
169
+
170
+ ### 2. Basic Permissions.
171
+
172
+ All rights granted under this License are granted for the term of
173
+ copyright on the Program, and are irrevocable provided the stated
174
+ conditions are met. This License explicitly affirms your unlimited
175
+ permission to run the unmodified Program. The output from running a
176
+ covered work is covered by this License only if the output, given its
177
+ content, constitutes a covered work. This License acknowledges your
178
+ rights of fair use or other equivalent, as provided by copyright law.
179
+
180
+ You may make, run and propagate covered works that you do not convey,
181
+ without conditions so long as your license otherwise remains in force.
182
+ You may convey covered works to others for the sole purpose of having
183
+ them make modifications exclusively for you, or provide you with
184
+ facilities for running those works, provided that you comply with the
185
+ terms of this License in conveying all material for which you do not
186
+ control copyright. Those thus making or running the covered works for
187
+ you must do so exclusively on your behalf, under your direction and
188
+ control, on terms that prohibit them from making any copies of your
189
+ copyrighted material outside their relationship with you.
190
+
191
+ Conveying under any other circumstances is permitted solely under the
192
+ conditions stated below. Sublicensing is not allowed; section 10 makes
193
+ it unnecessary.
194
+
195
+ ### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
196
+
197
+ No covered work shall be deemed part of an effective technological
198
+ measure under any applicable law fulfilling obligations under article
199
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
200
+ similar laws prohibiting or restricting circumvention of such
201
+ measures.
202
+
203
+ When you convey a covered work, you waive any legal power to forbid
204
+ circumvention of technological measures to the extent such
205
+ circumvention is effected by exercising rights under this License with
206
+ respect to the covered work, and you disclaim any intention to limit
207
+ operation or modification of the work as a means of enforcing, against
208
+ the work's users, your or third parties' legal rights to forbid
209
+ circumvention of technological measures.
210
+
211
+ ### 4. Conveying Verbatim Copies.
212
+
213
+ You may convey verbatim copies of the Program's source code as you
214
+ receive it, in any medium, provided that you conspicuously and
215
+ appropriately publish on each copy an appropriate copyright notice;
216
+ keep intact all notices stating that this License and any
217
+ non-permissive terms added in accord with section 7 apply to the code;
218
+ keep intact all notices of the absence of any warranty; and give all
219
+ recipients a copy of this License along with the Program.
220
+
221
+ You may charge any price or no price for each copy that you convey,
222
+ and you may offer support or warranty protection for a fee.
223
+
224
+ ### 5. Conveying Modified Source Versions.
225
+
226
+ You may convey a work based on the Program, or the modifications to
227
+ produce it from the Program, in the form of source code under the
228
+ terms of section 4, provided that you also meet all of these
229
+ conditions:
230
+
231
+ - a) The work must carry prominent notices stating that you modified
232
+ it, and giving a relevant date.
233
+ - b) The work must carry prominent notices stating that it is
234
+ released under this License and any conditions added under
235
+ section 7. This requirement modifies the requirement in section 4
236
+ to "keep intact all notices".
237
+ - c) You must license the entire work, as a whole, under this
238
+ License to anyone who comes into possession of a copy. This
239
+ License will therefore apply, along with any applicable section 7
240
+ additional terms, to the whole of the work, and all its parts,
241
+ regardless of how they are packaged. This License gives no
242
+ permission to license the work in any other way, but it does not
243
+ invalidate such permission if you have separately received it.
244
+ - d) If the work has interactive user interfaces, each must display
245
+ Appropriate Legal Notices; however, if the Program has interactive
246
+ interfaces that do not display Appropriate Legal Notices, your
247
+ work need not make them do so.
248
+
249
+ A compilation of a covered work with other separate and independent
250
+ works, which are not by their nature extensions of the covered work,
251
+ and which are not combined with it such as to form a larger program,
252
+ in or on a volume of a storage or distribution medium, is called an
253
+ "aggregate" if the compilation and its resulting copyright are not
254
+ used to limit the access or legal rights of the compilation's users
255
+ beyond what the individual works permit. Inclusion of a covered work
256
+ in an aggregate does not cause this License to apply to the other
257
+ parts of the aggregate.
258
+
259
+ ### 6. Conveying Non-Source Forms.
260
+
261
+ You may convey a covered work in object code form under the terms of
262
+ sections 4 and 5, provided that you also convey the machine-readable
263
+ Corresponding Source under the terms of this License, in one of these
264
+ ways:
265
+
266
+ - a) Convey the object code in, or embodied in, a physical product
267
+ (including a physical distribution medium), accompanied by the
268
+ Corresponding Source fixed on a durable physical medium
269
+ customarily used for software interchange.
270
+ - b) Convey the object code in, or embodied in, a physical product
271
+ (including a physical distribution medium), accompanied by a
272
+ written offer, valid for at least three years and valid for as
273
+ long as you offer spare parts or customer support for that product
274
+ model, to give anyone who possesses the object code either (1) a
275
+ copy of the Corresponding Source for all the software in the
276
+ product that is covered by this License, on a durable physical
277
+ medium customarily used for software interchange, for a price no
278
+ more than your reasonable cost of physically performing this
279
+ conveying of source, or (2) access to copy the Corresponding
280
+ Source from a network server at no charge.
281
+ - c) Convey individual copies of the object code with a copy of the
282
+ written offer to provide the Corresponding Source. This
283
+ alternative is allowed only occasionally and noncommercially, and
284
+ only if you received the object code with such an offer, in accord
285
+ with subsection 6b.
286
+ - d) Convey the object code by offering access from a designated
287
+ place (gratis or for a charge), and offer equivalent access to the
288
+ Corresponding Source in the same way through the same place at no
289
+ further charge. You need not require recipients to copy the
290
+ Corresponding Source along with the object code. If the place to
291
+ copy the object code is a network server, the Corresponding Source
292
+ may be on a different server (operated by you or a third party)
293
+ that supports equivalent copying facilities, provided you maintain
294
+ clear directions next to the object code saying where to find the
295
+ Corresponding Source. Regardless of what server hosts the
296
+ Corresponding Source, you remain obligated to ensure that it is
297
+ available for as long as needed to satisfy these requirements.
298
+ - e) Convey the object code using peer-to-peer transmission,
299
+ provided you inform other peers where the object code and
300
+ Corresponding Source of the work are being offered to the general
301
+ public at no charge under subsection 6d.
302
+
303
+ A separable portion of the object code, whose source code is excluded
304
+ from the Corresponding Source as a System Library, need not be
305
+ included in conveying the object code work.
306
+
307
+ A "User Product" is either (1) a "consumer product", which means any
308
+ tangible personal property which is normally used for personal,
309
+ family, or household purposes, or (2) anything designed or sold for
310
+ incorporation into a dwelling. In determining whether a product is a
311
+ consumer product, doubtful cases shall be resolved in favor of
312
+ coverage. For a particular product received by a particular user,
313
+ "normally used" refers to a typical or common use of that class of
314
+ product, regardless of the status of the particular user or of the way
315
+ in which the particular user actually uses, or expects or is expected
316
+ to use, the product. A product is a consumer product regardless of
317
+ whether the product has substantial commercial, industrial or
318
+ non-consumer uses, unless such uses represent the only significant
319
+ mode of use of the product.
320
+
321
+ "Installation Information" for a User Product means any methods,
322
+ procedures, authorization keys, or other information required to
323
+ install and execute modified versions of a covered work in that User
324
+ Product from a modified version of its Corresponding Source. The
325
+ information must suffice to ensure that the continued functioning of
326
+ the modified object code is in no case prevented or interfered with
327
+ solely because modification has been made.
328
+
329
+ If you convey an object code work under this section in, or with, or
330
+ specifically for use in, a User Product, and the conveying occurs as
331
+ part of a transaction in which the right of possession and use of the
332
+ User Product is transferred to the recipient in perpetuity or for a
333
+ fixed term (regardless of how the transaction is characterized), the
334
+ Corresponding Source conveyed under this section must be accompanied
335
+ by the Installation Information. But this requirement does not apply
336
+ if neither you nor any third party retains the ability to install
337
+ modified object code on the User Product (for example, the work has
338
+ been installed in ROM).
339
+
340
+ The requirement to provide Installation Information does not include a
341
+ requirement to continue to provide support service, warranty, or
342
+ updates for a work that has been modified or installed by the
343
+ recipient, or for the User Product in which it has been modified or
344
+ installed. Access to a network may be denied when the modification
345
+ itself materially and adversely affects the operation of the network
346
+ or violates the rules and protocols for communication across the
347
+ network.
348
+
349
+ Corresponding Source conveyed, and Installation Information provided,
350
+ in accord with this section must be in a format that is publicly
351
+ documented (and with an implementation available to the public in
352
+ source code form), and must require no special password or key for
353
+ unpacking, reading or copying.
354
+
355
+ ### 7. Additional Terms.
356
+
357
+ "Additional permissions" are terms that supplement the terms of this
358
+ License by making exceptions from one or more of its conditions.
359
+ Additional permissions that are applicable to the entire Program shall
360
+ be treated as though they were included in this License, to the extent
361
+ that they are valid under applicable law. If additional permissions
362
+ apply only to part of the Program, that part may be used separately
363
+ under those permissions, but the entire Program remains governed by
364
+ this License without regard to the additional permissions.
365
+
366
+ When you convey a copy of a covered work, you may at your option
367
+ remove any additional permissions from that copy, or from any part of
368
+ it. (Additional permissions may be written to require their own
369
+ removal in certain cases when you modify the work.) You may place
370
+ additional permissions on material, added by you to a covered work,
371
+ for which you have or can give appropriate copyright permission.
372
+
373
+ Notwithstanding any other provision of this License, for material you
374
+ add to a covered work, you may (if authorized by the copyright holders
375
+ of that material) supplement the terms of this License with terms:
376
+
377
+ - a) Disclaiming warranty or limiting liability differently from the
378
+ terms of sections 15 and 16 of this License; or
379
+ - b) Requiring preservation of specified reasonable legal notices or
380
+ author attributions in that material or in the Appropriate Legal
381
+ Notices displayed by works containing it; or
382
+ - c) Prohibiting misrepresentation of the origin of that material,
383
+ or requiring that modified versions of such material be marked in
384
+ reasonable ways as different from the original version; or
385
+ - d) Limiting the use for publicity purposes of names of licensors
386
+ or authors of the material; or
387
+ - e) Declining to grant rights under trademark law for use of some
388
+ trade names, trademarks, or service marks; or
389
+ - f) Requiring indemnification of licensors and authors of that
390
+ material by anyone who conveys the material (or modified versions
391
+ of it) with contractual assumptions of liability to the recipient,
392
+ for any liability that these contractual assumptions directly
393
+ impose on those licensors and authors.
394
+
395
+ All other non-permissive additional terms are considered "further
396
+ restrictions" within the meaning of section 10. If the Program as you
397
+ received it, or any part of it, contains a notice stating that it is
398
+ governed by this License along with a term that is a further
399
+ restriction, you may remove that term. If a license document contains
400
+ a further restriction but permits relicensing or conveying under this
401
+ License, you may add to a covered work material governed by the terms
402
+ of that license document, provided that the further restriction does
403
+ not survive such relicensing or conveying.
404
+
405
+ If you add terms to a covered work in accord with this section, you
406
+ must place, in the relevant source files, a statement of the
407
+ additional terms that apply to those files, or a notice indicating
408
+ where to find the applicable terms.
409
+
410
+ Additional terms, permissive or non-permissive, may be stated in the
411
+ form of a separately written license, or stated as exceptions; the
412
+ above requirements apply either way.
413
+
414
+ ### 8. Termination.
415
+
416
+ You may not propagate or modify a covered work except as expressly
417
+ provided under this License. Any attempt otherwise to propagate or
418
+ modify it is void, and will automatically terminate your rights under
419
+ this License (including any patent licenses granted under the third
420
+ paragraph of section 11).
421
+
422
+ However, if you cease all violation of this License, then your license
423
+ from a particular copyright holder is reinstated (a) provisionally,
424
+ unless and until the copyright holder explicitly and finally
425
+ terminates your license, and (b) permanently, if the copyright holder
426
+ fails to notify you of the violation by some reasonable means prior to
427
+ 60 days after the cessation.
428
+
429
+ Moreover, your license from a particular copyright holder is
430
+ reinstated permanently if the copyright holder notifies you of the
431
+ violation by some reasonable means, this is the first time you have
432
+ received notice of violation of this License (for any work) from that
433
+ copyright holder, and you cure the violation prior to 30 days after
434
+ your receipt of the notice.
435
+
436
+ Termination of your rights under this section does not terminate the
437
+ licenses of parties who have received copies or rights from you under
438
+ this License. If your rights have been terminated and not permanently
439
+ reinstated, you do not qualify to receive new licenses for the same
440
+ material under section 10.
441
+
442
+ ### 9. Acceptance Not Required for Having Copies.
443
+
444
+ You are not required to accept this License in order to receive or run
445
+ a copy of the Program. Ancillary propagation of a covered work
446
+ occurring solely as a consequence of using peer-to-peer transmission
447
+ to receive a copy likewise does not require acceptance. However,
448
+ nothing other than this License grants you permission to propagate or
449
+ modify any covered work. These actions infringe copyright if you do
450
+ not accept this License. Therefore, by modifying or propagating a
451
+ covered work, you indicate your acceptance of this License to do so.
452
+
453
+ ### 10. Automatic Licensing of Downstream Recipients.
454
+
455
+ Each time you convey a covered work, the recipient automatically
456
+ receives a license from the original licensors, to run, modify and
457
+ propagate that work, subject to this License. You are not responsible
458
+ for enforcing compliance by third parties with this License.
459
+
460
+ An "entity transaction" is a transaction transferring control of an
461
+ organization, or substantially all assets of one, or subdividing an
462
+ organization, or merging organizations. If propagation of a covered
463
+ work results from an entity transaction, each party to that
464
+ transaction who receives a copy of the work also receives whatever
465
+ licenses to the work the party's predecessor in interest had or could
466
+ give under the previous paragraph, plus a right to possession of the
467
+ Corresponding Source of the work from the predecessor in interest, if
468
+ the predecessor has it or can get it with reasonable efforts.
469
+
470
+ You may not impose any further restrictions on the exercise of the
471
+ rights granted or affirmed under this License. For example, you may
472
+ not impose a license fee, royalty, or other charge for exercise of
473
+ rights granted under this License, and you may not initiate litigation
474
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
475
+ any patent claim is infringed by making, using, selling, offering for
476
+ sale, or importing the Program or any portion of it.
477
+
478
+ ### 11. Patents.
479
+
480
+ A "contributor" is a copyright holder who authorizes use under this
481
+ License of the Program or a work on which the Program is based. The
482
+ work thus licensed is called the contributor's "contributor version".
483
+
484
+ A contributor's "essential patent claims" are all patent claims owned
485
+ or controlled by the contributor, whether already acquired or
486
+ hereafter acquired, that would be infringed by some manner, permitted
487
+ by this License, of making, using, or selling its contributor version,
488
+ but do not include claims that would be infringed only as a
489
+ consequence of further modification of the contributor version. For
490
+ purposes of this definition, "control" includes the right to grant
491
+ patent sublicenses in a manner consistent with the requirements of
492
+ this License.
493
+
494
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
495
+ patent license under the contributor's essential patent claims, to
496
+ make, use, sell, offer for sale, import and otherwise run, modify and
497
+ propagate the contents of its contributor version.
498
+
499
+ In the following three paragraphs, a "patent license" is any express
500
+ agreement or commitment, however denominated, not to enforce a patent
501
+ (such as an express permission to practice a patent or covenant not to
502
+ sue for patent infringement). To "grant" such a patent license to a
503
+ party means to make such an agreement or commitment not to enforce a
504
+ patent against the party.
505
+
506
+ If you convey a covered work, knowingly relying on a patent license,
507
+ and the Corresponding Source of the work is not available for anyone
508
+ to copy, free of charge and under the terms of this License, through a
509
+ publicly available network server or other readily accessible means,
510
+ then you must either (1) cause the Corresponding Source to be so
511
+ available, or (2) arrange to deprive yourself of the benefit of the
512
+ patent license for this particular work, or (3) arrange, in a manner
513
+ consistent with the requirements of this License, to extend the patent
514
+ license to downstream recipients. "Knowingly relying" means you have
515
+ actual knowledge that, but for the patent license, your conveying the
516
+ covered work in a country, or your recipient's use of the covered work
517
+ in a country, would infringe one or more identifiable patents in that
518
+ country that you have reason to believe are valid.
519
+
520
+ If, pursuant to or in connection with a single transaction or
521
+ arrangement, you convey, or propagate by procuring conveyance of, a
522
+ covered work, and grant a patent license to some of the parties
523
+ receiving the covered work authorizing them to use, propagate, modify
524
+ or convey a specific copy of the covered work, then the patent license
525
+ you grant is automatically extended to all recipients of the covered
526
+ work and works based on it.
527
+
528
+ A patent license is "discriminatory" if it does not include within the
529
+ scope of its coverage, prohibits the exercise of, or is conditioned on
530
+ the non-exercise of one or more of the rights that are specifically
531
+ granted under this License. You may not convey a covered work if you
532
+ are a party to an arrangement with a third party that is in the
533
+ business of distributing software, under which you make payment to the
534
+ third party based on the extent of your activity of conveying the
535
+ work, and under which the third party grants, to any of the parties
536
+ who would receive the covered work from you, a discriminatory patent
537
+ license (a) in connection with copies of the covered work conveyed by
538
+ you (or copies made from those copies), or (b) primarily for and in
539
+ connection with specific products or compilations that contain the
540
+ covered work, unless you entered into that arrangement, or that patent
541
+ license was granted, prior to 28 March 2007.
542
+
543
+ Nothing in this License shall be construed as excluding or limiting
544
+ any implied license or other defenses to infringement that may
545
+ otherwise be available to you under applicable patent law.
546
+
547
+ ### 12. No Surrender of Others' Freedom.
548
+
549
+ If conditions are imposed on you (whether by court order, agreement or
550
+ otherwise) that contradict the conditions of this License, they do not
551
+ excuse you from the conditions of this License. If you cannot convey a
552
+ covered work so as to satisfy simultaneously your obligations under
553
+ this License and any other pertinent obligations, then as a
554
+ consequence you may not convey it at all. For example, if you agree to
555
+ terms that obligate you to collect a royalty for further conveying
556
+ from those to whom you convey the Program, the only way you could
557
+ satisfy both those terms and this License would be to refrain entirely
558
+ from conveying the Program.
559
+
560
+ ### 13. Remote Network Interaction; Use with the GNU General Public License.
561
+
562
+ Notwithstanding any other provision of this License, if you modify the
563
+ Program, your modified version must prominently offer all users
564
+ interacting with it remotely through a computer network (if your
565
+ version supports such interaction) an opportunity to receive the
566
+ Corresponding Source of your version by providing access to the
567
+ Corresponding Source from a network server at no charge, through some
568
+ standard or customary means of facilitating copying of software. This
569
+ Corresponding Source shall include the Corresponding Source for any
570
+ work covered by version 3 of the GNU General Public License that is
571
+ incorporated pursuant to the following paragraph.
572
+
573
+ Notwithstanding any other provision of this License, you have
574
+ permission to link or combine any covered work with a work licensed
575
+ under version 3 of the GNU General Public License into a single
576
+ combined work, and to convey the resulting work. The terms of this
577
+ License will continue to apply to the part which is the covered work,
578
+ but the work with which it is combined will remain governed by version
579
+ 3 of the GNU General Public License.
580
+
581
+ ### 14. Revised Versions of this License.
582
+
583
+ The Free Software Foundation may publish revised and/or new versions
584
+ of the GNU Affero General Public License from time to time. Such new versions
585
+ will be similar in spirit to the present version, but may differ in
586
+ detail to address new problems or concerns.
587
+
588
+ Each version is given a distinguishing version number. If the Program
589
+ specifies that a certain numbered version of the GNU Affero General
590
+ Public License "or any later version" applies to it, you have the option of
591
+ following the terms and conditions either of that numbered version or
592
+ of any later version published by the Free Software Foundation. If the
593
+ Program does not specify a version number of the GNU Affero General Public
594
+ License, you may choose any version ever published by the Free
595
+ Software Foundation.
596
+
597
+ If the Program specifies that a proxy can decide which future versions
598
+ of the GNU Affero General Public License can be used, that proxy's public
599
+ statement of acceptance of a version permanently authorizes you to
600
+ choose that version for the Program.
601
+
602
+ Later license versions may give you additional or different
603
+ permissions. However, no additional obligations are imposed on any
604
+ author or copyright holder as a result of your choosing to follow a
605
+ later version.
606
+
607
+ ### 15. Disclaimer of Warranty.
608
+
609
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
610
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
611
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
612
+ WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
613
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
614
+ A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
615
+ PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
616
+ DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
617
+ CORRECTION.
618
+
619
+ ### 16. Limitation of Liability.
620
+
621
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
622
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
623
+ CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
624
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
625
+ ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
626
+ NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
627
+ LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
628
+ TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
629
+ PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
630
+
631
+ ### 17. Interpretation of Sections 15 and 16.
632
+
633
+ If the disclaimer of warranty and limitation of liability provided
634
+ above cannot be given local legal effect according to their terms,
635
+ reviewing courts shall apply local law that most closely approximates
636
+ an absolute waiver of all civil liability in connection with the
637
+ Program, unless a warranty or assumption of liability accompanies a
638
+ copy of the Program in return for a fee.
639
+
640
+ END OF TERMS AND CONDITIONS
641
+
642
+ ## How to Apply These Terms to Your New Programs
643
+
644
+ If you develop a new program, and you want it to be of the greatest
645
+ possible use to the public, the best way to achieve this is to make it
646
+ free software which everyone can redistribute and change under these
647
+ terms.
648
+
649
+ To do so, attach the following notices to the program. It is safest to
650
+ attach them to the start of each source file to most effectively state
651
+ the exclusion of warranty; and each file should have at least the
652
+ "copyright" line and a pointer to where the full notice is found.
653
+
654
+ <one line to give the program's name and a brief idea of what it does.>
655
+ Copyright (C) <year> <name of author>
656
+
657
+ This program is free software: you can redistribute it and/or modify
658
+ it under the terms of the GNU Affero General Public License as published by
659
+ the Free Software Foundation, either version 3 of the License, or
660
+ (at your option) any later version.
661
+
662
+ This program is distributed in the hope that it will be useful,
663
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
664
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
665
+ GNU Affero General Public License for more details.
666
+
667
+ You should have received a copy of the GNU Affero General Public License
668
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
669
+
670
+ Also add information on how to contact you by electronic and paper
671
+ mail.
672
+
673
+ If the program does terminal interaction, make it output a short
674
+ notice like this when it starts in an interactive mode:
675
+
676
+ <program> Copyright (C) <year> <name of author>
677
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
678
+ This is free software, and you are welcome to redistribute it
679
+ under certain conditions; type `show c' for details.
680
+
681
+ The hypothetical commands \`show w' and \`show c' should show the
682
+ appropriate parts of the General Public License. Of course, your
683
+ program's commands might be different; for a GUI interface, you would
684
+ use an "about box".
685
+
686
+ If your software can interact with users remotely through a computer
687
+ network, you should also make sure that it provides a way for users to
688
+ get its source. For example, if your program is a web application, its
689
+ interface could display a "Source" link that leads users to an archive
690
+ of the code. There are many ways you could offer source, and different
691
+ solutions will be better for different programs; see section 13 for
692
+ the specific requirements.
693
+
694
+ You should also get your employer (if you work as a programmer) or
695
+ school, if any, to sign a "copyright disclaimer" for the program, if
696
+ necessary. For more information on this, and how to apply and follow
697
+ the GNU AGPL, see <https://www.gnu.org/licenses/>.
698
+
699
+ The GNU Affero General Public License does not permit incorporating your
700
+ program into proprietary programs. If your program is a subroutine
701
+ library, you may consider it more useful to permit linking proprietary
702
+ applications with the library. If this is what you want to do, use the
703
+ GNU Lesser General Public License instead of this License. But first,
704
+ please read <https://www.gnu.org/licenses/why-not-lgpl.html>.
705
+
706
+ # GNU GENERAL PUBLIC LICENSE
707
+
708
+ Version 3, 29 June 2007
709
+
710
+ Copyright (C) 2007 Free Software Foundation, Inc.
711
+ <https://fsf.org/>
712
+
713
+ Everyone is permitted to copy and distribute verbatim copies of this
714
+ license document, but changing it is not allowed.
715
+
716
+ ## Preamble
717
+
718
+ The GNU General Public License is a free, copyleft license for
719
+ software and other kinds of works.
720
+
721
+ The licenses for most software and other practical works are designed
722
+ to take away your freedom to share and change the works. By contrast,
723
+ the GNU General Public License is intended to guarantee your freedom
724
+ to share and change all versions of a program--to make sure it remains
725
+ free software for all its users. We, the Free Software Foundation, use
726
+ the GNU General Public License for most of our software; it applies
727
+ also to any other work released this way by its authors. You can apply
728
+ it to your programs, too.
729
+
730
+ When we speak of free software, we are referring to freedom, not
731
+ price. Our General Public Licenses are designed to make sure that you
732
+ have the freedom to distribute copies of free software (and charge for
733
+ them if you wish), that you receive source code or can get it if you
734
+ want it, that you can change the software or use pieces of it in new
735
+ free programs, and that you know you can do these things.
736
+
737
+ To protect your rights, we need to prevent others from denying you
738
+ these rights or asking you to surrender the rights. Therefore, you
739
+ have certain responsibilities if you distribute copies of the
740
+ software, or if you modify it: responsibilities to respect the freedom
741
+ of others.
742
+
743
+ For example, if you distribute copies of such a program, whether
744
+ gratis or for a fee, you must pass on to the recipients the same
745
+ freedoms that you received. You must make sure that they, too, receive
746
+ or can get the source code. And you must show them these terms so they
747
+ know their rights.
748
+
749
+ Developers that use the GNU GPL protect your rights with two steps:
750
+ (1) assert copyright on the software, and (2) offer you this License
751
+ giving you legal permission to copy, distribute and/or modify it.
752
+
753
+ For the developers' and authors' protection, the GPL clearly explains
754
+ that there is no warranty for this free software. For both users' and
755
+ authors' sake, the GPL requires that modified versions be marked as
756
+ changed, so that their problems will not be attributed erroneously to
757
+ authors of previous versions.
758
+
759
+ Some devices are designed to deny users access to install or run
760
+ modified versions of the software inside them, although the
761
+ manufacturer can do so. This is fundamentally incompatible with the
762
+ aim of protecting users' freedom to change the software. The
763
+ systematic pattern of such abuse occurs in the area of products for
764
+ individuals to use, which is precisely where it is most unacceptable.
765
+ Therefore, we have designed this version of the GPL to prohibit the
766
+ practice for those products. If such problems arise substantially in
767
+ other domains, we stand ready to extend this provision to those
768
+ domains in future versions of the GPL, as needed to protect the
769
+ freedom of users.
770
+
771
+ Finally, every program is threatened constantly by software patents.
772
+ States should not allow patents to restrict development and use of
773
+ software on general-purpose computers, but in those that do, we wish
774
+ to avoid the special danger that patents applied to a free program
775
+ could make it effectively proprietary. To prevent this, the GPL
776
+ assures that patents cannot be used to render the program non-free.
777
+
778
+ The precise terms and conditions for copying, distribution and
779
+ modification follow.
780
+
781
+ ## TERMS AND CONDITIONS
782
+
783
+ ### 0. Definitions.
784
+
785
+ "This License" refers to version 3 of the GNU General Public License.
786
+
787
+ "Copyright" also means copyright-like laws that apply to other kinds
788
+ of works, such as semiconductor masks.
789
+
790
+ "The Program" refers to any copyrightable work licensed under this
791
+ License. Each licensee is addressed as "you". "Licensees" and
792
+ "recipients" may be individuals or organizations.
793
+
794
+ To "modify" a work means to copy from or adapt all or part of the work
795
+ in a fashion requiring copyright permission, other than the making of
796
+ an exact copy. The resulting work is called a "modified version" of
797
+ the earlier work or a work "based on" the earlier work.
798
+
799
+ A "covered work" means either the unmodified Program or a work based
800
+ on the Program.
801
+
802
+ To "propagate" a work means to do anything with it that, without
803
+ permission, would make you directly or secondarily liable for
804
+ infringement under applicable copyright law, except executing it on a
805
+ computer or modifying a private copy. Propagation includes copying,
806
+ distribution (with or without modification), making available to the
807
+ public, and in some countries other activities as well.
808
+
809
+ To "convey" a work means any kind of propagation that enables other
810
+ parties to make or receive copies. Mere interaction with a user
811
+ through a computer network, with no transfer of a copy, is not
812
+ conveying.
813
+
814
+ An interactive user interface displays "Appropriate Legal Notices" to
815
+ the extent that it includes a convenient and prominently visible
816
+ feature that (1) displays an appropriate copyright notice, and (2)
817
+ tells the user that there is no warranty for the work (except to the
818
+ extent that warranties are provided), that licensees may convey the
819
+ work under this License, and how to view a copy of this License. If
820
+ the interface presents a list of user commands or options, such as a
821
+ menu, a prominent item in the list meets this criterion.
822
+
823
+ ### 1. Source Code.
824
+
825
+ The "source code" for a work means the preferred form of the work for
826
+ making modifications to it. "Object code" means any non-source form of
827
+ a work.
828
+
829
+ A "Standard Interface" means an interface that either is an official
830
+ standard defined by a recognized standards body, or, in the case of
831
+ interfaces specified for a particular programming language, one that
832
+ is widely used among developers working in that language.
833
+
834
+ The "System Libraries" of an executable work include anything, other
835
+ than the work as a whole, that (a) is included in the normal form of
836
+ packaging a Major Component, but which is not part of that Major
837
+ Component, and (b) serves only to enable use of the work with that
838
+ Major Component, or to implement a Standard Interface for which an
839
+ implementation is available to the public in source code form. A
840
+ "Major Component", in this context, means a major essential component
841
+ (kernel, window system, and so on) of the specific operating system
842
+ (if any) on which the executable work runs, or a compiler used to
843
+ produce the work, or an object code interpreter used to run it.
844
+
845
+ The "Corresponding Source" for a work in object code form means all
846
+ the source code needed to generate, install, and (for an executable
847
+ work) run the object code and to modify the work, including scripts to
848
+ control those activities. However, it does not include the work's
849
+ System Libraries, or general-purpose tools or generally available free
850
+ programs which are used unmodified in performing those activities but
851
+ which are not part of the work. For example, Corresponding Source
852
+ includes interface definition files associated with source files for
853
+ the work, and the source code for shared libraries and dynamically
854
+ linked subprograms that the work is specifically designed to require,
855
+ such as by intimate data communication or control flow between those
856
+ subprograms and other parts of the work.
857
+
858
+ The Corresponding Source need not include anything that users can
859
+ regenerate automatically from other parts of the Corresponding Source.
860
+
861
+ The Corresponding Source for a work in source code form is that same
862
+ work.
863
+
864
+ ### 2. Basic Permissions.
865
+
866
+ All rights granted under this License are granted for the term of
867
+ copyright on the Program, and are irrevocable provided the stated
868
+ conditions are met. This License explicitly affirms your unlimited
869
+ permission to run the unmodified Program. The output from running a
870
+ covered work is covered by this License only if the output, given its
871
+ content, constitutes a covered work. This License acknowledges your
872
+ rights of fair use or other equivalent, as provided by copyright law.
873
+
874
+ You may make, run and propagate covered works that you do not convey,
875
+ without conditions so long as your license otherwise remains in force.
876
+ You may convey covered works to others for the sole purpose of having
877
+ them make modifications exclusively for you, or provide you with
878
+ facilities for running those works, provided that you comply with the
879
+ terms of this License in conveying all material for which you do not
880
+ control copyright. Those thus making or running the covered works for
881
+ you must do so exclusively on your behalf, under your direction and
882
+ control, on terms that prohibit them from making any copies of your
883
+ copyrighted material outside their relationship with you.
884
+
885
+ Conveying under any other circumstances is permitted solely under the
886
+ conditions stated below. Sublicensing is not allowed; section 10 makes
887
+ it unnecessary.
888
+
889
+ ### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
890
+
891
+ No covered work shall be deemed part of an effective technological
892
+ measure under any applicable law fulfilling obligations under article
893
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
894
+ similar laws prohibiting or restricting circumvention of such
895
+ measures.
896
+
897
+ When you convey a covered work, you waive any legal power to forbid
898
+ circumvention of technological measures to the extent such
899
+ circumvention is effected by exercising rights under this License with
900
+ respect to the covered work, and you disclaim any intention to limit
901
+ operation or modification of the work as a means of enforcing, against
902
+ the work's users, your or third parties' legal rights to forbid
903
+ circumvention of technological measures.
904
+
905
+ ### 4. Conveying Verbatim Copies.
906
+
907
+ You may convey verbatim copies of the Program's source code as you
908
+ receive it, in any medium, provided that you conspicuously and
909
+ appropriately publish on each copy an appropriate copyright notice;
910
+ keep intact all notices stating that this License and any
911
+ non-permissive terms added in accord with section 7 apply to the code;
912
+ keep intact all notices of the absence of any warranty; and give all
913
+ recipients a copy of this License along with the Program.
914
+
915
+ You may charge any price or no price for each copy that you convey,
916
+ and you may offer support or warranty protection for a fee.
917
+
918
+ ### 5. Conveying Modified Source Versions.
919
+
920
+ You may convey a work based on the Program, or the modifications to
921
+ produce it from the Program, in the form of source code under the
922
+ terms of section 4, provided that you also meet all of these
923
+ conditions:
924
+
925
+ - a) The work must carry prominent notices stating that you modified
926
+ it, and giving a relevant date.
927
+ - b) The work must carry prominent notices stating that it is
928
+ released under this License and any conditions added under
929
+ section 7. This requirement modifies the requirement in section 4
930
+ to "keep intact all notices".
931
+ - c) You must license the entire work, as a whole, under this
932
+ License to anyone who comes into possession of a copy. This
933
+ License will therefore apply, along with any applicable section 7
934
+ additional terms, to the whole of the work, and all its parts,
935
+ regardless of how they are packaged. This License gives no
936
+ permission to license the work in any other way, but it does not
937
+ invalidate such permission if you have separately received it.
938
+ - d) If the work has interactive user interfaces, each must display
939
+ Appropriate Legal Notices; however, if the Program has interactive
940
+ interfaces that do not display Appropriate Legal Notices, your
941
+ work need not make them do so.
942
+
943
+ A compilation of a covered work with other separate and independent
944
+ works, which are not by their nature extensions of the covered work,
945
+ and which are not combined with it such as to form a larger program,
946
+ in or on a volume of a storage or distribution medium, is called an
947
+ "aggregate" if the compilation and its resulting copyright are not
948
+ used to limit the access or legal rights of the compilation's users
949
+ beyond what the individual works permit. Inclusion of a covered work
950
+ in an aggregate does not cause this License to apply to the other
951
+ parts of the aggregate.
952
+
953
+ ### 6. Conveying Non-Source Forms.
954
+
955
+ You may convey a covered work in object code form under the terms of
956
+ sections 4 and 5, provided that you also convey the machine-readable
957
+ Corresponding Source under the terms of this License, in one of these
958
+ ways:
959
+
960
+ - a) Convey the object code in, or embodied in, a physical product
961
+ (including a physical distribution medium), accompanied by the
962
+ Corresponding Source fixed on a durable physical medium
963
+ customarily used for software interchange.
964
+ - b) Convey the object code in, or embodied in, a physical product
965
+ (including a physical distribution medium), accompanied by a
966
+ written offer, valid for at least three years and valid for as
967
+ long as you offer spare parts or customer support for that product
968
+ model, to give anyone who possesses the object code either (1) a
969
+ copy of the Corresponding Source for all the software in the
970
+ product that is covered by this License, on a durable physical
971
+ medium customarily used for software interchange, for a price no
972
+ more than your reasonable cost of physically performing this
973
+ conveying of source, or (2) access to copy the Corresponding
974
+ Source from a network server at no charge.
975
+ - c) Convey individual copies of the object code with a copy of the
976
+ written offer to provide the Corresponding Source. This
977
+ alternative is allowed only occasionally and noncommercially, and
978
+ only if you received the object code with such an offer, in accord
979
+ with subsection 6b.
980
+ - d) Convey the object code by offering access from a designated
981
+ place (gratis or for a charge), and offer equivalent access to the
982
+ Corresponding Source in the same way through the same place at no
983
+ further charge. You need not require recipients to copy the
984
+ Corresponding Source along with the object code. If the place to
985
+ copy the object code is a network server, the Corresponding Source
986
+ may be on a different server (operated by you or a third party)
987
+ that supports equivalent copying facilities, provided you maintain
988
+ clear directions next to the object code saying where to find the
989
+ Corresponding Source. Regardless of what server hosts the
990
+ Corresponding Source, you remain obligated to ensure that it is
991
+ available for as long as needed to satisfy these requirements.
992
+ - e) Convey the object code using peer-to-peer transmission,
993
+ provided you inform other peers where the object code and
994
+ Corresponding Source of the work are being offered to the general
995
+ public at no charge under subsection 6d.
996
+
997
+ A separable portion of the object code, whose source code is excluded
998
+ from the Corresponding Source as a System Library, need not be
999
+ included in conveying the object code work.
1000
+
1001
+ A "User Product" is either (1) a "consumer product", which means any
1002
+ tangible personal property which is normally used for personal,
1003
+ family, or household purposes, or (2) anything designed or sold for
1004
+ incorporation into a dwelling. In determining whether a product is a
1005
+ consumer product, doubtful cases shall be resolved in favor of
1006
+ coverage. For a particular product received by a particular user,
1007
+ "normally used" refers to a typical or common use of that class of
1008
+ product, regardless of the status of the particular user or of the way
1009
+ in which the particular user actually uses, or expects or is expected
1010
+ to use, the product. A product is a consumer product regardless of
1011
+ whether the product has substantial commercial, industrial or
1012
+ non-consumer uses, unless such uses represent the only significant
1013
+ mode of use of the product.
1014
+
1015
+ "Installation Information" for a User Product means any methods,
1016
+ procedures, authorization keys, or other information required to
1017
+ install and execute modified versions of a covered work in that User
1018
+ Product from a modified version of its Corresponding Source. The
1019
+ information must suffice to ensure that the continued functioning of
1020
+ the modified object code is in no case prevented or interfered with
1021
+ solely because modification has been made.
1022
+
1023
+ If you convey an object code work under this section in, or with, or
1024
+ specifically for use in, a User Product, and the conveying occurs as
1025
+ part of a transaction in which the right of possession and use of the
1026
+ User Product is transferred to the recipient in perpetuity or for a
1027
+ fixed term (regardless of how the transaction is characterized), the
1028
+ Corresponding Source conveyed under this section must be accompanied
1029
+ by the Installation Information. But this requirement does not apply
1030
+ if neither you nor any third party retains the ability to install
1031
+ modified object code on the User Product (for example, the work has
1032
+ been installed in ROM).
1033
+
1034
+ The requirement to provide Installation Information does not include a
1035
+ requirement to continue to provide support service, warranty, or
1036
+ updates for a work that has been modified or installed by the
1037
+ recipient, or for the User Product in which it has been modified or
1038
+ installed. Access to a network may be denied when the modification
1039
+ itself materially and adversely affects the operation of the network
1040
+ or violates the rules and protocols for communication across the
1041
+ network.
1042
+
1043
+ Corresponding Source conveyed, and Installation Information provided,
1044
+ in accord with this section must be in a format that is publicly
1045
+ documented (and with an implementation available to the public in
1046
+ source code form), and must require no special password or key for
1047
+ unpacking, reading or copying.
1048
+
1049
+ ### 7. Additional Terms.
1050
+
1051
+ "Additional permissions" are terms that supplement the terms of this
1052
+ License by making exceptions from one or more of its conditions.
1053
+ Additional permissions that are applicable to the entire Program shall
1054
+ be treated as though they were included in this License, to the extent
1055
+ that they are valid under applicable law. If additional permissions
1056
+ apply only to part of the Program, that part may be used separately
1057
+ under those permissions, but the entire Program remains governed by
1058
+ this License without regard to the additional permissions.
1059
+
1060
+ When you convey a copy of a covered work, you may at your option
1061
+ remove any additional permissions from that copy, or from any part of
1062
+ it. (Additional permissions may be written to require their own
1063
+ removal in certain cases when you modify the work.) You may place
1064
+ additional permissions on material, added by you to a covered work,
1065
+ for which you have or can give appropriate copyright permission.
1066
+
1067
+ Notwithstanding any other provision of this License, for material you
1068
+ add to a covered work, you may (if authorized by the copyright holders
1069
+ of that material) supplement the terms of this License with terms:
1070
+
1071
+ - a) Disclaiming warranty or limiting liability differently from the
1072
+ terms of sections 15 and 16 of this License; or
1073
+ - b) Requiring preservation of specified reasonable legal notices or
1074
+ author attributions in that material or in the Appropriate Legal
1075
+ Notices displayed by works containing it; or
1076
+ - c) Prohibiting misrepresentation of the origin of that material,
1077
+ or requiring that modified versions of such material be marked in
1078
+ reasonable ways as different from the original version; or
1079
+ - d) Limiting the use for publicity purposes of names of licensors
1080
+ or authors of the material; or
1081
+ - e) Declining to grant rights under trademark law for use of some
1082
+ trade names, trademarks, or service marks; or
1083
+ - f) Requiring indemnification of licensors and authors of that
1084
+ material by anyone who conveys the material (or modified versions
1085
+ of it) with contractual assumptions of liability to the recipient,
1086
+ for any liability that these contractual assumptions directly
1087
+ impose on those licensors and authors.
1088
+
1089
+ All other non-permissive additional terms are considered "further
1090
+ restrictions" within the meaning of section 10. If the Program as you
1091
+ received it, or any part of it, contains a notice stating that it is
1092
+ governed by this License along with a term that is a further
1093
+ restriction, you may remove that term. If a license document contains
1094
+ a further restriction but permits relicensing or conveying under this
1095
+ License, you may add to a covered work material governed by the terms
1096
+ of that license document, provided that the further restriction does
1097
+ not survive such relicensing or conveying.
1098
+
1099
+ If you add terms to a covered work in accord with this section, you
1100
+ must place, in the relevant source files, a statement of the
1101
+ additional terms that apply to those files, or a notice indicating
1102
+ where to find the applicable terms.
1103
+
1104
+ Additional terms, permissive or non-permissive, may be stated in the
1105
+ form of a separately written license, or stated as exceptions; the
1106
+ above requirements apply either way.
1107
+
1108
+ ### 8. Termination.
1109
+
1110
+ You may not propagate or modify a covered work except as expressly
1111
+ provided under this License. Any attempt otherwise to propagate or
1112
+ modify it is void, and will automatically terminate your rights under
1113
+ this License (including any patent licenses granted under the third
1114
+ paragraph of section 11).
1115
+
1116
+ However, if you cease all violation of this License, then your license
1117
+ from a particular copyright holder is reinstated (a) provisionally,
1118
+ unless and until the copyright holder explicitly and finally
1119
+ terminates your license, and (b) permanently, if the copyright holder
1120
+ fails to notify you of the violation by some reasonable means prior to
1121
+ 60 days after the cessation.
1122
+
1123
+ Moreover, your license from a particular copyright holder is
1124
+ reinstated permanently if the copyright holder notifies you of the
1125
+ violation by some reasonable means, this is the first time you have
1126
+ received notice of violation of this License (for any work) from that
1127
+ copyright holder, and you cure the violation prior to 30 days after
1128
+ your receipt of the notice.
1129
+
1130
+ Termination of your rights under this section does not terminate the
1131
+ licenses of parties who have received copies or rights from you under
1132
+ this License. If your rights have been terminated and not permanently
1133
+ reinstated, you do not qualify to receive new licenses for the same
1134
+ material under section 10.
1135
+
1136
+ ### 9. Acceptance Not Required for Having Copies.
1137
+
1138
+ You are not required to accept this License in order to receive or run
1139
+ a copy of the Program. Ancillary propagation of a covered work
1140
+ occurring solely as a consequence of using peer-to-peer transmission
1141
+ to receive a copy likewise does not require acceptance. However,
1142
+ nothing other than this License grants you permission to propagate or
1143
+ modify any covered work. These actions infringe copyright if you do
1144
+ not accept this License. Therefore, by modifying or propagating a
1145
+ covered work, you indicate your acceptance of this License to do so.
1146
+
1147
+ ### 10. Automatic Licensing of Downstream Recipients.
1148
+
1149
+ Each time you convey a covered work, the recipient automatically
1150
+ receives a license from the original licensors, to run, modify and
1151
+ propagate that work, subject to this License. You are not responsible
1152
+ for enforcing compliance by third parties with this License.
1153
+
1154
+ An "entity transaction" is a transaction transferring control of an
1155
+ organization, or substantially all assets of one, or subdividing an
1156
+ organization, or merging organizations. If propagation of a covered
1157
+ work results from an entity transaction, each party to that
1158
+ transaction who receives a copy of the work also receives whatever
1159
+ licenses to the work the party's predecessor in interest had or could
1160
+ give under the previous paragraph, plus a right to possession of the
1161
+ Corresponding Source of the work from the predecessor in interest, if
1162
+ the predecessor has it or can get it with reasonable efforts.
1163
+
1164
+ You may not impose any further restrictions on the exercise of the
1165
+ rights granted or affirmed under this License. For example, you may
1166
+ not impose a license fee, royalty, or other charge for exercise of
1167
+ rights granted under this License, and you may not initiate litigation
1168
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
1169
+ any patent claim is infringed by making, using, selling, offering for
1170
+ sale, or importing the Program or any portion of it.
1171
+
1172
+ ### 11. Patents.
1173
+
1174
+ A "contributor" is a copyright holder who authorizes use under this
1175
+ License of the Program or a work on which the Program is based. The
1176
+ work thus licensed is called the contributor's "contributor version".
1177
+
1178
+ A contributor's "essential patent claims" are all patent claims owned
1179
+ or controlled by the contributor, whether already acquired or
1180
+ hereafter acquired, that would be infringed by some manner, permitted
1181
+ by this License, of making, using, or selling its contributor version,
1182
+ but do not include claims that would be infringed only as a
1183
+ consequence of further modification of the contributor version. For
1184
+ purposes of this definition, "control" includes the right to grant
1185
+ patent sublicenses in a manner consistent with the requirements of
1186
+ this License.
1187
+
1188
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
1189
+ patent license under the contributor's essential patent claims, to
1190
+ make, use, sell, offer for sale, import and otherwise run, modify and
1191
+ propagate the contents of its contributor version.
1192
+
1193
+ In the following three paragraphs, a "patent license" is any express
1194
+ agreement or commitment, however denominated, not to enforce a patent
1195
+ (such as an express permission to practice a patent or covenant not to
1196
+ sue for patent infringement). To "grant" such a patent license to a
1197
+ party means to make such an agreement or commitment not to enforce a
1198
+ patent against the party.
1199
+
1200
+ If you convey a covered work, knowingly relying on a patent license,
1201
+ and the Corresponding Source of the work is not available for anyone
1202
+ to copy, free of charge and under the terms of this License, through a
1203
+ publicly available network server or other readily accessible means,
1204
+ then you must either (1) cause the Corresponding Source to be so
1205
+ available, or (2) arrange to deprive yourself of the benefit of the
1206
+ patent license for this particular work, or (3) arrange, in a manner
1207
+ consistent with the requirements of this License, to extend the patent
1208
+ license to downstream recipients. "Knowingly relying" means you have
1209
+ actual knowledge that, but for the patent license, your conveying the
1210
+ covered work in a country, or your recipient's use of the covered work
1211
+ in a country, would infringe one or more identifiable patents in that
1212
+ country that you have reason to believe are valid.
1213
+
1214
+ If, pursuant to or in connection with a single transaction or
1215
+ arrangement, you convey, or propagate by procuring conveyance of, a
1216
+ covered work, and grant a patent license to some of the parties
1217
+ receiving the covered work authorizing them to use, propagate, modify
1218
+ or convey a specific copy of the covered work, then the patent license
1219
+ you grant is automatically extended to all recipients of the covered
1220
+ work and works based on it.
1221
+
1222
+ A patent license is "discriminatory" if it does not include within the
1223
+ scope of its coverage, prohibits the exercise of, or is conditioned on
1224
+ the non-exercise of one or more of the rights that are specifically
1225
+ granted under this License. You may not convey a covered work if you
1226
+ are a party to an arrangement with a third party that is in the
1227
+ business of distributing software, under which you make payment to the
1228
+ third party based on the extent of your activity of conveying the
1229
+ work, and under which the third party grants, to any of the parties
1230
+ who would receive the covered work from you, a discriminatory patent
1231
+ license (a) in connection with copies of the covered work conveyed by
1232
+ you (or copies made from those copies), or (b) primarily for and in
1233
+ connection with specific products or compilations that contain the
1234
+ covered work, unless you entered into that arrangement, or that patent
1235
+ license was granted, prior to 28 March 2007.
1236
+
1237
+ Nothing in this License shall be construed as excluding or limiting
1238
+ any implied license or other defenses to infringement that may
1239
+ otherwise be available to you under applicable patent law.
1240
+
1241
+ ### 12. No Surrender of Others' Freedom.
1242
+
1243
+ If conditions are imposed on you (whether by court order, agreement or
1244
+ otherwise) that contradict the conditions of this License, they do not
1245
+ excuse you from the conditions of this License. If you cannot convey a
1246
+ covered work so as to satisfy simultaneously your obligations under
1247
+ this License and any other pertinent obligations, then as a
1248
+ consequence you may not convey it at all. For example, if you agree to
1249
+ terms that obligate you to collect a royalty for further conveying
1250
+ from those to whom you convey the Program, the only way you could
1251
+ satisfy both those terms and this License would be to refrain entirely
1252
+ from conveying the Program.
1253
+
1254
+ ### 13. Use with the GNU Affero General Public License.
1255
+
1256
+ Notwithstanding any other provision of this License, you have
1257
+ permission to link or combine any covered work with a work licensed
1258
+ under version 3 of the GNU Affero General Public License into a single
1259
+ combined work, and to convey the resulting work. The terms of this
1260
+ License will continue to apply to the part which is the covered work,
1261
+ but the special requirements of the GNU Affero General Public License,
1262
+ section 13, concerning interaction through a network will apply to the
1263
+ combination as such.
1264
+
1265
+ ### 14. Revised Versions of this License.
1266
+
1267
+ The Free Software Foundation may publish revised and/or new versions
1268
+ of the GNU General Public License from time to time. Such new versions
1269
+ will be similar in spirit to the present version, but may differ in
1270
+ detail to address new problems or concerns.
1271
+
1272
+ Each version is given a distinguishing version number. If the Program
1273
+ specifies that a certain numbered version of the GNU General Public
1274
+ License "or any later version" applies to it, you have the option of
1275
+ following the terms and conditions either of that numbered version or
1276
+ of any later version published by the Free Software Foundation. If the
1277
+ Program does not specify a version number of the GNU General Public
1278
+ License, you may choose any version ever published by the Free
1279
+ Software Foundation.
1280
+
1281
+ If the Program specifies that a proxy can decide which future versions
1282
+ of the GNU General Public License can be used, that proxy's public
1283
+ statement of acceptance of a version permanently authorizes you to
1284
+ choose that version for the Program.
1285
+
1286
+ Later license versions may give you additional or different
1287
+ permissions. However, no additional obligations are imposed on any
1288
+ author or copyright holder as a result of your choosing to follow a
1289
+ later version.
1290
+
1291
+ ### 15. Disclaimer of Warranty.
1292
+
1293
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1294
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1295
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
1296
+ WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
1297
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1298
+ A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
1299
+ PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
1300
+ DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
1301
+ CORRECTION.
1302
+
1303
+ ### 16. Limitation of Liability.
1304
+
1305
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1306
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
1307
+ CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1308
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
1309
+ ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
1310
+ NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
1311
+ LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
1312
+ TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
1313
+ PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
1314
+
1315
+ ### 17. Interpretation of Sections 15 and 16.
1316
+
1317
+ If the disclaimer of warranty and limitation of liability provided
1318
+ above cannot be given local legal effect according to their terms,
1319
+ reviewing courts shall apply local law that most closely approximates
1320
+ an absolute waiver of all civil liability in connection with the
1321
+ Program, unless a warranty or assumption of liability accompanies a
1322
+ copy of the Program in return for a fee.
1323
+
1324
+ END OF TERMS AND CONDITIONS
1325
+
1326
+ ## How to Apply These Terms to Your New Programs
1327
+
1328
+ If you develop a new program, and you want it to be of the greatest
1329
+ possible use to the public, the best way to achieve this is to make it
1330
+ free software which everyone can redistribute and change under these
1331
+ terms.
1332
+
1333
+ To do so, attach the following notices to the program. It is safest to
1334
+ attach them to the start of each source file to most effectively state
1335
+ the exclusion of warranty; and each file should have at least the
1336
+ "copyright" line and a pointer to where the full notice is found.
1337
+
1338
+ <one line to give the program's name and a brief idea of what it does.>
1339
+ Copyright (C) <year> <name of author>
1340
+
1341
+ This program is free software: you can redistribute it and/or modify
1342
+ it under the terms of the GNU General Public License as published by
1343
+ the Free Software Foundation, either version 3 of the License, or
1344
+ (at your option) any later version.
1345
+
1346
+ This program is distributed in the hope that it will be useful,
1347
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1348
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1349
+ GNU General Public License for more details.
1350
+
1351
+ You should have received a copy of the GNU General Public License
1352
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
1353
+
1354
+ Also add information on how to contact you by electronic and paper
1355
+ mail.
1356
+
1357
+ If the program does terminal interaction, make it output a short
1358
+ notice like this when it starts in an interactive mode:
1359
+
1360
+ <program> Copyright (C) <year> <name of author>
1361
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1362
+ This is free software, and you are welcome to redistribute it
1363
+ under certain conditions; type `show c' for details.
1364
+
1365
+ The hypothetical commands \`show w' and \`show c' should show the
1366
+ appropriate parts of the General Public License. Of course, your
1367
+ program's commands might be different; for a GUI interface, you would
1368
+ use an "about box".
1369
+
1370
+ You should also get your employer (if you work as a programmer) or
1371
+ school, if any, to sign a "copyright disclaimer" for the program, if
1372
+ necessary. For more information on this, and how to apply and follow
1373
+ the GNU GPL, see <https://www.gnu.org/licenses/>.
1374
+
1375
+ The GNU General Public License does not permit incorporating your
1376
+ program into proprietary programs. If your program is a subroutine
1377
+ library, you may consider it more useful to permit linking proprietary
1378
+ applications with the library. If this is what you want to do, use the
1379
+ GNU Lesser General Public License instead of this License. But first,
1380
+ please read <https://www.gnu.org/licenses/why-not-lgpl.html>.