manage-client 4.1.90 → 4.1.91

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 (457) hide show
  1. package/build/dev-server.js +145 -145
  2. package/package.json +1 -1
  3. package/src/components/sale/businessquery/cardGasStatistics.vue +568 -562
  4. package/src/components/sale/config/exportConfig.js +2824 -2821
  5. package/src/filiale/xinjiangdexin/config/exportConfig.js +3 -0
  6. package/lib/package_2025-06-24-17-17-15.json +0 -111
  7. package/lib/reportManage/lib/0.lib.js +0 -1
  8. package/lib/reportManage/lib/10.lib.js +0 -1
  9. package/lib/reportManage/lib/100.lib.js +0 -1
  10. package/lib/reportManage/lib/101.lib.js +0 -1
  11. package/lib/reportManage/lib/102.lib.js +0 -1
  12. package/lib/reportManage/lib/103.lib.js +0 -1
  13. package/lib/reportManage/lib/104.lib.js +0 -1
  14. package/lib/reportManage/lib/105.lib.js +0 -1
  15. package/lib/reportManage/lib/106.lib.js +0 -1
  16. package/lib/reportManage/lib/107.lib.js +0 -1
  17. package/lib/reportManage/lib/108.lib.js +0 -1
  18. package/lib/reportManage/lib/109.lib.js +0 -1
  19. package/lib/reportManage/lib/11.lib.js +0 -1
  20. package/lib/reportManage/lib/110.lib.js +0 -1
  21. package/lib/reportManage/lib/111.lib.js +0 -1
  22. package/lib/reportManage/lib/112.lib.js +0 -1
  23. package/lib/reportManage/lib/113.lib.js +0 -1
  24. package/lib/reportManage/lib/114.lib.js +0 -1
  25. package/lib/reportManage/lib/115.lib.js +0 -1
  26. package/lib/reportManage/lib/116.lib.js +0 -1
  27. package/lib/reportManage/lib/117.lib.js +0 -1
  28. package/lib/reportManage/lib/118.lib.js +0 -1
  29. package/lib/reportManage/lib/119.lib.js +0 -1
  30. package/lib/reportManage/lib/12.lib.js +0 -1
  31. package/lib/reportManage/lib/120.lib.js +0 -1
  32. package/lib/reportManage/lib/121.lib.js +0 -1
  33. package/lib/reportManage/lib/122.lib.js +0 -1
  34. package/lib/reportManage/lib/123.lib.js +0 -1
  35. package/lib/reportManage/lib/124.lib.js +0 -1
  36. package/lib/reportManage/lib/125.lib.js +0 -1
  37. package/lib/reportManage/lib/126.lib.js +0 -1
  38. package/lib/reportManage/lib/127.lib.js +0 -1
  39. package/lib/reportManage/lib/128.lib.js +0 -1
  40. package/lib/reportManage/lib/129.lib.js +0 -1
  41. package/lib/reportManage/lib/13.lib.js +0 -1
  42. package/lib/reportManage/lib/130.lib.js +0 -1
  43. package/lib/reportManage/lib/131.lib.js +0 -1
  44. package/lib/reportManage/lib/132.lib.js +0 -1
  45. package/lib/reportManage/lib/133.lib.js +0 -1
  46. package/lib/reportManage/lib/134.lib.js +0 -1
  47. package/lib/reportManage/lib/135.lib.js +0 -1
  48. package/lib/reportManage/lib/136.lib.js +0 -1
  49. package/lib/reportManage/lib/137.lib.js +0 -1
  50. package/lib/reportManage/lib/138.lib.js +0 -1
  51. package/lib/reportManage/lib/139.lib.js +0 -1
  52. package/lib/reportManage/lib/14.lib.js +0 -1
  53. package/lib/reportManage/lib/140.lib.js +0 -1
  54. package/lib/reportManage/lib/141.lib.js +0 -1
  55. package/lib/reportManage/lib/142.lib.js +0 -1
  56. package/lib/reportManage/lib/143.lib.js +0 -1
  57. package/lib/reportManage/lib/144.lib.js +0 -1
  58. package/lib/reportManage/lib/145.lib.js +0 -1
  59. package/lib/reportManage/lib/146.lib.js +0 -1
  60. package/lib/reportManage/lib/147.lib.js +0 -1
  61. package/lib/reportManage/lib/148.lib.js +0 -1
  62. package/lib/reportManage/lib/149.lib.js +0 -1
  63. package/lib/reportManage/lib/15.lib.js +0 -1
  64. package/lib/reportManage/lib/150.lib.js +0 -1
  65. package/lib/reportManage/lib/151.lib.js +0 -1
  66. package/lib/reportManage/lib/152.lib.js +0 -1
  67. package/lib/reportManage/lib/153.lib.js +0 -1
  68. package/lib/reportManage/lib/154.lib.js +0 -1
  69. package/lib/reportManage/lib/155.lib.js +0 -1
  70. package/lib/reportManage/lib/156.lib.js +0 -1
  71. package/lib/reportManage/lib/157.lib.js +0 -1
  72. package/lib/reportManage/lib/158.lib.js +0 -1
  73. package/lib/reportManage/lib/159.lib.js +0 -1
  74. package/lib/reportManage/lib/16.lib.js +0 -1
  75. package/lib/reportManage/lib/160.lib.js +0 -1
  76. package/lib/reportManage/lib/161.lib.js +0 -1
  77. package/lib/reportManage/lib/162.lib.js +0 -1
  78. package/lib/reportManage/lib/163.lib.js +0 -1
  79. package/lib/reportManage/lib/164.lib.js +0 -1
  80. package/lib/reportManage/lib/165.lib.js +0 -1
  81. package/lib/reportManage/lib/166.lib.js +0 -1
  82. package/lib/reportManage/lib/167.lib.js +0 -1
  83. package/lib/reportManage/lib/168.lib.js +0 -1
  84. package/lib/reportManage/lib/169.lib.js +0 -1
  85. package/lib/reportManage/lib/17.lib.js +0 -1
  86. package/lib/reportManage/lib/170.lib.js +0 -1
  87. package/lib/reportManage/lib/171.lib.js +0 -1
  88. package/lib/reportManage/lib/172.lib.js +0 -1
  89. package/lib/reportManage/lib/173.lib.js +0 -1
  90. package/lib/reportManage/lib/174.lib.js +0 -1
  91. package/lib/reportManage/lib/175.lib.js +0 -1
  92. package/lib/reportManage/lib/176.lib.js +0 -1
  93. package/lib/reportManage/lib/177.lib.js +0 -1
  94. package/lib/reportManage/lib/178.lib.js +0 -1
  95. package/lib/reportManage/lib/179.lib.js +0 -1
  96. package/lib/reportManage/lib/18.lib.js +0 -1
  97. package/lib/reportManage/lib/180.lib.js +0 -1
  98. package/lib/reportManage/lib/181.lib.js +0 -1
  99. package/lib/reportManage/lib/182.lib.js +0 -1
  100. package/lib/reportManage/lib/183.lib.js +0 -1
  101. package/lib/reportManage/lib/184.lib.js +0 -1
  102. package/lib/reportManage/lib/185.lib.js +0 -1
  103. package/lib/reportManage/lib/186.lib.js +0 -1
  104. package/lib/reportManage/lib/187.lib.js +0 -1
  105. package/lib/reportManage/lib/188.lib.js +0 -1
  106. package/lib/reportManage/lib/189.lib.js +0 -1
  107. package/lib/reportManage/lib/19.lib.js +0 -1
  108. package/lib/reportManage/lib/190.lib.js +0 -1
  109. package/lib/reportManage/lib/191.lib.js +0 -1
  110. package/lib/reportManage/lib/192.lib.js +0 -1
  111. package/lib/reportManage/lib/193.lib.js +0 -1
  112. package/lib/reportManage/lib/194.lib.js +0 -1
  113. package/lib/reportManage/lib/195.lib.js +0 -1
  114. package/lib/reportManage/lib/196.lib.js +0 -1
  115. package/lib/reportManage/lib/197.lib.js +0 -1
  116. package/lib/reportManage/lib/198.lib.js +0 -1
  117. package/lib/reportManage/lib/199.lib.js +0 -1
  118. package/lib/reportManage/lib/2.lib.js +0 -1
  119. package/lib/reportManage/lib/20.lib.js +0 -1
  120. package/lib/reportManage/lib/200.lib.js +0 -1
  121. package/lib/reportManage/lib/201.lib.js +0 -1
  122. package/lib/reportManage/lib/202.lib.js +0 -1
  123. package/lib/reportManage/lib/203.lib.js +0 -1
  124. package/lib/reportManage/lib/204.lib.js +0 -1
  125. package/lib/reportManage/lib/205.lib.js +0 -1
  126. package/lib/reportManage/lib/206.lib.js +0 -1
  127. package/lib/reportManage/lib/207.lib.js +0 -1
  128. package/lib/reportManage/lib/208.lib.js +0 -1
  129. package/lib/reportManage/lib/209.lib.js +0 -1
  130. package/lib/reportManage/lib/21.lib.js +0 -1
  131. package/lib/reportManage/lib/210.lib.js +0 -1
  132. package/lib/reportManage/lib/211.lib.js +0 -1
  133. package/lib/reportManage/lib/212.lib.js +0 -1
  134. package/lib/reportManage/lib/213.lib.js +0 -1
  135. package/lib/reportManage/lib/214.lib.js +0 -1
  136. package/lib/reportManage/lib/215.lib.js +0 -1
  137. package/lib/reportManage/lib/216.lib.js +0 -1
  138. package/lib/reportManage/lib/217.lib.js +0 -1
  139. package/lib/reportManage/lib/218.lib.js +0 -1
  140. package/lib/reportManage/lib/22.lib.js +0 -1
  141. package/lib/reportManage/lib/23.lib.js +0 -1
  142. package/lib/reportManage/lib/24.lib.js +0 -1
  143. package/lib/reportManage/lib/25.lib.js +0 -1
  144. package/lib/reportManage/lib/26.lib.js +0 -1
  145. package/lib/reportManage/lib/27.lib.js +0 -1
  146. package/lib/reportManage/lib/28.lib.js +0 -1
  147. package/lib/reportManage/lib/29.lib.js +0 -1
  148. package/lib/reportManage/lib/3.lib.js +0 -1
  149. package/lib/reportManage/lib/30.lib.js +0 -1
  150. package/lib/reportManage/lib/31.lib.js +0 -1
  151. package/lib/reportManage/lib/32.lib.js +0 -1
  152. package/lib/reportManage/lib/33.lib.js +0 -1
  153. package/lib/reportManage/lib/34.lib.js +0 -1
  154. package/lib/reportManage/lib/35.lib.js +0 -1
  155. package/lib/reportManage/lib/36.lib.js +0 -1
  156. package/lib/reportManage/lib/37.lib.js +0 -1
  157. package/lib/reportManage/lib/38.lib.js +0 -1
  158. package/lib/reportManage/lib/39.lib.js +0 -1
  159. package/lib/reportManage/lib/4.lib.js +0 -1
  160. package/lib/reportManage/lib/40.lib.js +0 -1
  161. package/lib/reportManage/lib/41.lib.js +0 -1
  162. package/lib/reportManage/lib/42.lib.js +0 -1
  163. package/lib/reportManage/lib/43.lib.js +0 -1
  164. package/lib/reportManage/lib/44.lib.js +0 -1
  165. package/lib/reportManage/lib/45.lib.js +0 -1
  166. package/lib/reportManage/lib/46.lib.js +0 -1
  167. package/lib/reportManage/lib/47.lib.js +0 -1
  168. package/lib/reportManage/lib/48.lib.js +0 -1
  169. package/lib/reportManage/lib/49.lib.js +0 -1
  170. package/lib/reportManage/lib/5.lib.js +0 -1
  171. package/lib/reportManage/lib/50.lib.js +0 -1
  172. package/lib/reportManage/lib/51.lib.js +0 -1
  173. package/lib/reportManage/lib/52.lib.js +0 -1
  174. package/lib/reportManage/lib/53.lib.js +0 -1
  175. package/lib/reportManage/lib/54.lib.js +0 -1
  176. package/lib/reportManage/lib/55.lib.js +0 -1
  177. package/lib/reportManage/lib/56.lib.js +0 -1
  178. package/lib/reportManage/lib/57.lib.js +0 -1
  179. package/lib/reportManage/lib/58.lib.js +0 -1
  180. package/lib/reportManage/lib/59.lib.js +0 -1
  181. package/lib/reportManage/lib/6.lib.js +0 -1
  182. package/lib/reportManage/lib/60.lib.js +0 -1
  183. package/lib/reportManage/lib/61.lib.js +0 -1
  184. package/lib/reportManage/lib/62.lib.js +0 -1
  185. package/lib/reportManage/lib/63.lib.js +0 -1
  186. package/lib/reportManage/lib/64.lib.js +0 -1
  187. package/lib/reportManage/lib/65.lib.js +0 -1
  188. package/lib/reportManage/lib/66.lib.js +0 -1
  189. package/lib/reportManage/lib/67.lib.js +0 -1
  190. package/lib/reportManage/lib/68.lib.js +0 -1
  191. package/lib/reportManage/lib/69.lib.js +0 -1
  192. package/lib/reportManage/lib/7.lib.js +0 -1
  193. package/lib/reportManage/lib/70.lib.js +0 -1
  194. package/lib/reportManage/lib/71.lib.js +0 -1
  195. package/lib/reportManage/lib/72.lib.js +0 -1
  196. package/lib/reportManage/lib/73.lib.js +0 -1
  197. package/lib/reportManage/lib/74.lib.js +0 -1
  198. package/lib/reportManage/lib/75.lib.js +0 -1
  199. package/lib/reportManage/lib/76.lib.js +0 -1
  200. package/lib/reportManage/lib/77.lib.js +0 -1
  201. package/lib/reportManage/lib/78.lib.js +0 -1
  202. package/lib/reportManage/lib/79.lib.js +0 -1
  203. package/lib/reportManage/lib/8.lib.js +0 -1
  204. package/lib/reportManage/lib/80.lib.js +0 -1
  205. package/lib/reportManage/lib/81.lib.js +0 -1
  206. package/lib/reportManage/lib/82.lib.js +0 -1
  207. package/lib/reportManage/lib/83.lib.js +0 -1
  208. package/lib/reportManage/lib/84.lib.js +0 -1
  209. package/lib/reportManage/lib/85.lib.js +0 -1
  210. package/lib/reportManage/lib/86.lib.js +0 -1
  211. package/lib/reportManage/lib/87.lib.js +0 -1
  212. package/lib/reportManage/lib/88.lib.js +0 -1
  213. package/lib/reportManage/lib/89.lib.js +0 -1
  214. package/lib/reportManage/lib/9.lib.js +0 -1
  215. package/lib/reportManage/lib/90.lib.js +0 -1
  216. package/lib/reportManage/lib/91.lib.js +0 -1
  217. package/lib/reportManage/lib/92.lib.js +0 -1
  218. package/lib/reportManage/lib/93.lib.js +0 -1
  219. package/lib/reportManage/lib/94.lib.js +0 -1
  220. package/lib/reportManage/lib/95.lib.js +0 -1
  221. package/lib/reportManage/lib/96.lib.js +0 -1
  222. package/lib/reportManage/lib/97.lib.js +0 -1
  223. package/lib/reportManage/lib/98.lib.js +0 -1
  224. package/lib/reportManage/lib/99.lib.js +0 -1
  225. package/lib/reportManage/lib/lib.js +0 -1
  226. package/lib/saleManage/lib/1.lib.js +0 -1
  227. package/lib/saleManage/lib/10.lib.js +0 -1
  228. package/lib/saleManage/lib/100.lib.js +0 -1
  229. package/lib/saleManage/lib/101.lib.js +0 -1
  230. package/lib/saleManage/lib/102.lib.js +0 -1
  231. package/lib/saleManage/lib/103.lib.js +0 -1
  232. package/lib/saleManage/lib/104.lib.js +0 -1
  233. package/lib/saleManage/lib/105.lib.js +0 -1
  234. package/lib/saleManage/lib/106.lib.js +0 -1
  235. package/lib/saleManage/lib/107.lib.js +0 -1
  236. package/lib/saleManage/lib/108.lib.js +0 -1
  237. package/lib/saleManage/lib/109.lib.js +0 -1
  238. package/lib/saleManage/lib/11.lib.js +0 -1
  239. package/lib/saleManage/lib/110.lib.js +0 -1
  240. package/lib/saleManage/lib/111.lib.js +0 -1
  241. package/lib/saleManage/lib/112.lib.js +0 -1
  242. package/lib/saleManage/lib/113.lib.js +0 -1
  243. package/lib/saleManage/lib/114.lib.js +0 -1
  244. package/lib/saleManage/lib/115.lib.js +0 -1
  245. package/lib/saleManage/lib/116.lib.js +0 -1
  246. package/lib/saleManage/lib/117.lib.js +0 -1
  247. package/lib/saleManage/lib/118.lib.js +0 -1
  248. package/lib/saleManage/lib/119.lib.js +0 -1
  249. package/lib/saleManage/lib/12.lib.js +0 -1
  250. package/lib/saleManage/lib/120.lib.js +0 -1
  251. package/lib/saleManage/lib/121.lib.js +0 -1
  252. package/lib/saleManage/lib/122.lib.js +0 -1
  253. package/lib/saleManage/lib/123.lib.js +0 -1
  254. package/lib/saleManage/lib/124.lib.js +0 -1
  255. package/lib/saleManage/lib/125.lib.js +0 -1
  256. package/lib/saleManage/lib/126.lib.js +0 -1
  257. package/lib/saleManage/lib/127.lib.js +0 -1
  258. package/lib/saleManage/lib/128.lib.js +0 -1
  259. package/lib/saleManage/lib/129.lib.js +0 -1
  260. package/lib/saleManage/lib/13.lib.js +0 -1
  261. package/lib/saleManage/lib/130.lib.js +0 -1
  262. package/lib/saleManage/lib/131.lib.js +0 -1
  263. package/lib/saleManage/lib/132.lib.js +0 -1
  264. package/lib/saleManage/lib/133.lib.js +0 -1
  265. package/lib/saleManage/lib/134.lib.js +0 -1
  266. package/lib/saleManage/lib/135.lib.js +0 -1
  267. package/lib/saleManage/lib/136.lib.js +0 -1
  268. package/lib/saleManage/lib/137.lib.js +0 -1
  269. package/lib/saleManage/lib/138.lib.js +0 -1
  270. package/lib/saleManage/lib/139.lib.js +0 -1
  271. package/lib/saleManage/lib/14.lib.js +0 -1
  272. package/lib/saleManage/lib/140.lib.js +0 -1
  273. package/lib/saleManage/lib/141.lib.js +0 -1
  274. package/lib/saleManage/lib/142.lib.js +0 -1
  275. package/lib/saleManage/lib/143.lib.js +0 -1
  276. package/lib/saleManage/lib/144.lib.js +0 -1
  277. package/lib/saleManage/lib/145.lib.js +0 -1
  278. package/lib/saleManage/lib/146.lib.js +0 -1
  279. package/lib/saleManage/lib/147.lib.js +0 -1
  280. package/lib/saleManage/lib/148.lib.js +0 -1
  281. package/lib/saleManage/lib/149.lib.js +0 -1
  282. package/lib/saleManage/lib/15.lib.js +0 -1
  283. package/lib/saleManage/lib/150.lib.js +0 -1
  284. package/lib/saleManage/lib/151.lib.js +0 -1
  285. package/lib/saleManage/lib/152.lib.js +0 -1
  286. package/lib/saleManage/lib/153.lib.js +0 -1
  287. package/lib/saleManage/lib/154.lib.js +0 -1
  288. package/lib/saleManage/lib/155.lib.js +0 -1
  289. package/lib/saleManage/lib/156.lib.js +0 -1
  290. package/lib/saleManage/lib/157.lib.js +0 -1
  291. package/lib/saleManage/lib/158.lib.js +0 -1
  292. package/lib/saleManage/lib/159.lib.js +0 -1
  293. package/lib/saleManage/lib/16.lib.js +0 -1
  294. package/lib/saleManage/lib/160.lib.js +0 -1
  295. package/lib/saleManage/lib/161.lib.js +0 -1
  296. package/lib/saleManage/lib/162.lib.js +0 -1
  297. package/lib/saleManage/lib/163.lib.js +0 -1
  298. package/lib/saleManage/lib/164.lib.js +0 -1
  299. package/lib/saleManage/lib/165.lib.js +0 -1
  300. package/lib/saleManage/lib/166.lib.js +0 -1
  301. package/lib/saleManage/lib/167.lib.js +0 -1
  302. package/lib/saleManage/lib/168.lib.js +0 -1
  303. package/lib/saleManage/lib/169.lib.js +0 -1
  304. package/lib/saleManage/lib/17.lib.js +0 -1
  305. package/lib/saleManage/lib/170.lib.js +0 -1
  306. package/lib/saleManage/lib/171.lib.js +0 -1
  307. package/lib/saleManage/lib/172.lib.js +0 -1
  308. package/lib/saleManage/lib/173.lib.js +0 -1
  309. package/lib/saleManage/lib/174.lib.js +0 -1
  310. package/lib/saleManage/lib/175.lib.js +0 -1
  311. package/lib/saleManage/lib/176.lib.js +0 -1
  312. package/lib/saleManage/lib/177.lib.js +0 -1
  313. package/lib/saleManage/lib/18.lib.js +0 -1
  314. package/lib/saleManage/lib/19.lib.js +0 -1
  315. package/lib/saleManage/lib/2.lib.js +0 -1
  316. package/lib/saleManage/lib/20.lib.js +0 -1
  317. package/lib/saleManage/lib/21.lib.js +0 -1
  318. package/lib/saleManage/lib/22.lib.js +0 -1
  319. package/lib/saleManage/lib/23.lib.js +0 -1
  320. package/lib/saleManage/lib/24.lib.js +0 -1
  321. package/lib/saleManage/lib/25.lib.js +0 -1
  322. package/lib/saleManage/lib/26.lib.js +0 -1
  323. package/lib/saleManage/lib/27.lib.js +0 -1
  324. package/lib/saleManage/lib/28.lib.js +0 -1
  325. package/lib/saleManage/lib/29.lib.js +0 -1
  326. package/lib/saleManage/lib/3.lib.js +0 -1
  327. package/lib/saleManage/lib/30.lib.js +0 -1
  328. package/lib/saleManage/lib/31.lib.js +0 -1
  329. package/lib/saleManage/lib/32.lib.js +0 -1
  330. package/lib/saleManage/lib/33.lib.js +0 -1
  331. package/lib/saleManage/lib/34.lib.js +0 -1
  332. package/lib/saleManage/lib/35.lib.js +0 -1
  333. package/lib/saleManage/lib/36.lib.js +0 -1
  334. package/lib/saleManage/lib/37.lib.js +0 -1
  335. package/lib/saleManage/lib/38.lib.js +0 -1
  336. package/lib/saleManage/lib/39.lib.js +0 -1
  337. package/lib/saleManage/lib/4.lib.js +0 -1
  338. package/lib/saleManage/lib/40.lib.js +0 -1
  339. package/lib/saleManage/lib/41.lib.js +0 -1
  340. package/lib/saleManage/lib/42.lib.js +0 -1
  341. package/lib/saleManage/lib/43.lib.js +0 -1
  342. package/lib/saleManage/lib/44.lib.js +0 -1
  343. package/lib/saleManage/lib/45.lib.js +0 -1
  344. package/lib/saleManage/lib/46.lib.js +0 -1
  345. package/lib/saleManage/lib/47.lib.js +0 -1
  346. package/lib/saleManage/lib/48.lib.js +0 -1
  347. package/lib/saleManage/lib/49.lib.js +0 -1
  348. package/lib/saleManage/lib/5.lib.js +0 -1
  349. package/lib/saleManage/lib/50.lib.js +0 -1
  350. package/lib/saleManage/lib/51.lib.js +0 -1
  351. package/lib/saleManage/lib/52.lib.js +0 -1
  352. package/lib/saleManage/lib/53.lib.js +0 -1
  353. package/lib/saleManage/lib/54.lib.js +0 -1
  354. package/lib/saleManage/lib/55.lib.js +0 -1
  355. package/lib/saleManage/lib/56.lib.js +0 -1
  356. package/lib/saleManage/lib/57.lib.js +0 -1
  357. package/lib/saleManage/lib/58.lib.js +0 -1
  358. package/lib/saleManage/lib/59.lib.js +0 -1
  359. package/lib/saleManage/lib/6.lib.js +0 -1
  360. package/lib/saleManage/lib/60.lib.js +0 -1
  361. package/lib/saleManage/lib/61.lib.js +0 -1
  362. package/lib/saleManage/lib/62.lib.js +0 -1
  363. package/lib/saleManage/lib/63.lib.js +0 -1
  364. package/lib/saleManage/lib/64.lib.js +0 -1
  365. package/lib/saleManage/lib/65.lib.js +0 -1
  366. package/lib/saleManage/lib/66.lib.js +0 -1
  367. package/lib/saleManage/lib/67.lib.js +0 -1
  368. package/lib/saleManage/lib/68.lib.js +0 -1
  369. package/lib/saleManage/lib/69.lib.js +0 -1
  370. package/lib/saleManage/lib/7.lib.js +0 -1
  371. package/lib/saleManage/lib/70.lib.js +0 -1
  372. package/lib/saleManage/lib/71.lib.js +0 -1
  373. package/lib/saleManage/lib/72.lib.js +0 -1
  374. package/lib/saleManage/lib/73.lib.js +0 -1
  375. package/lib/saleManage/lib/74.lib.js +0 -1
  376. package/lib/saleManage/lib/75.lib.js +0 -1
  377. package/lib/saleManage/lib/76.lib.js +0 -1
  378. package/lib/saleManage/lib/77.lib.js +0 -1
  379. package/lib/saleManage/lib/78.lib.js +0 -1
  380. package/lib/saleManage/lib/79.lib.js +0 -1
  381. package/lib/saleManage/lib/8.lib.js +0 -1
  382. package/lib/saleManage/lib/80.lib.js +0 -1
  383. package/lib/saleManage/lib/81.lib.js +0 -1
  384. package/lib/saleManage/lib/82.lib.js +0 -1
  385. package/lib/saleManage/lib/83.lib.js +0 -1
  386. package/lib/saleManage/lib/84.lib.js +0 -1
  387. package/lib/saleManage/lib/85.lib.js +0 -1
  388. package/lib/saleManage/lib/86.lib.js +0 -1
  389. package/lib/saleManage/lib/87.lib.js +0 -1
  390. package/lib/saleManage/lib/88.lib.js +0 -1
  391. package/lib/saleManage/lib/89.lib.js +0 -1
  392. package/lib/saleManage/lib/9.lib.js +0 -1
  393. package/lib/saleManage/lib/90.lib.js +0 -1
  394. package/lib/saleManage/lib/91.lib.js +0 -1
  395. package/lib/saleManage/lib/92.lib.js +0 -1
  396. package/lib/saleManage/lib/93.lib.js +0 -1
  397. package/lib/saleManage/lib/94.lib.js +0 -1
  398. package/lib/saleManage/lib/95.lib.js +0 -1
  399. package/lib/saleManage/lib/96.lib.js +0 -1
  400. package/lib/saleManage/lib/97.lib.js +0 -1
  401. package/lib/saleManage/lib/98.lib.js +0 -1
  402. package/lib/saleManage/lib/99.lib.js +0 -1
  403. package/lib/saleManage/lib/lib.js +0 -1
  404. package/lib/webmeterManage/lib/1.lib.js +0 -1
  405. package/lib/webmeterManage/lib/10.lib.js +0 -1
  406. package/lib/webmeterManage/lib/11.lib.js +0 -1
  407. package/lib/webmeterManage/lib/12.lib.js +0 -1
  408. package/lib/webmeterManage/lib/13.lib.js +0 -1
  409. package/lib/webmeterManage/lib/14.lib.js +0 -1
  410. package/lib/webmeterManage/lib/15.lib.js +0 -1
  411. package/lib/webmeterManage/lib/16.lib.js +0 -1
  412. package/lib/webmeterManage/lib/17.lib.js +0 -1
  413. package/lib/webmeterManage/lib/18.lib.js +0 -1
  414. package/lib/webmeterManage/lib/19.lib.js +0 -1
  415. package/lib/webmeterManage/lib/2.lib.js +0 -1
  416. package/lib/webmeterManage/lib/20.lib.js +0 -1
  417. package/lib/webmeterManage/lib/21.lib.js +0 -1
  418. package/lib/webmeterManage/lib/22.lib.js +0 -1
  419. package/lib/webmeterManage/lib/23.lib.js +0 -1
  420. package/lib/webmeterManage/lib/24.lib.js +0 -1
  421. package/lib/webmeterManage/lib/25.lib.js +0 -1
  422. package/lib/webmeterManage/lib/26.lib.js +0 -1
  423. package/lib/webmeterManage/lib/27.lib.js +0 -1
  424. package/lib/webmeterManage/lib/28.lib.js +0 -1
  425. package/lib/webmeterManage/lib/29.lib.js +0 -1
  426. package/lib/webmeterManage/lib/3.lib.js +0 -1
  427. package/lib/webmeterManage/lib/30.lib.js +0 -1
  428. package/lib/webmeterManage/lib/31.lib.js +0 -1
  429. package/lib/webmeterManage/lib/32.lib.js +0 -1
  430. package/lib/webmeterManage/lib/33.lib.js +0 -1
  431. package/lib/webmeterManage/lib/34.lib.js +0 -1
  432. package/lib/webmeterManage/lib/35.lib.js +0 -1
  433. package/lib/webmeterManage/lib/36.lib.js +0 -1
  434. package/lib/webmeterManage/lib/37.lib.js +0 -1
  435. package/lib/webmeterManage/lib/38.lib.js +0 -1
  436. package/lib/webmeterManage/lib/39.lib.js +0 -1
  437. package/lib/webmeterManage/lib/4.lib.js +0 -1
  438. package/lib/webmeterManage/lib/40.lib.js +0 -1
  439. package/lib/webmeterManage/lib/41.lib.js +0 -1
  440. package/lib/webmeterManage/lib/42.lib.js +0 -1
  441. package/lib/webmeterManage/lib/43.lib.js +0 -1
  442. package/lib/webmeterManage/lib/44.lib.js +0 -1
  443. package/lib/webmeterManage/lib/45.lib.js +0 -1
  444. package/lib/webmeterManage/lib/46.lib.js +0 -1
  445. package/lib/webmeterManage/lib/47.lib.js +0 -1
  446. package/lib/webmeterManage/lib/48.lib.js +0 -1
  447. package/lib/webmeterManage/lib/49.lib.js +0 -1
  448. package/lib/webmeterManage/lib/5.lib.js +0 -1
  449. package/lib/webmeterManage/lib/50.lib.js +0 -1
  450. package/lib/webmeterManage/lib/51.lib.js +0 -1
  451. package/lib/webmeterManage/lib/6.lib.js +0 -1
  452. package/lib/webmeterManage/lib/7.lib.js +0 -1
  453. package/lib/webmeterManage/lib/8.lib.js +0 -1
  454. package/lib/webmeterManage/lib/9.lib.js +0 -1
  455. package/lib/webmeterManage/lib/lib.js +0 -1
  456. package/manage_lib2025-06-24-17-17-15.zip +0 -0
  457. package/src/components/SellReport/tonghua/outletTableTongHua.vue +0 -181
@@ -1 +0,0 @@
1
- webpackJsonp([28],{5:function(t,e){e.f={}.propertyIsEnumerable},6:function(t,e,r){var n=r(20),i=r(4),s=r(27),o=r(7),a=r(24).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=!s&&n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:o.f(t)})}},7:function(t,e,r){e.f=r(22)},9:function(t,e,r){var n=r(73),i=r(64).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},10:function(t,e){e.f=Object.getOwnPropertySymbols},12:function(t,e,r){"use strict";e.__esModule=!0;var n=o(r(31)),i=o(r(30)),s="function"==typeof i.default&&"symbol"==typeof n.default?function(t){return typeof t}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":typeof t};function o(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof i.default&&"symbol"===s(n.default)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":void 0===t?"undefined":s(t)}},13:function(t,e){t.exports=function(){var o=[];return o.toString=function(){for(var t=[],e=0;e<this.length;e++){var r=this[e];r[2]?t.push("@media "+r[2]+"{"+r[1]+"}"):t.push(r[1])}return t.join("")},o.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},n=0;n<this.length;n++){var i=this[n][0];"number"==typeof i&&(r[i]=!0)}for(n=0;n<t.length;n++){var s=t[n];"number"==typeof s[0]&&r[s[0]]||(e&&!s[2]?s[2]=e:e&&(s[2]="("+s[2]+") and ("+e+")"),o.push(s))}},o}},14:function(t,e,r){function n(t){var e;return function(){return e=void 0===e?t.apply(this,arguments):e}}var u={},i=n(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),s=n(function(){return document.head||document.getElementsByTagName("head")[0]}),o=null,a=0,h=[];function l(t,e){for(var r=0;r<t.length;r++){var n=t[r],i=u[n.id];if(i){i.refs++;for(var s=0;s<i.parts.length;s++)i.parts[s](n.parts[s]);for(;s<n.parts.length;s++)i.parts.push(d(n.parts[s],e))}else{for(var o=[],s=0;s<n.parts.length;s++)o.push(d(n.parts[s],e));u[n.id]={id:n.id,refs:1,parts:o}}}}function c(t){for(var e=[],r={},n=0;n<t.length;n++){var i=t[n],s=i[0],i={css:i[1],media:i[2],sourceMap:i[3]};r[s]?r[s].parts.push(i):e.push(r[s]={id:s,parts:[i]})}return e}function f(t){var e=document.createElement("style"),r=(e.type="text/css",e),n=s(),i=h[h.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(r,i.nextSibling):n.appendChild(r):n.insertBefore(r,n.firstChild),h.push(r);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(r)}return e}function d(e,t){var r,n,i,s;return s=t.singleton?(r=a++,n=o=o||f(t),i=m.bind(null,n,r,!1),m.bind(null,n,r,!0)):(n=f(t),i=function(t,e){var r=e.css,n=e.media,e=e.sourceMap;n&&t.setAttribute("media",n);e&&(r=(r+="\n/*# sourceURL="+e.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */");if(t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}.bind(null,n),function(){var t;(t=n).parentNode.removeChild(t),0<=(t=h.indexOf(t))&&h.splice(t,1)}),i(e),function(t){t?t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap||i(e=t):s()}}t.exports=function(t,o){void 0===(o=o||{}).singleton&&(o.singleton=i()),void 0===o.insertAt&&(o.insertAt="bottom");var a=c(t);return l(a,o),function(t){for(var e=[],r=0;r<a.length;r++){var n=a[r];(i=u[n.id]).refs--,e.push(i)}t&&l(c(t),o);for(var i,r=0;r<e.length;r++)if(0===(i=e[r]).refs){for(var s=0;s<i.parts.length;s++)i.parts[s]();delete u[i.id]}}};p=[];var p,g=function(t,e){return p[t]=e,p.filter(Boolean).join("\n")};function m(t,e,r,n){var r=r?"":n.css;t.styleSheet?t.styleSheet.cssText=g(e,r):(n=document.createTextNode(r),(r=t.childNodes)[e]&&t.removeChild(r[e]),r.length?t.insertBefore(n,r[e]):t.appendChild(n))}},21:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.f=void 0;var s=i(r(41)),n=i(r(12));e.getAttendanceState=function(t,e,r){{var n,i;t.f_state="",t.f_signin_time&&t.f_knockoff_time?(n=t.f_signin_time.substring(11,16),i=t.f_knockoff_time.substring(11,16),e<n&&(t.f_state="迟到"),i<r&&(t.f_state=t.f_state+"早退")):t.f_state="缺勤"}t.f_state||(t.f_state="正常")},e.toStandardYearMonth=function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+"-"+(e<10?"0"+e:e)},e.toStandardYearMonth1=function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+(e<10?"0"+e:e)},e.toStandardDateString=function(){var t=new Date,e=t.getMonth()+1,r=t.getDate();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(r<10?"0"+r:r)},e.toStartAndEndDateString=function(){var t=new Date,e=t.getMonth()+1;return[t.getFullYear()+"-"+(e<10?"0"+e:e)+"-01",t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+new Date(t.getFullYear(),e,0).getDate()]},e.toStandardTimeString=function(){var t=new Date,e=t.getMonth()+1,r=t.getDate(),n=t.getHours(),i=t.getMinutes(),s=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(r<10?"0"+r:r)+" "+(n<10?"0"+n:n)+":"+(i<10?"0"+i:i)+":"+(s<10?"0"+s:s)},e.to3339TimeString=function(){var t=new Date,e=t.getMonth()+1,r=t.getDate(),n=t.getHours(),i=t.getMinutes(),s=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(r<10?"0"+r:r)+"T"+(n<10?"0"+n:n)+":"+(i<10?"0"+i:i)+":"+(s<10?"0"+s:s)},e.parse3339String=function(t){return new Date(t.substr(0,4),t.substr(5,2)-1,t.substr(8,2),t.substr(11,2),t.substr(14,2),t.substr(17,2))},e.format3339TimeString=function(t){var e=t.getMonth()+1,r=t.getDate(),n=t.getHours(),i=t.getMinutes(),s=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(r<10?"0"+r:r)+"T"+(n<10?"0"+n:n)+":"+(i<10?"0"+i:i)+":"+(s<10?"0"+s:s)},e.guid=function(){function t(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e}var e=new Uint16Array(8);window.crypto.getRandomValues(e);return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])},e.choices=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"请选择";{var i;if("view"!=t)return i=[],r&&i.push({label:n,value:null}),o.default.param&&o.default.param[e]?o.default.param[e].forEach(function(t){i.push({label:t.name,value:t.name})}):i.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"}),i;o.default.getParams(e,[null])}},e.required=function(t){return!("number"==typeof t&&0==t||(t=t&&(t+="").trim()))},e.isInt=function(t){return!window.isNaN(t)&&t%1==0},e.isFloat=function(t){return!window.isNaN(t)},e.booleanFilter=function t(e){for(var r in e)e.hasOwnProperty(r)&&("object"==(0,n.default)(e[r])&&null!=e[r]?t(e[r]):"true"!==e[r]&&"false"!=e[r]||(e[r]="true"===e[r]))},e.ratifyPics=function t(e){for(var r in e)r.endsWith("_path")?e[r]?e[r]="rs/db/file/"+e[r]:e[r]="rs/db/file/nopic.png":null!==e[r]&&"object"==(0,n.default)(e[r])&&t(e[r])},e.loadscript=function(n,i){return new s.default(function(t,e){var r=void 0;"css"==n?((r=document.createElement("link")).setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href",i)):"js"==n&&((r=document.createElement("script")).setAttribute("type","text/javascript"),r.setAttribute("src",i)),r&&(r.setAttribute("async",""),r.setAttribute("defer",""),r.addEventListener("load",function(){t(r)},!1),r.addEventListener("error",function(){e(r)},!1),document.body.appendChild(r))})},e.orgName=function(t){return t.substring(10)},e.getNowDate=function(t){var e="",r=new Date,n=(e=r.getDay(),r.getMonth()+1),i=r.getDate(),r=r.getYear();return(200<r?r:1900+r)+"年"+n+"月"+i+"日 "+["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"][e]},e.addDate=function(t,e){var t=new Date(t),e=(t=(t=t.valueOf())+24*e*60*60*1e3,(t=new Date(t)).getMonth()+1),r=t.getDate(),n=t.getHours(),i=t.getMinutes(),s=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(r<10?"0"+r:r)+" "+(n<10?"0"+n:n)+":"+(i<10?"0"+i:i)+":"+(s<10?"0"+s:s)},e.getUrlParames=function(t){var e=window.location.search,r=t.length,t=e.indexOf(t);if(-1===t)return"";t+=r+1;r=e.indexOf("&",t);return-1!==r?e.substring(t,r):e.substring(t)},e.getUrlCompileParames=function(t){var e=a(window.location.search.slice(1,window.location.search.length)),r=t.length,t=e.indexOf(t);if(-1===t)return"";t+=r+1;r=e.indexOf("&",t);return-1!==r?e.substring(t,r):e.substring(t)},e.compileStr=function(t){for(var e=String.fromCharCode(t.charCodeAt(0)+t.length),r=1;r<t.length;r++)e+=String.fromCharCode(t.charCodeAt(r)+t.charCodeAt(r-1));return escape(e)},e.uncompileStr=a,e.dateDescripte=function(t){var e=(new Date).getTime(),t=new Date(t).getTime(),e=e-t,t=864e5,r=30*t,n=12*r,i="";e<=12e4?i="刚刚":12e4<e&&e<36e5?i=Math.floor(e/6e4)+"分钟前":36e5<e&&e<=t?i=Math.floor(e/36e5)+"小时前":t<e&&e<=r?i=Math.floor(e/t)+"天前":r<e&&e<=n?i=Math.floor(e/r)+"个月前":n<e&&(i=Math.floor(e/n)+"年前");return i},e.nextMonth20=function(t){var t=t.split("-"),e=+t[1]+1;return t[0]+"-"+(e<10?"0"+e:e)+"-20 00:00:00"},e.dateSwitch=function(t,e,r){e=new Date(e).getTime()+r;return this.dateFormat(t,new Date(e))},e.dateFormat=function(t,e){var r,n=void 0,i={"y+":e.getFullYear().toString(),"M+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"h+":e.getHours().toString(),"m+":e.getMinutes().toString(),"s+":e.getSeconds().toString()};for(r in i)(n=new RegExp("("+r+")").exec(t))&&(t=t.replace(n[1],1==n[1].length?i[r]:i[r].padStart(n[1].length,"0")));return t};var o=i(r(40));function i(t){return t&&t.__esModule?t:{default:t}}e.f=void 0;function a(t){t=unescape(t);for(var e=String.fromCharCode(t.charCodeAt(0)-t.length),r=1;r<t.length;r++)e+=String.fromCharCode(t.charCodeAt(r)-e.charCodeAt(r-1));return e}},30:function(t,e,r){t.exports={default:r(32),__esModule:!0}},31:function(t,e,r){t.exports={default:r(33),__esModule:!0}},32:function(t,e,r){r(37),r(68),r(38),r(39),t.exports=r(4).Symbol},33:function(t,e,r){r(45),r(47),t.exports=r(7).f("iterator")},34:function(t,e,r){var a=r(19),u=r(10),h=r(5);t.exports=function(t){var e=a(t),r=u.f;if(r)for(var n,i=r(t),s=h.f,o=0;i.length>o;)s.call(t,n=i[o++])&&e.push(n);return e}},35:function(t,e,r){var n=r(5),i=r(28),s=r(8),o=r(29),a=r(26),u=r(71),h=Object.getOwnPropertyDescriptor;e.f=r(25)?h:function(t,e){if(t=s(t),e=o(e,!0),u)try{return h(t,e)}catch(t){}if(a(t,e))return i(!n.f.call(t,e),t[e])}},36:function(t,e,r){var n=r(8),i=r(9).f,s={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){if(!o||"[object Window]"!=s.call(t))return i(n(t));try{return i(t)}catch(t){return o.slice()}}},37:function(C,I,t){"use strict";function n(t){var e=A[t]=b(T[E]);return e._k=t,e}function r(t,e){g(t);for(var r,n=H(e=m(e)),i=0,s=n.length;i<s;)V(t,r=n[i++],e[r]);return t}function e(t){var e=tt.call(this,t=v(t,!0));return!(this===B&&u(A,t)&&!u(M,t))&&(!(e||!u(this,t)||!u(A,t)||u(this,_)&&this[_][t])||e)}function i(t,e){var r;if(t=m(t),e=v(e,!0),t!==B||!u(A,e)||u(M,e))return!(r=Q(t,e))||!u(A,e)||u(t,_)&&t[_][e]||(r.enumerable=!0),r}function s(t){for(var e,r=W(m(t)),n=[],i=0;r.length>i;)u(A,e=r[i++])||e==_||e==L||n.push(e);return n}function o(t){for(var e,r=t===B,n=W(r?M:m(t)),i=[],s=0;n.length>s;)!u(A,e=n[s++])||r&&!u(B,e)||i.push(A[e]);return i}var a=t(20),u=t(26),h=t(25),l=t(50),j=t(74),L=t(65).KEY,c=t(52),f=t(67),d=t(62),k=t(63),p=t(22),q=t(7),F=t(6),H=t(34),U=t(72),g=t(42),K=t(59),Y=t(55),m=t(8),v=t(29),y=t(28),b=t(66),z=t(36),G=t(35),S=t(10),Z=t(24),J=t(19),Q=G.f,w=Z.f,W=z.f,T=a.Symbol,D=a.JSON,x=D&&D.stringify,E="prototype",_=p("_hidden"),X=p("toPrimitive"),tt={}.propertyIsEnumerable,O=f("symbol-registry"),A=f("symbols"),M=f("op-symbols"),B=Object[E],f="function"==typeof T&&!!S.f,R=a.QObject,P=!R||!R[E]||!R[E].findChild,N=h&&c(function(){return 7!=b(w({},"a",{get:function(){return w(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=Q(B,e);n&&delete B[e],w(t,e,r),n&&t!==B&&w(B,e,n)}:w,$=f&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},V=function(t,e,r){return t===B&&V(M,e,r),g(t),e=v(e,!0),g(r),(u(A,e)?(r.enumerable?(u(t,_)&&t[_][e]&&(t[_][e]=!1),r=b(r,{enumerable:y(0,!1)})):(u(t,_)||w(t,_,y(1,{})),t[_][e]=!0),N):w)(t,e,r)};f||(j((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=k(0<arguments.length?arguments[0]:void 0),r=function(t){this===B&&r.call(M,t),u(this,_)&&u(this[_],e)&&(this[_][e]=!1),N(this,e,y(1,t))};return h&&P&&N(B,e,{configurable:!0,set:r}),n(e)})[E],"toString",function(){return this._k}),G.f=i,Z.f=V,t(9).f=z.f=s,t(5).f=e,S.f=o,h&&!t(27)&&j(B,"propertyIsEnumerable",e,!0),q.f=function(t){return n(p(t))}),l(l.G+l.W+l.F*!f,{Symbol:T});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)p(et[rt++]);for(var nt=J(p.store),it=0;nt.length>it;)F(nt[it++]);l(l.S+l.F*!f,"Symbol",{for:function(t){return u(O,t+="")?O[t]:O[t]=T(t)},keyFor:function(t){if(!$(t))throw TypeError(t+" is not a symbol!");for(var e in O)if(O[e]===t)return e},useSetter:function(){P=!0},useSimple:function(){P=!1}}),l(l.S+l.F*!f,"Object",{create:function(t,e){return void 0===e?b(t):r(b(t),e)},defineProperty:V,defineProperties:r,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:o});R=c(function(){S.f(1)});l(l.S+l.F*R,"Object",{getOwnPropertySymbols:function(t){return S.f(Y(t))}}),D&&l(l.S+l.F*(!f||c(function(){var t=T();return"[null]"!=x([t])||"{}"!=x({a:t})||"{}"!=x(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],i=1;i<arguments.length;)n.push(arguments[i++]);if(r=e=n[1],(K(e)||void 0!==t)&&!$(t))return U(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!$(e))return e}),n[1]=e,x.apply(D,n)}}),T[E][X]||t(60)(T[E],X,T[E].valueOf),d(T,"Symbol"),d(Math,"Math",!0),d(a.JSON,"JSON",!0)},38:function(t,e,r){r(6)("asyncIterator")},39:function(t,e,r){r(6)("observable")},46:function(t,e,r){t.exports={default:r(57),__esModule:!0}},49:function(t,e,r){t.exports={default:r(56),__esModule:!0}},51:function(t,e,r){(function(C){"use strict";function u(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function I(t,e){return t&e}function a(t,e){return t|e}function j(t,e){return t^e}function L(t,e){return t&~e}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function n(t){for(var e,r="",n=0;n+3<=t.length;n+=3)e=parseInt(t.substring(n,n+3),16),r+=o.charAt(e>>6)+o.charAt(63&e);for(n+1==t.length?(e=parseInt(t.substring(n,n+1),16),r+=o.charAt(e<<2)):n+2==t.length&&(e=parseInt(t.substring(n,n+2),16),r+=o.charAt(e>>2)+o.charAt((3&e)<<4));0<(3&r.length);)r+="=";return r}function k(t){for(var e="",r=0,n=0,i=0;i<t.length&&"="!=t.charAt(i);++i){var s=o.indexOf(t.charAt(i));s<0||(r=0==r?(e+=u(s>>2),n=3&s,1):1==r?(e+=u(n<<2|s>>4),n=15&s,2):2==r?(e=(e+=u(n))+u(s>>2),n=3&s,3):(e=(e+=u(n<<2|s>>4))+u(15&s),0))}return 1==r&&(e+=u(n<<2)),e}var h,q=function(t,e){return(q=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])}))(t,e)};var l,F=function(t){if(void 0===h){var e="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(h={},o=0;o<16;++o)h[e.charAt(o)]=o;for(e=e.toLowerCase(),o=10;o<16;++o)h[e.charAt(o)]=o;for(o=0;o<r.length;++o)h[r.charAt(o)]=-1}for(var n=[],i=0,s=0,o=0;o<t.length;++o){var a=t.charAt(o);if("="==a)break;if(-1!=(a=h[a])){if(void 0===a)throw new Error("Illegal character at offset "+o);i|=a,2<=++s?(n[n.length]=i,s=i=0):i<<=4}}if(s)throw new Error("Hex encoding incomplete: 4 bits missing");return n},H={decode:function(t){if(void 0===l){var e="= \f\n\r\t \u2028\u2029";for(l=Object.create(null),s=0;s<64;++s)l["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(s)]=s;for(s=0;s<e.length;++s)l[e.charAt(s)]=-1}for(var r=[],n=0,i=0,s=0;s<t.length;++s){var o=t.charAt(s);if("="==o)break;if(-1!=(o=l[o])){if(void 0===o)throw new Error("Illegal character at offset "+s);n|=o,4<=++i?(r[r.length]=n>>16,r[r.length]=n>>8&255,r[r.length]=255&n,i=n=0):n<<=6}}switch(i){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=n>>10;break;case 3:r[r.length]=n>>16,r[r.length]=n>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=H.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return H.decode(t)}},c=1e13,f=(t.prototype.mulAdd=function(t,e){for(var r,n=this.buf,i=n.length,s=0;s<i;++s)(r=n[s]*t+e)<c?e=0:r-=(e=0|r/c)*c,n[s]=r;0<e&&(n[s]=e)},t.prototype.sub=function(t){for(var e,r=this.buf,n=r.length,i=0;i<n;++i)t=(e=r[i]-t)<0?(e+=c,1):0,r[i]=e;for(;0===r[r.length-1];)r.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,r=e[e.length-1].toString(),n=e.length-2;0<=n;--n)r+=(c+e[n]).toString().substring(1);return r},t.prototype.valueOf=function(){for(var t=this.buf,e=0,r=t.length-1;0<=r;--r)e=e*c+t[r];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t);function t(t){this.buf=[+t||0]}var U=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,K=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function d(t,e){return t=t.length>e?t.substring(0,e)+"…":t}r.prototype.get=function(t){if((t=void 0===t?this.pos++:t)>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},r.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},r.prototype.hexDump=function(t,e,r){for(var n="",i=t;i<e;++i)if(n+=this.hexByte(this.get(i)),!0!==r)switch(15&i){case 7:n+=" ";break;case 15:n+="\n";break;default:n+=" "}return n},r.prototype.isASCII=function(t,e){for(var r=t;r<e;++r){var n=this.get(r);if(n<32||176<n)return!1}return!0},r.prototype.parseStringISO=function(t,e){for(var r="",n=t;n<e;++n)r+=String.fromCharCode(this.get(n));return r},r.prototype.parseStringUTF=function(t,e){for(var r="",n=t;n<e;){var i=this.get(n++);r+=i<128?String.fromCharCode(i):191<i&&i<224?String.fromCharCode((31&i)<<6|63&this.get(n++)):String.fromCharCode((15&i)<<12|(63&this.get(n++))<<6|63&this.get(n++))}return r},r.prototype.parseStringBMP=function(t,e){for(var r,n,i="",s=t;s<e;)r=this.get(s++),n=this.get(s++),i+=String.fromCharCode(r<<8|n);return i},r.prototype.parseTime=function(t,e,r){t=this.parseStringISO(t,e),e=(r?U:K).exec(t);return e?(r&&(e[1]=+e[1],e[1]+=+e[1]<70?2e3:1900),t=e[1]+"-"+e[2]+"-"+e[3]+" "+e[4],e[5]&&(t+=":"+e[5],e[6])&&(t+=":"+e[6],e[7])&&(t+="."+e[7]),e[8]&&(t+=" UTC","Z"!=e[8])&&(t+=e[8],e[9])&&(t+=":"+e[9]),t):"Unrecognized time: "+t},r.prototype.parseInteger=function(t,e){for(var r,n=this.get(t),i=127<n,s=i?255:0,o="";n==s&&++t<e;)n=this.get(t);if(0===(r=e-t))return i?-1:0;if(4<r){for(o=n,r<<=3;0==(128&(+o^s));)o=+o<<1,--r;o="("+r+" bit)\n"}i&&(n-=256);for(var a=new f(n),u=t+1;u<e;++u)a.mulAdd(256,this.get(u));return o+a.toString()},r.prototype.parseBitString=function(t,e,r){for(var n=this.get(t),i="("+((e-t-1<<3)-n)+" bit)\n",s="",o=t+1;o<e;++o){for(var a=this.get(o),u=o==e-1?n:0,h=7;u<=h;--h)s+=a>>h&1?"1":"0";if(s.length>r)return i+d(s,r)}return i+s},r.prototype.parseOctetString=function(t,e,r){if(this.isASCII(t,e))return d(this.parseStringISO(t,e),r);var n=e-t,i="("+n+" byte)\n";(r/=2)<n&&(e=t+r);for(var s=t;s<e;++s)i+=this.hexByte(this.get(s));return r<n&&(i+="…"),i},r.prototype.parseOID=function(t,e,r){for(var n="",i=new f,s=0,o=t;o<e;++o){var a=this.get(o);if(i.mulAdd(128,127&a),s+=7,!(128&a)){if(""===n?n=(i=i.simplify())instanceof f?(i.sub(80),"2."+i.toString()):(a=i<80?i<40?0:1:2)+"."+(i-40*a):n+="."+i.toString(),n.length>r)return d(n,r);i=new f,s=0}}return 0<s&&(n+=".incomplete"),n};var Y=r;function r(t,e){this.hexDigits="0123456789ABCDEF",t instanceof r?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=e)}p.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},p.prototype.content=function(t){if(void 0!==this.tag){void 0===t&&(t=1/0);var e=this.posContent(),r=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+r,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+r);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+r,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+r,t);case 6:return this.stream.parseOID(e,e+r,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return d(this.stream.parseStringUTF(e,e+r),t);case 18:case 19:case 20:case 21:case 22:case 26:return d(this.stream.parseStringISO(e,e+r),t);case 30:return d(this.stream.parseStringBMP(e,e+r),t);case 23:case 24:return this.stream.parseTime(e,e+r,23==this.tag.tagNumber)}}return null},p.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},p.prototype.toPrettyString=function(t){var e=(t=void 0===t?"":t)+this.typeName()+" @"+this.stream.pos;if(0<=this.length&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var r=0,n=this.sub.length;r<n;++r)e+=this.sub[r].toPrettyString(t)}return e},p.prototype.posStart=function(){return this.stream.pos},p.prototype.posContent=function(){return this.stream.pos+this.header},p.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},p.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},p.decodeLength=function(t){var e=127&(r=t.get());if(e==r)return e;if(6<e)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0==e)return null;for(var r=0,n=0;n<e;++n)r=256*r+t.get();return r},p.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,r=2*this.length;return t.substr(e,r)},p.decode=function(t){function e(){var t=[];if(null!==i){for(var e=s+i;n.pos<e;)t[t.length]=p.decode(n);if(n.pos!=e)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var r=p.decode(n);if(r.tag.isEOC())break;t[t.length]=r}i=s-n.pos}catch(t){throw new Error("Exception while decoding undefined length content: "+t)}return t}var n=t instanceof Y?t:new Y(t,0),t=new Y(n),r=new G(n),i=p.decodeLength(n),s=n.pos,o=s-t.pos,a=null;if(r.tagConstructed)a=e();else if(r.isUniversal()&&(3==r.tagNumber||4==r.tagNumber))try{if(3==r.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");for(var a=e(),u=0;u<a.length;++u)if(a[u].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(t){a=null}if(null===a){if(null===i)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);n.pos=s+Math.abs(i)}return new p(t,o,i,r,a)};var z=p;function p(t,e,r,n,i){if(!(n instanceof G))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=r,this.tag=n,this.sub=i}Z.prototype.isUniversal=function(){return 0===this.tagClass},Z.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber};var G=Z;function Z(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){for(var r=new f;e=t.get(),r.mulAdd(128,127&e),128&e;);this.tagNumber=r.simplify()}}var g=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],J=(1<<26)/g[g.length-1],m=(v.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,n=(1<<e)-1,i=!1,s="",o=this.t,a=this.DB-o*this.DB%e;if(0<o--)for(a<this.DB&&0<(r=this[o]>>a)&&(i=!0,s=u(r));0<=o;)a<e?(r=(this[o]&(1<<a)-1)<<e-a,r|=this[--o]>>(a+=this.DB-e)):(r=this[o]>>(a-=e)&n,a<=0&&(a+=this.DB,--o)),(i=0<r?!0:i)&&(s+=u(r));return i?s:"0"},v.prototype.negate=function(){var t=b();return v.ZERO.subTo(this,t),t},v.prototype.abs=function(){return this.s<0?this.negate():this},v.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;0<=--r;)if(0!=(e=this[r]-t[r]))return e;return 0},v.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+E(this[this.t-1]^this.s&this.DM)},v.prototype.mod=function(t){var e=b();return this.abs().divRemTo(t,null,e),this.s<0&&0<e.compareTo(v.ZERO)&&t.subTo(e,e),e},v.prototype.modPowInt=function(t,e){e=new(t<256||e.isEven()?W:X)(e);return this.exp(t,e)},v.prototype.clone=function(){var t=b();return this.copyTo(t),t},v.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},v.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},v.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},v.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},v.prototype.toByteArray=function(){var t,e=this.t,r=[],n=(r[0]=this.s,this.DB-e*this.DB%8),i=0;if(0<e--)for(n<this.DB&&(t=this[e]>>n)!=(this.s&this.DM)>>n&&(r[i++]=t|this.s<<this.DB-n);0<=e;)n<8?(t=(this[e]&(1<<n)-1)<<8-n,t|=this[--e]>>(n+=this.DB-8)):(t=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&t)&&(t|=-256),0==i&&(128&this.s)!=(128&t)&&++i,(0<i||t!=this.s)&&(r[i++]=t);return r},v.prototype.equals=function(t){return 0==this.compareTo(t)},v.prototype.min=function(t){return this.compareTo(t)<0?this:t},v.prototype.max=function(t){return 0<this.compareTo(t)?this:t},v.prototype.and=function(t){var e=b();return this.bitwiseTo(t,I,e),e},v.prototype.or=function(t){var e=b();return this.bitwiseTo(t,a,e),e},v.prototype.xor=function(t){var e=b();return this.bitwiseTo(t,j,e),e},v.prototype.andNot=function(t){var e=b();return this.bitwiseTo(t,L,e),e},v.prototype.not=function(){for(var t=b(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},v.prototype.shiftLeft=function(t){var e=b();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},v.prototype.shiftRight=function(t){var e=b();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},v.prototype.getLowestSetBit=function(){for(var t,e,r=0;r<this.t;++r)if(0!=this[r])return r*this.DB+(t=this[r],e=void 0,0==t?-1:((e=0)==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e));return this.s<0?this.t*this.DB:-1},v.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,r=0;r<this.t;++r)t+=function(t){for(var e=0;0!=t;)t&=t-1,++e;return e}(this[r]^e);return t},v.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},v.prototype.setBit=function(t){return this.changeBit(t,a)},v.prototype.clearBit=function(t){return this.changeBit(t,L)},v.prototype.flipBit=function(t){return this.changeBit(t,j)},v.prototype.add=function(t){var e=b();return this.addTo(t,e),e},v.prototype.subtract=function(t){var e=b();return this.subTo(t,e),e},v.prototype.multiply=function(t){var e=b();return this.multiplyTo(t,e),e},v.prototype.divide=function(t){var e=b();return this.divRemTo(t,e,null),e},v.prototype.remainder=function(t){var e=b();return this.divRemTo(t,null,e),e},v.prototype.divideAndRemainder=function(t){var e=b(),r=b();return this.divRemTo(t,e,r),[e,r]},v.prototype.modPow=function(t,e){var r=t.bitLength(),n=x(1);if(r<=0)return n;var i=r<18?1:r<48?3:r<144?4:r<768?5:6,s=new(r<8?W:e.isEven()?tt:X)(e),o=[],a=3,u=i-1,h=(1<<i)-1;if(o[1]=s.convert(this),1<i){var l=b();for(s.sqrTo(o[1],l);a<=h;)o[a]=b(),s.mulTo(l,o[a-2],o[a]),a+=2}for(var c,f,d=t.t-1,p=!0,g=b(),r=E(t[d])-1;0<=d;){for(u<=r?c=t[d]>>r-u&h:(c=(t[d]&(1<<r+1)-1)<<u-r,0<d&&(c|=t[d-1]>>this.DB+r-u)),a=i;0==(1&c);)c>>=1,--a;if((r-=a)<0&&(r+=this.DB,--d),p)o[c].copyTo(n),p=!1;else{for(;1<a;)s.sqrTo(n,g),s.sqrTo(g,n),a-=2;0<a?s.sqrTo(n,g):(f=n,n=g,g=f),s.mulTo(g,o[c],n)}for(;0<=d&&0==(t[d]&1<<r);)s.sqrTo(n,g),f=n,n=g,g=f,--r<0&&(r=this.DB-1,--d)}return s.revert(n)},v.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return v.ZERO;for(var r=t.clone(),n=this.clone(),i=x(1),s=x(0),o=x(0),a=x(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),e?(i.isEven()&&s.isEven()||(i.addTo(this,i),s.subTo(t,s)),i.rShiftTo(1,i)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;n.isEven();)n.rShiftTo(1,n),e?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);0<=r.compareTo(n)?(r.subTo(n,r),e&&i.subTo(o,i),s.subTo(a,s)):(n.subTo(r,n),e&&o.subTo(i,o),a.subTo(s,a))}return 0!=n.compareTo(v.ONE)?v.ZERO:0<=a.compareTo(t)?a.subtract(t):a.signum()<0&&(a.addTo(t,a),a.signum()<0)?a.add(t):a},v.prototype.pow=function(t){return this.exp(t,new Q)},v.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone(),n=(e.compareTo(r)<0&&(t=e,e=r,r=t),e.getLowestSetBit()),t=r.getLowestSetBit();if(t<0)return e;for(0<(t=n<t?n:t)&&(e.rShiftTo(t,e),r.rShiftTo(t,r));0<e.signum();)0<(n=e.getLowestSetBit())&&e.rShiftTo(n,e),0<(n=r.getLowestSetBit())&&r.rShiftTo(n,r),0<=e.compareTo(r)?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return 0<t&&r.lShiftTo(t,r),r},v.prototype.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]<=g[g.length-1]){for(e=0;e<g.length;++e)if(r[0]==g[e])return!0;return!1}if(r.isEven())return!1;for(e=1;e<g.length;){for(var n=g[e],i=e+1;i<g.length&&n<J;)n*=g[i++];for(n=r.modInt(n);e<i;)if(n%g[e++]==0)return!1}return r.millerRabin(t)},v.prototype.copyTo=function(t){for(var e=this.t-1;0<=e;--e)t[e]=this[e];t.t=this.t,t.s=this.s},v.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,0<t?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},v.prototype.fromString=function(t,e){var r;if(16==e)r=4;else if(8==e)r=3;else if(256==e)r=8;else if(2==e)r=1;else if(32==e)r=5;else{if(4!=e)return void this.fromRadix(t,e);r=2}this.t=0,this.s=0;for(var n=t.length,i=!1,s=0;0<=--n;){var o=8==r?255&+t[n]:et(t,n);o<0?"-"==t.charAt(n)&&(i=!0):(i=!1,0==s?this[this.t++]=o:s+r>this.DB?(this[this.t-1]|=(o&(1<<this.DB-s)-1)<<s,this[this.t++]=o>>this.DB-s):this[this.t-1]|=o<<s,(s+=r)>=this.DB&&(s-=this.DB))}8==r&&0!=(128&+t[0])&&(this.s=-1,0<s)&&(this[this.t-1]|=(1<<this.DB-s)-1<<s),this.clamp(),i&&v.ZERO.subTo(this,this)},v.prototype.clamp=function(){for(var t=this.s&this.DM;0<this.t&&this[this.t-1]==t;)--this.t},v.prototype.dlShiftTo=function(t,e){for(var r=this.t-1;0<=r;--r)e[r+t]=this[r];for(r=t-1;0<=r;--r)e[r]=0;e.t=this.t+t,e.s=this.s},v.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},v.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,n=this.DB-r,i=(1<<n)-1,s=Math.floor(t/this.DB),o=this.s<<r&this.DM,a=this.t-1;0<=a;--a)e[a+s+1]=this[a]>>n|o,o=(this[a]&i)<<r;for(a=s-1;0<=a;--a)e[a]=0;e[s]=o,e.t=this.t+s+1,e.s=this.s,e.clamp()},v.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,i=this.DB-n,s=(1<<n)-1;e[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)e[o-r-1]|=(this[o]&s)<<i,e[o-r]=this[o]>>n;0<n&&(e[this.t-r-1]|=(this.s&s)<<i),e.t=this.t-r,e.clamp()}},v.prototype.subTo=function(t,e){for(var r=0,n=0,i=Math.min(t.t,this.t);r<i;)n+=this[r]-t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n-=t[r],e[r++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:0<n&&(e[r++]=n),e.t=r,e.clamp()},v.prototype.multiplyTo=function(t,e){var r=this.abs(),n=t.abs(),i=r.t;for(e.t=i+n.t;0<=--i;)e[i]=0;for(i=0;i<n.t;++i)e[i+r.t]=r.am(0,n[i],e,i,0,r.t);e.s=0,e.clamp(),this.s!=t.s&&v.ZERO.subTo(e,e)},v.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;0<=--r;)t[r]=0;for(r=0;r<e.t-1;++r){var n=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,n,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}0<t.t&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},v.prototype.divRemTo=function(t,e,r){var n=t.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)null!=e&&e.fromInt(0),null!=r&&this.copyTo(r);else{null==r&&(r=b());var s=b(),o=this.s,t=t.s,a=this.DB-E(n[n.t-1]),u=(0<a?(n.lShiftTo(a,s),i.lShiftTo(a,r)):(n.copyTo(s),i.copyTo(r)),s.t),h=s[u-1];if(0!=h){var n=h*(1<<this.F1)+(1<u?s[u-2]>>this.F2:0),l=this.FV/n,c=(1<<this.F1)/n,f=1<<this.F2,d=r.t,p=d-u,g=null==e?b():e;for(s.dlShiftTo(p,g),0<=r.compareTo(g)&&(r[r.t++]=1,r.subTo(g,r)),v.ONE.dlShiftTo(u,g),g.subTo(s,s);s.t<u;)s[s.t++]=0;for(;0<=--p;){var m=r[--d]==h?this.DM:Math.floor(r[d]*l+(r[d-1]+f)*c);if((r[d]+=s.am(0,m,r,p,0,u))<m)for(s.dlShiftTo(p,g),r.subTo(g,r);r[d]<--m;)r.subTo(g,r)}null!=e&&(r.drShiftTo(u,e),o!=t)&&v.ZERO.subTo(e,e),r.t=u,r.clamp(),0<a&&r.rShiftTo(a,r),o<0&&v.ZERO.subTo(r,r)}}}},v.prototype.invDigit=function(){var t,e;return this.t<1||0==(1&(t=this[0]))?0:0<(e=(e=(e=(e=(e=3&t)*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)?this.DV-e:-e},v.prototype.isEven=function(){return 0==(0<this.t?1&this[0]:this.s)},v.prototype.exp=function(t,e){if(4294967295<t||t<1)return v.ONE;var r,n=b(),i=b(),s=e.convert(this),o=E(t)-1;for(s.copyTo(n);0<=--o;)e.sqrTo(n,i),0<(t&1<<o)?e.mulTo(i,s,n):(r=n,n=i,i=r);return e.revert(n)},v.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},v.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||36<t)return"0";var e=this.chunkSize(t),r=Math.pow(t,e),n=x(r),i=b(),s=b(),o="";for(this.divRemTo(n,i,s);0<i.signum();)o=(r+s.intValue()).toString(t).substr(1)+o,i.divRemTo(n,i,s);return s.intValue().toString(t)+o},v.prototype.fromRadix=function(t,e){this.fromInt(0);for(var r=this.chunkSize(e=null==e?10:e),n=Math.pow(e,r),i=!1,s=0,o=0,a=0;a<t.length;++a){var u=et(t,a);u<0?"-"==t.charAt(a)&&0==this.signum()&&(i=!0):(o=e*o+u,++s>=r&&(this.dMultiply(n),this.dAddOffset(o,0),o=s=0))}0<s&&(this.dMultiply(Math.pow(e,s)),this.dAddOffset(o,0)),i&&v.ZERO.subTo(this,this)},v.prototype.fromNumber=function(t,e,r){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(v.ONE.shiftLeft(t-1),a,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(v.ONE.shiftLeft(t-1),this);else{var r=[],n=7&t;r.length=1+(t>>3),e.nextBytes(r),0<n?r[0]&=(1<<n)-1:r[0]=0,this.fromString(r,256)}},v.prototype.bitwiseTo=function(t,e,r){for(var n,i=Math.min(t.t,this.t),s=0;s<i;++s)r[s]=e(this[s],t[s]);if(t.t<this.t){for(n=t.s&this.DM,s=i;s<this.t;++s)r[s]=e(this[s],n);r.t=this.t}else{for(n=this.s&this.DM,s=i;s<t.t;++s)r[s]=e(n,t[s]);r.t=t.t}r.s=e(this.s,t.s),r.clamp()},v.prototype.changeBit=function(t,e){t=v.ONE.shiftLeft(t);return this.bitwiseTo(t,e,t),t},v.prototype.addTo=function(t,e){for(var r=0,n=0,i=Math.min(t.t,this.t);r<i;)n+=this[r]+t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n+=t[r],e[r++]=n&this.DM,n>>=this.DB;n+=t.s}e.s=n<0?-1:0,0<n?e[r++]=n:n<-1&&(e[r++]=this.DV+n),e.t=r,e.clamp()},v.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},v.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},v.prototype.multiplyLowerTo=function(t,e,r){var n=Math.min(this.t+t.t,e);for(r.s=0,r.t=n;0<n;)r[--n]=0;for(var i=r.t-this.t;n<i;++n)r[n+this.t]=this.am(0,t[n],r,n,0,this.t);for(i=Math.min(t.t,e);n<i;++n)this.am(0,t[n],r,n,0,e-n);r.clamp()},v.prototype.multiplyUpperTo=function(t,e,r){var n=r.t=this.t+t.t- --e;for(r.s=0;0<=--n;)r[n]=0;for(n=Math.max(e-this.t,0);n<t.t;++n)r[this.t+n-e]=this.am(e-n,t[n],r,0,0,this.t+n-e);r.clamp(),r.drShiftTo(1,r)},v.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,r=this.s<0?t-1:0;if(0<this.t)if(0==e)r=this[0]%t;else for(var n=this.t-1;0<=n;--n)r=(e*r+this[n])%t;return r},v.prototype.millerRabin=function(t){var e=this.subtract(v.ONE),r=e.getLowestSetBit();if(r<=0)return!1;for(var n=e.shiftRight(r),i=(g.length<(t=t+1>>1)&&(t=g.length),b()),s=0;s<t;++s){i.fromInt(g[Math.floor(Math.random()*g.length)]);var o=i.modPow(n,this);if(0!=o.compareTo(v.ONE)&&0!=o.compareTo(e)){for(var a=1;a++<r&&0!=o.compareTo(e);)if(0==(o=o.modPowInt(2,this)).compareTo(v.ONE))return!1;if(0!=o.compareTo(e))return!1}}return!0},v.prototype.square=function(){var t=b();return this.squareTo(t),t},v.prototype.gcda=function(t,e){var r,n=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone(),s=(n.compareTo(i)<0&&(t=n,n=i,i=t),n.getLowestSetBit()),o=i.getLowestSetBit();o<0?e(n):(0<(o=s<o?s:o)&&(n.rShiftTo(o,n),i.rShiftTo(o,i)),r=function(){0<(s=n.getLowestSetBit())&&n.rShiftTo(s,n),0<(s=i.getLowestSetBit())&&i.rShiftTo(s,i),0<=n.compareTo(i)?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),0<n.signum()?setTimeout(r,0):(0<o&&i.lShiftTo(o,i),setTimeout(function(){e(i)},0))},setTimeout(r,10))},v.prototype.fromNumberAsync=function(t,e,r,n){var i,s,o;"number"==typeof e?t<2?this.fromInt(1):(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(v.ONE.shiftLeft(t-1),a,this),this.isEven()&&this.dAddOffset(1,0),i=this,s=function(){i.dAddOffset(2,0),i.bitLength()>t&&i.subTo(v.ONE.shiftLeft(t-1),i),i.isProbablePrime(e)?setTimeout(function(){n()},0):setTimeout(s,0)},setTimeout(s,0)):(r=7&t,(o=[]).length=1+(t>>3),e.nextBytes(o),0<r?o[0]&=(1<<r)-1:o[0]=0,this.fromString(o,256))},v);function v(t,e,r){null!=t&&("number"==typeof t?this.fromNumber(t,e,r):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}e.prototype.convert=function(t){return t},e.prototype.revert=function(t){return t},e.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r)},e.prototype.sqrTo=function(t,e){t.squareTo(e)};var Q=e;function e(){}i.prototype.convert=function(t){return t.s<0||0<=t.compareTo(this.m)?t.mod(this.m):t},i.prototype.revert=function(t){return t},i.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},i.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},i.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var W=i;function i(t){this.m=t}s.prototype.convert=function(t){var e=b();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&0<e.compareTo(m.ZERO)&&this.m.subTo(e,e),e},s.prototype.revert=function(t){var e=b();return t.copyTo(e),this.reduce(e),e},s.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],n=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),0<=t.compareTo(this.m)&&t.subTo(this.m,t)},s.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},s.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var X=s;function s(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}y.prototype.convert=function(t){var e;return t.s<0||t.t>2*this.m.t?t.mod(this.m):t.compareTo(this.m)<0?t:(e=b(),t.copyTo(e),this.reduce(e),e)},y.prototype.revert=function(t){return t},y.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);0<=t.compareTo(this.m);)t.subTo(this.m,t)},y.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},y.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var tt=y;function y(t){this.m=t,this.r2=b(),this.q3=b(),m.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}function b(){return new m(null)}function S(t,e){return new m(t,e)}B="Microsoft Internet Explorer"==navigator.appName?(m.prototype.am=function(t,e,r,n,i,s){for(var o=32767&e,a=e>>15;0<=--s;){var u=32767&this[t],h=this[t++]>>15,l=a*u+h*o;i=((u=o*u+((32767&l)<<15)+r[n]+(1073741823&i))>>>30)+(l>>>15)+a*h+(i>>>30),r[n++]=1073741823&u}return i},30):"Netscape"!=navigator.appName?(m.prototype.am=function(t,e,r,n,i,s){for(;0<=--s;){var o=e*this[t++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=67108863&o}return i},26):(m.prototype.am=function(t,e,r,n,i,s){for(var o=16383&e,a=e>>14;0<=--s;){var u=16383&this[t],h=this[t++]>>14,l=a*u+h*o;i=((u=o*u+((16383&l)<<14)+r[n]+i)>>28)+(l>>14)+a*h,r[n++]=268435455&u}return i},28),m.prototype.DB=B,m.prototype.DM=(1<<B)-1,m.prototype.DV=1<<B;m.prototype.FV=Math.pow(2,52),m.prototype.F1=52-B,m.prototype.F2=2*B-52;for(var w=[],T="0".charCodeAt(0),D=0;D<=9;++D)w[T++]=D;for(T="a".charCodeAt(0),D=10;D<36;++D)w[T++]=D;for(T="A".charCodeAt(0),D=10;D<36;++D)w[T++]=D;function et(t,e){t=w[t.charCodeAt(e)];return null==t?-1:t}function x(t){var e=b();return e.fromInt(t),e}function E(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}m.ZERO=x(0),m.ONE=x(1);nt.prototype.init=function(t){for(var e,r,n=0;n<256;++n)this.S[n]=n;for(n=e=0;n<256;++n)e=e+this.S[n]+t[n%t.length]&255,r=this.S[n],this.S[n]=this.S[e],this.S[e]=r;this.i=0,this.j=0},nt.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]};var rt=nt;function nt(){this.i=0,this.j=0,this.S=[]}var _;if(null==(O=null)){var O=[],A=0,M=void 0;if(window.crypto&&window.crypto.getRandomValues){var it=new Uint32Array(256);for(window.crypto.getRandomValues(it),M=0;M<it.length;++M)O[A++]=255&it[M]}var st=function(t){if(this.count=this.count||0,256<=this.count||256<=A)window.removeEventListener?window.removeEventListener("mousemove",st,!1):window.detachEvent&&window.detachEvent("onmousemove",st);else try{var e=t.x+t.y;O[A++]=255&e,this.count+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",st,!1):window.attachEvent&&window.attachEvent("onmousemove",st)}function ot(){if(null==_){for(_=new rt;A<256;){var t=Math.floor(65536*Math.random());O[A++]=255&t}for(_.init(O),A=0;A<O.length;++A)O[A]=0;A=0}return _.next()}ut.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=ot()};var at=ut;function ut(){}R.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},R.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),r=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(r)<0;)e=e.add(this.p);return e.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)},R.prototype.setPublic=function(t,e){null!=t&&null!=e&&0<t.length&&0<e.length&&(this.n=S(t,16),this.e=parseInt(e,16))},R.prototype.encrypt=function(t){var t=function(t,e){if(e<t.length+11)return null;for(var r=[],n=t.length-1;0<=n&&0<e;){var i=t.charCodeAt(n--);i<128?r[--e]=i:127<i&&i<2048?(r[--e]=63&i|128,r[--e]=i>>6|192):(r[--e]=63&i|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var s=new at,o=[];2<e;){for(o[0]=0;0==o[0];)s.nextBytes(o);r[--e]=o[0]}return r[--e]=2,r[--e]=0,new m(r)}(t,this.n.bitLength()+7>>3);return null==t||null==(t=this.doPublic(t))?null:0==(1&(t=t.toString(16)).length)?t:"0"+t},R.prototype.setPrivate=function(t,e,r){null!=t&&null!=e&&0<t.length&&0<e.length&&(this.n=S(t,16),this.e=parseInt(e,16),this.d=S(r,16))},R.prototype.setPrivateEx=function(t,e,r,n,i,s,o,a){null!=t&&null!=e&&0<t.length&&0<e.length&&(this.n=S(t,16),this.e=parseInt(e,16),this.d=S(r,16),this.p=S(n,16),this.q=S(i,16),this.dmp1=S(s,16),this.dmq1=S(o,16),this.coeff=S(a,16))},R.prototype.generate=function(t,e){for(var r=new at,n=t>>1,i=(this.e=parseInt(e,16),new m(e,16));;){for(;this.p=new m(t-n,1,r),0!=this.p.subtract(m.ONE).gcd(i).compareTo(m.ONE)||!this.p.isProbablePrime(10););for(;this.q=new m(n,1,r),0!=this.q.subtract(m.ONE).gcd(i).compareTo(m.ONE)||!this.q.isProbablePrime(10););this.p.compareTo(this.q)<=0&&(s=this.p,this.p=this.q,this.q=s);var s=this.p.subtract(m.ONE),o=this.q.subtract(m.ONE),a=s.multiply(o);if(0==a.gcd(i).compareTo(m.ONE)){this.n=this.p.multiply(this.q),this.d=i.modInverse(a),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(o),this.coeff=this.q.modInverse(this.p);break}}},R.prototype.decrypt=function(t){t=S(t,16),t=this.doPrivate(t);if(null==t)return null;for(var e=this.n.bitLength()+7>>3,r=t.toByteArray(),n=0;n<r.length&&0==r[n];)++n;if(r.length-n!=e-1||2!=r[n])return null;for(++n;0!=r[n];)if(++n>=r.length)return null;for(var i="";++n<r.length;){var s=255&r[n];s<128?i+=String.fromCharCode(s):191<s&&s<224?(i+=String.fromCharCode((31&s)<<6|63&r[n+1]),++n):(i+=String.fromCharCode((15&s)<<12|(63&r[n+1])<<6|63&r[n+2]),n+=2)}return i},R.prototype.generateAsync=function(t,e,i){var s=new at,o=t>>1,a=(this.e=parseInt(e,16),new m(e,16)),u=this,h=function(){function e(){u.p=b(),u.p.fromNumberAsync(t-o,1,s,function(){u.p.subtract(m.ONE).gcda(a,function(t){0==t.compareTo(m.ONE)&&u.p.isProbablePrime(10)?setTimeout(n,0):setTimeout(e,0)})})}var r=function(){u.p.compareTo(u.q)<=0&&(t=u.p,u.p=u.q,u.q=t);var t=u.p.subtract(m.ONE),e=u.q.subtract(m.ONE),r=t.multiply(e);0==r.gcd(a).compareTo(m.ONE)?(u.n=u.p.multiply(u.q),u.d=a.modInverse(r),u.dmp1=u.d.mod(t),u.dmq1=u.d.mod(e),u.coeff=u.q.modInverse(u.p),setTimeout(function(){i()},0)):setTimeout(h,0)},n=function(){u.q=b(),u.q.fromNumberAsync(o,1,s,function(){u.q.subtract(m.ONE).gcda(a,function(t){0==t.compareTo(m.ONE)&&u.q.isProbablePrime(10)?setTimeout(r,0):setTimeout(n,0)})})};setTimeout(e,0)};setTimeout(h,0)},R.prototype.sign=function(t,e,r){r=function(t,e){if(e<t.length+22)return null;for(var r=e-t.length-6,n="",i=0;i<r;i+=2)n+="ff";return S("0001"+n+"00"+t,16)}((ht[r]||"")+e(t).toString(),this.n.bitLength()/4);return null==r||null==(e=this.doPrivate(r))?null:0==(1&(t=e.toString(16)).length)?t:"0"+t},R.prototype.verify=function(t,e,r){e=S(e,16),e=this.doPublic(e);return null==e?null:function(t){for(var e in ht)if(ht.hasOwnProperty(e)){var e=ht[e],r=e.length;if(t.substr(0,r)==e)return t.substr(r)}return t}(e.toString(16).replace(/^1f+00/,""))==r(t).toString()};var B=R;function R(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}var ht={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};var lt,ct,P={lang:{extend:function(t,e,r){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");function n(){}if(n.prototype=e.prototype,t.prototype=new n,(t.prototype.constructor=t).superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),r){for(var i in r)t.prototype[i]=r[i];var e=function(){},s=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(e=function(t,e){for(i=0;i<s.length;i+=1){var r=s[i],n=e[r];"function"==typeof n&&n!=Object.prototype[r]&&(t[r]=n)}})}catch(t){}e(t.prototype,r)}}}},N={},ft=(void 0!==N.asn1&&N.asn1||(N.asn1={}),N.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){t=t.toString(16);return t=t.length%2==1?"0"+t:t},this.bigIntToMinTwosComplementsHex=function(t){if("-"!=(i=t.toString(16)).substr(0,1))i.length%2==1?i="0"+i:i.match(/^[0-7]/)||(i="00"+i);else{for(var e=i.substr(1).length,r=(e%2==1?e+=1:i.match(/^[0-7]/)||(e+=2),""),n=0;n<e;n++)r+="f";var i=new m(r,16).xor(t).add(m.ONE).toString(16).replace(/^-/,"")}return i},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=N.asn1,r=e.DERBoolean,n=e.DERInteger,i=e.DERBitString,s=e.DEROctetString,o=e.DERNull,a=e.DERObjectIdentifier,u=e.DEREnumerated,h=e.DERUTF8String,l=e.DERNumericString,c=e.DERPrintableString,f=e.DERTeletexString,d=e.DERIA5String,p=e.DERUTCTime,g=e.DERGeneralizedTime,m=e.DERSequence,v=e.DERSet,y=e.DERTaggedObject,b=e.ASN1Util.newObject,e=Object.keys(t);if(1!=e.length)throw"key of param shall be only one.";e=e[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+e+":"))throw"undefined key: "+e;if("bool"==e)return new r(t[e]);if("int"==e)return new n(t[e]);if("bitstr"==e)return new i(t[e]);if("octstr"==e)return new s(t[e]);if("null"==e)return new o(t[e]);if("oid"==e)return new a(t[e]);if("enum"==e)return new u(t[e]);if("utf8str"==e)return new h(t[e]);if("numstr"==e)return new l(t[e]);if("prnstr"==e)return new c(t[e]);if("telstr"==e)return new f(t[e]);if("ia5str"==e)return new d(t[e]);if("utctime"==e)return new p(t[e]);if("gentime"==e)return new g(t[e]);if("seq"==e){for(var S=t[e],w=[],T=0;T<S.length;T++){var D=b(S[T]);w.push(D)}return new m({array:w})}if("set"==e){for(S=t[e],w=[],T=0;T<S.length;T++){D=b(S[T]);w.push(D)}return new v({array:w})}if("tag"==e){r=t[e];if("[object Array]"===Object.prototype.toString.call(r)&&3==r.length)return n=b(r[2]),new y({tag:r[0],explicit:r[1],obj:n});i={};if(void 0!==r.explicit&&(i.explicit=r.explicit),void 0!==r.tag&&(i.tag=r.tag),void 0===r.obj)throw"obj shall be specified for 'tag'.";return i.obj=b(r.obj),new y(i)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},N.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",r=parseInt(t.substr(0,2),16),e=Math.floor(r/40)+"."+r%40,n="",i=2;i<t.length;i+=2){var s=("00000000"+parseInt(t.substr(i,2),16).toString(2)).slice(-8);n+=s.substr(1,7),"0"==s.substr(0,1)&&(e=e+"."+new m(n,2).toString(10),n="")}return e},N.asn1.ASN1Util.oidIntToHex=function(t){function a(t){return t=1==(t=t.toString(16)).length?"0"+t:t}if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var e="",r=t.split("."),t=40*parseInt(r[0])+parseInt(r[1]);e+=a(t),r.splice(0,2);for(var n=0;n<r.length;n++)e+=function(t){for(var e="",r=7-(s=new m(t,10).toString(2)).length%7,n=(7==r&&(r=0),""),i=0;i<r;i++)n+="0";for(var s=n+s,i=0;i<s.length-1;i+=7){var o=s.substr(i,7);i!=s.length-7&&(o="1"+o),e+=a(parseInt(o,2))}return e}(r[n]);return e},N.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),t<128)return e;var r=e.length/2;if(15<r)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+r).toString(16)+e},this.getEncodedHex=function(){return null!=this.hTLV&&!this.isModified||(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},N.asn1.DERAbstractString=function(t){N.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},P.lang.extend(N.asn1.DERAbstractString,N.asn1.ASN1Object),N.asn1.DERAbstractTime=function(t){N.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,r){var n=this.zeroPadding,t=this.localDateToUTC(t),i=String(t.getFullYear()),e=("utc"==e&&(i=i.substr(2,2)),n(String(t.getMonth()+1),2)),i=i+e+n(String(t.getDate()),2)+n(String(t.getHours()),2)+n(String(t.getMinutes()),2)+n(String(t.getSeconds()),2);return(i=!0===r&&0!=(e=t.getMilliseconds())?i+"."+n(String(e),3).replace(/[0]+$/,""):i)+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,r,n,i,s){t=new Date(Date.UTC(t,e-1,r,n,i,s,0));this.setByDate(t)},this.getFreshValueHex=function(){return this.hV}},P.lang.extend(N.asn1.DERAbstractTime,N.asn1.ASN1Object),N.asn1.DERAbstractStructured=function(t){N.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},P.lang.extend(N.asn1.DERAbstractStructured,N.asn1.ASN1Object),N.asn1.DERBoolean=function(){N.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},P.lang.extend(N.asn1.DERBoolean,N.asn1.ASN1Object),N.asn1.DERInteger=function(t){N.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=N.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){t=new m(String(t),10);this.setByBigInteger(t)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},P.lang.extend(N.asn1.DERInteger,N.asn1.ASN1Object),N.asn1.DERBitString=function(t){var e;void 0!==t&&void 0!==t.obj&&(e=N.asn1.ASN1Util.newObject(t.obj),t.hex="00"+e.getEncodedHex()),N.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;t="0"+t;this.hTLV=null,this.isModified=!0,this.hV=t+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var r=0;r<=e;r++)t+="0";for(var n="",r=0;r<t.length-1;r+=8){var i=t.substr(r,8),i=parseInt(i,2).toString(16);n+=i=1==i.length?"0"+i:i}this.hTLV=null,this.isModified=!0,this.hV="0"+e+n},this.setByBooleanArray=function(t){for(var e="",r=0;r<t.length;r++)1==t[r]?e+="1":e+="0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},P.lang.extend(N.asn1.DERBitString,N.asn1.ASN1Object),N.asn1.DEROctetString=function(t){var e;void 0!==t&&void 0!==t.obj&&(e=N.asn1.ASN1Util.newObject(t.obj),t.hex=e.getEncodedHex()),N.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},P.lang.extend(N.asn1.DEROctetString,N.asn1.DERAbstractString),N.asn1.DERNull=function(){N.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},P.lang.extend(N.asn1.DERNull,N.asn1.ASN1Object),N.asn1.DERObjectIdentifier=function(t){var a=function(t){t=t.toString(16);return t=1==t.length?"0"+t:t};N.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var e="",r=t.split("."),t=40*parseInt(r[0])+parseInt(r[1]);e+=a(t),r.splice(0,2);for(var n=0;n<r.length;n++)e+=function(t){for(var e="",r=7-(s=new m(t,10).toString(2)).length%7,n=(7==r&&(r=0),""),i=0;i<r;i++)n+="0";for(var s=n+s,i=0;i<s.length-1;i+=7){var o=s.substr(i,7);i!=s.length-7&&(o="1"+o),e+=a(parseInt(o,2))}return e}(r[n]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueName=function(t){var e=N.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},P.lang.extend(N.asn1.DERObjectIdentifier,N.asn1.ASN1Object),N.asn1.DEREnumerated=function(t){N.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=N.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){t=new m(String(t),10);this.setByBigInteger(t)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},P.lang.extend(N.asn1.DEREnumerated,N.asn1.ASN1Object),N.asn1.DERUTF8String=function(t){N.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},P.lang.extend(N.asn1.DERUTF8String,N.asn1.DERAbstractString),N.asn1.DERNumericString=function(t){N.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},P.lang.extend(N.asn1.DERNumericString,N.asn1.DERAbstractString),N.asn1.DERPrintableString=function(t){N.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},P.lang.extend(N.asn1.DERPrintableString,N.asn1.DERAbstractString),N.asn1.DERTeletexString=function(t){N.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},P.lang.extend(N.asn1.DERTeletexString,N.asn1.DERAbstractString),N.asn1.DERIA5String=function(t){N.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},P.lang.extend(N.asn1.DERIA5String,N.asn1.DERAbstractString),N.asn1.DERUTCTime=function(t){N.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},P.lang.extend(N.asn1.DERUTCTime,N.asn1.DERAbstractTime),N.asn1.DERGeneralizedTime=function(t){N.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis)&&(this.withMillis=!0)},P.lang.extend(N.asn1.DERGeneralizedTime,N.asn1.DERAbstractTime),N.asn1.DERSequence=function(t){N.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++)t+=this.asn1Array[e].getEncodedHex();return this.hV=t,this.hV}},P.lang.extend(N.asn1.DERSequence,N.asn1.DERAbstractStructured),N.asn1.DERSet=function(t){N.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var r=this.asn1Array[e];t.push(r.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},P.lang.extend(N.asn1.DERSet,N.asn1.DERAbstractStructured),N.asn1.DERTaggedObject=function(t){N.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,r){this.hT=e,this.isExplicit=t,this.asn1Object=r,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=r.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.tag&&(this.hT=t.tag),void 0!==t.explicit&&(this.isExplicit=t.explicit),void 0!==t.obj)&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object))},P.lang.extend(N.asn1.DERTaggedObject,N.asn1.ASN1Object),q(ct=$,P=lt=B),ct.prototype=null===P?Object.create(P):(dt.prototype=P.prototype,new dt),$.prototype.parseKey=function(t){try{var e=0,r=0,n=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t)?F(t):H.unarmor(t),i=z.decode(n);if(9===(i=3===i.sub.length?i.sub[2].sub[0]:i).sub.length){e=i.sub[1].getHexStringValue(),this.n=S(e,16),r=i.sub[2].getHexStringValue(),this.e=parseInt(r,16);var s=i.sub[3].getHexStringValue(),o=(this.d=S(s,16),i.sub[4].getHexStringValue()),a=(this.p=S(o,16),i.sub[5].getHexStringValue()),u=(this.q=S(a,16),i.sub[6].getHexStringValue()),h=(this.dmp1=S(u,16),i.sub[7].getHexStringValue()),l=(this.dmq1=S(h,16),i.sub[8].getHexStringValue());this.coeff=S(l,16)}else{if(2!==i.sub.length)return!1;var c=i.sub[1].sub[0],e=c.sub[0].getHexStringValue();this.n=S(e,16),r=c.sub[1].getHexStringValue(),this.e=parseInt(r,16)}return!0}catch(t){return!1}},$.prototype.getPrivateBaseKey=function(){var t={array:[new N.asn1.DERInteger({int:0}),new N.asn1.DERInteger({bigint:this.n}),new N.asn1.DERInteger({int:this.e}),new N.asn1.DERInteger({bigint:this.d}),new N.asn1.DERInteger({bigint:this.p}),new N.asn1.DERInteger({bigint:this.q}),new N.asn1.DERInteger({bigint:this.dmp1}),new N.asn1.DERInteger({bigint:this.dmq1}),new N.asn1.DERInteger({bigint:this.coeff})]};return new N.asn1.DERSequence(t).getEncodedHex()},$.prototype.getPrivateBaseKeyB64=function(){return n(this.getPrivateBaseKey())},$.prototype.getPublicBaseKey=function(){var t=new N.asn1.DERSequence({array:[new N.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new N.asn1.DERNull]}),e=new N.asn1.DERSequence({array:[new N.asn1.DERInteger({bigint:this.n}),new N.asn1.DERInteger({int:this.e})]}),e=new N.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new N.asn1.DERSequence({array:[t,e]}).getEncodedHex()},$.prototype.getPublicBaseKeyB64=function(){return n(this.getPublicBaseKey())},$.wordwrap=function(t,e){return e=e||64,t&&t.match(RegExp("(.{1,"+e+"})( +|$\n?)|(.{1,"+e+"})","g")).join("\n")},$.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+($.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},$.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+($.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},$.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},$.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},$.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},$);function dt(){this.constructor=ct}function $(t){var e=lt.call(this)||this;return t&&("string"==typeof t?e.parseKey(t):($.hasPrivateKeyProperty(t)||$.hasPublicKeyProperty(t))&&e.parsePropertiesFrom(t)),e}V.prototype.setKey=function(t){this.log&&this.key,this.key=new ft(t)},V.prototype.setPrivateKey=function(t){this.setKey(t)},V.prototype.setPublicKey=function(t){this.setKey(t)},V.prototype.decrypt=function(t){try{return this.getKey().decrypt(k(t))}catch(t){return!1}},V.prototype.encrypt=function(t){try{return n(this.getKey().encrypt(t))}catch(t){return!1}},V.prototype.sign=function(t,e,r){try{return n(this.getKey().sign(t,e,r))}catch(t){return!1}},V.prototype.verify=function(t,e,r){try{return this.getKey().verify(t,k(e),r)}catch(t){return!1}},V.prototype.getKey=function(t){if(!this.key){if(this.key=new ft,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},V.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},V.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},V.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},V.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},V.version="3.0.0-rc.1";B=V;function V(t){t=t||{},this.default_key_size=parseInt(t.default_key_size,10)||1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}window.JSEncrypt=B,C.JSEncrypt=B,C.default=B,Object.defineProperty(C,"__esModule",{value:!0})})(e)},56:function(t,e,r){r(47),r(45),t.exports=r(58)},57:function(t,e,r){var r=r(4),n=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},58:function(t,e,r){var n=r(42),i=r(80);t.exports=r(4).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return n(e.call(t))}},75:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=o(r(41)),n=o(r(12)),V=o(r(23)),C=o(r(49)),I=o(r(46)),i=o(r(43)),j=o(r(40)),L=o(r(51)),k=r(18);function o(t){return t&&t.__esModule?t:{default:t}}a=(0,i.default)(V.default.mark(function t(e,r){var n,i,s,o,a,u,h,l,c,f,d,p,g,m,v,y,b,S,w,T,D,x,E,_,O,A,M,B,R,P,N,$;return V.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n={name:e,password:r},(i=new L.default).setPublicKey("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB"),t.next=6,j.default.resetpost("/api/af-revenue/logic/getLogin",n,{resolveMsg:null,rejectMsg:null},"RSA");case 6:if("登录成功"===(s=t.sent).data.states)return n={username:e,password:r},n=i.encrypt((0,I.default)(n)),t.next=12,j.default.resetpost("/rs/user/userLogin/客服系统",n,{resolveMsg:null,rejectMsg:null});t.next=161;break;case 12:return o=t.sent,j.default.$login.f=o.data,j.default.$login.jwt=s.data.jwt,j.default.cookie.set("loginId",j.default.$login.f.id),t.prev=17,t.next=20,j.default.resetpost("/rs/search",{source:"tool.getFullTree(this.getRights().where(row.getType() == $function$))",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 20:o=t.sent,a=[],o.data[0].children[0].children.forEach(function(t){"客服系统"==t.name&&t.children.forEach(function(t){a.push(t)})}),j.default.$login.f.functions=a,t.next=29;break;case 27:t.prev=27,t.t0=t.catch(17);case 29:if("11"!==j.default.$login.f.id)return t.prev=30,t.next=33,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($区$).getChildren()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});t.next=159;break;case 33:u=t.sent,h=[],l=0;case 36:if(l<u.data.length)return t.next=39,j.default.resetpost("/rs/search",{source:"this.getChildren()",userid:u.data[l].id},{resolveMsg:null,rejectMsg:null});t.next=46;break;case 39:for(c=t.sent,f=[],d=0;d<c.data.length;d++)f.push({label:c.data[d].name,value:c.data[d].name});h.push({label:u.data[l].name,value:f});case 43:l++,t.next=36;break;case 46:j.default.$login.f.f_allArea=h,t.next=53;break;case 49:t.prev=49,t.t1=t.catch(30),j.default.$login.f.f_allArea=[];case 53:return t.prev=53,t.next=56,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($抄表员$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 56:for(p=t.sent,g=[],m=0;m<p.data.length;m++)g.push(p.data[m]);j.default.$login.f.f_gasman=g,t.next=66;break;case 62:t.prev=62,t.t2=t.catch(53),j.default.$login.f.f_gasman=[];case 66:return t.prev=66,t.next=69,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($安装员$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 69:for(v=t.sent,y=[],b=0;b<v.data.length;b++)y.push(v.data[b]);j.default.$login.f.f_installman=y,t.next=80;break;case 76:t.prev=76,t.t3=t.catch(66),j.default.$login.f.f_installman=[];case 80:return t.prev=80,t.next=83,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($换表员$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 83:for(S=t.sent,w=[],T=0;T<S.data.length;T++)w.push(S.data[T]);j.default.$login.f.f_changemeterman=w,t.next=93;break;case 89:t.prev=89,t.t4=t.catch(80),j.default.$login.f.f_changemeterman=[];case 93:return t.prev=93,t.next=96,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($票据使用人$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 96:for(D=t.sent,x=[],E=0;E<D.data.length;E++)x.push(D.data[E]);j.default.$login.f.f_paperUseman=x,t.next=106;break;case 102:t.prev=102,t.t5=t.catch(93),j.default.$login.f.f_paperUseman=[];case 106:return t.prev=106,t.next=109,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($票据分配人$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 109:for(_=t.sent,O=[],A=0;A<_.data.length;A++)O.push(_.data[A]);j.default.$login.f.f_paperAllotman=O,t.next=119;break;case 115:t.prev=115,t.t6=t.catch(106),j.default.$login.f.f_paperAllotman=[];case 119:return t.prev=119,t.next=122,j.default.resetpost("rs/search",{source:"this.getRights().where(row.getType()==$function$ && row.getPath($name$).indexOf($功能权限$) != -1)",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 122:N=t.sent,N=N.data,j.default.$login.r=[],N.forEach(function(t){return j.default.$login.r.push(t.name)}),t.next=132;break;case 128:t.prev=128,t.t7=t.catch(119),j.default.$login.r=[];case 132:B=!(M=!0),R=void 0,t.prev=135,P=(0,C.default)(j.default.$login.afterLogin);case 137:if(M=(N=P.next()).done){t.next=144;break}return $=N.value,t.next=141,$(j.default.$login.f);case 141:M=!0,t.next=137;break;case 144:t.next=150;break;case 146:t.prev=146,t.t8=t.catch(135),B=!0,R=t.t8;case 150:t.prev=150,t.prev=151,!M&&P.return&&P.return();case 153:if(t.prev=153,B)throw R;t.next=156;break;case 156:return t.finish(153);case 157:return t.finish(150);case 158:setInterval(function(){(new k.HttpResetClass).load("POST","rs/user/access/"+j.default.$login.f.id,{},{resolveMsg:null,rejectMsg:null}).then(function(t){710==t.data.status&&j.default.showMessage(t.data.msg+",您将被强制退出系统",["confirm"]).then(function(t){"confirm"===t&&location.reload()})})},12e4);case 159:t.next=163;break;case 161:throw{status:401,data:s.data.states};case 163:case"end":return t.stop()}},t,this,[[17,27],[30,49],[53,62],[66,76],[80,89],[93,102],[106,115],[119,128],[135,146,150,158],[151,,153,157]])}));var a,u,h,l=function(t,e){return a.apply(this,arguments)},c={afterLogin:[],Verification:!0,install:function(t,e){t.$login=t.prototype.$login=c},f:{},login:function(t,e){return l(t,e)},convertToIn:function(t){var e="";return t instanceof Array&&1<=t.length&&(e="(",t.forEach(function(t){e+="'"+t+"',"}),e=e.substr(0,e.length-1)+")"),e},toStandardYearMonth:function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+"-"+(e<10?"0"+e:e)},toStandardYearMonth1:function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+(e<10?"0"+e:e)},toStandardDateString:function(){var t=new Date,e=t.getMonth()+1,r=t.getDate();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(r<10?"0"+r:r)},toStartAndEndDateString:function(){var t=new Date,e=t.getMonth()+1;return[t.getFullYear()+"-"+(e<10?"0"+e:e)+"-01",t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+new Date(t.getFullYear(),e,0).getDate()]},toStandardTimeString:function(){var t=new Date,e=t.getMonth()+1,r=t.getDate(),n=t.getHours(),i=t.getMinutes(),s=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(r<10?"0"+r:r)+" "+(n<10?"0"+n:n)+":"+(i<10?"0"+i:i)+":"+(s<10?"0"+s:s)},guid:function(){function t(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e}var e=new Uint16Array(8);window.crypto.getRandomValues(e);return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])},choices:function(t,e){var r;if("view"!=t)return r=[],2<arguments.length&&void 0!==arguments[2]&&arguments[2]&&r.push({label:3<arguments.length&&void 0!==arguments[3]?arguments[3]:"请选择",value:null}),j.default.param&&j.default.param[e]?j.default.param[e].forEach(function(t){r.push({label:t.name,value:t.name})}):r.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"}),r;j.default.getParams(e,[null])},required:function(t){return!("number"==typeof t&&0==t||t&&(t+="").trim())},isInt:function(t){return!window.isNaN(t)&&t%1==0},isFloat:function(t){return!window.isNaN(t)},booleanFilter:(h=function(t){for(var e in t)t.hasOwnProperty(e)&&("object"==(0,n.default)(t[e])&&null!=t[e]?booleanFilter(t[e]):"true"!==t[e]&&"false"!=t[e]||(t[e]="true"===t[e]))},d.toString=function(){return h.toString()},d),ratifyPics:(u=function(t){for(var e in t)e.endsWith("_path")?t[e]?t[e]="rs/db/file/"+t[e]:t[e]="rs/db/file/nopic.png":null!==t[e]&&"object"==(0,n.default)(t[e])&&ratifyPics(t[e])},f.toString=function(){return u.toString()},f),loadscript:function(n,i){return new s.default(function(t,e){var r=void 0;"css"==n?((r=document.createElement("link")).setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href",i)):"js"==n&&((r=document.createElement("script")).setAttribute("type","text/javascript"),r.setAttribute("src",i)),r&&(r.setAttribute("async",""),r.setAttribute("defer",""),r.addEventListener("load",function(){t(r)},!1),r.addEventListener("error",function(){e(r)},!1),document.body.appendChild(r))})},orgName:function(t){return t.substring(10)},getNowDate:function(t){var e=new Date,r=e.getDay(),n=e.getMonth()+1,i=e.getDate(),e=e.getYear();return(200<e?e:1900+e)+"年"+n+"月"+i+"日 "+["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"][r]},addDate:function(t,e){var t=(t=new Date(t)).valueOf(),e=(t+=24*e*60*60*1e3,(t=new Date(t)).getMonth()+1),r=t.getDate(),n=t.getHours(),i=t.getMinutes(),s=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(r<10?"0"+r:r)+" "+(n<10?"0"+n:n)+":"+(i<10?"0"+i:i)+":"+(s<10?"0"+s:s)},getUrlParames:function(t){var e=window.location.search,r=t.length,t=e.indexOf(t);return-1===t?"":-1===(r=e.indexOf("&",t+=r+1))?e.substring(t):e.substring(t,r)},getUrlCompileParames:function(t){for(var e=unescape(window.location.search.slice(1,window.location.search.length)),r=String.fromCharCode(e.charCodeAt(0)-e.length),n=1;n<e.length;n++)r+=String.fromCharCode(e.charCodeAt(n)-r.charCodeAt(n-1));var i=t.length,t=r.indexOf(t);return-1===t?"":-1===(i=r.indexOf("&",t+=i+1))?r.substring(t):r.substring(t,i)},compileStr:function(t){for(var e=String.fromCharCode(t.charCodeAt(0)+t.length),r=1;r<t.length;r++)e+=String.fromCharCode(t.charCodeAt(r)+t.charCodeAt(r-1));return escape(e)},uncompileStr:function(t){t=unescape(t);for(var e=String.fromCharCode(t.charCodeAt(0)-t.length),r=1;r<t.length;r++)e+=String.fromCharCode(t.charCodeAt(r)-e.charCodeAt(r-1));return e},dateDescripte:function(t){var t=(new Date).getTime()-new Date(t).getTime(),e=864e5,r=30*e,n=12*r,i="";return t<=12e4?i="刚刚":12e4<t&&t<36e5?i=Math.floor(t/6e4)+"分钟前":36e5<t&&t<=e?i=Math.floor(t/36e5)+"小时前":e<t&&t<=r?i=Math.floor(t/e)+"天前":r<t&&t<=n?i=Math.floor(t/r)+"个月前":n<t&&(i=Math.floor(t/n)+"年前"),i},nextMonth20:function(t){var t=t.split("-"),e=+t[1]+1;return t[0]+"-"+(e<10?"0"+e:e)+"-20 00:00:00"}};function f(t){return u.apply(this,arguments)}function d(t){return h.apply(this,arguments)}e.default=c},112:function(t,e,r){t.exports={default:r(113),__esModule:!0}},113:function(t,e,r){r(115),t.exports=r(4).Object.keys},114:function(t,e,r){var i=r(50),s=r(4),o=r(52);t.exports=function(t,e){var r=(s.Object||{})[t]||Object[t],n={};n[t]=e(r),i(i.S+i.F*o(function(){r(1)}),"Object",n)}},115:function(t,e,r){var n=r(55),i=r(19);r(114)("keys",function(){return function(t){return i(n(t))}})},441:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=l(r(78)),i=l(r(112)),s=l(r(23)),o=l(r(43)),a=r(18),u=l(r(75)),h=function(t){{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}}(r(21));function l(t){return t&&t.__esModule?t:{default:t}}c=(0,o.default)(s.default.mark(function t(e){return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$MagLoadParams.loadParam();case 2:e.initParams();case 3:case"end":return t.stop()}},t,this)}));var c,f,d=function(t){return c.apply(this,arguments)};e.default={title:"上报数据明细",data:function(){return{show:!1,detail24:!1,org:[this.$login.f.orgid],orgcondition:" and m.f_orgid = "+this.$login.f.orgid,detaillist:[],meterbrands:[],prices:[],gasproperties:[],condition:"",rowdata:{},sumsmodel:{},ReportDetailListConfig:{f_userinfo_code:"客户编号",f_meternumber:"表号",f_user_name:"客户姓名",f_user_phone:"客户电话",f_address:"客户地址",f_hand_date:"上报日期",f_meter_brand:"气表品牌",f_readdata1:"上传协议版本号",f_readdata2:"通信信号值",f_readdata3:"铭牌号",f_readdata4:"通信模式",f_readdata5:"IC卡编号",f_readdata6:"购气次数",f_readdata7:"剩余金额/量",f_readdata8:"总累计用气量",f_readdata9:"总累计用气金额",f_readdata10:"总累计购气金额/量",f_readdata11:"计费周期累计用气量",f_readdata12:"当前透支金额/量",f_readdata13:"阀门状态",f_readdata14:"主电电压",f_readdata15:"备电电压",f_readdata16:"软件版本",f_readdata17:"硬件版本",f_readdata18:"当前rtc时钟"},orgid:[this.$login.f.orgid],criteriaShow:!1,orgCondtionStr:"",model:new a.PagedList("api/af-revenue/sql/manage_getReportDetail",50,{startDate:"this.model.f_start_date",endDate:"this.model.f_end_date"})}},ready:function(){var e=this;d(this).then(function(){e.$emit("ready")}).catch(function(t){e.$emit("error",t)}),this.$refs.paged.$refs.criteria.model.f_start_date=h.addDate(new Date,-1).substring(0,10)+" 00:00:00",this.$refs.paged.$refs.criteria.model.f_end_date=h.addDate(new Date,-1).substring(0,10)+" 23:59:59"},methods:{initParams:function(){var r=[];this.$MagGetSaleParam.getGasbrand().forEach(function(t){var e={};"物联网表"===t.value.f_meter_type&&(e.label=t.label,e.value=t.value.f_meter_brand,r.push(e))}),this.meterbrands=[{label:"全部",value:""}].concat(r),this.prices=this.$MagGetSaleParam.getPrices()},updateParams:(f=(0,o.default)(s.default.mark(function t(){return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$MagLoadParams.loadParam(this.f_filialeid);case 2:this.initParams();case 3:case"end":return t.stop()}},t,this)})),function(){return f.apply(this,arguments)}),getorg:function(t){null!==u.default.convertToIn(t)&&""!==u.default.convertToIn(t)?this.orgcondition=" and m.f_orgid in "+u.default.convertToIn(t):this.orgcondition=" and m.f_orgid = "+this.$login.f.orgid},userTypeChange:function(){this.gasproperties=[],null!==this.$refs.paged.$refs.criteria.model?(this.$refs.paged.$refs.criteria.model.f_gasproperties="",this.gasproperties=this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])):this.gasproperties=[{label:"全部",value:""}]},hidden:function(){this.criteriaShow=!this.criteriaShow},cancel:function(){this.show=!1},clearmsg:function(){var e=this;(0,i.default)(this.$refs.paged.$refs.criteria.model).forEach(function(t){e.$refs.paged.$refs.criteria.model[t]=[]})},getRes:function(t){this.orgCondtionStr=condition,this.orgname=t.orgnames[0],this.depname=t.depnames[0]},showmsg:function(t){this.rowdata=t,this.show=!0},search:function(t){t.condition=""+t.condition+this.orgcondition,this.condition=t.condition,this.model.search(t.condition,t.model)}},watch:{orgCondtionStr:function(t){t=t.match(/'(.*?)'/);t&&(this.f_filialeid=t[1])}},computed:{getPricenames:function(){this.$refs.paged.$refs.criteria.model.f_user_type,this.$refs.paged.$refs.criteria.model.f_gasproperties;var t,r,e=this.$refs.paged.$refs.criteria.model.pricetype;if(null!==this.$refs.paged.$refs.criteria.model)return t=[],r=[],0<e.length&&(e={f_price_type:e[0],filter:this.org[0],prices:this.prices},this.$MagGetSaleParam.getPrice(e).forEach(function(t){var e={};e.label=t.label,e.value=t.value.f_price_name,r.push(e)}),t=[{label:"全部",value:""}].concat(r)),0===t.length&&(this.$refs.paged.$refs.criteria.model.f_price_name=""),t},getfield:function(){return this.ReportDetailListConfig},usertypes:function(){return[{label:" 全部 ",value:""}].concat((0,n.default)(this.$appdata.getParam("用户类型")))},pricetypes:function(){return[{label:"全部",value:""}].concat((0,n.default)(this.$appdata.getParam("气价类型")))},getCondition:function(){var t="",t=(this.orgCondtionStr,this.$refs.paged.$refs.criteria.condition+" "+this.orgcondition);return{startDate:this.$refs.paged.$refs.criteria.model.f_start_date,endDate:this.$refs.paged.$refs.criteria.model.f_end_date,condition:t}}}}},508:function(t,e,r){(t.exports=r(13)()).push([t.id,"\n.mystyle{\n margin-left:80px;\n}\n.datapanel {\n color: #333;\n background-color: white;\n box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;\n padding: 10px 10px 10px 10px;\n border-radius:15px;\n}\n",""])},810:function(t,e,r){var n=r(508);"string"==typeof n&&(n=[[t.id,n,""]]),r(14)(n,{});n.locals&&(t.exports=n.locals)},856:function(t,e){t.exports='\n<div id="unit" class="flex-row">\n <div class="basic-main">\n <div class="flex" v-if="!show">\n <criteria-paged :model="model" v-ref:paged>\n <criteria partial=\'criteria\' v-ref:criteria @condition-changed=\'$parent.search\'>\n <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>\n <div class="row" >\n <div class="col-sm-2">\n <label class="font_normal_body">组织机构</label>\n <res-select :initresid="$parent.$parent.org"\n style="width:60%"\n @res-select="$parent.$parent.getorg"\n :is-mul=false\n restype=\'organization\'>\n </res-select>\n </div>\n <div class="col-sm-2">\n <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>\n <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder=\'表钢号\'\n condition="m.f_meternumber = \'{}\'" v-next-el=\'meternumber\' v-el:meternumber\n >\n </div>\n <div class="col-sm-2">\n <label class="font_normal_body">客户编号</label>\n <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder=\'客户编号\'\n condition="ui.f_userinfo_code = \'{}\'" v-next-el=\'f_userinfo_code\' v-el:meternumber\n >\n </div>\n <div class="col-sm-2">\n <label class="font_normal_body">客户名称</label>\n <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder=\'客户名称\'\n condition="ui.f_user_name like \'%{}%\'" v-next-el=\'userid\' v-el:username>\n </div>\n\n <div class="span" style="float:right;margin-top:10px">\n <button class="button_search button_spacing" @click="search()">查询</button>\n <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>\n <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"\n :field="$parent.$parent.getfield"\n sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="manage_getReportDetail" template-name=\'上报数据明细\'\n :choose-col="true"></export-excel>\n <div style="float: right" class="button_spacing" :class="{\'button_shrink_top\':$parent.$parent.criteriaShow,\'button_shrink_bottom\':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>\n </div>\n </div>\n <div class="row" v-show="$parent.$parent.criteriaShow">\n <div class="col-sm-2">\n <label class="font_normal_body">客户地址</label>\n <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder=\'客户地址\'\n condition="ua.f_address like \'%{}%\'" v-next-el=\'userid\' v-el:username>\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">客户类型</label>\n <v-select :value.sync="model.f_user_type"\n @change="$parent.$parent.userTypeChange()"\n :options=\'$parent.$parent.usertypes\' placeholder=\'请选择\' v-model="model.f_user_type"\n condition="uf.f_user_type = \'{}\'"\n close-on-select></v-select>\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">用气性质</label>\n <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"\n :options=\'$parent.$parent.gasproperties\' placeholder=\'请选择\'\n condition="uf.f_gasproperties = \'{}\'"\n closfe-on-select></v-select>\n </div>\n\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">气表品牌</label>\n <v-select :value.sync="model.f_meter_brand"\n v-model="model.f_meter_brand"\n :options="$parent.$parent.meterbrands"\n condition="br.f_meter_brand = \'{}\'"\n close-on-select></v-select>\n </div>\n <div class="col-sm-2 form-group" >\n <label class="font_normal_body" >开始时间</label>\n <datepicker style="width: 60%" placeholder="大于等于"\n :value.sync="model.f_start_date"\n v-model="model.f_start_date"\n :format="\'yyyy-MM-dd HH:mm:ss\'"\n condition="m.f_hand_date >= \'{}\'"\n ></datepicker>\n </div>\n <div class="col-sm-2 form-group" >\n <label class="font_normal_body">结束时间</label>\n <datepicker style="width: 60%" placeholder="小于等于"\n :value.sync="model.f_end_date"\n v-model="model.f_end_date"\n :format="\'yyyy-MM-dd HH:mm:ss\'"\n condition="m.f_hand_date <= \'{}\'"\n ></datepicker>\n </div>\n </div>\n </div>\n </criteria>\n <data-grid :model="model" partial=\'list\' v-ref:grid class="list_area table_sy">\n <template partial=\'head\'>\n <tr>\n <th style="text-align: left;" v-for="(key,value) in $parent.$parent.$parent.ReportDetailListConfig"><nobr>{{value}}</nobr></th>\n </tr>\n </template>\n <template partial=\'body\' partial=\'list\'>\n <tr >\n <td style="text-align: left;" v-for="(key,value) in $parent.$parent.$parent.ReportDetailListConfig"><nobr>{{row[key]}}</nobr></td>\n </tr>\n </template>\n <template partial=\'foot\'></template>\n </data-grid>\n </criteria-paged>\n <table class="table-hover">\n </table>\n </div>\n </div>\n\n</div>\n'},913:function(t,e,r){var n;r(810),(n=r(441))&&n.__esModule&&Object.keys(n).length,r=r(856),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports.default),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)}});
@@ -1 +0,0 @@
1
- webpackJsonp([29],{5:function(t,e){e.f={}.propertyIsEnumerable},6:function(t,e,n){var r=n(20),i=n(4),o=n(27),s=n(7),a=n(24).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=!o&&r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},7:function(t,e,n){e.f=n(22)},9:function(t,e,n){var r=n(73),i=n(64).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},10:function(t,e){e.f=Object.getOwnPropertySymbols},12:function(t,e,n){"use strict";e.__esModule=!0;var r=s(n(31)),i=s(n(30)),o="function"==typeof i.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":typeof t};function s(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof i.default&&"symbol"===o(r.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":void 0===t?"undefined":o(t)}},13:function(t,e){t.exports=function(){var s=[];return s.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},s.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<t.length;r++){var o=t[r];"number"==typeof o[0]&&n[o[0]]||(e&&!o[2]?o[2]=e:e&&(o[2]="("+o[2]+") and ("+e+")"),s.push(o))}},s}},14:function(t,e,n){function r(t){var e;return function(){return e=void 0===e?t.apply(this,arguments):e}}var u={},i=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),o=r(function(){return document.head||document.getElementsByTagName("head")[0]}),s=null,a=0,h=[];function l(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=u[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(d(r.parts[o],e))}else{for(var s=[],o=0;o<r.parts.length;o++)s.push(d(r.parts[o],e));u[r.id]={id:r.id,refs:1,parts:s}}}}function c(t){for(var e=[],n={},r=0;r<t.length;r++){var i=t[r],o=i[0],i={css:i[1],media:i[2],sourceMap:i[3]};n[o]?n[o].parts.push(i):e.push(n[o]={id:o,parts:[i]})}return e}function f(t){var e=document.createElement("style"),n=(e.type="text/css",e),r=o(),i=h[h.length-1];if("top"===t.insertAt)i?i.nextSibling?r.insertBefore(n,i.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),h.push(n);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return e}function d(e,t){var n,r,i,o;return o=t.singleton?(n=a++,r=s=s||f(t),i=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=f(t),i=function(t,e){var n=e.css,r=e.media,e=e.sourceMap;r&&t.setAttribute("media",r);e&&(n=(n+="\n/*# sourceURL="+e.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */");if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var t;(t=r).parentNode.removeChild(t),0<=(t=h.indexOf(t))&&h.splice(t,1)}),i(e),function(t){t?t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap||i(e=t):o()}}t.exports=function(t,s){void 0===(s=s||{}).singleton&&(s.singleton=i()),void 0===s.insertAt&&(s.insertAt="bottom");var a=c(t);return l(a,s),function(t){for(var e=[],n=0;n<a.length;n++){var r=a[n];(i=u[r.id]).refs--,e.push(i)}t&&l(c(t),s);for(var i,n=0;n<e.length;n++)if(0===(i=e[n]).refs){for(var o=0;o<i.parts.length;o++)i.parts[o]();delete u[i.id]}}};p=[];var p,g=function(t,e){return p[t]=e,p.filter(Boolean).join("\n")};function m(t,e,n,r){var n=n?"":r.css;t.styleSheet?t.styleSheet.cssText=g(e,n):(r=document.createTextNode(n),(n=t.childNodes)[e]&&t.removeChild(n[e]),n.length?t.insertBefore(r,n[e]):t.appendChild(r))}},21:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.f=void 0;var o=i(n(41)),r=i(n(12));e.getAttendanceState=function(t,e,n){{var r,i;t.f_state="",t.f_signin_time&&t.f_knockoff_time?(r=t.f_signin_time.substring(11,16),i=t.f_knockoff_time.substring(11,16),e<r&&(t.f_state="迟到"),i<n&&(t.f_state=t.f_state+"早退")):t.f_state="缺勤"}t.f_state||(t.f_state="正常")},e.toStandardYearMonth=function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+"-"+(e<10?"0"+e:e)},e.toStandardYearMonth1=function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+(e<10?"0"+e:e)},e.toStandardDateString=function(){var t=new Date,e=t.getMonth()+1,n=t.getDate();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)},e.toStartAndEndDateString=function(){var t=new Date,e=t.getMonth()+1;return[t.getFullYear()+"-"+(e<10?"0"+e:e)+"-01",t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+new Date(t.getFullYear(),e,0).getDate()]},e.toStandardTimeString=function(){var t=new Date,e=t.getMonth()+1,n=t.getDate(),r=t.getHours(),i=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+" "+(r<10?"0"+r:r)+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},e.to3339TimeString=function(){var t=new Date,e=t.getMonth()+1,n=t.getDate(),r=t.getHours(),i=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+"T"+(r<10?"0"+r:r)+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},e.parse3339String=function(t){return new Date(t.substr(0,4),t.substr(5,2)-1,t.substr(8,2),t.substr(11,2),t.substr(14,2),t.substr(17,2))},e.format3339TimeString=function(t){var e=t.getMonth()+1,n=t.getDate(),r=t.getHours(),i=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+"T"+(r<10?"0"+r:r)+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},e.guid=function(){function t(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e}var e=new Uint16Array(8);window.crypto.getRandomValues(e);return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])},e.choices=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"请选择";{var i;if("view"!=t)return i=[],n&&i.push({label:r,value:null}),s.default.param&&s.default.param[e]?s.default.param[e].forEach(function(t){i.push({label:t.name,value:t.name})}):i.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"}),i;s.default.getParams(e,[null])}},e.required=function(t){return!("number"==typeof t&&0==t||(t=t&&(t+="").trim()))},e.isInt=function(t){return!window.isNaN(t)&&t%1==0},e.isFloat=function(t){return!window.isNaN(t)},e.booleanFilter=function t(e){for(var n in e)e.hasOwnProperty(n)&&("object"==(0,r.default)(e[n])&&null!=e[n]?t(e[n]):"true"!==e[n]&&"false"!=e[n]||(e[n]="true"===e[n]))},e.ratifyPics=function t(e){for(var n in e)n.endsWith("_path")?e[n]?e[n]="rs/db/file/"+e[n]:e[n]="rs/db/file/nopic.png":null!==e[n]&&"object"==(0,r.default)(e[n])&&t(e[n])},e.loadscript=function(r,i){return new o.default(function(t,e){var n=void 0;"css"==r?((n=document.createElement("link")).setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("href",i)):"js"==r&&((n=document.createElement("script")).setAttribute("type","text/javascript"),n.setAttribute("src",i)),n&&(n.setAttribute("async",""),n.setAttribute("defer",""),n.addEventListener("load",function(){t(n)},!1),n.addEventListener("error",function(){e(n)},!1),document.body.appendChild(n))})},e.orgName=function(t){return t.substring(10)},e.getNowDate=function(t){var e="",n=new Date,r=(e=n.getDay(),n.getMonth()+1),i=n.getDate(),n=n.getYear();return(200<n?n:1900+n)+"年"+r+"月"+i+"日 "+["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"][e]},e.addDate=function(t,e){var t=new Date(t),e=(t=(t=t.valueOf())+24*e*60*60*1e3,(t=new Date(t)).getMonth()+1),n=t.getDate(),r=t.getHours(),i=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+" "+(r<10?"0"+r:r)+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},e.getUrlParames=function(t){var e=window.location.search,n=t.length,t=e.indexOf(t);if(-1===t)return"";t+=n+1;n=e.indexOf("&",t);return-1!==n?e.substring(t,n):e.substring(t)},e.getUrlCompileParames=function(t){var e=a(window.location.search.slice(1,window.location.search.length)),n=t.length,t=e.indexOf(t);if(-1===t)return"";t+=n+1;n=e.indexOf("&",t);return-1!==n?e.substring(t,n):e.substring(t)},e.compileStr=function(t){for(var e=String.fromCharCode(t.charCodeAt(0)+t.length),n=1;n<t.length;n++)e+=String.fromCharCode(t.charCodeAt(n)+t.charCodeAt(n-1));return escape(e)},e.uncompileStr=a,e.dateDescripte=function(t){var e=(new Date).getTime(),t=new Date(t).getTime(),e=e-t,t=864e5,n=30*t,r=12*n,i="";e<=12e4?i="刚刚":12e4<e&&e<36e5?i=Math.floor(e/6e4)+"分钟前":36e5<e&&e<=t?i=Math.floor(e/36e5)+"小时前":t<e&&e<=n?i=Math.floor(e/t)+"天前":n<e&&e<=r?i=Math.floor(e/n)+"个月前":r<e&&(i=Math.floor(e/r)+"年前");return i},e.nextMonth20=function(t){var t=t.split("-"),e=+t[1]+1;return t[0]+"-"+(e<10?"0"+e:e)+"-20 00:00:00"},e.dateSwitch=function(t,e,n){e=new Date(e).getTime()+n;return this.dateFormat(t,new Date(e))},e.dateFormat=function(t,e){var n,r=void 0,i={"y+":e.getFullYear().toString(),"M+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"h+":e.getHours().toString(),"m+":e.getMinutes().toString(),"s+":e.getSeconds().toString()};for(n in i)(r=new RegExp("("+n+")").exec(t))&&(t=t.replace(r[1],1==r[1].length?i[n]:i[n].padStart(r[1].length,"0")));return t};var s=i(n(40));function i(t){return t&&t.__esModule?t:{default:t}}e.f=void 0;function a(t){t=unescape(t);for(var e=String.fromCharCode(t.charCodeAt(0)-t.length),n=1;n<t.length;n++)e+=String.fromCharCode(t.charCodeAt(n)-e.charCodeAt(n-1));return e}},30:function(t,e,n){t.exports={default:n(32),__esModule:!0}},31:function(t,e,n){t.exports={default:n(33),__esModule:!0}},32:function(t,e,n){n(37),n(68),n(38),n(39),t.exports=n(4).Symbol},33:function(t,e,n){n(45),n(47),t.exports=n(7).f("iterator")},34:function(t,e,n){var a=n(19),u=n(10),h=n(5);t.exports=function(t){var e=a(t),n=u.f;if(n)for(var r,i=n(t),o=h.f,s=0;i.length>s;)o.call(t,r=i[s++])&&e.push(r);return e}},35:function(t,e,n){var r=n(5),i=n(28),o=n(8),s=n(29),a=n(26),u=n(71),h=Object.getOwnPropertyDescriptor;e.f=n(25)?h:function(t,e){if(t=o(t),e=s(e,!0),u)try{return h(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},36:function(t,e,n){var r=n(8),i=n(9).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){if(!s||"[object Window]"!=o.call(t))return i(r(t));try{return i(t)}catch(t){return s.slice()}}},37:function(V,I,t){"use strict";function r(t){var e=O[t]=b(_[E]);return e._k=t,e}function n(t,e){g(t);for(var n,r=q(e=m(e)),i=0,o=r.length;i<o;)C(t,n=r[i++],e[n]);return t}function e(t){var e=tt.call(this,t=v(t,!0));return!(this===B&&u(O,t)&&!u(M,t))&&(!(e||!u(this,t)||!u(O,t)||u(this,D)&&this[D][t])||e)}function i(t,e){var n;if(t=m(t),e=v(e,!0),t!==B||!u(O,e)||u(M,e))return!(n=J(t,e))||!u(O,e)||u(t,D)&&t[D][e]||(n.enumerable=!0),n}function o(t){for(var e,n=W(m(t)),r=[],i=0;n.length>i;)u(O,e=n[i++])||e==D||e==F||r.push(e);return r}function s(t){for(var e,n=t===B,r=W(n?M:m(t)),i=[],o=0;r.length>o;)!u(O,e=r[o++])||n&&!u(B,e)||i.push(O[e]);return i}var a=t(20),u=t(26),h=t(25),l=t(50),j=t(74),F=t(65).KEY,c=t(52),f=t(67),d=t(62),L=t(63),p=t(22),H=t(7),k=t(6),q=t(34),U=t(72),g=t(42),K=t(59),z=t(55),m=t(8),v=t(29),y=t(28),b=t(66),Y=t(36),G=t(35),w=t(10),Z=t(24),Q=t(19),J=G.f,S=Z.f,W=Y.f,_=a.Symbol,x=a.JSON,T=x&&x.stringify,E="prototype",D=p("_hidden"),X=p("toPrimitive"),tt={}.propertyIsEnumerable,A=f("symbol-registry"),O=f("symbols"),M=f("op-symbols"),B=Object[E],f="function"==typeof _&&!!w.f,$=a.QObject,N=!$||!$[E]||!$[E].findChild,R=h&&c(function(){return 7!=b(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=J(B,e);r&&delete B[e],S(t,e,n),r&&t!==B&&S(B,e,r)}:S,P=f&&"symbol"==typeof _.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof _},C=function(t,e,n){return t===B&&C(M,e,n),g(t),e=v(e,!0),g(n),(u(O,e)?(n.enumerable?(u(t,D)&&t[D][e]&&(t[D][e]=!1),n=b(n,{enumerable:y(0,!1)})):(u(t,D)||S(t,D,y(1,{})),t[D][e]=!0),R):S)(t,e,n)};f||(j((_=function(){if(this instanceof _)throw TypeError("Symbol is not a constructor!");var e=L(0<arguments.length?arguments[0]:void 0),n=function(t){this===B&&n.call(M,t),u(this,D)&&u(this[D],e)&&(this[D][e]=!1),R(this,e,y(1,t))};return h&&N&&R(B,e,{configurable:!0,set:n}),r(e)})[E],"toString",function(){return this._k}),G.f=i,Z.f=C,t(9).f=Y.f=o,t(5).f=e,w.f=s,h&&!t(27)&&j(B,"propertyIsEnumerable",e,!0),H.f=function(t){return r(p(t))}),l(l.G+l.W+l.F*!f,{Symbol:_});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=Q(p.store),it=0;rt.length>it;)k(rt[it++]);l(l.S+l.F*!f,"Symbol",{for:function(t){return u(A,t+="")?A[t]:A[t]=_(t)},keyFor:function(t){if(!P(t))throw TypeError(t+" is not a symbol!");for(var e in A)if(A[e]===t)return e},useSetter:function(){N=!0},useSimple:function(){N=!1}}),l(l.S+l.F*!f,"Object",{create:function(t,e){return void 0===e?b(t):n(b(t),e)},defineProperty:C,defineProperties:n,getOwnPropertyDescriptor:i,getOwnPropertyNames:o,getOwnPropertySymbols:s});$=c(function(){w.f(1)});l(l.S+l.F*$,"Object",{getOwnPropertySymbols:function(t){return w.f(z(t))}}),x&&l(l.S+l.F*(!f||c(function(){var t=_();return"[null]"!=T([t])||"{}"!=T({a:t})||"{}"!=T(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;i<arguments.length;)r.push(arguments[i++]);if(n=e=r[1],(K(e)||void 0!==t)&&!P(t))return U(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!P(e))return e}),r[1]=e,T.apply(x,r)}}),_[E][X]||t(60)(_[E],X,_[E].valueOf),d(_,"Symbol"),d(Math,"Math",!0),d(a.JSON,"JSON",!0)},38:function(t,e,n){n(6)("asyncIterator")},39:function(t,e,n){n(6)("observable")},46:function(t,e,n){t.exports={default:n(57),__esModule:!0}},49:function(t,e,n){t.exports={default:n(56),__esModule:!0}},51:function(t,e,n){(function(V){"use strict";function u(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function I(t,e){return t&e}function a(t,e){return t|e}function j(t,e){return t^e}function F(t,e){return t&~e}var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function r(t){for(var e,n="",r=0;r+3<=t.length;r+=3)e=parseInt(t.substring(r,r+3),16),n+=s.charAt(e>>6)+s.charAt(63&e);for(r+1==t.length?(e=parseInt(t.substring(r,r+1),16),n+=s.charAt(e<<2)):r+2==t.length&&(e=parseInt(t.substring(r,r+2),16),n+=s.charAt(e>>2)+s.charAt((3&e)<<4));0<(3&n.length);)n+="=";return n}function L(t){for(var e="",n=0,r=0,i=0;i<t.length&&"="!=t.charAt(i);++i){var o=s.indexOf(t.charAt(i));o<0||(n=0==n?(e+=u(o>>2),r=3&o,1):1==n?(e+=u(r<<2|o>>4),r=15&o,2):2==n?(e=(e+=u(r))+u(o>>2),r=3&o,3):(e=(e+=u(r<<2|o>>4))+u(15&o),0))}return 1==n&&(e+=u(r<<2)),e}var h,H=function(t,e){return(H=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var l,k=function(t){if(void 0===h){var e="0123456789ABCDEF",n=" \f\n\r\t \u2028\u2029";for(h={},s=0;s<16;++s)h[e.charAt(s)]=s;for(e=e.toLowerCase(),s=10;s<16;++s)h[e.charAt(s)]=s;for(s=0;s<n.length;++s)h[n.charAt(s)]=-1}for(var r=[],i=0,o=0,s=0;s<t.length;++s){var a=t.charAt(s);if("="==a)break;if(-1!=(a=h[a])){if(void 0===a)throw new Error("Illegal character at offset "+s);i|=a,2<=++o?(r[r.length]=i,o=i=0):i<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return r},q={decode:function(t){if(void 0===l){var e="= \f\n\r\t \u2028\u2029";for(l=Object.create(null),o=0;o<64;++o)l["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(o)]=o;for(o=0;o<e.length;++o)l[e.charAt(o)]=-1}for(var n=[],r=0,i=0,o=0;o<t.length;++o){var s=t.charAt(o);if("="==s)break;if(-1!=(s=l[s])){if(void 0===s)throw new Error("Illegal character at offset "+o);r|=s,4<=++i?(n[n.length]=r>>16,n[n.length]=r>>8&255,n[n.length]=255&r,i=r=0):r<<=6}}switch(i){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:n[n.length]=r>>10;break;case 3:n[n.length]=r>>16,n[n.length]=r>>8&255}return n},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=q.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return q.decode(t)}},c=1e13,f=(t.prototype.mulAdd=function(t,e){for(var n,r=this.buf,i=r.length,o=0;o<i;++o)(n=r[o]*t+e)<c?e=0:n-=(e=0|n/c)*c,r[o]=n;0<e&&(r[o]=e)},t.prototype.sub=function(t){for(var e,n=this.buf,r=n.length,i=0;i<r;++i)t=(e=n[i]-t)<0?(e+=c,1):0,n[i]=e;for(;0===n[n.length-1];)n.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,n=e[e.length-1].toString(),r=e.length-2;0<=r;--r)n+=(c+e[r]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var t=this.buf,e=0,n=t.length-1;0<=n;--n)e=e*c+t[n];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t);function t(t){this.buf=[+t||0]}var U=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,K=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function d(t,e){return t=t.length>e?t.substring(0,e)+"…":t}n.prototype.get=function(t){if((t=void 0===t?this.pos++:t)>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},n.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},n.prototype.hexDump=function(t,e,n){for(var r="",i=t;i<e;++i)if(r+=this.hexByte(this.get(i)),!0!==n)switch(15&i){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},n.prototype.isASCII=function(t,e){for(var n=t;n<e;++n){var r=this.get(n);if(r<32||176<r)return!1}return!0},n.prototype.parseStringISO=function(t,e){for(var n="",r=t;r<e;++r)n+=String.fromCharCode(this.get(r));return n},n.prototype.parseStringUTF=function(t,e){for(var n="",r=t;r<e;){var i=this.get(r++);n+=i<128?String.fromCharCode(i):191<i&&i<224?String.fromCharCode((31&i)<<6|63&this.get(r++)):String.fromCharCode((15&i)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},n.prototype.parseStringBMP=function(t,e){for(var n,r,i="",o=t;o<e;)n=this.get(o++),r=this.get(o++),i+=String.fromCharCode(n<<8|r);return i},n.prototype.parseTime=function(t,e,n){t=this.parseStringISO(t,e),e=(n?U:K).exec(t);return e?(n&&(e[1]=+e[1],e[1]+=+e[1]<70?2e3:1900),t=e[1]+"-"+e[2]+"-"+e[3]+" "+e[4],e[5]&&(t+=":"+e[5],e[6])&&(t+=":"+e[6],e[7])&&(t+="."+e[7]),e[8]&&(t+=" UTC","Z"!=e[8])&&(t+=e[8],e[9])&&(t+=":"+e[9]),t):"Unrecognized time: "+t},n.prototype.parseInteger=function(t,e){for(var n,r=this.get(t),i=127<r,o=i?255:0,s="";r==o&&++t<e;)r=this.get(t);if(0===(n=e-t))return i?-1:0;if(4<n){for(s=r,n<<=3;0==(128&(+s^o));)s=+s<<1,--n;s="("+n+" bit)\n"}i&&(r-=256);for(var a=new f(r),u=t+1;u<e;++u)a.mulAdd(256,this.get(u));return s+a.toString()},n.prototype.parseBitString=function(t,e,n){for(var r=this.get(t),i="("+((e-t-1<<3)-r)+" bit)\n",o="",s=t+1;s<e;++s){for(var a=this.get(s),u=s==e-1?r:0,h=7;u<=h;--h)o+=a>>h&1?"1":"0";if(o.length>n)return i+d(o,n)}return i+o},n.prototype.parseOctetString=function(t,e,n){if(this.isASCII(t,e))return d(this.parseStringISO(t,e),n);var r=e-t,i="("+r+" byte)\n";(n/=2)<r&&(e=t+n);for(var o=t;o<e;++o)i+=this.hexByte(this.get(o));return n<r&&(i+="…"),i},n.prototype.parseOID=function(t,e,n){for(var r="",i=new f,o=0,s=t;s<e;++s){var a=this.get(s);if(i.mulAdd(128,127&a),o+=7,!(128&a)){if(""===r?r=(i=i.simplify())instanceof f?(i.sub(80),"2."+i.toString()):(a=i<80?i<40?0:1:2)+"."+(i-40*a):r+="."+i.toString(),r.length>n)return d(r,n);i=new f,o=0}}return 0<o&&(r+=".incomplete"),r};var z=n;function n(t,e){this.hexDigits="0123456789ABCDEF",t instanceof n?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=e)}p.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},p.prototype.content=function(t){if(void 0!==this.tag){void 0===t&&(t=1/0);var e=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+n,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);case 6:return this.stream.parseOID(e,e+n,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return d(this.stream.parseStringUTF(e,e+n),t);case 18:case 19:case 20:case 21:case 22:case 26:return d(this.stream.parseStringISO(e,e+n),t);case 30:return d(this.stream.parseStringBMP(e,e+n),t);case 23:case 24:return this.stream.parseTime(e,e+n,23==this.tag.tagNumber)}}return null},p.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},p.prototype.toPrettyString=function(t){var e=(t=void 0===t?"":t)+this.typeName()+" @"+this.stream.pos;if(0<=this.length&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var n=0,r=this.sub.length;n<r;++n)e+=this.sub[n].toPrettyString(t)}return e},p.prototype.posStart=function(){return this.stream.pos},p.prototype.posContent=function(){return this.stream.pos+this.header},p.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},p.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},p.decodeLength=function(t){var e=127&(n=t.get());if(e==n)return e;if(6<e)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0==e)return null;for(var n=0,r=0;r<e;++r)n=256*n+t.get();return n},p.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,n=2*this.length;return t.substr(e,n)},p.decode=function(t){function e(){var t=[];if(null!==i){for(var e=o+i;r.pos<e;)t[t.length]=p.decode(r);if(r.pos!=e)throw new Error("Content size is not correct for container starting at offset "+o)}else try{for(;;){var n=p.decode(r);if(n.tag.isEOC())break;t[t.length]=n}i=o-r.pos}catch(t){throw new Error("Exception while decoding undefined length content: "+t)}return t}var r=t instanceof z?t:new z(t,0),t=new z(r),n=new G(r),i=p.decodeLength(r),o=r.pos,s=o-t.pos,a=null;if(n.tagConstructed)a=e();else if(n.isUniversal()&&(3==n.tagNumber||4==n.tagNumber))try{if(3==n.tagNumber&&0!=r.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");for(var a=e(),u=0;u<a.length;++u)if(a[u].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(t){a=null}if(null===a){if(null===i)throw new Error("We can't skip over an invalid tag with undefined length at offset "+o);r.pos=o+Math.abs(i)}return new p(t,s,i,n,a)};var Y=p;function p(t,e,n,r,i){if(!(r instanceof G))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=n,this.tag=r,this.sub=i}Z.prototype.isUniversal=function(){return 0===this.tagClass},Z.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber};var G=Z;function Z(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){for(var n=new f;e=t.get(),n.mulAdd(128,127&e),128&e;);this.tagNumber=n.simplify()}}var g=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Q=(1<<26)/g[g.length-1],m=(v.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var n,r=(1<<e)-1,i=!1,o="",s=this.t,a=this.DB-s*this.DB%e;if(0<s--)for(a<this.DB&&0<(n=this[s]>>a)&&(i=!0,o=u(n));0<=s;)a<e?(n=(this[s]&(1<<a)-1)<<e-a,n|=this[--s]>>(a+=this.DB-e)):(n=this[s]>>(a-=e)&r,a<=0&&(a+=this.DB,--s)),(i=0<n?!0:i)&&(o+=u(n));return i?o:"0"},v.prototype.negate=function(){var t=b();return v.ZERO.subTo(this,t),t},v.prototype.abs=function(){return this.s<0?this.negate():this},v.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return this.s<0?-e:e;for(;0<=--n;)if(0!=(e=this[n]-t[n]))return e;return 0},v.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+E(this[this.t-1]^this.s&this.DM)},v.prototype.mod=function(t){var e=b();return this.abs().divRemTo(t,null,e),this.s<0&&0<e.compareTo(v.ZERO)&&t.subTo(e,e),e},v.prototype.modPowInt=function(t,e){e=new(t<256||e.isEven()?W:X)(e);return this.exp(t,e)},v.prototype.clone=function(){var t=b();return this.copyTo(t),t},v.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},v.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},v.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},v.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},v.prototype.toByteArray=function(){var t,e=this.t,n=[],r=(n[0]=this.s,this.DB-e*this.DB%8),i=0;if(0<e--)for(r<this.DB&&(t=this[e]>>r)!=(this.s&this.DM)>>r&&(n[i++]=t|this.s<<this.DB-r);0<=e;)r<8?(t=(this[e]&(1<<r)-1)<<8-r,t|=this[--e]>>(r+=this.DB-8)):(t=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&t)&&(t|=-256),0==i&&(128&this.s)!=(128&t)&&++i,(0<i||t!=this.s)&&(n[i++]=t);return n},v.prototype.equals=function(t){return 0==this.compareTo(t)},v.prototype.min=function(t){return this.compareTo(t)<0?this:t},v.prototype.max=function(t){return 0<this.compareTo(t)?this:t},v.prototype.and=function(t){var e=b();return this.bitwiseTo(t,I,e),e},v.prototype.or=function(t){var e=b();return this.bitwiseTo(t,a,e),e},v.prototype.xor=function(t){var e=b();return this.bitwiseTo(t,j,e),e},v.prototype.andNot=function(t){var e=b();return this.bitwiseTo(t,F,e),e},v.prototype.not=function(){for(var t=b(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},v.prototype.shiftLeft=function(t){var e=b();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},v.prototype.shiftRight=function(t){var e=b();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},v.prototype.getLowestSetBit=function(){for(var t,e,n=0;n<this.t;++n)if(0!=this[n])return n*this.DB+(t=this[n],e=void 0,0==t?-1:((e=0)==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e));return this.s<0?this.t*this.DB:-1},v.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,n=0;n<this.t;++n)t+=function(t){for(var e=0;0!=t;)t&=t-1,++e;return e}(this[n]^e);return t},v.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},v.prototype.setBit=function(t){return this.changeBit(t,a)},v.prototype.clearBit=function(t){return this.changeBit(t,F)},v.prototype.flipBit=function(t){return this.changeBit(t,j)},v.prototype.add=function(t){var e=b();return this.addTo(t,e),e},v.prototype.subtract=function(t){var e=b();return this.subTo(t,e),e},v.prototype.multiply=function(t){var e=b();return this.multiplyTo(t,e),e},v.prototype.divide=function(t){var e=b();return this.divRemTo(t,e,null),e},v.prototype.remainder=function(t){var e=b();return this.divRemTo(t,null,e),e},v.prototype.divideAndRemainder=function(t){var e=b(),n=b();return this.divRemTo(t,e,n),[e,n]},v.prototype.modPow=function(t,e){var n=t.bitLength(),r=T(1);if(n<=0)return r;var i=n<18?1:n<48?3:n<144?4:n<768?5:6,o=new(n<8?W:e.isEven()?tt:X)(e),s=[],a=3,u=i-1,h=(1<<i)-1;if(s[1]=o.convert(this),1<i){var l=b();for(o.sqrTo(s[1],l);a<=h;)s[a]=b(),o.mulTo(l,s[a-2],s[a]),a+=2}for(var c,f,d=t.t-1,p=!0,g=b(),n=E(t[d])-1;0<=d;){for(u<=n?c=t[d]>>n-u&h:(c=(t[d]&(1<<n+1)-1)<<u-n,0<d&&(c|=t[d-1]>>this.DB+n-u)),a=i;0==(1&c);)c>>=1,--a;if((n-=a)<0&&(n+=this.DB,--d),p)s[c].copyTo(r),p=!1;else{for(;1<a;)o.sqrTo(r,g),o.sqrTo(g,r),a-=2;0<a?o.sqrTo(r,g):(f=r,r=g,g=f),o.mulTo(g,s[c],r)}for(;0<=d&&0==(t[d]&1<<n);)o.sqrTo(r,g),f=r,r=g,g=f,--n<0&&(n=this.DB-1,--d)}return o.revert(r)},v.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return v.ZERO;for(var n=t.clone(),r=this.clone(),i=T(1),o=T(0),s=T(0),a=T(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),e?(i.isEven()&&o.isEven()||(i.addTo(this,i),o.subTo(t,o)),i.rShiftTo(1,i)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);for(;r.isEven();)r.rShiftTo(1,r),e?(s.isEven()&&a.isEven()||(s.addTo(this,s),a.subTo(t,a)),s.rShiftTo(1,s)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);0<=n.compareTo(r)?(n.subTo(r,n),e&&i.subTo(s,i),o.subTo(a,o)):(r.subTo(n,r),e&&s.subTo(i,s),a.subTo(o,a))}return 0!=r.compareTo(v.ONE)?v.ZERO:0<=a.compareTo(t)?a.subtract(t):a.signum()<0&&(a.addTo(t,a),a.signum()<0)?a.add(t):a},v.prototype.pow=function(t){return this.exp(t,new J)},v.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone(),r=(e.compareTo(n)<0&&(t=e,e=n,n=t),e.getLowestSetBit()),t=n.getLowestSetBit();if(t<0)return e;for(0<(t=r<t?r:t)&&(e.rShiftTo(t,e),n.rShiftTo(t,n));0<e.signum();)0<(r=e.getLowestSetBit())&&e.rShiftTo(r,e),0<(r=n.getLowestSetBit())&&n.rShiftTo(r,n),0<=e.compareTo(n)?(e.subTo(n,e),e.rShiftTo(1,e)):(n.subTo(e,n),n.rShiftTo(1,n));return 0<t&&n.lShiftTo(t,n),n},v.prototype.isProbablePrime=function(t){var e,n=this.abs();if(1==n.t&&n[0]<=g[g.length-1]){for(e=0;e<g.length;++e)if(n[0]==g[e])return!0;return!1}if(n.isEven())return!1;for(e=1;e<g.length;){for(var r=g[e],i=e+1;i<g.length&&r<Q;)r*=g[i++];for(r=n.modInt(r);e<i;)if(r%g[e++]==0)return!1}return n.millerRabin(t)},v.prototype.copyTo=function(t){for(var e=this.t-1;0<=e;--e)t[e]=this[e];t.t=this.t,t.s=this.s},v.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,0<t?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},v.prototype.fromString=function(t,e){var n;if(16==e)n=4;else if(8==e)n=3;else if(256==e)n=8;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)return void this.fromRadix(t,e);n=2}this.t=0,this.s=0;for(var r=t.length,i=!1,o=0;0<=--r;){var s=8==n?255&+t[r]:et(t,r);s<0?"-"==t.charAt(r)&&(i=!0):(i=!1,0==o?this[this.t++]=s:o+n>this.DB?(this[this.t-1]|=(s&(1<<this.DB-o)-1)<<o,this[this.t++]=s>>this.DB-o):this[this.t-1]|=s<<o,(o+=n)>=this.DB&&(o-=this.DB))}8==n&&0!=(128&+t[0])&&(this.s=-1,0<o)&&(this[this.t-1]|=(1<<this.DB-o)-1<<o),this.clamp(),i&&v.ZERO.subTo(this,this)},v.prototype.clamp=function(){for(var t=this.s&this.DM;0<this.t&&this[this.t-1]==t;)--this.t},v.prototype.dlShiftTo=function(t,e){for(var n=this.t-1;0<=n;--n)e[n+t]=this[n];for(n=t-1;0<=n;--n)e[n]=0;e.t=this.t+t,e.s=this.s},v.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},v.prototype.lShiftTo=function(t,e){for(var n=t%this.DB,r=this.DB-n,i=(1<<r)-1,o=Math.floor(t/this.DB),s=this.s<<n&this.DM,a=this.t-1;0<=a;--a)e[a+o+1]=this[a]>>r|s,s=(this[a]&i)<<n;for(a=o-1;0<=a;--a)e[a]=0;e[o]=s,e.t=this.t+o+1,e.s=this.s,e.clamp()},v.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)e.t=0;else{var r=t%this.DB,i=this.DB-r,o=(1<<r)-1;e[0]=this[n]>>r;for(var s=n+1;s<this.t;++s)e[s-n-1]|=(this[s]&o)<<i,e[s-n]=this[s]>>r;0<r&&(e[this.t-n-1]|=(this.s&o)<<i),e.t=this.t-n,e.clamp()}},v.prototype.subTo=function(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]-t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r-=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r-=t[n],e[n++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[n++]=this.DV+r:0<r&&(e[n++]=r),e.t=n,e.clamp()},v.prototype.multiplyTo=function(t,e){var n=this.abs(),r=t.abs(),i=n.t;for(e.t=i+r.t;0<=--i;)e[i]=0;for(i=0;i<r.t;++i)e[i+n.t]=n.am(0,r[i],e,i,0,n.t);e.s=0,e.clamp(),this.s!=t.s&&v.ZERO.subTo(e,e)},v.prototype.squareTo=function(t){for(var e=this.abs(),n=t.t=2*e.t;0<=--n;)t[n]=0;for(n=0;n<e.t-1;++n){var r=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,r,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}0<t.t&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},v.prototype.divRemTo=function(t,e,n){var r=t.abs();if(!(r.t<=0)){var i=this.abs();if(i.t<r.t)null!=e&&e.fromInt(0),null!=n&&this.copyTo(n);else{null==n&&(n=b());var o=b(),s=this.s,t=t.s,a=this.DB-E(r[r.t-1]),u=(0<a?(r.lShiftTo(a,o),i.lShiftTo(a,n)):(r.copyTo(o),i.copyTo(n)),o.t),h=o[u-1];if(0!=h){var r=h*(1<<this.F1)+(1<u?o[u-2]>>this.F2:0),l=this.FV/r,c=(1<<this.F1)/r,f=1<<this.F2,d=n.t,p=d-u,g=null==e?b():e;for(o.dlShiftTo(p,g),0<=n.compareTo(g)&&(n[n.t++]=1,n.subTo(g,n)),v.ONE.dlShiftTo(u,g),g.subTo(o,o);o.t<u;)o[o.t++]=0;for(;0<=--p;){var m=n[--d]==h?this.DM:Math.floor(n[d]*l+(n[d-1]+f)*c);if((n[d]+=o.am(0,m,n,p,0,u))<m)for(o.dlShiftTo(p,g),n.subTo(g,n);n[d]<--m;)n.subTo(g,n)}null!=e&&(n.drShiftTo(u,e),s!=t)&&v.ZERO.subTo(e,e),n.t=u,n.clamp(),0<a&&n.rShiftTo(a,n),s<0&&v.ZERO.subTo(n,n)}}}},v.prototype.invDigit=function(){var t,e;return this.t<1||0==(1&(t=this[0]))?0:0<(e=(e=(e=(e=(e=3&t)*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)?this.DV-e:-e},v.prototype.isEven=function(){return 0==(0<this.t?1&this[0]:this.s)},v.prototype.exp=function(t,e){if(4294967295<t||t<1)return v.ONE;var n,r=b(),i=b(),o=e.convert(this),s=E(t)-1;for(o.copyTo(r);0<=--s;)e.sqrTo(r,i),0<(t&1<<s)?e.mulTo(i,o,r):(n=r,r=i,i=n);return e.revert(r)},v.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},v.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||36<t)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),r=T(n),i=b(),o=b(),s="";for(this.divRemTo(r,i,o);0<i.signum();)s=(n+o.intValue()).toString(t).substr(1)+s,i.divRemTo(r,i,o);return o.intValue().toString(t)+s},v.prototype.fromRadix=function(t,e){this.fromInt(0);for(var n=this.chunkSize(e=null==e?10:e),r=Math.pow(e,n),i=!1,o=0,s=0,a=0;a<t.length;++a){var u=et(t,a);u<0?"-"==t.charAt(a)&&0==this.signum()&&(i=!0):(s=e*s+u,++o>=n&&(this.dMultiply(r),this.dAddOffset(s,0),s=o=0))}0<o&&(this.dMultiply(Math.pow(e,o)),this.dAddOffset(s,0)),i&&v.ZERO.subTo(this,this)},v.prototype.fromNumber=function(t,e,n){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(v.ONE.shiftLeft(t-1),a,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(v.ONE.shiftLeft(t-1),this);else{var n=[],r=7&t;n.length=1+(t>>3),e.nextBytes(n),0<r?n[0]&=(1<<r)-1:n[0]=0,this.fromString(n,256)}},v.prototype.bitwiseTo=function(t,e,n){for(var r,i=Math.min(t.t,this.t),o=0;o<i;++o)n[o]=e(this[o],t[o]);if(t.t<this.t){for(r=t.s&this.DM,o=i;o<this.t;++o)n[o]=e(this[o],r);n.t=this.t}else{for(r=this.s&this.DM,o=i;o<t.t;++o)n[o]=e(r,t[o]);n.t=t.t}n.s=e(this.s,t.s),n.clamp()},v.prototype.changeBit=function(t,e){t=v.ONE.shiftLeft(t);return this.bitwiseTo(t,e,t),t},v.prototype.addTo=function(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]+t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r+=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r+=t[n],e[n++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=r<0?-1:0,0<r?e[n++]=r:r<-1&&(e[n++]=this.DV+r),e.t=n,e.clamp()},v.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},v.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},v.prototype.multiplyLowerTo=function(t,e,n){var r=Math.min(this.t+t.t,e);for(n.s=0,n.t=r;0<r;)n[--r]=0;for(var i=n.t-this.t;r<i;++r)n[r+this.t]=this.am(0,t[r],n,r,0,this.t);for(i=Math.min(t.t,e);r<i;++r)this.am(0,t[r],n,r,0,e-r);n.clamp()},v.prototype.multiplyUpperTo=function(t,e,n){var r=n.t=this.t+t.t- --e;for(n.s=0;0<=--r;)n[r]=0;for(r=Math.max(e-this.t,0);r<t.t;++r)n[this.t+r-e]=this.am(e-r,t[r],n,0,0,this.t+r-e);n.clamp(),n.drShiftTo(1,n)},v.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,n=this.s<0?t-1:0;if(0<this.t)if(0==e)n=this[0]%t;else for(var r=this.t-1;0<=r;--r)n=(e*n+this[r])%t;return n},v.prototype.millerRabin=function(t){var e=this.subtract(v.ONE),n=e.getLowestSetBit();if(n<=0)return!1;for(var r=e.shiftRight(n),i=(g.length<(t=t+1>>1)&&(t=g.length),b()),o=0;o<t;++o){i.fromInt(g[Math.floor(Math.random()*g.length)]);var s=i.modPow(r,this);if(0!=s.compareTo(v.ONE)&&0!=s.compareTo(e)){for(var a=1;a++<n&&0!=s.compareTo(e);)if(0==(s=s.modPowInt(2,this)).compareTo(v.ONE))return!1;if(0!=s.compareTo(e))return!1}}return!0},v.prototype.square=function(){var t=b();return this.squareTo(t),t},v.prototype.gcda=function(t,e){var n,r=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone(),o=(r.compareTo(i)<0&&(t=r,r=i,i=t),r.getLowestSetBit()),s=i.getLowestSetBit();s<0?e(r):(0<(s=o<s?o:s)&&(r.rShiftTo(s,r),i.rShiftTo(s,i)),n=function(){0<(o=r.getLowestSetBit())&&r.rShiftTo(o,r),0<(o=i.getLowestSetBit())&&i.rShiftTo(o,i),0<=r.compareTo(i)?(r.subTo(i,r),r.rShiftTo(1,r)):(i.subTo(r,i),i.rShiftTo(1,i)),0<r.signum()?setTimeout(n,0):(0<s&&i.lShiftTo(s,i),setTimeout(function(){e(i)},0))},setTimeout(n,10))},v.prototype.fromNumberAsync=function(t,e,n,r){var i,o,s;"number"==typeof e?t<2?this.fromInt(1):(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(v.ONE.shiftLeft(t-1),a,this),this.isEven()&&this.dAddOffset(1,0),i=this,o=function(){i.dAddOffset(2,0),i.bitLength()>t&&i.subTo(v.ONE.shiftLeft(t-1),i),i.isProbablePrime(e)?setTimeout(function(){r()},0):setTimeout(o,0)},setTimeout(o,0)):(n=7&t,(s=[]).length=1+(t>>3),e.nextBytes(s),0<n?s[0]&=(1<<n)-1:s[0]=0,this.fromString(s,256))},v);function v(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}e.prototype.convert=function(t){return t},e.prototype.revert=function(t){return t},e.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n)},e.prototype.sqrTo=function(t,e){t.squareTo(e)};var J=e;function e(){}i.prototype.convert=function(t){return t.s<0||0<=t.compareTo(this.m)?t.mod(this.m):t},i.prototype.revert=function(t){return t},i.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},i.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},i.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var W=i;function i(t){this.m=t}o.prototype.convert=function(t){var e=b();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&0<e.compareTo(m.ZERO)&&this.m.subTo(e,e),e},o.prototype.revert=function(t){var e=b();return t.copyTo(e),this.reduce(e),e},o.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],r=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[n=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),0<=t.compareTo(this.m)&&t.subTo(this.m,t)},o.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},o.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var X=o;function o(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}y.prototype.convert=function(t){var e;return t.s<0||t.t>2*this.m.t?t.mod(this.m):t.compareTo(this.m)<0?t:(e=b(),t.copyTo(e),this.reduce(e),e)},y.prototype.revert=function(t){return t},y.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);0<=t.compareTo(this.m);)t.subTo(this.m,t)},y.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},y.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var tt=y;function y(t){this.m=t,this.r2=b(),this.q3=b(),m.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}function b(){return new m(null)}function w(t,e){return new m(t,e)}B="Microsoft Internet Explorer"==navigator.appName?(m.prototype.am=function(t,e,n,r,i,o){for(var s=32767&e,a=e>>15;0<=--o;){var u=32767&this[t],h=this[t++]>>15,l=a*u+h*s;i=((u=s*u+((32767&l)<<15)+n[r]+(1073741823&i))>>>30)+(l>>>15)+a*h+(i>>>30),n[r++]=1073741823&u}return i},30):"Netscape"!=navigator.appName?(m.prototype.am=function(t,e,n,r,i,o){for(;0<=--o;){var s=e*this[t++]+n[r]+i;i=Math.floor(s/67108864),n[r++]=67108863&s}return i},26):(m.prototype.am=function(t,e,n,r,i,o){for(var s=16383&e,a=e>>14;0<=--o;){var u=16383&this[t],h=this[t++]>>14,l=a*u+h*s;i=((u=s*u+((16383&l)<<14)+n[r]+i)>>28)+(l>>14)+a*h,n[r++]=268435455&u}return i},28),m.prototype.DB=B,m.prototype.DM=(1<<B)-1,m.prototype.DV=1<<B;m.prototype.FV=Math.pow(2,52),m.prototype.F1=52-B,m.prototype.F2=2*B-52;for(var S=[],_="0".charCodeAt(0),x=0;x<=9;++x)S[_++]=x;for(_="a".charCodeAt(0),x=10;x<36;++x)S[_++]=x;for(_="A".charCodeAt(0),x=10;x<36;++x)S[_++]=x;function et(t,e){t=S[t.charCodeAt(e)];return null==t?-1:t}function T(t){var e=b();return e.fromInt(t),e}function E(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}m.ZERO=T(0),m.ONE=T(1);rt.prototype.init=function(t){for(var e,n,r=0;r<256;++r)this.S[r]=r;for(r=e=0;r<256;++r)e=e+this.S[r]+t[r%t.length]&255,n=this.S[r],this.S[r]=this.S[e],this.S[e]=n;this.i=0,this.j=0},rt.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]};var nt=rt;function rt(){this.i=0,this.j=0,this.S=[]}var D;if(null==(A=null)){var A=[],O=0,M=void 0;if(window.crypto&&window.crypto.getRandomValues){var it=new Uint32Array(256);for(window.crypto.getRandomValues(it),M=0;M<it.length;++M)A[O++]=255&it[M]}var ot=function(t){if(this.count=this.count||0,256<=this.count||256<=O)window.removeEventListener?window.removeEventListener("mousemove",ot,!1):window.detachEvent&&window.detachEvent("onmousemove",ot);else try{var e=t.x+t.y;A[O++]=255&e,this.count+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",ot,!1):window.attachEvent&&window.attachEvent("onmousemove",ot)}function st(){if(null==D){for(D=new nt;O<256;){var t=Math.floor(65536*Math.random());A[O++]=255&t}for(D.init(A),O=0;O<A.length;++O)A[O]=0;O=0}return D.next()}ut.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=st()};var at=ut;function ut(){}$.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},$.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),n=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(n)<0;)e=e.add(this.p);return e.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},$.prototype.setPublic=function(t,e){null!=t&&null!=e&&0<t.length&&0<e.length&&(this.n=w(t,16),this.e=parseInt(e,16))},$.prototype.encrypt=function(t){var t=function(t,e){if(e<t.length+11)return null;for(var n=[],r=t.length-1;0<=r&&0<e;){var i=t.charCodeAt(r--);i<128?n[--e]=i:127<i&&i<2048?(n[--e]=63&i|128,n[--e]=i>>6|192):(n[--e]=63&i|128,n[--e]=i>>6&63|128,n[--e]=i>>12|224)}n[--e]=0;for(var o=new at,s=[];2<e;){for(s[0]=0;0==s[0];)o.nextBytes(s);n[--e]=s[0]}return n[--e]=2,n[--e]=0,new m(n)}(t,this.n.bitLength()+7>>3);return null==t||null==(t=this.doPublic(t))?null:0==(1&(t=t.toString(16)).length)?t:"0"+t},$.prototype.setPrivate=function(t,e,n){null!=t&&null!=e&&0<t.length&&0<e.length&&(this.n=w(t,16),this.e=parseInt(e,16),this.d=w(n,16))},$.prototype.setPrivateEx=function(t,e,n,r,i,o,s,a){null!=t&&null!=e&&0<t.length&&0<e.length&&(this.n=w(t,16),this.e=parseInt(e,16),this.d=w(n,16),this.p=w(r,16),this.q=w(i,16),this.dmp1=w(o,16),this.dmq1=w(s,16),this.coeff=w(a,16))},$.prototype.generate=function(t,e){for(var n=new at,r=t>>1,i=(this.e=parseInt(e,16),new m(e,16));;){for(;this.p=new m(t-r,1,n),0!=this.p.subtract(m.ONE).gcd(i).compareTo(m.ONE)||!this.p.isProbablePrime(10););for(;this.q=new m(r,1,n),0!=this.q.subtract(m.ONE).gcd(i).compareTo(m.ONE)||!this.q.isProbablePrime(10););this.p.compareTo(this.q)<=0&&(o=this.p,this.p=this.q,this.q=o);var o=this.p.subtract(m.ONE),s=this.q.subtract(m.ONE),a=o.multiply(s);if(0==a.gcd(i).compareTo(m.ONE)){this.n=this.p.multiply(this.q),this.d=i.modInverse(a),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(s),this.coeff=this.q.modInverse(this.p);break}}},$.prototype.decrypt=function(t){t=w(t,16),t=this.doPrivate(t);if(null==t)return null;for(var e=this.n.bitLength()+7>>3,n=t.toByteArray(),r=0;r<n.length&&0==n[r];)++r;if(n.length-r!=e-1||2!=n[r])return null;for(++r;0!=n[r];)if(++r>=n.length)return null;for(var i="";++r<n.length;){var o=255&n[r];o<128?i+=String.fromCharCode(o):191<o&&o<224?(i+=String.fromCharCode((31&o)<<6|63&n[r+1]),++r):(i+=String.fromCharCode((15&o)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return i},$.prototype.generateAsync=function(t,e,i){var o=new at,s=t>>1,a=(this.e=parseInt(e,16),new m(e,16)),u=this,h=function(){function e(){u.p=b(),u.p.fromNumberAsync(t-s,1,o,function(){u.p.subtract(m.ONE).gcda(a,function(t){0==t.compareTo(m.ONE)&&u.p.isProbablePrime(10)?setTimeout(r,0):setTimeout(e,0)})})}var n=function(){u.p.compareTo(u.q)<=0&&(t=u.p,u.p=u.q,u.q=t);var t=u.p.subtract(m.ONE),e=u.q.subtract(m.ONE),n=t.multiply(e);0==n.gcd(a).compareTo(m.ONE)?(u.n=u.p.multiply(u.q),u.d=a.modInverse(n),u.dmp1=u.d.mod(t),u.dmq1=u.d.mod(e),u.coeff=u.q.modInverse(u.p),setTimeout(function(){i()},0)):setTimeout(h,0)},r=function(){u.q=b(),u.q.fromNumberAsync(s,1,o,function(){u.q.subtract(m.ONE).gcda(a,function(t){0==t.compareTo(m.ONE)&&u.q.isProbablePrime(10)?setTimeout(n,0):setTimeout(r,0)})})};setTimeout(e,0)};setTimeout(h,0)},$.prototype.sign=function(t,e,n){n=function(t,e){if(e<t.length+22)return null;for(var n=e-t.length-6,r="",i=0;i<n;i+=2)r+="ff";return w("0001"+r+"00"+t,16)}((ht[n]||"")+e(t).toString(),this.n.bitLength()/4);return null==n||null==(e=this.doPrivate(n))?null:0==(1&(t=e.toString(16)).length)?t:"0"+t},$.prototype.verify=function(t,e,n){e=w(e,16),e=this.doPublic(e);return null==e?null:function(t){for(var e in ht)if(ht.hasOwnProperty(e)){var e=ht[e],n=e.length;if(t.substr(0,n)==e)return t.substr(n)}return t}(e.toString(16).replace(/^1f+00/,""))==n(t).toString()};var B=$;function $(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}var ht={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};var lt,ct,N={lang:{extend:function(t,e,n){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");function r(){}if(r.prototype=e.prototype,t.prototype=new r,(t.prototype.constructor=t).superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),n){for(var i in n)t.prototype[i]=n[i];var e=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(e=function(t,e){for(i=0;i<o.length;i+=1){var n=o[i],r=e[n];"function"==typeof r&&r!=Object.prototype[n]&&(t[n]=r)}})}catch(t){}e(t.prototype,n)}}}},R={},ft=(void 0!==R.asn1&&R.asn1||(R.asn1={}),R.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){t=t.toString(16);return t=t.length%2==1?"0"+t:t},this.bigIntToMinTwosComplementsHex=function(t){if("-"!=(i=t.toString(16)).substr(0,1))i.length%2==1?i="0"+i:i.match(/^[0-7]/)||(i="00"+i);else{for(var e=i.substr(1).length,n=(e%2==1?e+=1:i.match(/^[0-7]/)||(e+=2),""),r=0;r<e;r++)n+="f";var i=new m(n,16).xor(t).add(m.ONE).toString(16).replace(/^-/,"")}return i},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=R.asn1,n=e.DERBoolean,r=e.DERInteger,i=e.DERBitString,o=e.DEROctetString,s=e.DERNull,a=e.DERObjectIdentifier,u=e.DEREnumerated,h=e.DERUTF8String,l=e.DERNumericString,c=e.DERPrintableString,f=e.DERTeletexString,d=e.DERIA5String,p=e.DERUTCTime,g=e.DERGeneralizedTime,m=e.DERSequence,v=e.DERSet,y=e.DERTaggedObject,b=e.ASN1Util.newObject,e=Object.keys(t);if(1!=e.length)throw"key of param shall be only one.";e=e[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+e+":"))throw"undefined key: "+e;if("bool"==e)return new n(t[e]);if("int"==e)return new r(t[e]);if("bitstr"==e)return new i(t[e]);if("octstr"==e)return new o(t[e]);if("null"==e)return new s(t[e]);if("oid"==e)return new a(t[e]);if("enum"==e)return new u(t[e]);if("utf8str"==e)return new h(t[e]);if("numstr"==e)return new l(t[e]);if("prnstr"==e)return new c(t[e]);if("telstr"==e)return new f(t[e]);if("ia5str"==e)return new d(t[e]);if("utctime"==e)return new p(t[e]);if("gentime"==e)return new g(t[e]);if("seq"==e){for(var w=t[e],S=[],_=0;_<w.length;_++){var x=b(w[_]);S.push(x)}return new m({array:S})}if("set"==e){for(w=t[e],S=[],_=0;_<w.length;_++){x=b(w[_]);S.push(x)}return new v({array:S})}if("tag"==e){n=t[e];if("[object Array]"===Object.prototype.toString.call(n)&&3==n.length)return r=b(n[2]),new y({tag:n[0],explicit:n[1],obj:r});i={};if(void 0!==n.explicit&&(i.explicit=n.explicit),void 0!==n.tag&&(i.tag=n.tag),void 0===n.obj)throw"obj shall be specified for 'tag'.";return i.obj=b(n.obj),new y(i)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},R.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",n=parseInt(t.substr(0,2),16),e=Math.floor(n/40)+"."+n%40,r="",i=2;i<t.length;i+=2){var o=("00000000"+parseInt(t.substr(i,2),16).toString(2)).slice(-8);r+=o.substr(1,7),"0"==o.substr(0,1)&&(e=e+"."+new m(r,2).toString(10),r="")}return e},R.asn1.ASN1Util.oidIntToHex=function(t){function a(t){return t=1==(t=t.toString(16)).length?"0"+t:t}if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var e="",n=t.split("."),t=40*parseInt(n[0])+parseInt(n[1]);e+=a(t),n.splice(0,2);for(var r=0;r<n.length;r++)e+=function(t){for(var e="",n=7-(o=new m(t,10).toString(2)).length%7,r=(7==n&&(n=0),""),i=0;i<n;i++)r+="0";for(var o=r+o,i=0;i<o.length-1;i+=7){var s=o.substr(i,7);i!=o.length-7&&(s="1"+s),e+=a(parseInt(s,2))}return e}(n[r]);return e},R.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),t<128)return e;var n=e.length/2;if(15<n)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+n).toString(16)+e},this.getEncodedHex=function(){return null!=this.hTLV&&!this.isModified||(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},R.asn1.DERAbstractString=function(t){R.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},N.lang.extend(R.asn1.DERAbstractString,R.asn1.ASN1Object),R.asn1.DERAbstractTime=function(t){R.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,n){var r=this.zeroPadding,t=this.localDateToUTC(t),i=String(t.getFullYear()),e=("utc"==e&&(i=i.substr(2,2)),r(String(t.getMonth()+1),2)),i=i+e+r(String(t.getDate()),2)+r(String(t.getHours()),2)+r(String(t.getMinutes()),2)+r(String(t.getSeconds()),2);return(i=!0===n&&0!=(e=t.getMilliseconds())?i+"."+r(String(e),3).replace(/[0]+$/,""):i)+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,n,r,i,o){t=new Date(Date.UTC(t,e-1,n,r,i,o,0));this.setByDate(t)},this.getFreshValueHex=function(){return this.hV}},N.lang.extend(R.asn1.DERAbstractTime,R.asn1.ASN1Object),R.asn1.DERAbstractStructured=function(t){R.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},N.lang.extend(R.asn1.DERAbstractStructured,R.asn1.ASN1Object),R.asn1.DERBoolean=function(){R.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},N.lang.extend(R.asn1.DERBoolean,R.asn1.ASN1Object),R.asn1.DERInteger=function(t){R.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=R.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){t=new m(String(t),10);this.setByBigInteger(t)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},N.lang.extend(R.asn1.DERInteger,R.asn1.ASN1Object),R.asn1.DERBitString=function(t){var e;void 0!==t&&void 0!==t.obj&&(e=R.asn1.ASN1Util.newObject(t.obj),t.hex="00"+e.getEncodedHex()),R.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;t="0"+t;this.hTLV=null,this.isModified=!0,this.hV=t+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var n=0;n<=e;n++)t+="0";for(var r="",n=0;n<t.length-1;n+=8){var i=t.substr(n,8),i=parseInt(i,2).toString(16);r+=i=1==i.length?"0"+i:i}this.hTLV=null,this.isModified=!0,this.hV="0"+e+r},this.setByBooleanArray=function(t){for(var e="",n=0;n<t.length;n++)1==t[n]?e+="1":e+="0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},N.lang.extend(R.asn1.DERBitString,R.asn1.ASN1Object),R.asn1.DEROctetString=function(t){var e;void 0!==t&&void 0!==t.obj&&(e=R.asn1.ASN1Util.newObject(t.obj),t.hex=e.getEncodedHex()),R.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},N.lang.extend(R.asn1.DEROctetString,R.asn1.DERAbstractString),R.asn1.DERNull=function(){R.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},N.lang.extend(R.asn1.DERNull,R.asn1.ASN1Object),R.asn1.DERObjectIdentifier=function(t){var a=function(t){t=t.toString(16);return t=1==t.length?"0"+t:t};R.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var e="",n=t.split("."),t=40*parseInt(n[0])+parseInt(n[1]);e+=a(t),n.splice(0,2);for(var r=0;r<n.length;r++)e+=function(t){for(var e="",n=7-(o=new m(t,10).toString(2)).length%7,r=(7==n&&(n=0),""),i=0;i<n;i++)r+="0";for(var o=r+o,i=0;i<o.length-1;i+=7){var s=o.substr(i,7);i!=o.length-7&&(s="1"+s),e+=a(parseInt(s,2))}return e}(n[r]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueName=function(t){var e=R.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},N.lang.extend(R.asn1.DERObjectIdentifier,R.asn1.ASN1Object),R.asn1.DEREnumerated=function(t){R.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=R.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){t=new m(String(t),10);this.setByBigInteger(t)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},N.lang.extend(R.asn1.DEREnumerated,R.asn1.ASN1Object),R.asn1.DERUTF8String=function(t){R.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},N.lang.extend(R.asn1.DERUTF8String,R.asn1.DERAbstractString),R.asn1.DERNumericString=function(t){R.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},N.lang.extend(R.asn1.DERNumericString,R.asn1.DERAbstractString),R.asn1.DERPrintableString=function(t){R.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},N.lang.extend(R.asn1.DERPrintableString,R.asn1.DERAbstractString),R.asn1.DERTeletexString=function(t){R.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},N.lang.extend(R.asn1.DERTeletexString,R.asn1.DERAbstractString),R.asn1.DERIA5String=function(t){R.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},N.lang.extend(R.asn1.DERIA5String,R.asn1.DERAbstractString),R.asn1.DERUTCTime=function(t){R.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},N.lang.extend(R.asn1.DERUTCTime,R.asn1.DERAbstractTime),R.asn1.DERGeneralizedTime=function(t){R.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis)&&(this.withMillis=!0)},N.lang.extend(R.asn1.DERGeneralizedTime,R.asn1.DERAbstractTime),R.asn1.DERSequence=function(t){R.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++)t+=this.asn1Array[e].getEncodedHex();return this.hV=t,this.hV}},N.lang.extend(R.asn1.DERSequence,R.asn1.DERAbstractStructured),R.asn1.DERSet=function(t){R.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var n=this.asn1Array[e];t.push(n.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},N.lang.extend(R.asn1.DERSet,R.asn1.DERAbstractStructured),R.asn1.DERTaggedObject=function(t){R.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,n){this.hT=e,this.isExplicit=t,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.tag&&(this.hT=t.tag),void 0!==t.explicit&&(this.isExplicit=t.explicit),void 0!==t.obj)&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object))},N.lang.extend(R.asn1.DERTaggedObject,R.asn1.ASN1Object),H(ct=P,N=lt=B),ct.prototype=null===N?Object.create(N):(dt.prototype=N.prototype,new dt),P.prototype.parseKey=function(t){try{var e=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t)?k(t):q.unarmor(t),i=Y.decode(r);if(9===(i=3===i.sub.length?i.sub[2].sub[0]:i).sub.length){e=i.sub[1].getHexStringValue(),this.n=w(e,16),n=i.sub[2].getHexStringValue(),this.e=parseInt(n,16);var o=i.sub[3].getHexStringValue(),s=(this.d=w(o,16),i.sub[4].getHexStringValue()),a=(this.p=w(s,16),i.sub[5].getHexStringValue()),u=(this.q=w(a,16),i.sub[6].getHexStringValue()),h=(this.dmp1=w(u,16),i.sub[7].getHexStringValue()),l=(this.dmq1=w(h,16),i.sub[8].getHexStringValue());this.coeff=w(l,16)}else{if(2!==i.sub.length)return!1;var c=i.sub[1].sub[0],e=c.sub[0].getHexStringValue();this.n=w(e,16),n=c.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(t){return!1}},P.prototype.getPrivateBaseKey=function(){var t={array:[new R.asn1.DERInteger({int:0}),new R.asn1.DERInteger({bigint:this.n}),new R.asn1.DERInteger({int:this.e}),new R.asn1.DERInteger({bigint:this.d}),new R.asn1.DERInteger({bigint:this.p}),new R.asn1.DERInteger({bigint:this.q}),new R.asn1.DERInteger({bigint:this.dmp1}),new R.asn1.DERInteger({bigint:this.dmq1}),new R.asn1.DERInteger({bigint:this.coeff})]};return new R.asn1.DERSequence(t).getEncodedHex()},P.prototype.getPrivateBaseKeyB64=function(){return r(this.getPrivateBaseKey())},P.prototype.getPublicBaseKey=function(){var t=new R.asn1.DERSequence({array:[new R.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new R.asn1.DERNull]}),e=new R.asn1.DERSequence({array:[new R.asn1.DERInteger({bigint:this.n}),new R.asn1.DERInteger({int:this.e})]}),e=new R.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new R.asn1.DERSequence({array:[t,e]}).getEncodedHex()},P.prototype.getPublicBaseKeyB64=function(){return r(this.getPublicBaseKey())},P.wordwrap=function(t,e){return e=e||64,t&&t.match(RegExp("(.{1,"+e+"})( +|$\n?)|(.{1,"+e+"})","g")).join("\n")},P.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+(P.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},P.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+(P.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},P.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},P.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},P.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},P);function dt(){this.constructor=ct}function P(t){var e=lt.call(this)||this;return t&&("string"==typeof t?e.parseKey(t):(P.hasPrivateKeyProperty(t)||P.hasPublicKeyProperty(t))&&e.parsePropertiesFrom(t)),e}C.prototype.setKey=function(t){this.log&&this.key,this.key=new ft(t)},C.prototype.setPrivateKey=function(t){this.setKey(t)},C.prototype.setPublicKey=function(t){this.setKey(t)},C.prototype.decrypt=function(t){try{return this.getKey().decrypt(L(t))}catch(t){return!1}},C.prototype.encrypt=function(t){try{return r(this.getKey().encrypt(t))}catch(t){return!1}},C.prototype.sign=function(t,e,n){try{return r(this.getKey().sign(t,e,n))}catch(t){return!1}},C.prototype.verify=function(t,e,n){try{return this.getKey().verify(t,L(e),n)}catch(t){return!1}},C.prototype.getKey=function(t){if(!this.key){if(this.key=new ft,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},C.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},C.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},C.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},C.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},C.version="3.0.0-rc.1";B=C;function C(t){t=t||{},this.default_key_size=parseInt(t.default_key_size,10)||1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}window.JSEncrypt=B,V.JSEncrypt=B,V.default=B,Object.defineProperty(V,"__esModule",{value:!0})})(e)},56:function(t,e,n){n(47),n(45),t.exports=n(58)},57:function(t,e,n){var n=n(4),r=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},58:function(t,e,n){var r=n(42),i=n(80);t.exports=n(4).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},75:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=s(n(41)),r=s(n(12)),C=s(n(23)),V=s(n(49)),I=s(n(46)),i=s(n(43)),j=s(n(40)),F=s(n(51)),L=n(18);function s(t){return t&&t.__esModule?t:{default:t}}a=(0,i.default)(C.default.mark(function t(e,n){var r,i,o,s,a,u,h,l,c,f,d,p,g,m,v,y,b,w,S,_,x,T,E,D,A,O,M,B,$,N,R,P;return C.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r={name:e,password:n},(i=new F.default).setPublicKey("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB"),t.next=6,j.default.resetpost("/api/af-revenue/logic/getLogin",r,{resolveMsg:null,rejectMsg:null},"RSA");case 6:if("登录成功"===(o=t.sent).data.states)return r={username:e,password:n},r=i.encrypt((0,I.default)(r)),t.next=12,j.default.resetpost("/rs/user/userLogin/客服系统",r,{resolveMsg:null,rejectMsg:null});t.next=161;break;case 12:return s=t.sent,j.default.$login.f=s.data,j.default.$login.jwt=o.data.jwt,j.default.cookie.set("loginId",j.default.$login.f.id),t.prev=17,t.next=20,j.default.resetpost("/rs/search",{source:"tool.getFullTree(this.getRights().where(row.getType() == $function$))",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 20:s=t.sent,a=[],s.data[0].children[0].children.forEach(function(t){"客服系统"==t.name&&t.children.forEach(function(t){a.push(t)})}),j.default.$login.f.functions=a,t.next=29;break;case 27:t.prev=27,t.t0=t.catch(17);case 29:if("11"!==j.default.$login.f.id)return t.prev=30,t.next=33,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($区$).getChildren()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});t.next=159;break;case 33:u=t.sent,h=[],l=0;case 36:if(l<u.data.length)return t.next=39,j.default.resetpost("/rs/search",{source:"this.getChildren()",userid:u.data[l].id},{resolveMsg:null,rejectMsg:null});t.next=46;break;case 39:for(c=t.sent,f=[],d=0;d<c.data.length;d++)f.push({label:c.data[d].name,value:c.data[d].name});h.push({label:u.data[l].name,value:f});case 43:l++,t.next=36;break;case 46:j.default.$login.f.f_allArea=h,t.next=53;break;case 49:t.prev=49,t.t1=t.catch(30),j.default.$login.f.f_allArea=[];case 53:return t.prev=53,t.next=56,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($抄表员$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 56:for(p=t.sent,g=[],m=0;m<p.data.length;m++)g.push(p.data[m]);j.default.$login.f.f_gasman=g,t.next=66;break;case 62:t.prev=62,t.t2=t.catch(53),j.default.$login.f.f_gasman=[];case 66:return t.prev=66,t.next=69,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($安装员$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 69:for(v=t.sent,y=[],b=0;b<v.data.length;b++)y.push(v.data[b]);j.default.$login.f.f_installman=y,t.next=80;break;case 76:t.prev=76,t.t3=t.catch(66),j.default.$login.f.f_installman=[];case 80:return t.prev=80,t.next=83,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($换表员$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 83:for(w=t.sent,S=[],_=0;_<w.data.length;_++)S.push(w.data[_]);j.default.$login.f.f_changemeterman=S,t.next=93;break;case 89:t.prev=89,t.t4=t.catch(80),j.default.$login.f.f_changemeterman=[];case 93:return t.prev=93,t.next=96,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($票据使用人$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 96:for(x=t.sent,T=[],E=0;E<x.data.length;E++)T.push(x.data[E]);j.default.$login.f.f_paperUseman=T,t.next=106;break;case 102:t.prev=102,t.t5=t.catch(93),j.default.$login.f.f_paperUseman=[];case 106:return t.prev=106,t.next=109,j.default.resetpost("/rs/search",{source:"this.getParentByType($organization$).getChildByName($票据分配人$).getUsers()",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 109:for(D=t.sent,A=[],O=0;O<D.data.length;O++)A.push(D.data[O]);j.default.$login.f.f_paperAllotman=A,t.next=119;break;case 115:t.prev=115,t.t6=t.catch(106),j.default.$login.f.f_paperAllotman=[];case 119:return t.prev=119,t.next=122,j.default.resetpost("rs/search",{source:"this.getRights().where(row.getType()==$function$ && row.getPath($name$).indexOf($功能权限$) != -1)",userid:j.default.$login.f.id},{resolveMsg:null,rejectMsg:null});case 122:R=t.sent,R=R.data,j.default.$login.r=[],R.forEach(function(t){return j.default.$login.r.push(t.name)}),t.next=132;break;case 128:t.prev=128,t.t7=t.catch(119),j.default.$login.r=[];case 132:B=!(M=!0),$=void 0,t.prev=135,N=(0,V.default)(j.default.$login.afterLogin);case 137:if(M=(R=N.next()).done){t.next=144;break}return P=R.value,t.next=141,P(j.default.$login.f);case 141:M=!0,t.next=137;break;case 144:t.next=150;break;case 146:t.prev=146,t.t8=t.catch(135),B=!0,$=t.t8;case 150:t.prev=150,t.prev=151,!M&&N.return&&N.return();case 153:if(t.prev=153,B)throw $;t.next=156;break;case 156:return t.finish(153);case 157:return t.finish(150);case 158:setInterval(function(){(new L.HttpResetClass).load("POST","rs/user/access/"+j.default.$login.f.id,{},{resolveMsg:null,rejectMsg:null}).then(function(t){710==t.data.status&&j.default.showMessage(t.data.msg+",您将被强制退出系统",["confirm"]).then(function(t){"confirm"===t&&location.reload()})})},12e4);case 159:t.next=163;break;case 161:throw{status:401,data:o.data.states};case 163:case"end":return t.stop()}},t,this,[[17,27],[30,49],[53,62],[66,76],[80,89],[93,102],[106,115],[119,128],[135,146,150,158],[151,,153,157]])}));var a,u,h,l=function(t,e){return a.apply(this,arguments)},c={afterLogin:[],Verification:!0,install:function(t,e){t.$login=t.prototype.$login=c},f:{},login:function(t,e){return l(t,e)},convertToIn:function(t){var e="";return t instanceof Array&&1<=t.length&&(e="(",t.forEach(function(t){e+="'"+t+"',"}),e=e.substr(0,e.length-1)+")"),e},toStandardYearMonth:function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+"-"+(e<10?"0"+e:e)},toStandardYearMonth1:function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+(e<10?"0"+e:e)},toStandardDateString:function(){var t=new Date,e=t.getMonth()+1,n=t.getDate();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)},toStartAndEndDateString:function(){var t=new Date,e=t.getMonth()+1;return[t.getFullYear()+"-"+(e<10?"0"+e:e)+"-01",t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+new Date(t.getFullYear(),e,0).getDate()]},toStandardTimeString:function(){var t=new Date,e=t.getMonth()+1,n=t.getDate(),r=t.getHours(),i=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+" "+(r<10?"0"+r:r)+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},guid:function(){function t(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e}var e=new Uint16Array(8);window.crypto.getRandomValues(e);return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])},choices:function(t,e){var n;if("view"!=t)return n=[],2<arguments.length&&void 0!==arguments[2]&&arguments[2]&&n.push({label:3<arguments.length&&void 0!==arguments[3]?arguments[3]:"请选择",value:null}),j.default.param&&j.default.param[e]?j.default.param[e].forEach(function(t){n.push({label:t.name,value:t.name})}):n.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"}),n;j.default.getParams(e,[null])},required:function(t){return!("number"==typeof t&&0==t||t&&(t+="").trim())},isInt:function(t){return!window.isNaN(t)&&t%1==0},isFloat:function(t){return!window.isNaN(t)},booleanFilter:(h=function(t){for(var e in t)t.hasOwnProperty(e)&&("object"==(0,r.default)(t[e])&&null!=t[e]?booleanFilter(t[e]):"true"!==t[e]&&"false"!=t[e]||(t[e]="true"===t[e]))},d.toString=function(){return h.toString()},d),ratifyPics:(u=function(t){for(var e in t)e.endsWith("_path")?t[e]?t[e]="rs/db/file/"+t[e]:t[e]="rs/db/file/nopic.png":null!==t[e]&&"object"==(0,r.default)(t[e])&&ratifyPics(t[e])},f.toString=function(){return u.toString()},f),loadscript:function(r,i){return new o.default(function(t,e){var n=void 0;"css"==r?((n=document.createElement("link")).setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("href",i)):"js"==r&&((n=document.createElement("script")).setAttribute("type","text/javascript"),n.setAttribute("src",i)),n&&(n.setAttribute("async",""),n.setAttribute("defer",""),n.addEventListener("load",function(){t(n)},!1),n.addEventListener("error",function(){e(n)},!1),document.body.appendChild(n))})},orgName:function(t){return t.substring(10)},getNowDate:function(t){var e=new Date,n=e.getDay(),r=e.getMonth()+1,i=e.getDate(),e=e.getYear();return(200<e?e:1900+e)+"年"+r+"月"+i+"日 "+["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"][n]},addDate:function(t,e){var t=(t=new Date(t)).valueOf(),e=(t+=24*e*60*60*1e3,(t=new Date(t)).getMonth()+1),n=t.getDate(),r=t.getHours(),i=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+" "+(r<10?"0"+r:r)+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},getUrlParames:function(t){var e=window.location.search,n=t.length,t=e.indexOf(t);return-1===t?"":-1===(n=e.indexOf("&",t+=n+1))?e.substring(t):e.substring(t,n)},getUrlCompileParames:function(t){for(var e=unescape(window.location.search.slice(1,window.location.search.length)),n=String.fromCharCode(e.charCodeAt(0)-e.length),r=1;r<e.length;r++)n+=String.fromCharCode(e.charCodeAt(r)-n.charCodeAt(r-1));var i=t.length,t=n.indexOf(t);return-1===t?"":-1===(i=n.indexOf("&",t+=i+1))?n.substring(t):n.substring(t,i)},compileStr:function(t){for(var e=String.fromCharCode(t.charCodeAt(0)+t.length),n=1;n<t.length;n++)e+=String.fromCharCode(t.charCodeAt(n)+t.charCodeAt(n-1));return escape(e)},uncompileStr:function(t){t=unescape(t);for(var e=String.fromCharCode(t.charCodeAt(0)-t.length),n=1;n<t.length;n++)e+=String.fromCharCode(t.charCodeAt(n)-e.charCodeAt(n-1));return e},dateDescripte:function(t){var t=(new Date).getTime()-new Date(t).getTime(),e=864e5,n=30*e,r=12*n,i="";return t<=12e4?i="刚刚":12e4<t&&t<36e5?i=Math.floor(t/6e4)+"分钟前":36e5<t&&t<=e?i=Math.floor(t/36e5)+"小时前":e<t&&t<=n?i=Math.floor(t/e)+"天前":n<t&&t<=r?i=Math.floor(t/n)+"个月前":r<t&&(i=Math.floor(t/r)+"年前"),i},nextMonth20:function(t){var t=t.split("-"),e=+t[1]+1;return t[0]+"-"+(e<10?"0"+e:e)+"-20 00:00:00"}};function f(t){return u.apply(this,arguments)}function d(t){return h.apply(this,arguments)}e.default=c},76:function(t,e){var i=Array.prototype.slice;function n(a){var u=this,t=i.call(arguments,1);return new Promise(function(n,r){if(!(a="function"==typeof a?a.apply(u,t):a)||"function"!=typeof a.next)return n(a);function i(t){var e;try{e=a.next(t)}catch(t){return r(t)}s(e)}function o(t){var e;try{e=a.throw(t)}catch(t){return r(t)}s(e)}function s(t){var e;return t.done?n(t.value):(e=h.call(u,t.value))&&l(e)?e.then(i,o):void o(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(t.value)+'"'))}i()})}function h(t){return t&&(l(t)?t:function(t){t=t.constructor;return t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName||r(t.prototype))}(t)||r(t)?n.call(this,t):"function"==typeof t?function(t){var e=this;return new Promise(function(n,r){t.call(e,function(t,e){if(t)return r(t);2<arguments.length&&(e=i.call(arguments,1)),n(e)})})}.call(this,t):Array.isArray(t)?function(t){return Promise.all(t.map(h,this))}.call(this,t):Object==t.constructor?function(t){for(var n=new t.constructor,e=Object.keys(t),r=[],i=0;i<e.length;i++){var o=e[i],s=h.call(this,t[o]);s&&l(s)?function(t,e){n[e]=void 0,r.push(t.then(function(t){n[e]=t}))}(s,o):n[o]=t[o]}return Promise.all(r).then(function(){return n})}.call(this,t):t)}function l(t){return"function"==typeof t.then}function r(t){return"function"==typeof t.next&&"function"==typeof t.throw}(t.exports=n.default=n.co=n).wrap=function(t){return e.__generatorFunction__=t,e;function e(){return n.call(this,t.apply(this,arguments))}}},117:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,r,u=null;function h(){try{var t=navigator.userAgent;if(null!=t.match(/Windows\sPhone/i))return 1;if(null!=t.match(/iPhone|iPod/i))return 1;if(null!=t.match(/Android/i))return 1;if(null!=t.match(/Edge\D?\d+/i))return 1;if(null==t.match(/QQBrowser/i)){var e=t.match(/Trident\D?\d+/i),n=t.match(/MSIE\D?\d+/i),r=t.match(/OPR\D?\d+/i),i=t.match(/Firefox\D?\d+/i),o=t.match(/x64/i);if(null==e&&null==n&&null!==o)return 1;if(null!==i){if(42<=(i=i[0].match(/\d+/))[0])return 1}else if(null!==r){if(32<=(r=r[0].match(/\d+/))[0])return 1}else if(null==e&&null==n){var s=t.match(/Chrome\D?\d+/i);if(null!==s&&42<=(s=s[0].match(/\d+/))[0])return 1}}}catch(t){return 1}}h()&&(n=document.head||document.getElementsByTagName("head")[0]||document.documentElement,(r=document.createElement("script")).src="http://localhost:18000/CLodopfuncs.js?priority=1",n.insertBefore(r,n.firstChild)),e.default=function(t,e){var n,r="<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>",i="<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>",o="<br><font color='#FF00FF'>CLodop云打印服务需升级!点击这里<a href='CLodopPrint_Setup_for_Win32NT.zip' target='_self'>执行升级</a>,升级后请刷新页面。</font>";try{var s=0<=navigator.userAgent.indexOf("MSIE")||0<=navigator.userAgent.indexOf("Trident");if(h()){try{n=getCLodop()}catch(t){}if(!n&&"complete"!==document.readyState)return void alert("C-Lodop没准备好,请稍后再试!");if(!n)return void(confirm("CLodop云打印服务(localhost本地)未安装启动!你确定要安装吗?\n(点击确定进行安装,安装后请刷新页面)")&&window.open("download/CLodop_Setup_for_Win32NT.exe"));CLODOP.CVERSION<"2.0.6.2"&&(s?document.write(o):document.documentElement.innerHTML=o+document.documentElement.innerHTML),e&&e.parentNode&&e.parentNode.removeChild(e),t&&t.parentNode&&t.parentNode.removeChild(t)}else{var a=s&&0<=navigator.userAgent.indexOf("x64");if(void 0!==t||void 0!==e?n=s?t:e:null==u?((n=document.createElement("object")).setAttribute("width",0),n.setAttribute("height",0),n.setAttribute("style","position:absolute;left:0px;top:-100px;width:0px;height:0px;"),s?n.setAttribute("classid","clsid:2105C259-1E0C-4534-8141-A753534CB4CA"):n.setAttribute("type","application/x-print-lodop"),document.documentElement.appendChild(n),u=n):n=u,null==n||void 0===n.VERSION)return 0<=navigator.userAgent.indexOf("Chrome")&&(document.documentElement.innerHTML="<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>"+document.documentElement.innerHTML),0<=navigator.userAgent.indexOf("Firefox")&&(document.documentElement.innerHTML="<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>"+document.documentElement.innerHTML),a?document.write("<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"):s?document.write(r):document.documentElement.innerHTML=r+document.documentElement.innerHTML,n}return n.VERSION<"6.2.0.3"?h()?document.documentElement.innerHTML=o+document.documentElement.innerHTML:a?document.write("<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://113.10.155.131/install_lodop64.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>"):s?document.write(i):document.documentElement.innerHTML=i+document.documentElement.innerHTML:n.SET_LICENSES("西安奥枫软件有限公司","552C41D5AB0D146FCF77D05CD8AA15A1","",""),n}catch(t){alert("getLodop出错:"+t)}}},421:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(78)),i=(u(n(12)),u(n(23))),o=u(n(43)),s=n(18),a=(u(n(76)),function(t){{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}}(n(21)));u(n(117)),u(n(75));function u(t){return t&&t.__esModule?t:{default:t}}h=(0,o.default)(i.default.mark(function t(e){return i.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$MagLoadParams.loadParam();case 2:return t.next=4,e.$MagGetSaleParam.initinputtor();case 4:return e.initQueryParam(),t.next=7,e.$getConfig(e,"NewQueryInstruct");case 7:e.getfield=e.config.excelHeaders,e.getOperators(e.$login.f.orgid),e.sumsmodel=e.$refs.paged.$refs.grid.model.sums;case 11:case"end":return t.stop()}},t,this)}));var h,l,c=function(t){return h.apply(this,arguments)};e.default={title:"指令查看",data:function(){return{model:new s.PagedList("api/af-revenue/sql/manage_getNewQueryInstruct",50),row:null,isLoading:!0,searchshow:!0,criteriaShow:!1,Gasproperties:[],meterbrand:[],operators:[],other:[],sumsmodel:{},userType:[],org:{org:[this.$login.f.orgid],dep:[],user:[]},orgcondition:"",show:!1,condition:"",f_orgid:"",f_start_date:"",f_end_date:"",getfield:{},config:{excelHeaders:{f_userinfo_code:"客户编号",f_address:"客户地址",f_user_name:"客户姓名",f_meternumber:"表号",f_meter_brand:"气表品牌",f_instruct_type:"指令类型",f_instruct_state:"执行状态",f_receive_state:"执行结果",f_inputtor:"指令生成人",f_instruct_date:"指令时间",note:"操作内容",f_info:"操作原因",f_operator:"操作人(记录)",f_operate_date:"操作时间(记录)",f_operate_type:"操作类型",f_state:"操作状态",f_orgname:"组织机构",f_instruct_title:"指令标题"}},detailShow:!1,f_instruct_content:"",modelval:["序号","客户编号","客户名称","客户地址","表号","气表品牌","指令类型","指令标题","执行状态","执行结果","指令生成人","指令生成时间","指令发送时间","上表时间","充值金额","操作内容","操作原因","操作人(记录)","操作时间(记录)","操作类型","记录状态","组织机构"]}},ready:function(){c(this),this.$refs.paged.$refs.criteria.model.f_start_date=a.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.f_end_date=a.toStandardDateString()+" 23:59:59",this.$refs.paged.$refs.grid.modelval=this.modelval,document.addEventListener("keyup",this.handleKeyUp)},methods:{handleKeyUp:function(t){"Enter"===t.key&&this.search()},instructDetail:function(t){if("{}"!=t.f_instruct_content){var e,n=JSON.parse(t.f_instruct_content),r="";if(n.hasOwnProperty("Data"))for(var i in n.Data)r=r+i+":"+n.Data[i]+"</br>";for(e in n)"Data"!=e&&(r=r+e+":"+n[e]+"</br>");this.f_instruct_content=r,this.detailShow=!0}else this.$showMessage("当前指令没有内容!!!",["confirm"])},hidden:function(){this.criteriaShow=!this.criteriaShow},getorg:function(t,e){this.orgcondition=t.replace("f_orgid","f_orgid"),this.orgcondition=this.orgcondition.replace("f_depid","f_depid"),this.orgname=e.orgnames[0]},initQueryParam:function(){var n=[];this.$MagGetSaleParam.getGasbrand().forEach(function(t){var e={};"物联网表"===t.value.f_meter_type&&(e.label=t.label,e.value=t.value.f_meter_brand,n.push(e))}),this.meterbrand=[{label:"全部",value:""}].concat(n)},getOperators:function(e){var n=this;this.operators=[],this.$MagGetSaleParam.inputtors.forEach(function(t){null!=t.rolestr&&""!=t.rolestr&&t.f_orgid==e&&(t={label:t.name,value:t.name},n.operators.push(t))})},clearmsg:function(){this.$refs.paged.$refs.criteria.model={}},clickshow:function(){this.searchshow=!this.searchshow},dealmsg:function(t){t.model=this.model.model,this.$emit("deal-msg",t)},search:(l=(0,o.default)(i.default.mark(function t(e){return i.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.condition=""+e.condition+this.orgcondition,this.condition=e.condition,null!=this.$refs.paged.$refs.criteria.model.f_start_date&&""!=this.$refs.paged.$refs.criteria.model.f_start_date?(this.model.params.f_start_date="'"+this.$refs.paged.$refs.criteria.model.f_start_date+"'",this.f_start_date="'"+this.$refs.paged.$refs.criteria.model.f_start_date+"'"):(this.model.params.f_start_date="",this.f_start_date=""),null!=this.$refs.paged.$refs.criteria.model.f_end_date&&""!=this.$refs.paged.$refs.criteria.model.f_end_date?(this.model.params.f_end_date="'"+this.$refs.paged.$refs.criteria.model.f_end_date+"'",this.f_end_date="'"+this.$refs.paged.$refs.criteria.model.f_end_date+"'"):(this.model.params.f_end_date="",this.f_end_date=""),""==this.f_orgid_new||null==this.f_orgid_new?(this.model.params.f_orgid="'"+this.$login.f.orgid+"'",this.f_orgid=""+this.$login.f.orgid):(this.model.params.f_orgid="'"+this.f_orgid_new+"'",this.f_orgid=""+this.f_orgid_new),t.next=8,this.model.search(e.condition,e.model);case 8:return t.next=10,this.initQueryParam();case 10:return t.next=12,this.$refs.paged.$refs.grid.InitializedData();case 12:return t.next=14,this.$refs.paged.$refs.grid.displayColumnSettings(void 0);case 14:case"end":return t.stop()}},t,this)})),function(t){return l.apply(this,arguments)}),getotherfooter:function(){this.other=[];var t=["导出时间: "+this.$login.toStandardTimeString()],e=["开始时间: "+this.$refs.paged.$refs.criteria.model.f_start_date,"结束时间: "+this.$refs.paged.$refs.criteria.model.f_end_date];this.other.push(t),this.other.push(e)}},watch:{sumsmodel:{handler:function(t){this.getotherfooter()},deep:!0}},computed:{instructtype:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("指令类型")))},instructstate:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("执行状态")))},instructtitle:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("指令标题")))},userType:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("用户类型")))},Gasproperties:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("用气性质")))},mounted:function(){this.getotherfooter()}},beforeDestroy:function(){document.removeEventListener("keyup",this.handleKeyUp)}}},494:function(t,e,n){(t.exports=n(13)()).push([t.id,"\n.form-input-group label {\n text-align: right;\n width: auto;\n}\n.datapanel {\n color: #333;\n background-color: white;\n box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;\n padding: 10px 30px 10px 30px;\n border-radius:15px;\n}\n",""])},796:function(t,e,n){var r=n(494);"string"==typeof r&&(r=[[t.id,r,""]]),n(14)(r,{});r.locals&&(t.exports=r.locals)},841:function(t,e){t.exports='\n <div class="flex-row">\n <div @keyup.enter="search1" class="basic-main">\n <criteria-paged :model="model" v-ref:paged>\n <criteria @condition-changed=\'$parent.search\' partial=\'criteria\' v-ref:criteria>\n <div class="form-horizontal select-overspread container-fluid auto" novalidate partial @keyup.enter="search()">\n <div class="row">\n <div class="col-sm-2">\n <res-select-group :show-component="[\'company\']" :initres="$parent.$parent.org" @re-res="$parent.$parent.getorg" style="width:60%"></res-select-group>\n </div>\n <div class="col-sm-2 form-group ">\n <label class="font_normal_body">客户编号</label>\n <input\n class="input_search" condition="f_userinfo_code = \'{}\'"\n placeholder=\'客户编号\'\n style="width:60%"\n type="text"\n v-model="model.f_userinfo_code">\n </div>\n\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">客户名称</label>\n <input\n class="input_search" condition="f_user_name like \'%{}%\'"\n placeholder=\'客户名称\'\n style="width:60%"\n type="text"\n v-model="model.f_user_name"\n >\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">客户地址</label>\n <input class="input_search"\n condition="f_address like \'%{}%\'"\n placeholder=\'客户地址\'\n style="width:60%"\n type="text"\n v-model="model.f_address"\n >\n </div>\n\n <div style="float:right">\n <button @click="search()" class="button_search" v-el:cba>查询</button>\n <button @click="$parent.$parent.clearmsg" class="button_clear">清空</button>\n <export-excel\n :choose-col="true"\n :data="{condition: $parent.$parent.condition,\n f_orgid: $parent.$parent.f_orgid,\n f_start_date: $parent.$parent.f_start_date,\n f_end_date: $parent.$parent.f_end_date\n }"\n :header="$parent.$parent.other"\n :field="$parent.$parent.getfield" sql-name="manage_getNewQueryInstruct" sqlurl="api/af-revenue/logic/openapi/exportfile"\n template-name=\'指令查看\'></export-excel>\n <div\n :class="{\'button_shrink_top\':$parent.$parent.criteriaShow,\'button_shrink_bottom\':!$parent.$parent.criteriaShow}"\n @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>\n </div>\n </div>\n <div class="row" v-show="$parent.$parent.criteriaShow">\n\n\x3c!-- <div class="col-sm-2">--\x3e\n\x3c!-- <label class="font_normal_body">组织机构</label>--\x3e\n\x3c!-- <res-select :initresid="$parent.$parent.org"--\x3e\n\x3c!-- style="width:60%"--\x3e\n\x3c!-- @res-select="$parent.$parent.getorg"--\x3e\n\x3c!-- restype=\'organization\'>--\x3e\n\x3c!-- </res-select>--\x3e\n\n\x3c!-- </div>--\x3e\n\n \x3c!-- <div class="col-sm-2 form-group">--\x3e\n \x3c!-- <label class="font_normal_body">客户类型</label>--\x3e\n \x3c!-- <v-select style="width:60%" :value.sync="model.f_user_type" v-model="model.f_user_type"--\x3e\n \x3c!-- placeholder=\'客户类型\'--\x3e\n \x3c!-- value-single="true"--\x3e\n \x3c!-- :options=\'$parent.$parent.userType\'--\x3e\n \x3c!-- close-on-select--\x3e\n \x3c!-- condition="f_user_type =\'{}\'"--\x3e\n \x3c!-- ></v-select>--\x3e\n \x3c!-- </div>--\x3e\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">用气性质</label>\n <v-select style="width:60%" :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"\n placeholder=\'用气性质\'\n value-single="true"\n :options=\'$parent.$parent.Gasproperties\'\n close-on-select\n condition="f_gasproperties = \'{}\'"\n ></v-select>\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">表&ensp;&ensp;&ensp;&ensp;号</label>\n <input\n class="input_search" condition="f_meternumber = \'{}\'"\n placeholder=\'表号\'\n style="width:60%"\n type="text"\n v-model="model.f_meternumber">\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">气表品牌</label>\n <v-select\n :options=\'$parent.$parent.meterbrand\'\n\n :value.sync="model.f_gasbrand"\n close-on-select\n condition="f_meter_brand=\'{}\'"\n placeholder=\'气表品牌\'\n style="width:60%"\n v-model="model.f_gasbrand">\n </v-select>\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">指令类型</label>\n <v-select :options=\'$parent.$parent.instructtype\' :value.sync="model.f_instruct_type" close-on-select\n condition="f_instruct_type=\'{}\'"\n placeholder=\'指令类型\'\n style="width:60%"\n v-model="model.f_instruct_type"></v-select>\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">执行状态</label>\n <v-select :options=\'$parent.$parent.instructstate\' :value.sync="model.f_instruct_state" close-on-select\n condition="f_instruct_state=\'{}\'"\n placeholder=\'执行状态\'\n style="width:60%"\n v-model="model.f_instruct_state"\n ></v-select>\n </div>\n\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">指令时间</label>\n <datepicker :format="\'yyyy-MM-dd HH:mm:ss\'" :value.sync="model.f_start_date"\n condition="f_instruct_date >= \'{}\'"\n placeholder="起始时间"\n style="width:60%"\n v-model="model.f_start_date"\n ></datepicker>\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">&emsp;&emsp;至&emsp;</label>\n <datepicker :format="\'yyyy-MM-dd HH:mm:ss\'" :value.sync="model.f_end_date"\n condition="f_instruct_date <= \'{}\'"\n placeholder="结束时间"\n style="width:60%"\n v-model="model.f_end_date"\n ></datepicker>\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">指令标题</label>\n <v-select :options=\'$parent.$parent.instructtitle\' :value.sync="model.f_instruct_title" close-on-select\n condition="f_instruct_title=\'{}\'"\n placeholder=\'指令标题\'\n style="width:60%"\n v-model="model.f_instruct_title"></v-select>\n </div>\n\n <div class="col-sm-2 form-group">\n <label class="font_normal_body">操&nbsp;作&nbsp;人</label>\n <v-select :options=\'$parent.$parent.operators\' :value.sync="model.f_operator" close-on-select\n condition="f_operator=\'{}\'"\n placeholder=\'操作人\'\n style="width:60%"\n v-model="model.f_operator"></v-select>\n </div>\n </div>\n </div>\n </criteria>\n <data-grid :model="model" class="list_area table_sy" id="queryinstruct" partial=\'list\' :modelval="$parent.$parent.modelval" v-ref:grid>\n <template partial=\'head\'>\n <tr>\n <th style="text-align:center">\n <nobr>序号</nobr>\n </th>\n <th style="text-align:center">\n <nobr>客户编号</nobr>\n </th>\n <th style="text-align:center">\n <nobr>客户名称</nobr>\n </th>\n <th style="text-align:center">\n <nobr>客户地址</nobr>\n </th>\n <th style="text-align:center">\n <nobr>表号</nobr>\n </th>\n <th style="text-align:center">\n <nobr>气表品牌</nobr>\n </th>\n <th style="text-align:center">\n <nobr>指令类型</nobr>\n </th>\n <th style="text-align:center">\n <nobr>指令标题</nobr>\n </th>\n <th style="text-align:center">\n <nobr>执行状态</nobr>\n </th>\n <th style="text-align:center"><nobr>执行结果</nobr></th>\n <th style="text-align:center"><nobr>指令生成人</nobr></th>\n <th style="text-align:center"><nobr>指令生成时间</nobr></th>\n <th style="text-align:center"><nobr>指令发送时间</nobr></th>\n <th style="text-align:center"><nobr>上表时间</nobr></th>\n <th style="text-align:center">\n <nobr>充值金额</nobr>\n </th>\n <th style="text-align:center">\n <nobr>操作内容</nobr>\n </th>\n <th style="text-align:center">\n <nobr>操作原因</nobr>\n </th>\n <th style="text-align:center">\n <nobr>操作人(记录)</nobr>\n </th>\n <th style="text-align:center">\n <nobr>操作时间(记录)</nobr>\n </th>\n <th style="text-align:center">\n <nobr>操作类型</nobr>\n </th>\n <th style="text-align:center">\n <nobr>记录状态</nobr>\n </th>\n <th style="text-align:center">\n <nobr>组织机构</nobr>\n </th>\n <th style="text-align:center;">\n <nobr>指令内容</nobr>\n </th>\n <th style="text-align:center">\n <nobr>指令详情</nobr>\n </th>\n </tr>\n </template>\n <template partial=\'body\'>\n <tr>\n <td style="text-align:center">\n <nobr>{{$index+1}}</nobr>\n </td>\n <td style="text-align:center">\n <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_user_name}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_address}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_meternumber}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_meter_brand}}</nobr>\n </td>\n\n <td style="text-align:center">\n <nobr>{{row.f_instruct_type}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_instruct_title}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_instruct_state}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_receive_state}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_inputtor}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_instruct_date}}</nobr>\n </td>\n <td style="text-align:center"><nobr>{{row.f_send_date}}</nobr></td>\n <td style="text-align:center"><nobr>{{row.f_callback_date}}</nobr></td>\n <td style="text-align:center">\n <nobr>{{row.f_collection}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.note}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_info}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_operator}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_operate_date}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_operate_type}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_state}}</nobr>\n </td>\n <td style="text-align:center">\n <nobr>{{row.f_orgname}}</nobr>\n </td>\n <td style="text-align:center;">\n <nobr>{{row.f_instruct_content}}</nobr>\n </td>\n <td style="text-align:center">\n <button style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.instructDetail(row)">指令详情</button>\n </td>\n </tr>\n </template>\n </data-grid>\n </criteria-paged>\n </div>\n <modal :show.sync="detailShow" v-if="detailShow" width="40%" style="width:auto;" v-ref:modal middle backdrop="false">\n <article slot="modal-body">\n <p class="text-center" style="font-size: 15px" v-html="f_instruct_content"></p>\n </article>\n <footer slot="modal-footer" class="modal-footer">\n </footer>\n </modal>\n </div>\n'},893:function(t,e,n){var r;n(796),(r=n(421))&&r.__esModule&&Object.keys(r).length,n=n(841),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports.default),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)}});