@esri/solutions-components 1.0.0-next.20250422.2 → 1.0.0-next.20250424

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 (1057) hide show
  1. package/dist/cdn/2GRS37X7.js +4 -0
  2. package/dist/cdn/2HX6FCAK.js +4 -0
  3. package/dist/cdn/2REUOAYN.js +4 -0
  4. package/dist/cdn/2SFD7NIC.js +18 -0
  5. package/dist/cdn/2SFD7NIC.js.LEGAL.txt +3 -0
  6. package/dist/cdn/2SKAZYD6.js +4 -0
  7. package/dist/cdn/33IR7OMW.js +4 -0
  8. package/dist/cdn/34MAQAZR.js +4 -0
  9. package/dist/cdn/36HEFPYH.js +3 -0
  10. package/dist/cdn/36HEFPYH.js.LEGAL.txt +15 -0
  11. package/dist/cdn/37HUHHO7.js +4 -0
  12. package/dist/cdn/3ANM7XFB.js +4 -0
  13. package/dist/cdn/3B2JB72V.js +18 -0
  14. package/dist/cdn/3B2JB72V.js.LEGAL.txt +3 -0
  15. package/dist/cdn/3CB3QQQF.js +18 -0
  16. package/dist/cdn/3CB3QQQF.js.LEGAL.txt +3 -0
  17. package/dist/cdn/3ETTC3FG.js +4 -0
  18. package/dist/cdn/3F3Z4KSX.js +8 -0
  19. package/dist/cdn/3FTBYA6D.js +4 -0
  20. package/dist/cdn/3I352GYZ.js +4 -0
  21. package/dist/cdn/3JIAL5PR.js +4 -0
  22. package/dist/cdn/3KWIEYNR.js +4 -0
  23. package/dist/cdn/3LYCHZKL.js +4 -0
  24. package/dist/cdn/3OOAVDRN.js +4 -0
  25. package/dist/cdn/3PYVOPJU.js +18 -0
  26. package/dist/cdn/3PYVOPJU.js.LEGAL.txt +3 -0
  27. package/dist/cdn/3QTYOHR7.js +18 -0
  28. package/dist/cdn/3QTYOHR7.js.LEGAL.txt +3 -0
  29. package/dist/cdn/3RKAIMOF.js +4 -0
  30. package/dist/cdn/3THCG7YT.js +4 -0
  31. package/dist/cdn/3TUMDUZ2.js +4 -0
  32. package/dist/cdn/3ZKP3KI2.js +4 -0
  33. package/dist/cdn/43S7QB4I.js +4 -0
  34. package/dist/cdn/4CK25JK3.js +4 -0
  35. package/dist/cdn/4CK25JK3.js.LEGAL.txt +19 -0
  36. package/dist/cdn/4HBTG2QI.js +18 -0
  37. package/dist/cdn/4HBTG2QI.js.LEGAL.txt +3 -0
  38. package/dist/cdn/4Q2J5ABH.js +4 -0
  39. package/dist/cdn/4QRK655C.js +4 -0
  40. package/dist/cdn/4QRMLMQL.js +4 -0
  41. package/dist/cdn/4VR6ARLW.js +4 -0
  42. package/dist/cdn/53IN5OZF.js +4 -0
  43. package/dist/cdn/53ZCYBBD.js +4 -0
  44. package/dist/cdn/5BXJMHCL.js +4 -0
  45. package/dist/cdn/5DIS4K5I.js +4 -0
  46. package/dist/cdn/5Z4DUBG2.js +4 -0
  47. package/dist/cdn/66S2JXWC.js +18 -0
  48. package/dist/cdn/66S2JXWC.js.LEGAL.txt +3 -0
  49. package/dist/cdn/6AN2HT42.js +4 -0
  50. package/dist/cdn/6AWBJHVP.js +4 -0
  51. package/dist/cdn/6BJK4Y3R.js +4 -0
  52. package/dist/cdn/6MM5LTH3.js +4 -0
  53. package/dist/cdn/6OXKWWOR.js +4 -0
  54. package/dist/cdn/6P6HAWTI.js +4 -0
  55. package/dist/cdn/6P6OZUMA.js +18 -0
  56. package/dist/cdn/6P6OZUMA.js.LEGAL.txt +3 -0
  57. package/dist/cdn/6PH3TFPT.js +4 -0
  58. package/dist/cdn/6V42W4KY.js +4 -0
  59. package/dist/cdn/6V44HVQR.js +4 -0
  60. package/dist/cdn/6V5QEXUY.js +18 -0
  61. package/dist/cdn/6V5QEXUY.js.LEGAL.txt +3 -0
  62. package/dist/cdn/6VQCO6BY.js +4 -0
  63. package/dist/cdn/6WSDYAM3.js +4 -0
  64. package/dist/cdn/743XVVP4.js +4 -0
  65. package/dist/cdn/74OHAISF.js +18 -0
  66. package/dist/cdn/74OHAISF.js.LEGAL.txt +3 -0
  67. package/dist/cdn/7BRBYBBJ.js +4 -0
  68. package/dist/cdn/7MMTHL2O.js +4 -0
  69. package/dist/cdn/7QN67RPO.js +4 -0
  70. package/dist/cdn/7RL2WMSM.js +4 -0
  71. package/dist/cdn/7U7WZ3S7.js +4 -0
  72. package/dist/cdn/7XRQ3HG2.js +18 -0
  73. package/dist/cdn/7XRQ3HG2.js.LEGAL.txt +3 -0
  74. package/dist/cdn/A4ZGAGEE.js +4 -0
  75. package/dist/cdn/AC6RPL76.js +4 -0
  76. package/dist/cdn/AF5MY4A4.js +4 -0
  77. package/dist/cdn/AI2I6HUW.js +4 -0
  78. package/dist/cdn/AI2I6HUW.js.LEGAL.txt +19 -0
  79. package/dist/cdn/AJ55I2XC.js +4 -0
  80. package/dist/cdn/AKISLBPG.js +4 -0
  81. package/dist/cdn/ALBBS2OO.js +18 -0
  82. package/dist/cdn/ALBBS2OO.js.LEGAL.txt +3 -0
  83. package/dist/cdn/AR3HGWNW.js +4 -0
  84. package/dist/cdn/ASG2C5GW.js +4 -0
  85. package/dist/cdn/AWXRYAQV.js +4 -0
  86. package/dist/cdn/AYJLOTN7.js +4 -0
  87. package/dist/cdn/B457FLDV.js +4 -0
  88. package/dist/cdn/BC2TMUHH.js +4 -0
  89. package/dist/cdn/BFFUOQCB.js +4 -0
  90. package/dist/cdn/BJ22FRU6.js +8 -0
  91. package/dist/cdn/C5ORRGM4.js +4 -0
  92. package/dist/cdn/C7SN5LZD.js +4 -0
  93. package/dist/cdn/C7SN5LZD.js.LEGAL.txt +19 -0
  94. package/dist/cdn/CK3SOCEN.js +4 -0
  95. package/dist/cdn/CMCMD2OX.js +4 -0
  96. package/dist/cdn/CQY2NLGD.js +9 -0
  97. package/dist/cdn/D2UOAAHQ.js +4 -0
  98. package/dist/cdn/DJNWDLSI.js +4 -0
  99. package/dist/cdn/DN7SP6NO.js +4 -0
  100. package/dist/cdn/DNXBYW5K.js +4 -0
  101. package/dist/cdn/DOOF45DZ.js +4 -0
  102. package/dist/cdn/DQANTQX6.js +4 -0
  103. package/dist/cdn/DUYGANY2.js +4 -0
  104. package/dist/cdn/DVSL27LS.js +18 -0
  105. package/dist/cdn/DVSL27LS.js.LEGAL.txt +3 -0
  106. package/dist/cdn/DXIT4CCH.js +18 -0
  107. package/dist/cdn/DXIT4CCH.js.LEGAL.txt +3 -0
  108. package/dist/cdn/DYO73VGA.js +8 -0
  109. package/dist/cdn/E2JPYVLI.js +4 -0
  110. package/dist/cdn/E3W7YWNL.js +18 -0
  111. package/dist/cdn/E3W7YWNL.js.LEGAL.txt +3 -0
  112. package/dist/cdn/EDBEEEVK.js +4 -0
  113. package/dist/cdn/EEGKH5RC.js +18 -0
  114. package/dist/cdn/EEGKH5RC.js.LEGAL.txt +3 -0
  115. package/dist/cdn/EHZAPCOL.js +4 -0
  116. package/dist/cdn/ELJBFQO5.js +4 -0
  117. package/dist/cdn/ENXIJOAI.js +4 -0
  118. package/dist/cdn/EP2L622O.js +5 -0
  119. package/dist/cdn/EP2L622O.js.LEGAL.txt +14 -0
  120. package/dist/cdn/EQA4LFQU.js +4 -0
  121. package/dist/cdn/ETJRRZSC.js +4 -0
  122. package/dist/cdn/EYYA6ISO.js +4 -0
  123. package/dist/cdn/F26FASAW.js +4 -0
  124. package/dist/cdn/F3MERXPS.js +19 -0
  125. package/dist/cdn/F3MERXPS.js.LEGAL.txt +3 -0
  126. package/dist/cdn/F42LPM2X.js +4 -0
  127. package/dist/cdn/F6AIF36S.js +4 -0
  128. package/dist/cdn/FFEIWZIH.js +18 -0
  129. package/dist/cdn/FFEIWZIH.js.LEGAL.txt +3 -0
  130. package/dist/cdn/FIDC4OXH.js +18 -0
  131. package/dist/cdn/FIDC4OXH.js.LEGAL.txt +3 -0
  132. package/dist/cdn/FIIJHHD5.js +4 -0
  133. package/dist/cdn/FJ3ERSYC.js +4 -0
  134. package/dist/cdn/FJ3ERSYC.js.LEGAL.txt +19 -0
  135. package/dist/cdn/FJR3ESNE.js +4 -0
  136. package/dist/cdn/FM7RW7WG.js +4 -0
  137. package/dist/cdn/FVLPWRJX.js +18 -0
  138. package/dist/cdn/FVLPWRJX.js.LEGAL.txt +12 -0
  139. package/dist/cdn/FXAXN7S7.js +4 -0
  140. package/dist/cdn/FXAXN7S7.js.LEGAL.txt +3 -0
  141. package/dist/cdn/FXDGHBU2.js +18 -0
  142. package/dist/cdn/FXDGHBU2.js.LEGAL.txt +3 -0
  143. package/dist/cdn/GPZWQ5BC.js +4 -0
  144. package/dist/cdn/GWH6JVT3.js +4 -0
  145. package/dist/cdn/GWH6JVT3.js.LEGAL.txt +3 -0
  146. package/dist/cdn/HIZWTQSR.js +18 -0
  147. package/dist/cdn/HIZWTQSR.js.LEGAL.txt +3 -0
  148. package/dist/cdn/HMGAX6TK.js +4 -0
  149. package/dist/cdn/HN6KQB4T.js +4 -0
  150. package/dist/cdn/HSDASDTA.js +4 -0
  151. package/dist/cdn/I5FCRFC5.js +4 -0
  152. package/dist/cdn/IAUZNVMA.js +4 -0
  153. package/dist/cdn/ID4YPPDM.js +369 -0
  154. package/dist/cdn/IGTSWC5J.js +18 -0
  155. package/dist/cdn/IGTSWC5J.js.LEGAL.txt +3 -0
  156. package/dist/cdn/IKELMTP7.js +18 -0
  157. package/dist/cdn/IKELMTP7.js.LEGAL.txt +3 -0
  158. package/dist/cdn/IQY6ECTE.js +18 -0
  159. package/dist/cdn/IQY6ECTE.js.LEGAL.txt +3 -0
  160. package/dist/cdn/IS3XS4JG.js +4 -0
  161. package/dist/cdn/IYF62OZH.js +4 -0
  162. package/dist/cdn/J5ZM2DJJ.js +4 -0
  163. package/dist/cdn/JIRZNGWT.js +4 -0
  164. package/dist/cdn/JJHVWJIZ.js +4 -0
  165. package/dist/cdn/JJYBOSCM.js +4 -0
  166. package/dist/cdn/JRGDIJ3V.js +4 -0
  167. package/dist/cdn/JRT5B2NZ.js +4 -0
  168. package/dist/cdn/JSFXQWKB.js +4 -0
  169. package/dist/cdn/JSFXQWKB.js.LEGAL.txt +19 -0
  170. package/dist/cdn/JX6PK263.js +4 -0
  171. package/dist/cdn/K5VCYZFO.js +4 -0
  172. package/dist/cdn/KER7GPPW.js +4 -0
  173. package/dist/cdn/KGMA7REF.js +4 -0
  174. package/dist/cdn/KQCPS5LO.js +4 -0
  175. package/dist/cdn/KWPDI7E7.js +4 -0
  176. package/dist/cdn/LA454RAS.js +4 -0
  177. package/dist/cdn/LFK566LE.js +18 -0
  178. package/dist/cdn/LFK566LE.js.LEGAL.txt +3 -0
  179. package/dist/cdn/LI4F32YY.js +18 -0
  180. package/dist/cdn/LI4F32YY.js.LEGAL.txt +3 -0
  181. package/dist/cdn/LIDKM4CX.js +18 -0
  182. package/dist/cdn/LIDKM4CX.js.LEGAL.txt +3 -0
  183. package/dist/cdn/LKFZYYZW.js +18 -0
  184. package/dist/cdn/LKFZYYZW.js.LEGAL.txt +3 -0
  185. package/dist/cdn/LM37QDPC.js +4 -0
  186. package/dist/cdn/LUJMX6RU.js +4 -0
  187. package/dist/cdn/M4A3WEXJ.js +4 -0
  188. package/dist/cdn/M4ANYEMT.js +4 -0
  189. package/dist/cdn/M7CF56J4.js +4 -0
  190. package/dist/cdn/MSYWTUK5.js +4 -0
  191. package/dist/cdn/MT2VOTR3.js +4 -0
  192. package/dist/cdn/MXSOXTTS.js +4 -0
  193. package/dist/cdn/MY32KN3L.js +4 -0
  194. package/dist/cdn/MY32KN3L.js.LEGAL.txt +19 -0
  195. package/dist/cdn/N25RGMP5.js +4 -0
  196. package/dist/cdn/N4H3RBFI.js +18 -0
  197. package/dist/cdn/N4H3RBFI.js.LEGAL.txt +3 -0
  198. package/dist/cdn/N4LY4NPV.js +4 -0
  199. package/dist/cdn/N4UF6HC5.js +4 -0
  200. package/dist/cdn/NGFHBV64.js +4 -0
  201. package/dist/cdn/NIRBEIDQ.js +4 -0
  202. package/dist/cdn/NMHHR32V.js +4 -0
  203. package/dist/cdn/NSAL5FWX.js +4 -0
  204. package/dist/cdn/NSEOM3YG.js +18 -0
  205. package/dist/cdn/NSEOM3YG.js.LEGAL.txt +19 -0
  206. package/dist/cdn/NSWALNGN.js +4 -0
  207. package/dist/cdn/NZLLBZ2V.js +4 -0
  208. package/dist/cdn/O2ATNQHH.js +4 -0
  209. package/dist/cdn/O5QPONXI.js +18 -0
  210. package/dist/cdn/O5QPONXI.js.LEGAL.txt +3 -0
  211. package/dist/cdn/OCDAJIGO.js +4 -0
  212. package/dist/cdn/OIYCTA5F.js +4 -0
  213. package/dist/cdn/OJ24CCDJ.js +18 -0
  214. package/dist/cdn/OJ24CCDJ.js.LEGAL.txt +3 -0
  215. package/dist/cdn/OJLUQMLL.js +4 -0
  216. package/dist/cdn/OLCD3MAN.js +18 -0
  217. package/dist/cdn/OLCD3MAN.js.LEGAL.txt +3 -0
  218. package/dist/cdn/OLR4APHE.js +19 -0
  219. package/dist/cdn/OLR4APHE.js.LEGAL.txt +3 -0
  220. package/dist/cdn/OP7TZZFN.js +18 -0
  221. package/dist/cdn/OP7TZZFN.js.LEGAL.txt +3 -0
  222. package/dist/cdn/OPSNBFKY.js +4 -0
  223. package/dist/cdn/OUBOQGFL.js +18 -0
  224. package/dist/cdn/OUBOQGFL.js.LEGAL.txt +19 -0
  225. package/dist/cdn/OUSGJQJX.js +4 -0
  226. package/dist/cdn/OWFOQTXL.js +4 -0
  227. package/dist/cdn/OZXIWCWR.js +18 -0
  228. package/dist/cdn/OZXIWCWR.js.LEGAL.txt +3 -0
  229. package/dist/cdn/P6FEFFP4.js +4 -0
  230. package/dist/cdn/PBOJ4E53.js +4 -0
  231. package/dist/cdn/PEXXDCVN.js +289 -0
  232. package/dist/cdn/PFIKBWU3.js +19 -0
  233. package/dist/cdn/PFIKBWU3.js.LEGAL.txt +3 -0
  234. package/dist/cdn/PIJEEFJX.js +4 -0
  235. package/dist/cdn/PKN6J2YV.js +18 -0
  236. package/dist/cdn/PKN6J2YV.js.LEGAL.txt +3 -0
  237. package/dist/cdn/POYWNF3I.js +82 -0
  238. package/dist/cdn/POYWNF3I.js.LEGAL.txt +244 -0
  239. package/dist/cdn/PP2V24WW.js +4 -0
  240. package/dist/cdn/PS7ABQDS.js +4 -0
  241. package/dist/cdn/PS7ABQDS.js.LEGAL.txt +3 -0
  242. package/dist/cdn/PVIZ7F6U.js +4 -0
  243. package/dist/cdn/QITGQARC.js +18 -0
  244. package/dist/cdn/QITGQARC.js.LEGAL.txt +3 -0
  245. package/dist/cdn/QOX4JTFM.js +6 -0
  246. package/dist/cdn/QRPSR4DI.js +5 -0
  247. package/dist/cdn/QSWB6G5P.js +4 -0
  248. package/dist/cdn/QZMOPR6M.js +4 -0
  249. package/dist/cdn/R4C2KK6X.js +18 -0
  250. package/dist/cdn/R4C2KK6X.js.LEGAL.txt +3 -0
  251. package/dist/cdn/R7677QZT.js +4 -0
  252. package/dist/cdn/R7D7KUJI.js +4 -0
  253. package/dist/cdn/R7D7KUJI.js.LEGAL.txt +3 -0
  254. package/dist/cdn/RDWKJIVD.js +4 -0
  255. package/dist/cdn/RE2GC3SA.js +4 -0
  256. package/dist/cdn/RGX3L4IY.js +4 -0
  257. package/dist/cdn/RGX3L4IY.js.LEGAL.txt +3 -0
  258. package/dist/cdn/RJKCXAJO.js +4 -0
  259. package/dist/cdn/RLDGSDPL.js +4 -0
  260. package/dist/cdn/RMYGQ6JF.js +18 -0
  261. package/dist/cdn/RMYGQ6JF.js.LEGAL.txt +3 -0
  262. package/dist/cdn/RNRNV34O.js +4 -0
  263. package/dist/cdn/RTWJUDF5.js +4 -0
  264. package/dist/cdn/S3SH6AEJ.js +18 -0
  265. package/dist/cdn/S3SH6AEJ.js.LEGAL.txt +3 -0
  266. package/dist/cdn/S6W4FN67.js +4 -0
  267. package/dist/cdn/S7PFTOH3.js +18 -0
  268. package/dist/cdn/S7PFTOH3.js.LEGAL.txt +3 -0
  269. package/dist/cdn/SIU52SIE.js +18 -0
  270. package/dist/cdn/SIU52SIE.js.LEGAL.txt +3 -0
  271. package/dist/cdn/SK7UR2VE.js +4 -0
  272. package/dist/cdn/SL3G43NL.js +4 -0
  273. package/dist/cdn/SL3G43NL.js.LEGAL.txt +19 -0
  274. package/dist/cdn/SLYUIGSO.js +18 -0
  275. package/dist/cdn/SLYUIGSO.js.LEGAL.txt +3 -0
  276. package/dist/cdn/SOVGW3AZ.js +4 -0
  277. package/dist/cdn/SQ67LK2Q.js +4 -0
  278. package/dist/cdn/SQTE2NFA.js +4 -0
  279. package/dist/cdn/SXN6V3PG.js +18 -0
  280. package/dist/cdn/SXN6V3PG.js.LEGAL.txt +3 -0
  281. package/dist/cdn/T6POKBRD.js +4 -0
  282. package/dist/cdn/TD45CYB4.js +4 -0
  283. package/dist/cdn/TG5W3N2C.js +5 -0
  284. package/dist/cdn/THZXAVLP.js +4 -0
  285. package/dist/cdn/TL3MTFOG.js +4 -0
  286. package/dist/cdn/TOIIGMFP.js +29 -0
  287. package/dist/cdn/TQ5DZ2N5.js +4 -0
  288. package/dist/cdn/TUI3SYJQ.js +18 -0
  289. package/dist/cdn/TUI3SYJQ.js.LEGAL.txt +3 -0
  290. package/dist/cdn/TUTEMRWF.js +4 -0
  291. package/dist/cdn/U7EYN6AI.js +18 -0
  292. package/dist/cdn/U7EYN6AI.js.LEGAL.txt +3 -0
  293. package/dist/cdn/UA5O7OTK.js +4 -0
  294. package/dist/cdn/UEVRL5NY.js +4 -0
  295. package/dist/cdn/UF747XFL.js +4 -0
  296. package/dist/cdn/UF747XFL.js.LEGAL.txt +19 -0
  297. package/dist/cdn/UIFC66L4.js +4 -0
  298. package/dist/cdn/UM2WKBQM.js +4 -0
  299. package/dist/cdn/UNBBFBCQ.js +4 -0
  300. package/dist/cdn/UOEXSMWL.js +4 -0
  301. package/dist/cdn/UVD2LGTF.js +18 -0
  302. package/dist/cdn/UVD2LGTF.js.LEGAL.txt +3 -0
  303. package/dist/cdn/UVP2Z4BI.js +4 -0
  304. package/dist/cdn/UWSERS2F.js +4 -0
  305. package/dist/cdn/UXEYTIS3.js +4 -0
  306. package/dist/cdn/UZ63PFTT.js +18 -0
  307. package/dist/cdn/UZ63PFTT.js.LEGAL.txt +3 -0
  308. package/dist/cdn/V3Z4XAIB.js +18 -0
  309. package/dist/cdn/V3Z4XAIB.js.LEGAL.txt +3 -0
  310. package/dist/cdn/V6VCGKB3.js +4 -0
  311. package/dist/cdn/VBLJ5UAM.js +4 -0
  312. package/dist/cdn/VJXUYLA7.js +4 -0
  313. package/dist/cdn/VJXUYLA7.js.LEGAL.txt +19 -0
  314. package/dist/cdn/VLLFA7MQ.js +4 -0
  315. package/dist/cdn/VMP2N6GX.js +4 -0
  316. package/dist/cdn/VRGMUDPQ.js +4 -0
  317. package/dist/cdn/VYH6A7SI.js +4 -0
  318. package/dist/cdn/VZ2JRUQE.js +4 -0
  319. package/dist/cdn/W2VPRCNL.js +4 -0
  320. package/dist/cdn/WDTFO2Z4.js +9 -0
  321. package/dist/cdn/WLVPTJJG.js +18 -0
  322. package/dist/cdn/WLVPTJJG.js.LEGAL.txt +3 -0
  323. package/dist/cdn/WMBNELBM.js +4 -0
  324. package/dist/cdn/WSIQQEPR.js +4 -0
  325. package/dist/cdn/WUJP2UBF.js +4 -0
  326. package/dist/cdn/X2VGHGEY.js +18 -0
  327. package/dist/cdn/X2VGHGEY.js.LEGAL.txt +3 -0
  328. package/dist/cdn/X4TEAXPF.js +4 -0
  329. package/dist/cdn/X6OP56KA.js +4 -0
  330. package/dist/cdn/XH2EJ3HB.js +18 -0
  331. package/dist/cdn/XH2EJ3HB.js.LEGAL.txt +3 -0
  332. package/dist/cdn/XHFINBJX.js +4 -0
  333. package/dist/cdn/XOUKUTWZ.js +4 -0
  334. package/dist/cdn/XWRFWUOE.js +4 -0
  335. package/dist/cdn/XWRFWUOE.js.LEGAL.txt +19 -0
  336. package/dist/cdn/YBHYHVIU.js +18 -0
  337. package/dist/cdn/YBHYHVIU.js.LEGAL.txt +3 -0
  338. package/dist/cdn/YBUBSKXY.js +18 -0
  339. package/dist/cdn/YBUBSKXY.js.LEGAL.txt +3 -0
  340. package/dist/cdn/YDUXQGQX.js +18 -0
  341. package/dist/cdn/YDUXQGQX.js.LEGAL.txt +3 -0
  342. package/dist/cdn/YNDXLKEG.js +6 -0
  343. package/dist/cdn/YNDXLKEG.js.LEGAL.txt +145 -0
  344. package/dist/cdn/Z4TIV3DT.js +4 -0
  345. package/dist/cdn/Z55DJ22R.js +4 -0
  346. package/dist/cdn/Z6JY4IAR.js +4 -0
  347. package/dist/cdn/ZD2JQT2L.js +18 -0
  348. package/dist/cdn/ZD2JQT2L.js.LEGAL.txt +3 -0
  349. package/dist/cdn/ZD373FFW.js +4 -0
  350. package/dist/cdn/ZH4C456P.js +4 -0
  351. package/dist/cdn/ZHDVQGRR.js +4 -0
  352. package/dist/cdn/ZJICICUK.js +4 -0
  353. package/dist/cdn/ZOXPU2PV.js +18 -0
  354. package/dist/cdn/ZOXPU2PV.js.LEGAL.txt +3 -0
  355. package/dist/cdn/ZWO4554A.js +4 -0
  356. package/dist/cdn/ZY46L3FQ.js +18 -0
  357. package/dist/cdn/ZY46L3FQ.js.LEGAL.txt +15 -0
  358. package/dist/cdn/assets/field-selection/t9n/messages.en.json +1 -0
  359. package/dist/cdn/assets/field-selection/t9n/messages.json +1 -0
  360. package/dist/cdn/assets/solution-arcticle-card/t9n/messages.en.json +1 -0
  361. package/dist/cdn/assets/solution-arcticle-card/t9n/messages.json +1 -0
  362. package/dist/cdn/assets/solution-card/t9n/messages.en.json +1 -0
  363. package/dist/cdn/assets/solution-card/t9n/messages.json +1 -0
  364. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -0
  365. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -0
  366. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -0
  367. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -0
  368. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -0
  369. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -0
  370. package/dist/cdn/assets/solution-deployed-card/t9n/messages.en.json +1 -0
  371. package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -0
  372. package/dist/cdn/assets/solution-deployed-panel/t9n/messages.en.json +1 -0
  373. package/dist/cdn/assets/solution-deployed-panel/t9n/messages.json +1 -0
  374. package/dist/cdn/assets/solution-deploying-panel/t9n/messages.en.json +1 -0
  375. package/dist/cdn/assets/solution-deploying-panel/t9n/messages.json +1 -0
  376. package/dist/cdn/assets/solutions-article-panel/t9n/messages.en.json +1 -0
  377. package/dist/cdn/assets/solutions-article-panel/t9n/messages.json +1 -0
  378. package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +1 -0
  379. package/dist/cdn/assets/solutions-articles/t9n/messages.json +1 -0
  380. package/dist/cdn/assets/solutions-articles-shell/t9n/messages.en.json +1 -0
  381. package/dist/cdn/assets/solutions-articles-shell/t9n/messages.json +1 -0
  382. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -0
  383. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -0
  384. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.en.json +1 -0
  385. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.json +1 -0
  386. package/dist/cdn/assets/solutions-filter/t9n/messages.en.json +1 -0
  387. package/dist/cdn/assets/solutions-filter/t9n/messages.json +1 -0
  388. package/dist/cdn/assets/solutions-panel/t9n/messages.en.json +1 -0
  389. package/dist/cdn/assets/solutions-panel/t9n/messages.json +1 -0
  390. package/dist/cdn/assets/solutions-shell/t9n/messages.en.json +1 -0
  391. package/dist/cdn/assets/solutions-shell/t9n/messages.json +1 -0
  392. package/dist/cdn/index.css +1 -1
  393. package/dist/cdn/index.esm.js +2 -2
  394. package/dist/cdn/index.esm.js.LEGAL.txt +1 -1
  395. package/dist/chunks/common.js +1 -1
  396. package/dist/chunks/downloadUtils.js +1 -1
  397. package/dist/chunks/index.js +313 -393
  398. package/dist/chunks/interfaces.js +1 -1
  399. package/dist/chunks/languageUtil.js +1 -1
  400. package/dist/chunks/loadModules.js +1 -1
  401. package/dist/chunks/mapViewUtils.js +1 -1
  402. package/dist/chunks/pciUtils.js +1 -1
  403. package/dist/chunks/popupUtils.js +1 -1
  404. package/dist/chunks/publicNotificationStore.js +1 -1
  405. package/dist/chunks/queryUtils.js +1 -1
  406. package/dist/chunks/runtime.js +1 -1
  407. package/dist/chunks/solution-store.js +1 -1
  408. package/dist/chunks/templates.js +1 -1
  409. package/dist/chunks/useT9n.js +865 -5
  410. package/dist/components/arcgis-solution-assistant/customElement.js +1 -1
  411. package/dist/components/basemap-gallery/customElement.js +1 -1
  412. package/dist/components/buffer-tools/customElement.js +2 -2
  413. package/dist/components/card-manager/customElement.js +2 -2
  414. package/dist/components/consent-manager/customElement.js +2 -2
  415. package/dist/components/create-feature/customElement.js +2 -2
  416. package/dist/components/create-related-feature/customElement.js +2 -2
  417. package/dist/components/crowdsource-manager/customElement.js +2 -2
  418. package/dist/components/crowdsource-reporter/customElement.js +2 -2
  419. package/dist/components/deduct-calculator/customElement.js +1 -1
  420. package/dist/components/delete-button/customElement.js +2 -2
  421. package/dist/components/delete-dialog/customElement.js +2 -2
  422. package/dist/components/edit-card/customElement.js +2 -2
  423. package/dist/components/feature-details/customElement.js +1 -1
  424. package/dist/components/feature-list/customElement.js +2 -2
  425. package/dist/components/field-selection/customElement.d.ts +12 -0
  426. package/dist/components/field-selection/customElement.js +202 -0
  427. package/dist/components/field-selection/index.d.ts +3 -0
  428. package/dist/components/field-selection/index.js +3 -0
  429. package/dist/components/floor-filter/customElement.js +1 -1
  430. package/dist/components/info-card/customElement.js +2 -2
  431. package/dist/components/json-editor/customElement.js +2 -2
  432. package/dist/components/layer-list/customElement.js +7 -7
  433. package/dist/components/layer-table/customElement.d.ts +1 -1
  434. package/dist/components/layer-table/customElement.js +118 -270
  435. package/dist/components/layer-table/index.d.ts +3 -4
  436. package/dist/components/layer-table/index.js +3 -4
  437. package/dist/components/map-card/customElement.d.ts +1 -1
  438. package/dist/components/map-card/customElement.js +81 -201
  439. package/dist/components/map-card/index.d.ts +1 -6
  440. package/dist/components/map-card/index.js +1 -6
  441. package/dist/components/map-draw-tools/customElement.js +2 -2
  442. package/dist/components/map-fullscreen/customElement.js +1 -1
  443. package/dist/components/map-layer-picker/customElement.js +2 -2
  444. package/dist/components/map-legend/customElement.js +1 -1
  445. package/dist/components/map-picker/customElement.js +2 -2
  446. package/dist/components/map-search/customElement.js +1 -1
  447. package/dist/components/map-select-tools/customElement.js +5 -5
  448. package/dist/components/map-tools/customElement.js +2 -2
  449. package/dist/components/pci-calculator/customElement.js +1 -1
  450. package/dist/components/pdf-download/customElement.js +2 -2
  451. package/dist/components/public-notification/customElement.js +2 -2
  452. package/dist/components/refine-selection/customElement.js +6 -6
  453. package/dist/components/solution-arcticle-card/customElement.d.ts +5 -0
  454. package/dist/components/solution-arcticle-card/customElement.js +81 -0
  455. package/dist/components/solution-arcticle-card/index.d.ts +2 -0
  456. package/dist/components/solution-arcticle-card/index.js +2 -0
  457. package/dist/components/solution-card/customElement.d.ts +5 -0
  458. package/dist/components/solution-card/customElement.js +81 -0
  459. package/dist/components/solution-card/index.d.ts +2 -0
  460. package/dist/components/solution-card/index.js +2 -0
  461. package/dist/components/solution-configuration/customElement.js +2 -2
  462. package/dist/components/solution-contents/customElement.js +1 -1
  463. package/dist/components/solution-delete-dialog/customElement.d.ts +5 -0
  464. package/dist/components/solution-delete-dialog/customElement.js +81 -0
  465. package/dist/components/solution-delete-dialog/index.d.ts +2 -0
  466. package/dist/components/solution-delete-dialog/index.js +2 -0
  467. package/dist/components/solution-deploy-dialog/customElement.d.ts +5 -0
  468. package/dist/components/solution-deploy-dialog/customElement.js +81 -0
  469. package/dist/components/solution-deploy-dialog/index.d.ts +2 -0
  470. package/dist/components/solution-deploy-dialog/index.js +2 -0
  471. package/dist/components/solution-deploy-panel/customElement.d.ts +5 -0
  472. package/dist/components/solution-deploy-panel/customElement.js +81 -0
  473. package/dist/components/solution-deploy-panel/index.d.ts +2 -0
  474. package/dist/components/solution-deploy-panel/index.js +2 -0
  475. package/dist/components/solution-deployed-card/customElement.d.ts +5 -0
  476. package/dist/components/solution-deployed-card/customElement.js +81 -0
  477. package/dist/components/solution-deployed-card/index.d.ts +2 -0
  478. package/dist/components/solution-deployed-card/index.js +2 -0
  479. package/dist/components/solution-deployed-panel/customElement.d.ts +5 -0
  480. package/dist/components/solution-deployed-panel/customElement.js +81 -0
  481. package/dist/components/solution-deployed-panel/index.d.ts +2 -0
  482. package/dist/components/solution-deployed-panel/index.js +2 -0
  483. package/dist/components/solution-deploying-panel/customElement.d.ts +5 -0
  484. package/dist/components/solution-deploying-panel/customElement.js +81 -0
  485. package/dist/components/solution-deploying-panel/index.d.ts +2 -0
  486. package/dist/components/solution-deploying-panel/index.js +2 -0
  487. package/dist/components/solution-item/customElement.js +2 -2
  488. package/dist/components/solution-item-accordion/customElement.js +2 -2
  489. package/dist/components/solution-item-details/customElement.js +6 -6
  490. package/dist/components/solution-item-icon/customElement.js +1 -1
  491. package/dist/components/solution-item-sharing/customElement.js +2 -2
  492. package/dist/components/solution-organization-variables/customElement.js +2 -2
  493. package/dist/components/solution-resource-item/customElement.js +2 -2
  494. package/dist/components/solution-spatial-ref/customElement.js +14 -14
  495. package/dist/components/solution-template-data/customElement.js +5 -5
  496. package/dist/components/solution-variables/customElement.js +2 -2
  497. package/dist/components/solutions-article-panel/customElement.d.ts +5 -0
  498. package/dist/components/solutions-article-panel/customElement.js +81 -0
  499. package/dist/components/solutions-article-panel/index.d.ts +2 -0
  500. package/dist/components/solutions-article-panel/index.js +2 -0
  501. package/dist/components/solutions-articles/customElement.d.ts +5 -0
  502. package/dist/components/solutions-articles/customElement.js +81 -0
  503. package/dist/components/solutions-articles/index.d.ts +1 -0
  504. package/dist/components/solutions-articles/index.js +1 -0
  505. package/dist/components/solutions-articles-shell/customElement.d.ts +5 -0
  506. package/dist/components/solutions-articles-shell/customElement.js +81 -0
  507. package/dist/components/solutions-articles-shell/index.d.ts +2 -0
  508. package/dist/components/solutions-articles-shell/index.js +2 -0
  509. package/dist/components/solutions-deployed-panel/customElement.d.ts +5 -0
  510. package/dist/components/solutions-deployed-panel/customElement.js +81 -0
  511. package/dist/components/solutions-deployed-panel/index.d.ts +2 -0
  512. package/dist/components/solutions-deployed-panel/index.js +2 -0
  513. package/dist/components/solutions-deployed-shell/customElement.d.ts +5 -0
  514. package/dist/components/solutions-deployed-shell/customElement.js +81 -0
  515. package/dist/components/solutions-deployed-shell/index.d.ts +2 -0
  516. package/dist/components/solutions-deployed-shell/index.js +2 -0
  517. package/dist/components/solutions-filter/customElement.d.ts +5 -0
  518. package/dist/components/solutions-filter/customElement.js +81 -0
  519. package/dist/components/solutions-filter/index.d.ts +1 -0
  520. package/dist/components/solutions-filter/index.js +1 -0
  521. package/dist/components/solutions-panel/customElement.d.ts +5 -0
  522. package/dist/components/solutions-panel/customElement.js +81 -0
  523. package/dist/components/solutions-panel/index.d.ts +2 -0
  524. package/dist/components/solutions-panel/index.js +2 -0
  525. package/dist/components/solutions-shell/customElement.d.ts +5 -0
  526. package/dist/components/solutions-shell/customElement.js +81 -0
  527. package/dist/components/solutions-shell/index.d.ts +2 -0
  528. package/dist/components/solutions-shell/index.js +2 -0
  529. package/dist/components/spatial-ref/customElement.js +2 -2
  530. package/dist/components/store-manager/customElement.js +1 -1
  531. package/dist/docs/api.json +2047 -940
  532. package/dist/docs/docs.json +1612 -559
  533. package/dist/docs/vscode.html-custom-data.json +102 -0
  534. package/dist/docs/web-types.json +187 -1
  535. package/dist/index.d.ts +85 -0
  536. package/dist/index.js +1 -1
  537. package/dist/loader.js +18 -1
  538. package/dist/types/lumina.d.ts +85 -0
  539. package/dist/types/preact.d.ts +102 -0
  540. package/dist/types/react.d.ts +119 -0
  541. package/dist/types/stencil.d.ts +85 -0
  542. package/dist/utils/interfaces.d.ts +0 -6
  543. package/package.json +13 -13
  544. package/dist/cdn/23EN53GE.js +0 -4
  545. package/dist/cdn/27OWB4IA.js +0 -4
  546. package/dist/cdn/2K6AWNX6.js +0 -4
  547. package/dist/cdn/2NLM3Z27.js +0 -8
  548. package/dist/cdn/2PFGF2FA.js +0 -18
  549. package/dist/cdn/2PFGF2FA.js.LEGAL.txt +0 -12
  550. package/dist/cdn/2QIYOCJ5.js +0 -4
  551. package/dist/cdn/2SSKVHGE.js +0 -4
  552. package/dist/cdn/2XSZOVRA.js +0 -18
  553. package/dist/cdn/2XSZOVRA.js.LEGAL.txt +0 -3
  554. package/dist/cdn/36JHYCDB.js +0 -4
  555. package/dist/cdn/36JHYCDB.js.LEGAL.txt +0 -19
  556. package/dist/cdn/36X3TAK4.js +0 -4
  557. package/dist/cdn/37EAIYHW.js +0 -4
  558. package/dist/cdn/37EAIYHW.js.LEGAL.txt +0 -19
  559. package/dist/cdn/3EGASOED.js +0 -18
  560. package/dist/cdn/3EGASOED.js.LEGAL.txt +0 -3
  561. package/dist/cdn/3FCTXEQH.js +0 -18
  562. package/dist/cdn/3FCTXEQH.js.LEGAL.txt +0 -3
  563. package/dist/cdn/3HJP6WAD.js +0 -4
  564. package/dist/cdn/3JNSDLJI.js +0 -4
  565. package/dist/cdn/3JVAONAA.js +0 -4
  566. package/dist/cdn/3OHPCZA4.js +0 -4
  567. package/dist/cdn/3Q36TH64.js +0 -4
  568. package/dist/cdn/3TTRJZYC.js +0 -4
  569. package/dist/cdn/3Z3YAKAK.js +0 -4
  570. package/dist/cdn/4CEW6TGW.js +0 -4
  571. package/dist/cdn/4FAEKMEC.js +0 -4
  572. package/dist/cdn/4LVZWPJ2.js +0 -4
  573. package/dist/cdn/4OPGSHTT.js +0 -4
  574. package/dist/cdn/53PIPOPJ.js +0 -4
  575. package/dist/cdn/5C4YLEN5.js +0 -4
  576. package/dist/cdn/5GDXTLLT.js +0 -4
  577. package/dist/cdn/5I5NDOPA.js +0 -8
  578. package/dist/cdn/5I5NDOPA.js.LEGAL.txt +0 -3
  579. package/dist/cdn/5OFJA7UJ.js +0 -4
  580. package/dist/cdn/5OFJA7UJ.js.LEGAL.txt +0 -3
  581. package/dist/cdn/5OIPQ4BI.js +0 -4
  582. package/dist/cdn/5OIPQ4BI.js.LEGAL.txt +0 -19
  583. package/dist/cdn/5POTYU7S.js +0 -4
  584. package/dist/cdn/5TPDTAJQ.js +0 -4
  585. package/dist/cdn/5U3MVNYX.js +0 -4
  586. package/dist/cdn/64EA2B5T.js +0 -4
  587. package/dist/cdn/6CJPZICX.js +0 -4
  588. package/dist/cdn/6HGJIWAH.js +0 -4
  589. package/dist/cdn/6KNJ2GKC.js +0 -4
  590. package/dist/cdn/6QZCI7BP.js +0 -4
  591. package/dist/cdn/6S2Y3X2N.js +0 -4
  592. package/dist/cdn/6T45FTFA.js +0 -4
  593. package/dist/cdn/6W4LKLOC.js +0 -4
  594. package/dist/cdn/6WXAULYC.js +0 -4
  595. package/dist/cdn/6ZBF3H5V.js +0 -4
  596. package/dist/cdn/7EJZEFTP.js +0 -4
  597. package/dist/cdn/7EJZEFTP.js.LEGAL.txt +0 -19
  598. package/dist/cdn/7J52AKMM.js +0 -4
  599. package/dist/cdn/7JX3WBOX.js +0 -4
  600. package/dist/cdn/7PE7IK2E.js +0 -4
  601. package/dist/cdn/7R2JKMR6.js +0 -4
  602. package/dist/cdn/7SBQ5HCK.js +0 -4
  603. package/dist/cdn/7SXY3UZE.js +0 -18
  604. package/dist/cdn/7SXY3UZE.js.LEGAL.txt +0 -3
  605. package/dist/cdn/7YOCQKPC.js +0 -4
  606. package/dist/cdn/ACEVB2HL.js +0 -4
  607. package/dist/cdn/AL2IYRS4.js +0 -18
  608. package/dist/cdn/AL2IYRS4.js.LEGAL.txt +0 -3
  609. package/dist/cdn/AMYU4CSI.js +0 -19
  610. package/dist/cdn/AMYU4CSI.js.LEGAL.txt +0 -3
  611. package/dist/cdn/AN5VQOAH.js +0 -18
  612. package/dist/cdn/AN5VQOAH.js.LEGAL.txt +0 -3
  613. package/dist/cdn/APFVQVPH.js +0 -18
  614. package/dist/cdn/APFVQVPH.js.LEGAL.txt +0 -3
  615. package/dist/cdn/AU4WNA43.js +0 -18
  616. package/dist/cdn/AU4WNA43.js.LEGAL.txt +0 -3
  617. package/dist/cdn/AVIWNEKX.js +0 -18
  618. package/dist/cdn/AVIWNEKX.js.LEGAL.txt +0 -3
  619. package/dist/cdn/BH2KX5OZ.js +0 -4
  620. package/dist/cdn/BS2V37B6.js +0 -4
  621. package/dist/cdn/BTSQSYCS.js +0 -4
  622. package/dist/cdn/BTSQSYCS.js.LEGAL.txt +0 -3
  623. package/dist/cdn/C6B3J2S4.js +0 -4
  624. package/dist/cdn/CBLISCJ6.js +0 -18
  625. package/dist/cdn/CBLISCJ6.js.LEGAL.txt +0 -3
  626. package/dist/cdn/CJBUYECB.js +0 -18
  627. package/dist/cdn/CJBUYECB.js.LEGAL.txt +0 -3
  628. package/dist/cdn/CL3T4VPL.js +0 -4
  629. package/dist/cdn/CQAC4KC4.js +0 -8
  630. package/dist/cdn/CQHQQOEZ.js +0 -18
  631. package/dist/cdn/CQHQQOEZ.js.LEGAL.txt +0 -3
  632. package/dist/cdn/CS5MVEXD.js +0 -19
  633. package/dist/cdn/CS5MVEXD.js.LEGAL.txt +0 -3
  634. package/dist/cdn/CSDJKEUY.js +0 -4
  635. package/dist/cdn/CTE7V3QU.js +0 -4
  636. package/dist/cdn/CTE7V3QU.js.LEGAL.txt +0 -19
  637. package/dist/cdn/CZDAQ2NO.js +0 -82
  638. package/dist/cdn/CZDAQ2NO.js.LEGAL.txt +0 -244
  639. package/dist/cdn/DCSDA2LM.js +0 -18
  640. package/dist/cdn/DCSDA2LM.js.LEGAL.txt +0 -3
  641. package/dist/cdn/DMGXJX2F.js +0 -4
  642. package/dist/cdn/DOEAV2HT.js +0 -4
  643. package/dist/cdn/DOEAV2HT.js.LEGAL.txt +0 -19
  644. package/dist/cdn/DOO3YT2E.js +0 -18
  645. package/dist/cdn/DOO3YT2E.js.LEGAL.txt +0 -3
  646. package/dist/cdn/DPWWYGEB.js +0 -4
  647. package/dist/cdn/DR4OC52Q.js +0 -4
  648. package/dist/cdn/DT4DPSEA.js +0 -4
  649. package/dist/cdn/DTUI53A2.js +0 -18
  650. package/dist/cdn/DTUI53A2.js.LEGAL.txt +0 -3
  651. package/dist/cdn/E2SNP2T6.js +0 -4
  652. package/dist/cdn/E756MMUL.js +0 -4
  653. package/dist/cdn/EJN6OK4E.js +0 -4
  654. package/dist/cdn/EJN6OK4E.js.LEGAL.txt +0 -19
  655. package/dist/cdn/EJYJO5QZ.js +0 -4
  656. package/dist/cdn/EK6PY2JG.js +0 -4
  657. package/dist/cdn/EM6W35XA.js +0 -4
  658. package/dist/cdn/ENZJFXJE.js +0 -369
  659. package/dist/cdn/F4BQWWK6.js +0 -18
  660. package/dist/cdn/F4BQWWK6.js.LEGAL.txt +0 -3
  661. package/dist/cdn/F4S3XPPK.js +0 -4
  662. package/dist/cdn/FIEUF75E.js +0 -4
  663. package/dist/cdn/FQ6JXEW5.js +0 -18
  664. package/dist/cdn/FQ6JXEW5.js.LEGAL.txt +0 -3
  665. package/dist/cdn/FRDJHCW7.js +0 -4
  666. package/dist/cdn/FS7DZRGW.js +0 -4
  667. package/dist/cdn/FTHSTNWQ.js +0 -4
  668. package/dist/cdn/FUYAA2K4.js +0 -4
  669. package/dist/cdn/G452FDUH.js +0 -18
  670. package/dist/cdn/G452FDUH.js.LEGAL.txt +0 -3
  671. package/dist/cdn/G6KNZA5Q.js +0 -4
  672. package/dist/cdn/GFF5OHBM.js +0 -4
  673. package/dist/cdn/GNPS2VHS.js +0 -4
  674. package/dist/cdn/GO66MNUL.js +0 -4
  675. package/dist/cdn/GSEMN6CL.js +0 -4
  676. package/dist/cdn/GUFKPONK.js +0 -4
  677. package/dist/cdn/GULGNRIX.js +0 -18
  678. package/dist/cdn/GULGNRIX.js.LEGAL.txt +0 -3
  679. package/dist/cdn/H2G647IG.js +0 -4
  680. package/dist/cdn/H5GN5Q3T.js +0 -4
  681. package/dist/cdn/HA7V55MI.js +0 -18
  682. package/dist/cdn/HA7V55MI.js.LEGAL.txt +0 -3
  683. package/dist/cdn/HB7D4U6Q.js +0 -4
  684. package/dist/cdn/HDTZDFF5.js +0 -4
  685. package/dist/cdn/HGBBLNRJ.js +0 -5
  686. package/dist/cdn/HN5GRVW4.js +0 -4
  687. package/dist/cdn/HNXAN7RL.js +0 -4
  688. package/dist/cdn/HPE3IX5V.js +0 -4
  689. package/dist/cdn/HQFRLZ2M.js +0 -4
  690. package/dist/cdn/I2HUBCLR.js +0 -4
  691. package/dist/cdn/I4G4PQAN.js +0 -4
  692. package/dist/cdn/I5EPUHKS.js +0 -4
  693. package/dist/cdn/I5N456B4.js +0 -4
  694. package/dist/cdn/I5UVQE4O.js +0 -4
  695. package/dist/cdn/IAH7ZR5C.js +0 -4
  696. package/dist/cdn/IBRBLTL6.js +0 -4
  697. package/dist/cdn/ILZIQO2S.js +0 -4
  698. package/dist/cdn/IUVLASFU.js +0 -4
  699. package/dist/cdn/IX7K5CJQ.js +0 -19
  700. package/dist/cdn/IX7K5CJQ.js.LEGAL.txt +0 -3
  701. package/dist/cdn/J4GUFFSH.js +0 -4
  702. package/dist/cdn/J54MVUNO.js +0 -4
  703. package/dist/cdn/J66C6F5Z.js +0 -4
  704. package/dist/cdn/JENFKXZW.js +0 -4
  705. package/dist/cdn/JKFXCEKR.js +0 -4
  706. package/dist/cdn/JQ6HCLOW.js +0 -18
  707. package/dist/cdn/JQ6HCLOW.js.LEGAL.txt +0 -3
  708. package/dist/cdn/JUAIKLIH.js +0 -18
  709. package/dist/cdn/JUAIKLIH.js.LEGAL.txt +0 -3
  710. package/dist/cdn/JWWSFYPU.js +0 -4
  711. package/dist/cdn/K2CRYYQY.js +0 -4
  712. package/dist/cdn/K2MJ5PM7.js +0 -4
  713. package/dist/cdn/K5PAE5LL.js +0 -18
  714. package/dist/cdn/K5PAE5LL.js.LEGAL.txt +0 -3
  715. package/dist/cdn/KBQTWDML.js +0 -4
  716. package/dist/cdn/KRGC5FU4.js +0 -4
  717. package/dist/cdn/KTMGKYUW.js +0 -4
  718. package/dist/cdn/KUJMJU44.js +0 -4
  719. package/dist/cdn/KV2UX7UC.js +0 -289
  720. package/dist/cdn/KVQDJX5Z.js +0 -4
  721. package/dist/cdn/KW2F4JGS.js +0 -4
  722. package/dist/cdn/KZ2JK7GJ.js +0 -4
  723. package/dist/cdn/KZT63J4R.js +0 -4
  724. package/dist/cdn/KZVHB4PF.js +0 -4
  725. package/dist/cdn/L6J62IOW.js +0 -4
  726. package/dist/cdn/LCB2OZWP.js +0 -9
  727. package/dist/cdn/LDVGIPS6.js +0 -4
  728. package/dist/cdn/LMRKWGLM.js +0 -4
  729. package/dist/cdn/LPOPG26A.js +0 -4
  730. package/dist/cdn/M3OP26Y3.js +0 -18
  731. package/dist/cdn/M3OP26Y3.js.LEGAL.txt +0 -3
  732. package/dist/cdn/M4EQCIC2.js +0 -4
  733. package/dist/cdn/MAQU3MZQ.js +0 -4
  734. package/dist/cdn/MLILSZJQ.js +0 -4
  735. package/dist/cdn/MLILSZJQ.js.LEGAL.txt +0 -3
  736. package/dist/cdn/MMPEVEK5.js +0 -18
  737. package/dist/cdn/MMPEVEK5.js.LEGAL.txt +0 -3
  738. package/dist/cdn/NGB6VIEF.js +0 -4
  739. package/dist/cdn/NHE4ETEK.js +0 -4
  740. package/dist/cdn/NLBORFZO.js +0 -4
  741. package/dist/cdn/NNPBV72U.js +0 -18
  742. package/dist/cdn/NNPBV72U.js.LEGAL.txt +0 -3
  743. package/dist/cdn/NSQFDOFO.js +0 -6
  744. package/dist/cdn/NSQFDOFO.js.LEGAL.txt +0 -145
  745. package/dist/cdn/NV7DE2XZ.js +0 -4
  746. package/dist/cdn/NVTOOX5G.js +0 -4
  747. package/dist/cdn/O2J2ZTNW.js +0 -4
  748. package/dist/cdn/O2S5JFQ2.js +0 -18
  749. package/dist/cdn/O2S5JFQ2.js.LEGAL.txt +0 -3
  750. package/dist/cdn/O3TTL74B.js +0 -4
  751. package/dist/cdn/O4K6VNSI.js +0 -4
  752. package/dist/cdn/OIXGYMKP.js +0 -18
  753. package/dist/cdn/OIXGYMKP.js.LEGAL.txt +0 -3
  754. package/dist/cdn/ORFHNVJT.js +0 -18
  755. package/dist/cdn/ORFHNVJT.js.LEGAL.txt +0 -3
  756. package/dist/cdn/ORFXSMCM.js +0 -4
  757. package/dist/cdn/OSSIVUYV.js +0 -18
  758. package/dist/cdn/OSSIVUYV.js.LEGAL.txt +0 -3
  759. package/dist/cdn/OV3DQU5T.js +0 -18
  760. package/dist/cdn/OV3DQU5T.js.LEGAL.txt +0 -3
  761. package/dist/cdn/OV3YNRKU.js +0 -4
  762. package/dist/cdn/OVSJKW6K.js +0 -4
  763. package/dist/cdn/OWH6MUHY.js +0 -4
  764. package/dist/cdn/P2UVFIEM.js +0 -4
  765. package/dist/cdn/PA4IUZG6.js +0 -4
  766. package/dist/cdn/PEU5QCM2.js +0 -18
  767. package/dist/cdn/PEU5QCM2.js.LEGAL.txt +0 -3
  768. package/dist/cdn/PFA5XIAS.js +0 -18
  769. package/dist/cdn/PFA5XIAS.js.LEGAL.txt +0 -3
  770. package/dist/cdn/PFHSSWIG.js +0 -29
  771. package/dist/cdn/PHMW4GYU.js +0 -4
  772. package/dist/cdn/PIUZQHML.js +0 -18
  773. package/dist/cdn/PIUZQHML.js.LEGAL.txt +0 -19
  774. package/dist/cdn/PKM4R6RZ.js +0 -4
  775. package/dist/cdn/PLOSJYAD.js +0 -4
  776. package/dist/cdn/PLWRTFBB.js +0 -4
  777. package/dist/cdn/QFF4BJVQ.js +0 -4
  778. package/dist/cdn/QGW3RHX7.js +0 -4
  779. package/dist/cdn/QNR6ZP57.js +0 -18
  780. package/dist/cdn/QNR6ZP57.js.LEGAL.txt +0 -3
  781. package/dist/cdn/QR4G64G3.js +0 -18
  782. package/dist/cdn/QR4G64G3.js.LEGAL.txt +0 -3
  783. package/dist/cdn/RC5AYYPD.js +0 -4
  784. package/dist/cdn/RDFKEW6H.js +0 -4
  785. package/dist/cdn/REMJQBSB.js +0 -4
  786. package/dist/cdn/RKYT6TQT.js +0 -4
  787. package/dist/cdn/RPFP77BC.js +0 -6
  788. package/dist/cdn/RPITIMI5.js +0 -4
  789. package/dist/cdn/RPITIMI5.js.LEGAL.txt +0 -3
  790. package/dist/cdn/RRSCLZFO.js +0 -18
  791. package/dist/cdn/RRSCLZFO.js.LEGAL.txt +0 -19
  792. package/dist/cdn/RSZ7ODXK.js +0 -4
  793. package/dist/cdn/RTCXACXX.js +0 -4
  794. package/dist/cdn/RWCD7V2F.js +0 -4
  795. package/dist/cdn/RWL7245F.js +0 -4
  796. package/dist/cdn/S524L6X7.js +0 -4
  797. package/dist/cdn/SIQ7FQRM.js +0 -18
  798. package/dist/cdn/SIQ7FQRM.js.LEGAL.txt +0 -3
  799. package/dist/cdn/SKSU5D4I.js +0 -4
  800. package/dist/cdn/SKSU5D4I.js.LEGAL.txt +0 -19
  801. package/dist/cdn/SKYJIKJA.js +0 -4
  802. package/dist/cdn/SKYJIKJA.js.LEGAL.txt +0 -19
  803. package/dist/cdn/SMZTGWTV.js +0 -4
  804. package/dist/cdn/SNFKFPMS.js +0 -4
  805. package/dist/cdn/SOEZTXRO.js +0 -4
  806. package/dist/cdn/SOL65JQ4.js +0 -4
  807. package/dist/cdn/SRDKNFMF.js +0 -4
  808. package/dist/cdn/SRKU3PKD.js +0 -4
  809. package/dist/cdn/SRZAMTBD.js +0 -4
  810. package/dist/cdn/STQZ2W37.js +0 -4
  811. package/dist/cdn/SWNRKE46.js +0 -4
  812. package/dist/cdn/T2NMN7QY.js +0 -4
  813. package/dist/cdn/T6L5JGC6.js +0 -4
  814. package/dist/cdn/TF7SZXXX.js +0 -4
  815. package/dist/cdn/TG5XD2QO.js +0 -4
  816. package/dist/cdn/THZX3TQM.js +0 -4
  817. package/dist/cdn/TOZPEZFZ.js +0 -4
  818. package/dist/cdn/U52KE6MX.js +0 -4
  819. package/dist/cdn/UB5RJKKZ.js +0 -4
  820. package/dist/cdn/UHOH7ES4.js +0 -4
  821. package/dist/cdn/UQ7WCAYB.js +0 -4
  822. package/dist/cdn/UYLTRMGV.js +0 -4
  823. package/dist/cdn/UYLTRMGV.js.LEGAL.txt +0 -19
  824. package/dist/cdn/V7EXZGYT.js +0 -8
  825. package/dist/cdn/VCDZP3XO.js +0 -4
  826. package/dist/cdn/VE2B2HSX.js +0 -4
  827. package/dist/cdn/VK7APA2T.js +0 -4
  828. package/dist/cdn/VNE5TMJD.js +0 -9
  829. package/dist/cdn/VNZ2JTDZ.js +0 -4
  830. package/dist/cdn/VSNF2EJL.js +0 -4
  831. package/dist/cdn/VUMWMUPF.js +0 -18
  832. package/dist/cdn/VUMWMUPF.js.LEGAL.txt +0 -3
  833. package/dist/cdn/VZR4RZJC.js +0 -4
  834. package/dist/cdn/W5HDVWBO.js +0 -4
  835. package/dist/cdn/WGZ2DGM2.js +0 -4
  836. package/dist/cdn/WIVWOQFP.js +0 -4
  837. package/dist/cdn/WIVXKL64.js +0 -4
  838. package/dist/cdn/WJXEB535.js +0 -4
  839. package/dist/cdn/XBHXMSRW.js +0 -4
  840. package/dist/cdn/XFIZBMLV.js +0 -18
  841. package/dist/cdn/XFIZBMLV.js.LEGAL.txt +0 -3
  842. package/dist/cdn/XJBQPD66.js +0 -4
  843. package/dist/cdn/XLUDVBTF.js +0 -5
  844. package/dist/cdn/Y4XHXGZQ.js +0 -4
  845. package/dist/cdn/Y7NU6I7B.js +0 -4
  846. package/dist/cdn/YETBXJWH.js +0 -4
  847. package/dist/cdn/YEVMMRSD.js +0 -4
  848. package/dist/cdn/YKOZ34AD.js +0 -4
  849. package/dist/cdn/YVZDLOA7.js +0 -4
  850. package/dist/cdn/Z4XOZQNT.js +0 -4
  851. package/dist/cdn/Z5EMY4HS.js +0 -4
  852. package/dist/cdn/ZAX6F3M4.js +0 -4
  853. package/dist/cdn/ZBLXWICV.js +0 -4
  854. package/dist/cdn/ZGDXRRXB.js +0 -18
  855. package/dist/cdn/ZGDXRRXB.js.LEGAL.txt +0 -3
  856. package/dist/cdn/ZH3KBMHB.js +0 -4
  857. package/dist/cdn/ZHLPKL6N.js +0 -4
  858. package/dist/cdn/ZKKZKU5S.js +0 -4
  859. package/dist/cdn/ZKX7EDC4.js +0 -4
  860. package/dist/cdn/ZM7WZD57.js +0 -4
  861. package/dist/cdn/ZMOTYES6.js +0 -4
  862. package/dist/cdn/ZXGVGZVD.js +0 -4
  863. /package/dist/cdn/{23EN53GE.js.LEGAL.txt → 2GRS37X7.js.LEGAL.txt} +0 -0
  864. /package/dist/cdn/{27OWB4IA.js.LEGAL.txt → 2HX6FCAK.js.LEGAL.txt} +0 -0
  865. /package/dist/cdn/{2K6AWNX6.js.LEGAL.txt → 2REUOAYN.js.LEGAL.txt} +0 -0
  866. /package/dist/cdn/{2NLM3Z27.js.LEGAL.txt → 2SKAZYD6.js.LEGAL.txt} +0 -0
  867. /package/dist/cdn/{2QIYOCJ5.js.LEGAL.txt → 33IR7OMW.js.LEGAL.txt} +0 -0
  868. /package/dist/cdn/{2SSKVHGE.js.LEGAL.txt → 34MAQAZR.js.LEGAL.txt} +0 -0
  869. /package/dist/cdn/{36X3TAK4.js.LEGAL.txt → 37HUHHO7.js.LEGAL.txt} +0 -0
  870. /package/dist/cdn/{3HJP6WAD.js.LEGAL.txt → 3ANM7XFB.js.LEGAL.txt} +0 -0
  871. /package/dist/cdn/{3JNSDLJI.js.LEGAL.txt → 3ETTC3FG.js.LEGAL.txt} +0 -0
  872. /package/dist/cdn/{V7EXZGYT.js.LEGAL.txt → 3F3Z4KSX.js.LEGAL.txt} +0 -0
  873. /package/dist/cdn/{O3TTL74B.js.LEGAL.txt → 3FTBYA6D.js.LEGAL.txt} +0 -0
  874. /package/dist/cdn/{3JVAONAA.js.LEGAL.txt → 3I352GYZ.js.LEGAL.txt} +0 -0
  875. /package/dist/cdn/{3OHPCZA4.js.LEGAL.txt → 3JIAL5PR.js.LEGAL.txt} +0 -0
  876. /package/dist/cdn/{3Q36TH64.js.LEGAL.txt → 3KWIEYNR.js.LEGAL.txt} +0 -0
  877. /package/dist/cdn/{3TTRJZYC.js.LEGAL.txt → 3LYCHZKL.js.LEGAL.txt} +0 -0
  878. /package/dist/cdn/{3Z3YAKAK.js.LEGAL.txt → 3OOAVDRN.js.LEGAL.txt} +0 -0
  879. /package/dist/cdn/{4CEW6TGW.js.LEGAL.txt → 3RKAIMOF.js.LEGAL.txt} +0 -0
  880. /package/dist/cdn/{4FAEKMEC.js.LEGAL.txt → 3THCG7YT.js.LEGAL.txt} +0 -0
  881. /package/dist/cdn/{4LVZWPJ2.js.LEGAL.txt → 3TUMDUZ2.js.LEGAL.txt} +0 -0
  882. /package/dist/cdn/{4OPGSHTT.js.LEGAL.txt → 3ZKP3KI2.js.LEGAL.txt} +0 -0
  883. /package/dist/cdn/{53PIPOPJ.js.LEGAL.txt → 43S7QB4I.js.LEGAL.txt} +0 -0
  884. /package/dist/cdn/{5C4YLEN5.js.LEGAL.txt → 4Q2J5ABH.js.LEGAL.txt} +0 -0
  885. /package/dist/cdn/{5GDXTLLT.js.LEGAL.txt → 4QRK655C.js.LEGAL.txt} +0 -0
  886. /package/dist/cdn/{5POTYU7S.js.LEGAL.txt → 4QRMLMQL.js.LEGAL.txt} +0 -0
  887. /package/dist/cdn/{5TPDTAJQ.js.LEGAL.txt → 4VR6ARLW.js.LEGAL.txt} +0 -0
  888. /package/dist/cdn/{5U3MVNYX.js.LEGAL.txt → 53IN5OZF.js.LEGAL.txt} +0 -0
  889. /package/dist/cdn/{6CJPZICX.js.LEGAL.txt → 53ZCYBBD.js.LEGAL.txt} +0 -0
  890. /package/dist/cdn/{6HGJIWAH.js.LEGAL.txt → 5BXJMHCL.js.LEGAL.txt} +0 -0
  891. /package/dist/cdn/{6KNJ2GKC.js.LEGAL.txt → 5DIS4K5I.js.LEGAL.txt} +0 -0
  892. /package/dist/cdn/{6QZCI7BP.js.LEGAL.txt → 5Z4DUBG2.js.LEGAL.txt} +0 -0
  893. /package/dist/cdn/{64EA2B5T.js.LEGAL.txt → 6AN2HT42.js.LEGAL.txt} +0 -0
  894. /package/dist/cdn/{6S2Y3X2N.js.LEGAL.txt → 6AWBJHVP.js.LEGAL.txt} +0 -0
  895. /package/dist/cdn/{6T45FTFA.js.LEGAL.txt → 6BJK4Y3R.js.LEGAL.txt} +0 -0
  896. /package/dist/cdn/{HNXAN7RL.js.LEGAL.txt → 6MM5LTH3.js.LEGAL.txt} +0 -0
  897. /package/dist/cdn/{6W4LKLOC.js.LEGAL.txt → 6OXKWWOR.js.LEGAL.txt} +0 -0
  898. /package/dist/cdn/{6WXAULYC.js.LEGAL.txt → 6P6HAWTI.js.LEGAL.txt} +0 -0
  899. /package/dist/cdn/{6ZBF3H5V.js.LEGAL.txt → 6PH3TFPT.js.LEGAL.txt} +0 -0
  900. /package/dist/cdn/{7J52AKMM.js.LEGAL.txt → 6V42W4KY.js.LEGAL.txt} +0 -0
  901. /package/dist/cdn/{7JX3WBOX.js.LEGAL.txt → 6V44HVQR.js.LEGAL.txt} +0 -0
  902. /package/dist/cdn/{7PE7IK2E.js.LEGAL.txt → 6VQCO6BY.js.LEGAL.txt} +0 -0
  903. /package/dist/cdn/{7R2JKMR6.js.LEGAL.txt → 6WSDYAM3.js.LEGAL.txt} +0 -0
  904. /package/dist/cdn/{7SBQ5HCK.js.LEGAL.txt → 743XVVP4.js.LEGAL.txt} +0 -0
  905. /package/dist/cdn/{7YOCQKPC.js.LEGAL.txt → 7BRBYBBJ.js.LEGAL.txt} +0 -0
  906. /package/dist/cdn/{ACEVB2HL.js.LEGAL.txt → 7MMTHL2O.js.LEGAL.txt} +0 -0
  907. /package/dist/cdn/{BH2KX5OZ.js.LEGAL.txt → 7QN67RPO.js.LEGAL.txt} +0 -0
  908. /package/dist/cdn/{BS2V37B6.js.LEGAL.txt → 7RL2WMSM.js.LEGAL.txt} +0 -0
  909. /package/dist/cdn/{C6B3J2S4.js.LEGAL.txt → 7U7WZ3S7.js.LEGAL.txt} +0 -0
  910. /package/dist/cdn/{CL3T4VPL.js.LEGAL.txt → A4ZGAGEE.js.LEGAL.txt} +0 -0
  911. /package/dist/cdn/{CSDJKEUY.js.LEGAL.txt → AC6RPL76.js.LEGAL.txt} +0 -0
  912. /package/dist/cdn/{DMGXJX2F.js.LEGAL.txt → AF5MY4A4.js.LEGAL.txt} +0 -0
  913. /package/dist/cdn/{DPWWYGEB.js.LEGAL.txt → AJ55I2XC.js.LEGAL.txt} +0 -0
  914. /package/dist/cdn/{SOL65JQ4.js.LEGAL.txt → AKISLBPG.js.LEGAL.txt} +0 -0
  915. /package/dist/cdn/{DR4OC52Q.js.LEGAL.txt → AR3HGWNW.js.LEGAL.txt} +0 -0
  916. /package/dist/cdn/{DT4DPSEA.js.LEGAL.txt → ASG2C5GW.js.LEGAL.txt} +0 -0
  917. /package/dist/cdn/{E2SNP2T6.js.LEGAL.txt → AWXRYAQV.js.LEGAL.txt} +0 -0
  918. /package/dist/cdn/{E756MMUL.js.LEGAL.txt → AYJLOTN7.js.LEGAL.txt} +0 -0
  919. /package/dist/cdn/{EJYJO5QZ.js.LEGAL.txt → B457FLDV.js.LEGAL.txt} +0 -0
  920. /package/dist/cdn/{EK6PY2JG.js.LEGAL.txt → BC2TMUHH.js.LEGAL.txt} +0 -0
  921. /package/dist/cdn/{EM6W35XA.js.LEGAL.txt → BFFUOQCB.js.LEGAL.txt} +0 -0
  922. /package/dist/cdn/{ENZJFXJE.js.LEGAL.txt → BJ22FRU6.js.LEGAL.txt} +0 -0
  923. /package/dist/cdn/{F4S3XPPK.js.LEGAL.txt → C5ORRGM4.js.LEGAL.txt} +0 -0
  924. /package/dist/cdn/{FIEUF75E.js.LEGAL.txt → CK3SOCEN.js.LEGAL.txt} +0 -0
  925. /package/dist/cdn/{FRDJHCW7.js.LEGAL.txt → CMCMD2OX.js.LEGAL.txt} +0 -0
  926. /package/dist/cdn/{FS7DZRGW.js.LEGAL.txt → CQY2NLGD.js.LEGAL.txt} +0 -0
  927. /package/dist/cdn/{FTHSTNWQ.js.LEGAL.txt → D2UOAAHQ.js.LEGAL.txt} +0 -0
  928. /package/dist/cdn/{FUYAA2K4.js.LEGAL.txt → DJNWDLSI.js.LEGAL.txt} +0 -0
  929. /package/dist/cdn/{ZKKZKU5S.js.LEGAL.txt → DN7SP6NO.js.LEGAL.txt} +0 -0
  930. /package/dist/cdn/{G6KNZA5Q.js.LEGAL.txt → DNXBYW5K.js.LEGAL.txt} +0 -0
  931. /package/dist/cdn/{GFF5OHBM.js.LEGAL.txt → DOOF45DZ.js.LEGAL.txt} +0 -0
  932. /package/dist/cdn/{GNPS2VHS.js.LEGAL.txt → DQANTQX6.js.LEGAL.txt} +0 -0
  933. /package/dist/cdn/{GO66MNUL.js.LEGAL.txt → DUYGANY2.js.LEGAL.txt} +0 -0
  934. /package/dist/cdn/{CQAC4KC4.js.LEGAL.txt → DYO73VGA.js.LEGAL.txt} +0 -0
  935. /package/dist/cdn/{GSEMN6CL.js.LEGAL.txt → E2JPYVLI.js.LEGAL.txt} +0 -0
  936. /package/dist/cdn/{GUFKPONK.js.LEGAL.txt → EDBEEEVK.js.LEGAL.txt} +0 -0
  937. /package/dist/cdn/{MAQU3MZQ.js.LEGAL.txt → EHZAPCOL.js.LEGAL.txt} +0 -0
  938. /package/dist/cdn/{H2G647IG.js.LEGAL.txt → ELJBFQO5.js.LEGAL.txt} +0 -0
  939. /package/dist/cdn/{H5GN5Q3T.js.LEGAL.txt → ENXIJOAI.js.LEGAL.txt} +0 -0
  940. /package/dist/cdn/{HB7D4U6Q.js.LEGAL.txt → EQA4LFQU.js.LEGAL.txt} +0 -0
  941. /package/dist/cdn/{HDTZDFF5.js.LEGAL.txt → ETJRRZSC.js.LEGAL.txt} +0 -0
  942. /package/dist/cdn/{HN5GRVW4.js.LEGAL.txt → EYYA6ISO.js.LEGAL.txt} +0 -0
  943. /package/dist/cdn/{HPE3IX5V.js.LEGAL.txt → F26FASAW.js.LEGAL.txt} +0 -0
  944. /package/dist/cdn/{HQFRLZ2M.js.LEGAL.txt → F42LPM2X.js.LEGAL.txt} +0 -0
  945. /package/dist/cdn/{I2HUBCLR.js.LEGAL.txt → F6AIF36S.js.LEGAL.txt} +0 -0
  946. /package/dist/cdn/{I4G4PQAN.js.LEGAL.txt → FIIJHHD5.js.LEGAL.txt} +0 -0
  947. /package/dist/cdn/{I5EPUHKS.js.LEGAL.txt → FJR3ESNE.js.LEGAL.txt} +0 -0
  948. /package/dist/cdn/{I5N456B4.js.LEGAL.txt → FM7RW7WG.js.LEGAL.txt} +0 -0
  949. /package/dist/cdn/{I5UVQE4O.js.LEGAL.txt → GPZWQ5BC.js.LEGAL.txt} +0 -0
  950. /package/dist/cdn/{IAH7ZR5C.js.LEGAL.txt → HMGAX6TK.js.LEGAL.txt} +0 -0
  951. /package/dist/cdn/{IBRBLTL6.js.LEGAL.txt → HN6KQB4T.js.LEGAL.txt} +0 -0
  952. /package/dist/cdn/{ILZIQO2S.js.LEGAL.txt → HSDASDTA.js.LEGAL.txt} +0 -0
  953. /package/dist/cdn/{IUVLASFU.js.LEGAL.txt → I5FCRFC5.js.LEGAL.txt} +0 -0
  954. /package/dist/cdn/{J4GUFFSH.js.LEGAL.txt → IAUZNVMA.js.LEGAL.txt} +0 -0
  955. /package/dist/cdn/{J54MVUNO.js.LEGAL.txt → ID4YPPDM.js.LEGAL.txt} +0 -0
  956. /package/dist/cdn/{J66C6F5Z.js.LEGAL.txt → IS3XS4JG.js.LEGAL.txt} +0 -0
  957. /package/dist/cdn/{JENFKXZW.js.LEGAL.txt → IYF62OZH.js.LEGAL.txt} +0 -0
  958. /package/dist/cdn/{JKFXCEKR.js.LEGAL.txt → J5ZM2DJJ.js.LEGAL.txt} +0 -0
  959. /package/dist/cdn/{JWWSFYPU.js.LEGAL.txt → JIRZNGWT.js.LEGAL.txt} +0 -0
  960. /package/dist/cdn/{K2CRYYQY.js.LEGAL.txt → JJHVWJIZ.js.LEGAL.txt} +0 -0
  961. /package/dist/cdn/{K2MJ5PM7.js.LEGAL.txt → JJYBOSCM.js.LEGAL.txt} +0 -0
  962. /package/dist/cdn/{KBQTWDML.js.LEGAL.txt → JRGDIJ3V.js.LEGAL.txt} +0 -0
  963. /package/dist/cdn/{KRGC5FU4.js.LEGAL.txt → JRT5B2NZ.js.LEGAL.txt} +0 -0
  964. /package/dist/cdn/{KTMGKYUW.js.LEGAL.txt → JX6PK263.js.LEGAL.txt} +0 -0
  965. /package/dist/cdn/{KUJMJU44.js.LEGAL.txt → K5VCYZFO.js.LEGAL.txt} +0 -0
  966. /package/dist/cdn/{KV2UX7UC.js.LEGAL.txt → KER7GPPW.js.LEGAL.txt} +0 -0
  967. /package/dist/cdn/{KVQDJX5Z.js.LEGAL.txt → KGMA7REF.js.LEGAL.txt} +0 -0
  968. /package/dist/cdn/{KW2F4JGS.js.LEGAL.txt → KQCPS5LO.js.LEGAL.txt} +0 -0
  969. /package/dist/cdn/{KZ2JK7GJ.js.LEGAL.txt → KWPDI7E7.js.LEGAL.txt} +0 -0
  970. /package/dist/cdn/{KZT63J4R.js.LEGAL.txt → LA454RAS.js.LEGAL.txt} +0 -0
  971. /package/dist/cdn/{KZVHB4PF.js.LEGAL.txt → LM37QDPC.js.LEGAL.txt} +0 -0
  972. /package/dist/cdn/{L6J62IOW.js.LEGAL.txt → LUJMX6RU.js.LEGAL.txt} +0 -0
  973. /package/dist/cdn/{LCB2OZWP.js.LEGAL.txt → M4A3WEXJ.js.LEGAL.txt} +0 -0
  974. /package/dist/cdn/{LDVGIPS6.js.LEGAL.txt → M4ANYEMT.js.LEGAL.txt} +0 -0
  975. /package/dist/cdn/{LMRKWGLM.js.LEGAL.txt → M7CF56J4.js.LEGAL.txt} +0 -0
  976. /package/dist/cdn/{LPOPG26A.js.LEGAL.txt → MSYWTUK5.js.LEGAL.txt} +0 -0
  977. /package/dist/cdn/{M4EQCIC2.js.LEGAL.txt → MT2VOTR3.js.LEGAL.txt} +0 -0
  978. /package/dist/cdn/{NGB6VIEF.js.LEGAL.txt → MXSOXTTS.js.LEGAL.txt} +0 -0
  979. /package/dist/cdn/{NHE4ETEK.js.LEGAL.txt → N25RGMP5.js.LEGAL.txt} +0 -0
  980. /package/dist/cdn/{NLBORFZO.js.LEGAL.txt → N4LY4NPV.js.LEGAL.txt} +0 -0
  981. /package/dist/cdn/{NV7DE2XZ.js.LEGAL.txt → N4UF6HC5.js.LEGAL.txt} +0 -0
  982. /package/dist/cdn/{NVTOOX5G.js.LEGAL.txt → NGFHBV64.js.LEGAL.txt} +0 -0
  983. /package/dist/cdn/{O2J2ZTNW.js.LEGAL.txt → NIRBEIDQ.js.LEGAL.txt} +0 -0
  984. /package/dist/cdn/{O4K6VNSI.js.LEGAL.txt → NMHHR32V.js.LEGAL.txt} +0 -0
  985. /package/dist/cdn/{ORFXSMCM.js.LEGAL.txt → NSAL5FWX.js.LEGAL.txt} +0 -0
  986. /package/dist/cdn/{OV3YNRKU.js.LEGAL.txt → NSWALNGN.js.LEGAL.txt} +0 -0
  987. /package/dist/cdn/{OVSJKW6K.js.LEGAL.txt → NZLLBZ2V.js.LEGAL.txt} +0 -0
  988. /package/dist/cdn/{OWH6MUHY.js.LEGAL.txt → O2ATNQHH.js.LEGAL.txt} +0 -0
  989. /package/dist/cdn/{P2UVFIEM.js.LEGAL.txt → OCDAJIGO.js.LEGAL.txt} +0 -0
  990. /package/dist/cdn/{PA4IUZG6.js.LEGAL.txt → OIYCTA5F.js.LEGAL.txt} +0 -0
  991. /package/dist/cdn/{PFHSSWIG.js.LEGAL.txt → OJLUQMLL.js.LEGAL.txt} +0 -0
  992. /package/dist/cdn/{PHMW4GYU.js.LEGAL.txt → OPSNBFKY.js.LEGAL.txt} +0 -0
  993. /package/dist/cdn/{PKM4R6RZ.js.LEGAL.txt → OUSGJQJX.js.LEGAL.txt} +0 -0
  994. /package/dist/cdn/{PLOSJYAD.js.LEGAL.txt → OWFOQTXL.js.LEGAL.txt} +0 -0
  995. /package/dist/cdn/{PLWRTFBB.js.LEGAL.txt → P6FEFFP4.js.LEGAL.txt} +0 -0
  996. /package/dist/cdn/{QFF4BJVQ.js.LEGAL.txt → PBOJ4E53.js.LEGAL.txt} +0 -0
  997. /package/dist/cdn/{QGW3RHX7.js.LEGAL.txt → PEXXDCVN.js.LEGAL.txt} +0 -0
  998. /package/dist/cdn/{RC5AYYPD.js.LEGAL.txt → PIJEEFJX.js.LEGAL.txt} +0 -0
  999. /package/dist/cdn/{RDFKEW6H.js.LEGAL.txt → PP2V24WW.js.LEGAL.txt} +0 -0
  1000. /package/dist/cdn/{REMJQBSB.js.LEGAL.txt → PVIZ7F6U.js.LEGAL.txt} +0 -0
  1001. /package/dist/cdn/{RPFP77BC.js.LEGAL.txt → QOX4JTFM.js.LEGAL.txt} +0 -0
  1002. /package/dist/cdn/{XLUDVBTF.js.LEGAL.txt → QRPSR4DI.js.LEGAL.txt} +0 -0
  1003. /package/dist/cdn/{RKYT6TQT.js.LEGAL.txt → QSWB6G5P.js.LEGAL.txt} +0 -0
  1004. /package/dist/cdn/{RSZ7ODXK.js.LEGAL.txt → QZMOPR6M.js.LEGAL.txt} +0 -0
  1005. /package/dist/cdn/{RTCXACXX.js.LEGAL.txt → R7677QZT.js.LEGAL.txt} +0 -0
  1006. /package/dist/cdn/{RWCD7V2F.js.LEGAL.txt → RDWKJIVD.js.LEGAL.txt} +0 -0
  1007. /package/dist/cdn/{RWL7245F.js.LEGAL.txt → RE2GC3SA.js.LEGAL.txt} +0 -0
  1008. /package/dist/cdn/{S524L6X7.js.LEGAL.txt → RJKCXAJO.js.LEGAL.txt} +0 -0
  1009. /package/dist/cdn/{SMZTGWTV.js.LEGAL.txt → RLDGSDPL.js.LEGAL.txt} +0 -0
  1010. /package/dist/cdn/{SNFKFPMS.js.LEGAL.txt → RNRNV34O.js.LEGAL.txt} +0 -0
  1011. /package/dist/cdn/{SOEZTXRO.js.LEGAL.txt → RTWJUDF5.js.LEGAL.txt} +0 -0
  1012. /package/dist/cdn/{SRDKNFMF.js.LEGAL.txt → S6W4FN67.js.LEGAL.txt} +0 -0
  1013. /package/dist/cdn/{SRKU3PKD.js.LEGAL.txt → SK7UR2VE.js.LEGAL.txt} +0 -0
  1014. /package/dist/cdn/{SRZAMTBD.js.LEGAL.txt → SOVGW3AZ.js.LEGAL.txt} +0 -0
  1015. /package/dist/cdn/{STQZ2W37.js.LEGAL.txt → SQ67LK2Q.js.LEGAL.txt} +0 -0
  1016. /package/dist/cdn/{SWNRKE46.js.LEGAL.txt → SQTE2NFA.js.LEGAL.txt} +0 -0
  1017. /package/dist/cdn/{T2NMN7QY.js.LEGAL.txt → T6POKBRD.js.LEGAL.txt} +0 -0
  1018. /package/dist/cdn/{T6L5JGC6.js.LEGAL.txt → TD45CYB4.js.LEGAL.txt} +0 -0
  1019. /package/dist/cdn/{HGBBLNRJ.js.LEGAL.txt → TG5W3N2C.js.LEGAL.txt} +0 -0
  1020. /package/dist/cdn/{TF7SZXXX.js.LEGAL.txt → THZXAVLP.js.LEGAL.txt} +0 -0
  1021. /package/dist/cdn/{TG5XD2QO.js.LEGAL.txt → TL3MTFOG.js.LEGAL.txt} +0 -0
  1022. /package/dist/cdn/{THZX3TQM.js.LEGAL.txt → TOIIGMFP.js.LEGAL.txt} +0 -0
  1023. /package/dist/cdn/{TOZPEZFZ.js.LEGAL.txt → TQ5DZ2N5.js.LEGAL.txt} +0 -0
  1024. /package/dist/cdn/{U52KE6MX.js.LEGAL.txt → TUTEMRWF.js.LEGAL.txt} +0 -0
  1025. /package/dist/cdn/{UB5RJKKZ.js.LEGAL.txt → UA5O7OTK.js.LEGAL.txt} +0 -0
  1026. /package/dist/cdn/{UHOH7ES4.js.LEGAL.txt → UEVRL5NY.js.LEGAL.txt} +0 -0
  1027. /package/dist/cdn/{UQ7WCAYB.js.LEGAL.txt → UIFC66L4.js.LEGAL.txt} +0 -0
  1028. /package/dist/cdn/{VCDZP3XO.js.LEGAL.txt → UM2WKBQM.js.LEGAL.txt} +0 -0
  1029. /package/dist/cdn/{Z4XOZQNT.js.LEGAL.txt → UNBBFBCQ.js.LEGAL.txt} +0 -0
  1030. /package/dist/cdn/{VE2B2HSX.js.LEGAL.txt → UOEXSMWL.js.LEGAL.txt} +0 -0
  1031. /package/dist/cdn/{VK7APA2T.js.LEGAL.txt → UVP2Z4BI.js.LEGAL.txt} +0 -0
  1032. /package/dist/cdn/{VNE5TMJD.js.LEGAL.txt → UWSERS2F.js.LEGAL.txt} +0 -0
  1033. /package/dist/cdn/{VNZ2JTDZ.js.LEGAL.txt → UXEYTIS3.js.LEGAL.txt} +0 -0
  1034. /package/dist/cdn/{VSNF2EJL.js.LEGAL.txt → V6VCGKB3.js.LEGAL.txt} +0 -0
  1035. /package/dist/cdn/{VZR4RZJC.js.LEGAL.txt → VBLJ5UAM.js.LEGAL.txt} +0 -0
  1036. /package/dist/cdn/{W5HDVWBO.js.LEGAL.txt → VLLFA7MQ.js.LEGAL.txt} +0 -0
  1037. /package/dist/cdn/{WGZ2DGM2.js.LEGAL.txt → VMP2N6GX.js.LEGAL.txt} +0 -0
  1038. /package/dist/cdn/{WIVWOQFP.js.LEGAL.txt → VRGMUDPQ.js.LEGAL.txt} +0 -0
  1039. /package/dist/cdn/{WIVXKL64.js.LEGAL.txt → VYH6A7SI.js.LEGAL.txt} +0 -0
  1040. /package/dist/cdn/{WJXEB535.js.LEGAL.txt → VZ2JRUQE.js.LEGAL.txt} +0 -0
  1041. /package/dist/cdn/{XBHXMSRW.js.LEGAL.txt → W2VPRCNL.js.LEGAL.txt} +0 -0
  1042. /package/dist/cdn/{XJBQPD66.js.LEGAL.txt → WDTFO2Z4.js.LEGAL.txt} +0 -0
  1043. /package/dist/cdn/{Y4XHXGZQ.js.LEGAL.txt → WMBNELBM.js.LEGAL.txt} +0 -0
  1044. /package/dist/cdn/{Y7NU6I7B.js.LEGAL.txt → WSIQQEPR.js.LEGAL.txt} +0 -0
  1045. /package/dist/cdn/{YETBXJWH.js.LEGAL.txt → WUJP2UBF.js.LEGAL.txt} +0 -0
  1046. /package/dist/cdn/{YEVMMRSD.js.LEGAL.txt → X4TEAXPF.js.LEGAL.txt} +0 -0
  1047. /package/dist/cdn/{YKOZ34AD.js.LEGAL.txt → X6OP56KA.js.LEGAL.txt} +0 -0
  1048. /package/dist/cdn/{YVZDLOA7.js.LEGAL.txt → XHFINBJX.js.LEGAL.txt} +0 -0
  1049. /package/dist/cdn/{Z5EMY4HS.js.LEGAL.txt → XOUKUTWZ.js.LEGAL.txt} +0 -0
  1050. /package/dist/cdn/{ZAX6F3M4.js.LEGAL.txt → Z4TIV3DT.js.LEGAL.txt} +0 -0
  1051. /package/dist/cdn/{ZBLXWICV.js.LEGAL.txt → Z55DJ22R.js.LEGAL.txt} +0 -0
  1052. /package/dist/cdn/{ZH3KBMHB.js.LEGAL.txt → Z6JY4IAR.js.LEGAL.txt} +0 -0
  1053. /package/dist/cdn/{ZHLPKL6N.js.LEGAL.txt → ZD373FFW.js.LEGAL.txt} +0 -0
  1054. /package/dist/cdn/{ZKX7EDC4.js.LEGAL.txt → ZH4C456P.js.LEGAL.txt} +0 -0
  1055. /package/dist/cdn/{ZM7WZD57.js.LEGAL.txt → ZHDVQGRR.js.LEGAL.txt} +0 -0
  1056. /package/dist/cdn/{ZMOTYES6.js.LEGAL.txt → ZJICICUK.js.LEGAL.txt} +0 -0
  1057. /package/dist/cdn/{ZXGVGZVD.js.LEGAL.txt → ZWO4554A.js.LEGAL.txt} +0 -0
@@ -1,82 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250422.2 */
4
- import{b as Cl,i as Ol}from"./RPFP77BC.js";import{a as ge}from"./T6L5JGC6.js";import{b as Il}from"./EJN6OK4E.js";import{b as va}from"./36JHYCDB.js";import{t as Fl}from"./NSQFDOFO.js";var Ke=Uint8Array,vr=Uint16Array,Os=Int32Array,po=new Ke([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),go=new Ke([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),ks=new Ke([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),El=function(t,e){for(var r=new vr(31),i=0;i<31;++i)r[i]=e+=1<<t[i-1];for(var s=new Os(r[30]),i=1;i<30;++i)for(var a=r[i];a<r[i+1];++a)s[a]=a-r[i]<<5|i;return{b:r,r:s}},Dl=El(po,2),Bl=Dl.b,Fs=Dl.r;Bl[28]=258,Fs[258]=28;var ql=El(go,0),Fc=ql.b,jl=ql.r,Is=new vr(32768);for(le=0;le<32768;++le)mn=(le&43690)>>1|(le&21845)<<1,mn=(mn&52428)>>2|(mn&13107)<<2,mn=(mn&61680)>>4|(mn&3855)<<4,Is[le]=((mn&65280)>>8|(mn&255)<<8)>>1;var mn,le,tn=function(t,e,r){for(var i=t.length,s=0,a=new vr(e);s<i;++s)t[s]&&++a[t[s]-1];var l=new vr(e);for(s=1;s<e;++s)l[s]=l[s-1]+a[s-1]<<1;var c;if(r){c=new vr(1<<e);var h=15-e;for(s=0;s<i;++s)if(t[s])for(var g=s<<4|t[s],m=e-t[s],v=l[t[s]-1]++<<m,A=v|(1<<m)-1;v<=A;++v)c[Is[v]>>h]=g}else for(c=new vr(i),s=0;s<i;++s)t[s]&&(c[s]=Is[l[t[s]-1]++]>>15-t[s]);return c},On=new Ke(288);for(le=0;le<144;++le)On[le]=8;var le;for(le=144;le<256;++le)On[le]=9;var le;for(le=256;le<280;++le)On[le]=7;var le;for(le=280;le<288;++le)On[le]=8;var le,wa=new Ke(32);for(le=0;le<32;++le)wa[le]=5;var le,Ic=tn(On,9,0),Cc=tn(On,9,1),Oc=tn(wa,5,0),jc=tn(wa,5,1),Ss=function(t){for(var e=t[0],r=1;r<t.length;++r)t[r]>e&&(e=t[r]);return e},Br=function(t,e,r){var i=e/8|0;return(t[i]|t[i+1]<<8)>>(e&7)&r},Ps=function(t,e){var r=e/8|0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>(e&7)},js=function(t){return(t+7)/8|0},Rl=function(t,e,r){return(e==null||e<0)&&(e=0),(r==null||r>t.length)&&(r=t.length),new Ke(t.subarray(e,r))};var Tc=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],qr=function(t,e,r){var i=new Error(e||Tc[t]);if(i.code=t,Error.captureStackTrace&&Error.captureStackTrace(i,qr),!r)throw i;return i},Mc=function(t,e,r,i){var s=t.length,a=i?i.length:0;if(!s||e.f&&!e.l)return r||new Ke(0);var l=!r,c=l||e.i!=2,h=e.i;l&&(r=new Ke(s*3));var g=function(At){var Ft=r.length;if(At>Ft){var Pt=new Ke(Math.max(Ft*2,At));Pt.set(r),r=Pt}},m=e.f||0,v=e.p||0,A=e.b||0,d=e.l,C=e.d,_=e.m,O=e.n,S=s*8;do{if(!d){m=Br(t,v,1);var j=Br(t,v+1,3);if(v+=3,j)if(j==1)d=Cc,C=jc,_=9,O=5;else if(j==2){var bt=Br(t,v,31)+257,tt=Br(t,v+10,15)+4,q=bt+Br(t,v+5,31)+1;v+=14;for(var rt=new Ke(q),pt=new Ke(19),k=0;k<tt;++k)pt[ks[k]]=Br(t,v+k*3,7);v+=tt*3;for(var F=Ss(pt),V=(1<<F)-1,B=tn(pt,F,1),k=0;k<q;){var lt=B[Br(t,v,V)];v+=lt&15;var z=lt>>4;if(z<16)rt[k++]=z;else{var ot=0,ft=0;for(z==16?(ft=3+Br(t,v,3),v+=2,ot=rt[k-1]):z==17?(ft=3+Br(t,v,7),v+=3):z==18&&(ft=11+Br(t,v,127),v+=7);ft--;)rt[k++]=ot}}var Z=rt.subarray(0,bt),ct=rt.subarray(bt);_=Ss(Z),O=Ss(ct),d=tn(Z,_,1),C=tn(ct,O,1)}else qr(1);else{var z=js(v)+4,Q=t[z-4]|t[z-3]<<8,at=z+Q;if(at>s){h&&qr(0);break}c&&g(A+Q),r.set(t.subarray(z,at),A),e.b=A+=Q,e.p=v=at*8,e.f=m;continue}if(v>S){h&&qr(0);break}}c&&g(A+131072);for(var dt=(1<<_)-1,Ot=(1<<O)-1,L=v;;L=v){var ot=d[Ps(t,v)&dt],T=ot>>4;if(v+=ot&15,v>S){h&&qr(0);break}if(ot||qr(2),T<256)r[A++]=T;else if(T==256){L=v,d=null;break}else{var E=T-254;if(T>264){var k=T-257,U=po[k];E=Br(t,v,(1<<U)-1)+Bl[k],v+=U}var Y=C[Ps(t,v)&Ot],et=Y>>4;Y||qr(3),v+=Y&15;var ct=Fc[et];if(et>3){var U=go[et];ct+=Ps(t,v)&(1<<U)-1,v+=U}if(v>S){h&&qr(0);break}c&&g(A+131072);var nt=A+E;if(A<ct){var it=a-ct,Lt=Math.min(ct,nt);for(it+A<0&&qr(3);A<Lt;++A)r[A]=i[it+A]}for(;A<nt;++A)r[A]=r[A-ct]}}e.l=d,e.p=L,e.b=A,e.f=m,d&&(m=1,e.m=_,e.d=C,e.n=O)}while(!m);return A!=r.length&&l?Rl(r,0,A):r.subarray(0,A)},vn=function(t,e,r){r<<=e&7;var i=e/8|0;t[i]|=r,t[i+1]|=r>>8},ba=function(t,e,r){r<<=e&7;var i=e/8|0;t[i]|=r,t[i+1]|=r>>8,t[i+2]|=r>>16},_s=function(t,e){for(var r=[],i=0;i<t.length;++i)t[i]&&r.push({s:i,f:t[i]});var s=r.length,a=r.slice();if(!s)return{t:Ul,l:0};if(s==1){var l=new Ke(r[0].s+1);return l[r[0].s]=1,{t:l,l:1}}r.sort(function(at,bt){return at.f-bt.f}),r.push({s:-1,f:25001});var c=r[0],h=r[1],g=0,m=1,v=2;for(r[0]={s:-1,f:c.f+h.f,l:c,r:h};m!=s-1;)c=r[r[g].f<r[v].f?g++:v++],h=r[g!=m&&r[g].f<r[v].f?g++:v++],r[m++]={s:-1,f:c.f+h.f,l:c,r:h};for(var A=a[0].s,i=1;i<s;++i)a[i].s>A&&(A=a[i].s);var d=new vr(A+1),C=Cs(r[m-1],d,0);if(C>e){var i=0,_=0,O=C-e,S=1<<O;for(a.sort(function(bt,tt){return d[tt.s]-d[bt.s]||bt.f-tt.f});i<s;++i){var j=a[i].s;if(d[j]>e)_+=S-(1<<C-d[j]),d[j]=e;else break}for(_>>=O;_>0;){var z=a[i].s;d[z]<e?_-=1<<e-d[z]++-1:++i}for(;i>=0&&_;--i){var Q=a[i].s;d[Q]==e&&(--d[Q],++_)}C=e}return{t:new Ke(d),l:C}},Cs=function(t,e,r){return t.s==-1?Math.max(Cs(t.l,e,r+1),Cs(t.r,e,r+1)):e[t.s]=r},Tl=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new vr(++e),i=0,s=t[0],a=1,l=function(h){r[i++]=h},c=1;c<=e;++c)if(t[c]==s&&c!=e)++a;else{if(!s&&a>2){for(;a>138;a-=138)l(32754);a>2&&(l(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(l(s),--a;a>6;a-=6)l(8304);a>2&&(l(a-3<<5|8208),a=0)}for(;a--;)l(s);a=1,s=t[c]}return{c:r.subarray(0,i),n:e}},ya=function(t,e){for(var r=0,i=0;i<e.length;++i)r+=t[i]*e[i];return r},zl=function(t,e,r){var i=r.length,s=js(e+2);t[s]=i&255,t[s+1]=i>>8,t[s+2]=t[s]^255,t[s+3]=t[s+1]^255;for(var a=0;a<i;++a)t[s+a+4]=r[a];return(s+4+i)*8},Ml=function(t,e,r,i,s,a,l,c,h,g,m){vn(e,m++,r),++s[256];for(var v=_s(s,15),A=v.t,d=v.l,C=_s(a,15),_=C.t,O=C.l,S=Tl(A),j=S.c,z=S.n,Q=Tl(_),at=Q.c,bt=Q.n,tt=new vr(19),q=0;q<j.length;++q)++tt[j[q]&31];for(var q=0;q<at.length;++q)++tt[at[q]&31];for(var rt=_s(tt,7),pt=rt.t,k=rt.l,F=19;F>4&&!pt[ks[F-1]];--F);var V=g+5<<3,B=ya(s,On)+ya(a,wa)+l,lt=ya(s,A)+ya(a,_)+l+14+3*F+ya(tt,pt)+2*tt[16]+3*tt[17]+7*tt[18];if(h>=0&&V<=B&&V<=lt)return zl(e,m,t.subarray(h,h+g));var ot,ft,Z,ct;if(vn(e,m,1+(lt<B)),m+=2,lt<B){ot=tn(A,d,0),ft=A,Z=tn(_,O,0),ct=_;var dt=tn(pt,k,0);vn(e,m,z-257),vn(e,m+5,bt-1),vn(e,m+10,F-4),m+=14;for(var q=0;q<F;++q)vn(e,m+3*q,pt[ks[q]]);m+=3*F;for(var Ot=[j,at],L=0;L<2;++L)for(var T=Ot[L],q=0;q<T.length;++q){var E=T[q]&31;vn(e,m,dt[E]),m+=pt[E],E>15&&(vn(e,m,T[q]>>5&127),m+=T[q]>>12)}}else ot=Ic,ft=On,Z=Oc,ct=wa;for(var q=0;q<c;++q){var U=i[q];if(U>255){var E=U>>18&31;ba(e,m,ot[E+257]),m+=ft[E+257],E>7&&(vn(e,m,U>>23&31),m+=po[E]);var Y=U&31;ba(e,m,Z[Y]),m+=ct[Y],Y>3&&(ba(e,m,U>>5&8191),m+=go[Y])}else ba(e,m,ot[U]),m+=ft[U]}return ba(e,m,ot[256]),m+ft[256]},Ec=new Os([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ul=new Ke(0),Dc=function(t,e,r,i,s,a){var l=a.z||t.length,c=new Ke(i+l+5*(1+Math.ceil(l/7e3))+s),h=c.subarray(i,c.length-s),g=a.l,m=(a.r||0)&7;if(e){m&&(h[0]=a.r>>3);for(var v=Ec[e-1],A=v>>13,d=v&8191,C=(1<<r)-1,_=a.p||new vr(32768),O=a.h||new vr(C+1),S=Math.ceil(r/3),j=2*S,z=function(Ut){return(t[Ut]^t[Ut+1]<<S^t[Ut+2]<<j)&C},Q=new Os(25e3),at=new vr(288),bt=new vr(32),tt=0,q=0,rt=a.i||0,pt=0,k=a.w||0,F=0;rt+2<l;++rt){var V=z(rt),B=rt&32767,lt=O[V];if(_[B]=lt,O[V]=B,k<=rt){var ot=l-rt;if((tt>7e3||pt>24576)&&(ot>423||!g)){m=Ml(t,h,0,Q,at,bt,q,pt,F,rt-F,m),pt=tt=q=0,F=rt;for(var ft=0;ft<286;++ft)at[ft]=0;for(var ft=0;ft<30;++ft)bt[ft]=0}var Z=2,ct=0,dt=d,Ot=B-lt&32767;if(ot>2&&V==z(rt-Ot))for(var L=Math.min(A,ot)-1,T=Math.min(32767,rt),E=Math.min(258,ot);Ot<=T&&--dt&&B!=lt;){if(t[rt+Z]==t[rt+Z-Ot]){for(var U=0;U<E&&t[rt+U]==t[rt+U-Ot];++U);if(U>Z){if(Z=U,ct=Ot,U>L)break;for(var Y=Math.min(Ot,U-2),et=0,ft=0;ft<Y;++ft){var nt=rt-Ot+ft&32767,it=_[nt],Lt=nt-it&32767;Lt>et&&(et=Lt,lt=nt)}}}B=lt,lt=_[B],Ot+=B-lt&32767}if(ct){Q[pt++]=268435456|Fs[Z]<<18|jl[ct];var At=Fs[Z]&31,Ft=jl[ct]&31;q+=po[At]+go[Ft],++at[257+At],++bt[Ft],k=rt+Z,++tt}else Q[pt++]=t[rt],++at[t[rt]]}}for(rt=Math.max(rt,k);rt<l;++rt)Q[pt++]=t[rt],++at[t[rt]];m=Ml(t,h,g,Q,at,bt,q,pt,F,rt-F,m),g||(a.r=m&7|h[m/8|0]<<3,m-=7,a.h=O,a.p=_,a.i=rt,a.w=k)}else{for(var rt=a.w||0;rt<l+g;rt+=65535){var Pt=rt+65535;Pt>=l&&(h[m/8|0]=g,Pt=l),m=zl(h,m+1,t.subarray(rt,Pt))}a.i=l}return Rl(c,0,i+js(m)+s)};var Hl=function(){var t=1,e=0;return{p:function(r){for(var i=t,s=e,a=r.length|0,l=0;l!=a;){for(var c=Math.min(l+2655,a);l<c;++l)s+=i+=r[l];i=(i&65535)+15*(i>>16),s=(s&65535)+15*(s>>16)}t=i,e=s},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},Bc=function(t,e,r,i,s){if(!s&&(s={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),l=new Ke(a.length+t.length);l.set(a),l.set(t,a.length),t=l,s.w=a.length}return Dc(t,e.level==null?6:e.level,e.mem==null?s.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,r,i,s)};var Wl=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8};var qc=function(t,e){var r=e.level,i=r==0?0:r<6?1:r==9?3:2;if(t[0]=120,t[1]=i<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var s=Hl();s.p(e.dictionary),Wl(t,2,s.d())}},Rc=function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&qr(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&qr(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function mo(t,e){e||(e={});var r=Hl();r.p(t);var i=Bc(t,e,e.dictionary?6:2,4);return qc(i,e),Wl(i,i.length-4,r.d()),i}function Vl(t,e){return Mc(t.subarray(Rc(t,e&&e.dictionary),-4),{i:2},e&&e.out,e&&e.dictionary)}var zc=typeof TextDecoder<"u"&&new TextDecoder,Uc=0;try{zc.decode(Ul,{stream:!0}),Uc=1}catch{}var Ht=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function Ts(){Ht.console&&typeof Ht.console.log=="function"&&Ht.console.log.apply(Ht.console,arguments)}var be={log:Ts,warn:function(t){Ht.console&&(typeof Ht.console.warn=="function"?Ht.console.warn.apply(Ht.console,arguments):Ts.call(null,arguments))},error:function(t){Ht.console&&(typeof Ht.console.error=="function"?Ht.console.error.apply(Ht.console,arguments):Ts(t))}};function Ms(t,e,r){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){$n(i.response,e,r)},i.onerror=function(){be.error("could not download file")},i.send()}function Gl(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function vo(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var xa,Rs,$n=Ht.saveAs||((typeof window>"u"?"undefined":ge(window))!=="object"||window!==Ht?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,e,r){var i=Ht.URL||Ht.webkitURL,s=document.createElement("a");e=e||t.name||"download",s.download=e,s.rel="noopener",typeof t=="string"?(s.href=t,s.origin!==location.origin?Gl(s.href)?Ms(t,e,r):vo(s,s.target="_blank"):vo(s)):(s.href=i.createObjectURL(t),setTimeout(function(){i.revokeObjectURL(s.href)},4e4),setTimeout(function(){vo(s)},0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download",typeof t=="string")if(Gl(t))Ms(t,e,r);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout(function(){vo(i)})}else navigator.msSaveOrOpenBlob(function(s,a){return a===void 0?a={autoBom:!1}:ge(a)!=="object"&&(be.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}(t,r),e)}:function(t,e,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),typeof t=="string")return Ms(t,e,r);var s=t.type==="application/octet-stream",a=/constructor/i.test(Ht.HTMLElement)||Ht.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||s&&a)&&(typeof FileReader>"u"?"undefined":ge(FileReader))==="object"){var c=new FileReader;c.onloadend=function(){var m=c.result;m=l?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=m:location=m,i=null},c.readAsDataURL(t)}else{var h=Ht.URL||Ht.webkitURL,g=h.createObjectURL(t);i?i.location=g:location.href=g,i=null,setTimeout(function(){h.revokeObjectURL(g)},4e4)}});function uu(t){var e;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(c){return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(c){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(c){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]}}],i=0;i<r.length;i++){var s=r[i].re,a=r[i].process,l=s.exec(t);l&&(e=a(l),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var c=this.r.toString(16),h=this.g.toString(16),g=this.b.toString(16);return c.length==1&&(c="0"+c),h.length==1&&(h="0"+h),g.length==1&&(g="0"+g),"#"+c+h+g}}function Es(t,e){var r=t[0],i=t[1],s=t[2],a=t[3];r=Ze(r,i,s,a,e[0],7,-680876936),a=Ze(a,r,i,s,e[1],12,-389564586),s=Ze(s,a,r,i,e[2],17,606105819),i=Ze(i,s,a,r,e[3],22,-1044525330),r=Ze(r,i,s,a,e[4],7,-176418897),a=Ze(a,r,i,s,e[5],12,1200080426),s=Ze(s,a,r,i,e[6],17,-1473231341),i=Ze(i,s,a,r,e[7],22,-45705983),r=Ze(r,i,s,a,e[8],7,1770035416),a=Ze(a,r,i,s,e[9],12,-1958414417),s=Ze(s,a,r,i,e[10],17,-42063),i=Ze(i,s,a,r,e[11],22,-1990404162),r=Ze(r,i,s,a,e[12],7,1804603682),a=Ze(a,r,i,s,e[13],12,-40341101),s=Ze(s,a,r,i,e[14],17,-1502002290),r=Qe(r,i=Ze(i,s,a,r,e[15],22,1236535329),s,a,e[1],5,-165796510),a=Qe(a,r,i,s,e[6],9,-1069501632),s=Qe(s,a,r,i,e[11],14,643717713),i=Qe(i,s,a,r,e[0],20,-373897302),r=Qe(r,i,s,a,e[5],5,-701558691),a=Qe(a,r,i,s,e[10],9,38016083),s=Qe(s,a,r,i,e[15],14,-660478335),i=Qe(i,s,a,r,e[4],20,-405537848),r=Qe(r,i,s,a,e[9],5,568446438),a=Qe(a,r,i,s,e[14],9,-1019803690),s=Qe(s,a,r,i,e[3],14,-187363961),i=Qe(i,s,a,r,e[8],20,1163531501),r=Qe(r,i,s,a,e[13],5,-1444681467),a=Qe(a,r,i,s,e[2],9,-51403784),s=Qe(s,a,r,i,e[7],14,1735328473),r=tr(r,i=Qe(i,s,a,r,e[12],20,-1926607734),s,a,e[5],4,-378558),a=tr(a,r,i,s,e[8],11,-2022574463),s=tr(s,a,r,i,e[11],16,1839030562),i=tr(i,s,a,r,e[14],23,-35309556),r=tr(r,i,s,a,e[1],4,-1530992060),a=tr(a,r,i,s,e[4],11,1272893353),s=tr(s,a,r,i,e[7],16,-155497632),i=tr(i,s,a,r,e[10],23,-1094730640),r=tr(r,i,s,a,e[13],4,681279174),a=tr(a,r,i,s,e[0],11,-358537222),s=tr(s,a,r,i,e[3],16,-722521979),i=tr(i,s,a,r,e[6],23,76029189),r=tr(r,i,s,a,e[9],4,-640364487),a=tr(a,r,i,s,e[12],11,-421815835),s=tr(s,a,r,i,e[15],16,530742520),r=er(r,i=tr(i,s,a,r,e[2],23,-995338651),s,a,e[0],6,-198630844),a=er(a,r,i,s,e[7],10,1126891415),s=er(s,a,r,i,e[14],15,-1416354905),i=er(i,s,a,r,e[5],21,-57434055),r=er(r,i,s,a,e[12],6,1700485571),a=er(a,r,i,s,e[3],10,-1894986606),s=er(s,a,r,i,e[10],15,-1051523),i=er(i,s,a,r,e[1],21,-2054922799),r=er(r,i,s,a,e[8],6,1873313359),a=er(a,r,i,s,e[15],10,-30611744),s=er(s,a,r,i,e[6],15,-1560198380),i=er(i,s,a,r,e[13],21,1309151649),r=er(r,i,s,a,e[4],6,-145523070),a=er(a,r,i,s,e[11],10,-1120210379),s=er(s,a,r,i,e[2],15,718787259),i=er(i,s,a,r,e[9],21,-343485551),t[0]=Tn(r,t[0]),t[1]=Tn(i,t[1]),t[2]=Tn(s,t[2]),t[3]=Tn(a,t[3])}function _o(t,e,r,i,s,a){return e=Tn(Tn(e,t),Tn(i,a)),Tn(e<<s|e>>>32-s,r)}function Ze(t,e,r,i,s,a,l){return _o(e&r|~e&i,t,e,s,a,l)}function Qe(t,e,r,i,s,a,l){return _o(e&i|r&~i,t,e,s,a,l)}function tr(t,e,r,i,s,a,l){return _o(e^r^i,t,e,s,a,l)}function er(t,e,r,i,s,a,l){return _o(r^(e|~i),t,e,s,a,l)}function cu(t){var e,r=t.length,i=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)Es(i,Hc(t.substring(e-64,e)));t=t.substring(e-64);var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)s[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(s[e>>2]|=128<<(e%4<<3),e>55)for(Es(i,s),e=0;e<16;e++)s[e]=0;return s[14]=8*r,Es(i,s),i}function Hc(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}xa=Ht.atob.bind(Ht),Rs=Ht.btoa.bind(Ht);var Jl="0123456789abcdef".split("");function Wc(t){for(var e="",r=0;r<4;r++)e+=Jl[t>>8*r+4&15]+Jl[t>>8*r&15];return e}function Vc(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function zs(t){return cu(t).map(Vc).join("")}var Gc=function(t){for(var e=0;e<t.length;e++)t[e]=Wc(t[e]);return t.join("")}(cu("hello"))!="5d41402abc4b2a76b9719d911017c592";function Tn(t,e){if(Gc){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}return t+e&4294967295}function Us(t,e){var r,i,s,a;if(t!==r){for(var l=(s=t,a=1+(256/t.length>>0),new Array(a+1).join(s)),c=[],h=0;h<256;h++)c[h]=h;var g=0;for(h=0;h<256;h++){var m=c[h];g=(g+m+l.charCodeAt(h))%256,c[h]=c[g],c[g]=m}r=t,i=c}else c=i;var v=e.length,A=0,d=0,C="";for(h=0;h<v;h++)d=(d+(m=c[A=(A+1)%256]))%256,c[A]=c[d],c[d]=m,l=c[(c[A]+c[d])%256],C+=String.fromCharCode(e.charCodeAt(h)^l);return C}var Yl={print:4,modify:8,copy:16,"annot-forms":32};function Oi(t,e,r,i){this.v=1,this.r=2;var s=192;t.forEach(function(c){if(Yl.perm!==void 0)throw new Error("Invalid permission: "+c);s+=Yl[c]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var a=(e+this.padding).substr(0,32),l=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,l),this.P=-(1+(255^s)),this.encryptionKey=zs(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=Us(this.encryptionKey,this.padding)}function ji(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",r=t.length,i=0;i<r;i++){var s=t.charCodeAt(i);s<33||s===35||s===37||s===40||s===41||s===47||s===60||s===62||s===91||s===93||s===123||s===125||s>126?e+="#"+("0"+s.toString(16)).slice(-2):e+=t[i]}return e}function Xl(t){if(ge(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(r,i,s){if(s=s||!1,typeof r!="string"||typeof i!="function"||typeof s!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(r)||(e[r]={});var a=Math.random().toString(35);return e[r][a]=[i,!!s],a},this.unsubscribe=function(r){for(var i in e)if(e[i][r])return delete e[i][r],Object.keys(e[i]).length===0&&delete e[i],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var i=Array.prototype.slice.call(arguments,1),s=[];for(var a in e[r]){var l=e[r][a];try{l[0].apply(t,i)}catch(c){Ht.console&&be.error("jsPDF PubSub Error",c.message,c)}l[1]&&s.push(a)}s.length&&s.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function So(t){if(!(this instanceof So))return new So(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function fu(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function Kn(t,e,r,i,s){if(!(this instanceof Kn))return new Kn(t,e,r,i,s);this.type=t==="axial"?2:3,this.coords=e,this.colors=r,fu.call(this,i,s)}function Ti(t,e,r,i,s){if(!(this instanceof Ti))return new Ti(t,e,r,i,s);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,fu.call(this,i,s)}function Rt(t){var e,r=typeof arguments[0]=="string"?arguments[0]:"p",i=arguments[1],s=arguments[2],a=arguments[3],l=[],c=1,h=16,g="S",m=null;ge(t=t||{})==="object"&&(r=t.orientation,i=t.unit||i,s=t.format||s,a=t.compress||t.compressPdf||a,(m=t.encryption||null)!==null&&(m.userPassword=m.userPassword||"",m.ownerPassword=m.ownerPassword||"",m.userPermissions=m.userPermissions||[]),c=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(e=t.precision),t.floatPrecision!==void 0&&(h=t.floatPrecision),g=t.defaultPathOperation||"S"),l=t.filters||(a===!0?["FlateEncode"]:l),i=i||"mm",r=(""+(r||"P")).toLowerCase();var v=t.putOnlyUsedFonts||!1,A={},d={internal:{},__private__:{}};d.__private__.PubSub=Xl;var C="1.3",_=d.__private__.getPdfVersion=function(){return C};d.__private__.setPdfVersion=function(u){C=u};var O={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};d.__private__.getPageFormats=function(){return O};var S=d.__private__.getPageFormat=function(u){return O[u]};s=s||"a4";var j={COMPAT:"compat",ADVANCED:"advanced"},z=j.COMPAT;function Q(){this.saveGraphicsState(),D(new zt(Ct,0,0,-Ct,0,wn()*Ct).toString()+" cm"),this.setFontSize(this.getFontSize()/Ct),g="n",z=j.ADVANCED}function at(){this.restoreGraphicsState(),g="S",z=j.COMPAT}var bt=d.__private__.combineFontStyleAndFontWeight=function(u,y){if(u=="bold"&&y=="normal"||u=="bold"&&y==400||u=="normal"&&y=="italic"||u=="bold"&&y=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return y&&(u=y==400||y==="normal"?u==="italic"?"italic":"normal":y!=700&&y!=="bold"||u!=="normal"?(y==700?"bold":y)+""+u:"bold"),u};d.advancedAPI=function(u){var y=z===j.COMPAT;return y&&Q.call(this),typeof u!="function"||(u(this),y&&at.call(this)),this},d.compatAPI=function(u){var y=z===j.ADVANCED;return y&&at.call(this),typeof u!="function"||(u(this),y&&Q.call(this)),this},d.isAdvancedAPI=function(){return z===j.ADVANCED};var tt,q=function(u){if(z!==j.ADVANCED)throw new Error(u+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},rt=d.roundToPrecision=d.__private__.roundToPrecision=function(u,y){var M=e||y;if(isNaN(u)||isNaN(M))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return u.toFixed(M).replace(/0+$/,"")};tt=d.hpf=d.__private__.hpf=typeof h=="number"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return rt(u,h)}:h==="smart"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return rt(u,u>-1&&u<1?16:5)}:function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return rt(u,16)};var pt=d.f2=d.__private__.f2=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f2");return rt(u,2)},k=d.__private__.f3=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f3");return rt(u,3)},F=d.scale=d.__private__.scale=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.scale");return z===j.COMPAT?u*Ct:z===j.ADVANCED?u:void 0},V=function(u){return z===j.COMPAT?wn()-u:z===j.ADVANCED?u:void 0},B=function(u){return F(V(u))};d.__private__.setPrecision=d.setPrecision=function(u){typeof parseInt(u,10)=="number"&&(e=parseInt(u,10))};var lt,ot="00000000000000000000000000000000",ft=d.__private__.getFileId=function(){return ot},Z=d.__private__.setFileId=function(u){return ot=u!==void 0&&/^[a-fA-F0-9]{32}$/.test(u)?u.toUpperCase():ot.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),m!==null&&(Xe=new Oi(m.userPermissions,m.userPassword,m.ownerPassword,ot)),ot};d.setFileId=function(u){return Z(u),this},d.getFileId=function(){return ft()};var ct=d.__private__.convertDateToPDFDate=function(u){var y=u.getTimezoneOffset(),M=y<0?"+":"-",R=Math.floor(Math.abs(y/60)),X=Math.abs(y%60),ut=[M,E(R),"'",E(X),"'"].join("");return["D:",u.getFullYear(),E(u.getMonth()+1),E(u.getDate()),E(u.getHours()),E(u.getMinutes()),E(u.getSeconds()),ut].join("")},dt=d.__private__.convertPDFDateToDate=function(u){var y=parseInt(u.substr(2,4),10),M=parseInt(u.substr(6,2),10)-1,R=parseInt(u.substr(8,2),10),X=parseInt(u.substr(10,2),10),ut=parseInt(u.substr(12,2),10),wt=parseInt(u.substr(14,2),10);return new Date(y,M,R,X,ut,wt,0)},Ot=d.__private__.setCreationDate=function(u){var y;if(u===void 0&&(u=new Date),u instanceof Date)y=ct(u);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(u))throw new Error("Invalid argument passed to jsPDF.setCreationDate");y=u}return lt=y},L=d.__private__.getCreationDate=function(u){var y=lt;return u==="jsDate"&&(y=dt(lt)),y};d.setCreationDate=function(u){return Ot(u),this},d.getCreationDate=function(u){return L(u)};var T,E=d.__private__.padd2=function(u){return("0"+parseInt(u)).slice(-2)},U=d.__private__.padd2Hex=function(u){return("00"+(u=u.toString())).substr(u.length)},Y=0,et=[],nt=[],it=0,Lt=[],At=[],Ft=!1,Pt=nt,Ut=function(){Y=0,it=0,nt=[],et=[],Lt=[],on=Me(),Ir=Me()};d.__private__.setCustomOutputDestination=function(u){Ft=!0,Pt=u};var ht=function(u){Ft||(Pt=u)};d.__private__.resetCustomOutputDestination=function(){Ft=!1,Pt=nt};var D=d.__private__.out=function(u){return u=u.toString(),it+=u.length+1,Pt.push(u),Pt},$t=d.__private__.write=function(u){return D(arguments.length===1?u.toString():Array.prototype.join.call(arguments," "))},Et=d.__private__.getArrayBuffer=function(u){for(var y=u.length,M=new ArrayBuffer(y),R=new Uint8Array(M);y--;)R[y]=u.charCodeAt(y);return M},xt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];d.__private__.getStandardFonts=function(){return xt};var Nt=t.fontSize||16;d.__private__.setFontSize=d.setFontSize=function(u){return Nt=z===j.ADVANCED?u/Ct:u,this};var It,kt=d.__private__.getFontSize=d.getFontSize=function(){return z===j.COMPAT?Nt:Nt*Ct},Dt=t.R2L||!1;d.__private__.setR2L=d.setR2L=function(u){return Dt=u,this},d.__private__.getR2L=d.getR2L=function(){return Dt};var Gt,Qt=d.__private__.setZoomMode=function(u){var y=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(u))It=u;else if(isNaN(u)){if(y.indexOf(u)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+u+'" is not recognized.');It=u}else It=parseInt(u,10)};d.__private__.getZoomMode=function(){return It};var te,ie=d.__private__.setPageMode=function(u){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(u)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+u+'" is not recognized.');Gt=u};d.__private__.getPageMode=function(){return Gt};var pe=d.__private__.setLayoutMode=function(u){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(u)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+u+'" is not recognized.');te=u};d.__private__.getLayoutMode=function(){return te},d.__private__.setDisplayMode=d.setDisplayMode=function(u,y,M){return Qt(u),pe(y),ie(M),this};var Wt={title:"",subject:"",author:"",keywords:"",creator:""};d.__private__.getDocumentProperty=function(u){if(Object.keys(Wt).indexOf(u)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Wt[u]},d.__private__.getDocumentProperties=function(){return Wt},d.__private__.setDocumentProperties=d.setProperties=d.setDocumentProperties=function(u){for(var y in Wt)Wt.hasOwnProperty(y)&&u[y]&&(Wt[y]=u[y]);return this},d.__private__.setDocumentProperty=function(u,y){if(Object.keys(Wt).indexOf(u)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Wt[u]=y};var ee,Ct,Ye,oe,_r,me={},xe={},Wr=[],ue={},Dn={},Ne={},kr={},an=null,Se=0,Jt=[],ce=new Xl(d),Bn=t.hotfixes||[],Ve={},Vr={},Gr=[],zt=function u(y,M,R,X,ut,wt){if(!(this instanceof u))return new u(y,M,R,X,ut,wt);isNaN(y)&&(y=1),isNaN(M)&&(M=0),isNaN(R)&&(R=0),isNaN(X)&&(X=1),isNaN(ut)&&(ut=0),isNaN(wt)&&(wt=0),this._matrix=[y,M,R,X,ut,wt]};Object.defineProperty(zt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(u){this._matrix[0]=u}}),Object.defineProperty(zt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(u){this._matrix[1]=u}}),Object.defineProperty(zt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(u){this._matrix[2]=u}}),Object.defineProperty(zt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(u){this._matrix[3]=u}}),Object.defineProperty(zt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(u){this._matrix[4]=u}}),Object.defineProperty(zt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(u){this._matrix[5]=u}}),Object.defineProperty(zt.prototype,"a",{get:function(){return this._matrix[0]},set:function(u){this._matrix[0]=u}}),Object.defineProperty(zt.prototype,"b",{get:function(){return this._matrix[1]},set:function(u){this._matrix[1]=u}}),Object.defineProperty(zt.prototype,"c",{get:function(){return this._matrix[2]},set:function(u){this._matrix[2]=u}}),Object.defineProperty(zt.prototype,"d",{get:function(){return this._matrix[3]},set:function(u){this._matrix[3]=u}}),Object.defineProperty(zt.prototype,"e",{get:function(){return this._matrix[4]},set:function(u){this._matrix[4]=u}}),Object.defineProperty(zt.prototype,"f",{get:function(){return this._matrix[5]},set:function(u){this._matrix[5]=u}}),Object.defineProperty(zt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(zt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(zt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(zt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),zt.prototype.join=function(u){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(tt).join(u)},zt.prototype.multiply=function(u){var y=u.sx*this.sx+u.shy*this.shx,M=u.sx*this.shy+u.shy*this.sy,R=u.shx*this.sx+u.sy*this.shx,X=u.shx*this.shy+u.sy*this.sy,ut=u.tx*this.sx+u.ty*this.shx+this.tx,wt=u.tx*this.shy+u.ty*this.sy+this.ty;return new zt(y,M,R,X,ut,wt)},zt.prototype.decompose=function(){var u=this.sx,y=this.shy,M=this.shx,R=this.sy,X=this.tx,ut=this.ty,wt=Math.sqrt(u*u+y*y),jt=(u/=wt)*M+(y/=wt)*R;M-=u*jt,R-=y*jt;var Bt=Math.sqrt(M*M+R*R);return jt/=Bt,u*(R/=Bt)<y*(M/=Bt)&&(u=-u,y=-y,jt=-jt,wt=-wt),{scale:new zt(wt,0,0,Bt,0,0),translate:new zt(1,0,0,1,X,ut),rotate:new zt(u,y,-y,u,0,0),skew:new zt(1,0,jt,1,0,0)}},zt.prototype.toString=function(u){return this.join(" ")},zt.prototype.inversed=function(){var u=this.sx,y=this.shy,M=this.shx,R=this.sy,X=this.tx,ut=this.ty,wt=1/(u*R-y*M),jt=R*wt,Bt=-y*wt,Kt=-M*wt,Yt=u*wt;return new zt(jt,Bt,Kt,Yt,-jt*X-Kt*ut,-Bt*X-Yt*ut)},zt.prototype.applyToPoint=function(u){var y=u.x*this.sx+u.y*this.shx+this.tx,M=u.x*this.shy+u.y*this.sy+this.ty;return new di(y,M)},zt.prototype.applyToRectangle=function(u){var y=this.applyToPoint(u),M=this.applyToPoint(new di(u.x+u.w,u.y+u.h));return new Ki(y.x,y.y,M.x-y.x,M.y-y.y)},zt.prototype.clone=function(){var u=this.sx,y=this.shy,M=this.shx,R=this.sy,X=this.tx,ut=this.ty;return new zt(u,y,M,R,X,ut)},d.Matrix=zt;var Fr=d.matrixMult=function(u,y){return y.multiply(u)},Jr=new zt(1,0,0,1,0,0);d.unitMatrix=d.identityMatrix=Jr;var ar=function(u,y){if(!Dn[u]){var M=(y instanceof Kn?"Sh":"P")+(Object.keys(ue).length+1).toString(10);y.id=M,Dn[u]=M,ue[M]=y,ce.publish("addPattern",y)}};d.ShadingPattern=Kn,d.TilingPattern=Ti,d.addShadingPattern=function(u,y){return q("addShadingPattern()"),ar(u,y),this},d.beginTilingPattern=function(u){q("beginTilingPattern()"),za(u.boundingBox[0],u.boundingBox[1],u.boundingBox[2]-u.boundingBox[0],u.boundingBox[3]-u.boundingBox[1],u.matrix)},d.endTilingPattern=function(u,y){q("endTilingPattern()"),y.stream=At[T].join(`
5
- `),ar(u,y),ce.publish("endTilingPattern",y),Gr.pop().restore()};var qe=d.__private__.newObject=function(){var u=Me();return hr(u,!0),u},Me=d.__private__.newObjectDeferred=function(){return Y++,et[Y]=function(){return it},Y},hr=function(u,y){return y=typeof y=="boolean"&&y,et[u]=it,y&&D(u+" 0 obj"),u},ei=d.__private__.newAdditionalObject=function(){var u={objId:Me(),content:""};return Lt.push(u),u},on=Me(),Ir=Me(),Cr=d.__private__.decodeColorString=function(u){var y=u.split(" ");if(y.length!==2||y[1]!=="g"&&y[1]!=="G")y.length===5&&(y[4]==="k"||y[4]==="K")&&(y=[(1-y[0])*(1-y[3]),(1-y[1])*(1-y[3]),(1-y[2])*(1-y[3]),"r"]);else{var M=parseFloat(y[0]);y=[M,M,M,"r"]}for(var R="#",X=0;X<3;X++)R+=("0"+Math.floor(255*parseFloat(y[X])).toString(16)).slice(-2);return R},Or=d.__private__.encodeColorString=function(u){var y;typeof u=="string"&&(u={ch1:u});var M=u.ch1,R=u.ch2,X=u.ch3,ut=u.ch4,wt=u.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof M=="string"&&M.charAt(0)!=="#"){var jt=new uu(M);if(jt.ok)M=jt.toHex();else if(!/^\d*\.?\d*$/.test(M))throw new Error('Invalid color "'+M+'" passed to jsPDF.encodeColorString.')}if(typeof M=="string"&&/^#[0-9A-Fa-f]{3}$/.test(M)&&(M="#"+M[1]+M[1]+M[2]+M[2]+M[3]+M[3]),typeof M=="string"&&/^#[0-9A-Fa-f]{6}$/.test(M)){var Bt=parseInt(M.substr(1),16);M=Bt>>16&255,R=Bt>>8&255,X=255&Bt}if(R===void 0||ut===void 0&&M===R&&R===X)if(typeof M=="string")y=M+" "+wt[0];else switch(u.precision){case 2:y=pt(M/255)+" "+wt[0];break;case 3:default:y=k(M/255)+" "+wt[0]}else if(ut===void 0||ge(ut)==="object"){if(ut&&!isNaN(ut.a)&&ut.a===0)return y=["1.","1.","1.",wt[1]].join(" ");if(typeof M=="string")y=[M,R,X,wt[1]].join(" ");else switch(u.precision){case 2:y=[pt(M/255),pt(R/255),pt(X/255),wt[1]].join(" ");break;default:case 3:y=[k(M/255),k(R/255),k(X/255),wt[1]].join(" ")}}else if(typeof M=="string")y=[M,R,X,ut,wt[2]].join(" ");else switch(u.precision){case 2:y=[pt(M),pt(R),pt(X),pt(ut),wt[2]].join(" ");break;case 3:default:y=[k(M),k(R),k(X),k(ut),wt[2]].join(" ")}return y},Yr=d.__private__.getFilters=function(){return l},br=d.__private__.putStream=function(u){var y=(u=u||{}).data||"",M=u.filters||Yr(),R=u.alreadyAppliedFilters||[],X=u.addLength1||!1,ut=y.length,wt=u.objectId,jt=function($e){return $e};if(m!==null&&wt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");m!==null&&(jt=Xe.encryptor(wt,0));var Bt={};M===!0&&(M=["FlateEncode"]);var Kt=u.additionalKeyValues||[],Yt=(Bt=Rt.API.processDataByFilters!==void 0?Rt.API.processDataByFilters(y,M):{data:y,reverseChain:[]}).reverseChain+(Array.isArray(R)?R.join(" "):R.toString());if(Bt.data.length!==0&&(Kt.push({key:"Length",value:Bt.data.length}),X===!0&&Kt.push({key:"Length1",value:ut})),Yt.length!=0)if(Yt.split("/").length-1==1)Kt.push({key:"Filter",value:Yt});else{Kt.push({key:"Filter",value:"["+Yt+"]"});for(var ne=0;ne<Kt.length;ne+=1)if(Kt[ne].key==="DecodeParms"){for(var Ae=[],Pe=0;Pe<Bt.reverseChain.split("/").length-1;Pe+=1)Ae.push("null");Ae.push(Kt[ne].value),Kt[ne].value="["+Ae.join(" ")+"]"}}D("<<");for(var Ee=0;Ee<Kt.length;Ee++)D("/"+Kt[Ee].key+" "+Kt[Ee].value);D(">>"),Bt.data.length!==0&&(D("stream"),D(jt(Bt.data)),D("endstream"))},Xr=d.__private__.putPage=function(u){var y=u.number,M=u.data,R=u.objId,X=u.contentsObjId;hr(R,!0),D("<</Type /Page"),D("/Parent "+u.rootDictionaryObjId+" 0 R"),D("/Resources "+u.resourceDictionaryObjId+" 0 R"),D("/MediaBox ["+parseFloat(tt(u.mediaBox.bottomLeftX))+" "+parseFloat(tt(u.mediaBox.bottomLeftY))+" "+tt(u.mediaBox.topRightX)+" "+tt(u.mediaBox.topRightY)+"]"),u.cropBox!==null&&D("/CropBox ["+tt(u.cropBox.bottomLeftX)+" "+tt(u.cropBox.bottomLeftY)+" "+tt(u.cropBox.topRightX)+" "+tt(u.cropBox.topRightY)+"]"),u.bleedBox!==null&&D("/BleedBox ["+tt(u.bleedBox.bottomLeftX)+" "+tt(u.bleedBox.bottomLeftY)+" "+tt(u.bleedBox.topRightX)+" "+tt(u.bleedBox.topRightY)+"]"),u.trimBox!==null&&D("/TrimBox ["+tt(u.trimBox.bottomLeftX)+" "+tt(u.trimBox.bottomLeftY)+" "+tt(u.trimBox.topRightX)+" "+tt(u.trimBox.topRightY)+"]"),u.artBox!==null&&D("/ArtBox ["+tt(u.artBox.bottomLeftX)+" "+tt(u.artBox.bottomLeftY)+" "+tt(u.artBox.topRightX)+" "+tt(u.artBox.topRightY)+"]"),typeof u.userUnit=="number"&&u.userUnit!==1&&D("/UserUnit "+u.userUnit),ce.publish("putPage",{objId:R,pageContext:Jt[y],pageNumber:y,page:M}),D("/Contents "+X+" 0 R"),D(">>"),D("endobj");var ut=M.join(`
6
- `);return z===j.ADVANCED&&(ut+=`
7
- Q`),hr(X,!0),br({data:ut,filters:Yr(),objectId:X}),D("endobj"),R},qn=d.__private__.putPages=function(){var u,y,M=[];for(u=1;u<=Se;u++)Jt[u].objId=Me(),Jt[u].contentsObjId=Me();for(u=1;u<=Se;u++)M.push(Xr({number:u,data:At[u],objId:Jt[u].objId,contentsObjId:Jt[u].contentsObjId,mediaBox:Jt[u].mediaBox,cropBox:Jt[u].cropBox,bleedBox:Jt[u].bleedBox,trimBox:Jt[u].trimBox,artBox:Jt[u].artBox,userUnit:Jt[u].userUnit,rootDictionaryObjId:on,resourceDictionaryObjId:Ir}));hr(on,!0),D("<</Type /Pages");var R="/Kids [";for(y=0;y<Se;y++)R+=M[y]+" 0 R ";D(R+"]"),D("/Count "+Se),D(">>"),D("endobj"),ce.publish("postPutPages")},ri=function(u){ce.publish("putFont",{font:u,out:D,newObject:qe,putStream:br}),u.isAlreadyPutted!==!0&&(u.objectNumber=qe(),D("<<"),D("/Type /Font"),D("/BaseFont /"+ji(u.postScriptName)),D("/Subtype /Type1"),typeof u.encoding=="string"&&D("/Encoding /"+u.encoding),D("/FirstChar 32"),D("/LastChar 255"),D(">>"),D("endobj"))},ni=function(){for(var u in me)me.hasOwnProperty(u)&&(v===!1||v===!0&&A.hasOwnProperty(u))&&ri(me[u])},ii=function(u){u.objectNumber=qe();var y=[];y.push({key:"Type",value:"/XObject"}),y.push({key:"Subtype",value:"/Form"}),y.push({key:"BBox",value:"["+[tt(u.x),tt(u.y),tt(u.x+u.width),tt(u.y+u.height)].join(" ")+"]"}),y.push({key:"Matrix",value:"["+u.matrix.toString()+"]"});var M=u.pages[1].join(`
8
- `);br({data:M,additionalKeyValues:y,objectId:u.objectNumber}),D("endobj")},ai=function(){for(var u in Ve)Ve.hasOwnProperty(u)&&ii(Ve[u])},La=function(u,y){var M,R=[],X=1/(y-1);for(M=0;M<1;M+=X)R.push(M);if(R.push(1),u[0].offset!=0){var ut={offset:0,color:u[0].color};u.unshift(ut)}if(u[u.length-1].offset!=1){var wt={offset:1,color:u[u.length-1].color};u.push(wt)}for(var jt="",Bt=0,Kt=0;Kt<R.length;Kt++){for(M=R[Kt];M>u[Bt+1].offset;)Bt++;var Yt=u[Bt].offset,ne=(M-Yt)/(u[Bt+1].offset-Yt),Ae=u[Bt].color,Pe=u[Bt+1].color;jt+=U(Math.round((1-ne)*Ae[0]+ne*Pe[0]).toString(16))+U(Math.round((1-ne)*Ae[1]+ne*Pe[1]).toString(16))+U(Math.round((1-ne)*Ae[2]+ne*Pe[2]).toString(16))}return jt.trim()},Do=function(u,y){y||(y=21);var M=qe(),R=La(u.colors,y),X=[];X.push({key:"FunctionType",value:"0"}),X.push({key:"Domain",value:"[0.0 1.0]"}),X.push({key:"Size",value:"["+y+"]"}),X.push({key:"BitsPerSample",value:"8"}),X.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),X.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),br({data:R,additionalKeyValues:X,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:M}),D("endobj"),u.objectNumber=qe(),D("<< /ShadingType "+u.type),D("/ColorSpace /DeviceRGB");var ut="/Coords ["+tt(parseFloat(u.coords[0]))+" "+tt(parseFloat(u.coords[1]))+" ";u.type===2?ut+=tt(parseFloat(u.coords[2]))+" "+tt(parseFloat(u.coords[3])):ut+=tt(parseFloat(u.coords[2]))+" "+tt(parseFloat(u.coords[3]))+" "+tt(parseFloat(u.coords[4]))+" "+tt(parseFloat(u.coords[5])),D(ut+="]"),u.matrix&&D("/Matrix ["+u.matrix.toString()+"]"),D("/Function "+M+" 0 R"),D("/Extend [true true]"),D(">>"),D("endobj")},Bo=function(u,y){var M=Me(),R=qe();y.push({resourcesOid:M,objectOid:R}),u.objectNumber=R;var X=[];X.push({key:"Type",value:"/Pattern"}),X.push({key:"PatternType",value:"1"}),X.push({key:"PaintType",value:"1"}),X.push({key:"TilingType",value:"1"}),X.push({key:"BBox",value:"["+u.boundingBox.map(tt).join(" ")+"]"}),X.push({key:"XStep",value:tt(u.xStep)}),X.push({key:"YStep",value:tt(u.yStep)}),X.push({key:"Resources",value:M+" 0 R"}),u.matrix&&X.push({key:"Matrix",value:"["+u.matrix.toString()+"]"}),br({data:u.stream,additionalKeyValues:X,objectId:u.objectNumber}),D("endobj")},oi=function(u){var y;for(y in ue)ue.hasOwnProperty(y)&&(ue[y]instanceof Kn?Do(ue[y]):ue[y]instanceof Ti&&Bo(ue[y],u))},Na=function(u){for(var y in u.objectNumber=qe(),D("<<"),u)switch(y){case"opacity":D("/ca "+pt(u[y]));break;case"stroke-opacity":D("/CA "+pt(u[y]))}D(">>"),D("endobj")},qo=function(){var u;for(u in Ne)Ne.hasOwnProperty(u)&&Na(Ne[u])},zi=function(){for(var u in D("/XObject <<"),Ve)Ve.hasOwnProperty(u)&&Ve[u].objectNumber>=0&&D("/"+u+" "+Ve[u].objectNumber+" 0 R");ce.publish("putXobjectDict"),D(">>")},Ro=function(){Xe.oid=qe(),D("<<"),D("/Filter /Standard"),D("/V "+Xe.v),D("/R "+Xe.r),D("/U <"+Xe.toHexString(Xe.U)+">"),D("/O <"+Xe.toHexString(Xe.O)+">"),D("/P "+Xe.P),D(">>"),D("endobj")},Sa=function(){for(var u in D("/Font <<"),me)me.hasOwnProperty(u)&&(v===!1||v===!0&&A.hasOwnProperty(u))&&D("/"+u+" "+me[u].objectNumber+" 0 R");D(">>")},zo=function(){if(Object.keys(ue).length>0){for(var u in D("/Shading <<"),ue)ue.hasOwnProperty(u)&&ue[u]instanceof Kn&&ue[u].objectNumber>=0&&D("/"+u+" "+ue[u].objectNumber+" 0 R");ce.publish("putShadingPatternDict"),D(">>")}},si=function(u){if(Object.keys(ue).length>0){for(var y in D("/Pattern <<"),ue)ue.hasOwnProperty(y)&&ue[y]instanceof d.TilingPattern&&ue[y].objectNumber>=0&&ue[y].objectNumber<u&&D("/"+y+" "+ue[y].objectNumber+" 0 R");ce.publish("putTilingPatternDict"),D(">>")}},Uo=function(){if(Object.keys(Ne).length>0){var u;for(u in D("/ExtGState <<"),Ne)Ne.hasOwnProperty(u)&&Ne[u].objectNumber>=0&&D("/"+u+" "+Ne[u].objectNumber+" 0 R");ce.publish("putGStateDict"),D(">>")}},Fe=function(u){hr(u.resourcesOid,!0),D("<<"),D("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Sa(),zo(),si(u.objectOid),Uo(),zi(),D(">>"),D("endobj")},Pa=function(){var u=[];ni(),qo(),ai(),oi(u),ce.publish("putResources"),u.forEach(Fe),Fe({resourcesOid:Ir,objectOid:Number.MAX_SAFE_INTEGER}),ce.publish("postPutResources")},_a=function(){ce.publish("putAdditionalObjects");for(var u=0;u<Lt.length;u++){var y=Lt[u];hr(y.objId,!0),D(y.content),D("endobj")}ce.publish("postPutAdditionalObjects")},ka=function(u){xe[u.fontName]=xe[u.fontName]||{},xe[u.fontName][u.fontStyle]=u.id},Ui=function(u,y,M,R,X){var ut={id:"F"+(Object.keys(me).length+1).toString(10),postScriptName:u,fontName:y,fontStyle:M,encoding:R,isStandardFont:X||!1,metadata:{}};return ce.publish("addFont",{font:ut,instance:this}),me[ut.id]=ut,ka(ut),ut.id},Ho=function(u){for(var y=0,M=xt.length;y<M;y++){var R=Ui.call(this,u[y][0],u[y][1],u[y][2],xt[y][3],!0);v===!1&&(A[R]=!0);var X=u[y][0].split("-");ka({id:R,fontName:X[0],fontStyle:X[1]||""})}ce.publish("addFonts",{fonts:me,dictionary:xe})},jr=function(u){return u.foo=function(){try{return u.apply(this,arguments)}catch(R){var y=R.stack||"";~y.indexOf(" at ")&&(y=y.split(" at ")[1]);var M="Error in function "+y.split(`
9
- `)[0].split("<")[0]+": "+R.message;if(!Ht.console)throw new Error(M);Ht.console.error(M,R),Ht.alert&&alert(M)}},u.foo.bar=u,u.foo},li=function(u,y){var M,R,X,ut,wt,jt,Bt,Kt,Yt;if(X=(y=y||{}).sourceEncoding||"Unicode",wt=y.outputEncoding,(y.autoencode||wt)&&me[ee].metadata&&me[ee].metadata[X]&&me[ee].metadata[X].encoding&&(ut=me[ee].metadata[X].encoding,!wt&&me[ee].encoding&&(wt=me[ee].encoding),!wt&&ut.codePages&&(wt=ut.codePages[0]),typeof wt=="string"&&(wt=ut[wt]),wt)){for(Bt=!1,jt=[],M=0,R=u.length;M<R;M++)(Kt=wt[u.charCodeAt(M)])?jt.push(String.fromCharCode(Kt)):jt.push(u[M]),jt[M].charCodeAt(0)>>8&&(Bt=!0);u=jt.join("")}for(M=u.length;Bt===void 0&&M!==0;)u.charCodeAt(M-1)>>8&&(Bt=!0),M--;if(!Bt)return u;for(jt=y.noBOM?[]:[254,255],M=0,R=u.length;M<R;M++){if((Yt=(Kt=u.charCodeAt(M))>>8)>>8)throw new Error("Character at position "+M+" of string '"+u+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");jt.push(Yt),jt.push(Kt-(Yt<<8))}return String.fromCharCode.apply(void 0,jt)},or=d.__private__.pdfEscape=d.pdfEscape=function(u,y){return li(u,y).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Hi=d.__private__.beginPage=function(u){At[++Se]=[],Jt[Se]={objId:0,contentsObjId:0,userUnit:Number(c),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(u[0]),topRightY:Number(u[1])}},Ia(Se),ht(At[T])},Fa=function(u,y){var M,R,X;switch(r=y||r,typeof u=="string"&&(M=S(u.toLowerCase()),Array.isArray(M)&&(R=M[0],X=M[1])),Array.isArray(u)&&(R=u[0]*Ct,X=u[1]*Ct),isNaN(R)&&(R=s[0],X=s[1]),(R>14400||X>14400)&&(be.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),R=Math.min(14400,R),X=Math.min(14400,X)),s=[R,X],r.substr(0,1)){case"l":X>R&&(s=[X,R]);break;case"p":R>X&&(s=[X,R])}Hi(s),Ea(Ji),D(Tr),Xi!==0&&D(Xi+" J"),$i!==0&&D($i+" j"),ce.publish("addPage",{pageNumber:Se})},Wo=function(u){u>0&&u<=Se&&(At.splice(u,1),Jt.splice(u,1),Se--,T>Se&&(T=Se),this.setPage(T))},Ia=function(u){u>0&&u<=Se&&(T=u)},Vo=d.__private__.getNumberOfPages=d.getNumberOfPages=function(){return At.length-1},Ca=function(u,y,M){var R,X=void 0;return M=M||{},u=u!==void 0?u:me[ee].fontName,y=y!==void 0?y:me[ee].fontStyle,R=u.toLowerCase(),xe[R]!==void 0&&xe[R][y]!==void 0?X=xe[R][y]:xe[u]!==void 0&&xe[u][y]!==void 0?X=xe[u][y]:M.disableWarning===!1&&be.warn("Unable to look up font label for font '"+u+"', '"+y+"'. Refer to getFontList() for available fonts."),X||M.noFallback||(X=xe.times[y])==null&&(X=xe.times.normal),X},Go=d.__private__.putInfo=function(){var u=qe(),y=function(R){return R};for(var M in m!==null&&(y=Xe.encryptor(u,0)),D("<<"),D("/Producer ("+or(y("jsPDF "+Rt.version))+")"),Wt)Wt.hasOwnProperty(M)&&Wt[M]&&D("/"+M.substr(0,1).toUpperCase()+M.substr(1)+" ("+or(y(Wt[M]))+")");D("/CreationDate ("+or(y(lt))+")"),D(">>"),D("endobj")},Wi=d.__private__.putCatalog=function(u){var y=(u=u||{}).rootDictionaryObjId||on;switch(qe(),D("<<"),D("/Type /Catalog"),D("/Pages "+y+" 0 R"),It||(It="fullwidth"),It){case"fullwidth":D("/OpenAction [3 0 R /FitH null]");break;case"fullheight":D("/OpenAction [3 0 R /FitV null]");break;case"fullpage":D("/OpenAction [3 0 R /Fit]");break;case"original":D("/OpenAction [3 0 R /XYZ null null 1]");break;default:var M=""+It;M.substr(M.length-1)==="%"&&(It=parseInt(It)/100),typeof It=="number"&&D("/OpenAction [3 0 R /XYZ null null "+pt(It)+"]")}switch(te||(te="continuous"),te){case"continuous":D("/PageLayout /OneColumn");break;case"single":D("/PageLayout /SinglePage");break;case"two":case"twoleft":D("/PageLayout /TwoColumnLeft");break;case"tworight":D("/PageLayout /TwoColumnRight")}Gt&&D("/PageMode /"+Gt),ce.publish("putCatalog"),D(">>"),D("endobj")},Jo=d.__private__.putTrailer=function(){D("trailer"),D("<<"),D("/Size "+(Y+1)),D("/Root "+Y+" 0 R"),D("/Info "+(Y-1)+" 0 R"),m!==null&&D("/Encrypt "+Xe.oid+" 0 R"),D("/ID [ <"+ot+"> <"+ot+"> ]"),D(">>")},Yo=d.__private__.putHeader=function(){D("%PDF-"+C),D("%\xBA\xDF\xAC\xE0")},Xo=d.__private__.putXRef=function(){var u="0000000000";D("xref"),D("0 "+(Y+1)),D("0000000000 65535 f ");for(var y=1;y<=Y;y++)typeof et[y]=="function"?D((u+et[y]()).slice(-10)+" 00000 n "):et[y]!==void 0?D((u+et[y]).slice(-10)+" 00000 n "):D("0000000000 00000 n ")},sn=d.__private__.buildDocument=function(){Ut(),ht(nt),ce.publish("buildDocument"),Yo(),qn(),_a(),Pa(),m!==null&&Ro(),Go(),Wi();var u=it;return Xo(),Jo(),D("startxref"),D(""+u),D("%%EOF"),ht(At[T]),nt.join(`
10
- `)},ui=d.__private__.getBlob=function(u){return new Blob([Et(u)],{type:"application/pdf"})},ci=d.output=d.__private__.output=jr(function(u,y){switch(typeof(y=y||{})=="string"?y={filename:y}:y.filename=y.filename||"generated.pdf",u){case void 0:return sn();case"save":d.save(y.filename);break;case"arraybuffer":return Et(sn());case"blob":return ui(sn());case"bloburi":case"bloburl":if(Ht.URL!==void 0&&typeof Ht.URL.createObjectURL=="function")return Ht.URL&&Ht.URL.createObjectURL(ui(sn()))||void 0;be.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var M="",R=sn();try{M=Rs(R)}catch{M=Rs(unescape(encodeURIComponent(R)))}return"data:application/pdf;filename="+y.filename+";base64,"+M;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ht)==="[object Window]"){var X="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ut=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';y.pdfObjectUrl&&(X=y.pdfObjectUrl,ut="");var wt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+X+'"'+ut+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(y)+");<\/script></body></html>",jt=Ht.open();return jt!==null&&jt.document.write(wt),jt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Ht)==="[object Window]"){var Bt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(y.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+y.filename+'" width="500px" height="400px" /></body></html>',Kt=Ht.open();if(Kt!==null){Kt.document.write(Bt);var Yt=this;Kt.document.documentElement.querySelector("#pdfViewer").onload=function(){Kt.document.title=y.filename,Kt.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Yt.output("bloburl"))}}return Kt}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Ht)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var ne='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",y)+'"></iframe></body></html>',Ae=Ht.open();if(Ae!==null&&(Ae.document.write(ne),Ae.document.title=y.filename),Ae||typeof safari>"u")return Ae;break;case"datauri":case"dataurl":return Ht.document.location.href=this.output("datauristring",y);default:return null}}),Oa=function(u){return Array.isArray(Bn)===!0&&Bn.indexOf(u)>-1};switch(i){case"pt":Ct=1;break;case"mm":Ct=72/25.4;break;case"cm":Ct=72/2.54;break;case"in":Ct=72;break;case"px":Ct=Oa("px_scaling")==1?.75:96/72;break;case"pc":case"em":Ct=12;break;case"ex":Ct=6;break;default:if(typeof i!="number")throw new Error("Invalid unit: "+i);Ct=i}var Xe=null;Ot(),Z();var $o=function(u){return m!==null?Xe.encryptor(u,0):function(y){return y}},ja=d.__private__.getPageInfo=d.getPageInfo=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Jt[u].objId,pageNumber:u,pageContext:Jt[u]}},Vt=d.__private__.getPageInfoByObjId=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var y in Jt)if(Jt[y].objId===u)break;return ja(y)},Ko=d.__private__.getCurrentPageInfo=d.getCurrentPageInfo=function(){return{objId:Jt[T].objId,pageNumber:T,pageContext:Jt[T]}};d.addPage=function(){return Fa.apply(this,arguments),this},d.setPage=function(){return Ia.apply(this,arguments),ht.call(this,At[T]),this},d.insertPage=function(u){return this.addPage(),this.movePage(T,u),this},d.movePage=function(u,y){var M,R;if(u>y){M=At[u],R=Jt[u];for(var X=u;X>y;X--)At[X]=At[X-1],Jt[X]=Jt[X-1];At[y]=M,Jt[y]=R,this.setPage(y)}else if(u<y){M=At[u],R=Jt[u];for(var ut=u;ut<y;ut++)At[ut]=At[ut+1],Jt[ut]=Jt[ut+1];At[y]=M,Jt[y]=R,this.setPage(y)}return this},d.deletePage=function(){return Wo.apply(this,arguments),this},d.__private__.text=d.text=function(u,y,M,R,X){var ut,wt,jt,Bt,Kt,Yt,ne,Ae,Pe,Ee=(R=R||{}).scope||this;if(typeof u=="number"&&typeof y=="number"&&(typeof M=="string"||Array.isArray(M))){var $e=M;M=y,y=u,u=$e}if(arguments[3]instanceof zt?(q("The transform parameter of text() with a Matrix value"),Pe=X):(jt=arguments[4],Bt=arguments[5],ge(ne=arguments[3])==="object"&&ne!==null||(typeof jt=="string"&&(Bt=jt,jt=null),typeof ne=="string"&&(Bt=ne,ne=null),typeof ne=="number"&&(jt=ne,ne=null),R={flags:ne,angle:jt,align:Bt})),isNaN(y)||isNaN(M)||u==null)throw new Error("Invalid arguments passed to jsPDF.text");if(u.length===0)return Ee;var ze="",Mr=!1,pr=typeof R.lineHeightFactor=="number"?R.lineHeightFactor:zn,Zr=Ee.internal.scaleFactor;function Ua(ye){return ye=ye.split(" ").join(Array(R.TabLen||9).join(" ")),or(ye,ne)}function ea(ye){for(var we,Ce=ye.concat(),Re=[],hn=Ce.length;hn--;)typeof(we=Ce.shift())=="string"?Re.push(we):Array.isArray(ye)&&(we.length===1||we[1]===void 0&&we[2]===void 0)?Re.push(we[0]):Re.push([we[0],we[1],we[2]]);return Re}function ra(ye,we){var Ce;if(typeof ye=="string")Ce=we(ye)[0];else if(Array.isArray(ye)){for(var Re,hn,ca=ye.concat(),Si=[],Ja=ca.length;Ja--;)typeof(Re=ca.shift())=="string"?Si.push(we(Re)[0]):Array.isArray(Re)&&typeof Re[0]=="string"&&(hn=we(Re[0],Re[1],Re[2]),Si.push([hn[0],hn[1],hn[2]]));Ce=Si}return Ce}var mi=!1,na=!0;if(typeof u=="string")mi=!0;else if(Array.isArray(u)){var ia=u.concat();wt=[];for(var vi,Ge=ia.length;Ge--;)(typeof(vi=ia.shift())!="string"||Array.isArray(vi)&&typeof vi[0]!="string")&&(na=!1);mi=na}if(mi===!1)throw new Error('Type of text must be string or Array. "'+u+'" is not recognized.');typeof u=="string"&&(u=u.match(/[\r?\n]/)?u.split(/\r\n|\r|\n/g):[u]);var bi=Nt/Ee.internal.scaleFactor,yi=bi*(pr-1);switch(R.baseline){case"bottom":M-=yi;break;case"top":M+=bi-yi;break;case"hanging":M+=bi-2*yi;break;case"middle":M+=bi/2-yi}if((Yt=R.maxWidth||0)>0&&(typeof u=="string"?u=Ee.splitTextToSize(u,Yt):Object.prototype.toString.call(u)==="[object Array]"&&(u=u.reduce(function(ye,we){return ye.concat(Ee.splitTextToSize(we,Yt))},[]))),ut={text:u,x:y,y:M,options:R,mutex:{pdfEscape:or,activeFontKey:ee,fonts:me,activeFontSize:Nt}},ce.publish("preProcessText",ut),u=ut.text,jt=(R=ut.options).angle,!(Pe instanceof zt)&&jt&&typeof jt=="number"){jt*=Math.PI/180,R.rotationDirection===0&&(jt=-jt),z===j.ADVANCED&&(jt=-jt);var wi=Math.cos(jt),aa=Math.sin(jt);Pe=new zt(wi,aa,-aa,wi,0,0)}else jt&&jt instanceof zt&&(Pe=jt);z!==j.ADVANCED||Pe||(Pe=Jr),(Kt=R.charSpace||pi)!==void 0&&(ze+=tt(F(Kt))+` Tc
11
- `,this.setCharSpace(this.getCharSpace()||0)),(Ae=R.horizontalScale)!==void 0&&(ze+=tt(100*Ae)+` Tz
12
- `),R.lang;var sr=-1,ss=R.renderingMode!==void 0?R.renderingMode:R.stroke,oa=Ee.internal.getCurrentPageInfo().pageContext;switch(ss){case 0:case!1:case"fill":sr=0;break;case 1:case!0:case"stroke":sr=1;break;case 2:case"fillThenStroke":sr=2;break;case 3:case"invisible":sr=3;break;case 4:case"fillAndAddForClipping":sr=4;break;case 5:case"strokeAndAddPathForClipping":sr=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":sr=6;break;case 7:case"addToPathForClipping":sr=7}var Ha=oa.usedRenderingMode!==void 0?oa.usedRenderingMode:-1;sr!==-1?ze+=sr+` Tr
13
- `:Ha!==-1&&(ze+=`0 Tr
14
- `),sr!==-1&&(oa.usedRenderingMode=sr),Bt=R.align||"left";var yr,xi=Nt*pr,Wa=Ee.internal.pageSize.getWidth(),Va=me[ee];Kt=R.charSpace||pi,Yt=R.maxWidth||0,ne=Object.assign({autoencode:!0,noBOM:!0},R.flags);var xn=[],Wn=function(ye){return Ee.getStringUnitWidth(ye,{font:Va,charSpace:Kt,fontSize:Nt,doKerning:!1})*Nt/Zr};if(Object.prototype.toString.call(u)==="[object Array]"){var lr;wt=ea(u),Bt!=="left"&&(yr=wt.map(Wn));var rr,An=0;if(Bt==="right"){y-=yr[0],u=[],Ge=wt.length;for(var un=0;un<Ge;un++)un===0?(rr=Kr(y),lr=ln(M)):(rr=F(An-yr[un]),lr=-xi),u.push([wt[un],rr,lr]),An=yr[un]}else if(Bt==="center"){y-=yr[0]/2,u=[],Ge=wt.length;for(var cn=0;cn<Ge;cn++)cn===0?(rr=Kr(y),lr=ln(M)):(rr=F((An-yr[cn])/2),lr=-xi),u.push([wt[cn],rr,lr]),An=yr[cn]}else if(Bt==="left"){u=[],Ge=wt.length;for(var Ai=0;Ai<Ge;Ai++)u.push(wt[Ai])}else if(Bt==="justify"&&Va.encoding==="Identity-H"){u=[],Ge=wt.length,Yt=Yt!==0?Yt:Wa;for(var fn=0,Ie=0;Ie<Ge;Ie++)if(lr=Ie===0?ln(M):-xi,rr=Ie===0?Kr(y):fn,Ie<Ge-1){var sa=F((Yt-yr[Ie])/(wt[Ie].split(" ").length-1)),nr=wt[Ie].split(" ");u.push([nr[0]+" ",rr,lr]),fn=0;for(var wr=1;wr<nr.length;wr++){var Li=(Wn(nr[wr-1]+" "+nr[wr])-Wn(nr[wr]))*Zr+sa;wr==nr.length-1?u.push([nr[wr],Li,0]):u.push([nr[wr]+" ",Li,0]),fn-=Li}}else u.push([wt[Ie],rr,lr]);u.push(["",fn,0])}else{if(Bt!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(u=[],Ge=wt.length,Yt=Yt!==0?Yt:Wa,Ie=0;Ie<Ge;Ie++)lr=Ie===0?ln(M):-xi,rr=Ie===0?Kr(y):0,Ie<Ge-1?xn.push(tt(F((Yt-yr[Ie])/(wt[Ie].split(" ").length-1)))):xn.push(0),u.push([wt[Ie],rr,lr])}}var Ga=typeof R.R2L=="boolean"?R.R2L:Dt;Ga===!0&&(u=ra(u,function(ye,we,Ce){return[ye.split("").reverse().join(""),we,Ce]})),ut={text:u,x:y,y:M,options:R,mutex:{pdfEscape:or,activeFontKey:ee,fonts:me,activeFontSize:Nt}},ce.publish("postProcessText",ut),u=ut.text,Mr=ut.mutex.isHex||!1;var la=me[ee].encoding;la!=="WinAnsiEncoding"&&la!=="StandardEncoding"||(u=ra(u,function(ye,we,Ce){return[Ua(ye),we,Ce]})),wt=ea(u),u=[];for(var Vn,Gn,Ln,Jn=0,Ni=1,Yn=Array.isArray(wt[0])?Ni:Jn,Nn="",ua=function(ye,we,Ce){var Re="";return Ce instanceof zt?(Ce=typeof R.angle=="number"?Fr(Ce,new zt(1,0,0,1,ye,we)):Fr(new zt(1,0,0,1,ye,we),Ce),z===j.ADVANCED&&(Ce=Fr(new zt(1,0,0,-1,0,0),Ce)),Re=Ce.join(" ")+` Tm
15
- `):Re=tt(ye)+" "+tt(we)+` Td
16
- `,Re},xr=0;xr<wt.length;xr++){switch(Nn="",Yn){case Ni:Ln=(Mr?"<":"(")+wt[xr][0]+(Mr?">":")"),Vn=parseFloat(wt[xr][1]),Gn=parseFloat(wt[xr][2]);break;case Jn:Ln=(Mr?"<":"(")+wt[xr]+(Mr?">":")"),Vn=Kr(y),Gn=ln(M)}xn!==void 0&&xn[xr]!==void 0&&(Nn=xn[xr]+` Tw
17
- `),xr===0?u.push(Nn+ua(Vn,Gn,Pe)+Ln):Yn===Jn?u.push(Nn+Ln):Yn===Ni&&u.push(Nn+ua(Vn,Gn,Pe)+Ln)}u=Yn===Jn?u.join(` Tj
18
- T* `):u.join(` Tj
19
- `),u+=` Tj
20
- `;var Ar=`BT
21
- /`;return Ar+=ee+" "+Nt+` Tf
22
- `,Ar+=tt(Nt*pr)+` TL
23
- `,Ar+=Un+`
24
- `,Ar+=ze,Ar+=u,D(Ar+="ET"),A[ee]=!0,Ee};var Zo=d.__private__.clip=d.clip=function(u){return D(u==="evenodd"?"W*":"W"),this};d.clipEvenOdd=function(){return Zo("evenodd")},d.__private__.discardPath=d.discardPath=function(){return D("n"),this};var $r=d.__private__.isValidStyle=function(u){var y=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(u)!==-1&&(y=!0),y};d.__private__.setDefaultPathOperation=d.setDefaultPathOperation=function(u){return $r(u)&&(g=u),this};var Ta=d.__private__.getStyle=d.getStyle=function(u){var y=g;switch(u){case"D":case"S":y="S";break;case"F":y="f";break;case"FD":case"DF":y="B";break;case"f":case"f*":case"B":case"B*":y=u}return y},Ma=d.close=function(){return D("h"),this};d.stroke=function(){return D("S"),this},d.fill=function(u){return fi("f",u),this},d.fillEvenOdd=function(u){return fi("f*",u),this},d.fillStroke=function(u){return fi("B",u),this},d.fillStrokeEvenOdd=function(u){return fi("B*",u),this};var fi=function(u,y){ge(y)==="object"?ts(y,u):D(u)},Vi=function(u){u===null||z===j.ADVANCED&&u===void 0||(u=Ta(u),D(u))};function Qo(u,y,M,R,X){var ut=new Ti(y||this.boundingBox,M||this.xStep,R||this.yStep,this.gState,X||this.matrix);ut.stream=this.stream;var wt=u+"$$"+this.cloneIndex+++"$$";return ar(wt,ut),ut}var ts=function(u,y){var M=Dn[u.key],R=ue[M];if(R instanceof Kn)D("q"),D(es(y)),R.gState&&d.setGState(R.gState),D(u.matrix.toString()+" cm"),D("/"+M+" sh"),D("Q");else if(R instanceof Ti){var X=new zt(1,0,0,-1,0,wn());u.matrix&&(X=X.multiply(u.matrix||Jr),M=Qo.call(R,u.key,u.boundingBox,u.xStep,u.yStep,X).id),D("q"),D("/Pattern cs"),D("/"+M+" scn"),R.gState&&d.setGState(R.gState),D(y),D("Q")}},es=function(u){switch(u){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},Gi=d.moveTo=function(u,y){return D(tt(F(u))+" "+tt(B(y))+" m"),this},Rn=d.lineTo=function(u,y){return D(tt(F(u))+" "+tt(B(y))+" l"),this},bn=d.curveTo=function(u,y,M,R,X,ut){return D([tt(F(u)),tt(B(y)),tt(F(M)),tt(B(R)),tt(F(X)),tt(B(ut)),"c"].join(" ")),this};d.__private__.line=d.line=function(u,y,M,R,X){if(isNaN(u)||isNaN(y)||isNaN(M)||isNaN(R)||!$r(X))throw new Error("Invalid arguments passed to jsPDF.line");return z===j.COMPAT?this.lines([[M-u,R-y]],u,y,[1,1],X||"S"):this.lines([[M-u,R-y]],u,y,[1,1]).stroke()},d.__private__.lines=d.lines=function(u,y,M,R,X,ut){var wt,jt,Bt,Kt,Yt,ne,Ae,Pe,Ee,$e,ze,Mr;if(typeof u=="number"&&(Mr=M,M=y,y=u,u=Mr),R=R||[1,1],ut=ut||!1,isNaN(y)||isNaN(M)||!Array.isArray(u)||!Array.isArray(R)||!$r(X)||typeof ut!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Gi(y,M),wt=R[0],jt=R[1],Kt=u.length,$e=y,ze=M,Bt=0;Bt<Kt;Bt++)(Yt=u[Bt]).length===2?($e=Yt[0]*wt+$e,ze=Yt[1]*jt+ze,Rn($e,ze)):(ne=Yt[0]*wt+$e,Ae=Yt[1]*jt+ze,Pe=Yt[2]*wt+$e,Ee=Yt[3]*jt+ze,$e=Yt[4]*wt+$e,ze=Yt[5]*jt+ze,bn(ne,Ae,Pe,Ee,$e,ze));return ut&&Ma(),Vi(X),this},d.path=function(u){for(var y=0;y<u.length;y++){var M=u[y],R=M.c;switch(M.op){case"m":Gi(R[0],R[1]);break;case"l":Rn(R[0],R[1]);break;case"c":bn.apply(this,R);break;case"h":Ma()}}return this},d.__private__.rect=d.rect=function(u,y,M,R,X){if(isNaN(u)||isNaN(y)||isNaN(M)||isNaN(R)||!$r(X))throw new Error("Invalid arguments passed to jsPDF.rect");return z===j.COMPAT&&(R=-R),D([tt(F(u)),tt(B(y)),tt(F(M)),tt(F(R)),"re"].join(" ")),Vi(X),this},d.__private__.triangle=d.triangle=function(u,y,M,R,X,ut,wt){if(isNaN(u)||isNaN(y)||isNaN(M)||isNaN(R)||isNaN(X)||isNaN(ut)||!$r(wt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[M-u,R-y],[X-M,ut-R],[u-X,y-ut]],u,y,[1,1],wt,!0),this},d.__private__.roundedRect=d.roundedRect=function(u,y,M,R,X,ut,wt){if(isNaN(u)||isNaN(y)||isNaN(M)||isNaN(R)||isNaN(X)||isNaN(ut)||!$r(wt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var jt=4/3*(Math.SQRT2-1);return X=Math.min(X,.5*M),ut=Math.min(ut,.5*R),this.lines([[M-2*X,0],[X*jt,0,X,ut-ut*jt,X,ut],[0,R-2*ut],[0,ut*jt,-X*jt,ut,-X,ut],[2*X-M,0],[-X*jt,0,-X,-ut*jt,-X,-ut],[0,2*ut-R],[0,-ut*jt,X*jt,-ut,X,-ut]],u+X,y,[1,1],wt,!0),this},d.__private__.ellipse=d.ellipse=function(u,y,M,R,X){if(isNaN(u)||isNaN(y)||isNaN(M)||isNaN(R)||!$r(X))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ut=4/3*(Math.SQRT2-1)*M,wt=4/3*(Math.SQRT2-1)*R;return Gi(u+M,y),bn(u+M,y-wt,u+ut,y-R,u,y-R),bn(u-ut,y-R,u-M,y-wt,u-M,y),bn(u-M,y+wt,u-ut,y+R,u,y+R),bn(u+ut,y+R,u+M,y+wt,u+M,y),Vi(X),this},d.__private__.circle=d.circle=function(u,y,M,R){if(isNaN(u)||isNaN(y)||isNaN(M)||!$r(R))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(u,y,M,M,R)},d.setFont=function(u,y,M){return M&&(y=bt(y,M)),ee=Ca(u,y,{disableWarning:!1}),this};var rs=d.__private__.getFont=d.getFont=function(){return me[Ca.apply(d,arguments)]};d.__private__.getFontList=d.getFontList=function(){var u,y,M={};for(u in xe)if(xe.hasOwnProperty(u))for(y in M[u]=[],xe[u])xe[u].hasOwnProperty(y)&&M[u].push(y);return M},d.addFont=function(u,y,M,R,X){var ut=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ut.indexOf(arguments[3])!==-1?X=arguments[3]:arguments[3]&&ut.indexOf(arguments[3])==-1&&(M=bt(M,R)),X=X||"Identity-H",Ui.call(this,u,y,M,X)};var zn,Ji=t.lineWidth||.200025,hi=d.__private__.getLineWidth=d.getLineWidth=function(){return Ji},Ea=d.__private__.setLineWidth=d.setLineWidth=function(u){return Ji=u,D(tt(F(u))+" w"),this};d.__private__.setLineDash=Rt.API.setLineDash=Rt.API.setLineDashPattern=function(u,y){if(u=u||[],y=y||0,isNaN(y)||!Array.isArray(u))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return u=u.map(function(M){return tt(F(M))}).join(" "),y=tt(F(y)),D("["+u+"] "+y+" d"),this};var Da=d.__private__.getLineHeight=d.getLineHeight=function(){return Nt*zn};d.__private__.getLineHeight=d.getLineHeight=function(){return Nt*zn};var Ba=d.__private__.setLineHeightFactor=d.setLineHeightFactor=function(u){return typeof(u=u||1.15)=="number"&&(zn=u),this},qa=d.__private__.getLineHeightFactor=d.getLineHeightFactor=function(){return zn};Ba(t.lineHeight);var Kr=d.__private__.getHorizontalCoordinate=function(u){return F(u)},ln=d.__private__.getVerticalCoordinate=function(u){return z===j.ADVANCED?u:Jt[T].mediaBox.topRightY-Jt[T].mediaBox.bottomLeftY-F(u)},ns=d.__private__.getHorizontalCoordinateString=d.getHorizontalCoordinateString=function(u){return tt(Kr(u))},yn=d.__private__.getVerticalCoordinateString=d.getVerticalCoordinateString=function(u){return tt(ln(u))},Tr=t.strokeColor||"0 G";d.__private__.getStrokeColor=d.getDrawColor=function(){return Cr(Tr)},d.__private__.setStrokeColor=d.setDrawColor=function(u,y,M,R){return Tr=Or({ch1:u,ch2:y,ch3:M,ch4:R,pdfColorType:"draw",precision:2}),D(Tr),this};var Yi=t.fillColor||"0 g";d.__private__.getFillColor=d.getFillColor=function(){return Cr(Yi)},d.__private__.setFillColor=d.setFillColor=function(u,y,M,R){return Yi=Or({ch1:u,ch2:y,ch3:M,ch4:R,pdfColorType:"fill",precision:2}),D(Yi),this};var Un=t.textColor||"0 g",is=d.__private__.getTextColor=d.getTextColor=function(){return Cr(Un)};d.__private__.setTextColor=d.setTextColor=function(u,y,M,R){return Un=Or({ch1:u,ch2:y,ch3:M,ch4:R,pdfColorType:"text",precision:3}),this};var pi=t.charSpace,as=d.__private__.getCharSpace=d.getCharSpace=function(){return parseFloat(pi||0)};d.__private__.setCharSpace=d.setCharSpace=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return pi=u,this};var Xi=0;d.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},d.__private__.setLineCap=d.setLineCap=function(u){var y=d.CapJoinStyles[u];if(y===void 0)throw new Error("Line cap style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xi=y,D(y+" J"),this};var $i=0;d.__private__.setLineJoin=d.setLineJoin=function(u){var y=d.CapJoinStyles[u];if(y===void 0)throw new Error("Line join style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return $i=y,D(y+" j"),this},d.__private__.setLineMiterLimit=d.__private__.setMiterLimit=d.setLineMiterLimit=d.setMiterLimit=function(u){if(u=u||0,isNaN(u))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return D(tt(F(u))+" M"),this},d.GState=So,d.setGState=function(u){(u=typeof u=="string"?Ne[kr[u]]:Ra(null,u)).equals(an)||(D("/"+u.id+" gs"),an=u)};var Ra=function(u,y){if(!u||!kr[u]){var M=!1;for(var R in Ne)if(Ne.hasOwnProperty(R)&&Ne[R].equals(y)){M=!0;break}if(M)y=Ne[R];else{var X="GS"+(Object.keys(Ne).length+1).toString(10);Ne[X]=y,y.id=X}return u&&(kr[u]=y.id),ce.publish("addGState",y),y}};d.addGState=function(u,y){return Ra(u,y),this},d.saveGraphicsState=function(){return D("q"),Wr.push({key:ee,size:Nt,color:Un}),this},d.restoreGraphicsState=function(){D("Q");var u=Wr.pop();return ee=u.key,Nt=u.size,Un=u.color,an=null,this},d.setCurrentTransformationMatrix=function(u){return D(u.toString()+" cm"),this},d.comment=function(u){return D("#"+u),this};var di=function(u,y){var M=u||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return M},set:function(ut){isNaN(ut)||(M=parseFloat(ut))}});var R=y||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return R},set:function(ut){isNaN(ut)||(R=parseFloat(ut))}});var X="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return X},set:function(ut){X=ut.toString()}}),this},Ki=function(u,y,M,R){di.call(this,u,y),this.type="rect";var X=M||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return X},set:function(wt){isNaN(wt)||(X=parseFloat(wt))}});var ut=R||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return ut},set:function(wt){isNaN(wt)||(ut=parseFloat(wt))}}),this},Zi=function(){this.page=Se,this.currentPage=T,this.pages=At.slice(0),this.pagesContext=Jt.slice(0),this.x=Ye,this.y=oe,this.matrix=_r,this.width=Hn(T),this.height=wn(T),this.outputDestination=Pt,this.id="",this.objectNumber=-1};Zi.prototype.restore=function(){Se=this.page,T=this.currentPage,Jt=this.pagesContext,At=this.pages,Ye=this.x,oe=this.y,_r=this.matrix,Qi(T,this.width),ta(T,this.height),Pt=this.outputDestination};var za=function(u,y,M,R,X){Gr.push(new Zi),Se=T=0,At=[],Ye=u,oe=y,_r=X,Hi([M,R])},os=function(u){if(Vr[u])Gr.pop().restore();else{var y=new Zi,M="Xo"+(Object.keys(Ve).length+1).toString(10);y.id=M,Vr[u]=M,Ve[M]=y,ce.publish("addFormObject",y),Gr.pop().restore()}};for(var gi in d.beginFormObject=function(u,y,M,R,X){return za(u,y,M,R,X),this},d.endFormObject=function(u){return os(u),this},d.doFormObject=function(u,y){var M=Ve[Vr[u]];return D("q"),D(y.toString()+" cm"),D("/"+M.id+" Do"),D("Q"),this},d.getFormObject=function(u){var y=Ve[Vr[u]];return{x:y.x,y:y.y,width:y.width,height:y.height,matrix:y.matrix}},d.save=function(u,y){return u=u||"generated.pdf",(y=y||{}).returnPromise=y.returnPromise||!1,y.returnPromise===!1?($n(ui(sn()),u),typeof $n.unload=="function"&&Ht.setTimeout&&setTimeout($n.unload,911),this):new Promise(function(M,R){try{var X=$n(ui(sn()),u);typeof $n.unload=="function"&&Ht.setTimeout&&setTimeout($n.unload,911),M(X)}catch(ut){R(ut.message)}})},Rt.API)Rt.API.hasOwnProperty(gi)&&(gi==="events"&&Rt.API.events.length?function(u,y){var M,R,X;for(X=y.length-1;X!==-1;X--)M=y[X][0],R=y[X][1],u.subscribe.apply(u,[M].concat(typeof R=="function"?[R]:R))}(ce,Rt.API.events):d[gi]=Rt.API[gi]);var Hn=d.getPageWidth=function(u){return(Jt[u=u||T].mediaBox.topRightX-Jt[u].mediaBox.bottomLeftX)/Ct},Qi=d.setPageWidth=function(u,y){Jt[u].mediaBox.topRightX=y*Ct+Jt[u].mediaBox.bottomLeftX},wn=d.getPageHeight=function(u){return(Jt[u=u||T].mediaBox.topRightY-Jt[u].mediaBox.bottomLeftY)/Ct},ta=d.setPageHeight=function(u,y){Jt[u].mediaBox.topRightY=y*Ct+Jt[u].mediaBox.bottomLeftY};return d.internal={pdfEscape:or,getStyle:Ta,getFont:rs,getFontSize:kt,getCharSpace:as,getTextColor:is,getLineHeight:Da,getLineHeightFactor:qa,getLineWidth:hi,write:$t,getHorizontalCoordinate:Kr,getVerticalCoordinate:ln,getCoordinateString:ns,getVerticalCoordinateString:yn,collections:{},newObject:qe,newAdditionalObject:ei,newObjectDeferred:Me,newObjectDeferredBegin:hr,getFilters:Yr,putStream:br,events:ce,scaleFactor:Ct,pageSize:{getWidth:function(){return Hn(T)},setWidth:function(u){Qi(T,u)},getHeight:function(){return wn(T)},setHeight:function(u){ta(T,u)}},encryptionOptions:m,encryption:Xe,getEncryptor:$o,output:ci,getNumberOfPages:Vo,pages:At,out:D,f2:pt,f3:k,getPageInfo:ja,getPageInfoByObjId:Vt,getCurrentPageInfo:Ko,getPDFVersion:_,Point:di,Rectangle:Ki,Matrix:zt,hasHotfix:Oa},Object.defineProperty(d.internal.pageSize,"width",{get:function(){return Hn(T)},set:function(u){Qi(T,u)},enumerable:!0,configurable:!0}),Object.defineProperty(d.internal.pageSize,"height",{get:function(){return wn(T)},set:function(u){ta(T,u)},enumerable:!0,configurable:!0}),Ho.call(d,xt),ee="F1",Fa(s,r),ce.publish("initialized"),d}Oi.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},Oi.prototype.toHexString=function(t){return t.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Oi.prototype.hexToBytes=function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(String.fromCharCode(parseInt(t.substr(r,2),16)));return e.join("")},Oi.prototype.processOwnerPassword=function(t,e){return Us(zs(e).substr(0,5),t)},Oi.prototype.encryptor=function(t,e){var r=zs(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(i){return Us(r,i)}},So.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||ge(t)!==ge(this))return!1;var i=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e)||this[e]!==t[e])return!1;i++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&i--;return i===0},Rt.API={events:[]},Rt.version="3.0.1";var ke=Rt.API,Gs=1,Qn=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ii=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Xt=function(t){return t.toFixed(2)},jn=function(t){return t.toFixed(5)};ke.__acroform__={};var fr=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},$l=function(t){return t*Gs},en=function(t){var e=new pu,r=Mt.internal.getHeight(t)||0,i=Mt.internal.getWidth(t)||0;return e.BBox=[0,0,Number(Xt(i)),Number(Xt(r))],e},Jc=ke.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|=1<<e},Yc=ke.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&=~(1<<e)},Xc=ke.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<e?1:0},Oe=ke.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Xc(t,e-1)},je=ke.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Jc(t,e-1)},Te=ke.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Yc(t,e-1)},$c=ke.__acroform__.calculateCoordinates=function(t,e){var r=e.internal.getHorizontalCoordinate,i=e.internal.getVerticalCoordinate,s=t[0],a=t[1],l=t[2],c=t[3],h={};return h.lowerLeft_X=r(s)||0,h.lowerLeft_Y=i(a+c)||0,h.upperRight_X=r(s+l)||0,h.upperRight_Y=i(a)||0,[Number(Xt(h.lowerLeft_X)),Number(Xt(h.lowerLeft_Y)),Number(Xt(h.upperRight_X)),Number(Xt(h.upperRight_Y))]},Kc=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],r=t._V||t.DV,i=Hs(t,r),s=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+s+" "+Xt(i.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC");var a=en(t);return a.scope=t.scope,a.stream=e.join(`
25
- `),a}},Hs=function(t,e){var r=t.fontSize===0?t.maxFontSize:t.fontSize,i={text:"",fontSize:""},s=(e=(e=e.substr(0,1)=="("?e.substr(1):e).substr(e.length-1)==")"?e.substr(0,e.length-1):e).split(" ");s=t.multiline?s.map(function(k){return k.split(`
26
- `)}):s.map(function(k){return[k]});var a=r,l=Mt.internal.getHeight(t)||0;l=l<0?-l:l;var c=Mt.internal.getWidth(t)||0;c=c<0?-c:c;var h=function(k,F,V){if(k+1<s.length){var B=F+" "+s[k+1][0];return bo(B,t,V).width<=c-4}return!1};a++;t:for(;a>0;){e="",a--;var g,m,v=bo("3",t,a).height,A=t.multiline?l-a:(l-v)/2,d=A+=2,C=0,_=0,O=0;if(a<=0){e=`(...) Tj
27
- `,e+="% Width of Text: "+bo(e,t,a=12).width+", FieldWidth:"+c+`
28
- `;break}for(var S="",j=0,z=0;z<s.length;z++)if(s.hasOwnProperty(z)){var Q=!1;if(s[z].length!==1&&O!==s[z].length-1){if((v+2)*(j+2)+2>l)continue t;S+=s[z][O],Q=!0,_=z,z--}else{S=(S+=s[z][O]+" ").substr(S.length-1)==" "?S.substr(0,S.length-1):S;var at=parseInt(z),bt=h(at,S,a),tt=z>=s.length-1;if(bt&&!tt){S+=" ",O=0;continue}if(bt||tt){if(tt)_=at;else if(t.multiline&&(v+2)*(j+2)+2>l)continue t}else{if(!t.multiline||(v+2)*(j+2)+2>l)continue t;_=at}}for(var q="",rt=C;rt<=_;rt++){var pt=s[rt];if(t.multiline){if(rt===_){q+=pt[O]+" ",O=(O+1)%pt.length;continue}if(rt===C){q+=pt[pt.length-1]+" ";continue}}q+=pt[0]+" "}switch(q=q.substr(q.length-1)==" "?q.substr(0,q.length-1):q,m=bo(q,t,a).width,t.textAlign){case"right":g=c-m-2;break;case"center":g=(c-m)/2;break;case"left":default:g=2}e+=Xt(g)+" "+Xt(d)+` Td
29
- `,e+="("+Qn(q)+`) Tj
30
- `,e+=-Xt(g)+` 0 Td
31
- `,d=-(a+2),m=0,C=Q?_:_+1,j++,S=""}break}return i.text=e,i.fontSize=a,i},bo=function(t,e,r){var i=e.scope.internal.getFont(e.fontName,e.fontStyle),s=e.scope.getStringUnitWidth(t,{font:i,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:i,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:s}},Zc={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Qc=function(t,e){var r={type:"reference",object:t};e.internal.getPageInfo(t.page).pageContext.annotations.find(function(i){return i.type===r.type&&i.object===r.object})===void 0&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},tf=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var i=r,s=t[r];e.internal.newObjectDeferredBegin(s.objId,!0),ge(s)==="object"&&typeof s.putStream=="function"&&s.putStream(),delete t[i]}},ef=function(t,e){if(e.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(zr.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(Zc)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Gs=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new du,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(r){r.internal.events.unsubscribe(r.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete r.internal.acroformPlugin.acroFormDictionaryRoot._eventID,r.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(r){r.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var i=r.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];a.objId=void 0,a.hasAnnotation&&Qc(a,r)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(r){if(r.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");r.internal.write("/AcroForm "+r.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(r){(function(i,s){var a=!i;for(var l in i||(s.internal.newObjectDeferredBegin(s.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),s.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),i=i||s.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(i.hasOwnProperty(l)){var c=i[l],h=[],g=c.Rect;if(c.Rect&&(c.Rect=$c(c.Rect,s)),s.internal.newObjectDeferredBegin(c.objId,!0),c.DA=Mt.createDefaultAppearanceStream(c),ge(c)==="object"&&typeof c.getKeyValueListForStream=="function"&&(h=c.getKeyValueListForStream()),c.Rect=g,c.hasAppearanceStream&&!c.appearanceStreamContent){var m=Kc(c);h.push({key:"AP",value:"<</N "+m+">>"}),s.internal.acroformPlugin.xForms.push(m)}if(c.appearanceStreamContent){var v="";for(var A in c.appearanceStreamContent)if(c.appearanceStreamContent.hasOwnProperty(A)){var d=c.appearanceStreamContent[A];if(v+="/"+A+" ",v+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var l in d)if(d.hasOwnProperty(l)){var C=d[l];typeof C=="function"&&(C=C.call(s,c)),v+="/"+l+" "+C+" ",s.internal.acroformPlugin.xForms.indexOf(C)>=0||s.internal.acroformPlugin.xForms.push(C)}}else typeof(C=d)=="function"&&(C=C.call(s,c)),v+="/"+l+" "+C,s.internal.acroformPlugin.xForms.indexOf(C)>=0||s.internal.acroformPlugin.xForms.push(C);v+=">>"}h.push({key:"AP",value:`<<
32
- `+v+">>"})}s.internal.putStream({additionalKeyValues:h,objectId:c.objId}),s.internal.out("endobj")}a&&tf(s.internal.acroformPlugin.xForms,s)})(r,t)}),t.internal.acroformPlugin.isInitialized=!0}},hu=ke.__acroform__.arrayToPdfArray=function(t,e,r){var i=function(l){return l};if(Array.isArray(t)){for(var s="[",a=0;a<t.length;a++)switch(a!==0&&(s+=" "),ge(t[a])){case"boolean":case"number":case"object":s+=t[a].toString();break;case"string":t[a].substr(0,1)!=="/"?(e!==void 0&&r&&(i=r.internal.getEncryptor(e)),s+="("+Qn(i(t[a].toString()))+")"):s+=t[a].toString()}return s+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Ds=function(t,e,r){var i=function(s){return s};return e!==void 0&&r&&(i=r.internal.getEncryptor(e)),(t=t||"").toString(),t="("+Qn(i(t))+")"},rn=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};rn.prototype.toString=function(){return this.objId+" 0 R"},rn.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},rn.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter(function(a){return a!="content"&&a!="appearanceStreamContent"&&a!="scope"&&a!="objId"&&a.substring(0,1)!="_"});for(var r in e)if(Object.getOwnPropertyDescriptor(this,e[r]).configurable===!1){var i=e[r],s=this[i];s&&(Array.isArray(s)?t.push({key:i,value:hu(s,this.objId,this.scope)}):s instanceof rn?(s.scope=this.scope,t.push({key:i,value:s.objId+" 0 R"})):typeof s!="function"&&t.push({key:i,value:s}))}return t};var pu=function(){rn.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(r){e=r}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(r){t=r.trim()},get:function(){return t||null}})};fr(pu,rn);var du=function(){rn.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var r=function(i){return i};return this.scope&&(r=this.scope.internal.getEncryptor(this.objId)),"("+Qn(r(t))+")"}},set:function(r){t=r}})};fr(du,rn);var zr=function t(){rn.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(S){if(isNaN(S))throw new Error('Invalid value "'+S+'" for attribute F supplied.');e=S}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Oe(e,3)},set:function(S){S?this.F=je(e,3):this.F=Te(e,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(S){if(isNaN(S))throw new Error('Invalid value "'+S+'" for attribute Ff supplied.');r=S}});var i=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(i.length!==0)return i},set:function(S){i=S!==void 0?S:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[0])?0:i[0]},set:function(S){i[0]=S}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[1])?0:i[1]},set:function(S){i[1]=S}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[2])?0:i[2]},set:function(S){i[2]=S}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[3])?0:i[3]},set:function(S){i[3]=S}});var s="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return s},set:function(S){switch(S){case"/Btn":case"/Tx":case"/Ch":case"/Sig":s=S;break;default:throw new Error('Invalid value "'+S+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof Po)return;a="FieldObject"+t.FieldNum++}var S=function(j){return j};return this.scope&&(S=this.scope.internal.getEncryptor(this.objId)),"("+Qn(S(a))+")"},set:function(S){a=S.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(S){a=S}});var l="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return l},set:function(S){l=S}});var c="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return c},set:function(S){c=S}});var h=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return h},set:function(S){h=S}});var g=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return g===void 0?50/Gs:g},set:function(S){g=S}});var m="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return m},set:function(S){m=S}});var v="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!v||this instanceof Po||this instanceof Zn))return Ds(v,this.objId,this.scope)},set:function(S){S=S.toString(),v=S}});var A=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(A)return this instanceof We?A:Ds(A,this.objId,this.scope)},set:function(S){S=S.toString(),A=this instanceof We?S:S.substr(0,1)==="("?Ii(S.substr(1,S.length-2)):Ii(S)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof We?Ii(A.substr(1,A.length-1)):A},set:function(S){S=S.toString(),A=this instanceof We?"/"+S:S}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(S){this.V=S}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof We?d:Ds(d,this.objId,this.scope)},set:function(S){S=S.toString(),d=this instanceof We?S:S.substr(0,1)==="("?Ii(S.substr(1,S.length-2)):Ii(S)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof We?Ii(d.substr(1,d.length-1)):d},set:function(S){S=S.toString(),d=this instanceof We?"/"+S:S}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var C,_=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return _},set:function(S){S=!!S,_=S}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(C)return C},set:function(S){C=S}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,1)},set:function(S){S?this.Ff=je(this.Ff,1):this.Ff=Te(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,2)},set:function(S){S?this.Ff=je(this.Ff,2):this.Ff=Te(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,3)},set:function(S){S?this.Ff=je(this.Ff,3):this.Ff=Te(this.Ff,3)}});var O=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(O!==null)return O},set:function(S){if([0,1,2].indexOf(S)===-1)throw new Error('Invalid value "'+S+'" for attribute Q supplied.');O=S}}),Object.defineProperty(this,"textAlign",{get:function(){var S;switch(O){case 0:default:S="left";break;case 1:S="center";break;case 2:S="right"}return S},configurable:!0,enumerable:!0,set:function(S){switch(S){case"right":case 2:O=2;break;case"center":case 1:O=1;break;case"left":case 0:default:O=0}}})};fr(zr,rn);var Mi=function(){zr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(r){t=r}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return hu(e,this.objId,this.scope)},set:function(r){var i,s;s=[],typeof(i=r)=="string"&&(s=function(a,l,c){c||(c=1);for(var h,g=[];h=l.exec(a);)g.push(h[c]);return g}(i,/\((.*?)\)/g)),e=s}}),this.getOptions=function(){return e},this.setOptions=function(r){e=r,this.sort&&e.sort()},this.addOption=function(r){r=(r=r||"").toString(),e.push(r),this.sort&&e.sort()},this.removeOption=function(r,i){for(i=i||!1,r=(r=r||"").toString();e.indexOf(r)!==-1&&(e.splice(e.indexOf(r),1),i!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,18)},set:function(r){r?this.Ff=je(this.Ff,18):this.Ff=Te(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,19)},set:function(r){this.combo===!0&&(r?this.Ff=je(this.Ff,19):this.Ff=Te(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,20)},set:function(r){r?(this.Ff=je(this.Ff,20),e.sort()):this.Ff=Te(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,22)},set:function(r){r?this.Ff=je(this.Ff,22):this.Ff=Te(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,23)},set:function(r){r?this.Ff=je(this.Ff,23):this.Ff=Te(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,27)},set:function(r){r?this.Ff=je(this.Ff,27):this.Ff=Te(this.Ff,27)}}),this.hasAppearanceStream=!1};fr(Mi,zr);var Ei=function(){Mi.call(this),this.fontName="helvetica",this.combo=!1};fr(Ei,Mi);var Di=function(){Ei.call(this),this.combo=!0};fr(Di,Ei);var xo=function(){Di.call(this),this.edit=!0};fr(xo,Di);var We=function(){zr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,15)},set:function(r){r?this.Ff=je(this.Ff,15):this.Ff=Te(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,16)},set:function(r){r?this.Ff=je(this.Ff,16):this.Ff=Te(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,17)},set:function(r){r?this.Ff=je(this.Ff,17):this.Ff=Te(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,26)},set:function(r){r?this.Ff=je(this.Ff,26):this.Ff=Te(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var r=function(a){return a};if(this.scope&&(r=this.scope.internal.getEncryptor(this.objId)),Object.keys(e).length!==0){var i,s=[];for(i in s.push("<<"),e)s.push("/"+i+" ("+Qn(r(e[i]))+")");return s.push(">>"),s.join(`
33
- `)}},set:function(r){ge(r)==="object"&&(e=r)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(r){typeof r=="string"&&(e.CA=r)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(r){t="/"+r}})};fr(We,zr);var Ao=function(){We.call(this),this.pushButton=!0};fr(Ao,We);var Bi=function(){We.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e!==void 0?e:[]}})};fr(Bi,We);var Po=function(){var t,e;zr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(s){t=s}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(s){e=s}});var r,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var s=function(c){return c};this.scope&&(s=this.scope.internal.getEncryptor(this.objId));var a,l=[];for(a in l.push("<<"),i)l.push("/"+a+" ("+Qn(s(i[a]))+")");return l.push(">>"),l.join(`
34
- `)},set:function(s){ge(s)==="object"&&(i=s)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(s){typeof s=="string"&&(i.CA=s)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(s){r=s}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(s){r="/"+s}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Mt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};fr(Po,zr),Bi.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},Bi.prototype.createOption=function(t){var e=new Po;return e.Parent=this,e.optionName=t,this.Kids.push(e),rf.call(this.scope,e),e};var Lo=function(){We.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Mt.CheckBox.createAppearanceStream()};fr(Lo,We);var Zn=function(){zr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,13)},set:function(e){e?this.Ff=je(this.Ff,13):this.Ff=Te(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,21)},set:function(e){e?this.Ff=je(this.Ff,21):this.Ff=Te(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,23)},set:function(e){e?this.Ff=je(this.Ff,23):this.Ff=Te(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,24)},set:function(e){e?this.Ff=je(this.Ff,24):this.Ff=Te(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,25)},set:function(e){e?this.Ff=je(this.Ff,25):this.Ff=Te(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,26)},set:function(e){e?this.Ff=je(this.Ff,26):this.Ff=Te(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};fr(Zn,zr);var No=function(){Zn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Oe(this.Ff,14)},set:function(t){t?this.Ff=je(this.Ff,14):this.Ff=Te(this.Ff,14)}}),this.password=!0};fr(No,Zn);var Mt={CheckBox:{createAppearanceStream:function(){return{N:{On:Mt.CheckBox.YesNormal},D:{On:Mt.CheckBox.YesPushDown,Off:Mt.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=en(t);e.scope=t.scope;var r=[],i=t.scope.internal.getFont(t.fontName,t.fontStyle).id,s=t.scope.__private__.encodeColorString(t.color),a=Hs(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+Xt(Mt.internal.getWidth(t))+" "+Xt(Mt.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+i+" "+Xt(a.fontSize)+" Tf "+s),r.push("BT"),r.push(a.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join(`
35
- `),e},YesNormal:function(t){var e=en(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),s=[],a=Mt.internal.getHeight(t),l=Mt.internal.getWidth(t),c=Hs(t,t.caption);return s.push("1 g"),s.push("0 0 "+Xt(l)+" "+Xt(a)+" re"),s.push("f"),s.push("q"),s.push("0 0 1 rg"),s.push("0 0 "+Xt(l-1)+" "+Xt(a-1)+" re"),s.push("W"),s.push("n"),s.push("0 g"),s.push("BT"),s.push("/"+r+" "+Xt(c.fontSize)+" Tf "+i),s.push(c.text),s.push("ET"),s.push("Q"),e.stream=s.join(`
36
- `),e},OffPushDown:function(t){var e=en(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+Xt(Mt.internal.getWidth(t))+" "+Xt(Mt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join(`
37
- `),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:Mt.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=Mt.RadioButton.Circle.YesNormal,e.D[t]=Mt.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=en(t);e.scope=t.scope;var r=[],i=Mt.internal.getWidth(t)<=Mt.internal.getHeight(t)?Mt.internal.getWidth(t)/4:Mt.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var s=Mt.internal.Bezier_C,a=Number((i*s).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+jn(Mt.internal.getWidth(t)/2)+" "+jn(Mt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(`
38
- `),e},YesPushDown:function(t){var e=en(t);e.scope=t.scope;var r=[],i=Mt.internal.getWidth(t)<=Mt.internal.getHeight(t)?Mt.internal.getWidth(t)/4:Mt.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var s=Number((2*i).toFixed(5)),a=Number((s*Mt.internal.Bezier_C).toFixed(5)),l=Number((i*Mt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+jn(Mt.internal.getWidth(t)/2)+" "+jn(Mt.internal.getHeight(t)/2)+" cm"),r.push(s+" 0 m"),r.push(s+" "+a+" "+a+" "+s+" 0 "+s+" c"),r.push("-"+a+" "+s+" -"+s+" "+a+" -"+s+" 0 c"),r.push("-"+s+" -"+a+" -"+a+" -"+s+" 0 -"+s+" c"),r.push(a+" -"+s+" "+s+" -"+a+" "+s+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+jn(Mt.internal.getWidth(t)/2)+" "+jn(Mt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+l+" "+l+" "+i+" 0 "+i+" c"),r.push("-"+l+" "+i+" -"+i+" "+l+" -"+i+" 0 c"),r.push("-"+i+" -"+l+" -"+l+" -"+i+" 0 -"+i+" c"),r.push(l+" -"+i+" "+i+" -"+l+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(`
39
- `),e},OffPushDown:function(t){var e=en(t);e.scope=t.scope;var r=[],i=Mt.internal.getWidth(t)<=Mt.internal.getHeight(t)?Mt.internal.getWidth(t)/4:Mt.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var s=Number((2*i).toFixed(5)),a=Number((s*Mt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+jn(Mt.internal.getWidth(t)/2)+" "+jn(Mt.internal.getHeight(t)/2)+" cm"),r.push(s+" 0 m"),r.push(s+" "+a+" "+a+" "+s+" 0 "+s+" c"),r.push("-"+a+" "+s+" -"+s+" "+a+" -"+s+" 0 c"),r.push("-"+s+" -"+a+" -"+a+" -"+s+" 0 -"+s+" c"),r.push(a+" -"+s+" "+s+" -"+a+" "+s+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(`
40
- `),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:Mt.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=Mt.RadioButton.Cross.YesNormal,e.D[t]=Mt.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=en(t);e.scope=t.scope;var r=[],i=Mt.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+Xt(Mt.internal.getWidth(t)-2)+" "+Xt(Mt.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(Xt(i.x1.x)+" "+Xt(i.x1.y)+" m"),r.push(Xt(i.x2.x)+" "+Xt(i.x2.y)+" l"),r.push(Xt(i.x4.x)+" "+Xt(i.x4.y)+" m"),r.push(Xt(i.x3.x)+" "+Xt(i.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join(`
41
- `),e},YesPushDown:function(t){var e=en(t);e.scope=t.scope;var r=Mt.internal.calculateCross(t),i=[];return i.push("0.749023 g"),i.push("0 0 "+Xt(Mt.internal.getWidth(t))+" "+Xt(Mt.internal.getHeight(t))+" re"),i.push("f"),i.push("q"),i.push("1 1 "+Xt(Mt.internal.getWidth(t)-2)+" "+Xt(Mt.internal.getHeight(t)-2)+" re"),i.push("W"),i.push("n"),i.push(Xt(r.x1.x)+" "+Xt(r.x1.y)+" m"),i.push(Xt(r.x2.x)+" "+Xt(r.x2.y)+" l"),i.push(Xt(r.x4.x)+" "+Xt(r.x4.y)+" m"),i.push(Xt(r.x3.x)+" "+Xt(r.x3.y)+" l"),i.push("s"),i.push("Q"),e.stream=i.join(`
42
- `),e},OffPushDown:function(t){var e=en(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+Xt(Mt.internal.getWidth(t))+" "+Xt(Mt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join(`
43
- `),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};Mt.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=Mt.internal.getWidth(t),r=Mt.internal.getHeight(t),i=Math.min(e,r);return{x1:{x:(e-i)/2,y:(r-i)/2+i},x2:{x:(e-i)/2+i,y:(r-i)/2},x3:{x:(e-i)/2,y:(r-i)/2},x4:{x:(e-i)/2+i,y:(r-i)/2+i}}}},Mt.internal.getWidth=function(t){var e=0;return ge(t)==="object"&&(e=$l(t.Rect[2])),e},Mt.internal.getHeight=function(t){var e=0;return ge(t)==="object"&&(e=$l(t.Rect[3])),e};var rf=ke.addField=function(t){if(ef(this,t),!(t instanceof zr))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};ke.AcroFormChoiceField=Mi,ke.AcroFormListBox=Ei,ke.AcroFormComboBox=Di,ke.AcroFormEditBox=xo,ke.AcroFormButton=We,ke.AcroFormPushButton=Ao,ke.AcroFormRadioButton=Bi,ke.AcroFormCheckBox=Lo,ke.AcroFormTextField=Zn,ke.AcroFormPasswordField=No,ke.AcroFormAppearance=Mt,ke.AcroForm={ChoiceField:Mi,ListBox:Ei,ComboBox:Di,EditBox:xo,Button:We,PushButton:Ao,RadioButton:Bi,CheckBox:Lo,TextField:Zn,PasswordField:No,Appearance:Mt},Rt.AcroForm={ChoiceField:Mi,ListBox:Ei,ComboBox:Di,EditBox:xo,Button:We,PushButton:Ao,RadioButton:Bi,CheckBox:Lo,TextField:Zn,PasswordField:No,Appearance:Mt};var Dh=Rt.AcroForm;function gu(t){return t.reduce(function(e,r,i){return e[r]=i,e},{})}(function(t){t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=t.__addimage__.getImageFileTypeByImageData=function(k,F){var V,B,lt,ot,ft,Z=e;if((F=F||e)==="RGBA"||k.data!==void 0&&k.data instanceof Uint8ClampedArray&&"height"in k&&"width"in k)return"RGBA";if(bt(k))for(ft in r)for(lt=r[ft],V=0;V<lt.length;V+=1){for(ot=!0,B=0;B<lt[V].length;B+=1)if(lt[V][B]!==void 0&&lt[V][B]!==k[B]){ot=!1;break}if(ot===!0){Z=ft;break}}else for(ft in r)for(lt=r[ft],V=0;V<lt.length;V+=1){for(ot=!0,B=0;B<lt[V].length;B+=1)if(lt[V][B]!==void 0&&lt[V][B]!==k.charCodeAt(B)){ot=!1;break}if(ot===!0){Z=ft;break}}return Z===e&&F!==e&&(Z=F),Z},s=function k(F){for(var V=this.internal.write,B=this.internal.putStream,lt=(0,this.internal.getFilters)();lt.indexOf("FlateEncode")!==-1;)lt.splice(lt.indexOf("FlateEncode"),1);F.objectId=this.internal.newObject();var ot=[];if(ot.push({key:"Type",value:"/XObject"}),ot.push({key:"Subtype",value:"/Image"}),ot.push({key:"Width",value:F.width}),ot.push({key:"Height",value:F.height}),F.colorSpace===O.INDEXED?ot.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(F.palette.length/3-1)+" "+("sMask"in F&&F.sMask!==void 0?F.objectId+2:F.objectId+1)+" 0 R]"}):(ot.push({key:"ColorSpace",value:"/"+F.colorSpace}),F.colorSpace===O.DEVICE_CMYK&&ot.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ot.push({key:"BitsPerComponent",value:F.bitsPerComponent}),"decodeParameters"in F&&F.decodeParameters!==void 0&&ot.push({key:"DecodeParms",value:"<<"+F.decodeParameters+">>"}),"transparency"in F&&Array.isArray(F.transparency)){for(var ft="",Z=0,ct=F.transparency.length;Z<ct;Z++)ft+=F.transparency[Z]+" "+F.transparency[Z]+" ";ot.push({key:"Mask",value:"["+ft+"]"})}F.sMask!==void 0&&ot.push({key:"SMask",value:F.objectId+1+" 0 R"});var dt=F.filter!==void 0?["/"+F.filter]:void 0;if(B({data:F.data,additionalKeyValues:ot,alreadyAppliedFilters:dt,objectId:F.objectId}),V("endobj"),"sMask"in F&&F.sMask!==void 0){var Ot="/Predictor "+F.predictor+" /Colors 1 /BitsPerComponent "+F.bitsPerComponent+" /Columns "+F.width,L={width:F.width,height:F.height,colorSpace:"DeviceGray",bitsPerComponent:F.bitsPerComponent,decodeParameters:Ot,data:F.sMask};"filter"in F&&(L.filter=F.filter),k.call(this,L)}if(F.colorSpace===O.INDEXED){var T=this.internal.newObject();B({data:q(new Uint8Array(F.palette)),objectId:T}),V("endobj")}},a=function(){var k=this.internal.collections.addImage_images;for(var F in k)s.call(this,k[F])},l=function(){var k,F=this.internal.collections.addImage_images,V=this.internal.write;for(var B in F)V("/I"+(k=F[B]).index,k.objectId,"0","R")},c=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",l))},h=function(){var k=this.internal.collections.addImage_images;return c.call(this),k},g=function(){return Object.keys(this.internal.collections.addImage_images).length},m=function(k){return typeof t["process"+k.toUpperCase()]=="function"},v=function(k){return ge(k)==="object"&&k.nodeType===1},A=function(k,F){if(k.nodeName==="IMG"&&k.hasAttribute("src")){var V=""+k.getAttribute("src");if(V.indexOf("data:image/")===0)return xa(unescape(V).split("base64,").pop());var B=t.loadFile(V,!0);if(B!==void 0)return B}if(k.nodeName==="CANVAS"){if(k.width===0||k.height===0)throw new Error("Given canvas must have data. Canvas width: "+k.width+", height: "+k.height);var lt;switch(F){case"PNG":lt="image/png";break;case"WEBP":lt="image/webp";break;case"JPEG":case"JPG":default:lt="image/jpeg"}return xa(k.toDataURL(lt,1).split("base64,").pop())}},d=function(k){var F=this.internal.collections.addImage_images;if(F){for(var V in F)if(k===F[V].alias)return F[V]}},C=function(k,F,V){return k||F||(k=-96,F=-96),k<0&&(k=-1*V.width*72/k/this.internal.scaleFactor),F<0&&(F=-1*V.height*72/F/this.internal.scaleFactor),k===0&&(k=F*V.width/V.height),F===0&&(F=k*V.height/V.width),[k,F]},_=function(k,F,V,B,lt,ot){var ft=C.call(this,V,B,lt),Z=this.internal.getCoordinateString,ct=this.internal.getVerticalCoordinateString,dt=h.call(this);if(V=ft[0],B=ft[1],dt[lt.index]=lt,ot){ot*=Math.PI/180;var Ot=Math.cos(ot),L=Math.sin(ot),T=function(U){return U.toFixed(4)},E=[T(Ot),T(L),T(-1*L),T(Ot),0,0,"cm"]}this.internal.write("q"),ot?(this.internal.write([1,"0","0",1,Z(k),ct(F+B),"cm"].join(" ")),this.internal.write(E.join(" ")),this.internal.write([Z(V),"0","0",Z(B),"0","0","cm"].join(" "))):this.internal.write([Z(V),"0","0",Z(B),Z(k),ct(F+B),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+lt.index+" Do"),this.internal.write("Q")},O=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var S=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},j=t.__addimage__.sHashCode=function(k){var F,V,B=0;if(typeof k=="string")for(V=k.length,F=0;F<V;F++)B=(B<<5)-B+k.charCodeAt(F),B|=0;else if(bt(k))for(V=k.byteLength/2,F=0;F<V;F++)B=(B<<5)-B+k[F],B|=0;return B},z=t.__addimage__.validateStringAsBase64=function(k){(k=k||"").toString().trim();var F=!0;return k.length===0&&(F=!1),k.length%4!=0&&(F=!1),/^[A-Za-z0-9+/]+$/.test(k.substr(0,k.length-2))===!1&&(F=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(k.substr(-2))===!1&&(F=!1),F},Q=t.__addimage__.extractImageFromDataUrl=function(k){if(k==null||!(k=k.trim()).startsWith("data:"))return null;var F=k.indexOf(",");return F<0?null:k.substring(0,F).trim().endsWith("base64")?k.substring(F+1):null},at=t.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};t.__addimage__.isArrayBuffer=function(k){return at()&&k instanceof ArrayBuffer};var bt=t.__addimage__.isArrayBufferView=function(k){return at()&&typeof Uint32Array<"u"&&(k instanceof Int8Array||k instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&k instanceof Uint8ClampedArray||k instanceof Int16Array||k instanceof Uint16Array||k instanceof Int32Array||k instanceof Uint32Array||k instanceof Float32Array||k instanceof Float64Array)},tt=t.__addimage__.binaryStringToUint8Array=function(k){for(var F=k.length,V=new Uint8Array(F),B=0;B<F;B++)V[B]=k.charCodeAt(B);return V},q=t.__addimage__.arrayBufferToBinaryString=function(k){for(var F="",V=bt(k)?k:new Uint8Array(k),B=0;B<V.length;B+=8192)F+=String.fromCharCode.apply(null,V.subarray(B,B+8192));return F};t.addImage=function(){var k,F,V,B,lt,ot,ft,Z,ct;if(typeof arguments[1]=="number"?(F=e,V=arguments[1],B=arguments[2],lt=arguments[3],ot=arguments[4],ft=arguments[5],Z=arguments[6],ct=arguments[7]):(F=arguments[1],V=arguments[2],B=arguments[3],lt=arguments[4],ot=arguments[5],ft=arguments[6],Z=arguments[7],ct=arguments[8]),ge(k=arguments[0])==="object"&&!v(k)&&"imageData"in k){var dt=k;k=dt.imageData,F=dt.format||F||e,V=dt.x||V||0,B=dt.y||B||0,lt=dt.w||dt.width||lt,ot=dt.h||dt.height||ot,ft=dt.alias||ft,Z=dt.compression||Z,ct=dt.rotation||dt.angle||ct}var Ot=this.internal.getFilters();if(Z===void 0&&Ot.indexOf("FlateEncode")!==-1&&(Z="SLOW"),isNaN(V)||isNaN(B))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var L=rt.call(this,k,F,ft,Z);return _.call(this,V,B,lt,ot,L,ct),this};var rt=function(k,F,V,B){var lt,ot,ft;if(typeof k=="string"&&i(k)===e){k=unescape(k);var Z=pt(k,!1);(Z!==""||(Z=t.loadFile(k,!0))!==void 0)&&(k=Z)}if(v(k)&&(k=A(k,F)),F=i(k,F),!m(F))throw new Error("addImage does not support files of type '"+F+"', please ensure that a plugin for '"+F+"' support is added.");if(((ft=V)==null||ft.length===0)&&(V=function(ct){return typeof ct=="string"||bt(ct)?j(ct):bt(ct.data)?j(ct.data):null}(k)),(lt=d.call(this,V))||(at()&&(k instanceof Uint8Array||F==="RGBA"||(ot=k,k=tt(k))),lt=this["process"+F.toUpperCase()](k,g.call(this),V,function(ct){return ct&&typeof ct=="string"&&(ct=ct.toUpperCase()),ct in t.image_compression?ct:S.NONE}(B),ot)),!lt)throw new Error("An unknown error occurred whilst processing the image.");return lt},pt=t.__addimage__.convertBase64ToBinaryString=function(k,F){F=typeof F!="boolean"||F;var V,B="";if(typeof k=="string"){var lt;V=(lt=Q(k))!==null&&lt!==void 0?lt:k;try{B=xa(V)}catch(ot){if(F)throw z(V)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+ot.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return B};t.getImageProperties=function(k){var F,V,B="";if(v(k)&&(k=A(k)),typeof k=="string"&&i(k)===e&&((B=pt(k,!1))===""&&(B=t.loadFile(k)||""),k=B),V=i(k),!m(V))throw new Error("addImage does not support files of type '"+V+"', please ensure that a plugin for '"+V+"' support is added.");if(!at()||k instanceof Uint8Array||(k=tt(k)),!(F=this["process"+V.toUpperCase()](k)))throw new Error("An unknown error occurred whilst processing the image");return F.fileType=V,F}})(Rt.API),function(t){var e=function(r){if(r!==void 0&&r!="")return!0};Rt.API.events.push(["addPage",function(r){this.internal.getPageInfo(r.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(r){for(var i,s,a,l=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,h=this.internal.getPageInfoByObjId(r.objId),g=r.pageContext.annotations,m=!1,v=0;v<g.length&&!m;v++)switch((i=g[v]).type){case"link":(e(i.options.url)||e(i.options.pageNumber))&&(m=!0);break;case"reference":case"text":case"freetext":m=!0}if(m!=0){this.internal.write("/Annots [");for(var A=0;A<g.length;A++){i=g[A];var d=this.internal.pdfEscape,C=this.internal.getEncryptor(r.objId);switch(i.type){case"reference":this.internal.write(" "+i.object.objId+" 0 R ");break;case"text":var _=this.internal.newAdditionalObject(),O=this.internal.newAdditionalObject(),S=this.internal.getEncryptor(_.objId),j=i.title||"Note";a="<</Type /Annot /Subtype /Text "+(s="/Rect ["+l(i.bounds.x)+" "+c(i.bounds.y+i.bounds.h)+" "+l(i.bounds.x+i.bounds.w)+" "+c(i.bounds.y)+"] ")+"/Contents ("+d(S(i.contents))+")",a+=" /Popup "+O.objId+" 0 R",a+=" /P "+h.objId+" 0 R",a+=" /T ("+d(S(j))+") >>",_.content=a;var z=_.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(s="/Rect ["+l(i.bounds.x+30)+" "+c(i.bounds.y+i.bounds.h)+" "+l(i.bounds.x+i.bounds.w+30)+" "+c(i.bounds.y)+"] ")+" /Parent "+z,i.open&&(a+=" /Open true"),a+=" >>",O.content=a,this.internal.write(_.objId,"0 R",O.objId,"0 R");break;case"freetext":s="/Rect ["+l(i.bounds.x)+" "+c(i.bounds.y)+" "+l(i.bounds.x+i.bounds.w)+" "+c(i.bounds.y+i.bounds.h)+"] ";var Q=i.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+s+"/Contents ("+d(C(i.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Q+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(i.options.name){var at=this.annotations._nameMap[i.options.name];i.options.pageNumber=at.page,i.options.top=at.y}else i.options.top||(i.options.top=0);if(s="/Rect ["+i.finalBounds.x+" "+i.finalBounds.y+" "+i.finalBounds.w+" "+i.finalBounds.h+"] ",a="",i.options.url)a="<</Type /Annot /Subtype /Link "+s+"/Border [0 0 0] /A <</S /URI /URI ("+d(C(i.options.url))+") >>";else if(i.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+s+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(i.options.pageNumber).objId+" 0 R",i.options.magFactor=i.options.magFactor||"XYZ",i.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+i.options.top+"]";break;case"FitV":i.options.left=i.options.left||0,a+=" /FitV "+i.options.left+"]";break;case"XYZ":default:var bt=c(i.options.top);i.options.left=i.options.left||0,i.options.zoom===void 0&&(i.options.zoom=0),a+=" /XYZ "+i.options.left+" "+bt+" "+i.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),t.createAnnotation=function(r){var i=this.internal.getCurrentPageInfo();switch(r.type){case"link":this.link(r.bounds.x,r.bounds.y,r.bounds.w,r.bounds.h,r);break;case"text":case"freetext":i.pageContext.annotations.push(r)}},t.link=function(r,i,s,a,l){var c=this.internal.getCurrentPageInfo(),h=this.internal.getCoordinateString,g=this.internal.getVerticalCoordinateString;c.pageContext.annotations.push({finalBounds:{x:h(r),y:g(i),w:h(r+s),h:g(i+a)},options:l,type:"link"})},t.textWithLink=function(r,i,s,a){var l,c,h=this.getTextWidth(r),g=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){c=a.maxWidth;var m=this.splitTextToSize(r,c).length;l=Math.ceil(g*m)}else c=h,l=g;return this.text(r,i,s,a),s+=.2*g,a.align==="center"&&(i-=h/2),a.align==="right"&&(i-=h),this.link(i,s-g,c,l,a),h},t.getTextWidth=function(r){var i=this.internal.getFontSize();return this.getStringUnitWidth(r)*i/this.internal.scaleFactor}}(Rt.API),function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},s=[1570,1571,1573,1575];t.__arabicParser__={};var a=t.__arabicParser__.isInArabicSubstitutionA=function(_){return e[_.charCodeAt(0)]!==void 0},l=t.__arabicParser__.isArabicLetter=function(_){return typeof _=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(_)},c=t.__arabicParser__.isArabicEndLetter=function(_){return l(_)&&a(_)&&e[_.charCodeAt(0)].length<=2},h=t.__arabicParser__.isArabicAlfLetter=function(_){return l(_)&&s.indexOf(_.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(_){return l(_)&&a(_)&&e[_.charCodeAt(0)].length>=1};var g=t.__arabicParser__.arabicLetterHasFinalForm=function(_){return l(_)&&a(_)&&e[_.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(_){return l(_)&&a(_)&&e[_.charCodeAt(0)].length>=3};var m=t.__arabicParser__.arabicLetterHasMedialForm=function(_){return l(_)&&a(_)&&e[_.charCodeAt(0)].length==4},v=t.__arabicParser__.resolveLigatures=function(_){var O=0,S=r,j="",z=0;for(O=0;O<_.length;O+=1)S[_.charCodeAt(O)]!==void 0?(z++,typeof(S=S[_.charCodeAt(O)])=="number"&&(j+=String.fromCharCode(S),S=r,z=0),O===_.length-1&&(S=r,j+=_.charAt(O-(z-1)),O-=z-1,z=0)):(S=r,j+=_.charAt(O-z),O-=z,z=0);return j};t.__arabicParser__.isArabicDiacritic=function(_){return _!==void 0&&i[_.charCodeAt(0)]!==void 0};var A=t.__arabicParser__.getCorrectForm=function(_,O,S){return l(_)?a(_)===!1?-1:!g(_)||!l(O)&&!l(S)||!l(S)&&c(O)||c(_)&&!l(O)||c(_)&&h(O)||c(_)&&c(O)?0:m(_)&&l(O)&&!c(O)&&l(S)&&g(S)?3:c(_)||!l(S)?1:2:-1},d=function(_){var O=0,S=0,j=0,z="",Q="",at="",bt=(_=_||"").split("\\s+"),tt=[];for(O=0;O<bt.length;O+=1){for(tt.push(""),S=0;S<bt[O].length;S+=1)z=bt[O][S],Q=bt[O][S-1],at=bt[O][S+1],l(z)?(j=A(z,Q,at),tt[O]+=j!==-1?String.fromCharCode(e[z.charCodeAt(0)][j]):z):tt[O]+=z;tt[O]=v(tt[O])}return tt.join(" ")},C=t.__arabicParser__.processArabic=t.processArabic=function(){var _,O=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,S=[];if(Array.isArray(O)){var j=0;for(S=[],j=0;j<O.length;j+=1)Array.isArray(O[j])?S.push([d(O[j][0]),O[j][1],O[j][2]]):S.push([d(O[j])]);_=S}else _=d(O);return typeof arguments[0]=="string"?_:(arguments[0].text=_,arguments[0])};t.events.push(["preProcessText",C])}(Rt.API),Rt.API.autoPrint=function(t){var e;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+e+" 0 R")})}return this},function(t){var e=function(){var r=void 0;Object.defineProperty(this,"pdf",{get:function(){return r},set:function(c){r=c}});var i=150;Object.defineProperty(this,"width",{get:function(){return i},set:function(c){i=isNaN(c)||Number.isInteger(c)===!1||c<0?150:c,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=i+1)}});var s=300;Object.defineProperty(this,"height",{get:function(){return s},set:function(c){s=isNaN(c)||Number.isInteger(c)===!1||c<0?300:c,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=s+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(c){a=c}});var l={};Object.defineProperty(this,"style",{get:function(){return l},set:function(c){l=c}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(r,i){var s;if((r=r||"2d")!=="2d")return null;for(s in i)this.pdf.context2d.hasOwnProperty(s)&&(this.pdf.context2d[s]=i[s]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(Rt.API),function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,i=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),s.call(this))},s=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var h=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return h},set:function(_){h=_}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(_){g=_}});var m=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return m},set:function(_){m=_}});var v=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return v},set:function(_){v=_}});var A=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return A},set:function(_){A=_}});var d=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return d},set:function(_){d=_}});var C=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return C},set:function(_){C=_}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(h){return i.call(this),this.internal.__cell__.headerFunction=typeof h=="function"?h:void 0,this},t.getTextDimensions=function(h,g){i.call(this);var m=(g=g||{}).fontSize||this.getFontSize(),v=g.font||this.getFont(),A=g.scaleFactor||this.internal.scaleFactor,d=0,C=0,_=0,O=this;if(!Array.isArray(h)&&typeof h!="string"){if(typeof h!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");h=String(h)}var S=g.maxWidth;S>0?typeof h=="string"?h=this.splitTextToSize(h,S):Object.prototype.toString.call(h)==="[object Array]"&&(h=h.reduce(function(z,Q){return z.concat(O.splitTextToSize(Q,S))},[])):h=Array.isArray(h)?h:[h];for(var j=0;j<h.length;j++)d<(_=this.getStringUnitWidth(h[j],{font:v})*m)&&(d=_);return d!==0&&(C=h.length),{w:d/=A,h:Math.max((C*m*this.getLineHeightFactor()-m*(this.getLineHeightFactor()-1))/A,0)}},t.cellAddPage=function(){i.call(this),this.addPage();var h=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new a(h.left,h.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var l=t.cell=function(){var h;h=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var g=this.internal.__cell__.lastCell,m=this.internal.__cell__.padding,v=this.internal.__cell__.margins||e,A=this.internal.__cell__.tableHeaderRow,d=this.internal.__cell__.printHeaders;return g.lineNumber!==void 0&&(g.lineNumber===h.lineNumber?(h.x=(g.x||0)+(g.width||0),h.y=g.y||0):g.y+g.height+h.height+v.bottom>this.getPageHeight()?(this.cellAddPage(),h.y=v.top,d&&A&&(this.printHeaderRow(h.lineNumber,!0),h.y+=A[0].height)):h.y=g.y+g.height||h.y),h.text[0]!==void 0&&(this.rect(h.x,h.y,h.width,h.height,r===!0?"FD":void 0),h.align==="right"?this.text(h.text,h.x+h.width-m,h.y+m,{align:"right",baseline:"top"}):h.align==="center"?this.text(h.text,h.x+h.width/2,h.y+m,{align:"center",baseline:"top",maxWidth:h.width-m-m}):this.text(h.text,h.x+m,h.y+m,{align:"left",baseline:"top",maxWidth:h.width-m-m})),this.internal.__cell__.lastCell=h,this};t.table=function(h,g,m,v,A){if(i.call(this),!m)throw new Error("No data for PDF table.");var d,C,_,O,S=[],j=[],z=[],Q={},at={},bt=[],tt=[],q=(A=A||{}).autoSize||!1,rt=A.printHeaders!==!1,pt=A.css&&A.css["font-size"]!==void 0?16*A.css["font-size"]:A.fontSize||12,k=A.margins||Object.assign({width:this.getPageWidth()},e),F=typeof A.padding=="number"?A.padding:3,V=A.headerBackgroundColor||"#c8c8c8",B=A.headerTextColor||"#000";if(s.call(this),this.internal.__cell__.printHeaders=rt,this.internal.__cell__.margins=k,this.internal.__cell__.table_font_size=pt,this.internal.__cell__.padding=F,this.internal.__cell__.headerBackgroundColor=V,this.internal.__cell__.headerTextColor=B,this.setFontSize(pt),v==null)j=S=Object.keys(m[0]),z=S.map(function(){return"left"});else if(Array.isArray(v)&&ge(v[0])==="object")for(S=v.map(function(dt){return dt.name}),j=v.map(function(dt){return dt.prompt||dt.name||""}),z=v.map(function(dt){return dt.align||"left"}),d=0;d<v.length;d+=1)at[v[d].name]=v[d].width*(19.049976/25.4);else Array.isArray(v)&&typeof v[0]=="string"&&(j=S=v,z=S.map(function(){return"left"}));if(q||Array.isArray(v)&&typeof v[0]=="string")for(d=0;d<S.length;d+=1){for(Q[O=S[d]]=m.map(function(dt){return dt[O]}),this.setFont(void 0,"bold"),bt.push(this.getTextDimensions(j[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),C=Q[O],this.setFont(void 0,"normal"),_=0;_<C.length;_+=1)bt.push(this.getTextDimensions(C[_],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);at[O]=Math.max.apply(null,bt)+F+F,bt=[]}if(rt){var lt={};for(d=0;d<S.length;d+=1)lt[S[d]]={},lt[S[d]].text=j[d],lt[S[d]].align=z[d];var ot=c.call(this,lt,at);tt=S.map(function(dt){return new a(h,g,at[dt],ot,lt[dt].text,void 0,lt[dt].align)}),this.setTableHeaderRow(tt),this.printHeaderRow(1,!1)}var ft=v.reduce(function(dt,Ot){return dt[Ot.name]=Ot.align,dt},{});for(d=0;d<m.length;d+=1){"rowStart"in A&&A.rowStart instanceof Function&&A.rowStart({row:d,data:m[d]},this);var Z=c.call(this,m[d],at);for(_=0;_<S.length;_+=1){var ct=m[d][S[_]];"cellStart"in A&&A.cellStart instanceof Function&&A.cellStart({row:d,col:_,data:ct},this),l.call(this,new a(h,g,at[S[_]],Z,ct,d+2,ft[S[_]]))}}return this.internal.__cell__.table_x=h,this.internal.__cell__.table_y=g,this};var c=function(h,g){var m=this.internal.__cell__.padding,v=this.internal.__cell__.table_font_size,A=this.internal.scaleFactor;return Object.keys(h).map(function(d){var C=h[d];return this.splitTextToSize(C.hasOwnProperty("text")?C.text:C,g[d]-m-m)},this).map(function(d){return this.getLineHeightFactor()*d.length*v/A+m+m},this).reduce(function(d,C){return Math.max(d,C)},0)};t.setTableHeaderRow=function(h){i.call(this),this.internal.__cell__.tableHeaderRow=h},t.printHeaderRow=function(h,g){if(i.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var m;if(r=!0,typeof this.internal.__cell__.headerFunction=="function"){var v=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(v[0],v[1],v[2],v[3],void 0,-1)}this.setFont(void 0,"bold");for(var A=[],d=0;d<this.internal.__cell__.tableHeaderRow.length;d+=1){m=this.internal.__cell__.tableHeaderRow[d].clone(),g&&(m.y=this.internal.__cell__.margins.top||0,A.push(m)),m.lineNumber=h;var C=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),l.call(this,m),this.setTextColor(C)}A.length>0&&this.setTableHeaderRow(A),this.setFont(void 0,"normal"),r=!1}}(Rt.API);var mu={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},vu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ws=gu(vu),bu=[100,200,300,400,500,600,700,800,900],nf=gu(bu);function Vs(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(a){return mu[a=a||"normal"]?a:"normal"}(t.style),i=function(a){if(!a)return 400;if(typeof a=="number")return a>=100&&a<=900&&a%100==0?a:400;if(/^\d00$/.test(a))return parseInt(a);switch(a){case"bold":return 700;case"normal":default:return 400}}(t.weight),s=function(a){return typeof Ws[a=a||"normal"]=="number"?a:"normal"}(t.stretch);return{family:e,style:r,weight:i,stretch:s,src:t.src||[],ref:t.ref||{name:e,style:[s,r,i].join(" ")}}}function Kl(t,e,r,i){var s;for(s=r;s>=0&&s<e.length;s+=i)if(t[e[s]])return t[e[s]];for(s=r;s>=0&&s<e.length;s-=i)if(t[e[s]])return t[e[s]]}var af={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Zl={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ql(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function of(t,e,r){for(var i=(r=r||{}).defaultFontFamily||"times",s=Object.assign({},af,r.genericFontFamilies||{}),a=null,l=null,c=0;c<e.length;++c)if(s[(a=Vs(e[c])).family]&&(a.family=s[a.family]),t.hasOwnProperty(a.family)){l=t[a.family];break}if(!(l=l||t[i]))throw new Error("Could not find a font-family for the rule '"+Ql(a)+"' and default family '"+i+"'.");if(l=function(h,g){if(g[h])return g[h];var m=Ws[h],v=m<=Ws.normal?-1:1,A=Kl(g,vu,m,v);if(!A)throw new Error("Could not find a matching font-stretch value for "+h);return A}(a.stretch,l),l=function(h,g){if(g[h])return g[h];for(var m=mu[h],v=0;v<m.length;++v)if(g[m[v]])return g[m[v]];throw new Error("Could not find a matching font-style for "+h)}(a.style,l),!(l=function(h,g){if(g[h])return g[h];if(h===400&&g[500])return g[500];if(h===500&&g[400])return g[400];var m=nf[h],v=Kl(g,bu,m,h<400?-1:1);if(!v)throw new Error("Could not find a matching font-weight for value "+h);return v}(a.weight,l)))throw new Error("Failed to resolve a font for the rule '"+Ql(a)+"'.");return l}function tu(t){return t.trimLeft()}function sf(t,e){for(var r=0;r<t.length;){if(t.charAt(r)===e)return[t.substring(0,r),t.substring(r+1)];r+=1}return null}function lf(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return e===null?null:[e[0],t.substring(e[0].length)]}var yo,eu,ru,Bs=["times"];(function(t){var e,r,i,s,a,l,c,h,g,m=function(L){return L=L||{},this.isStrokeTransparent=L.isStrokeTransparent||!1,this.strokeOpacity=L.strokeOpacity||1,this.strokeStyle=L.strokeStyle||"#000000",this.fillStyle=L.fillStyle||"#000000",this.isFillTransparent=L.isFillTransparent||!1,this.fillOpacity=L.fillOpacity||1,this.font=L.font||"10px sans-serif",this.textBaseline=L.textBaseline||"alphabetic",this.textAlign=L.textAlign||"left",this.lineWidth=L.lineWidth||1,this.lineJoin=L.lineJoin||"miter",this.lineCap=L.lineCap||"butt",this.path=L.path||[],this.transform=L.transform!==void 0?L.transform.clone():new h,this.globalCompositeOperation=L.globalCompositeOperation||"normal",this.globalAlpha=L.globalAlpha||1,this.clip_path=L.clip_path||[],this.currentPoint=L.currentPoint||new l,this.miterLimit=L.miterLimit||10,this.lastPoint=L.lastPoint||new l,this.lineDashOffset=L.lineDashOffset||0,this.lineDash=L.lineDash||[],this.margin=L.margin||[0,0,0,0],this.prevPageLastElemOffset=L.prevPageLastElemOffset||0,this.ignoreClearRect=typeof L.ignoreClearRect!="boolean"||L.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new v(this),e=this.internal.f2,r=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,s=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,l=this.internal.Point,c=this.internal.Rectangle,h=this.internal.Matrix,g=new m}]);var v=function(L){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var T=L;Object.defineProperty(this,"pdf",{get:function(){return T}});var E=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return E},set:function(ht){E=!!ht}});var U=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return U},set:function(ht){U=!!ht}});var Y=0;Object.defineProperty(this,"posX",{get:function(){return Y},set:function(ht){isNaN(ht)||(Y=ht)}});var et=0;Object.defineProperty(this,"posY",{get:function(){return et},set:function(ht){isNaN(ht)||(et=ht)}}),Object.defineProperty(this,"margin",{get:function(){return g.margin},set:function(ht){var D;typeof ht=="number"?D=[ht,ht,ht,ht]:((D=new Array(4))[0]=ht[0],D[1]=ht.length>=2?ht[1]:D[0],D[2]=ht.length>=3?ht[2]:D[0],D[3]=ht.length>=4?ht[3]:D[1]),g.margin=D}});var nt=!1;Object.defineProperty(this,"autoPaging",{get:function(){return nt},set:function(ht){nt=ht}});var it=0;Object.defineProperty(this,"lastBreak",{get:function(){return it},set:function(ht){it=ht}});var Lt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Lt},set:function(ht){Lt=ht}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(ht){ht instanceof m&&(g=ht)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(ht){g.path=ht}});var At=[];Object.defineProperty(this,"ctxStack",{get:function(){return At},set:function(ht){At=ht}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ht){var D;D=A(ht),this.ctx.fillStyle=D.style,this.ctx.isFillTransparent=D.a===0,this.ctx.fillOpacity=D.a,this.pdf.setFillColor(D.r,D.g,D.b,{a:D.a}),this.pdf.setTextColor(D.r,D.g,D.b,{a:D.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ht){var D=A(ht);this.ctx.strokeStyle=D.style,this.ctx.isStrokeTransparent=D.a===0,this.ctx.strokeOpacity=D.a,D.a===0?this.pdf.setDrawColor(255,255,255):(D.a,this.pdf.setDrawColor(D.r,D.g,D.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ht){["butt","round","square"].indexOf(ht)!==-1&&(this.ctx.lineCap=ht,this.pdf.setLineCap(ht))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ht){isNaN(ht)||(this.ctx.lineWidth=ht,this.pdf.setLineWidth(ht))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ht){["bevel","round","miter"].indexOf(ht)!==-1&&(this.ctx.lineJoin=ht,this.pdf.setLineJoin(ht))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ht){isNaN(ht)||(this.ctx.miterLimit=ht,this.pdf.setMiterLimit(ht))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ht){this.ctx.textBaseline=ht}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ht){["right","end","center","left","start"].indexOf(ht)!==-1&&(this.ctx.textAlign=ht)}});var Ft=null;function Pt(ht,D){if(Ft===null){var $t=function(Et){var xt=[];return Object.keys(Et).forEach(function(Nt){Et[Nt].forEach(function(It){var kt=null;switch(It){case"bold":kt={family:Nt,weight:"bold"};break;case"italic":kt={family:Nt,style:"italic"};break;case"bolditalic":kt={family:Nt,weight:"bold",style:"italic"};break;case"":case"normal":kt={family:Nt}}kt!==null&&(kt.ref={name:Nt,style:It},xt.push(kt))})}),xt}(ht.getFontList());Ft=function(Et){for(var xt={},Nt=0;Nt<Et.length;++Nt){var It=Vs(Et[Nt]),kt=It.family,Dt=It.stretch,Gt=It.style,Qt=It.weight;xt[kt]=xt[kt]||{},xt[kt][Dt]=xt[kt][Dt]||{},xt[kt][Dt][Gt]=xt[kt][Dt][Gt]||{},xt[kt][Dt][Gt][Qt]=It}return xt}($t.concat(D))}return Ft}var Ut=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ut},set:function(ht){Ft=null,Ut=ht}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(ht){var D;if(this.ctx.font=ht,(D=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(ht))!==null){var $t=D[1];D[2];var Et=D[3],xt=D[4];D[5];var Nt=D[6],It=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(xt)[2];xt=Math.floor(It==="px"?parseFloat(xt)*this.pdf.internal.scaleFactor:It==="em"?parseFloat(xt)*this.pdf.getFontSize():parseFloat(xt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(xt);var kt=function(Wt){var ee,Ct,Ye=[],oe=Wt.trim();if(oe==="")return Bs;if(oe in Zl)return[Zl[oe]];for(;oe!=="";){switch(Ct=null,ee=(oe=tu(oe)).charAt(0)){case'"':case"'":Ct=sf(oe.substring(1),ee);break;default:Ct=lf(oe)}if(Ct===null||(Ye.push(Ct[0]),(oe=tu(Ct[1]))!==""&&oe.charAt(0)!==","))return Bs;oe=oe.replace(/^,/,"")}return Ye}(Nt);if(this.fontFaces){var Dt=of(Pt(this.pdf,this.fontFaces),kt.map(function(Wt){return{family:Wt,stretch:"normal",weight:Et,style:$t}}));this.pdf.setFont(Dt.ref.name,Dt.ref.style)}else{var Gt="";(Et==="bold"||parseInt(Et,10)>=700||$t==="bold")&&(Gt="bold"),$t==="italic"&&(Gt+="italic"),Gt.length===0&&(Gt="normal");for(var Qt="",te={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ie=0;ie<kt.length;ie++){if(this.pdf.internal.getFont(kt[ie],Gt,{noFallback:!0,disableWarning:!0})!==void 0){Qt=kt[ie];break}if(Gt==="bolditalic"&&this.pdf.internal.getFont(kt[ie],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Qt=kt[ie],Gt="bold";else if(this.pdf.internal.getFont(kt[ie],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Qt=kt[ie],Gt="normal";break}}if(Qt===""){for(var pe=0;pe<kt.length;pe++)if(te[kt[pe]]){Qt=te[kt[pe]];break}}Qt=Qt===""?"Times":Qt,this.pdf.setFont(Qt,Gt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(ht){this.ctx.globalCompositeOperation=ht}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(ht){this.ctx.globalAlpha=ht}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(ht){this.ctx.lineDashOffset=ht,Ot.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(ht){this.ctx.lineDash=ht,Ot.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(ht){this.ctx.ignoreClearRect=!!ht}})};v.prototype.setLineDash=function(L){this.lineDash=L},v.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},v.prototype.fill=function(){Q.call(this,"fill",!1)},v.prototype.stroke=function(){Q.call(this,"stroke",!1)},v.prototype.beginPath=function(){this.path=[{type:"begin"}]},v.prototype.moveTo=function(L,T){if(isNaN(L)||isNaN(T))throw be.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var E=this.ctx.transform.applyToPoint(new l(L,T));this.path.push({type:"mt",x:E.x,y:E.y}),this.ctx.lastPoint=new l(L,T)},v.prototype.closePath=function(){var L=new l(0,0),T=0;for(T=this.path.length-1;T!==-1;T--)if(this.path[T].type==="begin"&&ge(this.path[T+1])==="object"&&typeof this.path[T+1].x=="number"){L=new l(this.path[T+1].x,this.path[T+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new l(L.x,L.y)},v.prototype.lineTo=function(L,T){if(isNaN(L)||isNaN(T))throw be.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var E=this.ctx.transform.applyToPoint(new l(L,T));this.path.push({type:"lt",x:E.x,y:E.y}),this.ctx.lastPoint=new l(E.x,E.y)},v.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Q.call(this,null,!0)},v.prototype.quadraticCurveTo=function(L,T,E,U){if(isNaN(E)||isNaN(U)||isNaN(L)||isNaN(T))throw be.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Y=this.ctx.transform.applyToPoint(new l(E,U)),et=this.ctx.transform.applyToPoint(new l(L,T));this.path.push({type:"qct",x1:et.x,y1:et.y,x:Y.x,y:Y.y}),this.ctx.lastPoint=new l(Y.x,Y.y)},v.prototype.bezierCurveTo=function(L,T,E,U,Y,et){if(isNaN(Y)||isNaN(et)||isNaN(L)||isNaN(T)||isNaN(E)||isNaN(U))throw be.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var nt=this.ctx.transform.applyToPoint(new l(Y,et)),it=this.ctx.transform.applyToPoint(new l(L,T)),Lt=this.ctx.transform.applyToPoint(new l(E,U));this.path.push({type:"bct",x1:it.x,y1:it.y,x2:Lt.x,y2:Lt.y,x:nt.x,y:nt.y}),this.ctx.lastPoint=new l(nt.x,nt.y)},v.prototype.arc=function(L,T,E,U,Y,et){if(isNaN(L)||isNaN(T)||isNaN(E)||isNaN(U)||isNaN(Y))throw be.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(et=!!et,!this.ctx.transform.isIdentity){var nt=this.ctx.transform.applyToPoint(new l(L,T));L=nt.x,T=nt.y;var it=this.ctx.transform.applyToPoint(new l(0,E)),Lt=this.ctx.transform.applyToPoint(new l(0,0));E=Math.sqrt(Math.pow(it.x-Lt.x,2)+Math.pow(it.y-Lt.y,2))}Math.abs(Y-U)>=2*Math.PI&&(U=0,Y=2*Math.PI),this.path.push({type:"arc",x:L,y:T,radius:E,startAngle:U,endAngle:Y,counterclockwise:et})},v.prototype.arcTo=function(L,T,E,U,Y){throw new Error("arcTo not implemented.")},v.prototype.rect=function(L,T,E,U){if(isNaN(L)||isNaN(T)||isNaN(E)||isNaN(U))throw be.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(L,T),this.lineTo(L+E,T),this.lineTo(L+E,T+U),this.lineTo(L,T+U),this.lineTo(L,T),this.lineTo(L+E,T),this.lineTo(L,T)},v.prototype.fillRect=function(L,T,E,U){if(isNaN(L)||isNaN(T)||isNaN(E)||isNaN(U))throw be.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var Y={};this.lineCap!=="butt"&&(Y.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Y.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(L,T,E,U),this.fill(),Y.hasOwnProperty("lineCap")&&(this.lineCap=Y.lineCap),Y.hasOwnProperty("lineJoin")&&(this.lineJoin=Y.lineJoin)}},v.prototype.strokeRect=function(L,T,E,U){if(isNaN(L)||isNaN(T)||isNaN(E)||isNaN(U))throw be.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");C.call(this)||(this.beginPath(),this.rect(L,T,E,U),this.stroke())},v.prototype.clearRect=function(L,T,E,U){if(isNaN(L)||isNaN(T)||isNaN(E)||isNaN(U))throw be.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(L,T,E,U))},v.prototype.save=function(L){L=typeof L!="boolean"||L;for(var T=this.pdf.internal.getCurrentPageInfo().pageNumber,E=0;E<this.pdf.internal.getNumberOfPages();E++)this.pdf.setPage(E+1),this.pdf.internal.out("q");if(this.pdf.setPage(T),L){this.ctx.fontSize=this.pdf.internal.getFontSize();var U=new m(this.ctx);this.ctxStack.push(this.ctx),this.ctx=U}},v.prototype.restore=function(L){L=typeof L!="boolean"||L;for(var T=this.pdf.internal.getCurrentPageInfo().pageNumber,E=0;E<this.pdf.internal.getNumberOfPages();E++)this.pdf.setPage(E+1),this.pdf.internal.out("Q");this.pdf.setPage(T),L&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},v.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var A=function(L){var T,E,U,Y;if(L.isCanvasGradient===!0&&(L=L.getColor()),!L)return{r:0,g:0,b:0,a:0,style:L};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(L))T=0,E=0,U=0,Y=0;else{var et=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(L);if(et!==null)T=parseInt(et[1]),E=parseInt(et[2]),U=parseInt(et[3]),Y=1;else if((et=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(L))!==null)T=parseInt(et[1]),E=parseInt(et[2]),U=parseInt(et[3]),Y=parseFloat(et[4]);else{if(Y=1,typeof L=="string"&&L.charAt(0)!=="#"){var nt=new uu(L);L=nt.ok?nt.toHex():"#000000"}L.length===4?(T=L.substring(1,2),T+=T,E=L.substring(2,3),E+=E,U=L.substring(3,4),U+=U):(T=L.substring(1,3),E=L.substring(3,5),U=L.substring(5,7)),T=parseInt(T,16),E=parseInt(E,16),U=parseInt(U,16)}}return{r:T,g:E,b:U,a:Y,style:L}},d=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},C=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};v.prototype.fillText=function(L,T,E,U){if(isNaN(T)||isNaN(E)||typeof L!="string")throw be.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(U=isNaN(U)?void 0:U,!d.call(this)){var Y=Z(this.ctx.transform.rotation),et=this.ctx.transform.scaleX;F.call(this,{text:L,x:T,y:E,scale:et,angle:Y,align:this.textAlign,maxWidth:U})}},v.prototype.strokeText=function(L,T,E,U){if(isNaN(T)||isNaN(E)||typeof L!="string")throw be.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!C.call(this)){U=isNaN(U)?void 0:U;var Y=Z(this.ctx.transform.rotation),et=this.ctx.transform.scaleX;F.call(this,{text:L,x:T,y:E,scale:et,renderingMode:"stroke",angle:Y,align:this.textAlign,maxWidth:U})}},v.prototype.measureText=function(L){if(typeof L!="string")throw be.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var T=this.pdf,E=this.pdf.internal.scaleFactor,U=T.internal.getFontSize(),Y=T.getStringUnitWidth(L)*U/T.internal.scaleFactor,et=function(nt){var it=(nt=nt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return it}}),this};return new et({width:Y*=Math.round(96*E/72*1e4)/1e4})},v.prototype.scale=function(L,T){if(isNaN(L)||isNaN(T))throw be.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var E=new h(L,0,0,T,0,0);this.ctx.transform=this.ctx.transform.multiply(E)},v.prototype.rotate=function(L){if(isNaN(L))throw be.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var T=new h(Math.cos(L),Math.sin(L),-Math.sin(L),Math.cos(L),0,0);this.ctx.transform=this.ctx.transform.multiply(T)},v.prototype.translate=function(L,T){if(isNaN(L)||isNaN(T))throw be.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var E=new h(1,0,0,1,L,T);this.ctx.transform=this.ctx.transform.multiply(E)},v.prototype.transform=function(L,T,E,U,Y,et){if(isNaN(L)||isNaN(T)||isNaN(E)||isNaN(U)||isNaN(Y)||isNaN(et))throw be.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var nt=new h(L,T,E,U,Y,et);this.ctx.transform=this.ctx.transform.multiply(nt)},v.prototype.setTransform=function(L,T,E,U,Y,et){L=isNaN(L)?1:L,T=isNaN(T)?0:T,E=isNaN(E)?0:E,U=isNaN(U)?1:U,Y=isNaN(Y)?0:Y,et=isNaN(et)?0:et,this.ctx.transform=new h(L,T,E,U,Y,et)};var _=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};v.prototype.drawImage=function(L,T,E,U,Y,et,nt,it,Lt){var At=this.pdf.getImageProperties(L),Ft=1,Pt=1,Ut=1,ht=1;U!==void 0&&it!==void 0&&(Ut=it/U,ht=Lt/Y,Ft=At.width/U*it/U,Pt=At.height/Y*Lt/Y),et===void 0&&(et=T,nt=E,T=0,E=0),U!==void 0&&it===void 0&&(it=U,Lt=Y),U===void 0&&it===void 0&&(it=At.width,Lt=At.height);for(var D,$t=this.ctx.transform.decompose(),Et=Z($t.rotate.shx),xt=new h,Nt=(xt=(xt=(xt=xt.multiply($t.translate)).multiply($t.skew)).multiply($t.scale)).applyToRectangle(new c(et-T*Ut,nt-E*ht,U*Ft,Y*Pt)),It=O.call(this,Nt),kt=[],Dt=0;Dt<It.length;Dt+=1)kt.indexOf(It[Dt])===-1&&kt.push(It[Dt]);if(z(kt),this.autoPaging)for(var Gt=kt[0],Qt=kt[kt.length-1],te=Gt;te<Qt+1;te++){this.pdf.setPage(te);var ie=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],pe=te===1?this.posY+this.margin[0]:this.margin[0],Wt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ee=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ct=te===1?0:Wt+(te-2)*ee;if(this.ctx.clip_path.length!==0){var Ye=this.path;D=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=j(D,this.posX+this.margin[3],-Ct+pe+this.ctx.prevPageLastElemOffset),at.call(this,"fill",!0),this.path=Ye}var oe=JSON.parse(JSON.stringify(Nt));oe=j([oe],this.posX+this.margin[3],-Ct+pe+this.ctx.prevPageLastElemOffset)[0];var _r=(te>Gt||te<Qt)&&_.call(this);_r&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ie,ee,null).clip().discardPath()),this.pdf.addImage(L,"JPEG",oe.x,oe.y,oe.w,oe.h,null,null,Et),_r&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(L,"JPEG",Nt.x,Nt.y,Nt.w,Nt.h,null,null,Et)};var O=function(L,T,E){var U=[];T=T||this.pdf.internal.pageSize.width,E=E||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Y=this.posY+this.ctx.prevPageLastElemOffset;switch(L.type){default:case"mt":case"lt":U.push(Math.floor((L.y+Y)/E)+1);break;case"arc":U.push(Math.floor((L.y+Y-L.radius)/E)+1),U.push(Math.floor((L.y+Y+L.radius)/E)+1);break;case"qct":var et=ct(this.ctx.lastPoint.x,this.ctx.lastPoint.y,L.x1,L.y1,L.x,L.y);U.push(Math.floor((et.y+Y)/E)+1),U.push(Math.floor((et.y+et.h+Y)/E)+1);break;case"bct":var nt=dt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,L.x1,L.y1,L.x2,L.y2,L.x,L.y);U.push(Math.floor((nt.y+Y)/E)+1),U.push(Math.floor((nt.y+nt.h+Y)/E)+1);break;case"rect":U.push(Math.floor((L.y+Y)/E)+1),U.push(Math.floor((L.y+L.h+Y)/E)+1)}for(var it=0;it<U.length;it+=1)for(;this.pdf.internal.getNumberOfPages()<U[it];)S.call(this);return U},S=function(){var L=this.fillStyle,T=this.strokeStyle,E=this.font,U=this.lineCap,Y=this.lineWidth,et=this.lineJoin;this.pdf.addPage(),this.fillStyle=L,this.strokeStyle=T,this.font=E,this.lineCap=U,this.lineWidth=Y,this.lineJoin=et},j=function(L,T,E){for(var U=0;U<L.length;U++)switch(L[U].type){case"bct":L[U].x2+=T,L[U].y2+=E;case"qct":L[U].x1+=T,L[U].y1+=E;case"mt":case"lt":case"arc":default:L[U].x+=T,L[U].y+=E}return L},z=function(L){return L.sort(function(T,E){return T-E})},Q=function(L,T){for(var E,U,Y=this.fillStyle,et=this.strokeStyle,nt=this.lineCap,it=this.lineWidth,Lt=Math.abs(it*this.ctx.transform.scaleX),At=this.lineJoin,Ft=JSON.parse(JSON.stringify(this.path)),Pt=JSON.parse(JSON.stringify(this.path)),Ut=[],ht=0;ht<Pt.length;ht++)if(Pt[ht].x!==void 0)for(var D=O.call(this,Pt[ht]),$t=0;$t<D.length;$t+=1)Ut.indexOf(D[$t])===-1&&Ut.push(D[$t]);for(var Et=0;Et<Ut.length;Et++)for(;this.pdf.internal.getNumberOfPages()<Ut[Et];)S.call(this);if(z(Ut),this.autoPaging)for(var xt=Ut[0],Nt=Ut[Ut.length-1],It=xt;It<Nt+1;It++){this.pdf.setPage(It),this.fillStyle=Y,this.strokeStyle=et,this.lineCap=nt,this.lineWidth=Lt,this.lineJoin=At;var kt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Dt=It===1?this.posY+this.margin[0]:this.margin[0],Gt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Qt=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],te=It===1?0:Gt+(It-2)*Qt;if(this.ctx.clip_path.length!==0){var ie=this.path;E=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=j(E,this.posX+this.margin[3],-te+Dt+this.ctx.prevPageLastElemOffset),at.call(this,L,!0),this.path=ie}if(U=JSON.parse(JSON.stringify(Ft)),this.path=j(U,this.posX+this.margin[3],-te+Dt+this.ctx.prevPageLastElemOffset),T===!1||It===0){var pe=(It>xt||It<Nt)&&_.call(this);pe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],kt,Qt,null).clip().discardPath()),at.call(this,L,T),pe&&this.pdf.restoreGraphicsState()}this.lineWidth=it}else this.lineWidth=Lt,at.call(this,L,T),this.lineWidth=it;this.path=Ft},at=function(L,T){if((L!=="stroke"||T||!C.call(this))&&(L==="stroke"||T||!d.call(this))){for(var E,U,Y=[],et=this.path,nt=0;nt<et.length;nt++){var it=et[nt];switch(it.type){case"begin":Y.push({begin:!0});break;case"close":Y.push({close:!0});break;case"mt":Y.push({start:it,deltas:[],abs:[]});break;case"lt":var Lt=Y.length;if(et[nt-1]&&!isNaN(et[nt-1].x)&&(E=[it.x-et[nt-1].x,it.y-et[nt-1].y],Lt>0)){for(;Lt>=0;Lt--)if(Y[Lt-1].close!==!0&&Y[Lt-1].begin!==!0){Y[Lt-1].deltas.push(E),Y[Lt-1].abs.push(it);break}}break;case"bct":E=[it.x1-et[nt-1].x,it.y1-et[nt-1].y,it.x2-et[nt-1].x,it.y2-et[nt-1].y,it.x-et[nt-1].x,it.y-et[nt-1].y],Y[Y.length-1].deltas.push(E);break;case"qct":var At=et[nt-1].x+2/3*(it.x1-et[nt-1].x),Ft=et[nt-1].y+2/3*(it.y1-et[nt-1].y),Pt=it.x+2/3*(it.x1-it.x),Ut=it.y+2/3*(it.y1-it.y),ht=it.x,D=it.y;E=[At-et[nt-1].x,Ft-et[nt-1].y,Pt-et[nt-1].x,Ut-et[nt-1].y,ht-et[nt-1].x,D-et[nt-1].y],Y[Y.length-1].deltas.push(E);break;case"arc":Y.push({deltas:[],abs:[],arc:!0}),Array.isArray(Y[Y.length-1].abs)&&Y[Y.length-1].abs.push(it)}}U=T?null:L==="stroke"?"stroke":"fill";for(var $t=!1,Et=0;Et<Y.length;Et++)if(Y[Et].arc)for(var xt=Y[Et].abs,Nt=0;Nt<xt.length;Nt++){var It=xt[Nt];It.type==="arc"?q.call(this,It.x,It.y,It.radius,It.startAngle,It.endAngle,It.counterclockwise,void 0,T,!$t):V.call(this,It.x,It.y),$t=!0}else if(Y[Et].close===!0)this.pdf.internal.out("h"),$t=!1;else if(Y[Et].begin!==!0){var kt=Y[Et].start.x,Dt=Y[Et].start.y;B.call(this,Y[Et].deltas,kt,Dt),$t=!0}U&&rt.call(this,U),T&&pt.call(this)}},bt=function(L){var T=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,E=T*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return L-E;case"top":return L+T-E;case"hanging":return L+T-2*E;case"middle":return L+T/2-E;case"ideographic":return L;case"alphabetic":default:return L}},tt=function(L){return L+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};v.prototype.createLinearGradient=function(){var L=function(){};return L.colorStops=[],L.addColorStop=function(T,E){this.colorStops.push([T,E])},L.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},L.isCanvasGradient=!0,L},v.prototype.createPattern=function(){return this.createLinearGradient()},v.prototype.createRadialGradient=function(){return this.createLinearGradient()};var q=function(L,T,E,U,Y,et,nt,it,Lt){for(var At=ot.call(this,E,U,Y,et),Ft=0;Ft<At.length;Ft++){var Pt=At[Ft];Ft===0&&(Lt?k.call(this,Pt.x1+L,Pt.y1+T):V.call(this,Pt.x1+L,Pt.y1+T)),lt.call(this,L,T,Pt.x2,Pt.y2,Pt.x3,Pt.y3,Pt.x4,Pt.y4)}it?pt.call(this):rt.call(this,nt)},rt=function(L){switch(L){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},pt=function(){this.pdf.clip(),this.pdf.discardPath()},k=function(L,T){this.pdf.internal.out(r(L)+" "+i(T)+" m")},F=function(L){var T;switch(L.align){case"right":case"end":T="right";break;case"center":T="center";break;case"left":case"start":default:T="left"}var E=this.pdf.getTextDimensions(L.text),U=bt.call(this,L.y),Y=tt.call(this,U)-E.h,et=this.ctx.transform.applyToPoint(new l(L.x,U)),nt=this.ctx.transform.decompose(),it=new h;it=(it=(it=it.multiply(nt.translate)).multiply(nt.skew)).multiply(nt.scale);for(var Lt,At,Ft,Pt=this.ctx.transform.applyToRectangle(new c(L.x,U,E.w,E.h)),Ut=it.applyToRectangle(new c(L.x,Y,E.w,E.h)),ht=O.call(this,Ut),D=[],$t=0;$t<ht.length;$t+=1)D.indexOf(ht[$t])===-1&&D.push(ht[$t]);if(z(D),this.autoPaging)for(var Et=D[0],xt=D[D.length-1],Nt=Et;Nt<xt+1;Nt++){this.pdf.setPage(Nt);var It=Nt===1?this.posY+this.margin[0]:this.margin[0],kt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Dt=this.pdf.internal.pageSize.height-this.margin[2],Gt=Dt-this.margin[0],Qt=this.pdf.internal.pageSize.width-this.margin[1],te=Qt-this.margin[3],ie=Nt===1?0:kt+(Nt-2)*Gt;if(this.ctx.clip_path.length!==0){var pe=this.path;Lt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=j(Lt,this.posX+this.margin[3],-1*ie+It),at.call(this,"fill",!0),this.path=pe}var Wt=j([JSON.parse(JSON.stringify(Ut))],this.posX+this.margin[3],-ie+It+this.ctx.prevPageLastElemOffset)[0];L.scale>=.01&&(At=this.pdf.internal.getFontSize(),this.pdf.setFontSize(At*L.scale),Ft=this.lineWidth,this.lineWidth=Ft*L.scale);var ee=this.autoPaging!=="text";if(ee||Wt.y+Wt.h<=Dt){if(ee||Wt.y>=It&&Wt.x<=Qt){var Ct=ee?L.text:this.pdf.splitTextToSize(L.text,L.maxWidth||Qt-Wt.x)[0],Ye=j([JSON.parse(JSON.stringify(Pt))],this.posX+this.margin[3],-ie+It+this.ctx.prevPageLastElemOffset)[0],oe=ee&&(Nt>Et||Nt<xt)&&_.call(this);oe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],te,Gt,null).clip().discardPath()),this.pdf.text(Ct,Ye.x,Ye.y,{angle:L.angle,align:T,renderingMode:L.renderingMode}),oe&&this.pdf.restoreGraphicsState()}}else Wt.y<Dt&&(this.ctx.prevPageLastElemOffset+=Dt-Wt.y);L.scale>=.01&&(this.pdf.setFontSize(At),this.lineWidth=Ft)}else L.scale>=.01&&(At=this.pdf.internal.getFontSize(),this.pdf.setFontSize(At*L.scale),Ft=this.lineWidth,this.lineWidth=Ft*L.scale),this.pdf.text(L.text,et.x+this.posX,et.y+this.posY,{angle:L.angle,align:T,renderingMode:L.renderingMode,maxWidth:L.maxWidth}),L.scale>=.01&&(this.pdf.setFontSize(At),this.lineWidth=Ft)},V=function(L,T,E,U){E=E||0,U=U||0,this.pdf.internal.out(r(L+E)+" "+i(T+U)+" l")},B=function(L,T,E){return this.pdf.lines(L,T,E,null,null)},lt=function(L,T,E,U,Y,et,nt,it){this.pdf.internal.out([e(s(E+L)),e(a(U+T)),e(s(Y+L)),e(a(et+T)),e(s(nt+L)),e(a(it+T)),"c"].join(" "))},ot=function(L,T,E,U){for(var Y=2*Math.PI,et=Math.PI/2;T>E;)T-=Y;var nt=Math.abs(E-T);nt<Y&&U&&(nt=Y-nt);for(var it=[],Lt=U?-1:1,At=T;nt>1e-5;){var Ft=At+Lt*Math.min(nt,et);it.push(ft.call(this,L,At,Ft)),nt-=Math.abs(Ft-At),At=Ft}return it},ft=function(L,T,E){var U=(E-T)/2,Y=L*Math.cos(U),et=L*Math.sin(U),nt=Y,it=-et,Lt=nt*nt+it*it,At=Lt+nt*Y+it*et,Ft=4/3*(Math.sqrt(2*Lt*At)-At)/(nt*et-it*Y),Pt=nt-Ft*it,Ut=it+Ft*nt,ht=Pt,D=-Ut,$t=U+T,Et=Math.cos($t),xt=Math.sin($t);return{x1:L*Math.cos(T),y1:L*Math.sin(T),x2:Pt*Et-Ut*xt,y2:Pt*xt+Ut*Et,x3:ht*Et-D*xt,y3:ht*xt+D*Et,x4:L*Math.cos(E),y4:L*Math.sin(E)}},Z=function(L){return 180*L/Math.PI},ct=function(L,T,E,U,Y,et){var nt=L+.5*(E-L),it=T+.5*(U-T),Lt=Y+.5*(E-Y),At=et+.5*(U-et),Ft=Math.min(L,Y,nt,Lt),Pt=Math.max(L,Y,nt,Lt),Ut=Math.min(T,et,it,At),ht=Math.max(T,et,it,At);return new c(Ft,Ut,Pt-Ft,ht-Ut)},dt=function(L,T,E,U,Y,et,nt,it){var Lt,At,Ft,Pt,Ut,ht,D,$t,Et,xt,Nt,It,kt,Dt,Gt=E-L,Qt=U-T,te=Y-E,ie=et-U,pe=nt-Y,Wt=it-et;for(At=0;At<41;At++)Et=(D=(Ft=L+(Lt=At/40)*Gt)+Lt*((Ut=E+Lt*te)-Ft))+Lt*(Ut+Lt*(Y+Lt*pe-Ut)-D),xt=($t=(Pt=T+Lt*Qt)+Lt*((ht=U+Lt*ie)-Pt))+Lt*(ht+Lt*(et+Lt*Wt-ht)-$t),At==0?(Nt=Et,It=xt,kt=Et,Dt=xt):(Nt=Math.min(Nt,Et),It=Math.min(It,xt),kt=Math.max(kt,Et),Dt=Math.max(Dt,xt));return new c(Math.round(Nt),Math.round(It),Math.round(kt-Nt),Math.round(Dt-It))},Ot=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var L,T,E=(L=this.ctx.lineDash,T=this.ctx.lineDashOffset,JSON.stringify({lineDash:L,lineDashOffset:T}));this.prevLineDash!==E&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=E)}}})(Rt.API),function(t){var e=function(a){var l,c,h,g,m,v,A,d,C,_;for(/[^\x00-\xFF]/.test(a),c=[],h=0,g=(a+=l="\0\0\0\0".slice(a.length%4||4)).length;g>h;h+=4)(m=(a.charCodeAt(h)<<24)+(a.charCodeAt(h+1)<<16)+(a.charCodeAt(h+2)<<8)+a.charCodeAt(h+3))!==0?(v=(m=((m=((m=((m=(m-(_=m%85))/85)-(C=m%85))/85)-(d=m%85))/85)-(A=m%85))/85)%85,c.push(v+33,A+33,d+33,C+33,_+33)):c.push(122);return function(O,S){for(var j=S;j>0;j--)O.pop()}(c,l.length),String.fromCharCode.apply(String,c)+"~>"},r=function(a){var l,c,h,g,m,v=String,A="length",d=255,C="charCodeAt",_="slice",O="replace";for(a[_](-2),a=a[_](0,-2)[O](/\s/g,"")[O]("z","!!!!!"),h=[],g=0,m=(a+=l="uuuuu"[_](a[A]%5||5))[A];m>g;g+=5)c=52200625*(a[C](g)-33)+614125*(a[C](g+1)-33)+7225*(a[C](g+2)-33)+85*(a[C](g+3)-33)+(a[C](g+4)-33),h.push(d&c>>24,d&c>>16,d&c>>8,d&c);return function(S,j){for(var z=j;z>0;z--)S.pop()}(h,l[A]),v.fromCharCode.apply(v,h)},i=function(a){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((a=a.replace(/\s/g,"")).indexOf(">")!==-1&&(a=a.substr(0,a.indexOf(">"))),a.length%2&&(a+="0"),l.test(a)===!1)return"";for(var c="",h=0;h<a.length;h+=2)c+=String.fromCharCode("0x"+(a[h]+a[h+1]));return c},s=function(a){for(var l=new Uint8Array(a.length),c=a.length;c--;)l[c]=a.charCodeAt(c);return a=(l=mo(l)).reduce(function(h,g){return h+String.fromCharCode(g)},"")};t.processDataByFilters=function(a,l){var c=0,h=a||"",g=[];for(typeof(l=l||[])=="string"&&(l=[l]),c=0;c<l.length;c+=1)switch(l[c]){case"ASCII85Decode":case"/ASCII85Decode":h=r(h),g.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":h=e(h),g.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":h=i(h),g.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":h=h.split("").map(function(m){return("0"+m.charCodeAt().toString(16)).slice(-2)}).join("")+">",g.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":h=s(h),g.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[c]+'" is not implemented')}return{data:h,reverseChain:g.reverse().join(" ")}}}(Rt.API),function(t){t.loadFile=function(e,r,i){return function(s,a,l){a=a!==!1,l=typeof l=="function"?l:function(){};var c=void 0;try{c=function(h,g,m){var v=new XMLHttpRequest,A=0,d=function(C){var _=C.length,O=[],S=String.fromCharCode;for(A=0;A<_;A+=1)O.push(S(255&C.charCodeAt(A)));return O.join("")};if(v.open("GET",h,!g),v.overrideMimeType("text/plain; charset=x-user-defined"),g===!1&&(v.onload=function(){v.status===200?m(d(this.responseText)):m(void 0)}),v.send(null),g&&v.status===200)return d(v.responseText)}(s,a,l)}catch{}return c}(e,r,i)},t.loadImageFile=t.loadFile}(Rt.API),function(t){function e(){return(Ht.html2canvas?Promise.resolve(Ht.html2canvas):import("./V7EXZGYT.js")).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function r(){return(Ht.DOMPurify?Promise.resolve(Ht.DOMPurify):import("./HGBBLNRJ.js")).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var i=function(l){var c=ge(l);return c==="undefined"?"undefined":c==="string"||l instanceof String?"string":c==="number"||l instanceof Number?"number":c==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":c==="object"?"object":"unknown"},s=function(l,c){var h=document.createElement(l);for(var g in c.className&&(h.className=c.className),c.innerHTML&&c.dompurify&&(h.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)h.style[g]=c.style[g];return h},a=function l(c){var h=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),g=l.convert(Promise.resolve(),h);return g=(g=g.setProgress(1,l,1,[l])).set(c)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(l,c){return l.__proto__=c||a.prototype,l},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(l,c){return this.then(function(){switch(c=c||function(h){switch(i(h)){case"string":return"string";case"element":return h.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(l)){case"string":return this.then(r).then(function(h){return this.set({src:s("div",{innerHTML:l,dompurify:h})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},a.prototype.to=function(l){switch(l){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var l={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},c=function h(g,m){for(var v=g.nodeType===3?document.createTextNode(g.nodeValue):g.cloneNode(!1),A=g.firstChild;A;A=A.nextSibling)m!==!0&&A.nodeType===1&&A.nodeName==="SCRIPT"||v.appendChild(h(A,m));return g.nodeType===1&&(g.nodeName==="CANVAS"?(v.width=g.width,v.height=g.height,v.getContext("2d").drawImage(g,0,0)):g.nodeName!=="TEXTAREA"&&g.nodeName!=="SELECT"||(v.value=g.value),v.addEventListener("load",function(){v.scrollTop=g.scrollTop,v.scrollLeft=g.scrollLeft},!0)),v}(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(l.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(s("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},a.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(e).then(function(c){var h=Object.assign({},this.opt.html2canvas);return delete h.onrendered,c(this.prop.container,h)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},a.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(e).then(function(c){var h=this.opt.jsPDF,g=this.opt.fontFaces,m=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,v=Object.assign({async:!0,allowTaint:!0,scale:m,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete v.onrendered,h.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,h.context2d.posX=this.opt.x,h.context2d.posY=this.opt.y,h.context2d.margin=this.opt.margin,h.context2d.fontFaces=g,g)for(var A=0;A<g.length;++A){var d=g[A],C=d.src.find(function(_){return _.format==="truetype"});C&&h.addFont(C.url,d.ref.name,d.ref.style)}return v.windowHeight=v.windowHeight||0,v.windowHeight=v.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):v.windowHeight,h.context2d.save(!0),c(this.prop.container,v)}).then(function(c){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},a.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},a.prototype.output=function(l,c,h){return(h=h||"pdf").toLowerCase()==="img"||h.toLowerCase()==="image"?this.outputImg(l,c):this.outputPdf(l,c)},a.prototype.outputPdf=function(l,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,c)})},a.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+l+'" is not supported.'}})},a.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},a.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},a.prototype.set=function(l){if(i(l)!=="object")return this;var c=Object.keys(l||{}).map(function(h){if(h in a.template.prop)return function(){this.prop[h]=l[h]};switch(h){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[h]=l[h]}}},this);return this.then(function(){return this.thenList(c)})},a.prototype.get=function(l,c){return this.then(function(){var h=l in a.template.prop?this.prop[l]:this.opt[l];return c?c(h):h})},a.prototype.setMargin=function(l){return this.then(function(){switch(i(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},a.prototype.setPageSize=function(l){function c(h,g){return Math.floor(h*g/72*96)}return this.then(function(){(l=l||Rt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:c(l.inner.width,l.k),height:c(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},a.prototype.setProgress=function(l,c,h,g){return l!=null&&(this.progress.val=l),c!=null&&(this.progress.state=c),h!=null&&(this.progress.n=h),g!=null&&(this.progress.stack=g),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(l,c,h,g){return this.setProgress(l?this.progress.val+l:null,c||null,h?this.progress.n+h:null,g?this.progress.stack.concat(g):null)},a.prototype.then=function(l,c){var h=this;return this.thenCore(l,c,function(g,m){return h.updateProgress(null,null,1,[g]),Promise.prototype.then.call(this,function(v){return h.updateProgress(null,g),v}).then(g,m).then(function(v){return h.updateProgress(1),v})})},a.prototype.thenCore=function(l,c,h){h=h||Promise.prototype.then,l&&(l=l.bind(this)),c&&(c=c.bind(this));var g=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:a.convert(Object.assign({},this),Promise.prototype),m=h.call(g,l,c);return a.convert(m,this.__proto__)},a.prototype.thenExternal=function(l,c){return Promise.prototype.then.call(this,l,c)},a.prototype.thenList=function(l){var c=this;return l.forEach(function(h){c=c.thenCore(h)}),c},a.prototype.catch=function(l){l&&(l=l.bind(this));var c=Promise.prototype.catch.call(this,l);return a.convert(c,this)},a.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},a.prototype.error=function(l){return this.then(function(){throw new Error(l)})},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,Rt.getPageSize=function(l,c,h){if(ge(l)==="object"){var g=l;l=g.orientation,c=g.unit||c,h=g.format||h}c=c||"mm",h=h||"a4",l=(""+(l||"P")).toLowerCase();var m,v=(""+h).toLowerCase(),A={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(c){case"pt":m=1;break;case"mm":m=72/25.4;break;case"cm":m=72/2.54;break;case"in":m=72;break;case"px":m=.75;break;case"pc":case"em":m=12;break;case"ex":m=6;break;default:throw"Invalid unit: "+c}var d,C=0,_=0;if(A.hasOwnProperty(v))C=A[v][1]/m,_=A[v][0]/m;else try{C=h[1],_=h[0]}catch{throw new Error("Invalid format: "+h)}if(l==="p"||l==="portrait")l="p",_>C&&(d=_,_=C,C=d);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",C>_&&(d=_,_=C,C=d)}return{width:_,height:C,unit:c,k:m,orientation:l}},t.html=function(l,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(Vs):null;var h=new a(c);return c.worker?h:h.from(l).doCallback()}}(Rt.API),Rt.API.addJS=function(t){return ru=t,this.internal.events.subscribe("postPutResources",function(){yo=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(yo+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),eu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+ru+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){yo!==void 0&&eu!==void 0&&this.internal.out("/Names <</JavaScript "+yo+" 0 R>>")}),this},function(t){var e;t.events.push(["postPutResources",function(){var r=this,i=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var s=r.outline.render().split(/\r\n/),a=0;a<s.length;a++){var l=s[a],c=i.exec(l);if(c!=null){var h=c[1];r.internal.newObjectDeferredBegin(h,!1)}r.internal.write(l)}if(this.outline.createNamedDestinations){var g=this.internal.pages.length,m=[];for(a=0;a<g;a++){var v=r.internal.newObject();m.push(v);var A=r.internal.getPageInfo(a+1);r.internal.write("<< /D["+A.objId+" 0 R /XYZ null null null]>> endobj")}var d=r.internal.newObject();for(r.internal.write("<< /Names [ "),a=0;a<m.length;a++)r.internal.write("(page_"+(a+1)+")"+m[a]+" 0 R");r.internal.write(" ] >>","endobj"),e=r.internal.newObject(),r.internal.write("<< /Dests "+d+" 0 R"),r.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var r=this;r.outline={createNamedDestinations:!1,root:{children:[]}},r.outline.add=function(i,s,a){var l={title:s,options:a,children:[]};return i==null&&(i=this.root),i.children.push(l),l},r.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=r,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},r.outline.genIds_r=function(i){i.id=r.internal.newObjectDeferred();for(var s=0;s<i.children.length;s++)this.genIds_r(i.children[s])},r.outline.renderRoot=function(i){this.objStart(i),this.line("/Type /Outlines"),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1]))),this.line("/Count "+this.count_r({count:0},i)),this.objEnd()},r.outline.renderItems=function(i){for(var s=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<i.children.length;a++){var l=i.children[a];this.objStart(l),this.line("/Title "+this.makeString(l.title)),this.line("/Parent "+this.makeRef(i)),a>0&&this.line("/Prev "+this.makeRef(i.children[a-1])),a<i.children.length-1&&this.line("/Next "+this.makeRef(i.children[a+1])),l.children.length>0&&(this.line("/First "+this.makeRef(l.children[0])),this.line("/Last "+this.makeRef(l.children[l.children.length-1])));var c=this.count=this.count_r({count:0},l);if(c>0&&this.line("/Count "+c),l.options&&l.options.pageNumber){var h=r.internal.getPageInfo(l.options.pageNumber);this.line("/Dest ["+h.objId+" 0 R /XYZ 0 "+s(0)+" 0]")}this.objEnd()}for(var g=0;g<i.children.length;g++)this.renderItems(i.children[g])},r.outline.line=function(i){this.ctx.val+=i+`\r
44
- `},r.outline.makeRef=function(i){return i.id+" 0 R"},r.outline.makeString=function(i){return"("+r.internal.pdfEscape(i)+")"},r.outline.objStart=function(i){this.ctx.val+=`\r
45
- `+i.id+` 0 obj\r
46
- <<\r
47
- `},r.outline.objEnd=function(){this.ctx.val+=`>> \r
48
- endobj\r
49
- `},r.outline.count_r=function(i,s){for(var a=0;a<s.children.length;a++)i.count++,this.count_r(i,s.children[a]);return i.count}}])}(Rt.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(r,i,s,a,l,c){var h,g=this.decode.DCT_DECODE,m=null;if(typeof r=="string"||this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r)){switch(r=l||r,r=this.__addimage__.isArrayBuffer(r)?new Uint8Array(r):r,(h=function(v){for(var A,d=256*v.charCodeAt(4)+v.charCodeAt(5),C=v.length,_={width:0,height:0,numcomponents:1},O=4;O<C;O+=2){if(O+=d,e.indexOf(v.charCodeAt(O+1))!==-1){A=256*v.charCodeAt(O+5)+v.charCodeAt(O+6),_={width:256*v.charCodeAt(O+7)+v.charCodeAt(O+8),height:A,numcomponents:v.charCodeAt(O+9)};break}d=256*v.charCodeAt(O+2)+v.charCodeAt(O+3)}return _}(r=this.__addimage__.isArrayBufferView(r)?this.__addimage__.arrayBufferToBinaryString(r):r)).numcomponents){case 1:c=this.color_spaces.DEVICE_GRAY;break;case 4:c=this.color_spaces.DEVICE_CMYK;break;case 3:c=this.color_spaces.DEVICE_RGB}m={data:r,width:h.width,height:h.height,colorSpace:c,bitsPerComponent:8,filter:g,index:i,alias:s}}return m}}(Rt.API);var Ci,wo,nu,iu,au,uf=function(){var t,e,r;function i(a){var l,c,h,g,m,v,A,d,C,_,O,S,j,z;for(this.data=a,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},v=null;;){switch(l=this.readUInt32(),C=function(){var Q,at;for(at=[],Q=0;Q<4;++Q)at.push(String.fromCharCode(this.data[this.pos++]));return at}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(l);break;case"fcTL":v&&this.animation.frames.push(v),this.pos+=4,v={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},m=this.readUInt16(),g=this.readUInt16()||100,v.delay=1e3*m/g,v.disposeOp=this.data[this.pos++],v.blendOp=this.data[this.pos++],v.data=[];break;case"IDAT":case"fdAT":for(C==="fdAT"&&(this.pos+=4,l-=4),a=v?.data||this.imgData,S=0;0<=l?S<l:S>l;0<=l?++S:--S)a.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(h=this.palette.length/3,this.transparency.indexed=this.read(l),this.transparency.indexed.length>h)throw new Error("More transparent colors than palette size");if((_=h-this.transparency.indexed.length)>0)for(j=0;0<=_?j<_:j>_;0<=_?++j:--j)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(l)[0];break;case 2:this.transparency.rgb=this.read(l)}break;case"tEXt":A=(O=this.read(l)).indexOf(0),d=String.fromCharCode.apply(String,O.slice(0,A)),this.text[d]=String.fromCharCode.apply(String,O.slice(A+1));break;case"IEND":return v&&this.animation.frames.push(v),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(z=this.colorType)===4||z===6,c=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*c,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=l}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}i.prototype.read=function(a){var l,c;for(c=[],l=0;0<=a?l<a:l>a;0<=a?++l:--l)c.push(this.data[this.pos++]);return c},i.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.decodePixels=function(a){var l=this.pixelBitlength/8,c=new Uint8Array(this.width*this.height*l),h=0,g=this;if(a==null&&(a=this.imgData),a.length===0)return new Uint8Array(0);function m(v,A,d,C){var _,O,S,j,z,Q,at,bt,tt,q,rt,pt,k,F,V,B,lt,ot,ft,Z,ct,dt=Math.ceil((g.width-v)/d),Ot=Math.ceil((g.height-A)/C),L=g.width==dt&&g.height==Ot;for(F=l*dt,pt=L?c:new Uint8Array(F*Ot),Q=a.length,k=0,O=0;k<Ot&&h<Q;){switch(a[h++]){case 0:for(j=lt=0;lt<F;j=lt+=1)pt[O++]=a[h++];break;case 1:for(j=ot=0;ot<F;j=ot+=1)_=a[h++],z=j<l?0:pt[O-l],pt[O++]=(_+z)%256;break;case 2:for(j=ft=0;ft<F;j=ft+=1)_=a[h++],S=(j-j%l)/l,V=k&&pt[(k-1)*F+S*l+j%l],pt[O++]=(V+_)%256;break;case 3:for(j=Z=0;Z<F;j=Z+=1)_=a[h++],S=(j-j%l)/l,z=j<l?0:pt[O-l],V=k&&pt[(k-1)*F+S*l+j%l],pt[O++]=(_+Math.floor((z+V)/2))%256;break;case 4:for(j=ct=0;ct<F;j=ct+=1)_=a[h++],S=(j-j%l)/l,z=j<l?0:pt[O-l],k===0?V=B=0:(V=pt[(k-1)*F+S*l+j%l],B=S&&pt[(k-1)*F+(S-1)*l+j%l]),at=z+V-B,bt=Math.abs(at-z),q=Math.abs(at-V),rt=Math.abs(at-B),tt=bt<=q&&bt<=rt?z:q<=rt?V:B,pt[O++]=(_+tt)%256;break;default:throw new Error("Invalid filter algorithm: "+a[h-1])}if(!L){var T=((A+k*C)*g.width+v)*l,E=k*F;for(j=0;j<dt;j+=1){for(var U=0;U<l;U+=1)c[T++]=pt[E++];T+=(d-1)*l}}k++}}return a=Vl(a),g.interlaceMethod==1?(m(0,0,8,8),m(4,0,8,8),m(0,4,4,8),m(2,0,4,4),m(0,2,2,4),m(1,0,2,2),m(0,1,1,2)):m(0,0,1,1),c},i.prototype.decodePalette=function(){var a,l,c,h,g,m,v,A,d;for(c=this.palette,m=this.transparency.indexed||[],g=new Uint8Array((m.length||0)+c.length),h=0,a=0,l=v=0,A=c.length;v<A;l=v+=3)g[h++]=c[l],g[h++]=c[l+1],g[h++]=c[l+2],g[h++]=(d=m[a++])!=null?d:255;return g},i.prototype.copyToImageData=function(a,l){var c,h,g,m,v,A,d,C,_,O,S;if(h=this.colors,_=null,c=this.hasAlphaChannel,this.palette.length&&(_=(S=this._decodedPalette)!=null?S:this._decodedPalette=this.decodePalette(),h=4,c=!0),C=(g=a.data||a).length,v=_||l,m=A=0,h===1)for(;m<C;)d=_?4*l[m/4]:A,O=v[d++],g[m++]=O,g[m++]=O,g[m++]=O,g[m++]=c?v[d++]:255,A=d;else for(;m<C;)d=_?4*l[m/4]:A,g[m++]=v[d++],g[m++]=v[d++],g[m++]=v[d++],g[m++]=c?v[d++]:255,A=d},i.prototype.decode=function(){var a;return a=new Uint8Array(this.width*this.height*4),this.copyToImageData(a,this.decodePixels()),a};var s=function(){if(Object.prototype.toString.call(Ht)==="[object Window]"){try{e=Ht.document.createElement("canvas"),r=e.getContext("2d")}catch{return!1}return!0}return!1};return s(),t=function(a){var l;if(s()===!0)return r.width=a.width,r.height=a.height,r.clearRect(0,0,a.width,a.height),r.putImageData(a,0,0),(l=new Image).src=e.toDataURL(),l;throw new Error("This method requires a Browser with Canvas-capability.")},i.prototype.decodeFrames=function(a){var l,c,h,g,m,v,A,d;if(this.animation){for(d=[],c=m=0,v=(A=this.animation.frames).length;m<v;c=++m)l=A[c],h=a.createImageData(l.width,l.height),g=this.decodePixels(new Uint8Array(l.data)),this.copyToImageData(h,g),l.imageData=h,d.push(l.image=t(h));return d}},i.prototype.renderFrame=function(a,l){var c,h,g;return c=(h=this.animation.frames)[l],g=h[l-1],l===0&&a.clearRect(0,0,this.width,this.height),g?.disposeOp===1?a.clearRect(g.xOffset,g.yOffset,g.width,g.height):g?.disposeOp===2&&a.putImageData(g.imageData,g.xOffset,g.yOffset),c.blendOp===0&&a.clearRect(c.xOffset,c.yOffset,c.width,c.height),a.drawImage(c.image,c.xOffset,c.yOffset)},i.prototype.animate=function(a){var l,c,h,g,m,v,A=this;return c=0,v=this.animation,g=v.numFrames,h=v.frames,m=v.numPlays,(l=function(){var d,C;if(d=c++%g,C=h[d],A.renderFrame(a,d),g>1&&c/g<m)return A.animation._timeout=setTimeout(l,C.delay)})()},i.prototype.stopAnimation=function(){var a;return clearTimeout((a=this.animation)!=null?a._timeout:void 0)},i.prototype.render=function(a){var l,c;return a._png&&a._png.stopAnimation(),a._png=this,a.width=this.width,a.height=this.height,l=a.getContext("2d"),this.animation?(this.decodeFrames(l),this.animate(l)):(c=l.createImageData(this.width,this.height),this.copyToImageData(c,this.decodePixels()),l.putImageData(c,0,0))},i}();function cf(t){var e=0;if(t[e++]!==71||t[e++]!==73||t[e++]!==70||t[e++]!==56||(t[e++]+1&253)!=56||t[e++]!==97)throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,i=t[e++]|t[e++]<<8,s=t[e++],a=s>>7,l=1<<(7&s)+1;t[e++],t[e++];var c=null,h=null;a&&(c=e,h=l,e+=3*l);var g=!0,m=[],v=0,A=null,d=0,C=null;for(this.width=r,this.height=i;g&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(t[e]!==11||t[e+1]==78&&t[e+2]==69&&t[e+3]==84&&t[e+4]==83&&t[e+5]==67&&t[e+6]==65&&t[e+7]==80&&t[e+8]==69&&t[e+9]==50&&t[e+10]==46&&t[e+11]==48&&t[e+12]==3&&t[e+13]==1&&t[e+16]==0)e+=14,C=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((k=t[e++])>=0))throw Error("Invalid block size");if(k===0)break;e+=k}break;case 249:if(t[e++]!==4||t[e+4]!==0)throw new Error("Invalid graphics extension block.");var _=t[e++];v=t[e++]|t[e++]<<8,A=t[e++],!(1&_)&&(A=null),d=_>>2&7,e++;break;case 254:for(;;){if(!((k=t[e++])>=0))throw Error("Invalid block size");if(k===0)break;e+=k}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var O=t[e++]|t[e++]<<8,S=t[e++]|t[e++]<<8,j=t[e++]|t[e++]<<8,z=t[e++]|t[e++]<<8,Q=t[e++],at=Q>>6&1,bt=1<<(7&Q)+1,tt=c,q=h,rt=!1;Q>>7&&(rt=!0,tt=e,q=bt,e+=3*bt);var pt=e;for(e++;;){var k;if(!((k=t[e++])>=0))throw Error("Invalid block size");if(k===0)break;e+=k}m.push({x:O,y:S,width:j,height:z,has_local_palette:rt,palette_offset:tt,palette_size:q,data_offset:pt,data_length:e-pt,transparent_index:A,interlaced:!!at,delay:v,disposal:d});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return m.length},this.loopCount=function(){return C},this.frameInfo=function(F){if(F<0||F>=m.length)throw new Error("Frame index out of range.");return m[F]},this.decodeAndBlitFrameBGRA=function(F,V){var B=this.frameInfo(F),lt=B.width*B.height,ot=new Uint8Array(lt);ou(t,B.data_offset,ot,lt);var ft=B.palette_offset,Z=B.transparent_index;Z===null&&(Z=256);var ct=B.width,dt=r-ct,Ot=ct,L=4*(B.y*r+B.x),T=4*((B.y+B.height)*r+B.x),E=L,U=4*dt;B.interlaced===!0&&(U+=4*r*7);for(var Y=8,et=0,nt=ot.length;et<nt;++et){var it=ot[et];if(Ot===0&&(Ot=ct,(E+=U)>=T&&(U=4*dt+4*r*(Y-1),E=L+(ct+dt)*(Y<<1),Y>>=1)),it===Z)E+=4;else{var Lt=t[ft+3*it],At=t[ft+3*it+1],Ft=t[ft+3*it+2];V[E++]=Ft,V[E++]=At,V[E++]=Lt,V[E++]=255}--Ot}},this.decodeAndBlitFrameRGBA=function(F,V){var B=this.frameInfo(F),lt=B.width*B.height,ot=new Uint8Array(lt);ou(t,B.data_offset,ot,lt);var ft=B.palette_offset,Z=B.transparent_index;Z===null&&(Z=256);var ct=B.width,dt=r-ct,Ot=ct,L=4*(B.y*r+B.x),T=4*((B.y+B.height)*r+B.x),E=L,U=4*dt;B.interlaced===!0&&(U+=4*r*7);for(var Y=8,et=0,nt=ot.length;et<nt;++et){var it=ot[et];if(Ot===0&&(Ot=ct,(E+=U)>=T&&(U=4*dt+4*r*(Y-1),E=L+(ct+dt)*(Y<<1),Y>>=1)),it===Z)E+=4;else{var Lt=t[ft+3*it],At=t[ft+3*it+1],Ft=t[ft+3*it+2];V[E++]=Lt,V[E++]=At,V[E++]=Ft,V[E++]=255}--Ot}}}function ou(t,e,r,i){for(var s=t[e++],a=1<<s,l=a+1,c=l+1,h=s+1,g=(1<<h)-1,m=0,v=0,A=0,d=t[e++],C=new Int32Array(4096),_=null;;){for(;m<16&&d!==0;)v|=t[e++]<<m,m+=8,d===1?d=t[e++]:--d;if(m<h)break;var O=v&g;if(v>>=h,m-=h,O!==a){if(O===l)break;for(var S=O<c?O:_,j=0,z=S;z>a;)z=C[z]>>8,++j;var Q=z;if(A+j+(S!==O?1:0)>i)return void be.log("Warning, gif stream longer than expected.");r[A++]=Q;var at=A+=j;for(S!==O&&(r[A++]=Q),z=S;j--;)z=C[z],r[--at]=255&z,z>>=8;_!==null&&c<4096&&(C[c++]=_<<8|Q,c>=g+1&&h<12&&(++h,g=g<<1|1)),_=O}else c=l+1,g=(1<<(h=s+1))-1,_=null}return A!==i&&be.log("Warning, gif stream shorter than expected."),r}function qs(t){var e,r,i,s,a,l=Math.floor,c=new Array(64),h=new Array(64),g=new Array(64),m=new Array(64),v=new Array(65535),A=new Array(65535),d=new Array(64),C=new Array(64),_=[],O=0,S=7,j=new Array(64),z=new Array(64),Q=new Array(64),at=new Array(256),bt=new Array(2048),tt=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],q=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],rt=[0,1,2,3,4,5,6,7,8,9,10,11],pt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],k=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],F=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],V=[0,1,2,3,4,5,6,7,8,9,10,11],B=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],lt=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function ot(L,T){for(var E=0,U=0,Y=new Array,et=1;et<=16;et++){for(var nt=1;nt<=L[et];nt++)Y[T[U]]=[],Y[T[U]][0]=E,Y[T[U]][1]=et,U++,E++;E*=2}return Y}function ft(L){for(var T=L[0],E=L[1]-1;E>=0;)T&1<<E&&(O|=1<<S),E--,--S<0&&(O==255?(Z(255),Z(0)):Z(O),S=7,O=0)}function Z(L){_.push(L)}function ct(L){Z(L>>8&255),Z(255&L)}function dt(L,T,E,U,Y){for(var et,nt=Y[0],it=Y[240],Lt=function(xt,Nt){var It,kt,Dt,Gt,Qt,te,ie,pe,Wt,ee,Ct=0;for(Wt=0;Wt<8;++Wt){It=xt[Ct],kt=xt[Ct+1],Dt=xt[Ct+2],Gt=xt[Ct+3],Qt=xt[Ct+4],te=xt[Ct+5],ie=xt[Ct+6];var Ye=It+(pe=xt[Ct+7]),oe=It-pe,_r=kt+ie,me=kt-ie,xe=Dt+te,Wr=Dt-te,ue=Gt+Qt,Dn=Gt-Qt,Ne=Ye+ue,kr=Ye-ue,an=_r+xe,Se=_r-xe;xt[Ct]=Ne+an,xt[Ct+4]=Ne-an;var Jt=.707106781*(Se+kr);xt[Ct+2]=kr+Jt,xt[Ct+6]=kr-Jt;var ce=.382683433*((Ne=Dn+Wr)-(Se=me+oe)),Bn=.5411961*Ne+ce,Ve=1.306562965*Se+ce,Vr=.707106781*(an=Wr+me),Gr=oe+Vr,zt=oe-Vr;xt[Ct+5]=zt+Bn,xt[Ct+3]=zt-Bn,xt[Ct+1]=Gr+Ve,xt[Ct+7]=Gr-Ve,Ct+=8}for(Ct=0,Wt=0;Wt<8;++Wt){It=xt[Ct],kt=xt[Ct+8],Dt=xt[Ct+16],Gt=xt[Ct+24],Qt=xt[Ct+32],te=xt[Ct+40],ie=xt[Ct+48];var Fr=It+(pe=xt[Ct+56]),Jr=It-pe,ar=kt+ie,qe=kt-ie,Me=Dt+te,hr=Dt-te,ei=Gt+Qt,on=Gt-Qt,Ir=Fr+ei,Cr=Fr-ei,Or=ar+Me,Yr=ar-Me;xt[Ct]=Ir+Or,xt[Ct+32]=Ir-Or;var br=.707106781*(Yr+Cr);xt[Ct+16]=Cr+br,xt[Ct+48]=Cr-br;var Xr=.382683433*((Ir=on+hr)-(Yr=qe+Jr)),qn=.5411961*Ir+Xr,ri=1.306562965*Yr+Xr,ni=.707106781*(Or=hr+qe),ii=Jr+ni,ai=Jr-ni;xt[Ct+40]=ai+qn,xt[Ct+24]=ai-qn,xt[Ct+8]=ii+ri,xt[Ct+56]=ii-ri,Ct++}for(Wt=0;Wt<64;++Wt)ee=xt[Wt]*Nt[Wt],d[Wt]=ee>0?ee+.5|0:ee-.5|0;return d}(L,T),At=0;At<64;++At)C[tt[At]]=Lt[At];var Ft=C[0]-E;E=C[0],Ft==0?ft(U[0]):(ft(U[A[et=32767+Ft]]),ft(v[et]));for(var Pt=63;Pt>0&&C[Pt]==0;)Pt--;if(Pt==0)return ft(nt),E;for(var Ut,ht=1;ht<=Pt;){for(var D=ht;C[ht]==0&&ht<=Pt;)++ht;var $t=ht-D;if($t>=16){Ut=$t>>4;for(var Et=1;Et<=Ut;++Et)ft(it);$t&=15}et=32767+C[ht],ft(Y[($t<<4)+A[et]]),ft(v[et]),ht++}return Pt!=63&&ft(nt),E}function Ot(L){L=Math.min(Math.max(L,1),100),a!=L&&(function(T){for(var E=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],U=0;U<64;U++){var Y=l((E[U]*T+50)/100);Y=Math.min(Math.max(Y,1),255),c[tt[U]]=Y}for(var et=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],nt=0;nt<64;nt++){var it=l((et[nt]*T+50)/100);it=Math.min(Math.max(it,1),255),h[tt[nt]]=it}for(var Lt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],At=0,Ft=0;Ft<8;Ft++)for(var Pt=0;Pt<8;Pt++)g[At]=1/(c[tt[At]]*Lt[Ft]*Lt[Pt]*8),m[At]=1/(h[tt[At]]*Lt[Ft]*Lt[Pt]*8),At++}(L<50?Math.floor(5e3/L):Math.floor(200-2*L)),a=L)}this.encode=function(L,T){T&&Ot(T),_=new Array,O=0,S=7,ct(65496),ct(65504),ct(16),Z(74),Z(70),Z(73),Z(70),Z(0),Z(1),Z(1),Z(0),ct(1),ct(1),Z(0),Z(0),function(){ct(65499),ct(132),Z(0);for(var kt=0;kt<64;kt++)Z(c[kt]);Z(1);for(var Dt=0;Dt<64;Dt++)Z(h[Dt])}(),function(kt,Dt){ct(65472),ct(17),Z(8),ct(Dt),ct(kt),Z(3),Z(1),Z(17),Z(0),Z(2),Z(17),Z(1),Z(3),Z(17),Z(1)}(L.width,L.height),function(){ct(65476),ct(418),Z(0);for(var kt=0;kt<16;kt++)Z(q[kt+1]);for(var Dt=0;Dt<=11;Dt++)Z(rt[Dt]);Z(16);for(var Gt=0;Gt<16;Gt++)Z(pt[Gt+1]);for(var Qt=0;Qt<=161;Qt++)Z(k[Qt]);Z(1);for(var te=0;te<16;te++)Z(F[te+1]);for(var ie=0;ie<=11;ie++)Z(V[ie]);Z(17);for(var pe=0;pe<16;pe++)Z(B[pe+1]);for(var Wt=0;Wt<=161;Wt++)Z(lt[Wt])}(),ct(65498),ct(12),Z(3),Z(1),Z(0),Z(2),Z(17),Z(3),Z(17),Z(0),Z(63),Z(0);var E=0,U=0,Y=0;O=0,S=7,this.encode.displayName="_encode_";for(var et,nt,it,Lt,At,Ft,Pt,Ut,ht,D=L.data,$t=L.width,Et=L.height,xt=4*$t,Nt=0;Nt<Et;){for(et=0;et<xt;){for(At=xt*Nt+et,Pt=-1,Ut=0,ht=0;ht<64;ht++)Ft=At+(Ut=ht>>3)*xt+(Pt=4*(7&ht)),Nt+Ut>=Et&&(Ft-=xt*(Nt+1+Ut-Et)),et+Pt>=xt&&(Ft-=et+Pt-xt+4),nt=D[Ft++],it=D[Ft++],Lt=D[Ft++],j[ht]=(bt[nt]+bt[it+256>>0]+bt[Lt+512>>0]>>16)-128,z[ht]=(bt[nt+768>>0]+bt[it+1024>>0]+bt[Lt+1280>>0]>>16)-128,Q[ht]=(bt[nt+1280>>0]+bt[it+1536>>0]+bt[Lt+1792>>0]>>16)-128;E=dt(j,g,E,e,i),U=dt(z,m,U,r,s),Y=dt(Q,m,Y,r,s),et+=32}Nt+=8}if(S>=0){var It=[];It[1]=S+1,It[0]=(1<<S+1)-1,ft(It)}return ct(65497),new Uint8Array(_)},t=t||50,function(){for(var L=String.fromCharCode,T=0;T<256;T++)at[T]=L(T)}(),e=ot(q,rt),r=ot(F,V),i=ot(pt,k),s=ot(B,lt),function(){for(var L=1,T=2,E=1;E<=15;E++){for(var U=L;U<T;U++)A[32767+U]=E,v[32767+U]=[],v[32767+U][1]=E,v[32767+U][0]=U;for(var Y=-(T-1);Y<=-L;Y++)A[32767+Y]=E,v[32767+Y]=[],v[32767+Y][1]=E,v[32767+Y][0]=T-1+Y;L<<=1,T<<=1}}(),function(){for(var L=0;L<256;L++)bt[L]=19595*L,bt[L+256>>0]=38470*L,bt[L+512>>0]=7471*L+32768,bt[L+768>>0]=-11059*L,bt[L+1024>>0]=-21709*L,bt[L+1280>>0]=32768*L+8421375,bt[L+1536>>0]=-27439*L,bt[L+1792>>0]=-5329*L}(),Ot(t)}function Rr(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function su(t){function e(q){if(!q)throw Error("assert :P")}function r(q,rt,pt){for(var k=0;4>k;k++)if(q[rt+k]!=pt.charCodeAt(k))return!0;return!1}function i(q,rt,pt,k,F){for(var V=0;V<F;V++)q[rt+V]=pt[k+V]}function s(q,rt,pt,k){for(var F=0;F<k;F++)q[rt+F]=pt}function a(q){return new Int32Array(q)}function l(q,rt){for(var pt=[],k=0;k<q;k++)pt.push(new rt);return pt}function c(q,rt){var pt=[];return function k(F,V,B){for(var lt=B[V],ot=0;ot<lt&&(F.push(B.length>V+1?[]:new rt),!(B.length<V+1));ot++)k(F[ot],V+1,B)}(pt,0,q),pt}var h=function(){var q=this;function rt(n,o){for(var f=1<<o-1>>>0;n&f;)f>>>=1;return f?(n&f-1)+f:n}function pt(n,o,f,p,b){e(!(p%f));do n[o+(p-=f)]=b;while(0<p)}function k(n,o,f,p,b){if(e(2328>=b),512>=b)var w=a(512);else if((w=a(b))==null)return 0;return function(x,N,P,I,H,$){var K,J,vt=N,st=1<<P,W=a(16),G=a(16);for(e(H!=0),e(I!=null),e(x!=null),e(0<P),J=0;J<H;++J){if(15<I[J])return 0;++W[I[J]]}if(W[0]==H)return 0;for(G[1]=0,K=1;15>K;++K){if(W[K]>1<<K)return 0;G[K+1]=G[K]+W[K]}for(J=0;J<H;++J)K=I[J],0<I[J]&&($[G[K]++]=J);if(G[15]==1)return(I=new F).g=0,I.value=$[0],pt(x,vt,1,st,I),st;var gt,yt=-1,mt=st-1,Tt=0,St=1,qt=1,_t=1<<P;for(J=0,K=1,H=2;K<=P;++K,H<<=1){if(St+=qt<<=1,0>(qt-=W[K]))return 0;for(;0<W[K];--W[K])(I=new F).g=K,I.value=$[J++],pt(x,vt+Tt,H,_t,I),Tt=rt(Tt,K)}for(K=P+1,H=2;15>=K;++K,H<<=1){if(St+=qt<<=1,0>(qt-=W[K]))return 0;for(;0<W[K];--W[K]){if(I=new F,(Tt&mt)!=yt){for(vt+=_t,gt=1<<(yt=K)-P;15>yt&&!(0>=(gt-=W[yt]));)++yt,gt<<=1;st+=_t=1<<(gt=yt-P),x[N+(yt=Tt&mt)].g=gt+P,x[N+yt].value=vt-N-yt}I.g=K-P,I.value=$[J++],pt(x,vt+(Tt>>P),H,_t,I),Tt=rt(Tt,K)}}return St!=2*G[15]-1?0:st}(n,o,f,p,b,w)}function F(){this.value=this.g=0}function V(){this.value=this.g=0}function B(){this.G=l(5,F),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=l(Ge,V)}function lt(n,o,f,p){e(n!=null),e(o!=null),e(2147483648>p),n.Ca=254,n.I=0,n.b=-8,n.Ka=0,n.oa=o,n.pa=f,n.Jd=o,n.Yc=f+p,n.Zc=4<=p?f+p-4+1:f,et(n)}function ot(n,o){for(var f=0;0<o--;)f|=it(n,128)<<o;return f}function ft(n,o){var f=ot(n,o);return nt(n)?-f:f}function Z(n,o,f,p){var b,w=0;for(e(n!=null),e(o!=null),e(4294967288>p),n.Sb=p,n.Ra=0,n.u=0,n.h=0,4<p&&(p=4),b=0;b<p;++b)w+=o[f+b]<<8*b;n.Ra=w,n.bb=p,n.oa=o,n.pa=f}function ct(n){for(;8<=n.u&&n.bb<n.Sb;)n.Ra>>>=8,n.Ra+=n.oa[n.pa+n.bb]<<wi-8>>>0,++n.bb,n.u-=8;E(n)&&(n.h=1,n.u=0)}function dt(n,o){if(e(0<=o),!n.h&&o<=yi){var f=T(n)&bi[o];return n.u+=o,ct(n),f}return n.h=1,n.u=0}function Ot(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function L(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function T(n){return n.Ra>>>(n.u&wi-1)>>>0}function E(n){return e(n.bb<=n.Sb),n.h||n.bb==n.Sb&&n.u>wi}function U(n,o){n.u=o,n.h=E(n)}function Y(n){n.u>=aa&&(e(n.u>=aa),ct(n))}function et(n){e(n!=null&&n.oa!=null),n.pa<n.Zc?(n.I=(n.oa[n.pa++]|n.I<<8)>>>0,n.b+=8):(e(n!=null&&n.oa!=null),n.pa<n.Yc?(n.b+=8,n.I=n.oa[n.pa++]|n.I<<8):n.Ka?n.b=0:(n.I<<=8,n.b+=8,n.Ka=1))}function nt(n){return ot(n,1)}function it(n,o){var f=n.Ca;0>n.b&&et(n);var p=n.b,b=f*o>>>8,w=(n.I>>>p>b)+0;for(w?(f-=b,n.I-=b+1<<p>>>0):f=b+1,p=f,b=0;256<=p;)b+=8,p>>=8;return p=7^b+sr[p],n.b-=p,n.Ca=(f<<p)-1,w}function Lt(n,o,f){n[o+0]=f>>24&255,n[o+1]=f>>16&255,n[o+2]=f>>8&255,n[o+3]=f>>0&255}function At(n,o){return n[o+0]<<0|n[o+1]<<8}function Ft(n,o){return At(n,o)|n[o+2]<<16}function Pt(n,o){return At(n,o)|At(n,o+2)<<16}function Ut(n,o){var f=1<<o;return e(n!=null),e(0<o),n.X=a(f),n.X==null?0:(n.Mb=32-o,n.Xa=o,1)}function ht(n,o){e(n!=null),e(o!=null),e(n.Xa==o.Xa),i(o.X,0,n.X,0,1<<o.Xa)}function D(){this.X=[],this.Xa=this.Mb=0}function $t(n,o,f,p){e(f!=null),e(p!=null);var b=f[0],w=p[0];return b==0&&(b=(n*w+o/2)/o),w==0&&(w=(o*b+n/2)/n),0>=b||0>=w?0:(f[0]=b,p[0]=w,1)}function Et(n,o){return n+(1<<o)-1>>>o}function xt(n,o){return((4278255360&n)+(4278255360&o)>>>0&4278255360)+((16711935&n)+(16711935&o)>>>0&16711935)>>>0}function Nt(n,o){q[o]=function(f,p,b,w,x,N,P){var I;for(I=0;I<x;++I){var H=q[n](N[P+I-1],b,w+I);N[P+I]=xt(f[p+I],H)}}}function It(){this.ud=this.hd=this.jd=0}function kt(n,o){return((4278124286&(n^o))>>>1)+(n&o)>>>0}function Dt(n){return 0<=n&&256>n?n:0>n?0:255<n?255:void 0}function Gt(n,o){return Dt(n+(n-o+.5>>1))}function Qt(n,o,f){return Math.abs(o-f)-Math.abs(n-f)}function te(n,o,f,p,b,w,x){for(p=w[x-1],f=0;f<b;++f)w[x+f]=p=xt(n[o+f],p)}function ie(n,o,f,p,b){var w;for(w=0;w<f;++w){var x=n[o+w],N=x>>8&255,P=16711935&(P=(P=16711935&x)+((N<<16)+N));p[b+w]=(4278255360&x)+P>>>0}}function pe(n,o){o.jd=n>>0&255,o.hd=n>>8&255,o.ud=n>>16&255}function Wt(n,o,f,p,b,w){var x;for(x=0;x<p;++x){var N=o[f+x],P=N>>>8,I=N,H=255&(H=(H=N>>>16)+((n.jd<<24>>24)*(P<<24>>24)>>>5));I=255&(I=(I=I+((n.hd<<24>>24)*(P<<24>>24)>>>5))+((n.ud<<24>>24)*(H<<24>>24)>>>5)),b[w+x]=(4278255360&N)+(H<<16)+I}}function ee(n,o,f,p,b){q[o]=function(w,x,N,P,I,H,$,K,J){for(P=$;P<K;++P)for($=0;$<J;++$)I[H++]=b(N[p(w[x++])])},q[n]=function(w,x,N,P,I,H,$){var K=8>>w.b,J=w.Ea,vt=w.K[0],st=w.w;if(8>K)for(w=(1<<w.b)-1,st=(1<<K)-1;x<N;++x){var W,G=0;for(W=0;W<J;++W)W&w||(G=p(P[I++])),H[$++]=b(vt[G&st]),G>>=K}else q["VP8LMapColor"+f](P,I,vt,st,H,$,x,N,J)}}function Ct(n,o,f,p,b){for(f=o+f;o<f;){var w=n[o++];p[b++]=w>>16&255,p[b++]=w>>8&255,p[b++]=w>>0&255}}function Ye(n,o,f,p,b){for(f=o+f;o<f;){var w=n[o++];p[b++]=w>>16&255,p[b++]=w>>8&255,p[b++]=w>>0&255,p[b++]=w>>24&255}}function oe(n,o,f,p,b){for(f=o+f;o<f;){var w=(x=n[o++])>>16&240|x>>12&15,x=x>>0&240|x>>28&15;p[b++]=w,p[b++]=x}}function _r(n,o,f,p,b){for(f=o+f;o<f;){var w=(x=n[o++])>>16&248|x>>13&7,x=x>>5&224|x>>3&31;p[b++]=w,p[b++]=x}}function me(n,o,f,p,b){for(f=o+f;o<f;){var w=n[o++];p[b++]=w>>0&255,p[b++]=w>>8&255,p[b++]=w>>16&255}}function xe(n,o,f,p,b,w){if(w==0)for(f=o+f;o<f;)Lt(p,((w=n[o++])[0]>>24|w[1]>>8&65280|w[2]<<8&16711680|w[3]<<24)>>>0),b+=32;else i(p,b,n,o,f)}function Wr(n,o){q[o][0]=q[n+"0"],q[o][1]=q[n+"1"],q[o][2]=q[n+"2"],q[o][3]=q[n+"3"],q[o][4]=q[n+"4"],q[o][5]=q[n+"5"],q[o][6]=q[n+"6"],q[o][7]=q[n+"7"],q[o][8]=q[n+"8"],q[o][9]=q[n+"9"],q[o][10]=q[n+"10"],q[o][11]=q[n+"11"],q[o][12]=q[n+"12"],q[o][13]=q[n+"13"],q[o][14]=q[n+"0"],q[o][15]=q[n+"0"]}function ue(n){return n==cs||n==fs||n==Qa||n==hs}function Dn(){this.eb=[],this.size=this.A=this.fb=0}function Ne(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function kr(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Dn,this.f.kb=new Ne,this.sd=null}function an(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Se(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Jt(n){return alert("todo:WebPSamplerProcessPlane"),n.T}function ce(n,o){var f=n.T,p=o.ba.f.RGBA,b=p.eb,w=p.fb+n.ka*p.A,x=Nr[o.ba.S],N=n.y,P=n.O,I=n.f,H=n.N,$=n.ea,K=n.W,J=o.cc,vt=o.dc,st=o.Mc,W=o.Nc,G=n.ka,gt=n.ka+n.T,yt=n.U,mt=yt+1>>1;for(G==0?x(N,P,null,null,I,H,$,K,I,H,$,K,b,w,null,null,yt):(x(o.ec,o.fc,N,P,J,vt,st,W,I,H,$,K,b,w-p.A,b,w,yt),++f);G+2<gt;G+=2)J=I,vt=H,st=$,W=K,H+=n.Rc,K+=n.Rc,w+=2*p.A,x(N,(P+=2*n.fa)-n.fa,N,P,J,vt,st,W,I,H,$,K,b,w-p.A,b,w,yt);return P+=n.fa,n.j+gt<n.o?(i(o.ec,o.fc,N,P,yt),i(o.cc,o.dc,I,H,mt),i(o.Mc,o.Nc,$,K,mt),f--):1&gt||x(N,P,null,null,I,H,$,K,I,H,$,K,b,w+p.A,null,null,yt),f}function Bn(n,o,f){var p=n.F,b=[n.J];if(p!=null){var w=n.U,x=o.ba.S,N=x==Za||x==Qa;o=o.ba.f.RGBA;var P=[0],I=n.ka;P[0]=n.T,n.Kb&&(I==0?--P[0]:(--I,b[0]-=n.width),n.j+n.ka+n.T==n.o&&(P[0]=n.o-n.j-I));var H=o.eb;I=o.fb+I*o.A,n=we(p,b[0],n.width,w,P,H,I+(N?0:3),o.A),e(f==P),n&&ue(x)&&Ar(H,I,N,w,P,o.A)}return 0}function Ve(n){var o=n.ma,f=o.ba.S,p=11>f,b=f==$a||f==Ka||f==Za||f==us||f==12||ue(f);if(o.memory=null,o.Ib=null,o.Jb=null,o.Nd=null,!na(o.Oa,n,b?11:12))return 0;if(b&&ue(f)&&wt(),n.da)alert("todo:use_scaling");else{if(p){if(o.Ib=Jt,n.Kb){if(f=n.U+1>>1,o.memory=a(n.U+2*f),o.memory==null)return 0;o.ec=o.memory,o.fc=0,o.cc=o.ec,o.dc=o.fc+n.U,o.Mc=o.cc,o.Nc=o.dc+f,o.Ib=ce,wt()}}else alert("todo:EmitYUV");b&&(o.Jb=Bn,p&&X())}if(p&&!fl){for(n=0;256>n;++n)cc[n]=89858*(n-128)+eo>>to,pc[n]=-22014*(n-128)+eo,hc[n]=-45773*(n-128),fc[n]=113618*(n-128)+eo>>to;for(n=ha;n<gs;++n)o=76283*(n-16)+eo>>to,dc[n-ha]=pr(o,255),gc[n-ha]=pr(o+8>>4,15);fl=1}return 1}function Vr(n){var o=n.ma,f=n.U,p=n.T;return e(!(1&n.ka)),0>=f||0>=p?0:(f=o.Ib(n,o),o.Jb!=null&&o.Jb(n,o,f),o.Dc+=f,1)}function Gr(n){n.ma.memory=null}function zt(n,o,f,p){return dt(n,8)!=47?0:(o[0]=dt(n,14)+1,f[0]=dt(n,14)+1,p[0]=dt(n,1),dt(n,3)!=0?0:!n.h)}function Fr(n,o){if(4>n)return n+1;var f=n-2>>1;return(2+(1&n)<<f)+dt(o,f)+1}function Jr(n,o){return 120<o?o-120:1<=(f=((f=$u[o-1])>>4)*n+(8-(15&f)))?f:1;var f}function ar(n,o,f){var p=T(f),b=n[o+=255&p].g-8;return 0<b&&(U(f,f.u+8),p=T(f),o+=n[o].value,o+=p&(1<<b)-1),U(f,f.u+n[o].g),n[o].value}function qe(n,o,f){return f.g+=n.g,f.value+=n.value<<o>>>0,e(8>=f.g),n.g}function Me(n,o,f){var p=n.xc;return e((o=p==0?0:n.vc[n.md*(f>>p)+(o>>p)])<n.Wb),n.Ya[o]}function hr(n,o,f,p){var b=n.ab,w=n.c*o,x=n.C;o=x+o;var N=f,P=p;for(p=n.Ta,f=n.Ua;0<b--;){var I=n.gc[b],H=x,$=o,K=N,J=P,vt=(P=p,N=f,I.Ea);switch(e(H<$),e($<=I.nc),I.hc){case 2:Ha(K,J,($-H)*vt,P,N);break;case 0:var st=H,W=$,G=P,gt=N,yt=(_t=I).Ea;st==0&&(ss(K,J,null,null,1,G,gt),te(K,J+1,0,0,yt-1,G,gt+1),J+=yt,gt+=yt,++st);for(var mt=1<<_t.b,Tt=mt-1,St=Et(yt,_t.b),qt=_t.K,_t=_t.w+(st>>_t.b)*St;st<W;){var se=qt,fe=_t,ae=1;for(oa(K,J,G,gt-yt,1,G,gt);ae<yt;){var re=(ae&~Tt)+mt;re>yt&&(re=yt),(0,xn[se[fe++]>>8&15])(K,J+ +ae,G,gt+ae-yt,re-ae,G,gt+ae),ae=re}J+=yt,gt+=yt,++st&Tt||(_t+=St)}$!=I.nc&&i(P,N-vt,P,N+($-H-1)*vt,vt);break;case 1:for(vt=K,W=J,yt=(K=I.Ea)-(gt=K&~(G=(J=1<<I.b)-1)),st=Et(K,I.b),mt=I.K,I=I.w+(H>>I.b)*st;H<$;){for(Tt=mt,St=I,qt=new It,_t=W+gt,se=W+K;W<_t;)pe(Tt[St++],qt),Wn(qt,vt,W,J,P,N),W+=J,N+=J;W<se&&(pe(Tt[St++],qt),Wn(qt,vt,W,yt,P,N),W+=yt,N+=yt),++H&G||(I+=st)}break;case 3:if(K==P&&J==N&&0<I.b){for(W=P,K=vt=N+($-H)*vt-(gt=($-H)*Et(I.Ea,I.b)),J=P,G=N,st=[],gt=(yt=gt)-1;0<=gt;--gt)st[gt]=J[G+gt];for(gt=yt-1;0<=gt;--gt)W[K+gt]=st[gt];yr(I,H,$,P,vt,P,N)}else yr(I,H,$,K,J,P,N)}N=p,P=f}P!=f&&i(p,f,N,P,w)}function ei(n,o){var f=n.V,p=n.Ba+n.c*n.C,b=o-n.C;if(e(o<=n.l.o),e(16>=b),0<b){var w=n.l,x=n.Ta,N=n.Ua,P=w.width;if(hr(n,b,f,p),b=N=[N],e((f=n.C)<(p=o)),e(w.v<w.va),p>w.o&&(p=w.o),f<w.j){var I=w.j-f;f=w.j,b[0]+=I*P}if(f>=p?f=0:(b[0]+=4*w.v,w.ka=f-w.j,w.U=w.va-w.v,w.T=p-f,f=1),f){if(N=N[0],11>(f=n.ca).S){var H=f.f.RGBA,$=(p=f.S,b=w.U,w=w.T,I=H.eb,H.A),K=w;for(H=H.fb+n.Ma*H.A;0<K--;){var J=x,vt=N,st=b,W=I,G=H;switch(p){case Xa:lr(J,vt,st,W,G);break;case $a:rr(J,vt,st,W,G);break;case cs:rr(J,vt,st,W,G),Ar(W,G,0,st,1,0);break;case el:cn(J,vt,st,W,G);break;case Ka:xe(J,vt,st,W,G,1);break;case fs:xe(J,vt,st,W,G,1),Ar(W,G,0,st,1,0);break;case Za:xe(J,vt,st,W,G,0);break;case Qa:xe(J,vt,st,W,G,0),Ar(W,G,1,st,1,0);break;case us:An(J,vt,st,W,G);break;case hs:An(J,vt,st,W,G),ye(W,G,st,1,0);break;case rl:un(J,vt,st,W,G);break;default:e(0)}N+=P,H+=$}n.Ma+=w}else alert("todo:EmitRescaledRowsYUVA");e(n.Ma<=f.height)}}n.C=o,e(n.C<=n.i)}function on(n){var o;if(0<n.ua)return 0;for(o=0;o<n.Wb;++o){var f=n.Ya[o].G,p=n.Ya[o].H;if(0<f[1][p[1]+0].g||0<f[2][p[2]+0].g||0<f[3][p[3]+0].g)return 0}return 1}function Ir(n,o,f,p,b,w){if(n.Z!=0){var x=n.qd,N=n.rd;for(e(Pn[n.Z]!=null);o<f;++o)Pn[n.Z](x,N,p,b,p,b,w),x=p,N=b,b+=w;n.qd=x,n.rd=N}}function Cr(n,o){var f=n.l.ma,p=f.Z==0||f.Z==1?n.l.j:n.C;if(p=n.C<p?p:n.C,e(o<=n.l.o),o>p){var b=n.l.width,w=f.ca,x=f.tb+b*p,N=n.V,P=n.Ba+n.c*p,I=n.gc;e(n.ab==1),e(I[0].hc==3),Wa(I[0],p,o,N,P,w,x),Ir(f,p,o,w,x,b)}n.C=n.Ma=o}function Or(n,o,f,p,b,w,x){var N=n.$/p,P=n.$%p,I=n.m,H=n.s,$=f+n.$,K=$;b=f+p*b;var J=f+p*w,vt=280+H.ua,st=n.Pb?N:16777216,W=0<H.ua?H.Wa:null,G=H.wc,gt=$<J?Me(H,P,N):null;e(n.C<w),e(J<=b);var yt=!1;t:for(;;){for(;yt||$<J;){var mt=0;if(N>=st){var Tt=$-f;e((st=n).Pb),st.wd=st.m,st.xd=Tt,0<st.s.ua&&ht(st.s.Wa,st.s.vb),st=N+Zu}if(P&G||(gt=Me(H,P,N)),e(gt!=null),gt.Qb&&(o[$]=gt.qb,yt=!0),!yt)if(Y(I),gt.jc){mt=I,Tt=o;var St=$,qt=gt.pd[T(mt)&Ge-1];e(gt.jc),256>qt.g?(U(mt,mt.u+qt.g),Tt[St]=qt.value,mt=0):(U(mt,mt.u+qt.g-256),e(256<=qt.value),mt=qt.value),mt==0&&(yt=!0)}else mt=ar(gt.G[0],gt.H[0],I);if(I.h)break;if(yt||256>mt){if(!yt)if(gt.nd)o[$]=(gt.qb|mt<<8)>>>0;else{if(Y(I),yt=ar(gt.G[1],gt.H[1],I),Y(I),Tt=ar(gt.G[2],gt.H[2],I),St=ar(gt.G[3],gt.H[3],I),I.h)break;o[$]=(St<<24|yt<<16|mt<<8|Tt)>>>0}if(yt=!1,++$,++P>=p&&(P=0,++N,x!=null&&N<=w&&!(N%16)&&x(n,N),W!=null))for(;K<$;)mt=o[K++],W.X[(506832829*mt&4294967295)>>>W.Mb]=mt}else if(280>mt){if(mt=Fr(mt-256,I),Tt=ar(gt.G[4],gt.H[4],I),Y(I),Tt=Jr(p,Tt=Fr(Tt,I)),I.h)break;if($-f<Tt||b-$<mt)break t;for(St=0;St<mt;++St)o[$+St]=o[$+St-Tt];for($+=mt,P+=mt;P>=p;)P-=p,++N,x!=null&&N<=w&&!(N%16)&&x(n,N);if(e($<=b),P&G&&(gt=Me(H,P,N)),W!=null)for(;K<$;)mt=o[K++],W.X[(506832829*mt&4294967295)>>>W.Mb]=mt}else{if(!(mt<vt))break t;for(yt=mt-280,e(W!=null);K<$;)mt=o[K++],W.X[(506832829*mt&4294967295)>>>W.Mb]=mt;mt=$,e(!(yt>>>(Tt=W).Xa)),o[mt]=Tt.X[yt],yt=!0}yt||e(I.h==E(I))}if(n.Pb&&I.h&&$<b)e(n.m.h),n.a=5,n.m=n.wd,n.$=n.xd,0<n.s.ua&&ht(n.s.vb,n.s.Wa);else{if(I.h)break t;x?.(n,N>w?w:N),n.a=0,n.$=$-f}return 1}return n.a=3,0}function Yr(n){e(n!=null),n.vc=null,n.yc=null,n.Ya=null;var o=n.Wa;o!=null&&(o.X=null),n.vb=null,e(n!=null)}function br(){var n=new os;return n==null?null:(n.a=0,n.xb=al,Wr("Predictor","VP8LPredictors"),Wr("Predictor","VP8LPredictors_C"),Wr("PredictorAdd","VP8LPredictorsAdd"),Wr("PredictorAdd","VP8LPredictorsAdd_C"),Ha=ie,Wn=Wt,lr=Ct,rr=Ye,An=oe,un=_r,cn=me,q.VP8LMapColor32b=xi,q.VP8LMapColor8b=Va,n)}function Xr(n,o,f,p,b){var w=1,x=[n],N=[o],P=p.m,I=p.s,H=null,$=0;t:for(;;){if(f)for(;w&&dt(P,1);){var K=x,J=N,vt=p,st=1,W=vt.m,G=vt.gc[vt.ab],gt=dt(W,2);if(vt.Oc&1<<gt)w=0;else{switch(vt.Oc|=1<<gt,G.hc=gt,G.Ea=K[0],G.nc=J[0],G.K=[null],++vt.ab,e(4>=vt.ab),gt){case 0:case 1:G.b=dt(W,3)+2,st=Xr(Et(G.Ea,G.b),Et(G.nc,G.b),0,vt,G.K),G.K=G.K[0];break;case 3:var yt,mt=dt(W,8)+1,Tt=16<mt?0:4<mt?1:2<mt?2:3;if(K[0]=Et(G.Ea,Tt),G.b=Tt,yt=st=Xr(mt,1,0,vt,G.K)){var St,qt=mt,_t=G,se=1<<(8>>_t.b),fe=a(se);if(fe==null)yt=0;else{var ae=_t.K[0],re=_t.w;for(fe[0]=_t.K[0][0],St=1;St<1*qt;++St)fe[St]=xt(ae[re+St],fe[St-1]);for(;St<4*se;++St)fe[St]=0;_t.K[0]=null,_t.K[0]=fe,yt=1}}st=yt;break;case 2:break;default:e(0)}w=st}}if(x=x[0],N=N[0],w&&dt(P,1)&&!(w=1<=($=dt(P,4))&&11>=$)){p.a=3;break t}var ve;if(ve=w)e:{var de,Zt,De,ur=p,Be=x,cr=N,he=$,gr=f,mr=ur.m,Ue=ur.s,Je=[null],ir=1,Sr=0,Qr=Ku[he];r:for(;;){if(gr&&dt(mr,1)){var He=dt(mr,3)+2,dn=Et(Be,He),Xn=Et(cr,He),Pi=dn*Xn;if(!Xr(dn,Xn,0,ur,Je))break r;for(Je=Je[0],Ue.xc=He,de=0;de<Pi;++de){var _n=Je[de]>>8&65535;Je[de]=_n,_n>=ir&&(ir=_n+1)}}if(mr.h)break r;for(Zt=0;5>Zt;++Zt){var _e=nl[Zt];!Zt&&0<he&&(_e+=1<<he),Sr<_e&&(Sr=_e)}var ms=l(ir*Qr,F),dl=ir,gl=l(dl,B);if(gl==null)var no=null;else e(65536>=dl),no=gl;var pa=a(Sr);if(no==null||pa==null||ms==null){ur.a=1;break r}var io=ms;for(de=De=0;de<ir;++de){var Dr=no[de],_i=Dr.G,ki=Dr.H,ml=0,ao=1,vl=0;for(Zt=0;5>Zt;++Zt){_e=nl[Zt],_i[Zt]=io,ki[Zt]=De,!Zt&&0<he&&(_e+=1<<he);i:{var oo,vs=_e,so=ur,da=pa,bc=io,yc=De,bs=0,kn=so.m,wc=dt(kn,1);if(s(da,0,0,vs),wc){var xc=dt(kn,1)+1,Ac=dt(kn,1),bl=dt(kn,Ac==0?1:8);da[bl]=1,xc==2&&(da[bl=dt(kn,8)]=1);var lo=1}else{var yl=a(19),wl=dt(kn,4)+4;if(19<wl){so.a=3;var uo=0;break i}for(oo=0;oo<wl;++oo)yl[Xu[oo]]=dt(kn,3);var ys=void 0,ga=void 0,xl=so,Lc=yl,co=vs,Al=da,ws=0,Fn=xl.m,Ll=8,Nl=l(128,F);n:for(;k(Nl,0,7,Lc,19);){if(dt(Fn,1)){var Nc=2+2*dt(Fn,3);if((ys=2+dt(Fn,Nc))>co)break n}else ys=co;for(ga=0;ga<co&&ys--;){Y(Fn);var Sl=Nl[0+(127&T(Fn))];U(Fn,Fn.u+Sl.g);var Fi=Sl.value;if(16>Fi)Al[ga++]=Fi,Fi!=0&&(Ll=Fi);else{var Sc=Fi==16,Pl=Fi-16,Pc=Ju[Pl],_l=dt(Fn,Gu[Pl])+Pc;if(ga+_l>co)break n;for(var _c=Sc?Ll:0;0<_l--;)Al[ga++]=_c}}ws=1;break n}ws||(xl.a=3),lo=ws}(lo=lo&&!kn.h)&&(bs=k(bc,yc,8,da,vs)),lo&&bs!=0?uo=bs:(so.a=3,uo=0)}if(uo==0)break r;if(ao&&Yu[Zt]==1&&(ao=io[De].g==0),ml+=io[De].g,De+=uo,3>=Zt){var ma,xs=pa[0];for(ma=1;ma<_e;++ma)pa[ma]>xs&&(xs=pa[ma]);vl+=xs}}if(Dr.nd=ao,Dr.Qb=0,ao&&(Dr.qb=(_i[3][ki[3]+0].value<<24|_i[1][ki[1]+0].value<<16|_i[2][ki[2]+0].value)>>>0,ml==0&&256>_i[0][ki[0]+0].value&&(Dr.Qb=1,Dr.qb+=_i[0][ki[0]+0].value<<8)),Dr.jc=!Dr.Qb&&6>vl,Dr.jc){var fo,gn=Dr;for(fo=0;fo<Ge;++fo){var In=fo,Cn=gn.pd[In],ho=gn.G[0][gn.H[0]+In];256<=ho.value?(Cn.g=ho.g+256,Cn.value=ho.value):(Cn.g=0,Cn.value=0,In>>=qe(ho,8,Cn),In>>=qe(gn.G[1][gn.H[1]+In],16,Cn),In>>=qe(gn.G[2][gn.H[2]+In],0,Cn),qe(gn.G[3][gn.H[3]+In],24,Cn))}}}Ue.vc=Je,Ue.Wb=ir,Ue.Ya=no,Ue.yc=ms,ve=1;break e}ve=0}if(!(w=ve)){p.a=3;break t}if(0<$){if(I.ua=1<<$,!Ut(I.Wa,$)){p.a=1,w=0;break t}}else I.ua=0;var As=p,kl=x,kc=N,Ls=As.s,Ns=Ls.xc;if(As.c=kl,As.i=kc,Ls.md=Et(kl,Ns),Ls.wc=Ns==0?-1:(1<<Ns)-1,f){p.xb=ac;break t}if((H=a(x*N))==null){p.a=1,w=0;break t}w=(w=Or(p,H,0,x,N,N,null))&&!P.h;break t}return w?(b!=null?b[0]=H:(e(H==null),e(f)),p.$=0,f||Yr(I)):Yr(I),w}function qn(n,o){var f=n.c*n.i,p=f+o+16*o;return e(n.c<=o),n.V=a(p),n.V==null?(n.Ta=null,n.Ua=0,n.a=1,0):(n.Ta=n.V,n.Ua=n.Ba+f+o,1)}function ri(n,o){var f=n.C,p=o-f,b=n.V,w=n.Ba+n.c*f;for(e(o<=n.l.o);0<p;){var x=16<p?16:p,N=n.l.ma,P=n.l.width,I=P*x,H=N.ca,$=N.tb+P*f,K=n.Ta,J=n.Ua;hr(n,x,b,w),Ce(K,J,H,$,I),Ir(N,f,f+x,H,$,P),p-=x,b+=x*n.c,f+=x}e(f==o),n.C=n.Ma=o}function ni(){this.ub=this.yd=this.td=this.Rb=0}function ii(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ai(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function La(){this.Yb=function(){var n=[];return function o(f,p,b){for(var w=b[p],x=0;x<w&&(f.push(b.length>p+1?[]:0),!(b.length<p+1));x++)o(f[x],p+1,b)}(n,0,[3,11]),n}()}function Do(){this.jb=a(3),this.Wc=c([4,8],La),this.Xc=c([4,17],La)}function Bo(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function oi(){this.ld=this.La=this.dd=this.tc=0}function Na(){this.Na=this.la=0}function qo(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function zi(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ro(){this.uc=this.M=this.Nb=0,this.wa=Array(new oi),this.Y=0,this.ya=Array(new zi),this.aa=0,this.l=new si}function Sa(){this.y=a(16),this.f=a(8),this.ea=a(8)}function zo(){this.cb=this.a=0,this.sc="",this.m=new Ot,this.Od=new ni,this.Kc=new ii,this.ed=new Bo,this.Qa=new ai,this.Ic=this.$c=this.Aa=0,this.D=new Ro,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=l(8,Ot),this.ia=0,this.pb=l(4,qo),this.Pa=new Do,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Sa),this.Hd=0,this.rb=Array(new Na),this.sb=0,this.wa=Array(new oi),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new zi),this.L=this.aa=0,this.gd=c([4,2],oi),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function si(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Uo(){var n=new zo;return n!=null&&(n.a=0,n.sc="OK",n.cb=0,n.Xb=0,fa||(fa=ka)),n}function Fe(n,o,f){return n.a==0&&(n.a=o,n.sc=f,n.cb=0),0}function Pa(n,o,f){return 3<=f&&n[o+0]==157&&n[o+1]==1&&n[o+2]==42}function _a(n,o){if(n==null)return 0;if(n.a=0,n.sc="OK",o==null)return Fe(n,2,"null VP8Io passed to VP8GetHeaders()");var f=o.data,p=o.w,b=o.ha;if(4>b)return Fe(n,7,"Truncated header.");var w=f[p+0]|f[p+1]<<8|f[p+2]<<16,x=n.Od;if(x.Rb=!(1&w),x.td=w>>1&7,x.yd=w>>4&1,x.ub=w>>5,3<x.td)return Fe(n,3,"Incorrect keyframe parameters.");if(!x.yd)return Fe(n,4,"Frame not displayable.");p+=3,b-=3;var N=n.Kc;if(x.Rb){if(7>b)return Fe(n,7,"cannot parse picture header");if(!Pa(f,p,b))return Fe(n,3,"Bad code word");N.c=16383&(f[p+4]<<8|f[p+3]),N.Td=f[p+4]>>6,N.i=16383&(f[p+6]<<8|f[p+5]),N.Ud=f[p+6]>>6,p+=7,b-=7,n.za=N.c+15>>4,n.Ub=N.i+15>>4,o.width=N.c,o.height=N.i,o.Da=0,o.j=0,o.v=0,o.va=o.width,o.o=o.height,o.da=0,o.ib=o.width,o.hb=o.height,o.U=o.width,o.T=o.height,s((w=n.Pa).jb,0,255,w.jb.length),e((w=n.Qa)!=null),w.Cb=0,w.Bb=0,w.Fb=1,s(w.Zb,0,0,w.Zb.length),s(w.Lb,0,0,w.Lb)}if(x.ub>b)return Fe(n,7,"bad partition length");lt(w=n.m,f,p,x.ub),p+=x.ub,b-=x.ub,x.Rb&&(N.Ld=nt(w),N.Kd=nt(w)),N=n.Qa;var P,I=n.Pa;if(e(w!=null),e(N!=null),N.Cb=nt(w),N.Cb){if(N.Bb=nt(w),nt(w)){for(N.Fb=nt(w),P=0;4>P;++P)N.Zb[P]=nt(w)?ft(w,7):0;for(P=0;4>P;++P)N.Lb[P]=nt(w)?ft(w,6):0}if(N.Bb)for(P=0;3>P;++P)I.jb[P]=nt(w)?ot(w,8):255}else N.Bb=0;if(w.Ka)return Fe(n,3,"cannot parse segment header");if((N=n.ed).zd=nt(w),N.Tb=ot(w,6),N.wb=ot(w,3),N.Pc=nt(w),N.Pc&&nt(w)){for(I=0;4>I;++I)nt(w)&&(N.vd[I]=ft(w,6));for(I=0;4>I;++I)nt(w)&&(N.od[I]=ft(w,6))}if(n.L=N.Tb==0?0:N.zd?1:2,w.Ka)return Fe(n,3,"cannot parse filter header");var H=b;if(b=P=p,p=P+H,N=H,n.Xb=(1<<ot(n.m,2))-1,H<3*(I=n.Xb))f=7;else{for(P+=3*I,N-=3*I,H=0;H<I;++H){var $=f[b+0]|f[b+1]<<8|f[b+2]<<16;$>N&&($=N),lt(n.Jc[+H],f,P,$),P+=$,N-=$,b+=3}lt(n.Jc[+I],f,P,N),f=P<p?0:5}if(f!=0)return Fe(n,f,"cannot parse partitions");for(f=ot(P=n.m,7),b=nt(P)?ft(P,4):0,p=nt(P)?ft(P,4):0,N=nt(P)?ft(P,4):0,I=nt(P)?ft(P,4):0,P=nt(P)?ft(P,4):0,H=n.Qa,$=0;4>$;++$){if(H.Cb){var K=H.Zb[$];H.Fb||(K+=f)}else{if(0<$){n.pb[$]=n.pb[0];continue}K=f}var J=n.pb[$];J.Sc[0]=ps[pr(K+b,127)],J.Sc[1]=ds[pr(K+0,127)],J.Eb[0]=2*ps[pr(K+p,127)],J.Eb[1]=101581*ds[pr(K+N,127)]>>16,8>J.Eb[1]&&(J.Eb[1]=8),J.Qc[0]=ps[pr(K+I,117)],J.Qc[1]=ds[pr(K+P,127)],J.lc=K+P}if(!x.Rb)return Fe(n,4,"Not a key frame.");for(nt(w),x=n.Pa,f=0;4>f;++f){for(b=0;8>b;++b)for(p=0;3>p;++p)for(N=0;11>N;++N)I=it(w,nc[f][b][p][N])?ot(w,8):ec[f][b][p][N],x.Wc[f][b].Yb[p][N]=I;for(b=0;17>b;++b)x.Xc[f][b]=x.Wc[f][ic[b]]}return n.kc=nt(w),n.kc&&(n.Bd=ot(w,8)),n.cb=1}function ka(n,o,f,p,b,w,x){var N=o[b].Yb[f];for(f=0;16>b;++b){if(!it(n,N[f+0]))return b;for(;!it(n,N[f+1]);)if(N=o[++b].Yb[0],f=0,b==16)return 16;var P=o[b+1].Yb;if(it(n,N[f+2])){var I=n,H=0;if(it(I,(K=N)[($=f)+3]))if(it(I,K[$+6])){for(N=0,$=2*(H=it(I,K[$+8]))+(K=it(I,K[$+9+H])),H=0,K=Qu[$];K[N];++N)H+=H+it(I,K[N]);H+=3+(8<<$)}else it(I,K[$+7])?(H=7+2*it(I,165),H+=it(I,145)):H=5+it(I,159);else H=it(I,K[$+4])?3+it(I,K[$+5]):2;N=P[2]}else H=1,N=P[1];P=x+tc[b],0>(I=n).b&&et(I);var $,K=I.b,J=($=I.Ca>>1)-(I.I>>K)>>31;--I.b,I.Ca+=J,I.Ca|=1,I.I-=($+1&J)<<K,w[P]=((H^J)-J)*p[(0<b)+0]}return 16}function Ui(n){var o=n.rb[n.sb-1];o.la=0,o.Na=0,s(n.zc,0,0,n.zc.length),n.ja=0}function Ho(n,o){if(n==null)return 0;if(o==null)return Fe(n,2,"NULL VP8Io parameter in VP8Decode().");if(!n.cb&&!_a(n,o))return 0;if(e(n.cb),o.ac==null||o.ac(o)){o.ob&&(n.L=0);var f=ro[n.L];if(n.L==2?(n.yb=0,n.zb=0):(n.yb=o.v-f>>4,n.zb=o.j-f>>4,0>n.yb&&(n.yb=0),0>n.zb&&(n.zb=0)),n.Va=o.o+15+f>>4,n.Hb=o.va+15+f>>4,n.Hb>n.za&&(n.Hb=n.za),n.Va>n.Ub&&(n.Va=n.Ub),0<n.L){var p=n.ed;for(f=0;4>f;++f){var b;if(n.Qa.Cb){var w=n.Qa.Lb[f];n.Qa.Fb||(w+=p.Tb)}else w=p.Tb;for(b=0;1>=b;++b){var x=n.gd[f][b],N=w;if(p.Pc&&(N+=p.vd[0],b&&(N+=p.od[0])),0<(N=0>N?0:63<N?63:N)){var P=N;0<p.wb&&(P=4<p.wb?P>>2:P>>1)>9-p.wb&&(P=9-p.wb),1>P&&(P=1),x.dd=P,x.tc=2*N+P,x.ld=40<=N?2:15<=N?1:0}else x.tc=0;x.La=b}}}f=0}else Fe(n,6,"Frame setup failed"),f=n.a;if(f=f==0){if(f){n.$c=0,0<n.Aa||(n.Ic=vc);t:{f=n.Ic,p=4*(P=n.za);var I=32*P,H=P+1,$=0<n.L?P*(0<n.Aa?2:1):0,K=(n.Aa==2?2:1)*P;if((x=p+832+(b=3*(16*f+ro[n.L])/2*I)+(w=n.Fa!=null&&0<n.Fa.length?n.Kc.c*n.Kc.i:0))!=x)f=0;else{if(x>n.Vb){if(n.Vb=0,n.Ec=a(x),n.Fc=0,n.Ec==null){f=Fe(n,1,"no memory during frame initialization.");break t}n.Vb=x}x=n.Ec,N=n.Fc,n.Ac=x,n.Bc=N,N+=p,n.Gd=l(I,Sa),n.Hd=0,n.rb=l(H+1,Na),n.sb=1,n.wa=$?l($,oi):null,n.Y=0,n.D.Nb=0,n.D.wa=n.wa,n.D.Y=n.Y,0<n.Aa&&(n.D.Y+=P),e(!0),n.oc=x,n.pc=N,N+=832,n.ya=l(K,zi),n.aa=0,n.D.ya=n.ya,n.D.aa=n.aa,n.Aa==2&&(n.D.aa+=P),n.R=16*P,n.B=8*P,P=(I=ro[n.L])*n.R,I=I/2*n.B,n.sa=x,n.ta=N+P,n.qa=n.sa,n.ra=n.ta+16*f*n.R+I,n.Ha=n.qa,n.Ia=n.ra+8*f*n.B+I,n.$c=0,N+=b,n.mb=w?x:null,n.nb=w?N:null,e(N+w<=n.Fc+n.Vb),Ui(n),s(n.Ac,n.Bc,0,p),f=1}}if(f){if(o.ka=0,o.y=n.sa,o.O=n.ta,o.f=n.qa,o.N=n.ra,o.ea=n.Ha,o.Vd=n.Ia,o.fa=n.R,o.Rc=n.B,o.F=null,o.J=0,!Ja){for(f=-255;255>=f;++f)Re[255+f]=0>f?-f:f;for(f=-1020;1020>=f;++f)hn[1020+f]=-128>f?-128:127<f?127:f;for(f=-112;112>=f;++f)ca[112+f]=-16>f?-16:15<f?15:f;for(f=-255;510>=f;++f)Si[255+f]=0>f?0:255<f?255:f;Ja=1}Ai=Go,fn=Wo,sa=Ia,nr=Vo,wr=Ca,Ie=Fa,Li=Yi,Ga=Un,la=as,Vn=Xi,Gn=is,Ln=pi,Jn=$i,Ni=Ra,Yn=qa,Nn=Kr,ua=ln,xr=ns,Er[0]=$r,Er[1]=Jo,Er[2]=Ko,Er[3]=Zo,Er[4]=Ta,Er[5]=fi,Er[6]=Ma,Er[7]=Vi,Er[8]=ts,Er[9]=Qo,Sn[0]=Oa,Sn[1]=Xo,Sn[2]=sn,Sn[3]=ui,Sn[4]=Xe,Sn[5]=$o,Sn[6]=ja,pn[0]=bn,pn[1]=Yo,pn[2]=es,pn[3]=Gi,pn[4]=zn,pn[5]=rs,pn[6]=Ji,f=1}else f=0}f&&(f=function(J,vt){for(J.M=0;J.M<J.Va;++J.M){var st,W=J.Jc[J.M&J.Xb],G=J.m,gt=J;for(st=0;st<gt.za;++st){var yt=G,mt=gt,Tt=mt.Ac,St=mt.Bc+4*st,qt=mt.zc,_t=mt.ya[mt.aa+st];if(mt.Qa.Bb?_t.$b=it(yt,mt.Pa.jb[0])?2+it(yt,mt.Pa.jb[2]):it(yt,mt.Pa.jb[1]):_t.$b=0,mt.kc&&(_t.Ad=it(yt,mt.Bd)),_t.Za=!it(yt,145)+0,_t.Za){var se=_t.Ob,fe=0;for(mt=0;4>mt;++mt){var ae,re=qt[0+mt];for(ae=0;4>ae;++ae){re=rc[Tt[St+ae]][re];for(var ve=il[it(yt,re[0])];0<ve;)ve=il[2*ve+it(yt,re[ve])];re=-ve,Tt[St+ae]=re}i(se,fe,Tt,St,4),fe+=4,qt[0+mt]=re}}else re=it(yt,156)?it(yt,128)?1:3:it(yt,163)?2:0,_t.Ob[0]=re,s(Tt,St,re,4),s(qt,0,re,4);_t.Dd=it(yt,142)?it(yt,114)?it(yt,183)?1:3:2:0}if(gt.m.Ka)return Fe(J,7,"Premature end-of-partition0 encountered.");for(;J.ja<J.za;++J.ja){if(gt=W,yt=(G=J).rb[G.sb-1],Tt=G.rb[G.sb+G.ja],st=G.ya[G.aa+G.ja],St=G.kc?st.Ad:0)yt.la=Tt.la=0,st.Za||(yt.Na=Tt.Na=0),st.Hc=0,st.Gc=0,st.ia=0;else{var de,Zt;if(yt=Tt,Tt=gt,St=G.Pa.Xc,qt=G.ya[G.aa+G.ja],_t=G.pb[qt.$b],mt=qt.ad,se=0,fe=G.rb[G.sb-1],re=ae=0,s(mt,se,0,384),qt.Za)var De=0,ur=St[3];else{ve=a(16);var Be=yt.Na+fe.Na;if(Be=fa(Tt,St[1],Be,_t.Eb,0,ve,0),yt.Na=fe.Na=(0<Be)+0,1<Be)Ai(ve,0,mt,se);else{var cr=ve[0]+3>>3;for(ve=0;256>ve;ve+=16)mt[se+ve]=cr}De=1,ur=St[0]}var he=15&yt.la,gr=15&fe.la;for(ve=0;4>ve;++ve){var mr=1&gr;for(cr=Zt=0;4>cr;++cr)he=he>>1|(mr=(Be=fa(Tt,ur,Be=mr+(1&he),_t.Sc,De,mt,se))>De)<<7,Zt=Zt<<2|(3<Be?3:1<Be?2:mt[se+0]!=0),se+=16;he>>=4,gr=gr>>1|mr<<7,ae=(ae<<8|Zt)>>>0}for(ur=he,De=gr>>4,de=0;4>de;de+=2){for(Zt=0,he=yt.la>>4+de,gr=fe.la>>4+de,ve=0;2>ve;++ve){for(mr=1&gr,cr=0;2>cr;++cr)Be=mr+(1&he),he=he>>1|(mr=0<(Be=fa(Tt,St[2],Be,_t.Qc,0,mt,se)))<<3,Zt=Zt<<2|(3<Be?3:1<Be?2:mt[se+0]!=0),se+=16;he>>=2,gr=gr>>1|mr<<5}re|=Zt<<4*de,ur|=he<<4<<de,De|=(240&gr)<<de}yt.la=ur,fe.la=De,qt.Hc=ae,qt.Gc=re,qt.ia=43690&re?0:_t.ia,St=!(ae|re)}if(0<G.L&&(G.wa[G.Y+G.ja]=G.gd[st.$b][st.Za],G.wa[G.Y+G.ja].La|=!St),gt.Ka)return Fe(J,7,"Premature end-of-file encountered.")}if(Ui(J),G=vt,gt=1,st=(W=J).D,yt=0<W.L&&W.M>=W.zb&&W.M<=W.Va,W.Aa==0)t:{if(st.M=W.M,st.uc=yt,ra(W,st),gt=1,st=(Zt=W.D).Nb,yt=(re=ro[W.L])*W.R,Tt=re/2*W.B,ve=16*st*W.R,cr=8*st*W.B,St=W.sa,qt=W.ta-yt+ve,_t=W.qa,mt=W.ra-Tt+cr,se=W.Ha,fe=W.Ia-Tt+cr,gr=(he=Zt.M)==0,ae=he>=W.Va-1,W.Aa==2&&ra(W,Zt),Zt.uc)for(mr=(Be=W).D.M,e(Be.D.uc),Zt=Be.yb;Zt<Be.Hb;++Zt){De=Zt,ur=mr;var Ue=(Je=(_e=Be).D).Nb;de=_e.R;var Je=Je.wa[Je.Y+De],ir=_e.sa,Sr=_e.ta+16*Ue*de+16*De,Qr=Je.dd,He=Je.tc;if(He!=0)if(e(3<=He),_e.L==1)0<De&&Nn(ir,Sr,de,He+4),Je.La&&xr(ir,Sr,de,He),0<ur&&Yn(ir,Sr,de,He+4),Je.La&&ua(ir,Sr,de,He);else{var dn=_e.B,Xn=_e.qa,Pi=_e.ra+8*Ue*dn+8*De,_n=_e.Ha,_e=_e.Ia+8*Ue*dn+8*De;Ue=Je.ld,0<De&&(Ga(ir,Sr,de,He+4,Qr,Ue),Vn(Xn,Pi,_n,_e,dn,He+4,Qr,Ue)),Je.La&&(Ln(ir,Sr,de,He,Qr,Ue),Ni(Xn,Pi,_n,_e,dn,He,Qr,Ue)),0<ur&&(Li(ir,Sr,de,He+4,Qr,Ue),la(Xn,Pi,_n,_e,dn,He+4,Qr,Ue)),Je.La&&(Gn(ir,Sr,de,He,Qr,Ue),Jn(Xn,Pi,_n,_e,dn,He,Qr,Ue))}}if(W.ia&&alert("todo:DitherRow"),G.put!=null){if(Zt=16*he,he=16*(he+1),gr?(G.y=W.sa,G.O=W.ta+ve,G.f=W.qa,G.N=W.ra+cr,G.ea=W.Ha,G.W=W.Ia+cr):(Zt-=re,G.y=St,G.O=qt,G.f=_t,G.N=mt,G.ea=se,G.W=fe),ae||(he-=re),he>G.o&&(he=G.o),G.F=null,G.J=null,W.Fa!=null&&0<W.Fa.length&&Zt<he&&(G.J=ta(W,G,Zt,he-Zt),G.F=W.mb,G.F==null&&G.F.length==0)){gt=Fe(W,3,"Could not decode alpha data.");break t}Zt<G.j&&(re=G.j-Zt,Zt=G.j,e(!(1&re)),G.O+=W.R*re,G.N+=W.B*(re>>1),G.W+=W.B*(re>>1),G.F!=null&&(G.J+=G.width*re)),Zt<he&&(G.O+=G.v,G.N+=G.v>>1,G.W+=G.v>>1,G.F!=null&&(G.J+=G.v),G.ka=Zt-G.j,G.U=G.va-G.v,G.T=he-Zt,gt=G.put(G))}st+1!=W.Ic||ae||(i(W.sa,W.ta-yt,St,qt+16*W.R,yt),i(W.qa,W.ra-Tt,_t,mt+8*W.B,Tt),i(W.Ha,W.Ia-Tt,se,fe+8*W.B,Tt))}if(!gt)return Fe(J,6,"Output aborted.")}return 1}(n,o)),o.bc!=null&&o.bc(o),f&=1}return f?(n.cb=0,f):0}function jr(n,o,f,p,b){b=n[o+f+32*p]+(b>>3),n[o+f+32*p]=-256&b?0>b?0:255:b}function li(n,o,f,p,b,w){jr(n,o,0,f,p+b),jr(n,o,1,f,p+w),jr(n,o,2,f,p-w),jr(n,o,3,f,p-b)}function or(n){return(20091*n>>16)+n}function Hi(n,o,f,p){var b,w=0,x=a(16);for(b=0;4>b;++b){var N=n[o+0]+n[o+8],P=n[o+0]-n[o+8],I=(35468*n[o+4]>>16)-or(n[o+12]),H=or(n[o+4])+(35468*n[o+12]>>16);x[w+0]=N+H,x[w+1]=P+I,x[w+2]=P-I,x[w+3]=N-H,w+=4,o++}for(b=w=0;4>b;++b)N=(n=x[w+0]+4)+x[w+8],P=n-x[w+8],I=(35468*x[w+4]>>16)-or(x[w+12]),jr(f,p,0,0,N+(H=or(x[w+4])+(35468*x[w+12]>>16))),jr(f,p,1,0,P+I),jr(f,p,2,0,P-I),jr(f,p,3,0,N-H),w++,p+=32}function Fa(n,o,f,p){var b=n[o+0]+4,w=35468*n[o+4]>>16,x=or(n[o+4]),N=35468*n[o+1]>>16;li(f,p,0,b+x,n=or(n[o+1]),N),li(f,p,1,b+w,n,N),li(f,p,2,b-w,n,N),li(f,p,3,b-x,n,N)}function Wo(n,o,f,p,b){Hi(n,o,f,p),b&&Hi(n,o+16,f,p+4)}function Ia(n,o,f,p){fn(n,o+0,f,p,1),fn(n,o+32,f,p+128,1)}function Vo(n,o,f,p){var b;for(n=n[o+0]+4,b=0;4>b;++b)for(o=0;4>o;++o)jr(f,p,o,b,n)}function Ca(n,o,f,p){n[o+0]&&nr(n,o+0,f,p),n[o+16]&&nr(n,o+16,f,p+4),n[o+32]&&nr(n,o+32,f,p+128),n[o+48]&&nr(n,o+48,f,p+128+4)}function Go(n,o,f,p){var b,w=a(16);for(b=0;4>b;++b){var x=n[o+0+b]+n[o+12+b],N=n[o+4+b]+n[o+8+b],P=n[o+4+b]-n[o+8+b],I=n[o+0+b]-n[o+12+b];w[0+b]=x+N,w[8+b]=x-N,w[4+b]=I+P,w[12+b]=I-P}for(b=0;4>b;++b)x=(n=w[0+4*b]+3)+w[3+4*b],N=w[1+4*b]+w[2+4*b],P=w[1+4*b]-w[2+4*b],I=n-w[3+4*b],f[p+0]=x+N>>3,f[p+16]=I+P>>3,f[p+32]=x-N>>3,f[p+48]=I-P>>3,p+=64}function Wi(n,o,f){var p,b=o-32,w=dr,x=255-n[b-1];for(p=0;p<f;++p){var N,P=w,I=x+n[o-1];for(N=0;N<f;++N)n[o+N]=P[I+n[b+N]];o+=32}}function Jo(n,o){Wi(n,o,4)}function Yo(n,o){Wi(n,o,8)}function Xo(n,o){Wi(n,o,16)}function sn(n,o){var f;for(f=0;16>f;++f)i(n,o+32*f,n,o-32,16)}function ui(n,o){var f;for(f=16;0<f;--f)s(n,o,n[o-1],16),o+=32}function ci(n,o,f){var p;for(p=0;16>p;++p)s(o,f+32*p,n,16)}function Oa(n,o){var f,p=16;for(f=0;16>f;++f)p+=n[o-1+32*f]+n[o+f-32];ci(p>>5,n,o)}function Xe(n,o){var f,p=8;for(f=0;16>f;++f)p+=n[o-1+32*f];ci(p>>4,n,o)}function $o(n,o){var f,p=8;for(f=0;16>f;++f)p+=n[o+f-32];ci(p>>4,n,o)}function ja(n,o){ci(128,n,o)}function Vt(n,o,f){return n+2*o+f+2>>2}function Ko(n,o){var f,p=o-32;for(p=new Uint8Array([Vt(n[p-1],n[p+0],n[p+1]),Vt(n[p+0],n[p+1],n[p+2]),Vt(n[p+1],n[p+2],n[p+3]),Vt(n[p+2],n[p+3],n[p+4])]),f=0;4>f;++f)i(n,o+32*f,p,0,p.length)}function Zo(n,o){var f=n[o-1],p=n[o-1+32],b=n[o-1+64],w=n[o-1+96];Lt(n,o+0,16843009*Vt(n[o-1-32],f,p)),Lt(n,o+32,16843009*Vt(f,p,b)),Lt(n,o+64,16843009*Vt(p,b,w)),Lt(n,o+96,16843009*Vt(b,w,w))}function $r(n,o){var f,p=4;for(f=0;4>f;++f)p+=n[o+f-32]+n[o-1+32*f];for(p>>=3,f=0;4>f;++f)s(n,o+32*f,p,4)}function Ta(n,o){var f=n[o-1+0],p=n[o-1+32],b=n[o-1+64],w=n[o-1-32],x=n[o+0-32],N=n[o+1-32],P=n[o+2-32],I=n[o+3-32];n[o+0+96]=Vt(p,b,n[o-1+96]),n[o+1+96]=n[o+0+64]=Vt(f,p,b),n[o+2+96]=n[o+1+64]=n[o+0+32]=Vt(w,f,p),n[o+3+96]=n[o+2+64]=n[o+1+32]=n[o+0+0]=Vt(x,w,f),n[o+3+64]=n[o+2+32]=n[o+1+0]=Vt(N,x,w),n[o+3+32]=n[o+2+0]=Vt(P,N,x),n[o+3+0]=Vt(I,P,N)}function Ma(n,o){var f=n[o+1-32],p=n[o+2-32],b=n[o+3-32],w=n[o+4-32],x=n[o+5-32],N=n[o+6-32],P=n[o+7-32];n[o+0+0]=Vt(n[o+0-32],f,p),n[o+1+0]=n[o+0+32]=Vt(f,p,b),n[o+2+0]=n[o+1+32]=n[o+0+64]=Vt(p,b,w),n[o+3+0]=n[o+2+32]=n[o+1+64]=n[o+0+96]=Vt(b,w,x),n[o+3+32]=n[o+2+64]=n[o+1+96]=Vt(w,x,N),n[o+3+64]=n[o+2+96]=Vt(x,N,P),n[o+3+96]=Vt(N,P,P)}function fi(n,o){var f=n[o-1+0],p=n[o-1+32],b=n[o-1+64],w=n[o-1-32],x=n[o+0-32],N=n[o+1-32],P=n[o+2-32],I=n[o+3-32];n[o+0+0]=n[o+1+64]=w+x+1>>1,n[o+1+0]=n[o+2+64]=x+N+1>>1,n[o+2+0]=n[o+3+64]=N+P+1>>1,n[o+3+0]=P+I+1>>1,n[o+0+96]=Vt(b,p,f),n[o+0+64]=Vt(p,f,w),n[o+0+32]=n[o+1+96]=Vt(f,w,x),n[o+1+32]=n[o+2+96]=Vt(w,x,N),n[o+2+32]=n[o+3+96]=Vt(x,N,P),n[o+3+32]=Vt(N,P,I)}function Vi(n,o){var f=n[o+0-32],p=n[o+1-32],b=n[o+2-32],w=n[o+3-32],x=n[o+4-32],N=n[o+5-32],P=n[o+6-32],I=n[o+7-32];n[o+0+0]=f+p+1>>1,n[o+1+0]=n[o+0+64]=p+b+1>>1,n[o+2+0]=n[o+1+64]=b+w+1>>1,n[o+3+0]=n[o+2+64]=w+x+1>>1,n[o+0+32]=Vt(f,p,b),n[o+1+32]=n[o+0+96]=Vt(p,b,w),n[o+2+32]=n[o+1+96]=Vt(b,w,x),n[o+3+32]=n[o+2+96]=Vt(w,x,N),n[o+3+64]=Vt(x,N,P),n[o+3+96]=Vt(N,P,I)}function Qo(n,o){var f=n[o-1+0],p=n[o-1+32],b=n[o-1+64],w=n[o-1+96];n[o+0+0]=f+p+1>>1,n[o+2+0]=n[o+0+32]=p+b+1>>1,n[o+2+32]=n[o+0+64]=b+w+1>>1,n[o+1+0]=Vt(f,p,b),n[o+3+0]=n[o+1+32]=Vt(p,b,w),n[o+3+32]=n[o+1+64]=Vt(b,w,w),n[o+3+64]=n[o+2+64]=n[o+0+96]=n[o+1+96]=n[o+2+96]=n[o+3+96]=w}function ts(n,o){var f=n[o-1+0],p=n[o-1+32],b=n[o-1+64],w=n[o-1+96],x=n[o-1-32],N=n[o+0-32],P=n[o+1-32],I=n[o+2-32];n[o+0+0]=n[o+2+32]=f+x+1>>1,n[o+0+32]=n[o+2+64]=p+f+1>>1,n[o+0+64]=n[o+2+96]=b+p+1>>1,n[o+0+96]=w+b+1>>1,n[o+3+0]=Vt(N,P,I),n[o+2+0]=Vt(x,N,P),n[o+1+0]=n[o+3+32]=Vt(f,x,N),n[o+1+32]=n[o+3+64]=Vt(p,f,x),n[o+1+64]=n[o+3+96]=Vt(b,p,f),n[o+1+96]=Vt(w,b,p)}function es(n,o){var f;for(f=0;8>f;++f)i(n,o+32*f,n,o-32,8)}function Gi(n,o){var f;for(f=0;8>f;++f)s(n,o,n[o-1],8),o+=32}function Rn(n,o,f){var p;for(p=0;8>p;++p)s(o,f+32*p,n,8)}function bn(n,o){var f,p=8;for(f=0;8>f;++f)p+=n[o+f-32]+n[o-1+32*f];Rn(p>>4,n,o)}function rs(n,o){var f,p=4;for(f=0;8>f;++f)p+=n[o+f-32];Rn(p>>3,n,o)}function zn(n,o){var f,p=4;for(f=0;8>f;++f)p+=n[o-1+32*f];Rn(p>>3,n,o)}function Ji(n,o){Rn(128,n,o)}function hi(n,o,f){var p=n[o-f],b=n[o+0],w=3*(b-p)+ls[1020+n[o-2*f]-n[o+f]],x=Ya[112+(w+4>>3)];n[o-f]=dr[255+p+Ya[112+(w+3>>3)]],n[o+0]=dr[255+b-x]}function Ea(n,o,f,p){var b=n[o+0],w=n[o+f];return Lr[255+n[o-2*f]-n[o-f]]>p||Lr[255+w-b]>p}function Da(n,o,f,p){return 4*Lr[255+n[o-f]-n[o+0]]+Lr[255+n[o-2*f]-n[o+f]]<=p}function Ba(n,o,f,p,b){var w=n[o-3*f],x=n[o-2*f],N=n[o-f],P=n[o+0],I=n[o+f],H=n[o+2*f],$=n[o+3*f];return 4*Lr[255+N-P]+Lr[255+x-I]>p?0:Lr[255+n[o-4*f]-w]<=b&&Lr[255+w-x]<=b&&Lr[255+x-N]<=b&&Lr[255+$-H]<=b&&Lr[255+H-I]<=b&&Lr[255+I-P]<=b}function qa(n,o,f,p){var b=2*p+1;for(p=0;16>p;++p)Da(n,o+p,f,b)&&hi(n,o+p,f)}function Kr(n,o,f,p){var b=2*p+1;for(p=0;16>p;++p)Da(n,o+p*f,1,b)&&hi(n,o+p*f,1)}function ln(n,o,f,p){var b;for(b=3;0<b;--b)qa(n,o+=4*f,f,p)}function ns(n,o,f,p){var b;for(b=3;0<b;--b)Kr(n,o+=4,f,p)}function yn(n,o,f,p,b,w,x,N){for(w=2*w+1;0<b--;){if(Ba(n,o,f,w,x))if(Ea(n,o,f,N))hi(n,o,f);else{var P=n,I=o,H=f,$=P[I-2*H],K=P[I-H],J=P[I+0],vt=P[I+H],st=P[I+2*H],W=27*(gt=ls[1020+3*(J-K)+ls[1020+$-vt]])+63>>7,G=18*gt+63>>7,gt=9*gt+63>>7;P[I-3*H]=dr[255+P[I-3*H]+gt],P[I-2*H]=dr[255+$+G],P[I-H]=dr[255+K+W],P[I+0]=dr[255+J-W],P[I+H]=dr[255+vt-G],P[I+2*H]=dr[255+st-gt]}o+=p}}function Tr(n,o,f,p,b,w,x,N){for(w=2*w+1;0<b--;){if(Ba(n,o,f,w,x))if(Ea(n,o,f,N))hi(n,o,f);else{var P=n,I=o,H=f,$=P[I-H],K=P[I+0],J=P[I+H],vt=Ya[112+((st=3*(K-$))+4>>3)],st=Ya[112+(st+3>>3)],W=vt+1>>1;P[I-2*H]=dr[255+P[I-2*H]+W],P[I-H]=dr[255+$+st],P[I+0]=dr[255+K-vt],P[I+H]=dr[255+J-W]}o+=p}}function Yi(n,o,f,p,b,w){yn(n,o,f,1,16,p,b,w)}function Un(n,o,f,p,b,w){yn(n,o,1,f,16,p,b,w)}function is(n,o,f,p,b,w){var x;for(x=3;0<x;--x)Tr(n,o+=4*f,f,1,16,p,b,w)}function pi(n,o,f,p,b,w){var x;for(x=3;0<x;--x)Tr(n,o+=4,1,f,16,p,b,w)}function as(n,o,f,p,b,w,x,N){yn(n,o,b,1,8,w,x,N),yn(f,p,b,1,8,w,x,N)}function Xi(n,o,f,p,b,w,x,N){yn(n,o,1,b,8,w,x,N),yn(f,p,1,b,8,w,x,N)}function $i(n,o,f,p,b,w,x,N){Tr(n,o+4*b,b,1,8,w,x,N),Tr(f,p+4*b,b,1,8,w,x,N)}function Ra(n,o,f,p,b,w,x,N){Tr(n,o+4,1,b,8,w,x,N),Tr(f,p+4,1,b,8,w,x,N)}function di(){this.ba=new kr,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Se,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Ki(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Zi(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function za(){this.ua=0,this.Wa=new D,this.vb=new D,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new B,this.yc=new F}function os(){this.xb=this.a=0,this.l=new si,this.ca=new kr,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new L,this.Pb=0,this.wd=new L,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new za,this.ab=0,this.gc=l(4,Zi),this.Oc=0}function gi(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new si,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Hn(n,o,f,p,b,w,x){for(n=n==null?0:n[o+0],o=0;o<x;++o)b[w+o]=n+f[p+o]&255,n=b[w+o]}function Qi(n,o,f,p,b,w,x){var N;if(n==null)Hn(null,null,f,p,b,w,x);else for(N=0;N<x;++N)b[w+N]=n[o+N]+f[p+N]&255}function wn(n,o,f,p,b,w,x){if(n==null)Hn(null,null,f,p,b,w,x);else{var N,P=n[o+0],I=P,H=P;for(N=0;N<x;++N)I=H+(P=n[o+N])-I,H=f[p+N]+(-256&I?0>I?0:255:I)&255,I=P,b[w+N]=H}}function ta(n,o,f,p){var b=o.width,w=o.o;if(e(n!=null&&o!=null),0>f||0>=p||f+p>w)return null;if(!n.Cc){if(n.ga==null){var x;if(n.ga=new gi,(x=n.ga==null)||(x=o.width*o.o,e(n.Gb.length==0),n.Gb=a(x),n.Uc=0,n.Gb==null?x=0:(n.mb=n.Gb,n.nb=n.Uc,n.rc=null,x=1),x=!x),!x){x=n.ga;var N=n.Fa,P=n.P,I=n.qc,H=n.mb,$=n.nb,K=P+1,J=I-1,vt=x.l;if(e(N!=null&&H!=null&&o!=null),Pn[0]=null,Pn[1]=Hn,Pn[2]=Qi,Pn[3]=wn,x.ca=H,x.tb=$,x.c=o.width,x.i=o.height,e(0<x.c&&0<x.i),1>=I)o=0;else if(x.$a=N[P+0]>>0&3,x.Z=N[P+0]>>2&3,x.Lc=N[P+0]>>4&3,P=N[P+0]>>6&3,0>x.$a||1<x.$a||4<=x.Z||1<x.Lc||P)o=0;else if(vt.put=Vr,vt.ac=Ve,vt.bc=Gr,vt.ma=x,vt.width=o.width,vt.height=o.height,vt.Da=o.Da,vt.v=o.v,vt.va=o.va,vt.j=o.j,vt.o=o.o,x.$a)t:{e(x.$a==1),o=br();e:for(;;){if(o==null){o=0;break t}if(e(x!=null),x.mc=o,o.c=x.c,o.i=x.i,o.l=x.l,o.l.ma=x,o.l.width=x.c,o.l.height=x.i,o.a=0,Z(o.m,N,K,J),!Xr(x.c,x.i,1,o,null)||(o.ab==1&&o.gc[0].hc==3&&on(o.s)?(x.ic=1,N=o.c*o.i,o.Ta=null,o.Ua=0,o.V=a(N),o.Ba=0,o.V==null?(o.a=1,o=0):o=1):(x.ic=0,o=qn(o,x.c)),!o))break e;o=1;break t}x.mc=null,o=0}else o=J>=x.c*x.i;x=!o}if(x)return null;n.ga.Lc!=1?n.Ga=0:p=w-f}e(n.ga!=null),e(f+p<=w);t:{if(o=(N=n.ga).c,w=N.l.o,N.$a==0){if(K=n.rc,J=n.Vc,vt=n.Fa,P=n.P+1+f*o,I=n.mb,H=n.nb+f*o,e(P<=n.P+n.qc),N.Z!=0)for(e(Pn[N.Z]!=null),x=0;x<p;++x)Pn[N.Z](K,J,vt,P,I,H,o),K=I,J=H,H+=o,P+=o;else for(x=0;x<p;++x)i(I,H,vt,P,o),K=I,J=H,H+=o,P+=o;n.rc=K,n.Vc=J}else{if(e(N.mc!=null),o=f+p,e((x=N.mc)!=null),e(o<=x.i),x.C>=o)o=1;else if(N.ic||X(),N.ic){N=x.V,K=x.Ba,J=x.c;var st=x.i,W=(vt=1,P=x.$/J,I=x.$%J,H=x.m,$=x.s,x.$),G=J*st,gt=J*o,yt=$.wc,mt=W<gt?Me($,I,P):null;e(W<=G),e(o<=st),e(on($));e:for(;;){for(;!H.h&&W<gt;){if(I&yt||(mt=Me($,I,P)),e(mt!=null),Y(H),256>(st=ar(mt.G[0],mt.H[0],H)))N[K+W]=st,++W,++I>=J&&(I=0,++P<=o&&!(P%16)&&Cr(x,P));else{if(!(280>st)){vt=0;break e}st=Fr(st-256,H);var Tt,St=ar(mt.G[4],mt.H[4],H);if(Y(H),!(W>=(St=Jr(J,St=Fr(St,H)))&&G-W>=st)){vt=0;break e}for(Tt=0;Tt<st;++Tt)N[K+W+Tt]=N[K+W+Tt-St];for(W+=st,I+=st;I>=J;)I-=J,++P<=o&&!(P%16)&&Cr(x,P);W<gt&&I&yt&&(mt=Me($,I,P))}e(H.h==E(H))}Cr(x,P>o?o:P);break e}!vt||H.h&&W<G?(vt=0,x.a=H.h?5:3):x.$=W,o=vt}else o=Or(x,x.V,x.Ba,x.c,x.i,o,ri);if(!o){p=0;break t}}f+p>=w&&(n.Cc=1),p=1}if(!p)return null;if(n.Cc&&((p=n.ga)!=null&&(p.mc=null),n.ga=null,0<n.Ga))return alert("todo:WebPDequantizeLevels"),null}return n.nb+f*b}function u(n,o,f,p,b,w){for(;0<b--;){var x,N=n,P=o+(f?1:0),I=n,H=o+(f?0:3);for(x=0;x<p;++x){var $=I[H+4*x];$!=255&&($*=32897,N[P+4*x+0]=N[P+4*x+0]*$>>23,N[P+4*x+1]=N[P+4*x+1]*$>>23,N[P+4*x+2]=N[P+4*x+2]*$>>23)}o+=w}}function y(n,o,f,p,b){for(;0<p--;){var w;for(w=0;w<f;++w){var x=n[o+2*w+0],N=15&(I=n[o+2*w+1]),P=4369*N,I=(240&I|I>>4)*P>>16;n[o+2*w+0]=(240&x|x>>4)*P>>16&240|(15&x|x<<4)*P>>16>>4&15,n[o+2*w+1]=240&I|N}o+=b}}function M(n,o,f,p,b,w,x,N){var P,I,H=255;for(I=0;I<b;++I){for(P=0;P<p;++P){var $=n[o+P];w[x+4*P]=$,H&=$}o+=f,x+=N}return H!=255}function R(n,o,f,p,b){var w;for(w=0;w<b;++w)f[p+w]=n[o+w]>>8}function X(){Ar=u,ye=y,we=M,Ce=R}function ut(n,o,f){q[n]=function(p,b,w,x,N,P,I,H,$,K,J,vt,st,W,G,gt,yt){var mt,Tt=yt-1>>1,St=N[P+0]|I[H+0]<<16,qt=$[K+0]|J[vt+0]<<16;e(p!=null);var _t=3*St+qt+131074>>2;for(o(p[b+0],255&_t,_t>>16,st,W),w!=null&&(_t=3*qt+St+131074>>2,o(w[x+0],255&_t,_t>>16,G,gt)),mt=1;mt<=Tt;++mt){var se=N[P+mt]|I[H+mt]<<16,fe=$[K+mt]|J[vt+mt]<<16,ae=St+se+qt+fe+524296,re=ae+2*(se+qt)>>3;_t=re+St>>1,St=(ae=ae+2*(St+fe)>>3)+se>>1,o(p[b+2*mt-1],255&_t,_t>>16,st,W+(2*mt-1)*f),o(p[b+2*mt-0],255&St,St>>16,st,W+(2*mt-0)*f),w!=null&&(_t=ae+qt>>1,St=re+fe>>1,o(w[x+2*mt-1],255&_t,_t>>16,G,gt+(2*mt-1)*f),o(w[x+2*mt+0],255&St,St>>16,G,gt+(2*mt+0)*f)),St=se,qt=fe}1&yt||(_t=3*St+qt+131074>>2,o(p[b+yt-1],255&_t,_t>>16,st,W+(yt-1)*f),w!=null&&(_t=3*qt+St+131074>>2,o(w[x+yt-1],255&_t,_t>>16,G,gt+(yt-1)*f)))}}function wt(){Nr[Xa]=oc,Nr[$a]=ol,Nr[el]=sc,Nr[Ka]=sl,Nr[Za]=ll,Nr[us]=ul,Nr[rl]=lc,Nr[cs]=ol,Nr[fs]=sl,Nr[Qa]=ll,Nr[hs]=ul}function jt(n){return n&~uc?0>n?0:255:n>>cl}function Bt(n,o){return jt((19077*n>>8)+(26149*o>>8)-14234)}function Kt(n,o,f){return jt((19077*n>>8)-(6419*o>>8)-(13320*f>>8)+8708)}function Yt(n,o){return jt((19077*n>>8)+(33050*o>>8)-17685)}function ne(n,o,f,p,b){p[b+0]=Bt(n,f),p[b+1]=Kt(n,o,f),p[b+2]=Yt(n,o)}function Ae(n,o,f,p,b){p[b+0]=Yt(n,o),p[b+1]=Kt(n,o,f),p[b+2]=Bt(n,f)}function Pe(n,o,f,p,b){var w=Kt(n,o,f);o=w<<3&224|Yt(n,o)>>3,p[b+0]=248&Bt(n,f)|w>>5,p[b+1]=o}function Ee(n,o,f,p,b){var w=240&Yt(n,o)|15;p[b+0]=240&Bt(n,f)|Kt(n,o,f)>>4,p[b+1]=w}function $e(n,o,f,p,b){p[b+0]=255,ne(n,o,f,p,b+1)}function ze(n,o,f,p,b){Ae(n,o,f,p,b),p[b+3]=255}function Mr(n,o,f,p,b){ne(n,o,f,p,b),p[b+3]=255}function pr(n,o){return 0>n?0:n>o?o:n}function Zr(n,o,f){q[n]=function(p,b,w,x,N,P,I,H,$){for(var K=H+(-2&$)*f;H!=K;)o(p[b+0],w[x+0],N[P+0],I,H),o(p[b+1],w[x+0],N[P+0],I,H+f),b+=2,++x,++P,H+=2*f;1&$&&o(p[b+0],w[x+0],N[P+0],I,H)}}function Ua(n,o,f){return f==0?n==0?o==0?6:5:o==0?4:0:f}function ea(n,o,f,p,b){switch(n>>>30){case 3:fn(o,f,p,b,0);break;case 2:Ie(o,f,p,b);break;case 1:nr(o,f,p,b)}}function ra(n,o){var f,p,b=o.M,w=o.Nb,x=n.oc,N=n.pc+40,P=n.oc,I=n.pc+584,H=n.oc,$=n.pc+600;for(f=0;16>f;++f)x[N+32*f-1]=129;for(f=0;8>f;++f)P[I+32*f-1]=129,H[$+32*f-1]=129;for(0<b?x[N-1-32]=P[I-1-32]=H[$-1-32]=129:(s(x,N-32-1,127,21),s(P,I-32-1,127,9),s(H,$-32-1,127,9)),p=0;p<n.za;++p){var K=o.ya[o.aa+p];if(0<p){for(f=-1;16>f;++f)i(x,N+32*f-4,x,N+32*f+12,4);for(f=-1;8>f;++f)i(P,I+32*f-4,P,I+32*f+4,4),i(H,$+32*f-4,H,$+32*f+4,4)}var J=n.Gd,vt=n.Hd+p,st=K.ad,W=K.Hc;if(0<b&&(i(x,N-32,J[vt].y,0,16),i(P,I-32,J[vt].f,0,8),i(H,$-32,J[vt].ea,0,8)),K.Za){var G=x,gt=N-32+16;for(0<b&&(p>=n.za-1?s(G,gt,J[vt].y[15],4):i(G,gt,J[vt+1].y,0,4)),f=0;4>f;f++)G[gt+128+f]=G[gt+256+f]=G[gt+384+f]=G[gt+0+f];for(f=0;16>f;++f,W<<=2)G=x,gt=N+hl[f],Er[K.Ob[f]](G,gt),ea(W,st,16*+f,G,gt)}else if(G=Ua(p,b,K.Ob[0]),Sn[G](x,N),W!=0)for(f=0;16>f;++f,W<<=2)ea(W,st,16*+f,x,N+hl[f]);for(f=K.Gc,G=Ua(p,b,K.Dd),pn[G](P,I),pn[G](H,$),W=st,G=P,gt=I,255&(K=f>>0)&&(170&K?sa(W,256,G,gt):wr(W,256,G,gt)),K=H,W=$,255&(f>>=8)&&(170&f?sa(st,320,K,W):wr(st,320,K,W)),b<n.Ub-1&&(i(J[vt].y,0,x,N+480,16),i(J[vt].f,0,P,I+224,8),i(J[vt].ea,0,H,$+224,8)),f=8*w*n.B,J=n.sa,vt=n.ta+16*p+16*w*n.R,st=n.qa,K=n.ra+8*p+f,W=n.Ha,G=n.Ia+8*p+f,f=0;16>f;++f)i(J,vt+f*n.R,x,N+32*f,16);for(f=0;8>f;++f)i(st,K+f*n.B,P,I+32*f,8),i(W,G+f*n.B,H,$+32*f,8)}}function mi(n,o,f,p,b,w,x,N,P){var I=[0],H=[0],$=0,K=P!=null?P.kd:0,J=P??new Ki;if(n==null||12>f)return 7;J.data=n,J.w=o,J.ha=f,o=[o],f=[f],J.gb=[J.gb];t:{var vt=o,st=f,W=J.gb;if(e(n!=null),e(st!=null),e(W!=null),W[0]=0,12<=st[0]&&!r(n,vt[0],"RIFF")){if(r(n,vt[0]+8,"WEBP")){W=3;break t}var G=Pt(n,vt[0]+4);if(12>G||4294967286<G){W=3;break t}if(K&&G>st[0]-8){W=7;break t}W[0]=G,vt[0]+=12,st[0]-=12}W=0}if(W!=0)return W;for(G=0<J.gb[0],f=f[0];;){t:{var gt=n;st=o,W=f;var yt=I,mt=H,Tt=vt=[0];if((_t=$=[$])[0]=0,8>W[0])W=7;else{if(!r(gt,st[0],"VP8X")){if(Pt(gt,st[0]+4)!=10){W=3;break t}if(18>W[0]){W=7;break t}var St=Pt(gt,st[0]+8),qt=1+Ft(gt,st[0]+12);if(2147483648<=qt*(gt=1+Ft(gt,st[0]+15))){W=3;break t}Tt!=null&&(Tt[0]=St),yt!=null&&(yt[0]=qt),mt!=null&&(mt[0]=gt),st[0]+=18,W[0]-=18,_t[0]=1}W=0}}if($=$[0],vt=vt[0],W!=0)return W;if(st=!!(2&vt),!G&&$)return 3;if(w!=null&&(w[0]=!!(16&vt)),x!=null&&(x[0]=st),N!=null&&(N[0]=0),x=I[0],vt=H[0],$&&st&&P==null){W=0;break}if(4>f){W=7;break}if(G&&$||!G&&!$&&!r(n,o[0],"ALPH")){f=[f],J.na=[J.na],J.P=[J.P],J.Sa=[J.Sa];t:{St=n,W=o,G=f;var _t=J.gb;yt=J.na,mt=J.P,Tt=J.Sa,qt=22,e(St!=null),e(G!=null),gt=W[0];var se=G[0];for(e(yt!=null),e(Tt!=null),yt[0]=null,mt[0]=null,Tt[0]=0;;){if(W[0]=gt,G[0]=se,8>se){W=7;break t}var fe=Pt(St,gt+4);if(4294967286<fe){W=3;break t}var ae=8+fe+1&-2;if(qt+=ae,0<_t&&qt>_t){W=3;break t}if(!r(St,gt,"VP8 ")||!r(St,gt,"VP8L")){W=0;break t}if(se[0]<ae){W=7;break t}r(St,gt,"ALPH")||(yt[0]=St,mt[0]=gt+8,Tt[0]=fe),gt+=ae,se-=ae}}if(f=f[0],J.na=J.na[0],J.P=J.P[0],J.Sa=J.Sa[0],W!=0)break}f=[f],J.Ja=[J.Ja],J.xa=[J.xa];t:if(_t=n,W=o,G=f,yt=J.gb[0],mt=J.Ja,Tt=J.xa,St=W[0],gt=!r(_t,St,"VP8 "),qt=!r(_t,St,"VP8L"),e(_t!=null),e(G!=null),e(mt!=null),e(Tt!=null),8>G[0])W=7;else{if(gt||qt){if(_t=Pt(_t,St+4),12<=yt&&_t>yt-12){W=3;break t}if(K&&_t>G[0]-8){W=7;break t}mt[0]=_t,W[0]+=8,G[0]-=8,Tt[0]=qt}else Tt[0]=5<=G[0]&&_t[St+0]==47&&!(_t[St+4]>>5),mt[0]=G[0];W=0}if(f=f[0],J.Ja=J.Ja[0],J.xa=J.xa[0],o=o[0],W!=0)break;if(4294967286<J.Ja)return 3;if(N==null||st||(N[0]=J.xa?2:1),x=[x],vt=[vt],J.xa){if(5>f){W=7;break}N=x,K=vt,st=w,n==null||5>f?n=0:5<=f&&n[o+0]==47&&!(n[o+4]>>5)?(G=[0],_t=[0],yt=[0],Z(mt=new L,n,o,f),zt(mt,G,_t,yt)?(N!=null&&(N[0]=G[0]),K!=null&&(K[0]=_t[0]),st!=null&&(st[0]=yt[0]),n=1):n=0):n=0}else{if(10>f){W=7;break}N=vt,n==null||10>f||!Pa(n,o+3,f-3)?n=0:(K=n[o+0]|n[o+1]<<8|n[o+2]<<16,st=16383&(n[o+7]<<8|n[o+6]),n=16383&(n[o+9]<<8|n[o+8]),1&K||3<(K>>1&7)||!(K>>4&1)||K>>5>=J.Ja||!st||!n?n=0:(x&&(x[0]=st),N&&(N[0]=n),n=1))}if(!n||(x=x[0],vt=vt[0],$&&(I[0]!=x||H[0]!=vt)))return 3;P!=null&&(P[0]=J,P.offset=o-P.w,e(4294967286>o-P.w),e(P.offset==P.ha-f));break}return W==0||W==7&&$&&P==null?(w!=null&&(w[0]|=J.na!=null&&0<J.na.length),p!=null&&(p[0]=x),b!=null&&(b[0]=vt),0):W}function na(n,o,f){var p=o.width,b=o.height,w=0,x=0,N=p,P=b;if(o.Da=n!=null&&0<n.Da,o.Da&&(N=n.cd,P=n.bd,w=n.v,x=n.j,11>f||(w&=-2,x&=-2),0>w||0>x||0>=N||0>=P||w+N>p||x+P>b))return 0;if(o.v=w,o.j=x,o.va=w+N,o.o=x+P,o.U=N,o.T=P,o.da=n!=null&&0<n.da,o.da){if(!$t(N,P,f=[n.ib],w=[n.hb]))return 0;o.ib=f[0],o.hb=w[0]}return o.ob=n!=null&&n.ob,o.Kb=n==null||!n.Sd,o.da&&(o.ob=o.ib<3*p/4&&o.hb<3*b/4,o.Kb=0),1}function ia(n){if(n==null)return 2;if(11>n.S){var o=n.f.RGBA;o.fb+=(n.height-1)*o.A,o.A=-o.A}else o=n.f.kb,n=n.height,o.O+=(n-1)*o.fa,o.fa=-o.fa,o.N+=(n-1>>1)*o.Ab,o.Ab=-o.Ab,o.W+=(n-1>>1)*o.Db,o.Db=-o.Db,o.F!=null&&(o.J+=(n-1)*o.lb,o.lb=-o.lb);return 0}function vi(n,o,f,p){if(p==null||0>=n||0>=o)return 2;if(f!=null){if(f.Da){var b=f.cd,w=f.bd,x=-2&f.v,N=-2&f.j;if(0>x||0>N||0>=b||0>=w||x+b>n||N+w>o)return 2;n=b,o=w}if(f.da){if(!$t(n,o,b=[f.ib],w=[f.hb]))return 2;n=b[0],o=w[0]}}p.width=n,p.height=o;t:{var P=p.width,I=p.height;if(n=p.S,0>=P||0>=I||!(n>=Xa&&13>n))n=2;else{if(0>=p.Rd&&p.sd==null){x=w=b=o=0;var H=(N=P*pl[n])*I;if(11>n||(w=(I+1)/2*(o=(P+1)/2),n==12&&(x=(b=P)*I)),(I=a(H+2*w+x))==null){n=1;break t}p.sd=I,11>n?((P=p.f.RGBA).eb=I,P.fb=0,P.A=N,P.size=H):((P=p.f.kb).y=I,P.O=0,P.fa=N,P.Fd=H,P.f=I,P.N=0+H,P.Ab=o,P.Cd=w,P.ea=I,P.W=0+H+w,P.Db=o,P.Ed=w,n==12&&(P.F=I,P.J=0+H+2*w),P.Tc=x,P.lb=b)}if(o=1,b=p.S,w=p.width,x=p.height,b>=Xa&&13>b)if(11>b)n=p.f.RGBA,o&=(N=Math.abs(n.A))*(x-1)+w<=n.size,o&=N>=w*pl[b],o&=n.eb!=null;else{n=p.f.kb,N=(w+1)/2,H=(x+1)/2,P=Math.abs(n.fa),I=Math.abs(n.Ab);var $=Math.abs(n.Db),K=Math.abs(n.lb),J=K*(x-1)+w;o&=P*(x-1)+w<=n.Fd,o&=I*(H-1)+N<=n.Cd,o=(o&=$*(H-1)+N<=n.Ed)&P>=w&I>=N&$>=N,o&=n.y!=null,o&=n.f!=null,o&=n.ea!=null,b==12&&(o&=K>=w,o&=J<=n.Tc,o&=n.F!=null)}else o=0;n=o?0:2}}return n!=0||f!=null&&f.fd&&(n=ia(p)),n}var Ge=64,bi=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],yi=24,wi=32,aa=8,sr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Nt("Predictor0","PredictorAdd0"),q.Predictor0=function(){return 4278190080},q.Predictor1=function(n){return n},q.Predictor2=function(n,o,f){return o[f+0]},q.Predictor3=function(n,o,f){return o[f+1]},q.Predictor4=function(n,o,f){return o[f-1]},q.Predictor5=function(n,o,f){return kt(kt(n,o[f+1]),o[f+0])},q.Predictor6=function(n,o,f){return kt(n,o[f-1])},q.Predictor7=function(n,o,f){return kt(n,o[f+0])},q.Predictor8=function(n,o,f){return kt(o[f-1],o[f+0])},q.Predictor9=function(n,o,f){return kt(o[f+0],o[f+1])},q.Predictor10=function(n,o,f){return kt(kt(n,o[f-1]),kt(o[f+0],o[f+1]))},q.Predictor11=function(n,o,f){var p=o[f+0];return 0>=Qt(p>>24&255,n>>24&255,(o=o[f-1])>>24&255)+Qt(p>>16&255,n>>16&255,o>>16&255)+Qt(p>>8&255,n>>8&255,o>>8&255)+Qt(255&p,255&n,255&o)?p:n},q.Predictor12=function(n,o,f){var p=o[f+0];return(Dt((n>>24&255)+(p>>24&255)-((o=o[f-1])>>24&255))<<24|Dt((n>>16&255)+(p>>16&255)-(o>>16&255))<<16|Dt((n>>8&255)+(p>>8&255)-(o>>8&255))<<8|Dt((255&n)+(255&p)-(255&o)))>>>0},q.Predictor13=function(n,o,f){var p=o[f-1];return(Gt((n=kt(n,o[f+0]))>>24&255,p>>24&255)<<24|Gt(n>>16&255,p>>16&255)<<16|Gt(n>>8&255,p>>8&255)<<8|Gt(n>>0&255,p>>0&255))>>>0};var ss=q.PredictorAdd0;q.PredictorAdd1=te,Nt("Predictor2","PredictorAdd2"),Nt("Predictor3","PredictorAdd3"),Nt("Predictor4","PredictorAdd4"),Nt("Predictor5","PredictorAdd5"),Nt("Predictor6","PredictorAdd6"),Nt("Predictor7","PredictorAdd7"),Nt("Predictor8","PredictorAdd8"),Nt("Predictor9","PredictorAdd9"),Nt("Predictor10","PredictorAdd10"),Nt("Predictor11","PredictorAdd11"),Nt("Predictor12","PredictorAdd12"),Nt("Predictor13","PredictorAdd13");var oa=q.PredictorAdd2;ee("ColorIndexInverseTransform","MapARGB","32b",function(n){return n>>8&255},function(n){return n}),ee("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(n){return n},function(n){return n>>8&255});var Ha,yr=q.ColorIndexInverseTransform,xi=q.MapARGB,Wa=q.VP8LColorIndexInverseTransformAlpha,Va=q.MapAlpha,xn=q.VP8LPredictorsAdd=[];xn.length=16,(q.VP8LPredictors=[]).length=16,(q.VP8LPredictorsAdd_C=[]).length=16,(q.VP8LPredictors_C=[]).length=16;var Wn,lr,rr,An,un,cn,Ai,fn,Ie,sa,nr,wr,Li,Ga,la,Vn,Gn,Ln,Jn,Ni,Yn,Nn,ua,xr,Ar,ye,we,Ce,Re=a(511),hn=a(2041),ca=a(225),Si=a(767),Ja=0,ls=hn,Ya=ca,dr=Si,Lr=Re,Xa=0,$a=1,el=2,Ka=3,Za=4,us=5,rl=6,cs=7,fs=8,Qa=9,hs=10,Gu=[2,3,7],Ju=[3,3,11],nl=[280,256,256,256,40],Yu=[0,1,1,1,0],Xu=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],$u=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Ku=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Zu=8,ps=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ds=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],fa=null,Qu=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],tc=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],il=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ec=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],rc=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],nc=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ic=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Sn=[],Er=[],pn=[],ac=1,al=2,Pn=[],Nr=[];ut("UpsampleRgbLinePair",ne,3),ut("UpsampleBgrLinePair",Ae,3),ut("UpsampleRgbaLinePair",Mr,4),ut("UpsampleBgraLinePair",ze,4),ut("UpsampleArgbLinePair",$e,4),ut("UpsampleRgba4444LinePair",Ee,2),ut("UpsampleRgb565LinePair",Pe,2);var oc=q.UpsampleRgbLinePair,sc=q.UpsampleBgrLinePair,ol=q.UpsampleRgbaLinePair,sl=q.UpsampleBgraLinePair,ll=q.UpsampleArgbLinePair,ul=q.UpsampleRgba4444LinePair,lc=q.UpsampleRgb565LinePair,to=16,eo=1<<to-1,ha=-227,gs=482,cl=6,uc=(256<<cl)-1,fl=0,cc=a(256),fc=a(256),hc=a(256),pc=a(256),dc=a(gs-ha),gc=a(gs-ha);Zr("YuvToRgbRow",ne,3),Zr("YuvToBgrRow",Ae,3),Zr("YuvToRgbaRow",Mr,4),Zr("YuvToBgraRow",ze,4),Zr("YuvToArgbRow",$e,4),Zr("YuvToRgba4444Row",Ee,2),Zr("YuvToRgb565Row",Pe,2);var hl=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],ro=[0,2,8],mc=[8,7,6,4,4,2,2,2,1,1,1,1],vc=1;this.WebPDecodeRGBA=function(n,o,f,p,b){var w=$a,x=new di,N=new kr;x.ba=N,N.S=w,N.width=[N.width],N.height=[N.height];var P=N.width,I=N.height,H=new an;if(H==null||n==null)var $=2;else e(H!=null),$=mi(n,o,f,H.width,H.height,H.Pd,H.Qd,H.format,null);if($!=0?P=0:(P!=null&&(P[0]=H.width[0]),I!=null&&(I[0]=H.height[0]),P=1),P){N.width=N.width[0],N.height=N.height[0],p!=null&&(p[0]=N.width),b!=null&&(b[0]=N.height);t:{if(p=new si,(b=new Ki).data=n,b.w=o,b.ha=f,b.kd=1,o=[0],e(b!=null),((n=mi(b.data,b.w,b.ha,null,null,null,o,null,b))==0||n==7)&&o[0]&&(n=4),(o=n)==0){if(e(x!=null),p.data=b.data,p.w=b.w+b.offset,p.ha=b.ha-b.offset,p.put=Vr,p.ac=Ve,p.bc=Gr,p.ma=x,b.xa){if((n=br())==null){x=1;break t}if(function(K,J){var vt=[0],st=[0],W=[0];e:for(;;){if(K==null)return 0;if(J==null)return K.a=2,0;if(K.l=J,K.a=0,Z(K.m,J.data,J.w,J.ha),!zt(K.m,vt,st,W)){K.a=3;break e}if(K.xb=al,J.width=vt[0],J.height=st[0],!Xr(vt[0],st[0],1,K,null))break e;return 1}return e(K.a!=0),0}(n,p)){if(p=(o=vi(p.width,p.height,x.Oa,x.ba))==0){e:{p=n;r:for(;;){if(p==null){p=0;break e}if(e(p.s.yc!=null),e(p.s.Ya!=null),e(0<p.s.Wb),e((f=p.l)!=null),e((b=f.ma)!=null),p.xb!=0){if(p.ca=b.ba,p.tb=b.tb,e(p.ca!=null),!na(b.Oa,f,Ka)){p.a=2;break r}if(!qn(p,f.width)||f.da)break r;if((f.da||ue(p.ca.S))&&X(),11>p.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),p.ca.f.kb.F!=null&&X()),p.Pb&&0<p.s.ua&&p.s.vb.X==null&&!Ut(p.s.vb,p.s.Wa.Xa)){p.a=1;break r}p.xb=0}if(!Or(p,p.V,p.Ba,p.c,p.i,f.o,ei))break r;b.Dc=p.Ma,p=1;break e}e(p.a!=0),p=0}p=!p}p&&(o=n.a)}else o=n.a}else{if((n=new Uo)==null){x=1;break t}if(n.Fa=b.na,n.P=b.P,n.qc=b.Sa,_a(n,p)){if((o=vi(p.width,p.height,x.Oa,x.ba))==0){if(n.Aa=0,f=x.Oa,e((b=n)!=null),f!=null){if(0<(P=0>(P=f.Md)?0:100<P?255:255*P/100)){for(I=H=0;4>I;++I)12>($=b.pb[I]).lc&&($.ia=P*mc[0>$.lc?0:$.lc]>>3),H|=$.ia;H&&(alert("todo:VP8InitRandom"),b.ia=1)}b.Ga=f.Id,100<b.Ga?b.Ga=100:0>b.Ga&&(b.Ga=0)}Ho(n,p)||(o=n.a)}}else o=n.a}o==0&&x.Oa!=null&&x.Oa.fd&&(o=ia(x.ba))}x=o}w=x!=0?null:11>w?N.f.RGBA.eb:N.f.kb.y}else w=null;return w};var pl=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(q,rt){for(var pt="",k=0;k<4;k++)pt+=String.fromCharCode(q[rt++]);return pt}function m(q,rt){return(q[rt+0]<<0|q[rt+1]<<8|q[rt+2]<<16)>>>0}function v(q,rt){return(q[rt+0]<<0|q[rt+1]<<8|q[rt+2]<<16|q[rt+3]<<24)>>>0}new h;var A=[0],d=[0],C=[],_=new h,O=t,S=function(q,rt){var pt={},k=0,F=!1,V=0,B=0;if(pt.frames=[],!function(T,E,U,Y){for(var et=0;et<Y;et++)if(T[E+et]!=U.charCodeAt(et))return!0;return!1}(q,rt,"RIFF",4)){for(v(q,rt+=4),rt+=8;rt<q.length;){var lt=g(q,rt),ot=v(q,rt+=4);rt+=4;var ft=ot+(1&ot);switch(lt){case"VP8 ":case"VP8L":pt.frames[k]===void 0&&(pt.frames[k]={}),(dt=pt.frames[k]).src_off=F?B:rt-8,dt.src_size=V+ot+8,k++,F&&(F=!1,V=0,B=0);break;case"VP8X":(dt=pt.header={}).feature_flags=q[rt];var Z=rt+4;dt.canvas_width=1+m(q,Z),Z+=3,dt.canvas_height=1+m(q,Z),Z+=3;break;case"ALPH":F=!0,V=ft+8,B=rt-8;break;case"ANIM":(dt=pt.header).bgcolor=v(q,rt),Z=rt+4,dt.loop_count=(Ot=q)[(L=Z)+0]<<0|Ot[L+1]<<8,Z+=2;break;case"ANMF":var ct,dt;(dt=pt.frames[k]={}).offset_x=2*m(q,rt),rt+=3,dt.offset_y=2*m(q,rt),rt+=3,dt.width=1+m(q,rt),rt+=3,dt.height=1+m(q,rt),rt+=3,dt.duration=m(q,rt),rt+=3,ct=q[rt++],dt.dispose=1&ct,dt.blend=ct>>1&1}lt!="ANMF"&&(rt+=ft)}var Ot,L;return pt}}(O,0);S.response=O,S.rgbaoutput=!0,S.dataurl=!1;var j=S.header?S.header:null,z=S.frames?S.frames:null;if(j){j.loop_counter=j.loop_count,A=[j.canvas_height],d=[j.canvas_width];for(var Q=0;Q<z.length&&z[Q].blend!=0;Q++);}var at=z[0],bt=_.WebPDecodeRGBA(O,at.src_off,at.src_size,d,A);at.rgba=bt,at.imgwidth=d[0],at.imgheight=A[0];for(var tt=0;tt<d[0]*A[0]*4;tt++)C[tt]=bt[tt];return this.width=d,this.height=A,this.data=C,this}(function(t){var e=function(){return typeof mo=="function"},r=function(A,d,C,_){var O=4,S=l;switch(_){case t.image_compression.FAST:O=1,S=a;break;case t.image_compression.MEDIUM:O=6,S=c;break;case t.image_compression.SLOW:O=9,S=h}A=i(A,d,C,S);var j=mo(A,{level:O});return t.__addimage__.arrayBufferToBinaryString(j)},i=function(A,d,C,_){for(var O,S,j,z=A.length/d,Q=new Uint8Array(A.length+z),at=m(),bt=0;bt<z;bt+=1){if(j=bt*d,O=A.subarray(j,j+d),_)Q.set(_(O,C,S),j+bt);else{for(var tt,q=at.length,rt=[];tt<q;tt+=1)rt[tt]=at[tt](O,C,S);var pt=v(rt.concat());Q.set(rt[pt],j+bt)}S=O}return Q},s=function(A){var d=Array.apply([],A);return d.unshift(0),d},a=function(A,d){var C,_=[],O=A.length;_[0]=1;for(var S=0;S<O;S+=1)C=A[S-d]||0,_[S+1]=A[S]-C+256&255;return _},l=function(A,d,C){var _,O=[],S=A.length;O[0]=2;for(var j=0;j<S;j+=1)_=C&&C[j]||0,O[j+1]=A[j]-_+256&255;return O},c=function(A,d,C){var _,O,S=[],j=A.length;S[0]=3;for(var z=0;z<j;z+=1)_=A[z-d]||0,O=C&&C[z]||0,S[z+1]=A[z]+256-(_+O>>>1)&255;return S},h=function(A,d,C){var _,O,S,j,z=[],Q=A.length;z[0]=4;for(var at=0;at<Q;at+=1)_=A[at-d]||0,O=C&&C[at]||0,S=C&&C[at-d]||0,j=g(_,O,S),z[at+1]=A[at]-j+256&255;return z},g=function(A,d,C){if(A===d&&d===C)return A;var _=Math.abs(d-C),O=Math.abs(A-C),S=Math.abs(A+d-C-C);return _<=O&&_<=S?A:O<=S?d:C},m=function(){return[s,a,l,c,h]},v=function(A){var d=A.map(function(C){return C.reduce(function(_,O){return _+Math.abs(O)},0)});return d.indexOf(Math.min.apply(null,d))};t.processPNG=function(A,d,C,_){var O,S,j,z,Q,at,bt,tt,q,rt,pt,k,F,V,B,lt=this.decode.FLATE_DECODE,ot="";if(this.__addimage__.isArrayBuffer(A)&&(A=new Uint8Array(A)),this.__addimage__.isArrayBufferView(A)){if(A=(j=new uf(A)).imgData,S=j.bits,O=j.colorSpace,Q=j.colors,[4,6].indexOf(j.colorType)!==-1){if(j.bits===8){q=(tt=j.pixelBitlength==32?new Uint32Array(j.decodePixels().buffer):j.pixelBitlength==16?new Uint16Array(j.decodePixels().buffer):new Uint8Array(j.decodePixels().buffer)).length,pt=new Uint8Array(q*j.colors),rt=new Uint8Array(q);var ft,Z=j.pixelBitlength-j.bits;for(V=0,B=0;V<q;V++){for(F=tt[V],ft=0;ft<Z;)pt[B++]=F>>>ft&255,ft+=j.bits;rt[V]=F>>>ft&255}}if(j.bits===16){q=(tt=new Uint32Array(j.decodePixels().buffer)).length,pt=new Uint8Array(q*(32/j.pixelBitlength)*j.colors),rt=new Uint8Array(q*(32/j.pixelBitlength)),k=j.colors>1,V=0,B=0;for(var ct=0;V<q;)F=tt[V++],pt[B++]=F>>>0&255,k&&(pt[B++]=F>>>16&255,F=tt[V++],pt[B++]=F>>>0&255),rt[ct++]=F>>>16&255;S=8}_!==t.image_compression.NONE&&e()?(A=r(pt,j.width*j.colors,j.colors,_),bt=r(rt,j.width,1,_)):(A=pt,bt=rt,lt=void 0)}if(j.colorType===3&&(O=this.color_spaces.INDEXED,at=j.palette,j.transparency.indexed)){var dt=j.transparency.indexed,Ot=0;for(V=0,q=dt.length;V<q;++V)Ot+=dt[V];if((Ot/=255)===q-1&&dt.indexOf(0)!==-1)z=[dt.indexOf(0)];else if(Ot!==q){for(tt=j.decodePixels(),rt=new Uint8Array(tt.length),V=0,q=tt.length;V<q;V++)rt[V]=dt[tt[V]];bt=r(rt,j.width,1)}}var L=function(T){var E;switch(T){case t.image_compression.FAST:E=11;break;case t.image_compression.MEDIUM:E=13;break;case t.image_compression.SLOW:E=14;break;default:E=12}return E}(_);return lt===this.decode.FLATE_DECODE&&(ot="/Predictor "+L+" "),ot+="/Colors "+Q+" /BitsPerComponent "+S+" /Columns "+j.width,(this.__addimage__.isArrayBuffer(A)||this.__addimage__.isArrayBufferView(A))&&(A=this.__addimage__.arrayBufferToBinaryString(A)),(bt&&this.__addimage__.isArrayBuffer(bt)||this.__addimage__.isArrayBufferView(bt))&&(bt=this.__addimage__.arrayBufferToBinaryString(bt)),{alias:C,data:A,index:d,filter:lt,decodeParameters:ot,transparency:z,palette:at,sMask:bt,predictor:L,width:j.width,height:j.height,bitsPerComponent:S,colorSpace:O}}}})(Rt.API),function(t){t.processGIF89A=function(e,r,i,s){var a=new cf(e),l=a.width,c=a.height,h=[];a.decodeAndBlitFrameRGBA(0,h);var g={data:h,width:l,height:c},m=new qs(100).encode(g,100);return t.processJPEG.call(this,m,r,i,s)},t.processGIF87A=t.processGIF89A}(Rt.API),Rr.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:s,green:i,blue:r,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Rr.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(r){be.log("bit decode error:"+r)}},Rr.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),r=e%4;for(t=this.height-1;t>=0;t--){for(var i=this.bottom_up?t:this.height-1-t,s=0;s<e;s++)for(var a=this.datav.getUint8(this.pos++,!0),l=i*this.width*4+8*s*4,c=0;c<8&&8*s+c<this.width;c++){var h=this.palette[a>>7-c&1];this.data[l+4*c]=h.blue,this.data[l+4*c+1]=h.green,this.data[l+4*c+2]=h.red,this.data[l+4*c+3]=255}r!==0&&(this.pos+=4-r)}},Rr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,s=0;s<t;s++){var a=this.datav.getUint8(this.pos++,!0),l=i*this.width*4+2*s*4,c=a>>4,h=15&a,g=this.palette[c];if(this.data[l]=g.blue,this.data[l+1]=g.green,this.data[l+2]=g.red,this.data[l+3]=255,2*s+1>=this.width)break;g=this.palette[h],this.data[l+4]=g.blue,this.data[l+4+1]=g.green,this.data[l+4+2]=g.red,this.data[l+4+3]=255}e!==0&&(this.pos+=4-e)}},Rr.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<this.width;i++){var s=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+4*i;if(s<this.palette.length){var l=this.palette[s];this.data[a]=l.red,this.data[a+1]=l.green,this.data[a+2]=l.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}t!==0&&(this.pos+=4-t)}},Rr.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,s=0;s<this.width;s++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(a&e)/e*255|0,c=(a>>5&e)/e*255|0,h=(a>>10&e)/e*255|0,g=a>>15?255:0,m=i*this.width*4+4*s;this.data[m]=h,this.data[m+1]=c,this.data[m+2]=l,this.data[m+3]=g}this.pos+=t}},Rr.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var s=this.bottom_up?i:this.height-1-i,a=0;a<this.width;a++){var l=this.datav.getUint16(this.pos,!0);this.pos+=2;var c=(l&e)/e*255|0,h=(l>>5&r)/r*255|0,g=(l>>11)/e*255|0,m=s*this.width*4+4*a;this.data[m]=g,this.data[m+1]=h,this.data[m+2]=c,this.data[m+3]=255}this.pos+=t}},Rr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),l=e*this.width*4+4*r;this.data[l]=a,this.data[l+1]=s,this.data[l+2]=i,this.data[l+3]=255}this.pos+=this.width%4}},Rr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0),c=e*this.width*4+4*r;this.data[c]=a,this.data[c+1]=s,this.data[c+2]=i,this.data[c+3]=l}},Rr.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,r,i,s){var a=new Rr(e,!1),l=a.width,c=a.height,h={data:a.getData(),width:l,height:c},g=new qs(100).encode(h,100);return t.processJPEG.call(this,g,r,i,s)}}(Rt.API),su.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,r,i,s){var a=new su(e),l=a.width,c=a.height,h={data:a.getData(),width:l,height:c},g=new qs(100).encode(h,100);return t.processJPEG.call(this,g,r,i,s)}}(Rt.API),Rt.API.processRGBA=function(t,e,r){for(var i=t.data,s=i.length,a=new Uint8Array(s/4*3),l=new Uint8Array(s/4),c=0,h=0,g=0;g<s;g+=4){var m=i[g],v=i[g+1],A=i[g+2],d=i[g+3];a[c++]=m,a[c++]=v,a[c++]=A,l[h++]=d}var C=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(l),data:C,index:e,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},Rt.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Ci=Rt.API,wo=Ci.getCharWidthsArray=function(t,e){var r,i,s=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),l=e.charSpace||this.internal.getCharSpace(),c=e.widths?e.widths:s.metadata.Unicode.widths,h=c.fof?c.fof:1,g=e.kerning?e.kerning:s.metadata.Unicode.kerning,m=g.fof?g.fof:1,v=e.doKerning!==!1,A=0,d=t.length,C=0,_=c[0]||h,O=[];for(r=0;r<d;r++)i=t.charCodeAt(r),typeof s.metadata.widthOfString=="function"?O.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(i))+l*(1e3/a)||0)/1e3):(A=v&&ge(g[i])==="object"&&!isNaN(parseInt(g[i][C],10))?g[i][C]/m:0,O.push((c[i]||_)/h+A)),C=i;return O},nu=Ci.getStringUnitWidth=function(t,e){var r=(e=e||{}).fontSize||this.internal.getFontSize(),i=e.font||this.internal.getFont(),s=e.charSpace||this.internal.getCharSpace();return Ci.processArabic&&(t=Ci.processArabic(t)),typeof i.metadata.widthOfString=="function"?i.metadata.widthOfString(t,r,s)/r:wo.apply(this,arguments).reduce(function(a,l){return a+l},0)},iu=function(t,e,r,i){for(var s=[],a=0,l=t.length,c=0;a!==l&&c+e[a]<r;)c+=e[a],a++;s.push(t.slice(0,a));var h=a;for(c=0;a!==l;)c+e[a]>i&&(s.push(t.slice(h,a)),c=0,h=a),c+=e[a],a++;return h!==a&&s.push(t.slice(h,a)),s},au=function(t,e,r){r||(r={});var i,s,a,l,c,h,g,m=[],v=[m],A=r.textIndent||0,d=0,C=0,_=t.split(" "),O=wo.apply(this,[" ",r])[0];if(h=r.lineIndent===-1?_[0].length+2:r.lineIndent||0){var S=Array(h).join(" "),j=[];_.map(function(Q){(Q=Q.split(/\s*\n/)).length>1?j=j.concat(Q.map(function(at,bt){return(bt&&at.length?`
50
- `:"")+at})):j.push(Q[0])}),_=j,h=nu.apply(this,[S,r])}for(a=0,l=_.length;a<l;a++){var z=0;if(i=_[a],h&&i[0]==`
51
- `&&(i=i.substr(1),z=1),A+d+(C=(s=wo.apply(this,[i,r])).reduce(function(Q,at){return Q+at},0))>e||z){if(C>e){for(c=iu.apply(this,[i,s,e-(A+d),e]),m.push(c.shift()),m=[c.pop()];c.length;)v.push([c.shift()]);C=s.slice(i.length-(m[0]?m[0].length:0)).reduce(function(Q,at){return Q+at},0)}else m=[i];v.push(m),A=C+h,d=O}else m.push(i),A+=d+C,d=O}return g=h?function(Q,at){return(at?S:"")+Q.join(" ")}:function(Q){return Q.join(" ")},v.map(g)},Ci.splitTextToSize=function(t,e,r){var i,s=(r=r||{}).fontSize||this.internal.getFontSize(),a=function(m){if(m.widths&&m.kerning)return{widths:m.widths,kerning:m.kerning};var v=this.internal.getFont(m.fontName,m.fontStyle);return v.metadata.Unicode?{widths:v.metadata.Unicode.widths||{0:1},kerning:v.metadata.Unicode.kerning||{}}:{font:v.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);i=Array.isArray(t)?t:String(t).split(/\r?\n/);var l=1*this.internal.scaleFactor*e/s;a.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/s:0,a.lineIndent=r.lineIndent;var c,h,g=[];for(c=0,h=i.length;c<h;c++)g=g.concat(au.apply(this,[i[c],l,a]));return g},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",r={},i={},s=0;s<e.length;s++)r[e[s]]="0123456789abcdef"[s],i["0123456789abcdef"[s]]=e[s];var a=function(v){return"0x"+parseInt(v,10).toString(16)},l=t.__fontmetrics__.compress=function(v){var A,d,C,_,O=["{"];for(var S in v){if(A=v[S],isNaN(parseInt(S,10))?d="'"+S+"'":(S=parseInt(S,10),d=(d=a(S).slice(2)).slice(0,-1)+i[d.slice(-1)]),typeof A=="number")A<0?(C=a(A).slice(3),_="-"):(C=a(A).slice(2),_=""),C=_+C.slice(0,-1)+i[C.slice(-1)];else{if(ge(A)!=="object")throw new Error("Don't know what to do with value type "+ge(A)+".");C=l(A)}O.push(d+C)}return O.push("}"),O.join("")},c=t.__fontmetrics__.uncompress=function(v){if(typeof v!="string")throw new Error("Invalid argument passed to uncompress.");for(var A,d,C,_,O={},S=1,j=O,z=[],Q="",at="",bt=v.length-1,tt=1;tt<bt;tt+=1)(_=v[tt])=="'"?A?(C=A.join(""),A=void 0):A=[]:A?A.push(_):_=="{"?(z.push([j,C]),j={},C=void 0):_=="}"?((d=z.pop())[0][d[1]]=j,C=void 0,j=d[0]):_=="-"?S=-1:C===void 0?r.hasOwnProperty(_)?(Q+=r[_],C=parseInt(Q,16)*S,S=1,Q=""):Q+=_:r.hasOwnProperty(_)?(at+=r[_],j[C]=parseInt(at,16)*S,S=1,C=void 0,at=""):at+=_;return O},h={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},g={Unicode:{Courier:h,"Courier-Bold":h,"Courier-BoldOblique":h,"Courier-Oblique":h,Helvetica:h,"Helvetica-Bold":h,"Helvetica-BoldOblique":h,"Helvetica-Oblique":h,"Times-Roman":h,"Times-Bold":h,"Times-BoldItalic":h,"Times-Italic":h}},m={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":c("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(v){var A=v.font,d=m.Unicode[A.postScriptName];d&&(A.metadata.Unicode={},A.metadata.Unicode.widths=d.widths,A.metadata.Unicode.kerning=d.kerning);var C=g.Unicode[A.postScriptName];C&&(A.metadata.Unicode.encoding=C,A.encoding=C.codePages[0])}])}(Rt.API),function(t){var e=function(r){for(var i=r.length,s=new Uint8Array(i),a=0;a<i;a++)s[a]=r.charCodeAt(a);return s};t.API.events.push(["addFont",function(r){var i=void 0,s=r.font,a=r.instance;if(!s.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");if(typeof(i=a.existsFileInVFS(s.postScriptName)===!1?a.loadFile(s.postScriptName):a.getFileFromVFS(s.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");(function(l,c){c=/^\x00\x01\x00\x00/.test(c)?e(c):e(xa(c)),l.metadata=t.API.TTFFont.open(c),l.metadata.Unicode=l.metadata.Unicode||{encoding:{},kerning:{},widths:[]},l.metadata.glyIdsUsed=[0]})(s,i)}}])}(Rt),function(t){function e(){return(Ht.canvg?Promise.resolve(Ht.canvg):import("./CQAC4KC4.js")).catch(function(r){return Promise.reject(new Error("Could not load canvg: "+r))}).then(function(r){return r.default?r.default:r})}Rt.API.addSvgAsImage=function(r,i,s,a,l,c,h,g){if(isNaN(i)||isNaN(s))throw be.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(l))throw be.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var m=document.createElement("canvas");m.width=a,m.height=l;var v=m.getContext("2d");v.fillStyle="#fff",v.fillRect(0,0,m.width,m.height);var A={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then(function(C){return C.fromString(v,r,A)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(C){return C.render(A)}).then(function(){d.addImage(m.toDataURL("image/jpeg",1),i,s,a,l,h,g)})}}(),Rt.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var s=0;s<this.internal.pages[i].length;s++)this.internal.pages[i][s]=this.internal.pages[i][s].replace(e,r);return this},Rt.API.viewerPreferences=function(t,e){var r;t=t||{},e=e||!1;var i,s,a,l={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(l),h=[],g=0,m=0,v=0;function A(C,_){var O,S=!1;for(O=0;O<C.length;O+=1)C[O]===_&&(S=!0);return S}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(l)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var d=c.length;for(v=0;v<d;v+=1)r[c[v]].value=r[c[v]].defaultValue,r[c[v]].explicitSet=!1}if(ge(t)==="object"){for(s in t)if(a=t[s],A(c,s)&&a!==void 0){if(r[s].type==="boolean"&&typeof a=="boolean")r[s].value=a;else if(r[s].type==="name"&&A(r[s].valueSet,a))r[s].value=a;else if(r[s].type==="integer"&&Number.isInteger(a))r[s].value=a;else if(r[s].type==="array"){for(g=0;g<a.length;g+=1)if(i=!0,a[g].length===1&&typeof a[g][0]=="number")h.push(String(a[g]-1));else if(a[g].length>1){for(m=0;m<a[g].length;m+=1)typeof a[g][m]!="number"&&(i=!1);i===!0&&h.push([a[g][0]-1,a[g][1]-1].join(" "))}r[s].value="["+h.join(" ")+"]"}else r[s].value=r[s].defaultValue;r[s].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var C,_=[];for(C in r)r[C].explicitSet===!0&&(r[C].type==="name"?_.push("/"+C+" /"+r[C].value):_.push("/"+C+" "+r[C].value));_.length!==0&&this.internal.write(`/ViewerPreferences
52
- <<
53
- `+_.join(`
54
- `)+`
55
- >>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},function(t){var e=function(){var i='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',s=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),a=unescape(encodeURIComponent(i)),l=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),c=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),h=unescape(encodeURIComponent("</x:xmpmeta>")),g=a.length+l.length+c.length+s.length+h.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+g+" >>"),this.internal.write("stream"),this.internal.write(s+a+l+c+h),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(i,s){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:i,namespaceuri:s||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(Rt.API),function(t){var e=t.API,r=e.pdfEscape16=function(a,l){for(var c,h=l.metadata.Unicode.widths,g=["","0","00","000","0000"],m=[""],v=0,A=a.length;v<A;++v){if(c=l.metadata.characterToGlyph(a.charCodeAt(v)),l.metadata.glyIdsUsed.push(c),l.metadata.toUnicode[c]=a.charCodeAt(v),h.indexOf(c)==-1&&(h.push(c),h.push([parseInt(l.metadata.widthOfGlyph(c),10)])),c=="0")return m.join("");c=c.toString(16),m.push(g[4-c.length],c)}return m.join("")},i=function(a){var l,c,h,g,m,v,A;for(m=`/CIDInit /ProcSet findresource begin
56
- 12 dict begin
57
- begincmap
58
- /CIDSystemInfo <<
59
- /Registry (Adobe)
60
- /Ordering (UCS)
61
- /Supplement 0
62
- >> def
63
- /CMapName /Adobe-Identity-UCS def
64
- /CMapType 2 def
65
- 1 begincodespacerange
66
- <0000><ffff>
67
- endcodespacerange`,h=[],v=0,A=(c=Object.keys(a).sort(function(d,C){return d-C})).length;v<A;v++)l=c[v],h.length>=100&&(m+=`
68
- `+h.length+` beginbfchar
69
- `+h.join(`
70
- `)+`
71
- endbfchar`,h=[]),a[l]!==void 0&&a[l]!==null&&typeof a[l].toString=="function"&&(g=("0000"+a[l].toString(16)).slice(-4),l=("0000"+(+l).toString(16)).slice(-4),h.push("<"+l+"><"+g+">"));return h.length&&(m+=`
72
- `+h.length+` beginbfchar
73
- `+h.join(`
74
- `)+`
75
- endbfchar
76
- `),m+=`endcmap
77
- CMapName currentdict /CMap defineresource pop
78
- end
79
- end`};e.events.push(["putFont",function(a){(function(l){var c=l.font,h=l.out,g=l.newObject,m=l.putStream;if(c.metadata instanceof t.API.TTFFont&&c.encoding==="Identity-H"){for(var v=c.metadata.Unicode.widths,A=c.metadata.subset.encode(c.metadata.glyIdsUsed,1),d="",C=0;C<A.length;C++)d+=String.fromCharCode(A[C]);var _=g();m({data:d,addLength1:!0,objectId:_}),h("endobj");var O=g();m({data:i(c.metadata.toUnicode),addLength1:!0,objectId:O}),h("endobj");var S=g();h("<<"),h("/Type /FontDescriptor"),h("/FontName /"+ji(c.fontName)),h("/FontFile2 "+_+" 0 R"),h("/FontBBox "+t.API.PDFObject.convert(c.metadata.bbox)),h("/Flags "+c.metadata.flags),h("/StemV "+c.metadata.stemV),h("/ItalicAngle "+c.metadata.italicAngle),h("/Ascent "+c.metadata.ascender),h("/Descent "+c.metadata.decender),h("/CapHeight "+c.metadata.capHeight),h(">>"),h("endobj");var j=g();h("<<"),h("/Type /Font"),h("/BaseFont /"+ji(c.fontName)),h("/FontDescriptor "+S+" 0 R"),h("/W "+t.API.PDFObject.convert(v)),h("/CIDToGIDMap /Identity"),h("/DW 1000"),h("/Subtype /CIDFontType2"),h("/CIDSystemInfo"),h("<<"),h("/Supplement 0"),h("/Registry (Adobe)"),h("/Ordering ("+c.encoding+")"),h(">>"),h(">>"),h("endobj"),c.objectNumber=g(),h("<<"),h("/Type /Font"),h("/Subtype /Type0"),h("/ToUnicode "+O+" 0 R"),h("/BaseFont /"+ji(c.fontName)),h("/Encoding /"+c.encoding),h("/DescendantFonts ["+j+" 0 R]"),h(">>"),h("endobj"),c.isAlreadyPutted=!0}})(a)}]),e.events.push(["putFont",function(a){(function(l){var c=l.font,h=l.out,g=l.newObject,m=l.putStream;if(c.metadata instanceof t.API.TTFFont&&c.encoding==="WinAnsiEncoding"){for(var v=c.metadata.rawData,A="",d=0;d<v.length;d++)A+=String.fromCharCode(v[d]);var C=g();m({data:A,addLength1:!0,objectId:C}),h("endobj");var _=g();m({data:i(c.metadata.toUnicode),addLength1:!0,objectId:_}),h("endobj");var O=g();h("<<"),h("/Descent "+c.metadata.decender),h("/CapHeight "+c.metadata.capHeight),h("/StemV "+c.metadata.stemV),h("/Type /FontDescriptor"),h("/FontFile2 "+C+" 0 R"),h("/Flags 96"),h("/FontBBox "+t.API.PDFObject.convert(c.metadata.bbox)),h("/FontName /"+ji(c.fontName)),h("/ItalicAngle "+c.metadata.italicAngle),h("/Ascent "+c.metadata.ascender),h(">>"),h("endobj"),c.objectNumber=g();for(var S=0;S<c.metadata.hmtx.widths.length;S++)c.metadata.hmtx.widths[S]=parseInt(c.metadata.hmtx.widths[S]*(1e3/c.metadata.head.unitsPerEm));h("<</Subtype/TrueType/Type/Font/ToUnicode "+_+" 0 R/BaseFont/"+ji(c.fontName)+"/FontDescriptor "+O+" 0 R/Encoding/"+c.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(c.metadata.hmtx.widths)+">>"),h("endobj"),c.isAlreadyPutted=!0}})(a)}]);var s=function(a){var l,c=a.text||"",h=a.x,g=a.y,m=a.options||{},v=a.mutex||{},A=v.pdfEscape,d=v.activeFontKey,C=v.fonts,_=d,O="",S=0,j="",z=C[_].encoding;if(C[_].encoding!=="Identity-H")return{text:c,x:h,y:g,options:m,mutex:v};for(j=c,_=d,Array.isArray(c)&&(j=c[0]),S=0;S<j.length;S+=1)C[_].metadata.hasOwnProperty("cmap")&&(l=C[_].metadata.cmap.unicode.codeMap[j[S].charCodeAt(0)]),l||j[S].charCodeAt(0)<256&&C[_].metadata.hasOwnProperty("Unicode")?O+=j[S]:O+="";var Q="";return parseInt(_.slice(1))<14||z==="WinAnsiEncoding"?Q=A(O,_).split("").map(function(at){return at.charCodeAt(0).toString(16)}).join(""):z==="Identity-H"&&(Q=r(O,C[_])),v.isHex=!0,{text:Q,x:h,y:g,options:m,mutex:v}};e.events.push(["postProcessText",function(a){var l=a.text||"",c=[],h={text:l,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(l)){var g=0;for(g=0;g<l.length;g+=1)Array.isArray(l[g])&&l[g].length===3?c.push([s(Object.assign({},h,{text:l[g][0]})).text,l[g][1],l[g][2]]):c.push(s(Object.assign({},h,{text:l[g]})).text);a.text=c}else a.text=s(Object.assign({},h,{text:l})).text}])}(Rt),function(t){var e=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(r){return e.call(this),this.internal.vFS[r]!==void 0},t.addFileToVFS=function(r,i){return e.call(this),this.internal.vFS[r]=i,this},t.getFileFromVFS=function(r){return e.call(this),this.internal.vFS[r]!==void 0?this.internal.vFS[r]:null}}(Rt.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(i){var s,a,l,c,h,g,m,v=e,A=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],d=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],C={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},_={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},O=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],S=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),j=!1,z=0;this.__bidiEngine__={};var Q=function(k){var F=k.charCodeAt(),V=F>>8,B=_[V];return B!==void 0?v[256*B+(255&F)]:V===252||V===253?"AL":S.test(V)?"L":V===8?"R":"N"},at=function(k){for(var F,V=0;V<k.length;V++){if((F=Q(k.charAt(V)))==="L")return!1;if(F==="R")return!0}return!1},bt=function(k,F,V,B){var lt,ot,ft,Z,ct=F[B];switch(ct){case"L":case"R":j=!1;break;case"N":case"AN":break;case"EN":j&&(ct="AN");break;case"AL":j=!0,ct="R";break;case"WS":ct="N";break;case"CS":B<1||B+1>=F.length||(lt=V[B-1])!=="EN"&&lt!=="AN"||(ot=F[B+1])!=="EN"&&ot!=="AN"?ct="N":j&&(ot="AN"),ct=ot===lt?ot:"N";break;case"ES":ct=(lt=B>0?V[B-1]:"B")==="EN"&&B+1<F.length&&F[B+1]==="EN"?"EN":"N";break;case"ET":if(B>0&&V[B-1]==="EN"){ct="EN";break}if(j){ct="N";break}for(ft=B+1,Z=F.length;ft<Z&&F[ft]==="ET";)ft++;ct=ft<Z&&F[ft]==="EN"?"EN":"N";break;case"NSM":if(l&&!c){for(Z=F.length,ft=B+1;ft<Z&&F[ft]==="NSM";)ft++;if(ft<Z){var dt=k[B],Ot=dt>=1425&&dt<=2303||dt===64286;if(lt=F[ft],Ot&&(lt==="R"||lt==="AL")){ct="R";break}}}ct=B<1||(lt=F[B-1])==="B"?"N":V[B-1];break;case"B":j=!1,s=!0,ct=z;break;case"S":a=!0,ct="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":j=!1;break;case"BN":ct="N"}return ct},tt=function(k,F,V){var B=k.split("");return V&&q(B,V,{hiLevel:z}),B.reverse(),F&&F.reverse(),B.join("")},q=function(k,F,V){var B,lt,ot,ft,Z,ct=-1,dt=k.length,Ot=0,L=[],T=z?d:A,E=[];for(j=!1,s=!1,a=!1,lt=0;lt<dt;lt++)E[lt]=Q(k[lt]);for(ot=0;ot<dt;ot++){if(Z=Ot,L[ot]=bt(k,E,L,ot),B=240&(Ot=T[Z][C[L[ot]]]),Ot&=15,F[ot]=ft=T[Ot][5],B>0)if(B===16){for(lt=ct;lt<ot;lt++)F[lt]=1;ct=-1}else ct=-1;if(T[Ot][6])ct===-1&&(ct=ot);else if(ct>-1){for(lt=ct;lt<ot;lt++)F[lt]=ft;ct=-1}E[ot]==="B"&&(F[ot]=0),V.hiLevel|=ft}a&&function(U,Y,et){for(var nt=0;nt<et;nt++)if(U[nt]==="S"){Y[nt]=z;for(var it=nt-1;it>=0&&U[it]==="WS";it--)Y[it]=z}}(E,F,dt)},rt=function(k,F,V,B,lt){if(!(lt.hiLevel<k)){if(k===1&&z===1&&!s)return F.reverse(),void(V&&V.reverse());for(var ot,ft,Z,ct,dt=F.length,Ot=0;Ot<dt;){if(B[Ot]>=k){for(Z=Ot+1;Z<dt&&B[Z]>=k;)Z++;for(ct=Ot,ft=Z-1;ct<ft;ct++,ft--)ot=F[ct],F[ct]=F[ft],F[ft]=ot,V&&(ot=V[ct],V[ct]=V[ft],V[ft]=ot);Ot=Z}Ot++}}},pt=function(k,F,V){var B=k.split(""),lt={hiLevel:z};return V||(V=[]),q(B,V,lt),function(ot,ft,Z){if(Z.hiLevel!==0&&m)for(var ct,dt=0;dt<ot.length;dt++)ft[dt]===1&&(ct=O.indexOf(ot[dt]))>=0&&(ot[dt]=O[ct+1])}(B,V,lt),rt(2,B,F,V,lt),rt(1,B,F,V,lt),B.join("")};return this.__bidiEngine__.doBidiReorder=function(k,F,V){if(function(lt,ot){if(ot)for(var ft=0;ft<lt.length;ft++)ot[ft]=ft;c===void 0&&(c=at(lt)),g===void 0&&(g=at(lt))}(k,F),l||!h||g)if(l&&h&&c^g)z=c?1:0,k=tt(k,F,V);else if(!l&&h&&g)z=c?1:0,k=pt(k,F,V),k=tt(k,F);else if(!l||c||h||g){if(l&&!h&&c^g)k=tt(k,F),c?(z=0,k=pt(k,F,V)):(z=1,k=pt(k,F,V),k=tt(k,F));else if(l&&c&&!h&&g)z=1,k=pt(k,F,V),k=tt(k,F);else if(!l&&!h&&c^g){var B=m;c?(z=1,k=pt(k,F,V),z=0,m=!1,k=pt(k,F,V),m=B):(z=0,k=pt(k,F,V),k=tt(k,F),z=1,m=!1,k=pt(k,F,V),m=B,k=tt(k,F))}}else z=0,k=pt(k,F,V);else z=c?1:0,k=pt(k,F,V);return k},this.__bidiEngine__.setOptions=function(k){k&&(l=k.isInputVisual,h=k.isOutputVisual,c=k.isInputRtl,g=k.isOutputRtl,m=k.isSymmetricSwapping)},this.__bidiEngine__.setOptions(i),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(i){var s=i.text;i.x,i.y;var a=i.options||{};i.mutex,a.lang;var l=[];if(a.isInputVisual=typeof a.isInputVisual!="boolean"||a.isInputVisual,r.setOptions(a),Object.prototype.toString.call(s)==="[object Array]"){var c=0;for(l=[],c=0;c<s.length;c+=1)Object.prototype.toString.call(s[c])==="[object Array]"?l.push([r.doBidiReorder(s[c][0]),s[c][1],s[c][2]]):l.push([r.doBidiReorder(s[c])]);i.text=l}else i.text=r.doBidiReorder(s);r.setOptions({isInputVisual:!0})}])}(Rt),Rt.API.TTFFont=function(){function t(e){var r;if(this.rawData=e,r=this.contents=new Mn(e),this.contents.pos=4,r.readString(4)==="ttcf")throw new Error("TTCF not supported.");r.pos=0,this.parse(),this.subset=new Sf(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new ff(this.contents),this.head=new pf(this),this.name=new bf(this),this.cmap=new yu(this),this.toUnicode={},this.hhea=new df(this),this.maxp=new yf(this),this.hmtx=new wf(this),this.post=new mf(this),this.os2=new gf(this),this.loca=new Nf(this),this.glyf=new xf(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var e,r,i,s,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var l,c,h,g;for(g=[],l=0,c=(h=this.bbox).length;l<c;l++)e=h[l],g.push(Math.round(e*this.scaleFactor));return g}.call(this),this.stemV=0,this.post.exists?(i=255&(s=this.post.italic_angle),32768&(r=s>>16)&&(r=-(1+(65535^r))),this.italicAngle=+(r+"."+i)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(a=this.familyClass)===1||a===2||a===3||a===4||a===5||a===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(e){var r;return((r=this.cmap.unicode)!=null?r.codeMap[e]:void 0)||0},t.prototype.widthOfGlyph=function(e){var r;return r=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*r},t.prototype.widthOfString=function(e,r,i){var s,a,l,c;for(l=0,a=0,c=(e=""+e).length;0<=c?a<c:a>c;a=0<=c?++a:--a)s=e.charCodeAt(a),l+=this.widthOfGlyph(this.characterToGlyph(s))+i*(1e3/r)||0;return l*(r/1e3)},t.prototype.lineHeight=function(e,r){var i;return r==null&&(r=!1),i=r?this.lineGap:0,(this.ascender+i-this.decender)/1e3*e},t}();var Ur,Mn=function(){function t(e){this.data=e??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(e){return this.data[this.pos++]=e},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},t.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},t.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},t.prototype.readString=function(e){var r,i;for(i=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)i[r]=String.fromCharCode(this.readByte());return i.join("")},t.prototype.writeString=function(e){var r,i,s;for(s=[],r=0,i=e.length;0<=i?r<i:r>i;r=0<=i?++r:--r)s.push(this.writeByte(e.charCodeAt(r)));return s},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(e){return this.writeInt16(e)},t.prototype.readLongLong=function(){var e,r,i,s,a,l,c,h;return e=this.readByte(),r=this.readByte(),i=this.readByte(),s=this.readByte(),a=this.readByte(),l=this.readByte(),c=this.readByte(),h=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^r)+1099511627776*(255^i)+4294967296*(255^s)+16777216*(255^a)+65536*(255^l)+256*(255^c)+(255^h)+1):72057594037927940*e+281474976710656*r+1099511627776*i+4294967296*s+16777216*a+65536*l+256*c+h},t.prototype.writeLongLong=function(e){var r,i;return r=Math.floor(e/4294967296),i=4294967295&e,this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r),this.writeByte(i>>24&255),this.writeByte(i>>16&255),this.writeByte(i>>8&255),this.writeByte(255&i)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(e){return this.writeInt32(e)},t.prototype.read=function(e){var r,i;for(r=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)r.push(this.readByte());return r},t.prototype.write=function(e){var r,i,s,a;for(a=[],i=0,s=e.length;i<s;i++)r=e[i],a.push(this.writeByte(r));return a},t}(),ff=function(){var t;function e(r){var i,s,a;for(this.scalarType=r.readInt(),this.tableCount=r.readShort(),this.searchRange=r.readShort(),this.entrySelector=r.readShort(),this.rangeShift=r.readShort(),this.tables={},s=0,a=this.tableCount;0<=a?s<a:s>a;s=0<=a?++s:--s)i={tag:r.readString(4),checksum:r.readInt(),offset:r.readInt(),length:r.readInt()},this.tables[i.tag]=i}return e.prototype.encode=function(r){var i,s,a,l,c,h,g,m,v,A,d,C,_;for(_ in d=Object.keys(r).length,h=Math.log(2),v=16*Math.floor(Math.log(d)/h),l=Math.floor(v/h),m=16*d-v,(s=new Mn).writeInt(this.scalarType),s.writeShort(d),s.writeShort(v),s.writeShort(l),s.writeShort(m),a=16*d,g=s.pos+a,c=null,C=[],r)for(A=r[_],s.writeString(_),s.writeInt(t(A)),s.writeInt(g),s.writeInt(A.length),C=C.concat(A),_==="head"&&(c=g),g+=A.length;g%4;)C.push(0),g++;return s.write(C),i=2981146554-t(s.data),s.pos=c+8,s.writeUInt32(i),s.data},t=function(r){var i,s,a,l;for(r=wu.call(r);r.length%4;)r.push(0);for(a=new Mn(r),s=0,i=0,l=r.length;i<l;i=i+=4)s+=a.readUInt32();return 4294967295&s},e}(),hf={}.hasOwnProperty,nn=function(t,e){for(var r in e)hf.call(e,r)&&(t[r]=e[r]);function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t};Ur=function(){function t(e){var r;this.file=e,r=this.file.directory.tables[this.tag],this.exists=!!r,r&&(this.offset=r.offset,this.length=r.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var pf=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="head",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.revision=r.readInt(),this.checkSumAdjustment=r.readInt(),this.magicNumber=r.readInt(),this.flags=r.readShort(),this.unitsPerEm=r.readShort(),this.created=r.readLongLong(),this.modified=r.readLongLong(),this.xMin=r.readShort(),this.yMin=r.readShort(),this.xMax=r.readShort(),this.yMax=r.readShort(),this.macStyle=r.readShort(),this.lowestRecPPEM=r.readShort(),this.fontDirectionHint=r.readShort(),this.indexToLocFormat=r.readShort(),this.glyphDataFormat=r.readShort()},e.prototype.encode=function(r){var i;return(i=new Mn).writeInt(this.version),i.writeInt(this.revision),i.writeInt(this.checkSumAdjustment),i.writeInt(this.magicNumber),i.writeShort(this.flags),i.writeShort(this.unitsPerEm),i.writeLongLong(this.created),i.writeLongLong(this.modified),i.writeShort(this.xMin),i.writeShort(this.yMin),i.writeShort(this.xMax),i.writeShort(this.yMax),i.writeShort(this.macStyle),i.writeShort(this.lowestRecPPEM),i.writeShort(this.fontDirectionHint),i.writeShort(r),i.writeShort(this.glyphDataFormat),i.data},e}(),lu=function(){function t(e,r){var i,s,a,l,c,h,g,m,v,A,d,C,_,O,S,j,z;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=r+e.readInt(),v=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(h=0;h<256;++h)this.codeMap[h]=e.readByte();break;case 4:for(d=e.readUInt16(),A=d/2,e.pos+=6,a=function(){var Q,at;for(at=[],h=Q=0;0<=A?Q<A:Q>A;h=0<=A?++Q:--Q)at.push(e.readUInt16());return at}(),e.pos+=2,_=function(){var Q,at;for(at=[],h=Q=0;0<=A?Q<A:Q>A;h=0<=A?++Q:--Q)at.push(e.readUInt16());return at}(),g=function(){var Q,at;for(at=[],h=Q=0;0<=A?Q<A:Q>A;h=0<=A?++Q:--Q)at.push(e.readUInt16());return at}(),m=function(){var Q,at;for(at=[],h=Q=0;0<=A?Q<A:Q>A;h=0<=A?++Q:--Q)at.push(e.readUInt16());return at}(),s=(this.length-e.pos+this.offset)/2,c=function(){var Q,at;for(at=[],h=Q=0;0<=s?Q<s:Q>s;h=0<=s?++Q:--Q)at.push(e.readUInt16());return at}(),h=S=0,z=a.length;S<z;h=++S)for(O=a[h],i=j=C=_[h];C<=O?j<=O:j>=O;i=C<=O?++j:--j)m[h]===0?l=i+g[h]:(l=c[m[h]/2+(i-C)-(A-h)]||0)!==0&&(l+=g[h]),this.codeMap[i]=65535&l}e.pos=v}return t.encode=function(e,r){var i,s,a,l,c,h,g,m,v,A,d,C,_,O,S,j,z,Q,at,bt,tt,q,rt,pt,k,F,V,B,lt,ot,ft,Z,ct,dt,Ot,L,T,E,U,Y,et,nt,it,Lt,At,Ft;switch(B=new Mn,l=Object.keys(e).sort(function(Pt,Ut){return Pt-Ut}),r){case"macroman":for(_=0,O=function(){var Pt=[];for(C=0;C<256;++C)Pt.push(0);return Pt}(),j={0:0},a={},lt=0,ct=l.length;lt<ct;lt++)j[it=e[s=l[lt]]]==null&&(j[it]=++_),a[s]={old:e[s],new:j[e[s]]},O[s]=j[e[s]];return B.writeUInt16(1),B.writeUInt16(0),B.writeUInt32(12),B.writeUInt16(0),B.writeUInt16(262),B.writeUInt16(0),B.write(O),{charMap:a,subtable:B.data,maxGlyphID:_+1};case"unicode":for(F=[],v=[],z=0,j={},i={},S=g=null,ot=0,dt=l.length;ot<dt;ot++)j[at=e[s=l[ot]]]==null&&(j[at]=++z),i[s]={old:at,new:j[at]},c=j[at]-s,S!=null&&c===g||(S&&v.push(S),F.push(s),g=c),S=s;for(S&&v.push(S),v.push(65535),F.push(65535),pt=2*(rt=F.length),q=2*Math.pow(Math.log(rt)/Math.LN2,2),A=Math.log(q/2)/Math.LN2,tt=2*rt-q,h=[],bt=[],d=[],C=ft=0,Ot=F.length;ft<Ot;C=++ft){if(k=F[C],m=v[C],k===65535){h.push(0),bt.push(0);break}if(k-(V=i[k].new)>=32768)for(h.push(0),bt.push(2*(d.length+rt-C)),s=Z=k;k<=m?Z<=m:Z>=m;s=k<=m?++Z:--Z)d.push(i[s].new);else h.push(V-k),bt.push(0)}for(B.writeUInt16(3),B.writeUInt16(1),B.writeUInt32(12),B.writeUInt16(4),B.writeUInt16(16+8*rt+2*d.length),B.writeUInt16(0),B.writeUInt16(pt),B.writeUInt16(q),B.writeUInt16(A),B.writeUInt16(tt),et=0,L=v.length;et<L;et++)s=v[et],B.writeUInt16(s);for(B.writeUInt16(0),nt=0,T=F.length;nt<T;nt++)s=F[nt],B.writeUInt16(s);for(Lt=0,E=h.length;Lt<E;Lt++)c=h[Lt],B.writeUInt16(c);for(At=0,U=bt.length;At<U;At++)Q=bt[At],B.writeUInt16(Q);for(Ft=0,Y=d.length;Ft<Y;Ft++)_=d[Ft],B.writeUInt16(_);return{charMap:i,subtable:B.data,maxGlyphID:z+1}}},t}(),yu=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="cmap",e.prototype.parse=function(r){var i,s,a;for(r.pos=this.offset,this.version=r.readUInt16(),a=r.readUInt16(),this.tables=[],this.unicode=null,s=0;0<=a?s<a:s>a;s=0<=a?++s:--s)i=new lu(r,this.offset),this.tables.push(i),i.isUnicode&&this.unicode==null&&(this.unicode=i);return!0},e.encode=function(r,i){var s,a;return i==null&&(i="macroman"),s=lu.encode(r,i),(a=new Mn).writeUInt16(0),a.writeUInt16(1),s.table=a.data.concat(s.subtable),s},e}(),df=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="hhea",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.ascender=r.readShort(),this.decender=r.readShort(),this.lineGap=r.readShort(),this.advanceWidthMax=r.readShort(),this.minLeftSideBearing=r.readShort(),this.minRightSideBearing=r.readShort(),this.xMaxExtent=r.readShort(),this.caretSlopeRise=r.readShort(),this.caretSlopeRun=r.readShort(),this.caretOffset=r.readShort(),r.pos+=8,this.metricDataFormat=r.readShort(),this.numberOfMetrics=r.readUInt16()},e}(),gf=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="OS/2",e.prototype.parse=function(r){if(r.pos=this.offset,this.version=r.readUInt16(),this.averageCharWidth=r.readShort(),this.weightClass=r.readUInt16(),this.widthClass=r.readUInt16(),this.type=r.readShort(),this.ySubscriptXSize=r.readShort(),this.ySubscriptYSize=r.readShort(),this.ySubscriptXOffset=r.readShort(),this.ySubscriptYOffset=r.readShort(),this.ySuperscriptXSize=r.readShort(),this.ySuperscriptYSize=r.readShort(),this.ySuperscriptXOffset=r.readShort(),this.ySuperscriptYOffset=r.readShort(),this.yStrikeoutSize=r.readShort(),this.yStrikeoutPosition=r.readShort(),this.familyClass=r.readShort(),this.panose=function(){var i,s;for(s=[],i=0;i<10;++i)s.push(r.readByte());return s}(),this.charRange=function(){var i,s;for(s=[],i=0;i<4;++i)s.push(r.readInt());return s}(),this.vendorID=r.readString(4),this.selection=r.readShort(),this.firstCharIndex=r.readShort(),this.lastCharIndex=r.readShort(),this.version>0&&(this.ascent=r.readShort(),this.descent=r.readShort(),this.lineGap=r.readShort(),this.winAscent=r.readShort(),this.winDescent=r.readShort(),this.codePageRange=function(){var i,s;for(s=[],i=0;i<2;i=++i)s.push(r.readInt());return s}(),this.version>1))return this.xHeight=r.readShort(),this.capHeight=r.readShort(),this.defaultChar=r.readShort(),this.breakChar=r.readShort(),this.maxContext=r.readShort()},e}(),mf=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="post",e.prototype.parse=function(r){var i,s,a;switch(r.pos=this.offset,this.format=r.readInt(),this.italicAngle=r.readInt(),this.underlinePosition=r.readShort(),this.underlineThickness=r.readShort(),this.isFixedPitch=r.readInt(),this.minMemType42=r.readInt(),this.maxMemType42=r.readInt(),this.minMemType1=r.readInt(),this.maxMemType1=r.readInt(),this.format){case 65536:break;case 131072:var l;for(s=r.readUInt16(),this.glyphNameIndex=[],l=0;0<=s?l<s:l>s;l=0<=s?++l:--l)this.glyphNameIndex.push(r.readUInt16());for(this.names=[],a=[];r.pos<this.offset+this.length;)i=r.readByte(),a.push(this.names.push(r.readString(i)));return a;case 151552:return s=r.readUInt16(),this.offsets=r.read(s);case 196608:break;case 262144:return this.map=function(){var c,h,g;for(g=[],l=c=0,h=this.file.maxp.numGlyphs;0<=h?c<h:c>h;l=0<=h?++c:--c)g.push(r.readUInt32());return g}.call(this)}},e}(),vf=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},bf=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="name",e.prototype.parse=function(r){var i,s,a,l,c,h,g,m,v,A,d;for(r.pos=this.offset,r.readShort(),i=r.readShort(),h=r.readShort(),s=[],l=0;0<=i?l<i:l>i;l=0<=i?++l:--l)s.push({platformID:r.readShort(),encodingID:r.readShort(),languageID:r.readShort(),nameID:r.readShort(),length:r.readShort(),offset:this.offset+h+r.readShort()});for(g={},l=v=0,A=s.length;v<A;l=++v)a=s[l],r.pos=a.offset,m=r.readString(a.length),c=new vf(m,a),g[d=a.nameID]==null&&(g[d]=[]),g[a.nameID].push(c);this.strings=g,this.copyright=g[0],this.fontFamily=g[1],this.fontSubfamily=g[2],this.uniqueSubfamily=g[3],this.fontName=g[4],this.version=g[5];try{this.postscriptName=g[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=g[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=g[7],this.manufacturer=g[8],this.designer=g[9],this.description=g[10],this.vendorUrl=g[11],this.designerUrl=g[12],this.license=g[13],this.licenseUrl=g[14],this.preferredFamily=g[15],this.preferredSubfamily=g[17],this.compatibleFull=g[18],this.sampleText=g[19]},e}(),yf=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="maxp",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.numGlyphs=r.readUInt16(),this.maxPoints=r.readUInt16(),this.maxContours=r.readUInt16(),this.maxCompositePoints=r.readUInt16(),this.maxComponentContours=r.readUInt16(),this.maxZones=r.readUInt16(),this.maxTwilightPoints=r.readUInt16(),this.maxStorage=r.readUInt16(),this.maxFunctionDefs=r.readUInt16(),this.maxInstructionDefs=r.readUInt16(),this.maxStackElements=r.readUInt16(),this.maxSizeOfInstructions=r.readUInt16(),this.maxComponentElements=r.readUInt16(),this.maxComponentDepth=r.readUInt16()},e}(),wf=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="hmtx",e.prototype.parse=function(r){var i,s,a,l,c,h,g;for(r.pos=this.offset,this.metrics=[],i=0,h=this.file.hhea.numberOfMetrics;0<=h?i<h:i>h;i=0<=h?++i:--i)this.metrics.push({advance:r.readUInt16(),lsb:r.readInt16()});for(a=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var m,v;for(v=[],i=m=0;0<=a?m<a:m>a;i=0<=a?++m:--m)v.push(r.readInt16());return v}(),this.widths=function(){var m,v,A,d;for(d=[],m=0,v=(A=this.metrics).length;m<v;m++)l=A[m],d.push(l.advance);return d}.call(this),s=this.widths[this.widths.length-1],g=[],i=c=0;0<=a?c<a:c>a;i=0<=a?++c:--c)g.push(this.widths.push(s));return g},e.prototype.forGlyph=function(r){return r in this.metrics?this.metrics[r]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[r-this.metrics.length]}},e}(),wu=[].slice,xf=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(r){var i,s,a,l,c,h,g,m,v,A;return r in this.cache?this.cache[r]:(l=this.file.loca,i=this.file.contents,s=l.indexOf(r),(a=l.lengthOf(r))===0?this.cache[r]=null:(i.pos=this.offset+s,c=(h=new Mn(i.read(a))).readShort(),m=h.readShort(),A=h.readShort(),g=h.readShort(),v=h.readShort(),this.cache[r]=c===-1?new Lf(h,m,A,g,v):new Af(h,c,m,A,g,v),this.cache[r]))},e.prototype.encode=function(r,i,s){var a,l,c,h,g;for(c=[],l=[],h=0,g=i.length;h<g;h++)a=r[i[h]],l.push(c.length),a&&(c=c.concat(a.encode(s)));return l.push(c.length),{table:c,offsets:l}},e}(),Af=function(){function t(e,r,i,s,a,l){this.raw=e,this.numberOfContours=r,this.xMin=i,this.yMin=s,this.xMax=a,this.yMax=l,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),Lf=function(){function t(e,r,i,s,a){var l,c;for(this.raw=e,this.xMin=r,this.yMin=i,this.xMax=s,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],l=this.raw;c=l.readShort(),this.glyphOffsets.push(l.pos),this.glyphIDs.push(l.readUInt16()),32&c;)l.pos+=1&c?4:2,128&c?l.pos+=8:64&c?l.pos+=4:8&c&&(l.pos+=2)}return t.prototype.encode=function(){var e,r,i;for(r=new Mn(wu.call(this.raw.data)),e=0,i=this.glyphIDs.length;e<i;++e)r.pos=this.glyphOffsets[e];return r.data},t}(),Nf=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return nn(e,Ur),e.prototype.tag="loca",e.prototype.parse=function(r){var i,s;return r.pos=this.offset,i=this.file.head.indexToLocFormat,this.offsets=i===0?function(){var a,l;for(l=[],s=0,a=this.length;s<a;s+=2)l.push(2*r.readUInt16());return l}.call(this):function(){var a,l;for(l=[],s=0,a=this.length;s<a;s+=4)l.push(r.readUInt32());return l}.call(this)},e.prototype.indexOf=function(r){return this.offsets[r]},e.prototype.lengthOf=function(r){return this.offsets[r+1]-this.offsets[r]},e.prototype.encode=function(r,i){for(var s=new Uint32Array(this.offsets.length),a=0,l=0,c=0;c<s.length;++c)if(s[c]=a,l<i.length&&i[l]==c){++l,s[c]=a;var h=this.offsets[c],g=this.offsets[c+1]-h;g>0&&(a+=g)}for(var m=new Array(4*s.length),v=0;v<s.length;++v)m[4*v+3]=255&s[v],m[4*v+2]=(65280&s[v])>>8,m[4*v+1]=(16711680&s[v])>>16,m[4*v]=(4278190080&s[v])>>24;return m},e}(),Sf=function(){function t(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var e,r,i,s,a;for(r in s=this.font.cmap.tables[0].codeMap,e={},a=this.subset)i=a[r],e[r]=s[i];return e},t.prototype.glyphsFor=function(e){var r,i,s,a,l,c,h;for(s={},l=0,c=e.length;l<c;l++)s[a=e[l]]=this.font.glyf.glyphFor(a);for(a in r=[],s)(i=s[a])!=null&&i.compound&&r.push.apply(r,i.glyphIDs);if(r.length>0)for(a in h=this.glyphsFor(r))i=h[a],s[a]=i;return s},t.prototype.encode=function(e,r){var i,s,a,l,c,h,g,m,v,A,d,C,_,O,S;for(s in i=yu.encode(this.generateCmap(),"unicode"),l=this.glyphsFor(e),d={0:0},S=i.charMap)d[(h=S[s]).old]=h.new;for(C in A=i.maxGlyphID,l)C in d||(d[C]=A++);return m=function(j){var z,Q;for(z in Q={},j)Q[j[z]]=z;return Q}(d),v=Object.keys(m).sort(function(j,z){return j-z}),_=function(){var j,z,Q;for(Q=[],j=0,z=v.length;j<z;j++)c=v[j],Q.push(m[c]);return Q}(),a=this.font.glyf.encode(l,_,d),g=this.font.loca.encode(a.offsets,_),O={cmap:this.font.cmap.raw(),glyf:a.table,loca:g,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(r)},this.font.os2.exists&&(O["OS/2"]=this.font.os2.raw()),this.font.directory.encode(O)},t}();Rt.API.PDFObject=function(){var t;function e(){}return t=function(r,i){return(Array(i+1).join("0")+r).slice(-i)},e.convert=function(r){var i,s,a,l;if(Array.isArray(r))return"["+function(){var c,h,g;for(g=[],c=0,h=r.length;c<h;c++)i=r[c],g.push(e.convert(i));return g}().join(" ")+"]";if(typeof r=="string")return"/"+r;if(r?.isString)return"("+r+")";if(r instanceof Date)return"(D:"+t(r.getUTCFullYear(),4)+t(r.getUTCMonth(),2)+t(r.getUTCDate(),2)+t(r.getUTCHours(),2)+t(r.getUTCMinutes(),2)+t(r.getUTCSeconds(),2)+"Z)";if({}.toString.call(r)==="[object Object]"){for(s in a=["<<"],r)l=r[s],a.push("/"+s+" "+e.convert(l));return a.push(">>"),a.join(`
80
- `)}return""+r},e}();var Oo=function(){return Oo=Object.assign||function(e){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Oo.apply(this,arguments)},Js={exports:{}},Le={},Ys={exports:{}},ti={};function Su(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function Pf(t,e,r){}function _f(t,e,r){}var kf=/javascript\s*\:/img;function Ff(t,e){return kf.test(e)?"":e}ti.whiteList=Su();ti.getDefaultWhiteList=Su;ti.onAttr=Pf;ti.onIgnoreAttr=_f;ti.safeAttrValue=Ff;var If={indexOf:function(t,e){var r,i;if(Array.prototype.indexOf)return t.indexOf(e);for(r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return-1},forEach:function(t,e,r){var i,s;if(Array.prototype.forEach)return t.forEach(e,r);for(i=0,s=t.length;i<s;i++)e.call(r,t[i],i,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},Aa=If;function Cf(t,e){t=Aa.trimRight(t),t[t.length-1]!==";"&&(t+=";");var r=t.length,i=!1,s=0,a=0,l="";function c(){if(!i){var m=Aa.trim(t.slice(s,a)),v=m.indexOf(":");if(v!==-1){var A=Aa.trim(m.slice(0,v)),d=Aa.trim(m.slice(v+1));if(A){var C=e(s,l.length,A,d,m);C&&(l+=C+"; ")}}}s=a+1}for(;a<r;a++){var h=t[a];if(h==="/"&&t[a+1]==="*"){var g=t.indexOf("*/",a+2);if(g===-1)break;a=g+1,s=a+1,i=!1}else h==="("?i=!0:h===")"?i=!1:h===";"?i||c():h===`
81
- `&&c()}return Aa.trim(l)}var Of=Cf,ko=ti,jf=Of;function xu(t){return t==null}function Tf(t){var e={};for(var r in t)e[r]=t[r];return e}function Pu(t){t=Tf(t||{}),t.whiteList=t.whiteList||ko.whiteList,t.onAttr=t.onAttr||ko.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||ko.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||ko.safeAttrValue,this.options=t}Pu.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,r=e.options,i=r.whiteList,s=r.onAttr,a=r.onIgnoreAttr,l=r.safeAttrValue,c=jf(t,function(h,g,m,v,A){var d=i[m],C=!1;if(d===!0?C=d:typeof d=="function"?C=d(v):d instanceof RegExp&&(C=d.test(v)),C!==!0&&(C=!1),v=l(m,v),!!v){var _={position:g,sourcePosition:h,source:A,isWhite:C};if(C){var O=s(m,v,_);return xu(O)?m+":"+v:O}else{var O=a(m,v,_);if(!xu(O))return O}}});return c};var Mf=Pu;(function(t,e){var r=ti,i=Mf;function s(l,c){var h=new i(c);return h.process(l)}e=t.exports=s,e.FilterCSS=i;for(var a in r)e[a]=r[a]})(Ys,Ys.exports);var Xs=Ys.exports,$s={indexOf:function(t,e){var r,i;if(Array.prototype.indexOf)return t.indexOf(e);for(r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return-1},forEach:function(t,e,r){var i,s;if(Array.prototype.forEach)return t.forEach(e,r);for(i=0,s=t.length;i<s;i++)e.call(r,t[i],i,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,r=e.exec(t);return r?r.index:-1}},Ef=Xs.FilterCSS,Df=Xs.getDefaultWhiteList,jo=$s;function _u(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var ku=new Ef;function Bf(t,e,r){}function qf(t,e,r){}function Rf(t,e,r){}function zf(t,e,r){}function Fu(t){return t.replace(Hf,"&lt;").replace(Wf,"&gt;")}function Uf(t,e,r,i){if(r=Mu(r),e==="href"||e==="src"){if(r=jo.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(e==="background"){if(Fo.lastIndex=0,Fo.test(r))return""}else if(e==="style"){if(Au.lastIndex=0,Au.test(r)||(Lu.lastIndex=0,Lu.test(r)&&(Fo.lastIndex=0,Fo.test(r))))return"";i!==!1&&(i=i||ku,r=i.process(r))}return r=Eu(r),r}var Hf=/</g,Wf=/>/g,Vf=/"/g,Gf=/&quot;/g,Jf=/&#([a-zA-Z0-9]*);?/gim,Yf=/&colon;?/gim,Xf=/&newline;?/gim,Fo=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,Au=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Lu=/u\s*r\s*l\s*\(.*/gi;function Iu(t){return t.replace(Vf,"&quot;")}function Cu(t){return t.replace(Gf,'"')}function Ou(t){return t.replace(Jf,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function ju(t){return t.replace(Yf,":").replace(Xf," ")}function Tu(t){for(var e="",r=0,i=t.length;r<i;r++)e+=t.charCodeAt(r)<32?" ":t.charAt(r);return jo.trim(e)}function Mu(t){return t=Cu(t),t=Ou(t),t=ju(t),t=Tu(t),t}function Eu(t){return t=Iu(t),t=Fu(t),t}function $f(){return""}function Kf(t,e){typeof e!="function"&&(e=function(){});var r=!Array.isArray(t);function i(l){return r?!0:jo.indexOf(t,l)!==-1}var s=[],a=!1;return{onIgnoreTag:function(l,c,h){if(i(l))if(h.isClosing){var g="[/removed]",m=h.position+g.length;return s.push([a!==!1?a:h.position,m]),a=!1,g}else return a||(a=h.position),"[removed]";else return e(l,c,h)},remove:function(l){var c="",h=0;return jo.forEach(s,function(g){c+=l.slice(h,g[0]),h=g[1]}),c+=l.slice(h),c}}}function Zf(t){for(var e="",r=0;r<t.length;){var i=t.indexOf("<!--",r);if(i===-1){e+=t.slice(r);break}e+=t.slice(r,i);var s=t.indexOf("-->",i);if(s===-1)break;r=s+3}return e}function Qf(t){var e=t.split("");return e=e.filter(function(r){var i=r.charCodeAt(0);return i===127?!1:i<=31?i===10||i===13:!0}),e.join("")}Le.whiteList=_u();Le.getDefaultWhiteList=_u;Le.onTag=Bf;Le.onIgnoreTag=qf;Le.onTagAttr=Rf;Le.onIgnoreTagAttr=zf;Le.safeAttrValue=Uf;Le.escapeHtml=Fu;Le.escapeQuote=Iu;Le.unescapeQuote=Cu;Le.escapeHtmlEntities=Ou;Le.escapeDangerHtml5Entities=ju;Le.clearNonPrintableCharacter=Tu;Le.friendlyAttrValue=Mu;Le.escapeAttrValue=Eu;Le.onIgnoreTagStripAll=$f;Le.StripTagBody=Kf;Le.stripCommentTag=Zf;Le.stripBlankChar=Qf;Le.cssFilter=ku;Le.getDefaultCSSWhiteList=Df;var To={},En=$s;function th(t){var e=En.spaceIndex(t),r;return e===-1?r=t.slice(1,-1):r=t.slice(1,e+1),r=En.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function eh(t){return t.slice(0,2)==="</"}function rh(t,e,r){var i="",s=0,a=!1,l=!1,c=0,h=t.length,g="",m="";t:for(c=0;c<h;c++){var v=t.charAt(c);if(a===!1){if(v==="<"){a=c;continue}}else if(l===!1){if(v==="<"){i+=r(t.slice(s,c)),a=c,s=c;continue}if(v===">"){i+=r(t.slice(s,a)),m=t.slice(a,c+1),g=th(m),i+=e(a,i.length,g,m,eh(m)),s=c+1,a=!1;continue}if(v==='"'||v==="'")for(var A=1,d=t.charAt(c-A);d.trim()===""||d==="=";){if(d==="="){l=v;continue t}d=t.charAt(c-++A)}}else if(v===l){l=!1;continue}}return s<t.length&&(i+=r(t.substr(s))),i}var nh=/[^a-zA-Z0-9\\_:.-]/gim;function ih(t,e){var r=0,i=0,s=[],a=!1,l=t.length;function c(A,d){if(A=En.trim(A),A=A.replace(nh,"").toLowerCase(),!(A.length<1)){var C=e(A,d||"");C&&s.push(C)}}for(var h=0;h<l;h++){var g=t.charAt(h),m,v;if(a===!1&&g==="="){a=t.slice(r,h),r=h+1,i=t.charAt(r)==='"'||t.charAt(r)==="'"?r:oh(t,h+1);continue}if(a!==!1&&h===i){if(v=t.indexOf(g,h+1),v===-1)break;m=En.trim(t.slice(i+1,v)),c(a,m),a=!1,h=v,r=h+1;continue}if(/\s|\n|\t/.test(g))if(t=t.replace(/\s|\n|\t/g," "),a===!1)if(v=ah(t,h),v===-1){m=En.trim(t.slice(r,h)),c(m),a=!1,r=h+1;continue}else{h=v-1;continue}else if(v=sh(t,h-1),v===-1){m=En.trim(t.slice(r,h)),m=Nu(m),c(a,m),a=!1,r=h+1;continue}else continue}return r<t.length&&(a===!1?c(t.slice(r)):c(a,Nu(En.trim(t.slice(r))))),En.trim(s.join(" "))}function ah(t,e){for(;e<t.length;e++){var r=t[e];if(r!==" ")return r==="="?e:-1}}function oh(t,e){for(;e<t.length;e++){var r=t[e];if(r!==" ")return r==="'"||r==='"'?e:-1}}function sh(t,e){for(;e>0;e--){var r=t[e];if(r!==" ")return r==="="?e:-1}}function lh(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function Nu(t){return lh(t)?t.substr(1,t.length-2):t}To.parseTag=rh;To.parseAttr=ih;var uh=Xs.FilterCSS,Hr=Le,Du=To,ch=Du.parseTag,fh=Du.parseAttr,Co=$s;function Io(t){return t==null}function hh(t){var e=Co.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Co.trim(t.slice(e+1,-1));var r=t[t.length-1]==="/";return r&&(t=Co.trim(t.slice(0,-1))),{html:t,closing:r}}function ph(t){var e={};for(var r in t)e[r]=t[r];return e}function dh(t){var e={};for(var r in t)Array.isArray(t[r])?e[r.toLowerCase()]=t[r].map(function(i){return i.toLowerCase()}):e[r.toLowerCase()]=t[r];return e}function Bu(t){t=ph(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=Hr.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=dh(t.whiteList||t.allowList):t.whiteList=Hr.whiteList,t.onTag=t.onTag||Hr.onTag,t.onTagAttr=t.onTagAttr||Hr.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||Hr.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||Hr.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||Hr.safeAttrValue,t.escapeHtml=t.escapeHtml||Hr.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new uh(t.css))}Bu.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,r=e.options,i=r.whiteList,s=r.onTag,a=r.onIgnoreTag,l=r.onTagAttr,c=r.onIgnoreTagAttr,h=r.safeAttrValue,g=r.escapeHtml,m=e.cssFilter;r.stripBlankChar&&(t=Hr.stripBlankChar(t)),r.allowCommentTag||(t=Hr.stripCommentTag(t));var v=!1;r.stripIgnoreTagBody&&(v=Hr.StripTagBody(r.stripIgnoreTagBody,a),a=v.onIgnoreTag);var A=ch(t,function(d,C,_,O,S){var j={sourcePosition:d,position:C,isClosing:S,isWhite:Object.prototype.hasOwnProperty.call(i,_)},z=s(_,O,j);if(!Io(z))return z;if(j.isWhite){if(j.isClosing)return"</"+_+">";var Q=hh(O),at=i[_],bt=fh(Q.html,function(tt,q){var rt=Co.indexOf(at,tt)!==-1,pt=l(_,tt,q,rt);return Io(pt)?rt?(q=h(_,tt,q,m),q?tt+'="'+q+'"':tt):(pt=c(_,tt,q,rt),Io(pt)?void 0:pt):pt});return O="<"+_,bt&&(O+=" "+bt),Q.closing&&(O+=" /"),O+=">",O}else return z=a(_,O,j),Io(z)?g(O):z},g);return v&&(A=v.remove(A)),A};var gh=Bu;(function(t,e){var r=Le,i=To,s=gh;function a(c,h){var g=new s(h);return g.process(c)}e=t.exports=a,e.filterXSS=a,e.FilterXSS=s,function(){for(var c in r)e[c]=r[c];for(var h in i)e[h]=i[h]}();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=t.exports)})(Js,Js.exports);var qi=Js.exports,mh=function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},qu=function(){function t(e,r){var i=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Oo(Oo({},qi.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(a,l,c,h){return a==="a"&&l==="href"||(a==="img"||a==="source")&&l==="src"?i.sanitizeUrl(c):qi.safeAttrValue(a,l,c,h)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var s;e&&!r?s=e:e&&r?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(e).forEach(function(a){if(a==="whiteList")s.whiteList=i._extendObjectOfArrays([i.arcgisWhiteList,e.whiteList||{}]);else if(a==="css"){var l=e.css.whiteList;l!=null&&e.css instanceof Object&&Object.keys(l).forEach(function(c){return s.css.whiteList[c]=l[c]})}else s[a]=e[a]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new qi.FilterXSS(s)}return t.prototype.sanitize=function(e,r){switch(r===void 0&&(r={}),typeof e){case"number":return isNaN(e)||!isFinite(e)?null:e;case"boolean":return e;case"string":return this._xssFilter.process(e);case"object":return this._iterateOverObject(e,r);default:return r.allowUndefined&&typeof e>"u"?void 0:null}},t.prototype.sanitizeUrl=function(e,r){var i=(r??{}).isProtocolRequired,s=i===void 0?!0:i,a=this._trim(e.substring(0,e.indexOf(":"))),l=e==="/",c=/^#/.test(e),h=a&&this.allowedProtocols.indexOf(a.toLowerCase())>-1;return l||c||h?qi.escapeAttrValue(e):!a&&!s?qi.escapeAttrValue("https://".concat(e)):""},t.prototype.sanitizeHTMLAttribute=function(e,r,i,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(e,r,i,s):qi.safeAttrValue(e,r,i,s)},t.prototype.validate=function(e,r){r===void 0&&(r={});var i=this.sanitize(e,r);return{isValid:e===i,sanitized:i}},t.prototype.encodeHTML=function(e){var r=this;return String(e).replace(/[&<>"'\/]/g,function(i){return r._entityMap[i]})},t.prototype.encodeAttrValue=function(e){var r=/^[a-zA-Z0-9]$/;return String(e).replace(/[\x00-\xFF]/g,function(i,s){return r.test(i)?i:"&#x".concat(Number(e.charCodeAt(s)).toString(16),";")})},t.prototype._extendObjectOfArrays=function(e){var r={};return e.forEach(function(i){Object.keys(i).forEach(function(s){Array.isArray(i[s])&&Array.isArray(r[s])?r[s]=r[s].concat(i[s]):r[s]=i[s]})}),r},t.prototype._iterateOverObject=function(e,r){var i=this;r===void 0&&(r={});try{var s=!1,a=void 0;if(Array.isArray(e))a=e.reduce(function(c,h){var g=i.validate(h,r);return g.isValid?c.concat([h]):(s=!0,c.concat([g.sanitized]))},[]);else if(mh(e)){var l=Object.keys(e);a=l.reduce(function(c,h){var g=e[h],m=i.validate(g,r);return m.isValid?c[h]=g:(s=!0,c[h]=m.sanitized),c},{})}else return r.allowUndefined&&typeof e>"u"?void 0:null;return s?a:e}catch{return null}},t.prototype._trim=function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},t}();function vh(t,e){let r=document.createElement("a");r.download!==void 0&&(r.href=URL.createObjectURL(new Blob(e,{type:"text/csv;charset=utf-8;"})),r.download=`${t}.csv`||"export.csv",r.style.visibility="hidden",document.body.appendChild(r),r.click(),document.body.removeChild(r))}function bh(t,e){let r=e.map(i=>Object.values(i).map(s=>`"${s}"`).join(",")+`\r
82
- `);vh(t,r)}var Pr;(function(t){t.A4="A4",t.ANSI_A="ANSI A"})(Pr||(Pr={}));var Eo=class t{dataPath="";lang="en";title="";fontProps={fontResolutionInchesPerPoint:1/72,fontFullHeightRatio:1.28};imageOptions={x:0,y:0,width:0,height:0};lineOptions={x1:0,y1:0,x2:0,y2:0,lineProperties:{thickness:.1,color:"000000",opacity:1}};pageOptions={pageType:Pr.ANSI_A,width:8.5,height:11,leftMargin:.25,rightMargin:.25,topMargin:.25,bottomMargin:.25,drawNeatline:!1};rectangleOptions={left:0,top:0,width:8.5,height:11,lineProperties:{thickness:.1,color:"000000",opacity:1},fillColor:"",fillOpacity:1};tableOptions={lineProperties:{thickness:.1,color:"",opacity:1},textProperties:{left:0,top:0,fontPoints:1,fontColor:"000000"}};textOptions={left:0,top:0,fontPoints:1,fontColor:"000000"};static getPageSize(e){switch(typeof e=="string"&&(e=e===Pr.A4?Pr.A4:Pr.ANSI_A),e){case Pr.A4:return{width:8.25,height:11.708333};case Pr.ANSI_A:return{width:8.5,height:11}}}addPage(){}applyOpacity(e,r){return e*r+1*(1-r)}drawImage(e,r){}drawLine(e){let r={...this.lineOptions,...e};r.lineProperties={...this.lineOptions.lineProperties,...e.lineProperties},this.updateLineProperties(r.lineProperties),this.lineOptions=r}drawNeatline(e={thickness:.005,color:"0000ff",opacity:.2}){this.drawRectangle({left:0,top:0,width:this.pageOptions.width-this.pageOptions.leftMargin-this.pageOptions.rightMargin,height:this.pageOptions.height-this.pageOptions.topMargin-this.pageOptions.bottomMargin,lineProperties:e})}drawRectangle(e){let r={...this.rectangleOptions,...e};r.lineProperties={...this.lineOptions.lineProperties,...e.lineProperties},this.updateLineProperties(r.lineProperties),(this.rectangleOptions.fillColor!==r.fillColor||this.rectangleOptions.fillOpacity!==r.fillOpacity)&&this.setFillColor(r.fillColor,r.fillOpacity),this.rectangleOptions=r}drawTable(e,r){let i={};i.lineProperties={...this.tableOptions.lineProperties,...r.lineProperties},i.textProperties={...this.tableOptions.textProperties,...r.textProperties},this.tableOptions.textProperties.fontPoints!==i.textProperties.fontPoints&&this.setFontSize(i.textProperties.fontPoints),this.tableOptions.textProperties.fontColor!==i.textProperties.fontColor&&this.setFontColor(i.textProperties.fontColor),this.updateLineProperties(i.lineProperties),this.tableOptions=i}drawText(e,r){let i={...this.textOptions,...r};this.textOptions.fontPoints!==i.fontPoints&&this.setFontSize(i.fontPoints),this.textOptions.fontColor!==i.fontColor&&this.setFontColor(i.fontColor),this.textOptions=i}fontAscenderBaselineHeight(e){return e*this.fontProps.fontResolutionInchesPerPoint}fontAscenderDescenderHeight(e){return this.fontProps.fontFullHeightRatio*this.fontAscenderBaselineHeight(e)}getFontFileName(e){let r="0b7681dc140844ee9f409bdac249fbf0-general";return e==="ja"?r="0b7681dc140844ee9f409bdac249fbf0-japanese":e==="ko"?r="0b7681dc140844ee9f409bdac249fbf0-korean":e==="zh-cn"?r="0b7681dc140844ee9f409bdac249fbf0-simplified-chinese":(e==="zh-hk"||e==="zh-tw")&&(r="0b7681dc140844ee9f409bdac249fbf0-traditional-chinese"),r}getTextWidth(e,r){return e.length*r*this.fontProps.fontResolutionInchesPerPoint*.6}hexToRGB(e,r=1){let i=/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return i?{r:this.applyOpacity(parseInt(i[1],16)/255,r),g:this.applyOpacity(parseInt(i[2],16)/255,r),b:this.applyOpacity(parseInt(i[3],16)/255,r)}:{r:0,g:0,b:0}}async initialize(e={},r="",i="en",s="",a=!1){if(JSON.stringify(e)!=="{}"){this.pageOptions.pageType=e.pageType===Pr.A4?Pr.A4:Pr.ANSI_A;let l=t.getPageSize(this.pageOptions.pageType);this.pageOptions.width=l.width,this.pageOptions.height=l.height,this.pageOptions.leftMargin=e.leftMargin??this.pageOptions.leftMargin,this.pageOptions.rightMargin=e.rightMargin??this.pageOptions.rightMargin,this.pageOptions.topMargin=e.topMargin??this.pageOptions.topMargin,this.pageOptions.bottomMargin=e.bottomMargin??this.pageOptions.bottomMargin}return this.dataPath=r,this.lang=i,this.title=s||"PDF Document",this.pageOptions.drawNeatline=a,Promise.resolve()}save(){}setDrawColor(e,r=1){}setFillColor(e,r=1){}setFont(e){return Promise.resolve()}setFontColor(e){}setFontSize(e){}setLang(e){return this.lang!==e?(this.lang=e,this.setFont(e)):Promise.resolve()}setLineWidth(e){}updateLineProperties(e){this.lineOptions.lineProperties.thickness!==e.thickness&&this.setLineWidth(e.thickness),(this.lineOptions.lineProperties.color!==e.color||this.lineOptions.lineProperties.opacity!==e.opacity)&&this.setDrawColor(e.color,e.opacity),this.lineOptions.lineProperties=e}};var Ks=class extends Eo{jsDoc;constructor(e=null){super(),this.jsDoc=e}addPage(){super.addPage(),this.jsDoc.addPage(),this.pageOptions.drawNeatline&&this.drawNeatline()}convertLocaleToJsPDFLanguageCode(e){let r;if(e==="it-it")r="it";else if(e==="pt-pt")r="pt";else{let i=e.split("-");i.length===1?r=e:r=i[0]+"-"+i[1].toUpperCase()}return r}drawImage(e,r){this.jsDoc.addImage(e,"PNG",r.x,r.y,r.width,r.height,"","NONE",0)}drawLine(e){super.drawLine(e),this.jsDoc.line(this.pageOptions.leftMargin+this.lineOptions.x1,this.pageOptions.topMargin+this.lineOptions.y1,this.pageOptions.leftMargin+this.lineOptions.x2,this.pageOptions.topMargin+this.lineOptions.y2,this.lineOptions.lineProperties.color?"S":"")}drawRectangle(e){super.drawRectangle(e),this.jsDoc.rect(this.pageOptions.leftMargin+this.rectangleOptions.left,this.pageOptions.topMargin+this.rectangleOptions.top,this.rectangleOptions.width,this.rectangleOptions.height,this.rectangleOptions.lineProperties.color?this.rectangleOptions.fillColor?"FD":"S":this.rectangleOptions.fillColor?"F":"")}drawTable(e,r){super.drawTable(e,r);let i=this.pageOptions.leftMargin+this.textOptions.left,s=this.pageOptions.topMargin+this.textOptions.top;this.jsDoc.text(e[0][0],i,s)}drawText(e,r){super.drawText(e,r);let i=this.pageOptions.leftMargin+this.textOptions.left;if(this.lang==="ar"||this.lang==="he"){let a=this.jsDoc.context2d.measureText(e).width*this.fontProps.fontResolutionInchesPerPoint;i=this.pageOptions.width-this.pageOptions.leftMargin-a-this.textOptions.left}let s=this.pageOptions.topMargin+this.textOptions.top+this.fontAscenderBaselineHeight(this.textOptions.fontPoints);this.jsDoc.text(e,i,s)}getTextWidth(e,r){return this.jsDoc.getStringUnitWidth(e)*r/this.jsDoc.internal.scaleFactor}async initialize(e={},r="",i="en",s="",a=!1){await super.initialize(e,r,i,s,a),this.jsDoc||(this.jsDoc=new Rt({format:e.pageType===Pr.A4?"a4":"letter",orientation:"portrait",putOnlyUsedFonts:!0,unit:"in"})),this.jsDoc.setDocumentProperties({title:this.title,keywords:"Created with ArcGIS Online"}),this.pageOptions.drawNeatline&&this.drawNeatline(),await this.setFont(i)}save(){this.jsDoc.save(this.title+".pdf")}setDrawColor(e,r=1){let i=this.hexToRGB(e,r);this.jsDoc.setDrawColor(i.r.toString(),i.g.toString(),i.b.toString())}setFillColor(e,r=1){let i=this.hexToRGB(e,r);this.jsDoc.setFillColor(i.r.toString(),i.g.toString(),i.b.toString())}setFont(e){this.jsDoc.setLanguage(this.convertLocaleToJsPDFLanguageCode(e));let r=this.getFontFileName(e);return this.jsDoc.existsFileInVFS(r+".ttf")?(this.jsDoc.setFont(r,"normal","normal"),Promise.resolve()):fetch(this.dataPath+r+".txt").then(i=>i.text()).then(i=>(this.jsDoc.addFileToVFS(r+".ttf",i),this.jsDoc.addFont(r+".ttf",r,"normal","normal"),this.jsDoc.setFont(r,"normal","normal"),Promise.resolve()))}setFontColor(e){let r=this.hexToRGB(e);this.jsDoc.setTextColor(r.r.toString(),r.g.toString(),r.b.toString())}setFontSize(e){this.jsDoc.setFontSize(e)}setLineWidth(e){this.jsDoc.setLineWidth(e)}};function yh(t,e={numAcross:1,numDown:1,x0:0,y0:0,width:1,height:1,horizGap:0,vertGap:0,lineProperties:{thickness:0,color:"",opacity:1}}){for(let r=0;r<e.numDown;++r)for(let i=0;i<e.numAcross;++i)t.drawRectangle({left:e.x0+i*(e.width+e.horizGap),top:e.y0+r*(e.height+e.vertGap),width:e.width,height:e.height,lineProperties:e.lineProperties})}var Zs=class{PDFCreator;labelFormats;addLabelsToDoc(e,r,i,s,a){return new Promise(l=>{let c=r.numLabelsAcross*r.numLabelsDown,h,g,m,v,A=r.labelWidth-2*r.labelPadding,d=i,C=r.pageProperties.topMargin-this.PDFCreator.pageOptions.topMargin;s&&this.drawSupplementalText(s,0,-.1);for(let _=0,O=0;_<e.length;_++){a&&a(Math.round(_/e.length*100));let S=e[_].map(at=>at.trim()).filter(at=>at.length>0);if(S.length===0)continue;O%c===0?(O>0&&(this.PDFCreator.addPage(),++d,s&&this.drawSupplementalText(s,0,-.1)),h=0,m=0,g=0):O%r.numLabelsDown===0&&(m=++h*(r.labelWidth+r.horizGapIn),g=0);let j=4,z=r.fontSizePx;r.maxNumLabelLines<S.length&&(z=Math.max(Math.floor(r.maxNumLabelLines/S.length*r.fontSizePx),j)),z=this._getFontSizeForOverlongLines(S,A,z,j),S=this._clipOverlongLines(S,A,z);let Q=this.PDFCreator.fontAscenderDescenderHeight(z);v=C+g++*(r.labelHeight+r.vertGapIn),S.forEach(at=>{this.PDFCreator.drawText(at,{left:m+r.labelPadding,top:v+r.labelPadding,fontPoints:z,fontColor:"000000"}),v+=Q}),++O}a&&a(100),l(d)})}drawLabelGuidelines(e,r=null){r!==null&&yh(this.PDFCreator,{x0:e.pageProperties.leftMargin-this.PDFCreator.pageOptions.leftMargin,y0:e.pageProperties.topMargin-this.PDFCreator.pageOptions.topMargin,numAcross:e.numLabelsAcross,numDown:e.numLabelsDown,width:e.labelWidth,height:e.labelHeight,horizGap:e.horizGapIn,vertGap:e.vertGapIn,lineProperties:r})}drawSupplementalText(e,r,i){this.PDFCreator.drawText(e,{left:r,top:i,fontPoints:6,fontColor:"000000"})}getAvailableLabelFormats(){return this.labelFormats.length>0?this.labelFormats.map(e=>e.descriptionPDF):[]}getLabelFormat(e){if(this.labelFormats.length>0){let r=this.labelFormats.filter(i=>e===i.descriptionPDF.averyPartNumber);return r.length>0?r[0]:null}else return null}initialize(e){return this.PDFCreator=e,this._loadLabelFormats(e.dataPath).then(r=>(this.labelFormats=r,Promise.resolve()))}removeDuplicates(e){let r=e.filter(s=>Array.isArray(s)&&s.length>0).map(s=>s.map(a=>a.trim()).join("?")),i={};return r.forEach(s=>i[s]=!0),Object.keys(i).sort().map(s=>s.split("?"))}_calculateLabelFirstLineBase(e,r,i,s,a){return e+r/2+(2-i)/2*s+(1-i)/2*a}_clipOverlongLines(e,r,i){let s=[];return e.forEach(a=>{if(a=a.trim(),this.PDFCreator.getTextWidth(a,i)>r){do a=a.slice(0,-1);while(this.PDFCreator.getTextWidth(a,i)>r);a+="..."}s.push(a)}),s}_getFontSizeForOverlongLines(e,r,i,s){let a=i;return e.forEach(l=>{if(l=l.trim(),this.PDFCreator.getTextWidth(l,a)>r)do--a;while(this.PDFCreator.getTextWidth(l,a)>r&&a>s)}),a}async _loadLabelFormats(e){return await(await fetch(e+"labelFormats.json")).json()}};function wh(t,e,r,i="",s=""){xh(t,e,r,i,s)}async function xh(t,e,r,i="",s=""){let a=new Ks(void 0);await a.initialize({pageType:"ANSI_A"},Fl("assets/arcgis-pdf-creator/"),"en",t);let l=new Zs;await l.initialize(a);let c=r.labelSpec,h=1;if(s){let g=c.pageProperties,m=Eo.getPageSize(g.pageType||"");a.drawImage(s,{x:g.leftMargin||0,y:g.topMargin||0,width:m.width-(g.leftMargin||0)-(g.rightMargin||0),height:m.height-(g.topMargin||0)-(g.bottomMargin||0)}),i&&l.drawSupplementalText(i,0,-.1),e.length>0&&(a.addPage(),++h)}await l.addLabelsToDoc(e,c,h,i),a.save()}var Ri="|";async function Ru(t,e,r=!0,i=!1,s=!1,a=void 0,l=!1,c=!1){let h=[];return Object.keys(e).forEach(g=>{let m=e[g],v=m.layerView?.layer||m.layer;v&&h.push(Ih(t,v,m.ids,r,i,a,l,c)),s&&h.push(Promise.resolve([[g]]))}),(await Promise.all(h)).reduce((g,m)=>g.concat(m),[])}async function Gh(t,e,r,i=!1,s=!1,a=void 0,l=!1,c=!1){let h=await Ru(t,e,r,s,!0,a,l,c);h=i?zu(h):h;let g=Object.keys(e),m=[];return h.forEach(v=>{let A=v[0];if(g.indexOf(A)<0)m.push(v);else{let d=Wu(e,new RegExp(`\\b${A}\\b`));bh(Uu(d),m),m=[]}}),Promise.resolve()}async function Jh(t,e,r,i=!1,s="",a=""){let l=await Ru(t,e),c=Wu(e);l=l.map(g=>g.filter(m=>m.length>0)).filter(g=>g.length>0),l=i?zu(l):l;let h=s||Uu(c);return wh(h,l,r,s,a),Promise.resolve()}function zu(t){let e=t.map(i=>JSON.stringify(i)),r=new Set(e);return Array.from(r,i=>JSON.parse(i))}function tl(t){for(t=t.replace(/<br\s*\/?>/gi,Ri),t=t.replace(/<p[^>]*>/gi,Ri).trim().replace(/^\|/,""),t=t.replace(/<\/p>/gi,""),t=t.replace(/\n/gi,"|"),t=new qu().sanitize(t),t=t.replace(/<[\s.]*[^<>]*\/?>/gi,"").replace(/\xA0/gi," ").replace(/&nbsp;/gi," "),t=t.replace(/\s*\|\s*/g,"|");t.match(/\|\|/);)t=t.replace(/\|\|/,"|");return t=t.replace(/^\|/,""),t=t.replace(/\|$/,""),t}function Mo(t,e=!1){let r=[];return t.forEach(i=>{(i.visible||e)&&r.push(`{${i.fieldName}}`)}),{type:"pattern",format:r.join(Ri)}}function Ah(t){return{type:"pattern",format:tl(t)}}async function Lh(t){let[e]=await va(["esri/arcade"]),r={variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]},i=await e.createArcadeExecutor(t.expression,r);return Promise.resolve({type:"executor",format:i})}async function Nh(t,e){let r={};if(!Array.isArray(e?.popupTemplate?.expressionInfos)||e?.popupTemplate?.expressionInfos.length===0)return Promise.resolve(r);let i=/\{expression\/\w+\}/g,s=t.match(i);if(!s)return Promise.resolve(r);let[a]=await va(["esri/arcade"]),l={variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]},c={};s.forEach(g=>{let m=g.substring(g.indexOf("/")+1,g.length-1);(e?.popupTemplate?.expressionInfos||[]).forEach(v=>{v.name===m&&(c[m]=a.createArcadeExecutor(v.expression,l))})});let h=Object.values(c);return Promise.all(h).then(g=>{let m=Object.keys(c);for(let v=0;v<m.length;++v)r[m[v]]=g[v].valueOf();return r})}function Uu(t){return t.length>0?t.join(", "):"download"}function Sh(t){return t.split(Ri).map((e,r)=>{let i=e.match(/\{[^\}]*\}/g);return i?i.map(s=>s.substring(1,s.length-1)).map(s=>s.startsWith("expression/")?s.substring(s.indexOf("/")+1):s).join("__"):`column_${r+1}`})}function Ph(t){let e=/\{expression\/\w+\}/g;return t.match(e)??[]}function _h(t,e,r,i,s){let a=t.substring(t.lastIndexOf("/")+1);isNaN(parseInt(a))&&(t+="/"+e.toString());let l={definitionExpression:"1=1",httpMethod:"POST",objectIds:i,outFields:"*",relationshipId:r,url:t};return s&&(l.params={token:s}),Hu(l)}function Hu(t,e=[],r=0){let i={...t.params,resultOffset:r};return Cl({...t,params:i}).then(s=>(e.push(...s.relatedRecordGroups),s.exceededTransferLimit?Hu(t,e,r+s.relatedRecordGroups.length):Promise.resolve(e)))}function kh(t){let e=[],r=0;for(;r<t.length;){let s=t.indexOf("{",r);if(s<0)break;let a=t.indexOf("}",s);if(a<0)break;let l=t.substring(s,a+1);e.push(l),r=a+1}let i=Ph(t);return e.filter(s=>i.indexOf(s)<0)}function Fh(t){return t.map(e=>e.substring(1,e.length-1))}async function Qs(t,e,r){let i={layer:e,attributeFormats:{},relationshipId:void 0,labelFormat:{type:"unsupported",format:void 0}};if(e.popupEnabled&&((e?.popupTemplate?.fieldInfos||[]).forEach(s=>{s.format&&(i.attributeFormats[s.fieldName.toLowerCase()]=s.format)}),r&&e)){let s=e?.popupTemplate?.content||[],a=s&&s.length>0?s[0]?.type:void 0;if(a==="relationship"){let l=s[0].relationshipId,c=e.relationships?.find(g=>g.id===l),h=t.layers.toArray().concat(t.tables.toArray());if(h=h.filter(g=>g.type==="feature"&&g.layerId===c?.relatedTableId),h.length>0)i=await Qs(t,h[0],r),i.relationshipId=l.toString();else{h=t.layers.toArray().concat(t.tables.toArray());let g=[];h=h.filter(A=>{if(A.type==="feature"&&A.layerId!=e.layerId&&A.url){let d=A.url+"/"+A?.layerId?.toString();return g.push(Ol(d)),!0}else return!1});let m=await Promise.all(g),v=Promise.resolve(void 0);m.some((A,d)=>A.relationships&&A.relationships.some(C=>C.id===l)?(v=Qs(t,h[d],r),!0):!1)?(i=await v,i.relationshipId=l.toString()):i.labelFormat=Mo(e.popupTemplate?.fieldInfos)}}else a==="fields"?(i.labelFormat=Mo(e.popupTemplate?.fieldInfos),i.labelFormat.format.length===0&&(i.labelFormat=e.popupTemplate?.title&&typeof e.popupTemplate?.title=="string"?{type:"pattern",format:e.popupTemplate.title}:Mo(e.popupTemplate?.fieldInfos,!0))):a==="text"?i.labelFormat=Ah(s[0].text):a==="expression"?i.labelFormat=await Lh(s[0].expressionInfo):i.labelFormat=Mo(e.popupTemplate?.fieldInfos)}return Promise.resolve(i)}function Wu(t,e=/.+/){let r=[];return Object.keys(t).forEach(i=>{let s=t[i];e.test(i)&&(r=r.concat(s.selectionSetNames))}),r}function Vu(t,e,r,i,s){if(t===null||typeof t>"u")return"";if(r&&r.type==="coded-value")return r.getName(t)?.toString();{let a=t;switch(e){case"date":if(i?.dateFormat){let l=s.convertDateFormatToIntlOptions(i.dateFormat);a=s.formatDate(a,l)}else a=s.formatDate(a);a=a.replace(/\xe2\x80\xaf/g,"");break;case"date-only":if(i?.dateFormat){let l=s.convertDateFormatToIntlOptions(i.dateFormat);a=s.formatDateOnly(a,l)}else a=s.formatDateOnly(a);break;case"time-only":if(i?.dateFormat){let l=s.convertDateFormatToIntlOptions(i.dateFormat);a=s.formatTimeOnly(a,l)}else a=s.formatTimeOnly(a);break;case"double":case"integer":case"long":case"small-integer":if(i){let l=s.convertNumberFormatToIntlOptions(i);a=s.formatNumber(a,l)}else a=s.formatNumber(a?.toString(),{maximumFractionDigits:100});break}return a}}async function Ih(t,e,r,i=!0,s=!1,a=void 0,l=!1,c=!1){let h=t?.portalItem?.portal?.credential?.token,g=await Qs(t,e,i),m=g.layer,v=[];if(typeof g.relationshipId<"u"){let O=await _h(e.url,e.layerId,g.relationshipId,r,h),S=[];O.forEach(z=>{z.relatedRecords?.forEach(Q=>{S.push(Q.attributes)})});let j=e.objectIdField;if(S.sort((z,Q)=>z[j]<Q[j]?-1:z[j]>Q[j]?1:0),v=S.filter((z,Q)=>Q===0?!0:z[j]!==S[Q-1][j]),v.length===0)return Promise.resolve([])}else v=await Il(r,m,[],!1,void 0,a);let A={},d={},C={};m.fields&&a?m.fields.forEach(O=>{if(!c||a.indexOf((O?.name||"").toLowerCase())>-1){let S=O.name.toLowerCase();A[S]=O.name,C[S]=O.domain,d[S]=O.type}}):a&&Object.keys(v[0]).forEach(O=>{if(!c||a.indexOf(O.toLowerCase())>-1){let S=O.toLowerCase();A[S]=O}});let _=g.labelFormat.type==="pattern"?await Oh(e,v,A,d,C,g.attributeFormats,g.labelFormat.format,s):g.labelFormat.type==="executor"?await jh(v,g.labelFormat.format):await Ch(v,d,C,s,l);return Promise.resolve(_)}async function Ch(t,e,r,i=!1,s=!1){let[a]=await va(["esri/intl"]),l=t.map(c=>Object.keys(c.attributes).map(h=>{let g=h.toLowerCase();return Vu(c.attributes[h],e[g],r[g],void 0,a)}));if(i){let c=[],h=t[0].attributes,g=t[0]?.layer?.fields.reduce((m,v)=>(m[v.name]=v.alias,m),{});Object.keys(h).forEach(m=>{c.push(s&&g?g[m]:m)}),l.unshift(c)}return Promise.resolve(l)}async function Oh(t,e,r,i,s,a,l,c=!1){let[h]=await va(["esri/intl"]),g=kh(l),m=Fh(g),v=await Nh(l,t),A=/\{expression\/\w+\}/g,d=l.match(A)??[],C=await Promise.all(e.map(async _=>{let O=l;for(let z=0;z<d.length;z++){let Q=d[z],at=Q.substring(Q.indexOf("/")+1,Q.length-1),bt=await v[at].executeAsync({$feature:_,$layer:t});O=O.replace(Q,bt).replace(/\n/gi,"|")}let S=_.attributes??_;m.forEach((z,Q)=>{let at=z.toLowerCase(),bt=Vu(S[r[at]],i[at],s[at],a[at],h);O=O.replace(g[Q],bt)});let j=O.split(Ri);return j=j.map(z=>tl(z)),j}));return c&&C.unshift(Sh(l)),Promise.resolve(C)}async function jh(t,e){let r=(await Promise.all(t.map(async i=>e.executeAsync({$feature:i})))).filter(i=>i.text).map(i=>tl(i.text).split(Ri));return Promise.resolve(r)}export{Ru as a,Gh as b,Jh as c,zu as d,Vu as e};