ng2-pdfjs-viewer 20.0.1 → 25.0.1

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 (439) hide show
  1. package/LICENSE +231 -51
  2. package/README.md +695 -347
  3. package/fesm2022/ng2-pdfjs-viewer.mjs +1942 -233
  4. package/fesm2022/ng2-pdfjs-viewer.mjs.map +1 -1
  5. package/index.d.ts +342 -28
  6. package/package.json +30 -26
  7. package/pdfjs/build/pdf.mjs +22873 -0
  8. package/pdfjs/build/pdf.mjs.map +1 -0
  9. package/pdfjs/build/pdf.sandbox.mjs +218 -0
  10. package/pdfjs/build/pdf.sandbox.mjs.map +1 -0
  11. package/pdfjs/build/pdf.worker.mjs +58008 -0
  12. package/pdfjs/build/pdf.worker.mjs.map +1 -0
  13. package/pdfjs/postmessage-wrapper.js +1467 -0
  14. package/pdfjs/web/compressed.tracemonkey-pldi-09.pdf +0 -0
  15. package/pdfjs/web/debugger.css +114 -0
  16. package/pdfjs/web/debugger.mjs +627 -0
  17. package/pdfjs/web/iccs/CGATS001Compat-v2-micro.icc +0 -0
  18. package/pdfjs/web/images/altText_add.svg +3 -0
  19. package/pdfjs/web/images/altText_disclaimer.svg +3 -0
  20. package/pdfjs/web/images/altText_done.svg +3 -0
  21. package/pdfjs/web/images/altText_spinner.svg +30 -0
  22. package/pdfjs/web/images/altText_warning.svg +3 -0
  23. package/pdfjs/web/images/annotation-check.svg +11 -11
  24. package/pdfjs/web/images/annotation-comment.svg +16 -16
  25. package/pdfjs/web/images/annotation-help.svg +26 -26
  26. package/pdfjs/web/images/annotation-insert.svg +10 -10
  27. package/pdfjs/web/images/annotation-key.svg +11 -11
  28. package/pdfjs/web/images/annotation-newparagraph.svg +11 -11
  29. package/pdfjs/web/images/annotation-noicon.svg +7 -7
  30. package/pdfjs/web/images/annotation-note.svg +42 -42
  31. package/pdfjs/web/images/annotation-paperclip.svg +6 -0
  32. package/pdfjs/web/images/annotation-paragraph.svg +16 -16
  33. package/pdfjs/web/images/annotation-pushpin.svg +7 -0
  34. package/pdfjs/web/images/cursor-editorFreeHighlight.svg +6 -0
  35. package/pdfjs/web/images/cursor-editorFreeText.svg +3 -0
  36. package/pdfjs/web/images/cursor-editorInk.svg +4 -0
  37. package/pdfjs/web/images/cursor-editorTextHighlight.svg +8 -0
  38. package/pdfjs/web/images/editor-toolbar-delete.svg +5 -0
  39. package/pdfjs/web/images/editor-toolbar-edit.svg +3 -0
  40. package/pdfjs/web/images/findbarButton-next.svg +3 -0
  41. package/pdfjs/web/images/findbarButton-previous.svg +3 -0
  42. package/pdfjs/web/images/gv-toolbarButton-download.svg +3 -0
  43. package/pdfjs/web/images/loading.svg +1 -0
  44. package/pdfjs/web/images/messageBar_closingButton.svg +3 -0
  45. package/pdfjs/web/images/messageBar_info.svg +3 -0
  46. package/pdfjs/web/images/messageBar_warning.svg +3 -0
  47. package/pdfjs/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
  48. package/pdfjs/web/images/secondaryToolbarButton-firstPage.svg +3 -0
  49. package/pdfjs/web/images/secondaryToolbarButton-handTool.svg +3 -0
  50. package/pdfjs/web/images/secondaryToolbarButton-lastPage.svg +3 -0
  51. package/pdfjs/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
  52. package/pdfjs/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
  53. package/pdfjs/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
  54. package/pdfjs/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
  55. package/pdfjs/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
  56. package/pdfjs/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
  57. package/pdfjs/web/images/secondaryToolbarButton-selectTool.svg +3 -0
  58. package/pdfjs/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
  59. package/pdfjs/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
  60. package/pdfjs/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
  61. package/pdfjs/web/images/toolbarButton-bookmark.svg +3 -0
  62. package/pdfjs/web/images/toolbarButton-currentOutlineItem.svg +3 -0
  63. package/pdfjs/web/images/toolbarButton-download.svg +4 -0
  64. package/pdfjs/web/images/toolbarButton-editorFreeText.svg +5 -0
  65. package/pdfjs/web/images/toolbarButton-editorHighlight.svg +6 -0
  66. package/pdfjs/web/images/toolbarButton-editorInk.svg +4 -0
  67. package/pdfjs/web/images/toolbarButton-editorSignature.svg +6 -0
  68. package/pdfjs/web/images/toolbarButton-editorStamp.svg +8 -0
  69. package/pdfjs/web/images/toolbarButton-menuArrow.svg +3 -0
  70. package/pdfjs/web/images/toolbarButton-openFile.svg +3 -0
  71. package/pdfjs/web/images/toolbarButton-pageDown.svg +3 -0
  72. package/pdfjs/web/images/toolbarButton-pageUp.svg +3 -0
  73. package/pdfjs/web/images/toolbarButton-presentationMode.svg +3 -0
  74. package/pdfjs/web/images/toolbarButton-print.svg +3 -0
  75. package/pdfjs/web/images/toolbarButton-search.svg +3 -0
  76. package/pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
  77. package/pdfjs/web/images/toolbarButton-sidebarToggle.svg +3 -0
  78. package/pdfjs/web/images/toolbarButton-viewAttachments.svg +3 -0
  79. package/pdfjs/web/images/toolbarButton-viewLayers.svg +3 -0
  80. package/pdfjs/web/images/toolbarButton-viewOutline.svg +3 -0
  81. package/pdfjs/web/images/toolbarButton-viewThumbnail.svg +3 -0
  82. package/pdfjs/web/images/toolbarButton-zoomIn.svg +3 -0
  83. package/pdfjs/web/images/toolbarButton-zoomOut.svg +3 -0
  84. package/pdfjs/web/images/treeitem-collapsed.svg +1 -0
  85. package/pdfjs/web/images/treeitem-expanded.svg +1 -0
  86. package/pdfjs/web/locale/ach/viewer.ftl +275 -0
  87. package/pdfjs/web/locale/af/viewer.ftl +262 -0
  88. package/pdfjs/web/locale/an/viewer.ftl +307 -0
  89. package/pdfjs/web/locale/ar/viewer.ftl +627 -0
  90. package/pdfjs/web/locale/ast/viewer.ftl +251 -0
  91. package/pdfjs/web/locale/az/viewer.ftl +307 -0
  92. package/pdfjs/web/locale/be/viewer.ftl +618 -0
  93. package/pdfjs/web/locale/bg/viewer.ftl +451 -0
  94. package/pdfjs/web/locale/bn/viewer.ftl +297 -0
  95. package/pdfjs/web/locale/bo/viewer.ftl +297 -0
  96. package/pdfjs/web/locale/br/viewer.ftl +370 -0
  97. package/pdfjs/web/locale/brx/viewer.ftl +268 -0
  98. package/pdfjs/web/locale/bs/viewer.ftl +273 -0
  99. package/pdfjs/web/locale/ca/viewer.ftl +343 -0
  100. package/pdfjs/web/locale/cak/viewer.ftl +341 -0
  101. package/pdfjs/web/locale/ckb/viewer.ftl +292 -0
  102. package/pdfjs/web/locale/cs/viewer.ftl +621 -0
  103. package/pdfjs/web/locale/cy/viewer.ftl +627 -0
  104. package/pdfjs/web/locale/da/viewer.ftl +615 -0
  105. package/pdfjs/web/locale/de/viewer.ftl +615 -0
  106. package/pdfjs/web/locale/dsb/viewer.ftl +621 -0
  107. package/pdfjs/web/locale/el/viewer.ftl +615 -0
  108. package/pdfjs/web/locale/en-CA/viewer.ftl +610 -0
  109. package/pdfjs/web/locale/en-GB/viewer.ftl +615 -0
  110. package/pdfjs/web/locale/en-US/viewer.ftl +640 -0
  111. package/pdfjs/web/locale/eo/viewer.ftl +615 -0
  112. package/pdfjs/web/locale/es-AR/viewer.ftl +615 -0
  113. package/pdfjs/web/locale/es-CL/viewer.ftl +615 -0
  114. package/pdfjs/web/locale/es-ES/viewer.ftl +615 -0
  115. package/pdfjs/web/locale/es-MX/viewer.ftl +580 -0
  116. package/pdfjs/web/locale/et/viewer.ftl +319 -0
  117. package/pdfjs/web/locale/eu/viewer.ftl +619 -0
  118. package/pdfjs/web/locale/fa/viewer.ftl +378 -0
  119. package/pdfjs/web/locale/ff/viewer.ftl +297 -0
  120. package/pdfjs/web/locale/fi/viewer.ftl +615 -0
  121. package/pdfjs/web/locale/fr/viewer.ftl +611 -0
  122. package/pdfjs/web/locale/fur/viewer.ftl +615 -0
  123. package/pdfjs/web/locale/fy-NL/viewer.ftl +615 -0
  124. package/pdfjs/web/locale/ga-IE/viewer.ftl +263 -0
  125. package/pdfjs/web/locale/gd/viewer.ftl +343 -0
  126. package/pdfjs/web/locale/gl/viewer.ftl +414 -0
  127. package/pdfjs/web/locale/gn/viewer.ftl +614 -0
  128. package/pdfjs/web/locale/gu-IN/viewer.ftl +297 -0
  129. package/pdfjs/web/locale/he/viewer.ftl +615 -0
  130. package/pdfjs/web/locale/hi-IN/viewer.ftl +297 -0
  131. package/pdfjs/web/locale/hr/viewer.ftl +552 -0
  132. package/pdfjs/web/locale/hsb/viewer.ftl +621 -0
  133. package/pdfjs/web/locale/hu/viewer.ftl +615 -0
  134. package/pdfjs/web/locale/hy-AM/viewer.ftl +314 -0
  135. package/pdfjs/web/locale/hye/viewer.ftl +318 -0
  136. package/pdfjs/web/locale/ia/viewer.ftl +615 -0
  137. package/pdfjs/web/locale/id/viewer.ftl +603 -0
  138. package/pdfjs/web/locale/is/viewer.ftl +600 -0
  139. package/pdfjs/web/locale/it/viewer.ftl +615 -0
  140. package/pdfjs/web/locale/ja/viewer.ftl +603 -0
  141. package/pdfjs/web/locale/ka/viewer.ftl +615 -0
  142. package/pdfjs/web/locale/kab/viewer.ftl +595 -0
  143. package/pdfjs/web/locale/kk/viewer.ftl +595 -0
  144. package/pdfjs/web/locale/km/viewer.ftl +273 -0
  145. package/pdfjs/web/locale/kn/viewer.ftl +263 -0
  146. package/pdfjs/web/locale/ko/viewer.ftl +603 -0
  147. package/pdfjs/web/locale/lij/viewer.ftl +297 -0
  148. package/pdfjs/web/locale/lo/viewer.ftl +343 -0
  149. package/pdfjs/web/locale/locale.json +1 -0
  150. package/pdfjs/web/locale/lt/viewer.ftl +318 -0
  151. package/pdfjs/web/locale/ltg/viewer.ftl +296 -0
  152. package/pdfjs/web/locale/lv/viewer.ftl +297 -0
  153. package/pdfjs/web/locale/meh/viewer.ftl +137 -0
  154. package/pdfjs/web/locale/mk/viewer.ftl +265 -0
  155. package/pdfjs/web/locale/ml/viewer.ftl +524 -0
  156. package/pdfjs/web/locale/mr/viewer.ftl +289 -0
  157. package/pdfjs/web/locale/ms/viewer.ftl +297 -0
  158. package/pdfjs/web/locale/my/viewer.ftl +256 -0
  159. package/pdfjs/web/locale/nb-NO/viewer.ftl +614 -0
  160. package/pdfjs/web/locale/ne-NP/viewer.ftl +284 -0
  161. package/pdfjs/web/locale/nl/viewer.ftl +615 -0
  162. package/pdfjs/web/locale/nn-NO/viewer.ftl +609 -0
  163. package/pdfjs/web/locale/oc/viewer.ftl +436 -0
  164. package/pdfjs/web/locale/pa-IN/viewer.ftl +615 -0
  165. package/pdfjs/web/locale/pl/viewer.ftl +618 -0
  166. package/pdfjs/web/locale/pt-BR/viewer.ftl +615 -0
  167. package/pdfjs/web/locale/pt-PT/viewer.ftl +615 -0
  168. package/pdfjs/web/locale/rm/viewer.ftl +615 -0
  169. package/pdfjs/web/locale/ro/viewer.ftl +302 -0
  170. package/pdfjs/web/locale/ru/viewer.ftl +618 -0
  171. package/pdfjs/web/locale/sat/viewer.ftl +355 -0
  172. package/pdfjs/web/locale/sc/viewer.ftl +394 -0
  173. package/pdfjs/web/locale/scn/viewer.ftl +124 -0
  174. package/pdfjs/web/locale/sco/viewer.ftl +314 -0
  175. package/pdfjs/web/locale/si/viewer.ftl +301 -0
  176. package/pdfjs/web/locale/sk/viewer.ftl +621 -0
  177. package/pdfjs/web/locale/skr/viewer.ftl +524 -0
  178. package/pdfjs/web/locale/sl/viewer.ftl +621 -0
  179. package/pdfjs/web/locale/son/viewer.ftl +256 -0
  180. package/pdfjs/web/locale/sq/viewer.ftl +606 -0
  181. package/pdfjs/web/locale/sr/viewer.ftl +451 -0
  182. package/pdfjs/web/locale/sv-SE/viewer.ftl +615 -0
  183. package/pdfjs/web/locale/szl/viewer.ftl +307 -0
  184. package/pdfjs/web/locale/ta/viewer.ftl +273 -0
  185. package/pdfjs/web/locale/te/viewer.ftl +289 -0
  186. package/pdfjs/web/locale/tg/viewer.ftl +615 -0
  187. package/pdfjs/web/locale/th/viewer.ftl +603 -0
  188. package/pdfjs/web/locale/tl/viewer.ftl +307 -0
  189. package/pdfjs/web/locale/tr/viewer.ftl +615 -0
  190. package/pdfjs/web/locale/trs/viewer.ftl +247 -0
  191. package/pdfjs/web/locale/uk/viewer.ftl +618 -0
  192. package/pdfjs/web/locale/ur/viewer.ftl +298 -0
  193. package/pdfjs/web/locale/uz/viewer.ftl +237 -0
  194. package/pdfjs/web/locale/vi/viewer.ftl +603 -0
  195. package/pdfjs/web/locale/wo/viewer.ftl +177 -0
  196. package/pdfjs/web/locale/xh/viewer.ftl +262 -0
  197. package/pdfjs/web/locale/zh-CN/viewer.ftl +603 -0
  198. package/pdfjs/web/locale/zh-TW/viewer.ftl +603 -0
  199. package/pdfjs/web/postmessage-wrapper.js +2103 -0
  200. package/pdfjs/web/standard_fonts/FoxitDingbats.pfb +0 -0
  201. package/pdfjs/web/standard_fonts/FoxitFixed.pfb +0 -0
  202. package/pdfjs/web/standard_fonts/FoxitFixedBold.pfb +0 -0
  203. package/pdfjs/web/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  204. package/pdfjs/web/standard_fonts/FoxitFixedItalic.pfb +0 -0
  205. package/pdfjs/web/standard_fonts/FoxitSerif.pfb +0 -0
  206. package/pdfjs/web/standard_fonts/FoxitSerifBold.pfb +0 -0
  207. package/pdfjs/web/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  208. package/pdfjs/web/standard_fonts/FoxitSerifItalic.pfb +0 -0
  209. package/pdfjs/web/standard_fonts/FoxitSymbol.pfb +0 -0
  210. package/pdfjs/web/standard_fonts/LiberationSans-Bold.ttf +0 -0
  211. package/pdfjs/web/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  212. package/pdfjs/web/standard_fonts/LiberationSans-Italic.ttf +0 -0
  213. package/pdfjs/web/standard_fonts/LiberationSans-Regular.ttf +0 -0
  214. package/pdfjs/web/viewer.css +5935 -1902
  215. package/pdfjs/web/viewer.html +636 -288
  216. package/pdfjs/web/viewer.mjs +17076 -0
  217. package/pdfjs/web/viewer.mjs.map +1 -0
  218. package/pdfjs/web/wasm/openjpeg.wasm +0 -0
  219. package/pdfjs/web/wasm/openjpeg_nowasm_fallback.js +29 -0
  220. package/pdfjs/web/wasm/qcms_bg.wasm +0 -0
  221. package/pdfjs/build/pdf.js +0 -24385
  222. package/pdfjs/build/pdf.js.map +0 -1
  223. package/pdfjs/build/pdf.worker.js +0 -55973
  224. package/pdfjs/build/pdf.worker.js.map +0 -1
  225. package/pdfjs/web/debugger.js +0 -615
  226. package/pdfjs/web/images/findbarButton-next-rtl.png +0 -0
  227. package/pdfjs/web/images/findbarButton-next-rtl@2x.png +0 -0
  228. package/pdfjs/web/images/findbarButton-next.png +0 -0
  229. package/pdfjs/web/images/findbarButton-next@2x.png +0 -0
  230. package/pdfjs/web/images/findbarButton-previous-rtl.png +0 -0
  231. package/pdfjs/web/images/findbarButton-previous-rtl@2x.png +0 -0
  232. package/pdfjs/web/images/findbarButton-previous.png +0 -0
  233. package/pdfjs/web/images/findbarButton-previous@2x.png +0 -0
  234. package/pdfjs/web/images/grab.cur +0 -0
  235. package/pdfjs/web/images/grabbing.cur +0 -0
  236. package/pdfjs/web/images/loading-small.png +0 -0
  237. package/pdfjs/web/images/loading-small@2x.png +0 -0
  238. package/pdfjs/web/images/secondaryToolbarButton-documentProperties.png +0 -0
  239. package/pdfjs/web/images/secondaryToolbarButton-documentProperties@2x.png +0 -0
  240. package/pdfjs/web/images/secondaryToolbarButton-firstPage.png +0 -0
  241. package/pdfjs/web/images/secondaryToolbarButton-firstPage@2x.png +0 -0
  242. package/pdfjs/web/images/secondaryToolbarButton-handTool.png +0 -0
  243. package/pdfjs/web/images/secondaryToolbarButton-handTool@2x.png +0 -0
  244. package/pdfjs/web/images/secondaryToolbarButton-lastPage.png +0 -0
  245. package/pdfjs/web/images/secondaryToolbarButton-lastPage@2x.png +0 -0
  246. package/pdfjs/web/images/secondaryToolbarButton-rotateCcw.png +0 -0
  247. package/pdfjs/web/images/secondaryToolbarButton-rotateCcw@2x.png +0 -0
  248. package/pdfjs/web/images/secondaryToolbarButton-rotateCw.png +0 -0
  249. package/pdfjs/web/images/secondaryToolbarButton-rotateCw@2x.png +0 -0
  250. package/pdfjs/web/images/secondaryToolbarButton-scrollHorizontal.png +0 -0
  251. package/pdfjs/web/images/secondaryToolbarButton-scrollHorizontal@2x.png +0 -0
  252. package/pdfjs/web/images/secondaryToolbarButton-scrollVertical.png +0 -0
  253. package/pdfjs/web/images/secondaryToolbarButton-scrollVertical@2x.png +0 -0
  254. package/pdfjs/web/images/secondaryToolbarButton-scrollWrapped.png +0 -0
  255. package/pdfjs/web/images/secondaryToolbarButton-scrollWrapped@2x.png +0 -0
  256. package/pdfjs/web/images/secondaryToolbarButton-selectTool.png +0 -0
  257. package/pdfjs/web/images/secondaryToolbarButton-selectTool@2x.png +0 -0
  258. package/pdfjs/web/images/secondaryToolbarButton-spreadEven.png +0 -0
  259. package/pdfjs/web/images/secondaryToolbarButton-spreadEven@2x.png +0 -0
  260. package/pdfjs/web/images/secondaryToolbarButton-spreadNone.png +0 -0
  261. package/pdfjs/web/images/secondaryToolbarButton-spreadNone@2x.png +0 -0
  262. package/pdfjs/web/images/secondaryToolbarButton-spreadOdd.png +0 -0
  263. package/pdfjs/web/images/secondaryToolbarButton-spreadOdd@2x.png +0 -0
  264. package/pdfjs/web/images/shadow.png +0 -0
  265. package/pdfjs/web/images/texture.png +0 -0
  266. package/pdfjs/web/images/toolbarButton-bookmark.png +0 -0
  267. package/pdfjs/web/images/toolbarButton-bookmark@2x.png +0 -0
  268. package/pdfjs/web/images/toolbarButton-download.png +0 -0
  269. package/pdfjs/web/images/toolbarButton-download@2x.png +0 -0
  270. package/pdfjs/web/images/toolbarButton-menuArrows.png +0 -0
  271. package/pdfjs/web/images/toolbarButton-menuArrows@2x.png +0 -0
  272. package/pdfjs/web/images/toolbarButton-openFile.png +0 -0
  273. package/pdfjs/web/images/toolbarButton-openFile@2x.png +0 -0
  274. package/pdfjs/web/images/toolbarButton-pageDown-rtl.png +0 -0
  275. package/pdfjs/web/images/toolbarButton-pageDown-rtl@2x.png +0 -0
  276. package/pdfjs/web/images/toolbarButton-pageDown.png +0 -0
  277. package/pdfjs/web/images/toolbarButton-pageDown@2x.png +0 -0
  278. package/pdfjs/web/images/toolbarButton-pageUp-rtl.png +0 -0
  279. package/pdfjs/web/images/toolbarButton-pageUp-rtl@2x.png +0 -0
  280. package/pdfjs/web/images/toolbarButton-pageUp.png +0 -0
  281. package/pdfjs/web/images/toolbarButton-pageUp@2x.png +0 -0
  282. package/pdfjs/web/images/toolbarButton-presentationMode.png +0 -0
  283. package/pdfjs/web/images/toolbarButton-presentationMode@2x.png +0 -0
  284. package/pdfjs/web/images/toolbarButton-print.png +0 -0
  285. package/pdfjs/web/images/toolbarButton-print@2x.png +0 -0
  286. package/pdfjs/web/images/toolbarButton-search.png +0 -0
  287. package/pdfjs/web/images/toolbarButton-search@2x.png +0 -0
  288. package/pdfjs/web/images/toolbarButton-secondaryToolbarToggle-rtl.png +0 -0
  289. package/pdfjs/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png +0 -0
  290. package/pdfjs/web/images/toolbarButton-secondaryToolbarToggle.png +0 -0
  291. package/pdfjs/web/images/toolbarButton-secondaryToolbarToggle@2x.png +0 -0
  292. package/pdfjs/web/images/toolbarButton-sidebarToggle-rtl.png +0 -0
  293. package/pdfjs/web/images/toolbarButton-sidebarToggle-rtl@2x.png +0 -0
  294. package/pdfjs/web/images/toolbarButton-sidebarToggle.png +0 -0
  295. package/pdfjs/web/images/toolbarButton-sidebarToggle@2x.png +0 -0
  296. package/pdfjs/web/images/toolbarButton-viewAttachments.png +0 -0
  297. package/pdfjs/web/images/toolbarButton-viewAttachments@2x.png +0 -0
  298. package/pdfjs/web/images/toolbarButton-viewOutline-rtl.png +0 -0
  299. package/pdfjs/web/images/toolbarButton-viewOutline-rtl@2x.png +0 -0
  300. package/pdfjs/web/images/toolbarButton-viewOutline.png +0 -0
  301. package/pdfjs/web/images/toolbarButton-viewOutline@2x.png +0 -0
  302. package/pdfjs/web/images/toolbarButton-viewThumbnail.png +0 -0
  303. package/pdfjs/web/images/toolbarButton-viewThumbnail@2x.png +0 -0
  304. package/pdfjs/web/images/toolbarButton-zoomIn.png +0 -0
  305. package/pdfjs/web/images/toolbarButton-zoomIn@2x.png +0 -0
  306. package/pdfjs/web/images/toolbarButton-zoomOut.png +0 -0
  307. package/pdfjs/web/images/toolbarButton-zoomOut@2x.png +0 -0
  308. package/pdfjs/web/images/treeitem-collapsed-rtl.png +0 -0
  309. package/pdfjs/web/images/treeitem-collapsed-rtl@2x.png +0 -0
  310. package/pdfjs/web/images/treeitem-collapsed.png +0 -0
  311. package/pdfjs/web/images/treeitem-collapsed@2x.png +0 -0
  312. package/pdfjs/web/images/treeitem-expanded.png +0 -0
  313. package/pdfjs/web/images/treeitem-expanded@2x.png +0 -0
  314. package/pdfjs/web/locale/ach/viewer.properties +0 -207
  315. package/pdfjs/web/locale/af/viewer.properties +0 -184
  316. package/pdfjs/web/locale/ak/viewer.properties +0 -130
  317. package/pdfjs/web/locale/an/viewer.properties +0 -184
  318. package/pdfjs/web/locale/ar/viewer.properties +0 -242
  319. package/pdfjs/web/locale/as/viewer.properties +0 -167
  320. package/pdfjs/web/locale/ast/viewer.properties +0 -201
  321. package/pdfjs/web/locale/az/viewer.properties +0 -242
  322. package/pdfjs/web/locale/be/viewer.properties +0 -242
  323. package/pdfjs/web/locale/bg/viewer.properties +0 -242
  324. package/pdfjs/web/locale/bn-BD/viewer.properties +0 -232
  325. package/pdfjs/web/locale/bn-IN/viewer.properties +0 -242
  326. package/pdfjs/web/locale/br/viewer.properties +0 -242
  327. package/pdfjs/web/locale/brx/viewer.properties +0 -167
  328. package/pdfjs/web/locale/bs/viewer.properties +0 -201
  329. package/pdfjs/web/locale/ca/viewer.properties +0 -236
  330. package/pdfjs/web/locale/cak/viewer.properties +0 -242
  331. package/pdfjs/web/locale/crh/viewer.properties +0 -242
  332. package/pdfjs/web/locale/cs/viewer.properties +0 -242
  333. package/pdfjs/web/locale/csb/viewer.properties +0 -134
  334. package/pdfjs/web/locale/cy/viewer.properties +0 -242
  335. package/pdfjs/web/locale/da/viewer.properties +0 -242
  336. package/pdfjs/web/locale/de/viewer.properties +0 -242
  337. package/pdfjs/web/locale/el/viewer.properties +0 -242
  338. package/pdfjs/web/locale/en-CA/viewer.properties +0 -242
  339. package/pdfjs/web/locale/en-GB/viewer.properties +0 -242
  340. package/pdfjs/web/locale/en-US/viewer.properties +0 -246
  341. package/pdfjs/web/locale/en-ZA/viewer.properties +0 -170
  342. package/pdfjs/web/locale/eo/viewer.properties +0 -242
  343. package/pdfjs/web/locale/es-AR/viewer.properties +0 -242
  344. package/pdfjs/web/locale/es-CL/viewer.properties +0 -242
  345. package/pdfjs/web/locale/es-ES/viewer.properties +0 -242
  346. package/pdfjs/web/locale/es-MX/viewer.properties +0 -242
  347. package/pdfjs/web/locale/et/viewer.properties +0 -242
  348. package/pdfjs/web/locale/eu/viewer.properties +0 -242
  349. package/pdfjs/web/locale/fa/viewer.properties +0 -223
  350. package/pdfjs/web/locale/ff/viewer.properties +0 -242
  351. package/pdfjs/web/locale/fi/viewer.properties +0 -242
  352. package/pdfjs/web/locale/fr/viewer.properties +0 -242
  353. package/pdfjs/web/locale/fy-NL/viewer.properties +0 -242
  354. package/pdfjs/web/locale/ga-IE/viewer.properties +0 -184
  355. package/pdfjs/web/locale/gd/viewer.properties +0 -242
  356. package/pdfjs/web/locale/gl/viewer.properties +0 -242
  357. package/pdfjs/web/locale/gn/viewer.properties +0 -242
  358. package/pdfjs/web/locale/gu-IN/viewer.properties +0 -242
  359. package/pdfjs/web/locale/he/viewer.properties +0 -240
  360. package/pdfjs/web/locale/hi-IN/viewer.properties +0 -224
  361. package/pdfjs/web/locale/hr/viewer.properties +0 -242
  362. package/pdfjs/web/locale/hsb/viewer.properties +0 -242
  363. package/pdfjs/web/locale/hto/viewer.properties +0 -127
  364. package/pdfjs/web/locale/hu/viewer.properties +0 -242
  365. package/pdfjs/web/locale/hy-AM/viewer.properties +0 -201
  366. package/pdfjs/web/locale/ia/viewer.properties +0 -242
  367. package/pdfjs/web/locale/id/viewer.properties +0 -242
  368. package/pdfjs/web/locale/is/viewer.properties +0 -239
  369. package/pdfjs/web/locale/it/viewer.properties +0 -157
  370. package/pdfjs/web/locale/ja/viewer.properties +0 -242
  371. package/pdfjs/web/locale/ka/viewer.properties +0 -242
  372. package/pdfjs/web/locale/kab/viewer.properties +0 -242
  373. package/pdfjs/web/locale/kk/viewer.properties +0 -242
  374. package/pdfjs/web/locale/km/viewer.properties +0 -184
  375. package/pdfjs/web/locale/kn/viewer.properties +0 -193
  376. package/pdfjs/web/locale/ko/viewer.properties +0 -242
  377. package/pdfjs/web/locale/kok/viewer.properties +0 -167
  378. package/pdfjs/web/locale/ks/viewer.properties +0 -168
  379. package/pdfjs/web/locale/ku/viewer.properties +0 -146
  380. package/pdfjs/web/locale/lg/viewer.properties +0 -112
  381. package/pdfjs/web/locale/lij/viewer.properties +0 -242
  382. package/pdfjs/web/locale/lo/viewer.properties +0 -152
  383. package/pdfjs/web/locale/locale.properties +0 -369
  384. package/pdfjs/web/locale/lt/viewer.properties +0 -242
  385. package/pdfjs/web/locale/ltg/viewer.properties +0 -220
  386. package/pdfjs/web/locale/lv/viewer.properties +0 -242
  387. package/pdfjs/web/locale/mai/viewer.properties +0 -168
  388. package/pdfjs/web/locale/meh/viewer.properties +0 -72
  389. package/pdfjs/web/locale/mk/viewer.properties +0 -145
  390. package/pdfjs/web/locale/ml/viewer.properties +0 -184
  391. package/pdfjs/web/locale/mn/viewer.properties +0 -82
  392. package/pdfjs/web/locale/mr/viewer.properties +0 -227
  393. package/pdfjs/web/locale/ms/viewer.properties +0 -242
  394. package/pdfjs/web/locale/my/viewer.properties +0 -198
  395. package/pdfjs/web/locale/nb-NO/viewer.properties +0 -242
  396. package/pdfjs/web/locale/ne-NP/viewer.properties +0 -184
  397. package/pdfjs/web/locale/nl/viewer.properties +0 -246
  398. package/pdfjs/web/locale/nn-NO/viewer.properties +0 -242
  399. package/pdfjs/web/locale/nso/viewer.properties +0 -130
  400. package/pdfjs/web/locale/oc/viewer.properties +0 -210
  401. package/pdfjs/web/locale/or/viewer.properties +0 -167
  402. package/pdfjs/web/locale/pa-IN/viewer.properties +0 -225
  403. package/pdfjs/web/locale/pl/viewer.properties +0 -242
  404. package/pdfjs/web/locale/pt-BR/viewer.properties +0 -242
  405. package/pdfjs/web/locale/pt-PT/viewer.properties +0 -242
  406. package/pdfjs/web/locale/rm/viewer.properties +0 -242
  407. package/pdfjs/web/locale/ro/viewer.properties +0 -242
  408. package/pdfjs/web/locale/ru/viewer.properties +0 -242
  409. package/pdfjs/web/locale/rw/viewer.properties +0 -81
  410. package/pdfjs/web/locale/sah/viewer.properties +0 -166
  411. package/pdfjs/web/locale/sat/viewer.properties +0 -134
  412. package/pdfjs/web/locale/si/viewer.properties +0 -207
  413. package/pdfjs/web/locale/sk/viewer.properties +0 -242
  414. package/pdfjs/web/locale/sl/viewer.properties +0 -242
  415. package/pdfjs/web/locale/son/viewer.properties +0 -180
  416. package/pdfjs/web/locale/sq/viewer.properties +0 -235
  417. package/pdfjs/web/locale/sr/viewer.properties +0 -220
  418. package/pdfjs/web/locale/sv-SE/viewer.properties +0 -242
  419. package/pdfjs/web/locale/sw/viewer.properties +0 -128
  420. package/pdfjs/web/locale/ta/viewer.properties +0 -201
  421. package/pdfjs/web/locale/ta-LK/viewer.properties +0 -77
  422. package/pdfjs/web/locale/te/viewer.properties +0 -218
  423. package/pdfjs/web/locale/th/viewer.properties +0 -242
  424. package/pdfjs/web/locale/tl/viewer.properties +0 -242
  425. package/pdfjs/web/locale/tn/viewer.properties +0 -83
  426. package/pdfjs/web/locale/tr/viewer.properties +0 -242
  427. package/pdfjs/web/locale/tsz/viewer.properties +0 -75
  428. package/pdfjs/web/locale/uk/viewer.properties +0 -242
  429. package/pdfjs/web/locale/ur/viewer.properties +0 -207
  430. package/pdfjs/web/locale/uz/viewer.properties +0 -169
  431. package/pdfjs/web/locale/vi/viewer.properties +0 -239
  432. package/pdfjs/web/locale/wo/viewer.properties +0 -124
  433. package/pdfjs/web/locale/xh/viewer.properties +0 -184
  434. package/pdfjs/web/locale/zam/viewer.properties +0 -90
  435. package/pdfjs/web/locale/zh-CN/viewer.properties +0 -242
  436. package/pdfjs/web/locale/zh-TW/viewer.properties +0 -242
  437. package/pdfjs/web/locale/zu/viewer.properties +0 -131
  438. package/pdfjs/web/viewer.js +0 -15877
  439. package/pdfjs/web/viewer.js.map +0 -1
package/LICENSE CHANGED
@@ -1,51 +1,231 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
10
-
11
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
12
-
13
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
14
-
15
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
16
-
17
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
18
-
19
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
20
-
21
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
22
-
23
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
24
-
25
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
26
-
27
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
28
-
29
- 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
30
-
31
- 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
32
-
33
- 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
34
-
35
- You must give any other recipients of the Work or Derivative Works a copy of this License; and
36
- You must cause any modified files to carry prominent notices stating that You changed the files; and
37
- You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
38
- If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
39
-
40
- You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
41
- 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
42
-
43
- 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
44
-
45
- 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
46
-
47
- 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
48
-
49
- 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
50
-
51
- END OF TERMS AND CONDITIONS
1
+ # Apache License, Version 2.0 with Commons Clause License Condition v 1.0
2
+
3
+ ===============================================================================
4
+
5
+ COMMONS CLAUSE LICENSE CONDITION
6
+
7
+ The Software is provided to you by the Licensor under the License, as defined
8
+ below, subject to the following condition.
9
+
10
+ Without limiting other conditions in the License, the grant of rights under
11
+ the License will not include, and the License does not grant to you, the right
12
+ to Sell the Software. For purposes of the foregoing, "Sell" means practicing
13
+ any or all of the rights granted to you under the License to provide to third
14
+ parties, for a fee or other consideration (including without limitation fees
15
+ for hosting or consulting/ support services related to the Software), a product
16
+ or service whose value derives, entirely or substantially, from the Software.
17
+ Any license notice or attribution required by the License must also include
18
+ this Commons Clause License Condition notice.
19
+
20
+ Software: ng2-pdfjs-viewer
21
+ Copyright (c) 2018-2025 Aneesh Goapalakrishnan
22
+ Licensor: Aneesh Goapalakrishnan <codehippie1@gmail.com>
23
+
24
+ This software is dual-licensed under the Apache License 2.0 and the Commons
25
+ Clause License Condition. The Commons Clause modifies the Apache License 2.0
26
+ to prevent commercial competitors from selling products or services that are
27
+ substantially derived from this software.
28
+
29
+ ===============================================================================
30
+
31
+ Apache License
32
+ Version 2.0, January 2004
33
+ http://www.apache.org/licenses/
34
+
35
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
36
+
37
+ 1. Definitions.
38
+
39
+ "License" shall mean the terms and conditions for use, reproduction,
40
+ and distribution as defined by Sections 1 through 9 of this document.
41
+
42
+ "Licensor" shall mean the copyright owner or entity authorized by
43
+ the copyright owner that is granting the License.
44
+
45
+ "Legal Entity" shall mean the union of the acting entity and all
46
+ other entities that control, are controlled by, or are under common
47
+ control with that entity. For the purposes of this definition,
48
+ "control" means (i) the power, direct or indirect, to cause the
49
+ direction or management of such entity, whether by contract or
50
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
51
+ outstanding shares, or (iii) beneficial ownership of such entity.
52
+
53
+ "You" (or "Your") shall mean an individual or Legal Entity
54
+ exercising permissions granted by this License.
55
+
56
+ "Source" form shall mean the preferred form for making modifications,
57
+ including but not limited to software source code, documentation
58
+ source, and configuration files.
59
+
60
+ "Object" form shall mean any form resulting from mechanical
61
+ transformation or translation of a Source form, including but
62
+ not limited to compiled object code, generated documentation,
63
+ and conversions to other media types.
64
+
65
+ "Work" shall mean the work of authorship, whether in Source or
66
+ Object form, made available under the License, as indicated by a
67
+ copyright notice that is included in or attached to the work
68
+ (an example is provided in the Appendix below).
69
+
70
+ "Derivative Works" shall mean any work, whether in Source or Object
71
+ form, that is based on (or derived from) the Work and for which the
72
+ editorial revisions, annotations, elaborations, or other modifications
73
+ represent, as a whole, an original work of authorship. For the purposes
74
+ of this License, Derivative Works shall not include works that remain
75
+ separable from, or merely link (or bind by name) to the interfaces of,
76
+ the Work and Derivative Works thereof.
77
+
78
+ "Contribution" shall mean any work of authorship, including
79
+ the original version of the Work and any modifications or additions
80
+ to that Work or Derivative Works thereof, that is intentionally
81
+ submitted to Licensor for inclusion in the Work by the copyright owner
82
+ or by an individual or Legal Entity authorized to submit on behalf of
83
+ the copyright owner. For the purposes of this definition, "submitted"
84
+ means any form of electronic, verbal, or written communication sent
85
+ to the Licensor or its representatives, including but not limited to
86
+ communication on electronic mailing lists, source code control systems,
87
+ and issue tracking systems that are managed by, or on behalf of, the
88
+ Licensor for the purpose of discussing and improving the Work, but
89
+ excluding communication that is conspicuously marked or otherwise
90
+ designated in writing by the copyright owner as "Not a Contribution."
91
+
92
+ "Contributor" shall mean Licensor and any individual or Legal Entity
93
+ on behalf of whom a Contribution has been received by Licensor and
94
+ subsequently incorporated within the Work.
95
+
96
+ 2. Grant of Copyright License. Subject to the terms and conditions of
97
+ this License, each Contributor hereby grants to You a perpetual,
98
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
99
+ copyright license to reproduce, prepare Derivative Works of,
100
+ publicly display, publicly perform, sublicense, and distribute the
101
+ Work and such Derivative Works in Source or Object form.
102
+
103
+ 3. Grant of Patent License. Subject to the terms and conditions of
104
+ this License, each Contributor hereby grants to You a perpetual,
105
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
106
+ (except as stated in this section) patent license to make, have made,
107
+ use, offer to sell, sell, import, and otherwise transfer the Work,
108
+ where such license applies only to those patent claims licensable
109
+ by such Contributor that are necessarily infringed by their
110
+ Contribution(s) alone or by combination of their Contribution(s)
111
+ with the Work to which such Contribution(s) was submitted. If You
112
+ institute patent litigation against any entity (including a
113
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
114
+ or a Contribution incorporated within the Work constitutes direct
115
+ or contributory patent infringement, then any patent licenses
116
+ granted to You under this License for that Work shall terminate
117
+ as of the date such litigation is filed.
118
+
119
+ 4. Redistribution. You may reproduce and distribute copies of the
120
+ Work or Derivative Works thereof in any medium, with or without
121
+ modifications, and in Source or Object form, provided that You
122
+ meet the following conditions:
123
+
124
+ (a) You must give any other recipients of the Work or
125
+ Derivative Works a copy of this License; and
126
+
127
+ (b) You must cause any modified files to carry prominent notices
128
+ stating that You changed the files; and
129
+
130
+ (c) You must retain, in the Source form of any Derivative Works
131
+ that You distribute, all copyright, patent, trademark, and
132
+ attribution notices from the Source form of the Work,
133
+ excluding those notices that do not pertain to any part of
134
+ the Derivative Works; and
135
+
136
+ (d) If the Work includes a "NOTICE" text file as part of its
137
+ distribution, then any Derivative Works that You distribute must
138
+ include a readable copy of the attribution notices contained
139
+ within such NOTICE file, excluding those notices that do not
140
+ pertain to any part of the Derivative Works, in at least one
141
+ of the following places: within a NOTICE text file distributed
142
+ as part of the Derivative Works; within the Source form or
143
+ documentation, if provided along with the Derivative Works; or,
144
+ within a display generated by the Derivative Works, if and
145
+ wherever such third-party notices normally appear. The contents
146
+ of the NOTICE file are for informational purposes only and
147
+ do not modify the License. You may add Your own attribution
148
+ notices within Derivative Works that You distribute, alongside
149
+ or as an addendum to the NOTICE text from the Work, provided
150
+ that such additional attribution notices cannot be construed
151
+ as modifying the License.
152
+
153
+ You may add Your own copyright statement to Your modifications and
154
+ may provide additional or different license terms and conditions
155
+ for use, reproduction, or distribution of Your modifications, or
156
+ for any such Derivative Works as a whole, provided Your use,
157
+ reproduction, and distribution of the Work otherwise complies with
158
+ the conditions stated in this License.
159
+
160
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
161
+ any Contribution intentionally submitted for inclusion in the Work
162
+ by You to the Licensor shall be under the terms and conditions of
163
+ this License, without any additional terms or conditions.
164
+ Notwithstanding the above, nothing herein shall supersede or modify
165
+ the terms of any separate license agreement you may have executed
166
+ with Licensor regarding such Contributions.
167
+
168
+ 6. Trademarks. This License does not grant permission to use the trade
169
+ names, trademarks, service marks, or product names of the Licensor,
170
+ except as required for reasonable and customary use in describing the
171
+ origin of the Work and reproducing the content of the NOTICE file.
172
+
173
+ 7. Disclaimer of Warranty. Unless required by applicable law or
174
+ agreed to in writing, Licensor provides the Work (and each
175
+ Contributor provides its Contributions) on an "AS IS" BASIS,
176
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
177
+ implied, including, without limitation, any warranties or conditions
178
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
179
+ PARTICULAR PURPOSE. You are solely responsible for determining the
180
+ appropriateness of using or redistributing the Work and assume any
181
+ risks associated with Your exercise of permissions under this License.
182
+
183
+ 8. Limitation of Liability. In no event and under no legal theory,
184
+ whether in tort (including negligence), contract, or otherwise,
185
+ unless required by applicable law (such as deliberate and grossly
186
+ negligent acts) or agreed to in writing, shall any Contributor be
187
+ liable to You for damages, including any direct, indirect, special,
188
+ incidental, or consequential damages of any character arising as a
189
+ result of this License or out of the use or inability to use the
190
+ Work (including but not limited to damages for loss of goodwill,
191
+ work stoppage, computer failure or malfunction, or any and all
192
+ other commercial damages or losses), even if such Contributor
193
+ has been advised of the possibility of such damages.
194
+
195
+ 9. Accepting Warranty or Additional Liability. While redistributing
196
+ the Work or Derivative Works thereof, You may choose to offer,
197
+ and charge a fee for, acceptance of support, warranty, indemnity,
198
+ or other liability obligations and/or rights consistent with this
199
+ License. However, in accepting such obligations, You may act only
200
+ on Your own behalf and on Your sole responsibility, not on behalf
201
+ of any other Contributor, and only if You agree to indemnify,
202
+ defend, and hold each Contributor harmless for any liability
203
+ incurred by, or claims asserted against, such Contributor by reason
204
+ of your accepting any such warranty or additional liability.
205
+
206
+ END OF TERMS AND CONDITIONS
207
+
208
+ APPENDIX: How to apply the Apache License to your work.
209
+
210
+ To apply the Apache License to your work, attach the following
211
+ boilerplate notice, with the fields enclosed by brackets "[]"
212
+ replaced with your own identifying information. (Don't include
213
+ the brackets!) The text should be enclosed in the appropriate
214
+ comment syntax for the file format. We also recommend that a
215
+ file or class name and description of purpose be included on the
216
+ same "printed page" as the copyright notice for easier
217
+ identification within third-party archives.
218
+
219
+ Copyright 2018-2025 Aneesh Goapalakrishnan
220
+
221
+ Licensed under the Apache License, Version 2.0 (the "License");
222
+ you may not use this file except in compliance with the License.
223
+ You may obtain a copy of the License at
224
+
225
+ http://www.apache.org/licenses/LICENSE-2.0
226
+
227
+ Unless required by applicable law or agreed to in writing, software
228
+ distributed under the License is distributed on an "AS IS" BASIS,
229
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
230
+ See the License for the specific language governing permissions and
231
+ limitations under the License.