mol-pdf 1.0.0

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 (870) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +168 -0
  3. package/lib/cafe-pdf/index.js +7 -0
  4. package/lib/cafe-pdf/src/CMapReaderFactory.js +18 -0
  5. package/lib/cafe-pdf/src/index.vue +350 -0
  6. package/lib/cafe-pdf/src/pdfjs-dist/CODE_OF_CONDUCT.md +15 -0
  7. package/lib/cafe-pdf/src/pdfjs-dist/LICENSE +177 -0
  8. package/lib/cafe-pdf/src/pdfjs-dist/README.md +10 -0
  9. package/lib/cafe-pdf/src/pdfjs-dist/bower.json +14 -0
  10. package/lib/cafe-pdf/src/pdfjs-dist/build/pdf.js +24893 -0
  11. package/lib/cafe-pdf/src/pdfjs-dist/build/pdf.js.map +1 -0
  12. package/lib/cafe-pdf/src/pdfjs-dist/build/pdf.min.js +1 -0
  13. package/lib/cafe-pdf/src/pdfjs-dist/build/pdf.worker.entry.js +17 -0
  14. package/lib/cafe-pdf/src/pdfjs-dist/build/pdf.worker.js +56524 -0
  15. package/lib/cafe-pdf/src/pdfjs-dist/build/pdf.worker.js.map +1 -0
  16. package/lib/cafe-pdf/src/pdfjs-dist/build/pdf.worker.min.js +1 -0
  17. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/78-EUC-H.bcmap +0 -0
  18. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/78-EUC-V.bcmap +0 -0
  19. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/78-H.bcmap +0 -0
  20. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/78-RKSJ-H.bcmap +0 -0
  21. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/78-RKSJ-V.bcmap +0 -0
  22. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/78-V.bcmap +0 -0
  23. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/78ms-RKSJ-H.bcmap +0 -0
  24. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/78ms-RKSJ-V.bcmap +0 -0
  25. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/83pv-RKSJ-H.bcmap +0 -0
  26. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/90ms-RKSJ-H.bcmap +0 -0
  27. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/90ms-RKSJ-V.bcmap +0 -0
  28. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/90msp-RKSJ-H.bcmap +0 -0
  29. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/90msp-RKSJ-V.bcmap +0 -0
  30. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/90pv-RKSJ-H.bcmap +0 -0
  31. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/90pv-RKSJ-V.bcmap +0 -0
  32. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Add-H.bcmap +0 -0
  33. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Add-RKSJ-H.bcmap +0 -0
  34. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Add-RKSJ-V.bcmap +0 -0
  35. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Add-V.bcmap +0 -0
  36. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-CNS1-0.bcmap +0 -0
  37. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-CNS1-1.bcmap +0 -0
  38. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-CNS1-2.bcmap +0 -0
  39. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-CNS1-3.bcmap +0 -0
  40. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-CNS1-4.bcmap +0 -0
  41. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-CNS1-5.bcmap +0 -0
  42. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-CNS1-6.bcmap +0 -0
  43. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  44. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-GB1-0.bcmap +0 -0
  45. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-GB1-1.bcmap +0 -0
  46. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-GB1-2.bcmap +0 -0
  47. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-GB1-3.bcmap +0 -0
  48. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-GB1-4.bcmap +0 -0
  49. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-GB1-5.bcmap +0 -0
  50. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  51. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Japan1-0.bcmap +0 -0
  52. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Japan1-1.bcmap +0 -0
  53. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Japan1-2.bcmap +0 -0
  54. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Japan1-3.bcmap +0 -0
  55. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Japan1-4.bcmap +0 -0
  56. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Japan1-5.bcmap +0 -0
  57. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Japan1-6.bcmap +0 -0
  58. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  59. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Korea1-0.bcmap +0 -0
  60. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Korea1-1.bcmap +0 -0
  61. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Korea1-2.bcmap +0 -0
  62. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  63. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/B5-H.bcmap +0 -0
  64. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/B5-V.bcmap +0 -0
  65. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/B5pc-H.bcmap +0 -0
  66. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/B5pc-V.bcmap +0 -0
  67. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/CNS-EUC-H.bcmap +0 -0
  68. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/CNS-EUC-V.bcmap +0 -0
  69. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/CNS1-H.bcmap +0 -0
  70. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/CNS1-V.bcmap +0 -0
  71. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/CNS2-H.bcmap +0 -0
  72. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/CNS2-V.bcmap +3 -0
  73. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/ETHK-B5-H.bcmap +0 -0
  74. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/ETHK-B5-V.bcmap +0 -0
  75. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/ETen-B5-H.bcmap +0 -0
  76. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/ETen-B5-V.bcmap +0 -0
  77. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/ETenms-B5-H.bcmap +3 -0
  78. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/ETenms-B5-V.bcmap +0 -0
  79. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/EUC-H.bcmap +0 -0
  80. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/EUC-V.bcmap +0 -0
  81. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Ext-H.bcmap +0 -0
  82. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Ext-RKSJ-H.bcmap +0 -0
  83. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Ext-RKSJ-V.bcmap +0 -0
  84. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Ext-V.bcmap +0 -0
  85. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GB-EUC-H.bcmap +0 -0
  86. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GB-EUC-V.bcmap +0 -0
  87. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GB-H.bcmap +4 -0
  88. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GB-V.bcmap +0 -0
  89. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBK-EUC-H.bcmap +0 -0
  90. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBK-EUC-V.bcmap +0 -0
  91. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBK2K-H.bcmap +0 -0
  92. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBK2K-V.bcmap +0 -0
  93. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBKp-EUC-H.bcmap +0 -0
  94. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBKp-EUC-V.bcmap +0 -0
  95. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBT-EUC-H.bcmap +0 -0
  96. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBT-EUC-V.bcmap +0 -0
  97. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBT-H.bcmap +0 -0
  98. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBT-V.bcmap +0 -0
  99. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBTpc-EUC-H.bcmap +0 -0
  100. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBTpc-EUC-V.bcmap +0 -0
  101. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBpc-EUC-H.bcmap +0 -0
  102. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/GBpc-EUC-V.bcmap +0 -0
  103. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/H.bcmap +0 -0
  104. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKdla-B5-H.bcmap +0 -0
  105. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKdla-B5-V.bcmap +0 -0
  106. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKdlb-B5-H.bcmap +0 -0
  107. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKdlb-B5-V.bcmap +0 -0
  108. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKgccs-B5-H.bcmap +0 -0
  109. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKgccs-B5-V.bcmap +0 -0
  110. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKm314-B5-H.bcmap +0 -0
  111. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKm314-B5-V.bcmap +0 -0
  112. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKm471-B5-H.bcmap +0 -0
  113. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKm471-B5-V.bcmap +0 -0
  114. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKscs-B5-H.bcmap +0 -0
  115. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/HKscs-B5-V.bcmap +0 -0
  116. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Hankaku.bcmap +0 -0
  117. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Hiragana.bcmap +0 -0
  118. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSC-EUC-H.bcmap +0 -0
  119. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSC-EUC-V.bcmap +0 -0
  120. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSC-H.bcmap +0 -0
  121. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSC-Johab-H.bcmap +0 -0
  122. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSC-Johab-V.bcmap +0 -0
  123. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSC-V.bcmap +0 -0
  124. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSCms-UHC-H.bcmap +0 -0
  125. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  126. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  127. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSCms-UHC-V.bcmap +0 -0
  128. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSCpc-EUC-H.bcmap +0 -0
  129. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/KSCpc-EUC-V.bcmap +0 -0
  130. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Katakana.bcmap +0 -0
  131. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/LICENSE +36 -0
  132. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/NWP-H.bcmap +0 -0
  133. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/NWP-V.bcmap +0 -0
  134. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/RKSJ-H.bcmap +0 -0
  135. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/RKSJ-V.bcmap +0 -0
  136. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/Roman.bcmap +0 -0
  137. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  138. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  139. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  140. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  141. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  142. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  143. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  144. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  145. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniGB-UCS2-H.bcmap +0 -0
  146. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniGB-UCS2-V.bcmap +0 -0
  147. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniGB-UTF16-H.bcmap +0 -0
  148. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniGB-UTF16-V.bcmap +0 -0
  149. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniGB-UTF32-H.bcmap +0 -0
  150. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniGB-UTF32-V.bcmap +0 -0
  151. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniGB-UTF8-H.bcmap +0 -0
  152. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniGB-UTF8-V.bcmap +0 -0
  153. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  154. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  155. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  156. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  157. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  158. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  159. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  160. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  161. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  162. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  163. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  164. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  165. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  166. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  167. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  168. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  169. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  170. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  171. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  172. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  173. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  174. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  175. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  176. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniKS-UCS2-H.bcmap +0 -0
  177. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniKS-UCS2-V.bcmap +0 -0
  178. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniKS-UTF16-H.bcmap +0 -0
  179. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniKS-UTF16-V.bcmap +0 -0
  180. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniKS-UTF32-H.bcmap +0 -0
  181. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniKS-UTF32-V.bcmap +0 -0
  182. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniKS-UTF8-H.bcmap +0 -0
  183. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/UniKS-UTF8-V.bcmap +0 -0
  184. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/V.bcmap +0 -0
  185. package/lib/cafe-pdf/src/pdfjs-dist/cmaps/WP-Symbol.bcmap +0 -0
  186. package/lib/cafe-pdf/src/pdfjs-dist/image_decoders/pdf.image_decoders.js +11500 -0
  187. package/lib/cafe-pdf/src/pdfjs-dist/image_decoders/pdf.image_decoders.js.map +1 -0
  188. package/lib/cafe-pdf/src/pdfjs-dist/image_decoders/pdf.image_decoders.min.js +1 -0
  189. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/annotation.js +1481 -0
  190. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/arithmetic_decoder.js +385 -0
  191. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/bidi.js +319 -0
  192. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/ccitt.js +713 -0
  193. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/ccitt_stream.js +81 -0
  194. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/cff_parser.js +1815 -0
  195. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/charsets.js +33 -0
  196. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/chunked_stream.js +756 -0
  197. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/cmap.js +971 -0
  198. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/colorspace.js +1225 -0
  199. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/core_utils.js +173 -0
  200. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/crypto.js +1663 -0
  201. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/document.js +869 -0
  202. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/encodings.js +69 -0
  203. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/evaluator.js +3482 -0
  204. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/font_renderer.js +1024 -0
  205. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/fonts.js +3188 -0
  206. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/function.js +1362 -0
  207. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/glyphlist.js +4556 -0
  208. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/image.js +686 -0
  209. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/image_utils.js +111 -0
  210. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/jbig2.js +2231 -0
  211. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/jbig2_stream.js +98 -0
  212. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/jpeg_stream.js +127 -0
  213. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/jpg.js +1236 -0
  214. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/jpx.js +2350 -0
  215. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/jpx_stream.js +102 -0
  216. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/metrics.js +2969 -0
  217. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/murmurhash3.js +156 -0
  218. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/obj.js +2453 -0
  219. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/operator_list.js +659 -0
  220. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/parser.js +1353 -0
  221. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/pattern.js +954 -0
  222. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/pdf_manager.js +389 -0
  223. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/primitives.js +361 -0
  224. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/ps_parser.js +308 -0
  225. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/standard_fonts.js +758 -0
  226. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/stream.js +1311 -0
  227. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/type1_parser.js +716 -0
  228. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/unicode.js +1899 -0
  229. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/worker.js +599 -0
  230. package/lib/cafe-pdf/src/pdfjs-dist/lib/core/worker_stream.js +277 -0
  231. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/annotation_layer.js +1470 -0
  232. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/api.js +2595 -0
  233. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/api_compatibility.js +45 -0
  234. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/canvas.js +2087 -0
  235. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/content_disposition.js +222 -0
  236. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/display_utils.js +777 -0
  237. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/fetch_stream.js +425 -0
  238. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/font_loader.js +545 -0
  239. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/metadata.js +155 -0
  240. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/network.js +707 -0
  241. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/network_utils.js +106 -0
  242. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/node_stream.js +666 -0
  243. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/pattern_helper.js +464 -0
  244. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/svg.js +1779 -0
  245. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/text_layer.js +705 -0
  246. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/transport_stream.js +508 -0
  247. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/webgl.js +475 -0
  248. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/worker_options.js +31 -0
  249. package/lib/cafe-pdf/src/pdfjs-dist/lib/display/xml_parser.js +547 -0
  250. package/lib/cafe-pdf/src/pdfjs-dist/lib/examples/node/domstubs.js +302 -0
  251. package/lib/cafe-pdf/src/pdfjs-dist/lib/pdf.js +103 -0
  252. package/lib/cafe-pdf/src/pdfjs-dist/lib/pdf.worker.js +29 -0
  253. package/lib/cafe-pdf/src/pdfjs-dist/lib/shared/compatibility.js +273 -0
  254. package/lib/cafe-pdf/src/pdfjs-dist/lib/shared/global_scope.js +24 -0
  255. package/lib/cafe-pdf/src/pdfjs-dist/lib/shared/is_node.js +28 -0
  256. package/lib/cafe-pdf/src/pdfjs-dist/lib/shared/message_handler.js +488 -0
  257. package/lib/cafe-pdf/src/pdfjs-dist/lib/shared/streams_polyfill.js +43 -0
  258. package/lib/cafe-pdf/src/pdfjs-dist/lib/shared/util.js +973 -0
  259. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/annotation_spec.js +2163 -0
  260. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/api_spec.js +1540 -0
  261. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/bidi_spec.js +41 -0
  262. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/cff_parser_spec.js +321 -0
  263. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/clitests_helper.js +41 -0
  264. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/cmap_spec.js +359 -0
  265. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/colorspace_spec.js +342 -0
  266. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/core_utils_spec.js +191 -0
  267. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/crypto_spec.js +537 -0
  268. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/custom_spec.js +110 -0
  269. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/display_svg_spec.js +161 -0
  270. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/display_utils_spec.js +273 -0
  271. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/document_spec.js +42 -0
  272. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/encodings_spec.js +67 -0
  273. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/evaluator_spec.js +336 -0
  274. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/fetch_stream_spec.js +111 -0
  275. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/function_spec.js +643 -0
  276. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/jasmine-boot.js +139 -0
  277. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/message_handler_spec.js +355 -0
  278. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/metadata_spec.js +118 -0
  279. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/murmurhash3_spec.js +71 -0
  280. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/network_spec.js +120 -0
  281. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/network_utils_spec.js +349 -0
  282. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/node_stream_spec.js +243 -0
  283. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/parser_spec.js +246 -0
  284. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/pdf_find_controller_spec.js +230 -0
  285. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/pdf_find_utils_spec.js +63 -0
  286. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/pdf_history_spec.js +95 -0
  287. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/primitives_spec.js +331 -0
  288. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/stream_spec.js +76 -0
  289. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/test_utils.js +383 -0
  290. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/testreporter.js +102 -0
  291. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/type1_parser_spec.js +104 -0
  292. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/ui_utils_spec.js +819 -0
  293. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/unicode_spec.js +121 -0
  294. package/lib/cafe-pdf/src/pdfjs-dist/lib/test/unit/util_spec.js +262 -0
  295. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/annotation_layer_builder.js +163 -0
  296. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/app.js +2453 -0
  297. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/app_options.js +273 -0
  298. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/base_viewer.js +1173 -0
  299. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/chromecom.js +477 -0
  300. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/debugger.js +726 -0
  301. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/download_manager.js +119 -0
  302. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/firefox_print_service.js +114 -0
  303. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/firefoxcom.js +562 -0
  304. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/genericcom.js +151 -0
  305. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/genericl10n.js +194 -0
  306. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/grab_to_pan.js +180 -0
  307. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/interfaces.js +303 -0
  308. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/overlay_manager.js +302 -0
  309. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/password_prompt.js +120 -0
  310. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_attachment_viewer.js +189 -0
  311. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_cursor_tools.js +166 -0
  312. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_document_properties.js +464 -0
  313. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_find_bar.js +260 -0
  314. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_find_controller.js +753 -0
  315. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_find_utils.js +111 -0
  316. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_history.js +612 -0
  317. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_link_service.js +502 -0
  318. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_outline_viewer.js +276 -0
  319. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_page_view.js +671 -0
  320. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_presentation_mode.js +473 -0
  321. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_print_service.js +328 -0
  322. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_rendering_queue.js +172 -0
  323. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_sidebar.js +437 -0
  324. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_sidebar_resizer.js +191 -0
  325. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_single_page_viewer.js +186 -0
  326. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_thumbnail_view.js +446 -0
  327. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_thumbnail_viewer.js +292 -0
  328. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_viewer.component.js +148 -0
  329. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/pdf_viewer.js +162 -0
  330. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/preferences.js +369 -0
  331. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/secondary_toolbar.js +365 -0
  332. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/text_layer_builder.js +434 -0
  333. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/toolbar.js +280 -0
  334. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/ui_utils.js +903 -0
  335. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/view_history.js +285 -0
  336. package/lib/cafe-pdf/src/pdfjs-dist/lib/web/viewer_compatibility.js +36 -0
  337. package/lib/cafe-pdf/src/pdfjs-dist/package.json +33 -0
  338. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-check.svg +11 -0
  339. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-comment.svg +16 -0
  340. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-help.svg +26 -0
  341. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-insert.svg +10 -0
  342. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-key.svg +11 -0
  343. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-newparagraph.svg +11 -0
  344. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-noicon.svg +7 -0
  345. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-note.svg +42 -0
  346. package/lib/cafe-pdf/src/pdfjs-dist/web/images/annotation-paragraph.svg +16 -0
  347. package/lib/cafe-pdf/src/pdfjs-dist/web/images/loading-icon.gif +0 -0
  348. package/lib/cafe-pdf/src/pdfjs-dist/web/images/shadow.png +0 -0
  349. package/lib/cafe-pdf/src/pdfjs-dist/web/images/texture.png +0 -0
  350. package/lib/cafe-pdf/src/pdfjs-dist/web/pdf_viewer.css +400 -0
  351. package/lib/cafe-pdf/src/pdfjs-dist/web/pdf_viewer.js +7677 -0
  352. package/lib/cafe-pdf/src/pdfjs-dist/web/pdf_viewer.js.map +1 -0
  353. package/lib/cafe-pdf/src/pdfjs-dist/webpack.js +24 -0
  354. package/lib/cafe-pdf/src/tree/index.vue +144 -0
  355. package/lib/index.js +12 -0
  356. package/package/7f9ebfad849b2bfdfe92.worker.js +13853 -0
  357. package/package/cafe-pdf.common.js +26714 -0
  358. package/package/cafe-pdf.common.noprefetch-78-EUC-H-bcmap.js +11 -0
  359. package/package/cafe-pdf.common.noprefetch-78-EUC-V-bcmap.js +11 -0
  360. package/package/cafe-pdf.common.noprefetch-78-H-bcmap.js +11 -0
  361. package/package/cafe-pdf.common.noprefetch-78-RKSJ-H-bcmap.js +11 -0
  362. package/package/cafe-pdf.common.noprefetch-78-RKSJ-V-bcmap.js +11 -0
  363. package/package/cafe-pdf.common.noprefetch-78-V-bcmap.js +11 -0
  364. package/package/cafe-pdf.common.noprefetch-78ms-RKSJ-H-bcmap.js +11 -0
  365. package/package/cafe-pdf.common.noprefetch-78ms-RKSJ-V-bcmap.js +11 -0
  366. package/package/cafe-pdf.common.noprefetch-83pv-RKSJ-H-bcmap.js +11 -0
  367. package/package/cafe-pdf.common.noprefetch-90ms-RKSJ-H-bcmap.js +11 -0
  368. package/package/cafe-pdf.common.noprefetch-90ms-RKSJ-V-bcmap.js +11 -0
  369. package/package/cafe-pdf.common.noprefetch-90msp-RKSJ-H-bcmap.js +11 -0
  370. package/package/cafe-pdf.common.noprefetch-90msp-RKSJ-V-bcmap.js +11 -0
  371. package/package/cafe-pdf.common.noprefetch-90pv-RKSJ-H-bcmap.js +11 -0
  372. package/package/cafe-pdf.common.noprefetch-90pv-RKSJ-V-bcmap.js +11 -0
  373. package/package/cafe-pdf.common.noprefetch-Add-H-bcmap.js +11 -0
  374. package/package/cafe-pdf.common.noprefetch-Add-RKSJ-H-bcmap.js +11 -0
  375. package/package/cafe-pdf.common.noprefetch-Add-RKSJ-V-bcmap.js +11 -0
  376. package/package/cafe-pdf.common.noprefetch-Add-V-bcmap.js +11 -0
  377. package/package/cafe-pdf.common.noprefetch-Adobe-CNS1-0-bcmap.js +11 -0
  378. package/package/cafe-pdf.common.noprefetch-Adobe-CNS1-1-bcmap.js +11 -0
  379. package/package/cafe-pdf.common.noprefetch-Adobe-CNS1-2-bcmap.js +11 -0
  380. package/package/cafe-pdf.common.noprefetch-Adobe-CNS1-3-bcmap.js +11 -0
  381. package/package/cafe-pdf.common.noprefetch-Adobe-CNS1-4-bcmap.js +11 -0
  382. package/package/cafe-pdf.common.noprefetch-Adobe-CNS1-5-bcmap.js +11 -0
  383. package/package/cafe-pdf.common.noprefetch-Adobe-CNS1-6-bcmap.js +11 -0
  384. package/package/cafe-pdf.common.noprefetch-Adobe-CNS1-UCS2-bcmap.js +11 -0
  385. package/package/cafe-pdf.common.noprefetch-Adobe-GB1-0-bcmap.js +11 -0
  386. package/package/cafe-pdf.common.noprefetch-Adobe-GB1-1-bcmap.js +11 -0
  387. package/package/cafe-pdf.common.noprefetch-Adobe-GB1-2-bcmap.js +11 -0
  388. package/package/cafe-pdf.common.noprefetch-Adobe-GB1-3-bcmap.js +11 -0
  389. package/package/cafe-pdf.common.noprefetch-Adobe-GB1-4-bcmap.js +11 -0
  390. package/package/cafe-pdf.common.noprefetch-Adobe-GB1-5-bcmap.js +11 -0
  391. package/package/cafe-pdf.common.noprefetch-Adobe-GB1-UCS2-bcmap.js +11 -0
  392. package/package/cafe-pdf.common.noprefetch-Adobe-Japan1-0-bcmap.js +11 -0
  393. package/package/cafe-pdf.common.noprefetch-Adobe-Japan1-1-bcmap.js +11 -0
  394. package/package/cafe-pdf.common.noprefetch-Adobe-Japan1-2-bcmap.js +11 -0
  395. package/package/cafe-pdf.common.noprefetch-Adobe-Japan1-3-bcmap.js +11 -0
  396. package/package/cafe-pdf.common.noprefetch-Adobe-Japan1-4-bcmap.js +11 -0
  397. package/package/cafe-pdf.common.noprefetch-Adobe-Japan1-5-bcmap.js +11 -0
  398. package/package/cafe-pdf.common.noprefetch-Adobe-Japan1-6-bcmap.js +11 -0
  399. package/package/cafe-pdf.common.noprefetch-Adobe-Japan1-UCS2-bcmap.js +11 -0
  400. package/package/cafe-pdf.common.noprefetch-Adobe-Korea1-0-bcmap.js +11 -0
  401. package/package/cafe-pdf.common.noprefetch-Adobe-Korea1-1-bcmap.js +11 -0
  402. package/package/cafe-pdf.common.noprefetch-Adobe-Korea1-2-bcmap.js +11 -0
  403. package/package/cafe-pdf.common.noprefetch-Adobe-Korea1-UCS2-bcmap.js +11 -0
  404. package/package/cafe-pdf.common.noprefetch-B5-H-bcmap.js +11 -0
  405. package/package/cafe-pdf.common.noprefetch-B5-V-bcmap.js +11 -0
  406. package/package/cafe-pdf.common.noprefetch-B5pc-H-bcmap.js +11 -0
  407. package/package/cafe-pdf.common.noprefetch-B5pc-V-bcmap.js +11 -0
  408. package/package/cafe-pdf.common.noprefetch-CNS-EUC-H-bcmap.js +11 -0
  409. package/package/cafe-pdf.common.noprefetch-CNS-EUC-V-bcmap.js +11 -0
  410. package/package/cafe-pdf.common.noprefetch-CNS1-H-bcmap.js +11 -0
  411. package/package/cafe-pdf.common.noprefetch-CNS1-V-bcmap.js +11 -0
  412. package/package/cafe-pdf.common.noprefetch-CNS2-H-bcmap.js +11 -0
  413. package/package/cafe-pdf.common.noprefetch-CNS2-V-bcmap.js +11 -0
  414. package/package/cafe-pdf.common.noprefetch-ETHK-B5-H-bcmap.js +11 -0
  415. package/package/cafe-pdf.common.noprefetch-ETHK-B5-V-bcmap.js +11 -0
  416. package/package/cafe-pdf.common.noprefetch-ETen-B5-H-bcmap.js +11 -0
  417. package/package/cafe-pdf.common.noprefetch-ETen-B5-V-bcmap.js +11 -0
  418. package/package/cafe-pdf.common.noprefetch-ETenms-B5-H-bcmap.js +11 -0
  419. package/package/cafe-pdf.common.noprefetch-ETenms-B5-V-bcmap.js +11 -0
  420. package/package/cafe-pdf.common.noprefetch-EUC-H-bcmap.js +11 -0
  421. package/package/cafe-pdf.common.noprefetch-EUC-V-bcmap.js +11 -0
  422. package/package/cafe-pdf.common.noprefetch-Ext-H-bcmap.js +11 -0
  423. package/package/cafe-pdf.common.noprefetch-Ext-RKSJ-H-bcmap.js +11 -0
  424. package/package/cafe-pdf.common.noprefetch-Ext-RKSJ-V-bcmap.js +11 -0
  425. package/package/cafe-pdf.common.noprefetch-Ext-V-bcmap.js +11 -0
  426. package/package/cafe-pdf.common.noprefetch-GB-EUC-H-bcmap.js +11 -0
  427. package/package/cafe-pdf.common.noprefetch-GB-EUC-V-bcmap.js +11 -0
  428. package/package/cafe-pdf.common.noprefetch-GB-H-bcmap.js +11 -0
  429. package/package/cafe-pdf.common.noprefetch-GB-V-bcmap.js +11 -0
  430. package/package/cafe-pdf.common.noprefetch-GBK-EUC-H-bcmap.js +11 -0
  431. package/package/cafe-pdf.common.noprefetch-GBK-EUC-V-bcmap.js +11 -0
  432. package/package/cafe-pdf.common.noprefetch-GBK2K-H-bcmap.js +11 -0
  433. package/package/cafe-pdf.common.noprefetch-GBK2K-V-bcmap.js +11 -0
  434. package/package/cafe-pdf.common.noprefetch-GBKp-EUC-H-bcmap.js +11 -0
  435. package/package/cafe-pdf.common.noprefetch-GBKp-EUC-V-bcmap.js +11 -0
  436. package/package/cafe-pdf.common.noprefetch-GBT-EUC-H-bcmap.js +11 -0
  437. package/package/cafe-pdf.common.noprefetch-GBT-EUC-V-bcmap.js +11 -0
  438. package/package/cafe-pdf.common.noprefetch-GBT-H-bcmap.js +11 -0
  439. package/package/cafe-pdf.common.noprefetch-GBT-V-bcmap.js +11 -0
  440. package/package/cafe-pdf.common.noprefetch-GBTpc-EUC-H-bcmap.js +11 -0
  441. package/package/cafe-pdf.common.noprefetch-GBTpc-EUC-V-bcmap.js +11 -0
  442. package/package/cafe-pdf.common.noprefetch-GBpc-EUC-H-bcmap.js +11 -0
  443. package/package/cafe-pdf.common.noprefetch-GBpc-EUC-V-bcmap.js +11 -0
  444. package/package/cafe-pdf.common.noprefetch-H-bcmap.js +11 -0
  445. package/package/cafe-pdf.common.noprefetch-HKdla-B5-H-bcmap.js +11 -0
  446. package/package/cafe-pdf.common.noprefetch-HKdla-B5-V-bcmap.js +11 -0
  447. package/package/cafe-pdf.common.noprefetch-HKdlb-B5-H-bcmap.js +11 -0
  448. package/package/cafe-pdf.common.noprefetch-HKdlb-B5-V-bcmap.js +11 -0
  449. package/package/cafe-pdf.common.noprefetch-HKgccs-B5-H-bcmap.js +11 -0
  450. package/package/cafe-pdf.common.noprefetch-HKgccs-B5-V-bcmap.js +11 -0
  451. package/package/cafe-pdf.common.noprefetch-HKm314-B5-H-bcmap.js +11 -0
  452. package/package/cafe-pdf.common.noprefetch-HKm314-B5-V-bcmap.js +11 -0
  453. package/package/cafe-pdf.common.noprefetch-HKm471-B5-H-bcmap.js +11 -0
  454. package/package/cafe-pdf.common.noprefetch-HKm471-B5-V-bcmap.js +11 -0
  455. package/package/cafe-pdf.common.noprefetch-HKscs-B5-H-bcmap.js +11 -0
  456. package/package/cafe-pdf.common.noprefetch-HKscs-B5-V-bcmap.js +11 -0
  457. package/package/cafe-pdf.common.noprefetch-Hankaku-bcmap.js +11 -0
  458. package/package/cafe-pdf.common.noprefetch-Hiragana-bcmap.js +11 -0
  459. package/package/cafe-pdf.common.noprefetch-KSC-EUC-H-bcmap.js +11 -0
  460. package/package/cafe-pdf.common.noprefetch-KSC-EUC-V-bcmap.js +11 -0
  461. package/package/cafe-pdf.common.noprefetch-KSC-H-bcmap.js +11 -0
  462. package/package/cafe-pdf.common.noprefetch-KSC-Johab-H-bcmap.js +11 -0
  463. package/package/cafe-pdf.common.noprefetch-KSC-Johab-V-bcmap.js +11 -0
  464. package/package/cafe-pdf.common.noprefetch-KSC-V-bcmap.js +11 -0
  465. package/package/cafe-pdf.common.noprefetch-KSCms-UHC-H-bcmap.js +11 -0
  466. package/package/cafe-pdf.common.noprefetch-KSCms-UHC-HW-H-bcmap.js +11 -0
  467. package/package/cafe-pdf.common.noprefetch-KSCms-UHC-HW-V-bcmap.js +11 -0
  468. package/package/cafe-pdf.common.noprefetch-KSCms-UHC-V-bcmap.js +11 -0
  469. package/package/cafe-pdf.common.noprefetch-KSCpc-EUC-H-bcmap.js +11 -0
  470. package/package/cafe-pdf.common.noprefetch-KSCpc-EUC-V-bcmap.js +11 -0
  471. package/package/cafe-pdf.common.noprefetch-Katakana-bcmap.js +11 -0
  472. package/package/cafe-pdf.common.noprefetch-NWP-H-bcmap.js +11 -0
  473. package/package/cafe-pdf.common.noprefetch-NWP-V-bcmap.js +11 -0
  474. package/package/cafe-pdf.common.noprefetch-RKSJ-H-bcmap.js +11 -0
  475. package/package/cafe-pdf.common.noprefetch-RKSJ-V-bcmap.js +11 -0
  476. package/package/cafe-pdf.common.noprefetch-Roman-bcmap.js +11 -0
  477. package/package/cafe-pdf.common.noprefetch-UniCNS-UCS2-H-bcmap.js +11 -0
  478. package/package/cafe-pdf.common.noprefetch-UniCNS-UCS2-V-bcmap.js +11 -0
  479. package/package/cafe-pdf.common.noprefetch-UniCNS-UTF16-H-bcmap.js +11 -0
  480. package/package/cafe-pdf.common.noprefetch-UniCNS-UTF16-V-bcmap.js +11 -0
  481. package/package/cafe-pdf.common.noprefetch-UniCNS-UTF32-H-bcmap.js +11 -0
  482. package/package/cafe-pdf.common.noprefetch-UniCNS-UTF32-V-bcmap.js +11 -0
  483. package/package/cafe-pdf.common.noprefetch-UniCNS-UTF8-H-bcmap.js +11 -0
  484. package/package/cafe-pdf.common.noprefetch-UniCNS-UTF8-V-bcmap.js +11 -0
  485. package/package/cafe-pdf.common.noprefetch-UniGB-UCS2-H-bcmap.js +11 -0
  486. package/package/cafe-pdf.common.noprefetch-UniGB-UCS2-V-bcmap.js +11 -0
  487. package/package/cafe-pdf.common.noprefetch-UniGB-UTF16-H-bcmap.js +11 -0
  488. package/package/cafe-pdf.common.noprefetch-UniGB-UTF16-V-bcmap.js +11 -0
  489. package/package/cafe-pdf.common.noprefetch-UniGB-UTF32-H-bcmap.js +11 -0
  490. package/package/cafe-pdf.common.noprefetch-UniGB-UTF32-V-bcmap.js +11 -0
  491. package/package/cafe-pdf.common.noprefetch-UniGB-UTF8-H-bcmap.js +11 -0
  492. package/package/cafe-pdf.common.noprefetch-UniGB-UTF8-V-bcmap.js +11 -0
  493. package/package/cafe-pdf.common.noprefetch-UniJIS-UCS2-H-bcmap.js +11 -0
  494. package/package/cafe-pdf.common.noprefetch-UniJIS-UCS2-HW-H-bcmap.js +11 -0
  495. package/package/cafe-pdf.common.noprefetch-UniJIS-UCS2-HW-V-bcmap.js +11 -0
  496. package/package/cafe-pdf.common.noprefetch-UniJIS-UCS2-V-bcmap.js +11 -0
  497. package/package/cafe-pdf.common.noprefetch-UniJIS-UTF16-H-bcmap.js +11 -0
  498. package/package/cafe-pdf.common.noprefetch-UniJIS-UTF16-V-bcmap.js +11 -0
  499. package/package/cafe-pdf.common.noprefetch-UniJIS-UTF32-H-bcmap.js +11 -0
  500. package/package/cafe-pdf.common.noprefetch-UniJIS-UTF32-V-bcmap.js +11 -0
  501. package/package/cafe-pdf.common.noprefetch-UniJIS-UTF8-H-bcmap.js +11 -0
  502. package/package/cafe-pdf.common.noprefetch-UniJIS-UTF8-V-bcmap.js +11 -0
  503. package/package/cafe-pdf.common.noprefetch-UniJIS2004-UTF16-H-bcmap.js +11 -0
  504. package/package/cafe-pdf.common.noprefetch-UniJIS2004-UTF16-V-bcmap.js +11 -0
  505. package/package/cafe-pdf.common.noprefetch-UniJIS2004-UTF32-H-bcmap.js +11 -0
  506. package/package/cafe-pdf.common.noprefetch-UniJIS2004-UTF32-V-bcmap.js +11 -0
  507. package/package/cafe-pdf.common.noprefetch-UniJIS2004-UTF8-H-bcmap.js +11 -0
  508. package/package/cafe-pdf.common.noprefetch-UniJIS2004-UTF8-V-bcmap.js +11 -0
  509. package/package/cafe-pdf.common.noprefetch-UniJISPro-UCS2-HW-V-bcmap.js +11 -0
  510. package/package/cafe-pdf.common.noprefetch-UniJISPro-UCS2-V-bcmap.js +11 -0
  511. package/package/cafe-pdf.common.noprefetch-UniJISPro-UTF8-V-bcmap.js +11 -0
  512. package/package/cafe-pdf.common.noprefetch-UniJISX0213-UTF32-H-bcmap.js +11 -0
  513. package/package/cafe-pdf.common.noprefetch-UniJISX0213-UTF32-V-bcmap.js +11 -0
  514. package/package/cafe-pdf.common.noprefetch-UniJISX02132004-UTF32-H-bcmap.js +11 -0
  515. package/package/cafe-pdf.common.noprefetch-UniJISX02132004-UTF32-V-bcmap.js +11 -0
  516. package/package/cafe-pdf.common.noprefetch-UniKS-UCS2-H-bcmap.js +11 -0
  517. package/package/cafe-pdf.common.noprefetch-UniKS-UCS2-V-bcmap.js +11 -0
  518. package/package/cafe-pdf.common.noprefetch-UniKS-UTF16-H-bcmap.js +11 -0
  519. package/package/cafe-pdf.common.noprefetch-UniKS-UTF16-V-bcmap.js +11 -0
  520. package/package/cafe-pdf.common.noprefetch-UniKS-UTF32-H-bcmap.js +11 -0
  521. package/package/cafe-pdf.common.noprefetch-UniKS-UTF32-V-bcmap.js +11 -0
  522. package/package/cafe-pdf.common.noprefetch-UniKS-UTF8-H-bcmap.js +11 -0
  523. package/package/cafe-pdf.common.noprefetch-UniKS-UTF8-V-bcmap.js +11 -0
  524. package/package/cafe-pdf.common.noprefetch-V-bcmap.js +11 -0
  525. package/package/cafe-pdf.common.noprefetch-WP-Symbol-bcmap.js +11 -0
  526. package/package/cafe-pdf.common.pdfjsWorker.js +230 -0
  527. package/package/cafe-pdf.css +1 -0
  528. package/package/cafe-pdf.umd.js +26724 -0
  529. package/package/cafe-pdf.umd.min.js +10 -0
  530. package/package/cafe-pdf.umd.min.noprefetch-78-EUC-H-bcmap.js +1 -0
  531. package/package/cafe-pdf.umd.min.noprefetch-78-EUC-V-bcmap.js +1 -0
  532. package/package/cafe-pdf.umd.min.noprefetch-78-H-bcmap.js +1 -0
  533. package/package/cafe-pdf.umd.min.noprefetch-78-RKSJ-H-bcmap.js +1 -0
  534. package/package/cafe-pdf.umd.min.noprefetch-78-RKSJ-V-bcmap.js +1 -0
  535. package/package/cafe-pdf.umd.min.noprefetch-78-V-bcmap.js +1 -0
  536. package/package/cafe-pdf.umd.min.noprefetch-78ms-RKSJ-H-bcmap.js +1 -0
  537. package/package/cafe-pdf.umd.min.noprefetch-78ms-RKSJ-V-bcmap.js +1 -0
  538. package/package/cafe-pdf.umd.min.noprefetch-83pv-RKSJ-H-bcmap.js +1 -0
  539. package/package/cafe-pdf.umd.min.noprefetch-90ms-RKSJ-H-bcmap.js +1 -0
  540. package/package/cafe-pdf.umd.min.noprefetch-90ms-RKSJ-V-bcmap.js +1 -0
  541. package/package/cafe-pdf.umd.min.noprefetch-90msp-RKSJ-H-bcmap.js +1 -0
  542. package/package/cafe-pdf.umd.min.noprefetch-90msp-RKSJ-V-bcmap.js +1 -0
  543. package/package/cafe-pdf.umd.min.noprefetch-90pv-RKSJ-H-bcmap.js +1 -0
  544. package/package/cafe-pdf.umd.min.noprefetch-90pv-RKSJ-V-bcmap.js +1 -0
  545. package/package/cafe-pdf.umd.min.noprefetch-Add-H-bcmap.js +1 -0
  546. package/package/cafe-pdf.umd.min.noprefetch-Add-RKSJ-H-bcmap.js +1 -0
  547. package/package/cafe-pdf.umd.min.noprefetch-Add-RKSJ-V-bcmap.js +1 -0
  548. package/package/cafe-pdf.umd.min.noprefetch-Add-V-bcmap.js +1 -0
  549. package/package/cafe-pdf.umd.min.noprefetch-Adobe-CNS1-0-bcmap.js +1 -0
  550. package/package/cafe-pdf.umd.min.noprefetch-Adobe-CNS1-1-bcmap.js +1 -0
  551. package/package/cafe-pdf.umd.min.noprefetch-Adobe-CNS1-2-bcmap.js +1 -0
  552. package/package/cafe-pdf.umd.min.noprefetch-Adobe-CNS1-3-bcmap.js +1 -0
  553. package/package/cafe-pdf.umd.min.noprefetch-Adobe-CNS1-4-bcmap.js +1 -0
  554. package/package/cafe-pdf.umd.min.noprefetch-Adobe-CNS1-5-bcmap.js +1 -0
  555. package/package/cafe-pdf.umd.min.noprefetch-Adobe-CNS1-6-bcmap.js +1 -0
  556. package/package/cafe-pdf.umd.min.noprefetch-Adobe-CNS1-UCS2-bcmap.js +1 -0
  557. package/package/cafe-pdf.umd.min.noprefetch-Adobe-GB1-0-bcmap.js +1 -0
  558. package/package/cafe-pdf.umd.min.noprefetch-Adobe-GB1-1-bcmap.js +1 -0
  559. package/package/cafe-pdf.umd.min.noprefetch-Adobe-GB1-2-bcmap.js +1 -0
  560. package/package/cafe-pdf.umd.min.noprefetch-Adobe-GB1-3-bcmap.js +1 -0
  561. package/package/cafe-pdf.umd.min.noprefetch-Adobe-GB1-4-bcmap.js +1 -0
  562. package/package/cafe-pdf.umd.min.noprefetch-Adobe-GB1-5-bcmap.js +1 -0
  563. package/package/cafe-pdf.umd.min.noprefetch-Adobe-GB1-UCS2-bcmap.js +1 -0
  564. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Japan1-0-bcmap.js +1 -0
  565. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Japan1-1-bcmap.js +1 -0
  566. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Japan1-2-bcmap.js +1 -0
  567. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Japan1-3-bcmap.js +1 -0
  568. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Japan1-4-bcmap.js +1 -0
  569. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Japan1-5-bcmap.js +1 -0
  570. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Japan1-6-bcmap.js +1 -0
  571. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Japan1-UCS2-bcmap.js +1 -0
  572. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Korea1-0-bcmap.js +1 -0
  573. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Korea1-1-bcmap.js +1 -0
  574. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Korea1-2-bcmap.js +1 -0
  575. package/package/cafe-pdf.umd.min.noprefetch-Adobe-Korea1-UCS2-bcmap.js +1 -0
  576. package/package/cafe-pdf.umd.min.noprefetch-B5-H-bcmap.js +1 -0
  577. package/package/cafe-pdf.umd.min.noprefetch-B5-V-bcmap.js +1 -0
  578. package/package/cafe-pdf.umd.min.noprefetch-B5pc-H-bcmap.js +1 -0
  579. package/package/cafe-pdf.umd.min.noprefetch-B5pc-V-bcmap.js +1 -0
  580. package/package/cafe-pdf.umd.min.noprefetch-CNS-EUC-H-bcmap.js +1 -0
  581. package/package/cafe-pdf.umd.min.noprefetch-CNS-EUC-V-bcmap.js +1 -0
  582. package/package/cafe-pdf.umd.min.noprefetch-CNS1-H-bcmap.js +1 -0
  583. package/package/cafe-pdf.umd.min.noprefetch-CNS1-V-bcmap.js +1 -0
  584. package/package/cafe-pdf.umd.min.noprefetch-CNS2-H-bcmap.js +1 -0
  585. package/package/cafe-pdf.umd.min.noprefetch-CNS2-V-bcmap.js +1 -0
  586. package/package/cafe-pdf.umd.min.noprefetch-ETHK-B5-H-bcmap.js +1 -0
  587. package/package/cafe-pdf.umd.min.noprefetch-ETHK-B5-V-bcmap.js +1 -0
  588. package/package/cafe-pdf.umd.min.noprefetch-ETen-B5-H-bcmap.js +1 -0
  589. package/package/cafe-pdf.umd.min.noprefetch-ETen-B5-V-bcmap.js +1 -0
  590. package/package/cafe-pdf.umd.min.noprefetch-ETenms-B5-H-bcmap.js +1 -0
  591. package/package/cafe-pdf.umd.min.noprefetch-ETenms-B5-V-bcmap.js +1 -0
  592. package/package/cafe-pdf.umd.min.noprefetch-EUC-H-bcmap.js +1 -0
  593. package/package/cafe-pdf.umd.min.noprefetch-EUC-V-bcmap.js +1 -0
  594. package/package/cafe-pdf.umd.min.noprefetch-Ext-H-bcmap.js +1 -0
  595. package/package/cafe-pdf.umd.min.noprefetch-Ext-RKSJ-H-bcmap.js +1 -0
  596. package/package/cafe-pdf.umd.min.noprefetch-Ext-RKSJ-V-bcmap.js +1 -0
  597. package/package/cafe-pdf.umd.min.noprefetch-Ext-V-bcmap.js +1 -0
  598. package/package/cafe-pdf.umd.min.noprefetch-GB-EUC-H-bcmap.js +1 -0
  599. package/package/cafe-pdf.umd.min.noprefetch-GB-EUC-V-bcmap.js +1 -0
  600. package/package/cafe-pdf.umd.min.noprefetch-GB-H-bcmap.js +1 -0
  601. package/package/cafe-pdf.umd.min.noprefetch-GB-V-bcmap.js +1 -0
  602. package/package/cafe-pdf.umd.min.noprefetch-GBK-EUC-H-bcmap.js +1 -0
  603. package/package/cafe-pdf.umd.min.noprefetch-GBK-EUC-V-bcmap.js +1 -0
  604. package/package/cafe-pdf.umd.min.noprefetch-GBK2K-H-bcmap.js +1 -0
  605. package/package/cafe-pdf.umd.min.noprefetch-GBK2K-V-bcmap.js +1 -0
  606. package/package/cafe-pdf.umd.min.noprefetch-GBKp-EUC-H-bcmap.js +1 -0
  607. package/package/cafe-pdf.umd.min.noprefetch-GBKp-EUC-V-bcmap.js +1 -0
  608. package/package/cafe-pdf.umd.min.noprefetch-GBT-EUC-H-bcmap.js +1 -0
  609. package/package/cafe-pdf.umd.min.noprefetch-GBT-EUC-V-bcmap.js +1 -0
  610. package/package/cafe-pdf.umd.min.noprefetch-GBT-H-bcmap.js +1 -0
  611. package/package/cafe-pdf.umd.min.noprefetch-GBT-V-bcmap.js +1 -0
  612. package/package/cafe-pdf.umd.min.noprefetch-GBTpc-EUC-H-bcmap.js +1 -0
  613. package/package/cafe-pdf.umd.min.noprefetch-GBTpc-EUC-V-bcmap.js +1 -0
  614. package/package/cafe-pdf.umd.min.noprefetch-GBpc-EUC-H-bcmap.js +1 -0
  615. package/package/cafe-pdf.umd.min.noprefetch-GBpc-EUC-V-bcmap.js +1 -0
  616. package/package/cafe-pdf.umd.min.noprefetch-H-bcmap.js +1 -0
  617. package/package/cafe-pdf.umd.min.noprefetch-HKdla-B5-H-bcmap.js +1 -0
  618. package/package/cafe-pdf.umd.min.noprefetch-HKdla-B5-V-bcmap.js +1 -0
  619. package/package/cafe-pdf.umd.min.noprefetch-HKdlb-B5-H-bcmap.js +1 -0
  620. package/package/cafe-pdf.umd.min.noprefetch-HKdlb-B5-V-bcmap.js +1 -0
  621. package/package/cafe-pdf.umd.min.noprefetch-HKgccs-B5-H-bcmap.js +1 -0
  622. package/package/cafe-pdf.umd.min.noprefetch-HKgccs-B5-V-bcmap.js +1 -0
  623. package/package/cafe-pdf.umd.min.noprefetch-HKm314-B5-H-bcmap.js +1 -0
  624. package/package/cafe-pdf.umd.min.noprefetch-HKm314-B5-V-bcmap.js +1 -0
  625. package/package/cafe-pdf.umd.min.noprefetch-HKm471-B5-H-bcmap.js +1 -0
  626. package/package/cafe-pdf.umd.min.noprefetch-HKm471-B5-V-bcmap.js +1 -0
  627. package/package/cafe-pdf.umd.min.noprefetch-HKscs-B5-H-bcmap.js +1 -0
  628. package/package/cafe-pdf.umd.min.noprefetch-HKscs-B5-V-bcmap.js +1 -0
  629. package/package/cafe-pdf.umd.min.noprefetch-Hankaku-bcmap.js +1 -0
  630. package/package/cafe-pdf.umd.min.noprefetch-Hiragana-bcmap.js +1 -0
  631. package/package/cafe-pdf.umd.min.noprefetch-KSC-EUC-H-bcmap.js +1 -0
  632. package/package/cafe-pdf.umd.min.noprefetch-KSC-EUC-V-bcmap.js +1 -0
  633. package/package/cafe-pdf.umd.min.noprefetch-KSC-H-bcmap.js +1 -0
  634. package/package/cafe-pdf.umd.min.noprefetch-KSC-Johab-H-bcmap.js +1 -0
  635. package/package/cafe-pdf.umd.min.noprefetch-KSC-Johab-V-bcmap.js +1 -0
  636. package/package/cafe-pdf.umd.min.noprefetch-KSC-V-bcmap.js +1 -0
  637. package/package/cafe-pdf.umd.min.noprefetch-KSCms-UHC-H-bcmap.js +1 -0
  638. package/package/cafe-pdf.umd.min.noprefetch-KSCms-UHC-HW-H-bcmap.js +1 -0
  639. package/package/cafe-pdf.umd.min.noprefetch-KSCms-UHC-HW-V-bcmap.js +1 -0
  640. package/package/cafe-pdf.umd.min.noprefetch-KSCms-UHC-V-bcmap.js +1 -0
  641. package/package/cafe-pdf.umd.min.noprefetch-KSCpc-EUC-H-bcmap.js +1 -0
  642. package/package/cafe-pdf.umd.min.noprefetch-KSCpc-EUC-V-bcmap.js +1 -0
  643. package/package/cafe-pdf.umd.min.noprefetch-Katakana-bcmap.js +1 -0
  644. package/package/cafe-pdf.umd.min.noprefetch-NWP-H-bcmap.js +1 -0
  645. package/package/cafe-pdf.umd.min.noprefetch-NWP-V-bcmap.js +1 -0
  646. package/package/cafe-pdf.umd.min.noprefetch-RKSJ-H-bcmap.js +1 -0
  647. package/package/cafe-pdf.umd.min.noprefetch-RKSJ-V-bcmap.js +1 -0
  648. package/package/cafe-pdf.umd.min.noprefetch-Roman-bcmap.js +1 -0
  649. package/package/cafe-pdf.umd.min.noprefetch-UniCNS-UCS2-H-bcmap.js +1 -0
  650. package/package/cafe-pdf.umd.min.noprefetch-UniCNS-UCS2-V-bcmap.js +1 -0
  651. package/package/cafe-pdf.umd.min.noprefetch-UniCNS-UTF16-H-bcmap.js +1 -0
  652. package/package/cafe-pdf.umd.min.noprefetch-UniCNS-UTF16-V-bcmap.js +1 -0
  653. package/package/cafe-pdf.umd.min.noprefetch-UniCNS-UTF32-H-bcmap.js +1 -0
  654. package/package/cafe-pdf.umd.min.noprefetch-UniCNS-UTF32-V-bcmap.js +1 -0
  655. package/package/cafe-pdf.umd.min.noprefetch-UniCNS-UTF8-H-bcmap.js +1 -0
  656. package/package/cafe-pdf.umd.min.noprefetch-UniCNS-UTF8-V-bcmap.js +1 -0
  657. package/package/cafe-pdf.umd.min.noprefetch-UniGB-UCS2-H-bcmap.js +1 -0
  658. package/package/cafe-pdf.umd.min.noprefetch-UniGB-UCS2-V-bcmap.js +1 -0
  659. package/package/cafe-pdf.umd.min.noprefetch-UniGB-UTF16-H-bcmap.js +1 -0
  660. package/package/cafe-pdf.umd.min.noprefetch-UniGB-UTF16-V-bcmap.js +1 -0
  661. package/package/cafe-pdf.umd.min.noprefetch-UniGB-UTF32-H-bcmap.js +1 -0
  662. package/package/cafe-pdf.umd.min.noprefetch-UniGB-UTF32-V-bcmap.js +1 -0
  663. package/package/cafe-pdf.umd.min.noprefetch-UniGB-UTF8-H-bcmap.js +1 -0
  664. package/package/cafe-pdf.umd.min.noprefetch-UniGB-UTF8-V-bcmap.js +1 -0
  665. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UCS2-H-bcmap.js +1 -0
  666. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UCS2-HW-H-bcmap.js +1 -0
  667. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UCS2-HW-V-bcmap.js +1 -0
  668. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UCS2-V-bcmap.js +1 -0
  669. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UTF16-H-bcmap.js +1 -0
  670. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UTF16-V-bcmap.js +1 -0
  671. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UTF32-H-bcmap.js +1 -0
  672. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UTF32-V-bcmap.js +1 -0
  673. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UTF8-H-bcmap.js +1 -0
  674. package/package/cafe-pdf.umd.min.noprefetch-UniJIS-UTF8-V-bcmap.js +1 -0
  675. package/package/cafe-pdf.umd.min.noprefetch-UniJIS2004-UTF16-H-bcmap.js +1 -0
  676. package/package/cafe-pdf.umd.min.noprefetch-UniJIS2004-UTF16-V-bcmap.js +1 -0
  677. package/package/cafe-pdf.umd.min.noprefetch-UniJIS2004-UTF32-H-bcmap.js +1 -0
  678. package/package/cafe-pdf.umd.min.noprefetch-UniJIS2004-UTF32-V-bcmap.js +1 -0
  679. package/package/cafe-pdf.umd.min.noprefetch-UniJIS2004-UTF8-H-bcmap.js +1 -0
  680. package/package/cafe-pdf.umd.min.noprefetch-UniJIS2004-UTF8-V-bcmap.js +1 -0
  681. package/package/cafe-pdf.umd.min.noprefetch-UniJISPro-UCS2-HW-V-bcmap.js +1 -0
  682. package/package/cafe-pdf.umd.min.noprefetch-UniJISPro-UCS2-V-bcmap.js +1 -0
  683. package/package/cafe-pdf.umd.min.noprefetch-UniJISPro-UTF8-V-bcmap.js +1 -0
  684. package/package/cafe-pdf.umd.min.noprefetch-UniJISX0213-UTF32-H-bcmap.js +1 -0
  685. package/package/cafe-pdf.umd.min.noprefetch-UniJISX0213-UTF32-V-bcmap.js +1 -0
  686. package/package/cafe-pdf.umd.min.noprefetch-UniJISX02132004-UTF32-H-bcmap.js +1 -0
  687. package/package/cafe-pdf.umd.min.noprefetch-UniJISX02132004-UTF32-V-bcmap.js +1 -0
  688. package/package/cafe-pdf.umd.min.noprefetch-UniKS-UCS2-H-bcmap.js +1 -0
  689. package/package/cafe-pdf.umd.min.noprefetch-UniKS-UCS2-V-bcmap.js +1 -0
  690. package/package/cafe-pdf.umd.min.noprefetch-UniKS-UTF16-H-bcmap.js +1 -0
  691. package/package/cafe-pdf.umd.min.noprefetch-UniKS-UTF16-V-bcmap.js +1 -0
  692. package/package/cafe-pdf.umd.min.noprefetch-UniKS-UTF32-H-bcmap.js +1 -0
  693. package/package/cafe-pdf.umd.min.noprefetch-UniKS-UTF32-V-bcmap.js +1 -0
  694. package/package/cafe-pdf.umd.min.noprefetch-UniKS-UTF8-H-bcmap.js +1 -0
  695. package/package/cafe-pdf.umd.min.noprefetch-UniKS-UTF8-V-bcmap.js +1 -0
  696. package/package/cafe-pdf.umd.min.noprefetch-V-bcmap.js +1 -0
  697. package/package/cafe-pdf.umd.min.noprefetch-WP-Symbol-bcmap.js +1 -0
  698. package/package/cafe-pdf.umd.min.pdfjsWorker.js +1 -0
  699. package/package/cafe-pdf.umd.noprefetch-78-EUC-H-bcmap.js +11 -0
  700. package/package/cafe-pdf.umd.noprefetch-78-EUC-V-bcmap.js +11 -0
  701. package/package/cafe-pdf.umd.noprefetch-78-H-bcmap.js +11 -0
  702. package/package/cafe-pdf.umd.noprefetch-78-RKSJ-H-bcmap.js +11 -0
  703. package/package/cafe-pdf.umd.noprefetch-78-RKSJ-V-bcmap.js +11 -0
  704. package/package/cafe-pdf.umd.noprefetch-78-V-bcmap.js +11 -0
  705. package/package/cafe-pdf.umd.noprefetch-78ms-RKSJ-H-bcmap.js +11 -0
  706. package/package/cafe-pdf.umd.noprefetch-78ms-RKSJ-V-bcmap.js +11 -0
  707. package/package/cafe-pdf.umd.noprefetch-83pv-RKSJ-H-bcmap.js +11 -0
  708. package/package/cafe-pdf.umd.noprefetch-90ms-RKSJ-H-bcmap.js +11 -0
  709. package/package/cafe-pdf.umd.noprefetch-90ms-RKSJ-V-bcmap.js +11 -0
  710. package/package/cafe-pdf.umd.noprefetch-90msp-RKSJ-H-bcmap.js +11 -0
  711. package/package/cafe-pdf.umd.noprefetch-90msp-RKSJ-V-bcmap.js +11 -0
  712. package/package/cafe-pdf.umd.noprefetch-90pv-RKSJ-H-bcmap.js +11 -0
  713. package/package/cafe-pdf.umd.noprefetch-90pv-RKSJ-V-bcmap.js +11 -0
  714. package/package/cafe-pdf.umd.noprefetch-Add-H-bcmap.js +11 -0
  715. package/package/cafe-pdf.umd.noprefetch-Add-RKSJ-H-bcmap.js +11 -0
  716. package/package/cafe-pdf.umd.noprefetch-Add-RKSJ-V-bcmap.js +11 -0
  717. package/package/cafe-pdf.umd.noprefetch-Add-V-bcmap.js +11 -0
  718. package/package/cafe-pdf.umd.noprefetch-Adobe-CNS1-0-bcmap.js +11 -0
  719. package/package/cafe-pdf.umd.noprefetch-Adobe-CNS1-1-bcmap.js +11 -0
  720. package/package/cafe-pdf.umd.noprefetch-Adobe-CNS1-2-bcmap.js +11 -0
  721. package/package/cafe-pdf.umd.noprefetch-Adobe-CNS1-3-bcmap.js +11 -0
  722. package/package/cafe-pdf.umd.noprefetch-Adobe-CNS1-4-bcmap.js +11 -0
  723. package/package/cafe-pdf.umd.noprefetch-Adobe-CNS1-5-bcmap.js +11 -0
  724. package/package/cafe-pdf.umd.noprefetch-Adobe-CNS1-6-bcmap.js +11 -0
  725. package/package/cafe-pdf.umd.noprefetch-Adobe-CNS1-UCS2-bcmap.js +11 -0
  726. package/package/cafe-pdf.umd.noprefetch-Adobe-GB1-0-bcmap.js +11 -0
  727. package/package/cafe-pdf.umd.noprefetch-Adobe-GB1-1-bcmap.js +11 -0
  728. package/package/cafe-pdf.umd.noprefetch-Adobe-GB1-2-bcmap.js +11 -0
  729. package/package/cafe-pdf.umd.noprefetch-Adobe-GB1-3-bcmap.js +11 -0
  730. package/package/cafe-pdf.umd.noprefetch-Adobe-GB1-4-bcmap.js +11 -0
  731. package/package/cafe-pdf.umd.noprefetch-Adobe-GB1-5-bcmap.js +11 -0
  732. package/package/cafe-pdf.umd.noprefetch-Adobe-GB1-UCS2-bcmap.js +11 -0
  733. package/package/cafe-pdf.umd.noprefetch-Adobe-Japan1-0-bcmap.js +11 -0
  734. package/package/cafe-pdf.umd.noprefetch-Adobe-Japan1-1-bcmap.js +11 -0
  735. package/package/cafe-pdf.umd.noprefetch-Adobe-Japan1-2-bcmap.js +11 -0
  736. package/package/cafe-pdf.umd.noprefetch-Adobe-Japan1-3-bcmap.js +11 -0
  737. package/package/cafe-pdf.umd.noprefetch-Adobe-Japan1-4-bcmap.js +11 -0
  738. package/package/cafe-pdf.umd.noprefetch-Adobe-Japan1-5-bcmap.js +11 -0
  739. package/package/cafe-pdf.umd.noprefetch-Adobe-Japan1-6-bcmap.js +11 -0
  740. package/package/cafe-pdf.umd.noprefetch-Adobe-Japan1-UCS2-bcmap.js +11 -0
  741. package/package/cafe-pdf.umd.noprefetch-Adobe-Korea1-0-bcmap.js +11 -0
  742. package/package/cafe-pdf.umd.noprefetch-Adobe-Korea1-1-bcmap.js +11 -0
  743. package/package/cafe-pdf.umd.noprefetch-Adobe-Korea1-2-bcmap.js +11 -0
  744. package/package/cafe-pdf.umd.noprefetch-Adobe-Korea1-UCS2-bcmap.js +11 -0
  745. package/package/cafe-pdf.umd.noprefetch-B5-H-bcmap.js +11 -0
  746. package/package/cafe-pdf.umd.noprefetch-B5-V-bcmap.js +11 -0
  747. package/package/cafe-pdf.umd.noprefetch-B5pc-H-bcmap.js +11 -0
  748. package/package/cafe-pdf.umd.noprefetch-B5pc-V-bcmap.js +11 -0
  749. package/package/cafe-pdf.umd.noprefetch-CNS-EUC-H-bcmap.js +11 -0
  750. package/package/cafe-pdf.umd.noprefetch-CNS-EUC-V-bcmap.js +11 -0
  751. package/package/cafe-pdf.umd.noprefetch-CNS1-H-bcmap.js +11 -0
  752. package/package/cafe-pdf.umd.noprefetch-CNS1-V-bcmap.js +11 -0
  753. package/package/cafe-pdf.umd.noprefetch-CNS2-H-bcmap.js +11 -0
  754. package/package/cafe-pdf.umd.noprefetch-CNS2-V-bcmap.js +11 -0
  755. package/package/cafe-pdf.umd.noprefetch-ETHK-B5-H-bcmap.js +11 -0
  756. package/package/cafe-pdf.umd.noprefetch-ETHK-B5-V-bcmap.js +11 -0
  757. package/package/cafe-pdf.umd.noprefetch-ETen-B5-H-bcmap.js +11 -0
  758. package/package/cafe-pdf.umd.noprefetch-ETen-B5-V-bcmap.js +11 -0
  759. package/package/cafe-pdf.umd.noprefetch-ETenms-B5-H-bcmap.js +11 -0
  760. package/package/cafe-pdf.umd.noprefetch-ETenms-B5-V-bcmap.js +11 -0
  761. package/package/cafe-pdf.umd.noprefetch-EUC-H-bcmap.js +11 -0
  762. package/package/cafe-pdf.umd.noprefetch-EUC-V-bcmap.js +11 -0
  763. package/package/cafe-pdf.umd.noprefetch-Ext-H-bcmap.js +11 -0
  764. package/package/cafe-pdf.umd.noprefetch-Ext-RKSJ-H-bcmap.js +11 -0
  765. package/package/cafe-pdf.umd.noprefetch-Ext-RKSJ-V-bcmap.js +11 -0
  766. package/package/cafe-pdf.umd.noprefetch-Ext-V-bcmap.js +11 -0
  767. package/package/cafe-pdf.umd.noprefetch-GB-EUC-H-bcmap.js +11 -0
  768. package/package/cafe-pdf.umd.noprefetch-GB-EUC-V-bcmap.js +11 -0
  769. package/package/cafe-pdf.umd.noprefetch-GB-H-bcmap.js +11 -0
  770. package/package/cafe-pdf.umd.noprefetch-GB-V-bcmap.js +11 -0
  771. package/package/cafe-pdf.umd.noprefetch-GBK-EUC-H-bcmap.js +11 -0
  772. package/package/cafe-pdf.umd.noprefetch-GBK-EUC-V-bcmap.js +11 -0
  773. package/package/cafe-pdf.umd.noprefetch-GBK2K-H-bcmap.js +11 -0
  774. package/package/cafe-pdf.umd.noprefetch-GBK2K-V-bcmap.js +11 -0
  775. package/package/cafe-pdf.umd.noprefetch-GBKp-EUC-H-bcmap.js +11 -0
  776. package/package/cafe-pdf.umd.noprefetch-GBKp-EUC-V-bcmap.js +11 -0
  777. package/package/cafe-pdf.umd.noprefetch-GBT-EUC-H-bcmap.js +11 -0
  778. package/package/cafe-pdf.umd.noprefetch-GBT-EUC-V-bcmap.js +11 -0
  779. package/package/cafe-pdf.umd.noprefetch-GBT-H-bcmap.js +11 -0
  780. package/package/cafe-pdf.umd.noprefetch-GBT-V-bcmap.js +11 -0
  781. package/package/cafe-pdf.umd.noprefetch-GBTpc-EUC-H-bcmap.js +11 -0
  782. package/package/cafe-pdf.umd.noprefetch-GBTpc-EUC-V-bcmap.js +11 -0
  783. package/package/cafe-pdf.umd.noprefetch-GBpc-EUC-H-bcmap.js +11 -0
  784. package/package/cafe-pdf.umd.noprefetch-GBpc-EUC-V-bcmap.js +11 -0
  785. package/package/cafe-pdf.umd.noprefetch-H-bcmap.js +11 -0
  786. package/package/cafe-pdf.umd.noprefetch-HKdla-B5-H-bcmap.js +11 -0
  787. package/package/cafe-pdf.umd.noprefetch-HKdla-B5-V-bcmap.js +11 -0
  788. package/package/cafe-pdf.umd.noprefetch-HKdlb-B5-H-bcmap.js +11 -0
  789. package/package/cafe-pdf.umd.noprefetch-HKdlb-B5-V-bcmap.js +11 -0
  790. package/package/cafe-pdf.umd.noprefetch-HKgccs-B5-H-bcmap.js +11 -0
  791. package/package/cafe-pdf.umd.noprefetch-HKgccs-B5-V-bcmap.js +11 -0
  792. package/package/cafe-pdf.umd.noprefetch-HKm314-B5-H-bcmap.js +11 -0
  793. package/package/cafe-pdf.umd.noprefetch-HKm314-B5-V-bcmap.js +11 -0
  794. package/package/cafe-pdf.umd.noprefetch-HKm471-B5-H-bcmap.js +11 -0
  795. package/package/cafe-pdf.umd.noprefetch-HKm471-B5-V-bcmap.js +11 -0
  796. package/package/cafe-pdf.umd.noprefetch-HKscs-B5-H-bcmap.js +11 -0
  797. package/package/cafe-pdf.umd.noprefetch-HKscs-B5-V-bcmap.js +11 -0
  798. package/package/cafe-pdf.umd.noprefetch-Hankaku-bcmap.js +11 -0
  799. package/package/cafe-pdf.umd.noprefetch-Hiragana-bcmap.js +11 -0
  800. package/package/cafe-pdf.umd.noprefetch-KSC-EUC-H-bcmap.js +11 -0
  801. package/package/cafe-pdf.umd.noprefetch-KSC-EUC-V-bcmap.js +11 -0
  802. package/package/cafe-pdf.umd.noprefetch-KSC-H-bcmap.js +11 -0
  803. package/package/cafe-pdf.umd.noprefetch-KSC-Johab-H-bcmap.js +11 -0
  804. package/package/cafe-pdf.umd.noprefetch-KSC-Johab-V-bcmap.js +11 -0
  805. package/package/cafe-pdf.umd.noprefetch-KSC-V-bcmap.js +11 -0
  806. package/package/cafe-pdf.umd.noprefetch-KSCms-UHC-H-bcmap.js +11 -0
  807. package/package/cafe-pdf.umd.noprefetch-KSCms-UHC-HW-H-bcmap.js +11 -0
  808. package/package/cafe-pdf.umd.noprefetch-KSCms-UHC-HW-V-bcmap.js +11 -0
  809. package/package/cafe-pdf.umd.noprefetch-KSCms-UHC-V-bcmap.js +11 -0
  810. package/package/cafe-pdf.umd.noprefetch-KSCpc-EUC-H-bcmap.js +11 -0
  811. package/package/cafe-pdf.umd.noprefetch-KSCpc-EUC-V-bcmap.js +11 -0
  812. package/package/cafe-pdf.umd.noprefetch-Katakana-bcmap.js +11 -0
  813. package/package/cafe-pdf.umd.noprefetch-NWP-H-bcmap.js +11 -0
  814. package/package/cafe-pdf.umd.noprefetch-NWP-V-bcmap.js +11 -0
  815. package/package/cafe-pdf.umd.noprefetch-RKSJ-H-bcmap.js +11 -0
  816. package/package/cafe-pdf.umd.noprefetch-RKSJ-V-bcmap.js +11 -0
  817. package/package/cafe-pdf.umd.noprefetch-Roman-bcmap.js +11 -0
  818. package/package/cafe-pdf.umd.noprefetch-UniCNS-UCS2-H-bcmap.js +11 -0
  819. package/package/cafe-pdf.umd.noprefetch-UniCNS-UCS2-V-bcmap.js +11 -0
  820. package/package/cafe-pdf.umd.noprefetch-UniCNS-UTF16-H-bcmap.js +11 -0
  821. package/package/cafe-pdf.umd.noprefetch-UniCNS-UTF16-V-bcmap.js +11 -0
  822. package/package/cafe-pdf.umd.noprefetch-UniCNS-UTF32-H-bcmap.js +11 -0
  823. package/package/cafe-pdf.umd.noprefetch-UniCNS-UTF32-V-bcmap.js +11 -0
  824. package/package/cafe-pdf.umd.noprefetch-UniCNS-UTF8-H-bcmap.js +11 -0
  825. package/package/cafe-pdf.umd.noprefetch-UniCNS-UTF8-V-bcmap.js +11 -0
  826. package/package/cafe-pdf.umd.noprefetch-UniGB-UCS2-H-bcmap.js +11 -0
  827. package/package/cafe-pdf.umd.noprefetch-UniGB-UCS2-V-bcmap.js +11 -0
  828. package/package/cafe-pdf.umd.noprefetch-UniGB-UTF16-H-bcmap.js +11 -0
  829. package/package/cafe-pdf.umd.noprefetch-UniGB-UTF16-V-bcmap.js +11 -0
  830. package/package/cafe-pdf.umd.noprefetch-UniGB-UTF32-H-bcmap.js +11 -0
  831. package/package/cafe-pdf.umd.noprefetch-UniGB-UTF32-V-bcmap.js +11 -0
  832. package/package/cafe-pdf.umd.noprefetch-UniGB-UTF8-H-bcmap.js +11 -0
  833. package/package/cafe-pdf.umd.noprefetch-UniGB-UTF8-V-bcmap.js +11 -0
  834. package/package/cafe-pdf.umd.noprefetch-UniJIS-UCS2-H-bcmap.js +11 -0
  835. package/package/cafe-pdf.umd.noprefetch-UniJIS-UCS2-HW-H-bcmap.js +11 -0
  836. package/package/cafe-pdf.umd.noprefetch-UniJIS-UCS2-HW-V-bcmap.js +11 -0
  837. package/package/cafe-pdf.umd.noprefetch-UniJIS-UCS2-V-bcmap.js +11 -0
  838. package/package/cafe-pdf.umd.noprefetch-UniJIS-UTF16-H-bcmap.js +11 -0
  839. package/package/cafe-pdf.umd.noprefetch-UniJIS-UTF16-V-bcmap.js +11 -0
  840. package/package/cafe-pdf.umd.noprefetch-UniJIS-UTF32-H-bcmap.js +11 -0
  841. package/package/cafe-pdf.umd.noprefetch-UniJIS-UTF32-V-bcmap.js +11 -0
  842. package/package/cafe-pdf.umd.noprefetch-UniJIS-UTF8-H-bcmap.js +11 -0
  843. package/package/cafe-pdf.umd.noprefetch-UniJIS-UTF8-V-bcmap.js +11 -0
  844. package/package/cafe-pdf.umd.noprefetch-UniJIS2004-UTF16-H-bcmap.js +11 -0
  845. package/package/cafe-pdf.umd.noprefetch-UniJIS2004-UTF16-V-bcmap.js +11 -0
  846. package/package/cafe-pdf.umd.noprefetch-UniJIS2004-UTF32-H-bcmap.js +11 -0
  847. package/package/cafe-pdf.umd.noprefetch-UniJIS2004-UTF32-V-bcmap.js +11 -0
  848. package/package/cafe-pdf.umd.noprefetch-UniJIS2004-UTF8-H-bcmap.js +11 -0
  849. package/package/cafe-pdf.umd.noprefetch-UniJIS2004-UTF8-V-bcmap.js +11 -0
  850. package/package/cafe-pdf.umd.noprefetch-UniJISPro-UCS2-HW-V-bcmap.js +11 -0
  851. package/package/cafe-pdf.umd.noprefetch-UniJISPro-UCS2-V-bcmap.js +11 -0
  852. package/package/cafe-pdf.umd.noprefetch-UniJISPro-UTF8-V-bcmap.js +11 -0
  853. package/package/cafe-pdf.umd.noprefetch-UniJISX0213-UTF32-H-bcmap.js +11 -0
  854. package/package/cafe-pdf.umd.noprefetch-UniJISX0213-UTF32-V-bcmap.js +11 -0
  855. package/package/cafe-pdf.umd.noprefetch-UniJISX02132004-UTF32-H-bcmap.js +11 -0
  856. package/package/cafe-pdf.umd.noprefetch-UniJISX02132004-UTF32-V-bcmap.js +11 -0
  857. package/package/cafe-pdf.umd.noprefetch-UniKS-UCS2-H-bcmap.js +11 -0
  858. package/package/cafe-pdf.umd.noprefetch-UniKS-UCS2-V-bcmap.js +11 -0
  859. package/package/cafe-pdf.umd.noprefetch-UniKS-UTF16-H-bcmap.js +11 -0
  860. package/package/cafe-pdf.umd.noprefetch-UniKS-UTF16-V-bcmap.js +11 -0
  861. package/package/cafe-pdf.umd.noprefetch-UniKS-UTF32-H-bcmap.js +11 -0
  862. package/package/cafe-pdf.umd.noprefetch-UniKS-UTF32-V-bcmap.js +11 -0
  863. package/package/cafe-pdf.umd.noprefetch-UniKS-UTF8-H-bcmap.js +11 -0
  864. package/package/cafe-pdf.umd.noprefetch-UniKS-UTF8-V-bcmap.js +11 -0
  865. package/package/cafe-pdf.umd.noprefetch-V-bcmap.js +11 -0
  866. package/package/cafe-pdf.umd.noprefetch-WP-Symbol-bcmap.js +11 -0
  867. package/package/cafe-pdf.umd.pdfjsWorker.js +230 -0
  868. package/package/cda8beb0a7b3fc08c6f6.worker.js +10 -0
  869. package/package/demo.html +10 -0
  870. package/package.json +45 -0
@@ -0,0 +1,10 @@
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["cafe-pdf"]=t():e["cafe-pdf"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){function t(t){for(var r,i,a=t[0],o=t[1],s=0,u=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(n,i)&&n[i]&&u.push(n[i][0]),n[i]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);c&&c(t);while(u.length)u.shift()()}var r={},n={0:0};function i(e){return a.p+"cafe-pdf.umd.min."+({1:"noprefetch-78-EUC-H-bcmap",2:"noprefetch-78-EUC-V-bcmap",3:"noprefetch-78-H-bcmap",4:"noprefetch-78-RKSJ-H-bcmap",5:"noprefetch-78-RKSJ-V-bcmap",6:"noprefetch-78-V-bcmap",7:"noprefetch-78ms-RKSJ-H-bcmap",8:"noprefetch-78ms-RKSJ-V-bcmap",9:"noprefetch-83pv-RKSJ-H-bcmap",10:"noprefetch-90ms-RKSJ-H-bcmap",11:"noprefetch-90ms-RKSJ-V-bcmap",12:"noprefetch-90msp-RKSJ-H-bcmap",13:"noprefetch-90msp-RKSJ-V-bcmap",14:"noprefetch-90pv-RKSJ-H-bcmap",15:"noprefetch-90pv-RKSJ-V-bcmap",16:"noprefetch-Add-H-bcmap",17:"noprefetch-Add-RKSJ-H-bcmap",18:"noprefetch-Add-RKSJ-V-bcmap",19:"noprefetch-Add-V-bcmap",20:"noprefetch-Adobe-CNS1-0-bcmap",21:"noprefetch-Adobe-CNS1-1-bcmap",22:"noprefetch-Adobe-CNS1-2-bcmap",23:"noprefetch-Adobe-CNS1-3-bcmap",24:"noprefetch-Adobe-CNS1-4-bcmap",25:"noprefetch-Adobe-CNS1-5-bcmap",26:"noprefetch-Adobe-CNS1-6-bcmap",27:"noprefetch-Adobe-CNS1-UCS2-bcmap",28:"noprefetch-Adobe-GB1-0-bcmap",29:"noprefetch-Adobe-GB1-1-bcmap",30:"noprefetch-Adobe-GB1-2-bcmap",31:"noprefetch-Adobe-GB1-3-bcmap",32:"noprefetch-Adobe-GB1-4-bcmap",33:"noprefetch-Adobe-GB1-5-bcmap",34:"noprefetch-Adobe-GB1-UCS2-bcmap",35:"noprefetch-Adobe-Japan1-0-bcmap",36:"noprefetch-Adobe-Japan1-1-bcmap",37:"noprefetch-Adobe-Japan1-2-bcmap",38:"noprefetch-Adobe-Japan1-3-bcmap",39:"noprefetch-Adobe-Japan1-4-bcmap",40:"noprefetch-Adobe-Japan1-5-bcmap",41:"noprefetch-Adobe-Japan1-6-bcmap",42:"noprefetch-Adobe-Japan1-UCS2-bcmap",43:"noprefetch-Adobe-Korea1-0-bcmap",44:"noprefetch-Adobe-Korea1-1-bcmap",45:"noprefetch-Adobe-Korea1-2-bcmap",46:"noprefetch-Adobe-Korea1-UCS2-bcmap",47:"noprefetch-B5-H-bcmap",48:"noprefetch-B5-V-bcmap",49:"noprefetch-B5pc-H-bcmap",50:"noprefetch-B5pc-V-bcmap",51:"noprefetch-CNS-EUC-H-bcmap",52:"noprefetch-CNS-EUC-V-bcmap",53:"noprefetch-CNS1-H-bcmap",54:"noprefetch-CNS1-V-bcmap",55:"noprefetch-CNS2-H-bcmap",56:"noprefetch-CNS2-V-bcmap",57:"noprefetch-ETHK-B5-H-bcmap",58:"noprefetch-ETHK-B5-V-bcmap",59:"noprefetch-ETen-B5-H-bcmap",60:"noprefetch-ETen-B5-V-bcmap",61:"noprefetch-ETenms-B5-H-bcmap",62:"noprefetch-ETenms-B5-V-bcmap",63:"noprefetch-EUC-H-bcmap",64:"noprefetch-EUC-V-bcmap",65:"noprefetch-Ext-H-bcmap",66:"noprefetch-Ext-RKSJ-H-bcmap",67:"noprefetch-Ext-RKSJ-V-bcmap",68:"noprefetch-Ext-V-bcmap",69:"noprefetch-GB-EUC-H-bcmap",70:"noprefetch-GB-EUC-V-bcmap",71:"noprefetch-GB-H-bcmap",72:"noprefetch-GB-V-bcmap",73:"noprefetch-GBK-EUC-H-bcmap",74:"noprefetch-GBK-EUC-V-bcmap",75:"noprefetch-GBK2K-H-bcmap",76:"noprefetch-GBK2K-V-bcmap",77:"noprefetch-GBKp-EUC-H-bcmap",78:"noprefetch-GBKp-EUC-V-bcmap",79:"noprefetch-GBT-EUC-H-bcmap",80:"noprefetch-GBT-EUC-V-bcmap",81:"noprefetch-GBT-H-bcmap",82:"noprefetch-GBT-V-bcmap",83:"noprefetch-GBTpc-EUC-H-bcmap",84:"noprefetch-GBTpc-EUC-V-bcmap",85:"noprefetch-GBpc-EUC-H-bcmap",86:"noprefetch-GBpc-EUC-V-bcmap",87:"noprefetch-H-bcmap",88:"noprefetch-HKdla-B5-H-bcmap",89:"noprefetch-HKdla-B5-V-bcmap",90:"noprefetch-HKdlb-B5-H-bcmap",91:"noprefetch-HKdlb-B5-V-bcmap",92:"noprefetch-HKgccs-B5-H-bcmap",93:"noprefetch-HKgccs-B5-V-bcmap",94:"noprefetch-HKm314-B5-H-bcmap",95:"noprefetch-HKm314-B5-V-bcmap",96:"noprefetch-HKm471-B5-H-bcmap",97:"noprefetch-HKm471-B5-V-bcmap",98:"noprefetch-HKscs-B5-H-bcmap",99:"noprefetch-HKscs-B5-V-bcmap",100:"noprefetch-Hankaku-bcmap",101:"noprefetch-Hiragana-bcmap",102:"noprefetch-KSC-EUC-H-bcmap",103:"noprefetch-KSC-EUC-V-bcmap",104:"noprefetch-KSC-H-bcmap",105:"noprefetch-KSC-Johab-H-bcmap",106:"noprefetch-KSC-Johab-V-bcmap",107:"noprefetch-KSC-V-bcmap",108:"noprefetch-KSCms-UHC-H-bcmap",109:"noprefetch-KSCms-UHC-HW-H-bcmap",110:"noprefetch-KSCms-UHC-HW-V-bcmap",111:"noprefetch-KSCms-UHC-V-bcmap",112:"noprefetch-KSCpc-EUC-H-bcmap",113:"noprefetch-KSCpc-EUC-V-bcmap",114:"noprefetch-Katakana-bcmap",115:"noprefetch-NWP-H-bcmap",116:"noprefetch-NWP-V-bcmap",117:"noprefetch-RKSJ-H-bcmap",118:"noprefetch-RKSJ-V-bcmap",119:"noprefetch-Roman-bcmap",120:"noprefetch-UniCNS-UCS2-H-bcmap",121:"noprefetch-UniCNS-UCS2-V-bcmap",122:"noprefetch-UniCNS-UTF16-H-bcmap",123:"noprefetch-UniCNS-UTF16-V-bcmap",124:"noprefetch-UniCNS-UTF32-H-bcmap",125:"noprefetch-UniCNS-UTF32-V-bcmap",126:"noprefetch-UniCNS-UTF8-H-bcmap",127:"noprefetch-UniCNS-UTF8-V-bcmap",128:"noprefetch-UniGB-UCS2-H-bcmap",129:"noprefetch-UniGB-UCS2-V-bcmap",130:"noprefetch-UniGB-UTF16-H-bcmap",131:"noprefetch-UniGB-UTF16-V-bcmap",132:"noprefetch-UniGB-UTF32-H-bcmap",133:"noprefetch-UniGB-UTF32-V-bcmap",134:"noprefetch-UniGB-UTF8-H-bcmap",135:"noprefetch-UniGB-UTF8-V-bcmap",136:"noprefetch-UniJIS-UCS2-H-bcmap",137:"noprefetch-UniJIS-UCS2-HW-H-bcmap",138:"noprefetch-UniJIS-UCS2-HW-V-bcmap",139:"noprefetch-UniJIS-UCS2-V-bcmap",140:"noprefetch-UniJIS-UTF16-H-bcmap",141:"noprefetch-UniJIS-UTF16-V-bcmap",142:"noprefetch-UniJIS-UTF32-H-bcmap",143:"noprefetch-UniJIS-UTF32-V-bcmap",144:"noprefetch-UniJIS-UTF8-H-bcmap",145:"noprefetch-UniJIS-UTF8-V-bcmap",146:"noprefetch-UniJIS2004-UTF16-H-bcmap",147:"noprefetch-UniJIS2004-UTF16-V-bcmap",148:"noprefetch-UniJIS2004-UTF32-H-bcmap",149:"noprefetch-UniJIS2004-UTF32-V-bcmap",150:"noprefetch-UniJIS2004-UTF8-H-bcmap",151:"noprefetch-UniJIS2004-UTF8-V-bcmap",152:"noprefetch-UniJISPro-UCS2-HW-V-bcmap",153:"noprefetch-UniJISPro-UCS2-V-bcmap",154:"noprefetch-UniJISPro-UTF8-V-bcmap",155:"noprefetch-UniJISX0213-UTF32-H-bcmap",156:"noprefetch-UniJISX0213-UTF32-V-bcmap",157:"noprefetch-UniJISX02132004-UTF32-H-bcmap",158:"noprefetch-UniJISX02132004-UTF32-V-bcmap",159:"noprefetch-UniKS-UCS2-H-bcmap",160:"noprefetch-UniKS-UCS2-V-bcmap",161:"noprefetch-UniKS-UTF16-H-bcmap",162:"noprefetch-UniKS-UTF16-V-bcmap",163:"noprefetch-UniKS-UTF32-H-bcmap",164:"noprefetch-UniKS-UTF32-V-bcmap",165:"noprefetch-UniKS-UTF8-H-bcmap",166:"noprefetch-UniKS-UTF8-V-bcmap",167:"noprefetch-V-bcmap",168:"noprefetch-WP-Symbol-bcmap",169:"pdfjsWorker"}[e]||e)+".js"}function a(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.e=function(e){var t=[],r=n[e];if(0!==r)if(r)t.push(r[2]);else{var o=new Promise((function(t,i){r=n[e]=[t,i]}));t.push(r[2]=o);var s,u=document.createElement("script");u.charset="utf-8",u.timeout=120,a.nc&&u.setAttribute("nonce",a.nc),u.src=i(e);var c=new Error;s=function(t){u.onerror=u.onload=null,clearTimeout(l);var r=n[e];if(0!==r){if(r){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",c.name="ChunkLoadError",c.type=i,c.request=a,r[1](c)}n[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:u})}),12e4);u.onerror=u.onload=s,document.head.appendChild(u)}return Promise.all(t)},a.m=e,a.c=r,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var o=("undefined"!==typeof self?self:this)["webpackJsonpcafe_pdf"]=("undefined"!==typeof self?self:this)["webpackJsonpcafe_pdf"]||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var u=0;u<o.length;u++)t(o[u]);var c=s;return a(a.s="fb15")}({0:function(e,t){},"00b4":function(e,t,r){"use strict";r("ac1f");var n=r("23e7"),i=r("da84"),a=r("c65b"),o=r("e330"),s=r("1626"),u=r("861d"),c=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),l=i.Error,f=o(/./.test);n({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=this.exec;if(!s(t))return f(this,e);var r=a(t,this,e);if(null!==r&&!u(r))throw new l("RegExp exec method returned something other than an Object or null");return!!r}})},"00ee":function(e,t,r){var n=r("b622"),i=n("toStringTag"),a={};a[i]="z",e.exports="[object z]"===String(a)},"0366":function(e,t,r){var n=r("e330"),i=r("59ed"),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?a(e,t):function(){return e.apply(t,arguments)}}},"0472":function(e,t,r){var n={"./78-EUC-H.bcmap":["38ab",1],"./78-EUC-V.bcmap":["6770",2],"./78-H.bcmap":["1934",3],"./78-RKSJ-H.bcmap":["7b41",4],"./78-RKSJ-V.bcmap":["89f1",5],"./78-V.bcmap":["5113",6],"./78ms-RKSJ-H.bcmap":["062b",7],"./78ms-RKSJ-V.bcmap":["6041",8],"./83pv-RKSJ-H.bcmap":["8ce2",9],"./90ms-RKSJ-H.bcmap":["4325",10],"./90ms-RKSJ-V.bcmap":["392a",11],"./90msp-RKSJ-H.bcmap":["7857",12],"./90msp-RKSJ-V.bcmap":["735c",13],"./90pv-RKSJ-H.bcmap":["2535",14],"./90pv-RKSJ-V.bcmap":["5814",15],"./Add-H.bcmap":["ff41",16],"./Add-RKSJ-H.bcmap":["912c",17],"./Add-RKSJ-V.bcmap":["8a5c",18],"./Add-V.bcmap":["4fda",19],"./Adobe-CNS1-0.bcmap":["a420",20],"./Adobe-CNS1-1.bcmap":["04ed",21],"./Adobe-CNS1-2.bcmap":["2268",22],"./Adobe-CNS1-3.bcmap":["9a9d",23],"./Adobe-CNS1-4.bcmap":["b2ae",24],"./Adobe-CNS1-5.bcmap":["89ec",25],"./Adobe-CNS1-6.bcmap":["b76e",26],"./Adobe-CNS1-UCS2.bcmap":["853e",27],"./Adobe-GB1-0.bcmap":["a277",28],"./Adobe-GB1-1.bcmap":["5774",29],"./Adobe-GB1-2.bcmap":["a5c8",30],"./Adobe-GB1-3.bcmap":["0a4f",31],"./Adobe-GB1-4.bcmap":["20e6",32],"./Adobe-GB1-5.bcmap":["3627",33],"./Adobe-GB1-UCS2.bcmap":["ada7",34],"./Adobe-Japan1-0.bcmap":["87f3",35],"./Adobe-Japan1-1.bcmap":["4ee5",36],"./Adobe-Japan1-2.bcmap":["21aa",37],"./Adobe-Japan1-3.bcmap":["24a0",38],"./Adobe-Japan1-4.bcmap":["102f",39],"./Adobe-Japan1-5.bcmap":["2da4",40],"./Adobe-Japan1-6.bcmap":["3cab",41],"./Adobe-Japan1-UCS2.bcmap":["6b0e",42],"./Adobe-Korea1-0.bcmap":["2dc4",43],"./Adobe-Korea1-1.bcmap":["bf4d",44],"./Adobe-Korea1-2.bcmap":["4174",45],"./Adobe-Korea1-UCS2.bcmap":["c67b",46],"./B5-H.bcmap":["a9c8",47],"./B5-V.bcmap":["cfd9",48],"./B5pc-H.bcmap":["161a",49],"./B5pc-V.bcmap":["dc60",50],"./CNS-EUC-H.bcmap":["75ec",51],"./CNS-EUC-V.bcmap":["e7e7",52],"./CNS1-H.bcmap":["980b",53],"./CNS1-V.bcmap":["0b0b",54],"./CNS2-H.bcmap":["8f0b",55],"./CNS2-V.bcmap":["d4d8",56],"./ETHK-B5-H.bcmap":["78c9",57],"./ETHK-B5-V.bcmap":["464f",58],"./ETen-B5-H.bcmap":["03f0",59],"./ETen-B5-V.bcmap":["318e",60],"./ETenms-B5-H.bcmap":["5a95",61],"./ETenms-B5-V.bcmap":["440c",62],"./EUC-H.bcmap":["3d52",63],"./EUC-V.bcmap":["1e09",64],"./Ext-H.bcmap":["9c34",65],"./Ext-RKSJ-H.bcmap":["5667",66],"./Ext-RKSJ-V.bcmap":["0a9c",67],"./Ext-V.bcmap":["7533",68],"./GB-EUC-H.bcmap":["6d53",69],"./GB-EUC-V.bcmap":["de1a",70],"./GB-H.bcmap":["7499",71],"./GB-V.bcmap":["c587",72],"./GBK-EUC-H.bcmap":["cada",73],"./GBK-EUC-V.bcmap":["6797",74],"./GBK2K-H.bcmap":["87b0",75],"./GBK2K-V.bcmap":["0372",76],"./GBKp-EUC-H.bcmap":["74ec",77],"./GBKp-EUC-V.bcmap":["365c",78],"./GBT-EUC-H.bcmap":["f20c",79],"./GBT-EUC-V.bcmap":["79f0",80],"./GBT-H.bcmap":["3a9d",81],"./GBT-V.bcmap":["263d",82],"./GBTpc-EUC-H.bcmap":["64f9",83],"./GBTpc-EUC-V.bcmap":["4fa4",84],"./GBpc-EUC-H.bcmap":["6c1f",85],"./GBpc-EUC-V.bcmap":["10c3",86],"./H.bcmap":["405c",87],"./HKdla-B5-H.bcmap":["0b93",88],"./HKdla-B5-V.bcmap":["c91d",89],"./HKdlb-B5-H.bcmap":["4084",90],"./HKdlb-B5-V.bcmap":["ebf9",91],"./HKgccs-B5-H.bcmap":["3154",92],"./HKgccs-B5-V.bcmap":["4a6f",93],"./HKm314-B5-H.bcmap":["9e7f",94],"./HKm314-B5-V.bcmap":["0a13",95],"./HKm471-B5-H.bcmap":["371a",96],"./HKm471-B5-V.bcmap":["76bb",97],"./HKscs-B5-H.bcmap":["f56a",98],"./HKscs-B5-V.bcmap":["9586",99],"./Hankaku.bcmap":["2713",100],"./Hiragana.bcmap":["2ede",101],"./KSC-EUC-H.bcmap":["7542",102],"./KSC-EUC-V.bcmap":["a0fa",103],"./KSC-H.bcmap":["0319",104],"./KSC-Johab-H.bcmap":["445e",105],"./KSC-Johab-V.bcmap":["48ad",106],"./KSC-V.bcmap":["af45",107],"./KSCms-UHC-H.bcmap":["4741",108],"./KSCms-UHC-HW-H.bcmap":["078f",109],"./KSCms-UHC-HW-V.bcmap":["ef27",110],"./KSCms-UHC-V.bcmap":["ec7f",111],"./KSCpc-EUC-H.bcmap":["e668",112],"./KSCpc-EUC-V.bcmap":["0cd5",113],"./Katakana.bcmap":["3198",114],"./NWP-H.bcmap":["3370",115],"./NWP-V.bcmap":["55f2",116],"./RKSJ-H.bcmap":["cd66",117],"./RKSJ-V.bcmap":["f62b",118],"./Roman.bcmap":["e0b2",119],"./UniCNS-UCS2-H.bcmap":["fd51",120],"./UniCNS-UCS2-V.bcmap":["2582",121],"./UniCNS-UTF16-H.bcmap":["716b",122],"./UniCNS-UTF16-V.bcmap":["2440",123],"./UniCNS-UTF32-H.bcmap":["cdfb",124],"./UniCNS-UTF32-V.bcmap":["d0de",125],"./UniCNS-UTF8-H.bcmap":["51af",126],"./UniCNS-UTF8-V.bcmap":["0d7b",127],"./UniGB-UCS2-H.bcmap":["6c16",128],"./UniGB-UCS2-V.bcmap":["47ef",129],"./UniGB-UTF16-H.bcmap":["5570",130],"./UniGB-UTF16-V.bcmap":["12d8",131],"./UniGB-UTF32-H.bcmap":["088f",132],"./UniGB-UTF32-V.bcmap":["020f",133],"./UniGB-UTF8-H.bcmap":["611c",134],"./UniGB-UTF8-V.bcmap":["3eb7",135],"./UniJIS-UCS2-H.bcmap":["ebc2",136],"./UniJIS-UCS2-HW-H.bcmap":["8765",137],"./UniJIS-UCS2-HW-V.bcmap":["7647",138],"./UniJIS-UCS2-V.bcmap":["6cea",139],"./UniJIS-UTF16-H.bcmap":["1ec0",140],"./UniJIS-UTF16-V.bcmap":["10b3",141],"./UniJIS-UTF32-H.bcmap":["0a34",142],"./UniJIS-UTF32-V.bcmap":["1d7a",143],"./UniJIS-UTF8-H.bcmap":["d5c6",144],"./UniJIS-UTF8-V.bcmap":["0043",145],"./UniJIS2004-UTF16-H.bcmap":["d9984",146],"./UniJIS2004-UTF16-V.bcmap":["706a",147],"./UniJIS2004-UTF32-H.bcmap":["c7aa",148],"./UniJIS2004-UTF32-V.bcmap":["2908",149],"./UniJIS2004-UTF8-H.bcmap":["d9c0",150],"./UniJIS2004-UTF8-V.bcmap":["9645",151],"./UniJISPro-UCS2-HW-V.bcmap":["6438",152],"./UniJISPro-UCS2-V.bcmap":["d79f",153],"./UniJISPro-UTF8-V.bcmap":["6fd8",154],"./UniJISX0213-UTF32-H.bcmap":["3358",155],"./UniJISX0213-UTF32-V.bcmap":["782d",156],"./UniJISX02132004-UTF32-H.bcmap":["0ecd",157],"./UniJISX02132004-UTF32-V.bcmap":["90aa",158],"./UniKS-UCS2-H.bcmap":["3645",159],"./UniKS-UCS2-V.bcmap":["83e6",160],"./UniKS-UTF16-H.bcmap":["e09f",161],"./UniKS-UTF16-V.bcmap":["06c1",162],"./UniKS-UTF32-H.bcmap":["9ab3",163],"./UniKS-UTF32-V.bcmap":["9051",164],"./UniKS-UTF8-H.bcmap":["05bc",165],"./UniKS-UTF8-V.bcmap":["b4db",166],"./V.bcmap":["d5c5",167],"./WP-Symbol.bcmap":["63a9",168]};function i(e){if(!r.o(n,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],i=t[0];return r.e(t[1]).then((function(){return r.t(i,7)}))}i.keys=function(){return Object.keys(n)},i.id="0472",e.exports=i},"04d1":function(e,t,r){var n=r("342f"),i=n.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},"057f":function(e,t,r){var n=r("c6b6"),i=r("fc6a"),a=r("241c").f,o=r("f36a"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return a(e)}catch(t){return o(s)}};e.exports.f=function(e){return s&&"Window"==n(e)?u(e):a(i(e))}},"06cf":function(e,t,r){var n=r("83ab"),i=r("c65b"),a=r("d1e7"),o=r("5c6c"),s=r("fc6a"),u=r("a04b"),c=r("1a2d"),l=r("0cfb"),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(r){}if(c(e,t))return o(!i(a.f,e,t),e[t])}},"07ac":function(e,t,r){var n=r("23e7"),i=r("6f53").values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},"07fa":function(e,t,r){var n=r("50c4");e.exports=function(e){return n(e.length)}},"0af4":function(e,t,r){"use strict";r("3f8b")},"0b16":function(e,t,r){"use strict";var n=r("1985"),i=r("35e8");function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=w,t.resolve=A,t.resolveObject=x,t.format=S,t.Url=a;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(c),f=["'"].concat(l),h=["%","/","?",";","#"].concat(f),d=["/","?","#"],p=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r("b383");function w(e,t,r){if(e&&i.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}function S(e){return i.isString(e)&&(e=w(e)),e instanceof a?e.format():a.prototype.format.call(e)}function A(e,t){return w(e,!1,!0).resolve(t)}function x(e,t){return e?w(e,!1,!0).resolveObject(t):t}a.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a<e.indexOf("#")?"?":"#",c=e.split(s),l=/\\/g;c[0]=c[0].replace(l,"/"),e=c.join(s);var w=e;if(w=w.trim(),!r&&1===e.split("#").length){var S=u.exec(w);if(S)return this.path=w,this.href=w,this.pathname=S[1],S[2]?(this.search=S[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var A=o.exec(w);if(A){A=A[0];var x=A.toLowerCase();this.protocol=x,w=w.substr(A.length)}if(r||A||w.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===w.substr(0,2);!k||A&&y[A]||(w=w.substr(2),this.slashes=!0)}if(!y[A]&&(k||A&&!b[A])){for(var P,C,T=-1,E=0;E<d.length;E++){var R=w.indexOf(d[E]);-1!==R&&(-1===T||R<T)&&(T=R)}C=-1===T?w.lastIndexOf("@"):w.lastIndexOf("@",T),-1!==C&&(P=w.slice(0,C),w=w.slice(C+1),this.auth=decodeURIComponent(P)),T=-1;for(E=0;E<h.length;E++){R=w.indexOf(h[E]);-1!==R&&(-1===T||R<T)&&(T=R)}-1===T&&(T=w.length),this.host=w.slice(0,T),w=w.slice(T),this.parseHost(),this.hostname=this.hostname||"";var L="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!L)for(var O=this.hostname.split(/\./),I=(E=0,O.length);E<I;E++){var M=O[E];if(M&&!M.match(v)){for(var N="",F=0,j=M.length;F<j;F++)M.charCodeAt(F)>127?N+="x":N+=M[F];if(!N.match(v)){var U=O.slice(0,E),D=O.slice(E+1),B=M.match(g);B&&(U.push(B[1]),D.unshift(B[2])),D.length&&(w="/"+D.join(".")+w),this.hostname=U.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),L||(this.hostname=n.toASCII(this.hostname));var q=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+q,this.href+=this.host,L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!m[x])for(E=0,I=f.length;E<I;E++){var V=f[E];if(-1!==w.indexOf(V)){var W=encodeURIComponent(V);W===V&&(W=escape(V)),w=w.split(V).join(W)}}var G=w.indexOf("#");-1!==G&&(this.hash=w.substr(G),w=w.slice(0,G));var z=w.indexOf("?");if(-1!==z?(this.search=w.substr(z),this.query=w.substr(z+1),t&&(this.query=_.parse(this.query)),w=w.slice(0,z)):t&&(this.search="",this.query={}),w&&(this.pathname=w),b[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){q=this.pathname||"";var Y=this.search||"";this.path=q+Y}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=_.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==a?(a="//"+(a||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):a||(a=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),s=s.replace("#","%23"),t+a+r+s+n},a.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var r=new a,n=Object.keys(this),o=0;o<n.length;o++){var s=n[o];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=e[l])}return b[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!b[e.protocol]){for(var f=Object.keys(e),h=0;h<f.length;h++){var d=f[h];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||y[e.protocol])r.pathname=e.pathname;else{var p=(e.pathname||"").split("/");while(p.length&&!(e.host=p.shift()));e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var v=r.pathname||"",g=r.search||"";r.path=v+g}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var m=r.pathname&&"/"===r.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||m||r.host&&e.pathname,S=w,A=r.pathname&&r.pathname.split("/")||[],x=(p=e.pathname&&e.pathname.split("/")||[],r.protocol&&!b[r.protocol]);if(x&&(r.hostname="",r.port=null,r.host&&(""===A[0]?A[0]=r.host:A.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===A[0])),_)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,A=p;else if(p.length)A||(A=[]),A.pop(),A=A.concat(p),r.search=e.search,r.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(x){r.hostname=r.host=A.shift();var k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");k&&(r.auth=k.shift(),r.host=r.hostname=k.shift())}return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!A.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var P=A.slice(-1)[0],C=(r.host||e.host||A.length>1)&&("."===P||".."===P)||""===P,T=0,E=A.length;E>=0;E--)P=A[E],"."===P?A.splice(E,1):".."===P?(A.splice(E,1),T++):T&&(A.splice(E,1),T--);if(!w&&!S)for(;T--;T)A.unshift("..");!w||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),C&&"/"!==A.join("/").substr(-1)&&A.push("");var R=""===A[0]||A[0]&&"/"===A[0].charAt(0);if(x){r.hostname=r.host=R?"":A.length?A.shift():"";k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");k&&(r.auth=k.shift(),r.host=r.hostname=k.shift())}return w=w||r.host&&A.length,w&&!R&&A.unshift(""),A.length?r.pathname=A.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0b25":function(e,t,r){var n=r("da84"),i=r("5926"),a=r("50c4"),o=n.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=i(e),r=a(t);if(t!==r)throw o("Wrong length or index");return r}},"0b42":function(e,t,r){var n=r("da84"),i=r("e8b5"),a=r("68ee"),o=r("861d"),s=r("b622"),u=s("species"),c=n.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,a(t)&&(t===c||i(t.prototype))?t=void 0:o(t)&&(t=t[u],null===t&&(t=void 0))),void 0===t?c:t}},"0c47":function(e,t,r){var n=r("da84"),i=r("d44e");i(n.JSON,"JSON",!0)},"0cb2":function(e,t,r){var n=r("e330"),i=r("7b0b"),a=Math.floor,o=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,h){var d=r+e.length,p=n.length,v=l;return void 0!==f&&(f=i(f),v=c),s(h,v,(function(i,s){var c;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,d);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>p){var h=a(l/10);return 0===h?i:h<=p?void 0===n[h-1]?o(s,1):n[h-1]+o(s,1):i}c=n[l-1]}return void 0===c?"":c}))}},"0ccb":function(e,t,r){var n=r("e330"),i=r("50c4"),a=r("577e"),o=r("1148"),s=r("1d80"),u=n(o),c=n("".slice),l=Math.ceil,f=function(e){return function(t,r,n){var o,f,h=a(s(t)),d=i(r),p=h.length,v=void 0===n?" ":a(n);return d<=p||""==v?h:(o=d-p,f=u(v,l(o/v.length)),f.length>o&&(f=c(f,0,o)),e?h+f:f+h)}};e.exports={start:f(!1),end:f(!0)}},"0cfb":function(e,t,r){var n=r("83ab"),i=r("d039"),a=r("cc12");e.exports=!n&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(e,t,r){var n=r("d039"),i=r("b622"),a=r("c430"),o=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"0d51":function(e,t,r){var n=r("da84"),i=n.String;e.exports=function(e){try{return i(e)}catch(t){return"Object"}}},1:function(e,t){},"107c":function(e,t,r){var n=r("d039"),i=r("da84"),a=i.RegExp;e.exports=n((function(){var e=a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"10d1":function(e,t,r){"use strict";var n,i=r("da84"),a=r("e330"),o=r("e2cc"),s=r("f183"),u=r("6d61"),c=r("acac"),l=r("861d"),f=r("4fad"),h=r("69f3").enforce,d=r("7f9a"),p=!i.ActiveXObject&&"ActiveXObject"in i,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},g=u("WeakMap",v,c);if(d&&p){n=c.getConstructor(v,"WeakMap",!0),s.enable();var m=g.prototype,y=a(m["delete"]),b=a(m.has),_=a(m.get),w=a(m.set);o(m,{delete:function(e){if(l(e)&&!f(e)){var t=h(this);return t.frozen||(t.frozen=new n),y(this,e)||t.frozen["delete"](e)}return y(this,e)},has:function(e){if(l(e)&&!f(e)){var t=h(this);return t.frozen||(t.frozen=new n),b(this,e)||t.frozen.has(e)}return b(this,e)},get:function(e){if(l(e)&&!f(e)){var t=h(this);return t.frozen||(t.frozen=new n),b(this,e)?_(this,e):t.frozen.get(e)}return _(this,e)},set:function(e,t){if(l(e)&&!f(e)){var r=h(this);r.frozen||(r.frozen=new n),b(this,e)?w(this,e,t):r.frozen.set(e,t)}else w(this,e,t);return this}})}},1148:function(e,t,r){"use strict";var n=r("da84"),i=r("5926"),a=r("577e"),o=r("1d80"),s=n.RangeError;e.exports=function(e){var t=a(o(this)),r="",n=i(e);if(n<0||n==1/0)throw s("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(r+=t);return r}},1276:function(e,t,r){"use strict";var n=r("2ba4"),i=r("c65b"),a=r("e330"),o=r("d784"),s=r("44e7"),u=r("825a"),c=r("1d80"),l=r("4840"),f=r("8aa5"),h=r("50c4"),d=r("577e"),p=r("dc4a"),v=r("f36a"),g=r("14c3"),m=r("9263"),y=r("9f7f"),b=r("d039"),_=y.UNSUPPORTED_Y,w=4294967295,S=Math.min,A=[].push,x=a(/./.exec),k=a(A),P=a("".slice),C=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));o("split",(function(e,t,r){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var a=d(c(this)),o=void 0===r?w:r>>>0;if(0===o)return[];if(void 0===e)return[a];if(!s(e))return i(t,a,e,o);var u,l,f,h=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,y=new RegExp(e.source,p+"g");while(u=i(m,y,a)){if(l=y.lastIndex,l>g&&(k(h,P(a,g,u.index)),u.length>1&&u.index<a.length&&n(A,h,v(u,1)),f=u[0].length,g=l,h.length>=o))break;y.lastIndex===u.index&&y.lastIndex++}return g===a.length?!f&&x(y,"")||k(h,""):k(h,P(a,g)),h.length>o?v(h,0,o):h}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:i(t,this,e,r)}:t,[function(t,r){var n=c(this),o=void 0==t?void 0:p(t,e);return o?i(o,t,n,r):i(a,d(n),t,r)},function(e,n){var i=u(this),o=d(e),s=r(a,i,o,n,a!==t);if(s.done)return s.value;var c=l(i,RegExp),p=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_?"g":"y"),m=new c(_?"^(?:"+i.source+")":i,v),y=void 0===n?w:n>>>0;if(0===y)return[];if(0===o.length)return null===g(m,o)?[o]:[];var b=0,A=0,x=[];while(A<o.length){m.lastIndex=_?0:A;var C,T=g(m,_?P(o,A):o);if(null===T||(C=S(h(m.lastIndex+(_?A:0)),o.length))===b)A=f(o,A,p);else{if(k(x,P(o,b,A)),x.length===y)return x;for(var E=1;E<=T.length-1;E++)if(k(x,T[E]),x.length===y)return x;A=b=C}}return k(x,P(o,b)),x}]}),!C,_)},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"134b":function(e,t,r){"use strict";var n=r("cf3f"),i=r("84f2");"undefined"!==typeof window&&"Worker"in window&&(n.GlobalWorkerOptions.workerPort=new i),e.exports=n},"143c":function(e,t,r){var n=r("74e8");n("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1448:function(e,t,r){var n=r("dfb9"),i=r("b6b7");e.exports=function(e,t){return n(i(e),t)}},"145e":function(e,t,r){"use strict";var n=r("7b0b"),i=r("23cb"),a=r("07fa"),o=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=a(r),u=i(e,s),c=i(t,s),l=arguments.length>2?arguments[2]:void 0,f=o((void 0===l?s:i(l,s))-c,s-u),h=1;c<u&&u<c+f&&(h=-1,c+=f-1,u+=f-1);while(f-- >0)c in r?r[u]=r[c]:delete r[u],u+=h,c+=h;return r}},"14c3":function(e,t,r){var n=r("da84"),i=r("c65b"),a=r("825a"),o=r("1626"),s=r("c6b6"),u=r("9263"),c=n.TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var n=i(r,e,t);return null!==n&&a(n),n}if("RegExp"===s(e))return i(u,e,t);throw c("RegExp#exec called on incompatible receiver")}},"159b":function(e,t,r){var n=r("da84"),i=r("fdbc"),a=r("785a"),o=r("17c2"),s=r("9112"),u=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var c in i)i[c]&&u(n[c]&&n[c].prototype);u(a)},1626:function(e,t){e.exports=function(e){return"function"==typeof e}},"170b":function(e,t,r){"use strict";var n=r("ebb5"),i=r("50c4"),a=r("23cb"),o=r("b6b7"),s=n.aTypedArray,u=n.exportTypedArrayMethod;u("subarray",(function(e,t){var r=s(this),n=r.length,u=a(e,n),c=o(r);return new c(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,i((void 0===t?n:a(t,n))-u))}))},"17c2":function(e,t,r){"use strict";var n=r("b727").forEach,i=r("a640"),a=i("forEach");e.exports=a?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"182d":function(e,t,r){var n=r("da84"),i=r("f8cd"),a=n.RangeError;e.exports=function(e,t){var r=i(e);if(r%t)throw a("Wrong offset");return r}},1985:function(e,t,r){(function(e,n){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n&&n;o.global!==o&&o.window!==o&&o.self;var s,u=2147483647,c=36,l=1,f=26,h=38,d=700,p=72,v=128,g="-",m=/^xn--/,y=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-l,S=Math.floor,A=String.fromCharCode;function x(e){throw new RangeError(_[e])}function k(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function P(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(b,".");var i=e.split("."),a=k(i,t).join(".");return n+a}function C(e){var t,r,n=[],i=0,a=e.length;while(i<a)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<a?(r=e.charCodeAt(i++),56320==(64512&r)?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--)):n.push(t);return n}function T(e){return k(e,(function(e){var t="";return e>65535&&(e-=65536,t+=A(e>>>10&1023|55296),e=56320|1023&e),t+=A(e),t})).join("")}function E(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function R(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function L(e,t,r){var n=0;for(e=r?S(e/d):e>>1,e+=S(e/t);e>w*f>>1;n+=c)e=S(e/w);return S(n+(w+1)*e/(e+h))}function O(e){var t,r,n,i,a,o,s,h,d,m,y=[],b=e.length,_=0,w=v,A=p;for(r=e.lastIndexOf(g),r<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&x("not-basic"),y.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<b;){for(a=_,o=1,s=c;;s+=c){if(i>=b&&x("invalid-input"),h=E(e.charCodeAt(i++)),(h>=c||h>S((u-_)/o))&&x("overflow"),_+=h*o,d=s<=A?l:s>=A+f?f:s-A,h<d)break;m=c-d,o>S(u/m)&&x("overflow"),o*=m}t=y.length+1,A=L(_-a,t,0==a),S(_/t)>u-w&&x("overflow"),w+=S(_/t),_%=t,y.splice(_++,0,w)}return T(y)}function I(e){var t,r,n,i,a,o,s,h,d,m,y,b,_,w,k,P=[];for(e=C(e),b=e.length,t=v,r=0,a=p,o=0;o<b;++o)y=e[o],y<128&&P.push(A(y));n=i=P.length,i&&P.push(g);while(n<b){for(s=u,o=0;o<b;++o)y=e[o],y>=t&&y<s&&(s=y);for(_=n+1,s-t>S((u-r)/_)&&x("overflow"),r+=(s-t)*_,t=s,o=0;o<b;++o)if(y=e[o],y<t&&++r>u&&x("overflow"),y==t){for(h=r,d=c;;d+=c){if(m=d<=a?l:d>=a+f?f:d-a,h<m)break;k=h-m,w=c-m,P.push(A(R(m+k%w,0))),h=S(k/w)}P.push(A(R(h,0))),a=L(r,_,n==i),r=0,++n}++r,++t}return P.join("")}function M(e){return P(e,(function(e){return m.test(e)?O(e.slice(4).toLowerCase()):e}))}function N(e){return P(e,(function(e){return y.test(e)?"xn--"+I(e):e}))}s={version:"1.4.1",ucs2:{decode:C,encode:T},decode:O,encode:I,toASCII:N,toUnicode:M},i=function(){return s}.call(t,r,t,e),void 0===i||(e.exports=i)})()}).call(this,r("62e4")(e),r("c8ba"))},"19aa":function(e,t,r){var n=r("da84"),i=r("3a9b"),a=n.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw a("Incorrect invocation")}},"1a2d":function(e,t,r){var n=r("e330"),i=r("7b0b"),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},"1be4":function(e,t,r){var n=r("d066");e.exports=n("document","documentElement")},"1c7e":function(e,t,r){var n=r("b622"),i=n("iterator"),a=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){a=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var n={};n[i]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(u){}return r}},"1cdc":function(e,t,r){var n=r("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},"1d80":function(e,t,r){var n=r("da84"),i=n.TypeError;e.exports=function(e){if(void 0==e)throw i("Can't call method on "+e);return e}},"1dde":function(e,t,r){var n=r("d039"),i=r("b622"),a=r("2d00"),o=i("species");e.exports=function(e){return a>=51||!n((function(){var t=[],r=t.constructor={};return r[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1fb5":function(e,t,r){"use strict";t.byteLength=l,t.toByteArray=h,t.fromByteArray=v;for(var n=[],i=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=o.length;s<u;++s)n[s]=o[s],i[o.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function l(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function f(e,t,r){return 3*(t+r)/4-r}function h(e){var t,r,n=c(e),o=n[0],s=n[1],u=new a(f(e,o,s)),l=0,h=s>0?o-4:o;for(r=0;r<h;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u}function d(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,i=[],a=t;a<r;a+=3)n=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(d(n));return i.join("")}function v(e){for(var t,r=e.length,i=r%3,a=[],o=16383,s=0,u=r-i;s<u;s+=o)a.push(p(e,s,s+o>u?u:s+o));return 1===i?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fe2":function(e,t,r){"use strict";var n=r("6d61"),i=r("acac");n("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},2:function(e,t){},"219c":function(e,t,r){"use strict";var n=r("da84"),i=r("e330"),a=r("d039"),o=r("59ed"),s=r("addb"),u=r("ebb5"),c=r("04d1"),l=r("d998"),f=r("2d00"),h=r("512c"),d=n.Array,p=u.aTypedArray,v=u.exportTypedArrayMethod,g=n.Uint16Array,m=g&&i(g.prototype.sort),y=!!m&&!(a((function(){m(new g(2),null)}))&&a((function(){m(new g(2),{})}))),b=!!m&&!a((function(){if(f)return f<74;if(c)return c<67;if(l)return!0;if(h)return h<602;var e,t,r=new g(516),n=d(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(m(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0})),_=function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!==r?-1:t!==t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}};v("sort",(function(e){return void 0!==e&&o(e),b?m(this,e):s(p(this),_(e))}),!b||y)},2266:function(e,t,r){var n=r("da84"),i=r("0366"),a=r("c65b"),o=r("825a"),s=r("0d51"),u=r("e95a"),c=r("07fa"),l=r("3a9b"),f=r("9a1f"),h=r("35a1"),d=r("2a62"),p=n.TypeError,v=function(e,t){this.stopped=e,this.result=t},g=v.prototype;e.exports=function(e,t,r){var n,m,y,b,_,w,S,A=r&&r.that,x=!(!r||!r.AS_ENTRIES),k=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),C=i(t,A),T=function(e){return n&&d(n,"normal",e),new v(!0,e)},E=function(e){return x?(o(e),P?C(e[0],e[1],T):C(e[0],e[1])):P?C(e,T):C(e)};if(k)n=e;else{if(m=h(e),!m)throw p(s(e)+" is not iterable");if(u(m)){for(y=0,b=c(e);b>y;y++)if(_=E(e[y]),_&&l(g,_))return _;return new v(!1)}n=f(e,m)}w=n.next;while(!(S=a(w,n)).done){try{_=E(S.value)}catch(R){d(n,"throw",R)}if("object"==typeof _&&_&&l(g,_))return _}return new v(!1)}},"23cb":function(e,t,r){var n=r("5926"),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},"23dc":function(e,t,r){var n=r("d44e");n(Math,"Math",!0)},"23e7":function(e,t,r){var n=r("da84"),i=r("06cf").f,a=r("9112"),o=r("6eeb"),s=r("ce4e"),u=r("e893"),c=r("94ca");e.exports=function(e,t){var r,l,f,h,d,p,v=e.target,g=e.global,m=e.stat;if(l=g?n:m?n[v]||s(v,{}):(n[v]||{}).prototype,l)for(f in t){if(d=t[f],e.noTargetGet?(p=i(l,f),h=p&&p.value):h=l[f],r=c(g?f:v+(m?".":"#")+f,e.forced),!r&&void 0!==h){if(typeof d==typeof h)continue;u(d,h)}(e.sham||h&&h.sham)&&a(d,"sham",!0),o(l,f,d,e)}}},"241c":function(e,t,r){var n=r("ca84"),i=r("7839"),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},2532:function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),a=r("5a34"),o=r("1d80"),s=r("577e"),u=r("ab13"),c=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(o(this)),s(a(e)),arguments.length>1?arguments[1]:void 0)}})},"25a1":function(e,t,r){"use strict";var n=r("ebb5"),i=r("d58f").right,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("reduceRight",(function(e){var t=arguments.length;return i(a(this),e,t,t>1?arguments[1]:void 0)}))},"25f0":function(e,t,r){"use strict";var n=r("e330"),i=r("5e77").PROPER,a=r("6eeb"),o=r("825a"),s=r("3a9b"),u=r("577e"),c=r("d039"),l=r("ad6d"),f="toString",h=RegExp.prototype,d=h[f],p=n(l),v=c((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),g=i&&d.name!=f;(v||g)&&a(RegExp.prototype,f,(function(){var e=o(this),t=u(e.source),r=e.flags,n=u(void 0===r&&s(h,e)&&!("flags"in h)?p(e):r);return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,r){"use strict";var n=r("d066"),i=r("9bf2"),a=r("b622"),o=r("83ab"),s=a("species");e.exports=function(e){var t=n(e),r=i.f;o&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},2954:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b6b7"),a=r("d039"),o=r("f36a"),s=n.aTypedArray,u=n.exportTypedArrayMethod,c=a((function(){new Int8Array(1).slice()}));u("slice",(function(e,t){var r=o(s(this),e,t),n=i(this),a=0,u=r.length,c=new n(u);while(u>a)c[a]=r[a++];return c}),c)},"2a62":function(e,t,r){var n=r("c65b"),i=r("825a"),a=r("dc4a");e.exports=function(e,t,r){var o,s;i(e);try{if(o=a(e,"return"),!o){if("throw"===t)throw r;return r}o=n(o,e)}catch(u){s=!0,o=u}if("throw"===t)throw r;if(s)throw o;return i(o),r}},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,i=r("23e7"),a=r("83ab"),o=r("0d3b"),s=r("da84"),u=r("0366"),c=r("c65b"),l=r("e330"),f=r("37e8"),h=r("6eeb"),d=r("19aa"),p=r("1a2d"),v=r("60da"),g=r("4df4"),m=r("f36a"),y=r("6547").codeAt,b=r("5fb2"),_=r("577e"),w=r("d44e"),S=r("9861"),A=r("69f3"),x=A.set,k=A.getterFor("URL"),P=S.URLSearchParams,C=S.getState,T=s.URL,E=s.TypeError,R=s.parseInt,L=Math.floor,O=Math.pow,I=l("".charAt),M=l(/./.exec),N=l([].join),F=l(1..toString),j=l([].pop),U=l([].push),D=l("".replace),B=l([].shift),q=l("".split),H=l("".slice),V=l("".toLowerCase),W=l([].unshift),G="Invalid authority",z="Invalid scheme",Y="Invalid host",K="Invalid port",X=/[a-z]/i,J=/[\d+-.a-z]/i,Q=/\d/,$=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,ie=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ae=/[\t\n\r]/g,oe=function(e,t){var r,n,i;if("["==I(t,0)){if("]"!=I(t,t.length-1))return Y;if(r=ue(H(t,1,-1)),!r)return Y;e.host=r}else if(me(e)){if(t=b(t),M(re,t))return Y;if(r=se(t),null===r)return Y;e.host=r}else{if(M(ne,t))return Y;for(r="",n=g(t),i=0;i<n.length;i++)r+=ve(n[i],fe);e.host=r}},se=function(e){var t,r,n,i,a,o,s,u=q(e,".");if(u.length&&""==u[u.length-1]&&u.length--,t=u.length,t>4)return e;for(r=[],n=0;n<t;n++){if(i=u[n],""==i)return e;if(a=10,i.length>1&&"0"==I(i,0)&&(a=M($,i)?16:8,i=H(i,8==a?1:2)),""===i)o=0;else{if(!M(10==a?ee:8==a?Z:te,i))return e;o=R(i,a)}U(r,o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=O(256,5-t))return null}else if(o>255)return null;for(s=j(r),n=0;n<r.length;n++)s+=r[n]*O(256,3-n);return s},ue=function(e){var t,r,n,i,a,o,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return I(e,f)};if(":"==h()){if(":"!=I(e,1))return;f+=2,c++,l=c}while(h()){if(8==c)return;if(":"!=h()){t=r=0;while(r<4&&M(te,h()))t=16*t+R(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,c>6)return;n=0;while(h()){if(i=null,n>0){if(!("."==h()&&n<4))return;f++}if(!M(Q,h()))return;while(M(Q,h())){if(a=R(h(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;f++}u[c]=256*u[c]+i,n++,2!=n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;u[c++]=t}else{if(null!==l)return;f++,c++,l=c}}if(null!==l){o=c-l,c=7;while(0!=c&&o>0)s=u[c],u[c--]=u[l+o-1],u[l+--o]=s}else if(8!=c)return;return u},ce=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r&&(t=n,r=i),t},le=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)W(t,e%256),e=L(e/256);return N(t,".")}if("object"==typeof e){for(t="",n=ce(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=F(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},fe={},he=v({},fe,{" ":1,'"':1,"<":1,">":1,"`":1}),de=v({},he,{"#":1,"?":1,"{":1,"}":1}),pe=v({},de,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ve=function(e,t){var r=y(e,0);return r>32&&r<127&&!p(t,e)?e:encodeURIComponent(e)},ge={ftp:21,file:null,http:80,https:443,ws:80,wss:443},me=function(e){return p(ge,e.scheme)},ye=function(e){return""!=e.username||""!=e.password},be=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},_e=function(e,t){var r;return 2==e.length&&M(X,I(e,0))&&(":"==(r=I(e,1))||!t&&"|"==r)},we=function(e){var t;return e.length>1&&_e(H(e,0,2))&&(2==e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},Se=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&_e(t[0],!0)||t.length--},Ae=function(e){return"."===e||"%2e"===V(e)},xe=function(e){return e=V(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ke={},Pe={},Ce={},Te={},Ee={},Re={},Le={},Oe={},Ie={},Me={},Ne={},Fe={},je={},Ue={},De={},Be={},qe={},He={},Ve={},We={},Ge={},ze=function(e,t,r,i){var a,o,s,u,c=r||ke,l=0,f="",h=!1,d=!1,v=!1;r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=D(t,ie,"")),t=D(t,ae,""),a=g(t);while(l<=a.length){switch(o=a[l],c){case ke:if(!o||!M(X,o)){if(r)return z;c=Ce;continue}f+=V(o),c=Pe;break;case Pe:if(o&&(M(J,o)||"+"==o||"-"==o||"."==o))f+=V(o);else{if(":"!=o){if(r)return z;f="",c=Ce,l=0;continue}if(r&&(me(e)!=p(ge,f)||"file"==f&&(ye(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,r)return void(me(e)&&ge[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?c=Ue:me(e)&&i&&i.scheme==e.scheme?c=Te:me(e)?c=Oe:"/"==a[l+1]?(c=Ee,l++):(e.cannotBeABaseURL=!0,U(e.path,""),c=Ve)}break;case Ce:if(!i||i.cannotBeABaseURL&&"#"!=o)return z;if(i.cannotBeABaseURL&&"#"==o){e.scheme=i.scheme,e.path=m(i.path),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,c=Ge;break}c="file"==i.scheme?Ue:Re;continue;case Te:if("/"!=o||"/"!=a[l+1]){c=Re;continue}c=Ie,l++;break;case Ee:if("/"==o){c=Me;break}c=He;continue;case Re:if(e.scheme=i.scheme,o==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=m(i.path),e.query=i.query;else if("/"==o||"\\"==o&&me(e))c=Le;else if("?"==o)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=m(i.path),e.query="",c=We;else{if("#"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=m(i.path),e.path.length--,c=He;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=m(i.path),e.query=i.query,e.fragment="",c=Ge}break;case Le:if(!me(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,c=He;continue}c=Me}else c=Ie;break;case Oe:if(c=Ie,"/"!=o||"/"!=I(f,l+1))continue;l++;break;case Ie:if("/"!=o&&"\\"!=o){c=Me;continue}break;case Me:if("@"==o){h&&(f="%40"+f),h=!0,s=g(f);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||v){var _=ve(b,pe);v?e.password+=_:e.username+=_}else v=!0}f=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&me(e)){if(h&&""==f)return G;l-=g(f).length+1,f="",c=Ne}else f+=o;break;case Ne:case Fe:if(r&&"file"==e.scheme){c=Be;continue}if(":"!=o||d){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&me(e)){if(me(e)&&""==f)return Y;if(r&&""==f&&(ye(e)||null!==e.port))return;if(u=oe(e,f),u)return u;if(f="",c=qe,r)return;continue}"["==o?d=!0:"]"==o&&(d=!1),f+=o}else{if(""==f)return Y;if(u=oe(e,f),u)return u;if(f="",c=je,r==Fe)return}break;case je:if(!M(Q,o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&me(e)||r){if(""!=f){var w=R(f,10);if(w>65535)return K;e.port=me(e)&&w===ge[e.scheme]?null:w,f=""}if(r)return;c=qe;continue}return K}f+=o;break;case Ue:if(e.scheme="file","/"==o||"\\"==o)c=De;else{if(!i||"file"!=i.scheme){c=He;continue}if(o==n)e.host=i.host,e.path=m(i.path),e.query=i.query;else if("?"==o)e.host=i.host,e.path=m(i.path),e.query="",c=We;else{if("#"!=o){we(N(m(a,l),""))||(e.host=i.host,e.path=m(i.path),Se(e)),c=He;continue}e.host=i.host,e.path=m(i.path),e.query=i.query,e.fragment="",c=Ge}}break;case De:if("/"==o||"\\"==o){c=Be;break}i&&"file"==i.scheme&&!we(N(m(a,l),""))&&(_e(i.path[0],!0)?U(e.path,i.path[0]):e.host=i.host),c=He;continue;case Be:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!r&&_e(f))c=He;else if(""==f){if(e.host="",r)return;c=qe}else{if(u=oe(e,f),u)return u;if("localhost"==e.host&&(e.host=""),r)return;f="",c=qe}continue}f+=o;break;case qe:if(me(e)){if(c=He,"/"!=o&&"\\"!=o)continue}else if(r||"?"!=o)if(r||"#"!=o){if(o!=n&&(c=He,"/"!=o))continue}else e.fragment="",c=Ge;else e.query="",c=We;break;case He:if(o==n||"/"==o||"\\"==o&&me(e)||!r&&("?"==o||"#"==o)){if(xe(f)?(Se(e),"/"==o||"\\"==o&&me(e)||U(e.path,"")):Ae(f)?"/"==o||"\\"==o&&me(e)||U(e.path,""):("file"==e.scheme&&!e.path.length&&_e(f)&&(e.host&&(e.host=""),f=I(f,0)+":"),U(e.path,f)),f="","file"==e.scheme&&(o==n||"?"==o||"#"==o))while(e.path.length>1&&""===e.path[0])B(e.path);"?"==o?(e.query="",c=We):"#"==o&&(e.fragment="",c=Ge)}else f+=ve(o,de);break;case Ve:"?"==o?(e.query="",c=We):"#"==o?(e.fragment="",c=Ge):o!=n&&(e.path[0]+=ve(o,fe));break;case We:r||"#"!=o?o!=n&&("'"==o&&me(e)?e.query+="%27":e.query+="#"==o?"%23":ve(o,fe)):(e.fragment="",c=Ge);break;case Ge:o!=n&&(e.fragment+=ve(o,he));break}l++}},Ye=function(e){var t,r,n=d(this,Ke),i=arguments.length>1?arguments[1]:void 0,o=_(e),s=x(n,{type:"URL"});if(void 0!==i)try{t=k(i)}catch(f){if(r=ze(t={},_(i)),r)throw E(r)}if(r=ze(s,o,null,t),r)throw E(r);var u=s.searchParams=new P,l=C(u);l.updateSearchParams(s.query),l.updateURL=function(){s.query=_(u)||null},a||(n.href=c(Xe,n),n.origin=c(Je,n),n.protocol=c(Qe,n),n.username=c($e,n),n.password=c(Ze,n),n.host=c(et,n),n.hostname=c(tt,n),n.port=c(rt,n),n.pathname=c(nt,n),n.search=c(it,n),n.searchParams=c(at,n),n.hash=c(ot,n))},Ke=Ye.prototype,Xe=function(){var e=k(this),t=e.scheme,r=e.username,n=e.password,i=e.host,a=e.port,o=e.path,s=e.query,u=e.fragment,c=t+":";return null!==i?(c+="//",ye(e)&&(c+=r+(n?":"+n:"")+"@"),c+=le(i),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?o[0]:o.length?"/"+N(o,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},Je=function(){var e=k(this),t=e.scheme,r=e.port;if("blob"==t)try{return new Ye(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&me(e)?t+"://"+le(e.host)+(null!==r?":"+r:""):"null"},Qe=function(){return k(this).scheme+":"},$e=function(){return k(this).username},Ze=function(){return k(this).password},et=function(){var e=k(this),t=e.host,r=e.port;return null===t?"":null===r?le(t):le(t)+":"+r},tt=function(){var e=k(this).host;return null===e?"":le(e)},rt=function(){var e=k(this).port;return null===e?"":_(e)},nt=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+N(t,"/"):""},it=function(){var e=k(this).query;return e?"?"+e:""},at=function(){return k(this).searchParams},ot=function(){var e=k(this).fragment;return e?"#"+e:""},st=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&f(Ke,{href:st(Xe,(function(e){var t=k(this),r=_(e),n=ze(t,r);if(n)throw E(n);C(t.searchParams).updateSearchParams(t.query)})),origin:st(Je),protocol:st(Qe,(function(e){var t=k(this);ze(t,_(e)+":",ke)})),username:st($e,(function(e){var t=k(this),r=g(_(e));if(!be(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=ve(r[n],pe)}})),password:st(Ze,(function(e){var t=k(this),r=g(_(e));if(!be(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=ve(r[n],pe)}})),host:st(et,(function(e){var t=k(this);t.cannotBeABaseURL||ze(t,_(e),Ne)})),hostname:st(tt,(function(e){var t=k(this);t.cannotBeABaseURL||ze(t,_(e),Fe)})),port:st(rt,(function(e){var t=k(this);be(t)||(e=_(e),""==e?t.port=null:ze(t,e,je))})),pathname:st(nt,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],ze(t,_(e),qe))})),search:st(it,(function(e){var t=k(this);e=_(e),""==e?t.query=null:("?"==I(e,0)&&(e=H(e,1)),t.query="",ze(t,e,We)),C(t.searchParams).updateSearchParams(t.query)})),searchParams:st(at),hash:st(ot,(function(e){var t=k(this);e=_(e),""!=e?("#"==I(e,0)&&(e=H(e,1)),t.fragment="",ze(t,e,Ge)):t.fragment=null}))}),h(Ke,"toJSON",(function(){return c(Xe,this)}),{enumerable:!0}),h(Ke,"toString",(function(){return c(Xe,this)}),{enumerable:!0}),T){var ut=T.createObjectURL,ct=T.revokeObjectURL;ut&&h(Ye,"createObjectURL",u(ut,T)),ct&&h(Ye,"revokeObjectURL",u(ct,T))}w(Ye,"URL"),i({global:!0,forced:!o,sham:!a},{URL:Ye})},"2ba4":function(e,t){var r=Function.prototype,n=r.apply,i=r.bind,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(n):function(){return a.apply(n,arguments)})},"2c3e":function(e,t,r){var n=r("da84"),i=r("83ab"),a=r("9f7f").UNSUPPORTED_Y,o=r("c6b6"),s=r("9bf2").f,u=r("69f3").get,c=RegExp.prototype,l=n.TypeError;i&&a&&s(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!u(this).sticky;throw l("Incompatible receiver, RegExp required")}}})},"2ca0":function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),a=r("06cf").f,o=r("50c4"),s=r("577e"),u=r("5a34"),c=r("1d80"),l=r("ab13"),f=r("c430"),h=i("".startsWith),d=i("".slice),p=Math.min,v=l("startsWith"),g=!f&&!v&&!!function(){var e=a(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!g&&!v},{startsWith:function(e){var t=s(c(this));u(e);var r=o(p(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return h?h(t,n,r):d(t,r,r+n.length)===n}})},"2cf4":function(e,t,r){var n,i,a,o,s=r("da84"),u=r("2ba4"),c=r("0366"),l=r("1626"),f=r("1a2d"),h=r("d039"),d=r("1be4"),p=r("f36a"),v=r("cc12"),g=r("1cdc"),m=r("605d"),y=s.setImmediate,b=s.clearImmediate,_=s.process,w=s.Dispatch,S=s.Function,A=s.MessageChannel,x=s.String,k=0,P={},C="onreadystatechange";try{n=s.location}catch(O){}var T=function(e){if(f(P,e)){var t=P[e];delete P[e],t()}},E=function(e){return function(){T(e)}},R=function(e){T(e.data)},L=function(e){s.postMessage(x(e),n.protocol+"//"+n.host)};y&&b||(y=function(e){var t=p(arguments,1);return P[++k]=function(){u(l(e)?e:S(e),void 0,t)},i(k),k},b=function(e){delete P[e]},m?i=function(e){_.nextTick(E(e))}:w&&w.now?i=function(e){w.now(E(e))}:A&&!g?(a=new A,o=a.port2,a.port1.onmessage=R,i=c(o.postMessage,o)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!h(L)?(i=L,s.addEventListener("message",R,!1)):i=C in v("script")?function(e){d.appendChild(v("script"))[C]=function(){d.removeChild(this),T(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:y,clear:b}},"2d00":function(e,t,r){var n,i,a=r("da84"),o=r("342f"),s=a.process,u=a.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(n=l.split("."),i=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(n=o.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/),n&&(i=+n[1]))),e.exports=i},"2f5a":function(e,t,r){},3:function(e,t){},3280:function(e,t,r){"use strict";var n=r("ebb5"),i=r("2ba4"),a=r("e58c"),o=n.aTypedArray,s=n.exportTypedArrayMethod;s("lastIndexOf",(function(e){var t=arguments.length;return i(a,o(this),t>1?[e,arguments[1]]:[e])}))},3410:function(e,t,r){var n=r("23e7"),i=r("d039"),a=r("7b0b"),o=r("e163"),s=r("e177"),u=i((function(){o(1)}));n({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(e){return o(a(e))}})},"342f":function(e,t,r){var n=r("d066");e.exports=n("navigator","userAgent")||""},"35a1":function(e,t,r){var n=r("f5df"),i=r("dc4a"),a=r("3f8c"),o=r("b622"),s=o("iterator");e.exports=function(e){if(void 0!=e)return i(e,s)||i(e,"@@iterator")||a[n(e)]}},"35e8":function(e,t,r){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},"37e8":function(e,t,r){var n=r("83ab"),i=r("9bf2"),a=r("825a"),o=r("fc6a"),s=r("df75");e.exports=n?Object.defineProperties:function(e,t){a(e);var r,n=o(t),u=s(t),c=u.length,l=0;while(c>l)i.f(e,r=u[l++],n[r]);return e}},"38cf":function(e,t,r){var n=r("23e7"),i=r("1148");n({target:"String",proto:!0},{repeat:i})},"3a7b":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").findIndex,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("findIndex",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"3a9b":function(e,t,r){var n=r("e330");e.exports=n({}.isPrototypeOf)},"3bbe":function(e,t,r){var n=r("da84"),i=r("1626"),a=n.String,o=n.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw o("Can't set "+a(e)+" as a prototype")}},"3c5d":function(e,t,r){"use strict";var n=r("da84"),i=r("ebb5"),a=r("07fa"),o=r("182d"),s=r("7b0b"),u=r("d039"),c=n.RangeError,l=i.aTypedArray,f=i.exportTypedArrayMethod,h=u((function(){new Int8Array(1).set({})}));f("set",(function(e){l(this);var t=o(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=s(e),i=a(n),u=0;if(i+t>r)throw c("Wrong length");while(u<i)this[t+u]=n[u++]}),h)},"3ca3":function(e,t,r){"use strict";var n=r("6547").charAt,i=r("577e"),a=r("69f3"),o=r("7dd0"),s="String Iterator",u=a.set,c=a.getterFor(s);o(String,"String",(function(e){u(this,{type:s,string:i(e),index:0})}),(function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},"3f8b":function(e,t,r){},"3f8c":function(e,t){e.exports={}},"3fcc":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").map,a=r("b6b7"),o=n.aTypedArray,s=n.exportTypedArrayMethod;s("map",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(a(e))(t)}))}))},4e3:function(e,t,r){(function(e){var n,i,a,o=r("7037").default;r("a4d3"),r("e01a"),r("d3b7"),r("944a"),r("0c47"),r("23dc"),r("d28b"),r("e260"),r("3ca3"),r("ddb0"),r("e6cf"),r("ac1f"),r("5319"),r("1276"),r("4e82"),r("498a"),r("caad"),r("2532"),r("8ba4"),r("a9e3"),r("07ac"),r("b0c0"),r("a434"),r("fb6a"),r("159b"),r("b636"),r("3410"),r("25f0"),r("e9c4"),r("841c"),r("99af"),r("b680"),r("2b3d"),r("9861"),r("00b4"),r("466d"),r("a15b"),r("b64b"),r("4d63"),r("c607"),r("2c3e"),r("2ca0"),r("cca6"),r("9129"),r("10d1"),r("a79d"),r("dca8"),r("f8c9"),r("5d41"),r("e439"),r("6062"),r("d81d"),function(r,s){"object"===o(t)&&"object"===o(e)?e.exports=s():(i=[],n=s,a="function"===typeof n?n.apply(t,i):n,void 0===a||(e.exports=a))}(0,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===o(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return n.AnnotationLayerBuilder}}),Object.defineProperty(t,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return n.DefaultAnnotationLayerFactory}}),Object.defineProperty(t,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return i.DefaultTextLayerFactory}}),Object.defineProperty(t,"TextLayerBuilder",{enumerable:!0,get:function(){return i.TextLayerBuilder}}),Object.defineProperty(t,"EventBus",{enumerable:!0,get:function(){return a.EventBus}}),Object.defineProperty(t,"NullL10n",{enumerable:!0,get:function(){return a.NullL10n}}),Object.defineProperty(t,"ProgressBar",{enumerable:!0,get:function(){return a.ProgressBar}}),Object.defineProperty(t,"PDFLinkService",{enumerable:!0,get:function(){return o.PDFLinkService}}),Object.defineProperty(t,"SimpleLinkService",{enumerable:!0,get:function(){return o.SimpleLinkService}}),Object.defineProperty(t,"DownloadManager",{enumerable:!0,get:function(){return s.DownloadManager}}),Object.defineProperty(t,"GenericL10n",{enumerable:!0,get:function(){return u.GenericL10n}}),Object.defineProperty(t,"PDFFindController",{enumerable:!0,get:function(){return c.PDFFindController}}),Object.defineProperty(t,"PDFHistory",{enumerable:!0,get:function(){return l.PDFHistory}}),Object.defineProperty(t,"PDFPageView",{enumerable:!0,get:function(){return f.PDFPageView}}),Object.defineProperty(t,"PDFSinglePageViewer",{enumerable:!0,get:function(){return h.PDFSinglePageViewer}}),Object.defineProperty(t,"PDFViewer",{enumerable:!0,get:function(){return d.PDFViewer}});var n=r(1),i=r(8),a=r(3),o=r(7),s=r(9),u=r(10),c=r(12),l=r(14),f=r(15),h=r(18),d=r(20);(0,a.getGlobalEventBus)(!0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultAnnotationLayerFactory=t.AnnotationLayerBuilder=void 0;var n=r(2),i=r(3),a=r(7);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}var c=function(){function e(t){var r=t.pageDiv,n=t.pdfPage,a=t.linkService,s=t.downloadManager,u=t.imageResourcesPath,c=void 0===u?"":u,l=t.renderInteractiveForms,f=void 0!==l&&l,h=t.l10n,d=void 0===h?i.NullL10n:h;o(this,e),this.pageDiv=r,this.pdfPage=n,this.linkService=a,this.downloadManager=s,this.imageResourcesPath=c,this.renderInteractiveForms=f,this.l10n=d,this.div=null,this._cancelled=!1}return u(e,[{key:"render",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"display";this.pdfPage.getAnnotations({intent:r}).then((function(r){if(!t._cancelled){var i={viewport:e.clone({dontFlip:!0}),div:t.div,annotations:r,page:t.pdfPage,imageResourcesPath:t.imageResourcesPath,renderInteractiveForms:t.renderInteractiveForms,linkService:t.linkService,downloadManager:t.downloadManager};if(t.div)n.AnnotationLayer.update(i);else{if(0===r.length)return;t.div=document.createElement("div"),t.div.className="annotationLayer",t.pageDiv.appendChild(t.div),i.div=t.div,n.AnnotationLayer.render(i),t.l10n.translate(t.div)}}}))}},{key:"cancel",value:function(){this._cancelled=!0}},{key:"hide",value:function(){this.div&&this.div.setAttribute("hidden","true")}}]),e}();t.AnnotationLayerBuilder=c;var l=function(){function e(){o(this,e)}return u(e,[{key:"createAnnotationLayerBuilder",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.NullL10n;return new c({pageDiv:e,pdfPage:t,imageResourcesPath:r,renderInteractiveForms:n,linkService:new a.SimpleLinkService,l10n:o})}}]),e}();t.DefaultAnnotationLayerFactory=l},function(e,t,n){"use strict";var i;i="undefined"!==typeof window&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:r("cf3f"),e.exports=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidRotation=z,t.isValidScrollMode=Y,t.isValidSpreadMode=K,t.isPortraitOrientation=X,t.getGlobalEventBus=te,t.getPDFFileNameFromURL=W,t.noContextMenuHandler=H,t.parseQueryString=N,t.backtrackBeforeAllVisibleElements=B,t.getVisibleElements=q,t.roundToDivide=U,t.getPageSizeInches=D,t.approximateFraction=j,t.getOutputScale=O,t.scrollIntoView=I,t.watchScroll=M,t.binarySearchFirstItem=F,t.normalizeWheelEventDelta=G,t.waitOnEventOrTimeout=Q,t.moveToEndOfArray=ie,t.WaitOnType=t.animationStarted=t.ProgressBar=t.EventBus=t.NullL10n=t.SpreadMode=t.ScrollMode=t.TextLayerMode=t.RendererType=t.PresentationModeState=t.VERTICAL_PADDING=t.SCROLLBAR_PADDING=t.MAX_AUTO_SCALE=t.UNKNOWN_SCALE=t.MAX_SCALE=t.MIN_SCALE=t.DEFAULT_SCALE=t.DEFAULT_SCALE_VALUE=t.CSS_UNITS=void 0;var n=i(r(4));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function c(e){return c="function"===typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)},c(e)}function l(e,t){return d(e)||h(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function h(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(r.push(o.value),t&&r.length===t)break}catch(u){i=!0,a=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return r}}function d(e){if(Array.isArray(e))return e}function p(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function v(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){p(a,n,i,o,s,"next",e)}function s(e){p(a,n,i,o,s,"throw",e)}o(void 0)}))}}var g=96/72;t.CSS_UNITS=g;var m="auto";t.DEFAULT_SCALE_VALUE=m;var y=1;t.DEFAULT_SCALE=y;var b=.1;t.MIN_SCALE=b;var _=10;t.MAX_SCALE=_;var w=0;t.UNKNOWN_SCALE=w;var S=1.25;t.MAX_AUTO_SCALE=S;var A=40;t.SCROLLBAR_PADDING=A;var x=5;t.VERTICAL_PADDING=x;var k={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};t.PresentationModeState=k;var P={CANVAS:"canvas",SVG:"svg"};t.RendererType=P;var C={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};t.TextLayerMode=C;var T={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2};t.ScrollMode=T;var E={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};function R(e,t){return t?e.replace(/\{\{\s*(\w+)\s*\}\}/g,(function(e,r){return r in t?t[r]:"{{"+r+"}}"})):e}t.SpreadMode=E;var L={getLanguage:function(){var e=v(n["default"].mark((function e(){return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return","en-us");case 1:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),getDirection:function(){var e=v(n["default"].mark((function e(){return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return","ltr");case 1:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),get:function(){var e=v(n["default"].mark((function e(t,r,i){return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",R(i,r));case 1:case"end":return e.stop()}}),e)})));function t(t,r,n){return e.apply(this,arguments)}return t}(),translate:function(){var e=v(n["default"].mark((function e(t){return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()};function O(e){var t=window.devicePixelRatio||1,r=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1,n=t/r;return{sx:n,sy:n,scaled:1!==n}}function I(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.offsetParent;if(n){var i=e.offsetTop+e.clientTop,a=e.offsetLeft+e.clientLeft;while(n.clientHeight===n.scrollHeight&&n.clientWidth===n.scrollWidth||r&&"hidden"===getComputedStyle(n).overflow)if(n.dataset._scaleY&&(i/=n.dataset._scaleY,a/=n.dataset._scaleX),i+=n.offsetTop,a+=n.offsetLeft,n=n.offsetParent,!n)return;t&&(void 0!==t.top&&(i+=t.top),void 0!==t.left&&(a+=t.left,n.scrollLeft=a)),n.scrollTop=i}else console.error("offsetParent is not set -- cannot scroll")}function M(e,t){var r=function(r){i||(i=window.requestAnimationFrame((function(){i=null;var r=e.scrollLeft,a=n.lastX;r!==a&&(n.right=r>a),n.lastX=r;var o=e.scrollTop,s=n.lastY;o!==s&&(n.down=o>s),n.lastY=o,t(n)})))},n={right:!0,down:!0,lastX:e.scrollLeft,lastY:e.scrollTop,_eventHandler:r},i=null;return e.addEventListener("scroll",r,!0),n}function N(e){for(var t=e.split("&"),r=Object.create(null),n=0,i=t.length;n<i;++n){var a=t[n].split("="),o=a[0].toLowerCase(),s=a.length>1?a[1]:null;r[decodeURIComponent(o)]=decodeURIComponent(s)}return r}function F(e,t){var r=0,n=e.length-1;if(0===e.length||!t(e[n]))return e.length;if(t(e[r]))return r;while(r<n){var i=r+n>>1,a=e[i];t(a)?n=i:r=i+1}return r}function j(e){if(Math.floor(e)===e)return[e,1];var t=1/e,r=8;if(t>r)return[1,r];if(Math.floor(t)===t)return[1,t];var n,i=e>1?t:e,a=0,o=1,s=1,u=1;while(1){var c=a+s,l=o+u;if(l>r)break;i<=c/l?(s=c,u=l):(a=c,o=l)}return n=i-a/o<s/u-i?i===e?[a,o]:[o,a]:i===e?[s,u]:[u,s],n}function U(e,t){var r=e%t;return 0===r?e:Math.round(e-r+t)}function D(e){var t=e.view,r=e.userUnit,n=e.rotate,i=l(t,4),a=i[0],o=i[1],s=i[2],u=i[3],c=n%180!==0,f=(s-a)/72*r,h=(u-o)/72*r;return{width:c?h:f,height:c?f:h}}function B(e,t,r){if(e<2)return e;var n=t[e].div,i=n.offsetTop+n.clientTop;i>=r&&(n=t[e-1].div,i=n.offsetTop+n.clientTop);for(var a=e-2;a>=0;--a){if(n=t[a].div,n.offsetTop+n.clientTop+n.clientHeight<=i)break;e=a}return e}function q(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.scrollTop,a=i+e.clientHeight,o=e.scrollLeft,s=o+e.clientWidth;function u(e){var t=e.div,r=t.offsetTop+t.clientTop+t.clientHeight;return r>i}function c(e){var t=e.div,r=t.offsetLeft+t.clientLeft+t.clientWidth;return r>o}var l=[],f=t.length,h=0===f?0:F(t,n?c:u);h>0&&h<f&&!n&&(h=B(h,t,i));for(var d=n?s:-1,p=h;p<f;p++){var v=t[p],g=v.div,m=g.offsetLeft+g.clientLeft,y=g.offsetTop+g.clientTop,b=g.clientWidth,_=g.clientHeight,w=m+b,S=y+_;if(-1===d)S>=a&&(d=S);else if((n?m:y)>d)break;if(!(S<=i||y>=a||w<=o||m>=s)){var A=Math.max(0,i-y)+Math.max(0,S-a),x=Math.max(0,o-m)+Math.max(0,w-s),k=(_-A)*(b-x)*100/_/b|0;l.push({id:v.id,x:m,y:y,view:v,percent:k})}}var P=l[0],C=l[l.length-1];return r&&l.sort((function(e,t){var r=e.percent-t.percent;return Math.abs(r)>.001?-r:e.id-t.id})),{first:P,last:C,views:l}}function H(e){e.preventDefault()}function V(e){var t=0,r=e.length;while(t<r&&""===e[t].trim())t++;return"data:"===e.substring(t,t+5).toLowerCase()}function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!==typeof e)return t;if(V(e))return console.warn('getPDFFileNameFromURL: ignoring "data:" URL for performance reasons.'),t;var r=/^(?:(?:[^:]+:)?\/\/[^\/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,n=/[^\/?#=]+\.pdf\b(?!.*\.pdf\b)/i,i=r.exec(e),a=n.exec(i[1])||n.exec(i[2])||n.exec(i[3]);if(a&&(a=a[0],a.includes("%")))try{a=n.exec(decodeURIComponent(a))[0]}catch(o){}return a||t}function G(e){var t=Math.sqrt(e.deltaX*e.deltaX+e.deltaY*e.deltaY),r=Math.atan2(e.deltaY,e.deltaX);-.25*Math.PI<r&&r<.75*Math.PI&&(t=-t);var n=0,i=1,a=30,o=30;return e.deltaMode===n?t/=a*o:e.deltaMode===i&&(t/=o),t}function z(e){return Number.isInteger(e)&&e%90===0}function Y(e){return Number.isInteger(e)&&Object.values(T).includes(e)&&e!==T.UNKNOWN}function K(e){return Number.isInteger(e)&&Object.values(E).includes(e)&&e!==E.UNKNOWN}function X(e){return e.width<=e.height}t.NullL10n=L;var J={EVENT:"event",TIMEOUT:"timeout"};function Q(e){var t=e.target,r=e.name,n=e.delay,i=void 0===n?0:n;return new Promise((function(e,n){if("object"!==c(t)||!r||"string"!==typeof r||!(Number.isInteger(i)&&i>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function a(n){t instanceof Z?t.off(r,o):t.removeEventListener(r,o),u&&clearTimeout(u),e(n)}var o=a.bind(null,J.EVENT);t instanceof Z?t.on(r,o):t.addEventListener(r,o);var s=a.bind(null,J.TIMEOUT),u=setTimeout(s,i)}))}t.WaitOnType=J;var $=new Promise((function(e){window.requestAnimationFrame(e)}));t.animationStarted=$;var Z=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.dispatchToDOM,n=void 0!==r&&r;a(this,e),this._listeners=Object.create(null),this._dispatchToDOM=!0===n}return u(e,[{key:"on",value:function(e,t){var r=this._listeners[e];r||(r=[],this._listeners[e]=r),r.push(t)}},{key:"off",value:function(e,t){var r,n=this._listeners[e];!n||(r=n.indexOf(t))<0||n.splice(r,1)}},{key:"dispatch",value:function(e){var t=this._listeners[e];if(t&&0!==t.length){var r=Array.prototype.slice.call(arguments,1);t.slice(0).forEach((function(e){e.apply(null,r)})),this._dispatchToDOM&&this._dispatchDOMEvent(e,r)}else if(this._dispatchToDOM){var n=Array.prototype.slice.call(arguments,1);this._dispatchDOMEvent(e,n)}}},{key:"_dispatchDOMEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=Object.create(null);if(t&&t.length>0){var n=t[0];for(var i in n){var a=n[i];if("source"!==i)r[i]=a;else if(a===window||a===document)return}}var o=document.createEvent("CustomEvent");o.initCustomEvent(e,!0,!0,r),document.dispatchEvent(o)}}]),e}();t.EventBus=Z;var ee=null;function te(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return ee||(ee=new Z({dispatchToDOM:e})),ee}function re(e,t,r){return Math.min(Math.max(e,t),r)}var ne=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.height,i=r.width,o=r.units;a(this,e),this.visible=!0,this.div=document.querySelector(t+" .progress"),this.bar=this.div.parentNode,this.height=n||100,this.width=i||100,this.units=o||"%",this.div.style.height=this.height+this.units,this.percent=0}return u(e,[{key:"_updateBar",value:function(){if(this._indeterminate)return this.div.classList.add("indeterminate"),void(this.div.style.width=this.width+this.units);this.div.classList.remove("indeterminate");var e=this.width*this._percent/100;this.div.style.width=e+this.units}},{key:"setWidth",value:function(e){if(e){var t=e.parentNode,r=t.offsetWidth-e.offsetWidth;r>0&&this.bar.setAttribute("style","width: calc(100% - "+r+"px);")}}},{key:"hide",value:function(){this.visible&&(this.visible=!1,this.bar.classList.add("hidden"),document.body.classList.remove("loadingInProgress"))}},{key:"show",value:function(){this.visible||(this.visible=!0,document.body.classList.add("loadingInProgress"),this.bar.classList.remove("hidden"))}},{key:"percent",get:function(){return this._percent},set:function(e){this._indeterminate=isNaN(e),this._percent=re(e,0,100),this._updateBar()}}]),e}();function ie(e,t){for(var r=[],n=e.length,i=0,a=0;a<n;++a)t(e[a])?r.push(e[a]):(e[i]=e[a],++i);for(var o=0;i<n;++o,++i)e[i]=r[o]}t.ProgressBar=ne},function(e,t,r){"use strict";e.exports=r(5)},function(e,t,r){"use strict";(function(e){function t(e){return t="function"===typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)},t(e)}var r=function(e){var r,n=Object.prototype,i=n.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),o=new E(n||[]);return a._invoke=k(e,r,o),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}e.wrap=c;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function g(){}function m(){}function y(){}var b={};b[o]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(R([])));w&&w!==n&&i.call(w,o)&&(b=w);var S=y.prototype=g.prototype=Object.create(b);function A(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function r(n,a,o,s){var u=l(e[n],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"===t(f)&&i.call(f,"__await")?Promise.resolve(f.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):Promise.resolve(f).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,s)}))}s(u.arg)}var n;function a(e,t){function i(){return new Promise((function(n,i){r(e,t,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=a}function k(e,t,r){var n=f;return function(i,a){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw a;return L()}r.method=i,r.arg=a;while(1){var o=r.delegate;if(o){var s=P(o,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}function P(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=r,P(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,v;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,v):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function R(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){while(++n<e.length)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return a.next=a}}return{next:L}}function L(){return{value:r,done:!0}}return m.prototype=S.constructor=y,y.constructor=m,y[u]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},A(x.prototype),x.prototype[s]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i){var a=new x(c(t,r,n,i));return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(S),S[u]="Generator",S[o]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=R,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,i){return s.type="throw",s.arg=e,t.next=n,i&&(t.method="next",t.arg=r),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:R(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),v}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=r}catch(n){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(6)(e))},function(e,t,r){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleLinkService=t.PDFLinkService=void 0;var n=r(3);function i(e){return i="function"===typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.eventBus,i=t.externalLinkTarget,o=void 0===i?null:i,s=t.externalLinkRel,u=void 0===s?null:s,c=t.externalLinkEnabled,l=void 0===c||c;a(this,e),this.eventBus=r||(0,n.getGlobalEventBus)(),this.externalLinkTarget=o,this.externalLinkRel=u,this.externalLinkEnabled=l,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null,this._pagesRefCache=null}return u(e,[{key:"setDocument",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.baseUrl=t,this.pdfDocument=e,this._pagesRefCache=Object.create(null)}},{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setHistory",value:function(e){this.pdfHistory=e}},{key:"navigateTo",value:function(e){var t=this,r=function r(n){var i,a=n.namedDest,o=n.explicitDest,s=o[0];if(s instanceof Object){if(i=t._cachedPageNumber(s),null===i)return void t.pdfDocument.getPageIndex(s).then((function(e){t.cachePageRef(e+1,s),r({namedDest:a,explicitDest:o})}))["catch"]((function(){console.error('PDFLinkService.navigateTo: "'.concat(s,'" is not ')+'a valid page reference, for dest="'.concat(e,'".'))}))}else{if(!Number.isInteger(s))return void console.error('PDFLinkService.navigateTo: "'.concat(s,'" is not ')+'a valid destination reference, for dest="'.concat(e,'".'));i=s+1}!i||i<1||i>t.pagesCount?console.error('PDFLinkService.navigateTo: "'.concat(i,'" is not ')+'a valid page number, for dest="'.concat(e,'".')):(t.pdfHistory&&(t.pdfHistory.pushCurrentPosition(),t.pdfHistory.push({namedDest:a,explicitDest:o,pageNumber:i})),t.pdfViewer.scrollPageIntoView({pageNumber:i,destArray:o}))};new Promise((function(r,n){"string"!==typeof e?r({namedDest:"",explicitDest:e}):t.pdfDocument.getDestination(e).then((function(t){r({namedDest:e,explicitDest:t})}))})).then((function(t){Array.isArray(t.explicitDest)?r(t):console.error('PDFLinkService.navigateTo: "'.concat(t.explicitDest,'" is')+' not a valid destination array, for dest="'.concat(e,'".'))}))}},{key:"getDestinationHash",value:function(e){if("string"===typeof e)return this.getAnchorUrl("#"+escape(e));if(Array.isArray(e)){var t=JSON.stringify(e);return this.getAnchorUrl("#"+escape(t))}return this.getAnchorUrl("")}},{key:"getAnchorUrl",value:function(e){return(this.baseUrl||"")+e}},{key:"setHash",value:function(e){var t,r;if(e.includes("=")){var i=(0,n.parseQueryString)(e);if("search"in i&&this.eventBus.dispatch("findfromurlhash",{source:this,query:i["search"].replace(/"/g,""),phraseSearch:"true"===i["phrase"]}),"nameddest"in i)return void this.navigateTo(i.nameddest);if("page"in i&&(t=0|i.page||1),"zoom"in i){var a=i.zoom.split(","),o=a[0],s=parseFloat(o);o.includes("Fit")?"Fit"===o||"FitB"===o?r=[null,{name:o}]:"FitH"===o||"FitBH"===o||"FitV"===o||"FitBV"===o?r=[null,{name:o},a.length>1?0|a[1]:null]:"FitR"===o?5!==a.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):r=[null,{name:o},0|a[1],0|a[2],0|a[3],0|a[4]]:console.error('PDFLinkService.setHash: "'.concat(o,'" is not ')+"a valid zoom value."):r=[null,{name:"XYZ"},a.length>1?0|a[1]:null,a.length>2?0|a[2]:null,s?s/100:o]}r?this.pdfViewer.scrollPageIntoView({pageNumber:t||this.page,destArray:r,allowNegativeOffset:!0}):t&&(this.page=t),"pagemode"in i&&this.eventBus.dispatch("pagemode",{source:this,mode:i.pagemode})}else{r=unescape(e);try{r=JSON.parse(r),Array.isArray(r)||(r=r.toString())}catch(u){}if("string"===typeof r||l(r))return void this.navigateTo(r);console.error('PDFLinkService.setHash: "'.concat(unescape(e),'" is not ')+"a valid destination.")}}},{key:"executeNamedAction",value:function(e){switch(e){case"GoBack":this.pdfHistory&&this.pdfHistory.back();break;case"GoForward":this.pdfHistory&&this.pdfHistory.forward();break;case"NextPage":this.page<this.pagesCount&&this.page++;break;case"PrevPage":this.page>1&&this.page--;break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1;break;default:break}this.eventBus.dispatch("namedaction",{source:this,action:e})}},{key:"cachePageRef",value:function(e,t){if(t){var r=0===t.gen?"".concat(t.num,"R"):"".concat(t.num,"R").concat(t.gen);this._pagesRefCache[r]=e}}},{key:"_cachedPageNumber",value:function(e){var t=0===e.gen?"".concat(e.num,"R"):"".concat(e.num,"R").concat(e.gen);return this._pagesRefCache&&this._pagesRefCache[t]||null}},{key:"isPageVisible",value:function(e){return this.pdfViewer.isPageVisible(e)}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(e){this.pdfViewer.currentPageNumber=e}},{key:"rotation",get:function(){return this.pdfViewer.pagesRotation},set:function(e){this.pdfViewer.pagesRotation=e}}]),e}();function l(e){if(!Array.isArray(e))return!1;var t=e.length,r=!0;if(t<2)return!1;var n=e[0];if(("object"!==i(n)||!Number.isInteger(n.num)||!Number.isInteger(n.gen))&&!(Number.isInteger(n)&&n>=0))return!1;var a=e[1];if("object"!==i(a)||"string"!==typeof a.name)return!1;switch(a.name){case"XYZ":if(5!==t)return!1;break;case"Fit":case"FitB":return 2===t;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==t)return!1;break;case"FitR":if(6!==t)return!1;r=!1;break;default:return!1}for(var o=2;o<t;o++){var s=e[o];if(!("number"===typeof s||r&&null===s))return!1}return!0}t.PDFLinkService=c;var f=function(){function e(){a(this,e),this.externalLinkTarget=null,this.externalLinkRel=null,this.externalLinkEnabled=!0}return u(e,[{key:"navigateTo",value:function(e){}},{key:"getDestinationHash",value:function(e){return"#"}},{key:"getAnchorUrl",value:function(e){return"#"}},{key:"setHash",value:function(e){}},{key:"executeNamedAction",value:function(e){}},{key:"cachePageRef",value:function(e,t){}},{key:"isPageVisible",value:function(e){return!0}},{key:"pagesCount",get:function(){return 0}},{key:"page",get:function(){return 0},set:function(e){}},{key:"rotation",get:function(){return 0},set:function(e){}}]),e}();t.SimpleLinkService=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTextLayerFactory=t.TextLayerBuilder=void 0;var n=r(3),i=r(2);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e}var u=300,c=function(){function e(t){var r=t.textLayerDiv,i=t.eventBus,o=t.pageIndex,s=t.viewport,u=t.findController,c=void 0===u?null:u,l=t.enhanceTextSelection,f=void 0!==l&&l;a(this,e),this.textLayerDiv=r,this.eventBus=i||(0,n.getGlobalEventBus)(),this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageIdx=o,this.pageNumber=this.pageIdx+1,this.matches=[],this.viewport=s,this.textDivs=[],this.findController=c,this.textLayerRenderTask=null,this.enhanceTextSelection=f,this._onUpdateTextLayerMatches=null,this._bindMouse()}return s(e,[{key:"_finishRendering",value:function(){if(this.renderingDone=!0,!this.enhanceTextSelection){var e=document.createElement("div");e.className="endOfContent",this.textLayerDiv.appendChild(e)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}},{key:"render",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if((this.textContent||this.textContentStream)&&!this.renderingDone){this.cancel(),this.textDivs=[];var r=document.createDocumentFragment();this.textLayerRenderTask=(0,i.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:r,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:t,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then((function(){e.textLayerDiv.appendChild(r),e._finishRendering(),e._updateMatches()}),(function(e){})),this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=function(t){t.pageIndex!==e.pageIdx&&-1!==t.pageIndex||e._updateMatches()},this.eventBus.on("updatetextlayermatches",this._onUpdateTextLayerMatches))}}},{key:"cancel",value:function(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this._onUpdateTextLayerMatches&&(this.eventBus.off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null)}},{key:"setTextContentStream",value:function(e){this.cancel(),this.textContentStream=e}},{key:"setTextContent",value:function(e){this.cancel(),this.textContent=e}},{key:"_convertMatches",value:function(e,t){if(!e)return[];for(var r=this.findController,n=this.textContentItemsStr,i=0,a=0,o=n.length-1,s=r.state.query.length,u=[],c=0,l=e.length;c<l;c++){var f=e[c];while(i!==o&&f>=a+n[i].length)a+=n[i].length,i++;i===n.length&&console.error("Could not find a matching mapping");var h={begin:{divIdx:i,offset:f-a}};f+=t?t[c]:s;while(i!==o&&f>a+n[i].length)a+=n[i].length,i++;h.end={divIdx:i,offset:f-a},u.push(h)}return u}},{key:"_renderMatches",value:function(e){if(0!==e.length){var t=this.findController,r=this.pageIdx,n=this.textContentItemsStr,i=this.textDivs,a=r===t.selected.pageIdx,o=t.selected.matchIdx,s=t.state.highlightAll,u=null,c={divIdx:-1,offset:void 0},l=o,f=l+1;if(s)l=0,f=e.length;else if(!a)return;for(var h=l;h<f;h++){var d=e[h],p=d.begin,v=d.end,g=a&&h===o,m=g?" selected":"";if(g&&t.scrollMatchIntoView({element:i[p.divIdx],pageIndex:r,matchIndex:o}),u&&p.divIdx===u.divIdx?w(u.divIdx,u.offset,p.offset):(null!==u&&w(u.divIdx,u.offset,c.offset),_(p)),p.divIdx===v.divIdx)w(p.divIdx,p.offset,v.offset,"highlight"+m);else{w(p.divIdx,p.offset,c.offset,"highlight begin"+m);for(var y=p.divIdx+1,b=v.divIdx;y<b;y++)i[y].className="highlight middle"+m;_(v,"highlight end"+m)}u=v}u&&w(u.divIdx,u.offset,c.offset)}function _(e,t){var r=e.divIdx;i[r].textContent="",w(r,0,e.offset,t)}function w(e,t,r,a){var o=i[e],s=n[e].substring(t,r),u=document.createTextNode(s);if(a){var c=document.createElement("span");return c.className=a,c.appendChild(u),void o.appendChild(c)}o.appendChild(u)}}},{key:"_updateMatches",value:function(){if(this.renderingDone){for(var e=this.findController,t=this.matches,r=this.pageIdx,n=this.textContentItemsStr,i=this.textDivs,a=-1,o=0,s=t.length;o<s;o++){for(var u=t[o],c=Math.max(a,u.begin.divIdx),l=c,f=u.end.divIdx;l<=f;l++){var h=i[l];h.textContent=n[l],h.className=""}a=u.end.divIdx+1}if(e&&e.highlightMatches){var d=e.pageMatches[r]||null,p=e.pageMatchesLength[r]||null;this.matches=this._convertMatches(d,p),this._renderMatches(this.matches)}}}},{key:"_bindMouse",value:function(){var e=this,t=this.textLayerDiv,r=null;t.addEventListener("mousedown",(function(n){if(e.enhanceTextSelection&&e.textLayerRenderTask)return e.textLayerRenderTask.expandTextDivs(!0),void(r&&(clearTimeout(r),r=null));var i=t.querySelector(".endOfContent");if(i){var a=n.target!==t;if(a=a&&"none"!==window.getComputedStyle(i).getPropertyValue("-moz-user-select"),a){var o=t.getBoundingClientRect(),s=Math.max(0,(n.pageY-o.top)/o.height);i.style.top=(100*s).toFixed(2)+"%"}i.classList.add("active")}})),t.addEventListener("mouseup",(function(){if(e.enhanceTextSelection&&e.textLayerRenderTask)r=setTimeout((function(){e.textLayerRenderTask&&e.textLayerRenderTask.expandTextDivs(!1),r=null}),u);else{var n=t.querySelector(".endOfContent");n&&(n.style.top="",n.classList.remove("active"))}}))}}]),e}();t.TextLayerBuilder=c;var l=function(){function e(){a(this,e)}return s(e,[{key:"createTextLayerBuilder",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new c({textLayerDiv:e,pageIndex:t,viewport:r,enhanceTextSelection:n})}}]),e}();t.DefaultTextLayerFactory=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DownloadManager=void 0;var n=r(2);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}var s=n.apiCompatibilityParams.disableCreateObjectURL||!1;function u(e,t){var r=document.createElement("a");if(!r.click)throw new Error('DownloadManager: "a.click()" is not supported.');r.href=e,r.target="_parent","download"in r&&(r.download=t),(document.body||document.documentElement).appendChild(r),r.click(),r.remove()}var c=function(){function e(t){var r=t.disableCreateObjectURL,n=void 0===r?s:r;i(this,e),this.disableCreateObjectURL=n}return o(e,[{key:"downloadUrl",value:function(e,t){(0,n.createValidAbsoluteUrl)(e,"http://example.com")&&u(e+"#pdfjs.action=download",t)}},{key:"downloadData",value:function(e,t,r){if(navigator.msSaveBlob)navigator.msSaveBlob(new Blob([e],{type:r}),t);else{var i=(0,n.createObjectURL)(e,r,this.disableCreateObjectURL);u(i,t)}}},{key:"download",value:function(e,t,r){if(navigator.msSaveBlob)navigator.msSaveBlob(e,r)||this.downloadUrl(t,r);else if(this.disableCreateObjectURL)this.downloadUrl(t,r);else{var n=URL.createObjectURL(e);u(n,r)}}}]),e}();t.DownloadManager=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericL10n=void 0;var n=i(r(4));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}r(11);var l=document.webL10n,f=function(){function e(t){s(this,e),this._lang=t,this._ready=new Promise((function(e,r){l.setLanguage(t,(function(){e(l)}))}))}return c(e,[{key:"getLanguage",value:function(){var e=o(n["default"].mark((function e(){var t;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return t=e.sent,e.abrupt("return",t.getLanguage());case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getDirection",value:function(){var e=o(n["default"].mark((function e(){var t;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return t=e.sent,e.abrupt("return",t.getDirection());case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"get",value:function(){var e=o(n["default"].mark((function e(t,r,i){var a;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return a=e.sent,e.abrupt("return",a.get(t,r,i));case 4:case"end":return e.stop()}}),e,this)})));function t(t,r,n){return e.apply(this,arguments)}return t}()},{key:"translate",value:function(){var e=o(n["default"].mark((function e(t){var r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return r=e.sent,e.abrupt("return",r.translate(t));case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()}]),e}();t.GenericL10n=f},function(e,t,r){"use strict";document.webL10n=function(e,t,r){var n={},i="",a="textContent",o="",s={},u="loading",c=!0;function l(){return t.querySelectorAll('link[type="application/l10n"]')}function f(){var e=t.querySelector('script[type="application/l10n"]');return e?JSON.parse(e.innerHTML):null}function h(e){return e?e.querySelectorAll("*[data-l10n-id]"):[]}function d(e){if(!e)return{};var t=e.getAttribute("data-l10n-id"),r=e.getAttribute("data-l10n-args"),n={};if(r)try{n=JSON.parse(r)}catch(i){console.warn("could not parse arguments for #"+t)}return{id:t,args:n}}function p(e,t,r){t=t||function(e){},r=r||function(){};var n=new XMLHttpRequest;n.open("GET",e,c),n.overrideMimeType&&n.overrideMimeType("text/plain; charset=utf-8"),n.onreadystatechange=function(){4==n.readyState&&(200==n.status||0===n.status?t(n.responseText):r())},n.onerror=r,n.ontimeout=r;try{n.send(null)}catch(i){r()}}function v(e,t,r,o){var s=e.replace(/[^\/]*$/,"")||"./";function u(e){return e.lastIndexOf("\\")<0?e:e.replace(/\\\\/g,"\\").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'")}function c(e,r){var n={},i=/^\s*|\s*$/,a=/^\s*#|^\s*$/,o=/^\s*\[(.*)\]\s*$/,c=/^\s*@import\s+url\((.*)\)\s*$/i,l=/^([^=\s]*)\s*=\s*(.+)$/;function f(e,r,f){var d=e.replace(i,"").split(/[\r\n]+/),p="*",v=t.split("-",1)[0],g=!1,m="";function y(){while(1){if(!d.length)return void f();var e=d.shift();if(!a.test(e)){if(r){if(m=o.exec(e),m){p=m[1].toLowerCase(),g="*"!==p&&p!==t&&p!==v;continue}if(g)continue;if(m=c.exec(e),m)return void h(s+m[1],y)}var i=e.match(l);i&&3==i.length&&(n[i[1]]=u(i[2]))}}}y()}function h(e,t){p(e,(function(e){f(e,!1,t)}),(function(){console.warn(e+" not found."),t()}))}f(e,!0,(function(){r(n)}))}p(e,(function(e){i+=e,c(e,(function(e){for(var t in e){var i,o,s=t.lastIndexOf(".");s>0?(i=t.substring(0,s),o=t.substring(s+1)):(i=t,o=a),n[i]||(n[i]={}),n[i][o]=e[t]}r&&r()}))}),o)}function g(e,t){e&&(e=e.toLowerCase()),t=t||function(){},m(),o=e;var r=l(),i=r.length;if(0!==i){var a=null,s=0;a=function(){s++,s>=i&&(t(),u="complete")};for(var c=0;c<i;c++){var h=new y(r[c]);h.load(e,a)}}else{var d=f();if(d&&d.locales&&d.default_locale){if(console.log("using the embedded JSON directory, early way out"),n=d.locales[e],!n){var p=d.default_locale.toLowerCase();for(var g in d.locales){if(g=g.toLowerCase(),g===e){n=d.locales[e];break}g===p&&(n=d.locales[p])}}t()}else console.log("no resource to load, early way out");u="complete"}function y(e){var t=e.href;this.load=function(e,r){v(t,e,r,(function(){console.warn(t+" not found."),console.warn('"'+e+'" resource not found'),o="",r()}))}}}function m(){n={},i="",o=""}function y(e){var t={af:3,ak:4,am:4,ar:1,asa:3,az:0,be:11,bem:3,bez:3,bg:3,bh:4,bm:0,bn:3,bo:0,br:20,brx:3,bs:11,ca:3,cgg:3,chr:3,cs:12,cy:17,da:3,de:3,dv:3,dz:0,ee:3,el:3,en:3,eo:3,es:3,et:3,eu:3,fa:0,ff:5,fi:3,fil:4,fo:3,fr:5,fur:3,fy:3,ga:8,gd:24,gl:3,gsw:3,gu:3,guw:4,gv:23,ha:3,haw:3,he:2,hi:4,hr:11,hu:0,id:0,ig:0,ii:0,is:3,it:3,iu:7,ja:0,jmc:3,jv:0,ka:0,kab:5,kaj:3,kcg:3,kde:0,kea:0,kk:3,kl:3,km:0,kn:0,ko:0,ksb:3,ksh:21,ku:3,kw:7,lag:18,lb:3,lg:3,ln:4,lo:0,lt:10,lv:6,mas:3,mg:4,mk:16,ml:3,mn:3,mo:9,mr:3,ms:0,mt:15,my:0,nah:3,naq:7,nb:3,nd:3,ne:3,nl:3,nn:3,no:3,nr:3,nso:4,ny:3,nyn:3,om:3,or:3,pa:3,pap:3,pl:13,ps:3,pt:3,rm:3,ro:9,rof:3,ru:11,rwk:3,sah:0,saq:3,se:7,seh:3,ses:0,sg:0,sh:11,shi:19,sk:12,sl:14,sma:7,smi:7,smj:7,smn:7,sms:7,sn:3,so:3,sq:3,sr:11,ss:3,ssy:3,st:3,sv:3,sw:3,syr:3,ta:3,te:3,teo:3,th:0,ti:4,tig:3,tk:3,tl:4,tn:3,to:0,tr:0,ts:3,tzm:22,uk:11,ur:3,ve:3,vi:0,vun:3,wa:4,wae:3,wo:0,xh:3,xog:3,yo:0,zh:0,zu:3};function r(e,t){return-1!==t.indexOf(e)}function n(e,t,r){return t<=e&&e<=r}var i={0:function(e){return"other"},1:function(e){return n(e%100,3,10)?"few":0===e?"zero":n(e%100,11,99)?"many":2==e?"two":1==e?"one":"other"},2:function(e){return 0!==e&&e%10===0?"many":2==e?"two":1==e?"one":"other"},3:function(e){return 1==e?"one":"other"},4:function(e){return n(e,0,1)?"one":"other"},5:function(e){return n(e,0,2)&&2!=e?"one":"other"},6:function(e){return 0===e?"zero":e%10==1&&e%100!=11?"one":"other"},7:function(e){return 2==e?"two":1==e?"one":"other"},8:function(e){return n(e,3,6)?"few":n(e,7,10)?"many":2==e?"two":1==e?"one":"other"},9:function(e){return 0===e||1!=e&&n(e%100,1,19)?"few":1==e?"one":"other"},10:function(e){return n(e%10,2,9)&&!n(e%100,11,19)?"few":e%10!=1||n(e%100,11,19)?"other":"one"},11:function(e){return n(e%10,2,4)&&!n(e%100,12,14)?"few":e%10===0||n(e%10,5,9)||n(e%100,11,14)?"many":e%10==1&&e%100!=11?"one":"other"},12:function(e){return n(e,2,4)?"few":1==e?"one":"other"},13:function(e){return n(e%10,2,4)&&!n(e%100,12,14)?"few":1!=e&&n(e%10,0,1)||n(e%10,5,9)||n(e%100,12,14)?"many":1==e?"one":"other"},14:function(e){return n(e%100,3,4)?"few":e%100==2?"two":e%100==1?"one":"other"},15:function(e){return 0===e||n(e%100,2,10)?"few":n(e%100,11,19)?"many":1==e?"one":"other"},16:function(e){return e%10==1&&11!=e?"one":"other"},17:function(e){return 3==e?"few":0===e?"zero":6==e?"many":2==e?"two":1==e?"one":"other"},18:function(e){return 0===e?"zero":n(e,0,2)&&0!==e&&2!=e?"one":"other"},19:function(e){return n(e,2,10)?"few":n(e,0,1)?"one":"other"},20:function(e){return!n(e%10,3,4)&&e%10!=9||n(e%100,10,19)||n(e%100,70,79)||n(e%100,90,99)?e%1e6===0&&0!==e?"many":e%10!=2||r(e%100,[12,72,92])?e%10!=1||r(e%100,[11,71,91])?"other":"one":"two":"few"},21:function(e){return 0===e?"zero":1==e?"one":"other"},22:function(e){return n(e,0,1)||n(e,11,99)?"one":"other"},23:function(e){return n(e%10,1,2)||e%20===0?"one":"other"},24:function(e){return n(e,3,10)||n(e,13,19)?"few":r(e,[2,12])?"two":r(e,[1,11])?"one":"other"}},a=t[e.replace(/-.*$/,"")];return a in i?i[a]:(console.warn("plural form unknown for ["+e+"]"),function(){return"other"})}function b(e,t,r){var i=n[e];if(!i){if(console.warn("#"+e+" is undefined."),!r)return null;i=r}var a={};for(var o in i){var s=i[o];s=_(s,t,e,o),s=w(s,t,e),a[o]=s}return a}function _(e,t,r,i){var a=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/,o=a.exec(e);if(!o||!o.length)return e;var u,c=o[1],l=o[2];if(t&&l in t?u=t[l]:l in n&&(u=n[l]),c in s){var f=s[c];e=f(e,u,r,i)}return e}function w(e,t,r){var i=/\{\{\s*(.+?)\s*\}\}/g;return e.replace(i,(function(e,i){return t&&i in t?t[i]:i in n?n[i]:(console.log("argument {{"+i+"}} for #"+r+" is undefined."),e)}))}function S(e){var r=d(e);if(r.id){var n=b(r.id,r.args);if(n){if(n[a]){if(0===A(e))e[a]=n[a];else{for(var i=e.childNodes,o=!1,s=0,u=i.length;s<u;s++)3===i[s].nodeType&&/\S/.test(i[s].nodeValue)&&(o?i[s].nodeValue="":(i[s].nodeValue=n[a],o=!0));if(!o){var c=t.createTextNode(n[a]);e.insertBefore(c,e.firstChild)}}delete n[a]}for(var l in n)e[l]=n[l]}else console.warn("#"+r.id+" is undefined.")}}function A(e){if(e.children)return e.children.length;if("undefined"!==typeof e.childElementCount)return e.childElementCount;for(var t=0,r=0;r<e.childNodes.length;r++)t+=1===e.nodeType?1:0;return t}function x(e){e=e||t.documentElement;for(var r=h(e),n=r.length,i=0;i<n;i++)S(r[i]);S(e)}return s.plural=function(e,t,r,i){var u=parseFloat(t);if(isNaN(u))return e;if(i!=a)return e;s._pluralRules||(s._pluralRules=y(o));var c="["+s._pluralRules(u)+"]";return 0===u&&r+"[zero]"in n?e=n[r+"[zero]"][i]:1==u&&r+"[one]"in n?e=n[r+"[one]"][i]:2==u&&r+"[two]"in n?e=n[r+"[two]"][i]:r+c in n?e=n[r+c][i]:r+"[other]"in n&&(e=n[r+"[other]"][i]),e},{get:function(e,t,r){var n,i=e.lastIndexOf("."),o=a;i>0&&(o=e.substring(i+1),e=e.substring(0,i)),r&&(n={},n[o]=r);var s=b(e,t,n);return s&&o in s?s[o]:"{{"+e+"}}"},getData:function(){return n},getText:function(){return i},getLanguage:function(){return o},setLanguage:function(e,t){g(e,(function(){t&&t()}))},getDirection:function(){var e=["ar","he","fa","ps","ur"],t=o.split("-",1)[0];return e.indexOf(t)>=0?"rtl":"ltr"},translate:x,getReadyState:function(){return u},ready:function(r){r&&("complete"==u||"interactive"==u?e.setTimeout((function(){r()})):t.addEventListener&&t.addEventListener("localized",(function e(){t.removeEventListener("localized",e),r()})))}}}(window,document)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFindController=t.FindState=void 0;var n=r(3),i=r(2),a=r(13);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}var c={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};t.FindState=c;var l=250,f=-50,h=-400,d={"‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},p=null;function v(e){if(!p){var t=Object.keys(d).join("");p=new RegExp("[".concat(t,"]"),"g")}return e.replace(p,(function(e){return d[e]}))}var g=function(){function e(t){var r=t.linkService,i=t.eventBus,a=void 0===i?(0,n.getGlobalEventBus)():i;o(this,e),this._linkService=r,this._eventBus=a,this._reset(),a.on("findbarclose",this._onFindBarClose.bind(this))}return u(e,[{key:"setDocument",value:function(e){this._pdfDocument&&this._reset(),e&&(this._pdfDocument=e,this._firstPageCapability.resolve())}},{key:"executeCommand",value:function(e,t){var r=this;if(t){var n=this._pdfDocument;(null===this._state||this._shouldDirtyMatch(e,t))&&(this._dirtyMatch=!0),this._state=t,"findhighlightallchange"!==e&&this._updateUIState(c.PENDING),this._firstPageCapability.promise.then((function(){if(r._pdfDocument&&(!n||r._pdfDocument===n)){r._extractText();var t=!r._highlightMatches,i=!!r._findTimeout;r._findTimeout&&(clearTimeout(r._findTimeout),r._findTimeout=null),"find"===e?r._findTimeout=setTimeout((function(){r._nextMatch(),r._findTimeout=null}),l):r._dirtyMatch?r._nextMatch():"findagain"===e?(r._nextMatch(),t&&r._state.highlightAll&&r._updateAllPages()):"findhighlightallchange"===e?(i?r._nextMatch():r._highlightMatches=!0,r._updateAllPages()):r._nextMatch()}}))}}},{key:"scrollMatchIntoView",value:function(e){var t=e.element,r=void 0===t?null:t,i=e.pageIndex,a=void 0===i?-1:i,o=e.matchIndex,s=void 0===o?-1:o;if(this._scrollMatches&&r&&-1!==s&&s===this._selected.matchIdx&&-1!==a&&a===this._selected.pageIdx){this._scrollMatches=!1;var u={top:f,left:h};(0,n.scrollIntoView)(r,u,!0)}}},{key:"_reset",value:function(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=Object.create(null),this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,i.createPromiseCapability)()}},{key:"_shouldDirtyMatch",value:function(e,t){if(t.query!==this._state.query)return!0;switch(e){case"findagain":var r=this._selected.pageIdx+1,n=this._linkService;return r>=1&&r<=n.pagesCount&&r!==n.page&&!n.isPageVisible(r);case"findhighlightallchange":return!1}return!0}},{key:"_prepareMatches",value:function(e,t,r){function n(e,t){var r=e[t],n=e[t+1];if(t<e.length-1&&r.match===n.match)return r.skipped=!0,!0;for(var i=t-1;i>=0;i--){var a=e[i];if(!a.skipped){if(a.match+a.matchLength<r.match)break;if(a.match+a.matchLength>=r.match+r.matchLength)return r.skipped=!0,!0}}return!1}e.sort((function(e,t){return e.match===t.match?e.matchLength-t.matchLength:e.match-t.match}));for(var i=0,a=e.length;i<a;i++)n(e,i)||(t.push(e[i].match),r.push(e[i].matchLength))}},{key:"_isEntireWord",value:function(e,t,r){if(t>0){var n=e.charCodeAt(t),i=e.charCodeAt(t-1);if((0,a.getCharacterType)(n)===(0,a.getCharacterType)(i))return!1}var o=t+r-1;if(o<e.length-1){var s=e.charCodeAt(o),u=e.charCodeAt(o+1);if((0,a.getCharacterType)(s)===(0,a.getCharacterType)(u))return!1}return!0}},{key:"_calculatePhraseMatch",value:function(e,t,r,n){var i=[],a=e.length,o=-a;while(1){if(o=r.indexOf(e,o+a),-1===o)break;n&&!this._isEntireWord(r,o,a)||i.push(o)}this._pageMatches[t]=i}},{key:"_calculateWordMatch",value:function(e,t,r,n){for(var i=[],a=e.match(/\S+/g),o=0,s=a.length;o<s;o++){var u=a[o],c=u.length,l=-c;while(1){if(l=r.indexOf(u,l+c),-1===l)break;n&&!this._isEntireWord(r,l,c)||i.push({match:l,matchLength:c,skipped:!1})}}this._pageMatchesLength[t]=[],this._pageMatches[t]=[],this._prepareMatches(i,this._pageMatches[t],this._pageMatchesLength[t])}},{key:"_calculateMatch",value:function(e){var t=this._pageContents[e],r=this._query,n=this._state,i=n.caseSensitive,a=n.entireWord,o=n.phraseSearch;if(0!==r.length){i||(t=t.toLowerCase(),r=r.toLowerCase()),o?this._calculatePhraseMatch(r,e,t,a):this._calculateWordMatch(r,e,t,a),this._state.highlightAll&&this._updatePage(e),this._resumePageIdx===e&&(this._resumePageIdx=null,this._nextPageMatch());var s=this._pageMatches[e].length;s>0&&(this._matchesCountTotal+=s,this._updateUIResultsCount())}}},{key:"_extractText",value:function(){var e=this;if(!(this._extractTextPromises.length>0))for(var t=Promise.resolve(),r=function(r,n){var a=(0,i.createPromiseCapability)();e._extractTextPromises[r]=a.promise,t=t.then((function(){return e._pdfDocument.getPage(r+1).then((function(e){return e.getTextContent({normalizeWhitespace:!0})})).then((function(t){for(var n=t.items,i=[],o=0,s=n.length;o<s;o++)i.push(n[o].str);e._pageContents[r]=v(i.join("")),a.resolve(r)}),(function(t){console.error("Unable to get text content for page ".concat(r+1),t),e._pageContents[r]="",a.resolve(r)}))}))},n=0,a=this._linkService.pagesCount;n<a;n++)r(n,a)}},{key:"_updatePage",value:function(e){this._scrollMatches&&this._selected.pageIdx===e&&(this._linkService.page=e+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:e})}},{key:"_updateAllPages",value:function(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}},{key:"_nextMatch",value:function(){var e=this,t=this._state.findPrevious,r=this._linkService.page-1,n=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=r,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this._updateAllPages();for(var i=0;i<n;i++)!0!==this._pendingFindMatches[i]&&(this._pendingFindMatches[i]=!0,this._extractTextPromises[i].then((function(t){delete e._pendingFindMatches[t],e._calculateMatch(t)})))}if(""!==this._query){if(!this._resumePageIdx){var a=this._offset;if(this._pagesToSearch=n,null!==a.matchIdx){var o=this._pageMatches[a.pageIdx].length;if(!t&&a.matchIdx+1<o||t&&a.matchIdx>0)return a.matchIdx=t?a.matchIdx-1:a.matchIdx+1,void this._updateMatch(!0);this._advanceOffsetPage(t)}this._nextPageMatch()}}else this._updateUIState(c.FOUND)}},{key:"_matchesReady",value:function(e){var t=this._offset,r=e.length,n=this._state.findPrevious;return r?(t.matchIdx=n?r-1:0,this._updateMatch(!0),!0):(this._advanceOffsetPage(n),!!(t.wrapped&&(t.matchIdx=null,this._pagesToSearch<0))&&(this._updateMatch(!1),!0))}},{key:"_nextPageMatch",value:function(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");var e=null;do{var t=this._offset.pageIdx;if(e=this._pageMatches[t],!e){this._resumePageIdx=t;break}}while(!this._matchesReady(e))}},{key:"_advanceOffsetPage",value:function(e){var t=this._offset,r=this._linkService.pagesCount;t.pageIdx=e?t.pageIdx-1:t.pageIdx+1,t.matchIdx=null,this._pagesToSearch--,(t.pageIdx>=r||t.pageIdx<0)&&(t.pageIdx=e?r-1:0,t.wrapped=!0)}},{key:"_updateMatch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=c.NOT_FOUND,r=this._offset.wrapped;if(this._offset.wrapped=!1,e){var n=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,t=r?c.WRAPPED:c.FOUND,-1!==n&&n!==this._selected.pageIdx&&this._updatePage(n)}this._updateUIState(t,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this._updatePage(this._selected.pageIdx))}},{key:"_onFindBarClose",value:function(e){var t=this,r=this._pdfDocument;this._firstPageCapability.promise.then((function(){!t._pdfDocument||r&&t._pdfDocument!==r||(t._findTimeout&&(clearTimeout(t._findTimeout),t._findTimeout=null),t._resumePageIdx&&(t._resumePageIdx=null,t._dirtyMatch=!0),t._updateUIState(c.FOUND),t._highlightMatches=!1,t._updateAllPages())}))}},{key:"_requestMatchesCount",value:function(){var e=this._selected,t=e.pageIdx,r=e.matchIdx,n=0,i=this._matchesCountTotal;if(-1!==r){for(var a=0;a<t;a++)n+=this._pageMatches[a]&&this._pageMatches[a].length||0;n+=r+1}return(n<1||n>i)&&(n=i=0),{current:n,total:i}}},{key:"_updateUIResultsCount",value:function(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this._requestMatchesCount()})}},{key:"_updateUIState",value:function(e,t){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:e,previous:t,matchesCount:this._requestMatchesCount()})}},{key:"highlightMatches",get:function(){return this._highlightMatches}},{key:"pageMatches",get:function(){return this._pageMatches}},{key:"pageMatchesLength",get:function(){return this._pageMatchesLength}},{key:"selected",get:function(){return this._selected}},{key:"state",get:function(){return this._state}},{key:"_query",get:function(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,this._normalizedQuery=v(this._state.query)),this._normalizedQuery}}]),e}();t.PDFFindController=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCharacterType=p,t.CharacterType=void 0;var n={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};function i(e){return e<11904}function a(e){return 0===(65408&e)}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function s(e){return e>=48&&e<=57}function u(e){return 32===e||9===e||13===e||10===e}function c(e){return e>=13312&&e<=40959||e>=63744&&e<=64255}function l(e){return e>=12448&&e<=12543}function f(e){return e>=12352&&e<=12447}function h(e){return e>=65376&&e<=65439}function d(e){return 3584===(65408&e)}function p(e){return i(e)?a(e)?u(e)?n.SPACE:o(e)||s(e)||95===e?n.ALPHA_LETTER:n.PUNCT:d(e)?n.THAI_LETTER:160===e?n.SPACE:n.ALPHA_LETTER:c(e)?n.HAN_LETTER:l(e)?n.KATAKANA_LETTER:f(e)?n.HIRAGANA_LETTER:h(e)?n.HALFWIDTH_KATAKANA_LETTER:n.ALPHA_LETTER}t.CharacterType=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDestHashesEqual=b,t.isDestArraysEqual=_,t.PDFHistory=void 0;var n=r(3);function i(e){return i="function"===typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)},i(e)}function a(e,t){return c(e)||u(e,t)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function u(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(r.push(o.value),t&&r.length===t)break}catch(u){i=!0,a=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return r}}function c(e){if(Array.isArray(e))return e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}var d=1e3,p=50,v=1e3;function g(){return document.location.hash}function m(e){var t=unescape(g()).substring(1),r=(0,n.parseQueryString)(t),i=0|r.page;return Number.isInteger(i)&&i>0&&i<=e.pagesCount||(i=null),{hash:t,page:i,rotation:e.rotation}}var y=function(){function e(t){var r=this,i=t.linkService,a=t.eventBus;l(this,e),this.linkService=i,this.eventBus=a||(0,n.getGlobalEventBus)(),this.initialized=!1,this.initialBookmark=null,this.initialRotation=null,this._boundEvents=Object.create(null),this._isViewerInPresentationMode=!1,this._isPagesLoaded=!1,this.eventBus.on("presentationmodechanged",(function(e){r._isViewerInPresentationMode=e.active||e.switchInProgress})),this.eventBus.on("pagesloaded",(function(e){r._isPagesLoaded=!!e.pagesCount}))}return h(e,[{key:"initialize",value:function(e){var t=e.fingerprint,r=e.resetHistory,n=void 0!==r&&r,i=e.updateUrl,a=void 0!==i&&i;if(t&&"string"===typeof t){var o=this.initialized&&this.fingerprint!==t;this.fingerprint=t,this._updateUrl=!0===a,this.initialized||this._bindEvents();var s=window.history.state;if(this.initialized=!0,this.initialBookmark=null,this.initialRotation=null,this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=g(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(s,!0)||n){var u=m(this.linkService),c=u.hash,l=u.page,f=u.rotation;return!c||o||n?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:c,page:l,rotation:f},!0)}var h=s.destination;this._updateInternalState(h,s.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),void 0!==h.rotation&&(this.initialRotation=h.rotation),h.dest?(this.initialBookmark=JSON.stringify(h.dest),this._destination.page=null):h.hash?this.initialBookmark=h.hash:h.page&&(this.initialBookmark="page=".concat(h.page))}else console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.')}},{key:"push",value:function(e){var t=this,r=e.namedDest,n=void 0===r?null:r,i=e.explicitDest,a=e.pageNumber;if(this.initialized)if(n&&"string"!==typeof n)console.error("PDFHistory.push: "+'"'.concat(n,'" is not a valid namedDest parameter.'));else if(Array.isArray(i))if(Number.isInteger(a)&&a>0&&a<=this.linkService.pagesCount||null===a&&!this._destination){var o=n||JSON.stringify(i);if(o){var s=!1;if(this._destination&&(b(this._destination.hash,o)||_(this._destination.dest,i))){if(this._destination.page)return;s=!0}this._popStateInProgress&&!s||(this._pushOrReplaceState({dest:i,hash:o,page:a,rotation:this.linkService.rotation},s),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then((function(){t._popStateInProgress=!1}))))}}else console.error("PDFHistory.push: "+'"'.concat(a,'" is not a valid pageNumber parameter.'));else console.error("PDFHistory.push: "+'"'.concat(i,'" is not a valid explicitDest parameter.'))}},{key:"pushCurrentPosition",value:function(){this.initialized&&!this._popStateInProgress&&this._tryPushCurrentPosition()}},{key:"back",value:function(){if(this.initialized&&!this._popStateInProgress){var e=window.history.state;this._isValidState(e)&&e.uid>0&&window.history.back()}}},{key:"forward",value:function(){if(this.initialized&&!this._popStateInProgress){var e=window.history.state;this._isValidState(e)&&e.uid<this._maxUid&&window.history.forward()}}},{key:"_pushOrReplaceState",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r||!this._destination,i={fingerprint:this.fingerprint,uid:n?this._uid:this._uid+1,destination:e};if(this._updateInternalState(e,i.uid),this._updateUrl&&e&&e.hash){var a=document.location.href.split("#")[0];a.startsWith("file://")||(t="".concat(a,"#").concat(e.hash))}n?t?window.history.replaceState(i,"",t):window.history.replaceState(i,""):(this._maxUid=this._uid,t?window.history.pushState(i,"",t):window.history.pushState(i,""))}},{key:"_tryPushCurrentPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._position){var t=this._position;if(e&&(t=Object.assign(Object.create(null),this._position),t.temporary=!0),this._destination){if(this._destination.temporary)this._pushOrReplaceState(t,!0);else if(this._destination.hash!==t.hash&&(this._destination.page||!(p<=0||this._numPositionUpdates<=p))){var r=!1;if(this._destination.page>=t.first&&this._destination.page<=t.page){if(this._destination.dest||!this._destination.first)return;r=!0}this._pushOrReplaceState(t,r)}}else this._pushOrReplaceState(t)}}},{key:"_isValidState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return!1;if(e.fingerprint!==this.fingerprint){if(!t)return!1;if("string"!==typeof e.fingerprint||e.fingerprint.length!==this.fingerprint.length)return!1;var r=performance.getEntriesByType("navigation"),n=a(r,1),o=n[0];if(!o||"reload"!==o.type)return!1}return!(!Number.isInteger(e.uid)||e.uid<0)&&(null!==e.destination&&"object"===i(e.destination))}},{key:"_updateInternalState",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),r&&e&&e.temporary&&delete e.temporary,this._destination=e,this._uid=t,this._numPositionUpdates=0}},{key:"_updateViewarea",value:function(e){var t=this,r=e.location;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:this._isViewerInPresentationMode?"page=".concat(r.pageNumber):r.pdfOpenParams.substring(1),page:this.linkService.page,first:r.pageNumber,rotation:r.rotation},this._popStateInProgress||(p>0&&this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,v>0&&(this._updateViewareaTimeout=setTimeout((function(){t._popStateInProgress||t._tryPushCurrentPosition(!0),t._updateViewareaTimeout=null}),v)))}},{key:"_popState",value:function(e){var t=this,r=e.state,i=g(),a=this._currentHash!==i;if(this._currentHash=i,r){if(this._isValidState(r)){this._popStateInProgress=!0,a&&(this._blockHashChange++,(0,n.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:d}).then((function(){t._blockHashChange--})));var o=r.destination;this._updateInternalState(o,r.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),(0,n.isValidRotation)(o.rotation)&&(this.linkService.rotation=o.rotation),o.dest?this.linkService.navigateTo(o.dest):o.hash?this.linkService.setHash(o.hash):o.page&&(this.linkService.page=o.page),Promise.resolve().then((function(){t._popStateInProgress=!1}))}}else{this._uid++;var s=m(this.linkService),u=s.hash,c=s.page,l=s.rotation;this._pushOrReplaceState({hash:u,page:c,rotation:l},!0)}}},{key:"_bindEvents",value:function(){var e=this,t=this._boundEvents,r=this.eventBus;t.updateViewarea=this._updateViewarea.bind(this),t.popState=this._popState.bind(this),t.pageHide=function(t){e._destination&&!e._destination.temporary||e._tryPushCurrentPosition()},r.on("updateviewarea",t.updateViewarea),window.addEventListener("popstate",t.popState),window.addEventListener("pagehide",t.pageHide)}},{key:"popStateInProgress",get:function(){return this.initialized&&(this._popStateInProgress||this._blockHashChange>0)}}]),e}();function b(e,t){if("string"!==typeof e||"string"!==typeof t)return!1;if(e===t)return!0;var r=(0,n.parseQueryString)(e),i=r.nameddest;return i===t}function _(e,t){function r(e,t){if(i(e)!==i(t))return!1;if(Array.isArray(e)||Array.isArray(t))return!1;if(null!==e&&"object"===i(e)&&null!==t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!r(e[n],t[n]))return!1;return!0}return e===t||Number.isNaN(e)&&Number.isNaN(t)}if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(var n=0,a=e.length;n<a;n++)if(!r(e[n],t[n]))return!1;return!0}t.PDFHistory=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFPageView=void 0;var n=u(r(4)),i=r(3),a=r(2),o=r(16),s=r(17);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){c(a,n,i,o,s,"next",e)}function s(e){c(a,n,i,o,s,"throw",e)}o(void 0)}))}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}var p=s.viewerCompatibilityParams.maxCanvasPixels||16777216,v=function(){function e(t){f(this,e);var r=t.container,n=t.defaultViewport;this.id=t.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=t.scale||i.DEFAULT_SCALE,this.viewport=n,this.pdfPageRotate=n.rotation,this.hasRestrictedScaling=!1,this.textLayerMode=Number.isInteger(t.textLayerMode)?t.textLayerMode:i.TextLayerMode.ENABLE,this.imageResourcesPath=t.imageResourcesPath||"",this.renderInteractiveForms=t.renderInteractiveForms||!1,this.useOnlyCssZoom=t.useOnlyCssZoom||!1,this.maxCanvasPixels=t.maxCanvasPixels||p,this.eventBus=t.eventBus||(0,i.getGlobalEventBus)(),this.renderingQueue=t.renderingQueue,this.textLayerFactory=t.textLayerFactory,this.annotationLayerFactory=t.annotationLayerFactory,this.renderer=t.renderer||i.RendererType.CANVAS,this.enableWebGL=t.enableWebGL||!1,this.l10n=t.l10n||i.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=o.RenderingStates.INITIAL,this.resume=null,this.error=null,this.annotationLayer=null,this.textLayer=null,this.zoomLayer=null;var a=document.createElement("div");a.className="page",a.style.width=Math.floor(this.viewport.width)+"px",a.style.height=Math.floor(this.viewport.height)+"px",a.setAttribute("data-page-number",this.id),this.div=a,r.appendChild(a)}return d(e,[{key:"setPdfPage",value:function(e){this.pdfPage=e,this.pdfPageRotate=e.rotate;var t=(this.rotation+this.pdfPageRotate)%360;this.viewport=e.getViewport({scale:this.scale*i.CSS_UNITS,rotation:t}),this.stats=e.stats,this.reset()}},{key:"destroy",value:function(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}},{key:"_resetZoomLayer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.zoomLayer){var t=this.zoomLayer.firstChild;this.paintedViewportMap["delete"](t),t.width=0,t.height=0,e&&this.zoomLayer.remove(),this.zoomLayer=null}}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.cancelRendering(t),this.renderingState=o.RenderingStates.INITIAL;var r=this.div;r.style.width=Math.floor(this.viewport.width)+"px",r.style.height=Math.floor(this.viewport.height)+"px";for(var n=r.childNodes,i=e&&this.zoomLayer||null,a=t&&this.annotationLayer&&this.annotationLayer.div||null,s=n.length-1;s>=0;s--){var u=n[s];i!==u&&a!==u&&r.removeChild(u)}r.removeAttribute("data-loaded"),a?this.annotationLayer.hide():this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null),i||(this.canvas&&(this.paintedViewportMap["delete"](this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap["delete"](this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon",r.appendChild(this.loadingIconDiv)}},{key:"update",value:function(e,t){this.scale=e||this.scale,"undefined"!==typeof t&&(this.rotation=t);var r=(this.rotation+this.pdfPageRotate)%360;if(this.viewport=this.viewport.clone({scale:this.scale*i.CSS_UNITS,rotation:r}),this.svg)return this.cssTransform(this.svg,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now()});var n=!1;if(this.canvas&&this.maxCanvasPixels>0){var a=this.outputScale;(Math.floor(this.viewport.width)*a.sx|0)*(Math.floor(this.viewport.height)*a.sy|0)>this.maxCanvasPixels&&(n=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&n)return this.cssTransform(this.canvas,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now()});this.zoomLayer||this.canvas.hasAttribute("hidden")||(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform(this.zoomLayer.firstChild),this.reset(!0,!0)}},{key:"cancelRendering",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),!e&&this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null)}},{key:"cssTransform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.viewport.width,n=this.viewport.height,i=this.div;e.style.width=e.parentNode.style.width=i.style.width=Math.floor(r)+"px",e.style.height=e.parentNode.style.height=i.style.height=Math.floor(n)+"px";var a=this.viewport.rotation-this.paintedViewportMap.get(e).rotation,o=Math.abs(a),s=1,u=1;90!==o&&270!==o||(s=n/r,u=r/n);var c="rotate("+a+"deg) scale("+s+","+u+")";if(e.style.transform=c,this.textLayer){var l=this.textLayer.viewport,f=this.viewport.rotation-l.rotation,h=Math.abs(f),d=r/l.width;90!==h&&270!==h||(d=r/l.height);var p,v,g=this.textLayer.textLayerDiv;switch(h){case 0:p=v=0;break;case 90:p=0,v="-"+g.style.height;break;case 180:p="-"+g.style.width,v="-"+g.style.height;break;case 270:p="-"+g.style.width,v=0;break;default:console.error("Bad rotation value.");break}g.style.transform="rotate("+h+"deg) scale("+d+", "+d+") translate("+p+", "+v+")",g.style.transformOrigin="0% 0%"}t&&this.annotationLayer&&this.annotationLayer.render(this.viewport,"display")}},{key:"getPagePoint",value:function(e,t){return this.viewport.convertToPdfPoint(e,t)}},{key:"draw",value:function(){var e=this;if(this.renderingState!==o.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset()),!this.pdfPage)return this.renderingState=o.RenderingStates.FINISHED,Promise.reject(new Error("Page is not loaded"));this.renderingState=o.RenderingStates.RUNNING;var t=this.pdfPage,r=this.div,s=document.createElement("div");s.style.width=r.style.width,s.style.height=r.style.height,s.classList.add("canvasWrapper"),this.annotationLayer&&this.annotationLayer.div?r.insertBefore(s,this.annotationLayer.div):r.appendChild(s);var u=null;if(this.textLayerMode!==i.TextLayerMode.DISABLE&&this.textLayerFactory){var c=document.createElement("div");c.className="textLayer",c.style.width=s.style.width,c.style.height=s.style.height,this.annotationLayer&&this.annotationLayer.div?r.insertBefore(c,this.annotationLayer.div):r.appendChild(c),u=this.textLayerFactory.createTextLayerBuilder(c,this.id-1,this.viewport,this.textLayerMode===i.TextLayerMode.ENABLE_ENHANCE)}this.textLayer=u;var f=null;this.renderingQueue&&(f=function(t){if(!e.renderingQueue.isHighestPriority(e))return e.renderingState=o.RenderingStates.PAUSED,void(e.resume=function(){e.renderingState=o.RenderingStates.RUNNING,t()});t()});var h=function(){var i=l(n["default"].mark((function i(s){return n["default"].wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(d===e.paintTask&&(e.paintTask=null),!(s instanceof a.RenderingCancelledException)){n.next=4;break}return e.error=null,n.abrupt("return");case 4:if(e.renderingState=o.RenderingStates.FINISHED,e.loadingIconDiv&&(r.removeChild(e.loadingIconDiv),delete e.loadingIconDiv),e._resetZoomLayer(!0),e.error=s,e.stats=t.stats,e.eventBus.dispatch("pagerendered",{source:e,pageNumber:e.id,cssTransform:!1,timestamp:performance.now()}),!s){n.next=12;break}throw s;case 12:case"end":return n.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}(),d=this.renderer===i.RendererType.SVG?this.paintOnSvg(s):this.paintOnCanvas(s);d.onRenderContinue=f,this.paintTask=d;var p=d.promise.then((function(){return h(null).then((function(){if(u){var e=t.streamTextContent({normalizeWhitespace:!0});u.setTextContentStream(e),u.render()}}))}),(function(e){return h(e)}));return this.annotationLayerFactory&&(this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder(r,t,this.imageResourcesPath,this.renderInteractiveForms,this.l10n)),this.annotationLayer.render(this.viewport,"display")),r.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),p}},{key:"paintOnCanvas",value:function(e){var t=(0,a.createPromiseCapability)(),r={promise:t.promise,onRenderContinue:function(e){e()},cancel:function(){y.cancel()}},n=this.viewport,o=document.createElement("canvas");o.id=this.renderingId,o.setAttribute("hidden","hidden");var s=!0,u=function(){s&&(o.removeAttribute("hidden"),s=!1)};e.appendChild(o),this.canvas=o,o.mozOpaque=!0;var c=o.getContext("2d",{alpha:!1}),l=(0,i.getOutputScale)(c);if(this.outputScale=l,this.useOnlyCssZoom){var f=n.clone({scale:i.CSS_UNITS});l.sx*=f.width/n.width,l.sy*=f.height/n.height,l.scaled=!0}if(this.maxCanvasPixels>0){var h=n.width*n.height,d=Math.sqrt(this.maxCanvasPixels/h);l.sx>d||l.sy>d?(l.sx=d,l.sy=d,l.scaled=!0,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}var p=(0,i.approximateFraction)(l.sx),v=(0,i.approximateFraction)(l.sy);o.width=(0,i.roundToDivide)(n.width*l.sx,p[0]),o.height=(0,i.roundToDivide)(n.height*l.sy,v[0]),o.style.width=(0,i.roundToDivide)(n.width,p[1])+"px",o.style.height=(0,i.roundToDivide)(n.height,v[1])+"px",this.paintedViewportMap.set(o,n);var g=l.scaled?[l.sx,0,0,l.sy,0,0]:null,m={canvasContext:c,transform:g,viewport:this.viewport,enableWebGL:this.enableWebGL,renderInteractiveForms:this.renderInteractiveForms},y=this.pdfPage.render(m);return y.onContinue=function(e){u(),r.onRenderContinue?r.onRenderContinue(e):e()},y.promise.then((function(){u(),t.resolve(void 0)}),(function(e){u(),t.reject(e)})),r}},{key:"paintOnSvg",value:function(e){var t=this,r=!1,n=function(){if(r)throw new a.RenderingCancelledException("Rendering cancelled, page "+t.id,"svg")},s=this.pdfPage,u=this.viewport.clone({scale:i.CSS_UNITS}),c=s.getOperatorList().then((function(r){n();var i=new a.SVGGraphics(s.commonObjs,s.objs);return i.getSVG(r,u).then((function(r){n(),t.svg=r,t.paintedViewportMap.set(r,u),r.style.width=e.style.width,r.style.height=e.style.height,t.renderingState=o.RenderingStates.FINISHED,e.appendChild(r)}))}));return{promise:c,onRenderContinue:function(e){e()},cancel:function(){r=!0}}}},{key:"setPageLabel",value:function(e){this.pageLabel="string"===typeof e?e:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}},{key:"width",get:function(){return this.viewport.width}},{key:"height",get:function(){return this.viewport.height}}]),e}();t.PDFPageView=v},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e}Object.defineProperty(t,"__esModule",{value:!0}),t.PDFRenderingQueue=t.RenderingStates=void 0;var o=3e4,s={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};t.RenderingStates=s;var u=function(){function e(){n(this,e),this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}return a(e,[{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setThumbnailViewer",value:function(e){this.pdfThumbnailViewer=e}},{key:"isHighestPriority",value:function(e){return this.highestPriorityPage===e.renderingId}},{key:"renderHighestPriority",value:function(e){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),this.pdfViewer.forceRendering(e)||this.pdfThumbnailViewer&&this.isThumbnailViewEnabled&&this.pdfThumbnailViewer.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),o))}},{key:"getHighestPriority",value:function(e,t,r){var n=e.views,i=n.length;if(0===i)return null;for(var a=0;a<i;++a){var o=n[a].view;if(!this.isViewFinished(o))return o}if(r){var s=e.last.id;if(t[s]&&!this.isViewFinished(t[s]))return t[s]}else{var u=e.first.id-2;if(t[u]&&!this.isViewFinished(t[u]))return t[u]}return null}},{key:"isViewFinished",value:function(e){return e.renderingState===s.FINISHED}},{key:"renderView",value:function(e){var t=this;switch(e.renderingState){case s.FINISHED:return!1;case s.PAUSED:this.highestPriorityPage=e.renderingId,e.resume();break;case s.RUNNING:this.highestPriorityPage=e.renderingId;break;case s.INITIAL:this.highestPriorityPage=e.renderingId,e.draw()["finally"]((function(){t.renderHighestPriority()}));break}return!0}}]),e}();t.PDFRenderingQueue=u},function(e,t,r){"use strict";var n=Object.create(null),i="undefined"!==typeof navigator&&navigator.userAgent||"",a=/Android/.test(i),o=/\b(iPad|iPhone|iPod)(?=;)/.test(i);(function(){(o||a)&&(n.maxCanvasPixels=5242880)})(),t.viewerCompatibilityParams=Object.freeze(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFSinglePageViewer=void 0;var n=r(19),i=r(2);function a(e){return a="function"===typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)},a(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t,r){return h="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=d(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},h(e,t,r||e)}function d(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=p(e),null===e)break;return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}var m=function(e){function t(e){var r;return s(this,t),r=l(this,p(t).call(this,e)),r.eventBus.on("pagesinit",(function(e){r._ensurePageViewVisible()})),r}return v(t,e),c(t,[{key:"_resetView",value:function(){h(p(t.prototype),"_resetView",this).call(this),this._previousPageNumber=1,this._shadowViewer=document.createDocumentFragment(),this._updateScrollDown=null}},{key:"_ensurePageViewVisible",value:function(){var e=this._pages[this._currentPageNumber-1],t=this._pages[this._previousPageNumber-1],r=this.viewer.childNodes;switch(r.length){case 0:this.viewer.appendChild(e.div);break;case 1:if(r[0]!==t.div)throw new Error("_ensurePageViewVisible: Unexpected previously visible page.");if(e===t)break;this._shadowViewer.appendChild(t.div),this.viewer.appendChild(e.div),this.container.scrollTop=0;break;default:throw new Error("_ensurePageViewVisible: Only one page should be visible at a time.")}this._previousPageNumber=this._currentPageNumber}},{key:"_scrollUpdate",value:function(){this._updateScrollDown&&this._updateScrollDown(),h(p(t.prototype),"_scrollUpdate",this).call(this)}},{key:"_scrollIntoView",value:function(e){var r=this,n=e.pageDiv,i=e.pageSpot,a=void 0===i?null:i,o=e.pageNumber,s=void 0===o?null:o;s&&this._setCurrentPageNumber(s);var u=this._currentPageNumber>=this._previousPageNumber;this._ensurePageViewVisible(),this.update(),h(p(t.prototype),"_scrollIntoView",this).call(this,{pageDiv:n,pageSpot:a,pageNumber:s}),this._updateScrollDown=function(){r.scroll.down=u,r._updateScrollDown=null}}},{key:"_getVisiblePages",value:function(){return this._getCurrentVisiblePage()}},{key:"_updateHelper",value:function(e){}},{key:"_updateScrollMode",value:function(){}},{key:"_updateSpreadMode",value:function(){}},{key:"_setDocumentViewerElement",get:function(){return(0,i.shadow)(this,"_setDocumentViewerElement",this._shadowViewer)}},{key:"_isScrollModeHorizontal",get:function(){return(0,i.shadow)(this,"_isScrollModeHorizontal",!1)}}]),t}(n.BaseViewer);t.PDFSinglePageViewer=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseViewer=void 0;var n=r(3),i=r(16),a=r(1),o=r(2),s=r(15),u=r(7),c=r(8);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}var d=10;function p(e){var t=[];this.push=function(r){var n=t.indexOf(r);n>=0&&t.splice(n,1),t.push(r),t.length>e&&t.shift().destroy()},this.resize=function(r,i){if(e=r,i){for(var a=new Set,o=0,s=i.length;o<s;++o)a.add(i[o].id);(0,n.moveToEndOfArray)(t,(function(e){return a.has(e.id)}))}while(t.length>e)t.shift().destroy()}}function v(e,t){return t===e||Math.abs(t-e)<1e-15}var g=function(){function e(t){var r=this;if(l(this,e),this.constructor===e)throw new Error("Cannot initialize BaseViewer.");this._name=this.constructor.name,this.container=t.container,this.viewer=t.viewer||t.container.firstElementChild,this.eventBus=t.eventBus||(0,n.getGlobalEventBus)(),this.linkService=t.linkService||new u.SimpleLinkService,this.downloadManager=t.downloadManager||null,this.findController=t.findController||null,this.removePageBorders=t.removePageBorders||!1,this.textLayerMode=Number.isInteger(t.textLayerMode)?t.textLayerMode:n.TextLayerMode.ENABLE,this.imageResourcesPath=t.imageResourcesPath||"",this.renderInteractiveForms=t.renderInteractiveForms||!1,this.enablePrintAutoRotate=t.enablePrintAutoRotate||!1,this.renderer=t.renderer||n.RendererType.CANVAS,this.enableWebGL=t.enableWebGL||!1,this.useOnlyCssZoom=t.useOnlyCssZoom||!1,this.maxCanvasPixels=t.maxCanvasPixels,this.l10n=t.l10n||n.NullL10n,this.defaultRenderingQueue=!t.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new i.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=t.renderingQueue,this.scroll=(0,n.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=n.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),Promise.resolve().then((function(){r.eventBus.dispatch("baseviewerinit",{source:r})}))}return h(e,[{key:"getPageView",value:function(e){return this._pages[e]}},{key:"_setCurrentPageNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._currentPageNumber===e?(t&&this._resetCurrentPageView(),!0):0<e&&e<=this.pagesCount&&(this._currentPageNumber=e,this.eventBus.dispatch("pagechanging",{source:this,pageNumber:e,pageLabel:this._pageLabels&&this._pageLabels[e-1]}),t&&this._resetCurrentPageView(),!0)}},{key:"setDocument",value:function(e){var t=this;if(this.pdfDocument&&(this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null)),this.pdfDocument=e,e){var r=e.numPages,i=(0,o.createPromiseCapability)();this.pagesPromise=i.promise,i.promise.then((function(){t._pageViewsReady=!0,t.eventBus.dispatch("pagesloaded",{source:t,pagesCount:r})}));var a=(0,o.createPromiseCapability)();this.onePageRendered=a.promise;var u=e.getPage(1);this.firstPagePromise=u,this._onBeforeDraw=function(e){var r=t._pages[e.pageNumber-1];r&&t._buffer.push(r)},this.eventBus.on("pagerender",this._onBeforeDraw),this._onAfterDraw=function(e){e.cssTransform||a.settled||(a.resolve(),t.eventBus.off("pagerendered",t._onAfterDraw),t._onAfterDraw=null)},this.eventBus.on("pagerendered",this._onAfterDraw),u.then((function(o){for(var u=t.currentScale,c=o.getViewport({scale:u*n.CSS_UNITS}),l=1;l<=r;++l){var f=null;t.textLayerMode!==n.TextLayerMode.DISABLE&&(f=t);var h=new s.PDFPageView({container:t._setDocumentViewerElement,eventBus:t.eventBus,id:l,scale:u,defaultViewport:c.clone(),renderingQueue:t.renderingQueue,textLayerFactory:f,textLayerMode:t.textLayerMode,annotationLayerFactory:t,imageResourcesPath:t.imageResourcesPath,renderInteractiveForms:t.renderInteractiveForms,renderer:t.renderer,enableWebGL:t.enableWebGL,useOnlyCssZoom:t.useOnlyCssZoom,maxCanvasPixels:t.maxCanvasPixels,l10n:t.l10n});t._pages.push(h)}t._spreadMode!==n.SpreadMode.NONE&&t._updateSpreadMode(),a.promise.then((function(){if(t.findController&&t.findController.setDocument(e),e.loadingParams["disableAutoFetch"])i.resolve();else for(var n=r,a=function(r){e.getPage(r).then((function(e){var a=t._pages[r-1];a.pdfPage||a.setPdfPage(e),t.linkService.cachePageRef(r,e.ref),0===--n&&i.resolve()}),(function(e){console.error("Unable to get page ".concat(r," to initialize viewer"),e),0===--n&&i.resolve()}))},o=1;o<=r;++o)a(o)})),t.eventBus.dispatch("pagesinit",{source:t}),t.defaultRenderingQueue&&t.update()}))["catch"]((function(e){console.error("Unable to initialize viewer",e)}))}}},{key:"setPageLabels",value:function(e){if(this.pdfDocument){e?Array.isArray(e)&&this.pdfDocument.numPages===e.length?this._pageLabels=e:(this._pageLabels=null,console.error("".concat(this._name,".setPageLabels: Invalid page labels."))):this._pageLabels=null;for(var t=0,r=this._pages.length;t<r;t++){var n=this._pages[t],i=this._pageLabels&&this._pageLabels[t];n.setPageLabel(i)}}}},{key:"_resetView",value:function(){this._pages=[],this._currentPageNumber=1,this._currentScale=n.UNKNOWN_SCALE,this._currentScaleValue=null,this._pageLabels=null,this._buffer=new p(d),this._location=null,this._pagesRotation=0,this._pagesRequests=[],this._pageViewsReady=!1,this._scrollMode=n.ScrollMode.VERTICAL,this._spreadMode=n.SpreadMode.NONE,this._onBeforeDraw&&(this.eventBus.off("pagerender",this._onBeforeDraw),this._onBeforeDraw=null),this._onAfterDraw&&(this.eventBus.off("pagerendered",this._onAfterDraw),this._onAfterDraw=null),this.viewer.textContent="",this._updateScrollMode()}},{key:"_scrollUpdate",value:function(){0!==this.pagesCount&&this.update()}},{key:"_scrollIntoView",value:function(e){var t=e.pageDiv,r=e.pageSpot,i=void 0===r?null:r;e.pageNumber;(0,n.scrollIntoView)(t,i)}},{key:"_setScaleUpdatePages",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this._currentScaleValue=t.toString(),v(this._currentScale,e))n&&this.eventBus.dispatch("scalechanging",{source:this,scale:e,presetValue:t});else{for(var i=0,a=this._pages.length;i<a;i++)this._pages[i].update(e);if(this._currentScale=e,!r){var o,s=this._currentPageNumber;!this._location||this.isInPresentationMode||this.isChangingPresentationMode||(s=this._location.pageNumber,o=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:s,destArray:o,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:e,presetValue:n?t:void 0}),this.defaultRenderingQueue&&this.update()}}},{key:"_setScale",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=parseFloat(e);if(r>0)this._setScaleUpdatePages(r,e,t,!1);else{var i=this._pages[this._currentPageNumber-1];if(!i)return;var a=this.isInPresentationMode||this.removePageBorders,o=a?0:n.SCROLLBAR_PADDING,s=a?0:n.VERTICAL_PADDING;if(!a&&this._isScrollModeHorizontal){var u=[s,o];o=u[0],s=u[1]}var c=(this.container.clientWidth-o)/i.width*i.scale,l=(this.container.clientHeight-s)/i.height*i.scale;switch(e){case"page-actual":r=1;break;case"page-width":r=c;break;case"page-height":r=l;break;case"page-fit":r=Math.min(c,l);break;case"auto":var f=(0,n.isPortraitOrientation)(i)?c:Math.min(l,c);r=Math.min(n.MAX_AUTO_SCALE,f);break;default:return void console.error("".concat(this._name,'._setScale: "').concat(e,'" is an unknown zoom value.'))}this._setScaleUpdatePages(r,e,t,!0)}}},{key:"_resetCurrentPageView",value:function(){this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0);var e=this._pages[this._currentPageNumber-1];this._scrollIntoView({pageDiv:e.div})}},{key:"scrollPageIntoView",value:function(e){var t=e.pageNumber,r=e.destArray,i=void 0===r?null:r,a=e.allowNegativeOffset,o=void 0!==a&&a;if(this.pdfDocument){var s=Number.isInteger(t)&&this._pages[t-1];if(s)if(!this.isInPresentationMode&&i){var u,c,l=0,f=0,h=0,d=0,p=s.rotation%180!==0,v=(p?s.height:s.width)/s.scale/n.CSS_UNITS,g=(p?s.width:s.height)/s.scale/n.CSS_UNITS,m=0;switch(i[1].name){case"XYZ":l=i[2],f=i[3],m=i[4],l=null!==l?l:0,f=null!==f?f:g;break;case"Fit":case"FitB":m="page-fit";break;case"FitH":case"FitBH":f=i[2],m="page-width",null===f&&this._location&&(l=this._location.left,f=this._location.top);break;case"FitV":case"FitBV":l=i[2],h=v,d=g,m="page-height";break;case"FitR":l=i[2],f=i[3],h=i[4]-l,d=i[5]-f;var y=this.removePageBorders?0:n.SCROLLBAR_PADDING,b=this.removePageBorders?0:n.VERTICAL_PADDING;u=(this.container.clientWidth-y)/h/n.CSS_UNITS,c=(this.container.clientHeight-b)/d/n.CSS_UNITS,m=Math.min(Math.abs(u),Math.abs(c));break;default:return void console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(i[1].name,'" is not a valid destination type.'))}if(m&&m!==this._currentScale?this.currentScaleValue=m:this._currentScale===n.UNKNOWN_SCALE&&(this.currentScaleValue=n.DEFAULT_SCALE_VALUE),"page-fit"!==m||i[4]){var _=[s.viewport.convertToViewportPoint(l,f),s.viewport.convertToViewportPoint(l+h,f+d)],w=Math.min(_[0][0],_[1][0]),S=Math.min(_[0][1],_[1][1]);o||(w=Math.max(w,0),S=Math.max(S,0)),this._scrollIntoView({pageDiv:s.div,pageSpot:{left:w,top:S},pageNumber:t})}else this._scrollIntoView({pageDiv:s.div,pageNumber:t})}else this._setCurrentPageNumber(t,!0);else console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(t,'" is not a valid pageNumber parameter.'))}}},{key:"_updateLocation",value:function(e){var t=this._currentScale,r=this._currentScaleValue,n=parseFloat(r)===t?Math.round(1e4*t)/100:r,i=e.id,a="#page="+i;a+="&zoom="+n;var o=this._pages[i-1],s=this.container,u=o.getPagePoint(s.scrollLeft-e.x,s.scrollTop-e.y),c=Math.round(u[0]),l=Math.round(u[1]);a+=","+c+","+l,this._location={pageNumber:i,scale:n,top:l,left:c,rotation:this._pagesRotation,pdfOpenParams:a}}},{key:"_updateHelper",value:function(e){throw new Error("Not implemented: _updateHelper")}},{key:"update",value:function(){var e=this._getVisiblePages(),t=e.views,r=t.length;if(0!==r){var n=Math.max(d,2*r+1);this._buffer.resize(n,t),this.renderingQueue.renderHighestPriority(e),this._updateHelper(t),this._updateLocation(e.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}}},{key:"containsElement",value:function(e){return this.container.contains(e)}},{key:"focus",value:function(){this.container.focus()}},{key:"_getCurrentVisiblePage",value:function(){if(!this.pagesCount)return{views:[]};var e=this._pages[this._currentPageNumber-1],t=e.div,r={id:e.id,x:t.offsetLeft+t.clientLeft,y:t.offsetTop+t.clientTop,view:e};return{first:r,last:r,views:[r]}}},{key:"_getVisiblePages",value:function(){return(0,n.getVisibleElements)(this.container,this._pages,!0,this._isScrollModeHorizontal)}},{key:"isPageVisible",value:function(e){return!!this.pdfDocument&&(this.pageNumber<1||e>this.pagesCount?(console.error("".concat(this._name,'.isPageVisible: "').concat(e,'" is out of bounds.')),!1):this._getVisiblePages().views.some((function(t){return t.id===e})))}},{key:"cleanup",value:function(){for(var e=0,t=this._pages.length;e<t;e++)this._pages[e]&&this._pages[e].renderingState!==i.RenderingStates.FINISHED&&this._pages[e].reset()}},{key:"_cancelRendering",value:function(){for(var e=0,t=this._pages.length;e<t;e++)this._pages[e]&&this._pages[e].cancelRendering()}},{key:"_ensurePdfPageLoaded",value:function(e){var t=this;if(e.pdfPage)return Promise.resolve(e.pdfPage);var r=e.id;if(this._pagesRequests[r])return this._pagesRequests[r];var n=this.pdfDocument.getPage(r).then((function(n){return e.pdfPage||e.setPdfPage(n),t._pagesRequests[r]=null,n}))["catch"]((function(e){console.error("Unable to get page for page view",e),t._pagesRequests[r]=null}));return this._pagesRequests[r]=n,n}},{key:"forceRendering",value:function(e){var t=this,r=e||this._getVisiblePages(),n=this._isScrollModeHorizontal?this.scroll.right:this.scroll.down,i=this.renderingQueue.getHighestPriority(r,this._pages,n);return!!i&&(this._ensurePdfPageLoaded(i).then((function(){t.renderingQueue.renderView(i)})),!0)}},{key:"createTextLayerBuilder",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new c.TextLayerBuilder({textLayerDiv:e,eventBus:this.eventBus,pageIndex:t,viewport:r,findController:this.isInPresentationMode?null:this.findController,enhanceTextSelection:!this.isInPresentationMode&&n})}},{key:"createAnnotationLayerBuilder",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.NullL10n;return new a.AnnotationLayerBuilder({pageDiv:e,pdfPage:t,imageResourcesPath:r,renderInteractiveForms:i,linkService:this.linkService,downloadManager:this.downloadManager,l10n:o})}},{key:"getPagesOverview",value:function(){var e=this._pages.map((function(e){var t=e.pdfPage.getViewport({scale:1});return{width:t.width,height:t.height,rotation:t.rotation}}));if(!this.enablePrintAutoRotate)return e;var t=(0,n.isPortraitOrientation)(e[0]);return e.map((function(e){return t===(0,n.isPortraitOrientation)(e)?e:{width:e.height,height:e.width,rotation:(e.rotation+90)%360}}))}},{key:"_updateScrollMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this._scrollMode,r=this.viewer;r.classList.toggle("scrollHorizontal",t===n.ScrollMode.HORIZONTAL),r.classList.toggle("scrollWrapped",t===n.ScrollMode.WRAPPED),this.pdfDocument&&e&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(e,!0),this.update())}},{key:"_updateSpreadMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.pdfDocument){var t=this.viewer,r=this._pages;if(t.textContent="",this._spreadMode===n.SpreadMode.NONE)for(var i=0,a=r.length;i<a;++i)t.appendChild(r[i].div);else for(var o=this._spreadMode-1,s=null,u=0,c=r.length;u<c;++u)null===s?(s=document.createElement("div"),s.className="spread",t.appendChild(s)):u%2===o&&(s=s.cloneNode(!1),t.appendChild(s)),s.appendChild(r[u].div);e&&(this._setCurrentPageNumber(e,!0),this.update())}}},{key:"pagesCount",get:function(){return this._pages.length}},{key:"pageViewsReady",get:function(){return this._pageViewsReady}},{key:"currentPageNumber",get:function(){return this._currentPageNumber},set:function(e){if(!Number.isInteger(e))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(e,!0)||console.error("".concat(this._name,'.currentPageNumber: "').concat(e,'" is not a valid page.')))}},{key:"currentPageLabel",get:function(){return this._pageLabels&&this._pageLabels[this._currentPageNumber-1]},set:function(e){if(this.pdfDocument){var t=0|e;if(this._pageLabels){var r=this._pageLabels.indexOf(e);r>=0&&(t=r+1)}this._setCurrentPageNumber(t,!0)||console.error("".concat(this._name,'.currentPageLabel: "').concat(e,'" is not a valid page.'))}}},{key:"currentScale",get:function(){return this._currentScale!==n.UNKNOWN_SCALE?this._currentScale:n.DEFAULT_SCALE},set:function(e){if(isNaN(e))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(e,!1)}},{key:"currentScaleValue",get:function(){return this._currentScaleValue},set:function(e){this.pdfDocument&&this._setScale(e,!1)}},{key:"pagesRotation",get:function(){return this._pagesRotation},set:function(e){if(!(0,n.isValidRotation)(e))throw new Error("Invalid pages rotation angle.");if(this.pdfDocument&&this._pagesRotation!==e){this._pagesRotation=e;for(var t=this._currentPageNumber,r=0,i=this._pages.length;r<i;r++){var a=this._pages[r];a.update(a.scale,e)}this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:e,pageNumber:t}),this.defaultRenderingQueue&&this.update()}}},{key:"_setDocumentViewerElement",get:function(){throw new Error("Not implemented: _setDocumentViewerElement")}},{key:"_isScrollModeHorizontal",get:function(){return!this.isInPresentationMode&&this._scrollMode===n.ScrollMode.HORIZONTAL}},{key:"isInPresentationMode",get:function(){return this.presentationModeState===n.PresentationModeState.FULLSCREEN}},{key:"isChangingPresentationMode",get:function(){return this.presentationModeState===n.PresentationModeState.CHANGING}},{key:"isHorizontalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}},{key:"isVerticalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}},{key:"hasEqualPageSizes",get:function(){for(var e=this._pages[0],t=1,r=this._pages.length;t<r;++t){var n=this._pages[t];if(n.width!==e.width||n.height!==e.height)return!1}return!0}},{key:"scrollMode",get:function(){return this._scrollMode},set:function(e){if(this._scrollMode!==e){if(!(0,n.isValidScrollMode)(e))throw new Error("Invalid scroll mode: ".concat(e));this._scrollMode=e,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:e}),this._updateScrollMode(this._currentPageNumber)}}},{key:"spreadMode",get:function(){return this._spreadMode},set:function(e){if(this._spreadMode!==e){if(!(0,n.isValidSpreadMode)(e))throw new Error("Invalid spread mode: ".concat(e));this._spreadMode=e,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:e}),this._updateSpreadMode(this._currentPageNumber)}}}]),e}();t.BaseViewer=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFViewer=void 0;var n=r(19),i=r(2);function a(e){return a="function"===typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)},a(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t,r){return h="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=d(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},h(e,t,r||e)}function d(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=p(e),null===e)break;return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}var m=function(e){function t(){return s(this,t),l(this,p(t).apply(this,arguments))}return v(t,e),c(t,[{key:"_scrollIntoView",value:function(e){var r=e.pageDiv,n=e.pageSpot,i=void 0===n?null:n,a=e.pageNumber,o=void 0===a?null:a;if(!i&&!this.isInPresentationMode){var s=r.offsetLeft+r.clientLeft,u=s+r.clientWidth,c=this.container,l=c.scrollLeft,f=c.clientWidth;(this._isScrollModeHorizontal||s<l||u>l+f)&&(i={left:0,top:0})}h(p(t.prototype),"_scrollIntoView",this).call(this,{pageDiv:r,pageSpot:i,pageNumber:o})}},{key:"_getVisiblePages",value:function(){return this.isInPresentationMode?this._getCurrentVisiblePage():h(p(t.prototype),"_getVisiblePages",this).call(this)}},{key:"_updateHelper",value:function(e){if(!this.isInPresentationMode){var t=this._currentPageNumber,r=!1,n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var u=o.value;if(u.percent<100)break;if(u.id===t){r=!0;break}}}catch(c){i=!0,a=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}r||(t=e[0].id),this._setCurrentPageNumber(t)}}},{key:"_setDocumentViewerElement",get:function(){return(0,i.shadow)(this,"_setDocumentViewerElement",this.viewer)}}]),t}(n.BaseViewer);t.PDFViewer=m}])}))}).call(this,r("62e4")(e))},"408a":function(e,t,r){var n=r("e330");e.exports=n(1..valueOf)},"428f":function(e,t,r){var n=r("da84");e.exports=n},4362:function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("df7c")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44ad":function(e,t,r){var n=r("da84"),i=r("e330"),a=r("d039"),o=r("c6b6"),s=n.Object,u=i("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?u(e,""):s(e)}:s},"44d2":function(e,t,r){var n=r("b622"),i=r("7c73"),a=r("9bf2"),o=n("unscopables"),s=Array.prototype;void 0==s[o]&&a.f(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},"44de":function(e,t,r){var n=r("da84");e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},"44e7":function(e,t,r){var n=r("861d"),i=r("c6b6"),a=r("b622"),o=a("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},"466d":function(e,t,r){"use strict";var n=r("c65b"),i=r("d784"),a=r("825a"),o=r("50c4"),s=r("577e"),u=r("1d80"),c=r("dc4a"),l=r("8aa5"),f=r("14c3");i("match",(function(e,t,r){return[function(t){var r=u(this),i=void 0==t?void 0:c(t,e);return i?n(i,t,r):new RegExp(t)[e](s(r))},function(e){var n=a(this),i=s(e),u=r(t,n,i);if(u.done)return u.value;if(!n.global)return f(n,i);var c=n.unicode;n.lastIndex=0;var h,d=[],p=0;while(null!==(h=f(n,i))){var v=s(h[0]);d[p]=v,""===v&&(n.lastIndex=l(i,o(n.lastIndex),c)),p++}return 0===p?null:d}]}))},4840:function(e,t,r){var n=r("825a"),i=r("5087"),a=r("b622"),o=a("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},"485a":function(e,t,r){var n=r("da84"),i=r("c65b"),a=r("1626"),o=r("861d"),s=n.TypeError;e.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!o(n=i(r,e)))return n;if(a(r=e.valueOf)&&!o(n=i(r,e)))return n;if("string"!==t&&a(r=e.toString)&&!o(n=i(r,e)))return n;throw s("Can't convert object to primitive value")}},4930:function(e,t,r){var n=r("2d00"),i=r("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"498a":function(e,t,r){"use strict";var n=r("23e7"),i=r("58a8").trim,a=r("c8d2");n({target:"String",proto:!0,forced:a("trim")},{trim:function(){return i(this)}})},"4a9b":function(e,t,r){var n=r("74e8");n("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"4d63":function(e,t,r){var n=r("83ab"),i=r("da84"),a=r("e330"),o=r("94ca"),s=r("7156"),u=r("9112"),c=r("9bf2").f,l=r("241c").f,f=r("3a9b"),h=r("44e7"),d=r("577e"),p=r("ad6d"),v=r("9f7f"),g=r("6eeb"),m=r("d039"),y=r("1a2d"),b=r("69f3").enforce,_=r("2626"),w=r("b622"),S=r("fce3"),A=r("107c"),x=w("match"),k=i.RegExp,P=k.prototype,C=i.SyntaxError,T=a(p),E=a(P.exec),R=a("".charAt),L=a("".replace),O=a("".indexOf),I=a("".slice),M=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,N=/a/g,F=/a/g,j=new k(N)!==N,U=v.UNSUPPORTED_Y,D=n&&(!j||U||S||A||m((function(){return F[x]=!1,k(N)!=N||k(F)==F||"/a/i"!=k(N,"i")}))),B=function(e){for(var t,r=e.length,n=0,i="",a=!1;n<=r;n++)t=R(e,n),"\\"!==t?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]":i+=t+R(e,++n);return i},q=function(e){for(var t,r=e.length,n=0,i="",a=[],o={},s=!1,u=!1,c=0,l="";n<=r;n++){if(t=R(e,n),"\\"===t)t+=R(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:E(M,I(e,n+1))&&(n+=2,u=!0),i+=t,c++;continue;case">"===t&&u:if(""===l||y(o,l))throw new C("Invalid capture group name");o[l]=!0,a[a.length]=[l,c],u=!1,l="";continue}u?l+=t:i+=t}return[i,a]};if(o("RegExp",D)){for(var H=function(e,t){var r,n,i,a,o,c,l=f(P,this),p=h(e),v=void 0===t,g=[],m=e;if(!l&&p&&v&&e.constructor===H)return e;if((p||f(P,e))&&(e=e.source,v&&(t="flags"in m?m.flags:T(m))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),m=e,S&&"dotAll"in N&&(n=!!t&&O(t,"s")>-1,n&&(t=L(t,/s/g,""))),r=t,U&&"sticky"in N&&(i=!!t&&O(t,"y")>-1,i&&(t=L(t,/y/g,""))),A&&(a=q(e),e=a[0],g=a[1]),o=s(k(e,t),l?this:P,H),(n||i||g.length)&&(c=b(o),n&&(c.dotAll=!0,c.raw=H(B(e),r)),i&&(c.sticky=!0),g.length&&(c.groups=g)),e!==m)try{u(o,"source",""===m?"(?:)":m)}catch(y){}return o},V=function(e){e in H||c(H,e,{configurable:!0,get:function(){return k[e]},set:function(t){k[e]=t}})},W=l(k),G=0;W.length>G;)V(W[G++]);P.constructor=H,H.prototype=P,g(i,"RegExp",H)}_("RegExp")},"4d64":function(e,t,r){var n=r("fc6a"),i=r("23cb"),a=r("07fa"),o=function(e){return function(t,r,o){var s,u=n(t),c=a(u),l=i(o,c);if(e&&r!=r){while(c>l)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},"4d90":function(e,t,r){"use strict";var n=r("23e7"),i=r("0ccb").start,a=r("9a0c");n({target:"String",proto:!0,forced:a},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,r){"use strict";var n=r("da84"),i=r("0366"),a=r("c65b"),o=r("7b0b"),s=r("9bdd"),u=r("e95a"),c=r("68ee"),l=r("07fa"),f=r("8418"),h=r("9a1f"),d=r("35a1"),p=n.Array;e.exports=function(e){var t=o(e),r=c(this),n=arguments.length,v=n>1?arguments[1]:void 0,g=void 0!==v;g&&(v=i(v,n>2?arguments[2]:void 0));var m,y,b,_,w,S,A=d(t),x=0;if(!A||this==p&&u(A))for(m=l(t),y=r?new this(m):p(m);m>x;x++)S=g?v(t[x],x):t[x],f(y,x,S);else for(_=h(t,A),w=_.next,y=r?new this:[];!(b=a(w,_)).done;x++)S=g?s(_,v,[b.value,x],!0):b.value,f(y,x,S);return y.length=x,y}},"4e82":function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),a=r("59ed"),o=r("7b0b"),s=r("07fa"),u=r("577e"),c=r("d039"),l=r("addb"),f=r("a640"),h=r("04d1"),d=r("d998"),p=r("2d00"),v=r("512c"),g=[],m=i(g.sort),y=i(g.push),b=c((function(){g.sort(void 0)})),_=c((function(){g.sort(null)})),w=f("sort"),S=!c((function(){if(p)return p<70;if(!(h&&h>3)){if(d)return!0;if(v)return v<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:t+n,v:r})}for(g.sort((function(e,t){return t.v-e.v})),n=0;n<g.length;n++)t=g[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}})),A=b||!_||!w||!S,x=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:u(t)>u(r)?1:-1}};n({target:"Array",proto:!0,forced:A},{sort:function(e){void 0!==e&&a(e);var t=o(this);if(S)return void 0===e?m(t):m(t,e);var r,n,i=[],u=s(t);for(n=0;n<u;n++)n in t&&y(i,t[n]);l(i,x(e)),r=i.length,n=0;while(n<r)t[n]=i[n++];while(n<u)delete t[n++];return t}})},"4fad":function(e,t,r){var n=r("d039"),i=r("861d"),a=r("c6b6"),o=r("d86b"),s=Object.isExtensible,u=n((function(){s(1)}));e.exports=u||o?function(e){return!!i(e)&&((!o||"ArrayBuffer"!=a(e))&&(!s||s(e)))}:s},5087:function(e,t,r){var n=r("da84"),i=r("68ee"),a=r("0d51"),o=n.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a constructor")}},"50c4":function(e,t,r){var n=r("5926"),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},"512c":function(e,t,r){var n=r("342f"),i=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},5319:function(e,t,r){"use strict";var n=r("2ba4"),i=r("c65b"),a=r("e330"),o=r("d784"),s=r("d039"),u=r("825a"),c=r("1626"),l=r("5926"),f=r("50c4"),h=r("577e"),d=r("1d80"),p=r("8aa5"),v=r("dc4a"),g=r("0cb2"),m=r("14c3"),y=r("b622"),b=y("replace"),_=Math.max,w=Math.min,S=a([].concat),A=a([].push),x=a("".indexOf),k=a("".slice),P=function(e){return void 0===e?e:String(e)},C=function(){return"$0"==="a".replace(/./,"$0")}(),T=function(){return!!/./[b]&&""===/./[b]("a","$0")}(),E=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));o("replace",(function(e,t,r){var a=T?"$":"$0";return[function(e,r){var n=d(this),a=void 0==e?void 0:v(e,b);return a?i(a,e,n,r):i(t,h(n),e,r)},function(e,i){var o=u(this),s=h(e);if("string"==typeof i&&-1===x(i,a)&&-1===x(i,"$<")){var d=r(t,o,s,i);if(d.done)return d.value}var v=c(i);v||(i=h(i));var y=o.global;if(y){var b=o.unicode;o.lastIndex=0}var C=[];while(1){var T=m(o,s);if(null===T)break;if(A(C,T),!y)break;var E=h(T[0]);""===E&&(o.lastIndex=p(s,f(o.lastIndex),b))}for(var R="",L=0,O=0;O<C.length;O++){T=C[O];for(var I=h(T[0]),M=_(w(l(T.index),s.length),0),N=[],F=1;F<T.length;F++)A(N,P(T[F]));var j=T.groups;if(v){var U=S([I],N,M,s);void 0!==j&&A(U,j);var D=h(n(i,void 0,U))}else D=g(I,s,M,N,j,i);M>=L&&(R+=k(s,L,M)+D,L=M+I.length)}return R+k(s,L)}]}),!E||!C||T)},5692:function(e,t,r){var n=r("c430"),i=r("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,r){var n=r("d066"),i=r("e330"),a=r("241c"),o=r("7418"),s=r("825a"),u=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=o.f;return r?u(t,r(e)):t}},"577e":function(e,t,r){var n=r("da84"),i=r("f5df"),a=n.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,r){var n=r("e330"),i=r("1d80"),a=r("577e"),o=r("5899"),s=n("".replace),u="["+o+"]",c=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$"),f=function(e){return function(t){var r=a(i(t));return 1&e&&(r=s(r,c,"")),2&e&&(r=s(r,l,"")),r}};e.exports={start:f(1),end:f(2),trim:f(3)}},5926:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?n:r)(t)}},"59ed":function(e,t,r){var n=r("da84"),i=r("1626"),a=r("0d51"),o=n.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}},"5a34":function(e,t,r){var n=r("da84"),i=r("44e7"),a=n.TypeError;e.exports=function(e){if(i(e))throw a("The method doesn't accept regular expressions");return e}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5cc6":function(e,t,r){var n=r("74e8");n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"5d41":function(e,t,r){var n=r("23e7"),i=r("c65b"),a=r("861d"),o=r("825a"),s=r("c60d"),u=r("06cf"),c=r("e163");function l(e,t){var r,n,f=arguments.length<3?e:arguments[2];return o(e)===f?e[t]:(r=u.f(e,t),r?s(r)?r.value:void 0===r.get?void 0:i(r.get,f):a(n=c(e))?l(n,t,f):void 0)}n({target:"Reflect",stat:!0},{get:l})},"5e77":function(e,t,r){var n=r("83ab"),i=r("1a2d"),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},"5f96":function(e,t,r){"use strict";var n=r("ebb5"),i=r("e330"),a=n.aTypedArray,o=n.exportTypedArrayMethod,s=i([].join);o("join",(function(e){return s(a(this),e)}))},"5fb2":function(e,t,r){"use strict";var n=r("da84"),i=r("e330"),a=2147483647,o=36,s=1,u=26,c=38,l=700,f=72,h=128,d="-",p=/[^\0-\u007E]/,v=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",m=o-s,y=n.RangeError,b=i(v.exec),_=Math.floor,w=String.fromCharCode,S=i("".charCodeAt),A=i([].join),x=i([].push),k=i("".replace),P=i("".split),C=i("".toLowerCase),T=function(e){var t=[],r=0,n=e.length;while(r<n){var i=S(e,r++);if(i>=55296&&i<=56319&&r<n){var a=S(e,r++);56320==(64512&a)?x(t,((1023&i)<<10)+(1023&a)+65536):(x(t,i),r--)}else x(t,i)}return t},E=function(e){return e+22+75*(e<26)},R=function(e,t,r){var n=0;for(e=r?_(e/l):e>>1,e+=_(e/t);e>m*u>>1;n+=o)e=_(e/m);return _(n+(m+1)*e/(e+c))},L=function(e){var t=[];e=T(e);var r,n,i=e.length,c=h,l=0,p=f;for(r=0;r<e.length;r++)n=e[r],n<128&&x(t,w(n));var v=t.length,m=v;v&&x(t,d);while(m<i){var b=a;for(r=0;r<e.length;r++)n=e[r],n>=c&&n<b&&(b=n);var S=m+1;if(b-c>_((a-l)/S))throw y(g);for(l+=(b-c)*S,c=b,r=0;r<e.length;r++){if(n=e[r],n<c&&++l>a)throw y(g);if(n==c){for(var k=l,P=o;;P+=o){var C=P<=p?s:P>=p+u?u:P-p;if(k<C)break;var L=k-C,O=o-C;x(t,w(E(C+L%O))),k=_(L/O)}x(t,w(E(k))),p=R(l,S,m==v),l=0,++m}}++l,++c}return A(t,"")};e.exports=function(e){var t,r,n=[],i=P(k(C(e),v,"."),".");for(t=0;t<i.length;t++)r=i[t],x(n,b(p,r)?"xn--"+L(r):r);return A(n,".")}},"605d":function(e,t,r){var n=r("c6b6"),i=r("da84");e.exports="process"==n(i.process)},6062:function(e,t,r){"use strict";var n=r("6d61"),i=r("6566");n("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},6069:function(e,t){e.exports="object"==typeof window},"60bd":function(e,t,r){"use strict";var n=r("da84"),i=r("e330"),a=r("5e77").PROPER,o=r("ebb5"),s=r("e260"),u=r("b622"),c=u("iterator"),l=n.Uint8Array,f=i(s.values),h=i(s.keys),d=i(s.entries),p=o.aTypedArray,v=o.exportTypedArrayMethod,g=l&&l.prototype[c],m=!!g&&"values"===g.name,y=function(){return f(p(this))};v("entries",(function(){return d(p(this))})),v("keys",(function(){return h(p(this))})),v("values",y,a&&!m),v(c,y,a&&!m)},"60da":function(e,t,r){"use strict";var n=r("83ab"),i=r("e330"),a=r("c65b"),o=r("d039"),s=r("df75"),u=r("7418"),c=r("d1e7"),l=r("7b0b"),f=r("44ad"),h=Object.assign,d=Object.defineProperty,p=i([].concat);e.exports=!h||o((function(){if(n&&1!==h({b:1},h(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=h({},e)[r]||s(h({},t)).join("")!=i}))?function(e,t){var r=l(e),i=arguments.length,o=1,h=u.f,d=c.f;while(i>o){var v,g=f(arguments[o++]),m=h?p(s(g),h(g)):s(g),y=m.length,b=0;while(y>b)v=m[b++],n&&!a(d,g,v)||(r[v]=g[v])}return r}:h},"621a":function(e,t,r){"use strict";var n=r("da84"),i=r("e330"),a=r("83ab"),o=r("a981"),s=r("5e77"),u=r("9112"),c=r("e2cc"),l=r("d039"),f=r("19aa"),h=r("5926"),d=r("50c4"),p=r("0b25"),v=r("77a7"),g=r("e163"),m=r("d2bb"),y=r("241c").f,b=r("9bf2").f,_=r("81d5"),w=r("f36a"),S=r("d44e"),A=r("69f3"),x=s.PROPER,k=s.CONFIGURABLE,P=A.get,C=A.set,T="ArrayBuffer",E="DataView",R="prototype",L="Wrong length",O="Wrong index",I=n[T],M=I,N=M&&M[R],F=n[E],j=F&&F[R],U=Object.prototype,D=n.Array,B=n.RangeError,q=i(_),H=i([].reverse),V=v.pack,W=v.unpack,G=function(e){return[255&e]},z=function(e){return[255&e,e>>8&255]},Y=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},K=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return V(e,23,4)},J=function(e){return V(e,52,8)},Q=function(e,t){b(e[R],t,{get:function(){return P(this)[t]}})},$=function(e,t,r,n){var i=p(r),a=P(e);if(i+t>a.byteLength)throw B(O);var o=P(a.buffer).bytes,s=i+a.byteOffset,u=w(o,s,s+t);return n?u:H(u)},Z=function(e,t,r,n,i,a){var o=p(r),s=P(e);if(o+t>s.byteLength)throw B(O);for(var u=P(s.buffer).bytes,c=o+s.byteOffset,l=n(+i),f=0;f<t;f++)u[c+f]=l[a?f:t-f-1]};if(o){var ee=x&&I.name!==T;if(l((function(){I(1)}))&&l((function(){new I(-1)}))&&!l((function(){return new I,new I(1.5),new I(NaN),ee&&!k})))ee&&k&&u(I,"name",T);else{M=function(e){return f(this,N),new I(p(e))},M[R]=N;for(var te,re=y(I),ne=0;re.length>ne;)(te=re[ne++])in M||u(M,te,I[te]);N.constructor=M}m&&g(j)!==U&&m(j,U);var ie=new F(new M(2)),ae=i(j.setInt8);ie.setInt8(0,2147483648),ie.setInt8(1,2147483649),!ie.getInt8(0)&&ie.getInt8(1)||c(j,{setInt8:function(e,t){ae(this,e,t<<24>>24)},setUint8:function(e,t){ae(this,e,t<<24>>24)}},{unsafe:!0})}else M=function(e){f(this,N);var t=p(e);C(this,{bytes:q(D(t),0),byteLength:t}),a||(this.byteLength=t)},N=M[R],F=function(e,t,r){f(this,j),f(e,N);var n=P(e).byteLength,i=h(t);if(i<0||i>n)throw B("Wrong offset");if(r=void 0===r?n-i:d(r),i+r>n)throw B(L);C(this,{buffer:e,byteLength:r,byteOffset:i}),a||(this.buffer=e,this.byteLength=r,this.byteOffset=i)},j=F[R],a&&(Q(M,"byteLength"),Q(F,"buffer"),Q(F,"byteLength"),Q(F,"byteOffset")),c(j,{getInt8:function(e){return $(this,1,e)[0]<<24>>24},getUint8:function(e){return $(this,1,e)[0]},getInt16:function(e){var t=$(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=$(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return K($(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return K($(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return W($(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return W($(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Z(this,1,e,G,t)},setUint8:function(e,t){Z(this,1,e,G,t)},setInt16:function(e,t){Z(this,2,e,z,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Z(this,2,e,z,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Z(this,4,e,Y,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Z(this,4,e,Y,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Z(this,4,e,X,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Z(this,8,e,J,t,arguments.length>2?arguments[2]:void 0)}});S(M,T),S(F,E),e.exports={ArrayBuffer:M,DataView:F}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"649e":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").some,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("some",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},6547:function(e,t,r){var n=r("e330"),i=r("5926"),a=r("577e"),o=r("1d80"),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(e){return function(t,r){var n,l,f=a(o(t)),h=i(r),d=f.length;return h<0||h>=d?e?"":void 0:(n=u(f,h),n<55296||n>56319||h+1===d||(l=u(f,h+1))<56320||l>57343?e?s(f,h):n:e?c(f,h,h+2):l-56320+(n-55296<<10)+65536)}};e.exports={codeAt:l(!1),charAt:l(!0)}},6566:function(e,t,r){"use strict";var n=r("9bf2").f,i=r("7c73"),a=r("e2cc"),o=r("0366"),s=r("19aa"),u=r("2266"),c=r("7dd0"),l=r("2626"),f=r("83ab"),h=r("f183").fastKey,d=r("69f3"),p=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,r,c){var l=e((function(e,n){s(e,d),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=n&&u(n,e[c],{that:e,AS_ENTRIES:r})})),d=l.prototype,g=v(t),m=function(e,t,r){var n,i,a=g(e),o=y(e,t);return o?o.value=r:(a.last=o={index:i=h(t,!0),key:t,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=o),n&&(n.next=o),f?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},y=function(e,t){var r,n=g(e),i=h(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return a(d,{clear:function(){var e=this,t=g(e),r=t.index,n=t.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete r[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,r=g(t),n=y(t,e);if(n){var i=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=i),i&&(i.previous=a),r.first==n&&(r.first=i),r.last==n&&(r.last=a),f?r.size--:t.size--}return!!n},forEach:function(e){var t,r=g(this),n=o(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:r.first){n(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!y(this,e)}}),a(d,r?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),f&&n(d,"size",{get:function(){return g(this).size}}),l},setStrong:function(e,t,r){var n=t+" Iterator",i=v(t),a=v(n);c(e,t,(function(e,t){p(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,r=e.last;while(r&&r.removed)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(t)}}},"65f0":function(e,t,r){var n=r("0b42");e.exports=function(e,t){return new(n(e))(0===t?0:t)}},"68ee":function(e,t,r){var n=r("e330"),i=r("d039"),a=r("1626"),o=r("f5df"),s=r("d066"),u=r("8925"),c=function(){},l=[],f=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=n(h.exec),p=!h.exec(c),v=function(e){if(!a(e))return!1;try{return f(c,l,e),!0}catch(t){return!1}},g=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!d(h,u(e))};e.exports=!f||i((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?g:v},"69f3":function(e,t,r){var n,i,a,o=r("7f9a"),s=r("da84"),u=r("e330"),c=r("861d"),l=r("9112"),f=r("1a2d"),h=r("c6cd"),d=r("f772"),p=r("d012"),v="Object already initialized",g=s.TypeError,m=s.WeakMap,y=function(e){return a(e)?i(e):n(e,{})},b=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}};if(o||h.state){var _=h.state||(h.state=new m),w=u(_.get),S=u(_.has),A=u(_.set);n=function(e,t){if(S(_,e))throw new g(v);return t.facade=e,A(_,e,t),t},i=function(e){return w(_,e)||{}},a=function(e){return S(_,e)}}else{var x=d("state");p[x]=!0,n=function(e,t){if(f(e,x))throw new g(v);return t.facade=e,l(e,x,t),t},i=function(e){return f(e,x)?e[x]:{}},a=function(e){return f(e,x)}}e.exports={set:n,get:i,has:a,enforce:y,getterFor:b}},"6c57":function(e,t,r){var n=r("23e7"),i=r("da84");n({global:!0},{globalThis:i})},"6d61":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("e330"),o=r("94ca"),s=r("6eeb"),u=r("f183"),c=r("2266"),l=r("19aa"),f=r("1626"),h=r("861d"),d=r("d039"),p=r("1c7e"),v=r("d44e"),g=r("7156");e.exports=function(e,t,r){var m=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),b=m?"set":"add",_=i[e],w=_&&_.prototype,S=_,A={},x=function(e){var t=a(w[e]);s(w,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(y&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return y&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!h(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})},k=o(e,!f(_)||!(y||w.forEach&&!d((function(){(new _).entries().next()}))));if(k)S=r.getConstructor(t,e,m,b),u.enable();else if(o(e,!0)){var P=new S,C=P[b](y?{}:-0,1)!=P,T=d((function(){P.has(1)})),E=p((function(e){new _(e)})),R=!y&&d((function(){var e=new _,t=5;while(t--)e[b](t,t);return!e.has(-0)}));E||(S=t((function(e,t){l(e,w);var r=g(new _,e,S);return void 0!=t&&c(t,r[b],{that:r,AS_ENTRIES:m}),r})),S.prototype=w,w.constructor=S),(T||R)&&(x("delete"),x("has"),m&&x("get")),(R||C)&&x(b),y&&w.clear&&delete w.clear}return A[e]=S,n({global:!0,forced:S!=_},A),v(S,e),y||r.setStrong(S,e,m),S}},"6eeb":function(e,t,r){var n=r("da84"),i=r("1626"),a=r("1a2d"),o=r("9112"),s=r("ce4e"),u=r("8925"),c=r("69f3"),l=r("5e77").CONFIGURABLE,f=c.get,h=c.enforce,d=String(String).split("String");(e.exports=function(e,t,r,u){var c,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet,g=u&&void 0!==u.name?u.name:t;i(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||l&&r.name!==g)&&o(r,"name",g),c=h(r),c.source||(c.source=d.join("string"==typeof g?g:""))),e!==n?(f?!v&&e[t]&&(p=!0):delete e[t],p?e[t]=r:o(e,t,r)):p?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&f(this).source||u(this)}))},"6f53":function(e,t,r){var n=r("83ab"),i=r("e330"),a=r("df75"),o=r("fc6a"),s=r("d1e7").f,u=i(s),c=i([].push),l=function(e){return function(t){var r,i=o(t),s=a(i),l=s.length,f=0,h=[];while(l>f)r=s[f++],n&&!u(i,r)||c(h,e?[r,i[r]]:i[r]);return h}};e.exports={entries:l(!0),values:l(!1)}},7037:function(e,t,r){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0),n(t)}r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("e260"),r("3ca3"),r("ddb0"),e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0},7039:function(e,t,r){var n=r("23e7"),i=r("d039"),a=r("057f").f,o=i((function(){return!Object.getOwnPropertyNames(1)}));n({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:a})},7156:function(e,t,r){var n=r("1626"),i=r("861d"),a=r("d2bb");e.exports=function(e,t,r){var o,s;return a&&n(o=t.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(e,s),e}},"72a5":function(e,t,r){"use strict";r("2f5a")},"72f7":function(e,t,r){"use strict";var n=r("ebb5").exportTypedArrayMethod,i=r("d039"),a=r("da84"),o=r("e330"),s=a.Uint8Array,u=s&&s.prototype||{},c=[].toString,l=o([].join);i((function(){c.call({})}))&&(c=function(){return l(this)});var f=u.toString!=c;n("toString",c,f)},"735e":function(e,t,r){"use strict";var n=r("ebb5"),i=r("c65b"),a=r("81d5"),o=n.aTypedArray,s=n.exportTypedArrayMethod;s("fill",(function(e){var t=arguments.length;return i(a,o(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,r){var n=r("428f"),i=r("1a2d"),a=r("e538"),o=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},"74e8":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("c65b"),o=r("83ab"),s=r("8aa7"),u=r("ebb5"),c=r("621a"),l=r("19aa"),f=r("5c6c"),h=r("9112"),d=r("eac5"),p=r("50c4"),v=r("0b25"),g=r("182d"),m=r("a04b"),y=r("1a2d"),b=r("f5df"),_=r("861d"),w=r("d9b5"),S=r("7c73"),A=r("3a9b"),x=r("d2bb"),k=r("241c").f,P=r("a078"),C=r("b727").forEach,T=r("2626"),E=r("9bf2"),R=r("06cf"),L=r("69f3"),O=r("7156"),I=L.get,M=L.set,N=E.f,F=R.f,j=Math.round,U=i.RangeError,D=c.ArrayBuffer,B=D.prototype,q=c.DataView,H=u.NATIVE_ARRAY_BUFFER_VIEWS,V=u.TYPED_ARRAY_CONSTRUCTOR,W=u.TYPED_ARRAY_TAG,G=u.TypedArray,z=u.TypedArrayPrototype,Y=u.aTypedArrayConstructor,K=u.isTypedArray,X="BYTES_PER_ELEMENT",J="Wrong length",Q=function(e,t){Y(e);var r=0,n=t.length,i=new e(n);while(n>r)i[r]=t[r++];return i},$=function(e,t){N(e,t,{get:function(){return I(this)[t]}})},Z=function(e){var t;return A(B,e)||"ArrayBuffer"==(t=b(e))||"SharedArrayBuffer"==t},ee=function(e,t){return K(e)&&!w(t)&&t in e&&d(+t)&&t>=0},te=function(e,t){return t=m(t),ee(e,t)?f(2,e[t]):F(e,t)},re=function(e,t,r){return t=m(t),!(ee(e,t)&&_(r)&&y(r,"value"))||y(r,"get")||y(r,"set")||r.configurable||y(r,"writable")&&!r.writable||y(r,"enumerable")&&!r.enumerable?N(e,t,r):(e[t]=r.value,e)};o?(H||(R.f=te,E.f=re,$(z,"buffer"),$(z,"byteOffset"),$(z,"byteLength"),$(z,"length")),n({target:"Object",stat:!0,forced:!H},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var o=e.match(/\d+$/)[0]/8,u=e+(r?"Clamped":"")+"Array",c="get"+e,f="set"+e,d=i[u],m=d,y=m&&m.prototype,b={},w=function(e,t){var r=I(e);return r.view[c](t*o+r.byteOffset,!0)},A=function(e,t,n){var i=I(e);r&&(n=(n=j(n))<0?0:n>255?255:255&n),i.view[f](t*o+i.byteOffset,n,!0)},E=function(e,t){N(e,t,{get:function(){return w(this,t)},set:function(e){return A(this,t,e)},enumerable:!0})};H?s&&(m=t((function(e,t,r,n){return l(e,y),O(function(){return _(t)?Z(t)?void 0!==n?new d(t,g(r,o),n):void 0!==r?new d(t,g(r,o)):new d(t):K(t)?Q(m,t):a(P,m,t):new d(v(t))}(),e,m)})),x&&x(m,G),C(k(d),(function(e){e in m||h(m,e,d[e])})),m.prototype=y):(m=t((function(e,t,r,n){l(e,y);var i,s,u,c=0,f=0;if(_(t)){if(!Z(t))return K(t)?Q(m,t):a(P,m,t);i=t,f=g(r,o);var h=t.byteLength;if(void 0===n){if(h%o)throw U(J);if(s=h-f,s<0)throw U(J)}else if(s=p(n)*o,s+f>h)throw U(J);u=s/o}else u=v(t),s=u*o,i=new D(s);M(e,{buffer:i,byteOffset:f,byteLength:s,length:u,view:new q(i)});while(c<u)E(e,c++)})),x&&x(m,G),y=m.prototype=S(z)),y.constructor!==m&&h(y,"constructor",m),h(y,V,m),W&&h(y,W,u),b[u]=m,n({global:!0,forced:m!=d,sham:!H},b),X in m||h(m,X,o),X in y||h(y,X,o),T(u)}):e.exports=function(){}},"77a7":function(e,t,r){var n=r("da84"),i=n.Array,a=Math.abs,o=Math.pow,s=Math.floor,u=Math.log,c=Math.LN2,l=function(e,t,r){var n,l,f,h=i(r),d=8*r-t-1,p=(1<<d)-1,v=p>>1,g=23===t?o(2,-24)-o(2,-77):0,m=e<0||0===e&&1/e<0?1:0,y=0;for(e=a(e),e!=e||e===1/0?(l=e!=e?1:0,n=p):(n=s(u(e)/c),e*(f=o(2,-n))<1&&(n--,f*=2),e+=n+v>=1?g/f:g*o(2,1-v),e*f>=2&&(n++,f/=2),n+v>=p?(l=0,n=p):n+v>=1?(l=(e*f-1)*o(2,t),n+=v):(l=e*o(2,v-1)*o(2,t),n=0));t>=8;h[y++]=255&l,l/=256,t-=8);for(n=n<<t|l,d+=t;d>0;h[y++]=255&n,n/=256,d-=8);return h[--y]|=128*m,h},f=function(e,t){var r,n=e.length,i=8*n-t-1,a=(1<<i)-1,s=a>>1,u=i-7,c=n-1,l=e[c--],f=127&l;for(l>>=7;u>0;f=256*f+e[c],c--,u-=8);for(r=f&(1<<-u)-1,f>>=-u,u+=t;u>0;r=256*r+e[c],c--,u-=8);if(0===f)f=1-s;else{if(f===a)return r?NaN:l?-1/0:1/0;r+=o(2,t),f-=s}return(l?-1:1)*r*o(2,f-t)};e.exports={pack:l,unpack:f}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,r){var n=r("cc12"),i=n("span").classList,a=i&&i.constructor&&i.constructor.prototype;e.exports=a===Object.prototype?void 0:a},"7b0b":function(e,t,r){var n=r("da84"),i=r("1d80"),a=n.Object;e.exports=function(e){return a(i(e))}},"7c73":function(e,t,r){var n,i=r("825a"),a=r("37e8"),o=r("7839"),s=r("d012"),u=r("1be4"),c=r("cc12"),l=r("f772"),f=">",h="<",d="prototype",p="script",v=l("IE_PROTO"),g=function(){},m=function(e){return h+p+f+e+h+"/"+p+f},y=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=c("iframe"),r="java"+p+":";return t.style.display="none",u.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},_=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}_="undefined"!=typeof document?document.domain&&n?y(n):b():y(n);var e=o.length;while(e--)delete _[d][o[e]];return _()};s[v]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[d]=i(e),r=new g,g[d]=null,r[v]=e):r=_(),void 0===t?r:a(r,t)}},"7db0":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").find,a=r("44d2"),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a(o)},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),i=r("c65b"),a=r("c430"),o=r("5e77"),s=r("1626"),u=r("9ed3"),c=r("e163"),l=r("d2bb"),f=r("d44e"),h=r("9112"),d=r("6eeb"),p=r("b622"),v=r("3f8c"),g=r("ae93"),m=o.PROPER,y=o.CONFIGURABLE,b=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,w=p("iterator"),S="keys",A="values",x="entries",k=function(){return this};e.exports=function(e,t,r,o,p,g,P){u(r,t,o);var C,T,E,R=function(e){if(e===p&&N)return N;if(!_&&e in I)return I[e];switch(e){case S:return function(){return new r(this,e)};case A:return function(){return new r(this,e)};case x:return function(){return new r(this,e)}}return function(){return new r(this)}},L=t+" Iterator",O=!1,I=e.prototype,M=I[w]||I["@@iterator"]||p&&I[p],N=!_&&M||R(p),F="Array"==t&&I.entries||M;if(F&&(C=c(F.call(new e)),C!==Object.prototype&&C.next&&(a||c(C)===b||(l?l(C,b):s(C[w])||d(C,w,k)),f(C,L,!0,!0),a&&(v[L]=k))),m&&p==A&&M&&M.name!==A&&(!a&&y?h(I,"name",A):(O=!0,N=function(){return i(M,this)})),p)if(T={values:R(A),keys:g?N:R(S),entries:R(x)},P)for(E in T)(_||O||!(E in I))&&d(I,E,T[E]);else n({target:t,proto:!0,forced:_||O},T);return a&&!P||I[w]===N||d(I,w,N,{name:p}),v[t]=N,T}},"7f9a":function(e,t,r){var n=r("da84"),i=r("1626"),a=r("8925"),o=n.WeakMap;e.exports=i(o)&&/native code/.test(a(o))},"81d5":function(e,t,r){"use strict";var n=r("7b0b"),i=r("23cb"),a=r("07fa");e.exports=function(e){var t=n(this),r=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),u=o>2?arguments[2]:void 0,c=void 0===u?r:i(u,r);while(c>s)t[s++]=e;return t}},"825a":function(e,t,r){var n=r("da84"),i=r("861d"),a=n.String,o=n.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}},"82f8":function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").includes,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("includes",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){"use strict";var n=r("a04b"),i=r("9bf2"),a=r("5c6c");e.exports=function(e,t,r){var o=n(t);o in e?i.f(e,o,a(0,r)):e[o]=r}},"841c":function(e,t,r){"use strict";var n=r("c65b"),i=r("d784"),a=r("825a"),o=r("1d80"),s=r("129f"),u=r("577e"),c=r("dc4a"),l=r("14c3");i("search",(function(e,t,r){return[function(t){var r=o(this),i=void 0==t?void 0:c(t,e);return i?n(i,t,r):new RegExp(t)[e](u(r))},function(e){var n=a(this),i=u(e),o=r(t,n,i);if(o.done)return o.value;var c=n.lastIndex;s(c,0)||(n.lastIndex=0);var f=l(n,i);return s(n.lastIndex,c)||(n.lastIndex=c),null===f?-1:f.index}]}))},"843c":function(e,t,r){"use strict";var n=r("23e7"),i=r("0ccb").end,a=r("9a0c");n({target:"String",proto:!0,forced:a},{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"84f2":function(e,t,r){e.exports=function(){return new Worker(r.p+"cda8beb0a7b3fc08c6f6.worker.js")}},"857a":function(e,t,r){var n=r("e330"),i=r("1d80"),a=r("577e"),o=/"/g,s=n("".replace);e.exports=function(e,t,r,n){var u=a(i(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+s(a(n),o,"&quot;")+'"'),c+">"+u+"</"+t+">"}},"861d":function(e,t,r){var n=r("1626");e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},8875:function(e,t,r){var n,i,a;(function(r,o){i=[],n=o,a="function"===typeof n?n.apply(t,i):n,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var r,n,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(d.stack)||o.exec(d.stack),u=s&&s[1]||!1,c=s&&s[2]||!1,l=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");u===l&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=r.replace(n,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===u)return f[h];if(u===l&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},8925:function(e,t,r){var n=r("e330"),i=r("1626"),a=r("c6cd"),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},"8a59":function(e,t,r){var n=r("74e8");n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}),!0)},"8a79":function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),a=r("06cf").f,o=r("50c4"),s=r("577e"),u=r("5a34"),c=r("1d80"),l=r("ab13"),f=r("c430"),h=i("".endsWith),d=i("".slice),p=Math.min,v=l("endsWith"),g=!f&&!v&&!!function(){var e=a(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!g&&!v},{endsWith:function(e){var t=s(c(this));u(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,i=void 0===r?n:p(o(r),n),a=s(e);return h?h(t,a,i):d(t,i-a.length,i)===a}})},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"8aa7":function(e,t,r){var n=r("da84"),i=r("d039"),a=r("1c7e"),o=r("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;e.exports=!o||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!a((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},"8ba4":function(e,t,r){var n=r("23e7"),i=r("eac5");n({target:"Number",stat:!0},{isInteger:i})},"8d32":function(e,t,r){},"907a":function(e,t,r){"use strict";var n=r("ebb5"),i=r("07fa"),a=r("5926"),o=n.aTypedArray,s=n.exportTypedArrayMethod;s("at",(function(e){var t=o(this),r=i(t),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}))},"90d7":function(e,t,r){var n=r("23e7"),i=Math.log,a=Math.LN2;n({target:"Math",stat:!0},{log2:function(e){return i(e)/a}})},"90e3":function(e,t,r){var n=r("e330"),i=0,a=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},9112:function(e,t,r){var n=r("83ab"),i=r("9bf2"),a=r("5c6c");e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},9129:function(e,t,r){var n=r("23e7");n({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},9152:function(e,t){
2
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
3
+ t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,a=d&(1<<-l)-1,d>>=-l,l+=s;l>0;a=256*a+e[t+f],f+=h,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=n;l>0;o=256*o+e[t+f],f+=h,l-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),a-=c}return(d?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,u,c=8*a-i-1,l=(1<<c)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+f>=1?h/u:h*Math.pow(2,1-f),t*u>=2&&(o++,u/=2),o+f>=l?(s=0,o=l):o+f>=1?(s=(t*u-1)*Math.pow(2,i),o+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[r+d]=255&o,d+=p,o/=256,c-=8);e[r+d-p]|=128*v}},"91dd":function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,a){t=t||"&",r=r||"=";var o={};if("string"!==typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var u=1e3;a&&"number"===typeof a.maxKeys&&(u=a.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l<c;++l){var f,h,d,p,v=e[l].replace(s,"%20"),g=v.indexOf(r);g>=0?(f=v.substr(0,g),h=v.substr(g+1)):(f=v,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),n(o,d)?i(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},9263:function(e,t,r){"use strict";var n=r("c65b"),i=r("e330"),a=r("577e"),o=r("ad6d"),s=r("9f7f"),u=r("5692"),c=r("7c73"),l=r("69f3").get,f=r("fce3"),h=r("107c"),d=u("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,v=p,g=i("".charAt),m=i("".indexOf),y=i("".replace),b=i("".slice),_=function(){var e=/a/,t=/b*/g;return n(p,e,"a"),n(p,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=s.UNSUPPORTED_Y||s.BROKEN_CARET,S=void 0!==/()??/.exec("")[1],A=_||S||w||f||h;A&&(v=function(e){var t,r,i,s,u,f,h,A=this,x=l(A),k=a(e),P=x.raw;if(P)return P.lastIndex=A.lastIndex,t=n(v,P,k),A.lastIndex=P.lastIndex,t;var C=x.groups,T=w&&A.sticky,E=n(o,A),R=A.source,L=0,O=k;if(T&&(E=y(E,"y",""),-1===m(E,"g")&&(E+="g"),O=b(k,A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&"\n"!==g(k,A.lastIndex-1))&&(R="(?: "+R+")",O=" "+O,L++),r=new RegExp("^(?:"+R+")",E)),S&&(r=new RegExp("^"+R+"$(?!\\s)",E)),_&&(i=A.lastIndex),s=n(p,T?r:A,O),T?s?(s.input=b(s.input,L),s[0]=b(s[0],L),s.index=A.lastIndex,A.lastIndex+=s[0].length):A.lastIndex=0:_&&s&&(A.lastIndex=A.global?s.index+s[0].length:i),S&&s&&s.length>1&&n(d,s[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&C)for(s.groups=f=c(null),u=0;u<C.length;u++)h=C[u],f[h[0]]=s[h[1]];return s}),e.exports=v},"944a":function(e,t,r){var n=r("746f");n("toStringTag")},"94ca":function(e,t,r){var n=r("d039"),i=r("1626"),a=/#|\.prototype\./,o=function(e,t){var r=u[s(e)];return r==l||r!=c&&(i(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},"96cf":function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(O){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),o=new E(n||[]);return a._invoke=k(e,r,o),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(O){return{type:"throw",arg:O}}}e.wrap=c;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function g(){}function m(){}function y(){}var b={};u(b,a,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(R([])));w&&w!==r&&n.call(w,a)&&(b=w);var S=y.prototype=g.prototype=Object.create(b);function A(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(i,a,o,s){var u=l(e[i],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):t.resolve(f).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,s)}))}s(u.arg)}var i;function a(e,n){function a(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(a,a):a()}this._invoke=a}function k(e,t,r){var n=f;return function(i,a){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw a;return L()}r.method=i,r.arg=a;while(1){var o=r.delegate;if(o){var s=P(o,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}function P(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator["return"]&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function R(e){if(e){var r=e[a];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){while(++i<e.length)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}return{next:L}}function L(){return{value:t,done:!0}}return m.prototype=y,u(S,"constructor",y),u(y,"constructor",m),m.displayName=u(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},A(x.prototype),u(x.prototype,o,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new x(c(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},A(S),u(S,s,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=R,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),i=r("da84"),a=r("d066"),o=r("c65b"),s=r("e330"),u=r("0d3b"),c=r("6eeb"),l=r("e2cc"),f=r("d44e"),h=r("9ed3"),d=r("69f3"),p=r("19aa"),v=r("1626"),g=r("1a2d"),m=r("0366"),y=r("f5df"),b=r("825a"),_=r("861d"),w=r("577e"),S=r("7c73"),A=r("5c6c"),x=r("9a1f"),k=r("35a1"),P=r("b622"),C=r("addb"),T=P("iterator"),E="URLSearchParams",R=E+"Iterator",L=d.set,O=d.getterFor(E),I=d.getterFor(R),M=a("fetch"),N=a("Request"),F=a("Headers"),j=N&&N.prototype,U=F&&F.prototype,D=i.RegExp,B=i.TypeError,q=i.decodeURIComponent,H=i.encodeURIComponent,V=s("".charAt),W=s([].join),G=s([].push),z=s("".replace),Y=s([].shift),K=s([].splice),X=s("".split),J=s("".slice),Q=/\+/g,$=Array(4),Z=function(e){return $[e-1]||($[e-1]=D("((?:%[\\da-f]{2}){"+e+"})","gi"))},ee=function(e){try{return q(e)}catch(t){return e}},te=function(e){var t=z(e,Q," "),r=4;try{return q(t)}catch(n){while(r)t=z(t,Z(r--),ee);return t}},re=/[!'()~]|%20/g,ne={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ie=function(e){return ne[e]},ae=function(e){return z(H(e),re,ie)},oe=function(e,t){if(t){var r,n,i=X(t,"&"),a=0;while(a<i.length)r=i[a++],r.length&&(n=X(r,"="),G(e,{key:te(Y(n)),value:te(W(n,"="))}))}},se=function(e){this.entries.length=0,oe(this.entries,e)},ue=function(e,t){if(e<t)throw B("Not enough arguments")},ce=h((function(e,t){L(this,{type:R,iterator:x(O(e).entries),kind:t})}),"Iterator",(function(){var e=I(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),le=function(){p(this,fe);var e,t,r,n,i,a,s,u,c,l=arguments.length>0?arguments[0]:void 0,f=this,h=[];if(L(f,{type:E,entries:h,updateURL:function(){},updateSearchParams:se}),void 0!==l)if(_(l))if(e=k(l),e){t=x(l,e),r=t.next;while(!(n=o(r,t)).done){if(i=x(b(n.value)),a=i.next,(s=o(a,i)).done||(u=o(a,i)).done||!o(a,i).done)throw B("Expected sequence with length 2");G(h,{key:w(s.value),value:w(u.value)})}}else for(c in l)g(l,c)&&G(h,{key:c,value:w(l[c])});else oe(h,"string"==typeof l?"?"===V(l,0)?J(l,1):l:w(l))},fe=le.prototype;if(l(fe,{append:function(e,t){ue(arguments.length,2);var r=O(this);G(r.entries,{key:w(e),value:w(t)}),r.updateURL()},delete:function(e){ue(arguments.length,1);var t=O(this),r=t.entries,n=w(e),i=0;while(i<r.length)r[i].key===n?K(r,i,1):i++;t.updateURL()},get:function(e){ue(arguments.length,1);for(var t=O(this).entries,r=w(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){ue(arguments.length,1);for(var t=O(this).entries,r=w(e),n=[],i=0;i<t.length;i++)t[i].key===r&&G(n,t[i].value);return n},has:function(e){ue(arguments.length,1);var t=O(this).entries,r=w(e),n=0;while(n<t.length)if(t[n++].key===r)return!0;return!1},set:function(e,t){ue(arguments.length,1);for(var r,n=O(this),i=n.entries,a=!1,o=w(e),s=w(t),u=0;u<i.length;u++)r=i[u],r.key===o&&(a?K(i,u--,1):(a=!0,r.value=s));a||G(i,{key:o,value:s}),n.updateURL()},sort:function(){var e=O(this);C(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=O(this).entries,n=m(e,arguments.length>1?arguments[1]:void 0),i=0;while(i<r.length)t=r[i++],n(t.value,t.key,this)},keys:function(){return new ce(this,"keys")},values:function(){return new ce(this,"values")},entries:function(){return new ce(this,"entries")}},{enumerable:!0}),c(fe,T,fe.entries,{name:"entries"}),c(fe,"toString",(function(){var e,t=O(this).entries,r=[],n=0;while(n<t.length)e=t[n++],G(r,ae(e.key)+"="+ae(e.value));return W(r,"&")}),{enumerable:!0}),f(le,E),n({global:!0,forced:!u},{URLSearchParams:le}),!u&&v(F)){var he=s(U.has),de=s(U.set),pe=function(e){if(_(e)){var t,r=e.body;if(y(r)===E)return t=e.headers?new F(e.headers):new F,he(t,"content-type")||de(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(e,{body:A(0,w(r)),headers:A(0,t)})}return e};if(v(M)&&n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return M(e,arguments.length>1?pe(arguments[1]):{})}}),v(N)){var ve=function(e){return p(this,j),new N(e,arguments.length>1?pe(arguments[1]):{})};j.constructor=ve,ve.prototype=j,n({global:!0,forced:!0},{Request:ve})}}e.exports={URLSearchParams:le,getState:O}},"99af":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("d039"),o=r("e8b5"),s=r("861d"),u=r("7b0b"),c=r("07fa"),l=r("8418"),f=r("65f0"),h=r("1dde"),d=r("b622"),p=r("2d00"),v=d("isConcatSpreadable"),g=9007199254740991,m="Maximum allowed index exceeded",y=i.TypeError,b=p>=51||!a((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),_=h("concat"),w=function(e){if(!s(e))return!1;var t=e[v];return void 0!==t?!!t:o(e)},S=!b||!_;n({target:"Array",proto:!0,forced:S},{concat:function(e){var t,r,n,i,a,o=u(this),s=f(o,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(a=-1===t?o:arguments[t],w(a)){if(i=c(a),h+i>g)throw y(m);for(r=0;r<i;r++,h++)r in a&&l(s,h,a[r])}else{if(h>=g)throw y(m);l(s,h++,a)}return s.length=h,s}})},"9a0c":function(e,t,r){var n=r("342f");e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},"9a1f":function(e,t,r){var n=r("da84"),i=r("c65b"),a=r("59ed"),o=r("825a"),s=r("0d51"),u=r("35a1"),c=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(a(r))return o(i(r,e));throw c(s(e)+" is not iterable")}},"9a8c":function(e,t,r){"use strict";var n=r("e330"),i=r("ebb5"),a=r("145e"),o=n(a),s=i.aTypedArray,u=i.exportTypedArrayMethod;u("copyWithin",(function(e,t){return o(s(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(o){i(e,"throw",o)}}},"9bf2":function(e,t,r){var n=r("da84"),i=r("83ab"),a=r("0cfb"),o=r("825a"),s=r("a04b"),u=n.TypeError,c=Object.defineProperty;t.f=i?c:function(e,t,r){if(o(e),t=s(t),o(r),a)try{return c(e,t,r)}catch(n){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,i=r("7c73"),a=r("5c6c"),o=r("d44e"),s=r("3f8c"),u=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=i(n,{next:a(1,r)}),o(e,c,!1,!0),s[c]=u,e}},"9f7f":function(e,t,r){var n=r("d039"),i=r("da84"),a=i.RegExp;t.UNSUPPORTED_Y=n((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a04b:function(e,t,r){var n=r("c04e"),i=r("d9b5");e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},a078:function(e,t,r){var n=r("0366"),i=r("c65b"),a=r("5087"),o=r("7b0b"),s=r("07fa"),u=r("9a1f"),c=r("35a1"),l=r("e95a"),f=r("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,r,h,d,p,v,g=a(this),m=o(e),y=arguments.length,b=y>1?arguments[1]:void 0,_=void 0!==b,w=c(m);if(w&&!l(w)){p=u(m,w),v=p.next,m=[];while(!(d=i(v,p)).done)m.push(d.value)}for(_&&y>2&&(b=n(b,arguments[2])),r=s(m),h=new(f(g))(r),t=0;r>t;t++)h[t]=_?b(m[t],t):m[t];return h}},a15b:function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),a=r("44ad"),o=r("fc6a"),s=r("a640"),u=i([].join),c=a!=Object,l=s("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(e){return u(o(this),void 0===e?",":e)}})},a434:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("23cb"),o=r("5926"),s=r("07fa"),u=r("7b0b"),c=r("65f0"),l=r("8418"),f=r("1dde"),h=f("splice"),d=i.TypeError,p=Math.max,v=Math.min,g=9007199254740991,m="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var r,n,i,f,h,y,b=u(this),_=s(b),w=a(e,_),S=arguments.length;if(0===S?r=n=0:1===S?(r=0,n=_-w):(r=S-2,n=v(p(o(t),0),_-w)),_+r-n>g)throw d(m);for(i=c(b,n),f=0;f<n;f++)h=w+f,h in b&&l(i,f,b[h]);if(i.length=n,r<n){for(f=w;f<_-n;f++)h=f+n,y=f+r,h in b?b[y]=b[h]:delete b[y];for(f=_;f>_-n+r;f--)delete b[f-1]}else if(r>n)for(f=_-n;f>w;f--)h=f+n-1,y=f+r-1,h in b?b[y]=b[h]:delete b[y];for(f=0;f<r;f++)b[f+w]=arguments[f+2];return b.length=_-n+r,i}})},a4b4:function(e,t,r){var n=r("342f");e.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("d066"),o=r("2ba4"),s=r("c65b"),u=r("e330"),c=r("c430"),l=r("83ab"),f=r("4930"),h=r("d039"),d=r("1a2d"),p=r("e8b5"),v=r("1626"),g=r("861d"),m=r("3a9b"),y=r("d9b5"),b=r("825a"),_=r("7b0b"),w=r("fc6a"),S=r("a04b"),A=r("577e"),x=r("5c6c"),k=r("7c73"),P=r("df75"),C=r("241c"),T=r("057f"),E=r("7418"),R=r("06cf"),L=r("9bf2"),O=r("d1e7"),I=r("f36a"),M=r("6eeb"),N=r("5692"),F=r("f772"),j=r("d012"),U=r("90e3"),D=r("b622"),B=r("e538"),q=r("746f"),H=r("d44e"),V=r("69f3"),W=r("b727").forEach,G=F("hidden"),z="Symbol",Y="prototype",K=D("toPrimitive"),X=V.set,J=V.getterFor(z),Q=Object[Y],$=i.Symbol,Z=$&&$[Y],ee=i.TypeError,te=i.QObject,re=a("JSON","stringify"),ne=R.f,ie=L.f,ae=T.f,oe=O.f,se=u([].push),ue=N("symbols"),ce=N("op-symbols"),le=N("string-to-symbol-registry"),fe=N("symbol-to-string-registry"),he=N("wks"),de=!te||!te[Y]||!te[Y].findChild,pe=l&&h((function(){return 7!=k(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=ne(Q,t);n&&delete Q[t],ie(e,t,r),n&&e!==Q&&ie(Q,t,n)}:ie,ve=function(e,t){var r=ue[e]=k(Z);return X(r,{type:z,tag:e,description:t}),l||(r.description=t),r},ge=function(e,t,r){e===Q&&ge(ce,t,r),b(e);var n=S(t);return b(r),d(ue,n)?(r.enumerable?(d(e,G)&&e[G][n]&&(e[G][n]=!1),r=k(r,{enumerable:x(0,!1)})):(d(e,G)||ie(e,G,x(1,{})),e[G][n]=!0),pe(e,n,r)):ie(e,n,r)},me=function(e,t){b(e);var r=w(t),n=P(r).concat(Se(r));return W(n,(function(t){l&&!s(be,r,t)||ge(e,t,r[t])})),e},ye=function(e,t){return void 0===t?k(e):me(k(e),t)},be=function(e){var t=S(e),r=s(oe,this,t);return!(this===Q&&d(ue,t)&&!d(ce,t))&&(!(r||!d(this,t)||!d(ue,t)||d(this,G)&&this[G][t])||r)},_e=function(e,t){var r=w(e),n=S(t);if(r!==Q||!d(ue,n)||d(ce,n)){var i=ne(r,n);return!i||!d(ue,n)||d(r,G)&&r[G][n]||(i.enumerable=!0),i}},we=function(e){var t=ae(w(e)),r=[];return W(t,(function(e){d(ue,e)||d(j,e)||se(r,e)})),r},Se=function(e){var t=e===Q,r=ae(t?ce:w(e)),n=[];return W(r,(function(e){!d(ue,e)||t&&!d(Q,e)||se(n,ue[e])})),n};if(f||($=function(){if(m(Z,this))throw ee("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?A(arguments[0]):void 0,t=U(e),r=function(e){this===Q&&s(r,ce,e),d(this,G)&&d(this[G],t)&&(this[G][t]=!1),pe(this,t,x(1,e))};return l&&de&&pe(Q,t,{configurable:!0,set:r}),ve(t,e)},Z=$[Y],M(Z,"toString",(function(){return J(this).tag})),M($,"withoutSetter",(function(e){return ve(U(e),e)})),O.f=be,L.f=ge,R.f=_e,C.f=T.f=we,E.f=Se,B.f=function(e){return ve(D(e),e)},l&&(ie(Z,"description",{configurable:!0,get:function(){return J(this).description}}),c||M(Q,"propertyIsEnumerable",be,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:$}),W(P(he),(function(e){q(e)})),n({target:z,stat:!0,forced:!f},{for:function(e){var t=A(e);if(d(le,t))return le[t];var r=$(t);return le[t]=r,fe[r]=t,r},keyFor:function(e){if(!y(e))throw ee(e+" is not a symbol");if(d(fe,e))return fe[e]},useSetter:function(){de=!0},useSimple:function(){de=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!l},{create:ye,defineProperty:ge,defineProperties:me,getOwnPropertyDescriptor:_e}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:we,getOwnPropertySymbols:Se}),n({target:"Object",stat:!0,forced:h((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(_(e))}}),re){var Ae=!f||h((function(){var e=$();return"[null]"!=re([e])||"{}"!=re({a:e})||"{}"!=re(Object(e))}));n({target:"JSON",stat:!0,forced:Ae},{stringify:function(e,t,r){var n=I(arguments),i=t;if((g(t)||void 0!==e)&&!y(e))return p(t)||(t=function(e,t){if(v(i)&&(t=s(i,this,e,t)),!y(t))return t}),n[1]=t,o(re,null,n)}})}if(!Z[K]){var xe=Z.valueOf;M(Z,K,(function(e){return s(xe,this)}))}H($,z),j[G]=!0},a630:function(e,t,r){var n=r("23e7"),i=r("4df4"),a=r("1c7e"),o=!a((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:o},{from:i})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a79d:function(e,t,r){"use strict";var n=r("23e7"),i=r("c430"),a=r("fea9"),o=r("d039"),s=r("d066"),u=r("1626"),c=r("4840"),l=r("cdf9"),f=r("6eeb"),h=!!a&&o((function(){a.prototype["finally"].call({then:function(){}},(function(){}))}));if(n({target:"Promise",proto:!0,real:!0,forced:h},{finally:function(e){var t=c(this,s("Promise")),r=u(e);return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),!i&&u(a)){var d=s("Promise").prototype["finally"];a.prototype["finally"]!==d&&f(a.prototype,"finally",d,{unsafe:!0})}},a975:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").every,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("every",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},a981:function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},a9e3:function(e,t,r){"use strict";var n=r("83ab"),i=r("da84"),a=r("e330"),o=r("94ca"),s=r("6eeb"),u=r("1a2d"),c=r("7156"),l=r("3a9b"),f=r("d9b5"),h=r("c04e"),d=r("d039"),p=r("241c").f,v=r("06cf").f,g=r("9bf2").f,m=r("408a"),y=r("58a8").trim,b="Number",_=i[b],w=_.prototype,S=i.TypeError,A=a("".slice),x=a("".charCodeAt),k=function(e){var t=h(e,"number");return"bigint"==typeof t?t:P(t)},P=function(e){var t,r,n,i,a,o,s,u,c=h(e,"number");if(f(c))throw S("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=y(c),t=x(c,0),43===t||45===t){if(r=x(c,2),88===r||120===r)return NaN}else if(48===t){switch(x(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(a=A(c,2),o=a.length,s=0;s<o;s++)if(u=x(a,s),u<48||u>i)return NaN;return parseInt(a,n)}return+c};if(o(b,!_(" 0o1")||!_("0b1")||_("+0x1"))){for(var C,T=function(e){var t=arguments.length<1?0:_(k(e)),r=this;return l(w,r)&&d((function(){m(r)}))?c(Object(t),r,T):t},E=n?p(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),R=0;E.length>R;R++)u(_,C=E[R])&&!u(T,C)&&g(T,C,v(_,C));T.prototype=w,w.constructor=T,s(i,b,T)}},ab13:function(e,t,r){var n=r("b622"),i=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[i]=!1,"/./"[e](t)}catch(n){}}return!1}},ac1f:function(e,t,r){"use strict";var n=r("23e7"),i=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},acac:function(e,t,r){"use strict";var n=r("e330"),i=r("e2cc"),a=r("f183").getWeakData,o=r("825a"),s=r("861d"),u=r("19aa"),c=r("2266"),l=r("b727"),f=r("1a2d"),h=r("69f3"),d=h.set,p=h.getterFor,v=l.find,g=l.findIndex,m=n([].splice),y=0,b=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},w=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var r=w(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&m(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var l=e((function(e,i){u(e,h),d(e,{type:t,id:y++,frozen:void 0}),void 0!=i&&c(i,e[n],{that:e,AS_ENTRIES:r})})),h=l.prototype,v=p(t),g=function(e,t,r){var n=v(e),i=a(o(t),!0);return!0===i?b(n).set(t,r):i[n.id]=r,e};return i(h,{delete:function(e){var t=v(this);if(!s(e))return!1;var r=a(e);return!0===r?b(t)["delete"](e):r&&f(r,t.id)&&delete r[t.id]},has:function(e){var t=v(this);if(!s(e))return!1;var r=a(e);return!0===r?b(t).has(e):r&&f(r,t.id)}}),i(h,r?{get:function(e){var t=v(this);if(s(e)){var r=a(e);return!0===r?b(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),l}}},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},addb:function(e,t,r){var n=r("f36a"),i=Math.floor,a=function(e,t){var r=e.length,u=i(r/2);return r<8?o(e,t):s(e,a(n(e,0,u),t),a(n(e,u),t),t)},o=function(e,t){var r,n,i=e.length,a=1;while(a<i){n=a,r=e[a];while(n&&t(e[n-1],r)>0)e[n]=e[--n];n!==a++&&(e[n]=r)}return e},s=function(e,t,r,n){var i=t.length,a=r.length,o=0,s=0;while(o<i||s<a)e[o+s]=o<i&&s<a?n(t[o],r[s])<=0?t[o++]:r[s++]:o<i?t[o++]:r[s++];return e};e.exports=a},ae93:function(e,t,r){"use strict";var n,i,a,o=r("d039"),s=r("1626"),u=r("7c73"),c=r("e163"),l=r("6eeb"),f=r("b622"),h=r("c430"),d=f("iterator"),p=!1;[].keys&&(a=[].keys(),"next"in a?(i=c(c(a)),i!==Object.prototype&&(n=i)):p=!0);var v=void 0==n||o((function(){var e={};return n[d].call(e)!==e}));v?n={}:h&&(n=u(n)),s(n[d])||l(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},af03:function(e,t,r){var n=r("d039");e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},b041:function(e,t,r){"use strict";var n=r("00ee"),i=r("f5df");e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(e,t,r){var n=r("83ab"),i=r("5e77").EXISTS,a=r("e330"),o=r("9bf2").f,s=Function.prototype,u=a(s.toString),c=/^\s*function ([^ (]*)/,l=a(c.exec),f="name";n&&!i&&o(s,f,{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(e){return""}}})},b383:function(e,t,r){"use strict";t.decode=t.parse=r("91dd"),t.encode=t.stringify=r("e099")},b39a:function(e,t,r){"use strict";var n=r("da84"),i=r("2ba4"),a=r("ebb5"),o=r("d039"),s=r("f36a"),u=n.Int8Array,c=a.aTypedArray,l=a.exportTypedArrayMethod,f=[].toLocaleString,h=!!u&&o((function(){f.call(new u(1))})),d=o((function(){return[1,2].toLocaleString()!=new u([1,2]).toLocaleString()}))||!o((function(){u.prototype.toLocaleString.call([1,2])}));l("toLocaleString",(function(){return i(f,h?s(c(this)):c(this),s(arguments))}),d)},b575:function(e,t,r){var n,i,a,o,s,u,c,l,f=r("da84"),h=r("0366"),d=r("06cf").f,p=r("2cf4").set,v=r("1cdc"),g=r("d4c3"),m=r("a4b4"),y=r("605d"),b=f.MutationObserver||f.WebKitMutationObserver,_=f.document,w=f.process,S=f.Promise,A=d(f,"queueMicrotask"),x=A&&A.value;x||(n=function(){var e,t;y&&(e=w.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(r){throw i?o():a=void 0,r}}a=void 0,e&&e.enter()},v||y||m||!b||!_?!g&&S&&S.resolve?(c=S.resolve(void 0),c.constructor=S,l=h(c.then,c),o=function(){l(n)}):y?o=function(){w.nextTick(n)}:(p=h(p,f),o=function(){p(n)}):(s=!0,u=_.createTextNode(""),new b(n).observe(u,{characterData:!0}),o=function(){u.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};a&&(a.next=t),i||(i=t,o()),a=t}},b622:function(e,t,r){var n=r("da84"),i=r("5692"),a=r("1a2d"),o=r("90e3"),s=r("4930"),u=r("fdbf"),c=i("wks"),l=n.Symbol,f=l&&l["for"],h=u?l:l&&l.withoutSetter||o;e.exports=function(e){if(!a(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&a(l,e)?c[e]=l[e]:c[e]=u&&f?f(t):h(t)}return c[e]}},b636:function(e,t,r){var n=r("746f");n("asyncIterator")},b639:function(e,t,r){"use strict";(function(e){
4
+ /*!
5
+ * The buffer module from node.js, for the browser.
6
+ *
7
+ * @author Feross Aboukhadijeh <http://feross.org>
8
+ * @license MIT
9
+ */
10
+ var n=r("1fb5"),i=r("9152"),a=r("e3db");function o(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=c.prototype):(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,r){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,r)}function l(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,r,n):"string"===typeof t?p(e,t,r):m(e,t)}function f(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t,r,n){return f(t),t<=0?u(e,t):void 0!==r?"string"===typeof n?u(e,t).fill(r,n):u(e,t).fill(r):u(e,t)}function d(e,t){if(f(t),e=u(e,t<0?0:0|y(t)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(t,r);e=u(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function v(e,t){var r=t.length<0?0:0|y(t.length);e=u(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),c.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=c.prototype):e=v(e,t),e}function m(e,t){if(c.isBuffer(t)){var r=0|y(t.length);return e=u(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?u(e,0):v(e,t);if("Buffer"===t.type&&a(t.data))return v(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),c.alloc(+e)}function _(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return J(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Z(e).length;default:if(n)return J(e).length;t=(""+t).toLowerCase(),n=!0}}function w(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return j(this,t,r);case"utf8":case"utf-8":return O(this,t,r);case"ascii":return N(this,t,r);case"latin1":case"binary":return F(this,t,r);case"base64":return L(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function S(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function A(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:x(e,t,r,n,i);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):x(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function x(e,t,r,n,i){var a,o=1,s=e.length,u=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var l=-1;for(a=r;a<s;a++)if(c(e,a)===c(t,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===u)return l*o}else-1!==l&&(a-=a-l),l=-1}else for(r+u>s&&(r=s-u),a=r;a>=0;a--){for(var f=!0,h=0;h<u;h++)if(c(e,a+h)!==c(t,h)){f=!1;break}if(f)return a}return-1}function k(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[r+o]=s}return o}function P(e,t,r,n){return ee(J(t,e.length-r),e,r,n)}function C(e,t,r,n){return ee(Q(t),e,r,n)}function T(e,t,r,n){return C(e,t,r,n)}function E(e,t,r,n){return ee(Z(t),e,r,n)}function R(e,t,r,n){return ee($(t,e.length-r),e,r,n)}function L(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function O(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var a,o,s,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:a=e[i+1],128===(192&a)&&(u=(31&c)<<6|63&a,u>127&&(l=u));break;case 3:a=e[i+1],o=e[i+2],128===(192&a)&&128===(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o,u>2047&&(u<55296||u>57343)&&(l=u));break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s,u>65535&&u<1114112&&(l=u))}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return M(n)}t.Buffer=c,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:o(),t.kMaxLength=s(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,r){return l(null,e,t,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,r){return h(null,e,t,r)},c.allocUnsafe=function(e){return d(null,e)},c.allocUnsafeSlow=function(e){return d(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=c.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},c.byteLength=_,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)S(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)S(this,t,t+3),S(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)S(this,t,t+7),S(this,t+1,t+6),S(this,t+2,t+5),S(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?O(this,0,e):w.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,r,n,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,o=r-t,s=Math.min(a,o),u=this.slice(n,i),l=e.slice(t,r),f=0;f<s;++f)if(u[f]!==l[f]){a=u[f],o=l[f];break}return a<o?-1:o<a?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return A(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return A(this,e,t,r,!1)},c.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return P(this,e,t,r);case"ascii":return C(this,e,t,r);case"latin1":case"binary":return T(this,e,t,r);case"base64":return E(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function M(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=I));return r}function N(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function F(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function j(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=X(e[a]);return i}function U(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function D(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function B(e,t,r,n,i,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function q(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i<a;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function H(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i<a;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function V(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function W(e,t,r,n,a){return a||V(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function G(e,t,r,n,a){return a||V(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=c.prototype;else{var i=t-e;r=new c(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},c.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||D(e,t,this.length);var n=this[e],i=1,a=0;while(++a<t&&(i*=256))n+=this[e+a]*i;return n},c.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||D(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},c.prototype.readUInt8=function(e,t){return t||D(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||D(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||D(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||D(e,t,this.length);var n=this[e],i=1,a=0;while(++a<t&&(i*=256))n+=this[e+a]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||D(e,t,this.length);var n=t,i=1,a=this[e+--n];while(n>0&&(i*=256))a+=this[e+--n]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||D(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||D(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||D(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||D(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||D(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||D(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;B(this,e,t,r,i,0)}var a=1,o=0;this[t]=255&e;while(++o<r&&(a*=256))this[t+o]=e/a&255;return t+r},c.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;B(this,e,t,r,i,0)}var a=r-1,o=1;this[t+a]=255&e;while(--a>=0&&(o*=256))this[t+a]=e/o&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):q(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):q(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);B(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;this[t]=255&e;while(++a<r&&(o*=256))e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);B(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;this[t+a]=255&e;while(--a>=0&&(o*=256))e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):q(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):q(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return W(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return W(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return G(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return G(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,a=n-r;if(this===e&&r<t&&t<n)for(i=a-1;i>=0;--i)e[i+t]=this[i+r];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},c.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(a=t;a<r;++a)this[a]=e;else{var o=c.isBuffer(e)?e:J(new c(e,n).toString()),s=o.length;for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this};var z=/[^+\/0-9A-Za-z-_]/g;function Y(e){if(e=K(e).replace(z,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function K(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function X(e){return e<16?"0"+e.toString(16):e.toString(16)}function J(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],o=0;o<n;++o){if(r=e.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function Q(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function $(e,t){for(var r,n,i,a=[],o=0;o<e.length;++o){if((t-=2)<0)break;r=e.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n)}return a}function Z(e){return n.toByteArray(Y(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r("c8ba"))},b64b:function(e,t,r){var n=r("23e7"),i=r("7b0b"),a=r("df75"),o=r("d039"),s=o((function(){a(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return a(i(e))}})},b680:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("e330"),o=r("5926"),s=r("408a"),u=r("1148"),c=r("d039"),l=i.RangeError,f=i.String,h=Math.floor,d=a(u),p=a("".slice),v=a(1..toFixed),g=function(e,t,r){return 0===t?r:t%2===1?g(e,t-1,r*e):g(e*e,t/2,r)},m=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t},y=function(e,t,r){var n=-1,i=r;while(++n<6)i+=t*e[n],e[n]=i%1e7,i=h(i/1e7)},b=function(e,t){var r=6,n=0;while(--r>=0)n+=e[r],e[r]=h(n/t),n=n%t*1e7},_=function(e){var t=6,r="";while(--t>=0)if(""!==r||0===t||0!==e[t]){var n=f(e[t]);r=""===r?n:r+d("0",7-n.length)+n}return r},w=c((function(){return"0.000"!==v(8e-5,3)||"1"!==v(.9,0)||"1.25"!==v(1.255,2)||"1000000000000000128"!==v(0xde0b6b3a7640080,0)}))||!c((function(){v({})}));n({target:"Number",proto:!0,forced:w},{toFixed:function(e){var t,r,n,i,a=s(this),u=o(e),c=[0,0,0,0,0,0],h="",v="0";if(u<0||u>20)throw l("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return f(a);if(a<0&&(h="-",a=-a),a>1e-21)if(t=m(a*g(2,69,1))-69,r=t<0?a*g(2,-t,1):a/g(2,t,1),r*=4503599627370496,t=52-t,t>0){y(c,0,r),n=u;while(n>=7)y(c,1e7,0),n-=7;y(c,g(10,n,1),0),n=t-1;while(n>=23)b(c,1<<23),n-=23;b(c,1<<n),y(c,1,1),b(c,2),v=_(c)}else y(c,0,r),y(c,1<<-t,0),v=_(c)+d("0",u);return u>0?(i=v.length,v=h+(i<=u?"0."+d("0",u-i)+v:p(v,0,i-u)+"."+p(v,i-u))):v=h+v,v}})},b6b7:function(e,t,r){var n=r("ebb5"),i=r("4840"),a=n.TYPED_ARRAY_CONSTRUCTOR,o=n.aTypedArrayConstructor;e.exports=function(e){return o(i(e,e[a]))}},b727:function(e,t,r){var n=r("0366"),i=r("e330"),a=r("44ad"),o=r("7b0b"),s=r("07fa"),u=r("65f0"),c=i([].push),l=function(e){var t=1==e,r=2==e,i=3==e,l=4==e,f=6==e,h=7==e,d=5==e||f;return function(p,v,g,m){for(var y,b,_=o(p),w=a(_),S=n(v,g),A=s(w),x=0,k=m||u,P=t?k(p,A):r||h?k(p,0):void 0;A>x;x++)if((d||x in w)&&(y=w[x],b=S(y,x,_),e))if(t)P[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c(P,y)}else switch(e){case 4:return!1;case 7:c(P,y)}return f?-1:i||l?l:P}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bf19:function(e,t,r){"use strict";var n=r("23e7"),i=r("c65b");n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},c04e:function(e,t,r){var n=r("da84"),i=r("c65b"),a=r("861d"),o=r("d9b5"),s=r("dc4a"),u=r("485a"),c=r("b622"),l=n.TypeError,f=c("toPrimitive");e.exports=function(e,t){if(!a(e)||o(e))return e;var r,n=s(e,f);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!a(r)||o(r))return r;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},c19f:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("621a"),o=r("2626"),s="ArrayBuffer",u=a[s],c=i[s];n({global:!0,forced:c!==u},{ArrayBuffer:u}),o(s)},c1ac:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").filter,a=r("1448"),o=n.aTypedArray,s=n.exportTypedArrayMethod;s("filter",(function(e){var t=i(o(this),e,arguments.length>1?arguments[1]:void 0);return a(this,t)}))},c430:function(e,t){e.exports=!1},c5d0:function(e,t,r){"use strict";var n=r("23e7"),i=r("857a"),a=r("af03");n({target:"String",proto:!0,forced:a("italics")},{italics:function(){return i(this,"i","","")}})},c607:function(e,t,r){var n=r("da84"),i=r("83ab"),a=r("fce3"),o=r("c6b6"),s=r("9bf2").f,u=r("69f3").get,c=RegExp.prototype,l=n.TypeError;i&&a&&s(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!u(this).dotAll;throw l("Incompatible receiver, RegExp required")}}})},c60d:function(e,t,r){var n=r("1a2d");e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},c65b:function(e,t){var r=Function.prototype.call;e.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},c6b6:function(e,t,r){var n=r("e330"),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},c6cd:function(e,t,r){var n=r("da84"),i=r("ce4e"),a="__core-js_shared__",o=n[a]||i(a,{});e.exports=o},c740:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").findIndex,a=r("44d2"),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a(o)},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c8d2:function(e,t,r){var n=r("5e77").PROPER,i=r("d039"),a=r("5899"),o="​…᠎";e.exports=function(e){return i((function(){return!!a[e]()||o[e]()!==o||n&&a[e].name!==e}))}},c906:function(e,t,r){var n=r("23e7"),i=r("4fad");n({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},ca84:function(e,t,r){var n=r("e330"),i=r("1a2d"),a=r("fc6a"),o=r("4d64").indexOf,s=r("d012"),u=n([].push);e.exports=function(e,t){var r,n=a(e),c=0,l=[];for(r in n)!i(s,r)&&i(n,r)&&u(l,r);while(t.length>c)i(n,r=t[c++])&&(~o(l,r)||u(l,r));return l}},ca91:function(e,t,r){"use strict";var n=r("ebb5"),i=r("d58f").left,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("reduce",(function(e){var t=arguments.length;return i(a(this),e,t,t>1?arguments[1]:void 0)}))},caad:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").includes,a=r("44d2");n({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cb29:function(e,t,r){var n=r("23e7"),i=r("81d5"),a=r("44d2");n({target:"Array",proto:!0},{fill:i}),a("fill")},cc12:function(e,t,r){var n=r("da84"),i=r("861d"),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},cc71:function(e,t,r){"use strict";var n=r("23e7"),i=r("857a"),a=r("af03");n({target:"String",proto:!0,forced:a("bold")},{bold:function(){return i(this,"b","","")}})},cca6:function(e,t,r){var n=r("23e7"),i=r("60da");n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},cd26:function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=Math.floor;a("reverse",(function(){var e,t=this,r=i(t).length,n=o(r/2),a=0;while(a<n)e=t[a],t[a++]=t[--r],t[r]=e;return t}))},cdf9:function(e,t,r){var n=r("825a"),i=r("861d"),a=r("f069");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e),o=r.resolve;return o(t),r.promise}},ce4e:function(e,t,r){var n=r("da84"),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},cee8:function(e,t,r){var n=r("23e7"),i=r("861d"),a=r("f183").onFreeze,o=r("bb2f"),s=r("d039"),u=Object.preventExtensions,c=s((function(){u(1)}));n({target:"Object",stat:!0,forced:c,sham:!o},{preventExtensions:function(e){return u&&i(e)?u(a(e)):e}})},cf3f:function(e,t,r){(function(e,n,i,a){var o,s,u,c=r("7037").default;r("a4d3"),r("e01a"),r("d3b7"),r("944a"),r("0c47"),r("23dc"),r("d28b"),r("e260"),r("3ca3"),r("ddb0"),r("3410"),r("8ba4"),r("a9e3"),r("2b3d"),r("9861"),r("b0c0"),r("ac1f"),r("5319"),r("a15b"),r("5cc6"),r("907a"),r("9a8c"),r("a975"),r("735e"),r("c1ac"),r("d139"),r("3a7b"),r("d5d6"),r("82f8"),r("e91f"),r("60bd"),r("5f96"),r("3280"),r("3fcc"),r("ca91"),r("25a1"),r("cd26"),r("3c5d"),r("2954"),r("649e"),r("219c"),r("170b"),r("b39a"),r("72f7"),r("90d7"),r("fb2c"),r("fb6a"),r("4e82"),r("e6cf"),r("25f0"),r("2ca0"),r("8a79"),r("2532"),r("caad"),r("a630"),r("cca6"),r("9129"),r("a79d"),r("f5b2"),r("f6d6"),r("4d90"),r("843c"),r("07ac"),r("6c57"),r("e439"),r("1276"),r("00b4"),r("99af"),r("7039"),r("b64b"),r("159b"),r("841c"),r("bf19"),r("4d63"),r("c607"),r("2c3e"),r("a434"),r("c906"),r("cee8"),r("7db0"),r("c740"),r("38cf"),r("d81d"),r("c19f"),r("10d1"),r("8a59"),r("1fe2"),r("b636"),r("dca8"),r("143c"),r("cb29"),r("cc71"),r("c5d0"),r("498a"),r("f8c9"),r("5d41"),r("cfc3"),r("4a9b"),r("e9c4"),r("b680"),function(e,r){"object"===c(t)&&"object"===c(a)?a.exports=r():(s=[],o=r,u="function"===typeof o?o.apply(t,s):o,void 0===u||(a.exports=u))}(0,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===c(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";var n=r(1),i=r(179),a=r(194),o=r(195),s=r(183),u=r(196),c=r(188),l=r(185),f=r(4);if(f()){var h=r(197).PDFNodeStream;i.setPDFNetworkStreamFactory((function(e){return new h(e)}))}else{var d,p=r(200).PDFNetworkStream;s.isFetchSupported()&&(d=r(201).PDFFetchStream),i.setPDFNetworkStreamFactory((function(e){return d&&s.isValidFetchUrl(e.url)?new d(e):new p(e)}))}t.build=i.build,t.version=i.version,t.getDocument=i.getDocument,t.LoopbackPort=i.LoopbackPort,t.PDFDataRangeTransport=i.PDFDataRangeTransport,t.PDFWorker=i.PDFWorker,t.renderTextLayer=a.renderTextLayer,t.AnnotationLayer=o.AnnotationLayer,t.createPromiseCapability=n.createPromiseCapability,t.PasswordResponses=n.PasswordResponses,t.InvalidPDFException=n.InvalidPDFException,t.MissingPDFException=n.MissingPDFException,t.SVGGraphics=u.SVGGraphics,t.NativeImageDecoding=n.NativeImageDecoding,t.CMapCompressionType=n.CMapCompressionType,t.PermissionFlag=n.PermissionFlag,t.UnexpectedResponseException=n.UnexpectedResponseException,t.OPS=n.OPS,t.VerbosityLevel=n.VerbosityLevel,t.UNSUPPORTED_FEATURES=n.UNSUPPORTED_FEATURES,t.createValidAbsoluteUrl=n.createValidAbsoluteUrl,t.createObjectURL=n.createObjectURL,t.removeNullCharacters=n.removeNullCharacters,t.shadow=n.shadow,t.Util=n.Util,t.ReadableStream=n.ReadableStream,t.RenderingCancelledException=s.RenderingCancelledException,t.getFilenameFromUrl=s.getFilenameFromUrl,t.LinkTarget=s.LinkTarget,t.addLinkAttributes=s.addLinkAttributes,t.loadScript=s.loadScript,t.PDFDateString=s.PDFDateString,t.GlobalWorkerOptions=c.GlobalWorkerOptions,t.apiCompatibilityParams=l.apiCompatibilityParams},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=ie,t.arraysToBytes=ae,t.assert=q,t.bytesToString=re,t.createPromiseCapability=Pe,t.getVerbosityLevel=j,t.info=U,t.isArrayBuffer=Ae,t.isArrayEqual=xe,t.isBool=_e,t.isEmptyObj=be,t.isNum=we,t.isString=Se,t.isSpace=ke,t.isSameOrigin=H,t.createValidAbsoluteUrl=W,t.isLittleEndian=fe,t.isEvalSupported=he,t.log2=se,t.readInt8=ue,t.readUint16=ce,t.readUint32=le,t.removeNullCharacters=te,t.setVerbosityLevel=F,t.shadow=G,t.string32=oe,t.stringToBytes=ne,t.stringToPDFString=ge,t.stringToUTF8String=me,t.utf8StringToString=ye,t.warn=D,t.unreachable=B,Object.defineProperty(t,"ReadableStream",{enumerable:!0,get:function(){return n.ReadableStream}}),t.createObjectURL=t.FormatError=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.NativeImageDecoding=t.MissingPDFException=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VerbosityLevel=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=t.BaseException=void 0,r(2);var n=r(177);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e}function o(e){return o="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},o(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}var p=[1,0,0,1,0,0];t.IDENTITY_MATRIX=p;var v=[.001,0,0,.001,0,0];t.FONT_IDENTITY_MATRIX=v;var g={NONE:"none",DECODE:"decode",DISPLAY:"display"};t.NativeImageDecoding=g;var m={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};t.PermissionFlag=m;var y={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};t.TextRenderingMode=y;var b={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};t.ImageKind=b;var _={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};t.AnnotationType=_;var w={MARKED:"Marked",REVIEW:"Review"};t.AnnotationStateModelType=w;var S={MARKED:"Marked",UNMARKED:"Unmarked"};t.AnnotationMarkedState=S;var A={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};t.AnnotationReviewState=A;var x={GROUP:"Group",REPLY:"R"};t.AnnotationReplyType=x;var k={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};t.AnnotationFlag=k;var P={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};t.AnnotationFieldFlag=P;var C={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};t.AnnotationBorderStyleType=C;var T={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};t.StreamType=T;var E={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};t.FontType=E;var R={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=R;var L={NONE:0,BINARY:1,STREAM:2};t.CMapCompressionType=L;var O={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};t.OPS=O;var I={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"};t.UNSUPPORTED_FEATURES=I;var M={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};t.PasswordResponses=M;var N=R.WARNINGS;function F(e){Number.isInteger(e)&&(N=e)}function j(){return N}function U(e){N>=R.INFOS&&console.log("Info: ".concat(e))}function D(e){N>=R.WARNINGS&&console.log("Warning: ".concat(e))}function B(e){throw new Error(e)}function q(e,t){e||B(t)}function H(e,t){var r;try{if(r=new URL(e),!r.origin||"null"===r.origin)return!1}catch(i){return!1}var n=new URL(t,r);return r.origin===n.origin}function V(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function W(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(V(r))return r}catch(n){}return null}function G(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r}var z=function(){function e(t){this.constructor===e&&B("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=z;var Y=function(e){function t(e,r){var n;return s(this,t),n=u(this,f(t).call(this,e)),n.code=r,n}return h(t,e),t}(z);t.PasswordException=Y;var K=function(e){function t(e,r){var n;return s(this,t),n=u(this,f(t).call(this,e)),n.details=r,n}return h(t,e),t}(z);t.UnknownErrorException=K;var X=function(e){function t(){return s(this,t),u(this,f(t).apply(this,arguments))}return h(t,e),t}(z);t.InvalidPDFException=X;var J=function(e){function t(){return s(this,t),u(this,f(t).apply(this,arguments))}return h(t,e),t}(z);t.MissingPDFException=J;var Q=function(e){function t(e,r){var n;return s(this,t),n=u(this,f(t).call(this,e)),n.status=r,n}return h(t,e),t}(z);t.UnexpectedResponseException=Q;var $=function(e){function t(){return s(this,t),u(this,f(t).apply(this,arguments))}return h(t,e),t}(z);t.FormatError=$;var Z=function(e){function t(){return s(this,t),u(this,f(t).apply(this,arguments))}return h(t,e),t}(z);t.AbortException=Z;var ee=/\x00/g;function te(e){return"string"!==typeof e?(D("The argument for removeNullCharacters must be a string."),e):e.replace(ee,"")}function re(e){q(null!==e&&"object"===o(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var n=[],i=0;i<t;i+=r){var a=Math.min(i+r,t),s=e.subarray(i,a);n.push(String.fromCharCode.apply(null,s))}return n.join("")}function ne(e){q("string"===typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function ie(e){return void 0!==e.length?e.length:(q(void 0!==e.byteLength),e.byteLength)}function ae(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var r=0,n=0;n<t;n++)r+=ie(e[n]);for(var i=0,a=new Uint8Array(r),o=0;o<t;o++){var s=e[o];s instanceof Uint8Array||(s="string"===typeof s?ne(s):new Uint8Array(s));var u=s.byteLength;a.set(s,i),i+=u}return a}function oe(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function se(e){return e<=0?0:Math.ceil(Math.log2(e))}function ue(e,t){return e[t]<<24>>24}function ce(e,t){return e[t]<<8|e[t+1]}function le(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function fe(){var e=new Uint8Array(4);e[0]=1;var t=new Uint32Array(e.buffer,0,1);return 1===t[0]}function he(){try{return new Function(""),!0}catch(e){return!1}}var de=["rgb(",0,",",0,",",0,")"],pe=function(){function e(){s(this,e)}return a(e,null,[{key:"makeCssRgb",value:function(e,t,r){return de[1]=e,de[3]=t,de[5]=r,de.join("")}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){var r=e[0]*t[0]+e[1]*t[2]+t[4],n=e[0]*t[1]+e[1]*t[3]+t[5];return[r,n]}},{key:"applyInverseTransform",value:function(e,t){var r=t[0]*t[3]-t[1]*t[2],n=(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,i=(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r;return[n,i]}},{key:"getAxialAlignedBoundingBox",value:function(t,r){var n=e.applyTransform(t,r),i=e.applyTransform(t.slice(2,4),r),a=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],i[0],a[0],o[0]),Math.min(n[1],i[1],a[1],o[1]),Math.max(n[0],i[0],a[0],o[0]),Math.max(n[1],i[1],a[1],o[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],o=(r+a)/2,s=Math.sqrt((r+a)*(r+a)-4*(r*a-i*n))/2,u=o+s||1,c=o-s||1;return[Math.sqrt(u),Math.sqrt(c)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(t,r){function n(e,t){return e-t}var i=[t[0],t[2],r[0],r[2]].sort(n),a=[t[1],t[3],r[1],r[3]].sort(n),o=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),i[0]===t[0]&&i[1]===r[0]||i[0]===r[0]&&i[1]===t[0]?(o[0]=i[1],o[2]=i[2],a[0]===t[1]&&a[1]===r[1]||a[0]===r[1]&&a[1]===t[1]?(o[1]=a[1],o[3]=a[2],o):null):null}}]),e}();t.Util=pe;var ve=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function ge(e){var t=e.length,r=[];if("þ"===e[0]&&"ÿ"===e[1])for(var n=2;n<t;n+=2)r.push(String.fromCharCode(e.charCodeAt(n)<<8|e.charCodeAt(n+1)));else for(var i=0;i<t;++i){var a=ve[e.charCodeAt(i)];r.push(a?String.fromCharCode(a):e.charAt(i))}return r.join("")}function me(e){return decodeURIComponent(escape(e))}function ye(e){return unescape(encodeURIComponent(e))}function be(e){for(var t in e)return!1;return!0}function _e(e){return"boolean"===typeof e}function we(e){return"number"===typeof e}function Se(e){return"string"===typeof e}function Ae(e){return"object"===o(e)&&null!==e&&void 0!==e.byteLength}function xe(e,t){return e.length===t.length&&e.every((function(e,r){return e===t[r]}))}function ke(e){return 32===e||9===e||13===e||10===e}function Pe(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(r,n){e.resolve=function(e){t=!0,r(e)},e.reject=function(e){t=!0,n(e)}})),e}var Ce=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n&&URL.createObjectURL){var i=new Blob([t],{type:r});return URL.createObjectURL(i)}for(var a="data:".concat(r,";base64,"),o=0,s=t.length;o<s;o+=3){var u=255&t[o],c=255&t[o+1],l=255&t[o+2],f=u>>2,h=(3&u)<<4|c>>4,d=o+1<s?(15&c)<<2|l>>6:64,p=o+2<s?63&l:64;a+=e[f]+e[h]+e[d]+e[p]}return a}}();t.createObjectURL=Ce},function(t,r,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},i(e)}var a=n(3);if(!a._pdfjsCompatibilityChecked){a._pdfjsCompatibilityChecked=!0;var o=n(4),s="object"===("undefined"===typeof window?"undefined":i(window))&&"object"===("undefined"===typeof document?"undefined":i(document));(function(){!a.btoa&&o()&&(a.btoa=function(t){return e.from(t,"binary").toString("base64")})})(),function(){!a.atob&&o()&&(a.atob=function(t){return e.from(t,"base64").toString("binary")})}(),function(){s&&"undefined"===typeof Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})}(),function(){if(s&&!o()){var e=document.createElement("div");if(e.classList.add("testOne","testTwo"),!0!==e.classList.contains("testOne")||!0!==e.classList.contains("testTwo")){var t=DOMTokenList.prototype.add,r=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var i=0,a=r;i<a.length;i++){var o=a[i];t.call(this,o)}},DOMTokenList.prototype.remove=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var i=0,a=t;i<a.length;i++){var o=a[i];r.call(this,o)}}}}}(),function(){if(s&&!o()){var e=document.createElement("div");!1!==e.classList.toggle("test",0)&&(DOMTokenList.prototype.toggle=function(e){var t=arguments.length>1?!!arguments[1]:!this.contains(e);return this[t?"add":"remove"](e),t})}}(),function(){String.prototype.startsWith||n(5)}(),function(){String.prototype.endsWith||n(57)}(),function(){String.prototype.includes||n(59)}(),function(){Array.prototype.includes||n(61)}(),function(){Array.from||n(68)}(),function(){Object.assign||n(89)}(),function(){Math.log2||(Math.log2=n(92))}(),function(){Number.isNaN||(Number.isNaN=n(94))}(),function(){Number.isInteger||(Number.isInteger=n(96))}(),function(){a.Promise&&a.Promise.prototype&&a.Promise.prototype["finally"]||(a.Promise=n(99))}(),function(){a.URL=n(121)}(),function(){a.WeakMap||(a.WeakMap=n(128))}(),function(){a.WeakSet||(a.WeakSet=n(138))}(),function(){String.prototype.codePointAt||n(140)}(),function(){String.fromCodePoint||(String.fromCodePoint=n(142))}(),function(){a.Symbol||n(144)}(),function(){String.prototype.padStart||n(167)}(),function(){String.prototype.padEnd||n(172)}(),function(){Object.values||(Object.values=n(174))}()}},function(e,t,r){"use strict";e.exports="undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof n&&n.Math===Math?n:"undefined"!==typeof self&&self.Math===Math?self:{}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},n(e)}e.exports=function(){return"object"===("undefined"===typeof i?"undefined":n(i))&&i+""==="[object process]"&&!i.versions["nw"]&&!i.versions["electron"]}},function(e,t,r){r(6);var n=r(54);e.exports=n("String","startsWith")},function(e,t,r){"use strict";var n=r(7),i=r(43),a=r(49),o=r(17),s=r(53),u="".startsWith,c=Math.min;n({target:"String",proto:!0,forced:!s("startsWith")},{startsWith:function(e){var t=String(o(this));a(e);var r=i(c(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return u?u.call(t,n,r):t.slice(r,r+n.length)===n}})},function(e,t,r){var n=r(8),i=r(9).f,a=r(23),o=r(26),s=r(28),u=r(36),l=r(48);e.exports=function(e,t){var r,f,h,d,p,v,g=e.target,m=e.global,y=e.stat;if(f=m?n:y?n[g]||s(g,{}):(n[g]||{}).prototype,f)for(h in t){if(p=t[h],e.noTargetGet?(v=i(f,h),d=v&&v.value):d=f[h],r=l(m?h:g+(y?".":"#")+h,e.forced),!r&&void 0!==d){if(c(p)===c(d))continue;u(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),o(f,h,p,e)}}},function(e,t){var r="object",i=function(e){return e&&e.Math==Math&&e};e.exports=i(("undefined"===typeof globalThis?"undefined":c(globalThis))==r&&globalThis)||i(("undefined"===typeof window?"undefined":c(window))==r&&window)||i(("undefined"===typeof self?"undefined":c(self))==r&&self)||i(("undefined"===typeof n?"undefined":c(n))==r&&n)||Function("return this")()},function(e,t,r){var n=r(10),i=r(12),a=r(13),o=r(14),s=r(18),u=r(20),c=r(21),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=o(e),t=s(t,!0),c)try{return l(e,t)}catch(r){}if(u(e,t))return a(!i.f.call(e,t),e[t])}},function(e,t,r){var n=r(11);e.exports=!n((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!n.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(15),i=r(17);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(11),i=r(16),a="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a.call(e,""):Object(e)}:Object},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(19);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"===c(e)?null!==e:"function"===typeof e}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(10),i=r(11),a=r(22);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(8),i=r(19),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,r){var n=r(10),i=r(24),a=r(13);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(10),i=r(21),a=r(25),o=r(18),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(a(e),t=o(t,!0),a(r),i)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(19);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,r){var n=r(8),i=r(27),a=r(23),o=r(20),s=r(28),u=r(30),c=r(31),l=c.get,f=c.enforce,h=String(u).split("toString");i("inspectSource",(function(e){return u.call(e)})),(e.exports=function(e,t,r,i){var u=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||a(r,"name",t),f(r).source=h.join("string"==typeof t?t:"")),e!==n?(u?!l&&e[t]&&(c=!0):delete e[t],c?e[t]=r:a(e,t,r)):c?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||u.call(this)}))},function(e,t,r){var n=r(8),i=r(28),a=r(29),o="__core-js_shared__",s=n[o]||i(o,{});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.2.1",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(8),i=r(23);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},function(e,t){e.exports=!1},function(e,t,r){var n=r(27);e.exports=n("native-function-to-string",Function.toString)},function(e,t,r){var n,i,a,o=r(32),s=r(8),u=r(19),c=r(23),l=r(20),f=r(33),h=r(35),d=s.WeakMap,p=function(e){return a(e)?i(e):n(e,{})},v=function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(o){var g=new d,m=g.get,y=g.has,b=g.set;n=function(e,t){return b.call(g,e,t),t},i=function(e){return m.call(g,e)||{}},a=function(e){return y.call(g,e)}}else{var _=f("state");h[_]=!0,n=function(e,t){return c(e,_,t),t},i=function(e){return l(e,_)?e[_]:{}},a=function(e){return l(e,_)}}e.exports={set:n,get:i,has:a,enforce:p,getterFor:v}},function(e,t,r){var n=r(8),i=r(30),a=n.WeakMap;e.exports="function"===typeof a&&/native code/.test(i.call(a))},function(e,t,r){var n=r(27),i=r(34),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},function(e,t){e.exports={}},function(e,t,r){var n=r(20),i=r(37),a=r(9),o=r(24);e.exports=function(e,t){for(var r=i(t),s=o.f,u=a.f,c=0;c<r.length;c++){var l=r[c];n(e,l)||s(e,l,u(t,l))}}},function(e,t,r){var n=r(38),i=r(40),a=r(47),o=r(25);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?t.concat(r(e)):t}},function(e,t,r){var n=r(39),i=r(8),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e])||a(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},function(e,t,r){e.exports=r(8)},function(e,t,r){var n=r(41),i=r(46),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},function(e,t,r){var n=r(20),i=r(14),a=r(42).indexOf,o=r(35);e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)!n(o,r)&&n(s,r)&&c.push(r);while(t.length>u)n(s,r=t[u++])&&(~a(c,r)||c.push(r));return c}},function(e,t,r){var n=r(14),i=r(43),a=r(45),o=function(e){return function(t,r,o){var s,u=n(t),c=i(u.length),l=a(o,c);if(e&&r!=r){while(c>l)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},function(e,t,r){var n=r(44),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(44),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(11),i=/#|\.prototype\./,a=function(e,t){var r=s[o(e)];return r==c||r!=u&&("function"==typeof t?n(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},function(e,t,r){var n=r(50);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,r){var n=r(19),i=r(16),a=r(51),o=a("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,r){var n=r(8),i=r(27),a=r(34),o=r(52),s=n.Symbol,u=i("wks");e.exports=function(e){return u[e]||(u[e]=o&&s[e]||(o?s:a)("Symbol."+e))}},function(e,t,r){var n=r(11);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(e,t,r){var n=r(51),i=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[i]=!1,"/./"[e](t)}catch(n){}}return!1}},function(e,t,r){var n=r(8),i=r(55),a=Function.call;e.exports=function(e,t,r){return i(a,n[e].prototype[t],r)}},function(e,t,r){var n=r(56);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,r){r(58);var n=r(54);e.exports=n("String","endsWith")},function(e,t,r){"use strict";var n=r(7),i=r(43),a=r(49),o=r(17),s=r(53),u="".endsWith,c=Math.min;n({target:"String",proto:!0,forced:!s("endsWith")},{endsWith:function(e){var t=String(o(this));a(e);var r=arguments.length>1?arguments[1]:void 0,n=i(t.length),s=void 0===r?n:c(i(r),n),l=String(e);return u?u.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,r){r(60);var n=r(54);e.exports=n("String","includes")},function(e,t,r){"use strict";var n=r(7),i=r(49),a=r(17),o=r(53);n({target:"String",proto:!0,forced:!o("includes")},{includes:function(e){return!!~String(a(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){r(62);var n=r(54);e.exports=n("Array","includes")},function(e,t,r){"use strict";var n=r(7),i=r(42).includes,a=r(63);n({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,r){var n=r(51),i=r(64),a=r(23),o=n("unscopables"),s=Array.prototype;void 0==s[o]&&a(s,o,i(null)),e.exports=function(e){s[o][e]=!0}},function(e,t,r){var n=r(25),i=r(65),a=r(46),o=r(35),s=r(67),u=r(22),c=r(33),l=c("IE_PROTO"),f="prototype",h=function(){},d=function(){var e,t=u("iframe"),r=a.length,n="<",i="script",o=">",c="java"+i+":";t.style.display="none",s.appendChild(t),t.src=String(c),e=t.contentWindow.document,e.open(),e.write(n+i+o+"document.F=Object"+n+"/"+i+o),e.close(),d=e.F;while(r--)delete d[f][a[r]];return d()};e.exports=Object.create||function(e,t){var r;return null!==e?(h[f]=n(e),r=new h,h[f]=null,r[l]=e):r=d(),void 0===t?r:i(r,t)},o[l]=!0},function(e,t,r){var n=r(10),i=r(24),a=r(25),o=r(66);e.exports=n?Object.defineProperties:function(e,t){a(e);var r,n=o(t),s=n.length,u=0;while(s>u)i.f(e,r=n[u++],t[r]);return e}},function(e,t,r){var n=r(41),i=r(46);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(38);e.exports=n("document","documentElement")},function(e,t,r){r(69),r(81);var n=r(39);e.exports=n.Array.from},function(e,t,r){"use strict";var n=r(70).charAt,i=r(31),a=r(71),o="String Iterator",s=i.set,u=i.getterFor(o);a(String,"String",(function(e){s(this,{type:o,string:String(e),index:0})}),(function(){var e,t=u(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(44),i=r(17),a=function(e){return function(t,r){var a,o,s=String(i(t)),u=n(r),c=s.length;return u<0||u>=c?e?"":void 0:(a=s.charCodeAt(u),a<55296||a>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},function(e,t,r){"use strict";var n=r(7),i=r(72),a=r(74),o=r(79),s=r(77),u=r(23),c=r(26),l=r(51),f=r(29),h=r(78),d=r(73),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),m="keys",y="values",b="entries",_=function(){return this};e.exports=function(e,t,r,l,d,w,S){i(r,t,l);var A,x,k,P=function(e){if(e===d&&L)return L;if(!v&&e in E)return E[e];switch(e){case m:return function(){return new r(this,e)};case y:return function(){return new r(this,e)};case b:return function(){return new r(this,e)}}return function(){return new r(this)}},C=t+" Iterator",T=!1,E=e.prototype,R=E[g]||E["@@iterator"]||d&&E[d],L=!v&&R||P(d),O="Array"==t&&E.entries||R;if(O&&(A=a(O.call(new e)),p!==Object.prototype&&A.next&&(f||a(A)===p||(o?o(A,p):"function"!=typeof A[g]&&u(A,g,_)),s(A,C,!0,!0),f&&(h[C]=_))),d==y&&R&&R.name!==y&&(T=!0,L=function(){return R.call(this)}),f&&!S||E[g]===L||u(E,g,L),h[t]=L,d)if(x={values:P(y),keys:w?L:P(m),entries:P(b)},S)for(k in x)(v||T||!(k in E))&&c(E,k,x[k]);else n({target:t,proto:!0,forced:v||T},x);return x}},function(e,t,r){"use strict";var n=r(73).IteratorPrototype,i=r(64),a=r(13),o=r(77),s=r(78),u=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=i(n,{next:a(1,r)}),o(e,c,!1,!0),s[c]=u,e}},function(e,t,r){"use strict";var n,i,a,o=r(74),s=r(23),u=r(20),c=r(51),l=r(29),f=c("iterator"),h=!1,d=function(){return this};[].keys&&(a=[].keys(),"next"in a?(i=o(o(a)),i!==Object.prototype&&(n=i)):h=!0),void 0==n&&(n={}),l||u(n,f)||s(n,f,d),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},function(e,t,r){var n=r(20),i=r(75),a=r(33),o=r(76),s=a("IE_PROTO"),u=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,t,r){var n=r(17);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(11);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var n=r(24).f,i=r(20),a=r(51),o=a("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,r){var n=r(25),i=r(80);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(r,[]),t=r instanceof Array}catch(a){}return function(r,a){return n(r),i(a),t?e.call(r,a):r.__proto__=a,r}}():void 0)},function(e,t,r){var n=r(19);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,r){var n=r(7),i=r(82),a=r(88),o=!a((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:o},{from:i})},function(e,t,r){"use strict";var n=r(55),i=r(75),a=r(83),o=r(84),s=r(43),u=r(85),c=r(86);e.exports=function(e){var t,r,l,f,h=i(e),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=0,y=c(h);if(g&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&o(y))for(t=s(h.length),r=new d(t);t>m;m++)u(r,m,g?v(h[m],m):h[m]);else for(f=y.call(h),r=new d;!(l=f.next()).done;m++)u(r,m,g?a(f,v,[l.value,m],!0):l.value);return r.length=m,r}},function(e,t,r){var n=r(25);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(o){var a=e["return"];throw void 0!==a&&n(a.call(e)),o}}},function(e,t,r){var n=r(51),i=r(78),a=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},function(e,t,r){"use strict";var n=r(18),i=r(24),a=r(13);e.exports=function(e,t,r){var o=n(t);o in e?i.f(e,o,a(0,r)):e[o]=r}},function(e,t,r){var n=r(87),i=r(78),a=r(51),o=a("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(16),i=r(51),a=i("toStringTag"),o="Arguments"==n(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(r){}};e.exports=function(e){var t,r,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=s(t=Object(e),a))?r:o?n(t):"Object"==(i=n(t))&&"function"==typeof t.callee?"Arguments":i}},function(e,t,r){var n=r(51),i=n("iterator"),a=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){a=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var n={};n[i]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(u){}return r}},function(e,t,r){r(90);var n=r(39);e.exports=n.Object.assign},function(e,t,r){var n=r(7),i=r(91);n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,r){"use strict";var n=r(10),i=r(11),a=r(66),o=r(47),s=r(12),u=r(75),c=r(15),l=Object.assign;e.exports=!l||i((function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||a(l({},t)).join("")!=n}))?function(e,t){var r=u(e),i=arguments.length,l=1,f=o.f,h=s.f;while(i>l){var d,p=c(arguments[l++]),v=f?a(p).concat(f(p)):a(p),g=v.length,m=0;while(g>m)d=v[m++],n&&!h.call(p,d)||(r[d]=p[d])}return r}:l},function(e,t,r){r(93);var n=r(39);e.exports=n.Math.log2},function(e,t,r){var n=r(7),i=Math.log,a=Math.LN2;n({target:"Math",stat:!0},{log2:function(e){return i(e)/a}})},function(e,t,r){r(95);var n=r(39);e.exports=n.Number.isNaN},function(e,t,r){var n=r(7);n({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,r){r(97);var n=r(39);e.exports=n.Number.isInteger},function(e,t,r){var n=r(7),i=r(98);n({target:"Number",stat:!0},{isInteger:i})},function(e,t,r){var n=r(19),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},function(e,t,r){r(100),r(69),r(102),r(105),r(119),r(120);var n=r(39);e.exports=n.Promise},function(e,t,r){var n=r(26),i=r(101),a=Object.prototype;i!==a.toString&&n(a,"toString",i,{unsafe:!0})},function(e,t,r){"use strict";var n=r(87),i=r(51),a=i("toStringTag"),o={};o[a]="z",e.exports="[object z]"!==String(o)?function(){return"[object "+n(this)+"]"}:o.toString},function(e,t,r){var n=r(8),i=r(103),a=r(104),o=r(23),s=r(51),u=s("iterator"),c=s("toStringTag"),l=a.values;for(var f in i){var h=n[f],d=h&&h.prototype;if(d){if(d[u]!==l)try{o(d,u,l)}catch(v){d[u]=l}if(d[c]||o(d,c,f),i[f])for(var p in a)if(d[p]!==a[p])try{o(d,p,a[p])}catch(v){d[p]=a[p]}}}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,r){"use strict";var n=r(14),i=r(63),a=r(78),o=r(31),s=r(71),u="Array Iterator",c=o.set,l=o.getterFor(u);e.exports=s(Array,"Array",(function(e,t){c(this,{type:u,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},function(e,t,r){"use strict";var n,i,a,o,s=r(7),u=r(29),c=r(8),l=r(39),f=r(106),h=r(26),d=r(107),p=r(77),v=r(108),g=r(19),m=r(56),y=r(109),b=r(16),_=r(110),w=r(88),S=r(111),A=r(112).set,x=r(113),k=r(115),P=r(117),C=r(116),T=r(118),E=r(114),R=r(31),L=r(48),O=r(51),I=O("species"),M="Promise",N=R.get,F=R.set,j=R.getterFor(M),U=f,D=c.TypeError,B=c.document,q=c.process,H=c.fetch,V=q&&q.versions,W=V&&V.v8||"",G=C.f,z=G,Y="process"==b(q),K=!!(B&&B.createEvent&&c.dispatchEvent),X="unhandledrejection",J="rejectionhandled",Q=0,$=1,Z=2,ee=1,te=2,re=L(M,(function(){var e=U.resolve(1),t=function(){},r=(e.constructor={})[I]=function(e){e(t,t)};return!((Y||"function"==typeof PromiseRejectionEvent)&&(!u||e["finally"])&&e.then(t)instanceof r&&0!==W.indexOf("6.6")&&-1===E.indexOf("Chrome/66"))})),ne=re||!w((function(e){U.all(e)["catch"]((function(){}))})),ie=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},ae=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;x((function(){var i=t.value,a=t.state==$,o=0;while(n.length>o){var s,u,c,l=n[o++],f=a?l.ok:l.fail,h=l.resolve,d=l.reject,p=l.domain;try{f?(a||(t.rejection===te&&ce(e,t),t.rejection=ee),!0===f?s=i:(p&&p.enter(),s=f(i),p&&(p.exit(),c=!0)),s===l.promise?d(D("Promise-chain cycle")):(u=ie(s))?u.call(s,h,d):h(s)):d(i)}catch(v){p&&!c&&p.exit(),d(v)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&se(e,t)}))}},oe=function(e,t,r){var n,i;K?(n=B.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},(i=c["on"+e])?i(n):e===X&&P("Unhandled promise rejection",r)},se=function(e,t){A.call(c,(function(){var r,n=t.value,i=ue(t);if(i&&(r=T((function(){Y?q.emit("unhandledRejection",n,e):oe(X,e,n)})),t.rejection=Y||ue(t)?te:ee,r.error))throw r.value}))},ue=function(e){return e.rejection!==ee&&!e.parent},ce=function(e,t){A.call(c,(function(){Y?q.emit("rejectionHandled",e):oe(J,e,t.value)}))},le=function(e,t,r,n){return function(i){e(t,r,i,n)}},fe=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=Z,ae(e,t,!0))},he=function e(t,r,n,i){if(!r.done){r.done=!0,i&&(r=i);try{if(t===n)throw D("Promise can't be resolved itself");var a=ie(n);a?x((function(){var i={done:!1};try{a.call(n,le(e,t,i,r),le(fe,t,i,r))}catch(o){fe(t,i,o,r)}})):(r.value=n,r.state=$,ae(t,r,!1))}catch(o){fe(t,{done:!1},o,r)}}};re&&(U=function(e){y(this,U,M),m(e),n.call(this);var t=N(this);try{e(le(he,this,t),le(fe,this,t))}catch(r){fe(this,t,r)}},n=function(e){F(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Q,value:void 0})},n.prototype=d(U.prototype,{then:function(e,t){var r=j(this),n=G(S(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Y?q.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=Q&&ae(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=N(e);this.promise=e,this.resolve=le(he,e,t),this.reject=le(fe,e,t)},C.f=G=function(e){return e===U||e===a?new i(e):z(e)},u||"function"!=typeof f||(o=f.prototype.then,h(f.prototype,"then",(function(e,t){var r=this;return new U((function(e,t){o.call(r,e,t)})).then(e,t)})),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,H.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:re},{Promise:U}),p(U,M,!1,!0),v(M),a=l[M],s({target:M,stat:!0,forced:re},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:M,stat:!0,forced:u||re},{resolve:function(e){return k(u&&this===a?U:this,e)}}),s({target:M,stat:!0,forced:ne},{all:function(e){var t=this,r=G(t),n=r.resolve,i=r.reject,a=T((function(){var r=m(t.resolve),a=[],o=0,s=1;_(e,(function(e){var u=o++,c=!1;a.push(void 0),s++,r.call(t,e).then((function(e){c||(c=!0,a[u]=e,--s||n(a))}),i)})),--s||n(a)}));return a.error&&i(a.value),r.promise},race:function(e){var t=this,r=G(t),n=r.reject,i=T((function(){var i=m(t.resolve);_(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},function(e,t,r){var n=r(8);e.exports=n.Promise},function(e,t,r){var n=r(26);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){"use strict";var n=r(38),i=r(24),a=r(51),o=r(10),s=a("species");e.exports=function(e){var t=n(e),r=i.f;o&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},function(e,t,r){var n=r(25),i=r(84),a=r(43),o=r(55),s=r(86),u=r(83),c=function(e,t){this.stopped=e,this.result=t},l=e.exports=function(e,t,r,l,f){var h,d,p,v,g,m,y=o(t,r,l?2:1);if(f)h=e;else{if(d=s(e),"function"!=typeof d)throw TypeError("Target is not iterable");if(i(d)){for(p=0,v=a(e.length);v>p;p++)if(g=l?y(n(m=e[p])[0],m[1]):y(e[p]),g&&g instanceof c)return g;return new c(!1)}h=d.call(e)}while(!(m=h.next()).done)if(g=u(h,y,m.value,l),g&&g instanceof c)return g;return new c(!1)};l.stop=function(e){return new c(!0,e)}},function(e,t,r){var n=r(25),i=r(56),a=r(51),o=a("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},function(e,t,r){var n,i,a,o=r(8),s=r(11),u=r(16),c=r(55),l=r(67),f=r(22),h=o.location,d=o.setImmediate,p=o.clearImmediate,v=o.process,g=o.MessageChannel,m=o.Dispatch,y=0,b={},_="onreadystatechange",w=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},S=function(e){return function(){w(e)}},A=function(e){w(e.data)},x=function(e){o.postMessage(e+"",h.protocol+"//"+h.host)};d&&p||(d=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return b[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(y),y},p=function(e){delete b[e]},"process"==u(v)?n=function(e){v.nextTick(S(e))}:m&&m.now?n=function(e){m.now(S(e))}:g?(i=new g,a=i.port2,i.port1.onmessage=A,n=c(a.postMessage,a,1)):!o.addEventListener||"function"!=typeof postMessage||o.importScripts||s(x)?n=_ in f("script")?function(e){l.appendChild(f("script"))[_]=function(){l.removeChild(this),w(e)}}:function(e){setTimeout(S(e),0)}:(n=x,o.addEventListener("message",A,!1))),e.exports={set:d,clear:p}},function(e,t,r){var n,i,a,o,s,u,c,l,f=r(8),h=r(9).f,d=r(16),p=r(112).set,v=r(114),g=f.MutationObserver||f.WebKitMutationObserver,m=f.process,y=f.Promise,b="process"==d(m),_=h(f,"queueMicrotask"),w=_&&_.value;w||(n=function(){var e,t;b&&(e=m.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(r){throw i?o():a=void 0,r}}a=void 0,e&&e.enter()},b?o=function(){m.nextTick(n)}:g&&!/(iphone|ipod|ipad).*applewebkit/i.test(v)?(s=!0,u=document.createTextNode(""),new g(n).observe(u,{characterData:!0}),o=function(){u.data=s=!s}):y&&y.resolve?(c=y.resolve(void 0),l=c.then,o=function(){l.call(c,n)}):o=function(){p.call(f,n)}),e.exports=w||function(e){var t={fn:e,next:void 0};a&&(a.next=t),i||(i=t,o()),a=t}},function(e,t,r){var n=r(38);e.exports=n("navigator","userAgent")||""},function(e,t,r){var n=r(25),i=r(19),a=r(116);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e),o=r.resolve;return o(t),r.promise}},function(e,t,r){"use strict";var n=r(56),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},function(e,t,r){var n=r(8);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,r){"use strict";var n=r(7),i=r(56),a=r(116),o=r(118),s=r(110);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,c=o((function(){var r=i(t.resolve),a=[],o=0,u=1;s(e,(function(e){var i=o++,s=!1;a.push(void 0),u++,r.call(t,e).then((function(e){s||(s=!0,a[i]={status:"fulfilled",value:e},--u||n(a))}),(function(e){s||(s=!0,a[i]={status:"rejected",reason:e},--u||n(a))}))})),--u||n(a)}));return c.error&&u(c.value),r.promise}})},function(e,t,r){"use strict";var n=r(7),i=r(29),a=r(106),o=r(38),s=r(111),u=r(115),c=r(26);n({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=s(this,o("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),i||"function"!=typeof a||a.prototype["finally"]||c(a.prototype,"finally",o("Promise").prototype["finally"])},function(e,t,r){r(122),r(127),r(125);var n=r(39);e.exports=n.URL},function(e,t,r){"use strict";r(69);var n,i=r(7),a=r(10),o=r(123),s=r(8),u=r(65),l=r(26),f=r(109),h=r(20),d=r(91),p=r(82),v=r(70).codeAt,g=r(124),m=r(77),y=r(125),b=r(31),_=s.URL,w=y.URLSearchParams,S=y.getState,A=b.set,x=b.getterFor("URL"),k=Math.floor,P=Math.pow,C="Invalid authority",T="Invalid scheme",E="Invalid host",R="Invalid port",L=/[A-Za-z]/,O=/[\d+\-.A-Za-z]/,I=/\d/,M=/^(0x|0X)/,N=/^[0-7]+$/,F=/^\d+$/,j=/^[\dA-Fa-f]+$/,U=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,D=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,B=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,q=/[\u0009\u000A\u000D]/g,H=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return E;if(r=W(t.slice(1,-1)),!r)return E;e.host=r}else if(Z(e)){if(t=g(t),U.test(t))return E;if(r=V(t),null===r)return E;e.host=r}else{if(D.test(t))return E;for(r="",n=p(t),i=0;i<n.length;i++)r+=Q(n[i],Y);e.host=r}},V=function(e){var t,r,n,i,a,o,s,u=e.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),t=u.length,t>4)return e;for(r=[],n=0;n<t;n++){if(i=u[n],""==i)return e;if(a=10,i.length>1&&"0"==i.charAt(0)&&(a=M.test(i)?16:8,i=i.slice(8==a?1:2)),""===i)o=0;else{if(!(10==a?F:8==a?N:j).test(i))return e;o=parseInt(i,a)}r.push(o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=P(256,5-t))return null}else if(o>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*P(256,3-n);return s},W=function(e){var t,r,n,i,a,o,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return e.charAt(f)};if(":"==h()){if(":"!=e.charAt(1))return;f+=2,c++,l=c}while(h()){if(8==c)return;if(":"!=h()){t=r=0;while(r<4&&j.test(h()))t=16*t+parseInt(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,c>6)return;n=0;while(h()){if(i=null,n>0){if(!("."==h()&&n<4))return;f++}if(!I.test(h()))return;while(I.test(h())){if(a=parseInt(h(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;f++}u[c]=256*u[c]+i,n++,2!=n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;u[c++]=t}else{if(null!==l)return;f++,c++,l=c}}if(null!==l){o=c-l,c=7;while(0!=c&&o>0)s=u[c],u[c--]=u[l+o-1],u[l+--o]=s}else if(8!=c)return;return u},G=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r&&(t=n,r=i),t},z=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=k(e/256);return t.join(".")}if("object"==c(e)){for(t="",n=G(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},Y={},K=d({},Y,{" ":1,'"':1,"<":1,">":1,"`":1}),X=d({},K,{"#":1,"?":1,"{":1,"}":1}),J=d({},X,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Q=function(e,t){var r=v(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},$={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},Z=function(e){return h($,e.scheme)},ee=function(e){return""!=e.username||""!=e.password},te=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},re=function(e,t){var r;return 2==e.length&&L.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ne=function(e){var t;return e.length>1&&re(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ie=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&re(t[0],!0)||t.pop()},ae=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},se={},ue={},ce={},le={},fe={},he={},de={},pe={},ve={},ge={},me={},ye={},be={},_e={},we={},Se={},Ae={},xe={},ke={},Pe={},Ce={},Te=function(e,t,r,i){var a,o,s,u,c=r||se,l=0,f="",d=!1,v=!1,g=!1;r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(B,"")),t=t.replace(q,""),a=p(t);while(l<=a.length){switch(o=a[l],c){case se:if(!o||!L.test(o)){if(r)return T;c=ce;continue}f+=o.toLowerCase(),c=ue;break;case ue:if(o&&(O.test(o)||"+"==o||"-"==o||"."==o))f+=o.toLowerCase();else{if(":"!=o){if(r)return T;f="",c=ce,l=0;continue}if(r&&(Z(e)!=h($,f)||"file"==f&&(ee(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,r)return void(Z(e)&&$[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?c=_e:Z(e)&&i&&i.scheme==e.scheme?c=le:Z(e)?c=pe:"/"==a[l+1]?(c=fe,l++):(e.cannotBeABaseURL=!0,e.path.push(""),c=ke)}break;case ce:if(!i||i.cannotBeABaseURL&&"#"!=o)return T;if(i.cannotBeABaseURL&&"#"==o){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,c=Ce;break}c="file"==i.scheme?_e:he;continue;case le:if("/"!=o||"/"!=a[l+1]){c=he;continue}c=ve,l++;break;case fe:if("/"==o){c=ge;break}c=xe;continue;case he:if(e.scheme=i.scheme,o==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==o||"\\"==o&&Z(e))c=de;else if("?"==o)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",c=Pe;else{if("#"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),c=xe;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=Ce}break;case de:if(!Z(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,c=xe;continue}c=ge}else c=ve;break;case pe:if(c=ve,"/"!=o||"/"!=f.charAt(l+1))continue;l++;break;case ve:if("/"!=o&&"\\"!=o){c=ge;continue}break;case ge:if("@"==o){d&&(f="%40"+f),d=!0,s=p(f);for(var m=0;m<s.length;m++){var y=s[m];if(":"!=y||g){var b=Q(y,J);g?e.password+=b:e.username+=b}else g=!0}f=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(d&&""==f)return C;l-=p(f).length+1,f="",c=me}else f+=o;break;case me:case ye:if(r&&"file"==e.scheme){c=Se;continue}if(":"!=o||v){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(Z(e)&&""==f)return E;if(r&&""==f&&(ee(e)||null!==e.port))return;if(u=H(e,f),u)return u;if(f="",c=Ae,r)return;continue}"["==o?v=!0:"]"==o&&(v=!1),f+=o}else{if(""==f)return E;if(u=H(e,f),u)return u;if(f="",c=be,r==ye)return}break;case be:if(!I.test(o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)||r){if(""!=f){var _=parseInt(f,10);if(_>65535)return R;e.port=Z(e)&&_===$[e.scheme]?null:_,f=""}if(r)return;c=Ae;continue}return R}f+=o;break;case _e:if(e.scheme="file","/"==o||"\\"==o)c=we;else{if(!i||"file"!=i.scheme){c=xe;continue}if(o==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==o)e.host=i.host,e.path=i.path.slice(),e.query="",c=Pe;else{if("#"!=o){ne(a.slice(l).join(""))||(e.host=i.host,e.path=i.path.slice(),ie(e)),c=xe;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=Ce}}break;case we:if("/"==o||"\\"==o){c=Se;break}i&&"file"==i.scheme&&!ne(a.slice(l).join(""))&&(re(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),c=xe;continue;case Se:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!r&&re(f))c=xe;else if(""==f){if(e.host="",r)return;c=Ae}else{if(u=H(e,f),u)return u;if("localhost"==e.host&&(e.host=""),r)return;f="",c=Ae}continue}f+=o;break;case Ae:if(Z(e)){if(c=xe,"/"!=o&&"\\"!=o)continue}else if(r||"?"!=o)if(r||"#"!=o){if(o!=n&&(c=xe,"/"!=o))continue}else e.fragment="",c=Ce;else e.query="",c=Pe;break;case xe:if(o==n||"/"==o||"\\"==o&&Z(e)||!r&&("?"==o||"#"==o)){if(oe(f)?(ie(e),"/"==o||"\\"==o&&Z(e)||e.path.push("")):ae(f)?"/"==o||"\\"==o&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&re(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(o==n||"?"==o||"#"==o))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==o?(e.query="",c=Pe):"#"==o&&(e.fragment="",c=Ce)}else f+=Q(o,X);break;case ke:"?"==o?(e.query="",c=Pe):"#"==o?(e.fragment="",c=Ce):o!=n&&(e.path[0]+=Q(o,Y));break;case Pe:r||"#"!=o?o!=n&&("'"==o&&Z(e)?e.query+="%27":e.query+="#"==o?"%23":Q(o,Y)):(e.fragment="",c=Ce);break;case Ce:o!=n&&(e.fragment+=Q(o,K));break}l++}},Ee=function(e){var t,r,n=f(this,Ee,"URL"),i=arguments.length>1?arguments[1]:void 0,o=String(e),s=A(n,{type:"URL"});if(void 0!==i)if(i instanceof Ee)t=x(i);else if(r=Te(t={},String(i)),r)throw TypeError(r);if(r=Te(s,o,null,t),r)throw TypeError(r);var u=s.searchParams=new w,c=S(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},a||(n.href=Le.call(n),n.origin=Oe.call(n),n.protocol=Ie.call(n),n.username=Me.call(n),n.password=Ne.call(n),n.host=Fe.call(n),n.hostname=je.call(n),n.port=Ue.call(n),n.pathname=De.call(n),n.search=Be.call(n),n.searchParams=qe.call(n),n.hash=He.call(n))},Re=Ee.prototype,Le=function(){var e=x(this),t=e.scheme,r=e.username,n=e.password,i=e.host,a=e.port,o=e.path,s=e.query,u=e.fragment,c=t+":";return null!==i?(c+="//",ee(e)&&(c+=r+(n?":"+n:"")+"@"),c+=z(i),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},Oe=function(){var e=x(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&Z(e)?t+"://"+z(e.host)+(null!==r?":"+r:""):"null"},Ie=function(){return x(this).scheme+":"},Me=function(){return x(this).username},Ne=function(){return x(this).password},Fe=function(){var e=x(this),t=e.host,r=e.port;return null===t?"":null===r?z(t):z(t)+":"+r},je=function(){var e=x(this).host;return null===e?"":z(e)},Ue=function(){var e=x(this).port;return null===e?"":String(e)},De=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Be=function(){var e=x(this).query;return e?"?"+e:""},qe=function(){return x(this).searchParams},He=function(){var e=x(this).fragment;return e?"#"+e:""},Ve=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&u(Re,{href:Ve(Le,(function(e){var t=x(this),r=String(e),n=Te(t,r);if(n)throw TypeError(n);S(t.searchParams).updateSearchParams(t.query)})),origin:Ve(Oe),protocol:Ve(Ie,(function(e){var t=x(this);Te(t,String(e)+":",se)})),username:Ve(Me,(function(e){var t=x(this),r=p(String(e));if(!te(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=Q(r[n],J)}})),password:Ve(Ne,(function(e){var t=x(this),r=p(String(e));if(!te(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=Q(r[n],J)}})),host:Ve(Fe,(function(e){var t=x(this);t.cannotBeABaseURL||Te(t,String(e),me)})),hostname:Ve(je,(function(e){var t=x(this);t.cannotBeABaseURL||Te(t,String(e),ye)})),port:Ve(Ue,(function(e){var t=x(this);te(t)||(e=String(e),""==e?t.port=null:Te(t,e,be))})),pathname:Ve(De,(function(e){var t=x(this);t.cannotBeABaseURL||(t.path=[],Te(t,e+"",Ae))})),search:Ve(Be,(function(e){var t=x(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Te(t,e,Pe)),S(t.searchParams).updateSearchParams(t.query)})),searchParams:Ve(qe),hash:Ve(He,(function(e){var t=x(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Te(t,e,Ce)):t.fragment=null}))}),l(Re,"toJSON",(function(){return Le.call(this)}),{enumerable:!0}),l(Re,"toString",(function(){return Le.call(this)}),{enumerable:!0}),_){var We=_.createObjectURL,Ge=_.revokeObjectURL;We&&l(Ee,"createObjectURL",(function(e){return We.apply(_,arguments)})),Ge&&l(Ee,"revokeObjectURL",(function(e){return Ge.apply(_,arguments)}))}m(Ee,"URL"),i({global:!0,forced:!o,sham:!a},{URL:Ee})},function(e,t,r){var n=r(11),i=r(51),a=r(29),o=i("iterator");e.exports=!n((function(){var e=new URL("b?e=1","http://a"),t=e.searchParams;return e.pathname="c%20d",a&&!e.toJSON||!t.sort||"http://a/c%20d?e=1"!==e.href||"1"!==t.get("e")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash}))},function(e,t,r){"use strict";var n=2147483647,i=36,a=1,o=26,s=38,u=700,c=72,l=128,f="-",h=/[^\0-\u007E]/,d=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",v=i-a,g=Math.floor,m=String.fromCharCode,y=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=e.charCodeAt(r++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),r--)}else t.push(i)}return t},b=function(e){return e+22+75*(e<26)},_=function(e,t,r){var n=0;for(e=r?g(e/u):e>>1,e+=g(e/t);e>v*o>>1;n+=i)e=g(e/v);return g(n+(v+1)*e/(e+s))},w=function(e){var t=[];e=y(e);var r,s,u=e.length,h=l,d=0,v=c;for(r=0;r<e.length;r++)s=e[r],s<128&&t.push(m(s));var w=t.length,S=w;w&&t.push(f);while(S<u){var A=n;for(r=0;r<e.length;r++)s=e[r],s>=h&&s<A&&(A=s);var x=S+1;if(A-h>g((n-d)/x))throw RangeError(p);for(d+=(A-h)*x,h=A,r=0;r<e.length;r++){if(s=e[r],s<h&&++d>n)throw RangeError(p);if(s==h){for(var k=d,P=i;;P+=i){var C=P<=v?a:P>=v+o?o:P-v;if(k<C)break;var T=k-C,E=i-C;t.push(m(b(C+T%E))),k=g(T/E)}t.push(m(b(k))),v=_(d,x,S==w),d=0,++S}}++d,++h}return t.join("")};e.exports=function(e){var t,r,n=[],i=e.toLowerCase().replace(d,".").split(".");for(t=0;t<i.length;t++)r=i[t],n.push(h.test(r)?"xn--"+w(r):r);return n.join(".")}},function(e,t,r){"use strict";r(104);var n=r(7),i=r(123),a=r(26),o=r(107),s=r(77),u=r(72),c=r(31),l=r(109),f=r(20),h=r(55),d=r(25),p=r(19),v=r(126),g=r(86),m=r(51),y=m("iterator"),b="URLSearchParams",_=b+"Iterator",w=c.set,S=c.getterFor(b),A=c.getterFor(_),x=/\+/g,k=Array(4),P=function(e){return k[e-1]||(k[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},C=function(e){try{return decodeURIComponent(e)}catch(t){return e}},T=function(e){var t=e.replace(x," "),r=4;try{return decodeURIComponent(t)}catch(n){while(r)t=t.replace(P(r--),C);return t}},E=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return R[e]},O=function(e){return encodeURIComponent(e).replace(E,L)},I=function(e,t){if(t){var r,n,i=t.split("&"),a=0;while(a<i.length)r=i[a++],r.length&&(n=r.split("="),e.push({key:T(n.shift()),value:T(n.join("="))}))}},M=function(e){this.entries.length=0,I(this.entries,e)},N=function(e,t){if(e<t)throw TypeError("Not enough arguments")},F=u((function(e,t){w(this,{type:_,iterator:v(S(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),j=function(){l(this,j,b);var e,t,r,n,i,a,o,s=arguments.length>0?arguments[0]:void 0,u=this,c=[];if(w(u,{type:b,entries:c,updateURL:function(){},updateSearchParams:M}),void 0!==s)if(p(s))if(e=g(s),"function"===typeof e){t=e.call(s);while(!(r=t.next()).done){if(n=v(d(r.value)),(i=n.next()).done||(a=n.next()).done||!n.next().done)throw TypeError("Expected sequence with length 2");c.push({key:i.value+"",value:a.value+""})}}else for(o in s)f(s,o)&&c.push({key:o,value:s[o]+""});else I(c,"string"===typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},U=j.prototype;o(U,{append:function(e,t){N(arguments.length,2);var r=S(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){N(arguments.length,1);var t=S(this),r=t.entries,n=e+"",i=0;while(i<r.length)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){N(arguments.length,1);for(var t=S(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){N(arguments.length,1);for(var t=S(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){N(arguments.length,1);var t=S(this).entries,r=e+"",n=0;while(n<t.length)if(t[n++].key===r)return!0;return!1},set:function(e,t){N(arguments.length,1);for(var r,n=S(this),i=n.entries,a=!1,o=e+"",s=t+"",u=0;u<i.length;u++)r=i[u],r.key===o&&(a?i.splice(u--,1):(a=!0,r.value=s));a||i.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=S(this),i=n.entries,a=i.slice();for(i.length=0,r=0;r<a.length;r++){for(e=a[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){var t,r=S(this).entries,n=h(e,arguments.length>1?arguments[1]:void 0,3),i=0;while(i<r.length)t=r[i++],n(t.value,t.key,this)},keys:function(){return new F(this,"keys")},values:function(){return new F(this,"values")},entries:function(){return new F(this,"entries")}},{enumerable:!0}),a(U,y,U.entries),a(U,"toString",(function(){var e,t=S(this).entries,r=[],n=0;while(n<t.length)e=t[n++],r.push(O(e.key)+"="+O(e.value));return r.join("&")}),{enumerable:!0}),s(j,b),n({global:!0,forced:!i},{URLSearchParams:j}),e.exports={URLSearchParams:j,getState:S}},function(e,t,r){var n=r(25),i=r(86);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},function(e,t,r){"use strict";var n=r(7);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t,r){r(100),r(129),r(102);var n=r(39);e.exports=n.WeakMap},function(e,t,r){"use strict";var n,i=r(8),a=r(107),o=r(130),s=r(132),u=r(134),c=r(19),l=r(31).enforce,f=r(32),h=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=s("WeakMap",p,u,!0,!0);if(f&&h){n=u.getConstructor(p,"WeakMap",!0),o.REQUIRED=!0;var g=v.prototype,m=g["delete"],y=g.has,b=g.get,_=g.set;a(g,{delete:function(e){if(c(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),m.call(this,e)||t.frozen["delete"](e)}return m.call(this,e)},has:function(e){if(c(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(c(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!d(e)){var r=l(this);r.frozen||(r.frozen=new n),y.call(this,e)?_.call(this,e,t):r.frozen.set(e,t)}else _.call(this,e,t);return this}})}},function(e,t,r){var n=r(35),i=r(19),a=r(20),o=r(24).f,s=r(34),u=r(131),l=s("meta"),f=0,h=Object.isExtensible||function(){return!0},d=function(e){o(e,l,{value:{objectID:"O"+ ++f,weakData:{}}})},p=function(e,t){if(!i(e))return"symbol"==c(e)?e:("string"==typeof e?"S":"P")+e;if(!a(e,l)){if(!h(e))return"F";if(!t)return"E";d(e)}return e[l].objectID},v=function(e,t){if(!a(e,l)){if(!h(e))return!0;if(!t)return!1;d(e)}return e[l].weakData},g=function(e){return u&&m.REQUIRED&&h(e)&&!a(e,l)&&d(e),e},m=e.exports={REQUIRED:!1,fastKey:p,getWeakData:v,onFreeze:g};n[l]=!0},function(e,t,r){var n=r(11);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,r){"use strict";var n=r(7),i=r(8),a=r(48),o=r(26),s=r(130),u=r(110),c=r(109),l=r(19),f=r(11),h=r(88),d=r(77),p=r(133);e.exports=function(e,t,r,v,g){var m=i[e],y=m&&m.prototype,b=m,_=v?"set":"add",w={},S=function(e){var t=y[e];o(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(a(e,"function"!=typeof m||!(g||y.forEach&&!f((function(){(new m).entries().next()})))))b=r.getConstructor(t,e,v,_),s.REQUIRED=!0;else if(a(e,!0)){var A=new b,x=A[_](g?{}:-0,1)!=A,k=f((function(){A.has(1)})),P=h((function(e){new m(e)})),C=!g&&f((function(){var e=new m,t=5;while(t--)e[_](t,t);return!e.has(-0)}));P||(b=t((function(t,r){c(t,b,e);var n=p(new m,t,b);return void 0!=r&&u(r,n[_],n,v),n})),b.prototype=y,y.constructor=b),(k||C)&&(S("delete"),S("has"),v&&S("get")),(C||x)&&S(_),g&&y.clear&&delete y.clear}return w[e]=b,n({global:!0,forced:b!=m},w),d(b,e),g||r.setStrong(b,e,v),b}},function(e,t,r){var n=r(19),i=r(79);e.exports=function(e,t,r){var a,o;return i&&"function"==typeof(a=t.constructor)&&a!==r&&n(o=a.prototype)&&o!==r.prototype&&i(e,o),e}},function(e,t,r){"use strict";var n=r(107),i=r(130).getWeakData,a=r(25),o=r(19),s=r(109),u=r(110),c=r(135),l=r(20),f=r(31),h=f.set,d=f.getterFor,p=c.find,v=c.findIndex,g=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,c){var f=e((function(e,n){s(e,f,t),h(e,{type:t,id:g++,frozen:void 0}),void 0!=n&&u(n,e[c],e,r)})),p=d(t),v=function(e,t,r){var n=p(e),o=i(a(t),!0);return!0===o?m(n).set(t,r):o[n.id]=r,e};return n(f.prototype,{delete:function(e){var t=p(this);if(!o(e))return!1;var r=i(e);return!0===r?m(t)["delete"](e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=p(this);if(!o(e))return!1;var r=i(e);return!0===r?m(t).has(e):r&&l(r,t.id)}}),n(f.prototype,r?{get:function(e){var t=p(this);if(o(e)){var r=i(e);return!0===r?m(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},function(e,t,r){var n=r(55),i=r(15),a=r(75),o=r(43),s=r(136),u=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,l=4==e,f=6==e,h=5==e||f;return function(d,p,v,g){for(var m,y,b=a(d),_=i(b),w=n(p,v,3),S=o(_.length),A=0,x=g||s,k=t?x(d,S):r?x(d,0):void 0;S>A;A++)if((h||A in _)&&(m=_[A],y=w(m,A,b),e))if(t)k[A]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return A;case 2:u.call(k,m)}else if(l)return!1;return f?-1:c||l?l:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(e,t,r){var n=r(19),i=r(137),a=r(51),o=a("species");e.exports=function(e,t){var r;return i(e)&&(r=e.constructor,"function"!=typeof r||r!==Array&&!i(r.prototype)?n(r)&&(r=r[o],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},function(e,t,r){var n=r(16);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){r(100),r(139),r(102);var n=r(39);e.exports=n.WeakSet},function(e,t,r){"use strict";var n=r(132),i=r(134);n("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i,!1,!0)},function(e,t,r){r(141);var n=r(54);e.exports=n("String","codePointAt")},function(e,t,r){"use strict";var n=r(7),i=r(70).codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},function(e,t,r){r(143);var n=r(39);e.exports=n.String.fromCodePoint},function(e,t,r){var n=r(7),i=r(45),a=String.fromCharCode,o=String.fromCodePoint,s=!!o&&1!=o.length;n({target:"String",stat:!0,forced:s},{fromCodePoint:function(e){var t,r=[],n=arguments.length,o=0;while(n>o){if(t=+arguments[o++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},function(e,t,r){r(145),r(100),r(147),r(151),r(152),r(153),r(154),r(155),r(156),r(157),r(158),r(159),r(160),r(161),r(162),r(163),r(164),r(165),r(166);var n=r(39);e.exports=n.Symbol},function(e,t,r){"use strict";var n=r(7),i=r(11),a=r(137),o=r(19),s=r(75),u=r(43),c=r(85),l=r(136),f=r(146),h=r(51),d=h("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",g=!i((function(){var e=[];return e[d]=!1,e.concat()[0]!==e})),m=f("concat"),y=function(e){if(!o(e))return!1;var t=e[d];return void 0!==t?!!t:a(e)},b=!g||!m;n({target:"Array",proto:!0,forced:b},{concat:function(e){var t,r,n,i,a,o=s(this),f=l(o,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(a=-1===t?o:arguments[t],y(a)){if(i=u(a.length),h+i>p)throw TypeError(v);for(r=0;r<i;r++,h++)r in a&&c(f,h,a[r])}else{if(h>=p)throw TypeError(v);c(f,h++,a)}return f.length=h,f}})},function(e,t,r){var n=r(11),i=r(51),a=i("species");e.exports=function(e){return!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,r){"use strict";var n=r(7),i=r(8),a=r(29),o=r(10),s=r(52),u=r(11),l=r(20),f=r(137),h=r(19),d=r(25),p=r(75),v=r(14),g=r(18),m=r(13),y=r(64),b=r(66),_=r(40),w=r(148),S=r(47),A=r(9),x=r(24),k=r(12),P=r(23),C=r(26),T=r(27),E=r(33),R=r(35),L=r(34),O=r(51),I=r(149),M=r(150),N=r(77),F=r(31),j=r(135).forEach,U=E("hidden"),D="Symbol",B="prototype",q=O("toPrimitive"),H=F.set,V=F.getterFor(D),W=Object[B],G=i.Symbol,z=i.JSON,Y=z&&z.stringify,K=A.f,X=x.f,J=w.f,Q=k.f,$=T("symbols"),Z=T("op-symbols"),ee=T("string-to-symbol-registry"),te=T("symbol-to-string-registry"),re=T("wks"),ne=i.QObject,ie=!ne||!ne[B]||!ne[B].findChild,ae=o&&u((function(){return 7!=y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=K(W,t);n&&delete W[t],X(e,t,r),n&&e!==W&&X(W,t,n)}:X,oe=function(e,t){var r=$[e]=y(G[B]);return H(r,{type:D,tag:e,description:t}),o||(r.description=t),r},se=s&&"symbol"==c(G.iterator)?function(e){return"symbol"==c(e)}:function(e){return Object(e)instanceof G},ue=function(e,t,r){e===W&&ue(Z,t,r),d(e);var n=g(t,!0);return d(r),l($,n)?(r.enumerable?(l(e,U)&&e[U][n]&&(e[U][n]=!1),r=y(r,{enumerable:m(0,!1)})):(l(e,U)||X(e,U,m(1,{})),e[U][n]=!0),ae(e,n,r)):X(e,n,r)},ce=function(e,t){d(e);var r=v(t),n=b(r).concat(pe(r));return j(n,(function(t){o&&!fe.call(r,t)||ue(e,t,r[t])})),e},le=function(e,t){return void 0===t?y(e):ce(y(e),t)},fe=function(e){var t=g(e,!0),r=Q.call(this,t);return!(this===W&&l($,t)&&!l(Z,t))&&(!(r||!l(this,t)||!l($,t)||l(this,U)&&this[U][t])||r)},he=function(e,t){var r=v(e),n=g(t,!0);if(r!==W||!l($,n)||l(Z,n)){var i=K(r,n);return!i||!l($,n)||l(r,U)&&r[U][n]||(i.enumerable=!0),i}},de=function(e){var t=J(v(e)),r=[];return j(t,(function(e){l($,e)||l(R,e)||r.push(e)})),r},pe=function(e){var t=e===W,r=J(t?Z:v(e)),n=[];return j(r,(function(e){!l($,e)||t&&!l(W,e)||n.push($[e])})),n};s||(G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=L(e),r=function e(r){this===W&&e.call(Z,r),l(this,U)&&l(this[U],t)&&(this[U][t]=!1),ae(this,t,m(1,r))};return o&&ie&&ae(W,t,{configurable:!0,set:r}),oe(t,e)},C(G[B],"toString",(function(){return V(this).tag})),k.f=fe,x.f=ue,A.f=he,_.f=w.f=de,S.f=pe,o&&(X(G[B],"description",{configurable:!0,get:function(){return V(this).description}}),a||C(W,"propertyIsEnumerable",fe,{unsafe:!0})),I.f=function(e){return oe(O(e),e)}),n({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:G}),j(b(re),(function(e){M(e)})),n({target:D,stat:!0,forced:!s},{for:function(e){var t=String(e);if(l(ee,t))return ee[t];var r=G(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(l(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!o},{create:le,defineProperty:ue,defineProperties:ce,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:u((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(p(e))}}),z&&n({target:"JSON",stat:!0,forced:!s||u((function(){var e=G();return"[null]"!=Y([e])||"{}"!=Y({a:e})||"{}"!=Y(Object(e))}))},{stringify:function(e){var t,r,n=[e],i=1;while(arguments.length>i)n.push(arguments[i++]);if(r=t=n[1],(h(t)||void 0!==e)&&!se(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!se(t))return t}),n[1]=t,Y.apply(z,n)}}),G[B][q]||P(G[B],q,G[B].valueOf),N(G,D),R[U]=!0},function(e,t,r){var n=r(14),i=r(40).f,a={}.toString,o="object"==("undefined"===typeof window?"undefined":c(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):i(n(e))}},function(e,t,r){t.f=r(51)},function(e,t,r){var n=r(39),i=r(20),a=r(149),o=r(24).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},function(e,t,r){var n=r(150);n("asyncIterator")},function(e,t,r){"use strict";var n=r(7),i=r(10),a=r(8),o=r(20),s=r(19),u=r(24).f,c=r(36),l=a.Symbol;if(i&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new l(e):void 0===e?l():l(e);return""===e&&(f[t]=!0),t};c(h,l);var d=h.prototype=l.prototype;d.constructor=h;var p=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;u(d,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(o(f,e))return"";var r=v?t.slice(7,-1):t.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},function(e,t,r){var n=r(150);n("hasInstance")},function(e,t,r){var n=r(150);n("isConcatSpreadable")},function(e,t,r){var n=r(150);n("iterator")},function(e,t,r){var n=r(150);n("match")},function(e,t,r){var n=r(150);n("matchAll")},function(e,t,r){var n=r(150);n("replace")},function(e,t,r){var n=r(150);n("search")},function(e,t,r){var n=r(150);n("species")},function(e,t,r){var n=r(150);n("split")},function(e,t,r){var n=r(150);n("toPrimitive")},function(e,t,r){var n=r(150);n("toStringTag")},function(e,t,r){var n=r(150);n("unscopables")},function(e,t,r){var n=r(77);n(Math,"Math",!0)},function(e,t,r){var n=r(8),i=r(77);i(n.JSON,"JSON",!0)},function(e,t,r){r(168);var n=r(54);e.exports=n("String","padStart")},function(e,t,r){"use strict";var n=r(7),i=r(169).start,a=r(171);n({target:"String",proto:!0,forced:a},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(43),i=r(170),a=r(17),o=Math.ceil,s=function(e){return function(t,r,s){var u,c,l=String(a(t)),f=l.length,h=void 0===s?" ":String(s),d=n(r);return d<=f||""==h?l:(u=d-f,c=i.call(h,o(u/h.length)),c.length>u&&(c=c.slice(0,u)),e?l+c:c+l)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,r){"use strict";var n=r(44),i=r(17);e.exports="".repeat||function(e){var t=String(i(this)),r="",a=n(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(r+=t);return r}},function(e,t,r){var n=r(114);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},function(e,t,r){r(173);var n=r(54);e.exports=n("String","padEnd")},function(e,t,r){"use strict";var n=r(7),i=r(169).end,a=r(171);n({target:"String",proto:!0,forced:a},{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){r(175);var n=r(39);e.exports=n.Object.values},function(e,t,r){var n=r(7),i=r(176).values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},function(e,t,r){var n=r(10),i=r(66),a=r(14),o=r(12).f,s=function(e){return function(t){var r,s=a(t),u=i(s),c=u.length,l=0,f=[];while(c>l)r=u[l++],n&&!o.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){"use strict";var n=!1;if("undefined"!==typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),n=!0}catch(i){}t.ReadableStream=n?ReadableStream:r(178).ReadableStream},function(e,t,r){"use strict";r.r(t),r.d(t,"ByteLengthQueuingStrategy",(function(){return kr})),r.d(t,"CountQueuingStrategy",(function(){return Pr})),r.d(t,"ReadableStream",(function(){return vr})),r.d(t,"TransformStream",(function(){return Cr})),r.d(t,"WritableStream",(function(){return ne}));var n="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?Symbol:function(e){return"Symbol("+e+")"};function i(){}var a=Number.isNaN||function(e){return e!==e};function o(e){return"object"===c(e)&&null!==e||"function"===typeof e}function s(e){return e.slice()}function u(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)}function l(e){return!1!==f(e)&&e!==1/0}function f(e){return"number"===typeof e&&(!a(e)&&!(e<0))}function h(e,t,r){if("function"!==typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function d(e,t,r,n){var i=e[t];if(void 0!==i){if("function"!==typeof i)throw new TypeError(i+" is not a method");switch(r){case 0:return function(){return v(i,e,n)};case 1:return function(t){var r=[t].concat(n);return v(i,e,r)}}}return function(){return Promise.resolve()}}function p(e,t,r){var n=e[t];if(void 0!==n)return h(n,e,r)}function v(e,t,r){try{return Promise.resolve(h(e,t,r))}catch(n){return Promise.reject(n)}}function g(e){return e}function m(e){return!1}function y(e){if(e=Number(e),a(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e}function b(e){if(void 0===e)return function(){return 1};if("function"!==typeof e)throw new TypeError("size property of a queuing strategy must be a function");return function(t){return e(t)}}var _=16384,w=function(){function e(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.push=function(e){var t=this._back,r=t;t._elements.length===_-1&&(r={_elements:[],_next:void 0}),t._elements.push(e),r!==t&&(this._back=r,t._next=r),++this._size},e.prototype.shift=function(){var e=this._front,t=e,r=this._cursor,n=r+1,i=e._elements,a=i[r];return n===_&&(t=e._next,n=0),--this._size,this._cursor=n,e!==t&&(this._front=t),i[r]=void 0,a},e.prototype.forEach=function(e){var t=this._cursor,r=this._front,n=r._elements;while(t!==n.length||void 0!==r._next){if(t===n.length&&(r=r._next,n=r._elements,t=0,0===n.length))break;e(n[t]),++t}},e.prototype.peek=function(){var e=this._front,t=this._cursor;return e._elements[t]},e}();function S(e,t,r){var n=null;!0===r&&(n=Object.prototype);var i=Object.create(n);return i.value=e,i.done=t,i}function A(e,t){e._forAuthorCode=!0,e._ownerReadableStream=t,t._reader=e,"readable"===t._state?C(e):"closed"===t._state?E(e):T(e,t._storedError)}function x(e,t){var r=e._ownerReadableStream;return _r(r,t)}function k(e){"readable"===e._ownerReadableStream._state?R(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):L(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function P(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function C(e){e._closedPromise=new Promise((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}))}function T(e,t){C(e),R(e,t)}function E(e){C(e),O(e)}function R(e,t){e._closedPromise.catch(i),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function L(e,t){T(e,t)}function O(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}var I=n("[[CancelSteps]]"),M=n("[[PullSteps]]");function N(e,t){void 0===t&&(t=!1);var r=new H(e);return r._forAuthorCode=t,r}function F(e){var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._reader._readRequests.push(n)}));return t}function j(e,t,r){var n=e._reader,i=n._readRequests.shift();i._resolve(S(t,r,n._forAuthorCode))}function U(e){return e._reader._readRequests.length}function D(e){var t=e._reader;return void 0!==t&&!!V(t)}var B,q,H=function(){function e(e){if(!1===yr(e))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===br(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");A(this,e),this._readRequests=new w}return Object.defineProperty(e.prototype,"closed",{get:function(){return V(this)?this._closedPromise:Promise.reject(G("closed"))},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return V(this)?void 0===this._ownerReadableStream?Promise.reject(P("cancel")):x(this,e):Promise.reject(G("cancel"))},e.prototype.read=function(){return V(this)?void 0===this._ownerReadableStream?Promise.reject(P("read from")):W(this):Promise.reject(G("read"))},e.prototype.releaseLock=function(){if(!V(this))throw G("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");k(this)}},e}();function V(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function W(e){var t=e._ownerReadableStream;return t._disturbed=!0,"closed"===t._state?Promise.resolve(S(void 0,!0,e._forAuthorCode)):"errored"===t._state?Promise.reject(t._storedError):t._readableStreamController[M]()}function G(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}"symbol"===c(n.asyncIterator)&&(B={},B[n.asyncIterator]=function(){return this},q=B,Object.defineProperty(q,n.asyncIterator,{enumerable:!1}));var z={next:function(){if(!1===K(this))return Promise.reject(X("next"));var e=this._asyncIteratorReader;return void 0===e._ownerReadableStream?Promise.reject(P("iterate")):W(e).then((function(t){var r=t.done;r&&k(e);var n=t.value;return S(n,r,!0)}))},return:function(e){if(!1===K(this))return Promise.reject(X("next"));var t=this._asyncIteratorReader;if(void 0===t._ownerReadableStream)return Promise.reject(P("finish iterating"));if(t._readRequests.length>0)return Promise.reject(new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled"));if(!1===this._preventCancel){var r=x(t,e);return k(t),r.then((function(){return S(e,!0,!0)}))}return k(t),Promise.resolve(S(e,!0,!0))}};function Y(e,t){void 0===t&&(t=!1);var r=N(e),n=Object.create(z);return n._asyncIteratorReader=r,n._preventCancel=Boolean(t),n}function K(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorReader")}function X(e){return new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a ReadableSteamAsyncIterator")}void 0!==q&&Object.setPrototypeOf(z,q),Object.defineProperty(z,"next",{enumerable:!1}),Object.defineProperty(z,"return",{enumerable:!1});var J=i;function Q(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function $(e,t,r){if(r=Number(r),!l(r))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function Z(e){var t=e._queue.peek();return t.value}function ee(e){e._queue=new w,e._queueTotalSize=0}var te=n("[[AbortSteps]]"),re=n("[[ErrorSteps]]"),ne=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),oe(this);var r=t.size,n=t.highWaterMark,i=e.type;if(void 0!==i)throw new RangeError("Invalid type is specified");var a=b(r);void 0===n&&(n=1),n=y(n),je(this,e,n,a)}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!1===se(this))throw Xe("locked");return ue(this)},enumerable:!0,configurable:!0}),e.prototype.abort=function(e){return!1===se(this)?Promise.reject(Xe("abort")):!0===ue(this)?Promise.reject(new TypeError("Cannot abort a stream that already has a writer")):ce(this,e)},e.prototype.getWriter=function(){if(!1===se(this))throw Xe("getWriter");return ie(this)},e}();function ie(e){return new xe(e)}function ae(e,t,r,n,i,a){void 0===i&&(i=1),void 0===a&&(a=function(){return 1});var o=Object.create(ne.prototype);oe(o);var s=Object.create(Me.prototype);return Fe(o,s,e,t,r,n,i,a),o}function oe(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new w,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function se(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function ue(e){return void 0!==e._writer}function ce(e,t){var r=e._state;if("closed"===r||"errored"===r)return Promise.resolve(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var n=!1;"erroring"===r&&(n=!0,t=void 0);var i=new Promise((function(r,i){e._pendingAbortRequest={_promise:void 0,_resolve:r,_reject:i,_reason:t,_wasAlreadyErroring:n}}));return e._pendingAbortRequest._promise=i,!1===n&&he(e,t),i}function le(e){var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._writeRequests.push(n)}));return t}function fe(e,t){var r=e._state;"writable"!==r?de(e):he(e,t)}function he(e,t){var r=e._writableStreamController;e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&Re(n,t),!1===be(e)&&!0===r._started&&de(e)}function de(e){e._state="errored",e._writableStreamController[re]();var t=e._storedError;if(e._writeRequests.forEach((function(e){e._reject(t)})),e._writeRequests=new w,void 0!==e._pendingAbortRequest){var r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===r._wasAlreadyErroring)return r._reject(t),void Se(e);var n=e._writableStreamController[te](r._reason);n.then((function(){r._resolve(),Se(e)}),(function(t){r._reject(t),Se(e)}))}else Se(e)}function pe(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function ve(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,fe(e,t)}function ge(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0;var t=e._state;"erroring"===t&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var r=e._writer;void 0!==r&&nt(r)}function me(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),fe(e,t)}function ye(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function be(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function _e(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function we(e){e._inFlightWriteRequest=e._writeRequests.shift()}function Se(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&tt(t,e._storedError)}function Ae(e,t){var r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?ut(r):lt(r)),e._backpressure=t}var xe=function(){function e(e){if(!1===se(e))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===ue(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;var t=e._state;if("writable"===t)!1===ye(e)&&!0===e._backpressure?it(this):ot(this),$e(this);else if("erroring"===t)at(this,e._storedError),$e(this);else if("closed"===t)ot(this),et(this);else{var r=e._storedError;at(this,r),Ze(this,r)}}return Object.defineProperty(e.prototype,"closed",{get:function(){return!1===ke(this)?Promise.reject(Je("closed")):this._closedPromise},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===ke(this))throw Je("desiredSize");if(void 0===this._ownerWritableStream)throw Qe("desiredSize");return Le(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return!1===ke(this)?Promise.reject(Je("ready")):this._readyPromise},enumerable:!0,configurable:!0}),e.prototype.abort=function(e){return!1===ke(this)?Promise.reject(Je("abort")):void 0===this._ownerWritableStream?Promise.reject(Qe("abort")):Pe(this,e)},e.prototype.close=function(){if(!1===ke(this))return Promise.reject(Je("close"));var e=this._ownerWritableStream;return void 0===e?Promise.reject(Qe("close")):!0===ye(e)?Promise.reject(new TypeError("cannot close an already-closing stream")):Ce(this)},e.prototype.releaseLock=function(){if(!1===ke(this))throw Je("releaseLock");var e=this._ownerWritableStream;void 0!==e&&Oe(this)},e.prototype.write=function(e){return!1===ke(this)?Promise.reject(Je("write")):void 0===this._ownerWritableStream?Promise.reject(Qe("write to")):Ie(this,e)},e}();function ke(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function Pe(e,t){var r=e._ownerWritableStream;return ce(r,t)}function Ce(e){var t=e._ownerWritableStream,r=t._state;if("closed"===r||"errored"===r)return Promise.reject(new TypeError("The stream (in "+r+" state) is not in the writable state and cannot be closed"));var n=new Promise((function(e,r){var n={_resolve:e,_reject:r};t._closeRequest=n}));return!0===t._backpressure&&"writable"===r&&lt(e),De(t._writableStreamController),n}function Te(e){var t=e._ownerWritableStream,r=t._state;return!0===ye(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):Ce(e)}function Ee(e,t){"pending"===e._closedPromiseState?tt(e,t):rt(e,t)}function Re(e,t){"pending"===e._readyPromiseState?st(e,t):ct(e,t)}function Le(e){var t=e._ownerWritableStream,r=t._state;return"errored"===r||"erroring"===r?null:"closed"===r?0:qe(t._writableStreamController)}function Oe(e){var t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Re(e,r),Ee(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function Ie(e,t){var r=e._ownerWritableStream,n=r._writableStreamController,i=Be(n,t);if(r!==e._ownerWritableStream)return Promise.reject(Qe("write to"));var a=r._state;if("errored"===a)return Promise.reject(r._storedError);if(!0===ye(r)||"closed"===a)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===a)return Promise.reject(r._storedError);var o=le(r);return He(n,t,i),o}var Me=function(){function e(){throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly")}return e.prototype.error=function(e){if(!1===Ne(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");var t=this._controlledWritableStream._state;"writable"===t&&Ke(this,e)},e.prototype[te]=function(e){var t=this._abortAlgorithm(e);return Ue(this),t},e.prototype[re]=function(){ee(this)},e}();function Ne(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")}function Fe(e,t,r,n,i,a,o,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,ee(t),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=o,t._writeAlgorithm=n,t._closeAlgorithm=i,t._abortAlgorithm=a;var u=Ye(t);Ae(e,u);var c=r(),l=Promise.resolve(c);l.then((function(){t._started=!0,Ve(t)}),(function(r){t._started=!0,fe(e,r)})).catch(J)}function je(e,t,r,n){var i=Object.create(Me.prototype);function a(){return p(t,"start",[i])}var o=d(t,"write",1,[i]),s=d(t,"close",0,[]),u=d(t,"abort",1,[]);Fe(e,i,a,o,s,u,r,n)}function Ue(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function De(e){$(e,"close",0),Ve(e)}function Be(e,t){try{return e._strategySizeAlgorithm(t)}catch(r){return We(e,r),1}}function qe(e){return e._strategyHWM-e._queueTotalSize}function He(e,t,r){var n={chunk:t};try{$(e,n,r)}catch(o){return void We(e,o)}var i=e._controlledWritableStream;if(!1===ye(i)&&"writable"===i._state){var a=Ye(e);Ae(i,a)}Ve(e)}function Ve(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest){var r=t._state;if("erroring"!==r){if(0!==e._queue.length){var n=Z(e);"close"===n?Ge(e):ze(e,n.chunk)}}else de(t)}}function We(e,t){"writable"===e._controlledWritableStream._state&&Ke(e,t)}function Ge(e){var t=e._controlledWritableStream;_e(t),Q(e);var r=e._closeAlgorithm();Ue(e),r.then((function(){ge(t)}),(function(e){me(t,e)})).catch(J)}function ze(e,t){var r=e._controlledWritableStream;we(r);var n=e._writeAlgorithm(t);n.then((function(){pe(r);var t=r._state;if(Q(e),!1===ye(r)&&"writable"===t){var n=Ye(e);Ae(r,n)}Ve(e)}),(function(t){"writable"===r._state&&Ue(e),ve(r,t)})).catch(J)}function Ye(e){var t=qe(e);return t<=0}function Ke(e,t){var r=e._controlledWritableStream;Ue(e),he(r,t)}function Xe(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function Je(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function Qe(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function $e(e){e._closedPromise=new Promise((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"}))}function Ze(e,t){$e(e),tt(e,t)}function et(e){$e(e),nt(e)}function tt(e,t){e._closedPromise.catch(i),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function rt(e,t){Ze(e,t)}function nt(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function it(e){e._readyPromise=new Promise((function(t,r){e._readyPromise_resolve=t,e._readyPromise_reject=r})),e._readyPromiseState="pending"}function at(e,t){it(e),st(e,t)}function ot(e){it(e),lt(e)}function st(e,t){e._readyPromise.catch(i),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function ut(e){it(e)}function ct(e,t){at(e,t)}function lt(e){e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function ft(e,t,r,n,a,o){var s=N(e),u=ie(t),c=!1,l=Promise.resolve();return new Promise((function(f,h){var d;if(void 0!==o){if(d=function(){var r=new DOMException("Aborted","AbortError"),i=[];!1===n&&i.push((function(){return"writable"===t._state?ce(t,r):Promise.resolve()})),!1===a&&i.push((function(){return"readable"===e._state?_r(e,r):Promise.resolve()})),_((function(){return Promise.all(i.map((function(e){return e()})))}),!0,r)},!0===o.aborted)return void d();o.addEventListener("abort",d)}function p(){return new Promise((function(e,t){function r(n){n?e():v().then(r,t)}r(!1)}))}function v(){return!0===c?Promise.resolve(!0):u._readyPromise.then((function(){return W(s).then((function(e){var t=e.value,r=e.done;return!0===r||(l=Ie(u,t).catch(i),!1)}))}))}if(y(e,s._closedPromise,(function(e){!1===n?_((function(){return ce(t,e)}),!0,e):w(!0,e)})),y(t,u._closedPromise,(function(t){!1===a?_((function(){return _r(e,t)}),!0,t):w(!0,t)})),b(e,s._closedPromise,(function(){!1===r?_((function(){return Te(u)})):w()})),!0===ye(t)||"closed"===t._state){var g=new TypeError("the destination writable stream closed before all data could be piped to it");!1===a?_((function(){return _r(e,g)}),!0,g):w(!0,g)}function m(){var e=l;return l.then((function(){return e!==l?m():void 0}))}function y(e,t,r){"errored"===e._state?r(e._storedError):t.catch(r).catch(J)}function b(e,t,r){"closed"===e._state?r():t.then(r).catch(J)}function _(e,r,n){function i(){e().then((function(){return S(r,n)}),(function(e){return S(!0,e)})).catch(J)}!0!==c&&(c=!0,"writable"===t._state&&!1===ye(t)?m().then(i):i())}function w(e,r){!0!==c&&(c=!0,"writable"===t._state&&!1===ye(t)?m().then((function(){return S(e,r)})).catch(J):S(e,r))}function S(e,t){Oe(u),k(s),void 0!==o&&o.removeEventListener("abort",d),e?h(t):f(void 0)}p().catch(J)}))}var ht=function(){function e(){throw new TypeError}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===dt(this))throw kt("desiredSize");return _t(this)},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(!1===dt(this))throw kt("close");if(!1===St(this))throw new TypeError("The stream is not in a state that permits close");mt(this)},e.prototype.enqueue=function(e){if(!1===dt(this))throw kt("enqueue");if(!1===St(this))throw new TypeError("The stream is not in a state that permits enqueue");return yt(this,e)},e.prototype.error=function(e){if(!1===dt(this))throw kt("error");bt(this,e)},e.prototype[I]=function(e){ee(this);var t=this._cancelAlgorithm(e);return gt(this),t},e.prototype[M]=function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=Q(this);return!0===this._closeRequested&&0===this._queue.length?(gt(this),wr(e)):pt(this),Promise.resolve(S(t,!1,e._reader._forAuthorCode))}var r=F(e);return pt(this),r},e}();function dt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")}function pt(e){var t=vt(e);if(!1!==t)if(!0!==e._pulling){e._pulling=!0;var r=e._pullAlgorithm();r.then((function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,pt(e))}),(function(t){bt(e,t)})).catch(J)}else e._pullAgain=!0}function vt(e){var t=e._controlledReadableStream;if(!1===St(e))return!1;if(!1===e._started)return!1;if(!0===br(t)&&U(t)>0)return!0;var r=_t(e);return r>0}function gt(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function mt(e){var t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(gt(e),wr(t))}function yt(e,t){var r=e._controlledReadableStream;if(!0===br(r)&&U(r)>0)j(r,t,!1);else{var n=void 0;try{n=e._strategySizeAlgorithm(t)}catch(i){throw bt(e,i),i}try{$(e,t,n)}catch(a){throw bt(e,a),a}}pt(e)}function bt(e,t){var r=e._controlledReadableStream;"readable"===r._state&&(ee(e),gt(e),Sr(r,t))}function _t(e){var t=e._controlledReadableStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}function wt(e){return!0!==vt(e)}function St(e){var t=e._controlledReadableStream._state;return!1===e._closeRequested&&"readable"===t}function At(e,t,r,n,i,a,o){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,ee(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=o,t._strategyHWM=a,t._pullAlgorithm=n,t._cancelAlgorithm=i,e._readableStreamController=t;var s=r();Promise.resolve(s).then((function(){t._started=!0,pt(t)}),(function(e){bt(t,e)})).catch(J)}function xt(e,t,r,n){var i=Object.create(ht.prototype);function a(){return p(t,"start",[i])}var o=d(t,"pull",0,[i]),s=d(t,"cancel",1,[]);At(e,i,a,o,s,r,n)}function kt(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function Pt(e,t){var r,n,i,a,o,u=N(e),c=!1,l=!1,f=!1,h=new Promise((function(e){o=e}));function d(){if(!0===c)return Promise.resolve();c=!0;var e=W(u).then((function(e){c=!1;var t=e.done;if(!0===t)return!1===l&&mt(i._readableStreamController),void(!1===f&&mt(a._readableStreamController));var r=e.value,n=r,o=r;!1===l&&yt(i._readableStreamController,n),!1===f&&yt(a._readableStreamController,o)}));return e.catch(J),Promise.resolve()}function p(t){if(l=!0,r=t,!0===f){var i=s([r,n]),a=_r(e,i);o(a)}return h}function v(t){if(f=!0,n=t,!0===l){var i=s([r,n]),a=_r(e,i);o(a)}return h}function g(){}return i=gr(g,d,p),a=gr(g,d,v),u._closedPromise.catch((function(e){bt(i._readableStreamController,e),bt(a._readableStreamController,e)})),[i,a]}var Ct=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e},Tt=function(){function e(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}return Object.defineProperty(e.prototype,"view",{get:function(){if(!1===Lt(this))throw ir("view");return this._view},enumerable:!0,configurable:!0}),e.prototype.respond=function(e){if(!1===Lt(this))throw ir("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");m(this._view.buffer),Zt(this._associatedReadableByteStreamController,e)},e.prototype.respondWithNewView=function(e){if(!1===Lt(this))throw ir("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");m(e.buffer),er(this._associatedReadableByteStreamController,e)},e}(),Et=function(){function e(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}return Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(!1===Rt(this))throw ar("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos.peek(),t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled),r=Object.create(Tt.prototype);nr(r,this,t),this._byobRequest=r}return this._byobRequest},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===Rt(this))throw ar("desiredSize");return $t(this)},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(!1===Rt(this))throw ar("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");Xt(this)},e.prototype.enqueue=function(e){if(!1===Rt(this))throw ar("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");m(e.buffer),Jt(this,e)},e.prototype.error=function(e){if(!1===Rt(this))throw ar("error");Qt(this,e)},e.prototype[I]=function(e){if(this._pendingPullIntos.length>0){var t=this._pendingPullIntos.peek();t.bytesFilled=0}ee(this);var r=this._cancelAlgorithm(e);return Kt(this),r},e.prototype[M]=function(){var e=this._controlledReadableByteStream;if(this._queueTotalSize>0){var t=this._queue.shift();this._queueTotalSize-=t.byteLength,Dt(this);var r=void 0;try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(s){return Promise.reject(s)}return Promise.resolve(S(r,!1,e._reader._forAuthorCode))}var n=this._autoAllocateChunkSize;if(void 0!==n){var i=void 0;try{i=new ArrayBuffer(n)}catch(u){return Promise.reject(u)}var a={buffer:i,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(a)}var o=F(e);return Ot(this),o},e}();function Rt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")}function Lt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function Ot(e){var t=Yt(e);if(!1!==t)if(!0!==e._pulling){e._pulling=!0;var r=e._pullAlgorithm();r.then((function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,Ot(e))}),(function(t){Qt(e,t)})).catch(J)}else e._pullAgain=!0}function It(e){Bt(e),e._pendingPullIntos=new w}function Mt(e,t){var r=!1;"closed"===e._state&&(r=!0);var n=Nt(t);"default"===t.readerType?j(e,n,r):ur(e,n,r)}function Nt(e){var t=e.bytesFilled,r=e.elementSize;return new e.ctor(e.buffer,e.byteOffset,t/r)}function Ft(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function jt(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),a=t.bytesFilled+i,o=a-a%r,s=i,c=!1;o>n&&(s=o-t.bytesFilled,c=!0);var l=e._queue;while(s>0){var f=l.peek(),h=Math.min(s,f.byteLength),d=t.byteOffset+t.bytesFilled;u(t.buffer,d,f.buffer,f.byteOffset,h),f.byteLength===h?l.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,Ut(e,h,t),s-=h}return c}function Ut(e,t,r){Bt(e),r.bytesFilled+=t}function Dt(e){0===e._queueTotalSize&&!0===e._closeRequested?(Kt(e),wr(e._controlledReadableByteStream)):Ot(e)}function Bt(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function qt(e){while(e._pendingPullIntos.length>0){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos.peek();!0===jt(e,t)&&(zt(e),Mt(e._controlledReadableByteStream,t))}}function Ht(e,t){var r=e._controlledReadableByteStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a=g(t.buffer),o={buffer:a,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(o),sr(r);if("closed"===r._state){var s=new i(o.buffer,o.byteOffset,0);return Promise.resolve(S(s,!0,r._reader._forAuthorCode))}if(e._queueTotalSize>0){if(!0===jt(e,o)){var u=Nt(o);return Dt(e),Promise.resolve(S(u,!1,r._reader._forAuthorCode))}if(!0===e._closeRequested){var c=new TypeError("Insufficient bytes to fill elements in the given buffer");return Qt(e,c),Promise.reject(c)}}e._pendingPullIntos.push(o);var l=sr(r);return Ot(e),l}function Vt(e,t){t.buffer=g(t.buffer);var r=e._controlledReadableByteStream;if(!0===lr(r))while(cr(r)>0){var n=zt(e);Mt(r,n)}}function Wt(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(Ut(e,t,r),!(r.bytesFilled<r.elementSize)){zt(e);var n=r.bytesFilled%r.elementSize;if(n>0){var i=r.byteOffset+r.bytesFilled,a=r.buffer.slice(i-n,i);Ft(e,a,0,a.byteLength)}r.buffer=g(r.buffer),r.bytesFilled-=n,Mt(e._controlledReadableByteStream,r),qt(e)}}function Gt(e,t){var r=e._pendingPullIntos.peek(),n=e._controlledReadableByteStream;if("closed"===n._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");Vt(e,r)}else Wt(e,t,r);Ot(e)}function zt(e){var t=e._pendingPullIntos.shift();return Bt(e),t}function Yt(e){var t=e._controlledReadableByteStream;if("readable"!==t._state)return!1;if(!0===e._closeRequested)return!1;if(!1===e._started)return!1;if(!0===D(t)&&U(t)>0)return!0;if(!0===lr(t)&&cr(t)>0)return!0;var r=$t(e);return r>0}function Kt(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Xt(e){var t=e._controlledReadableByteStream;if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0){var r=e._pendingPullIntos.peek();if(r.bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Qt(e,n),n}}Kt(e),wr(t)}}function Jt(e,t){var r=e._controlledReadableByteStream,n=t.buffer,i=t.byteOffset,a=t.byteLength,o=g(n);if(!0===D(r))if(0===U(r))Ft(e,o,i,a);else{var s=new Uint8Array(o,i,a);j(r,s,!1)}else!0===lr(r)?(Ft(e,o,i,a),qt(e)):Ft(e,o,i,a);Ot(e)}function Qt(e,t){var r=e._controlledReadableByteStream;"readable"===r._state&&(It(e),ee(e),Kt(e),Sr(r,t))}function $t(e){var t=e._controlledReadableByteStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}function Zt(e,t){if(t=Number(t),!1===l(t))throw new RangeError("bytesWritten must be a finite");Gt(e,t)}function er(e,t){var r=e._pendingPullIntos.peek();if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,Gt(e,t.byteLength)}function tr(e,t,r,n,i,a,o){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=void 0,t._queue=t._queueTotalSize=void 0,ee(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=y(a),t._pullAlgorithm=n,t._cancelAlgorithm=i,t._autoAllocateChunkSize=o,t._pendingPullIntos=new w,e._readableStreamController=t;var s=r();Promise.resolve(s).then((function(){t._started=!0,Ot(t)}),(function(e){Qt(t,e)})).catch(J)}function rr(e,t,r){var n=Object.create(Et.prototype);function i(){return p(t,"start",[n])}var a=d(t,"pull",0,[n]),o=d(t,"cancel",1,[]),s=t.autoAllocateChunkSize;if(void 0!==s&&(s=Number(s),!1===Ct(s)||s<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");tr(e,n,i,a,o,r,s)}function nr(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function ir(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function ar(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function or(e,t){void 0===t&&(t=!1);var r=new fr(e);return r._forAuthorCode=t,r}function sr(e){var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._reader._readIntoRequests.push(n)}));return t}function ur(e,t,r){var n=e._reader,i=n._readIntoRequests.shift();i._resolve(S(t,r,n._forAuthorCode))}function cr(e){return e._reader._readIntoRequests.length}function lr(e){var t=e._reader;return void 0!==t&&!!hr(t)}var fr=function(){function e(e){if(!yr(e))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===Rt(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(br(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");A(this,e),this._readIntoRequests=new w}return Object.defineProperty(e.prototype,"closed",{get:function(){return hr(this)?this._closedPromise:Promise.reject(pr("closed"))},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return hr(this)?void 0===this._ownerReadableStream?Promise.reject(P("cancel")):x(this,e):Promise.reject(pr("cancel"))},e.prototype.read=function(e){return hr(this)?void 0===this._ownerReadableStream?Promise.reject(P("read from")):ArrayBuffer.isView(e)?(m(e.buffer),0===e.byteLength?Promise.reject(new TypeError("view must have non-zero byteLength")):dr(this,e)):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(pr("read"))},e.prototype.releaseLock=function(){if(!hr(this))throw pr("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");k(this)}},e}();function hr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function dr(e,t){var r=e._ownerReadableStream;return r._disturbed=!0,"errored"===r._state?Promise.reject(r._storedError):Ht(r._readableStreamController,t)}function pr(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}var vr=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),mr(this);var r=t.size,n=t.highWaterMark,i=e.type,a=String(i);if("bytes"===a){if(void 0!==r)throw new RangeError("The strategy for a byte stream cannot have a size function");void 0===n&&(n=0),n=y(n),rr(this,e,n)}else{if(void 0!==i)throw new RangeError("Invalid type is specified");var o=b(r);void 0===n&&(n=1),n=y(n),xt(this,e,n,o)}}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!1===yr(this))throw xr("locked");return br(this)},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return!1===yr(this)?Promise.reject(xr("cancel")):!0===br(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):_r(this,e)},e.prototype.getReader=function(e){var t=(void 0===e?{}:e).mode;if(!1===yr(this))throw xr("getReader");if(void 0===t)return N(this,!0);if(t=String(t),"byob"===t)return or(this,!0);throw new RangeError("Invalid mode is specified")},e.prototype.pipeThrough=function(e,t){var r=e.writable,n=e.readable,a=void 0===t?{}:t,o=a.preventClose,s=a.preventAbort,u=a.preventCancel,c=a.signal;if(!1===yr(this))throw xr("pipeThrough");if(!1===se(r))throw new TypeError("writable argument to pipeThrough must be a WritableStream");if(!1===yr(n))throw new TypeError("readable argument to pipeThrough must be a ReadableStream");if(o=Boolean(o),s=Boolean(s),u=Boolean(u),void 0!==c&&!Ar(c))throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal");if(!0===br(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(!0===ue(r))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");var l=ft(this,r,o,s,u,c);return l.catch(i),n},e.prototype.pipeTo=function(e,t){var r=void 0===t?{}:t,n=r.preventClose,i=r.preventAbort,a=r.preventCancel,o=r.signal;return!1===yr(this)?Promise.reject(xr("pipeTo")):!1===se(e)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")):(n=Boolean(n),i=Boolean(i),a=Boolean(a),void 0===o||Ar(o)?!0===br(this)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):!0===ue(e)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):ft(this,e,n,i,a,o):Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal")))},e.prototype.tee=function(){if(!1===yr(this))throw xr("tee");var e=Pt(this);return s(e)},e.prototype.getIterator=function(e){var t=(void 0===e?{}:e).preventCancel,r=void 0!==t&&t;if(!1===yr(this))throw xr("getIterator");return Y(this,r)},e}();function gr(e,t,r,n,i){void 0===n&&(n=1),void 0===i&&(i=function(){return 1});var a=Object.create(vr.prototype);mr(a);var o=Object.create(ht.prototype);return At(a,o,e,t,r,n,i),a}function mr(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function yr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function br(e){return void 0!==e._reader}function _r(e,t){if(e._disturbed=!0,"closed"===e._state)return Promise.resolve(void 0);if("errored"===e._state)return Promise.reject(e._storedError);wr(e);var r=e._readableStreamController[I](t);return r.then((function(){}))}function wr(e){e._state="closed";var t=e._reader;void 0!==t&&(V(t)&&(t._readRequests.forEach((function(e){e._resolve(S(void 0,!0,t._forAuthorCode))})),t._readRequests=new w),O(t))}function Sr(e,t){e._state="errored",e._storedError=t;var r=e._reader;void 0!==r&&(V(r)?(r._readRequests.forEach((function(e){e._reject(t)})),r._readRequests=new w):(r._readIntoRequests.forEach((function(e){e._reject(t)})),r._readIntoRequests=new w),R(r,t))}function Ar(e){if("object"!==c(e)||null===e)return!1;var t=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return t.call(e),!0}catch(r){return!1}}function xr(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}"symbol"===c(n.asyncIterator)&&Object.defineProperty(vr.prototype,n.asyncIterator,{value:vr.prototype.getIterator,enumerable:!1,writable:!0,configurable:!0});var kr=function(){function e(e){var t=e.highWaterMark;this.highWaterMark=t}return e.prototype.size=function(e){return e.byteLength},e}(),Pr=function(){function e(e){var t=e.highWaterMark;this.highWaterMark=t}return e.prototype.size=function(){return 1},e}(),Cr=function(){function e(e,t,r){void 0===e&&(e={}),void 0===t&&(t={}),void 0===r&&(r={});var n=t.size,i=t.highWaterMark,a=r.size,o=r.highWaterMark,s=e.writableType;if(void 0!==s)throw new RangeError("Invalid writable type specified");var u=b(n);void 0===i&&(i=1),i=y(i);var c=e.readableType;if(void 0!==c)throw new RangeError("Invalid readable type specified");var l,f=b(a);void 0===o&&(o=0),o=y(o);var h=new Promise((function(e){l=e}));Tr(this,h,i,u,o,f),Fr(this,e);var d=p(e,"start",[this._transformStreamController]);l(d)}return Object.defineProperty(e.prototype,"readable",{get:function(){if(!1===Er(this))throw Yr("readable");return this._readable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"writable",{get:function(){if(!1===Er(this))throw Yr("writable");return this._writable},enumerable:!0,configurable:!0}),e}();function Tr(e,t,r,n,i,a){function o(){return t}function s(t){return Hr(e,t)}function u(t){return Vr(e,t)}function c(){return Wr(e)}function l(){return Gr(e)}function f(t){return Lr(e,t),Promise.resolve()}e._writable=ae(o,s,c,u,r,n),e._readable=gr(o,l,f,i,a),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Or(e,!0),e._transformStreamController=void 0}function Er(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}function Rr(e,t){bt(e._readable._readableStreamController,t),Lr(e,t)}function Lr(e,t){jr(e._transformStreamController),We(e._writable._writableStreamController,t),!0===e._backpressure&&Or(e,!1)}function Or(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=new Promise((function(t){e._backpressureChangePromise_resolve=t})),e._backpressure=t}var Ir=function(){function e(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===Mr(this))throw zr("desiredSize");var e=this._controlledTransformStream._readable._readableStreamController;return _t(e)},enumerable:!0,configurable:!0}),e.prototype.enqueue=function(e){if(!1===Mr(this))throw zr("enqueue");Ur(this,e)},e.prototype.error=function(e){if(!1===Mr(this))throw zr("error");Dr(this,e)},e.prototype.terminate=function(){if(!1===Mr(this))throw zr("terminate");qr(this)},e}();function Mr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function Nr(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}function Fr(e,t){var r=Object.create(Ir.prototype),n=function(e){try{return Ur(r,e),Promise.resolve()}catch(t){return Promise.reject(t)}},i=t.transform;if(void 0!==i){if("function"!==typeof i)throw new TypeError("transform is not a method");n=function(e){return v(i,t,[e,r])}}var a=d(t,"flush",0,[r]);Nr(e,r,n,a)}function jr(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function Ur(e,t){var r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!1===St(n))throw new TypeError("Readable side is not in a state that permits enqueue");try{yt(n,t)}catch(a){throw Lr(r,a),r._readable._storedError}var i=wt(n);i!==r._backpressure&&Or(r,!0)}function Dr(e,t){Rr(e._controlledTransformStream,t)}function Br(e,t){var r=e._transformAlgorithm(t);return r.catch((function(t){throw Rr(e._controlledTransformStream,t),t}))}function qr(e){var t=e._controlledTransformStream,r=t._readable._readableStreamController;!0===St(r)&&mt(r);var n=new TypeError("TransformStream terminated");Lr(t,n)}function Hr(e,t){var r=e._transformStreamController;if(!0===e._backpressure){var n=e._backpressureChangePromise;return n.then((function(){var n=e._writable,i=n._state;if("erroring"===i)throw n._storedError;return Br(r,t)}))}return Br(r,t)}function Vr(e,t){return Rr(e,t),Promise.resolve()}function Wr(e){var t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return jr(r),n.then((function(){if("errored"===t._state)throw t._storedError;var e=t._readableStreamController;!0===St(e)&&mt(e)})).catch((function(r){throw Rr(e,r),t._storedError}))}function Gr(e){return Or(e,!1),e._backpressureChangePromise}function zr(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function Yr(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocument=H,t.setPDFNetworkStreamFactory=q,t.build=t.version=t.PDFPageProxy=t.PDFDocumentProxy=t.PDFWorker=t.PDFDataRangeTransport=t.LoopbackPort=void 0;var i=m(n(180)),a=n(1),o=n(183),s=n(184),u=n(185),l=n(186),f=m(n(3)),h=n(188),d=n(189),p=n(190),v=n(192),g=n(193);function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function b(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){y(a,n,i,o,s,"next",e)}function s(e){y(a,n,i,o,s,"throw",e)}o(void 0)}))}}function _(e,t){return A(e)||S(e,t)||w()}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function S(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(r.push(o.value),t&&r.length===t)break}catch(u){i=!0,a=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return r}}function A(e){if(Array.isArray(e))return e}function x(e){return C(e)||P(e)||k()}function k(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function P(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function C(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R(e,t,r){return t&&E(e.prototype,t),r&&E(e,r),e}function L(e){return L="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},L(e)}var O,I=65536,M=100,N=!1,F=null,j=!1;"undefined"===typeof window?(N=!0,j=!0):j=!0,"undefined"!==typeof requirejs&&requirejs.toUrl&&(O=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var U,D="undefined"!==typeof requirejs&&requirejs.load;if(F=j?function(){return new Promise((function(e,t){r.e(169).then(function(){try{var n;n=r("c64e"),e(n.WorkerMessageHandler)}catch(i){t(i)}}.bind(null,r)).catch(t)}))}:D?function(){return new Promise((function(e,t){requirejs(["pdfjs-dist/build/pdf.worker"],(function(r){try{e(r.WorkerMessageHandler)}catch(n){t(n)}}),t)}))}:null,!O&&"object"===("undefined"===typeof document?"undefined":L(document))&&"currentScript"in document){var B=document.currentScript&&document.currentScript.src;B&&(O=B.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}function q(e){U=e}function H(e){var t,r=new W;if("string"===typeof e)t={url:e};else if((0,a.isArrayBuffer)(e))t={data:e};else if(e instanceof G)t={range:e};else{if("object"!==L(e))throw new Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");t=e}var n=Object.create(null),i=null,s=null;for(var c in t)if("url"!==c||"undefined"===typeof window)if("range"!==c)if("worker"!==c)if("data"!==c||t[c]instanceof Uint8Array)n[c]=t[c];else{var l=t[c];if("string"===typeof l)n[c]=(0,a.stringToBytes)(l);else if("object"!==L(l)||null===l||isNaN(l.length)){if(!(0,a.isArrayBuffer)(l))throw new Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");n[c]=new Uint8Array(l)}else n[c]=new Uint8Array(l)}else s=t[c];else i=t[c];else n[c]=new URL(t[c],window.location).href;n.rangeChunkSize=n.rangeChunkSize||I,n.CMapReaderFactory=n.CMapReaderFactory||o.DOMCMapReaderFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.pdfBug=!0===n.pdfBug;var f=Object.values(a.NativeImageDecoding);if(void 0!==n.nativeImageDecoderSupport&&f.includes(n.nativeImageDecoderSupport)||(n.nativeImageDecoderSupport=u.apiCompatibilityParams.nativeImageDecoderSupport||a.NativeImageDecoding.DECODE),Number.isInteger(n.maxImageSize)||(n.maxImageSize=-1),"boolean"!==typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!==typeof n.disableFontFace&&(n.disableFontFace=u.apiCompatibilityParams.disableFontFace||!1),"boolean"!==typeof n.disableRange&&(n.disableRange=!1),"boolean"!==typeof n.disableStream&&(n.disableStream=!1),"boolean"!==typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),"boolean"!==typeof n.disableCreateObjectURL&&(n.disableCreateObjectURL=u.apiCompatibilityParams.disableCreateObjectURL||!1),(0,a.setVerbosityLevel)(n.verbosity),!s){var p={verbosity:n.verbosity,port:h.GlobalWorkerOptions.workerPort};s=p.port?X.fromPort(p):new X(p),r._worker=s}var g=r.docId;return s.promise.then((function(){if(r.destroyed)throw new Error("Loading aborted");return V(s,n,i,g).then((function(e){if(r.destroyed)throw new Error("Loading aborted");var t;i?t=new v.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(t=U({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream}));var a=new d.MessageHandler(g,e,s.port);a.postMessageTransfers=s.postMessageTransfers;var o=new J(a,r,t,n);r._transport=o,a.send("Ready",null)}))}))["catch"](r._capability.reject),r}function V(e,t,r,n){return e.destroyed?Promise.reject(new Error("Worker was destroyed")):(r&&(t.length=r.length,t.initialData=r.initialData,t.progressiveDone=r.progressiveDone),e.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.3.200",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,disableCreateObjectURL:t.disableCreateObjectURL,postMessageTransfers:e.postMessageTransfers,docBaseUrl:t.docBaseUrl,nativeImageDecoderSupport:t.nativeImageDecoderSupport,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported}).then((function(t){if(e.destroyed)throw new Error("Worker was destroyed");return t})))}var W=function(){var e=0,t=function(){function t(){T(this,t),this._capability=(0,a.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return R(t,[{key:"destroy",value:function(){var e=this;this.destroyed=!0;var t=this._transport?this._transport.destroy():Promise.resolve();return t.then((function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)}))}},{key:"then",value:function(e,t){return(0,o.deprecated)("PDFDocumentLoadingTask.then method, use the `promise` getter instead."),this.promise.then.apply(this.promise,arguments)}},{key:"promise",get:function(){return this._capability.promise}}]),t}();return t}(),G=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];T(this,e),this.length=t,this.initialData=r,this.progressiveDone=n,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,a.createPromiseCapability)()}return R(e,[{key:"addRangeListener",value:function(e){this._rangeListeners.push(e)}},{key:"addProgressListener",value:function(e){this._progressListeners.push(e)}},{key:"addProgressiveReadListener",value:function(e){this._progressiveReadListeners.push(e)}},{key:"addProgressiveDoneListener",value:function(e){this._progressiveDoneListeners.push(e)}},{key:"onDataRange",value:function(e,t){var r=!0,n=!1,i=void 0;try{for(var a,o=this._rangeListeners[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var s=a.value;s(e,t)}}catch(u){n=!0,i=u}finally{try{r||null==o["return"]||o["return"]()}finally{if(n)throw i}}}},{key:"onDataProgress",value:function(e,t){var r=this;this._readyCapability.promise.then((function(){var n=!0,i=!1,a=void 0;try{for(var o,s=r._progressListeners[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var u=o.value;u(e,t)}}catch(c){i=!0,a=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}}))}},{key:"onDataProgressiveRead",value:function(e){var t=this;this._readyCapability.promise.then((function(){var r=!0,n=!1,i=void 0;try{for(var a,o=t._progressiveReadListeners[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var s=a.value;s(e)}}catch(u){n=!0,i=u}finally{try{r||null==o["return"]||o["return"]()}finally{if(n)throw i}}}))}},{key:"onDataProgressiveDone",value:function(){var e=this;this._readyCapability.promise.then((function(){var t=!0,r=!1,n=void 0;try{for(var i,a=e._progressiveDoneListeners[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value;o()}}catch(s){r=!0,n=s}finally{try{t||null==a["return"]||a["return"]()}finally{if(r)throw n}}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(e,t){(0,a.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),e}();t.PDFDataRangeTransport=G;var z=function(){function e(t,r){T(this,e),this._pdfInfo=t,this._transport=r}return R(e,[{key:"getPage",value:function(e){return this._transport.getPage(e)}},{key:"getPageIndex",value:function(e){return this._transport.getPageIndex(e)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(e){return this._transport.getDestination(e)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenActionDestination",value:function(){return this._transport.getOpenActionDestination()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"getStats",value:function(){return this._transport.getStats()}},{key:"cleanup",value:function(){this._transport.startCleanup()}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprint",get:function(){return this._pdfInfo.fingerprint}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}}]),e}();t.PDFDocumentProxy=z;var Y=function(){function e(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];T(this,e),this.pageIndex=t,this._pageInfo=r,this._transport=n,this._stats=i?new o.StatTimer:o.DummyStatTimer,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new Q,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return R(e,[{key:"getViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scale,r=e.rotation,n=void 0===r?this.rotate:r,i=e.dontFlip,a=void 0!==i&&i;return(arguments.length>1||"number"===typeof arguments[0])&&((0,o.deprecated)("getViewport is called with obsolete arguments."),t=arguments[0],n="number"===typeof arguments[1]?arguments[1]:this.rotate,a="boolean"===typeof arguments[2]&&arguments[2]),new o.PageViewport({viewBox:this.view,scale:t,rotation:n,dontFlip:a})}},{key:"getAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intent,r=void 0===t?null:t;return this.annotationsPromise&&this.annotationsIntent===r||(this.annotationsPromise=this._transport.getAnnotations(this.pageIndex,r),this.annotationsIntent=r),this.annotationsPromise}},{key:"render",value:function(e){var t=this,r=e.canvasContext,n=e.viewport,i=e.intent,s=void 0===i?"display":i,u=e.enableWebGL,c=void 0!==u&&u,l=e.renderInteractiveForms,f=void 0!==l&&l,h=e.transform,d=void 0===h?null:h,p=e.imageLayer,v=void 0===p?null:p,m=e.canvasFactory,y=void 0===m?null:m,b=e.background,_=void 0===b?null:b,w=this._stats;w.time("Overall");var S="print"===s?"print":"display";this.pendingCleanup=!1,this.intentStates[S]||(this.intentStates[S]=Object.create(null));var A=this.intentStates[S];A.streamReaderCancelTimeout&&(clearTimeout(A.streamReaderCancelTimeout),A.streamReaderCancelTimeout=null);var x=y||new o.DOMCanvasFactory,k=new g.WebGLContext({enable:c});A.displayReadyCapability||(A.displayReadyCapability=(0,a.createPromiseCapability)(),A.operatorList={fnArray:[],argsArray:[],lastChunk:!1},w.time("Page Request"),this._pumpOperatorList({pageIndex:this.pageNumber-1,intent:S,renderInteractiveForms:!0===f}));var P=function(e){var r=A.renderTasks.indexOf(C);r>=0&&A.renderTasks.splice(r,1),(t.cleanupAfterRender||"print"===S)&&(t.pendingCleanup=!0),t._tryCleanup(),e?(C.capability.reject(e),t._abortOperatorList({intentState:A,reason:e})):C.capability.resolve(),w.timeEnd("Rendering"),w.timeEnd("Overall")},C=new Z({callback:P,params:{canvasContext:r,viewport:n,transform:d,imageLayer:v,background:_},objs:this.objs,commonObjs:this.commonObjs,operatorList:A.operatorList,pageNumber:this.pageNumber,canvasFactory:x,webGLContext:k,useRequestAnimationFrame:"print"!==S,pdfBug:this._pdfBug});A.renderTasks||(A.renderTasks=[]),A.renderTasks.push(C);var T=C.task;return A.displayReadyCapability.promise.then((function(e){t.pendingCleanup?P():(w.time("Rendering"),C.initializeGraphics(e),C.operatorListChanged())}))["catch"](P),T}},{key:"getOperatorList",value:function(){function e(){if(n.operatorList.lastChunk){n.opListReadCapability.resolve(n.operatorList);var e=n.renderTasks.indexOf(r);e>=0&&n.renderTasks.splice(e,1)}}var t="oplist";this.intentStates[t]||(this.intentStates[t]=Object.create(null));var r,n=this.intentStates[t];return n.opListReadCapability||(r={},r.operatorListChanged=e,n.opListReadCapability=(0,a.createPromiseCapability)(),n.renderTasks=[],n.renderTasks.push(r),n.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this.pageIndex,intent:t})),n.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.normalizeWhitespace,r=void 0!==t&&t,n=e.disableCombineTextItems,i=void 0!==n&&n,a=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===r,combineTextItems:!0!==i},{highWaterMark:a,size:function(e){return e.items.length}})}},{key:"getTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.streamTextContent(e);return new Promise((function(e,r){function n(){i.read().then((function(t){var r,i=t.value,o=t.done;o?e(a):(Object.assign(a.styles,i.styles),(r=a.items).push.apply(r,x(i.items)),n())}),r)}var i=t.getReader(),a={items:[],styles:Object.create(null)};n()}))}},{key:"_destroy",value:function(){var e=this;this.destroyed=!0,this._transport.pageCache[this.pageIndex]=null;var t=[];return Object.keys(this.intentStates).forEach((function(r){var n=e.intentStates[r];e._abortOperatorList({intentState:n,reason:new Error("Page was destroyed."),force:!0}),"oplist"!==r&&n.renderTasks.forEach((function(e){var r=e.capability.promise["catch"]((function(){}));t.push(r),e.cancel()}))})),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(t)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup=!0,this._tryCleanup(e)}},{key:"_tryCleanup",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup&&!Object.keys(this.intentStates).some((function(t){var r=e.intentStates[t];return 0!==r.renderTasks.length||!r.operatorList.lastChunk}))&&(Object.keys(this.intentStates).forEach((function(t){delete e.intentStates[t]})),this.objs.clear(),this.annotationsPromise=null,t&&this._stats instanceof o.StatTimer&&(this._stats=new o.StatTimer),this.pendingCleanup=!1)}},{key:"_startRenderPage",value:function(e,t){var r=this.intentStates[t];r&&(this._stats.timeEnd("Page Request"),r.displayReadyCapability&&r.displayReadyCapability.resolve(e))}},{key:"_renderPageChunk",value:function(e,t){for(var r=0,n=e.length;r<n;r++)t.operatorList.fnArray.push(e.fnArray[r]),t.operatorList.argsArray.push(e.argsArray[r]);t.operatorList.lastChunk=e.lastChunk;for(var i=0;i<t.renderTasks.length;i++)t.renderTasks[i].operatorListChanged();e.lastChunk&&this._tryCleanup()}},{key:"_pumpOperatorList",value:function(e){var t=this;(0,a.assert)(e.intent,'PDFPageProxy._pumpOperatorList: Expected "intent" argument.');var r=this._transport.messageHandler.sendWithStream("GetOperatorList",e),n=r.getReader(),i=this.intentStates[e.intent];i.streamReader=n;var o=function e(){n.read().then((function(r){var n=r.value,a=r.done;a?i.streamReader=null:t._transport.destroyed||(t._renderPageChunk(n,i),e())}),(function(e){if(i.streamReader=null,!t._transport.destroyed){if(i.operatorList){i.operatorList.lastChunk=!0;for(var r=0;r<i.renderTasks.length;r++)i.renderTasks[r].operatorListChanged();t._tryCleanup()}if(i.displayReadyCapability)i.displayReadyCapability.reject(e);else{if(!i.opListReadCapability)throw e;i.opListReadCapability.reject(e)}}}))};o()}},{key:"_abortOperatorList",value:function(e){var t=this,r=e.intentState,n=e.reason,i=e.force,s=void 0!==i&&i;if((0,a.assert)(n instanceof Error,'PDFPageProxy._abortOperatorList: Expected "reason" argument.'),r.streamReader){if(!s){if(0!==r.renderTasks.length)return;if(n instanceof o.RenderingCancelledException)return void(r.streamReaderCancelTimeout=setTimeout((function(){t._abortOperatorList({intentState:r,reason:n,force:!0}),r.streamReaderCancelTimeout=null}),M))}r.streamReader.cancel(new a.AbortException(n&&n.message)),r.streamReader=null,this._transport.destroyed||(Object.keys(this.intentStates).some((function(e){return t.intentStates[e]===r&&(delete t.intentStates[e],!0)})),this.cleanup())}}},{key:"pageNumber",get:function(){return this.pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"stats",get:function(){return this._stats instanceof o.StatTimer?this._stats:null}}]),e}();t.PDFPageProxy=Y;var K=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];T(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return R(e,[{key:"postMessage",value:function(e,t){var r=this;function n(e){if("object"!==L(e)||null===e)return e;if(i.has(e))return i.get(e);var r,o;if((r=e.buffer)&&(0,a.isArrayBuffer)(r)){var s=t&&t.includes(r);return o=e===r?e:s?new e.constructor(r,e.byteOffset,e.byteLength):new e.constructor(e),i.set(e,o),o}for(var u in o=Array.isArray(e)?[]:{},i.set(e,o),e){var c=void 0,l=e;while(!(c=Object.getOwnPropertyDescriptor(l,u)))l=Object.getPrototypeOf(l);if("undefined"!==typeof c.value)if("function"!==typeof c.value)o[u]=n(c.value);else if(e.hasOwnProperty&&e.hasOwnProperty(u))throw new Error("LoopbackPort.postMessage - cannot clone: ".concat(e[u]))}return o}if(this._defer){var i=new WeakMap,o={data:n(e)};this._deferred.then((function(){r._listeners.forEach((function(e){e.call(r,o)}))}))}else this._listeners.forEach((function(t){t.call(r,{data:e})}))}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var r=this._listeners.indexOf(t);this._listeners.splice(r,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),e}();t.LoopbackPort=K;var X=function(){var e,t=new WeakMap,r=0;function n(){if(h.GlobalWorkerOptions.workerSrc)return h.GlobalWorkerOptions.workerSrc;if("undefined"!==typeof O)return O;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function i(){try{if("undefined"!==typeof window)return window.pdfjsWorker&&window.pdfjsWorker.WorkerMessageHandler}catch(e){}return null}function s(){if(e)return e.promise;e=(0,a.createPromiseCapability)();var t=i();if(t)return e.resolve(t),e.promise;var r=F||function(){return(0,o.loadScript)(n()).then((function(){return window.pdfjsWorker.WorkerMessageHandler}))};return r().then(e.resolve,e.reject),e.promise}function u(e){var t="importScripts('"+e+"');";return URL.createObjectURL(new Blob([t]))}var c=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.name,i=void 0===n?null:n,o=r.port,s=void 0===o?null:o,u=r.verbosity,c=void 0===u?(0,a.getVerbosityLevel)():u;if(T(this,e),s&&t.has(s))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=i,this.destroyed=!1,this.postMessageTransfers=!0,this.verbosity=c,this._readyCapability=(0,a.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,s)return t.set(s,this),void this._initializeFromPort(s);this._initialize()}return R(e,[{key:"_initializeFromPort",value:function(e){this._port=e,this._messageHandler=new d.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var e=this;if("undefined"!==typeof Worker&&!N&&!i()){var t=n();try{(0,a.isSameOrigin)(window.location.href,t)||(t=u(new URL(t,window.location).href));var r=new Worker(t),o=new d.MessageHandler("main","worker",r),s=function(){r.removeEventListener("error",c),o.destroy(),r.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},c=function(){e._webWorker||s()};r.addEventListener("error",c),o.on("test",(function(t){r.removeEventListener("error",c),e.destroyed?s():t?(e._messageHandler=o,e._port=r,e._webWorker=r,t.supportTransfers||(e.postMessageTransfers=!1),e._readyCapability.resolve(),o.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),o.destroy(),r.terminate())})),o.on("ready",(function(t){if(r.removeEventListener("error",c),e.destroyed)s();else try{l()}catch(n){e._setupFakeWorker()}}));var l=function(){var t=new Uint8Array([e.postMessageTransfers?255:0]);try{o.send("test",t,[t.buffer])}catch(r){(0,a.warn)("Cannot use postMessage transfers."),t[0]=0,o.send("test",t)}};return void l()}catch(f){(0,a.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var e=this;N||((0,a.warn)("Setting up fake worker."),N=!0),s().then((function(t){if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var n=new K;e._port=n;var i="fake"+r++,a=new d.MessageHandler(i+"_worker",i,n);t.setup(a,n);var o=new d.MessageHandler(i,i+"_worker",n);e._messageHandler=o,e._readyCapability.resolve()}}))["catch"]((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),t["delete"](this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}}],[{key:"fromPort",value:function(r){if(!r||!r.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return t.has(r.port)?t.get(r.port):new e(r)}},{key:"getWorkerSrc",value:function(){return n()}}]),e}();return c}();t.PDFWorker=X;var J=function(){function e(t,r,n,i){T(this,e),this.messageHandler=t,this.loadingTask=r,this.commonObjs=new Q,this.fontLoader=new s.FontLoader({docId:r.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this)}),this._params=i,this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,a.createPromiseCapability)(),this.setupMessageHandler()}return R(e,[{key:"destroy",value:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,a.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach((function(e){e&&t.push(e._destroy())})),this.pageCache.length=0,this.pagePromises.length=0;var r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then((function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(new a.AbortException("Worker was terminated.")),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var e=this,t=this.messageHandler,r=this.loadingTask;t.on("GetReader",(function(t,r){(0,a.assert)(e._networkStream),e._fullReader=e._networkStream.getFullReader(),e._fullReader.onProgress=function(t){e._lastProgress={loaded:t.loaded,total:t.total}},r.onPull=function(){e._fullReader.read().then((function(e){var t=e.value,n=e.done;n?r.close():((0,a.assert)((0,a.isArrayBuffer)(t)),r.enqueue(new Uint8Array(t),1,[t]))}))["catch"]((function(e){r.error(e)}))},r.onCancel=function(t){e._fullReader.cancel(t)}})),t.on("ReaderHeadersReady",(function(t){var n=(0,a.createPromiseCapability)(),i=e._fullReader;return i.headersReady.then((function(){i.isStreamingSupported&&i.isRangeSupported||(e._lastProgress&&r.onProgress&&r.onProgress(e._lastProgress),i.onProgress=function(e){r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}),n.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})}),n.reject),n.promise})),t.on("GetRangeReader",(function(t,r){(0,a.assert)(e._networkStream);var n=e._networkStream.getRangeReader(t.begin,t.end);n?(r.onPull=function(){n.read().then((function(e){var t=e.value,n=e.done;n?r.close():((0,a.assert)((0,a.isArrayBuffer)(t)),r.enqueue(new Uint8Array(t),1,[t]))}))["catch"]((function(e){r.error(e)}))},r.onCancel=function(e){n.cancel(e)}):r.close()})),t.on("GetDoc",(function(t){var n=t.pdfInfo;e._numPages=n.numPages,r._capability.resolve(new z(n,e))})),t.on("PasswordRequest",(function(t){if(e._passwordCapability=(0,a.createPromiseCapability)(),r.onPassword){var n=function(t){e._passwordCapability.resolve({password:t})};try{r.onPassword(n,t.code)}catch(i){e._passwordCapability.reject(i)}}else e._passwordCapability.reject(new a.PasswordException(t.message,t.code));return e._passwordCapability.promise})),t.on("PasswordException",(function(e){r._capability.reject(new a.PasswordException(e.message,e.code))})),t.on("InvalidPDF",(function(e){r._capability.reject(new a.InvalidPDFException(e.message))})),t.on("MissingPDF",(function(e){r._capability.reject(new a.MissingPDFException(e.message))})),t.on("UnexpectedResponse",(function(e){r._capability.reject(new a.UnexpectedResponseException(e.message,e.status))})),t.on("UnknownError",(function(e){r._capability.reject(new a.UnknownErrorException(e.message,e.details))})),t.on("DataLoaded",(function(t){r.onProgress&&r.onProgress({loaded:t.length,total:t.length}),e.downloadInfoCapability.resolve(t)})),t.on("StartRenderPage",(function(t){if(!e.destroyed){var r=e.pageCache[t.pageIndex];r._startRenderPage(t.transparency,t.intent)}})),t.on("commonobj",(function(r){if(!e.destroyed){var n=_(r,3),i=n[0],o=n[1],u=n[2];if(!e.commonObjs.has(i))switch(o){case"Font":var c=e._params;if("error"in u){var l=u.error;(0,a.warn)("Error during font loading: ".concat(l)),e.commonObjs.resolve(i,l);break}var h=null;c.pdfBug&&f["default"].FontInspector&&f["default"].FontInspector.enabled&&(h={registerFont:function(e,t){f["default"]["FontInspector"].fontAdded(e,t)}});var d=new s.FontFaceObject(u,{isEvalSupported:c.isEvalSupported,disableFontFace:c.disableFontFace,ignoreErrors:c.ignoreErrors,onUnsupportedFeature:e._onUnsupportedFeature.bind(e),fontRegistry:h});e.fontLoader.bind(d).then((function(){e.commonObjs.resolve(i,d)}),(function(r){t.sendWithPromise("FontFallback",{id:i})["finally"]((function(){e.commonObjs.resolve(i,d)}))}));break;case"FontPath":case"FontType3Res":e.commonObjs.resolve(i,u);break;default:throw new Error("Got unknown common object type ".concat(o))}}})),t.on("obj",(function(t){if(!e.destroyed){var r=_(t,4),n=r[0],i=r[1],a=r[2],s=r[3],u=e.pageCache[i];if(!u.objs.has(n))switch(a){case"JpegStream":return new Promise((function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=function(){t(new Error("Error during JPEG image loading")),(0,o.releaseImageResources)(r)},r.src=s})).then((function(e){u.objs.resolve(n,e)}));case"Image":u.objs.resolve(n,s);var c=8e6;s&&"data"in s&&s.data.length>c&&(u.cleanupAfterRender=!0);break;default:throw new Error("Got unknown object type ".concat(a))}}})),t.on("DocProgress",(function(t){e.destroyed||r.onProgress&&r.onProgress({loaded:t.loaded,total:t.total})})),t.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),t.on("JpegDecode",(function(t){if(e.destroyed)return Promise.reject(new Error("Worker was destroyed"));if("undefined"===typeof document)return Promise.reject(new Error('"document" is not defined.'));var r=_(t,2),n=r[0],i=r[1];return 3!==i&&1!==i?Promise.reject(new Error("Only 3 components or 1 component can be returned")):new Promise((function(e,t){var r=new Image;r.onload=function(){var t=r.width,n=r.height,a=t*n,s=4*a,u=new Uint8ClampedArray(a*i),c=document.createElement("canvas");c.width=t,c.height=n;var l=c.getContext("2d");l.drawImage(r,0,0);var f=l.getImageData(0,0,t,n).data;if(3===i)for(var h=0,d=0;h<s;h+=4,d+=3)u[d]=f[h],u[d+1]=f[h+1],u[d+2]=f[h+2];else if(1===i)for(var p=0,v=0;p<s;p+=4,v++)u[v]=f[p];e({data:u,width:t,height:n}),(0,o.releaseImageResources)(r),c.width=0,c.height=0,c=null,l=null},r.onerror=function(){t(new Error("JpegDecode failed to load image")),(0,o.releaseImageResources)(r)},r.src=n}))})),t.on("FetchBuiltInCMap",(function(t,r){if(e.destroyed)r.error(new Error("Worker was destroyed"));else{var n=!1;r.onPull=function(){n?r.close():(n=!0,e.CMapReaderFactory.fetch(t).then((function(e){r.enqueue(e,1,[e.cMapData.buffer])}))["catch"]((function(e){r.error(e)})))}}}))}},{key:"_onUnsupportedFeature",value:function(e){var t=e.featureId;this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(t)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));var r=e-1;if(r in this.pagePromises)return this.pagePromises[r];var n=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then((function(e){if(t.destroyed)throw new Error("Transport destroyed");var n=new Y(r,e,t,t._params.pdfBug);return t.pageCache[r]=n,n}));return this.pagePromises[r]=n,n}},{key:"getPageIndex",value:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e})["catch"]((function(e){return Promise.reject(new Error(e))}))}},{key:"getAnnotations",value:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(e){return"string"!==typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenActionDestination",value:function(){return this.messageHandler.sendWithPromise("GetOpenActionDestination",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var e=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then((function(t){return{info:t[0],metadata:t[1]?new p.Metadata(t[1]):null,contentDispositionFilename:e._fullReader?e._fullReader.filename:null}}))}},{key:"getStats",value:function(){return this.messageHandler.sendWithPromise("GetStats",null)}},{key:"startCleanup",value:function(){var e=this;this.messageHandler.sendWithPromise("Cleanup",null).then((function(){for(var t=0,r=e.pageCache.length;t<r;t++){var n=e.pageCache[t];n&&n.cleanup()}e.commonObjs.clear(),e.fontLoader.clear()}))}},{key:"loadingParams",get:function(){var e=this._params;return(0,a.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,disableCreateObjectURL:e.disableCreateObjectURL,disableFontFace:e.disableFontFace,nativeImageDecoderSupport:e.nativeImageDecoderSupport})}}]),e}(),Q=function(){function e(){T(this,e),this._objs=Object.create(null)}return R(e,[{key:"_ensureObj",value:function(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,a.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return this._ensureObj(e).capability.promise.then(t),null;var r=this._objs[e];if(!r||!r.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return r.data}},{key:"has",value:function(e){var t=this._objs[e];return!!t&&t.resolved}},{key:"resolve",value:function(e,t){var r=this._ensureObj(e);r.resolved=!0,r.data=t,r.capability.resolve(t)}},{key:"clear",value:function(){for(var e in this._objs){var t=this._objs[e].data;"undefined"!==typeof Image&&t instanceof Image&&(0,o.releaseImageResources)(t)}this._objs=Object.create(null)}}]),e}(),$=function(){function e(t){T(this,e),this._internalRenderTask=t,this.onContinue=null}return R(e,[{key:"cancel",value:function(){this._internalRenderTask.cancel()}},{key:"then",value:function(e,t){return(0,o.deprecated)("RenderTask.then method, use the `promise` getter instead."),this.promise.then.apply(this.promise,arguments)}},{key:"promise",get:function(){return this._internalRenderTask.capability.promise}}]),e}(),Z=function(){var e=new WeakSet,t=function(){function t(e){var r=e.callback,n=e.params,i=e.objs,o=e.commonObjs,s=e.operatorList,u=e.pageNumber,c=e.canvasFactory,l=e.webGLContext,f=e.useRequestAnimationFrame,h=void 0!==f&&f,d=e.pdfBug,p=void 0!==d&&d;T(this,t),this.callback=r,this.params=n,this.objs=i,this.commonObjs=o,this.operatorListIdx=null,this.operatorList=s,this.pageNumber=u,this.canvasFactory=c,this.webGLContext=l,this._pdfBug=p,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===h&&"undefined"!==typeof window,this.cancelled=!1,this.capability=(0,a.createPromiseCapability)(),this.task=new $(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=n.canvasContext.canvas}return R(t,[{key:"initializeGraphics",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.cancelled){if(this._canvas){if(e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.add(this._canvas)}this._pdfBug&&f["default"].StepperManager&&f["default"].StepperManager.enabled&&(this.stepper=f["default"].StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var r=this.params,n=r.canvasContext,i=r.viewport,a=r.transform,o=r.imageLayer,s=r.background;this.gfx=new l.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,o),this.gfx.beginDrawing({transform:a,viewport:i,transparency:t,background:s}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&e["delete"](this._canvas),this.callback(t||new o.RenderingCancelledException("Rendering cancelled, page ".concat(this.pageNumber),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var e=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){e._nextBound()["catch"](e.cancel.bind(e))})):Promise.resolve().then(this._nextBound)["catch"](this.cancel.bind(this))}},{key:"_next",value:function(){var t=b(i["default"].mark((function t(){return i["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e["delete"](this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)})));function r(){return t.apply(this,arguments)}return r}()}]),t}();return t}(),ee="2.3.200";t.version=ee;var te="4ae3f9fc";t.build=te},function(e,t,r){"use strict";e.exports=r(181)},function(e,t,r){"use strict";(function(e){function t(e){return t="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},t(e)}var r=function(e){var r,n=Object.prototype,i=n.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),o=new E(n||[]);return a._invoke=k(e,r,o),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}e.wrap=c;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function g(){}function m(){}function y(){}var b={};b[o]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(R([])));w&&w!==n&&i.call(w,o)&&(b=w);var S=y.prototype=g.prototype=Object.create(b);function A(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function r(n,a,o,s){var u=l(e[n],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"===t(f)&&i.call(f,"__await")?Promise.resolve(f.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):Promise.resolve(f).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,s)}))}s(u.arg)}var n;function a(e,t){function i(){return new Promise((function(n,i){r(e,t,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=a}function k(e,t,r){var n=f;return function(i,a){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw a;return L()}r.method=i,r.arg=a;while(1){var o=r.delegate;if(o){var s=P(o,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}function P(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=r,P(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,v;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,v):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function R(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){while(++n<e.length)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return a.next=a}}return{next:L}}function L(){return{value:r,done:!0}}return m.prototype=S.constructor=y,y.constructor=m,y[u]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},A(x.prototype),x.prototype[s]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i){var a=new x(c(t,r,n,i));return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(S),S[u]="Generator",S[o]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=R,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,i){return s.type="throw",s.arg=e,t.next=n,i&&(t.method="next",t.arg=r),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:R(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),v}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=r}catch(n){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(182)(e))},function(e,t,r){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLinkAttributes=C,t.getFilenameFromUrl=T,t.isFetchSupported=O,t.isValidFetchUrl=I,t.loadScript=M,t.deprecated=N,t.releaseImageResources=F,t.PDFDateString=t.DummyStatTimer=t.StatTimer=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.LinkTarget=t.RenderingCancelledException=t.PageViewport=void 0;var n=a(r(180)),i=r(1);function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return o="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},o(e)}function s(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){d(a,n,i,o,s,"next",e)}function s(e){d(a,n,i,o,s,"throw",e)}o(void 0)}))}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}var y="noopener noreferrer nofollow";t.DEFAULT_LINK_REL=y;var b="http://www.w3.org/2000/svg",_=function(){function e(){v(this,e)}return m(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var r=document.createElement("canvas"),n=r.getContext("2d");return r.width=e,r.height=t,{canvas:r,context:n}}},{key:"reset",value:function(e,t,r){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||r<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=r}},{key:"destroy",value:function(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}();t.DOMCanvasFactory=_;var w=function(){function e(t){var r=t.baseUrl,n=void 0===r?null:r,i=t.isCompressed,a=void 0!==i&&i;v(this,e),this.baseUrl=n,this.isCompressed=a}return m(e,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=p(n["default"].mark((function e(t){var r,a,o,s=this;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(r){e.next=5;break}throw new Error("CMap name must be specified.");case 5:if(a=this.baseUrl+r+(this.isCompressed?".bcmap":""),o=this.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE,!O()||!I(a,document.baseURI)){e.next=9;break}return e.abrupt("return",fetch(a).then(function(){var e=p(n["default"].mark((function e(t){var r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.ok){e.next=2;break}throw new Error(t.statusText);case 2:if(!s.isCompressed){e.next=10;break}return e.t0=Uint8Array,e.next=6,t.arrayBuffer();case 6:e.t1=e.sent,r=new e.t0(e.t1),e.next=15;break;case 10:return e.t2=i.stringToBytes,e.next=13,t.text();case 13:e.t3=e.sent,r=(0,e.t2)(e.t3);case 15:return e.abrupt("return",{cMapData:r,compressionType:o});case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())["catch"]((function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"")+"CMap at: ".concat(a))})));case 9:return e.abrupt("return",new Promise((function(e,t){var r=new XMLHttpRequest;r.open("GET",a,!0),s.isCompressed&&(r.responseType="arraybuffer"),r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE){var n;if(200===r.status||0===r.status)if(s.isCompressed&&r.response?n=new Uint8Array(r.response):!s.isCompressed&&r.responseText&&(n=(0,i.stringToBytes)(r.responseText)),n)return void e({cMapData:n,compressionType:o});t(new Error(r.statusText))}},r.send(null)}))["catch"]((function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"")+"CMap at: ".concat(a))})));case 10:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}())}]),e}();t.DOMCMapReaderFactory=w;var S=function(){function e(){v(this,e)}return m(e,[{key:"create",value:function(e,t){(0,i.assert)(e>0&&t>0,"Invalid SVG dimensions");var r=document.createElementNS(b,"svg:svg");return r.setAttribute("version","1.1"),r.setAttribute("width",e+"px"),r.setAttribute("height",t+"px"),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox","0 0 "+e+" "+t),r}},{key:"createElement",value:function(e){return(0,i.assert)("string"===typeof e,"Invalid SVG element type"),document.createElementNS(b,e)}}]),e}();t.DOMSVGFactory=S;var A=function(){function e(t){var r=t.viewBox,n=t.scale,i=t.rotation,a=t.offsetX,o=void 0===a?0:a,s=t.offsetY,u=void 0===s?0:s,c=t.dontFlip,l=void 0!==c&&c;v(this,e),this.viewBox=r,this.scale=n,this.rotation=i,this.offsetX=o,this.offsetY=u;var f,h,d,p,g,m,y,b,_=(r[2]+r[0])/2,w=(r[3]+r[1])/2;switch(i%=360,i=i<0?i+360:i,i){case 180:f=-1,h=0,d=0,p=1;break;case 90:f=0,h=1,d=1,p=0;break;case 270:f=0,h=-1,d=-1,p=0;break;default:f=1,h=0,d=0,p=-1;break}l&&(d=-d,p=-p),0===f?(g=Math.abs(w-r[1])*n+o,m=Math.abs(_-r[0])*n+u,y=Math.abs(r[3]-r[1])*n,b=Math.abs(r[2]-r[0])*n):(g=Math.abs(_-r[0])*n+o,m=Math.abs(w-r[1])*n+u,y=Math.abs(r[2]-r[0])*n,b=Math.abs(r[3]-r[1])*n),this.transform=[f*n,h*n,d*n,p*n,g-f*n*_-d*n*w,m-h*n*_-p*n*w],this.width=y,this.height=b}return m(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.scale,n=void 0===r?this.scale:r,i=t.rotation,a=void 0===i?this.rotation:i,o=t.dontFlip,s=void 0!==o&&o;return new e({viewBox:this.viewBox.slice(),scale:n,rotation:a,offsetX:this.offsetX,offsetY:this.offsetY,dontFlip:s})}},{key:"convertToViewportPoint",value:function(e,t){return i.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=i.Util.applyTransform([e[0],e[1]],this.transform),r=i.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]}},{key:"convertToPdfPoint",value:function(e,t){return i.Util.applyInverseTransform([e,t],this.transform)}}]),e}();t.PageViewport=A;var x=function(e){function t(e,r){var n;return v(this,t),n=s(this,l(t).call(this,e)),n.type=r,n}return f(t,e),t}(i.BaseException);t.RenderingCancelledException=x;var k={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};t.LinkTarget=k;var P=["","_self","_blank","_parent","_top"];function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.url,n=t.target,a=t.rel,o=t.enabled,s=void 0===o||o;(0,i.assert)(r&&"string"===typeof r,'addLinkAttributes: A valid "url" parameter must provided.');var u=(0,i.removeNullCharacters)(r);s?e.href=e.title=u:(e.href="",e.title="Disabled: ".concat(u),e.onclick=function(){return!1});var c=Object.values(k),l=c.includes(n)?n:k.NONE;e.target=P[l],e.rel="string"===typeof a?a:y}function T(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=Math.min(t>0?t:e.length,r>0?r:e.length);return e.substring(e.lastIndexOf("/",n)+1,n)}var E=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];v(this,e),this.enabled=!!t,this.started=Object.create(null),this.times=[]}return m(e,[{key:"time",value:function(e){this.enabled&&(e in this.started&&(0,i.warn)("Timer is already running for "+e),this.started[e]=Date.now())}},{key:"timeEnd",value:function(e){this.enabled&&(e in this.started||(0,i.warn)("Timer has not been started for "+e),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e])}},{key:"toString",value:function(){var e="",t=0,r=!0,n=!1,i=void 0;try{for(var a,o=this.times[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var s=a.value,u=s.name;u.length>t&&(t=u.length)}}catch(g){n=!0,i=g}finally{try{r||null==o["return"]||o["return"]()}finally{if(n)throw i}}var c=!0,l=!1,f=void 0;try{for(var h,d=this.times[Symbol.iterator]();!(c=(h=d.next()).done);c=!0){var p=h.value,v=p.end-p.start;e+="".concat(p.name.padEnd(t)," ").concat(v,"ms\n")}}catch(g){l=!0,f=g}finally{try{c||null==d["return"]||d["return"]()}finally{if(l)throw f}}return e}}]),e}();t.StatTimer=E;var R,L=function(){function e(){v(this,e),(0,i.unreachable)("Cannot initialize DummyStatTimer.")}return m(e,null,[{key:"time",value:function(e){}},{key:"timeEnd",value:function(e){}},{key:"toString",value:function(){return""}}]),e}();function O(){return"undefined"!==typeof fetch&&"undefined"!==typeof Response&&"body"in Response.prototype&&"undefined"!==typeof ReadableStream}function I(e,t){try{var r=t?new URL(e,t):new URL(e),n=r.protocol;return"http:"===n||"https:"===n}catch(i){return!1}}function M(e){return new Promise((function(t,r){var n=document.createElement("script");n.src=e,n.onload=t,n.onerror=function(){r(new Error("Cannot load script at: ".concat(n.src)))},(document.head||document.documentElement).appendChild(n)}))}function N(e){console.log("Deprecated API usage: "+e)}function F(e){(0,i.assert)(e instanceof Image,"Invalid `img` parameter.");var t=e.src;"string"===typeof t&&t.startsWith("blob:")&&URL.revokeObjectURL&&URL.revokeObjectURL(t),e.removeAttribute("src")}t.DummyStatTimer=L;var j=function(){function e(){v(this,e)}return m(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,i.isString)(e))return null;R||(R=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=R.exec(e);if(!t)return null;var r=parseInt(t[1],10),n=parseInt(t[2],10);n=n>=1&&n<=12?n-1:0;var a=parseInt(t[3],10);a=a>=1&&a<=31?a:1;var o=parseInt(t[4],10);o=o>=0&&o<=23?o:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var u=parseInt(t[6],10);u=u>=0&&u<=59?u:0;var c=t[7]||"Z",l=parseInt(t[8],10);l=l>=0&&l<=23?l:0;var f=parseInt(t[9],10)||0;return f=f>=0&&f<=59?f:0,"-"===c?(o+=l,s+=f):"+"===c&&(o-=l,s-=f),new Date(Date.UTC(r,n,a,o,s,u))}}]),e}();t.PDFDateString=j},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var n=a(r(180)),i=r(1);function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return o="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},o(e)}function s(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){d(a,n,i,o,s,"next",e)}function s(e){d(a,n,i,o,s,"throw",e)}o(void 0)}))}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}var y,b=function(){function e(t){var r=t.docId,n=t.onUnsupportedFeature;v(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseFontLoader."),this.docId=r,this._onUnsupportedFeature=n,this.nativeFontFaces=[],this.styleElement=null}return m(e,[{key:"addNativeFontFace",value:function(e){this.nativeFontFaces.push(e),document.fonts.add(e)}},{key:"insertRule",value:function(e){var t=this.styleElement;t||(t=this.styleElement=document.createElement("style"),t.id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),document.documentElement.getElementsByTagName("head")[0].appendChild(t));var r=t.sheet;r.insertRule(e,r.cssRules.length)}},{key:"clear",value:function(){this.nativeFontFaces.forEach((function(e){document.fonts["delete"](e)})),this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:function(){var e=p(n["default"].mark((function e(t){var r,a,o=this;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.attached&&!t.missingFile){e.next=2;break}return e.abrupt("return",void 0);case 2:if(t.attached=!0,!this.isFontLoadingAPISupported){e.next=19;break}if(r=t.createNativeFontFace(),!r){e.next=18;break}return this.addNativeFontFace(r),e.prev=7,e.next=10,r.loaded;case 10:e.next=18;break;case 12:throw e.prev=12,e.t0=e["catch"](7),this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.font}),(0,i.warn)("Failed to load font '".concat(r.family,"': '").concat(e.t0,"'.")),t.disableFontFace=!0,e.t0;case 18:return e.abrupt("return",void 0);case 19:if(a=t.createFontFaceRule(),!a){e.next=25;break}if(this.insertRule(a),!this.isSyncFontLoadingSupported){e.next=24;break}return e.abrupt("return",void 0);case 24:return e.abrupt("return",new Promise((function(e){var r=o._queueLoadingCallback(e);o._prepareFontLoadEvent([a],[t],r)})));case 25:return e.abrupt("return",void 0);case 26:case"end":return e.stop()}}),e,this,[[7,12]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"_queueLoadingCallback",value:function(e){(0,i.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"_prepareFontLoadEvent",value:function(e,t,r){(0,i.unreachable)("Abstract method `_prepareFontLoadEvent`.")}},{key:"isFontLoadingAPISupported",get:function(){(0,i.unreachable)("Abstract method `isFontLoadingAPISupported`.")}},{key:"isSyncFontLoadingSupported",get:function(){(0,i.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,i.unreachable)("Abstract method `_loadTestFont`.")}}]),e}();t.FontLoader=y,t.FontLoader=y=function(e){function t(e){var r;return v(this,t),r=s(this,l(t).call(this,e)),r.loadingContext={requests:[],nextRequestId:0},r.loadTestFontId=0,r}return f(t,e),m(t,[{key:"_queueLoadingCallback",value:function(e){function t(){(0,i.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;while(r.requests.length>0&&r.requests[0].done){var e=r.requests.shift();setTimeout(e.callback,0)}}var r=this.loadingContext,n={id:"pdfjs-font-loading-".concat(r.nextRequestId++),done:!1,complete:t,callback:e};return r.requests.push(n),n}},{key:"_prepareFontLoadEvent",value:function(e,t,r){function n(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function a(e,t,r,n){var i=e.substring(0,t),a=e.substring(t+r);return i+n+a}var o,s,u=document.createElement("canvas");u.width=1,u.height=1;var c=u.getContext("2d"),l=0;function f(e,t){if(l++,l>30)return(0,i.warn)("Load test font never loaded."),void t();c.font="30px "+e,c.fillText(".",0,20);var r=c.getImageData(0,0,1,1);r.data[3]>0?t():setTimeout(f.bind(null,e,t))}var h="lt".concat(Date.now()).concat(this.loadTestFontId++),d=this._loadTestFont,p=976;d=a(d,p,h.length,h);var v=16,g=1482184792,m=n(d,v);for(o=0,s=h.length-3;o<s;o+=4)m=m-g+n(h,o)|0;o<h.length&&(m=m-g+n(h+"XXX",o)|0),d=a(d,v,4,(0,i.string32)(m));var y="url(data:font/opentype;base64,".concat(btoa(d),");"),b='@font-face {font-family:"'.concat(h,'";src:').concat(y,"}");this.insertRule(b);var _=[];for(o=0,s=t.length;o<s;o++)_.push(t[o].loadedName);_.push(h);var w=document.createElement("div");for(w.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),o=0,s=_.length;o<s;++o){var S=document.createElement("span");S.textContent="Hi",S.style.fontFamily=_[o],w.appendChild(S)}document.body.appendChild(w),f(h,(function(){document.body.removeChild(w),r.complete()}))}},{key:"isFontLoadingAPISupported",get:function(){var e="undefined"!==typeof document&&!!document.fonts;if(e&&"undefined"!==typeof navigator){var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);t&&t[1]<63&&(e=!1)}return(0,i.shadow)(this,"isFontLoadingAPISupported",e)}},{key:"isSyncFontLoadingSupported",get:function(){var e=!1;if("undefined"===typeof navigator)e=!0;else{var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);t&&t[1]>=14&&(e=!0)}return(0,i.shadow)(this,"isSyncFontLoadingSupported",e)}},{key:"_loadTestFont",get:function(){var e=function(){return atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")};return(0,i.shadow)(this,"_loadTestFont",e())}}]),t}(b);var _={get value(){return(0,i.shadow)(this,"value",(0,i.isEvalSupported)())}},w=function(){function e(t,r){var n=r.isEvalSupported,i=void 0===n||n,a=r.disableFontFace,o=void 0!==a&&a,s=r.ignoreErrors,u=void 0!==s&&s,c=r.onUnsupportedFeature,l=void 0===c?null:c,f=r.fontRegistry,h=void 0===f?null:f;for(var d in v(this,e),this.compiledGlyphs=Object.create(null),t)this[d]=t[d];this.isEvalSupported=!1!==i,this.disableFontFace=!0===o,this.ignoreErrors=!0===u,this._onUnsupportedFeature=l,this.fontRegistry=h}return m(e,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var e=(0,i.bytesToString)(new Uint8Array(this.data)),t="url(data:".concat(this.mimetype,";base64,").concat(btoa(e),");"),r='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(t,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,t),r}},{key:"getPathGenerator",value:function(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];var r,n;try{r=e.get(this.loadedName+"_path_"+t)}catch(c){if(!this.ignoreErrors)throw c;return this._onUnsupportedFeature&&this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.font}),(0,i.warn)('getPathGenerator - ignoring character: "'.concat(c,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&_.value){for(var a,o="",s=0,u=r.length;s<u;s++)n=r[s],a=void 0!==n.args?n.args.join(","):"",o+="c."+n.cmd+"("+a+");\n";return this.compiledGlyphs[t]=new Function("c","size",o)}return this.compiledGlyphs[t]=function(e,t){for(var i=0,a=r.length;i<a;i++)n=r[i],"scale"===n.cmd&&(n.args=[t,-t]),e[n.cmd].apply(e,n.args)}}}]),e}();t.FontFaceObject=w},function(e,t,r){"use strict";var n=Object.create(null),i=r(4),a="undefined"!==typeof navigator&&navigator.userAgent||"",o=/Trident/.test(a),s=/CriOS/.test(a);(function(){(o||s)&&(n.disableCreateObjectURL=!0)})(),function(){i()&&(n.disableFontFace=!0,n.nativeImageDecoderSupport="none")}(),t.apiCompatibilityParams=Object.freeze(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(1),i=r(187),a=16,o=100,s=4096,u=.65,c=!0,l=1e3,f=16,h={get value(){return(0,n.shadow)(h,"value",(0,n.isLittleEndian)())}};function d(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],s=t*i-r*n,u=r*n-t*i;return[i/s,r/u,n/u,t/s,(i*a-n*o)/u,(r*a-t*o)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var r=this._transformMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5],this._originalTranslate(e,t)},e.scale=function(e,t){var r=this._transformMatrix;r[0]=r[0]*e,r[1]=r[1]*e,r[2]=r[2]*t,r[3]=r[3]*t,this._originalScale(e,t)},e.transform=function(t,r,n,i,a,o){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*r,s[1]*t+s[3]*r,s[0]*n+s[2]*i,s[1]*n+s[3]*i,s[0]*a+s[2]*o+s[4],s[1]*a+s[3]*o+s[5]],e._originalTransform(t,r,n,i,a,o)},e.setTransform=function(t,r,n,i,a,o){this._transformMatrix=[t,r,n,i,a,o],e._originalSetTransform(t,r,n,i,a,o)},e.rotate=function(e){var t=Math.cos(e),r=Math.sin(e),n=this._transformMatrix;this._transformMatrix=[n[0]*t+n[2]*r,n[1]*t+n[3]*r,n[0]*-r+n[2]*t,n[1]*-r+n[3]*t,n[4],n[5]],this._originalRotate(e)})}var p=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,r,n){var i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,r),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,r),this.cache[e]=i),n&&d(i.context),i},clear:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}();function v(e){var t,r,n,i,a=1e3,o=e.width,s=e.height,u=o+1,c=new Uint8Array(u*(s+1)),l=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),f=o+7&-8,h=e.data,d=new Uint8Array(f*s),p=0;for(t=0,i=h.length;t<i;t++){var v=128,g=h[t];while(v>0)d[p++]=g&v?0:255,v>>=1}var m=0;for(p=0,0!==d[p]&&(c[0]=1,++m),r=1;r<o;r++)d[p]!==d[p+1]&&(c[r]=d[p]?2:1,++m),p++;for(0!==d[p]&&(c[r]=2,++m),t=1;t<s;t++){p=t*f,n=t*u,d[p-f]!==d[p]&&(c[n]=d[p]?1:8,++m);var y=(d[p]?4:0)+(d[p-f]?8:0);for(r=1;r<o;r++)y=(y>>2)+(d[p+1]?4:0)+(d[p-f+1]?8:0),l[y]&&(c[n+r]=l[y],++m),p++;if(d[p-f]!==d[p]&&(c[n+r]=d[p]?2:4,++m),m>a)return null}for(p=f*(s-1),n=t*u,0!==d[p]&&(c[n]=8,++m),r=1;r<o;r++)d[p]!==d[p+1]&&(c[n+r]=d[p]?4:8,++m),p++;if(0!==d[p]&&(c[n+r]=4,++m),m>a)return null;var b=new Int32Array([0,u,-1,0,-u,0,0,0,1]),_=[];for(t=0;m&&t<=s;t++){var w=t*u,S=w+o;while(w<S&&!c[w])w++;if(w!==S){var A,x=[w%u,t],k=c[w],P=w;do{var C=b[k];do{w+=C}while(!c[w]);A=c[w],5!==A&&10!==A?(k=A,c[w]=0):(k=A&51*k>>4,c[w]&=k>>2|k<<2),x.push(w%u),x.push(w/u|0),c[w]||--m}while(P!==w);_.push(x),--t}}var T=function(e){e.save(),e.scale(1/o,-1/s),e.translate(0,-s),e.beginPath();for(var t=0,r=_.length;t<r;t++){var n=_[t];e.moveTo(n[0],n[1]);for(var i=2,a=n.length;i<a;i+=2)e.lineTo(n[i],n[i+1])}e.fill(),e.beginPath(),e.restore()};return T}var g=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),m=function(){var e=15,t=10;function r(e,t,r,n,i,a){this.ctx=e,this.current=new g,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=r,this.canvasFactory=n,this.webGLContext=i,this.imageLayer=a,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new p(this.canvasFactory),e&&d(e),this._cachedGetSinglePixelWidth=null}function m(e,t){if("undefined"!==typeof ImageData&&t instanceof ImageData)e.putImageData(t,0,0);else{var r,i,a,o,s,u=t.height,c=t.width,l=u%f,d=(u-l)/f,p=0===l?d:d+1,v=e.createImageData(c,f),g=0,m=t.data,y=v.data;if(t.kind===n.ImageKind.GRAYSCALE_1BPP){var b=m.byteLength,_=new Uint32Array(y.buffer,0,y.byteLength>>2),w=_.length,S=c+7>>3,A=4294967295,x=h.value?4278190080:255;for(i=0;i<p;i++){for(o=i<d?f:l,r=0,a=0;a<o;a++){for(var k=b-g,P=0,C=k>S?c:8*k-7,T=-8&C,E=0,R=0;P<T;P+=8)R=m[g++],_[r++]=128&R?A:x,_[r++]=64&R?A:x,_[r++]=32&R?A:x,_[r++]=16&R?A:x,_[r++]=8&R?A:x,_[r++]=4&R?A:x,_[r++]=2&R?A:x,_[r++]=1&R?A:x;for(;P<C;P++)0===E&&(R=m[g++],E=128),_[r++]=R&E?A:x,E>>=1}while(r<w)_[r++]=0;e.putImageData(v,0,i*f)}}else if(t.kind===n.ImageKind.RGBA_32BPP){for(a=0,s=c*f*4,i=0;i<d;i++)y.set(m.subarray(g,g+s)),g+=s,e.putImageData(v,0,a),a+=f;i<p&&(s=c*l*4,y.set(m.subarray(g,g+s)),e.putImageData(v,0,a))}else{if(t.kind!==n.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));for(o=f,s=c*o,i=0;i<p;i++){for(i>=d&&(o=l,s=c*o),r=0,a=s;a--;)y[r++]=m[g++],y[r++]=m[g++],y[r++]=m[g++],y[r++]=255;e.putImageData(v,0,i*f)}}}}function y(e,t){for(var r=t.height,n=t.width,i=r%f,a=(r-i)/f,o=0===i?a:a+1,s=e.createImageData(n,f),u=0,c=t.data,l=s.data,h=0;h<o;h++){for(var d=h<a?f:i,p=3,v=0;v<d;v++)for(var g=0,m=0;m<n;m++){if(!g){var y=c[u++];g=128}l[p]=y&g?0:255,p+=4,g>>=1}e.putImageData(s,0,h*f)}}function b(e,t){for(var r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],n=0,i=r.length;n<i;n++){var a=r[n];void 0!==e[a]&&(t[a]=e[a])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function _(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function w(e,t,r,n){for(var i=e.length,a=3;a<i;a+=4){var o=e[a];if(0===o)e[a-3]=t,e[a-2]=r,e[a-1]=n;else if(o<255){var s=255-o;e[a-3]=e[a-3]*o+t*s>>8,e[a-2]=e[a-2]*o+r*s>>8,e[a-1]=e[a-1]*o+n*s>>8}}}function S(e,t,r){for(var n=e.length,i=1/255,a=3;a<n;a+=4){var o=r?r[e[a]]:e[a];t[a]=t[a]*o*i|0}}function A(e,t,r){for(var n=e.length,i=3;i<n;i+=4){var a=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=r?t[i]*r[a>>8]>>8:t[i]*a>>16}}function x(e,t,r,n,i,a,o){var s,u=!!a,c=u?a[0]:0,l=u?a[1]:0,f=u?a[2]:0;s="Luminosity"===i?A:S;for(var h=1048576,d=Math.min(n,Math.ceil(h/r)),p=0;p<n;p+=d){var v=Math.min(d,n-p),g=e.getImageData(0,p,r,v),m=t.getImageData(0,p,r,v);u&&w(g.data,c,l,f),s(g.data,m.data,o),e.putImageData(m,0,p)}}function k(e,t,r,n){var i=t.canvas,a=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var o=t.backdrop||null;if(!t.transferMap&&n.isEnabled){var s=n.composeSMask({layer:r.canvas,mask:i,properties:{subtype:t.subtype,backdrop:o}});return e.setTransform(1,0,0,1,0,0),void e.drawImage(s,t.offsetX,t.offsetY)}x(a,r,i.width,i.height,t.subtype,o,t.transferMap),e.drawImage(i,0,0)}var P=["butt","round","square"],C=["miter","round","bevel"],T={},E={};for(var R in r.prototype={beginDrawing:function(e){var t=e.transform,r=e.viewport,n=e.transparency,i=void 0!==n&&n,a=e.background,o=void 0===a?null:a,s=this.ctx.canvas.width,u=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=o||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,u),this.ctx.restore(),i){var c=this.cachedCanvases.getCanvas("transparent",s,u,!0);this.compositeCtx=this.ctx,this.transparentCanvas=c.canvas,this.ctx=c.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),_(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,r.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(r,i,a,o){var s=r.argsArray,u=r.fnArray,c=i||0,l=s.length;if(l===c)return c;var f,h=l-c>t&&"function"===typeof a,d=h?Date.now()+e:0,p=0,v=this.commonObjs,g=this.objs;while(1){if(void 0!==o&&c===o.nextBreakPoint)return o.breakIt(c,a),c;if(f=u[c],f!==n.OPS.dependency)this[f].apply(this,s[c]);else{var m=!0,y=!1,b=void 0;try{for(var _,w=s[c][Symbol.iterator]();!(m=(_=w.next()).done);m=!0){var S=_.value,A=S.startsWith("g_")?v:g;if(!A.has(S))return A.get(S,a),c}}catch(x){y=!0,b=x}finally{try{m||null==w["return"]||w["return"]()}finally{if(y)throw b}}}if(c++,c===l)return c;if(h&&++p>t){if(Date.now()>d)return a(),c;p=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=P[e]},setLineJoin:function(e){this.ctx.lineJoin=C[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],i=n[0],a=n[1];switch(i){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a[0],a[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=a;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=a?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null;break}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=e.canvas.width,r=e.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r,!0),a=this.ctx,o=a.mozCurrentTransform;this.ctx.save();var s=i.context;s.scale(1/e.scaleX,1/e.scaleY),s.translate(-e.offsetX,-e.offsetY),s.transform.apply(s,o),e.startTransformInverse=s.mozCurrentTransformInverse,b(a,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(a),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),k(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),this.ctx.save(),b(e,this.ctx),this.current.resumeSMaskCtx=e;var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),k(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),b(e,this.ctx);var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)},transform:function(e,t,r,n,i,a){this.ctx.transform(e,t,r,n,i,a),this._cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var r=this.ctx,i=this.current,a=i.x,o=i.y,s=0,u=0,c=e.length;s<c;s++)switch(0|e[s]){case n.OPS.rectangle:a=t[u++],o=t[u++];var l=t[u++],f=t[u++];0===l&&(l=this.getSinglePixelWidth()),0===f&&(f=this.getSinglePixelWidth());var h=a+l,d=o+f;this.ctx.moveTo(a,o),this.ctx.lineTo(h,o),this.ctx.lineTo(h,d),this.ctx.lineTo(a,d),this.ctx.lineTo(a,o),this.ctx.closePath();break;case n.OPS.moveTo:a=t[u++],o=t[u++],r.moveTo(a,o);break;case n.OPS.lineTo:a=t[u++],o=t[u++],r.lineTo(a,o);break;case n.OPS.curveTo:a=t[u+4],o=t[u+5],r.bezierCurveTo(t[u],t[u+1],t[u+2],t[u+3],a,o),u+=6;break;case n.OPS.curveTo2:r.bezierCurveTo(a,o,t[u],t[u+1],t[u+2],t[u+3]),a=t[u+2],o=t[u+3],u+=4;break;case n.OPS.curveTo3:a=t[u+2],o=t[u+3],r.bezierCurveTo(t[u],t[u+1],a,o,a,o),u+=4;break;case n.OPS.closePath:r.closePath();break}i.setCurrentPoint(a,o)},closePath:function(){this.ctx.closePath()},stroke:function(e){e="undefined"===typeof e||e;var t=this.ctx,r=this.current.strokeColor;if(t.globalAlpha=this.current.strokeAlpha,r&&r.hasOwnProperty("type")&&"Pattern"===r.type){t.save();var i=t.mozCurrentTransform,a=n.Util.singularValueDecompose2dScale(i)[0];t.strokeStyle=r.getPattern(t,this),t.lineWidth=Math.max(this.getSinglePixelWidth()*u,this.current.lineWidth*a),t.stroke(),t.restore()}else t.lineWidth=Math.max(this.getSinglePixelWidth()*u,this.current.lineWidth),t.stroke();e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e="undefined"===typeof e||e;var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=!1;n&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=r.getPattern(t,this),i=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),i&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=T},eoClip:function(){this.pendingClip=E},beginText:function(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(var r=0;r<e.length;r++){var n=e[r];t.setTransform.apply(t,n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var r=this.commonObjs.get(e),i=this.current;if(!r)throw new Error("Can't find font for ".concat(e));if(i.fontMatrix=r.fontMatrix?r.fontMatrix:n.FONT_IDENTITY_MATRIX,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=r,this.current.fontSize=t,!r.isType3Font){var s=r.loadedName||"sans-serif",u=r.black?"900":r.bold?"bold":"normal",c=r.italic?"italic":"normal",l='"'.concat(s,'", ').concat(r.fallbackName),f=t<a?a:t>o?o:t;this.current.fontSizeScale=t/f,this.ctx.font="".concat(c," ").concat(u," ").concat(f,"px ").concat(l)}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,r,n,i,a){this.current.textMatrix=[e,t,r,n,i,a],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,r,i){var a,o=this.ctx,s=this.current,u=s.font,c=s.textRenderingMode,l=s.fontSize/s.fontSizeScale,f=c&n.TextRenderingMode.FILL_STROKE_MASK,h=!!(c&n.TextRenderingMode.ADD_TO_PATH_FLAG),d=s.patternFill&&u.data;if((u.disableFontFace||h||d)&&(a=u.getPathGenerator(this.commonObjs,e)),u.disableFontFace||d?(o.save(),o.translate(t,r),o.beginPath(),a(o,l),i&&o.setTransform.apply(o,i),f!==n.TextRenderingMode.FILL&&f!==n.TextRenderingMode.FILL_STROKE||o.fill(),f!==n.TextRenderingMode.STROKE&&f!==n.TextRenderingMode.FILL_STROKE||o.stroke(),o.restore()):(f!==n.TextRenderingMode.FILL&&f!==n.TextRenderingMode.FILL_STROKE||o.fillText(e,t,r),f!==n.TextRenderingMode.STROKE&&f!==n.TextRenderingMode.FILL_STROKE||o.strokeText(e,t,r)),h){var p=this.pendingTextPaths||(this.pendingTextPaths=[]);p.push({transform:o.mozCurrentTransform,x:t,y:r,fontSize:l,addToPath:a})}},get isFontSubpixelAAEnabled(){var e=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10),t=e.context;t.scale(1.5,1),t.fillText("I",0,10);for(var r=t.getImageData(0,0,10,10).data,i=!1,a=3;a<r.length;a+=4)if(r[a]>0&&r[a]<255){i=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",i)},showText:function(e){var t=this.current,r=t.font;if(r.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var a,o=this.ctx,s=t.fontSizeScale,c=t.charSpacing,l=t.wordSpacing,f=t.fontDirection,h=t.textHScale*f,d=e.length,p=r.vertical,v=p?1:-1,g=r.defaultVMetrics,m=i*t.fontMatrix[0],y=t.textRenderingMode===n.TextRenderingMode.FILL&&!r.disableFontFace&&!t.patternFill;if(o.save(),t.patternFill){o.save();var b=t.fillColor.getPattern(o,this);a=o.mozCurrentTransform,o.restore(),o.fillStyle=b}o.transform.apply(o,t.textMatrix),o.translate(t.x,t.y+t.textRise),f>0?o.scale(h,-1):o.scale(h,1);var _=t.lineWidth,w=t.textMatrixScale;if(0===w||0===_){var S=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;S!==n.TextRenderingMode.STROKE&&S!==n.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,_=this.getSinglePixelWidth()*u)}else _/=w;1!==s&&(o.scale(s,s),_/=s),o.lineWidth=_;var A,x=0;for(A=0;A<d;++A){var k=e[A];if((0,n.isNum)(k))x+=v*k*i/1e3;else{var P,C,T,E,R,L,O,I=!1,M=(k.isSpace?l:0)+c,N=k.fontChar,F=k.accent,j=k.width;if(p)R=k.vmetric||g,L=k.vmetric?R[1]:.5*j,L=-L*m,O=R[2]*m,j=R?-R[0]:j,P=L/s,C=(x+O)/s;else P=x/s,C=0;if(r.remeasure&&j>0){var U=1e3*o.measureText(N).width/i*s;if(j<U&&this.isFontSubpixelAAEnabled){var D=j/U;I=!0,o.save(),o.scale(D,1),P/=D}else j!==U&&(P+=(j-U)/2e3*i/s)}(k.isInFont||r.missingFile)&&(y&&!F?o.fillText(N,P,C):(this.paintChar(N,P,C,a),F&&(T=P+F.offset.x/s,E=C-F.offset.y/s,this.paintChar(F.fontChar,T,E,a))));var B=j*m+M*f;x+=B,I&&o.restore()}}p?t.y-=x*h:t.x+=x*h,o.restore()}},showType3Text:function(e){var t,r,i,a,o=this.ctx,s=this.current,u=s.font,c=s.fontSize,l=s.fontDirection,f=u.vertical?1:-1,h=s.charSpacing,d=s.wordSpacing,p=s.textHScale*l,v=s.fontMatrix||n.FONT_IDENTITY_MATRIX,g=e.length,m=s.textRenderingMode===n.TextRenderingMode.INVISIBLE;if(!m&&0!==c){for(this._cachedGetSinglePixelWidth=null,o.save(),o.transform.apply(o,s.textMatrix),o.translate(s.x,s.y),o.scale(p,l),t=0;t<g;++t)if(r=e[t],(0,n.isNum)(r))a=f*r*c/1e3,this.ctx.translate(a,0),s.x+=a*p;else{var y=(r.isSpace?d:0)+h,b=u.charProcOperatorList[r.operatorListId];if(b){this.processingType3=r,this.save(),o.scale(c,c),o.transform.apply(o,v),this.executeOperatorList(b),this.restore();var _=n.Util.applyTransform([r.width,0],v);i=_[0]*c+y,o.translate(i,0),s.x+=i*p}else(0,n.warn)('Type3 character "'.concat(r.operatorListId,'" is not available.'))}o.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,r,n,i,a){this.ctx.rect(r,n,i-r,a-n),this.clip(),this.endPath()},getColorN_Pattern:function(e){var t,n=this;if("TilingPattern"===e[0]){var a=e[1],o=this.baseTransform||this.ctx.mozCurrentTransform.slice(),s={createCanvasGraphics:function(e){return new r(e,n.commonObjs,n.objs,n.canvasFactory,n.webGLContext)}};t=new i.TilingPattern(e,a,this.ctx,s,o)}else t=(0,i.getShadingPatternFromIR)(e);return t},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var r=(0,i.getShadingPatternFromIR)(e);t.fillStyle=r.getPattern(t,this,!0);var a=t.mozCurrentTransformInverse;if(a){var o=t.canvas,s=o.width,u=o.height,c=n.Util.applyTransform([0,0],a),l=n.Util.applyTransform([0,u],a),f=n.Util.applyTransform([s,0],a),h=n.Util.applyTransform([s,u],a),d=Math.min(c[0],l[0],f[0],h[0]),p=Math.min(c[1],l[1],f[1],h[1]),v=Math.max(c[0],l[0],f[0],h[0]),g=Math.max(c[1],l[1],f[1],h[1]);this.ctx.fillRect(d,p,v-d,g-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,n.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,n.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t){var r=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],r,n),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");var r=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw new Error("Bounding box is required.");var i=n.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),a=[0,0,t.canvas.width,t.canvas.height];i=n.Util.intersect(i,a)||[0,0,0,0];var o=Math.floor(i[0]),u=Math.floor(i[1]),c=Math.max(Math.ceil(i[2])-o,1),l=Math.max(Math.ceil(i[3])-u,1),f=1,h=1;c>s&&(f=c/s,c=s),l>s&&(h=l/s,l=s);var d="groupAt"+this.groupLevel;e.smask&&(d+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(d,c,l,!0),v=p.context;v.scale(1/f,1/h),v.translate(-o,-u),v.transform.apply(v,r),e.smask?this.smaskStack.push({canvas:p.canvas,context:v,offsetX:o,offsetY:u,scaleX:f,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(o,u),t.scale(f,h)),b(t,v),this.ctx=v,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,r){if(this.save(),_(this.ctx),this.current=new g,Array.isArray(e)&&4===e.length){var n=e[2]-e[0],i=e[3]-e[1];this.ctx.rect(e[0],e[1],n,i),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,r)},endAnnotation:function(){this.restore()},paintJpegXObject:function(e,t,r){var i=this.processingType3?this.commonObjs.get(e):this.objs.get(e);if(i){this.save();var a=this.ctx;if(a.scale(1/t,-1/r),a.drawImage(i,0,0,i.width,i.height,0,-r,t,r),this.imageLayer){var o=a.mozCurrentTransformInverse,s=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:e,left:s[0],top:s[1],width:t/o[0],height:r/o[3]})}this.restore()}else(0,n.warn)("Dependent image isn't ready yet")},paintImageMaskXObject:function(e){var t=this.ctx,r=e.width,n=e.height,i=this.current.fillColor,a=this.current.patternFill,o=this.processingType3;if(c&&o&&void 0===o.compiled&&(o.compiled=r<=l&&n<=l?v({data:e.data,width:r,height:n}):null),o&&o.compiled)o.compiled(t);else{var s=this.cachedCanvases.getCanvas("maskCanvas",r,n),u=s.context;u.save(),y(u,e),u.globalCompositeOperation="source-in",u.fillStyle=a?i.getPattern(u,this):i,u.fillRect(0,0,r,n),u.restore(),this.paintInlineImageXObject(s.canvas)}},paintImageMaskXObjectRepeat:function(e,t,r,n){var i=e.width,a=e.height,o=this.current.fillColor,s=this.current.patternFill,u=this.cachedCanvases.getCanvas("maskCanvas",i,a),c=u.context;c.save(),y(c,e),c.globalCompositeOperation="source-in",c.fillStyle=s?o.getPattern(c,this):o,c.fillRect(0,0,i,a),c.restore();for(var l=this.ctx,f=0,h=n.length;f<h;f+=2)l.save(),l.transform(t,0,0,r,n[f],n[f+1]),l.scale(1,-1),l.drawImage(u.canvas,0,0,i,a,0,-1,1,1),l.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=0,a=e.length;i<a;i++){var o=e[i],s=o.width,u=o.height,c=this.cachedCanvases.getCanvas("maskCanvas",s,u),l=c.context;l.save(),y(l,o),l.globalCompositeOperation="source-in",l.fillStyle=n?r.getPattern(l,this):r,l.fillRect(0,0,s,u),l.restore(),t.save(),t.transform.apply(t,o.transform),t.scale(1,-1),t.drawImage(c.canvas,0,0,s,u,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=this.processingType3?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,n.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(e,t,r,i){var a=this.processingType3?this.commonObjs.get(e):this.objs.get(e);if(a){for(var o=a.width,s=a.height,u=[],c=0,l=i.length;c<l;c+=2)u.push({transform:[t,0,0,r,i[c],i[c+1]],x:0,y:0,w:o,h:s});this.paintInlineImageXObjectGroup(a,u)}else(0,n.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function(e){var t=e.width,r=e.height,n=this.ctx;this.save(),n.scale(1/t,-1/r);var i,a,o=n.mozCurrentTransformInverse,s=o[0],u=o[1],c=Math.max(Math.sqrt(s*s+u*u),1),l=o[2],f=o[3],h=Math.max(Math.sqrt(l*l+f*f),1);if("function"===typeof HTMLElement&&e instanceof HTMLElement||!e.data)i=e;else{a=this.cachedCanvases.getCanvas("inlineImage",t,r);var d=a.context;m(d,e),i=a.canvas}var p=t,v=r,g="prescale1";while(c>2&&p>1||h>2&&v>1){var y=p,b=v;c>2&&p>1&&(y=Math.ceil(p/2),c/=p/y),h>2&&v>1&&(b=Math.ceil(v/2),h/=v/b),a=this.cachedCanvases.getCanvas(g,y,b),d=a.context,d.clearRect(0,0,y,b),d.drawImage(i,0,0,p,v,0,0,y,b),i=a.canvas,p=y,v=b,g="prescale1"===g?"prescale2":"prescale1"}if(n.drawImage(i,0,0,p,v,0,-r,t,r),this.imageLayer){var _=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:e,left:_[0],top:_[1],width:t/o[0],height:r/o[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,t){var r=this.ctx,n=e.width,i=e.height,a=this.cachedCanvases.getCanvas("inlineImage",n,i),o=a.context;m(o,e);for(var s=0,u=t.length;s<u;s++){var c=t[s];if(r.save(),r.transform.apply(r,c.transform),r.scale(1,-1),r.drawImage(a.canvas,c.x,c.y,c.w,c.h,0,-1,1,1),this.imageLayer){var l=this.getCanvasPosition(c.x,c.y);this.imageLayer.appendImage({imgData:e,left:l[0],top:l[1],width:n,height:i})}r.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,n.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===E?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this._cachedGetSinglePixelWidth){var t=this.ctx.mozCurrentTransformInverse;this._cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this._cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var r=this.ctx.mozCurrentTransform;return[r[0]*e+r[2]*t+r[4],r[1]*e+r[3]*t+r[5]]}},n.OPS)r.prototype[n.OPS[R]]=r.prototype[R];return r}();t.CanvasGraphics=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getShadingPatternFromIR=s,t.TilingPattern=void 0;var n=r(1),i={};function a(e,t){if(t&&"undefined"!==typeof Path2D){var r=t[2]-t[0],n=t[3]-t[1],i=new Path2D;i.rect(t[0],t[1],r,n),e.clip(i)}}i.RadialAxial={fromIR:function(e){var t=e[1],r=e[2],n=e[3],i=e[4],o=e[5],s=e[6],u=e[7];return{type:"Pattern",getPattern:function(e){var c;a(e,r),"axial"===t?c=e.createLinearGradient(i[0],i[1],o[0],o[1]):"radial"===t&&(c=e.createRadialGradient(i[0],i[1],s,o[0],o[1],u));for(var l=0,f=n.length;l<f;++l){var h=n[l];c.addColorStop(h[0],h[1])}return c}}}};var o=function(){function e(e,t,r,n,i,a,o,s){var u,c=t.coords,l=t.colors,f=e.data,h=4*e.width;c[r+1]>c[n+1]&&(u=r,r=n,n=u,u=a,a=o,o=u),c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=o,o=s,s=u),c[r+1]>c[n+1]&&(u=r,r=n,n=u,u=a,a=o,o=u);var d=(c[r]+t.offsetX)*t.scaleX,p=(c[r+1]+t.offsetY)*t.scaleY,v=(c[n]+t.offsetX)*t.scaleX,g=(c[n+1]+t.offsetY)*t.scaleY,m=(c[i]+t.offsetX)*t.scaleX,y=(c[i+1]+t.offsetY)*t.scaleY;if(!(p>=y))for(var b,_,w,S,A,x,k,P,C,T=l[a],E=l[a+1],R=l[a+2],L=l[o],O=l[o+1],I=l[o+2],M=l[s],N=l[s+1],F=l[s+2],j=Math.round(p),U=Math.round(y),D=j;D<=U;D++){D<g?(C=D<p?0:p===g?1:(p-D)/(p-g),b=d-(d-v)*C,_=T-(T-L)*C,w=E-(E-O)*C,S=R-(R-I)*C):(C=D>y?1:g===y?0:(g-D)/(g-y),b=v-(v-m)*C,_=L-(L-M)*C,w=O-(O-N)*C,S=I-(I-F)*C),C=D<p?0:D>y?1:(p-D)/(p-y),A=d-(d-m)*C,x=T-(T-M)*C,k=E-(E-N)*C,P=R-(R-F)*C;for(var B=Math.round(Math.min(b,A)),q=Math.round(Math.max(b,A)),H=h*D+4*B,V=B;V<=q;V++)C=(b-V)/(b-A),C=C<0?0:C>1?1:C,f[H++]=_-(_-x)*C|0,f[H++]=w-(w-k)*C|0,f[H++]=S-(S-P)*C|0,f[H++]=255}}function t(t,r,n){var i,a,o=r.coords,s=r.colors;switch(r.type){case"lattice":var u=r.verticesPerRow,c=Math.floor(o.length/u)-1,l=u-1;for(i=0;i<c;i++)for(var f=i*u,h=0;h<l;h++,f++)e(t,n,o[f],o[f+1],o[f+u],s[f],s[f+1],s[f+u]),e(t,n,o[f+u+1],o[f+1],o[f+u],s[f+u+1],s[f+1],s[f+u]);break;case"triangles":for(i=0,a=o.length;i<a;i+=3)e(t,n,o[i],o[i+1],o[i+2],s[i],s[i+1],s[i+2]);break;default:throw new Error("illegal figure")}}function r(e,r,n,i,a,o,s,u){var c,l,f,h,d=1.1,p=3e3,v=2,g=Math.floor(e[0]),m=Math.floor(e[1]),y=Math.ceil(e[2])-g,b=Math.ceil(e[3])-m,_=Math.min(Math.ceil(Math.abs(y*r[0]*d)),p),w=Math.min(Math.ceil(Math.abs(b*r[1]*d)),p),S=y/_,A=b/w,x={coords:n,colors:i,offsetX:-g,offsetY:-m,scaleX:1/S,scaleY:1/A},k=_+2*v,P=w+2*v;if(u.isEnabled)c=u.drawFigures({width:_,height:w,backgroundColor:o,figures:a,context:x}),l=s.getCanvas("mesh",k,P,!1),l.context.drawImage(c,v,v),c=l.canvas;else{l=s.getCanvas("mesh",k,P,!1);var C=l.context,T=C.createImageData(_,w);if(o){var E=T.data;for(f=0,h=E.length;f<h;f+=4)E[f]=o[0],E[f+1]=o[1],E[f+2]=o[2],E[f+3]=255}for(f=0;f<a.length;f++)t(T,a[f],x);C.putImageData(T,v,v),c=l.canvas}return{canvas:c,offsetX:g-v*S,offsetY:m-v*A,scaleX:S,scaleY:A}}return r}();function s(e){var t=i[e[0]];if(!t)throw new Error("Unknown IR type: ".concat(e[0]));return t.fromIR(e)}i.Mesh={fromIR:function(e){var t=e[2],r=e[3],i=e[4],s=e[5],u=e[6],c=e[7],l=e[8];return{type:"Pattern",getPattern:function(e,f,h){var d;if(a(e,c),h)d=n.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(d=n.Util.singularValueDecompose2dScale(f.baseTransform),u){var p=n.Util.singularValueDecompose2dScale(u);d=[d[0]*p[0],d[1]*p[1]]}var v=o(s,d,t,r,i,h?null:l,f.cachedCanvases,f.webGLContext);return h||(e.setTransform.apply(e,f.baseTransform),u&&e.transform.apply(e,u)),e.translate(v.offsetX,v.offsetY),e.scale(v.scaleX,v.scaleY),e.createPattern(v.canvas,"no-repeat")}}}},i.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var u=function(){var e={COLORED:1,UNCOLORED:2},t=3e3;function r(e,t,r,n,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=n,this.baseTransform=i,this.type="Pattern",this.ctx=r}return r.prototype={createPatternCanvas:function(e){var t=this.operatorList,r=this.bbox,i=this.xstep,a=this.ystep,o=this.paintType,s=this.tilingType,u=this.color,c=this.canvasGraphicsFactory;(0,n.info)("TilingType: "+s);var l=r[0],f=r[1],h=r[2],d=r[3],p=n.Util.singularValueDecompose2dScale(this.matrix),v=n.Util.singularValueDecompose2dScale(this.baseTransform),g=[p[0]*v[0],p[1]*v[1]],m=this.getSizeAndScale(i,this.ctx.canvas.width,g[0]),y=this.getSizeAndScale(a,this.ctx.canvas.height,g[1]),b=e.cachedCanvases.getCanvas("pattern",m.size,y.size,!0),_=b.context,w=c.createCanvasGraphics(_);return w.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(w,o,u),w.transform(m.scale,0,0,y.scale,0,0),w.transform(1,0,0,1,-l,-f),this.clipBbox(w,r,l,f,h,d),w.executeOperatorList(t),this.ctx.transform(1,0,0,1,l,f),this.ctx.scale(1/m.scale,1/y.scale),b.canvas},getSizeAndScale:function(e,r,n){e=Math.abs(e);var i=Math.max(t,r),a=Math.ceil(e*n);return a>=i?a=i:n=a/e,{scale:n,size:a}},clipBbox:function(e,t,r,n,i,a){if(Array.isArray(t)&&4===t.length){var o=i-r,s=a-n;e.ctx.rect(r,n,o,s),e.clip(),e.endPath()}},setFillAndStrokeStyleToContext:function(t,r,i){var a=t.ctx,o=t.current;switch(r){case e.COLORED:var s=this.ctx;a.fillStyle=s.fillStyle,a.strokeStyle=s.strokeStyle,o.fillColor=s.fillStyle,o.strokeColor=s.strokeStyle;break;case e.UNCOLORED:var u=n.Util.makeCssRgb(i[0],i[1],i[2]);a.fillStyle=u,a.strokeStyle=u,o.fillColor=u,o.strokeColor=u;break;default:throw new n.FormatError("Unsupported paint type: ".concat(r))}},getPattern:function(e,t){e=this.ctx,e.setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix);var r=this.createPatternCanvas(t);return e.createPattern(r,"repeat")}},r}();t.TilingPattern=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;var n=Object.create(null);t.GlobalWorkerOptions=n,n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=s;var n=r(1);function i(e){return i="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},i(e)}var a={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function o(e){if("object"!==i(e))return e;switch(e.name){case"AbortException":return new n.AbortException(e.message);case"MissingPDFException":return new n.MissingPDFException(e.message);case"UnexpectedResponseException":return new n.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new n.UnknownErrorException(e.message,e.details);default:return new n.UnknownErrorException(e.message,e.toString())}}function s(e,t,r){var n=this;this.sourceName=e,this.targetName=t,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var i=this.callbacksCapabilities=Object.create(null),a=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName)if(t.stream)n._processStreamMessage(t);else if(t.isReply){var s=t.callbackId;if(!(t.callbackId in i))throw new Error("Cannot resolve callback ".concat(s));var u=i[s];delete i[s],"reason"in t?u.reject(o(t.reason)):u.resolve(t.data)}else{if(!(t.action in a))throw new Error("Unknown action from worker: ".concat(t.action));var c=a[t.action];if(t.callbackId){var l=n.sourceName,f=t.sourceName;new Promise((function(e){e(c(t.data))})).then((function(e){r.postMessage({sourceName:l,targetName:f,isReply:!0,callbackId:t.callbackId,data:e})}),(function(e){r.postMessage({sourceName:l,targetName:f,isReply:!0,callbackId:t.callbackId,reason:o(e)})}))}else t.streamId?n._createStreamSink(t):c(t.data)}},r.addEventListener("message",this._onComObjOnMessage)}s.prototype={on:function(e,t){var r=this.actionHandler;if(r[e])throw new Error('There is already an actionName called "'.concat(e,'"'));r[e]=t},send:function(e,t,r){this.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},r)},sendWithPromise:function(e,t,r){var i=this.callbackId++,a=(0,n.createPromiseCapability)();this.callbacksCapabilities[i]=a;try{this.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:i,data:t},r)}catch(o){a.reject(o)}return a.promise},sendWithStream:function(e,t,r,i){var s=this,u=this.streamId++,c=this.sourceName,l=this.targetName,f=this.comObj;return new n.ReadableStream({start:function(r){var a=(0,n.createPromiseCapability)();return s.streamControllers[u]={controller:r,startCall:a,pullCall:null,cancelCall:null,isClosed:!1},s.postMessage({sourceName:c,targetName:l,action:e,streamId:u,data:t,desiredSize:r.desiredSize},i),a.promise},pull:function(e){var t=(0,n.createPromiseCapability)();return s.streamControllers[u].pullCall=t,f.postMessage({sourceName:c,targetName:l,stream:a.PULL,streamId:u,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,n.assert)(e instanceof Error,"cancel must have a valid reason");var t=(0,n.createPromiseCapability)();return s.streamControllers[u].cancelCall=t,s.streamControllers[u].isClosed=!0,f.postMessage({sourceName:c,targetName:l,stream:a.CANCEL,streamId:u,reason:o(e)}),t.promise}},r)},_createStreamSink:function(e){var t=this,r=this.actionHandler[e.action],i=e.streamId,s=e.desiredSize,u=this.sourceName,c=e.sourceName,l=(0,n.createPromiseCapability)(),f=this.comObj,h={enqueue:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var s=this.desiredSize;this.desiredSize-=r,s>0&&this.desiredSize<=0&&(this.sinkCapability=(0,n.createPromiseCapability)(),this.ready=this.sinkCapability.promise),t.postMessage({sourceName:u,targetName:c,stream:a.ENQUEUE,streamId:i,chunk:e},o)}},close:function(){this.isCancelled||(this.isCancelled=!0,f.postMessage({sourceName:u,targetName:c,stream:a.CLOSE,streamId:i}),delete t.streamSinks[i])},error:function(e){(0,n.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,f.postMessage({sourceName:u,targetName:c,stream:a.ERROR,streamId:i,reason:o(e)}))},sinkCapability:l,onPull:null,onCancel:null,isCancelled:!1,desiredSize:s,ready:null};h.sinkCapability.resolve(),h.ready=h.sinkCapability.promise,this.streamSinks[i]=h,new Promise((function(t){t(r(e.data,h))})).then((function(){f.postMessage({sourceName:u,targetName:c,stream:a.START_COMPLETE,streamId:i,success:!0})}),(function(e){f.postMessage({sourceName:u,targetName:c,stream:a.START_COMPLETE,streamId:i,reason:o(e)})}))},_processStreamMessage:function(e){var t=this,r=this.sourceName,i=e.sourceName,s=e.streamId,u=this.comObj,c=function(){Promise.all([t.streamControllers[s].startCall,t.streamControllers[s].pullCall,t.streamControllers[s].cancelCall].map((function(e){return e&&e.promise["catch"]((function(){}))}))).then((function(){delete t.streamControllers[s]}))};switch(e.stream){case a.START_COMPLETE:e.success?this.streamControllers[s].startCall.resolve():this.streamControllers[s].startCall.reject(o(e.reason));break;case a.PULL_COMPLETE:e.success?this.streamControllers[s].pullCall.resolve():this.streamControllers[s].pullCall.reject(o(e.reason));break;case a.PULL:if(!this.streamSinks[s]){u.postMessage({sourceName:r,targetName:i,stream:a.PULL_COMPLETE,streamId:s,success:!0});break}this.streamSinks[s].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[s].sinkCapability.resolve(),this.streamSinks[s].desiredSize=e.desiredSize;var l=this.streamSinks[e.streamId].onPull;new Promise((function(e){e(l&&l())})).then((function(){u.postMessage({sourceName:r,targetName:i,stream:a.PULL_COMPLETE,streamId:s,success:!0})}),(function(e){u.postMessage({sourceName:r,targetName:i,stream:a.PULL_COMPLETE,streamId:s,reason:o(e)})}));break;case a.ENQUEUE:if((0,n.assert)(this.streamControllers[s],"enqueue should have stream controller"),this.streamControllers[s].isClosed)break;this.streamControllers[s].controller.enqueue(e.chunk);break;case a.CLOSE:if((0,n.assert)(this.streamControllers[s],"close should have stream controller"),this.streamControllers[s].isClosed)break;this.streamControllers[s].isClosed=!0,this.streamControllers[s].controller.close(),c();break;case a.ERROR:(0,n.assert)(this.streamControllers[s],"error should have stream controller"),this.streamControllers[s].controller.error(o(e.reason)),c();break;case a.CANCEL_COMPLETE:e.success?this.streamControllers[s].cancelCall.resolve():this.streamControllers[s].cancelCall.reject(o(e.reason)),c();break;case a.CANCEL:if(!this.streamSinks[s])break;var f=this.streamSinks[e.streamId].onCancel;new Promise((function(t){t(f&&f(o(e.reason)))})).then((function(){u.postMessage({sourceName:r,targetName:i,stream:a.CANCEL_COMPLETE,streamId:s,success:!0})}),(function(e){u.postMessage({sourceName:r,targetName:i,stream:a.CANCEL_COMPLETE,streamId:s,reason:o(e)})})),this.streamSinks[s].sinkCapability.reject(o(e.reason)),this.streamSinks[s].isCancelled=!0,delete this.streamSinks[s];break;default:throw new Error("Unexpected stream case")}},postMessage:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var n=r(1),i=r(191);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e}var u=function(){function e(t){a(this,e),(0,n.assert)("string"===typeof t,"Metadata: input is not a string"),t=this._repair(t);var r=new i.SimpleXMLParser,o=r.parseFromString(t);this._metadata=Object.create(null),o&&this._parse(o)}return s(e,[{key:"_repair",value:function(e){return e.replace(/^([^<]+)/,"").replace(/>\\376\\377([^<]+)/g,(function(e,t){for(var r=t.replace(/\\([0-3])([0-7])([0-7])/g,(function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)})).replace(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))})),n="",i=0,a=r.length;i<a;i+=2){var o=256*r.charCodeAt(i)+r.charCodeAt(i+1);n+=o>=32&&o<127&&60!==o&&62!==o&&38!==o?String.fromCharCode(o):"&#x"+(65536+o).toString(16).substring(1)+";"}return">"+n}))}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName.toLowerCase()){t=t.firstChild;while(t&&"rdf:rdf"!==t.nodeName.toLowerCase())t=t.nextSibling}var r=t?t.nodeName.toLowerCase():null;if(t&&"rdf:rdf"===r&&t.hasChildNodes())for(var n=t.childNodes,i=0,a=n.length;i<a;i++){var o=n[i];if("rdf:description"===o.nodeName.toLowerCase())for(var s=0,u=o.childNodes.length;s<u;s++)if("#text"!==o.childNodes[s].nodeName.toLowerCase()){var c=o.childNodes[s],l=c.nodeName.toLowerCase();this._metadata[l]=c.textContent.trim()}}}},{key:"get",value:function(e){var t=this._metadata[e];return"undefined"!==typeof t?t:null}},{key:"getAll",value:function(){return this._metadata}},{key:"has",value:function(e){return"undefined"!==typeof this._metadata[e]}}]),e}();t.Metadata=u},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},n(e)}function i(e,t){return s(e)||o(e,t)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function o(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(r.push(o.value),t&&r.length===t)break}catch(u){i=!0,a=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return r}}function s(e){if(Array.isArray(e))return e}function u(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t,r){return f="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=h(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},f(e,t,r||e)}function h(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=d(e),null===e)break;return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleXMLParser=void 0;var b={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function _(e,t){var r=e[t];return" "===r||"\n"===r||"\r"===r||"\t"===r}function w(e){for(var t=0,r=e.length;t<r;t++)if(!_(e,t))return!1;return!0}var S=function(){function e(){g(this,e)}return y(e,[{key:"_resolveEntities",value:function(e){var t=this;return e.replace(/&([^;]+);/g,(function(e,r){if("#x"===r.substring(0,2))return String.fromCharCode(parseInt(r.substring(2),16));if("#"===r.substring(0,1))return String.fromCharCode(parseInt(r.substring(1),10));switch(r){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return t.onResolveEntity(r)}))}},{key:"_parseContent",value:function(e,t){var r,n=t,i=[];function a(){while(n<e.length&&_(e,n))++n}while(n<e.length&&!_(e,n)&&">"!==e[n]&&"/"!==e[n])++n;r=e.substring(t,n),a();while(n<e.length&&">"!==e[n]&&"/"!==e[n]&&"?"!==e[n]){a();var o="",s="";while(n<e.length&&!_(e,n)&&"="!==e[n])o+=e[n],++n;if(a(),"="!==e[n])return null;++n,a();var u=e[n];if('"'!==u&&"'"!==u)return null;var c=e.indexOf(u,++n);if(c<0)return null;s=e.substring(n,c),i.push({name:o,value:this._resolveEntities(s)}),n=c+1,a()}return{name:r,attributes:i,parsed:n-t}}},{key:"_parseProcessingInstruction",value:function(e,t){var r,n,i=t;function a(){while(i<e.length&&_(e,i))++i}while(i<e.length&&!_(e,i)&&">"!==e[i]&&"/"!==e[i])++i;r=e.substring(t,i),a();var o=i;while(i<e.length&&("?"!==e[i]||">"!==e[i+1]))++i;return n=e.substring(o,i),{name:r,value:n,parsed:i-t}}},{key:"parseXml",value:function(e){var t=0;while(t<e.length){var r=e[t],n=t;if("<"===r){++n;var i=e[n],a=void 0;switch(i){case"/":if(++n,a=e.indexOf(">",n),a<0)return void this.onError(b.UnterminatedElement);this.onEndElement(e.substring(n,a)),n=a+1;break;case"?":++n;var o=this._parseProcessingInstruction(e,n);if("?>"!==e.substring(n+o.parsed,n+o.parsed+2))return void this.onError(b.UnterminatedXmlDeclaration);this.onPi(o.name,o.value),n+=o.parsed+2;break;case"!":if("--"===e.substring(n+1,n+3)){if(a=e.indexOf("--\x3e",n+3),a<0)return void this.onError(b.UnterminatedComment);this.onComment(e.substring(n+3,a)),n=a+3}else if("[CDATA["===e.substring(n+1,n+8)){if(a=e.indexOf("]]>",n+8),a<0)return void this.onError(b.UnterminatedCdat);this.onCdata(e.substring(n+8,a)),n=a+3}else{if("DOCTYPE"!==e.substring(n+1,n+8))return void this.onError(b.MalformedElement);var s=e.indexOf("[",n+8),u=!1;if(a=e.indexOf(">",n+8),a<0)return void this.onError(b.UnterminatedDoctypeDeclaration);if(s>0&&a>s){if(a=e.indexOf("]>",n+8),a<0)return void this.onError(b.UnterminatedDoctypeDeclaration);u=!0}var c=e.substring(n+8,a+(u?1:0));this.onDoctype(c),n=a+(u?2:1)}break;default:var l=this._parseContent(e,n);if(null===l)return void this.onError(b.MalformedElement);var f=!1;if("/>"===e.substring(n+l.parsed,n+l.parsed+2))f=!0;else if(">"!==e.substring(n+l.parsed,n+l.parsed+1))return void this.onError(b.UnterminatedElement);this.onBeginElement(l.name,l.attributes,f),n+=l.parsed+(f?2:1);break}}else{while(n<e.length&&"<"!==e[n])n++;var h=e.substring(t,n);this.onText(this._resolveEntities(h))}t=n}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}(),A=function(){function e(t,r){g(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return y(e,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}}]),e}(),x=function(e){function t(){var e;return g(this,t),e=u(this,d(t).call(this)),e._currentFragment=null,e._stack=null,e._errorCode=b.NoError,e}return p(t,e),y(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=b.NoError,this.parseXml(e),this._errorCode===b.NoError){var t=i(this._currentFragment,1),r=t[0];if(r)return{documentElement:r}}}},{key:"onResolveEntity",value:function(e){switch(e){case"apos":return"'"}return f(d(t.prototype),"onResolveEntity",this).call(this,e)}},{key:"onText",value:function(e){if(!w(e)){var t=new A("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new A("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){var n=new A(e);n.childNodes=[],this._currentFragment.push(n),r||(this._stack.push(this._currentFragment),this._currentFragment=n.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment[this._currentFragment.length-1];if(t)for(var r=0,n=t.childNodes.length;r<n;r++)t.childNodes[r].parentNode=t}},{key:"onError",value:function(e){this._errorCode=e}}]),t}(S);t.SimpleXMLParser=x},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n=a(r(180)),i=r(1);function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){o(a,n,i,s,u,"next",e)}function u(e){o(a,n,i,s,u,"throw",e)}s(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}var f=function(){function e(t,r){var n=this;u(this,e),(0,i.assert)(r),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1;var a=t.initialData;if(a&&a.length>0){var o=new Uint8Array(a).buffer;this._queuedChunks.push(o)}this._pdfDataRangeTransport=r,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(e,t){n._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener((function(e,t){n._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(e){n._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){n._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return l(e,[{key:"_onReceiveData",value:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var r=this._rangeReaders.some((function(r){return r._begin===e.begin&&(r._enqueue(t),!0)}));(0,i.assert)(r)}}},{key:"_onProgress",value:function(e){if(void 0===e.total){var t=this._rangeReaders[0];t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{var r=this._fullRequestReader;r&&r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}},{key:"getFullReader",value:function(){(0,i.assert)(!this._fullRequestReader);var e=this._queuedChunks;return this._queuedChunks=null,new h(this,e,this._progressiveDone)}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=new d(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeReaders.slice(0);t.forEach((function(t){t.cancel(e)})),this._pdfDataRangeTransport.abort()}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFDataTransportStream=f;var h=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];u(this,e),this._stream=t,this._done=n||!1,this._filename=null,this._queuedChunks=r||[],this._loaded=0;var i=!0,a=!1,o=void 0;try{for(var s,c=this._queuedChunks[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var l=s.value;this._loaded+=l.byteLength}}catch(f){a=!0,o=f}finally{try{i||null==c["return"]||c["return"]()}finally{if(a)throw o}}this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}return l(e,[{key:"_enqueue",value:function(e){if(!this._done){if(this._requests.length>0){var t=this._requests.shift();t.resolve({value:e,done:!1})}else this._queuedChunks.push(e);this._loaded+=e.byteLength}}},{key:"read",value:function(){var e=s(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(this._queuedChunks.length>0)){e.next=3;break}return t=this._queuedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 3:if(!this._done){e.next=5;break}return e.abrupt("return",{value:void 0,done:!0});case 5:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}}]),e}(),d=function(){function e(t,r,n){u(this,e),this._stream=t,this._begin=r,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return l(e,[{key:"_enqueue",value:function(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{var t=this._requests.shift();t.resolve({value:e,done:!1}),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]}this._done=!0,this._stream._removeRangeReader(this)}}},{key:"read",value:function(){var e=s(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._stream._removeRangeReader(this)}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLContext=void 0;var n=r(1);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}var s=function(){function e(t){var r=t.enable,n=void 0!==r&&r;i(this,e),this._enabled=!0===n}return o(e,[{key:"composeSMask",value:function(e){var t=e.layer,r=e.mask,n=e.properties;return u.composeSMask(t,r,n)}},{key:"drawFigures",value:function(e){var t=e.width,r=e.height,n=e.backgroundColor,i=e.figures,a=e.context;return u.drawFigures(t,r,n,i,a)}},{key:"clear",value:function(){u.cleanup()}},{key:"isEnabled",get:function(){var e=this._enabled;return e&&(e=u.tryInitGL()),(0,n.shadow)(this,"isEnabled",e)}}]),e}();t.WebGLContext=s;var u=function(){function e(e,t,r){var n=e.createShader(r);e.shaderSource(n,t),e.compileShader(n);var i=e.getShaderParameter(n,e.COMPILE_STATUS);if(!i){var a=e.getShaderInfoLog(n);throw new Error("Error during shader compilation: "+a)}return n}function t(t,r){return e(t,r,t.VERTEX_SHADER)}function r(t,r){return e(t,r,t.FRAGMENT_SHADER)}function n(e,t){for(var r=e.createProgram(),n=0,i=t.length;n<i;++n)e.attachShader(r,t[n]);e.linkProgram(r);var a=e.getProgramParameter(r,e.LINK_STATUS);if(!a){var o=e.getProgramInfoLog(r);throw new Error("Error during program linking: "+o)}return r}function i(e,t,r){e.activeTexture(r);var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),n}var a,o;function s(){a||(o=document.createElement("canvas"),a=o.getContext("webgl",{premultipliedalpha:!1}))}var u=" attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } ",c=" precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ",l=null;function f(){var e,i;s(),e=o,o=null,i=a,a=null;var f=t(i,u),h=r(i,c),d=n(i,[f,h]);i.useProgram(d);var p={};p.gl=i,p.canvas=e,p.resolutionLocation=i.getUniformLocation(d,"u_resolution"),p.positionLocation=i.getAttribLocation(d,"a_position"),p.backdropLocation=i.getUniformLocation(d,"u_backdrop"),p.subtypeLocation=i.getUniformLocation(d,"u_subtype");var v=i.getAttribLocation(d,"a_texCoord"),g=i.getUniformLocation(d,"u_image"),m=i.getUniformLocation(d,"u_mask"),y=i.createBuffer();i.bindBuffer(i.ARRAY_BUFFER,y),i.bufferData(i.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),i.STATIC_DRAW),i.enableVertexAttribArray(v),i.vertexAttribPointer(v,2,i.FLOAT,!1,0,0),i.uniform1i(g,0),i.uniform1i(m,1),l=p}function h(e,t,r){var n=e.width,a=e.height;l||f();var o=l,s=o.canvas,u=o.gl;s.width=n,s.height=a,u.viewport(0,0,u.drawingBufferWidth,u.drawingBufferHeight),u.uniform2f(o.resolutionLocation,n,a),r.backdrop?u.uniform4f(o.resolutionLocation,r.backdrop[0],r.backdrop[1],r.backdrop[2],1):u.uniform4f(o.resolutionLocation,0,0,0,0),u.uniform1i(o.subtypeLocation,"Luminosity"===r.subtype?1:0);var c=i(u,e,u.TEXTURE0),h=i(u,t,u.TEXTURE1),d=u.createBuffer();return u.bindBuffer(u.ARRAY_BUFFER,d),u.bufferData(u.ARRAY_BUFFER,new Float32Array([0,0,n,0,0,a,0,a,n,0,n,a]),u.STATIC_DRAW),u.enableVertexAttribArray(o.positionLocation),u.vertexAttribPointer(o.positionLocation,2,u.FLOAT,!1,0,0),u.clearColor(0,0,0,0),u.enable(u.BLEND),u.blendFunc(u.ONE,u.ONE_MINUS_SRC_ALPHA),u.clear(u.COLOR_BUFFER_BIT),u.drawArrays(u.TRIANGLES,0,6),u.flush(),u.deleteTexture(c),u.deleteTexture(h),u.deleteBuffer(d),s}var d=" attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } ",p=" precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ",v=null;function g(){var e,i;s(),e=o,o=null,i=a,a=null;var u=t(i,d),c=r(i,p),l=n(i,[u,c]);i.useProgram(l);var f={};f.gl=i,f.canvas=e,f.resolutionLocation=i.getUniformLocation(l,"u_resolution"),f.scaleLocation=i.getUniformLocation(l,"u_scale"),f.offsetLocation=i.getUniformLocation(l,"u_offset"),f.positionLocation=i.getAttribLocation(l,"a_position"),f.colorLocation=i.getAttribLocation(l,"a_color"),v=f}function m(e,t,r,n,i){v||g();var a=v,o=a.canvas,s=a.gl;o.width=e,o.height=t,s.viewport(0,0,s.drawingBufferWidth,s.drawingBufferHeight),s.uniform2f(a.resolutionLocation,e,t);var u,c,l,f=0;for(u=0,c=n.length;u<c;u++)switch(n[u].type){case"lattice":l=n[u].coords.length/n[u].verticesPerRow|0,f+=(l-1)*(n[u].verticesPerRow-1)*6;break;case"triangles":f+=n[u].coords.length;break}var h=new Float32Array(2*f),d=new Uint8Array(3*f),p=i.coords,m=i.colors,y=0,b=0;for(u=0,c=n.length;u<c;u++){var _=n[u],w=_.coords,S=_.colors;switch(_.type){case"lattice":var A=_.verticesPerRow;l=w.length/A|0;for(var x=1;x<l;x++)for(var k=x*A+1,P=1;P<A;P++,k++)h[y]=p[w[k-A-1]],h[y+1]=p[w[k-A-1]+1],h[y+2]=p[w[k-A]],h[y+3]=p[w[k-A]+1],h[y+4]=p[w[k-1]],h[y+5]=p[w[k-1]+1],d[b]=m[S[k-A-1]],d[b+1]=m[S[k-A-1]+1],d[b+2]=m[S[k-A-1]+2],d[b+3]=m[S[k-A]],d[b+4]=m[S[k-A]+1],d[b+5]=m[S[k-A]+2],d[b+6]=m[S[k-1]],d[b+7]=m[S[k-1]+1],d[b+8]=m[S[k-1]+2],h[y+6]=h[y+2],h[y+7]=h[y+3],h[y+8]=h[y+4],h[y+9]=h[y+5],h[y+10]=p[w[k]],h[y+11]=p[w[k]+1],d[b+9]=d[b+3],d[b+10]=d[b+4],d[b+11]=d[b+5],d[b+12]=d[b+6],d[b+13]=d[b+7],d[b+14]=d[b+8],d[b+15]=m[S[k]],d[b+16]=m[S[k]+1],d[b+17]=m[S[k]+2],y+=12,b+=18;break;case"triangles":for(var C=0,T=w.length;C<T;C++)h[y]=p[w[C]],h[y+1]=p[w[C]+1],d[b]=m[S[C]],d[b+1]=m[S[C]+1],d[b+2]=m[S[C]+2],y+=2,b+=3;break}}r?s.clearColor(r[0]/255,r[1]/255,r[2]/255,1):s.clearColor(0,0,0,0),s.clear(s.COLOR_BUFFER_BIT);var E=s.createBuffer();s.bindBuffer(s.ARRAY_BUFFER,E),s.bufferData(s.ARRAY_BUFFER,h,s.STATIC_DRAW),s.enableVertexAttribArray(a.positionLocation),s.vertexAttribPointer(a.positionLocation,2,s.FLOAT,!1,0,0);var R=s.createBuffer();return s.bindBuffer(s.ARRAY_BUFFER,R),s.bufferData(s.ARRAY_BUFFER,d,s.STATIC_DRAW),s.enableVertexAttribArray(a.colorLocation),s.vertexAttribPointer(a.colorLocation,3,s.UNSIGNED_BYTE,!1,0,0),s.uniform2f(a.scaleLocation,i.scaleX,i.scaleY),s.uniform2f(a.offsetLocation,i.offsetX,i.offsetY),s.drawArrays(s.TRIANGLES,0,f),s.flush(),s.deleteBuffer(E),s.deleteBuffer(R),o}return{tryInitGL:function(){try{return s(),!!a}catch(e){}return!1},composeSMask:h,drawFigures:m,cleanup:function(){l&&l.canvas&&(l.canvas.width=0,l.canvas.height=0),v&&v.canvas&&(v.canvas.width=0,v.canvas.height=0),l=null,v=null}}}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var n=r(1),i=a(r(3));function a(e){return e&&e.__esModule?e:{default:e}}var o=function(){var e=1e5,t=/\S/;function r(e){return!t.test(e)}function a(e,t,i){var a=document.createElement("span"),o={angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(e._textDivs.push(a),r(t.str))return o.isWhitespace=!0,void e._textDivProperties.set(a,o);var s=n.Util.transform(e._viewport.transform,t.transform),u=Math.atan2(s[1],s[0]),c=i[t.fontName];c.vertical&&(u+=Math.PI/2);var l,f,h=Math.sqrt(s[2]*s[2]+s[3]*s[3]),d=h;if(c.ascent?d=c.ascent*d:c.descent&&(d=(1+c.descent)*d),0===u?(l=s[4],f=s[5]-d):(l=s[4]+d*Math.sin(u),f=s[5]-d*Math.cos(u)),a.style.left="".concat(l,"px"),a.style.top="".concat(f,"px"),a.style.fontSize="".concat(h,"px"),a.style.fontFamily=c.fontFamily,a.textContent=t.str,e._fontInspectorEnabled&&(a.dataset.fontName=t.fontName),0!==u&&(o.angle=u*(180/Math.PI)),t.str.length>1&&(c.vertical?o.canvasWidth=t.height*e._viewport.scale:o.canvasWidth=t.width*e._viewport.scale),e._textDivProperties.set(a,o),e._textContentStream&&e._layoutText(a),e._enhanceTextSelection){var p=1,v=0;0!==u&&(p=Math.cos(u),v=Math.sin(u));var g,m,y=(c.vertical?t.height:t.width)*e._viewport.scale,b=h;0!==u?(g=[p,v,-v,p,l,f],m=n.Util.getAxialAlignedBoundingBox([0,0,y,b],g)):m=[l,f,l+y,f+b],e._bounds.push({left:m[0],top:m[1],right:m[2],bottom:m[3],div:a,size:[y,b],m:g})}}function o(t){if(!t._canceled){var r=t._textDivs,n=t._capability,i=r.length;if(i>e)return t._renderingDone=!0,void n.resolve();if(!t._textContentStream)for(var a=0;a<i;a++)t._layoutText(r[a]);t._renderingDone=!0,n.resolve()}}function s(e){for(var t=e._bounds,r=e._viewport,i=u(r.width,r.height,t),a=0;a<i.length;a++){var o=t[a].div,s=e._textDivProperties.get(o);if(0!==s.angle){var c=i[a],l=t[a],f=l.m,h=f[0],d=f[1],p=[[0,0],[0,l.size[1]],[l.size[0],0],l.size],v=new Float64Array(64);p.forEach((function(e,t){var r=n.Util.applyTransform(e,f);v[t+0]=h&&(c.left-r[0])/h,v[t+4]=d&&(c.top-r[1])/d,v[t+8]=h&&(c.right-r[0])/h,v[t+12]=d&&(c.bottom-r[1])/d,v[t+16]=d&&(c.left-r[0])/-d,v[t+20]=h&&(c.top-r[1])/h,v[t+24]=d&&(c.right-r[0])/-d,v[t+28]=h&&(c.bottom-r[1])/h,v[t+32]=h&&(c.left-r[0])/-h,v[t+36]=d&&(c.top-r[1])/-d,v[t+40]=h&&(c.right-r[0])/-h,v[t+44]=d&&(c.bottom-r[1])/-d,v[t+48]=d&&(c.left-r[0])/d,v[t+52]=h&&(c.top-r[1])/-h,v[t+56]=d&&(c.right-r[0])/d,v[t+60]=h&&(c.bottom-r[1])/-h}));var g=function(e,t,r){for(var n=0,i=0;i<r;i++){var a=e[t++];a>0&&(n=n?Math.min(a,n):a)}return n},m=1+Math.min(Math.abs(h),Math.abs(d));s.paddingLeft=g(v,32,16)/m,s.paddingTop=g(v,48,16)/m,s.paddingRight=g(v,0,16)/m,s.paddingBottom=g(v,16,16)/m,e._textDivProperties.set(o,s)}else s.paddingLeft=t[a].left-i[a].left,s.paddingTop=t[a].top-i[a].top,s.paddingRight=i[a].right-t[a].right,s.paddingBottom=i[a].bottom-t[a].bottom,e._textDivProperties.set(o,s)}}function u(e,t,r){var n=r.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));c(e,n);var i=new Array(r.length);return n.forEach((function(e){var t=e.index;i[t]={left:e.x1New,top:0,right:e.x2New,bottom:0}})),r.map((function(t,r){var a=i[r],o=n[r];o.x1=t.top,o.y1=e-a.right,o.x2=t.bottom,o.y2=e-a.left,o.index=r,o.x1New=void 0,o.x2New=void 0})),c(t,n),n.forEach((function(e){var t=e.index;i[t].top=e.x1New,i[t].bottom=e.x2New})),i}function c(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));var r={x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0},n=[{start:-1/0,end:1/0,boundary:r}];t.forEach((function(e){var t=0;while(t<n.length&&n[t].end<=e.y1)t++;var r,i,a=n.length-1;while(a>=0&&n[a].start>=e.y2)a--;var o,s,u=-1/0;for(o=t;o<=a;o++){var c;r=n[o],i=r.boundary,c=i.x2>e.x1?i.index>e.index?i.x1New:e.x1:void 0===i.x2New?(i.x2+e.x1)/2:i.x2New,c>u&&(u=c)}for(e.x1New=u,o=t;o<=a;o++)r=n[o],i=r.boundary,void 0===i.x2New?i.x2>e.x1?i.index>e.index&&(i.x2New=i.x2):i.x2New=u:i.x2New>u&&(i.x2New=Math.max(u,i.x2));var l=[],f=null;for(o=t;o<=a;o++){r=n[o],i=r.boundary;var h=i.x2>e.x2?i:e;f===h?l[l.length-1].end=r.end:(l.push({start:r.start,end:r.end,boundary:h}),f=h)}for(n[t].start<e.y1&&(l[0].start=e.y1,l.unshift({start:n[t].start,end:e.y1,boundary:n[t].boundary})),e.y2<n[a].end&&(l[l.length-1].end=e.y2,l.push({start:e.y2,end:n[a].end,boundary:n[a].boundary})),o=t;o<=a;o++)if(r=n[o],i=r.boundary,void 0===i.x2New){var d=!1;for(s=t-1;!d&&s>=0&&n[s].start>=i.y1;s--)d=n[s].boundary===i;for(s=a+1;!d&&s<n.length&&n[s].end<=i.y2;s++)d=n[s].boundary===i;for(s=0;!d&&s<l.length;s++)d=l[s].boundary===i;d||(i.x2New=u)}Array.prototype.splice.apply(n,[t,a-t+1].concat(l))})),n.forEach((function(t){var r=t.boundary;void 0===r.x2New&&(r.x2New=Math.max(e,r.x2))}))}function l(e){var t=this,r=e.textContent,a=e.textContentStream,o=e.container,s=e.viewport,u=e.textDivs,c=e.textContentItemsStr,l=e.enhanceTextSelection;this._textContent=r,this._textContentStream=a,this._container=o,this._viewport=s,this._textDivs=u||[],this._textContentItemsStr=c||[],this._enhanceTextSelection=!!l,this._fontInspectorEnabled=!(!i["default"].FontInspector||!i["default"].FontInspector.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,n.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise["finally"]((function(){t._layoutTextCtx&&(t._layoutTextCtx.canvas.width=0,t._layoutTextCtx.canvas.height=0,t._layoutTextCtx=null)}))["catch"]((function(){}))}function f(e){var t=new l({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}return l.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))},_processItems:function(e,t){for(var r=0,n=e.length;r<n;r++)this._textContentItemsStr.push(e[r].str),a(this,e[r],t)},_layoutText:function(e){var t=this._textDivProperties.get(e);if(!t.isWhitespace){var r="";if(0!==t.canvasWidth){var n=e.style,i=n.fontSize,a=n.fontFamily;i===this._layoutTextLastFontSize&&a===this._layoutTextLastFontFamily||(this._layoutTextCtx.font="".concat(i," ").concat(a),this._layoutTextLastFontSize=i,this._layoutTextLastFontFamily=a);var o=this._layoutTextCtx.measureText(e.textContent),s=o.width;s>0&&(t.scale=t.canvasWidth/s,r="scaleX(".concat(t.scale,")"))}0!==t.angle&&(r="rotate(".concat(t.angle,"deg) ").concat(r)),r.length>0&&(this._enhanceTextSelection&&(t.originalTransform=r),e.style.transform=r),this._textDivProperties.set(e,t),this._container.appendChild(e)}},_render:function(e){var t=this,r=(0,n.createPromiseCapability)(),i=Object.create(null),a=document.createElement("canvas");if(a.mozOpaque=!0,this._layoutTextCtx=a.getContext("2d",{alpha:!1}),this._textContent){var s=this._textContent.items,u=this._textContent.styles;this._processItems(s,u),r.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');var c=function e(){t._reader.read().then((function(n){var a=n.value,o=n.done;o?r.resolve():(Object.assign(i,a.styles),t._processItems(a.items,i),e())}),r.reject)};this._reader=this._textContentStream.getReader(),c()}r.promise.then((function(){i=null,e?t._renderTimer=setTimeout((function(){o(t),t._renderTimer=null}),e):o(t)}),this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(s(this),this._bounds=null);for(var t="0 0 0 0",r=[],n=[],i=0,a=this._textDivs.length;i<a;i++){var o=this._textDivs[i],u=this._textDivProperties.get(o);if(!u.isWhitespace)if(e){r.length=0,n.length=0,u.originalTransform&&r.push(u.originalTransform),u.paddingTop>0?(n.push("".concat(u.paddingTop,"px")),r.push("translateY(".concat(-u.paddingTop,"px)"))):n.push(0),u.paddingRight>0?n.push("".concat(u.paddingRight/u.scale,"px")):n.push(0),u.paddingBottom>0?n.push("".concat(u.paddingBottom,"px")):n.push(0),u.paddingLeft>0?(n.push("".concat(u.paddingLeft/u.scale,"px")),r.push("translateX(".concat(-u.paddingLeft/u.scale,"px)"))):n.push(0);var c=n.join(" ");c!==t&&(o.style.padding=c),r.length&&(o.style.transform=r.join(" "))}else o.style.padding=null,o.style.transform=u.originalTransform}}}},f}();t.renderTextLayer=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var n=r(183),i=r(1);function a(e,t,r){return a="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=o(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},a(e,t,r||e)}function o(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=f(e),null===e)break;return e}function s(e){return s="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},s(e)}function u(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}var m=function(){function e(){p(this,e)}return g(e,null,[{key:"create",value:function(e){var t=e.data.annotationType;switch(t){case i.AnnotationType.LINK:return new b(e);case i.AnnotationType.TEXT:return new _(e);case i.AnnotationType.WIDGET:var r=e.data.fieldType;switch(r){case"Tx":return new S(e);case"Btn":return e.data.radioButton?new x(e):e.data.checkBox?new A(e):new k(e);case"Ch":return new P(e)}return new w(e);case i.AnnotationType.POPUP:return new C(e);case i.AnnotationType.FREETEXT:return new E(e);case i.AnnotationType.LINE:return new R(e);case i.AnnotationType.SQUARE:return new L(e);case i.AnnotationType.CIRCLE:return new O(e);case i.AnnotationType.POLYLINE:return new I(e);case i.AnnotationType.CARET:return new N(e);case i.AnnotationType.INK:return new F(e);case i.AnnotationType.POLYGON:return new M(e);case i.AnnotationType.HIGHLIGHT:return new j(e);case i.AnnotationType.UNDERLINE:return new U(e);case i.AnnotationType.SQUIGGLY:return new D(e);case i.AnnotationType.STRIKEOUT:return new B(e);case i.AnnotationType.STAMP:return new q(e);case i.AnnotationType.FILEATTACHMENT:return new H(e);default:return new y(e)}}}]),e}(),y=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];p(this,e),this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,r&&(this.container=this._createContainer(n))}return g(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,r=this.page,n=this.viewport,a=document.createElement("section"),o=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];a.setAttribute("data-annotation-id",t.id);var u=i.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(a.style.transform="matrix(".concat(n.transform.join(","),")"),a.style.transformOrigin="-".concat(u[0],"px -").concat(u[1],"px"),!e&&t.borderStyle.width>0){a.style.borderWidth="".concat(t.borderStyle.width,"px"),t.borderStyle.style!==i.AnnotationBorderStyleType.UNDERLINE&&(o-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var c=t.borderStyle.horizontalCornerRadius,l=t.borderStyle.verticalCornerRadius;if(c>0||l>0){var f="".concat(c,"px / ").concat(l,"px");a.style.borderRadius=f}switch(t.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:a.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:a.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:a.style.borderBottomStyle="solid";break;default:break}t.color?a.style.borderColor=i.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):a.style.borderWidth=0}return a.style.left="".concat(u[0],"px"),a.style.top="".concat(u[1],"px"),a.style.width="".concat(o,"px"),a.style.height="".concat(s,"px"),a}},{key:"_createPopup",value:function(e,t,r){t||(t=document.createElement("div"),t.style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var n=new T({container:e,trigger:t,color:r.color,title:r.title,modificationDate:r.modificationDate,contents:r.contents,hideWrapper:!0}),i=n.render();i.style.left=e.style.width,e.appendChild(i)}},{key:"render",value:function(){(0,i.unreachable)("Abstract method `AnnotationElement.render` called")}}]),e}(),b=function(e){function t(e){p(this,t);var r=!!(e.data.url||e.data.dest||e.data.action);return u(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="linkAnnotation";var e=this.data,t=this.linkService,r=document.createElement("a");return e.url?(0,n.addLinkAttributes)(r,{url:e.url,target:e.newWindow?n.LinkTarget.BLANK:t.externalLinkTarget,rel:t.externalLinkRel,enabled:t.externalLinkEnabled}):e.action?this._bindNamedAction(r,e.action):this._bindLink(r,e.dest),this.container.appendChild(r),this.container}},{key:"_bindLink",value:function(e,t){var r=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&r.linkService.navigateTo(t),!1},t&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return r.linkService.executeNamedAction(t),!1},e.className="internalLink"}}]),t}(y),_=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}]),t}(y),w=function(e){function t(){return p(this,t),u(this,f(t).apply(this,arguments))}return h(t,e),g(t,[{key:"render",value:function(){return this.container}}]),t}(y),S=function(e){function t(e){p(this,t);var r=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;return u(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){var e=["left","center","right"];this.container.className="textWidgetAnnotation";var t=null;if(this.renderInteractiveForms){if(this.data.multiLine?(t=document.createElement("textarea"),t.textContent=this.data.fieldValue):(t=document.createElement("input"),t.type="text",t.setAttribute("value",this.data.fieldValue)),t.disabled=this.data.readOnly,null!==this.data.maxLen&&(t.maxLength=this.data.maxLen),this.data.comb){var r=this.data.rect[2]-this.data.rect[0],n=r/this.data.maxLen;t.classList.add("comb"),t.style.letterSpacing="calc(".concat(n,"px - 1ch)")}}else{t=document.createElement("div"),t.textContent=this.data.fieldValue,t.style.verticalAlign="middle",t.style.display="table-cell";var i=null;this.data.fontRefName&&this.page.commonObjs.has(this.data.fontRefName)&&(i=this.page.commonObjs.get(this.data.fontRefName)),this._setTextStyle(t,i)}return null!==this.data.textAlignment&&(t.style.textAlign=e[this.data.textAlignment]),this.container.appendChild(t),this.container}},{key:"_setTextStyle",value:function(e,t){var r=e.style;if(r.fontSize="".concat(this.data.fontSize,"px"),r.direction=this.data.fontDirection<0?"rtl":"ltr",t){r.fontWeight=t.black?t.bold?"900":"bold":t.bold?"bold":"normal",r.fontStyle=t.italic?"italic":"normal";var n=t.loadedName?'"'.concat(t.loadedName,'", '):"",i=t.fallbackName||"Helvetica, sans-serif";r.fontFamily=n+i}}}]),t}(w),A=function(e){function t(e){return p(this,t),u(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(w),x=function(e){function t(e){return p(this,t),u(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(w),k=function(e){function t(){return p(this,t),u(this,f(t).apply(this,arguments))}return h(t,e),g(t,[{key:"render",value:function(){var e=a(f(t.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",e}}]),t}(b),P=function(e){function t(e){return p(this,t),u(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,this.data.combo||(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));var t=!0,r=!1,n=void 0;try{for(var i,a=this.data.options[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value,s=document.createElement("option");s.textContent=o.displayValue,s.value=o.exportValue,this.data.fieldValue.includes(o.displayValue)&&s.setAttribute("selected",!0),e.appendChild(s)}}catch(u){r=!0,n=u}finally{try{t||null==a["return"]||a["return"]()}finally{if(r)throw n}}return this.container.appendChild(e),this.container}}]),t}(w),C=function(e){function t(e){p(this,t);var r=!(!e.data.title&&!e.data.contents);return u(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){var e=["Line","Square","Circle","PolyLine","Polygon","Ink"];if(this.container.className="popupAnnotation",e.includes(this.data.parentType))return this.container;var t='[data-annotation-id="'.concat(this.data.parentId,'"]'),r=this.layer.querySelector(t);if(!r)return this.container;var n=new T({container:this.container,trigger:r,color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),i=parseFloat(r.style.left),a=parseFloat(r.style.width);return this.container.style.transformOrigin="-".concat(i+a,"px -").concat(r.style.top),this.container.style.left="".concat(i+a,"px"),this.container.appendChild(n.render()),this.container}}]),t}(y),T=function(){function e(t){p(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.modificationDate=t.modificationDate,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return g(e,[{key:"render",value:function(){var e=.7,t=document.createElement("div");t.className="popupWrapper",this.hideElement=this.hideWrapper?t:this.container,this.hideElement.setAttribute("hidden",!0);var r=document.createElement("div");r.className="popup";var a=this.color;if(a){var o=e*(255-a[0])+a[0],s=e*(255-a[1])+a[1],u=e*(255-a[2])+a[2];r.style.backgroundColor=i.Util.makeCssRgb(0|o,0|s,0|u)}var c=document.createElement("h1");c.textContent=this.title,r.appendChild(c);var l=n.PDFDateString.toDateObject(this.modificationDate);if(l){var f=document.createElement("span");f.textContent="{{date}}, {{time}}",f.dataset.l10nId="annotation_date_string",f.dataset.l10nArgs=JSON.stringify({date:l.toLocaleDateString(),time:l.toLocaleTimeString()}),r.appendChild(f)}var h=this._formatContents(this.contents);return r.appendChild(h),this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),r.addEventListener("click",this._hide.bind(this,!0)),t.appendChild(r),t}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),r=e.split(/(?:\r\n?|\n)/),n=0,i=r.length;n<i;++n){var a=r[n];t.appendChild(document.createTextNode(a)),n<i-1&&t.appendChild(document.createElement("br"))}return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),e}(),E=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),R=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width),i.setAttribute("stroke","transparent"),n.appendChild(i),this.container.append(n),this._createPopup(this.container,i,e),this.container}}]),t}(y),L=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,a=this.svgFactory.createElement("svg:rect");return a.setAttribute("x",i/2),a.setAttribute("y",i/2),a.setAttribute("width",t-i),a.setAttribute("height",r-i),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),n.appendChild(a),this.container.append(n),this._createPopup(this.container,a,e),this.container}}]),t}(y),O=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,a=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",t/2),a.setAttribute("cy",r/2),a.setAttribute("rx",t/2-i/2),a.setAttribute("ry",r/2-i/2),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),n.appendChild(a),this.container.append(n),this._createPopup(this.container,a,e),this.container}}]),t}(y),I=function(e){function t(e){var r;p(this,t);var n=!!(e.data.hasPopup||e.data.title||e.data.contents);return r=u(this,f(t).call(this,e,n,!0)),r.containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className=this.containerClassName;var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=[],a=!0,o=!1,s=void 0;try{for(var u,c=e.vertices[Symbol.iterator]();!(a=(u=c.next()).done);a=!0){var l=u.value,f=l.x-e.rect[0],h=e.rect[3]-l.y;i.push(f+","+h)}}catch(p){o=!0,s=p}finally{try{a||null==c["return"]||c["return"]()}finally{if(o)throw s}}i=i.join(" ");var d=this.svgFactory.createElement(this.svgElementName);return d.setAttribute("points",i),d.setAttribute("stroke-width",e.borderStyle.width),d.setAttribute("stroke","transparent"),d.setAttribute("fill","none"),n.appendChild(d),this.container.append(n),this._createPopup(this.container,d,e),this.container}}]),t}(y),M=function(e){function t(e){var r;return p(this,t),r=u(this,f(t).call(this,e)),r.containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return h(t,e),t}(I),N=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),F=function(e){function t(e){var r;p(this,t);var n=!!(e.data.hasPopup||e.data.title||e.data.contents);return r=u(this,f(t).call(this,e,n,!0)),r.containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className=this.containerClassName;var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=!0,a=!1,o=void 0;try{for(var s,u=e.inkLists[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var c=s.value,l=[],f=!0,h=!1,d=void 0;try{for(var p,v=c[Symbol.iterator]();!(f=(p=v.next()).done);f=!0){var g=p.value,m=g.x-e.rect[0],y=e.rect[3]-g.y;l.push("".concat(m,",").concat(y))}}catch(_){h=!0,d=_}finally{try{f||null==v["return"]||v["return"]()}finally{if(h)throw d}}l=l.join(" ");var b=this.svgFactory.createElement(this.svgElementName);b.setAttribute("points",l),b.setAttribute("stroke-width",e.borderStyle.width),b.setAttribute("stroke","transparent"),b.setAttribute("fill","none"),this._createPopup(this.container,b,e),n.appendChild(b)}}catch(_){a=!0,o=_}finally{try{i||null==u["return"]||u["return"]()}finally{if(a)throw o}}return this.container.append(n),this.container}}]),t}(y),j=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),U=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),D=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),B=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),q=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return u(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),H=function(e){function t(e){var r;p(this,t),r=u(this,f(t).call(this,e,!0));var a=r.data.file,o=a.filename,s=a.content;return r.filename=(0,n.getFilenameFromUrl)(o),r.content=s,r.linkService.eventBus&&r.linkService.eventBus.dispatch("fileattachmentannotation",{source:l(r),id:(0,i.stringToPDFString)(o),filename:o,content:s}),r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){this.downloadManager?this.downloadManager.downloadData(this.content,this.filename,""):(0,i.warn)("Download cannot be started due to unavailable download manager")}}]),t}(y),V=function(){function e(){p(this,e)}return g(e,null,[{key:"render",value:function(e){var t=!0,r=!1,i=void 0;try{for(var a,o=e.annotations[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var s=a.value;if(s){var u=m.create({data:s,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderInteractiveForms:e.renderInteractiveForms||!1,svgFactory:new n.DOMSVGFactory});u.isRenderable&&e.div.appendChild(u.render())}}}catch(c){r=!0,i=c}finally{try{t||null==o["return"]||o["return"]()}finally{if(r)throw i}}}},{key:"update",value:function(e){var t=!0,r=!1,n=void 0;try{for(var i,a=e.annotations[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value,s=e.div.querySelector('[data-annotation-id="'.concat(o.id,'"]'));s&&(s.style.transform="matrix(".concat(e.viewport.transform.join(","),")"))}}catch(u){r=!0,n=u}finally{try{t||null==a["return"]||a["return"]()}finally{if(r)throw n}}e.div.removeAttribute("hidden")}}]),e}();t.AnnotationLayer=V},function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.SVGGraphics=void 0;var o=a(1),s=a(183),u=c(a(4));function c(e){return e&&e.__esModule?e:{default:e}}function l(e){return d(e)||h(e)||f()}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function h(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function d(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function p(e,t){return m(e)||g(e,t)||v()}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function g(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(r.push(o.value),t&&r.length===t)break}catch(u){i=!0,a=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return r}}function m(e){if(Array.isArray(e))return e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}var w=function(){throw new Error("Not implemented: SVGGraphics")};n.SVGGraphics=w;var S=function(e){var t=[],r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var u=o.value;"save"!==u.fn?"restore"===u.fn?t=r.pop():t.push(u):(t.push({fnId:92,fn:"group",items:[]}),r.push(t),t=t[t.length-1].items)}}catch(c){i=!0,a=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return t},A=function(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do{r--}while("0"===t[r]);return t.substring(0,"."===t[r]?r:r+1)},x=function(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(A(e[0])," ").concat(A(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){var t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(A(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(A(e[4])," ").concat(A(e[5]),")");return"matrix(".concat(A(e[0])," ").concat(A(e[1])," ").concat(A(e[2])," ").concat(A(e[3])," ").concat(A(e[4])," ")+"".concat(A(e[5]),")")},k={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},P="http://www.w3.org/XML/1998/namespace",C="http://www.w3.org/1999/xlink",T=["butt","round","square"],E=["miter","round","bevel"],R=function(){for(var t=new Uint8Array([137,80,78,71,13,10,26,10]),n=12,a=new Int32Array(256),s=0;s<256;s++){for(var c=s,l=0;l<8;l++)c=1&c?3988292384^c>>1&2147483647:c>>1&2147483647;a[s]=c}function f(e,t,r){for(var n=-1,i=t;i<r;i++){var o=255&(n^e[i]),s=a[o];n=n>>>8^s}return-1^n}function h(e,t,r,n){var i=n,a=t.length;r[i]=a>>24&255,r[i+1]=a>>16&255,r[i+2]=a>>8&255,r[i+3]=255&a,i+=4,r[i]=255&e.charCodeAt(0),r[i+1]=255&e.charCodeAt(1),r[i+2]=255&e.charCodeAt(2),r[i+3]=255&e.charCodeAt(3),i+=4,r.set(t,i),i+=t.length;var o=f(r,n+4,i);r[i]=o>>24&255,r[i+1]=o>>16&255,r[i+2]=o>>8&255,r[i+3]=255&o}function d(e,t,r){for(var n=1,i=0,a=t;a<r;++a)n=(n+(255&e[a]))%65521,i=(i+n)%65521;return i<<16|n}function p(t){if(!(0,u["default"])())return v(t);try{var n;n=parseInt(i.versions.node)>=8?t:new e(t);var a=r(0).deflateSync(n,{level:9});return a instanceof Uint8Array?a:new Uint8Array(a)}catch(s){(0,o.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+s)}return v(t)}function v(e){var t=e.length,r=65535,n=Math.ceil(t/r),i=new Uint8Array(2+t+5*n+4),a=0;i[a++]=120,i[a++]=156;var o=0;while(t>r)i[a++]=0,i[a++]=255,i[a++]=255,i[a++]=0,i[a++]=0,i.set(e.subarray(o,o+r),a),a+=r,o+=r,t-=r;i[a++]=1,i[a++]=255&t,i[a++]=t>>8&255,i[a++]=255&~t,i[a++]=(65535&~t)>>8&255,i.set(e.subarray(o),a),a+=e.length-o;var s=d(e,0,e.length);return i[a++]=s>>24&255,i[a++]=s>>16&255,i[a++]=s>>8&255,i[a++]=255&s,i}function g(e,r,i,a){var s,u,c,l=e.width,f=e.height,d=e.data;switch(r){case o.ImageKind.GRAYSCALE_1BPP:u=0,s=1,c=l+7>>3;break;case o.ImageKind.RGB_24BPP:u=2,s=8,c=3*l;break;case o.ImageKind.RGBA_32BPP:u=6,s=8,c=4*l;break;default:throw new Error("invalid format")}for(var v=new Uint8Array((1+c)*f),g=0,m=0,y=0;y<f;++y)v[g++]=0,v.set(d.subarray(m,m+c),g),m+=c,g+=c;if(r===o.ImageKind.GRAYSCALE_1BPP&&a){g=0;for(var b=0;b<f;b++){g++;for(var _=0;_<c;_++)v[g++]^=255}}var w=new Uint8Array([l>>24&255,l>>16&255,l>>8&255,255&l,f>>24&255,f>>16&255,f>>8&255,255&f,s,u,0,0,0]),S=p(v),A=t.length+3*n+w.length+S.length,x=new Uint8Array(A),k=0;return x.set(t,k),k+=t.length,h("IHDR",w,x,k),k+=n+w.length,h("IDATA",S,x,k),k+=n+S.length,h("IEND",new Uint8Array(0),x,k),(0,o.createObjectURL)(x,"image/png",i)}return function(e,t,r){var n=void 0===e.kind?o.ImageKind.GRAYSCALE_1BPP:e.kind;return g(e,n,t,r)}}(),L=function(){function e(){y(this,e),this.fontSizeScale=1,this.fontWeight=k.fontWeight,this.fontSize=0,this.textMatrix=o.IDENTITY_MATRIX,this.fontMatrix=o.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=o.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=k.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return _(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),O=0,I=0,M=0;n.SVGGraphics=w=function(){function e(t,r,n){for(var i in y(this,e),this.svgFactory=new s.DOMSVGFactory,this.current=new L,this.transformMatrix=o.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=r,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!n,this._operatorIdMapping=[],o.OPS)this._operatorIdMapping[o.OPS[i]]=i}return _(e,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(e){this.save(),this.executeOpTree(e),this.restore()}},{key:"loadDependencies",value:function(e){for(var t=this,r=e.fnArray,n=e.argsArray,i=0,a=r.length;i<a;i++)if(r[i]===o.OPS.dependency){var s=!0,u=!1,c=void 0;try{for(var l,f=function(){var e=l.value,r=e.startsWith("g_")?t.commonObjs:t.objs,n=new Promise((function(t){r.get(e,t)}));t.current.dependencies.push(n)},h=n[i][Symbol.iterator]();!(s=(l=h.next()).done);s=!0)f()}catch(d){u=!0,c=d}finally{try{s||null==h["return"]||h["return"]()}finally{if(u)throw c}}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(e,t,r,n,i,a){var s=[e,t,r,n,i,a];this.transformMatrix=o.Util.transform(this.transformMatrix,s),this.tgrp=null}},{key:"getSVG",value:function(e,t){var r=this;this.viewport=t;var n=this._initialize(t);return this.loadDependencies(e).then((function(){return r.transformMatrix=o.IDENTITY_MATRIX,r.executeOpTree(r.convertOpList(e)),n}))}},{key:"convertOpList",value:function(e){for(var t=this._operatorIdMapping,r=e.argsArray,n=e.fnArray,i=[],a=0,o=n.length;a<o;a++){var s=n[a];i.push({fnId:s,fn:t[s],args:r[a]})}return S(i)}},{key:"executeOpTree",value:function(e){var t=!0,r=!1,n=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,u=s.fn,c=s.fnId,l=s.args;switch(0|c){case o.OPS.beginText:this.beginText();break;case o.OPS.dependency:break;case o.OPS.setLeading:this.setLeading(l);break;case o.OPS.setLeadingMoveText:this.setLeadingMoveText(l[0],l[1]);break;case o.OPS.setFont:this.setFont(l);break;case o.OPS.showText:this.showText(l[0]);break;case o.OPS.showSpacedText:this.showText(l[0]);break;case o.OPS.endText:this.endText();break;case o.OPS.moveText:this.moveText(l[0],l[1]);break;case o.OPS.setCharSpacing:this.setCharSpacing(l[0]);break;case o.OPS.setWordSpacing:this.setWordSpacing(l[0]);break;case o.OPS.setHScale:this.setHScale(l[0]);break;case o.OPS.setTextMatrix:this.setTextMatrix(l[0],l[1],l[2],l[3],l[4],l[5]);break;case o.OPS.setTextRise:this.setTextRise(l[0]);break;case o.OPS.setTextRenderingMode:this.setTextRenderingMode(l[0]);break;case o.OPS.setLineWidth:this.setLineWidth(l[0]);break;case o.OPS.setLineJoin:this.setLineJoin(l[0]);break;case o.OPS.setLineCap:this.setLineCap(l[0]);break;case o.OPS.setMiterLimit:this.setMiterLimit(l[0]);break;case o.OPS.setFillRGBColor:this.setFillRGBColor(l[0],l[1],l[2]);break;case o.OPS.setStrokeRGBColor:this.setStrokeRGBColor(l[0],l[1],l[2]);break;case o.OPS.setStrokeColorN:this.setStrokeColorN(l);break;case o.OPS.setFillColorN:this.setFillColorN(l);break;case o.OPS.shadingFill:this.shadingFill(l[0]);break;case o.OPS.setDash:this.setDash(l[0],l[1]);break;case o.OPS.setRenderingIntent:this.setRenderingIntent(l[0]);break;case o.OPS.setFlatness:this.setFlatness(l[0]);break;case o.OPS.setGState:this.setGState(l[0]);break;case o.OPS.fill:this.fill();break;case o.OPS.eoFill:this.eoFill();break;case o.OPS.stroke:this.stroke();break;case o.OPS.fillStroke:this.fillStroke();break;case o.OPS.eoFillStroke:this.eoFillStroke();break;case o.OPS.clip:this.clip("nonzero");break;case o.OPS.eoClip:this.clip("evenodd");break;case o.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case o.OPS.paintJpegXObject:this.paintJpegXObject(l[0],l[1],l[2]);break;case o.OPS.paintImageXObject:this.paintImageXObject(l[0]);break;case o.OPS.paintInlineImageXObject:this.paintInlineImageXObject(l[0]);break;case o.OPS.paintImageMaskXObject:this.paintImageMaskXObject(l[0]);break;case o.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(l[0],l[1]);break;case o.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case o.OPS.closePath:this.closePath();break;case o.OPS.closeStroke:this.closeStroke();break;case o.OPS.closeFillStroke:this.closeFillStroke();break;case o.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case o.OPS.nextLine:this.nextLine();break;case o.OPS.transform:this.transform(l[0],l[1],l[2],l[3],l[4],l[5]);break;case o.OPS.constructPath:this.constructPath(l[0],l[1]);break;case o.OPS.endPath:this.endPath();break;case 92:this.group(s.items);break;default:(0,o.warn)("Unimplemented operator ".concat(u));break}}}catch(f){r=!0,n=f}finally{try{t||null==a["return"]||a["return"]()}finally{if(r)throw n}}}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(e,t,r,n,i,a){var o=this.current;o.textMatrix=o.lineMatrix=[e,t,r,n,i,a],o.textMatrixScale=Math.sqrt(e*e+t*t),o.x=o.lineX=0,o.y=o.lineY=0,o.xcoords=[],o.tspan=this.svgFactory.createElement("svg:tspan"),o.tspan.setAttributeNS(null,"font-family",o.fontFamily),o.tspan.setAttributeNS(null,"font-size","".concat(A(o.fontSize),"px")),o.tspan.setAttributeNS(null,"y",A(-o.y)),o.txtElement=this.svgFactory.createElement("svg:text"),o.txtElement.appendChild(o.tspan)}},{key:"beginText",value:function(){var e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=o.IDENTITY_MATRIX,e.lineMatrix=o.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[]}},{key:"moveText",value:function(e,t){var r=this.current;r.x=r.lineX+=e,r.y=r.lineY+=t,r.xcoords=[],r.tspan=this.svgFactory.createElement("svg:tspan"),r.tspan.setAttributeNS(null,"font-family",r.fontFamily),r.tspan.setAttributeNS(null,"font-size","".concat(A(r.fontSize),"px")),r.tspan.setAttributeNS(null,"y",A(-r.y))}},{key:"showText",value:function(e){var t=this.current,r=t.font,n=t.fontSize;if(0!==n){var i=t.charSpacing,a=t.wordSpacing,s=t.fontDirection,u=t.textHScale*s,c=r.vertical,l=n*t.fontMatrix[0],f=0,h=!0,d=!1,p=void 0;try{for(var v,g=e[Symbol.iterator]();!(h=(v=g.next()).done);h=!0){var m=v.value;if(null!==m)if((0,o.isNum)(m))f+=-m*n*.001;else{var y=m.width,b=m.fontChar,_=(m.isSpace?a:0)+i,w=y*l+_*s;m.isInFont||r.missingFile?(t.xcoords.push(t.x+f*u),t.tspan.textContent+=b,f+=w):f+=w}else f+=s*a}}catch(E){d=!0,p=E}finally{try{h||null==g["return"]||g["return"]()}finally{if(d)throw p}}c?t.y-=f*u:t.x+=f*u,t.tspan.setAttributeNS(null,"x",t.xcoords.map(A).join(" ")),t.tspan.setAttributeNS(null,"y",A(-t.y)),t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(A(t.fontSize),"px")),t.fontStyle!==k.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==k.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);var S=t.textRenderingMode&o.TextRenderingMode.FILL_STROKE_MASK;if(S===o.TextRenderingMode.FILL||S===o.TextRenderingMode.FILL_STROKE?(t.fillColor!==k.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===o.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),S===o.TextRenderingMode.STROKE||S===o.TextRenderingMode.FILL_STROKE){var C=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,C)}var T=t.textMatrix;0!==t.textRise&&(T=T.slice(),T[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(x(T)," scale(1, -1)")),t.txtElement.setAttributeNS(P,"xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"addFontStyle",value:function(e){this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,o.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}},{key:"setFont",value:function(e){var t=this.current,r=this.commonObjs.get(e[0]),n=e[1];t.font=r,this.embedFonts&&r.data&&!this.embeddedFonts[r.loadedName]&&(this.addFontStyle(r),this.embeddedFonts[r.loadedName]=r),t.fontMatrix=r.fontMatrix?r.fontMatrix:o.FONT_IDENTITY_MATRIX;var i=r.black?r.bold?"bolder":"bold":r.bold?"bold":"normal",a=r.italic?"italic":"normal";n<0?(n=-n,t.fontDirection=-1):t.fontDirection=1,t.fontSize=n,t.fontFamily=r.loadedName,t.fontWeight=i,t.fontStyle=a,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",A(-t.y)),t.xcoords=[]}},{key:"endText",value:function(){var e=this.current;e.textRenderingMode&o.TextRenderingMode.ADD_TO_PATH_FLAG&&e.txtElement&&e.txtElement.hasChildNodes()&&(e.element=e.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(e){e>0&&(this.current.lineWidth=e)}},{key:"setLineCap",value:function(e){this.current.lineCap=T[e]}},{key:"setLineJoin",value:function(e){this.current.lineJoin=E[e]}},{key:"setMiterLimit",value:function(e){this.current.miterLimit=e}},{key:"setStrokeAlpha",value:function(e){this.current.strokeAlpha=e}},{key:"setStrokeRGBColor",value:function(e,t,r){this.current.strokeColor=o.Util.makeCssRgb(e,t,r)}},{key:"setFillAlpha",value:function(e){this.current.fillAlpha=e}},{key:"setFillRGBColor",value:function(e,t,r){this.current.fillColor=o.Util.makeCssRgb(e,t,r),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[]}},{key:"setStrokeColorN",value:function(e){this.current.strokeColor=this._makeColorN_Pattern(e)}},{key:"setFillColorN",value:function(e){this.current.fillColor=this._makeColorN_Pattern(e)}},{key:"shadingFill",value:function(e){var t=this.viewport.width,r=this.viewport.height,n=o.Util.inverseTransform(this.transformMatrix),i=o.Util.applyTransform([0,0],n),a=o.Util.applyTransform([0,r],n),s=o.Util.applyTransform([t,0],n),u=o.Util.applyTransform([t,r],n),c=Math.min(i[0],a[0],s[0],u[0]),l=Math.min(i[1],a[1],s[1],u[1]),f=Math.max(i[0],a[0],s[0],u[0]),h=Math.max(i[1],a[1],s[1],u[1]),d=this.svgFactory.createElement("svg:rect");d.setAttributeNS(null,"x",c),d.setAttributeNS(null,"y",l),d.setAttributeNS(null,"width",f-c),d.setAttributeNS(null,"height",h-l),d.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this._ensureTransformGroup().appendChild(d)}},{key:"_makeColorN_Pattern",value:function(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}},{key:"_makeTilingPattern",value:function(e){var t=e[1],r=e[2],n=e[3]||o.IDENTITY_MATRIX,i=p(e[4],4),a=i[0],s=i[1],u=i[2],c=i[3],f=e[5],h=e[6],d=e[7],v="shading".concat(M++),g=o.Util.applyTransform([a,s],n),m=p(g,2),y=m[0],b=m[1],_=o.Util.applyTransform([u,c],n),w=p(_,2),S=w[0],A=w[1],x=o.Util.singularValueDecompose2dScale(n),k=p(x,2),P=k[0],C=k[1],T=f*P,E=h*C,R=this.svgFactory.createElement("svg:pattern");R.setAttributeNS(null,"id",v),R.setAttributeNS(null,"patternUnits","userSpaceOnUse"),R.setAttributeNS(null,"width",T),R.setAttributeNS(null,"height",E),R.setAttributeNS(null,"x","".concat(y)),R.setAttributeNS(null,"y","".concat(b));var L=this.svg,O=this.transformMatrix,I=this.current.fillColor,N=this.current.strokeColor,F=this.svgFactory.create(S-y,A-b);if(this.svg=F,this.transformMatrix=n,2===d){var j=o.Util.makeCssRgb.apply(o.Util,l(t));this.current.fillColor=j,this.current.strokeColor=j}return this.executeOpTree(this.convertOpList(r)),this.svg=L,this.transformMatrix=O,this.current.fillColor=I,this.current.strokeColor=N,R.appendChild(F.childNodes[0]),this.defs.appendChild(R),"url(#".concat(v,")")}},{key:"_makeShadingPattern",value:function(e){switch(e[0]){case"RadialAxial":var t,r="shading".concat(M++),n=e[2];switch(e[1]){case"axial":var i=e[3],a=e[4];t=this.svgFactory.createElement("svg:linearGradient"),t.setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",i[0]),t.setAttributeNS(null,"y1",i[1]),t.setAttributeNS(null,"x2",a[0]),t.setAttributeNS(null,"y2",a[1]);break;case"radial":var s=e[3],u=e[4],c=e[5],l=e[6];t=this.svgFactory.createElement("svg:radialGradient"),t.setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",u[0]),t.setAttributeNS(null,"cy",u[1]),t.setAttributeNS(null,"r",l),t.setAttributeNS(null,"fx",s[0]),t.setAttributeNS(null,"fy",s[1]),t.setAttributeNS(null,"fr",c);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}var f=!0,h=!1,d=void 0;try{for(var p,v=n[Symbol.iterator]();!(f=(p=v.next()).done);f=!0){var g=p.value,m=this.svgFactory.createElement("svg:stop");m.setAttributeNS(null,"offset",g[0]),m.setAttributeNS(null,"stop-color",g[1]),t.appendChild(m)}}catch(y){h=!0,d=y}finally{try{f||null==v["return"]||v["return"]()}finally{if(h)throw d}}return this.defs.appendChild(t),"url(#".concat(r,")");case"Mesh":return(0,o.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}},{key:"setDash",value:function(e,t){this.current.dashArray=e,this.current.dashPhase=t}},{key:"constructPath",value:function(e,t){var r=this.current,n=r.x,i=r.y,a=[],s=0,u=!0,c=!1,l=void 0;try{for(var f,h=e[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var d=f.value;switch(0|d){case o.OPS.rectangle:n=t[s++],i=t[s++];var p=t[s++],v=t[s++],g=n+p,m=i+v;a.push("M",A(n),A(i),"L",A(g),A(i),"L",A(g),A(m),"L",A(n),A(m),"Z");break;case o.OPS.moveTo:n=t[s++],i=t[s++],a.push("M",A(n),A(i));break;case o.OPS.lineTo:n=t[s++],i=t[s++],a.push("L",A(n),A(i));break;case o.OPS.curveTo:n=t[s+4],i=t[s+5],a.push("C",A(t[s]),A(t[s+1]),A(t[s+2]),A(t[s+3]),A(n),A(i)),s+=6;break;case o.OPS.curveTo2:n=t[s+2],i=t[s+3],a.push("C",A(n),A(i),A(t[s]),A(t[s+1]),A(t[s+2]),A(t[s+3])),s+=4;break;case o.OPS.curveTo3:n=t[s+2],i=t[s+3],a.push("C",A(t[s]),A(t[s+1]),A(n),A(i),A(n),A(i)),s+=4;break;case o.OPS.closePath:a.push("Z");break}}}catch(y){c=!0,l=y}finally{try{u||null==h["return"]||h["return"]()}finally{if(c)throw l}}a=a.join(" "),r.path&&e.length>0&&e[0]!==o.OPS.rectangle&&e[0]!==o.OPS.moveTo?a=r.path.getAttributeNS(null,"d")+a:(r.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(r.path)),r.path.setAttributeNS(null,"d",a),r.path.setAttributeNS(null,"fill","none"),r.element=r.path,r.setCurrentPoint(n,i)}},{key:"endPath",value:function(){var e=this.current;if(e.path=null,this.pendingClip)if(e.element){var t="clippath".concat(O++),r=this.svgFactory.createElement("svg:clipPath");r.setAttributeNS(null,"id",t),r.setAttributeNS(null,"transform",x(this.transformMatrix));var n=e.element.cloneNode(!0);"evenodd"===this.pendingClip?n.setAttributeNS(null,"clip-rule","evenodd"):n.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,r.appendChild(n),this.defs.appendChild(r),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach((function(e){e.clipGroup=null})),r.setAttributeNS(null,"clip-path",e.activeClipUrl)),e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(e){this.pendingClip=e}},{key:"closePath",value:function(){var e=this.current;if(e.path){var t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){var t=!0,r=!1,n=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=p(i.value,2),u=s[0],c=s[1];switch(u){case"LW":this.setLineWidth(c);break;case"LC":this.setLineCap(c);break;case"LJ":this.setLineJoin(c);break;case"ML":this.setMiterLimit(c);break;case"D":this.setDash(c[0],c[1]);break;case"RI":this.setRenderingIntent(c);break;case"FL":this.setFlatness(c);break;case"Font":this.setFont(c);break;case"CA":this.setStrokeAlpha(c);break;case"ca":this.setFillAlpha(c);break;default:(0,o.warn)("Unimplemented graphic state operator ".concat(u));break}}}catch(l){r=!0,n=l}finally{try{t||null==a["return"]||a["return"]()}finally{if(r)throw n}}}},{key:"fill",value:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.current,n=r.dashArray;1!==t&&n.length>0&&(n=n.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",r.strokeColor),e.setAttributeNS(null,"stroke-opacity",r.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",A(r.miterLimit)),e.setAttributeNS(null,"stroke-linecap",r.lineCap),e.setAttributeNS(null,"stroke-linejoin",r.lineJoin),e.setAttributeNS(null,"stroke-width",A(t*r.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",n.map(A).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",A(t*r.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}},{key:"paintJpegXObject",value:function(e,t,r){var n=this.objs.get(e),i=this.svgFactory.createElement("svg:image");i.setAttributeNS(C,"xlink:href",n.src),i.setAttributeNS(null,"width",A(t)),i.setAttributeNS(null,"height",A(r)),i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y",A(-r)),i.setAttributeNS(null,"transform","scale(".concat(A(1/t)," ").concat(A(-1/r),")")),this._ensureTransformGroup().appendChild(i)}},{key:"paintImageXObject",value:function(e){var t=this.objs.get(e);t?this.paintInlineImageXObject(t):(0,o.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(e,t){var r=e.width,n=e.height,i=R(e,this.forceDataSchema,!!t),a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",A(r)),a.setAttributeNS(null,"height",A(n)),this.current.element=a,this.clip("nonzero");var o=this.svgFactory.createElement("svg:image");o.setAttributeNS(C,"xlink:href",i),o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y",A(-n)),o.setAttributeNS(null,"width",A(r)+"px"),o.setAttributeNS(null,"height",A(n)+"px"),o.setAttributeNS(null,"transform","scale(".concat(A(1/r)," ").concat(A(-1/n),")")),t?t.appendChild(o):this._ensureTransformGroup().appendChild(o)}},{key:"paintImageMaskXObject",value:function(e){var t=this.current,r=e.width,n=e.height,i=t.fillColor;t.maskId="mask".concat(I++);var a=this.svgFactory.createElement("svg:mask");a.setAttributeNS(null,"id",t.maskId);var o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",A(r)),o.setAttributeNS(null,"height",A(n)),o.setAttributeNS(null,"fill",i),o.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.appendChild(a),this._ensureTransformGroup().appendChild(o),this.paintInlineImageXObject(e,a)}},{key:"paintFormXObjectBegin",value:function(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){var r=t[2]-t[0],n=t[3]-t[1],i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x",t[0]),i.setAttributeNS(null,"y",t[1]),i.setAttributeNS(null,"width",A(r)),i.setAttributeNS(null,"height",A(n)),this.current.element=i,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(e){var t=this.svgFactory.create(e.width,e.height),r=this.svgFactory.createElement("svg:defs");t.appendChild(r),this.defs=r;var n=this.svgFactory.createElement("svg:g");return n.setAttributeNS(null,"transform",x(e.transform)),t.appendChild(n),this.svg=n,t}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",x(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var i=s(n(180)),a=n(1),o=n(198);function s(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="function"===typeof Symbol&&"symbol"===c(Symbol.iterator)?function(e){return c(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":c(e)},u(e)}function l(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function v(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function g(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){v(a,n,i,o,s,"next",e)}function s(e){v(a,n,i,o,s,"throw",e)}o(void 0)}))}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}var _=r(1),w=r(2),S=r(3),A=r("0b16"),x=/^file:\/\/\/[a-zA-Z]:\//;function k(e){var t=A.parse(e);return"file:"===t.protocol||t.host?t:/^[a-z]:[/\\]/i.test(e)?A.parse("file:///".concat(e)):(t.host||(t.protocol="file:"),t)}var P=function(){function e(t){m(this,e),this.source=t,this.url=k(t.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return b(e,[{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequestReader),this._fullRequestReader=this.isFsUrl?new O(this):new R(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=this.isFsUrl?new I(this,e,t):new L(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFNodeStream=P;var C=function(){function e(t){m(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;var r=t.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)(),this._headersCapability=(0,a.createPromiseCapability)()}return b(e,[{key:"read",value:function(){var e=g(i["default"].mark((function e(){var t,r;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(t=this._readableStream.read(),null!==t){e.next=10;break}return this._readCapability=(0,a.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),r=new Uint8Array(t).buffer,e.abrupt("return",{value:r,done:!1});case 14:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new a.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),T=function(){function e(t){m(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)();var r=t.source;this._isStreamingSupported=!r.disableStream}return b(e,[{key:"read",value:function(){var e=g(i["default"].mark((function e(){var t,r;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(t=this._readableStream.read(),null!==t){e.next=10;break}return this._readCapability=(0,a.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),r=new Uint8Array(t).buffer,e.abrupt("return",{value:r,done:!1});case 14:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();function E(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var R=function(e){function t(e){var r;m(this,t),r=l(this,h(t).call(this,e));var n=function(t){if(404===t.statusCode){var n=new a.MissingPDFException('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(t);var i=function(e){return r._readableStream.headers[e.toLowerCase()]},s=(0,o.validateRangeRequestCapabilities)({getResponseHeader:i,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),u=s.allowRangeRequests,c=s.suggestedLength;r._isRangeSupported=u,r._contentLength=c||r._contentLength,r._filename=(0,o.extractFilenameFromHeader)(i)};return r._request=null,"http:"===r._url.protocol?r._request=w.request(E(r._url,e.httpHeaders),n):r._request=S.request(E(r._url,e.httpHeaders),n),r._request.on("error",(function(e){r._storedError=e,r._headersCapability.reject(e)})),r._request.end(),r}return d(t,e),t}(C),L=function(e){function t(e,r,n){var i;for(var o in m(this,t),i=l(this,h(t).call(this,e)),i._httpHeaders={},e.httpHeaders){var s=e.httpHeaders[o];"undefined"!==typeof s&&(i._httpHeaders[o]=s)}i._httpHeaders["Range"]="bytes=".concat(r,"-").concat(n-1);var u=function(e){if(404!==e.statusCode)i._setReadableStream(e);else{var t=new a.MissingPDFException('Missing PDF "'.concat(i._url,'".'));i._storedError=t}};return i._request=null,"http:"===i._url.protocol?i._request=w.request(E(i._url,i._httpHeaders),u):i._request=S.request(E(i._url,i._httpHeaders),u),i._request.on("error",(function(e){i._storedError=e})),i._request.end(),i}return d(t,e),t}(T),O=function(e){function t(e){var r;m(this,t),r=l(this,h(t).call(this,e));var n=decodeURIComponent(r._url.path);return x.test(r._url.href)&&(n=n.replace(/^\//,"")),_.lstat(n,(function(e,t){if(e)return"ENOENT"===e.code&&(e=new a.MissingPDFException('Missing PDF "'.concat(n,'".'))),r._storedError=e,void r._headersCapability.reject(e);r._contentLength=t.size,r._setReadableStream(_.createReadStream(n)),r._headersCapability.resolve()})),r}return d(t,e),t}(C),I=function(e){function t(e,r,n){var i;m(this,t),i=l(this,h(t).call(this,e));var a=decodeURIComponent(i._url.path);return x.test(i._url.href)&&(a=a.replace(/^\//,"")),i._setReadableStream(_.createReadStream(a,{start:r,end:n-1})),i}return d(t,e),t}(T)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=s,t.extractFilenameFromHeader=o,t.validateRangeRequestCapabilities=a,t.validateResponseStatus=u;var n=r(1),i=r(199);function a(e){var t=e.getResponseHeader,r=e.isHttp,i=e.rangeChunkSize,a=e.disableRange;(0,n.assert)(i>0,"Range chunk size must be larger than zero");var o={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(t("Content-Length"),10);if(!Number.isInteger(s))return o;if(o.suggestedLength=s,s<=2*i)return o;if(a||!r)return o;if("bytes"!==t("Accept-Ranges"))return o;var u=t("Content-Encoding")||"identity";return"identity"!==u||(o.allowRangeRequests=!0),o}function o(e){var t=e("Content-Disposition");if(t){var r=(0,i.getFilenameFromContentDispositionHeader)(t);if(r.includes("%"))try{r=decodeURIComponent(r)}catch(n){}if(/\.pdf$/i.test(r))return r}return null}function s(e,t){return 404===e||0===e&&/^file:/.test(t)?new n.MissingPDFException('Missing PDF "'+t+'".'):new n.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+t+'".',e)}function u(e){return 200===e||206===e}},function(e,t,r){"use strict";function n(e,t){return o(e)||a(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function a(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(r.push(o.value),t&&r.length===t)break}catch(u){i=!0,a=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw a}}return r}}function o(e){if(Array.isArray(e))return e}function s(e){var t=!0,r=s("filename\\*","i").exec(e);if(r){r=r[1];var i=f(r);return i=unescape(i),i=h(i),i=d(i),c(i)}if(r=l(e),r){var a=d(r);return c(a)}if(r=s("filename","i").exec(e),r){r=r[1];var o=f(r);return o=d(o),c(o)}function s(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function u(e,r){if(e){if(!/^[\x00-\xFF]+$/.test(r))return r;try{var n=new TextDecoder(e,{fatal:!0}),i=Array.from(r,(function(e){return 255&e.charCodeAt(0)}));r=n.decode(new Uint8Array(i)),t=!1}catch(a){if(/^utf-?8$/i.test(e))try{r=decodeURIComponent(escape(r)),t=!1}catch(o){}}}return r}function c(e){return t&&/[\x80-\xff]/.test(e)&&(e=u("utf-8",e),t&&(e=u("iso-8859-1",e))),e}function l(e){var t,r=[],i=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");while(null!==(t=i.exec(e))){var a=t,o=n(a,4),u=o[1],c=o[2],l=o[3];if(u=parseInt(u,10),u in r){if(0===u)break}else r[u]=[c,l]}var d=[];for(u=0;u<r.length;++u){if(!(u in r))break;var p=n(r[u],2);c=p[0],l=p[1];l=f(l),c&&(l=unescape(l),0===u&&(l=h(l))),d.push(l)}return d.join("")}function f(e){if(e.startsWith('"')){for(var t=e.slice(1).split('\\"'),r=0;r<t.length;++r){var n=t[r].indexOf('"');-1!==n&&(t[r]=t[r].slice(0,n),t.length=r+1),t[r]=t[r].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function h(e){var t=e.indexOf("'");if(-1===t)return e;var r=e.slice(0,t),n=e.slice(t+1),i=n.replace(/^[^']*'/,"");return u(r,i)}function d(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,r,n){if("q"===r||"Q"===r)return n=n.replace(/_/g," "),n=n.replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})),u(t,n);try{n=atob(n)}catch(i){}return u(t,n)}))}return""}Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var n=o(r(180)),i=r(1),a=r(198);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){s(a,n,i,o,u,"next",e)}function u(e){s(a,n,i,o,u,"throw",e)}o(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}var h=200,d=206;function p(e){var t=e.response;if("string"!==typeof t)return t;var r=(0,i.stringToBytes)(t);return r.buffer}var v=function(){function e(t,r){c(this,e),this.url=t,r=r||{},this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&r.httpHeaders||{},this.withCredentials=r.withCredentials||!1,this.getXhr=r.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return f(e,[{key:"requestRange",value:function(e,t,r){var n={begin:e,end:t};for(var i in r)n[i]=r[i];return this.request(n)}},{key:"requestFull",value:function(e){return this.request(e)}},{key:"request",value:function(e){var t=this.getXhr(),r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var a=this.httpHeaders[i];"undefined"!==typeof a&&t.setRequestHeader(i,a)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),n.expectedStatus=d):n.expectedStatus=h,t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r}},{key:"onProgress",value:function(e,t){var r=this.pendingRequests[e];r&&r.onProgress&&r.onProgress(t)}},{key:"onStateChange",value:function(e,t){var r=this.pendingRequests[e];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&e in this.pendingRequests)if(delete this.pendingRequests[e],0===n.status&&this.isHttp)r.onError&&r.onError(n.status);else{var i=n.status||h,a=i===h&&r.expectedStatus===d;if(a||i===r.expectedStatus){var o=p(n);if(i===d){var s=n.getResponseHeader("Content-Range"),u=/bytes (\d+)-(\d+)\/(\d+)/.exec(s);r.onDone({begin:parseInt(u[1],10),chunk:o})}else o?r.onDone({begin:0,chunk:o}):r.onError&&r.onError(n.status)}else r.onError&&r.onError(n.status)}}}},{key:"hasPendingRequests",value:function(){for(var e in this.pendingRequests)return!0;return!1}},{key:"getRequestXhr",value:function(e){return this.pendingRequests[e].xhr}},{key:"isPendingRequest",value:function(e){return e in this.pendingRequests}},{key:"abortAllRequests",value:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)}},{key:"abortRequest",value:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}]),e}(),g=function(){function e(t){c(this,e),this._source=t,this._manager=new v(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return f(e,[{key:"_onRangeRequestReaderClosed",value:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}},{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new m(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new y(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}}]),e}();t.PDFNetworkStream=g;var m=function(){function e(t,r){c(this,e),this._manager=t;var n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=t.requestFull(n),this._headersReceivedCapability=(0,i.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}return f(e,[{key:"_onHeadersReceived",value:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),r=function(e){return t.getResponseHeader(e)},n=(0,a.validateRangeRequestCapabilities)({getResponseHeader:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=n.allowRangeRequests,o=n.suggestedLength;i&&(this._isRangeSupported=!0),this._contentLength=o||this._contentLength,this._filename=(0,a.extractFilenameFromHeader)(r),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(e){if(e)if(this._requests.length>0){var t=this._requests.shift();t.resolve({value:e.chunk,done:!1})}else this._cachedChunks.push(e.chunk);this._done=!0,this._cachedChunks.length>0||(this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[])}},{key:"_onError",value:function(e){var t=this._url,r=(0,a.createResponseStatusError)(e,t);this._storedError=r,this._headersReceivedCapability.reject(r),this._requests.forEach((function(e){e.reject(r)})),this._requests=[],this._cachedChunks=[]}},{key:"_onProgress",value:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}},{key:"read",value:function(){var e=u(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){e.next=5;break}return t=this._cachedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 5:if(!this._done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}}]),e}(),y=function(){function e(t,r,n){c(this,e),this._manager=t;var i={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=t.requestRange(r,n,i),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}return f(e,[{key:"_close",value:function(){this.onClosed&&this.onClosed(this)}},{key:"_onDone",value:function(e){var t=e.chunk;if(this._requests.length>0){var r=this._requests.shift();r.resolve({value:t,done:!1})}else this._queuedChunk=t;this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._close()}},{key:"_onProgress",value:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})}},{key:"read",value:function(){var e=u(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(null===this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var n=o(r(180)),i=r(1),a=r(198);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){s(a,n,i,o,u,"next",e)}function u(e){s(a,n,i,o,u,"throw",e)}o(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}function h(e,t,r){return{method:"GET",headers:e,signal:r&&r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}var d=function(){function e(t){c(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return f(e,[{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new p(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=new v(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFFetchStream=d;var p=function(){function e(t){var r=this;c(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var n=t.source;for(var o in this._withCredentials=n.withCredentials||!1,this._contentLength=n.length,this._headersCapability=(0,i.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!==typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._headers=new Headers,this._stream.httpHeaders){var s=this._stream.httpHeaders[o];"undefined"!==typeof s&&this._headers.append(o,s)}var u=n.url;fetch(u,h(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,u);r._reader=e.body.getReader(),r._headersCapability.resolve();var t=function(t){return e.headers.get(t)},n=(0,a.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:r._stream.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),o=n.allowRangeRequests,s=n.suggestedLength;r._isRangeSupported=o,r._contentLength=s||r._contentLength,r._filename=(0,a.extractFilenameFromHeader)(t),!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new i.AbortException("Streaming is disabled."))}))["catch"](this._headersCapability.reject),this.onProgress=null}return f(e,[{key:"read",value:function(){var e=u(n["default"].mark((function e(){var t,r,i,a;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._headersCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,r=t.value,i=t.done,!i){e.next=9;break}return e.abrupt("return",{value:r,done:i});case 9:return this._loaded+=r.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),a=new Uint8Array(r).buffer,e.abrupt("return",{value:a,done:!1});case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),v=function(){function e(t,r,n){var o=this;c(this,e),this._stream=t,this._reader=null,this._loaded=0;var s=t.source;for(var u in this._withCredentials=s.withCredentials||!1,this._readCapability=(0,i.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!==typeof AbortController&&(this._abortController=new AbortController),this._headers=new Headers,this._stream.httpHeaders){var l=this._stream.httpHeaders[u];"undefined"!==typeof l&&this._headers.append(u,l)}this._headers.append("Range","bytes=".concat(r,"-").concat(n-1));var f=s.url;fetch(f,h(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,f);o._readCapability.resolve(),o._reader=e.body.getReader()})),this.onProgress=null}return f(e,[{key:"read",value:function(){var e=u(n["default"].mark((function e(){var t,r,i,a;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,r=t.value,i=t.done,!i){e.next=9;break}return e.abrupt("return",{value:r,done:i});case 9:return this._loaded+=r.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),a=new Uint8Array(r).buffer,e.abrupt("return",{value:a,done:!1});case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}()}])}))}).call(this,r("b639").Buffer,r("c8ba"),r("4362"),r("62e4")(e))},cfc3:function(e,t,r){var n=r("74e8");n("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,r){var n=r("da84"),i=r("1626"),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}},d139:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").find,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("find",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!n.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r("746f");n("iterator")},d2bb:function(e,t,r){var n=r("e330"),i=r("825a"),a=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(r,[]),t=r instanceof Array}catch(o){}return function(r,n){return i(r),a(n),t?e(r,n):r.__proto__=n,r}}():void 0)},d3b7:function(e,t,r){var n=r("00ee"),i=r("6eeb"),a=r("b041");n||i(Object.prototype,"toString",a,{unsafe:!0})},d44e:function(e,t,r){var n=r("9bf2").f,i=r("1a2d"),a=r("b622"),o=a("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},d4c3:function(e,t,r){var n=r("342f"),i=r("da84");e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==i.Pebble},d58f:function(e,t,r){var n=r("da84"),i=r("59ed"),a=r("7b0b"),o=r("44ad"),s=r("07fa"),u=n.TypeError,c=function(e){return function(t,r,n,c){i(r);var l=a(t),f=o(l),h=s(l),d=e?h-1:0,p=e?-1:1;if(n<2)while(1){if(d in f){c=f[d],d+=p;break}if(d+=p,e?d<0:h<=d)throw u("Reduce of empty array with no initial value")}for(;e?d>=0:h>d;d+=p)d in f&&(c=r(c,f[d],d,l));return c}};e.exports={left:c(!1),right:c(!0)}},d5d6:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").forEach,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("forEach",(function(e){i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},d784:function(e,t,r){"use strict";r("ac1f");var n=r("e330"),i=r("6eeb"),a=r("9263"),o=r("d039"),s=r("b622"),u=r("9112"),c=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var h=s(e),d=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=d&&!o((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!d||!p||r){var v=n(/./[h]),g=t(h,""[e],(function(e,t,r,i,o){var s=n(e),u=t.exec;return u===a||u===l.exec?d&&!o?{done:!0,value:v(t,r,i)}:{done:!0,value:s(r,t,i)}:{done:!1}}));i(String.prototype,e,g[0]),i(l,h,g[1])}f&&u(l[h],"sham",!0)}},d81d:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").map,a=r("1dde"),o=a("map");n({target:"Array",proto:!0,forced:!o},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},d86b:function(e,t,r){var n=r("d039");e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},d998:function(e,t,r){var n=r("342f");e.exports=/MSIE|Trident/.test(n)},d9b5:function(e,t,r){var n=r("da84"),i=r("d066"),a=r("1626"),o=r("3a9b"),s=r("fdbf"),u=n.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,u(e))}},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dc4a:function(e,t,r){var n=r("59ed");e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},dca8:function(e,t,r){var n=r("23e7"),i=r("bb2f"),a=r("d039"),o=r("861d"),s=r("f183").onFreeze,u=Object.freeze,c=a((function(){u(1)}));n({target:"Object",stat:!0,forced:c,sham:!i},{freeze:function(e){return u&&o(e)?u(s(e)):e}})},ddb0:function(e,t,r){var n=r("da84"),i=r("fdbc"),a=r("785a"),o=r("e260"),s=r("9112"),u=r("b622"),c=u("iterator"),l=u("toStringTag"),f=o.values,h=function(e,t){if(e){if(e[c]!==f)try{s(e,c,f)}catch(n){e[c]=f}if(e[l]||s(e,l,t),i[t])for(var r in o)if(e[r]!==o[r])try{s(e,r,o[r])}catch(n){e[r]=o[r]}}};for(var d in i)h(n[d]&&n[d].prototype,d);h(a,"DOMTokenList")},df75:function(e,t,r){var n=r("ca84"),i=r("7839");e.exports=Object.keys||function(e){return n(e,i)}},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,a=arguments.length-1;a>=-1&&!n;a--){var o=a>=0?arguments[a]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,n="/"===o.charAt(0))}return t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),o="/"===a(e,-1);return e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&o&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),a=n(r.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u<o;u++)if(i[u]!==a[u]){s=u;break}var c=[];for(u=s;u<i.length;u++)c.push("..");return c=c.concat(a.slice(s)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,a=e.length-1;a>=1;--a)if(t=e.charCodeAt(a),47===t){if(!i){n=a;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,a=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(47!==s)-1===n&&(i=!1,n=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){r=o+1;break}}return-1===t||-1===n||0===a||1===a&&t===n-1&&t===r+1?"":e.slice(t,n)};var a="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},dfb9:function(e,t){e.exports=function(e,t){var r=0,n=t.length,i=new e(n);while(n>r)i[r]=t[r++];return i}},e01a:function(e,t,r){"use strict";var n=r("23e7"),i=r("83ab"),a=r("da84"),o=r("e330"),s=r("1a2d"),u=r("1626"),c=r("3a9b"),l=r("577e"),f=r("9bf2").f,h=r("e893"),d=a.Symbol,p=d&&d.prototype;if(i&&u(d)&&(!("description"in p)||void 0!==d().description)){var v={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=c(p,this)?new d(e):void 0===e?d():d(e);return""===e&&(v[t]=!0),t};h(g,d),g.prototype=p,p.constructor=g;var m="Symbol(test)"==String(d("test")),y=o(p.toString),b=o(p.valueOf),_=/^Symbol\((.*)\)[^)]+$/,w=o("".replace),S=o("".slice);f(p,"description",{configurable:!0,get:function(){var e=b(this),t=y(e);if(s(v,e))return"";var r=m?S(t,7,-1):w(t,_,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:g})}},e099:function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===typeof e?a(o(e),(function(o){var s=encodeURIComponent(n(o))+r;return i(e[o])?a(e[o],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[o]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},e163:function(e,t,r){var n=r("da84"),i=r("1a2d"),a=r("1626"),o=r("7b0b"),s=r("f772"),u=r("e177"),c=s("IE_PROTO"),l=n.Object,f=l.prototype;e.exports=u?l.getPrototypeOf:function(e){var t=o(e);if(i(t,c))return t[c];var r=t.constructor;return a(r)&&t instanceof r?r.prototype:t instanceof l?f:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,r){"use strict";var n=r("fc6a"),i=r("44d2"),a=r("3f8c"),o=r("69f3"),s=r("7dd0"),u="Array Iterator",c=o.set,l=o.getterFor(u);e.exports=s(Array,"Array",(function(e,t){c(this,{type:u,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},e330:function(e,t){var r=Function.prototype,n=r.bind,i=r.call,a=n&&n.bind(i);e.exports=n?function(e){return e&&a(i,e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e439:function(e,t,r){var n=r("23e7"),i=r("d039"),a=r("fc6a"),o=r("06cf").f,s=r("83ab"),u=i((function(){o(1)})),c=!s||u;n({target:"Object",stat:!0,forced:c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(a(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e58c:function(e,t,r){"use strict";var n=r("2ba4"),i=r("fc6a"),a=r("5926"),o=r("07fa"),s=r("a640"),u=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),h=l||!f;e.exports=h?function(e){if(l)return n(c,this,arguments)||0;var t=i(this),r=o(t),s=r-1;for(arguments.length>1&&(s=u(s,a(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:c},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,r){"use strict";var n,i,a,o,s=r("23e7"),u=r("c430"),c=r("da84"),l=r("d066"),f=r("c65b"),h=r("fea9"),d=r("6eeb"),p=r("e2cc"),v=r("d2bb"),g=r("d44e"),m=r("2626"),y=r("59ed"),b=r("1626"),_=r("861d"),w=r("19aa"),S=r("8925"),A=r("2266"),x=r("1c7e"),k=r("4840"),P=r("2cf4").set,C=r("b575"),T=r("cdf9"),E=r("44de"),R=r("f069"),L=r("e667"),O=r("69f3"),I=r("94ca"),M=r("b622"),N=r("6069"),F=r("605d"),j=r("2d00"),U=M("species"),D="Promise",B=O.get,q=O.set,H=O.getterFor(D),V=h&&h.prototype,W=h,G=V,z=c.TypeError,Y=c.document,K=c.process,X=R.f,J=X,Q=!!(Y&&Y.createEvent&&c.dispatchEvent),$=b(c.PromiseRejectionEvent),Z="unhandledrejection",ee="rejectionhandled",te=0,re=1,ne=2,ie=1,ae=2,oe=!1,se=I(D,(function(){var e=S(W),t=e!==String(W);if(!t&&66===j)return!0;if(u&&!G["finally"])return!0;if(j>=51&&/native code/.test(e))return!1;var r=new W((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},i=r.constructor={};return i[U]=n,oe=r.then((function(){}))instanceof n,!oe||!t&&N&&!$})),ue=se||!x((function(e){W.all(e)["catch"]((function(){}))})),ce=function(e){var t;return!(!_(e)||!b(t=e.then))&&t},le=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;C((function(){var n=e.value,i=e.state==re,a=0;while(r.length>a){var o,s,u,c=r[a++],l=i?c.ok:c.fail,h=c.resolve,d=c.reject,p=c.domain;try{l?(i||(e.rejection===ae&&pe(e),e.rejection=ie),!0===l?o=n:(p&&p.enter(),o=l(n),p&&(p.exit(),u=!0)),o===c.promise?d(z("Promise-chain cycle")):(s=ce(o))?f(s,o,h,d):h(o)):d(n)}catch(v){p&&!u&&p.exit(),d(v)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&he(e)}))}},fe=function(e,t,r){var n,i;Q?(n=Y.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!$&&(i=c["on"+e])?i(n):e===Z&&E("Unhandled promise rejection",r)},he=function(e){f(P,c,(function(){var t,r=e.facade,n=e.value,i=de(e);if(i&&(t=L((function(){F?K.emit("unhandledRejection",n,r):fe(Z,r,n)})),e.rejection=F||de(e)?ae:ie,t.error))throw t.value}))},de=function(e){return e.rejection!==ie&&!e.parent},pe=function(e){f(P,c,(function(){var t=e.facade;F?K.emit("rejectionHandled",t):fe(ee,t,e.value)}))},ve=function(e,t,r){return function(n){e(t,n,r)}},ge=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=ne,le(e,!0))},me=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw z("Promise can't be resolved itself");var n=ce(t);n?C((function(){var r={done:!1};try{f(n,t,ve(me,r,e),ve(ge,r,e))}catch(i){ge(r,i,e)}})):(e.value=t,e.state=re,le(e,!1))}catch(i){ge({done:!1},i,e)}}};if(se&&(W=function(e){w(this,G),y(e),f(n,this);var t=B(this);try{e(ve(me,t),ve(ge,t))}catch(r){ge(t,r)}},G=W.prototype,n=function(e){q(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:te,value:void 0})},n.prototype=p(G,{then:function(e,t){var r=H(this),n=r.reactions,i=X(k(this,W));return i.ok=!b(e)||e,i.fail=b(t)&&t,i.domain=F?K.domain:void 0,r.parent=!0,n[n.length]=i,r.state!=te&&le(r,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=B(e);this.promise=e,this.resolve=ve(me,t),this.reject=ve(ge,t)},R.f=X=function(e){return e===W||e===a?new i(e):J(e)},!u&&b(h)&&V!==Object.prototype)){o=V.then,oe||(d(V,"then",(function(e,t){var r=this;return new W((function(e,t){f(o,r,e,t)})).then(e,t)}),{unsafe:!0}),d(V,"catch",G["catch"],{unsafe:!0}));try{delete V.constructor}catch(ye){}v&&v(V,G)}s({global:!0,wrap:!0,forced:se},{Promise:W}),g(W,D,!1,!0),m(D),a=l(D),s({target:D,stat:!0,forced:se},{reject:function(e){var t=X(this);return f(t.reject,void 0,e),t.promise}}),s({target:D,stat:!0,forced:u||se},{resolve:function(e){return T(u&&this===a?W:this,e)}}),s({target:D,stat:!0,forced:ue},{all:function(e){var t=this,r=X(t),n=r.resolve,i=r.reject,a=L((function(){var r=y(t.resolve),a=[],o=0,s=1;A(e,(function(e){var u=o++,c=!1;s++,f(r,t,e).then((function(e){c||(c=!0,a[u]=e,--s||n(a))}),i)})),--s||n(a)}));return a.error&&i(a.value),r.promise},race:function(e){var t=this,r=X(t),n=r.reject,i=L((function(){var i=y(t.resolve);A(e,(function(e){f(i,t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},e893:function(e,t,r){var n=r("1a2d"),i=r("56ef"),a=r("06cf"),o=r("9bf2");e.exports=function(e,t){for(var r=i(t),s=o.f,u=a.f,c=0;c<r.length;c++){var l=r[c];n(e,l)||s(e,l,u(t,l))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e91f:function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").indexOf,a=n.aTypedArray,o=n.exportTypedArrayMethod;o("indexOf",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,r){var n=r("b622"),i=r("3f8c"),a=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},e9c4:function(e,t,r){var n=r("23e7"),i=r("da84"),a=r("d066"),o=r("2ba4"),s=r("e330"),u=r("d039"),c=i.Array,l=a("JSON","stringify"),f=s(/./.exec),h=s("".charAt),d=s("".charCodeAt),p=s("".replace),v=s(1..toString),g=/[\uD800-\uDFFF]/g,m=/^[\uD800-\uDBFF]$/,y=/^[\uDC00-\uDFFF]$/,b=function(e,t,r){var n=h(r,t-1),i=h(r,t+1);return f(m,e)&&!f(y,i)||f(y,e)&&!f(m,n)?"\\u"+v(d(e,0),16):e},_=u((function(){return'"\\udf06\\ud834"'!==l("\udf06\ud834")||'"\\udead"'!==l("\udead")}));l&&n({target:"JSON",stat:!0,forced:_},{stringify:function(e,t,r){for(var n=0,i=arguments.length,a=c(i);n<i;n++)a[n]=arguments[n];var s=o(l,null,a);return"string"==typeof s?p(s,g,b):s}})},eac5:function(e,t,r){var n=r("861d"),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},ebb5:function(e,t,r){"use strict";var n,i,a,o=r("a981"),s=r("83ab"),u=r("da84"),c=r("1626"),l=r("861d"),f=r("1a2d"),h=r("f5df"),d=r("0d51"),p=r("9112"),v=r("6eeb"),g=r("9bf2").f,m=r("3a9b"),y=r("e163"),b=r("d2bb"),_=r("b622"),w=r("90e3"),S=u.Int8Array,A=S&&S.prototype,x=u.Uint8ClampedArray,k=x&&x.prototype,P=S&&y(S),C=A&&y(A),T=Object.prototype,E=u.TypeError,R=_("toStringTag"),L=w("TYPED_ARRAY_TAG"),O=w("TYPED_ARRAY_CONSTRUCTOR"),I=o&&!!b&&"Opera"!==h(u.opera),M=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},j=function(e){if(!l(e))return!1;var t=h(e);return"DataView"===t||f(N,t)||f(F,t)},U=function(e){if(!l(e))return!1;var t=h(e);return f(N,t)||f(F,t)},D=function(e){if(U(e))return e;throw E("Target is not a typed array")},B=function(e){if(c(e)&&(!b||m(P,e)))return e;throw E(d(e)+" is not a typed array constructor")},q=function(e,t,r){if(s){if(r)for(var n in N){var i=u[n];if(i&&f(i.prototype,e))try{delete i.prototype[e]}catch(a){}}C[e]&&!r||v(C,e,r?t:I&&A[e]||t)}},H=function(e,t,r){var n,i;if(s){if(b){if(r)for(n in N)if(i=u[n],i&&f(i,e))try{delete i[e]}catch(a){}if(P[e]&&!r)return;try{return v(P,e,r?t:I&&P[e]||t)}catch(a){}}for(n in N)i=u[n],!i||i[e]&&!r||v(i,e,t)}};for(n in N)i=u[n],a=i&&i.prototype,a?p(a,O,i):I=!1;for(n in F)i=u[n],a=i&&i.prototype,a&&p(a,O,i);if((!I||!c(P)||P===Function.prototype)&&(P=function(){throw E("Incorrect invocation")},I))for(n in N)u[n]&&b(u[n],P);if((!I||!C||C===T)&&(C=P.prototype,I))for(n in N)u[n]&&b(u[n].prototype,C);if(I&&y(k)!==C&&b(k,C),s&&!f(C,R))for(n in M=!0,g(C,R,{get:function(){return l(this)?this[L]:void 0}}),N)u[n]&&p(u[n],L,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:O,TYPED_ARRAY_TAG:M&&L,aTypedArray:D,aTypedArrayConstructor:B,exportTypedArrayMethod:q,exportTypedArrayStaticMethod:H,isView:j,isTypedArray:U,TypedArray:P,TypedArrayPrototype:C}},f069:function(e,t,r){"use strict";var n=r("59ed"),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},f183:function(e,t,r){var n=r("23e7"),i=r("e330"),a=r("d012"),o=r("861d"),s=r("1a2d"),u=r("9bf2").f,c=r("241c"),l=r("057f"),f=r("4fad"),h=r("90e3"),d=r("bb2f"),p=!1,v=h("meta"),g=0,m=function(e){u(e,v,{value:{objectID:"O"+g++,weakData:{}}})},y=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,v)){if(!f(e))return"F";if(!t)return"E";m(e)}return e[v].objectID},b=function(e,t){if(!s(e,v)){if(!f(e))return!0;if(!t)return!1;m(e)}return e[v].weakData},_=function(e){return d&&p&&f(e)&&!s(e,v)&&m(e),e},w=function(){S.enable=function(){},p=!0;var e=c.f,t=i([].splice),r={};r[v]=1,e(r).length&&(c.f=function(r){for(var n=e(r),i=0,a=n.length;i<a;i++)if(n[i]===v){t(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},S=e.exports={enable:w,fastKey:y,getWeakData:b,onFreeze:_};a[v]=!0},f36a:function(e,t,r){var n=r("e330");e.exports=n([].slice)},f5b2:function(e,t,r){"use strict";var n=r("23e7"),i=r("6547").codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},f5df:function(e,t,r){var n=r("da84"),i=r("00ee"),a=r("1626"),o=r("c6b6"),s=r("b622"),u=s("toStringTag"),c=n.Object,l="Arguments"==o(function(){return arguments}()),f=function(e,t){try{return e[t]}catch(r){}};e.exports=i?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=f(t=c(e),u))?r:l?o(t):"Object"==(n=o(t))&&a(t.callee)?"Arguments":n}},f6d6:function(e,t,r){var n=r("23e7"),i=r("da84"),a=r("e330"),o=r("23cb"),s=i.RangeError,u=String.fromCharCode,c=String.fromCodePoint,l=a([].join),f=!!c&&1!=c.length;n({target:"String",stat:!0,forced:f},{fromCodePoint:function(e){var t,r=[],n=arguments.length,i=0;while(n>i){if(t=+arguments[i++],o(t,1114111)!==t)throw s(t+" is not a valid code point");r[i]=t<65536?u(t):u(55296+((t-=65536)>>10),t%1024+56320)}return l(r,"")}})},f772:function(e,t,r){var n=r("5692"),i=r("90e3"),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},f8c9:function(e,t,r){var n=r("23e7"),i=r("da84"),a=r("d44e");n({global:!0},{Reflect:{}}),a(i.Reflect,"Reflect",!0)},f8cd:function(e,t,r){var n=r("da84"),i=r("5926"),a=n.RangeError;e.exports=function(e){var t=i(e);if(t<0)throw a("The argument can't be less than 0");return t}},fb15:function(e,t,r){"use strict";if(r.r(t),"undefined"!==typeof window){var n=window.document.currentScript,i=r("8875");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var a=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(r.p=a[1])}r("b0c0");var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"pdf-box",style:{width:e.formateWidth,height:e.formateHeight}},[e.$slots.header?r("div",{staticClass:"pdf-header"},[e._t("header")],2):e._e(),r("div",{staticClass:"pdf-body"},[e.catalogue&&e.catalogue.length>0&&e.showNav?r("div",{staticClass:"pdf-catalogue"},[r("tree",{attrs:{list:e.catalogue},on:{"item-click":e.nav}})],1):e._e(),r("div",{ref:"container",staticClass:"pdf-container",on:{scroll:e.fnScroll}},[r("div",{ref:"viewer",staticClass:"pdf-viewer"})])]),e.$slots.footer?r("div",{staticClass:"pdf-footer"},[e._t("footer")],2):e._e(),e.pageLoading?r("div",{staticClass:"page-loading"},[r("em",[e._v(e._s(e.loadingNum)+" / "+e._s(e.countNum))]),r("progress",{staticClass:"page-progress",attrs:{max:e.countNum},domProps:{value:e.loadingNum}})]):e._e()])},s=[];r("d3b7"),r("e6cf");function u(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){u(a,n,i,o,s,"next",e)}function s(e){u(a,n,i,o,s,"throw",e)}o(void 0)}))}}r("96cf"),r("a9e3"),r("ac1f"),r("00b4");var l=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",e._l(e.list,(function(t,n){return r("li",{key:t.title+n,staticClass:"item"},[r("div",{staticClass:"item-title",on:{click:function(r){return e.itemClick(t)}}},[t.items.length>0?r("i",{staticClass:"icon",class:[{"up-arrow":t.show}],on:{click:function(r){return r.stopPropagation(),e.toggle(t)}}}):e._e(),r("em",[e._v(e._s(t.title))])]),r("transition",{attrs:{name:"fade"}},[t.items.length>0?r("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"item.show"}],key:t.title,staticClass:"item-children"},[r("tree-list",e._g(e._b({attrs:{list:t.items}},"tree-list",e.$attrs,!1),e.$listeners))],1):e._e()])],1)})),0)},f=[],h={name:"tree-list",props:{list:{type:Array}},mixins:[],components:{},data:function(){return{select:null}},computed:{},watch:{},methods:{itemClick:function(e){this.$emit("item-click",e)},toggle:function(e){e.show=!e.show}},created:function(){},mounted:function(){},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},d=h;r("0af4");function p(e,t,r,n,i,a,o,s){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}var v=p(d,l,f,!1,null,null,null),g=v.exports,m=r("134b"),y=r.n(m),b=r("4000"),_=(r("8d32"),r("e260"),r("3ca3"),r("ddb0"),r("cf3f")),w=function(){this.fetch=function(e){return r("0472")("./"+e.name+".bcmap").then((function(e){return{cMapData:e.default,compressionType:_["CMapCompressionType"].BINARY}}))}},S={name:"cafe-pdf",props:{filePath:{type:String,required:!0},width:{type:String,default:"100%"},height:{type:String,default:"100%"},showNav:{type:Boolean,default:!0},useOnlyCssZoom:{type:Boolean,default:!1},autoWidth:{type:Boolean,default:!1},textLayerMode:{type:Number,default:0}},data:function(){return{countPage:null,currentPage:1,pageLoading:!1,loadingNum:0,countNum:100,timer:null,pdfViewer:null,pdfLoadingTask:null,linkService:null,catalogue:null,scale:"auto",fnScroll:function(){}}},components:{Tree:g},computed:{formateWidth:function(){return/(%|px)/.test(this.width)?this.width:this.width+"px"},formateHeight:function(){return/(%|px)/.test(this.height)?this.height:this.height+"px"}},watch:{filePath:{handler:function(e){e&&this.initViewer()}}},created:function(){this.fnScroll=this.fnThrottle(this.handleScroll,200)},mounted:function(){this.initViewer()},beforeDestroy:function(){this.pdfLoadingTask.destroy(),this.pdfViewer=null,this.linkService=null,this.pdfLoadingTask=null,this.timer=null},methods:{traversalData:function(e){for(var t=0;t<e.length;t++)e[t].show=!1,e[t].items.length>0&&this.traversalData(e[t].items);return e},nav:function(e){this.linkService.navigateTo(e.dest)},initViewer:function(){var e=this,t=this,r=new b["EventBus"];this.loading(),this.linkService=new b["PDFLinkService"],this.pdfViewer=new b["PDFViewer"]({container:this.$refs.container,useOnlyCssZoom:this.useOnlyCssZoom,textLayerMode:this.textLayerMode,linkService:this.linkService,eventBus:r}),this.linkService.setViewer(this.pdfViewer),this.pdfViewer.currentScaleValue=this.scale,r.on("pagesinit",(function(){t.pdfViewer.currentScaleValue=t.scale})),this.pdfLoadingTask=y.a.getDocument({url:this.filePath,CMapReaderFactory:w}),this.pdfLoadingTask.promise.then((function(t){e.catalogue=null,e.pdfViewer.setDocument(t),e.linkService.setDocument(t),e.showNav&&t.getOutline().then((function(t){t&&(e.catalogue=e.traversalData(t))})),e.countPage=t.numPages,e.$emit("on-success",e.countPage,t),e.pdfViewer._currentScale=1,e.loadingNum=100,clearInterval(e.timer),e.pageLoading=!1})).catch((function(t){clearInterval(e.timer),e.pageLoading=!1,e.$emit("on-error",t)}))},fnThrottle:function(e,t,r){var n=null,i=null;return function(){var a=+new Date;i||(i=a),r&&a-i>r?(e(),i=a,clearTimeout(n)):(clearTimeout(n),n=setTimeout((function(){e(),i=null}),t))}},handleScroll:function(){var e=this.$refs.container.scrollTop;this.currentPage=this.pdfViewer._currentPageNumber,this.$emit("on-scroll",this.currentPage,this.pdfViewer,e)},prePage:function(){this.goToPage(--this.currentPage)},nextPage:function(){this.goToPage(++this.currentPage)},changeScale:function(e){this.scale=e,this.pdfViewer.currentScaleValue=this.scale},goToPage:function(e){e<1||e>this.countPage||(this.pdfViewer.currentPageNumber=e)},loading:function(){var e=this;this.pageLoading=!0,this.loadingNum=0,this.countNum=100,this.timer=setInterval((function(){e.loadingNum+=Math.floor(3*Math.random()+1),e.loadingNum>95&&clearInterval(e.timer)}),40)},getPDF:function(e){var t=this;return c(regeneratorRuntime.mark((function r(){var n,i,a,o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return t.pageLoading=!0,t.loadingNum=0,t.countNum=t.countPage,n=document.querySelector("#print-container"),n?n.innerHTML="":(i=document.createElement("div"),i.setAttribute("id","print-container"),document.body.appendChild(i)),r.next=7,y.a.getDocument(t.filePath);case 7:a=r.sent,o=1;case 9:if(!(o<=a.numPages)){r.next=22;break}return r.prev=10,r.next=13,t.rendPDF(a,o,e);case 13:t.loadingNum=o,r.next=19;break;case 16:r.prev=16,r.t0=r["catch"](10),t.pageLoading=!1;case 19:o++,r.next=9;break;case 22:t.pageLoading=!1,window.print();case 24:case"end":return r.stop()}}),r,null,[[10,16]])})))()},rendPDF:function(e,t,r){return c(regeneratorRuntime.mark((function n(){var i,a,o,s,u,c,l;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.getPage(t);case 2:return i=n.sent,a=document.querySelector("#print-container"),o=i.getViewport(r),s=document.createElement("div"),s.setAttribute("id","page-"+(i.pageIndex+1)),a.appendChild(s),u=document.createElement("canvas"),s.appendChild(u),c=u.getContext("2d"),u.height=o.height,u.width=o.width,l={canvasContext:c,viewport:o},n.next=16,i.render(l);case 16:case"end":return n.stop()}}),n)})))()},printFile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.5;this.getPDF(e)}}},A=S,x=(r("72a5"),p(A,o,s,!1,null,null,null)),k=x.exports;k.install=function(e){e.component(k.name,k)};var P=k;P.install=function(e){e.component(P.name,P)},"undefined"!==typeof window&&window.Vue&&(window.cafePdf=P,window.Vue.use(P));var C=P;t["default"]=C},fb2c:function(e,t,r){var n=r("74e8");n("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},fb6a:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("e8b5"),o=r("68ee"),s=r("861d"),u=r("23cb"),c=r("07fa"),l=r("fc6a"),f=r("8418"),h=r("b622"),d=r("1dde"),p=r("f36a"),v=d("slice"),g=h("species"),m=i.Array,y=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(e,t){var r,n,i,h=l(this),d=c(h),v=u(e,d),b=u(void 0===t?d:t,d);if(a(h)&&(r=h.constructor,o(r)&&(r===m||a(r.prototype))?r=void 0:s(r)&&(r=r[g],null===r&&(r=void 0)),r===m||void 0===r))return p(h,v,b);for(n=new(void 0===r?m:r)(y(b-v,0)),i=0;v<b;v++,i++)v in h&&f(n,i,h[v]);return n.length=i,n}})},fc6a:function(e,t,r){var n=r("44ad"),i=r("1d80");e.exports=function(e){return n(i(e))}},fce3:function(e,t,r){var n=r("d039"),i=r("da84"),a=i.RegExp;e.exports=n((function(){var e=a(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise}})}));