zartui 0.1.113 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1518) hide show
  1. package/README.md +6 -2
  2. package/es/badge/Badge.d.ts +66 -0
  3. package/es/badge/Badge.mjs +95 -0
  4. package/es/badge/index.css +1 -1
  5. package/es/badge/index.d.ts +49 -0
  6. package/es/badge/index.mjs +8 -0
  7. package/es/badge/style/index.d.ts +1 -0
  8. package/es/badge/style/index.mjs +2 -0
  9. package/es/button/Button.d.ts +154 -0
  10. package/es/button/Button.mjs +166 -0
  11. package/es/button/index.css +1 -1
  12. package/es/button/index.d.ts +113 -0
  13. package/es/button/index.mjs +8 -0
  14. package/es/button/style/index.d.ts +1 -0
  15. package/es/button/style/index.mjs +5 -0
  16. package/es/button/types.d.ts +5 -0
  17. package/es/{style/var.css → button/types.mjs} +0 -0
  18. package/es/cell/Cell.d.ts +128 -0
  19. package/es/cell/Cell.mjs +132 -0
  20. package/es/cell/index.css +1 -1
  21. package/es/cell/index.d.ts +74 -0
  22. package/es/cell/index.mjs +8 -0
  23. package/es/cell/style/index.d.ts +1 -0
  24. package/es/cell/style/index.mjs +4 -0
  25. package/es/col/Col.d.ts +38 -0
  26. package/es/col/Col.mjs +63 -0
  27. package/es/col/index.css +1 -1
  28. package/es/col/index.d.ts +31 -0
  29. package/es/col/index.mjs +8 -0
  30. package/es/col/style/index.d.ts +1 -0
  31. package/es/col/style/index.mjs +3 -0
  32. package/es/composables/on-popup-reopen.d.ts +3 -0
  33. package/es/composables/on-popup-reopen.mjs +16 -0
  34. package/es/composables/use-expose.d.ts +1 -0
  35. package/es/composables/use-expose.mjs +11 -0
  36. package/es/composables/use-height.d.ts +2 -0
  37. package/es/composables/use-height.mjs +20 -0
  38. package/es/composables/use-id.d.ts +1 -0
  39. package/es/composables/use-id.mjs +13 -0
  40. package/es/composables/use-lazy-render.d.ts +2 -0
  41. package/es/composables/use-lazy-render.mjs +17 -0
  42. package/es/composables/use-lock-scroll.d.ts +2 -0
  43. package/es/composables/use-lock-scroll.mjs +56 -0
  44. package/es/composables/use-placeholder.d.ts +3 -0
  45. package/es/composables/use-placeholder.mjs +14 -0
  46. package/es/composables/use-refs.d.ts +2 -0
  47. package/es/composables/use-refs.mjs +20 -0
  48. package/es/composables/use-route.d.ts +13 -0
  49. package/es/composables/use-route.mjs +29 -0
  50. package/es/composables/use-tab-status.d.ts +3 -0
  51. package/es/composables/use-tab-status.mjs +7 -0
  52. package/es/composables/use-touch.d.ts +16 -0
  53. package/es/composables/use-touch.mjs +61 -0
  54. package/es/composables/use-visibility-change.d.ts +2 -0
  55. package/es/composables/use-visibility-change.mjs +30 -0
  56. package/es/config-provider/ConfigProvider.d.ts +47 -0
  57. package/es/config-provider/ConfigProvider.mjs +64 -0
  58. package/es/config-provider/index.d.ts +33 -0
  59. package/es/config-provider/index.mjs +8 -0
  60. package/es/config-provider/style/index.d.ts +1 -0
  61. package/es/config-provider/style/index.mjs +1 -0
  62. package/es/divider/Divider.d.ts +40 -0
  63. package/es/divider/Divider.mjs +31 -0
  64. package/es/divider/index.css +1 -1
  65. package/es/divider/index.d.ts +32 -0
  66. package/es/divider/index.mjs +8 -0
  67. package/es/divider/style/index.d.ts +1 -0
  68. package/es/divider/style/index.mjs +2 -0
  69. package/es/empty/Empty.d.ts +29 -0
  70. package/es/empty/Empty.mjs +58 -0
  71. package/es/empty/Images.d.ts +4 -0
  72. package/es/empty/Images.mjs +2104 -0
  73. package/es/empty/index.css +1 -1
  74. package/es/empty/index.d.ts +24 -0
  75. package/es/empty/index.mjs +8 -0
  76. package/es/empty/style/index.d.ts +1 -0
  77. package/es/empty/style/index.mjs +2 -0
  78. package/es/icon/Icon.d.ts +45 -0
  79. package/es/icon/Icon.mjs +59 -0
  80. package/es/icon/config.d.ts +41 -0
  81. package/es/icon/config.mjs +139 -0
  82. package/es/icon/index.css +1 -1
  83. package/es/icon/index.d.ts +35 -0
  84. package/es/icon/index.mjs +8 -0
  85. package/es/icon/style/index.d.ts +1 -0
  86. package/es/icon/style/index.mjs +3 -0
  87. package/es/index.d.ts +35 -0
  88. package/es/index.mjs +105 -0
  89. package/es/list/List.d.ts +74 -0
  90. package/es/list/List.mjs +147 -0
  91. package/es/list/index.css +1 -1
  92. package/es/list/index.d.ts +59 -0
  93. package/es/list/index.mjs +8 -0
  94. package/es/list/style/index.d.ts +1 -0
  95. package/es/list/style/index.mjs +4 -0
  96. package/es/list/types.d.ts +7 -0
  97. package/es/{telemetry/index.css → list/types.mjs} +0 -0
  98. package/es/loading/Loading.d.ts +39 -0
  99. package/es/loading/Loading.mjs +114 -0
  100. package/es/loading/index.css +1 -1
  101. package/es/loading/index.d.ts +31 -0
  102. package/es/loading/index.mjs +8 -0
  103. package/es/loading/style/index.d.ts +1 -0
  104. package/es/loading/style/index.mjs +2 -0
  105. package/es/locale/index.d.ts +7 -0
  106. package/es/locale/index.mjs +24 -0
  107. package/es/locale/lang/en-US.d.ts +62 -0
  108. package/es/locale/lang/en-US.mjs +64 -0
  109. package/es/locale/lang/zh-CN.d.ts +62 -0
  110. package/es/locale/lang/zh-CN.mjs +64 -0
  111. package/es/locale/style/index.d.ts +1 -0
  112. package/es/locale/style/index.mjs +1 -0
  113. package/es/notice-bar/NoticeBar.d.ts +71 -0
  114. package/es/notice-bar/NoticeBar.mjs +165 -0
  115. package/es/notice-bar/index.css +1 -1
  116. package/es/notice-bar/index.d.ts +56 -0
  117. package/es/notice-bar/index.mjs +8 -0
  118. package/es/notice-bar/style/index.d.ts +1 -0
  119. package/es/notice-bar/style/index.mjs +4 -0
  120. package/es/notice-bar/types.d.ts +7 -0
  121. package/es/{telemetry/index.less → notice-bar/types.mjs} +0 -0
  122. package/es/notify/Notify.d.ts +134 -0
  123. package/es/notify/Notify.mjs +44 -0
  124. package/es/notify/function-call.d.ts +6 -0
  125. package/es/notify/function-call.mjs +68 -0
  126. package/es/notify/index.css +1 -0
  127. package/es/notify/index.d.ts +99 -0
  128. package/es/notify/index.mjs +18 -0
  129. package/es/notify/style/index.d.ts +1 -0
  130. package/es/notify/style/index.mjs +6 -0
  131. package/es/notify/types.d.ts +17 -0
  132. package/{lib/style/var.css → es/notify/types.mjs} +0 -0
  133. package/es/number-keyboard/NumberKeyboard.d.ts +162 -0
  134. package/es/number-keyboard/NumberKeyboard.mjs +243 -0
  135. package/es/number-keyboard/NumberKeyboardKey.d.ts +24 -0
  136. package/es/number-keyboard/NumberKeyboardKey.mjs +89 -0
  137. package/es/number-keyboard/index.css +1 -1
  138. package/es/number-keyboard/index.d.ts +119 -0
  139. package/es/number-keyboard/index.mjs +8 -0
  140. package/es/number-keyboard/style/index.d.ts +1 -0
  141. package/es/number-keyboard/style/index.mjs +9 -0
  142. package/es/overlay/Overlay.d.ts +51 -0
  143. package/es/overlay/Overlay.mjs +47 -0
  144. package/es/overlay/index.css +1 -1
  145. package/es/overlay/index.d.ts +40 -0
  146. package/es/overlay/index.mjs +8 -0
  147. package/es/overlay/style/index.d.ts +1 -0
  148. package/es/overlay/style/index.mjs +2 -0
  149. package/es/password-input/PasswordInput.d.ts +63 -0
  150. package/es/password-input/PasswordInput.mjs +78 -0
  151. package/es/password-input/index.css +1 -1
  152. package/es/password-input/index.d.ts +49 -0
  153. package/es/password-input/index.mjs +8 -0
  154. package/es/password-input/style/index.d.ts +1 -0
  155. package/es/password-input/style/index.mjs +2 -0
  156. package/es/popup/Popup.d.ts +165 -0
  157. package/es/popup/Popup.mjs +205 -0
  158. package/es/popup/index.css +1 -1
  159. package/es/popup/index.d.ts +123 -0
  160. package/es/popup/index.mjs +8 -0
  161. package/es/popup/shared.d.ts +30 -0
  162. package/es/popup/shared.mjs +22 -0
  163. package/es/popup/style/index.d.ts +1 -0
  164. package/es/popup/style/index.mjs +5 -0
  165. package/es/popup/types.d.ts +8 -0
  166. package/{lib/telemetry/index.css → es/popup/types.mjs} +0 -0
  167. package/es/pull-refresh/PullRefresh.d.ts +75 -0
  168. package/es/pull-refresh/PullRefresh.mjs +191 -0
  169. package/es/pull-refresh/index.css +1 -1
  170. package/es/pull-refresh/index.d.ts +58 -0
  171. package/es/pull-refresh/index.mjs +8 -0
  172. package/es/pull-refresh/style/index.d.ts +1 -0
  173. package/es/pull-refresh/style/index.mjs +3 -0
  174. package/es/rate/Rate.d.ts +107 -0
  175. package/es/rate/Rate.mjs +217 -0
  176. package/es/rate/index.css +1 -1
  177. package/es/rate/index.d.ts +80 -0
  178. package/es/rate/index.mjs +8 -0
  179. package/es/rate/style/index.d.ts +1 -0
  180. package/es/rate/style/index.mjs +4 -0
  181. package/es/row/Row.d.ts +64 -0
  182. package/es/row/Row.mjs +91 -0
  183. package/es/row/index.css +1 -1
  184. package/es/row/index.d.ts +42 -0
  185. package/es/row/index.mjs +8 -0
  186. package/es/row/style/index.d.ts +1 -0
  187. package/es/row/style/index.mjs +2 -0
  188. package/es/stepper/Stepper.d.ts +181 -0
  189. package/es/stepper/Stepper.mjs +258 -0
  190. package/es/stepper/index.css +1 -1
  191. package/es/stepper/index.d.ts +132 -0
  192. package/es/stepper/index.mjs +8 -0
  193. package/es/stepper/style/index.d.ts +1 -0
  194. package/es/stepper/style/index.mjs +4 -0
  195. package/es/sticky/Sticky.d.ts +58 -0
  196. package/es/sticky/Sticky.mjs +119 -0
  197. package/es/sticky/index.css +1 -1
  198. package/es/sticky/index.d.ts +45 -0
  199. package/es/sticky/index.mjs +8 -0
  200. package/es/sticky/style/index.d.ts +1 -0
  201. package/es/sticky/style/index.mjs +2 -0
  202. package/es/style/animation.css +1 -1
  203. package/es/style/base.css +1 -1
  204. package/es/style/css-variables.css +1 -0
  205. package/es/style/normalize.css +1 -1
  206. package/es/swipe/Swipe.d.ts +121 -0
  207. package/es/swipe/Swipe.mjs +353 -0
  208. package/es/swipe/index.css +1 -1
  209. package/es/swipe/index.d.ts +90 -0
  210. package/es/swipe/index.mjs +8 -0
  211. package/es/swipe/style/index.d.ts +1 -0
  212. package/es/swipe/style/index.mjs +2 -0
  213. package/es/swipe/types.d.ts +31 -0
  214. package/{lib/telemetry/index.less → es/swipe/types.mjs} +0 -0
  215. package/es/swipe-item/SwipeItem.d.ts +2 -0
  216. package/es/swipe-item/SwipeItem.mjs +82 -0
  217. package/es/swipe-item/index.css +1 -1
  218. package/es/swipe-item/index.d.ts +7 -0
  219. package/es/swipe-item/index.mjs +8 -0
  220. package/es/swipe-item/style/index.d.ts +1 -0
  221. package/es/swipe-item/style/index.mjs +3 -0
  222. package/es/switch/Switch.d.ts +58 -0
  223. package/es/switch/Switch.mjs +85 -0
  224. package/es/switch/index.css +1 -1
  225. package/es/switch/index.d.ts +46 -0
  226. package/es/switch/index.mjs +8 -0
  227. package/es/switch/style/index.d.ts +1 -0
  228. package/es/switch/style/index.mjs +3 -0
  229. package/es/tab/Tab.d.ts +58 -0
  230. package/es/tab/Tab.mjs +113 -0
  231. package/es/tab/index.css +1 -1
  232. package/es/tab/index.d.ts +45 -0
  233. package/es/tab/index.mjs +8 -0
  234. package/es/tab/style/index.d.ts +1 -0
  235. package/es/tab/style/index.mjs +7 -0
  236. package/es/tabs/Tabs.d.ts +154 -0
  237. package/es/tabs/Tabs.mjs +352 -0
  238. package/es/tabs/TabsContent.d.ts +43 -0
  239. package/es/tabs/TabsContent.mjs +64 -0
  240. package/es/tabs/TabsTitle.d.ts +45 -0
  241. package/es/tabs/TabsTitle.mjs +90 -0
  242. package/es/tabs/index.css +1 -1
  243. package/es/tabs/index.d.ts +114 -0
  244. package/es/tabs/index.mjs +8 -0
  245. package/es/tabs/style/index.d.ts +1 -0
  246. package/es/tabs/style/index.mjs +5 -0
  247. package/es/tabs/types.d.ts +23 -0
  248. package/es/tabs/types.mjs +0 -0
  249. package/es/tabs/utils.d.ts +3 -0
  250. package/es/tabs/utils.mjs +37 -0
  251. package/es/toast/Toast.d.ts +112 -0
  252. package/es/toast/Toast.mjs +119 -0
  253. package/es/toast/function-call.d.ts +10 -0
  254. package/es/toast/function-call.mjs +142 -0
  255. package/es/toast/index.css +1 -1
  256. package/es/toast/index.d.ts +79 -0
  257. package/es/toast/index.mjs +26 -0
  258. package/es/toast/lock-click.d.ts +1 -0
  259. package/es/toast/lock-click.mjs +17 -0
  260. package/es/toast/style/index.d.ts +1 -0
  261. package/es/toast/style/index.mjs +7 -0
  262. package/es/toast/types.d.ts +36 -0
  263. package/es/toast/types.mjs +0 -0
  264. package/es/utils/basic.d.ts +18 -0
  265. package/es/utils/basic.mjs +32 -0
  266. package/es/utils/constant.d.ts +8 -0
  267. package/es/utils/constant.mjs +18 -0
  268. package/es/utils/create.d.ts +17 -0
  269. package/es/utils/create.mjs +50 -0
  270. package/es/utils/deep-assign.d.ts +3 -0
  271. package/es/utils/deep-assign.mjs +22 -0
  272. package/es/utils/deep-clone.d.ts +1 -0
  273. package/es/utils/deep-clone.mjs +20 -0
  274. package/es/utils/dom.d.ts +12 -0
  275. package/es/utils/dom.mjs +67 -0
  276. package/es/utils/format.d.ts +13 -0
  277. package/es/utils/format.mjs +120 -0
  278. package/es/utils/index.d.ts +9 -0
  279. package/es/utils/index.mjs +9 -0
  280. package/es/utils/interceptor.d.ts +6 -0
  281. package/es/utils/interceptor.mjs +29 -0
  282. package/es/utils/mount-component.d.ts +14 -0
  283. package/es/utils/mount-component.mjs +39 -0
  284. package/es/utils/props.d.ts +31 -0
  285. package/es/utils/props.mjs +36 -0
  286. package/es/utils/validate.d.ts +9 -0
  287. package/es/utils/validate.mjs +22 -0
  288. package/es/utils/with-install.d.ts +13 -0
  289. package/es/utils/with-install.mjs +12 -0
  290. package/es/vue-sfc-shim.d.ts +6 -0
  291. package/es/vue-tsx-shim.d.ts +16 -0
  292. package/lib/badge/Badge.d.ts +66 -0
  293. package/lib/badge/Badge.js +114 -0
  294. package/lib/badge/index.css +1 -1
  295. package/lib/badge/index.d.ts +49 -0
  296. package/lib/badge/index.js +31 -74
  297. package/lib/badge/style/index.d.ts +1 -0
  298. package/lib/badge/style/index.js +2 -2
  299. package/lib/button/Button.d.ts +154 -0
  300. package/lib/button/Button.js +185 -0
  301. package/lib/button/index.css +1 -1
  302. package/lib/button/index.d.ts +113 -0
  303. package/lib/button/index.js +31 -201
  304. package/lib/button/style/index.d.ts +1 -0
  305. package/lib/button/style/index.js +5 -5
  306. package/lib/button/types.d.ts +5 -0
  307. package/lib/button/types.js +15 -0
  308. package/lib/cell/Cell.d.ts +128 -0
  309. package/lib/cell/Cell.js +151 -0
  310. package/lib/cell/index.css +1 -1
  311. package/lib/cell/index.d.ts +74 -0
  312. package/lib/cell/index.js +33 -153
  313. package/lib/cell/style/index.d.ts +1 -0
  314. package/lib/cell/style/index.js +4 -4
  315. package/lib/col/Col.d.ts +38 -0
  316. package/lib/col/Col.js +82 -0
  317. package/lib/col/index.css +1 -1
  318. package/lib/col/index.d.ts +31 -0
  319. package/lib/col/index.js +31 -61
  320. package/lib/col/style/index.d.ts +1 -0
  321. package/lib/col/style/index.js +3 -2
  322. package/lib/composables/on-popup-reopen.d.ts +3 -0
  323. package/lib/composables/on-popup-reopen.js +35 -0
  324. package/lib/composables/use-expose.d.ts +1 -0
  325. package/lib/composables/use-expose.js +30 -0
  326. package/lib/composables/use-height.d.ts +2 -0
  327. package/lib/composables/use-height.js +39 -0
  328. package/lib/composables/use-id.d.ts +1 -0
  329. package/lib/composables/use-id.js +32 -0
  330. package/lib/composables/use-lazy-render.d.ts +2 -0
  331. package/lib/composables/use-lazy-render.js +36 -0
  332. package/lib/composables/use-lock-scroll.d.ts +2 -0
  333. package/lib/composables/use-lock-scroll.js +75 -0
  334. package/lib/composables/use-placeholder.d.ts +3 -0
  335. package/lib/composables/use-placeholder.js +33 -0
  336. package/lib/composables/use-refs.d.ts +2 -0
  337. package/lib/composables/use-refs.js +39 -0
  338. package/lib/composables/use-route.d.ts +13 -0
  339. package/lib/composables/use-route.js +46 -0
  340. package/lib/composables/use-tab-status.d.ts +3 -0
  341. package/lib/composables/use-tab-status.js +26 -0
  342. package/lib/composables/use-touch.d.ts +16 -0
  343. package/lib/composables/use-touch.js +80 -0
  344. package/lib/composables/use-visibility-change.d.ts +2 -0
  345. package/lib/composables/use-visibility-change.js +49 -0
  346. package/lib/config-provider/ConfigProvider.d.ts +47 -0
  347. package/lib/config-provider/ConfigProvider.js +83 -0
  348. package/lib/config-provider/index.d.ts +33 -0
  349. package/lib/config-provider/index.js +33 -0
  350. package/lib/config-provider/style/index.d.ts +1 -0
  351. package/lib/config-provider/style/index.js +1 -0
  352. package/lib/divider/Divider.d.ts +40 -0
  353. package/lib/divider/Divider.js +50 -0
  354. package/lib/divider/index.css +1 -1
  355. package/lib/divider/index.d.ts +32 -0
  356. package/lib/divider/index.js +31 -55
  357. package/lib/divider/style/index.d.ts +1 -0
  358. package/lib/divider/style/index.js +2 -2
  359. package/lib/empty/Empty.d.ts +29 -0
  360. package/lib/empty/Empty.js +77 -0
  361. package/lib/empty/Images.d.ts +4 -0
  362. package/lib/empty/Images.js +2123 -0
  363. package/lib/empty/index.css +1 -1
  364. package/lib/empty/index.d.ts +24 -0
  365. package/lib/empty/index.js +31 -117
  366. package/lib/empty/style/index.d.ts +1 -0
  367. package/lib/empty/style/index.js +2 -2
  368. package/lib/icon/Icon.d.ts +45 -0
  369. package/lib/icon/Icon.js +78 -0
  370. package/lib/icon/config.d.ts +41 -0
  371. package/lib/icon/config.js +158 -0
  372. package/lib/icon/index.css +1 -1
  373. package/lib/icon/index.d.ts +35 -0
  374. package/lib/icon/index.js +30 -84
  375. package/lib/icon/style/index.d.ts +1 -0
  376. package/lib/icon/style/index.js +3 -3
  377. package/lib/index.css +1 -1
  378. package/lib/index.d.ts +35 -0
  379. package/lib/index.js +119 -332
  380. package/lib/list/List.d.ts +74 -0
  381. package/lib/list/List.js +166 -0
  382. package/lib/list/index.css +1 -1
  383. package/lib/list/index.d.ts +59 -0
  384. package/lib/list/index.js +31 -194
  385. package/lib/list/style/index.d.ts +1 -0
  386. package/lib/list/style/index.js +4 -4
  387. package/lib/list/types.d.ts +7 -0
  388. package/lib/list/types.js +15 -0
  389. package/lib/loading/Loading.d.ts +39 -0
  390. package/lib/loading/Loading.js +133 -0
  391. package/lib/loading/index.css +1 -1
  392. package/lib/loading/index.d.ts +31 -0
  393. package/lib/loading/index.js +31 -164
  394. package/lib/loading/style/index.d.ts +1 -0
  395. package/lib/loading/style/index.js +2 -2
  396. package/lib/locale/index.d.ts +7 -0
  397. package/lib/locale/index.js +44 -33
  398. package/lib/locale/lang/en-US.d.ts +62 -0
  399. package/lib/locale/lang/en-US.js +64 -76
  400. package/lib/locale/lang/zh-CN.d.ts +62 -0
  401. package/lib/locale/lang/zh-CN.js +64 -109
  402. package/lib/locale/style/index.d.ts +1 -0
  403. package/lib/locale/style/index.js +1 -1
  404. package/lib/notice-bar/NoticeBar.d.ts +71 -0
  405. package/lib/notice-bar/NoticeBar.js +190 -0
  406. package/lib/notice-bar/index.css +1 -1
  407. package/lib/notice-bar/index.d.ts +56 -0
  408. package/lib/notice-bar/index.js +31 -295
  409. package/lib/notice-bar/style/index.d.ts +1 -0
  410. package/lib/notice-bar/style/index.js +4 -4
  411. package/lib/notice-bar/types.d.ts +7 -0
  412. package/lib/notice-bar/types.js +15 -0
  413. package/lib/notify/Notify.d.ts +134 -0
  414. package/lib/notify/Notify.js +63 -0
  415. package/lib/notify/function-call.d.ts +6 -0
  416. package/lib/notify/function-call.js +93 -0
  417. package/lib/notify/index.css +1 -0
  418. package/lib/notify/index.d.ts +99 -0
  419. package/lib/notify/index.js +38 -0
  420. package/lib/notify/style/index.d.ts +1 -0
  421. package/lib/notify/style/index.js +6 -0
  422. package/lib/notify/types.d.ts +17 -0
  423. package/lib/notify/types.js +15 -0
  424. package/lib/number-keyboard/NumberKeyboard.d.ts +162 -0
  425. package/lib/number-keyboard/NumberKeyboard.js +268 -0
  426. package/lib/number-keyboard/NumberKeyboardKey.d.ts +24 -0
  427. package/lib/number-keyboard/NumberKeyboardKey.js +114 -0
  428. package/lib/number-keyboard/index.css +1 -1
  429. package/lib/number-keyboard/index.d.ts +119 -0
  430. package/lib/number-keyboard/index.js +31 -283
  431. package/lib/number-keyboard/style/index.d.ts +1 -0
  432. package/lib/number-keyboard/style/index.js +9 -3
  433. package/lib/overlay/Overlay.d.ts +51 -0
  434. package/lib/overlay/Overlay.js +66 -0
  435. package/lib/overlay/index.css +1 -1
  436. package/lib/overlay/index.d.ts +40 -0
  437. package/lib/overlay/index.js +31 -65
  438. package/lib/overlay/style/index.d.ts +1 -0
  439. package/lib/overlay/style/index.js +2 -2
  440. package/lib/password-input/PasswordInput.d.ts +63 -0
  441. package/lib/password-input/PasswordInput.js +97 -0
  442. package/lib/password-input/index.css +1 -1
  443. package/lib/password-input/index.d.ts +49 -0
  444. package/lib/password-input/index.js +31 -91
  445. package/lib/password-input/style/index.d.ts +1 -0
  446. package/lib/password-input/style/index.js +2 -2
  447. package/lib/popup/Popup.d.ts +165 -0
  448. package/lib/popup/Popup.js +224 -0
  449. package/lib/popup/index.css +1 -1
  450. package/lib/popup/index.d.ts +123 -0
  451. package/lib/popup/index.js +31 -131
  452. package/lib/popup/shared.d.ts +30 -0
  453. package/lib/popup/shared.js +41 -0
  454. package/lib/popup/style/index.d.ts +1 -0
  455. package/lib/popup/style/index.js +5 -5
  456. package/lib/popup/types.d.ts +8 -0
  457. package/lib/popup/types.js +15 -0
  458. package/lib/pull-refresh/PullRefresh.d.ts +75 -0
  459. package/lib/pull-refresh/PullRefresh.js +210 -0
  460. package/lib/pull-refresh/index.css +1 -1
  461. package/lib/pull-refresh/index.d.ts +58 -0
  462. package/lib/pull-refresh/index.js +31 -235
  463. package/lib/pull-refresh/style/index.d.ts +1 -0
  464. package/lib/pull-refresh/style/index.js +3 -3
  465. package/lib/rate/Rate.d.ts +107 -0
  466. package/lib/rate/Rate.js +236 -0
  467. package/lib/rate/index.css +1 -1
  468. package/lib/rate/index.d.ts +80 -0
  469. package/lib/rate/index.js +31 -238
  470. package/lib/rate/style/index.d.ts +1 -0
  471. package/lib/rate/style/index.js +4 -4
  472. package/lib/row/Row.d.ts +64 -0
  473. package/lib/row/Row.js +110 -0
  474. package/lib/row/index.css +1 -1
  475. package/lib/row/index.d.ts +42 -0
  476. package/lib/row/index.js +31 -91
  477. package/lib/row/style/index.d.ts +1 -0
  478. package/lib/row/style/index.js +2 -2
  479. package/lib/stepper/Stepper.d.ts +181 -0
  480. package/lib/stepper/Stepper.js +283 -0
  481. package/lib/stepper/index.css +1 -1
  482. package/lib/stepper/index.d.ts +132 -0
  483. package/lib/stepper/index.js +31 -365
  484. package/lib/stepper/style/index.d.ts +1 -0
  485. package/lib/stepper/style/index.js +4 -2
  486. package/lib/sticky/Sticky.d.ts +58 -0
  487. package/lib/sticky/Sticky.js +138 -0
  488. package/lib/sticky/index.css +1 -1
  489. package/lib/sticky/index.d.ts +45 -0
  490. package/lib/sticky/index.js +31 -348
  491. package/lib/sticky/style/index.d.ts +1 -0
  492. package/lib/sticky/style/index.js +2 -2
  493. package/lib/style/animation.css +1 -1
  494. package/lib/style/base.css +1 -1
  495. package/lib/style/css-variables.css +1 -0
  496. package/lib/style/normalize.css +1 -1
  497. package/lib/swipe/Swipe.d.ts +121 -0
  498. package/lib/swipe/Swipe.js +372 -0
  499. package/lib/swipe/index.css +1 -1
  500. package/lib/swipe/index.d.ts +90 -0
  501. package/lib/swipe/index.js +31 -475
  502. package/lib/swipe/style/index.d.ts +1 -0
  503. package/lib/swipe/style/index.js +2 -2
  504. package/lib/swipe/types.d.ts +31 -0
  505. package/lib/swipe/types.js +15 -0
  506. package/lib/swipe-item/SwipeItem.d.ts +2 -0
  507. package/lib/swipe-item/SwipeItem.js +101 -0
  508. package/lib/swipe-item/index.css +1 -1
  509. package/lib/swipe-item/index.d.ts +7 -0
  510. package/lib/swipe-item/index.js +31 -87
  511. package/lib/swipe-item/style/index.d.ts +1 -0
  512. package/lib/swipe-item/style/index.js +3 -2
  513. package/lib/switch/Switch.d.ts +58 -0
  514. package/lib/switch/Switch.js +104 -0
  515. package/lib/switch/index.css +1 -1
  516. package/lib/switch/index.d.ts +46 -0
  517. package/lib/switch/index.js +31 -84
  518. package/lib/switch/style/index.d.ts +1 -0
  519. package/lib/switch/style/index.js +3 -3
  520. package/lib/tab/Tab.d.ts +58 -0
  521. package/lib/tab/Tab.js +132 -0
  522. package/lib/tab/index.css +1 -1
  523. package/lib/tab/index.d.ts +45 -0
  524. package/lib/tab/index.js +31 -112
  525. package/lib/tab/style/index.d.ts +1 -0
  526. package/lib/tab/style/index.js +7 -2
  527. package/lib/tabs/Tabs.d.ts +154 -0
  528. package/lib/tabs/Tabs.js +377 -0
  529. package/lib/tabs/TabsContent.d.ts +43 -0
  530. package/lib/tabs/TabsContent.js +83 -0
  531. package/lib/tabs/TabsTitle.d.ts +45 -0
  532. package/lib/tabs/TabsTitle.js +109 -0
  533. package/lib/tabs/index.css +1 -1
  534. package/lib/tabs/index.d.ts +114 -0
  535. package/lib/tabs/index.js +31 -465
  536. package/lib/tabs/style/index.d.ts +1 -0
  537. package/lib/tabs/style/index.js +5 -4
  538. package/lib/tabs/types.d.ts +23 -0
  539. package/lib/tabs/types.js +15 -0
  540. package/lib/tabs/utils.d.ts +3 -0
  541. package/lib/tabs/utils.js +37 -34
  542. package/lib/toast/Toast.d.ts +112 -0
  543. package/lib/toast/Toast.js +130 -175
  544. package/lib/toast/function-call.d.ts +10 -0
  545. package/lib/toast/function-call.js +167 -0
  546. package/lib/toast/index.css +1 -1
  547. package/lib/toast/index.d.ts +79 -0
  548. package/lib/toast/index.js +39 -201
  549. package/lib/toast/lock-click.d.ts +1 -0
  550. package/lib/toast/lock-click.js +27 -12
  551. package/lib/toast/style/index.d.ts +1 -0
  552. package/lib/toast/style/index.js +7 -7
  553. package/lib/toast/types.d.ts +36 -0
  554. package/lib/toast/types.js +15 -0
  555. package/lib/utils/basic.d.ts +18 -0
  556. package/lib/utils/basic.js +51 -0
  557. package/lib/utils/constant.d.ts +8 -0
  558. package/lib/utils/constant.js +37 -26
  559. package/lib/utils/create.d.ts +17 -0
  560. package/lib/utils/create.js +75 -0
  561. package/lib/utils/deep-assign.d.ts +3 -0
  562. package/lib/utils/deep-assign.js +30 -19
  563. package/lib/utils/deep-clone.d.ts +1 -0
  564. package/lib/utils/deep-clone.js +29 -18
  565. package/lib/utils/dom.d.ts +12 -0
  566. package/lib/utils/dom.js +86 -0
  567. package/lib/utils/format.d.ts +13 -0
  568. package/lib/utils/format.js +139 -0
  569. package/lib/utils/index.d.ts +9 -0
  570. package/lib/utils/index.js +24 -108
  571. package/lib/utils/interceptor.d.ts +6 -0
  572. package/lib/utils/interceptor.js +38 -18
  573. package/lib/utils/mount-component.d.ts +14 -0
  574. package/lib/utils/mount-component.js +58 -0
  575. package/lib/utils/props.d.ts +31 -0
  576. package/lib/utils/props.js +55 -0
  577. package/lib/utils/validate.d.ts +9 -0
  578. package/lib/utils/validate.js +41 -0
  579. package/lib/utils/with-install.d.ts +13 -0
  580. package/lib/utils/with-install.js +31 -0
  581. package/lib/vue-sfc-shim.d.ts +6 -0
  582. package/lib/vue-tsx-shim.d.ts +16 -0
  583. package/lib/web-types.json +3197 -0
  584. package/lib/zartui.cjs.js +6740 -0
  585. package/lib/zartui.es.js +6740 -0
  586. package/lib/zartui.js +6974 -0
  587. package/lib/zartui.min.js +1 -0
  588. package/package.json +50 -61
  589. package/es/action-sheet/index.css +0 -1
  590. package/es/action-sheet/index.js +0 -185
  591. package/es/action-sheet/index.less +0 -132
  592. package/es/action-sheet/style/index.js +0 -7
  593. package/es/action-sheet/style/less.js +0 -7
  594. package/es/area/index.js +0 -321
  595. package/es/area/style/index.js +0 -7
  596. package/es/area/style/less.js +0 -7
  597. package/es/avatar/index.css +0 -1
  598. package/es/avatar/index.js +0 -102
  599. package/es/avatar/index.less +0 -40
  600. package/es/avatar/local.css +0 -1
  601. package/es/avatar/local.less +0 -1
  602. package/es/avatar/style/index.js +0 -2
  603. package/es/avatar/style/less.js +0 -2
  604. package/es/back-top/index.css +0 -1
  605. package/es/back-top/index.js +0 -206
  606. package/es/back-top/index.less +0 -21
  607. package/es/back-top/style/index.js +0 -2
  608. package/es/back-top/style/less.js +0 -2
  609. package/es/badge/index.js +0 -68
  610. package/es/badge/index.less +0 -38
  611. package/es/badge/style/index.js +0 -2
  612. package/es/badge/style/less.js +0 -2
  613. package/es/button/index.js +0 -184
  614. package/es/button/index.less +0 -206
  615. package/es/button/style/index.js +0 -5
  616. package/es/button/style/less.js +0 -5
  617. package/es/calendar/components/Header.js +0 -62
  618. package/es/calendar/components/Month.js +0 -339
  619. package/es/calendar/index.css +0 -1
  620. package/es/calendar/index.js +0 -542
  621. package/es/calendar/index.less +0 -251
  622. package/es/calendar/style/index.js +0 -9
  623. package/es/calendar/style/less.js +0 -9
  624. package/es/calendar/utils.js +0 -66
  625. package/es/cascader/index.css +0 -1
  626. package/es/cascader/index.js +0 -286
  627. package/es/cascader/index.less +0 -87
  628. package/es/cascader/style/index.js +0 -8
  629. package/es/cascader/style/less.js +0 -8
  630. package/es/cell/index.js +0 -137
  631. package/es/cell/index.less +0 -107
  632. package/es/cell/shared.js +0 -29
  633. package/es/cell/style/index.js +0 -4
  634. package/es/cell/style/less.js +0 -4
  635. package/es/cell-group/index.css +0 -1
  636. package/es/cell-group/index.js +0 -41
  637. package/es/cell-group/index.less +0 -22
  638. package/es/cell-group/style/index.js +0 -2
  639. package/es/cell-group/style/less.js +0 -2
  640. package/es/checkbox/index.css +0 -1
  641. package/es/checkbox/index.js +0 -80
  642. package/es/checkbox/index.less +0 -93
  643. package/es/checkbox/style/index.js +0 -4
  644. package/es/checkbox/style/less.js +0 -4
  645. package/es/checkbox-group/index.css +0 -1
  646. package/es/checkbox-group/index.js +0 -64
  647. package/es/checkbox-group/index.less +0 -8
  648. package/es/checkbox-group/style/index.js +0 -2
  649. package/es/checkbox-group/style/less.js +0 -2
  650. package/es/col/index.js +0 -55
  651. package/es/col/index.less +0 -20
  652. package/es/col/style/index.js +0 -2
  653. package/es/col/style/less.js +0 -2
  654. package/es/collapse/index.js +0 -32
  655. package/es/collapse/style/index.js +0 -1
  656. package/es/collapse/style/less.js +0 -1
  657. package/es/collapse-item/index.css +0 -1
  658. package/es/collapse-item/index.js +0 -211
  659. package/es/collapse-item/index.less +0 -87
  660. package/es/collapse-item/style/index.js +0 -5
  661. package/es/collapse-item/style/less.js +0 -5
  662. package/es/count-down/index.css +0 -1
  663. package/es/count-down/index.js +0 -163
  664. package/es/count-down/index.less +0 -8
  665. package/es/count-down/style/index.js +0 -2
  666. package/es/count-down/style/less.js +0 -2
  667. package/es/count-down/utils.js +0 -67
  668. package/es/datetime-picker/DatePicker.js +0 -315
  669. package/es/datetime-picker/TimePicker.js +0 -140
  670. package/es/datetime-picker/index.js +0 -29
  671. package/es/datetime-picker/shared.js +0 -162
  672. package/es/datetime-picker/style/index.js +0 -7
  673. package/es/datetime-picker/style/less.js +0 -7
  674. package/es/datetime-picker/utils.js +0 -29
  675. package/es/dialog/Dialog.js +0 -210
  676. package/es/dialog/index.css +0 -1
  677. package/es/dialog/index.js +0 -109
  678. package/es/dialog/index.less +0 -133
  679. package/es/dialog/style/index.js +0 -8
  680. package/es/dialog/style/less.js +0 -8
  681. package/es/divider/index.js +0 -45
  682. package/es/divider/index.less +0 -64
  683. package/es/divider/style/index.js +0 -2
  684. package/es/divider/style/less.js +0 -2
  685. package/es/dropdown-item/index.css +0 -1
  686. package/es/dropdown-item/index.js +0 -346
  687. package/es/dropdown-item/index.less +0 -84
  688. package/es/dropdown-item/style/index.js +0 -8
  689. package/es/dropdown-item/style/less.js +0 -8
  690. package/es/dropdown-menu/index.css +0 -1
  691. package/es/dropdown-menu/index.js +0 -139
  692. package/es/dropdown-menu/index.less +0 -85
  693. package/es/dropdown-menu/style/index.js +0 -4
  694. package/es/dropdown-menu/style/less.js +0 -4
  695. package/es/empty/Developing.js +0 -1643
  696. package/es/empty/Error.js +0 -484
  697. package/es/empty/NotFound.js +0 -645
  698. package/es/empty/NotRight.js +0 -395
  699. package/es/empty/Search.js +0 -336
  700. package/es/empty/index.js +0 -105
  701. package/es/empty/index.less +0 -40
  702. package/es/empty/style/index.js +0 -2
  703. package/es/empty/style/less.js +0 -2
  704. package/es/field/ClearIcon.js +0 -23
  705. package/es/field/SearchIcon.js +0 -18
  706. package/es/field/index.css +0 -1
  707. package/es/field/index.js +0 -705
  708. package/es/field/index.less +0 -231
  709. package/es/field/style/index.js +0 -5
  710. package/es/field/style/less.js +0 -5
  711. package/es/fold-dialog/index.css +0 -1
  712. package/es/fold-dialog/index.js +0 -144
  713. package/es/fold-dialog/index.less +0 -26
  714. package/es/fold-dialog/style/index.js +0 -2
  715. package/es/fold-dialog/style/less.js +0 -2
  716. package/es/form/index.js +0 -200
  717. package/es/form/style/index.js +0 -1
  718. package/es/form/style/less.js +0 -1
  719. package/es/grid/index.css +0 -1
  720. package/es/grid/index.js +0 -50
  721. package/es/grid/index.less +0 -6
  722. package/es/grid/style/index.js +0 -2
  723. package/es/grid/style/less.js +0 -2
  724. package/es/grid-item/index.css +0 -1
  725. package/es/grid-item/index.js +0 -163
  726. package/es/grid-item/index.less +0 -79
  727. package/es/grid-item/style/index.js +0 -4
  728. package/es/grid-item/style/less.js +0 -4
  729. package/es/hierarchy-select/breadcrumb.js +0 -75
  730. package/es/hierarchy-select/hierarchySelect.js +0 -162
  731. package/es/hierarchy-select/index.css +0 -1
  732. package/es/hierarchy-select/index.js +0 -142
  733. package/es/hierarchy-select/index.less +0 -239
  734. package/es/hierarchy-select/markList.js +0 -242
  735. package/es/hierarchy-select/style/index.js +0 -8
  736. package/es/hierarchy-select/style/less.js +0 -8
  737. package/es/hierarchy-select/svg/SubIcon.js +0 -50
  738. package/es/icon/index.js +0 -74
  739. package/es/icon/index.less +0 -10
  740. package/es/icon/local.css +0 -1
  741. package/es/icon/local.less +0 -1
  742. package/es/icon/style/index.js +0 -3
  743. package/es/icon/style/less.js +0 -3
  744. package/es/image/index.css +0 -1
  745. package/es/image/index.js +0 -189
  746. package/es/image/index.less +0 -47
  747. package/es/image/style/index.js +0 -4
  748. package/es/image/style/less.js +0 -4
  749. package/es/image-preview/ImagePreview.js +0 -237
  750. package/es/image-preview/ImagePreviewItem.js +0 -242
  751. package/es/image-preview/index.css +0 -1
  752. package/es/image-preview/index.js +0 -87
  753. package/es/image-preview/index.less +0 -121
  754. package/es/image-preview/shared.js +0 -7
  755. package/es/image-preview/style/index.js +0 -10
  756. package/es/image-preview/style/less.js +0 -10
  757. package/es/index-anchor/index.css +0 -1
  758. package/es/index-anchor/index.js +0 -83
  759. package/es/index-anchor/index.less +0 -34
  760. package/es/index-anchor/style/index.js +0 -2
  761. package/es/index-anchor/style/less.js +0 -2
  762. package/es/index-bar/IndexIndicate.js +0 -41
  763. package/es/index-bar/index.css +0 -1
  764. package/es/index-bar/index.js +0 -256
  765. package/es/index-bar/index.less +0 -68
  766. package/es/index-bar/style/index.js +0 -2
  767. package/es/index-bar/style/less.js +0 -2
  768. package/es/index.js +0 -99
  769. package/es/info/index.css +0 -1
  770. package/es/info/index.js +0 -30
  771. package/es/info/index.less +0 -29
  772. package/es/info/style/index.js +0 -2
  773. package/es/info/style/less.js +0 -2
  774. package/es/lazyload/index.js +0 -2
  775. package/es/lazyload/style/index.js +0 -1
  776. package/es/lazyload/style/less.js +0 -1
  777. package/es/list/index.js +0 -182
  778. package/es/list/index.less +0 -17
  779. package/es/list/style/index.js +0 -4
  780. package/es/list/style/less.js +0 -4
  781. package/es/loading/index.js +0 -154
  782. package/es/loading/index.less +0 -117
  783. package/es/loading/style/index.js +0 -2
  784. package/es/loading/style/less.js +0 -2
  785. package/es/locale/index.js +0 -27
  786. package/es/locale/lang/de-DE-formal.js +0 -90
  787. package/es/locale/lang/de-DE.js +0 -90
  788. package/es/locale/lang/en-US.js +0 -90
  789. package/es/locale/lang/es-ES.js +0 -90
  790. package/es/locale/lang/fr-FR.js +0 -90
  791. package/es/locale/lang/ja-JP.js +0 -91
  792. package/es/locale/lang/nb-NO.js +0 -90
  793. package/es/locale/lang/ro-RO.js +0 -90
  794. package/es/locale/lang/th-TH.js +0 -91
  795. package/es/locale/lang/tr-TR.js +0 -90
  796. package/es/locale/lang/zh-CN.js +0 -123
  797. package/es/locale/lang/zh-HK.js +0 -91
  798. package/es/locale/lang/zh-TW.js +0 -91
  799. package/es/locale/style/index.js +0 -1
  800. package/es/locale/style/less.js +0 -1
  801. package/es/media-picker/image/DefaultAudioIcon.js +0 -133
  802. package/es/media-picker/image/DefaultFileIcon.js +0 -116
  803. package/es/media-picker/image/DefaultVideoIcon.js +0 -169
  804. package/es/media-picker/image/DeleteIcon.js +0 -41
  805. package/es/media-picker/image/PickFileIcon.js +0 -41
  806. package/es/media-picker/image/PickPhotoIcon.js +0 -41
  807. package/es/media-picker/image/TakeAudioIcon.js +0 -41
  808. package/es/media-picker/image/TakePhotoIcon.js +0 -41
  809. package/es/media-picker/image/TakeVideoIcon.js +0 -41
  810. package/es/media-picker/index.css +0 -1
  811. package/es/media-picker/index.js +0 -992
  812. package/es/media-picker/index.less +0 -148
  813. package/es/media-picker/media-util.js +0 -37
  814. package/es/media-picker/style/index.js +0 -12
  815. package/es/media-picker/style/less.js +0 -12
  816. package/es/media-picker/type.js +0 -24
  817. package/es/media-player/index.css +0 -1
  818. package/es/media-player/index.js +0 -149
  819. package/es/media-player/index.less +0 -14
  820. package/es/media-player/style/index.js +0 -9
  821. package/es/media-player/style/less.js +0 -9
  822. package/es/mixins/bind-event.js +0 -29
  823. package/es/mixins/checkbox.js +0 -166
  824. package/es/mixins/click-outside.js +0 -33
  825. package/es/mixins/close-on-popstate.js +0 -38
  826. package/es/mixins/field.js +0 -24
  827. package/es/mixins/popup/context.js +0 -18
  828. package/es/mixins/popup/index.js +0 -220
  829. package/es/mixins/popup/overlay.js +0 -77
  830. package/es/mixins/popup/type.js +0 -1
  831. package/es/mixins/portal.js +0 -48
  832. package/es/mixins/relation.js +0 -76
  833. package/es/mixins/slots.js +0 -23
  834. package/es/mixins/telemetry.js +0 -11
  835. package/es/mixins/touch.js +0 -59
  836. package/es/multiple-picker/MultiplePickerOptions.js +0 -167
  837. package/es/multiple-picker/index.css +0 -1
  838. package/es/multiple-picker/index.js +0 -234
  839. package/es/multiple-picker/index.less +0 -135
  840. package/es/multiple-picker/shared.js +0 -26
  841. package/es/multiple-picker/style/index.js +0 -7
  842. package/es/multiple-picker/style/less.js +0 -7
  843. package/es/nav-bar/index.css +0 -1
  844. package/es/nav-bar/index.js +0 -144
  845. package/es/nav-bar/index.less +0 -74
  846. package/es/nav-bar/style/index.js +0 -4
  847. package/es/nav-bar/style/less.js +0 -4
  848. package/es/notice-bar/CloseIcon.js +0 -34
  849. package/es/notice-bar/MenuIcon.js +0 -35
  850. package/es/notice-bar/NoticeIcon.js +0 -35
  851. package/es/notice-bar/OpenIcon.js +0 -37
  852. package/es/notice-bar/TipIcon.js +0 -35
  853. package/es/notice-bar/WarningIcon.js +0 -35
  854. package/es/notice-bar/index.js +0 -279
  855. package/es/notice-bar/index.less +0 -66
  856. package/es/notice-bar/style/index.js +0 -4
  857. package/es/notice-bar/style/less.js +0 -4
  858. package/es/number-keyboard/CollapseIcon.js +0 -16
  859. package/es/number-keyboard/DeleteIcon.js +0 -16
  860. package/es/number-keyboard/Key.js +0 -100
  861. package/es/number-keyboard/index.js +0 -272
  862. package/es/number-keyboard/index.less +0 -144
  863. package/es/number-keyboard/style/index.js +0 -3
  864. package/es/number-keyboard/style/less.js +0 -3
  865. package/es/overlay/index.js +0 -53
  866. package/es/overlay/index.less +0 -11
  867. package/es/overlay/style/index.js +0 -2
  868. package/es/overlay/style/less.js +0 -2
  869. package/es/password-input/index.js +0 -80
  870. package/es/password-input/index.less +0 -83
  871. package/es/password-input/style/index.js +0 -2
  872. package/es/password-input/style/less.js +0 -2
  873. package/es/pdf-viewer/index.css +0 -1
  874. package/es/pdf-viewer/index.js +0 -444
  875. package/es/pdf-viewer/index.less +0 -69
  876. package/es/pdf-viewer/style/index.js +0 -9
  877. package/es/pdf-viewer/style/less.js +0 -9
  878. package/es/picker/PickerColumn.js +0 -306
  879. package/es/picker/index.css +0 -1
  880. package/es/picker/index.js +0 -450
  881. package/es/picker/index.less +0 -155
  882. package/es/picker/shared.js +0 -34
  883. package/es/picker/style/index.js +0 -7
  884. package/es/picker/style/less.js +0 -7
  885. package/es/popover/index.css +0 -1
  886. package/es/popover/index.js +0 -211
  887. package/es/popover/index.less +0 -270
  888. package/es/popover/style/index.js +0 -6
  889. package/es/popover/style/less.js +0 -6
  890. package/es/popup/index.js +0 -122
  891. package/es/popup/index.less +0 -137
  892. package/es/popup/style/index.js +0 -5
  893. package/es/popup/style/less.js +0 -5
  894. package/es/pull-refresh/index.js +0 -223
  895. package/es/pull-refresh/index.less +0 -25
  896. package/es/pull-refresh/style/index.js +0 -3
  897. package/es/pull-refresh/style/less.js +0 -3
  898. package/es/radio/index.css +0 -1
  899. package/es/radio/index.js +0 -32
  900. package/es/radio/index.less +0 -104
  901. package/es/radio/style/index.js +0 -4
  902. package/es/radio/style/less.js +0 -4
  903. package/es/radio-group/index.css +0 -1
  904. package/es/radio-group/index.js +0 -32
  905. package/es/radio-group/index.less +0 -8
  906. package/es/radio-group/style/index.js +0 -2
  907. package/es/radio-group/style/less.js +0 -2
  908. package/es/rate/index.js +0 -227
  909. package/es/rate/index.less +0 -47
  910. package/es/rate/style/index.js +0 -4
  911. package/es/rate/style/less.js +0 -4
  912. package/es/row/index.js +0 -85
  913. package/es/row/index.less +0 -42
  914. package/es/row/style/index.js +0 -2
  915. package/es/row/style/less.js +0 -2
  916. package/es/search/index.css +0 -1
  917. package/es/search/index.js +0 -117
  918. package/es/search/index.less +0 -89
  919. package/es/search/style/index.js +0 -6
  920. package/es/search/style/less.js +0 -6
  921. package/es/signature/bezier.js +0 -82
  922. package/es/signature/force-landscape.js +0 -97
  923. package/es/signature/index.css +0 -1
  924. package/es/signature/index.js +0 -283
  925. package/es/signature/index.less +0 -50
  926. package/es/signature/point.js +0 -29
  927. package/es/signature/style/index.js +0 -9
  928. package/es/signature/style/less.js +0 -9
  929. package/es/signature/throttle.js +0 -55
  930. package/es/skeleton/index.css +0 -1
  931. package/es/skeleton/index.js +0 -132
  932. package/es/skeleton/index.less +0 -85
  933. package/es/skeleton/style/index.js +0 -2
  934. package/es/skeleton/style/less.js +0 -2
  935. package/es/slider/index.css +0 -1
  936. package/es/slider/index.js +0 -340
  937. package/es/slider/index.less +0 -108
  938. package/es/slider/style/index.js +0 -2
  939. package/es/slider/style/less.js +0 -2
  940. package/es/step/index.css +0 -1
  941. package/es/step/index.js +0 -123
  942. package/es/step/index.less +0 -103
  943. package/es/step/style/index.js +0 -4
  944. package/es/step/style/less.js +0 -4
  945. package/es/stepper/index.js +0 -353
  946. package/es/stepper/index.less +0 -124
  947. package/es/stepper/style/index.js +0 -2
  948. package/es/stepper/style/less.js +0 -2
  949. package/es/steps/index.css +0 -1
  950. package/es/steps/index.js +0 -36
  951. package/es/steps/index.less +0 -23
  952. package/es/steps/style/index.js +0 -2
  953. package/es/steps/style/less.js +0 -2
  954. package/es/sticky/index.js +0 -338
  955. package/es/sticky/index.less +0 -14
  956. package/es/sticky/style/index.js +0 -2
  957. package/es/sticky/style/less.js +0 -2
  958. package/es/style/animation.less +0 -139
  959. package/es/style/base.less +0 -11
  960. package/es/style/clearfix.css +0 -1
  961. package/es/style/clearfix.less +0 -5
  962. package/es/style/ellipsis.css +0 -1
  963. package/es/style/ellipsis.less +0 -13
  964. package/es/style/hairline.css +0 -1
  965. package/es/style/hairline.less +0 -47
  966. package/es/style/halfPxBorder.css +0 -1
  967. package/es/style/halfPxBorder.less +0 -78
  968. package/es/style/mixins/clearfix.less +0 -7
  969. package/es/style/mixins/ellipsis.less +0 -15
  970. package/es/style/mixins/hairline.less +0 -70
  971. package/es/style/normalize.less +0 -38
  972. package/es/style/reset.css +0 -1
  973. package/es/style/reset.less +0 -171
  974. package/es/style/var.less +0 -1039
  975. package/es/swipe/index.js +0 -463
  976. package/es/swipe/index.less +0 -72
  977. package/es/swipe/style/index.js +0 -2
  978. package/es/swipe/style/less.js +0 -2
  979. package/es/swipe-cell/index.css +0 -1
  980. package/es/swipe-cell/index.js +0 -220
  981. package/es/swipe-cell/index.less +0 -29
  982. package/es/swipe-cell/style/index.js +0 -2
  983. package/es/swipe-cell/style/less.js +0 -2
  984. package/es/swipe-item/index.js +0 -78
  985. package/es/swipe-item/index.less +0 -8
  986. package/es/swipe-item/style/index.js +0 -2
  987. package/es/swipe-item/style/less.js +0 -2
  988. package/es/switch/index.js +0 -74
  989. package/es/switch/index.less +0 -56
  990. package/es/switch/shared.js +0 -19
  991. package/es/switch/style/index.js +0 -3
  992. package/es/switch/style/less.js +0 -3
  993. package/es/switch-cell/index.css +0 -1
  994. package/es/switch-cell/index.js +0 -46
  995. package/es/switch-cell/index.less +0 -15
  996. package/es/switch-cell/style/index.js +0 -7
  997. package/es/switch-cell/style/less.js +0 -7
  998. package/es/tab/index.js +0 -102
  999. package/es/tab/index.less +0 -17
  1000. package/es/tab/style/index.js +0 -2
  1001. package/es/tab/style/less.js +0 -2
  1002. package/es/tabbar/index.css +0 -1
  1003. package/es/tabbar/index.js +0 -113
  1004. package/es/tabbar/index.less +0 -22
  1005. package/es/tabbar/style/index.js +0 -2
  1006. package/es/tabbar/style/less.js +0 -2
  1007. package/es/tabbar-item/index.css +0 -1
  1008. package/es/tabbar-item/index.js +0 -116
  1009. package/es/tabbar-item/index.less +0 -46
  1010. package/es/tabbar-item/style/index.js +0 -4
  1011. package/es/tabbar-item/style/less.js +0 -4
  1012. package/es/table/index.css +0 -1
  1013. package/es/table/index.js +0 -124
  1014. package/es/table/index.less +0 -53
  1015. package/es/table/style/index.js +0 -2
  1016. package/es/table/style/less.js +0 -2
  1017. package/es/tabs/Content.js +0 -78
  1018. package/es/tabs/Title.js +0 -92
  1019. package/es/tabs/index.js +0 -445
  1020. package/es/tabs/index.less +0 -156
  1021. package/es/tabs/style/index.js +0 -4
  1022. package/es/tabs/style/less.js +0 -4
  1023. package/es/tabs/utils.js +0 -43
  1024. package/es/tag/index.css +0 -1
  1025. package/es/tag/index.js +0 -79
  1026. package/es/tag/index.less +0 -99
  1027. package/es/tag/style/index.js +0 -4
  1028. package/es/tag/style/less.js +0 -4
  1029. package/es/telemetry/index.js +0 -53
  1030. package/es/timeline/index.css +0 -1
  1031. package/es/timeline/index.js +0 -210
  1032. package/es/timeline/index.less +0 -130
  1033. package/es/timeline/style/index.js +0 -4
  1034. package/es/timeline/style/less.js +0 -4
  1035. package/es/toast/Toast.js +0 -168
  1036. package/es/toast/index.js +0 -193
  1037. package/es/toast/index.less +0 -82
  1038. package/es/toast/lock-click.js +0 -16
  1039. package/es/toast/style/index.js +0 -7
  1040. package/es/toast/style/less.js +0 -7
  1041. package/es/toast/svg/SuccessIcon.js +0 -35
  1042. package/es/toast/svg/WarnIcon.js +0 -34
  1043. package/es/uploader/index.css +0 -1
  1044. package/es/uploader/index.js +0 -559
  1045. package/es/uploader/index.less +0 -163
  1046. package/es/uploader/style/index.js +0 -11
  1047. package/es/uploader/style/less.js +0 -11
  1048. package/es/uploader/utils.js +0 -66
  1049. package/es/utils/constant.js +0 -12
  1050. package/es/utils/create/bem.js +0 -39
  1051. package/es/utils/create/component.js +0 -62
  1052. package/es/utils/create/i18n.js +0 -16
  1053. package/es/utils/create/index.js +0 -7
  1054. package/es/utils/deep-assign.js +0 -24
  1055. package/es/utils/deep-clone.js +0 -22
  1056. package/es/utils/device.js +0 -8
  1057. package/es/utils/dom/event.js +0 -48
  1058. package/es/utils/dom/node.js +0 -7
  1059. package/es/utils/dom/raf.js +0 -36
  1060. package/es/utils/dom/reset-scroll.js +0 -14
  1061. package/es/utils/dom/scroll.js +0 -69
  1062. package/es/utils/dom/style.js +0 -9
  1063. package/es/utils/easings.js +0 -12
  1064. package/es/utils/format/date-util.js +0 -690
  1065. package/es/utils/format/number.js +0 -52
  1066. package/es/utils/format/string.js +0 -19
  1067. package/es/utils/format/unit.js +0 -59
  1068. package/es/utils/functional.js +0 -56
  1069. package/es/utils/getScroll.js +0 -27
  1070. package/es/utils/index.js +0 -78
  1071. package/es/utils/interceptor.js +0 -22
  1072. package/es/utils/media/image-util.js +0 -138
  1073. package/es/utils/raf.js +0 -58
  1074. package/es/utils/router.js +0 -35
  1075. package/es/utils/scrollTo.js +0 -42
  1076. package/es/utils/types.js +0 -1
  1077. package/es/utils/validate/date.js +0 -4
  1078. package/es/utils/validate/email.js +0 -5
  1079. package/es/utils/validate/mobile.js +0 -4
  1080. package/es/utils/validate/number.js +0 -11
  1081. package/es/utils/validate/system.js +0 -9
  1082. package/es/utils/vnodes.js +0 -36
  1083. package/lib/a037f57fc4d92a8a1f1e.worker.js +0 -60600
  1084. package/lib/action-sheet/index.css +0 -1
  1085. package/lib/action-sheet/index.js +0 -203
  1086. package/lib/action-sheet/index.less +0 -132
  1087. package/lib/action-sheet/style/index.js +0 -7
  1088. package/lib/action-sheet/style/less.js +0 -7
  1089. package/lib/area/index.js +0 -331
  1090. package/lib/area/style/index.js +0 -7
  1091. package/lib/area/style/less.js +0 -7
  1092. package/lib/avatar/index.css +0 -1
  1093. package/lib/avatar/index.js +0 -109
  1094. package/lib/avatar/index.less +0 -40
  1095. package/lib/avatar/local.css +0 -1
  1096. package/lib/avatar/local.less +0 -1
  1097. package/lib/avatar/style/index.js +0 -2
  1098. package/lib/avatar/style/less.js +0 -2
  1099. package/lib/b7cf90b4775181215df7.worker.js +0 -10
  1100. package/lib/back-top/index.css +0 -1
  1101. package/lib/back-top/index.js +0 -218
  1102. package/lib/back-top/index.less +0 -21
  1103. package/lib/back-top/style/index.js +0 -2
  1104. package/lib/back-top/style/less.js +0 -2
  1105. package/lib/badge/index.less +0 -38
  1106. package/lib/badge/style/less.js +0 -2
  1107. package/lib/button/index.less +0 -206
  1108. package/lib/button/style/less.js +0 -5
  1109. package/lib/calendar/components/Header.js +0 -70
  1110. package/lib/calendar/components/Month.js +0 -349
  1111. package/lib/calendar/index.css +0 -1
  1112. package/lib/calendar/index.js +0 -560
  1113. package/lib/calendar/index.less +0 -251
  1114. package/lib/calendar/style/index.js +0 -9
  1115. package/lib/calendar/style/less.js +0 -9
  1116. package/lib/calendar/utils.js +0 -91
  1117. package/lib/cascader/index.css +0 -1
  1118. package/lib/cascader/index.js +0 -299
  1119. package/lib/cascader/index.less +0 -87
  1120. package/lib/cascader/style/index.js +0 -8
  1121. package/lib/cascader/style/less.js +0 -8
  1122. package/lib/cell/index.less +0 -107
  1123. package/lib/cell/shared.js +0 -34
  1124. package/lib/cell/style/less.js +0 -4
  1125. package/lib/cell-group/index.css +0 -1
  1126. package/lib/cell-group/index.js +0 -54
  1127. package/lib/cell-group/index.less +0 -22
  1128. package/lib/cell-group/style/index.js +0 -2
  1129. package/lib/cell-group/style/less.js +0 -2
  1130. package/lib/checkbox/index.css +0 -1
  1131. package/lib/checkbox/index.js +0 -88
  1132. package/lib/checkbox/index.less +0 -93
  1133. package/lib/checkbox/style/index.js +0 -4
  1134. package/lib/checkbox/style/less.js +0 -4
  1135. package/lib/checkbox-group/index.css +0 -1
  1136. package/lib/checkbox-group/index.js +0 -73
  1137. package/lib/checkbox-group/index.less +0 -8
  1138. package/lib/checkbox-group/style/index.js +0 -2
  1139. package/lib/checkbox-group/style/less.js +0 -2
  1140. package/lib/col/index.less +0 -20
  1141. package/lib/col/style/less.js +0 -2
  1142. package/lib/collapse/index.js +0 -40
  1143. package/lib/collapse/style/index.js +0 -1
  1144. package/lib/collapse/style/less.js +0 -1
  1145. package/lib/collapse-item/index.css +0 -1
  1146. package/lib/collapse-item/index.js +0 -226
  1147. package/lib/collapse-item/index.less +0 -87
  1148. package/lib/collapse-item/style/index.js +0 -5
  1149. package/lib/collapse-item/style/less.js +0 -5
  1150. package/lib/count-down/index.css +0 -1
  1151. package/lib/count-down/index.js +0 -172
  1152. package/lib/count-down/index.less +0 -8
  1153. package/lib/count-down/style/index.js +0 -2
  1154. package/lib/count-down/style/less.js +0 -2
  1155. package/lib/count-down/utils.js +0 -78
  1156. package/lib/datetime-picker/DatePicker.js +0 -331
  1157. package/lib/datetime-picker/TimePicker.js +0 -153
  1158. package/lib/datetime-picker/index.js +0 -41
  1159. package/lib/datetime-picker/shared.js +0 -177
  1160. package/lib/datetime-picker/style/index.js +0 -7
  1161. package/lib/datetime-picker/style/less.js +0 -7
  1162. package/lib/datetime-picker/utils.js +0 -39
  1163. package/lib/dialog/Dialog.js +0 -223
  1164. package/lib/dialog/index.css +0 -1
  1165. package/lib/dialog/index.js +0 -121
  1166. package/lib/dialog/index.less +0 -133
  1167. package/lib/dialog/style/index.js +0 -8
  1168. package/lib/dialog/style/less.js +0 -8
  1169. package/lib/divider/index.less +0 -64
  1170. package/lib/divider/style/less.js +0 -2
  1171. package/lib/dropdown-item/index.css +0 -1
  1172. package/lib/dropdown-item/index.js +0 -362
  1173. package/lib/dropdown-item/index.less +0 -84
  1174. package/lib/dropdown-item/style/index.js +0 -8
  1175. package/lib/dropdown-item/style/less.js +0 -8
  1176. package/lib/dropdown-menu/index.css +0 -1
  1177. package/lib/dropdown-menu/index.js +0 -152
  1178. package/lib/dropdown-menu/index.less +0 -85
  1179. package/lib/dropdown-menu/style/index.js +0 -4
  1180. package/lib/dropdown-menu/style/less.js +0 -4
  1181. package/lib/empty/Developing.js +0 -1648
  1182. package/lib/empty/Error.js +0 -489
  1183. package/lib/empty/NotFound.js +0 -650
  1184. package/lib/empty/NotRight.js +0 -400
  1185. package/lib/empty/Search.js +0 -341
  1186. package/lib/empty/index.less +0 -40
  1187. package/lib/empty/style/less.js +0 -2
  1188. package/lib/field/ClearIcon.js +0 -28
  1189. package/lib/field/SearchIcon.js +0 -23
  1190. package/lib/field/index.css +0 -1
  1191. package/lib/field/index.js +0 -723
  1192. package/lib/field/index.less +0 -231
  1193. package/lib/field/style/index.js +0 -5
  1194. package/lib/field/style/less.js +0 -5
  1195. package/lib/fold-dialog/index.css +0 -1
  1196. package/lib/fold-dialog/index.js +0 -151
  1197. package/lib/fold-dialog/index.less +0 -26
  1198. package/lib/fold-dialog/style/index.js +0 -2
  1199. package/lib/fold-dialog/style/less.js +0 -2
  1200. package/lib/form/index.js +0 -208
  1201. package/lib/form/style/index.js +0 -1
  1202. package/lib/form/style/less.js +0 -1
  1203. package/lib/grid/index.css +0 -1
  1204. package/lib/grid/index.js +0 -59
  1205. package/lib/grid/index.less +0 -6
  1206. package/lib/grid/style/index.js +0 -2
  1207. package/lib/grid/style/less.js +0 -2
  1208. package/lib/grid-item/index.css +0 -1
  1209. package/lib/grid-item/index.js +0 -178
  1210. package/lib/grid-item/index.less +0 -79
  1211. package/lib/grid-item/style/index.js +0 -4
  1212. package/lib/grid-item/style/less.js +0 -4
  1213. package/lib/hierarchy-select/breadcrumb.js +0 -85
  1214. package/lib/hierarchy-select/hierarchySelect.js +0 -177
  1215. package/lib/hierarchy-select/index.css +0 -1
  1216. package/lib/hierarchy-select/index.js +0 -155
  1217. package/lib/hierarchy-select/index.less +0 -239
  1218. package/lib/hierarchy-select/markList.js +0 -254
  1219. package/lib/hierarchy-select/style/index.js +0 -8
  1220. package/lib/hierarchy-select/style/less.js +0 -8
  1221. package/lib/hierarchy-select/svg/SubIcon.js +0 -55
  1222. package/lib/icon/index.less +0 -10
  1223. package/lib/icon/local.css +0 -1
  1224. package/lib/icon/local.less +0 -1
  1225. package/lib/icon/style/less.js +0 -3
  1226. package/lib/image/index.css +0 -1
  1227. package/lib/image/index.js +0 -199
  1228. package/lib/image/index.less +0 -47
  1229. package/lib/image/style/index.js +0 -4
  1230. package/lib/image/style/less.js +0 -4
  1231. package/lib/image-preview/ImagePreview.js +0 -253
  1232. package/lib/image-preview/ImagePreviewItem.js +0 -256
  1233. package/lib/image-preview/index.css +0 -1
  1234. package/lib/image-preview/index.js +0 -97
  1235. package/lib/image-preview/index.less +0 -121
  1236. package/lib/image-preview/shared.js +0 -13
  1237. package/lib/image-preview/style/index.js +0 -10
  1238. package/lib/image-preview/style/less.js +0 -10
  1239. package/lib/index-anchor/index.css +0 -1
  1240. package/lib/index-anchor/index.js +0 -93
  1241. package/lib/index-anchor/index.less +0 -34
  1242. package/lib/index-anchor/style/index.js +0 -2
  1243. package/lib/index-anchor/style/less.js +0 -2
  1244. package/lib/index-bar/IndexIndicate.js +0 -46
  1245. package/lib/index-bar/index.css +0 -1
  1246. package/lib/index-bar/index.js +0 -272
  1247. package/lib/index-bar/index.less +0 -68
  1248. package/lib/index-bar/style/index.js +0 -2
  1249. package/lib/index-bar/style/less.js +0 -2
  1250. package/lib/index.less +0 -72
  1251. package/lib/info/index.css +0 -1
  1252. package/lib/info/index.js +0 -42
  1253. package/lib/info/index.less +0 -29
  1254. package/lib/info/style/index.js +0 -2
  1255. package/lib/info/style/less.js +0 -2
  1256. package/lib/lazyload/index.js +0 -11
  1257. package/lib/lazyload/style/index.js +0 -1
  1258. package/lib/lazyload/style/less.js +0 -1
  1259. package/lib/list/index.less +0 -17
  1260. package/lib/list/style/less.js +0 -4
  1261. package/lib/loading/index.less +0 -117
  1262. package/lib/loading/style/less.js +0 -2
  1263. package/lib/locale/lang/de-DE-formal.js +0 -95
  1264. package/lib/locale/lang/de-DE.js +0 -95
  1265. package/lib/locale/lang/es-ES.js +0 -95
  1266. package/lib/locale/lang/fr-FR.js +0 -95
  1267. package/lib/locale/lang/ja-JP.js +0 -96
  1268. package/lib/locale/lang/nb-NO.js +0 -95
  1269. package/lib/locale/lang/ro-RO.js +0 -95
  1270. package/lib/locale/lang/th-TH.js +0 -96
  1271. package/lib/locale/lang/tr-TR.js +0 -95
  1272. package/lib/locale/lang/zh-HK.js +0 -96
  1273. package/lib/locale/lang/zh-TW.js +0 -96
  1274. package/lib/locale/style/less.js +0 -1
  1275. package/lib/media-picker/image/DefaultAudioIcon.js +0 -138
  1276. package/lib/media-picker/image/DefaultFileIcon.js +0 -121
  1277. package/lib/media-picker/image/DefaultVideoIcon.js +0 -174
  1278. package/lib/media-picker/image/DeleteIcon.js +0 -46
  1279. package/lib/media-picker/image/PickFileIcon.js +0 -46
  1280. package/lib/media-picker/image/PickPhotoIcon.js +0 -46
  1281. package/lib/media-picker/image/TakeAudioIcon.js +0 -46
  1282. package/lib/media-picker/image/TakePhotoIcon.js +0 -46
  1283. package/lib/media-picker/image/TakeVideoIcon.js +0 -46
  1284. package/lib/media-picker/index.css +0 -1
  1285. package/lib/media-picker/index.js +0 -1028
  1286. package/lib/media-picker/index.less +0 -148
  1287. package/lib/media-picker/media-util.js +0 -50
  1288. package/lib/media-picker/style/index.js +0 -12
  1289. package/lib/media-picker/style/less.js +0 -12
  1290. package/lib/media-picker/type.js +0 -31
  1291. package/lib/media-player/index.css +0 -1
  1292. package/lib/media-player/index.js +0 -161
  1293. package/lib/media-player/index.less +0 -14
  1294. package/lib/media-player/style/index.js +0 -9
  1295. package/lib/media-player/style/less.js +0 -9
  1296. package/lib/mixins/bind-event.js +0 -36
  1297. package/lib/mixins/checkbox.js +0 -179
  1298. package/lib/mixins/click-outside.js +0 -41
  1299. package/lib/mixins/close-on-popstate.js +0 -46
  1300. package/lib/mixins/field.js +0 -29
  1301. package/lib/mixins/popup/context.js +0 -23
  1302. package/lib/mixins/popup/index.js +0 -236
  1303. package/lib/mixins/popup/overlay.js +0 -97
  1304. package/lib/mixins/popup/type.js +0 -3
  1305. package/lib/mixins/portal.js +0 -53
  1306. package/lib/mixins/relation.js +0 -84
  1307. package/lib/mixins/slots.js +0 -29
  1308. package/lib/mixins/telemetry.js +0 -20
  1309. package/lib/mixins/touch.js +0 -66
  1310. package/lib/multiple-picker/MultiplePickerOptions.js +0 -177
  1311. package/lib/multiple-picker/index.css +0 -1
  1312. package/lib/multiple-picker/index.js +0 -251
  1313. package/lib/multiple-picker/index.less +0 -135
  1314. package/lib/multiple-picker/shared.js +0 -32
  1315. package/lib/multiple-picker/style/index.js +0 -7
  1316. package/lib/multiple-picker/style/less.js +0 -7
  1317. package/lib/nav-bar/index.css +0 -1
  1318. package/lib/nav-bar/index.js +0 -155
  1319. package/lib/nav-bar/index.less +0 -74
  1320. package/lib/nav-bar/style/index.js +0 -4
  1321. package/lib/nav-bar/style/less.js +0 -4
  1322. package/lib/notice-bar/CloseIcon.js +0 -39
  1323. package/lib/notice-bar/MenuIcon.js +0 -40
  1324. package/lib/notice-bar/NoticeIcon.js +0 -40
  1325. package/lib/notice-bar/OpenIcon.js +0 -42
  1326. package/lib/notice-bar/TipIcon.js +0 -40
  1327. package/lib/notice-bar/WarningIcon.js +0 -40
  1328. package/lib/notice-bar/index.less +0 -66
  1329. package/lib/notice-bar/style/less.js +0 -4
  1330. package/lib/number-keyboard/CollapseIcon.js +0 -21
  1331. package/lib/number-keyboard/DeleteIcon.js +0 -21
  1332. package/lib/number-keyboard/Key.js +0 -113
  1333. package/lib/number-keyboard/index.less +0 -144
  1334. package/lib/number-keyboard/style/less.js +0 -3
  1335. package/lib/overlay/index.less +0 -11
  1336. package/lib/overlay/style/less.js +0 -2
  1337. package/lib/password-input/index.less +0 -83
  1338. package/lib/password-input/style/less.js +0 -2
  1339. package/lib/pdf-viewer/index.css +0 -1
  1340. package/lib/pdf-viewer/index.js +0 -459
  1341. package/lib/pdf-viewer/index.less +0 -69
  1342. package/lib/pdf-viewer/style/index.js +0 -9
  1343. package/lib/pdf-viewer/style/less.js +0 -9
  1344. package/lib/picker/PickerColumn.js +0 -320
  1345. package/lib/picker/index.css +0 -1
  1346. package/lib/picker/index.js +0 -467
  1347. package/lib/picker/index.less +0 -155
  1348. package/lib/picker/shared.js +0 -40
  1349. package/lib/picker/style/index.js +0 -7
  1350. package/lib/picker/style/less.js +0 -7
  1351. package/lib/popover/index.css +0 -1
  1352. package/lib/popover/index.js +0 -226
  1353. package/lib/popover/index.less +0 -270
  1354. package/lib/popover/style/index.js +0 -6
  1355. package/lib/popover/style/less.js +0 -6
  1356. package/lib/popup/index.less +0 -137
  1357. package/lib/popup/style/less.js +0 -5
  1358. package/lib/pull-refresh/index.less +0 -25
  1359. package/lib/pull-refresh/style/less.js +0 -3
  1360. package/lib/radio/index.css +0 -1
  1361. package/lib/radio/index.js +0 -40
  1362. package/lib/radio/index.less +0 -104
  1363. package/lib/radio/style/index.js +0 -4
  1364. package/lib/radio/style/less.js +0 -4
  1365. package/lib/radio-group/index.css +0 -1
  1366. package/lib/radio-group/index.js +0 -41
  1367. package/lib/radio-group/index.less +0 -8
  1368. package/lib/radio-group/style/index.js +0 -2
  1369. package/lib/radio-group/style/less.js +0 -2
  1370. package/lib/rate/index.less +0 -47
  1371. package/lib/rate/style/less.js +0 -4
  1372. package/lib/row/index.less +0 -42
  1373. package/lib/row/style/less.js +0 -2
  1374. package/lib/search/index.css +0 -1
  1375. package/lib/search/index.js +0 -131
  1376. package/lib/search/index.less +0 -89
  1377. package/lib/search/style/index.js +0 -6
  1378. package/lib/search/style/less.js +0 -6
  1379. package/lib/signature/bezier.js +0 -90
  1380. package/lib/signature/force-landscape.js +0 -110
  1381. package/lib/signature/index.css +0 -1
  1382. package/lib/signature/index.js +0 -296
  1383. package/lib/signature/index.less +0 -50
  1384. package/lib/signature/point.js +0 -36
  1385. package/lib/signature/style/index.js +0 -9
  1386. package/lib/signature/style/less.js +0 -9
  1387. package/lib/signature/throttle.js +0 -60
  1388. package/lib/skeleton/index.css +0 -1
  1389. package/lib/skeleton/index.js +0 -144
  1390. package/lib/skeleton/index.less +0 -85
  1391. package/lib/skeleton/style/index.js +0 -2
  1392. package/lib/skeleton/style/less.js +0 -2
  1393. package/lib/slider/index.css +0 -1
  1394. package/lib/slider/index.js +0 -352
  1395. package/lib/slider/index.less +0 -108
  1396. package/lib/slider/style/index.js +0 -2
  1397. package/lib/slider/style/less.js +0 -2
  1398. package/lib/step/index.css +0 -1
  1399. package/lib/step/index.js +0 -135
  1400. package/lib/step/index.less +0 -103
  1401. package/lib/step/style/index.js +0 -4
  1402. package/lib/step/style/less.js +0 -4
  1403. package/lib/stepper/index.less +0 -124
  1404. package/lib/stepper/style/less.js +0 -2
  1405. package/lib/steps/index.css +0 -1
  1406. package/lib/steps/index.js +0 -44
  1407. package/lib/steps/index.less +0 -23
  1408. package/lib/steps/style/index.js +0 -2
  1409. package/lib/steps/style/less.js +0 -2
  1410. package/lib/sticky/index.less +0 -14
  1411. package/lib/sticky/style/less.js +0 -2
  1412. package/lib/style/animation.less +0 -139
  1413. package/lib/style/base.less +0 -11
  1414. package/lib/style/clearfix.css +0 -1
  1415. package/lib/style/clearfix.less +0 -5
  1416. package/lib/style/ellipsis.css +0 -1
  1417. package/lib/style/ellipsis.less +0 -13
  1418. package/lib/style/hairline.css +0 -1
  1419. package/lib/style/hairline.less +0 -47
  1420. package/lib/style/halfPxBorder.css +0 -1
  1421. package/lib/style/halfPxBorder.less +0 -78
  1422. package/lib/style/mixins/clearfix.less +0 -7
  1423. package/lib/style/mixins/ellipsis.less +0 -15
  1424. package/lib/style/mixins/hairline.less +0 -70
  1425. package/lib/style/normalize.less +0 -38
  1426. package/lib/style/reset.css +0 -1
  1427. package/lib/style/reset.less +0 -171
  1428. package/lib/style/var.less +0 -1039
  1429. package/lib/swipe/index.less +0 -72
  1430. package/lib/swipe/style/less.js +0 -2
  1431. package/lib/swipe-cell/index.css +0 -1
  1432. package/lib/swipe-cell/index.js +0 -232
  1433. package/lib/swipe-cell/index.less +0 -29
  1434. package/lib/swipe-cell/style/index.js +0 -2
  1435. package/lib/swipe-cell/style/less.js +0 -2
  1436. package/lib/swipe-item/index.less +0 -8
  1437. package/lib/swipe-item/style/less.js +0 -2
  1438. package/lib/switch/index.less +0 -56
  1439. package/lib/switch/shared.js +0 -25
  1440. package/lib/switch/style/less.js +0 -3
  1441. package/lib/switch-cell/index.css +0 -1
  1442. package/lib/switch-cell/index.js +0 -62
  1443. package/lib/switch-cell/index.less +0 -15
  1444. package/lib/switch-cell/style/index.js +0 -7
  1445. package/lib/switch-cell/style/less.js +0 -7
  1446. package/lib/tab/index.less +0 -17
  1447. package/lib/tab/style/less.js +0 -2
  1448. package/lib/tabbar/index.css +0 -1
  1449. package/lib/tabbar/index.js +0 -123
  1450. package/lib/tabbar/index.less +0 -22
  1451. package/lib/tabbar/style/index.js +0 -2
  1452. package/lib/tabbar/style/less.js +0 -2
  1453. package/lib/tabbar-item/index.css +0 -1
  1454. package/lib/tabbar-item/index.js +0 -130
  1455. package/lib/tabbar-item/index.less +0 -46
  1456. package/lib/tabbar-item/style/index.js +0 -4
  1457. package/lib/tabbar-item/style/less.js +0 -4
  1458. package/lib/table/index.css +0 -1
  1459. package/lib/table/index.js +0 -132
  1460. package/lib/table/index.less +0 -53
  1461. package/lib/table/style/index.js +0 -2
  1462. package/lib/table/style/less.js +0 -2
  1463. package/lib/tabs/Content.js +0 -90
  1464. package/lib/tabs/Title.js +0 -102
  1465. package/lib/tabs/index.less +0 -156
  1466. package/lib/tabs/style/less.js +0 -4
  1467. package/lib/tag/index.css +0 -1
  1468. package/lib/tag/index.js +0 -92
  1469. package/lib/tag/index.less +0 -99
  1470. package/lib/tag/style/index.js +0 -4
  1471. package/lib/tag/style/less.js +0 -4
  1472. package/lib/telemetry/index.js +0 -63
  1473. package/lib/timeline/index.css +0 -1
  1474. package/lib/timeline/index.js +0 -221
  1475. package/lib/timeline/index.less +0 -130
  1476. package/lib/timeline/style/index.js +0 -4
  1477. package/lib/timeline/style/less.js +0 -4
  1478. package/lib/toast/index.less +0 -82
  1479. package/lib/toast/style/less.js +0 -7
  1480. package/lib/toast/svg/SuccessIcon.js +0 -40
  1481. package/lib/toast/svg/WarnIcon.js +0 -39
  1482. package/lib/uploader/index.css +0 -1
  1483. package/lib/uploader/index.js +0 -577
  1484. package/lib/uploader/index.less +0 -163
  1485. package/lib/uploader/style/index.js +0 -11
  1486. package/lib/uploader/style/less.js +0 -11
  1487. package/lib/uploader/utils.js +0 -81
  1488. package/lib/utils/create/bem.js +0 -44
  1489. package/lib/utils/create/component.js +0 -79
  1490. package/lib/utils/create/i18n.js +0 -27
  1491. package/lib/utils/create/index.js +0 -15
  1492. package/lib/utils/device.js +0 -15
  1493. package/lib/utils/dom/event.js +0 -62
  1494. package/lib/utils/dom/node.js +0 -12
  1495. package/lib/utils/dom/raf.js +0 -47
  1496. package/lib/utils/dom/reset-scroll.js +0 -21
  1497. package/lib/utils/dom/scroll.js +0 -89
  1498. package/lib/utils/dom/style.js +0 -14
  1499. package/lib/utils/easings.js +0 -17
  1500. package/lib/utils/format/date-util.js +0 -787
  1501. package/lib/utils/format/number.js +0 -60
  1502. package/lib/utils/format/string.js +0 -26
  1503. package/lib/utils/format/unit.js +0 -68
  1504. package/lib/utils/functional.js +0 -68
  1505. package/lib/utils/getScroll.js +0 -34
  1506. package/lib/utils/media/image-util.js +0 -153
  1507. package/lib/utils/raf.js +0 -63
  1508. package/lib/utils/router.js +0 -45
  1509. package/lib/utils/scrollTo.js +0 -56
  1510. package/lib/utils/types.js +0 -3
  1511. package/lib/utils/validate/date.js +0 -10
  1512. package/lib/utils/validate/email.js +0 -10
  1513. package/lib/utils/validate/mobile.js +0 -9
  1514. package/lib/utils/validate/number.js +0 -18
  1515. package/lib/utils/validate/system.js +0 -17
  1516. package/lib/utils/vnodes.js +0 -41
  1517. package/lib/zart.js +0 -84577
  1518. package/lib/zart.min.js +0 -18
package/lib/zart.min.js DELETED
@@ -1,18 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define("zart",["vue"],e):"object"==typeof exports?exports.zart=e(require("vue")):t.zart=e(t.Vue)}("undefined"!=typeof self?self:this,(function(__WEBPACK_EXTERNAL_MODULE__2__){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=37)}([function(t,e,n){"use strict";n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return g.a})),n.d(e,"d",(function(){return m})),n.d(e,"i",(function(){return y})),n.d(e,"j",(function(){return b})),n.d(e,"e",(function(){return C})),n.d(e,"f",(function(){return w})),n.d(e,"g",(function(){return _})),n.d(e,"h",(function(){return x})),n.d(e,"c",(function(){return A})),n.d(e,"k",(function(){return S}));var r=n(2),i=n.n(r);function o(t){return function(e,n){return e&&"string"!=typeof e&&(n=e,e=""),""+(e=e?t+"__"+e:t)+function t(e,n){return n?"string"==typeof n?" "+e+"--"+n:Array.isArray(n)?n.reduce((function(n,r){return n+t(e,r)}),""):Object.keys(n).reduce((function(r,i){return r+(n[i]?t(e,i):"")}),""):""}(e,n)}}var a=n(8),s=n(4),l={methods:{slots:function(t,e){void 0===t&&(t="default");var n=this.$slots,r=this.$scopedSlots[t];return r?r(e):n[t]}}},u=n(5),c={mounted:function(){var t=new u.b(this.$options.name,{});u.a.sharedInstance.trackAppear(t)},unmountd:function(){var t=new u.b(this.$options.name,{});u.a.sharedInstance.trackDisappear(t)}};function h(t){var e=this.name;t.component(e,this),t.component(Object(s.a)("-"+e),this)}function f(t,e){return{functional:!0,props:t.props,model:t.model,render:function(n,r){var i=new u.b(e);return u.a.sharedInstance.trackAppear(i),t(n,r.props,function(t){var e=t.scopedSlots||t.data.scopedSlots||{},n=t.slots();return Object.keys(n).forEach((function(t){e[t]||(e[t]=function(){return n[t]})})),e}(r),r)}}}function d(t){return function(e){return w(e)&&(e=f(e,t)),e.functional||(e.mixins=e.mixins||[],e.mixins.push(l),e.mixins.push(c)),e.name=t,e.install=h,e}}function p(t){var e=Object(s.a)(t)+".";return function(t){for(var n=a.a.messages(),r=A(n,e+t)||A(n,t),i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];return w(r)?r.apply(void 0,o):r}}function v(t){return[d(t="zt-"+t),o(t),p(t)]}var g=n(6),m="undefined"!=typeof window,y=i.a.prototype.$isServer;function b(){}function C(t){return null!=t}function w(t){return"function"==typeof t}function _(t){return null!==t&&"object"==typeof t}function x(t){return _(t)&&w(t.then)&&w(t.catch)}function A(t,e){var n=e.split("."),r=t;return n.forEach((function(t){var e;r=null!=(e=r[t])?e:""})),r}function S(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}var i=["attrs","props","domProps"],o=["class","style","directives"],a=["on","nativeOn"],s=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}};t.exports=function(t){return t.reduce((function(t,e){for(var n in e)if(t[n])if(-1!==i.indexOf(n))t[n]=r({},t[n],e[n]);else if(-1!==o.indexOf(n)){var l=t[n]instanceof Array?t[n]:[t[n]],u=e[n]instanceof Array?e[n]:[e[n]];t[n]=l.concat(u)}else if(-1!==a.indexOf(n))for(var c in e[n])if(t[n][c]){var h=t[n][c]instanceof Array?t[n][c]:[t[n][c]],f=e[n][c]instanceof Array?e[n][c]:[e[n][c]];t[n][c]=h.concat(f)}else t[n][c]=e[n][c];else if("hook"==n)for(var d in e[n])t[n][d]=t[n][d]?s(t[n][d],e[n][d]):e[n][d];else t[n]=e[n];else t[n]=e[n];return t}),{})}},function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var r=n(0),i=Date.now();var o=r.i?t:window,a=o.requestAnimationFrame||function(t){var e=Date.now(),n=Math.max(0,16-(e-i)),r=setTimeout(t,n);return i=e+n,r},s=o.cancelAnimationFrame||o.clearTimeout;function l(t){return a.call(o,t)}function u(t){l((function(){l(t)}))}function c(t){s.call(o,t)}}).call(this,n(9))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=/-(\w)/g;function i(t){return t.replace(r,(function(t,e){return e.toUpperCase()}))}function o(t,e){void 0===e&&(e=2);for(var n=t+"";n.length<e;)n="0"+n;return n}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var r=function(t,e){this.name=t,this.attributes=e||{}},i=function(){function t(){}var e=t.prototype;return e.getRoute=function(){return this.route instanceof Function?(0,this.route)():this.route},e.track=function(t){t.attributes.project=this.project,t.attributes.app=this.app,t.attributes.route=this.getRoute(),this.send&&this.send(t)},e.trackClick=function(t){t.attributes.click=1,this.track(t)},e.trackAppear=function(t){t.attributes.appear=1,this.track(t)},e.trackDisappear=function(t){t.attributes.disappear=1,this.track(t)},t}();i.sharedInstance=new i},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return l}));var r,i=n(0),o=n(7);function a(t){if(Object(i.e)(t))return t=String(t),Object(o.b)(t)?t+"px":t}function s(t){return+(t=t.replace(/rem/g,""))*function(){if(!r){var t=document.documentElement,e=t.style.fontSize||window.getComputedStyle(t).fontSize;r=parseFloat(e)}return r}()}function l(t){if("number"==typeof t)return t;if(i.d){if(-1!==t.indexOf("rem"))return s(t);if(-1!==t.indexOf("vw"))return function(t){return+(t=t.replace(/vw/g,""))*window.innerWidth/100}(t);if(-1!==t.indexOf("vh"))return function(t){return+(t=t.replace(/vh/g,""))*window.innerHeight/100}(t)}return parseFloat(t)}},function(t,e,n){"use strict";function r(t){return/^\d+(\.\d+)?$/.test(t)}function i(t){return Number.isNaN?Number.isNaN(t):t!=t}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var r=n(2),i=n.n(r),o=n(0),a=Object.prototype.hasOwnProperty;function s(t,e){return Object.keys(e).forEach((function(n){!function(t,e,n){var r=e[n];Object(o.e)(r)&&(a.call(t,n)&&Object(o.g)(r)?t[n]=s(Object(t[n]),e[n]):t[n]=r)}(t,e,n)})),t}var l=i.a.prototype,u=i.a.util.defineReactive;u(l,"$zartLang","zh-CN"),u(l,"$zartMessages",{"zh-CN":{name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",nameInvalid:"请输入正确的姓名",confirmDelete:"确定要删除吗",telInvalid:"请输入正确的手机号",ztDateTimePicker:{year:"年",month:"月",day:"日",hour:"时",minute:"分"},ztCalendar:{end:"结束",start:"开始",title:"日期选择",confirm:"确定",startEnd:"开始/结束",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(t,e){return t+"年"+e+"月"},rangePrompt:function(t){return"选择天数不能超过 "+t+" 天"}},vanCascader:{select:"请选择"},vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},ztSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"暂无可用",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠券",enable:"可用",disabled:"不可用",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"},ztAvatar:{defaultSrc:"https://zartui.egova.com.cn/static/head_shot.png",small:"small",medium:"medium",large:"large",square:"square",circle:"circle",defaultText:"头像"},ztSearch:{search:"搜索"},ztEmpty:{notSearchResult:"没有搜索结果",notFound:"页面无法访问",developing:"项目建设中",error:"通用错误",notRight:"您暂未拥有访问权限"},ztSignature:{hint:"请在此签名",browserUnsupported:"对不起,当前浏览器不支持Canvas,无法使用本控件!",screenSizeChangeTip:"旋转屏幕或者改变屏幕大小触发重新绘制",reSign:"重签"}}});e.a={messages:function(){return l.$zartMessages[l.$zartLang]},use:function(t,e){var n;l.$zartLang=t,this.add(((n={})[t]=e,n))},add:function(t){void 0===t&&(t={}),s(l.$zartMessages,t)}}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";(function(t){var r=n(12);if(n(14),"server"!==t.env.VUE_ENV){var i=n(30).default,o=window.pdfjsLib;if("undefined"!=typeof window&&"Worker"in window&&-1===navigator.appVersion.indexOf("MSIE 10")){var a=n(32);o.GlobalWorkerOptions.workerPort=new a}var s=Object(r.a)(i(o))}else s=Object(r.a)({});e.a=s}).call(this,n(13))},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r={props:{initial:{type:Boolean,default:!1}},data:function(){return{size:{width:-1,height:-1}}},methods:{reset:function(){var t=this.$el.firstChild,e=this.$el.lastChild;t.scrollLeft=1e5,t.scrollTop=1e5,e.scrollLeft=1e5,e.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight}},watch:{size:{deep:!0,handler:function(t){this.reset(),this.$emit("resize",{width:this.size.width,height:this.size.height})}}},render:function(t){var e="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0;";return t("div",{style:e+"animation-name: resizeSensorVisibility;",on:{"~animationstart":this.update}},[t("div",{style:e,on:{scroll:this.update}},[t("div",{style:n+"width: 100000px; height: 100000px;"})]),t("div",{style:e,on:{scroll:this.update}},[t("div",{style:n+"width: 200%; height: 200%;"})])])},beforeDestroy:function(){this.$emit("resize",{width:0,height:0}),this.$emit("resizeSensorBeforeDestroy")},mounted:function(){if(!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"attachEvent"in this.$el&&!("AnimationEvent"in window)){var t=function(){this.update(),e()}.bind(this),e=function(){this.$el.detachEvent("onresize",t),this.$off("resizeSensorBeforeDestroy",e)}.bind(this);this.$el.attachEvent("onresize",t),this.$on("resizeSensorBeforeDestroy",e),this.reset()}}},i=(n(28),n(11)),o=Object(i.a)(r,void 0,void 0,!1,null,null,null).exports;e.a=function(t){var e=t.createLoadingTask,n=t.PDFJSWrapper;return{createLoadingTask:e,render:function(t){return t("span",{attrs:{style:"position: relative; display: block"}},[t("canvas",{attrs:{style:"display: inline-block; width: 100%; height: 100%; vertical-align: top"},ref:"canvas"}),t("span",{style:"display: inline-block; width: 100%; height: 100%",class:"annotationLayer",ref:"annotationLayer"}),t(o,{props:{initial:!0},on:{resize:this.resize}})])},props:{src:{type:[String,Object,Uint8Array],default:""},page:{type:Number,default:1},rotate:{type:Number}},watch:{src:function(){this.pdf.loadDocument(this.src)},page:function(){this.pdf.loadPage(this.page,this.rotate)},rotate:function(){this.pdf.renderPage(this.rotate)}},methods:{resize:function(t){if(null!==this.$el.parentNode&&(0!==t.width||0!==t.height)){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(this.$refs.canvas.height/this.$refs.canvas.width)+"px";var e=this.pdf.getResolutionScale();(e<.85||e>1.15)&&this.pdf.renderPage(this.rotate)}},print:function(t,e){this.pdf.printPage(t,e)}},mounted:function(){this.pdf=new n(this.$refs.canvas,this.$refs.annotationLayer,this.$emit.bind(this)),this.$on("loaded",(function(){this.pdf.loadPage(this.page,this.rotate)})),this.$on("page-size",(function(t,e){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(e/t)+"px"})),this.pdf.loadDocument(this.src)},destroyed:function(){this.pdf.destroy()}}}},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var l,u=[],c=!1,h=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&d())}function d(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];++h<e;)l&&l[h].run();h=-1,e=u.length}l=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function v(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new p(t,e)),1!==u.length||c||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(module,exports,__webpack_require__){(function(global,Buffer,process){var root,factory;root="undefined"==typeof window?global:window,factory=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLinkAttributes",{enumerable:!0,get:function(){return r.addLinkAttributes}}),Object.defineProperty(e,"getFilenameFromUrl",{enumerable:!0,get:function(){return r.getFilenameFromUrl}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return r.LinkTarget}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return r.loadScript}}),Object.defineProperty(e,"PDFDateString",{enumerable:!0,get:function(){return r.PDFDateString}}),Object.defineProperty(e,"RenderingCancelledException",{enumerable:!0,get:function(){return r.RenderingCancelledException}}),Object.defineProperty(e,"build",{enumerable:!0,get:function(){return i.build}}),Object.defineProperty(e,"getDocument",{enumerable:!0,get:function(){return i.getDocument}}),Object.defineProperty(e,"LoopbackPort",{enumerable:!0,get:function(){return i.LoopbackPort}}),Object.defineProperty(e,"PDFDataRangeTransport",{enumerable:!0,get:function(){return i.PDFDataRangeTransport}}),Object.defineProperty(e,"PDFWorker",{enumerable:!0,get:function(){return i.PDFWorker}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return i.version}}),Object.defineProperty(e,"CMapCompressionType",{enumerable:!0,get:function(){return o.CMapCompressionType}}),Object.defineProperty(e,"createObjectURL",{enumerable:!0,get:function(){return o.createObjectURL}}),Object.defineProperty(e,"createPromiseCapability",{enumerable:!0,get:function(){return o.createPromiseCapability}}),Object.defineProperty(e,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return o.createValidAbsoluteUrl}}),Object.defineProperty(e,"InvalidPDFException",{enumerable:!0,get:function(){return o.InvalidPDFException}}),Object.defineProperty(e,"MissingPDFException",{enumerable:!0,get:function(){return o.MissingPDFException}}),Object.defineProperty(e,"OPS",{enumerable:!0,get:function(){return o.OPS}}),Object.defineProperty(e,"PasswordResponses",{enumerable:!0,get:function(){return o.PasswordResponses}}),Object.defineProperty(e,"PermissionFlag",{enumerable:!0,get:function(){return o.PermissionFlag}}),Object.defineProperty(e,"removeNullCharacters",{enumerable:!0,get:function(){return o.removeNullCharacters}}),Object.defineProperty(e,"shadow",{enumerable:!0,get:function(){return o.shadow}}),Object.defineProperty(e,"UnexpectedResponseException",{enumerable:!0,get:function(){return o.UnexpectedResponseException}}),Object.defineProperty(e,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return o.UNSUPPORTED_FEATURES}}),Object.defineProperty(e,"Util",{enumerable:!0,get:function(){return o.Util}}),Object.defineProperty(e,"VerbosityLevel",{enumerable:!0,get:function(){return o.VerbosityLevel}}),Object.defineProperty(e,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(e,"apiCompatibilityParams",{enumerable:!0,get:function(){return s.apiCompatibilityParams}}),Object.defineProperty(e,"GlobalWorkerOptions",{enumerable:!0,get:function(){return l.GlobalWorkerOptions}}),Object.defineProperty(e,"renderTextLayer",{enumerable:!0,get:function(){return u.renderTextLayer}}),Object.defineProperty(e,"SVGGraphics",{enumerable:!0,get:function(){return c.SVGGraphics}});var r=n(1),i=n(198),o=n(5),a=n(209),s=n(200),l=n(203),u=n(210),c=n(211);if(n(7).isNodeJS){var h=n(212).PDFNodeStream;(0,i.setPDFNetworkStreamFactory)((function(t){return new h(t)}))}else{var f,d=n(215).PDFNetworkStream;(0,r.isFetchSupported)()&&(f=n(216).PDFFetchStream),(0,i.setPDFNetworkStreamFactory)((function(t){return f&&(0,r.isValidFetchUrl)(t.url)?new f(t):new d(t)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addLinkAttributes=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.url,r=e.target,i=e.rel,a=e.enabled,s=void 0===a||a;(0,o.assert)(n&&"string"==typeof n,'addLinkAttributes: A valid "url" parameter must provided.');var l=(0,o.removeNullCharacters)(n);s?t.href=t.title=l:(t.href="",t.title="Disabled: ".concat(l),t.onclick=function(){return!1});var u="";switch(r){case A.NONE:break;case A.SELF:u="_self";break;case A.BLANK:u="_blank";break;case A.PARENT:u="_parent";break;case A.TOP:u="_top"}t.target=u,t.rel="string"==typeof i?i:"noopener noreferrer nofollow"},e.getFilenameFromUrl=function(t){var e=t.indexOf("#"),n=t.indexOf("?"),r=Math.min(e>0?e:t.length,n>0?n:t.length);return t.substring(t.lastIndexOf("/",r)+1,r)},e.isFetchSupported=P,e.isValidFetchUrl=L,e.loadScript=function(t){return new Promise((function(e,n){var r=document.createElement("script");r.src=t,r.onload=e,r.onerror=function(){n(new Error("Cannot load script at: ".concat(r.src)))},(document.head||document.documentElement).appendChild(r)}))},e.deprecated=function(t){console.log("Deprecated API usage: "+t)},e.PDFDateString=e.StatTimer=e.DOMSVGFactory=e.DOMCMapReaderFactory=e.DOMCanvasFactory=e.DEFAULT_LINK_REL=e.LinkTarget=e.RenderingCancelledException=e.PageViewport=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e,n){return e&&g(t.prototype,e),n&&g(t,n),t}e.DEFAULT_LINK_REL="noopener noreferrer nofollow";var y="http://www.w3.org/2000/svg",b=function(){function t(){v(this,t)}return m(t,[{key:"create",value:function(t,e){if(t<=0||e<=0)throw new Error("Invalid canvas size");var n=document.createElement("canvas"),r=n.getContext("2d");return n.width=t,n.height=e,{canvas:n,context:r}}},{key:"reset",value:function(t,e,n){if(!t.canvas)throw new Error("Canvas is not specified");if(e<=0||n<=0)throw new Error("Invalid canvas size");t.canvas.width=e,t.canvas.height=n}},{key:"destroy",value:function(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}}]),t}();e.DOMCanvasFactory=b;var C=function(){function t(e){var n=e.baseUrl,r=void 0===n?null:n,i=e.isCompressed,o=void 0!==i&&i;v(this,t),this.baseUrl=r,this.isCompressed=o}return m(t,[{key:"fetch",value:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){var t=p(i.default.mark((function t(e){var n,r,a,s=this;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.name,this.baseUrl){t.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(n){t.next=5;break}throw new Error("CMap name must be specified.");case 5:if(r=this.baseUrl+n+(this.isCompressed?".bcmap":""),a=this.isCompressed?o.CMapCompressionType.BINARY:o.CMapCompressionType.NONE,!P()||!L(r,document.baseURI)){t.next=9;break}return t.abrupt("return",fetch(r).then(function(){var t=p(i.default.mark((function t(e){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.ok){t.next=2;break}throw new Error(e.statusText);case 2:if(!s.isCompressed){t.next=10;break}return t.t0=Uint8Array,t.next=6,e.arrayBuffer();case 6:t.t1=t.sent,n=new t.t0(t.t1),t.next=15;break;case 10:return t.t2=o.stringToBytes,t.next=13,e.text();case 13:t.t3=t.sent,n=(0,t.t2)(t.t3);case 15:return t.abrupt("return",{cMapData:n,compressionType:a});case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"")+"CMap at: ".concat(r))})));case 9:return t.abrupt("return",new Promise((function(t,e){var n=new XMLHttpRequest;n.open("GET",r,!0),s.isCompressed&&(n.responseType="arraybuffer"),n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE){var r;if((200===n.status||0===n.status)&&(s.isCompressed&&n.response?r=new Uint8Array(n.response):!s.isCompressed&&n.responseText&&(r=(0,o.stringToBytes)(n.responseText)),r))return void t({cMapData:r,compressionType:a});e(new Error(n.statusText))}},n.send(null)})).catch((function(t){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"")+"CMap at: ".concat(r))})));case 10:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}())}]),t}();e.DOMCMapReaderFactory=C;var w=function(){function t(){v(this,t)}return m(t,[{key:"create",value:function(t,e){(0,o.assert)(t>0&&e>0,"Invalid SVG dimensions");var n=document.createElementNS(y,"svg:svg");return n.setAttribute("version","1.1"),n.setAttribute("width",t+"px"),n.setAttribute("height",e+"px"),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 "+t+" "+e),n}},{key:"createElement",value:function(t){return(0,o.assert)("string"==typeof t,"Invalid SVG element type"),document.createElementNS(y,t)}}]),t}();e.DOMSVGFactory=w;var _=function(){function t(e){var n=e.viewBox,r=e.scale,i=e.rotation,o=e.offsetX,a=void 0===o?0:o,s=e.offsetY,l=void 0===s?0:s,u=e.dontFlip,c=void 0!==u&&u;v(this,t),this.viewBox=n,this.scale=r,this.rotation=i,this.offsetX=a,this.offsetY=l;var h,f,d,p,g,m,y,b,C=(n[2]+n[0])/2,w=(n[3]+n[1])/2;switch(i=(i%=360)<0?i+360:i){case 180:h=-1,f=0,d=0,p=1;break;case 90:h=0,f=1,d=1,p=0;break;case 270:h=0,f=-1,d=-1,p=0;break;case 0:h=1,f=0,d=0,p=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}c&&(d=-d,p=-p),0===h?(g=Math.abs(w-n[1])*r+a,m=Math.abs(C-n[0])*r+l,y=Math.abs(n[3]-n[1])*r,b=Math.abs(n[2]-n[0])*r):(g=Math.abs(C-n[0])*r+a,m=Math.abs(w-n[1])*r+l,y=Math.abs(n[2]-n[0])*r,b=Math.abs(n[3]-n[1])*r),this.transform=[h*r,f*r,d*r,p*r,g-h*r*C-d*r*w,m-f*r*C-p*r*w],this.width=y,this.height=b}return m(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.scale,r=void 0===n?this.scale:n,i=e.rotation,o=void 0===i?this.rotation:i,a=e.offsetX,s=void 0===a?this.offsetX:a,l=e.offsetY,u=void 0===l?this.offsetY:l,c=e.dontFlip,h=void 0!==c&&c;return new t({viewBox:this.viewBox.slice(),scale:r,rotation:o,offsetX:s,offsetY:u,dontFlip:h})}},{key:"convertToViewportPoint",value:function(t,e){return o.Util.applyTransform([t,e],this.transform)}},{key:"convertToViewportRectangle",value:function(t){var e=o.Util.applyTransform([t[0],t[1]],this.transform),n=o.Util.applyTransform([t[2],t[3]],this.transform);return[e[0],e[1],n[0],n[1]]}},{key:"convertToPdfPoint",value:function(t,e){return o.Util.applyInverseTransform([t,e],this.transform)}}]),t}();e.PageViewport=_;var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(n,t);var e=c(n);function n(t,r){var i;return v(this,n),(i=e.call(this,t)).type=r,i}return n}(o.BaseException);e.RenderingCancelledException=x;var A={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};e.LinkTarget=A;var S,k=function(){function t(){v(this,t),this.started=Object.create(null),this.times=[]}return m(t,[{key:"time",value:function(t){t in this.started&&(0,o.warn)("Timer is already running for ".concat(t)),this.started[t]=Date.now()}},{key:"timeEnd",value:function(t){t in this.started||(0,o.warn)("Timer has not been started for ".concat(t)),this.times.push({name:t,start:this.started[t],end:Date.now()}),delete this.started[t]}},{key:"toString",value:function(){var t,e=[],n=0,r=a(this.times);try{for(r.s();!(t=r.n()).done;){var i=t.value.name;i.length>n&&(n=i.length)}}catch(t){r.e(t)}finally{r.f()}var o,s=a(this.times);try{for(s.s();!(o=s.n()).done;){var l=o.value,u=l.end-l.start;e.push("".concat(l.name.padEnd(n)," ").concat(u,"ms\n"))}}catch(t){s.e(t)}finally{s.f()}return e.join("")}}]),t}();function P(){return"undefined"!=typeof fetch&&"undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream}function L(t,e){try{var n=(e?new URL(t,e):new URL(t)).protocol;return"http:"===n||"https:"===n}catch(t){return!1}}e.StatTimer=k;var T=function(){function t(){v(this,t)}return m(t,null,[{key:"toDateObject",value:function(t){if(!t||!(0,o.isString)(t))return null;S||(S=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var e=S.exec(t);if(!e)return null;var n=parseInt(e[1],10),r=parseInt(e[2],10);r=r>=1&&r<=12?r-1:0;var i=parseInt(e[3],10);i=i>=1&&i<=31?i:1;var a=parseInt(e[4],10);a=a>=0&&a<=23?a:0;var s=parseInt(e[5],10);s=s>=0&&s<=59?s:0;var l=parseInt(e[6],10);l=l>=0&&l<=59?l:0;var u=e[7]||"Z",c=parseInt(e[8],10);c=c>=0&&c<=23?c:0;var h=parseInt(e[9],10)||0;return h=h>=0&&h<=59?h:0,"-"===u?(a+=c,s+=h):"+"===u&&(a-=c,s-=h),new Date(Date.UTC(n,r,i,a,s,l))}}]),t}();e.PDFDateString=T},function(t,e,n){"use strict";t.exports=n(3)},function(t,e,n){"use strict";(function(t){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=function(t){var n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var c={};function h(){}function f(){}function d(){}var p={};p[o]=function(){return this};var v=Object.getPrototypeOf,g=v&&v(v(A([])));g&&g!==n&&r.call(g,o)&&(p=g);var m=d.prototype=h.prototype=Object.create(p);function y(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function b(t,n){var i;this._invoke=function(o,a){function s(){return new n((function(i,s){!function i(o,a,s,l){var c=u(t[o],t,a);if("throw"!==c.type){var h=c.arg,f=h.value;return f&&"object"===e(f)&&r.call(f,"__await")?n.resolve(f.__await).then((function(t){i("next",t,s,l)}),(function(t){i("throw",t,s,l)})):n.resolve(f).then((function(t){h.value=t,s(h)}),(function(t){return i("throw",t,s,l)}))}l(c.arg)}(o,a,i,s)}))}return i=i?i.then(s,s):s()}}function C(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,c;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function A(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return f.prototype=m.constructor=d,d.constructor=f,d[s]=f.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},y(b.prototype),b.prototype[a]=function(){return this},t.AsyncIterator=b,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new b(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(m),m[s]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),c},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(4)(t))},function(t,e,n){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.arrayByteLength=P,e.arraysToBytes=function(t){var e=t.length;if(1===e&&t[0]instanceof Uint8Array)return t[0];for(var n=0,r=0;r<e;r++)n+=P(t[r]);for(var i=0,o=new Uint8Array(n),a=0;a<e;a++){var s=t[a];s instanceof Uint8Array||(s="string"==typeof s?k(s):new Uint8Array(s));var l=s.byteLength;o.set(s,i),i+=l}return o},e.assert=v,e.bytesToString=function(t){v(null!==t&&"object"===i(t)&&void 0!==t.length,"Invalid argument for bytesToString");var e=t.length;if(e<8192)return String.fromCharCode.apply(null,t);for(var n=[],r=0;r<e;r+=8192){var o=Math.min(r+8192,e),a=t.subarray(r,o);n.push(String.fromCharCode.apply(null,a))}return n.join("")},e.createPromiseCapability=function(){var t=Object.create(null),e=!1;return Object.defineProperty(t,"settled",{get:function(){return e}}),t.promise=new Promise((function(n,r){t.resolve=function(t){e=!0,n(t)},t.reject=function(t){e=!0,r(t)}})),t},e.getVerbosityLevel=function(){return f},e.info=function(t){f>=h.INFOS&&console.log("Info: ".concat(t))},e.isArrayBuffer=function(t){return"object"===i(t)&&null!==t&&void 0!==t.byteLength},e.isArrayEqual=function(t,e){return t.length===e.length&&t.every((function(t,n){return t===e[n]}))},e.isBool=function(t){return"boolean"==typeof t},e.isEmptyObj=function(t){for(var e in t)return!1;return!0},e.isNum=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSameOrigin=function(t,e){var n;try{if(!(n=new URL(t)).origin||"null"===n.origin)return!1}catch(t){return!1}var r=new URL(e,n);return n.origin===r.origin},e.createValidAbsoluteUrl=function(t,e){if(!t)return null;try{var n=e?new URL(t,e):new URL(t);if(function(t){if(!t)return!1;switch(t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n))return n}catch(t){}return null},e.removeNullCharacters=function(t){return"string"!=typeof t?(d("The argument for removeNullCharacters must be a string."),t):t.replace(S,"")},e.setVerbosityLevel=function(t){Number.isInteger(t)&&(f=t)},e.shadow=g,e.string32=function(t){return String.fromCharCode(t>>24&255,t>>16&255,t>>8&255,255&t)},e.stringToBytes=k,e.stringToPDFString=function(t){var e=t.length,n=[];if("þ"===t[0]&&"ÿ"===t[1])for(var r=2;r<e;r+=2)n.push(String.fromCharCode(t.charCodeAt(r)<<8|t.charCodeAt(r+1)));else if("ÿ"===t[0]&&"þ"===t[1])for(var i=2;i<e;i+=2)n.push(String.fromCharCode(t.charCodeAt(i+1)<<8|t.charCodeAt(i)));else for(var o=0;o<e;++o){var a=R[t.charCodeAt(o)];n.push(a?String.fromCharCode(a):t.charAt(o))}return n.join("")},e.stringToUTF8String=function(t){return decodeURIComponent(escape(t))},e.utf8StringToString=function(t){return unescape(encodeURIComponent(t))},e.warn=d,e.unreachable=p,e.IsEvalSupportedCached=e.IsLittleEndianCached=e.createObjectURL=e.FormatError=e.Util=e.UnknownErrorException=e.UnexpectedResponseException=e.TextRenderingMode=e.StreamType=e.PermissionFlag=e.PasswordResponses=e.PasswordException=e.MissingPDFException=e.InvalidPDFException=e.AbortException=e.CMapCompressionType=e.ImageKind=e.FontType=e.AnnotationType=e.AnnotationStateModelType=e.AnnotationReviewState=e.AnnotationReplyType=e.AnnotationMarkedState=e.AnnotationFlag=e.AnnotationFieldFlag=e.AnnotationBorderStyleType=e.UNSUPPORTED_FEATURES=e.VerbosityLevel=e.OPS=e.IDENTITY_MATRIX=e.FONT_IDENTITY_MATRIX=e.BaseException=void 0,n(6),e.IDENTITY_MATRIX=[1,0,0,1,0,0],e.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],e.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},e.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},e.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},e.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},e.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},e.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},e.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},e.AnnotationReplyType={GROUP:"Group",REPLY:"R"},e.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},e.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},e.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},e.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},e.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var h={ERRORS:0,WARNINGS:1,INFOS:5};e.VerbosityLevel=h,e.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},e.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},e.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontGetPath:"errorFontGetPath"},e.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var f=h.WARNINGS;function d(t){f>=h.WARNINGS&&console.log("Warning: ".concat(t))}function p(t){throw new Error(t)}function v(t,e){t||p(e)}function g(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}var m=function(){function t(e){this.constructor===t&&p("Cannot initialize BaseException."),this.message=e,this.name=this.constructor.name}return t.prototype=new Error,t.constructor=t,t}();e.BaseException=m;var y=function(t){a(n,t);var e=l(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t)).code=r,i}return n}(m);e.PasswordException=y;var b=function(t){a(n,t);var e=l(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t)).details=r,i}return n}(m);e.UnknownErrorException=b;var C=function(t){a(n,t);var e=l(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(m);e.InvalidPDFException=C;var w=function(t){a(n,t);var e=l(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(m);e.MissingPDFException=w;var _=function(t){a(n,t);var e=l(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t)).status=r,i}return n}(m);e.UnexpectedResponseException=_;var x=function(t){a(n,t);var e=l(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(m);e.FormatError=x;var A=function(t){a(n,t);var e=l(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(m);e.AbortException=A;var S=/\x00/g;function k(t){v("string"==typeof t,"Invalid argument for stringToBytes");for(var e=t.length,n=new Uint8Array(e),r=0;r<e;++r)n[r]=255&t.charCodeAt(r);return n}function P(t){return void 0!==t.length?t.length:(v(void 0!==t.byteLength,"arrayByteLength - invalid argument."),t.byteLength)}var L={get value(){return g(this,"value",((t=new Uint8Array(4))[0]=1,1===new Uint32Array(t.buffer,0,1)[0]));var t}};e.IsLittleEndianCached=L;var T={get value(){return g(this,"value",function(){try{return new Function(""),!0}catch(t){return!1}}())}};e.IsEvalSupportedCached=T;var O=["rgb(",0,",",0,",",0,")"],E=function(){function t(){o(this,t)}var e,n,i;return e=t,i=[{key:"makeCssRgb",value:function(t,e,n){return O[1]=t,O[3]=e,O[5]=n,O.join("")}},{key:"transform",value:function(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}},{key:"applyTransform",value:function(t,e){return[t[0]*e[0]+t[1]*e[2]+e[4],t[0]*e[1]+t[1]*e[3]+e[5]]}},{key:"applyInverseTransform",value:function(t,e){var n=e[0]*e[3]-e[1]*e[2];return[(t[0]*e[3]-t[1]*e[2]+e[2]*e[5]-e[4]*e[3])/n,(-t[0]*e[1]+t[1]*e[0]+e[4]*e[1]-e[5]*e[0])/n]}},{key:"getAxialAlignedBoundingBox",value:function(e,n){var r=t.applyTransform(e,n),i=t.applyTransform(e.slice(2,4),n),o=t.applyTransform([e[0],e[3]],n),a=t.applyTransform([e[2],e[1]],n);return[Math.min(r[0],i[0],o[0],a[0]),Math.min(r[1],i[1],o[1],a[1]),Math.max(r[0],i[0],o[0],a[0]),Math.max(r[1],i[1],o[1],a[1])]}},{key:"inverseTransform",value:function(t){var e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}},{key:"apply3dTransform",value:function(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[3]*e[0]+t[4]*e[1]+t[5]*e[2],t[6]*e[0]+t[7]*e[1]+t[8]*e[2]]}},{key:"singularValueDecompose2dScale",value:function(t){var e=[t[0],t[2],t[1],t[3]],n=t[0]*e[0]+t[1]*e[2],r=t[0]*e[1]+t[1]*e[3],i=t[2]*e[0]+t[3]*e[2],o=t[2]*e[1]+t[3]*e[3],a=(n+o)/2,s=Math.sqrt((n+o)*(n+o)-4*(n*o-i*r))/2,l=a+s||1,u=a-s||1;return[Math.sqrt(l),Math.sqrt(u)]}},{key:"normalizeRect",value:function(t){var e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}},{key:"intersect",value:function(e,n){function r(t,e){return t-e}var i=[e[0],e[2],n[0],n[2]].sort(r),o=[e[1],e[3],n[1],n[3]].sort(r),a=[];return e=t.normalizeRect(e),n=t.normalizeRect(n),i[0]===e[0]&&i[1]===n[0]||i[0]===n[0]&&i[1]===e[0]?(a[0]=i[1],a[2]=i[2],o[0]===e[1]&&o[1]===n[1]||o[0]===n[1]&&o[1]===e[1]?(a[1]=o[1],a[3]=o[2],a):null):null}}],(n=null)&&r(e.prototype,n),i&&r(e,i),t}();e.Util=E;var F,R=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364],I=(F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n&&URL.createObjectURL){var r=new Blob([t],{type:e});return URL.createObjectURL(r)}for(var i="data:".concat(e,";base64,"),o=0,a=t.length;o<a;o+=3){var s=255&t[o],l=255&t[o+1],u=255&t[o+2],c=s>>2,h=(3&s)<<4|l>>4,f=o+1<a?(15&l)<<2|u>>6:64,d=o+2<a?63&u:64;i+=F[c]+F[h]+F[f]+F[d]}return i});e.createObjectURL=I},function(t,e,n){"use strict";var r=n(7);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}if("undefined"==typeof globalThis||!globalThis._pdfjsCompatibilityChecked){"undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=n(8)),globalThis._pdfjsCompatibilityChecked=!0;var o="object"===("undefined"==typeof window?"undefined":i(window))&&"object"===("undefined"==typeof document?"undefined":i(document)),a="undefined"!=typeof navigator&&navigator.userAgent||"",s=/Trident/.test(a);!globalThis.btoa&&r.isNodeJS&&(globalThis.btoa=function(t){return Buffer.from(t,"binary").toString("base64")}),!globalThis.atob&&r.isNodeJS&&(globalThis.atob=function(t){return Buffer.from(t,"base64").toString("binary")}),o&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),function(){if(o&&!r.isNodeJS){var t=document.createElement("div");if(t.classList.add("testOne","testTwo"),!0!==t.classList.contains("testOne")||!0!==t.classList.contains("testTwo")){var e=DOMTokenList.prototype.add,n=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];e.call(this,a)}},DOMTokenList.prototype.remove=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var i=0,o=e;i<o.length;i++){var a=o[i];n.call(this,a)}}}}}(),o&&!r.isNodeJS&&!1!==document.createElement("div").classList.toggle("test",0)&&(DOMTokenList.prototype.toggle=function(t){var e=arguments.length>1?!!arguments[1]:!this.contains(t);return this[e?"add":"remove"](t),e}),function(){if(o&&s){var t=window.history.pushState,e=window.history.replaceState;window.history.pushState=function(e,n,r){var i=void 0===r?[e,n]:[e,n,r];t.apply(this,i)},window.history.replaceState=function(t,n,r){var i=void 0===r?[t,n]:[t,n,r];e.apply(this,i)}}}(),String.prototype.startsWith||n(53),String.prototype.endsWith||n(64),String.prototype.includes||n(66),Array.prototype.includes||n(68),Array.from||n(76),Object.assign||n(98),Math.log2||(Math.log2=n(101)),Number.isNaN||(Number.isNaN=n(103)),Number.isInteger||(Number.isInteger=n(105)),Uint8Array.prototype.slice||n(108),globalThis.Promise&&globalThis.Promise.allSettled||(globalThis.Promise=n(113)),globalThis.URL=n(136),function(){var t=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(t){t.close()}}),t=!0}catch(t){}t||(globalThis.ReadableStream=n(143).ReadableStream)}(),globalThis.Map&&globalThis.Map.prototype.entries||(globalThis.Map=n(144)),globalThis.Set&&globalThis.Set.prototype.entries||(globalThis.Set=n(151)),globalThis.WeakMap||(globalThis.WeakMap=n(153)),globalThis.WeakSet||(globalThis.WeakSet=n(159)),String.prototype.codePointAt||n(161),String.fromCodePoint||(String.fromCodePoint=n(163)),globalThis.Symbol||n(165),String.prototype.padStart||n(188),String.prototype.padEnd||n(193),Object.values||(Object.values=n(195))}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.isNodeJS=void 0;var i="object"===(void 0===process?"undefined":r(process))&&process+""=="[object process]"&&!process.versions.nw&&!process.versions.electron;e.isNodeJS=i},function(t,e,n){n(9),t.exports=n(11)},function(t,e,n){n(10)({global:!0},{globalThis:n(11)})},function(t,e,n){var r=n(11),i=n(12).f,o=n(26),a=n(29),s=n(30),l=n(40),u=n(52);t.exports=function(t,e){var n,c,h,f,d,p=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in e){if(f=e[c],h=t.noTargetGet?(d=i(n,c))&&d.value:n[c],!u(v?c:p+(g?".":"#")+c,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;l(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),a(n,c,f,t)}}},function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},function(t,e,n){var r=n(13),i=n(15),o=n(16),a=n(17),s=n(21),l=n(23),u=n(24),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=a(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(l(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e,n){var r=n(14);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(18),i=n(20);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(14),i=n(19),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(22);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(13),i=n(14),o=n(25);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(11),i=n(22),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var r=n(13),i=n(27),o=n(16);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(13),i=n(24),o=n(28),a=n(21),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(22);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(11),i=n(26),o=n(23),a=n(30),s=n(31),l=n(33),u=l.get,c=l.enforce,h=String(String).split("String");(t.exports=function(t,e,n,s){var l=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),c(n).source=h.join("string"==typeof e?e:"")),t!==r?(l?!f&&t[e]&&(u=!0):delete t[e],u?t[e]=n:i(t,e,n)):u?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(t,e,n){var r=n(11),i=n(26);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(32),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},function(t,e,n){var r=n(11),i=n(30),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,e,n){var r,i,o,a=n(34),s=n(11),l=n(22),u=n(26),c=n(23),h=n(35),f=n(39),d=s.WeakMap;if(a){var p=new d,v=p.get,g=p.has,m=p.set;r=function(t,e){return m.call(p,t,e),e},i=function(t){return v.call(p,t)||{}},o=function(t){return g.call(p,t)}}else{var y=h("state");f[y]=!0,r=function(t,e){return u(t,y,e),e},i=function(t){return c(t,y)?t[y]:{}},o=function(t){return c(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(11),i=n(31),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},function(t,e,n){var r=n(36),i=n(38),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){var r=n(37),i=n(32);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e){t.exports={}},function(t,e,n){var r=n(23),i=n(41),o=n(12),a=n(27);t.exports=function(t,e){for(var n=i(e),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(t,c)||s(t,c,l(e,c))}}},function(t,e,n){var r=n(42),i=n(44),o=n(51),a=n(28);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(43),i=n(11),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},function(t,e,n){var r=n(11);t.exports=r},function(t,e,n){var r=n(45),i=n(50).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(23),i=n(17),o=n(46).indexOf,a=n(39);t.exports=function(t,e){var n,s=i(t),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(17),i=n(47),o=n(49),a=function(t){return function(e,n,a){var s,l=r(e),u=i(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(48),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(48),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(14),i=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==u||n!=l&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},function(t,e,n){n(54);var r=n(61);t.exports=r("String","startsWith")},function(t,e,n){"use strict";var r,i=n(10),o=n(12).f,a=n(47),s=n(55),l=n(20),u=n(60),c=n(37),h="".startsWith,f=Math.min,d=u("startsWith");i({target:"String",proto:!0,forced:!(!c&&!d&&(r=o(String.prototype,"startsWith"),r&&!r.writable)||d)},{startsWith:function(t){var e=String(l(this));s(t);var n=a(f(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return h?h.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){var r=n(56);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(22),i=n(19),o=n(57)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(11),i=n(36),o=n(23),a=n(38),s=n(58),l=n(59),u=i("wks"),c=r.Symbol,h=l?c:c&&c.withoutSetter||a;t.exports=function(t){return o(u,t)||(s&&o(c,t)?u[t]=c[t]:u[t]=h("Symbol."+t)),u[t]}},function(t,e,n){var r=n(14);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,e,n){var r=n(58);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(57)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){var r=n(11),i=n(62),o=Function.call;t.exports=function(t,e,n){return i(o,r[t].prototype[e],n)}},function(t,e,n){var r=n(63);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){n(65);var r=n(61);t.exports=r("String","endsWith")},function(t,e,n){"use strict";var r,i=n(10),o=n(12).f,a=n(47),s=n(55),l=n(20),u=n(60),c=n(37),h="".endsWith,f=Math.min,d=u("endsWith");i({target:"String",proto:!0,forced:!(!c&&!d&&(r=o(String.prototype,"endsWith"),r&&!r.writable)||d)},{endsWith:function(t){var e=String(l(this));s(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),i=void 0===n?r:f(a(n),r),o=String(t);return h?h.call(e,o,i):e.slice(i-o.length,i)===o}})},function(t,e,n){n(67);var r=n(61);t.exports=r("String","includes")},function(t,e,n){"use strict";var r=n(10),i=n(55),o=n(20);r({target:"String",proto:!0,forced:!n(60)("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){n(69);var r=n(61);t.exports=r("Array","includes")},function(t,e,n){"use strict";var r=n(10),i=n(46).includes,o=n(70);r({target:"Array",proto:!0,forced:!n(75)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(t,e,n){var r=n(57),i=n(71),o=n(27),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){var r,i=n(28),o=n(72),a=n(50),s=n(39),l=n(74),u=n(25),c=n(35),h=c("IE_PROTO"),f=function(){},d=function(t){return"<script>"+t+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=r?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=u("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};s[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=i(t),n=new f,f.prototype=null,n[h]=t):n=p(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(13),i=n(27),o=n(28),a=n(73);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,l=0;s>l;)i.f(t,n=r[l++],e[n]);return t}},function(t,e,n){var r=n(45),i=n(50);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(42);t.exports=r("document","documentElement")},function(t,e,n){var r=n(13),i=n(14),o=n(23),a=Object.defineProperty,s={},l=function(t){throw t};t.exports=function(t,e){if(o(s,t))return s[t];e||(e={});var n=[][t],u=!!o(e,"ACCESSORS")&&e.ACCESSORS,c=o(e,0)?e[0]:l,h=o(e,1)?e[1]:void 0;return s[t]=!!n&&!i((function(){if(u&&!r)return!0;var t={length:-1};u?a(t,1,{enumerable:!0,get:l}):t[1]=1,n.call(t,c,h)}))}},function(t,e,n){n(77),n(89);var r=n(43);t.exports=r.Array.from},function(t,e,n){"use strict";var r=n(78).charAt,i=n(33),o=n(79),a=i.set,s=i.getterFor("String Iterator");o(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(48),i=n(20),o=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,e,n){"use strict";var r=n(10),i=n(80),o=n(82),a=n(87),s=n(85),l=n(26),u=n(29),c=n(57),h=n(37),f=n(86),d=n(81),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=c("iterator"),m=function(){return this};t.exports=function(t,e,n,c,d,y,b){i(n,e,c);var C,w,_,x=function(t){if(t===d&&L)return L;if(!v&&t in k)return k[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},A=e+" Iterator",S=!1,k=t.prototype,P=k[g]||k["@@iterator"]||d&&k[d],L=!v&&P||x(d),T="Array"==e&&k.entries||P;if(T&&(C=o(T.call(new t)),p!==Object.prototype&&C.next&&(h||o(C)===p||(a?a(C,p):"function"!=typeof C[g]&&l(C,g,m)),s(C,A,!0,!0),h&&(f[A]=m))),"values"==d&&P&&"values"!==P.name&&(S=!0,L=function(){return P.call(this)}),h&&!b||k[g]===L||l(k,g,L),f[e]=L,d)if(w={values:x("values"),keys:y?L:x("keys"),entries:x("entries")},b)for(_ in w)(v||S||!(_ in k))&&u(k,_,w[_]);else r({target:e,proto:!0,forced:v||S},w);return w}},function(t,e,n){"use strict";var r=n(81).IteratorPrototype,i=n(71),o=n(16),a=n(85),s=n(86),l=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),a(t,u,!1,!0),s[u]=l,t}},function(t,e,n){"use strict";var r,i,o,a=n(82),s=n(26),l=n(23),u=n(57),c=n(37),h=u("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):f=!0),null==r&&(r={}),c||l(r,h)||s(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(t,e,n){var r=n(23),i=n(83),o=n(35),a=n(84),s=o("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},function(t,e,n){var r=n(20);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(14);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(27).f,i=n(23),o=n(57)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e){t.exports={}},function(t,e,n){var r=n(28),i=n(88);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},function(t,e,n){var r=n(22);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var r=n(10),i=n(90);r({target:"Array",stat:!0,forced:!n(97)((function(t){Array.from(t)}))},{from:i})},function(t,e,n){"use strict";var r=n(62),i=n(83),o=n(91),a=n(92),s=n(47),l=n(93),u=n(94);t.exports=function(t){var e,n,c,h,f,d,p=i(t),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,y=void 0!==m,b=u(p),C=0;if(y&&(m=r(m,g>2?arguments[2]:void 0,2)),null==b||v==Array&&a(b))for(n=new v(e=s(p.length));e>C;C++)d=y?m(p[C],C):p[C],l(n,C,d);else for(f=(h=b.call(p)).next,n=new v;!(c=f.call(h)).done;C++)d=y?o(h,m,[c.value,C],!0):c.value,l(n,C,d);return n.length=C,n}},function(t,e,n){var r=n(28);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(57),i=n(86),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},function(t,e,n){"use strict";var r=n(21),i=n(27),o=n(16);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},function(t,e,n){var r=n(95),i=n(86),o=n(57)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(96),i=n(19),o=n(57)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r={};r[n(57)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(57)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){n(99);var r=n(43);t.exports=r.Object.assign},function(t,e,n){var r=n(10),i=n(100);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(t,e,n){"use strict";var r=n(13),i=n(14),o=n(73),a=n(51),s=n(15),l=n(83),u=n(18),c=Object.assign,h=Object.defineProperty;t.exports=!c||i((function(){if(r&&1!==c({b:1},c(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||"abcdefghijklmnopqrst"!=o(c({},e)).join("")}))?function(t,e){for(var n=l(t),i=arguments.length,c=1,h=a.f,f=s.f;i>c;)for(var d,p=u(arguments[c++]),v=h?o(p).concat(h(p)):o(p),g=v.length,m=0;g>m;)d=v[m++],r&&!f.call(p,d)||(n[d]=p[d]);return n}:c},function(t,e,n){n(102);var r=n(43);t.exports=r.Math.log2},function(t,e,n){var r=n(10),i=Math.log,o=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return i(t)/o}})},function(t,e,n){n(104);var r=n(43);t.exports=r.Number.isNaN},function(t,e,n){n(10)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},function(t,e,n){n(106);var r=n(43);t.exports=r.Number.isInteger},function(t,e,n){n(10)({target:"Number",stat:!0},{isInteger:n(107)})},function(t,e,n){var r=n(22),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e,n){n(109)},function(t,e,n){"use strict";var r=n(110),i=n(112),o=n(14),a=r.aTypedArray,s=r.aTypedArrayConstructor,l=r.exportTypedArrayMethod,u=[].slice;l("slice",(function(t,e){for(var n=u.call(a(this),t,e),r=i(this,this.constructor),o=0,l=n.length,c=new(s(r))(l);l>o;)c[o]=n[o++];return c}),o((function(){new Int8Array(1).slice()})))},function(t,e,n){"use strict";var r,i=n(111),o=n(13),a=n(11),s=n(22),l=n(23),u=n(95),c=n(26),h=n(29),f=n(27).f,d=n(82),p=n(87),v=n(57),g=n(38),m=a.Int8Array,y=m&&m.prototype,b=a.Uint8ClampedArray,C=b&&b.prototype,w=m&&d(m),_=y&&d(y),x=Object.prototype,A=x.isPrototypeOf,S=v("toStringTag"),k=g("TYPED_ARRAY_TAG"),P=i&&!!p&&"Opera"!==u(a.opera),L=!1,T={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},O=function(t){return s(t)&&l(T,u(t))};for(r in T)a[r]||(P=!1);if((!P||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},P))for(r in T)a[r]&&p(a[r],w);if((!P||!_||_===x)&&(_=w.prototype,P))for(r in T)a[r]&&p(a[r].prototype,_);if(P&&d(C)!==_&&p(C,_),o&&!l(_,S))for(r in L=!0,f(_,S,{get:function(){return s(this)?this[k]:void 0}}),T)a[r]&&c(a[r],k,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_TAG:L&&k,aTypedArray:function(t){if(O(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(p){if(A.call(w,t))return t}else for(var e in T)if(l(T,r)){var n=a[e];if(n&&(t===n||A.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(o){if(n)for(var r in T){var i=a[r];i&&l(i.prototype,t)&&delete i.prototype[t]}_[t]&&!n||h(_,t,n?e:P&&y[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(o){if(p){if(n)for(r in T)(i=a[r])&&l(i,t)&&delete i[t];if(w[t]&&!n)return;try{return h(w,t,n?e:P&&m[t]||e)}catch(t){}}for(r in T)!(i=a[r])||i[t]&&!n||h(i,t,e)}},isView:function(t){var e=u(t);return"DataView"===e||l(T,e)},isTypedArray:O,TypedArray:w,TypedArrayPrototype:_}},function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,e,n){var r=n(28),i=n(63),o=n(57)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},function(t,e,n){n(114),n(77),n(116),n(119),n(134),n(135);var r=n(43);t.exports=r.Promise},function(t,e,n){var r=n(96),i=n(29),o=n(115);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var r=n(96),i=n(95);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(t,e,n){var r=n(11),i=n(117),o=n(118),a=n(26),s=n(57),l=s("iterator"),u=s("toStringTag"),c=o.values;for(var h in i){var f=r[h],d=f&&f.prototype;if(d){if(d[l]!==c)try{a(d,l,c)}catch(t){d[l]=c}if(d[u]||a(d,u,h),i[h])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(t){d[p]=o[p]}}}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){"use strict";var r=n(17),i=n(70),o=n(86),a=n(33),s=n(79),l=a.set,u=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){l(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){"use strict";var r,i,o,a,s=n(10),l=n(37),u=n(11),c=n(42),h=n(120),f=n(29),d=n(121),p=n(85),v=n(122),g=n(22),m=n(63),y=n(123),b=n(19),C=n(31),w=n(124),_=n(97),x=n(112),A=n(125).set,S=n(128),k=n(129),P=n(131),L=n(130),T=n(132),O=n(33),E=n(52),F=n(57),R=n(133),I=F("species"),M="Promise",D=O.get,B=O.set,N=O.getterFor(M),j=h,z=u.TypeError,H=u.document,U=u.process,V=c("fetch"),W=L.f,$=W,q="process"==b(U),G=!!(H&&H.createEvent&&u.dispatchEvent),Y=E(M,(function(){if(C(j)===String(j)){if(66===R)return!0;if(!q&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!j.prototype.finally)return!0;if(R>=51&&/native code/.test(j))return!1;var t=j.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[I]=e,!(t.then((function(){}))instanceof e)})),Z=Y||!_((function(t){j.all(t).catch((function(){}))})),X=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},K=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;S((function(){for(var i=e.value,o=1==e.state,a=0;r.length>a;){var s,l,u,c=r[a++],h=o?c.ok:c.fail,f=c.resolve,d=c.reject,p=c.domain;try{h?(o||(2===e.rejection&&et(t,e),e.rejection=1),!0===h?s=i:(p&&p.enter(),s=h(i),p&&(p.exit(),u=!0)),s===c.promise?d(z("Promise-chain cycle")):(l=X(s))?l.call(s,f,d):f(s)):d(i)}catch(t){p&&!u&&p.exit(),d(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&J(t,e)}))}},Q=function(t,e,n){var r,i;G?((r=H.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},(i=u["on"+t])?i(r):"unhandledrejection"===t&&P("Unhandled promise rejection",n)},J=function(t,e){A.call(u,(function(){var n,r=e.value;if(tt(e)&&(n=T((function(){q?U.emit("unhandledRejection",r,t):Q("unhandledrejection",t,r)})),e.rejection=q||tt(e)?2:1,n.error))throw n.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){A.call(u,(function(){q?U.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},nt=function(t,e,n,r){return function(i){t(e,n,i,r)}},rt=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,K(t,e,!0))},it=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw z("Promise can't be resolved itself");var i=X(n);i?S((function(){var r={done:!1};try{i.call(n,nt(it,t,r,e),nt(rt,t,r,e))}catch(n){rt(t,r,n,e)}})):(e.value=n,e.state=1,K(t,e,!1))}catch(n){rt(t,{done:!1},n,e)}}};Y&&(j=function(t){y(this,j,M),m(t),r.call(this);var e=D(this);try{t(nt(it,this,e),nt(rt,this,e))}catch(t){rt(this,e,t)}},(r=function(t){B(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(j.prototype,{then:function(t,e){var n=N(this),r=W(x(this,j));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=q?U.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&K(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=D(t);this.promise=t,this.resolve=nt(it,t,e),this.reject=nt(rt,t,e)},L.f=W=function(t){return t===j||t===o?new i(t):$(t)},l||"function"!=typeof h||(a=h.prototype.then,f(h.prototype,"then",(function(t,e){var n=this;return new j((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return k(j,V.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:Y},{Promise:j}),p(j,M,!1,!0),v(M),o=c(M),s({target:M,stat:!0,forced:Y},{reject:function(t){var e=W(this);return e.reject.call(void 0,t),e.promise}}),s({target:M,stat:!0,forced:l||Y},{resolve:function(t){return k(l&&this===o?j:this,t)}}),s({target:M,stat:!0,forced:Z},{all:function(t){var e=this,n=W(e),r=n.resolve,i=n.reject,o=T((function(){var n=m(e.resolve),o=[],a=0,s=1;w(t,(function(t){var l=a++,u=!1;o.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,o[l]=t,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=W(e),r=n.reject,i=T((function(){var i=m(e.resolve);w(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},function(t,e,n){var r=n(11);t.exports=r.Promise},function(t,e,n){var r=n(29);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(42),i=n(27),o=n(57),a=n(13),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(28),i=n(92),o=n(47),a=n(62),s=n(94),l=n(91),u=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,c,h){var f,d,p,v,g,m,y,b=a(e,n,c?2:1);if(h)f=t;else{if("function"!=typeof(d=s(t)))throw TypeError("Target is not iterable");if(i(d)){for(p=0,v=o(t.length);v>p;p++)if((g=c?b(r(y=t[p])[0],y[1]):b(t[p]))&&g instanceof u)return g;return new u(!1)}f=d.call(t)}for(m=f.next;!(y=m.call(f)).done;)if("object"==typeof(g=l(f,b,y.value,c))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(t){return new u(!0,t)}},function(t,e,n){var r,i,o,a=n(11),s=n(14),l=n(19),u=n(62),c=n(74),h=n(25),f=n(126),d=a.location,p=a.setImmediate,v=a.clearImmediate,g=a.process,m=a.MessageChannel,y=a.Dispatch,b=0,C={},w=function(t){if(C.hasOwnProperty(t)){var e=C[t];delete C[t],e()}},_=function(t){return function(){w(t)}},x=function(t){w(t.data)},A=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};p&&v||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return C[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},v=function(t){delete C[t]},"process"==l(g)?r=function(t){g.nextTick(_(t))}:y&&y.now?r=function(t){y.now(_(t))}:m&&!f?(o=(i=new m).port2,i.port1.onmessage=x,r=u(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(A)||"file:"===d.protocol?r="onreadystatechange"in h("script")?function(t){c.appendChild(h("script")).onreadystatechange=function(){c.removeChild(this),w(t)}}:function(t){setTimeout(_(t),0)}:(r=A,a.addEventListener("message",x,!1))),t.exports={set:p,clear:v}},function(t,e,n){var r=n(127);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,e,n){var r=n(42);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r,i,o,a,s,l,u,c,h=n(11),f=n(12).f,d=n(19),p=n(125).set,v=n(126),g=h.MutationObserver||h.WebKitMutationObserver,m=h.process,y=h.Promise,b="process"==d(m),C=f(h,"queueMicrotask"),w=C&&C.value;w||(r=function(){var t,e;for(b&&(t=m.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},b?a=function(){m.nextTick(r)}:g&&!v?(s=!0,l=document.createTextNode(""),new g(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):y&&y.resolve?(u=y.resolve(void 0),c=u.then,a=function(){c.call(u,r)}):a=function(){p.call(h,r)}),t.exports=w||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},function(t,e,n){var r=n(28),i=n(22),o=n(130);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(63),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},function(t,e,n){var r=n(11);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){var r,i,o=n(11),a=n(127),s=o.process,l=s&&s.versions,u=l&&l.v8;u?i=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},function(t,e,n){"use strict";var r=n(10),i=n(63),o=n(130),a=n(132),s=n(124);r({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=o.f(e),r=n.resolve,l=n.reject,u=a((function(){var n=i(e.resolve),o=[],a=0,l=1;s(t,(function(t){var i=a++,s=!1;o.push(void 0),l++,n.call(e,t).then((function(t){s||(s=!0,o[i]={status:"fulfilled",value:t},--l||r(o))}),(function(t){s||(s=!0,o[i]={status:"rejected",reason:t},--l||r(o))}))})),--l||r(o)}));return u.error&&l(u.value),n.promise}})},function(t,e,n){"use strict";var r=n(10),i=n(37),o=n(120),a=n(14),s=n(42),l=n(112),u=n(129),c=n(29);r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=l(this,s("Promise")),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),i||"function"!=typeof o||o.prototype.finally||c(o.prototype,"finally",s("Promise").prototype.finally)},function(t,e,n){n(137),n(142),n(140);var r=n(43);t.exports=r.URL},function(t,e,n){"use strict";n(77);var r,i=n(10),o=n(13),a=n(138),s=n(11),l=n(72),u=n(29),c=n(123),h=n(23),f=n(100),d=n(90),p=n(78).codeAt,v=n(139),g=n(85),m=n(140),y=n(33),b=s.URL,C=m.URLSearchParams,w=m.getState,_=y.set,x=y.getterFor("URL"),A=Math.floor,S=Math.pow,k=/[A-Za-z]/,P=/[\d+-.A-Za-z]/,L=/\d/,T=/^(0x|0X)/,O=/^[0-7]+$/,E=/^\d+$/,F=/^[\dA-Fa-f]+$/,R=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,I=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,M=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\u0009\u000A\u000D]/g,B=function(t,e){var n,r,i;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(n=j(e.slice(1,-1))))return"Invalid host";t.host=n}else if(G(t)){if(e=v(e),R.test(e))return"Invalid host";if(null===(n=N(e)))return"Invalid host";t.host=n}else{if(I.test(e))return"Invalid host";for(n="",r=d(e),i=0;i<r.length;i++)n+=$(r[i],H);t.host=n}},N=function(t){var e,n,r,i,o,a,s,l=t.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(e=l.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(i=l[r]))return t;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=T.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?E:8==o?O:F).test(i))return t;a=parseInt(i,o)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=S(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*S(256,3-r);return s},j=function(t){var e,n,r,i,o,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,h=0,f=function(){return t.charAt(h)};if(":"==f()){if(":"!=t.charAt(1))return;h+=2,c=++u}for(;f();){if(8==u)return;if(":"!=f()){for(e=n=0;n<4&&F.test(f());)e=16*e+parseInt(f(),16),h++,n++;if("."==f()){if(0==n)return;if(h-=n,u>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;h++}if(!L.test(f()))return;for(;L.test(f());){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}l[u]=256*l[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;l[u++]=e}else{if(null!==c)return;h++,c=++u}}if(null!==c)for(a=u-c,u=7;0!=u&&a>0;)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s;else if(8!=u)return;return l},z=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=A(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,i=0,o=0;o<8;o++)0!==t[o]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(e=r,n=i),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},H={},U=f({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),V=f({},U,{"#":1,"?":1,"{":1,"}":1}),W=f({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),$=function(t,e){var n=p(t,0);return n>32&&n<127&&!h(e,t)?t:encodeURIComponent(t)},q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(t){return h(q,t.scheme)},Y=function(t){return""!=t.username||""!=t.password},Z=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},X=function(t,e){var n;return 2==t.length&&k.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},K=function(t){var e;return t.length>1&&X(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Q=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&X(e[0],!0)||e.pop()},J=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},nt={},rt={},it={},ot={},at={},st={},lt={},ut={},ct={},ht={},ft={},dt={},pt={},vt={},gt={},mt={},yt={},bt={},Ct={},wt=function(t,e,n,i){var o,a,s,l,u,c=n||tt,f=0,p="",v=!1,g=!1,m=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(M,"")),e=e.replace(D,""),o=d(e);f<=o.length;){switch(a=o[f],c){case tt:if(!a||!k.test(a)){if(n)return"Invalid scheme";c=nt;continue}p+=a.toLowerCase(),c=et;break;case et:if(a&&(P.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",c=nt,f=0;continue}if(n&&(G(t)!=h(q,p)||"file"==p&&(Y(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=p,n)return void(G(t)&&q[t.scheme]==t.port&&(t.port=null));p="","file"==t.scheme?c=dt:G(t)&&i&&i.scheme==t.scheme?c=rt:G(t)?c=st:"/"==o[f+1]?(c=it,f++):(t.cannotBeABaseURL=!0,t.path.push(""),c=yt)}break;case nt:if(!i||i.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==a){t.scheme=i.scheme,t.path=i.path.slice(),t.query=i.query,t.fragment="",t.cannotBeABaseURL=!0,c=Ct;break}c="file"==i.scheme?dt:ot;continue;case rt:if("/"!=a||"/"!=o[f+1]){c=ot;continue}c=lt,f++;break;case it:if("/"==a){c=ut;break}c=mt;continue;case ot:if(t.scheme=i.scheme,a==r)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query;else if("/"==a||"\\"==a&&G(t))c=at;else if("?"==a)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query="",c=bt;else{if("#"!=a){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.path.pop(),c=mt;continue}t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query,t.fragment="",c=Ct}break;case at:if(!G(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,c=mt;continue}c=ut}else c=lt;break;case st:if(c=lt,"/"!=a||"/"!=p.charAt(f+1))continue;f++;break;case lt:if("/"!=a&&"\\"!=a){c=ut;continue}break;case ut:if("@"==a){v&&(p="%40"+p),v=!0,s=d(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||m){var C=$(b,W);m?t.password+=C:t.username+=C}else m=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)){if(v&&""==p)return"Invalid authority";f-=d(p).length+1,p="",c=ct}else p+=a;break;case ct:case ht:if(n&&"file"==t.scheme){c=vt;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)){if(G(t)&&""==p)return"Invalid host";if(n&&""==p&&(Y(t)||null!==t.port))return;if(l=B(t,p))return l;if(p="",c=gt,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),p+=a}else{if(""==p)return"Invalid host";if(l=B(t,p))return l;if(p="",c=ft,n==ht)return}break;case ft:if(!L.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(t)||n){if(""!=p){var w=parseInt(p,10);if(w>65535)return"Invalid port";t.port=G(t)&&w===q[t.scheme]?null:w,p=""}if(n)return;c=gt;continue}return"Invalid port"}p+=a;break;case dt:if(t.scheme="file","/"==a||"\\"==a)c=pt;else{if(!i||"file"!=i.scheme){c=mt;continue}if(a==r)t.host=i.host,t.path=i.path.slice(),t.query=i.query;else if("?"==a)t.host=i.host,t.path=i.path.slice(),t.query="",c=bt;else{if("#"!=a){K(o.slice(f).join(""))||(t.host=i.host,t.path=i.path.slice(),Q(t)),c=mt;continue}t.host=i.host,t.path=i.path.slice(),t.query=i.query,t.fragment="",c=Ct}}break;case pt:if("/"==a||"\\"==a){c=vt;break}i&&"file"==i.scheme&&!K(o.slice(f).join(""))&&(X(i.path[0],!0)?t.path.push(i.path[0]):t.host=i.host),c=mt;continue;case vt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&X(p))c=mt;else if(""==p){if(t.host="",n)return;c=gt}else{if(l=B(t,p))return l;if("localhost"==t.host&&(t.host=""),n)return;p="",c=gt}continue}p+=a;break;case gt:if(G(t)){if(c=mt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(c=mt,"/"!=a))continue}else t.fragment="",c=Ct;else t.query="",c=bt;break;case mt:if(a==r||"/"==a||"\\"==a&&G(t)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(Q(t),"/"==a||"\\"==a&&G(t)||t.path.push("")):J(p)?"/"==a||"\\"==a&&G(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&X(p)&&(t.host&&(t.host=""),p=p.charAt(0)+":"),t.path.push(p)),p="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",c=bt):"#"==a&&(t.fragment="",c=Ct)}else p+=$(a,V);break;case yt:"?"==a?(t.query="",c=bt):"#"==a?(t.fragment="",c=Ct):a!=r&&(t.path[0]+=$(a,H));break;case bt:n||"#"!=a?a!=r&&("'"==a&&G(t)?t.query+="%27":t.query+="#"==a?"%23":$(a,H)):(t.fragment="",c=Ct);break;case Ct:a!=r&&(t.fragment+=$(a,U))}f++}},_t=function(t){var e,n,r=c(this,_t,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(t),s=_(r,{type:"URL"});if(void 0!==i)if(i instanceof _t)e=x(i);else if(n=wt(e={},String(i)))throw TypeError(n);if(n=wt(s,a,null,e))throw TypeError(n);var l=s.searchParams=new C,u=w(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},o||(r.href=At.call(r),r.origin=St.call(r),r.protocol=kt.call(r),r.username=Pt.call(r),r.password=Lt.call(r),r.host=Tt.call(r),r.hostname=Ot.call(r),r.port=Et.call(r),r.pathname=Ft.call(r),r.search=Rt.call(r),r.searchParams=It.call(r),r.hash=Mt.call(r))},xt=_t.prototype,At=function(){var t=x(this),e=t.scheme,n=t.username,r=t.password,i=t.host,o=t.port,a=t.path,s=t.query,l=t.fragment,u=e+":";return null!==i?(u+="//",Y(t)&&(u+=n+(r?":"+r:"")+"@"),u+=z(i),null!==o&&(u+=":"+o)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},St=function(){var t=x(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&G(t)?e+"://"+z(t.host)+(null!==n?":"+n:""):"null"},kt=function(){return x(this).scheme+":"},Pt=function(){return x(this).username},Lt=function(){return x(this).password},Tt=function(){var t=x(this),e=t.host,n=t.port;return null===e?"":null===n?z(e):z(e)+":"+n},Ot=function(){var t=x(this).host;return null===t?"":z(t)},Et=function(){var t=x(this).port;return null===t?"":String(t)},Ft=function(){var t=x(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Rt=function(){var t=x(this).query;return t?"?"+t:""},It=function(){return x(this).searchParams},Mt=function(){var t=x(this).fragment;return t?"#"+t:""},Dt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&l(xt,{href:Dt(At,(function(t){var e=x(this),n=String(t),r=wt(e,n);if(r)throw TypeError(r);w(e.searchParams).updateSearchParams(e.query)})),origin:Dt(St),protocol:Dt(kt,(function(t){var e=x(this);wt(e,String(t)+":",tt)})),username:Dt(Pt,(function(t){var e=x(this),n=d(String(t));if(!Z(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=$(n[r],W)}})),password:Dt(Lt,(function(t){var e=x(this),n=d(String(t));if(!Z(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=$(n[r],W)}})),host:Dt(Tt,(function(t){var e=x(this);e.cannotBeABaseURL||wt(e,String(t),ct)})),hostname:Dt(Ot,(function(t){var e=x(this);e.cannotBeABaseURL||wt(e,String(t),ht)})),port:Dt(Et,(function(t){var e=x(this);Z(e)||(""==(t=String(t))?e.port=null:wt(e,t,ft))})),pathname:Dt(Ft,(function(t){var e=x(this);e.cannotBeABaseURL||(e.path=[],wt(e,t+"",gt))})),search:Dt(Rt,(function(t){var e=x(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",wt(e,t,bt)),w(e.searchParams).updateSearchParams(e.query)})),searchParams:Dt(It),hash:Dt(Mt,(function(t){var e=x(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",wt(e,t,Ct)):e.fragment=null}))}),u(xt,"toJSON",(function(){return At.call(this)}),{enumerable:!0}),u(xt,"toString",(function(){return At.call(this)}),{enumerable:!0}),b){var Bt=b.createObjectURL,Nt=b.revokeObjectURL;Bt&&u(_t,"createObjectURL",(function(t){return Bt.apply(b,arguments)})),Nt&&u(_t,"revokeObjectURL",(function(t){return Nt.apply(b,arguments)}))}g(_t,"URL"),i({global:!0,forced:!a,sham:!o},{URL:_t})},function(t,e,n){var r=n(14),i=n(57),o=n(37),a=i("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){"use strict";var r=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,l=function(t){return t+22+75*(t<26)},u=function(t,e,n){var r=0;for(t=n?a(t/700):t>>1,t+=a(t/e);t>455;r+=36)t=a(t/35);return a(r+36*t/(t+38))},c=function(t){var e,n,r=[],i=(t=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&i)<<10)+(1023&o)+65536):(e.push(i),n--)}else e.push(i)}return e}(t)).length,c=128,h=0,f=72;for(e=0;e<t.length;e++)(n=t[e])<128&&r.push(s(n));var d=r.length,p=d;for(d&&r.push("-");p<i;){var v=2147483647;for(e=0;e<t.length;e++)(n=t[e])>=c&&n<v&&(v=n);var g=p+1;if(v-c>a((2147483647-h)/g))throw RangeError(o);for(h+=(v-c)*g,c=v,e=0;e<t.length;e++){if((n=t[e])<c&&++h>2147483647)throw RangeError(o);if(n==c){for(var m=h,y=36;;y+=36){var b=y<=f?1:y>=f+26?26:y-f;if(m<b)break;var C=m-b,w=36-b;r.push(s(l(b+C%w))),m=a(C/w)}r.push(s(l(m))),f=u(h,g,p==d),h=0,++p}}++h,++c}return r.join("")};t.exports=function(t){var e,n,o=[],a=t.toLowerCase().replace(i,".").split(".");for(e=0;e<a.length;e++)n=a[e],o.push(r.test(n)?"xn--"+c(n):n);return o.join(".")}},function(t,e,n){"use strict";n(118);var r=n(10),i=n(42),o=n(138),a=n(29),s=n(121),l=n(85),u=n(80),c=n(33),h=n(123),f=n(23),d=n(62),p=n(95),v=n(28),g=n(22),m=n(71),y=n(16),b=n(141),C=n(94),w=n(57),_=i("fetch"),x=i("Headers"),A=w("iterator"),S=c.set,k=c.getterFor("URLSearchParams"),P=c.getterFor("URLSearchParamsIterator"),L=/\+/g,T=Array(4),O=function(t){return T[t-1]||(T[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},E=function(t){try{return decodeURIComponent(t)}catch(e){return t}},F=function(t){var e=t.replace(L," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(O(n--),E);return e}},R=/[!'()~]|%20/g,I={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},M=function(t){return I[t]},D=function(t){return encodeURIComponent(t).replace(R,M)},B=function(t,e){if(e)for(var n,r,i=e.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),t.push({key:F(r.shift()),value:F(r.join("="))}))},N=function(t){this.entries.length=0,B(this.entries,t)},j=function(t,e){if(t<e)throw TypeError("Not enough arguments")},z=u((function(t,e){S(this,{type:"URLSearchParamsIterator",iterator:b(k(t).entries),kind:e})}),"Iterator",(function(){var t=P(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),H=function(){h(this,H,"URLSearchParams");var t,e,n,r,i,o,a,s,l,u=arguments.length>0?arguments[0]:void 0,c=this,d=[];if(S(c,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:N}),void 0!==u)if(g(u))if("function"==typeof(t=C(u)))for(n=(e=t.call(u)).next;!(r=n.call(e)).done;){if((a=(o=(i=b(v(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:s.value+""})}else for(l in u)f(u,l)&&d.push({key:l,value:u[l]+""});else B(d,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},U=H.prototype;s(U,{append:function(t,e){j(arguments.length,2);var n=k(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){j(arguments.length,1);for(var e=k(this),n=e.entries,r=t+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;e.updateURL()},get:function(t){j(arguments.length,1);for(var e=k(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){j(arguments.length,1);for(var e=k(this).entries,n=t+"",r=[],i=0;i<e.length;i++)e[i].key===n&&r.push(e[i].value);return r},has:function(t){j(arguments.length,1);for(var e=k(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){j(arguments.length,1);for(var n,r=k(this),i=r.entries,o=!1,a=t+"",s=e+"",l=0;l<i.length;l++)(n=i[l]).key===a&&(o?i.splice(l--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=k(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(t=o[n],e=0;e<n;e++)if(i[e].key>t.key){i.splice(e,0,t);break}e===n&&i.push(t)}r.updateURL()},forEach:function(t){for(var e,n=k(this).entries,r=d(t,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((e=n[i++]).value,e.key,this)},keys:function(){return new z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),a(U,A,U.entries),a(U,"toString",(function(){for(var t,e=k(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(D(t.key)+"="+D(t.value));return n.join("&")}),{enumerable:!0}),l(H,"URLSearchParams"),r({global:!0,forced:!o},{URLSearchParams:H}),o||"function"!=typeof _||"function"!=typeof x||r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,i=[t];return arguments.length>1&&(g(e=arguments[1])&&(n=e.body,"URLSearchParams"===p(n)&&((r=e.headers?new x(e.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=m(e,{body:y(0,String(n)),headers:y(0,r)}))),i.push(e)),_.apply(this,i)}}),t.exports={URLSearchParams:H,getState:k}},function(t,e,n){var r=n(28),i=n(94);t.exports=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},function(t,e,n){"use strict";n(10)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(t,e,n){!function(t){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol:function(t){return"Symbol("+t+")"};function n(){}var r=Number.isNaN||function(t){return t!=t},i=n;function o(t){return"object"==typeof t&&null!==t||"function"==typeof t}function a(t){return t.slice()}function s(t){return!1!==function(t){return!("number"!=typeof t||r(t)||t<0)}(t)&&t!==1/0}function l(t,e,n){if("function"!=typeof t)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(t,e,n)}function u(t,e,n,r){var i=t[e];if(void 0!==i){if("function"!=typeof i)throw new TypeError(i+" is not a method");switch(n){case 0:return function(){return h(i,t,r)};case 1:return function(e){var n=[e].concat(r);return h(i,t,n)}}}return function(){return b(void 0)}}function c(t,e,n){var r=t[e];if(void 0!==r)return l(r,t,n)}function h(t,e,n){try{return b(l(t,e,n))}catch(t){return C(t)}}function f(t){if(t=Number(t),r(t)||t<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return t}function d(t){if(void 0===t)return function(){return 1};if("function"!=typeof t)throw new TypeError("size property of a queuing strategy must be a function");return function(e){return t(e)}}var p=Promise,v=Promise.prototype.then,g=Promise.resolve.bind(p),m=Promise.reject.bind(p);function y(t){return new p(t)}function b(t){return g(t)}function C(t){return m(t)}function w(t,e,n){return v.call(t,e,n)}function _(t,e,n){w(w(t,e,n),void 0,i)}function x(t,e){_(t,e)}function A(t,e){_(t,void 0,e)}function S(t,e,n){return w(t,e,n)}function k(t){w(t,void 0,i)}var P=function(){function t(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(t.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),t.prototype.push=function(t){var e=this._back,n=e;16383===e._elements.length&&(n={_elements:[],_next:void 0}),e._elements.push(t),n!==e&&(this._back=n,e._next=n),++this._size},t.prototype.shift=function(){var t=this._front,e=t,n=this._cursor,r=n+1,i=t._elements,o=i[n];return 16384===r&&(e=t._next,r=0),--this._size,this._cursor=r,t!==e&&(this._front=e),i[n]=void 0,o},t.prototype.forEach=function(t){for(var e=this._cursor,n=this._front,r=n._elements;!(e===r.length&&void 0===n._next||e===r.length&&(e=0,0===(r=(n=n._next)._elements).length));)t(r[e]),++e},t.prototype.peek=function(){var t=this._front,e=this._cursor;return t._elements[e]},t}();function L(t,e,n){var r=null;!0===n&&(r=Object.prototype);var i=Object.create(r);return i.value=t,i.done=e,i}function T(t,e){t._forAuthorCode=!0,t._ownerReadableStream=e,e._reader=t,"readable"===e._state?R(t):"closed"===e._state?function(t){R(t),D(t)}(t):I(t,e._storedError)}function O(t,e){return ze(t._ownerReadableStream,e)}function E(t){"readable"===t._ownerReadableStream._state?M(t,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(t,e){I(t,e)}(t,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),t._ownerReadableStream._reader=void 0,t._ownerReadableStream=void 0}function F(t){return new TypeError("Cannot "+t+" a stream using a released reader")}function R(t){t._closedPromise=y((function(e,n){t._closedPromise_resolve=e,t._closedPromise_reject=n}))}function I(t,e){R(t),M(t,e)}function M(t,e){k(t._closedPromise),t._closedPromise_reject(e),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0}function D(t){t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0}var B=e("[[CancelSteps]]"),N=e("[[PullSteps]]");function j(t,e){void 0===e&&(e=!1);var n=new q(t);return n._forAuthorCode=e,n}function z(t){return y((function(e,n){var r={_resolve:e,_reject:n};t._reader._readRequests.push(r)}))}function H(t,e,n){var r=t._reader;r._readRequests.shift()._resolve(L(e,n,r._forAuthorCode))}function U(t){return t._reader._readRequests.length}function V(t){var e=t._reader;return void 0!==e&&!!G(e)}var W,$,q=function(){function t(t){if(!1===Ne(t))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===je(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");T(this,t),this._readRequests=new P}return Object.defineProperty(t.prototype,"closed",{get:function(){return G(this)?this._closedPromise:C(Z("closed"))},enumerable:!0,configurable:!0}),t.prototype.cancel=function(t){return G(this)?void 0===this._ownerReadableStream?C(F("cancel")):O(this,t):C(Z("cancel"))},t.prototype.read=function(){return G(this)?void 0===this._ownerReadableStream?C(F("read from")):Y(this):C(Z("read"))},t.prototype.releaseLock=function(){if(!G(this))throw Z("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");E(this)}},t}();function G(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_readRequests")}function Y(t){var e=t._ownerReadableStream;return e._disturbed=!0,"closed"===e._state?b(L(void 0,!0,t._forAuthorCode)):"errored"===e._state?C(e._storedError):e._readableStreamController[N]()}function Z(t){return new TypeError("ReadableStreamDefaultReader.prototype."+t+" can only be used on a ReadableStreamDefaultReader")}"symbol"==typeof e.asyncIterator&&((W={})[e.asyncIterator]=function(){return this},$=W,Object.defineProperty($,e.asyncIterator,{enumerable:!1}));var X={next:function(){if(!1===K(this))return C(Q("next"));var t=this._asyncIteratorReader;return void 0===t._ownerReadableStream?C(F("iterate")):S(Y(t),(function(e){var n=e.done;return n&&E(t),L(e.value,n,!0)}))},return:function(t){if(!1===K(this))return C(Q("next"));var e=this._asyncIteratorReader;if(void 0===e._ownerReadableStream)return C(F("finish iterating"));if(e._readRequests.length>0)return C(new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled"));if(!1===this._preventCancel){var n=O(e,t);return E(e),S(n,(function(){return L(t,!0,!0)}))}return E(e),b(L(t,!0,!0))}};function K(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_asyncIteratorReader")}function Q(t){return new TypeError("ReadableStreamAsyncIterator."+t+" can only be used on a ReadableSteamAsyncIterator")}function J(t){var e=t._queue.shift();return t._queueTotalSize-=e.size,t._queueTotalSize<0&&(t._queueTotalSize=0),e.value}function tt(t,e,n){if(!s(n=Number(n)))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");t._queue.push({value:e,size:n}),t._queueTotalSize+=n}function et(t){t._queue=new P,t._queueTotalSize=0}void 0!==$&&Object.setPrototypeOf(X,$),Object.defineProperty(X,"next",{enumerable:!1}),Object.defineProperty(X,"return",{enumerable:!1});var nt=e("[[AbortSteps]]"),rt=e("[[ErrorSteps]]"),it=function(){function t(t,e){void 0===t&&(t={}),void 0===e&&(e={}),at(this);var n=e.size,r=e.highWaterMark;if(void 0!==t.type)throw new RangeError("Invalid type is specified");var i=d(n);void 0===r&&(r=1),function(t,e,n,r){var i=Object.create(At.prototype),o=u(e,"write",1,[i]),a=u(e,"close",0,[]),s=u(e,"abort",1,[]);St(t,i,(function(){return c(e,"start",[i])}),o,a,s,n,r)}(this,t,r=f(r),i)}return Object.defineProperty(t.prototype,"locked",{get:function(){if(!1===st(this))throw Ft("locked");return lt(this)},enumerable:!0,configurable:!0}),t.prototype.abort=function(t){return!1===st(this)?C(Ft("abort")):!0===lt(this)?C(new TypeError("Cannot abort a stream that already has a writer")):ut(this,t)},t.prototype.close=function(){return!1===st(this)?C(Ft("close")):!0===lt(this)?C(new TypeError("Cannot close a stream that already has a writer")):!0===pt(this)?C(new TypeError("Cannot close an already-closing stream")):ct(this)},t.prototype.getWriter=function(){if(!1===st(this))throw Ft("getWriter");return ot(this)},t}();function ot(t){return new mt(t)}function at(t){t._state="writable",t._storedError=void 0,t._writer=void 0,t._writableStreamController=void 0,t._writeRequests=new P,t._inFlightWriteRequest=void 0,t._closeRequest=void 0,t._inFlightCloseRequest=void 0,t._pendingAbortRequest=void 0,t._backpressure=!1}function st(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_writableStreamController")}function lt(t){return void 0!==t._writer}function ut(t,e){var n=t._state;if("closed"===n||"errored"===n)return b(void 0);if(void 0!==t._pendingAbortRequest)return t._pendingAbortRequest._promise;var r=!1;"erroring"===n&&(r=!0,e=void 0);var i=y((function(n,i){t._pendingAbortRequest={_promise:void 0,_resolve:n,_reject:i,_reason:e,_wasAlreadyErroring:r}}));return t._pendingAbortRequest._promise=i,!1===r&&ft(t,e),i}function ct(t){var e=t._state;if("closed"===e||"errored"===e)return C(new TypeError("The stream (in "+e+" state) is not in the writable state and cannot be closed"));var n,r=y((function(e,n){var r={_resolve:e,_reject:n};t._closeRequest=r})),i=t._writer;return void 0!==i&&!0===t._backpressure&&"writable"===e&&Vt(i),tt(n=t._writableStreamController,"close",0),Lt(n),r}function ht(t,e){"writable"!==t._state?dt(t):ft(t,e)}function ft(t,e){var n=t._writableStreamController;t._state="erroring",t._storedError=e;var r=t._writer;void 0!==r&&wt(r,e),!1===function(t){return void 0!==t._inFlightWriteRequest||void 0!==t._inFlightCloseRequest}(t)&&!0===n._started&&dt(t)}function dt(t){t._state="errored",t._writableStreamController[rt]();var e=t._storedError;if(t._writeRequests.forEach((function(t){t._reject(e)})),t._writeRequests=new P,void 0!==t._pendingAbortRequest){var n=t._pendingAbortRequest;if(t._pendingAbortRequest=void 0,!0===n._wasAlreadyErroring)return n._reject(e),void vt(t);_(t._writableStreamController[nt](n._reason),(function(){n._resolve(),vt(t)}),(function(e){n._reject(e),vt(t)}))}else vt(t)}function pt(t){return void 0!==t._closeRequest||void 0!==t._inFlightCloseRequest}function vt(t){void 0!==t._closeRequest&&(t._closeRequest._reject(t._storedError),t._closeRequest=void 0);var e=t._writer;void 0!==e&&Bt(e,t._storedError)}function gt(t,e){var n=t._writer;void 0!==n&&e!==t._backpressure&&(!0===e?function(t){jt(t)}(n):Vt(n)),t._backpressure=e}var mt=function(){function t(t){if(!1===st(t))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===lt(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var e,n=t._state;if("writable"===n)!1===pt(t)&&!0===t._backpressure?jt(this):Ht(this),Mt(this);else if("erroring"===n)zt(this,t._storedError),Mt(this);else if("closed"===n)Ht(this),Mt(e=this),Nt(e);else{var r=t._storedError;zt(this,r),Dt(this,r)}}return Object.defineProperty(t.prototype,"closed",{get:function(){return!1===yt(this)?C(Rt("closed")):this._closedPromise},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"desiredSize",{get:function(){if(!1===yt(this))throw Rt("desiredSize");if(void 0===this._ownerWritableStream)throw It("desiredSize");return t=this._ownerWritableStream,"errored"===(e=t._state)||"erroring"===e?null:"closed"===e?0:Pt(t._writableStreamController);var t,e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ready",{get:function(){return!1===yt(this)?C(Rt("ready")):this._readyPromise},enumerable:!0,configurable:!0}),t.prototype.abort=function(t){return!1===yt(this)?C(Rt("abort")):void 0===this._ownerWritableStream?C(It("abort")):function(t,e){return ut(t._ownerWritableStream,e)}(this,t)},t.prototype.close=function(){if(!1===yt(this))return C(Rt("close"));var t=this._ownerWritableStream;return void 0===t?C(It("close")):!0===pt(t)?C(new TypeError("Cannot close an already-closing stream")):bt(this)},t.prototype.releaseLock=function(){if(!1===yt(this))throw Rt("releaseLock");void 0!==this._ownerWritableStream&&_t(this)},t.prototype.write=function(t){return!1===yt(this)?C(Rt("write")):void 0===this._ownerWritableStream?C(It("write to")):xt(this,t)},t}();function yt(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_ownerWritableStream")}function bt(t){return ct(t._ownerWritableStream)}function Ct(t,e){"pending"===t._closedPromiseState?Bt(t,e):function(t,e){Dt(t,e)}(t,e)}function wt(t,e){"pending"===t._readyPromiseState?Ut(t,e):function(t,e){zt(t,e)}(t,e)}function _t(t){var e=t._ownerWritableStream,n=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");wt(t,n),Ct(t,n),e._writer=void 0,t._ownerWritableStream=void 0}function xt(t,e){var n=t._ownerWritableStream,r=n._writableStreamController,i=function(t,e){try{return t._strategySizeAlgorithm(e)}catch(e){return Tt(t,e),1}}(r,e);if(n!==t._ownerWritableStream)return C(It("write to"));var o=n._state;if("errored"===o)return C(n._storedError);if(!0===pt(n)||"closed"===o)return C(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===o)return C(n._storedError);var a=function(t){return y((function(e,n){var r={_resolve:e,_reject:n};t._writeRequests.push(r)}))}(n);return function(t,e,n){var r={chunk:e};try{tt(t,r,n)}catch(e){return void Tt(t,e)}var i=t._controlledWritableStream;if(!1===pt(i)&&"writable"===i._state){var o=Ot(t);gt(i,o)}Lt(t)}(r,e,i),a}var At=function(){function t(){throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly")}return t.prototype.error=function(t){if(0==(!!o(e=this)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");var e;"writable"===this._controlledWritableStream._state&&Et(this,t)},t.prototype[nt]=function(t){var e=this._abortAlgorithm(t);return kt(this),e},t.prototype[rt]=function(){et(this)},t}();function St(t,e,n,r,i,o,a,s){e._controlledWritableStream=t,t._writableStreamController=e,e._queue=void 0,e._queueTotalSize=void 0,et(e),e._started=!1,e._strategySizeAlgorithm=s,e._strategyHWM=a,e._writeAlgorithm=r,e._closeAlgorithm=i,e._abortAlgorithm=o;var l=Ot(e);gt(t,l),_(b(n()),(function(){e._started=!0,Lt(e)}),(function(n){e._started=!0,ht(t,n)}))}function kt(t){t._writeAlgorithm=void 0,t._closeAlgorithm=void 0,t._abortAlgorithm=void 0,t._strategySizeAlgorithm=void 0}function Pt(t){return t._strategyHWM-t._queueTotalSize}function Lt(t){var e=t._controlledWritableStream;if(!1!==t._started&&void 0===e._inFlightWriteRequest)if("erroring"!==e._state){if(0!==t._queue.length){var n=t._queue.peek().value;"close"===n?function(t){var e=t._controlledWritableStream;(function(t){t._inFlightCloseRequest=t._closeRequest,t._closeRequest=void 0})(e),J(t);var n=t._closeAlgorithm();kt(t),_(n,(function(){!function(t){t._inFlightCloseRequest._resolve(void 0),t._inFlightCloseRequest=void 0,"erroring"===t._state&&(t._storedError=void 0,void 0!==t._pendingAbortRequest&&(t._pendingAbortRequest._resolve(),t._pendingAbortRequest=void 0)),t._state="closed";var e=t._writer;void 0!==e&&Nt(e)}(e)}),(function(t){!function(t,e){t._inFlightCloseRequest._reject(e),t._inFlightCloseRequest=void 0,void 0!==t._pendingAbortRequest&&(t._pendingAbortRequest._reject(e),t._pendingAbortRequest=void 0),ht(t,e)}(e,t)}))}(t):function(t,e){var n=t._controlledWritableStream;(function(t){t._inFlightWriteRequest=t._writeRequests.shift()})(n),_(t._writeAlgorithm(e),(function(){!function(t){t._inFlightWriteRequest._resolve(void 0),t._inFlightWriteRequest=void 0}(n);var e=n._state;if(J(t),!1===pt(n)&&"writable"===e){var r=Ot(t);gt(n,r)}Lt(t)}),(function(e){"writable"===n._state&&kt(t),function(t,e){t._inFlightWriteRequest._reject(e),t._inFlightWriteRequest=void 0,ht(t,e)}(n,e)}))}(t,n.chunk)}}else dt(e)}function Tt(t,e){"writable"===t._controlledWritableStream._state&&Et(t,e)}function Ot(t){return Pt(t)<=0}function Et(t,e){var n=t._controlledWritableStream;kt(t),ft(n,e)}function Ft(t){return new TypeError("WritableStream.prototype."+t+" can only be used on a WritableStream")}function Rt(t){return new TypeError("WritableStreamDefaultWriter.prototype."+t+" can only be used on a WritableStreamDefaultWriter")}function It(t){return new TypeError("Cannot "+t+" a stream using a released writer")}function Mt(t){t._closedPromise=y((function(e,n){t._closedPromise_resolve=e,t._closedPromise_reject=n,t._closedPromiseState="pending"}))}function Dt(t,e){Mt(t),Bt(t,e)}function Bt(t,e){k(t._closedPromise),t._closedPromise_reject(e),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0,t._closedPromiseState="rejected"}function Nt(t){t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0,t._closedPromiseState="resolved"}function jt(t){t._readyPromise=y((function(e,n){t._readyPromise_resolve=e,t._readyPromise_reject=n})),t._readyPromiseState="pending"}function zt(t,e){jt(t),Ut(t,e)}function Ht(t){jt(t),Vt(t)}function Ut(t,e){k(t._readyPromise),t._readyPromise_reject(e),t._readyPromise_resolve=void 0,t._readyPromise_reject=void 0,t._readyPromiseState="rejected"}function Vt(t){t._readyPromise_resolve(void 0),t._readyPromise_resolve=void 0,t._readyPromise_reject=void 0,t._readyPromiseState="fulfilled"}function Wt(t){if("object"!=typeof t||null===t)return!1;try{return"boolean"==typeof t.aborted}catch(t){return!1}}var $t,qt="undefined"!=typeof DOMException?DOMException:void 0,Gt=function(t){if("function"!=typeof t&&"object"!=typeof t)return!1;try{return new t,!0}catch(t){return!1}}(qt)?qt:(($t=function(t,e){this.message=t||"",this.name=e||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}).prototype=Object.create(Error.prototype),Object.defineProperty($t.prototype,"constructor",{value:$t,writable:!0,configurable:!0}),$t);function Yt(t,e,r,i,o,a){var s=j(t),l=ot(e);t._disturbed=!0;var u=!1,c=b(void 0);return y((function(h,f){var d,p,v,g;if(void 0!==a){if(d=function(){var n=new Gt("Aborted","AbortError"),r=[];!1===i&&r.push((function(){return"writable"===e._state?ut(e,n):b(void 0)})),!1===o&&r.push((function(){return"readable"===t._state?ze(t,n):b(void 0)})),L((function(){return Promise.all(r.map((function(t){return t()})))}),!0,n)},!0===a.aborted)return void d();a.addEventListener("abort",d)}if(P(t,s._closedPromise,(function(t){!1===i?L((function(){return ut(e,t)}),!0,t):T(!0,t)})),P(e,l._closedPromise,(function(e){!1===o?L((function(){return ze(t,e)}),!0,e):T(!0,e)})),p=t,v=s._closedPromise,g=function(){!1===r?L((function(){return function(t){var e=t._ownerWritableStream,n=e._state;return!0===pt(e)||"closed"===n?b(void 0):"errored"===n?C(e._storedError):bt(t)}(l)})):T()},"closed"===p._state?g():x(v,g),!0===pt(e)||"closed"===e._state){var m=new TypeError("the destination writable stream closed before all data could be piped to it");!1===o?L((function(){return ze(t,m)}),!0,m):T(!0,m)}function S(){var t=c;return w(c,(function(){return t!==c?S():void 0}))}function P(t,e,n){"errored"===t._state?n(t._storedError):A(e,n)}function L(t,n,r){function i(){_(t(),(function(){return O(n,r)}),(function(t){return O(!0,t)}))}!0!==u&&(u=!0,"writable"===e._state&&!1===pt(e)?x(S(),i):i())}function T(t,n){!0!==u&&(u=!0,"writable"===e._state&&!1===pt(e)?x(S(),(function(){return O(t,n)})):O(t,n))}function O(t,e){_t(l),E(s),void 0!==a&&a.removeEventListener("abort",d),t?f(e):h(void 0)}k(y((function(t,e){!function r(i){i?t():w(!0===u?b(!0):w(l._readyPromise,(function(){return w(Y(s),(function(t){return!0===t.done||(c=w(xt(l,t.value),void 0,n),!1)}))})),r,e)}(!1)})))}))}var Zt=function(){function t(){throw new TypeError}return Object.defineProperty(t.prototype,"desiredSize",{get:function(){if(!1===Xt(this))throw ae("desiredSize");return re(this)},enumerable:!0,configurable:!0}),t.prototype.close=function(){if(!1===Xt(this))throw ae("close");if(!1===ie(this))throw new TypeError("The stream is not in a state that permits close");te(this)},t.prototype.enqueue=function(t){if(!1===Xt(this))throw ae("enqueue");if(!1===ie(this))throw new TypeError("The stream is not in a state that permits enqueue");return ee(this,t)},t.prototype.error=function(t){if(!1===Xt(this))throw ae("error");ne(this,t)},t.prototype[B]=function(t){et(this);var e=this._cancelAlgorithm(t);return Jt(this),e},t.prototype[N]=function(){var t=this._controlledReadableStream;if(this._queue.length>0){var e=J(this);return!0===this._closeRequested&&0===this._queue.length?(Jt(this),He(t)):Kt(this),b(L(e,!1,t._reader._forAuthorCode))}var n=z(t);return Kt(this),n},t}();function Xt(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_controlledReadableStream")}function Kt(t){!1!==Qt(t)&&(!0!==t._pulling?(t._pulling=!0,_(t._pullAlgorithm(),(function(){t._pulling=!1,!0===t._pullAgain&&(t._pullAgain=!1,Kt(t))}),(function(e){ne(t,e)}))):t._pullAgain=!0)}function Qt(t){var e=t._controlledReadableStream;return!1!==ie(t)&&!1!==t._started&&(!0===je(e)&&U(e)>0||re(t)>0)}function Jt(t){t._pullAlgorithm=void 0,t._cancelAlgorithm=void 0,t._strategySizeAlgorithm=void 0}function te(t){var e=t._controlledReadableStream;t._closeRequested=!0,0===t._queue.length&&(Jt(t),He(e))}function ee(t,e){var n=t._controlledReadableStream;if(!0===je(n)&&U(n)>0)H(n,e,!1);else{var r=void 0;try{r=t._strategySizeAlgorithm(e)}catch(e){throw ne(t,e),e}try{tt(t,e,r)}catch(e){throw ne(t,e),e}}Kt(t)}function ne(t,e){var n=t._controlledReadableStream;"readable"===n._state&&(et(t),Jt(t),Ue(n,e))}function re(t){var e=t._controlledReadableStream._state;return"errored"===e?null:"closed"===e?0:t._strategyHWM-t._queueTotalSize}function ie(t){var e=t._controlledReadableStream._state;return!1===t._closeRequested&&"readable"===e}function oe(t,e,n,r,i,o,a){e._controlledReadableStream=t,e._queue=void 0,e._queueTotalSize=void 0,et(e),e._started=!1,e._closeRequested=!1,e._pullAgain=!1,e._pulling=!1,e._strategySizeAlgorithm=a,e._strategyHWM=o,e._pullAlgorithm=r,e._cancelAlgorithm=i,t._readableStreamController=e,_(b(n()),(function(){e._started=!0,Kt(e)}),(function(t){ne(e,t)}))}function ae(t){return new TypeError("ReadableStreamDefaultController.prototype."+t+" can only be used on a ReadableStreamDefaultController")}var se=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},le=function(){function t(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}return Object.defineProperty(t.prototype,"view",{get:function(){if(!1===he(this))throw Pe("view");return this._view},enumerable:!0,configurable:!0}),t.prototype.respond=function(t){if(!1===he(this))throw Pe("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");this._view.buffer,function(t,e){if(!1===s(e=Number(e)))throw new RangeError("bytesWritten must be a finite");we(t,e)}(this._associatedReadableByteStreamController,t)},t.prototype.respondWithNewView=function(t){if(!1===he(this))throw Pe("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(t))throw new TypeError("You can only respond with array buffer views");t.buffer,function(t,e){var n=t._pendingPullIntos.peek();if(n.byteOffset+n.bytesFilled!==e.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(n.byteLength!==e.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");n.buffer=e.buffer,we(t,e.byteLength)}(this._associatedReadableByteStreamController,t)},t}(),ue=function(){function t(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}return Object.defineProperty(t.prototype,"byobRequest",{get:function(){if(!1===ce(this))throw Le("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var t=this._pendingPullIntos.peek(),e=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),n=Object.create(le.prototype);!function(t,e,n){t._associatedReadableByteStreamController=e,t._view=n}(n,this,e),this._byobRequest=n}return this._byobRequest},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"desiredSize",{get:function(){if(!1===ce(this))throw Le("desiredSize");return Se(this)},enumerable:!0,configurable:!0}),t.prototype.close=function(){if(!1===ce(this))throw Le("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be closed");!function(t){var e=t._controlledReadableByteStream;if(t._queueTotalSize>0)t._closeRequested=!0;else{if(t._pendingPullIntos.length>0&&t._pendingPullIntos.peek().bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Ae(t,n),n}xe(t),He(e)}}(this)},t.prototype.enqueue=function(t){if(!1===ce(this))throw Le("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(t))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");t.buffer,function(t,e){var n=t._controlledReadableByteStream,r=e.buffer,i=e.byteOffset,o=e.byteLength,a=r;if(!0===V(n))if(0===U(n))ve(t,a,i,o);else{var s=new Uint8Array(a,i,o);H(n,s,!1)}else!0===Ee(n)?(ve(t,a,i,o),Ce(t)):ve(t,a,i,o);fe(t)}(this,t)},t.prototype.error=function(t){if(!1===ce(this))throw Le("error");Ae(this,t)},t.prototype[B]=function(t){this._pendingPullIntos.length>0&&(this._pendingPullIntos.peek().bytesFilled=0),et(this);var e=this._cancelAlgorithm(t);return xe(this),e},t.prototype[N]=function(){var t=this._controlledReadableByteStream;if(this._queueTotalSize>0){var e=this._queue.shift();this._queueTotalSize-=e.byteLength,ye(this);var n=void 0;try{n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}catch(t){return C(t)}return b(L(n,!1,t._reader._forAuthorCode))}var r=this._autoAllocateChunkSize;if(void 0!==r){var i=void 0;try{i=new ArrayBuffer(r)}catch(t){return C(t)}var o={buffer:i,byteOffset:0,byteLength:r,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}var a=z(t);return fe(this),a},t}();function ce(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_controlledReadableByteStream")}function he(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_associatedReadableByteStreamController")}function fe(t){!1!==function(t){var e=t._controlledReadableByteStream;return"readable"===e._state&&!0!==t._closeRequested&&!1!==t._started&&(!0===V(e)&&U(e)>0||!0===Ee(e)&&Oe(e)>0||Se(t)>0)}(t)&&(!0!==t._pulling?(t._pulling=!0,_(t._pullAlgorithm(),(function(){t._pulling=!1,!0===t._pullAgain&&(t._pullAgain=!1,fe(t))}),(function(e){Ae(t,e)}))):t._pullAgain=!0)}function de(t,e){var n=!1;"closed"===t._state&&(n=!0);var r=pe(e);"default"===e.readerType?H(t,r,n):function(t,e,n){var r=t._reader;r._readIntoRequests.shift()._resolve(L(e,n,r._forAuthorCode))}(t,r,n)}function pe(t){var e=t.bytesFilled,n=t.elementSize;return new t.ctor(t.buffer,t.byteOffset,e/n)}function ve(t,e,n,r){t._queue.push({buffer:e,byteOffset:n,byteLength:r}),t._queueTotalSize+=r}function ge(t,e){var n=e.elementSize,r=e.bytesFilled-e.bytesFilled%n,i=Math.min(t._queueTotalSize,e.byteLength-e.bytesFilled),o=e.bytesFilled+i,a=o-o%n,s=i,l=!1;a>r&&(s=a-e.bytesFilled,l=!0);for(var u,c,h,f,d,p=t._queue;s>0;){var v=p.peek(),g=Math.min(s,v.byteLength),m=e.byteOffset+e.bytesFilled;u=e.buffer,c=m,h=v.buffer,f=v.byteOffset,d=g,new Uint8Array(u).set(new Uint8Array(h,f,d),c),v.byteLength===g?p.shift():(v.byteOffset+=g,v.byteLength-=g),t._queueTotalSize-=g,me(t,g,e),s-=g}return l}function me(t,e,n){be(t),n.bytesFilled+=e}function ye(t){0===t._queueTotalSize&&!0===t._closeRequested?(xe(t),He(t._controlledReadableByteStream)):fe(t)}function be(t){void 0!==t._byobRequest&&(t._byobRequest._associatedReadableByteStreamController=void 0,t._byobRequest._view=void 0,t._byobRequest=void 0)}function Ce(t){for(;t._pendingPullIntos.length>0;){if(0===t._queueTotalSize)return;var e=t._pendingPullIntos.peek();!0===ge(t,e)&&(_e(t),de(t._controlledReadableByteStream,e))}}function we(t,e){var n=t._pendingPullIntos.peek();if("closed"===t._controlledReadableByteStream._state){if(0!==e)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(t,e){e.buffer=e.buffer;var n=t._controlledReadableByteStream;if(!0===Ee(n))for(;Oe(n)>0;)de(n,_e(t))}(t,n)}else!function(t,e,n){if(n.bytesFilled+e>n.byteLength)throw new RangeError("bytesWritten out of range");if(me(t,e,n),!(n.bytesFilled<n.elementSize)){_e(t);var r=n.bytesFilled%n.elementSize;if(r>0){var i=n.byteOffset+n.bytesFilled,o=n.buffer.slice(i-r,i);ve(t,o,0,o.byteLength)}n.buffer=n.buffer,n.bytesFilled-=r,de(t._controlledReadableByteStream,n),Ce(t)}}(t,e,n);fe(t)}function _e(t){var e=t._pendingPullIntos.shift();return be(t),e}function xe(t){t._pullAlgorithm=void 0,t._cancelAlgorithm=void 0}function Ae(t,e){var n=t._controlledReadableByteStream;"readable"===n._state&&(function(t){be(t),t._pendingPullIntos=new P}(t),et(t),xe(t),Ue(n,e))}function Se(t){var e=t._controlledReadableByteStream._state;return"errored"===e?null:"closed"===e?0:t._strategyHWM-t._queueTotalSize}function ke(t,e,n){var r=Object.create(ue.prototype),i=u(e,"pull",0,[r]),o=u(e,"cancel",1,[]),a=e.autoAllocateChunkSize;if(void 0!==a&&(a=Number(a),!1===se(a)||a<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");!function(t,e,n,r,i,o,a){e._controlledReadableByteStream=t,e._pullAgain=!1,e._pulling=!1,e._byobRequest=void 0,e._queue=e._queueTotalSize=void 0,et(e),e._closeRequested=!1,e._started=!1,e._strategyHWM=f(o),e._pullAlgorithm=r,e._cancelAlgorithm=i,e._autoAllocateChunkSize=a,e._pendingPullIntos=new P,t._readableStreamController=e,_(b(n()),(function(){e._started=!0,fe(e)}),(function(t){Ae(e,t)}))}(t,r,(function(){return c(e,"start",[r])}),i,o,n,a)}function Pe(t){return new TypeError("ReadableStreamBYOBRequest.prototype."+t+" can only be used on a ReadableStreamBYOBRequest")}function Le(t){return new TypeError("ReadableByteStreamController.prototype."+t+" can only be used on a ReadableByteStreamController")}function Te(t){return y((function(e,n){var r={_resolve:e,_reject:n};t._reader._readIntoRequests.push(r)}))}function Oe(t){return t._reader._readIntoRequests.length}function Ee(t){var e=t._reader;return void 0!==e&&!!Re(e)}var Fe=function(){function t(t){if(!Ne(t))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===ce(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(je(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");T(this,t),this._readIntoRequests=new P}return Object.defineProperty(t.prototype,"closed",{get:function(){return Re(this)?this._closedPromise:C(Ie("closed"))},enumerable:!0,configurable:!0}),t.prototype.cancel=function(t){return Re(this)?void 0===this._ownerReadableStream?C(F("cancel")):O(this,t):C(Ie("cancel"))},t.prototype.read=function(t){return Re(this)?void 0===this._ownerReadableStream?C(F("read from")):ArrayBuffer.isView(t)?(t.buffer,0===t.byteLength?C(new TypeError("view must have non-zero byteLength")):function(t,e){var n=t._ownerReadableStream;return n._disturbed=!0,"errored"===n._state?C(n._storedError):function(t,e){var n=t._controlledReadableByteStream,r=1;e.constructor!==DataView&&(r=e.constructor.BYTES_PER_ELEMENT);var i=e.constructor,o={buffer:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength,bytesFilled:0,elementSize:r,ctor:i,readerType:"byob"};if(t._pendingPullIntos.length>0)return t._pendingPullIntos.push(o),Te(n);if("closed"===n._state)return b(L(new i(o.buffer,o.byteOffset,0),!0,n._reader._forAuthorCode));if(t._queueTotalSize>0){if(!0===ge(t,o)){var a=pe(o);return ye(t),b(L(a,!1,n._reader._forAuthorCode))}if(!0===t._closeRequested){var s=new TypeError("Insufficient bytes to fill elements in the given buffer");return Ae(t,s),C(s)}}t._pendingPullIntos.push(o);var l=Te(n);return fe(t),l}(n._readableStreamController,e)}(this,t)):C(new TypeError("view must be an array buffer view")):C(Ie("read"))},t.prototype.releaseLock=function(){if(!Re(this))throw Ie("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");E(this)}},t}();function Re(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_readIntoRequests")}function Ie(t){return new TypeError("ReadableStreamBYOBReader.prototype."+t+" can only be used on a ReadableStreamBYOBReader")}var Me=function(){function t(t,e){void 0===t&&(t={}),void 0===e&&(e={}),Be(this);var n=e.size,r=e.highWaterMark,i=t.type;if("bytes"===String(i)){if(void 0!==n)throw new RangeError("The strategy for a byte stream cannot have a size function");void 0===r&&(r=0),ke(this,t,r=f(r))}else{if(void 0!==i)throw new RangeError("Invalid type is specified");var o=d(n);void 0===r&&(r=1),function(t,e,n,r){var i=Object.create(Zt.prototype),o=u(e,"pull",0,[i]),a=u(e,"cancel",1,[]);oe(t,i,(function(){return c(e,"start",[i])}),o,a,n,r)}(this,t,r=f(r),o)}}return Object.defineProperty(t.prototype,"locked",{get:function(){if(!1===Ne(this))throw Ve("locked");return je(this)},enumerable:!0,configurable:!0}),t.prototype.cancel=function(t){return!1===Ne(this)?C(Ve("cancel")):!0===je(this)?C(new TypeError("Cannot cancel a stream that already has a reader")):ze(this,t)},t.prototype.getReader=function(t){var e=(void 0===t?{}:t).mode;if(!1===Ne(this))throw Ve("getReader");if(void 0===e)return j(this,!0);if("byob"===(e=String(e)))return function(t,e){void 0===e&&(e=!1);var n=new Fe(t);return n._forAuthorCode=e,n}(this,!0);throw new RangeError("Invalid mode is specified")},t.prototype.pipeThrough=function(t,e){var n=t.writable,r=t.readable,i=void 0===e?{}:e,o=i.preventClose,a=i.preventAbort,s=i.preventCancel,l=i.signal;if(!1===Ne(this))throw Ve("pipeThrough");if(!1===st(n))throw new TypeError("writable argument to pipeThrough must be a WritableStream");if(!1===Ne(r))throw new TypeError("readable argument to pipeThrough must be a ReadableStream");if(o=Boolean(o),a=Boolean(a),s=Boolean(s),void 0!==l&&!Wt(l))throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal");if(!0===je(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(!0===lt(n))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return k(Yt(this,n,o,a,s,l)),r},t.prototype.pipeTo=function(t,e){var n=void 0===e?{}:e,r=n.preventClose,i=n.preventAbort,o=n.preventCancel,a=n.signal;return!1===Ne(this)?C(Ve("pipeTo")):!1===st(t)?C(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")):(r=Boolean(r),i=Boolean(i),o=Boolean(o),void 0===a||Wt(a)?!0===je(this)?C(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):!0===lt(t)?C(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Yt(this,t,r,i,o,a):C(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal")))},t.prototype.tee=function(){if(!1===Ne(this))throw Ve("tee");var t=function(t,e){var n,r,i,o,s,l=j(t),u=!1,c=!1,h=!1,f=y((function(t){s=t}));function d(){return!0===u||(u=!0,k(S(Y(l),(function(t){if(u=!1,!0===t.done)return!1===c&&te(i._readableStreamController),void(!1===h&&te(o._readableStreamController));var e=t.value,n=e,r=e;!1===c&&ee(i._readableStreamController,n),!1===h&&ee(o._readableStreamController,r)})))),b(void 0)}function p(){}return i=De(p,d,(function(e){if(c=!0,n=e,!0===h){var i=a([n,r]),o=ze(t,i);s(o)}return f})),o=De(p,d,(function(e){if(h=!0,r=e,!0===c){var i=a([n,r]),o=ze(t,i);s(o)}return f})),A(l._closedPromise,(function(t){ne(i._readableStreamController,t),ne(o._readableStreamController,t)})),[i,o]}(this);return a(t)},t.prototype.getIterator=function(t){var e=(void 0===t?{}:t).preventCancel,n=void 0!==e&&e;if(!1===Ne(this))throw Ve("getIterator");return function(t,e){void 0===e&&(e=!1);var n=j(t),r=Object.create(X);return r._asyncIteratorReader=n,r._preventCancel=Boolean(e),r}(this,n)},t}();function De(t,e,n,r,i){void 0===r&&(r=1),void 0===i&&(i=function(){return 1});var o=Object.create(Me.prototype);return Be(o),oe(o,Object.create(Zt.prototype),t,e,n,r,i),o}function Be(t){t._state="readable",t._reader=void 0,t._storedError=void 0,t._disturbed=!1}function Ne(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_readableStreamController")}function je(t){return void 0!==t._reader}function ze(t,e){return t._disturbed=!0,"closed"===t._state?b(void 0):"errored"===t._state?C(t._storedError):(He(t),S(t._readableStreamController[B](e),n))}function He(t){t._state="closed";var e=t._reader;void 0!==e&&(G(e)&&(e._readRequests.forEach((function(t){t._resolve(L(void 0,!0,e._forAuthorCode))})),e._readRequests=new P),D(e))}function Ue(t,e){t._state="errored",t._storedError=e;var n=t._reader;void 0!==n&&(G(n)?(n._readRequests.forEach((function(t){t._reject(e)})),n._readRequests=new P):(n._readIntoRequests.forEach((function(t){t._reject(e)})),n._readIntoRequests=new P),M(n,e))}function Ve(t){return new TypeError("ReadableStream.prototype."+t+" can only be used on a ReadableStream")}"symbol"==typeof e.asyncIterator&&Object.defineProperty(Me.prototype,e.asyncIterator,{value:Me.prototype.getIterator,enumerable:!1,writable:!0,configurable:!0});var We=function(){function t(t){var e=t.highWaterMark;this.highWaterMark=e}return t.prototype.size=function(t){return t.byteLength},t}(),$e=function(){function t(t){var e=t.highWaterMark;this.highWaterMark=e}return t.prototype.size=function(){return 1},t}(),qe=function(){function t(t,e,n){void 0===t&&(t={}),void 0===e&&(e={}),void 0===n&&(n={});var r=e.size,i=e.highWaterMark,o=n.size,a=n.highWaterMark;if(void 0!==t.writableType)throw new RangeError("Invalid writable type specified");var s=d(r);if(void 0===i&&(i=1),i=f(i),void 0!==t.readableType)throw new RangeError("Invalid readable type specified");var l,p=d(o);void 0===a&&(a=0),a=f(a),function(t,e,n,r,i,o){function a(){return e}t._writable=function(t,e,n,r,i,o){void 0===i&&(i=1),void 0===o&&(o=function(){return 1});var a=Object.create(it.prototype);return at(a),St(a,Object.create(At.prototype),t,e,n,r,i,o),a}(a,(function(e){return function(t,e){var n=t._transformStreamController;return!0===t._backpressure?S(t._backpressureChangePromise,(function(){var r=t._writable;if("erroring"===r._state)throw r._storedError;return en(n,e)})):en(n,e)}(t,e)}),(function(){return function(t){var e=t._readable,n=t._transformStreamController,r=n._flushAlgorithm();return Je(n),S(r,(function(){if("errored"===e._state)throw e._storedError;var t=e._readableStreamController;!0===ie(t)&&te(t)}),(function(n){throw Ye(t,n),e._storedError}))}(t)}),(function(e){return function(t,e){return Ye(t,e),b(void 0)}(t,e)}),n,r),t._readable=De(a,(function(){return function(t){return Xe(t,!1),t._backpressureChangePromise}(t)}),(function(e){return Ze(t,e),b(void 0)}),i,o),t._backpressure=void 0,t._backpressureChangePromise=void 0,t._backpressureChangePromise_resolve=void 0,Xe(t,!0),t._transformStreamController=void 0}(this,y((function(t){l=t})),i,s,a,p),function(t,e){var n=Object.create(Ke.prototype),r=function(t){try{return tn(n,t),b(void 0)}catch(t){return C(t)}},i=e.transform;if(void 0!==i){if("function"!=typeof i)throw new TypeError("transform is not a method");r=function(t){return h(i,e,[t,n])}}var o=u(e,"flush",0,[n]);!function(t,e,n,r){e._controlledTransformStream=t,t._transformStreamController=e,e._transformAlgorithm=n,e._flushAlgorithm=r}(t,n,r,o)}(this,t);var v=c(t,"start",[this._transformStreamController]);l(v)}return Object.defineProperty(t.prototype,"readable",{get:function(){if(!1===Ge(this))throw rn("readable");return this._readable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"writable",{get:function(){if(!1===Ge(this))throw rn("writable");return this._writable},enumerable:!0,configurable:!0}),t}();function Ge(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_transformStreamController")}function Ye(t,e){ne(t._readable._readableStreamController,e),Ze(t,e)}function Ze(t,e){Je(t._transformStreamController),Tt(t._writable._writableStreamController,e),!0===t._backpressure&&Xe(t,!1)}function Xe(t,e){void 0!==t._backpressureChangePromise&&t._backpressureChangePromise_resolve(),t._backpressureChangePromise=y((function(e){t._backpressureChangePromise_resolve=e})),t._backpressure=e}var Ke=function(){function t(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}return Object.defineProperty(t.prototype,"desiredSize",{get:function(){if(!1===Qe(this))throw nn("desiredSize");return re(this._controlledTransformStream._readable._readableStreamController)},enumerable:!0,configurable:!0}),t.prototype.enqueue=function(t){if(!1===Qe(this))throw nn("enqueue");tn(this,t)},t.prototype.error=function(t){if(!1===Qe(this))throw nn("error");var e;e=t,Ye(this._controlledTransformStream,e)},t.prototype.terminate=function(){if(!1===Qe(this))throw nn("terminate");!function(t){var e=t._controlledTransformStream,n=e._readable._readableStreamController;!0===ie(n)&&te(n);var r=new TypeError("TransformStream terminated");Ze(e,r)}(this)},t}();function Qe(t){return!!o(t)&&!!Object.prototype.hasOwnProperty.call(t,"_controlledTransformStream")}function Je(t){t._transformAlgorithm=void 0,t._flushAlgorithm=void 0}function tn(t,e){var n=t._controlledTransformStream,r=n._readable._readableStreamController;if(!1===ie(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{ee(r,e)}catch(t){throw Ze(n,t),n._readable._storedError}(function(t){return!0!==Qt(t)})(r)!==n._backpressure&&Xe(n,!0)}function en(t,e){return S(t._transformAlgorithm(e),void 0,(function(e){throw Ye(t._controlledTransformStream,e),e}))}function nn(t){return new TypeError("TransformStreamDefaultController.prototype."+t+" can only be used on a TransformStreamDefaultController")}function rn(t){return new TypeError("TransformStream.prototype."+t+" can only be used on a TransformStream")}t.ByteLengthQueuingStrategy=We,t.CountQueuingStrategy=$e,t.ReadableStream=Me,t.TransformStream=qe,t.WritableStream=it,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,n){n(145),n(114),n(77),n(116);var r=n(43);t.exports=r.Map},function(t,e,n){"use strict";var r=n(146),i=n(150);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},function(t,e,n){"use strict";var r=n(10),i=n(11),o=n(52),a=n(29),s=n(147),l=n(124),u=n(123),c=n(22),h=n(14),f=n(97),d=n(85),p=n(149);t.exports=function(t,e,n){var v=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),m=v?"set":"add",y=i[t],b=y&&y.prototype,C=y,w={},_=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!c(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!c(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!c(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(o(t,"function"!=typeof y||!(g||b.forEach&&!h((function(){(new y).entries().next()})))))C=n.getConstructor(e,t,v,m),s.REQUIRED=!0;else if(o(t,!0)){var x=new C,A=x[m](g?{}:-0,1)!=x,S=h((function(){x.has(1)})),k=f((function(t){new y(t)})),P=!g&&h((function(){for(var t=new y,e=5;e--;)t[m](e,e);return!t.has(-0)}));k||((C=e((function(e,n){u(e,C,t);var r=p(new y,e,C);return null!=n&&l(n,r[m],r,v),r}))).prototype=b,b.constructor=C),(S||P)&&(_("delete"),_("has"),v&&_("get")),(P||A)&&_(m),g&&b.clear&&delete b.clear}return w[t]=C,r({global:!0,forced:C!=y},w),d(C,t),g||n.setStrong(C,t,v),C}},function(t,e,n){var r=n(39),i=n(22),o=n(23),a=n(27).f,s=n(38),l=n(148),u=s("meta"),c=0,h=Object.isExtensible||function(){return!0},f=function(t){a(t,u,{value:{objectID:"O"+ ++c,weakData:{}}})},d=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,u)){if(!h(t))return"F";if(!e)return"E";f(t)}return t[u].objectID},getWeakData:function(t,e){if(!o(t,u)){if(!h(t))return!0;if(!e)return!1;f(t)}return t[u].weakData},onFreeze:function(t){return l&&d.REQUIRED&&h(t)&&!o(t,u)&&f(t),t}};r[u]=!0},function(t,e,n){var r=n(14);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){var r=n(22),i=n(87);t.exports=function(t,e,n){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},function(t,e,n){"use strict";var r=n(27).f,i=n(71),o=n(121),a=n(62),s=n(123),l=n(124),u=n(79),c=n(122),h=n(13),f=n(147).fastKey,d=n(33),p=d.set,v=d.getterFor;t.exports={getConstructor:function(t,e,n,u){var c=t((function(t,r){s(t,c,e),p(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),h||(t.size=0),null!=r&&l(r,t[u],t,n)})),d=v(e),g=function(t,e,n){var r,i,o=d(t),a=m(t,e);return a?a.value=n:(o.last=a={index:i=f(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),h?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},m=function(t,e){var n,r=d(t),i=f(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(c.prototype,{clear:function(){for(var t=d(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,h?t.size=0:this.size=0},delete:function(t){var e=d(this),n=m(this,t);if(n){var r=n.next,i=n.previous;delete e.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),e.first==n&&(e.first=r),e.last==n&&(e.last=i),h?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=d(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!m(this,t)}}),o(c.prototype,n?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),h&&r(c.prototype,"size",{get:function(){return d(this).size}}),c},setStrong:function(t,e,n){var r=e+" Iterator",i=v(e),o=v(r);u(t,e,(function(t,e){p(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(e)}}},function(t,e,n){n(152),n(114),n(77),n(116);var r=n(43);t.exports=r.Set},function(t,e,n){"use strict";var r=n(146),i=n(150);t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},function(t,e,n){n(114),n(154),n(116);var r=n(43);t.exports=r.WeakMap},function(t,e,n){"use strict";var r,i=n(11),o=n(121),a=n(147),s=n(146),l=n(155),u=n(22),c=n(33).enforce,h=n(34),f=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=s("WeakMap",p,l);if(h&&f){r=l.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,m=g.delete,y=g.has,b=g.get,C=g.set;o(g,{delete:function(t){if(u(t)&&!d(t)){var e=c(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.delete(t)}return m.call(this,t)},has:function(t){if(u(t)&&!d(t)){var e=c(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.has(t)}return y.call(this,t)},get:function(t){if(u(t)&&!d(t)){var e=c(this);return e.frozen||(e.frozen=new r),y.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(u(t)&&!d(t)){var n=c(this);n.frozen||(n.frozen=new r),y.call(this,t)?C.call(this,t,e):n.frozen.set(t,e)}else C.call(this,t,e);return this}})}},function(t,e,n){"use strict";var r=n(121),i=n(147).getWeakData,o=n(28),a=n(22),s=n(123),l=n(124),u=n(156),c=n(23),h=n(33),f=h.set,d=h.getterFor,p=u.find,v=u.findIndex,g=0,m=function(t){return t.frozen||(t.frozen=new y)},y=function(){this.entries=[]},b=function(t,e){return p(t.entries,(function(t){return t[0]===e}))};y.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,u){var h=t((function(t,r){s(t,h,e),f(t,{type:e,id:g++,frozen:void 0}),null!=r&&l(r,t[u],t,n)})),p=d(e),v=function(t,e,n){var r=p(t),a=i(o(e),!0);return!0===a?m(r).set(e,n):a[r.id]=n,t};return r(h.prototype,{delete:function(t){var e=p(this);if(!a(t))return!1;var n=i(t);return!0===n?m(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=p(this);if(!a(t))return!1;var n=i(t);return!0===n?m(e).has(t):n&&c(n,e.id)}}),r(h.prototype,n?{get:function(t){var e=p(this);if(a(t)){var n=i(t);return!0===n?m(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),h}}},function(t,e,n){var r=n(62),i=n(18),o=n(83),a=n(47),s=n(157),l=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,c=4==t,h=6==t,f=5==t||h;return function(d,p,v,g){for(var m,y,b=o(d),C=i(b),w=r(p,v,3),_=a(C.length),x=0,A=g||s,S=e?A(d,_):n?A(d,0):void 0;_>x;x++)if((f||x in C)&&(y=w(m=C[x],x,b),t))if(e)S[x]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return x;case 2:l.call(S,m)}else if(c)return!1;return h?-1:u||c?c:S}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(t,e,n){var r=n(22),i=n(158),o=n(57)("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r=n(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){n(114),n(160),n(116);var r=n(43);t.exports=r.WeakSet},function(t,e,n){"use strict";n(146)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(155))},function(t,e,n){n(162);var r=n(61);t.exports=r("String","codePointAt")},function(t,e,n){"use strict";var r=n(10),i=n(78).codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return i(this,t)}})},function(t,e,n){n(164);var r=n(43);t.exports=r.String.fromCodePoint},function(t,e,n){var r=n(10),i=n(49),o=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){n(166),n(114),n(168),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187);var r=n(43);t.exports=r.Symbol},function(t,e,n){"use strict";var r=n(10),i=n(14),o=n(158),a=n(22),s=n(83),l=n(47),u=n(93),c=n(157),h=n(167),f=n(57),d=n(133),p=f("isConcatSpreadable"),v=d>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),g=h("concat"),m=function(t){if(!a(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(t){var e,n,r,i,o,a=s(this),h=c(a,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(m(o=-1===e?a:arguments[e])){if(f+(i=l(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,f++)n in o&&u(h,f,o[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(h,f++,o)}return h.length=f,h}})},function(t,e,n){var r=n(14),i=n(57),o=n(133),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){"use strict";var r=n(10),i=n(11),o=n(42),a=n(37),s=n(13),l=n(58),u=n(59),c=n(14),h=n(23),f=n(158),d=n(22),p=n(28),v=n(83),g=n(17),m=n(21),y=n(16),b=n(71),C=n(73),w=n(44),_=n(169),x=n(51),A=n(12),S=n(27),k=n(15),P=n(26),L=n(29),T=n(36),O=n(35),E=n(39),F=n(38),R=n(57),I=n(170),M=n(171),D=n(85),B=n(33),N=n(156).forEach,j=O("hidden"),z=R("toPrimitive"),H=B.set,U=B.getterFor("Symbol"),V=Object.prototype,W=i.Symbol,$=o("JSON","stringify"),q=A.f,G=S.f,Y=_.f,Z=k.f,X=T("symbols"),K=T("op-symbols"),Q=T("string-to-symbol-registry"),J=T("symbol-to-string-registry"),tt=T("wks"),et=i.QObject,nt=!et||!et.prototype||!et.prototype.findChild,rt=s&&c((function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=q(V,e);r&&delete V[e],G(t,e,n),r&&t!==V&&G(V,e,r)}:G,it=function(t,e){var n=X[t]=b(W.prototype);return H(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof W},at=function(t,e,n){t===V&&at(K,e,n),p(t);var r=m(e,!0);return p(n),h(X,r)?(n.enumerable?(h(t,j)&&t[j][r]&&(t[j][r]=!1),n=b(n,{enumerable:y(0,!1)})):(h(t,j)||G(t,j,y(1,{})),t[j][r]=!0),rt(t,r,n)):G(t,r,n)},st=function(t,e){p(t);var n=g(e),r=C(n).concat(ht(n));return N(r,(function(e){s&&!lt.call(n,e)||at(t,e,n[e])})),t},lt=function(t){var e=m(t,!0),n=Z.call(this,e);return!(this===V&&h(X,e)&&!h(K,e))&&(!(n||!h(this,e)||!h(X,e)||h(this,j)&&this[j][e])||n)},ut=function(t,e){var n=g(t),r=m(e,!0);if(n!==V||!h(X,r)||h(K,r)){var i=q(n,r);return!i||!h(X,r)||h(n,j)&&n[j][r]||(i.enumerable=!0),i}},ct=function(t){var e=Y(g(t)),n=[];return N(e,(function(t){h(X,t)||h(E,t)||n.push(t)})),n},ht=function(t){var e=t===V,n=Y(e?K:g(t)),r=[];return N(n,(function(t){!h(X,t)||e&&!h(V,t)||r.push(X[t])})),r};l||(L((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=F(t),n=function(t){this===V&&n.call(K,t),h(this,j)&&h(this[j],e)&&(this[j][e]=!1),rt(this,e,y(1,t))};return s&&nt&&rt(V,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return U(this).tag})),L(W,"withoutSetter",(function(t){return it(F(t),t)})),k.f=lt,S.f=at,A.f=ut,w.f=_.f=ct,x.f=ht,I.f=function(t){return it(R(t),t)},s&&(G(W.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||L(V,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),N(C(tt),(function(t){M(t)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(t){var e=String(t);if(h(Q,e))return Q[e];var n=W(e);return Q[e]=n,J[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(h(J,t))return J[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(t,e){return void 0===e?b(t):st(b(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ct,getOwnPropertySymbols:ht}),r({target:"Object",stat:!0,forced:c((function(){x.f(1)}))},{getOwnPropertySymbols:function(t){return x.f(v(t))}}),$&&r({target:"JSON",stat:!0,forced:!l||c((function(){var t=W();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))}))},{stringify:function(t,e,n){for(var r,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=e,(d(e)||void 0!==t)&&!ot(t))return f(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!ot(e))return e}),i[1]=e,$.apply(null,i)}}),W.prototype[z]||P(W.prototype,z,W.prototype.valueOf),D(W,"Symbol"),E[j]=!0},function(t,e,n){var r=n(17),i=n(44).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},function(t,e,n){var r=n(57);e.f=r},function(t,e,n){var r=n(43),i=n(23),o=n(170),a=n(27).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},function(t,e,n){n(171)("asyncIterator")},function(t,e,n){"use strict";var r=n(10),i=n(13),o=n(11),a=n(23),s=n(22),l=n(27).f,u=n(40),c=o.Symbol;if(i&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var h={},f=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof f?new c(t):void 0===t?c():c(t);return""===t&&(h[e]=!0),e};u(f,c);var d=f.prototype=c.prototype;d.constructor=f;var p=d.toString,v="Symbol(test)"==String(c("test")),g=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(a(h,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},function(t,e,n){n(171)("hasInstance")},function(t,e,n){n(171)("isConcatSpreadable")},function(t,e,n){n(171)("iterator")},function(t,e,n){n(171)("match")},function(t,e,n){n(171)("matchAll")},function(t,e,n){n(171)("replace")},function(t,e,n){n(171)("search")},function(t,e,n){n(171)("species")},function(t,e,n){n(171)("split")},function(t,e,n){n(171)("toPrimitive")},function(t,e,n){n(171)("toStringTag")},function(t,e,n){n(171)("unscopables")},function(t,e,n){n(85)(Math,"Math",!0)},function(t,e,n){var r=n(11);n(85)(r.JSON,"JSON",!0)},function(t,e,n){n(189);var r=n(61);t.exports=r("String","padStart")},function(t,e,n){"use strict";var r=n(10),i=n(190).start;r({target:"String",proto:!0,forced:n(192)},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(47),i=n(191),o=n(20),a=Math.ceil,s=function(t){return function(e,n,s){var l,u,c=String(o(e)),h=c.length,f=void 0===s?" ":String(s),d=r(n);return d<=h||""==f?c:(l=d-h,(u=i.call(f,a(l/f.length))).length>l&&(u=u.slice(0,l)),t?c+u:u+c)}};t.exports={start:s(!1),end:s(!0)}},function(t,e,n){"use strict";var r=n(48),i=n(20);t.exports="".repeat||function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){var r=n(127);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(t,e,n){n(194);var r=n(61);t.exports=r("String","padEnd")},function(t,e,n){"use strict";var r=n(10),i=n(190).end;r({target:"String",proto:!0,forced:n(192)},{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){n(196);var r=n(43);t.exports=r.Object.values},function(t,e,n){var r=n(10),i=n(197).values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},function(t,e,n){var r=n(13),i=n(73),o=n(17),a=n(15).f,s=function(t){return function(e){for(var n,s=o(e),l=i(s),u=l.length,c=0,h=[];u>c;)n=l[c++],r&&!a.call(s,n)||h.push(t?[n,s[n]]:s[n]);return h}};t.exports={entries:s(!0),values:s(!1)}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.build=exports.version=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFWorker=exports.PDFDataRangeTransport=exports.LoopbackPort=void 0;var _regenerator=_interopRequireDefault(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(1),_font_loader=__w_pdfjs_require__(199),_api_compatibility=__w_pdfjs_require__(200),_canvas=__w_pdfjs_require__(201),_worker_options=__w_pdfjs_require__(203),_is_node=__w_pdfjs_require__(7),_message_handler=__w_pdfjs_require__(204),_metadata=__w_pdfjs_require__(205),_transport_stream=__w_pdfjs_require__(207),_webgl=__w_pdfjs_require__(208);function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function asyncGeneratorStep(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){asyncGeneratorStep(o,r,i,a,s,"next",t)}function s(t){asyncGeneratorStep(o,r,i,a,s,"throw",t)}a(void 0)}))}}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _createForOfIteratorHelper(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function _iterableToArrayLimit(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,createPDFNetworkStream;function setPDFNetworkStreamFactory(t){createPDFNetworkStream=t}function getDocument(t){var e,n=new PDFDocumentLoadingTask;if("string"==typeof t)e={url:t};else if((0,_util.isArrayBuffer)(t))e={data:t};else if(t instanceof PDFDataRangeTransport)e={range:t};else{if("object"!==_typeof(t))throw new Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!t.url&&!t.data&&!t.range)throw new Error("Invalid parameter object: need either .data, .range or .url");e=t}var r=Object.create(null),i=null,o=null;for(var a in e)if("url"!==a||"undefined"==typeof window)if("range"!==a)if("worker"!==a)if("data"!==a||e[a]instanceof Uint8Array)r[a]=e[a];else{var s=e[a];if("string"==typeof s)r[a]=(0,_util.stringToBytes)(s);else if("object"!==_typeof(s)||null===s||isNaN(s.length)){if(!(0,_util.isArrayBuffer)(s))throw new Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");r[a]=new Uint8Array(s)}else r[a]=new Uint8Array(s)}else o=e[a];else i=e[a];else r[a]=new URL(e[a],window.location).href;if(r.rangeChunkSize=r.rangeChunkSize||DEFAULT_RANGE_CHUNK_SIZE,r.CMapReaderFactory=r.CMapReaderFactory||_display_utils.DOMCMapReaderFactory,r.ignoreErrors=!0!==r.stopAtErrors,r.fontExtraProperties=!0===r.fontExtraProperties,r.pdfBug=!0===r.pdfBug,Number.isInteger(r.maxImageSize)||(r.maxImageSize=-1),"boolean"!=typeof r.isEvalSupported&&(r.isEvalSupported=!0),"boolean"!=typeof r.disableFontFace&&(r.disableFontFace=_api_compatibility.apiCompatibilityParams.disableFontFace||!1),"boolean"!=typeof r.disableRange&&(r.disableRange=!1),"boolean"!=typeof r.disableStream&&(r.disableStream=!1),"boolean"!=typeof r.disableAutoFetch&&(r.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(r.verbosity),!o){var l={verbosity:r.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};o=l.port?PDFWorker.fromPort(l):new PDFWorker(l),n._worker=o}var u=n.docId;return o.promise.then((function(){if(n.destroyed)throw new Error("Loading aborted");var t=_fetchDocument(o,r,i,u),e=new Promise((function(t){var e;i?e=new _transport_stream.PDFDataTransportStream({length:r.length,initialData:r.initialData,progressiveDone:r.progressiveDone,disableRange:r.disableRange,disableStream:r.disableStream},i):r.data||(e=createPDFNetworkStream({url:r.url,length:r.length,httpHeaders:r.httpHeaders,withCredentials:r.withCredentials,rangeChunkSize:r.rangeChunkSize,disableRange:r.disableRange,disableStream:r.disableStream})),t(e)}));return Promise.all([t,e]).then((function(t){var e=_slicedToArray(t,2),i=e[0],a=e[1];if(n.destroyed)throw new Error("Loading aborted");var s=new _message_handler.MessageHandler(u,i,o.port);s.postMessageTransfers=o.postMessageTransfers;var l=new WorkerTransport(s,n,a,r);n._transport=l,s.send("Ready",null)}))})).catch(n._capability.reject),n}function _fetchDocument(t,e,n,r){return t.destroyed?Promise.reject(new Error("Worker was destroyed")):(n&&(e.length=n.length,e.initialData=n.initialData,e.progressiveDone=n.progressiveDone),t.messageHandler.sendWithPromise("GetDocRequest",{docId:r,apiVersion:"2.5.207",source:{data:e.data,url:e.url,password:e.password,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize,length:e.length},maxImageSize:e.maxImageSize,disableFontFace:e.disableFontFace,postMessageTransfers:t.postMessageTransfers,docBaseUrl:e.docBaseUrl,ignoreErrors:e.ignoreErrors,isEvalSupported:e.isEvalSupported,fontExtraProperties:e.fontExtraProperties}).then((function(e){if(t.destroyed)throw new Error("Worker was destroyed");return e})))}var PDFDocumentLoadingTask=(nextDocumentId=0,function(){function t(){_classCallCheck(this,t),this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+nextDocumentId++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return _createClass(t,[{key:"destroy",value:function(){var t=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then((function(){t._transport=null,t._worker&&(t._worker.destroy(),t._worker=null)}))}},{key:"promise",get:function(){return this._capability.promise}}]),t}()),nextDocumentId,PDFDataRangeTransport=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,t),this.length=e,this.initialData=n,this.progressiveDone=r,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}return _createClass(t,[{key:"addRangeListener",value:function(t){this._rangeListeners.push(t)}},{key:"addProgressListener",value:function(t){this._progressListeners.push(t)}},{key:"addProgressiveReadListener",value:function(t){this._progressiveReadListeners.push(t)}},{key:"addProgressiveDoneListener",value:function(t){this._progressiveDoneListeners.push(t)}},{key:"onDataRange",value:function(t,e){var n,r=_createForOfIteratorHelper(this._rangeListeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(t,e)}catch(t){r.e(t)}finally{r.f()}}},{key:"onDataProgress",value:function(t,e){var n=this;this._readyCapability.promise.then((function(){var r,i=_createForOfIteratorHelper(n._progressListeners);try{for(i.s();!(r=i.n()).done;)(0,r.value)(t,e)}catch(t){i.e(t)}finally{i.f()}}))}},{key:"onDataProgressiveRead",value:function(t){var e=this;this._readyCapability.promise.then((function(){var n,r=_createForOfIteratorHelper(e._progressiveReadListeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(t)}catch(t){r.e(t)}finally{r.f()}}))}},{key:"onDataProgressiveDone",value:function(){var t=this;this._readyCapability.promise.then((function(){var e,n=_createForOfIteratorHelper(t._progressiveDoneListeners);try{for(n.s();!(e=n.n()).done;)(0,e.value)()}catch(t){n.e(t)}finally{n.f()}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(t,e){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),t}();exports.PDFDataRangeTransport=PDFDataRangeTransport;var PDFDocumentProxy=function(){function t(e,n){_classCallCheck(this,t),this._pdfInfo=e,this._transport=n}return _createClass(t,[{key:"getPage",value:function(t){return this._transport.getPage(t)}},{key:"getPageIndex",value:function(t){return this._transport.getPageIndex(t)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(t){return this._transport.getDestination(t)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenAction",value:function(){return this._transport.getOpenAction()}},{key:"getOpenActionDestination",value:function(){return(0,_display_utils.deprecated)("getOpenActionDestination, use getOpenAction instead."),this.getOpenAction().then((function(t){return t&&t.dest?t.dest:null}))}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"getStats",value:function(){return this._transport.getStats()}},{key:"cleanup",value:function(){return this._transport.startCleanup()}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprint",get:function(){return this._pdfInfo.fingerprint}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}}]),t}();exports.PDFDocumentProxy=PDFDocumentProxy;var PDFPageProxy=function(){function t(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];_classCallCheck(this,t),this._pageIndex=e,this._pageInfo=n,this._transport=r,this._stats=i?new _display_utils.StatTimer:null,this._pdfBug=i,this.commonObjs=r.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return _createClass(t,[{key:"getViewport",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scale,n=t.rotation,r=void 0===n?this.rotate:n,i=t.offsetX,o=void 0===i?0:i,a=t.offsetY,s=void 0===a?0:a,l=t.dontFlip,u=void 0!==l&&l;return new _display_utils.PageViewport({viewBox:this.view,scale:e,rotation:r,offsetX:o,offsetY:s,dontFlip:u})}},{key:"getAnnotations",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.intent,n=void 0===e?null:e;return this.annotationsPromise&&this.annotationsIntent===n||(this.annotationsPromise=this._transport.getAnnotations(this._pageIndex,n),this.annotationsIntent=n),this.annotationsPromise}},{key:"render",value:function(t){var e=this,n=t.canvasContext,r=t.viewport,i=t.intent,o=void 0===i?"display":i,a=t.enableWebGL,s=void 0!==a&&a,l=t.renderInteractiveForms,u=void 0!==l&&l,c=t.transform,h=void 0===c?null:c,f=t.imageLayer,d=void 0===f?null:f,p=t.canvasFactory,v=void 0===p?null:p,g=t.background,m=void 0===g?null:g;this._stats&&this._stats.time("Overall");var y="print"===o?"print":"display";this.pendingCleanup=!1,this.intentStates[y]||(this.intentStates[y]=Object.create(null));var b=this.intentStates[y];b.streamReaderCancelTimeout&&(clearTimeout(b.streamReaderCancelTimeout),b.streamReaderCancelTimeout=null);var C=v||new _display_utils.DOMCanvasFactory,w=new _webgl.WebGLContext({enable:s});b.displayReadyCapability||(b.displayReadyCapability=(0,_util.createPromiseCapability)(),b.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:y,renderInteractiveForms:!0===u}));var _=function(t){var n=b.renderTasks.indexOf(x);n>=0&&b.renderTasks.splice(n,1),(e.cleanupAfterRender||"print"===y)&&(e.pendingCleanup=!0),e._tryCleanup(),t?(x.capability.reject(t),e._abortOperatorList({intentState:b,reason:t})):x.capability.resolve(),e._stats&&(e._stats.timeEnd("Rendering"),e._stats.timeEnd("Overall"))},x=new InternalRenderTask({callback:_,params:{canvasContext:n,viewport:r,transform:h,imageLayer:d,background:m},objs:this.objs,commonObjs:this.commonObjs,operatorList:b.operatorList,pageIndex:this._pageIndex,canvasFactory:C,webGLContext:w,useRequestAnimationFrame:"print"!==y,pdfBug:this._pdfBug});b.renderTasks||(b.renderTasks=[]),b.renderTasks.push(x);var A=x.task;return b.displayReadyCapability.promise.then((function(t){e.pendingCleanup?_():(e._stats&&e._stats.time("Rendering"),x.initializeGraphics(t),x.operatorListChanged())})).catch(_),A}},{key:"getOperatorList",value:function(){this.intentStates.oplist||(this.intentStates.oplist=Object.create(null));var t,e=this.intentStates.oplist;return e.opListReadCapability||((t={}).operatorListChanged=function(){if(e.operatorList.lastChunk){e.opListReadCapability.resolve(e.operatorList);var n=e.renderTasks.indexOf(t);n>=0&&e.renderTasks.splice(n,1)}},e.opListReadCapability=(0,_util.createPromiseCapability)(),e.renderTasks=[],e.renderTasks.push(t),e.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:"oplist"})),e.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.normalizeWhitespace,n=void 0!==e&&e,r=t.disableCombineTextItems,i=void 0!==r&&r,o=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,normalizeWhitespace:!0===n,combineTextItems:!0!==i},{highWaterMark:o,size:function(t){return t.items.length}})}},{key:"getTextContent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.streamTextContent(t);return new Promise((function(t,n){var r=e.getReader(),i={items:[],styles:Object.create(null)};!function e(){r.read().then((function(n){var r,o=n.value;n.done?t(i):(Object.assign(i.styles,o.styles),(r=i.items).push.apply(r,_toConsumableArray(o.items)),e())}),n)}()}))}},{key:"_destroy",value:function(){var t=this;this.destroyed=!0,this._transport.pageCache[this._pageIndex]=null;var e=[];return Object.keys(this.intentStates).forEach((function(n){var r=t.intentStates[n];t._abortOperatorList({intentState:r,reason:new Error("Page was destroyed."),force:!0}),"oplist"!==n&&r.renderTasks.forEach((function(t){var n=t.capability.promise.catch((function(){}));e.push(n),t.cancel()}))})),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(e)}},{key:"cleanup",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pendingCleanup=!0,this._tryCleanup(t)}},{key:"_tryCleanup",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!(!this.pendingCleanup||Object.keys(this.intentStates).some((function(e){var n=t.intentStates[e];return 0!==n.renderTasks.length||!n.operatorList.lastChunk}))||(Object.keys(this.intentStates).forEach((function(e){delete t.intentStates[e]})),this.objs.clear(),this.annotationsPromise=null,e&&this._stats&&(this._stats=new _display_utils.StatTimer),this.pendingCleanup=!1,0))}},{key:"_startRenderPage",value:function(t,e){var n=this.intentStates[e];n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(t))}},{key:"_renderPageChunk",value:function(t,e){for(var n=0,r=t.length;n<r;n++)e.operatorList.fnArray.push(t.fnArray[n]),e.operatorList.argsArray.push(t.argsArray[n]);e.operatorList.lastChunk=t.lastChunk;for(var i=0;i<e.renderTasks.length;i++)e.renderTasks[i].operatorListChanged();t.lastChunk&&this._tryCleanup()}},{key:"_pumpOperatorList",value:function(t){var e=this;(0,_util.assert)(t.intent,'PDFPageProxy._pumpOperatorList: Expected "intent" argument.');var n=this._transport.messageHandler.sendWithStream("GetOperatorList",t).getReader(),r=this.intentStates[t.intent];r.streamReader=n,function t(){n.read().then((function(n){var i=n.value;n.done?r.streamReader=null:e._transport.destroyed||(e._renderPageChunk(i,r),t())}),(function(t){if(r.streamReader=null,!e._transport.destroyed){if(r.operatorList){r.operatorList.lastChunk=!0;for(var n=0;n<r.renderTasks.length;n++)r.renderTasks[n].operatorListChanged();e._tryCleanup()}if(r.displayReadyCapability)r.displayReadyCapability.reject(t);else{if(!r.opListReadCapability)throw t;r.opListReadCapability.reject(t)}}}))}()}},{key:"_abortOperatorList",value:function(t){var e=this,n=t.intentState,r=t.reason,i=t.force,o=void 0!==i&&i;if((0,_util.assert)(r instanceof Error||"object"===_typeof(r)&&null!==r,'PDFPageProxy._abortOperatorList: Expected "reason" argument.'),n.streamReader){if(!o){if(0!==n.renderTasks.length)return;if(r instanceof _display_utils.RenderingCancelledException)return void(n.streamReaderCancelTimeout=setTimeout((function(){e._abortOperatorList({intentState:n,reason:r,force:!0}),n.streamReaderCancelTimeout=null}),RENDERING_CANCELLED_TIMEOUT))}n.streamReader.cancel(new _util.AbortException(r&&r.message)),n.streamReader=null,this._transport.destroyed||(Object.keys(this.intentStates).some((function(t){return e.intentStates[t]===n&&(delete e.intentStates[t],!0)})),this.cleanup())}}},{key:"pageNumber",get:function(){return this._pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"stats",get:function(){return this._stats}}]),t}();exports.PDFPageProxy=PDFPageProxy;var LoopbackPort=function(){function t(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];_classCallCheck(this,t),this._listeners=[],this._defer=e,this._deferred=Promise.resolve(void 0)}return _createClass(t,[{key:"postMessage",value:function(t,e){var n=this;if(this._defer){var r=new WeakMap,i={data:function t(n){if("object"!==_typeof(n)||null===n)return n;if(r.has(n))return r.get(n);var i,o;if((i=n.buffer)&&(0,_util.isArrayBuffer)(i))return o=e&&e.includes(i)?new n.constructor(i,n.byteOffset,n.byteLength):new n.constructor(n),r.set(n,o),o;for(var a in o=Array.isArray(n)?[]:{},r.set(n,o),n){for(var s=void 0,l=n;!(s=Object.getOwnPropertyDescriptor(l,a));)l=Object.getPrototypeOf(l);if(void 0!==s.value)if("function"!=typeof s.value)o[a]=t(s.value);else if(n.hasOwnProperty&&n.hasOwnProperty(a))throw new Error("LoopbackPort.postMessage - cannot clone: ".concat(n[a]))}return o}(t)};this._deferred.then((function(){n._listeners.forEach((function(t){t.call(n,i)}))}))}else this._listeners.forEach((function(e){e.call(n,{data:t})}))}},{key:"addEventListener",value:function(t,e){this._listeners.push(e)}},{key:"removeEventListener",value:function(t,e){var n=this._listeners.indexOf(e);this._listeners.splice(n,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),t}();exports.LoopbackPort=LoopbackPort;var PDFWorker=function PDFWorkerClosure(){var pdfWorkerPorts=new WeakMap,isWorkerDisabled=!1,fallbackWorkerSrc,nextFakeWorkerId=0,fakeWorkerCapability;if(_is_node.isNodeJS)isWorkerDisabled=!0,fallbackWorkerSrc="./pdf.worker.js";else if("object"===("undefined"==typeof document?"undefined":_typeof(document))&&"currentScript"in document){var pdfjsFilePath=document.currentScript&&document.currentScript.src;pdfjsFilePath&&(fallbackWorkerSrc=pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}function _getWorkerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(void 0!==fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function getMainThreadWorkerMessageHandler(){var t;try{t=globalThis.pdfjsWorker&&globalThis.pdfjsWorker.WorkerMessageHandler}catch(t){}return t||null}function setupFakeWorkerGlobal(){if(fakeWorkerCapability)return fakeWorkerCapability.promise;fakeWorkerCapability=(0,_util.createPromiseCapability)();var loader=function(){var _ref10=_asyncToGenerator(_regenerator.default.mark((function _callee(){var mainWorkerMessageHandler,worker;return _regenerator.default.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(mainWorkerMessageHandler=getMainThreadWorkerMessageHandler(),!mainWorkerMessageHandler){_context.next=3;break}return _context.abrupt("return",mainWorkerMessageHandler);case 3:if(!_is_node.isNodeJS){_context.next=6;break}return worker=eval("require")(_getWorkerSrc()),_context.abrupt("return",worker.WorkerMessageHandler);case 6:return _context.next=8,(0,_display_utils.loadScript)(_getWorkerSrc());case 8:return _context.abrupt("return",window.pdfjsWorker.WorkerMessageHandler);case 9:case"end":return _context.stop()}}),_callee)})));return function(){return _ref10.apply(this,arguments)}}();return loader().then(fakeWorkerCapability.resolve,fakeWorkerCapability.reject),fakeWorkerCapability.promise}function createCDNWrapper(t){var e="importScripts('"+t+"');";return URL.createObjectURL(new Blob([e]))}var PDFWorker=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.name,r=void 0===n?null:n,i=e.port,o=void 0===i?null:i,a=e.verbosity,s=void 0===a?(0,_util.getVerbosityLevel)():a;if(_classCallCheck(this,t),o&&pdfWorkerPorts.has(o))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=r,this.destroyed=!1,this.postMessageTransfers=!0,this.verbosity=s,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,o)return pdfWorkerPorts.set(o,this),void this._initializeFromPort(o);this._initialize()}return _createClass(t,[{key:"_initializeFromPort",value:function(t){this._port=t,this._messageHandler=new _message_handler.MessageHandler("main","worker",t),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var t=this;if("undefined"!=typeof Worker&&!isWorkerDisabled&&!getMainThreadWorkerMessageHandler()){var e=_getWorkerSrc();try{(0,_util.isSameOrigin)(window.location.href,e)||(e=createCDNWrapper(new URL(e,window.location).href));var n=new Worker(e),r=new _message_handler.MessageHandler("main","worker",n),i=function(){n.removeEventListener("error",o),r.destroy(),n.terminate(),t.destroyed?t._readyCapability.reject(new Error("Worker was destroyed")):t._setupFakeWorker()},o=function(){t._webWorker||i()};n.addEventListener("error",o),r.on("test",(function(e){n.removeEventListener("error",o),t.destroyed?i():e?(t._messageHandler=r,t._port=n,t._webWorker=n,e.supportTransfers||(t.postMessageTransfers=!1),t._readyCapability.resolve(),r.send("configure",{verbosity:t.verbosity})):(t._setupFakeWorker(),r.destroy(),n.terminate())})),r.on("ready",(function(e){if(n.removeEventListener("error",o),t.destroyed)i();else try{a()}catch(e){t._setupFakeWorker()}}));var a=function(){var e=new Uint8Array([t.postMessageTransfers?255:0]);try{r.send("test",e,[e.buffer])}catch(t){(0,_util.warn)("Cannot use postMessage transfers."),e[0]=0,r.send("test",e)}};return void a()}catch(t){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var t=this;isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),isWorkerDisabled=!0),setupFakeWorkerGlobal().then((function(e){if(t.destroyed)t._readyCapability.reject(new Error("Worker was destroyed"));else{var n=new LoopbackPort;t._port=n;var r="fake"+nextFakeWorkerId++,i=new _message_handler.MessageHandler(r+"_worker",r,n);e.setup(i,n);var o=new _message_handler.MessageHandler(r,r+"_worker",n);t._messageHandler=o,t._readyCapability.resolve(),o.send("configure",{verbosity:t.verbosity})}})).catch((function(e){t._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(e.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),pdfWorkerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}}],[{key:"fromPort",value:function(e){if(!e||!e.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return pdfWorkerPorts.has(e.port)?pdfWorkerPorts.get(e.port):new t(e)}},{key:"getWorkerSrc",value:function(){return _getWorkerSrc()}}]),t}();return PDFWorker}();exports.PDFWorker=PDFWorker;var WorkerTransport=function(){function t(e,n,r,i){_classCallCheck(this,t),this.messageHandler=e,this.loadingTask=n,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:n.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this)}),this._params=i,this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}return _createClass(t,[{key:"destroy",value:function(){var t=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var e=[];this.pageCache.forEach((function(t){t&&e.push(t._destroy())})),this.pageCache.length=0,this.pagePromises.length=0;var n=this.messageHandler.sendWithPromise("Terminate",null);return e.push(n),Promise.all(e).then((function(){t.fontLoader.clear(),t._networkStream&&t._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),t.messageHandler&&(t.messageHandler.destroy(),t.messageHandler=null),t.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var t=this,e=this.messageHandler,n=this.loadingTask;e.on("GetReader",(function(e,n){(0,_util.assert)(t._networkStream,"GetReader - no `IPDFStream` instance available."),t._fullReader=t._networkStream.getFullReader(),t._fullReader.onProgress=function(e){t._lastProgress={loaded:e.loaded,total:e.total}},n.onPull=function(){t._fullReader.read().then((function(t){var e=t.value;t.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(e),"GetReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(e),1,[e]))})).catch((function(t){n.error(t)}))},n.onCancel=function(e){t._fullReader.cancel(e)}})),e.on("ReaderHeadersReady",(function(e){var r=(0,_util.createPromiseCapability)(),i=t._fullReader;return i.headersReady.then((function(){i.isStreamingSupported&&i.isRangeSupported||(t._lastProgress&&n.onProgress&&n.onProgress(t._lastProgress),i.onProgress=function(t){n.onProgress&&n.onProgress({loaded:t.loaded,total:t.total})}),r.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})}),r.reject),r.promise})),e.on("GetRangeReader",(function(e,n){(0,_util.assert)(t._networkStream,"GetRangeReader - no `IPDFStream` instance available.");var r=t._networkStream.getRangeReader(e.begin,e.end);r?(n.onPull=function(){r.read().then((function(t){var e=t.value;t.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(e),"GetRangeReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(e),1,[e]))})).catch((function(t){n.error(t)}))},n.onCancel=function(t){r.cancel(t)}):n.close()})),e.on("GetDoc",(function(e){var r=e.pdfInfo;t._numPages=r.numPages,n._capability.resolve(new PDFDocumentProxy(r,t))})),e.on("DocException",(function(t){var e;switch(t.name){case"PasswordException":e=new _util.PasswordException(t.message,t.code);break;case"InvalidPDFException":e=new _util.InvalidPDFException(t.message);break;case"MissingPDFException":e=new _util.MissingPDFException(t.message);break;case"UnexpectedResponseException":e=new _util.UnexpectedResponseException(t.message,t.status);break;case"UnknownErrorException":e=new _util.UnknownErrorException(t.message,t.details)}n._capability.reject(e)})),e.on("PasswordRequest",(function(e){if(t._passwordCapability=(0,_util.createPromiseCapability)(),n.onPassword)try{n.onPassword((function(e){t._passwordCapability.resolve({password:e})}),e.code)}catch(e){t._passwordCapability.reject(e)}else t._passwordCapability.reject(new _util.PasswordException(e.message,e.code));return t._passwordCapability.promise})),e.on("DataLoaded",(function(e){n.onProgress&&n.onProgress({loaded:e.length,total:e.length}),t.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(function(e){t.destroyed||t.pageCache[e.pageIndex]._startRenderPage(e.transparency,e.intent)})),e.on("commonobj",(function(n){if(!t.destroyed){var r=_slicedToArray(n,3),i=r[0],o=r[1],a=r[2];if(!t.commonObjs.has(i))switch(o){case"Font":var s=t._params;if("error"in a){var l=a.error;(0,_util.warn)("Error during font loading: ".concat(l)),t.commonObjs.resolve(i,l);break}var u=null;s.pdfBug&&globalThis.FontInspector&&globalThis.FontInspector.enabled&&(u={registerFont:function(t,e){globalThis.FontInspector.fontAdded(t,e)}});var c=new _font_loader.FontFaceObject(a,{isEvalSupported:s.isEvalSupported,disableFontFace:s.disableFontFace,ignoreErrors:s.ignoreErrors,onUnsupportedFeature:t._onUnsupportedFeature.bind(t),fontRegistry:u});t.fontLoader.bind(c).catch((function(t){return e.sendWithPromise("FontFallback",{id:i})})).finally((function(){!s.fontExtraProperties&&c.data&&(c.data=null),t.commonObjs.resolve(i,c)}));break;case"FontPath":case"FontType3Res":case"Image":t.commonObjs.resolve(i,a);break;default:throw new Error("Got unknown common object type ".concat(o))}}})),e.on("obj",(function(e){if(!t.destroyed){var n=_slicedToArray(e,4),r=n[0],i=n[1],o=n[2],a=n[3],s=t.pageCache[i];if(!s.objs.has(r))switch(o){case"Image":s.objs.resolve(r,a),a&&"data"in a&&a.data.length>8e6&&(s.cleanupAfterRender=!0);break;default:throw new Error("Got unknown object type ".concat(o))}}})),e.on("DocProgress",(function(e){t.destroyed||n.onProgress&&n.onProgress({loaded:e.loaded,total:e.total})})),e.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),e.on("FetchBuiltInCMap",(function(e,n){if(t.destroyed)n.error(new Error("Worker was destroyed"));else{var r=!1;n.onPull=function(){r?n.close():(r=!0,t.CMapReaderFactory.fetch(e).then((function(t){n.enqueue(t,1,[t.cMapData.buffer])})).catch((function(t){n.error(t)})))}}}))}},{key:"_onUnsupportedFeature",value:function(t){var e=t.featureId;this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(e)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(t){var e=this;if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request"));var n=t-1;if(n in this.pagePromises)return this.pagePromises[n];var r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then((function(t){if(e.destroyed)throw new Error("Transport destroyed");var r=new PDFPageProxy(n,t,e,e._params.pdfBug);return e.pageCache[n]=r,r}));return this.pagePromises[n]=r,r}},{key:"getPageIndex",value:function(t){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:t}).catch((function(t){return Promise.reject(new Error(t))}))}},{key:"getAnnotations",value:function(t,e){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:e})}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(t){return"string"!=typeof t?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenAction",value:function(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var t=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then((function(e){return{info:e[0],metadata:e[1]?new _metadata.Metadata(e[1]):null,contentDispositionFilename:t._fullReader?t._fullReader.filename:null}}))}},{key:"getStats",value:function(){return this.messageHandler.sendWithPromise("GetStats",null)}},{key:"startCleanup",value:function(){var t=this;return this.messageHandler.sendWithPromise("Cleanup",null).then((function(){for(var e=0,n=t.pageCache.length;e<n;e++){var r=t.pageCache[e];if(r&&!r.cleanup())throw new Error("startCleanup: Page ".concat(e+1," is currently rendering."))}t.commonObjs.clear(),t.fontLoader.clear()}))}},{key:"loadingParams",get:function(){var t=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:t.disableAutoFetch,disableFontFace:t.disableFontFace})}}]),t}(),PDFObjects=function(){function t(){_classCallCheck(this,t),this._objs=Object.create(null)}return _createClass(t,[{key:"_ensureObj",value:function(t){return this._objs[t]?this._objs[t]:this._objs[t]={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return this._ensureObj(t).capability.promise.then(e),null;var n=this._objs[t];if(!n||!n.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(t,"."));return n.data}},{key:"has",value:function(t){var e=this._objs[t];return!!e&&e.resolved}},{key:"resolve",value:function(t,e){var n=this._ensureObj(t);n.resolved=!0,n.data=e,n.capability.resolve(e)}},{key:"clear",value:function(){this._objs=Object.create(null)}}]),t}(),RenderTask=function(){function t(e){_classCallCheck(this,t),this._internalRenderTask=e,this.onContinue=null}return _createClass(t,[{key:"cancel",value:function(){this._internalRenderTask.cancel()}},{key:"promise",get:function(){return this._internalRenderTask.capability.promise}}]),t}(),InternalRenderTask=(canvasInRendering=new WeakSet,function(){function t(e){var n=e.callback,r=e.params,i=e.objs,o=e.commonObjs,a=e.operatorList,s=e.pageIndex,l=e.canvasFactory,u=e.webGLContext,c=e.useRequestAnimationFrame,h=void 0!==c&&c,f=e.pdfBug,d=void 0!==f&&f;_classCallCheck(this,t),this.callback=n,this.params=r,this.objs=i,this.commonObjs=o,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=s,this.canvasFactory=l,this.webGLContext=u,this._pdfBug=d,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===h&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=r.canvasContext.canvas}var e;return _createClass(t,[{key:"initializeGraphics",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.cancelled){if(this._canvas){if(canvasInRendering.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");canvasInRendering.add(this._canvas)}this._pdfBug&&globalThis.StepperManager&&globalThis.StepperManager.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var e=this.params,n=e.canvasContext,r=e.viewport,i=e.transform,o=e.imageLayer,a=e.background;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,o),this.gfx.beginDrawing({transform:i,viewport:r,transparency:t,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&canvasInRendering.delete(this._canvas),this.callback(t||new _display_utils.RenderingCancelledException("Rendering cancelled, page ".concat(this._pageIndex+1),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var t=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){t._nextBound().catch(t.cancel.bind(t))})):Promise.resolve().then(this._nextBound).catch(this.cancel.bind(this))}},{key:"_next",value:(e=_asyncToGenerator(_regenerator.default.mark((function t(){return _regenerator.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&canvasInRendering.delete(this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})}]),t}()),canvasInRendering,version="2.5.207";exports.version=version;var build="0974d605";exports.build=build},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontLoader=e.FontFaceObject=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}var v,g=function(){function t(e){var n=e.docId,r=e.onUnsupportedFeature;f(this,t),this.constructor===t&&(0,o.unreachable)("Cannot initialize BaseFontLoader."),this.docId=n,this._onUnsupportedFeature=r,this.nativeFontFaces=[],this.styleElement=null}var e,n;return p(t,[{key:"addNativeFontFace",value:function(t){this.nativeFontFaces.push(t),document.fonts.add(t)}},{key:"insertRule",value:function(t){var e=this.styleElement;e||((e=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),document.documentElement.getElementsByTagName("head")[0].appendChild(e));var n=e.sheet;n.insertRule(t,n.cssRules.length)}},{key:"clear",value:function(){this.nativeFontFaces.forEach((function(t){document.fonts.delete(t)})),this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:(e=i.default.mark((function t(e){var n,r,a=this;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.attached&&!e.missingFile){t.next=2;break}return t.abrupt("return");case 2:if(e.attached=!0,!this.isFontLoadingAPISupported){t.next=19;break}if(!(n=e.createNativeFontFace())){t.next=18;break}return this.addNativeFontFace(n),t.prev=7,t.next=10,n.loaded;case 10:t.next=18;break;case 12:throw t.prev=12,t.t0=t.catch(7),this._onUnsupportedFeature({featureId:o.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,o.warn)("Failed to load font '".concat(n.family,"': '").concat(t.t0,"'.")),e.disableFontFace=!0,t.t0;case 18:return t.abrupt("return");case 19:if(!(r=e.createFontFaceRule())){t.next=26;break}if(this.insertRule(r),!this.isSyncFontLoadingSupported){t.next=24;break}return t.abrupt("return");case 24:return t.next=26,new Promise((function(t){var n=a._queueLoadingCallback(t);a._prepareFontLoadEvent([r],[e],n)}));case 26:case"end":return t.stop()}}),t,this,[[7,12]])})),n=function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(t){h(o,r,i,a,s,"next",t)}function s(t){h(o,r,i,a,s,"throw",t)}a(void 0)}))},function(t){return n.apply(this,arguments)})},{key:"_queueLoadingCallback",value:function(t){(0,o.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"_prepareFontLoadEvent",value:function(t,e,n){(0,o.unreachable)("Abstract method `_prepareFontLoadEvent`.")}},{key:"isFontLoadingAPISupported",get:function(){var t="undefined"!=typeof document&&!!document.fonts;return(0,o.shadow)(this,"isFontLoadingAPISupported",t)}},{key:"isSyncFontLoadingSupported",get:function(){(0,o.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,o.unreachable)("Abstract method `_loadTestFont`.")}}]),t}();e.FontLoader=v,e.FontLoader=v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(n,t);var e=l(n);function n(t){var r;return f(this,n),(r=e.call(this,t)).loadingContext={requests:[],nextRequestId:0},r.loadTestFontId=0,r}return p(n,[{key:"_queueLoadingCallback",value:function(t){var e=this.loadingContext,n={id:"pdfjs-font-loading-".concat(e.nextRequestId++),done:!1,complete:function(){for((0,o.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;e.requests.length>0&&e.requests[0].done;){var t=e.requests.shift();setTimeout(t.callback,0)}},callback:t};return e.requests.push(n),n}},{key:"_prepareFontLoadEvent",value:function(t,e,n){function r(t,e){return t.charCodeAt(e)<<24|t.charCodeAt(e+1)<<16|t.charCodeAt(e+2)<<8|255&t.charCodeAt(e+3)}function i(t,e,n,r){return t.substring(0,e)+r+t.substring(e+n)}var a,s,l=document.createElement("canvas");l.width=1,l.height=1;var u=l.getContext("2d"),c=0,h="lt".concat(Date.now()).concat(this.loadTestFontId++),f=this._loadTestFont,d=r(f=i(f,976,h.length,h),16);for(a=0,s=h.length-3;a<s;a+=4)d=d-1482184792+r(h,a)|0;a<h.length&&(d=d-1482184792+r(h+"XXX",a)|0),f=i(f,16,4,(0,o.string32)(d));var p="url(data:font/opentype;base64,".concat(btoa(f),");"),v='@font-face {font-family:"'.concat(h,'";src:').concat(p,"}");this.insertRule(v);var g=[];for(a=0,s=e.length;a<s;a++)g.push(e[a].loadedName);g.push(h);var m=document.createElement("div");for(m.style.visibility="hidden",m.style.width=m.style.height="10px",m.style.position="absolute",m.style.top=m.style.left="0px",a=0,s=g.length;a<s;++a){var y=document.createElement("span");y.textContent="Hi",y.style.fontFamily=g[a],m.appendChild(y)}document.body.appendChild(m),function t(e,n){if(++c>30)return(0,o.warn)("Load test font never loaded."),void n();u.font="30px "+e,u.fillText(".",0,20),u.getImageData(0,0,1,1).data[3]>0?n():setTimeout(t.bind(null,e,n))}(h,(function(){document.body.removeChild(m),n.complete()}))}},{key:"isSyncFontLoadingSupported",get:function(){var t=!1;if("undefined"==typeof navigator)t=!0;else{var e=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);e&&e[1]>=14&&(t=!0)}return(0,o.shadow)(this,"isSyncFontLoadingSupported",t)}},{key:"_loadTestFont",get:function(){return(0,o.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}}]),n}(g);var m=function(){function t(e,n){var r=n.isEvalSupported,i=void 0===r||r,o=n.disableFontFace,a=void 0!==o&&o,s=n.ignoreErrors,l=void 0!==s&&s,u=n.onUnsupportedFeature,c=void 0===u?null:u,h=n.fontRegistry,d=void 0===h?null:h;for(var p in f(this,t),this.compiledGlyphs=Object.create(null),e)this[p]=e[p];this.isEvalSupported=!1!==i,this.disableFontFace=!0===a,this.ignoreErrors=!0===l,this._onUnsupportedFeature=c,this.fontRegistry=d}return p(t,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var t=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),t}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var t=(0,o.bytesToString)(new Uint8Array(this.data)),e="url(data:".concat(this.mimetype,";base64,").concat(btoa(t),");"),n='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(e,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,e),n}},{key:"getPathGenerator",value:function(t,e){if(void 0!==this.compiledGlyphs[e])return this.compiledGlyphs[e];var n,r;try{n=t.get(this.loadedName+"_path_"+e)}catch(t){if(!this.ignoreErrors)throw t;return this._onUnsupportedFeature&&this._onUnsupportedFeature({featureId:o.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,o.warn)('getPathGenerator - ignoring character: "'.concat(t,'".')),this.compiledGlyphs[e]=function(t,e){}}if(this.isEvalSupported&&o.IsEvalSupportedCached.value){for(var i,a="",s=0,l=n.length;s<l;s++)i=void 0!==(r=n[s]).args?r.args.join(","):"",a+="c."+r.cmd+"("+i+");\n";return this.compiledGlyphs[e]=new Function("c","size",a)}return this.compiledGlyphs[e]=function(t,e){for(var i=0,o=n.length;i<o;i++)"scale"===(r=n[i]).cmd&&(r.args=[e,-e]),t[r.cmd].apply(t,r.args)}}}]),t}();e.FontFaceObject=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.apiCompatibilityParams=void 0;var r=n(7),i=Object.create(null);r.isNodeJS&&(i.disableFontFace=!0);var o=Object.freeze(i);e.apiCompatibilityParams=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CanvasGraphics=void 0;var r=n(5),i=n(202);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t){t.mozCurrentTransform||(t._originalSave=t.save,t._originalRestore=t.restore,t._originalRotate=t.rotate,t._originalScale=t.scale,t._originalTranslate=t.translate,t._originalTransform=t.transform,t._originalSetTransform=t.setTransform,t._transformMatrix=t._transformMatrix||[1,0,0,1,0,0],t._transformStack=[],Object.defineProperty(t,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(t,"mozCurrentTransformInverse",{get:function(){var t=this._transformMatrix,e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=e*i-n*r,l=n*r-e*i;return[i/s,n/l,r/l,e/s,(i*o-r*a)/l,(n*o-e*a)/s]}}),t.save=function(){var t=this._transformMatrix;this._transformStack.push(t),this._transformMatrix=t.slice(0,6),this._originalSave()},t.restore=function(){var t=this._transformStack.pop();t&&(this._transformMatrix=t,this._originalRestore())},t.translate=function(t,e){var n=this._transformMatrix;n[4]=n[0]*t+n[2]*e+n[4],n[5]=n[1]*t+n[3]*e+n[5],this._originalTranslate(t,e)},t.scale=function(t,e){var n=this._transformMatrix;n[0]=n[0]*t,n[1]=n[1]*t,n[2]=n[2]*e,n[3]=n[3]*e,this._originalScale(t,e)},t.transform=function(e,n,r,i,o,a){var s=this._transformMatrix;this._transformMatrix=[s[0]*e+s[2]*n,s[1]*e+s[3]*n,s[0]*r+s[2]*i,s[1]*r+s[3]*i,s[0]*o+s[2]*a+s[4],s[1]*o+s[3]*a+s[5]],t._originalTransform(e,n,r,i,o,a)},t.setTransform=function(e,n,r,i,o,a){this._transformMatrix=[e,n,r,i,o,a],t._originalSetTransform(e,n,r,i,o,a)},t.rotate=function(t){var e=Math.cos(t),n=Math.sin(t),r=this._transformMatrix;this._transformMatrix=[r[0]*e+r[2]*n,r[1]*e+r[3]*n,r[0]*-n+r[2]*e,r[1]*-n+r[3]*e,r[4],r[5]],this._originalRotate(t)})}var l=function(){function t(t){this.canvasFactory=t,this.cache=Object.create(null)}return t.prototype={getCanvas:function(t,e,n,r){var i;return void 0!==this.cache[t]?(i=this.cache[t],this.canvasFactory.reset(i,e,n),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(e,n),this.cache[t]=i),r&&s(i.context),i},clear:function(){for(var t in this.cache){var e=this.cache[t];this.canvasFactory.destroy(e),delete this.cache[t]}}},t}(),u=function(){function t(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=r.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=r.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return t.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(t,e){this.x=t,this.y=e}},t}(),c=function(){function t(t,e,n,r,i,o){this.ctx=t,this.current=new u,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=e,this.objs=n,this.canvasFactory=r,this.webGLContext=i,this.imageLayer=o,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new l(this.canvasFactory),t&&s(t),this._cachedGetSinglePixelWidth=null}function e(t,e){if("undefined"!=typeof ImageData&&e instanceof ImageData)t.putImageData(e,0,0);else{var n,i,o,a,s,l=e.height,u=e.width,c=l%16,h=(l-c)/16,f=0===c?h:h+1,d=t.createImageData(u,16),p=0,v=e.data,g=d.data;if(e.kind===r.ImageKind.GRAYSCALE_1BPP){var m=v.byteLength,y=new Uint32Array(g.buffer,0,g.byteLength>>2),b=y.length,C=u+7>>3,w=4294967295,_=r.IsLittleEndianCached.value?4278190080:255;for(i=0;i<f;i++){for(a=i<h?16:c,n=0,o=0;o<a;o++){for(var x=m-p,A=0,S=x>C?u:8*x-7,k=-8&S,P=0,L=0;A<k;A+=8)L=v[p++],y[n++]=128&L?w:_,y[n++]=64&L?w:_,y[n++]=32&L?w:_,y[n++]=16&L?w:_,y[n++]=8&L?w:_,y[n++]=4&L?w:_,y[n++]=2&L?w:_,y[n++]=1&L?w:_;for(;A<S;A++)0===P&&(L=v[p++],P=128),y[n++]=L&P?w:_,P>>=1}for(;n<b;)y[n++]=0;t.putImageData(d,0,16*i)}}else if(e.kind===r.ImageKind.RGBA_32BPP){for(o=0,s=16*u*4,i=0;i<h;i++)g.set(v.subarray(p,p+s)),p+=s,t.putImageData(d,0,o),o+=16;i<f&&(s=u*c*4,g.set(v.subarray(p,p+s)),t.putImageData(d,0,o))}else{if(e.kind!==r.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(e.kind));for(s=u*(a=16),i=0;i<f;i++){for(i>=h&&(s=u*(a=c)),n=0,o=s;o--;)g[n++]=v[p++],g[n++]=v[p++],g[n++]=v[p++],g[n++]=255;t.putImageData(d,0,16*i)}}}}function n(t,e){for(var n=e.height,r=e.width,i=n%16,o=(n-i)/16,a=0===i?o:o+1,s=t.createImageData(r,16),l=0,u=e.data,c=s.data,h=0;h<a;h++){for(var f=h<o?16:i,d=3,p=0;p<f;p++)for(var v=0,g=0;g<r;g++){if(!v){var m=u[l++];v=128}c[d]=m&v?0:255,d+=4,v>>=1}t.putImageData(s,0,16*h)}}function a(t,e){for(var n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],r=0,i=n.length;r<i;r++){var o=n[r];void 0!==t[o]&&(e[o]=t[o])}void 0!==t.setLineDash&&(e.setLineDash(t.getLineDash()),e.lineDashOffset=t.lineDashOffset)}function c(t){t.strokeStyle="#000000",t.fillStyle="#000000",t.fillRule="nonzero",t.globalAlpha=1,t.lineWidth=1,t.lineCap="butt",t.lineJoin="miter",t.miterLimit=10,t.globalCompositeOperation="source-over",t.font="10px sans-serif",void 0!==t.setLineDash&&(t.setLineDash([]),t.lineDashOffset=0)}function h(t,e,n,r){for(var i=t.length,o=3;o<i;o+=4){var a=t[o];if(0===a)t[o-3]=e,t[o-2]=n,t[o-1]=r;else if(a<255){var s=255-a;t[o-3]=t[o-3]*a+e*s>>8,t[o-2]=t[o-2]*a+n*s>>8,t[o-1]=t[o-1]*a+r*s>>8}}}function f(t,e,n){for(var r=t.length,i=3;i<r;i+=4){var o=n?n[t[i]]:t[i];e[i]=e[i]*o*(1/255)|0}}function d(t,e,n){for(var r=t.length,i=3;i<r;i+=4){var o=77*t[i-3]+152*t[i-2]+28*t[i-1];e[i]=n?e[i]*n[o>>8]>>8:e[i]*o>>16}}function p(t,e,n,r){var i=e.canvas,o=e.context;t.setTransform(e.scaleX,0,0,e.scaleY,e.offsetX,e.offsetY);var a=e.backdrop||null;if(!e.transferMap&&r.isEnabled){var s=r.composeSMask({layer:n.canvas,mask:i,properties:{subtype:e.subtype,backdrop:a}});return t.setTransform(1,0,0,1,0,0),void t.drawImage(s,e.offsetX,e.offsetY)}!function(t,e,n,r,i,o,a){var s,l=!!o,u=l?o[0]:0,c=l?o[1]:0,p=l?o[2]:0;s="Luminosity"===i?d:f;for(var v=Math.min(r,Math.ceil(1048576/n)),g=0;g<r;g+=v){var m=Math.min(v,r-g),y=t.getImageData(0,g,n,m),b=e.getImageData(0,g,n,m);l&&h(y.data,u,c,p),s(y.data,b.data,a),t.putImageData(b,0,g)}}(o,n,i.width,i.height,e.subtype,a,e.transferMap),t.drawImage(i,0,0)}var v=["butt","round","square"],g=["miter","round","bevel"],m={},y={};for(var b in t.prototype={beginDrawing:function(t){var e=t.transform,n=t.viewport,r=t.transparency,i=void 0!==r&&r,o=t.background,a=void 0===o?null:o,s=this.ctx.canvas.width,l=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=a||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,l),this.ctx.restore(),i){var u=this.cachedCanvases.getCanvas("transparent",s,l,!0);this.compositeCtx=this.ctx,this.transparentCanvas=u.canvas,this.ctx=u.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),c(this.ctx),e&&this.ctx.transform.apply(this.ctx,e),this.ctx.transform.apply(this.ctx,n.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(t,e,n,i){var a=t.argsArray,s=t.fnArray,l=e||0,u=a.length;if(u===l)return l;for(var c,h=u-l>10&&"function"==typeof n,f=h?Date.now()+15:0,d=0,p=this.commonObjs,v=this.objs;;){if(void 0!==i&&l===i.nextBreakPoint)return i.breakIt(l,n),l;if((c=s[l])!==r.OPS.dependency)this[c].apply(this,a[l]);else{var g,m=o(a[l]);try{for(m.s();!(g=m.n()).done;){var y=g.value,b=y.startsWith("g_")?p:v;if(!b.has(y))return b.get(y,n),l}}catch(t){m.e(t)}finally{m.f()}}if(++l===u)return l;if(h&&++d>10){if(Date.now()>f)return n(),l;d=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(t){this.current.lineWidth=t,this.ctx.lineWidth=t},setLineCap:function(t){this.ctx.lineCap=v[t]},setLineJoin:function(t){this.ctx.lineJoin=g[t]},setMiterLimit:function(t){this.ctx.miterLimit=t},setDash:function(t,e){var n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(t),n.lineDashOffset=e)},setRenderingIntent:function(t){},setFlatness:function(t){},setGState:function(t){for(var e=0,n=t.length;e<n;e++){var r=t[e],i=r[0],o=r[1];switch(i){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"RI":this.setRenderingIntent(o);break;case"FL":this.setFlatness(o);break;case"Font":this.setFont(o[0],o[1]);break;case"CA":this.current.strokeAlpha=r[1];break;case"ca":this.current.fillAlpha=r[1],this.ctx.globalAlpha=r[1];break;case"BM":this.ctx.globalCompositeOperation=o;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=o?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var t=this.current.activeSMask,e=t.canvas.width,n=t.canvas.height,r="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(r,e,n,!0),o=this.ctx,s=o.mozCurrentTransform;this.ctx.save();var l=i.context;l.scale(1/t.scaleX,1/t.scaleY),l.translate(-t.offsetX,-t.offsetY),l.transform.apply(l,s),t.startTransformInverse=l.mozCurrentTransformInverse,a(o,l),this.ctx=l,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(o),this.groupLevel++},suspendSMaskGroup:function(){var t=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,t,this.webGLContext),this.ctx.restore(),this.ctx.save(),a(t,this.ctx),this.current.resumeSMaskCtx=t;var e=r.Util.transform(this.current.activeSMask.startTransformInverse,t.mozCurrentTransform);this.ctx.transform.apply(this.ctx,e),t.save(),t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,t.canvas.width,t.canvas.height),t.restore()},resumeSMaskGroup:function(){var t=this.current.resumeSMaskCtx,e=this.ctx;this.ctx=t,this.groupStack.push(e),this.groupLevel++},endSMaskGroup:function(){var t=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,t,this.webGLContext),this.ctx.restore(),a(t,this.ctx);var e=r.Util.transform(this.current.activeSMask.startTransformInverse,t.mozCurrentTransform);this.ctx.transform.apply(this.ctx,e)},save:function(){this.ctx.save();var t=this.current;this.stateStack.push(t),this.current=t.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)},transform:function(t,e,n,r,i,o){this.ctx.transform(t,e,n,r,i,o),this._cachedGetSinglePixelWidth=null},constructPath:function(t,e){for(var n=this.ctx,i=this.current,o=i.x,a=i.y,s=0,l=0,u=t.length;s<u;s++)switch(0|t[s]){case r.OPS.rectangle:o=e[l++],a=e[l++];var c=e[l++],h=e[l++];0===c&&(c=this.getSinglePixelWidth()),0===h&&(h=this.getSinglePixelWidth());var f=o+c,d=a+h;this.ctx.moveTo(o,a),this.ctx.lineTo(f,a),this.ctx.lineTo(f,d),this.ctx.lineTo(o,d),this.ctx.lineTo(o,a),this.ctx.closePath();break;case r.OPS.moveTo:o=e[l++],a=e[l++],n.moveTo(o,a);break;case r.OPS.lineTo:o=e[l++],a=e[l++],n.lineTo(o,a);break;case r.OPS.curveTo:o=e[l+4],a=e[l+5],n.bezierCurveTo(e[l],e[l+1],e[l+2],e[l+3],o,a),l+=6;break;case r.OPS.curveTo2:n.bezierCurveTo(o,a,e[l],e[l+1],e[l+2],e[l+3]),o=e[l+2],a=e[l+3],l+=4;break;case r.OPS.curveTo3:o=e[l+2],a=e[l+3],n.bezierCurveTo(e[l],e[l+1],o,a,o,a),l+=4;break;case r.OPS.closePath:n.closePath()}i.setCurrentPoint(o,a)},closePath:function(){this.ctx.closePath()},stroke:function(t){t=void 0===t||t;var e=this.ctx,n=this.current.strokeColor;if(e.globalAlpha=this.current.strokeAlpha,n&&n.hasOwnProperty("type")&&"Pattern"===n.type){e.save();var i=e.mozCurrentTransform,o=r.Util.singularValueDecompose2dScale(i)[0];e.strokeStyle=n.getPattern(e,this),e.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth*o),e.stroke(),e.restore()}else e.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),e.stroke();t&&this.consumePath(),e.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(t){t=void 0===t||t;var e=this.ctx,n=this.current.fillColor,r=!1;this.current.patternFill&&(e.save(),this.baseTransform&&e.setTransform.apply(e,this.baseTransform),e.fillStyle=n.getPattern(e,this),r=!0),this.pendingEOFill?(e.fill("evenodd"),this.pendingEOFill=!1):e.fill(),r&&e.restore(),t&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=m},eoClip:function(){this.pendingClip=y},beginText:function(){this.current.textMatrix=r.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var t=this.pendingTextPaths,e=this.ctx;if(void 0!==t){e.save(),e.beginPath();for(var n=0;n<t.length;n++){var r=t[n];e.setTransform.apply(e,r.transform),e.translate(r.x,r.y),r.addToPath(e,r.fontSize)}e.restore(),e.clip(),e.beginPath(),delete this.pendingTextPaths}else e.beginPath()},setCharSpacing:function(t){this.current.charSpacing=t},setWordSpacing:function(t){this.current.wordSpacing=t},setHScale:function(t){this.current.textHScale=t/100},setLeading:function(t){this.current.leading=-t},setFont:function(t,e){var n=this.commonObjs.get(t),i=this.current;if(!n)throw new Error("Can't find font for ".concat(t));if(i.fontMatrix=n.fontMatrix?n.fontMatrix:r.FONT_IDENTITY_MATRIX,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||(0,r.warn)("Invalid font matrix for font "+t),e<0?(e=-e,i.fontDirection=-1):i.fontDirection=1,this.current.font=n,this.current.fontSize=e,!n.isType3Font){var o=n.loadedName||"sans-serif",a="normal";n.black?a="900":n.bold&&(a="bold");var s=n.italic?"italic":"normal",l='"'.concat(o,'", ').concat(n.fallbackName),u=e;e<16?u=16:e>100&&(u=100),this.current.fontSizeScale=e/u,this.ctx.font="".concat(s," ").concat(a," ").concat(u,"px ").concat(l)}},setTextRenderingMode:function(t){this.current.textRenderingMode=t},setTextRise:function(t){this.current.textRise=t},moveText:function(t,e){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=e},setLeadingMoveText:function(t,e){this.setLeading(-e),this.moveText(t,e)},setTextMatrix:function(t,e,n,r,i,o){this.current.textMatrix=[t,e,n,r,i,o],this.current.textMatrixScale=Math.sqrt(t*t+e*e),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(t,e,n,i){var o,a=this.ctx,s=this.current,l=s.font,u=s.textRenderingMode,c=s.fontSize/s.fontSizeScale,h=u&r.TextRenderingMode.FILL_STROKE_MASK,f=!!(u&r.TextRenderingMode.ADD_TO_PATH_FLAG),d=s.patternFill&&!l.missingFile;(l.disableFontFace||f||d)&&(o=l.getPathGenerator(this.commonObjs,t)),l.disableFontFace||d?(a.save(),a.translate(e,n),a.beginPath(),o(a,c),i&&a.setTransform.apply(a,i),h!==r.TextRenderingMode.FILL&&h!==r.TextRenderingMode.FILL_STROKE||a.fill(),h!==r.TextRenderingMode.STROKE&&h!==r.TextRenderingMode.FILL_STROKE||a.stroke(),a.restore()):(h!==r.TextRenderingMode.FILL&&h!==r.TextRenderingMode.FILL_STROKE||a.fillText(t,e,n),h!==r.TextRenderingMode.STROKE&&h!==r.TextRenderingMode.FILL_STROKE||a.strokeText(t,e,n)),f&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:a.mozCurrentTransform,x:e,y:n,fontSize:c,addToPath:o})},get isFontSubpixelAAEnabled(){var t=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;t.scale(1.5,1),t.fillText("I",0,10);for(var e=t.getImageData(0,0,10,10).data,n=!1,i=3;i<e.length;i+=4)if(e[i]>0&&e[i]<255){n=!0;break}return(0,r.shadow)(this,"isFontSubpixelAAEnabled",n)},showText:function(t){var e=this.current,n=e.font;if(n.isType3Font)return this.showType3Text(t);var i=e.fontSize;if(0!==i){var o,a=this.ctx,s=e.fontSizeScale,l=e.charSpacing,u=e.wordSpacing,c=e.fontDirection,h=e.textHScale*c,f=t.length,d=n.vertical,p=d?1:-1,v=n.defaultVMetrics,g=i*e.fontMatrix[0],m=e.textRenderingMode===r.TextRenderingMode.FILL&&!n.disableFontFace&&!e.patternFill;if(a.save(),e.patternFill){a.save();var y=e.fillColor.getPattern(a,this);o=a.mozCurrentTransform,a.restore(),a.fillStyle=y}a.transform.apply(a,e.textMatrix),a.translate(e.x,e.y+e.textRise),c>0?a.scale(h,-1):a.scale(h,1);var b=e.lineWidth,C=e.textMatrixScale;if(0===C||0===b){var w=e.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;w!==r.TextRenderingMode.STROKE&&w!==r.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,b=.65*this.getSinglePixelWidth())}else b/=C;1!==s&&(a.scale(s,s),b/=s),a.lineWidth=b;var _,x=0;for(_=0;_<f;++_){var A=t[_];if((0,r.isNum)(A))x+=p*A*i/1e3;else{var S,k,P,L,T,O,E,F=!1,R=(A.isSpace?u:0)+l,I=A.fontChar,M=A.accent,D=A.width;if(d?(T=A.vmetric||v,O=-(O=A.vmetric?T[1]:.5*D)*g,E=T[2]*g,D=T?-T[0]:D,S=O/s,k=(x+E)/s):(S=x/s,k=0),n.remeasure&&D>0){var B=1e3*a.measureText(I).width/i*s;if(D<B&&this.isFontSubpixelAAEnabled){var N=D/B;F=!0,a.save(),a.scale(N,1),S/=N}else D!==B&&(S+=(D-B)/2e3*i/s)}(A.isInFont||n.missingFile)&&(m&&!M?a.fillText(I,S,k):(this.paintChar(I,S,k,o),M&&(P=S+M.offset.x/s,L=k-M.offset.y/s,this.paintChar(M.fontChar,P,L,o)))),x+=d?D*g-R*c:D*g+R*c,F&&a.restore()}}d?e.y-=x:e.x+=x*h,a.restore()}},showType3Text:function(t){var e,n,i,o,a=this.ctx,s=this.current,l=s.font,u=s.fontSize,c=s.fontDirection,h=l.vertical?1:-1,f=s.charSpacing,d=s.wordSpacing,p=s.textHScale*c,v=s.fontMatrix||r.FONT_IDENTITY_MATRIX,g=t.length;if(s.textRenderingMode!==r.TextRenderingMode.INVISIBLE&&0!==u){for(this._cachedGetSinglePixelWidth=null,a.save(),a.transform.apply(a,s.textMatrix),a.translate(s.x,s.y),a.scale(p,c),e=0;e<g;++e)if(n=t[e],(0,r.isNum)(n))o=h*n*u/1e3,this.ctx.translate(o,0),s.x+=o*p;else{var m=(n.isSpace?d:0)+f,y=l.charProcOperatorList[n.operatorListId];y?(this.processingType3=n,this.save(),a.scale(u,u),a.transform.apply(a,v),this.executeOperatorList(y),this.restore(),i=r.Util.applyTransform([n.width,0],v)[0]*u+m,a.translate(i,0),s.x+=i*p):(0,r.warn)('Type3 character "'.concat(n.operatorListId,'" is not available.'))}a.restore(),this.processingType3=null}},setCharWidth:function(t,e){},setCharWidthAndBounds:function(t,e,n,r,i,o){this.ctx.rect(n,r,i-n,o-r),this.clip(),this.endPath()},getColorN_Pattern:function(e){var n,r=this;if("TilingPattern"===e[0]){var o=e[1],a=this.baseTransform||this.ctx.mozCurrentTransform.slice(),s={createCanvasGraphics:function(e){return new t(e,r.commonObjs,r.objs,r.canvasFactory,r.webGLContext)}};n=new i.TilingPattern(e,o,this.ctx,s,a)}else n=(0,i.getShadingPatternFromIR)(e);return n},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(t,e,n){var i=r.Util.makeCssRgb(t,e,n);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(t,e,n){var i=r.Util.makeCssRgb(t,e,n);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(t){var e=this.ctx;this.save();var n=(0,i.getShadingPatternFromIR)(t);e.fillStyle=n.getPattern(e,this,!0);var o=e.mozCurrentTransformInverse;if(o){var a=e.canvas,s=a.width,l=a.height,u=r.Util.applyTransform([0,0],o),c=r.Util.applyTransform([0,l],o),h=r.Util.applyTransform([s,0],o),f=r.Util.applyTransform([s,l],o),d=Math.min(u[0],c[0],h[0],f[0]),p=Math.min(u[1],c[1],h[1],f[1]),v=Math.max(u[0],c[0],h[0],f[0]),g=Math.max(u[1],c[1],h[1],f[1]);this.ctx.fillRect(d,p,v-d,g-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,r.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,r.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(t,e){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(t)&&6===t.length&&this.transform.apply(this,t),this.baseTransform=this.ctx.mozCurrentTransform,e){var n=e[2]-e[0],r=e[3]-e[1];this.ctx.rect(e[0],e[1],n,r),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(t){this.save();var e=this.ctx;t.isolated||(0,r.info)("TODO: Support non-isolated groups."),t.knockout&&(0,r.warn)("Knockout groups not supported.");var n=e.mozCurrentTransform;if(t.matrix&&e.transform.apply(e,t.matrix),!t.bbox)throw new Error("Bounding box is required.");var i=r.Util.getAxialAlignedBoundingBox(t.bbox,e.mozCurrentTransform),o=[0,0,e.canvas.width,e.canvas.height];i=r.Util.intersect(i,o)||[0,0,0,0];var s=Math.floor(i[0]),l=Math.floor(i[1]),u=Math.max(Math.ceil(i[2])-s,1),c=Math.max(Math.ceil(i[3])-l,1),h=1,f=1;u>4096&&(h=u/4096,u=4096),c>4096&&(f=c/4096,c=4096);var d="groupAt"+this.groupLevel;t.smask&&(d+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(d,u,c,!0),v=p.context;v.scale(1/h,1/f),v.translate(-s,-l),v.transform.apply(v,n),t.smask?this.smaskStack.push({canvas:p.canvas,context:v,offsetX:s,offsetY:l,scaleX:h,scaleY:f,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(e.setTransform(1,0,0,1,0,0),e.translate(s,l),e.scale(h,f)),a(e,v),this.ctx=v,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(e),this.groupLevel++,this.current.activeSMask=null},endGroup:function(t){this.groupLevel--;var e=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,t.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(e.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(t,e,n){if(this.save(),c(this.ctx),this.current=new u,Array.isArray(t)&&4===t.length){var r=t[2]-t[0],i=t[3]-t[1];this.ctx.rect(t[0],t[1],r,i),this.clip(),this.endPath()}this.transform.apply(this,e),this.transform.apply(this,n)},endAnnotation:function(){this.restore()},paintImageMaskXObject:function(t){var e=this.ctx,r=t.width,i=t.height,o=this.current.fillColor,a=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(s.compiled=r<=1e3&&i<=1e3?function(t){var e,n,r,i,o=t.width,a=t.height,s=o+1,l=new Uint8Array(s*(a+1)),u=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),c=o+7&-8,h=t.data,f=new Uint8Array(c*a),d=0;for(e=0,i=h.length;e<i;e++)for(var p=128,v=h[e];p>0;)f[d++]=v&p?0:255,p>>=1;var g=0;for(0!==f[d=0]&&(l[0]=1,++g),n=1;n<o;n++)f[d]!==f[d+1]&&(l[n]=f[d]?2:1,++g),d++;for(0!==f[d]&&(l[n]=2,++g),e=1;e<a;e++){r=e*s,f[(d=e*c)-c]!==f[d]&&(l[r]=f[d]?1:8,++g);var m=(f[d]?4:0)+(f[d-c]?8:0);for(n=1;n<o;n++)u[m=(m>>2)+(f[d+1]?4:0)+(f[d-c+1]?8:0)]&&(l[r+n]=u[m],++g),d++;if(f[d-c]!==f[d]&&(l[r+n]=f[d]?2:4,++g),g>1e3)return null}for(r=e*s,0!==f[d=c*(a-1)]&&(l[r]=8,++g),n=1;n<o;n++)f[d]!==f[d+1]&&(l[r+n]=f[d]?4:8,++g),d++;if(0!==f[d]&&(l[r+n]=4,++g),g>1e3)return null;var y=new Int32Array([0,s,-1,0,-s,0,0,0,1]),b=[];for(e=0;g&&e<=a;e++){for(var C=e*s,w=C+o;C<w&&!l[C];)C++;if(C!==w){var _,x=[C%s,e],A=l[C],S=C;do{var k=y[A];do{C+=k}while(!l[C]);5!==(_=l[C])&&10!==_?(A=_,l[C]=0):(A=_&51*A>>4,l[C]&=A>>2|A<<2),x.push(C%s),x.push(C/s|0),l[C]||--g}while(S!==C);b.push(x),--e}}return function(t){t.save(),t.scale(1/o,-1/a),t.translate(0,-a),t.beginPath();for(var e=0,n=b.length;e<n;e++){var r=b[e];t.moveTo(r[0],r[1]);for(var i=2,s=r.length;i<s;i+=2)t.lineTo(r[i],r[i+1])}t.fill(),t.beginPath(),t.restore()}}({data:t.data,width:r,height:i}):null),s&&s.compiled)s.compiled(e);else{var l=this.cachedCanvases.getCanvas("maskCanvas",r,i),u=l.context;u.save(),n(u,t),u.globalCompositeOperation="source-in",u.fillStyle=a?o.getPattern(u,this):o,u.fillRect(0,0,r,i),u.restore(),this.paintInlineImageXObject(l.canvas)}},paintImageMaskXObjectRepeat:function(t,e,r,i){var o=t.width,a=t.height,s=this.current.fillColor,l=this.current.patternFill,u=this.cachedCanvases.getCanvas("maskCanvas",o,a),c=u.context;c.save(),n(c,t),c.globalCompositeOperation="source-in",c.fillStyle=l?s.getPattern(c,this):s,c.fillRect(0,0,o,a),c.restore();for(var h=this.ctx,f=0,d=i.length;f<d;f+=2)h.save(),h.transform(e,0,0,r,i[f],i[f+1]),h.scale(1,-1),h.drawImage(u.canvas,0,0,o,a,0,-1,1,1),h.restore()},paintImageMaskXObjectGroup:function(t){for(var e=this.ctx,r=this.current.fillColor,i=this.current.patternFill,o=0,a=t.length;o<a;o++){var s=t[o],l=s.width,u=s.height,c=this.cachedCanvases.getCanvas("maskCanvas",l,u),h=c.context;h.save(),n(h,s),h.globalCompositeOperation="source-in",h.fillStyle=i?r.getPattern(h,this):r,h.fillRect(0,0,l,u),h.restore(),e.save(),e.transform.apply(e,s.transform),e.scale(1,-1),e.drawImage(c.canvas,0,0,l,u,0,-1,1,1),e.restore()}},paintImageXObject:function(t){var e=t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t);e?this.paintInlineImageXObject(e):(0,r.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(t,e,n,i){var o=t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t);if(o){for(var a=o.width,s=o.height,l=[],u=0,c=i.length;u<c;u+=2)l.push({transform:[e,0,0,n,i[u],i[u+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(o,l)}else(0,r.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function(t){var n=t.width,r=t.height,i=this.ctx;this.save(),i.scale(1/n,-1/r);var o,a,s=i.mozCurrentTransformInverse,l=s[0],u=s[1],c=Math.max(Math.sqrt(l*l+u*u),1),h=s[2],f=s[3],d=Math.max(Math.sqrt(h*h+f*f),1);if("function"==typeof HTMLElement&&t instanceof HTMLElement||!t.data)o=t;else{var p=(a=this.cachedCanvases.getCanvas("inlineImage",n,r)).context;e(p,t),o=a.canvas}for(var v=n,g=r,m="prescale1";c>2&&v>1||d>2&&g>1;){var y=v,b=g;c>2&&v>1&&(c/=v/(y=Math.ceil(v/2))),d>2&&g>1&&(d/=g/(b=Math.ceil(g/2))),(p=(a=this.cachedCanvases.getCanvas(m,y,b)).context).clearRect(0,0,y,b),p.drawImage(o,0,0,v,g,0,0,y,b),o=a.canvas,v=y,g=b,m="prescale1"===m?"prescale2":"prescale1"}if(i.drawImage(o,0,0,v,g,0,-r,n,r),this.imageLayer){var C=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:t,left:C[0],top:C[1],width:n/s[0],height:r/s[3]})}this.restore()},paintInlineImageXObjectGroup:function(t,n){var r=this.ctx,i=t.width,o=t.height,a=this.cachedCanvases.getCanvas("inlineImage",i,o);e(a.context,t);for(var s=0,l=n.length;s<l;s++){var u=n[s];if(r.save(),r.transform.apply(r,u.transform),r.scale(1,-1),r.drawImage(a.canvas,u.x,u.y,u.w,u.h,0,-1,1,1),this.imageLayer){var c=this.getCanvasPosition(u.x,u.y);this.imageLayer.appendImage({imgData:t,left:c[0],top:c[1],width:i,height:o})}r.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,r.warn)("Unsupported 'paintXObject' command.")},markPoint:function(t){},markPointProps:function(t,e){},beginMarkedContent:function(t){},beginMarkedContentProps:function(t,e){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var t=this.ctx;this.pendingClip&&(this.pendingClip===y?t.clip("evenodd"):t.clip(),this.pendingClip=null),t.beginPath()},getSinglePixelWidth:function(t){if(null===this._cachedGetSinglePixelWidth){var e=this.ctx.mozCurrentTransformInverse;this._cachedGetSinglePixelWidth=Math.sqrt(Math.max(e[0]*e[0]+e[1]*e[1],e[2]*e[2]+e[3]*e[3]))}return this._cachedGetSinglePixelWidth},getCanvasPosition:function(t,e){var n=this.ctx.mozCurrentTransform;return[n[0]*t+n[2]*e+n[4],n[1]*t+n[3]*e+n[5]]}},r.OPS)t.prototype[r.OPS[b]]=t.prototype[b];return t}();e.CanvasGraphics=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShadingPatternFromIR=function(t){var e=i[t[0]];if(!e)throw new Error("Unknown IR type: ".concat(t[0]));return e.fromIR(t)},e.TilingPattern=void 0;var r=n(5),i={};function o(t,e){if(e&&"undefined"!=typeof Path2D){var n=e[2]-e[0],r=e[3]-e[1],i=new Path2D;i.rect(e[0],e[1],n,r),t.clip(i)}}i.RadialAxial={fromIR:function(t){var e=t[1],n=t[2],r=t[3],i=t[4],a=t[5],s=t[6],l=t[7];return{type:"Pattern",getPattern:function(t){var u;o(t,n),"axial"===e?u=t.createLinearGradient(i[0],i[1],a[0],a[1]):"radial"===e&&(u=t.createRadialGradient(i[0],i[1],s,a[0],a[1],l));for(var c=0,h=r.length;c<h;++c){var f=r[c];u.addColorStop(f[0],f[1])}return u}}}};var a=function(){function t(t,e,n,r,i,o,a,s){var l,u=e.coords,c=e.colors,h=t.data,f=4*t.width;u[n+1]>u[r+1]&&(l=n,n=r,r=l,l=o,o=a,a=l),u[r+1]>u[i+1]&&(l=r,r=i,i=l,l=a,a=s,s=l),u[n+1]>u[r+1]&&(l=n,n=r,r=l,l=o,o=a,a=l);var d=(u[n]+e.offsetX)*e.scaleX,p=(u[n+1]+e.offsetY)*e.scaleY,v=(u[r]+e.offsetX)*e.scaleX,g=(u[r+1]+e.offsetY)*e.scaleY,m=(u[i]+e.offsetX)*e.scaleX,y=(u[i+1]+e.offsetY)*e.scaleY;if(!(p>=y))for(var b,C,w,_,x,A,S,k,P=c[o],L=c[o+1],T=c[o+2],O=c[a],E=c[a+1],F=c[a+2],R=c[s],I=c[s+1],M=c[s+2],D=Math.round(p),B=Math.round(y),N=D;N<=B;N++){if(N<g){var j=void 0;b=d-(d-v)*(j=N<p?0:p===g?1:(p-N)/(p-g)),C=P-(P-O)*j,w=L-(L-E)*j,_=T-(T-F)*j}else{var z=void 0;b=v-(v-m)*(z=N>y?1:g===y?0:(g-N)/(g-y)),C=O-(O-R)*z,w=E-(E-I)*z,_=F-(F-M)*z}var H=void 0;x=d-(d-m)*(H=N<p?0:N>y?1:(p-N)/(p-y)),A=P-(P-R)*H,S=L-(L-I)*H,k=T-(T-M)*H;for(var U=Math.round(Math.min(b,x)),V=Math.round(Math.max(b,x)),W=f*N+4*U,$=U;$<=V;$++)(H=(b-$)/(b-x))<0?H=0:H>1&&(H=1),h[W++]=C-(C-A)*H|0,h[W++]=w-(w-S)*H|0,h[W++]=_-(_-k)*H|0,h[W++]=255}}function e(e,n,r){var i,o,a=n.coords,s=n.colors;switch(n.type){case"lattice":var l=n.verticesPerRow,u=Math.floor(a.length/l)-1,c=l-1;for(i=0;i<u;i++)for(var h=i*l,f=0;f<c;f++,h++)t(e,r,a[h],a[h+1],a[h+l],s[h],s[h+1],s[h+l]),t(e,r,a[h+l+1],a[h+1],a[h+l],s[h+l+1],s[h+1],s[h+l]);break;case"triangles":for(i=0,o=a.length;i<o;i+=3)t(e,r,a[i],a[i+1],a[i+2],s[i],s[i+1],s[i+2]);break;default:throw new Error("illegal figure")}}return function(t,n,r,i,o,a,s,l){var u,c,h,f,d=Math.floor(t[0]),p=Math.floor(t[1]),v=Math.ceil(t[2])-d,g=Math.ceil(t[3])-p,m=Math.min(Math.ceil(Math.abs(v*n[0]*1.1)),3e3),y=Math.min(Math.ceil(Math.abs(g*n[1]*1.1)),3e3),b=v/m,C=g/y,w={coords:r,colors:i,offsetX:-d,offsetY:-p,scaleX:1/b,scaleY:1/C},_=m+4,x=y+4;if(l.isEnabled)u=l.drawFigures({width:m,height:y,backgroundColor:a,figures:o,context:w}),(c=s.getCanvas("mesh",_,x,!1)).context.drawImage(u,2,2),u=c.canvas;else{var A=(c=s.getCanvas("mesh",_,x,!1)).context,S=A.createImageData(m,y);if(a){var k=S.data;for(h=0,f=k.length;h<f;h+=4)k[h]=a[0],k[h+1]=a[1],k[h+2]=a[2],k[h+3]=255}for(h=0;h<o.length;h++)e(S,o[h],w);A.putImageData(S,2,2),u=c.canvas}return{canvas:u,offsetX:d-2*b,offsetY:p-2*C,scaleX:b,scaleY:C}}}();i.Mesh={fromIR:function(t){var e=t[2],n=t[3],i=t[4],s=t[5],l=t[6],u=t[7],c=t[8];return{type:"Pattern",getPattern:function(t,h,f){var d;if(o(t,u),f)d=r.Util.singularValueDecompose2dScale(t.mozCurrentTransform);else if(d=r.Util.singularValueDecompose2dScale(h.baseTransform),l){var p=r.Util.singularValueDecompose2dScale(l);d=[d[0]*p[0],d[1]*p[1]]}var v=a(s,d,e,n,i,f?null:c,h.cachedCanvases,h.webGLContext);return f||(t.setTransform.apply(t,h.baseTransform),l&&t.transform.apply(t,l)),t.translate(v.offsetX,v.offsetY),t.scale(v.scaleX,v.scaleY),t.createPattern(v.canvas,"no-repeat")}}}},i.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var s=function(){var t=1,e=2;function n(t,e,n,r,i){this.operatorList=t[2],this.matrix=t[3]||[1,0,0,1,0,0],this.bbox=t[4],this.xstep=t[5],this.ystep=t[6],this.paintType=t[7],this.tilingType=t[8],this.color=e,this.canvasGraphicsFactory=r,this.baseTransform=i,this.type="Pattern",this.ctx=n}return n.prototype={createPatternCanvas:function(t){var e=this.operatorList,n=this.bbox,i=this.xstep,o=this.ystep,a=this.paintType,s=this.tilingType,l=this.color,u=this.canvasGraphicsFactory;(0,r.info)("TilingType: "+s);var c=n[0],h=n[1],f=n[2],d=n[3],p=r.Util.singularValueDecompose2dScale(this.matrix),v=r.Util.singularValueDecompose2dScale(this.baseTransform),g=[p[0]*v[0],p[1]*v[1]],m=this.getSizeAndScale(i,this.ctx.canvas.width,g[0]),y=this.getSizeAndScale(o,this.ctx.canvas.height,g[1]),b=t.cachedCanvases.getCanvas("pattern",m.size,y.size,!0),C=b.context,w=u.createCanvasGraphics(C);return w.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(w,a,l),w.transform(m.scale,0,0,y.scale,0,0),w.transform(1,0,0,1,-c,-h),this.clipBbox(w,n,c,h,f,d),w.executeOperatorList(e),this.ctx.transform(1,0,0,1,c,h),this.ctx.scale(1/m.scale,1/y.scale),b.canvas},getSizeAndScale:function(t,e,n){t=Math.abs(t);var r=Math.max(3e3,e),i=Math.ceil(t*n);return i>=r?i=r:n=i/t,{scale:n,size:i}},clipBbox:function(t,e,n,r,i,o){if(Array.isArray(e)&&4===e.length){var a=i-n,s=o-r;t.ctx.rect(n,r,a,s),t.clip(),t.endPath()}},setFillAndStrokeStyleToContext:function(n,i,o){var a=n.ctx,s=n.current;switch(i){case t:var l=this.ctx;a.fillStyle=l.fillStyle,a.strokeStyle=l.strokeStyle,s.fillColor=l.fillStyle,s.strokeColor=l.strokeStyle;break;case e:var u=r.Util.makeCssRgb(o[0],o[1],o[2]);a.fillStyle=u,a.strokeStyle=u,s.fillColor=u,s.strokeColor=u;break;default:throw new r.FormatError("Unsupported paint type: ".concat(i))}},getPattern:function(t,e){(t=this.ctx).setTransform.apply(t,this.baseTransform),t.transform.apply(t,this.matrix);var n=this.createPatternCanvas(e);return t.createPattern(n,"repeat")}},n}();e.TilingPattern=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalWorkerOptions=void 0;var r=Object.create(null);e.GlobalWorkerOptions=r,r.workerPort=void 0===r.workerPort?null:r.workerPort,r.workerSrc=void 0===r.workerSrc?"":r.workerSrc},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MessageHandler=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u=1,c=2,h=1,f=2,d=3,p=4,v=5,g=6,m=7,y=8;function b(t){if("object"!==l(t)||null===t)return t;switch(t.name){case"AbortException":return new o.AbortException(t.message);case"MissingPDFException":return new o.MissingPDFException(t.message);case"UnexpectedResponseException":return new o.UnexpectedResponseException(t.message,t.status);case"UnknownErrorException":return new o.UnknownErrorException(t.message,t.details);default:return new o.UnknownErrorException(t.message,t.toString())}}var C=function(){function t(e,n,r){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.sourceName=e,this.targetName=n,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(t){var e=t.data;if(e.targetName===i.sourceName)if(e.stream)i._processStreamMessage(e);else if(e.callback){var n=e.callbackId,o=i.callbackCapabilities[n];if(!o)throw new Error("Cannot resolve callback ".concat(n));if(delete i.callbackCapabilities[n],e.callback===u)o.resolve(e.data);else{if(e.callback!==c)throw new Error("Unexpected callback case");o.reject(b(e.reason))}}else{var a=i.actionHandler[e.action];if(!a)throw new Error("Unknown action from worker: ".concat(e.action));if(e.callbackId){var s=i.sourceName,l=e.sourceName;new Promise((function(t){t(a(e.data))})).then((function(t){r.postMessage({sourceName:s,targetName:l,callback:u,callbackId:e.callbackId,data:t})}),(function(t){r.postMessage({sourceName:s,targetName:l,callback:c,callbackId:e.callbackId,reason:b(t)})}))}else e.streamId?i._createStreamSink(e):a(e.data)}},r.addEventListener("message",this._onComObjOnMessage)}var e,n,r,l,C;return e=t,(n=[{key:"on",value:function(t,e){var n=this.actionHandler;if(n[t])throw new Error('There is already an actionName called "'.concat(t,'"'));n[t]=e}},{key:"send",value:function(t,e,n){this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},n)}},{key:"sendWithPromise",value:function(t,e,n){var r=this.callbackId++,i=(0,o.createPromiseCapability)();this.callbackCapabilities[r]=i;try{this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:r,data:e},n)}catch(t){i.reject(t)}return i.promise}},{key:"sendWithStream",value:function(t,e,n,r){var i=this,a=this.streamId++,s=this.sourceName,l=this.targetName,u=this.comObj;return new ReadableStream({start:function(n){var u=(0,o.createPromiseCapability)();return i.streamControllers[a]={controller:n,startCall:u,pullCall:null,cancelCall:null,isClosed:!1},i._postMessage({sourceName:s,targetName:l,action:t,streamId:a,data:e,desiredSize:n.desiredSize},r),u.promise},pull:function(t){var e=(0,o.createPromiseCapability)();return i.streamControllers[a].pullCall=e,u.postMessage({sourceName:s,targetName:l,stream:g,streamId:a,desiredSize:t.desiredSize}),e.promise},cancel:function(t){(0,o.assert)(t instanceof Error,"cancel must have a valid reason");var e=(0,o.createPromiseCapability)();return i.streamControllers[a].cancelCall=e,i.streamControllers[a].isClosed=!0,u.postMessage({sourceName:s,targetName:l,stream:h,streamId:a,reason:b(t)}),e.promise}},n)}},{key:"_createStreamSink",value:function(t){var e=this,n=this.actionHandler[t.action],r=t.streamId,i=this.sourceName,a=t.sourceName,s=this.comObj,l={enqueue:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var l=this.desiredSize;this.desiredSize-=n,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,o.createPromiseCapability)(),this.ready=this.sinkCapability.promise),e._postMessage({sourceName:i,targetName:a,stream:p,streamId:r,chunk:t},s)}},close:function(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:a,stream:d,streamId:r}),delete e.streamSinks[r])},error:function(t){(0,o.assert)(t instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:a,stream:v,streamId:r,reason:b(t)}))},sinkCapability:(0,o.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[r]=l,new Promise((function(e){e(n(t.data,l))})).then((function(){s.postMessage({sourceName:i,targetName:a,stream:y,streamId:r,success:!0})}),(function(t){s.postMessage({sourceName:i,targetName:a,stream:y,streamId:r,reason:b(t)})}))}},{key:"_processStreamMessage",value:function(t){var e=t.streamId,n=this.sourceName,r=t.sourceName,i=this.comObj;switch(t.stream){case y:t.success?this.streamControllers[e].startCall.resolve():this.streamControllers[e].startCall.reject(b(t.reason));break;case m:t.success?this.streamControllers[e].pullCall.resolve():this.streamControllers[e].pullCall.reject(b(t.reason));break;case g:if(!this.streamSinks[e]){i.postMessage({sourceName:n,targetName:r,stream:m,streamId:e,success:!0});break}this.streamSinks[e].desiredSize<=0&&t.desiredSize>0&&this.streamSinks[e].sinkCapability.resolve(),this.streamSinks[e].desiredSize=t.desiredSize;var a=this.streamSinks[t.streamId].onPull;new Promise((function(t){t(a&&a())})).then((function(){i.postMessage({sourceName:n,targetName:r,stream:m,streamId:e,success:!0})}),(function(t){i.postMessage({sourceName:n,targetName:r,stream:m,streamId:e,reason:b(t)})}));break;case p:if((0,o.assert)(this.streamControllers[e],"enqueue should have stream controller"),this.streamControllers[e].isClosed)break;this.streamControllers[e].controller.enqueue(t.chunk);break;case d:if((0,o.assert)(this.streamControllers[e],"close should have stream controller"),this.streamControllers[e].isClosed)break;this.streamControllers[e].isClosed=!0,this.streamControllers[e].controller.close(),this._deleteStreamController(e);break;case v:(0,o.assert)(this.streamControllers[e],"error should have stream controller"),this.streamControllers[e].controller.error(b(t.reason)),this._deleteStreamController(e);break;case f:t.success?this.streamControllers[e].cancelCall.resolve():this.streamControllers[e].cancelCall.reject(b(t.reason)),this._deleteStreamController(e);break;case h:if(!this.streamSinks[e])break;var s=this.streamSinks[t.streamId].onCancel;new Promise((function(e){e(s&&s(b(t.reason)))})).then((function(){i.postMessage({sourceName:n,targetName:r,stream:f,streamId:e,success:!0})}),(function(t){i.postMessage({sourceName:n,targetName:r,stream:f,streamId:e,reason:b(t)})})),this.streamSinks[e].sinkCapability.reject(b(t.reason)),this.streamSinks[e].isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:(l=i.default.mark((function t(e){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.allSettled([this.streamControllers[e].startCall,this.streamControllers[e].pullCall,this.streamControllers[e].cancelCall].map((function(t){return t&&t.promise})));case 2:delete this.streamControllers[e];case 3:case"end":return t.stop()}}),t,this)})),C=function(){var t=this,e=arguments;return new Promise((function(n,r){var i=l.apply(t,e);function o(t){a(i,n,r,o,s,"next",t)}function s(t){a(i,n,r,o,s,"throw",t)}o(void 0)}))},function(t){return C.apply(this,arguments)})},{key:"_postMessage",value:function(t,e){e&&this.postMessageTransfers?this.comObj.postMessage(t,e):this.comObj.postMessage(t)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])&&s(e.prototype,n),r&&s(e,r),t}();e.MessageHandler=C},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Metadata=void 0;var r=n(5),i=n(206);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||a(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(0,r.assert)("string"==typeof e,"Metadata: input is not a string"),e=this._repair(e);var n=(new i.SimpleXMLParser).parseFromString(e);this._metadataMap=new Map,n&&this._parse(n)}var e,n,s;return e=t,(n=[{key:"_repair",value:function(t){return t.replace(/^[^<]+/,"").replace(/>\\376\\377([^<]+)/g,(function(t,e){for(var n=e.replace(/\\([0-3])([0-7])([0-7])/g,(function(t,e,n,r){return String.fromCharCode(64*e+8*n+1*r)})).replace(/&(amp|apos|gt|lt|quot);/g,(function(t,e){switch(e){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(e," isn't defined."))})),r="",i=0,o=n.length;i<o;i+=2){var a=256*n.charCodeAt(i)+n.charCodeAt(i+1);r+=a>=32&&a<127&&60!==a&&62!==a&&38!==a?String.fromCharCode(a):"&#x"+(65536+a).toString(16).substring(1)+";"}return">"+r}))}},{key:"_parse",value:function(t){var e=t.documentElement;if("rdf:rdf"!==e.nodeName.toLowerCase())for(e=e.firstChild;e&&"rdf:rdf"!==e.nodeName.toLowerCase();)e=e.nextSibling;var n=e?e.nodeName.toLowerCase():null;if(e&&"rdf:rdf"===n&&e.hasChildNodes())for(var r=e.childNodes,i=0,o=r.length;i<o;i++){var a=r[i];if("rdf:description"===a.nodeName.toLowerCase())for(var s=0,l=a.childNodes.length;s<l;s++)if("#text"!==a.childNodes[s].nodeName.toLowerCase()){var u=a.childNodes[s],c=u.nodeName.toLowerCase();this._metadataMap.set(c,u.textContent.trim())}}}},{key:"get",value:function(t){return this._metadataMap.has(t)?this._metadataMap.get(t):null}},{key:"getAll",value:function(){var t,e=Object.create(null),n=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=a(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(this._metadataMap);try{for(n.s();!(t=n.n()).done;){var r=o(t.value,2),i=r[0],s=r[1];e[i]=s}}catch(t){n.e(t)}finally{n.f()}return e}},{key:"has",value:function(t){return this._metadataMap.has(t)}}])&&l(e.prototype,n),s&&l(e,s),t}();e.Metadata=u},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t,e,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c(t);if(e){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleXMLParser=void 0;var p=0,v=-2,g=-3,m=-4,y=-5,b=-6,C=-9;function w(t,e){var n=t[e];return" "===n||"\n"===n||"\r"===n||"\t"===n}var _=function(){function t(){h(this,t)}return d(t,[{key:"_resolveEntities",value:function(t){var e=this;return t.replace(/&([^;]+);/g,(function(t,n){if("#x"===n.substring(0,2))return String.fromCharCode(parseInt(n.substring(2),16));if("#"===n.substring(0,1))return String.fromCharCode(parseInt(n.substring(1),10));switch(n){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return e.onResolveEntity(n)}))}},{key:"_parseContent",value:function(t,e){var n=[],r=e;function i(){for(;r<t.length&&w(t,r);)++r}for(;r<t.length&&!w(t,r)&&">"!==t[r]&&"/"!==t[r];)++r;var o=t.substring(e,r);for(i();r<t.length&&">"!==t[r]&&"/"!==t[r]&&"?"!==t[r];){i();for(var a,s="";r<t.length&&!w(t,r)&&"="!==t[r];)s+=t[r],++r;if(i(),"="!==t[r])return null;++r,i();var l=t[r];if('"'!==l&&"'"!==l)return null;var u=t.indexOf(l,++r);if(u<0)return null;a=t.substring(r,u),n.push({name:s,value:this._resolveEntities(a)}),r=u+1,i()}return{name:o,attributes:n,parsed:r-e}}},{key:"_parseProcessingInstruction",value:function(t,e){for(var n=e;n<t.length&&!w(t,n)&&">"!==t[n]&&"/"!==t[n];)++n;var r=t.substring(e,n);!function(){for(;n<t.length&&w(t,n);)++n}();for(var i=n;n<t.length&&("?"!==t[n]||">"!==t[n+1]);)++n;return{name:r,value:t.substring(i,n),parsed:n-e}}},{key:"parseXml",value:function(t){for(var e=0;e<t.length;){var n=e;if("<"===t[e]){var r=void 0;switch(t[++n]){case"/":if(++n,(r=t.indexOf(">",n))<0)return void this.onError(C);this.onEndElement(t.substring(n,r)),n=r+1;break;case"?":++n;var i=this._parseProcessingInstruction(t,n);if("?>"!==t.substring(n+i.parsed,n+i.parsed+2))return void this.onError(g);this.onPi(i.name,i.value),n+=i.parsed+2;break;case"!":if("--"===t.substring(n+1,n+3)){if((r=t.indexOf("--\x3e",n+3))<0)return void this.onError(y);this.onComment(t.substring(n+3,r)),n=r+3}else if("[CDATA["===t.substring(n+1,n+8)){if((r=t.indexOf("]]>",n+8))<0)return void this.onError(v);this.onCdata(t.substring(n+8,r)),n=r+3}else{if("DOCTYPE"!==t.substring(n+1,n+8))return void this.onError(b);var o=t.indexOf("[",n+8),a=!1;if((r=t.indexOf(">",n+8))<0)return void this.onError(m);if(o>0&&r>o){if((r=t.indexOf("]>",n+8))<0)return void this.onError(m);a=!0}var s=t.substring(n+8,r+(a?1:0));this.onDoctype(s),n=r+(a?2:1)}break;default:var l=this._parseContent(t,n);if(null===l)return void this.onError(b);var u=!1;if("/>"===t.substring(n+l.parsed,n+l.parsed+2))u=!0;else if(">"!==t.substring(n+l.parsed,n+l.parsed+1))return void this.onError(C);this.onBeginElement(l.name,l.attributes,u),n+=l.parsed+(u?2:1)}}else{for(;n<t.length&&"<"!==t[n];)n++;var c=t.substring(e,n);this.onText(this._resolveEntities(c))}e=n}}},{key:"onResolveEntity",value:function(t){return"&".concat(t,";")}},{key:"onPi",value:function(t,e){}},{key:"onComment",value:function(t){}},{key:"onCdata",value:function(t){}},{key:"onDoctype",value:function(t){}},{key:"onText",value:function(t){}},{key:"onBeginElement",value:function(t,e,n){}},{key:"onEndElement",value:function(t){}},{key:"onError",value:function(t){}}]),t}(),x=function(){function t(e,n){h(this,t),this.nodeName=e,this.nodeValue=n,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return d(t,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var t=this.parentNode.childNodes;if(t){var e=t.indexOf(this);if(-1!==e)return t[e+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(t){return t.textContent})).join(""):this.nodeValue||""}}]),t}(),A=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(n,t);var e=l(n);function n(){var t;return h(this,n),(t=e.call(this))._currentFragment=null,t._stack=null,t._errorCode=p,t}return d(n,[{key:"parseFromString",value:function(t){if(this._currentFragment=[],this._stack=[],this._errorCode=p,this.parseXml(t),this._errorCode===p){var e=i(this._currentFragment,1)[0];if(e)return{documentElement:e}}}},{key:"onResolveEntity",value:function(t){switch(t){case"apos":return"'"}return a(c(n.prototype),"onResolveEntity",this).call(this,t)}},{key:"onText",value:function(t){if(!function(t){for(var e=0,n=t.length;e<n;e++)if(!w(t,e))return!1;return!0}(t)){var e=new x("#text",t);this._currentFragment.push(e)}}},{key:"onCdata",value:function(t){var e=new x("#text",t);this._currentFragment.push(e)}},{key:"onBeginElement",value:function(t,e,n){var r=new x(t);r.childNodes=[],this._currentFragment.push(r),n||(this._stack.push(this._currentFragment),this._currentFragment=r.childNodes)}},{key:"onEndElement",value:function(t){this._currentFragment=this._stack.pop()||[];var e=this._currentFragment[this._currentFragment.length-1];if(e)for(var n=0,r=e.childNodes.length;n<r;n++)e.childNodes[n].parentNode=e}},{key:"onError",value:function(t){this._errorCode=t}}]),n}(_);e.SimpleXMLParser=A},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PDFDataTransportStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,l,"next",t)}function l(t){a(o,r,i,s,l,"throw",t)}s(void 0)}))}}function l(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}var d=function(){function t(e,n){var r=this;c(this,t),(0,o.assert)(n,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=e.progressiveDone||!1;var i=e.initialData;if(i&&i.length>0){var a=new Uint8Array(i).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=n,this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._contentLength=e.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(t,e){r._onReceiveData({begin:t,chunk:e})})),this._pdfDataRangeTransport.addProgressListener((function(t,e){r._onProgress({loaded:t,total:e})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(t){r._onReceiveData({chunk:t})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){r._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return f(t,[{key:"_onReceiveData",value:function(t){var e=new Uint8Array(t.chunk).buffer;if(void 0===t.begin)this._fullRequestReader?this._fullRequestReader._enqueue(e):this._queuedChunks.push(e);else{var n=this._rangeReaders.some((function(n){return n._begin===t.begin&&(n._enqueue(e),!0)}));(0,o.assert)(n,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}},{key:"_onProgress",value:function(t){if(void 0===t.total){var e=this._rangeReaders[0];e&&e.onProgress&&e.onProgress({loaded:t.loaded})}else{var n=this._fullRequestReader;n&&n.onProgress&&n.onProgress({loaded:t.loaded,total:t.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(t){var e=this._rangeReaders.indexOf(t);e>=0&&this._rangeReaders.splice(e,1)}},{key:"getFullReader",value:function(){(0,o.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");var t=this._queuedChunks;return this._queuedChunks=null,new p(this,t,this._progressiveDone)}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var n=new v(this,t,e);return this._pdfDataRangeTransport.requestDataRange(t,e),this._rangeReaders.push(n),n}},{key:"cancelAllRequests",value:function(t){this._fullRequestReader&&this._fullRequestReader.cancel(t),this._rangeReaders.slice(0).forEach((function(e){e.cancel(t)})),this._pdfDataRangeTransport.abort()}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),t}();e.PDFDataTransportStream=d;var p=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,t),this._stream=e,this._done=r||!1,this._filename=null,this._queuedChunks=n||[],this._loaded=0;var i,o=l(this._queuedChunks);try{for(o.s();!(i=o.n()).done;){var a=i.value;this._loaded+=a.byteLength}}catch(t){o.e(t)}finally{o.f()}this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}var e;return f(t,[{key:"_enqueue",value:function(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}},{key:"read",value:(e=s(i.default.mark((function t(){var e,n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this._queuedChunks.length>0)){t.next=3;break}return e=this._queuedChunks.shift(),t.abrupt("return",{value:e,done:!1});case 3:if(!this._done){t.next=5;break}return t.abrupt("return",{value:void 0,done:!0});case 5:return n=(0,o.createPromiseCapability)(),this._requests.push(n),t.abrupt("return",n.promise);case 8:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0,this._requests.forEach((function(t){t.resolve({value:void 0,done:!0})})),this._requests=[]}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}}]),t}(),v=function(){function t(e,n,r){c(this,t),this._stream=e,this._begin=n,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}var e;return f(t,[{key:"_enqueue",value:function(t){this._done||(0===this._requests.length?this._queuedChunk=t:(this._requests.shift().resolve({value:t,done:!1}),this._requests.forEach((function(t){t.resolve({value:void 0,done:!0})})),this._requests=[]),this._done=!0,this._stream._removeRangeReader(this))}},{key:"read",value:(e=s(i.default.mark((function t(){var e,n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._queuedChunk){t.next=4;break}return e=this._queuedChunk,this._queuedChunk=null,t.abrupt("return",{value:e,done:!1});case 4:if(!this._done){t.next=6;break}return t.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,o.createPromiseCapability)(),this._requests.push(n),t.abrupt("return",n.promise);case 9:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0,this._requests.forEach((function(t){t.resolve({value:void 0,done:!0})})),this._requests=[],this._stream._removeRangeReader(this)}},{key:"isStreamingSupported",get:function(){return!1}}]),t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebGLContext=void 0;var r=n(5);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=function(){function t(e){var n=e.enable,r=void 0!==n&&n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._enabled=!0===r}var e,n,o;return e=t,(n=[{key:"composeSMask",value:function(t){var e=t.layer,n=t.mask,r=t.properties;return a.composeSMask(e,n,r)}},{key:"drawFigures",value:function(t){var e=t.width,n=t.height,r=t.backgroundColor,i=t.figures,o=t.context;return a.drawFigures(e,n,r,i,o)}},{key:"clear",value:function(){a.cleanup()}},{key:"isEnabled",get:function(){var t=this._enabled;return t&&(t=a.tryInitGL()),(0,r.shadow)(this,"isEnabled",t)}}])&&i(e.prototype,n),o&&i(e,o),t}();e.WebGLContext=o;var a=function(){function t(t,e,n){var r=t.createShader(n);if(t.shaderSource(r,e),t.compileShader(r),!t.getShaderParameter(r,t.COMPILE_STATUS)){var i=t.getShaderInfoLog(r);throw new Error("Error during shader compilation: "+i)}return r}function e(e,n){return t(e,n,e.VERTEX_SHADER)}function n(e,n){return t(e,n,e.FRAGMENT_SHADER)}function r(t,e){for(var n=t.createProgram(),r=0,i=e.length;r<i;++r)t.attachShader(n,e[r]);if(t.linkProgram(n),!t.getProgramParameter(n,t.LINK_STATUS)){var o=t.getProgramInfoLog(n);throw new Error("Error during program linking: "+o)}return n}function i(t,e,n){t.activeTexture(n);var r=t.createTexture();return t.bindTexture(t.TEXTURE_2D,r),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.NEAREST),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),r}var o,a;function s(){o||(a=document.createElement("canvas"),o=a.getContext("webgl",{premultipliedalpha:!1}))}var l=null,u=null;return{tryInitGL:function(){try{return s(),!!o}catch(t){}return!1},composeSMask:function(t,u,c){var h=t.width,f=t.height;l||function(){var t,i;s(),t=a,a=null,i=o,o=null;var u=r(i,[e(i," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } "),n(i," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ")]);i.useProgram(u);var c={};c.gl=i,c.canvas=t,c.resolutionLocation=i.getUniformLocation(u,"u_resolution"),c.positionLocation=i.getAttribLocation(u,"a_position"),c.backdropLocation=i.getUniformLocation(u,"u_backdrop"),c.subtypeLocation=i.getUniformLocation(u,"u_subtype");var h=i.getAttribLocation(u,"a_texCoord"),f=i.getUniformLocation(u,"u_image"),d=i.getUniformLocation(u,"u_mask"),p=i.createBuffer();i.bindBuffer(i.ARRAY_BUFFER,p),i.bufferData(i.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),i.STATIC_DRAW),i.enableVertexAttribArray(h),i.vertexAttribPointer(h,2,i.FLOAT,!1,0,0),i.uniform1i(f,0),i.uniform1i(d,1),l=c}();var d=l,p=d.canvas,v=d.gl;p.width=h,p.height=f,v.viewport(0,0,v.drawingBufferWidth,v.drawingBufferHeight),v.uniform2f(d.resolutionLocation,h,f),c.backdrop?v.uniform4f(d.resolutionLocation,c.backdrop[0],c.backdrop[1],c.backdrop[2],1):v.uniform4f(d.resolutionLocation,0,0,0,0),v.uniform1i(d.subtypeLocation,"Luminosity"===c.subtype?1:0);var g=i(v,t,v.TEXTURE0),m=i(v,u,v.TEXTURE1),y=v.createBuffer();return v.bindBuffer(v.ARRAY_BUFFER,y),v.bufferData(v.ARRAY_BUFFER,new Float32Array([0,0,h,0,0,f,0,f,h,0,h,f]),v.STATIC_DRAW),v.enableVertexAttribArray(d.positionLocation),v.vertexAttribPointer(d.positionLocation,2,v.FLOAT,!1,0,0),v.clearColor(0,0,0,0),v.enable(v.BLEND),v.blendFunc(v.ONE,v.ONE_MINUS_SRC_ALPHA),v.clear(v.COLOR_BUFFER_BIT),v.drawArrays(v.TRIANGLES,0,6),v.flush(),v.deleteTexture(g),v.deleteTexture(m),v.deleteBuffer(y),p},drawFigures:function(t,i,l,c,h){u||function(){var t,i;s(),t=a,a=null,i=o,o=null;var l=r(i,[e(i," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } "),n(i," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ")]);i.useProgram(l);var c={};c.gl=i,c.canvas=t,c.resolutionLocation=i.getUniformLocation(l,"u_resolution"),c.scaleLocation=i.getUniformLocation(l,"u_scale"),c.offsetLocation=i.getUniformLocation(l,"u_offset"),c.positionLocation=i.getAttribLocation(l,"a_position"),c.colorLocation=i.getAttribLocation(l,"a_color"),u=c}();var f=u,d=f.canvas,p=f.gl;d.width=t,d.height=i,p.viewport(0,0,p.drawingBufferWidth,p.drawingBufferHeight),p.uniform2f(f.resolutionLocation,t,i);var v,g,m,y=0;for(v=0,g=c.length;v<g;v++)switch(c[v].type){case"lattice":y+=((m=c[v].coords.length/c[v].verticesPerRow|0)-1)*(c[v].verticesPerRow-1)*6;break;case"triangles":y+=c[v].coords.length}var b=new Float32Array(2*y),C=new Uint8Array(3*y),w=h.coords,_=h.colors,x=0,A=0;for(v=0,g=c.length;v<g;v++){var S=c[v],k=S.coords,P=S.colors;switch(S.type){case"lattice":var L=S.verticesPerRow;m=k.length/L|0;for(var T=1;T<m;T++)for(var O=T*L+1,E=1;E<L;E++,O++)b[x]=w[k[O-L-1]],b[x+1]=w[k[O-L-1]+1],b[x+2]=w[k[O-L]],b[x+3]=w[k[O-L]+1],b[x+4]=w[k[O-1]],b[x+5]=w[k[O-1]+1],C[A]=_[P[O-L-1]],C[A+1]=_[P[O-L-1]+1],C[A+2]=_[P[O-L-1]+2],C[A+3]=_[P[O-L]],C[A+4]=_[P[O-L]+1],C[A+5]=_[P[O-L]+2],C[A+6]=_[P[O-1]],C[A+7]=_[P[O-1]+1],C[A+8]=_[P[O-1]+2],b[x+6]=b[x+2],b[x+7]=b[x+3],b[x+8]=b[x+4],b[x+9]=b[x+5],b[x+10]=w[k[O]],b[x+11]=w[k[O]+1],C[A+9]=C[A+3],C[A+10]=C[A+4],C[A+11]=C[A+5],C[A+12]=C[A+6],C[A+13]=C[A+7],C[A+14]=C[A+8],C[A+15]=_[P[O]],C[A+16]=_[P[O]+1],C[A+17]=_[P[O]+2],x+=12,A+=18;break;case"triangles":for(var F=0,R=k.length;F<R;F++)b[x]=w[k[F]],b[x+1]=w[k[F]+1],C[A]=_[P[F]],C[A+1]=_[P[F]+1],C[A+2]=_[P[F]+2],x+=2,A+=3}}l?p.clearColor(l[0]/255,l[1]/255,l[2]/255,1):p.clearColor(0,0,0,0),p.clear(p.COLOR_BUFFER_BIT);var I=p.createBuffer();p.bindBuffer(p.ARRAY_BUFFER,I),p.bufferData(p.ARRAY_BUFFER,b,p.STATIC_DRAW),p.enableVertexAttribArray(f.positionLocation),p.vertexAttribPointer(f.positionLocation,2,p.FLOAT,!1,0,0);var M=p.createBuffer();return p.bindBuffer(p.ARRAY_BUFFER,M),p.bufferData(p.ARRAY_BUFFER,C,p.STATIC_DRAW),p.enableVertexAttribArray(f.colorLocation),p.vertexAttribPointer(f.colorLocation,3,p.UNSIGNED_BYTE,!1,0,0),p.uniform2f(f.scaleLocation,h.scaleX,h.scaleY),p.uniform2f(f.offsetLocation,h.offsetX,h.offsetY),p.drawArrays(p.TRIANGLES,0,y),p.flush(),p.deleteBuffer(I),p.deleteBuffer(M),d},cleanup:function(){l&&l.canvas&&(l.canvas.width=0,l.canvas.height=0),u&&u.canvas&&(u.canvas.width=0,u.canvas.height=0),l=null,u=null}}}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnnotationLayer=void 0;var r=n(1),i=n(5);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e,n){return e&&g(t.prototype,e),n&&g(t,n),t}var y=function(){function t(){v(this,t)}return m(t,null,[{key:"create",value:function(t){switch(t.data.annotationType){case i.AnnotationType.LINK:return new C(t);case i.AnnotationType.TEXT:return new w(t);case i.AnnotationType.WIDGET:switch(t.data.fieldType){case"Tx":return new x(t);case"Btn":return t.data.radioButton?new S(t):t.data.checkBox?new A(t):new k(t);case"Ch":return new P(t)}return new _(t);case i.AnnotationType.POPUP:return new L(t);case i.AnnotationType.FREETEXT:return new O(t);case i.AnnotationType.LINE:return new E(t);case i.AnnotationType.SQUARE:return new F(t);case i.AnnotationType.CIRCLE:return new R(t);case i.AnnotationType.POLYLINE:return new I(t);case i.AnnotationType.CARET:return new D(t);case i.AnnotationType.INK:return new B(t);case i.AnnotationType.POLYGON:return new M(t);case i.AnnotationType.HIGHLIGHT:return new N(t);case i.AnnotationType.UNDERLINE:return new j(t);case i.AnnotationType.SQUIGGLY:return new z(t);case i.AnnotationType.STRIKEOUT:return new H(t);case i.AnnotationType.STAMP:return new U(t);case i.AnnotationType.FILEATTACHMENT:return new V(t);default:return new b(t)}}}]),t}(),b=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];v(this,t),this.isRenderable=n,this.data=e.data,this.layer=e.layer,this.page=e.page,this.viewport=e.viewport,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderInteractiveForms=e.renderInteractiveForms,this.svgFactory=e.svgFactory,n&&(this.container=this._createContainer(r))}return m(t,[{key:"_createContainer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.data,n=this.page,r=this.viewport,o=document.createElement("section"),a=e.rect[2]-e.rect[0],s=e.rect[3]-e.rect[1];o.setAttribute("data-annotation-id",e.id);var l=i.Util.normalizeRect([e.rect[0],n.view[3]-e.rect[1]+n.view[1],e.rect[2],n.view[3]-e.rect[3]+n.view[1]]);if(o.style.transform="matrix(".concat(r.transform.join(","),")"),o.style.transformOrigin="-".concat(l[0],"px -").concat(l[1],"px"),!t&&e.borderStyle.width>0){o.style.borderWidth="".concat(e.borderStyle.width,"px"),e.borderStyle.style!==i.AnnotationBorderStyleType.UNDERLINE&&(a-=2*e.borderStyle.width,s-=2*e.borderStyle.width);var u=e.borderStyle.horizontalCornerRadius,c=e.borderStyle.verticalCornerRadius;if(u>0||c>0){var h="".concat(u,"px / ").concat(c,"px");o.style.borderRadius=h}switch(e.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid"}e.color?o.style.borderColor=i.Util.makeCssRgb(0|e.color[0],0|e.color[1],0|e.color[2]):o.style.borderWidth=0}return o.style.left="".concat(l[0],"px"),o.style.top="".concat(l[1],"px"),o.style.width="".concat(a,"px"),o.style.height="".concat(s,"px"),o}},{key:"_createPopup",value:function(t,e,n){e||((e=document.createElement("div")).style.height=t.style.height,e.style.width=t.style.width,t.appendChild(e));var r=new T({container:t,trigger:e,color:n.color,title:n.title,modificationDate:n.modificationDate,contents:n.contents,hideWrapper:!0}).render();r.style.left=t.style.width,t.appendChild(r)}},{key:"render",value:function(){(0,i.unreachable)("Abstract method `AnnotationElement.render` called")}}]),t}(),C=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.url||t.data.dest||t.data.action);return e.call(this,t,r)}return m(n,[{key:"render",value:function(){this.container.className="linkAnnotation";var t=this.data,e=this.linkService,n=document.createElement("a");return t.url?(0,r.addLinkAttributes)(n,{url:t.url,target:t.newWindow?r.LinkTarget.BLANK:e.externalLinkTarget,rel:e.externalLinkRel,enabled:e.externalLinkEnabled}):t.action?this._bindNamedAction(n,t.action):this._bindLink(n,t.dest),this.container.appendChild(n),this.container}},{key:"_bindLink",value:function(t,e){var n=this;t.href=this.linkService.getDestinationHash(e),t.onclick=function(){return e&&n.linkService.navigateTo(e),!1},e&&(t.className="internalLink")}},{key:"_bindNamedAction",value:function(t,e){var n=this;t.href=this.linkService.getAnchorUrl(""),t.onclick=function(){return n.linkService.executeNamedAction(e),!1},t.className="internalLink"}}]),n}(b),w=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r)}return m(n,[{key:"render",value:function(){this.container.className="textAnnotation";var t=document.createElement("img");return t.style.height=this.container.style.height,t.style.width=this.container.style.width,t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.alt="[{{type}} Annotation]",t.dataset.l10nId="text_annotation_type",t.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,t,this.data),this.container.appendChild(t),this.container}}]),n}(b),_=function(t){u(n,t);var e=h(n);function n(){return v(this,n),e.apply(this,arguments)}return m(n,[{key:"render",value:function(){return this.container}}]),n}(b),x=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=t.renderInteractiveForms||!t.data.hasAppearance&&!!t.data.fieldValue;return e.call(this,t,r)}return m(n,[{key:"render",value:function(){this.container.className="textWidgetAnnotation";var t=null;if(this.renderInteractiveForms){if(this.data.multiLine?(t=document.createElement("textarea")).textContent=this.data.fieldValue:((t=document.createElement("input")).type="text",t.setAttribute("value",this.data.fieldValue)),t.disabled=this.data.readOnly,t.name=this.data.fieldName,null!==this.data.maxLen&&(t.maxLength=this.data.maxLen),this.data.comb){var e=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;t.classList.add("comb"),t.style.letterSpacing="calc(".concat(e,"px - 1ch)")}}else{(t=document.createElement("div")).textContent=this.data.fieldValue,t.style.verticalAlign="middle",t.style.display="table-cell";var n=null;this.data.fontRefName&&this.page.commonObjs.has(this.data.fontRefName)&&(n=this.page.commonObjs.get(this.data.fontRefName)),this._setTextStyle(t,n)}return null!==this.data.textAlignment&&(t.style.textAlign=["left","center","right"][this.data.textAlignment]),this.container.appendChild(t),this.container}},{key:"_setTextStyle",value:function(t,e){var n=t.style;if(n.fontSize="".concat(this.data.fontSize,"px"),n.direction=this.data.fontDirection<0?"rtl":"ltr",e){var r="normal";e.black?r="900":e.bold&&(r="bold"),n.fontWeight=r,n.fontStyle=e.italic?"italic":"normal";var i=e.loadedName?'"'.concat(e.loadedName,'", '):"",o=e.fallbackName||"Helvetica, sans-serif";n.fontFamily=i+o}}}]),n}(_),A=function(t){u(n,t);var e=h(n);function n(t){return v(this,n),e.call(this,t,t.renderInteractiveForms)}return m(n,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var t=document.createElement("input");return t.disabled=this.data.readOnly,t.type="checkbox",t.name=this.data.fieldName,this.data.fieldValue&&"Off"!==this.data.fieldValue&&t.setAttribute("checked",!0),this.container.appendChild(t),this.container}}]),n}(_),S=function(t){u(n,t);var e=h(n);function n(t){return v(this,n),e.call(this,t,t.renderInteractiveForms)}return m(n,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var t=document.createElement("input");return t.disabled=this.data.readOnly,t.type="radio",t.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&t.setAttribute("checked",!0),this.container.appendChild(t),this.container}}]),n}(_),k=function(t){u(n,t);var e=h(n);function n(){return v(this,n),e.apply(this,arguments)}return m(n,[{key:"render",value:function(){var t=s(p(n.prototype),"render",this).call(this);return t.className="buttonWidgetAnnotation pushButton",t}}]),n}(C),P=function(t){u(n,t);var e=h(n);function n(t){return v(this,n),e.call(this,t,t.renderInteractiveForms)}return m(n,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var t=document.createElement("select");t.disabled=this.data.readOnly,t.name=this.data.fieldName,this.data.combo||(t.size=this.data.options.length,this.data.multiSelect&&(t.multiple=!0));var e,n=o(this.data.options);try{for(n.s();!(e=n.n()).done;){var r=e.value,i=document.createElement("option");i.textContent=r.displayValue,i.value=r.exportValue,this.data.fieldValue.includes(r.displayValue)&&i.setAttribute("selected",!0),t.appendChild(i)}}catch(t){n.e(t)}finally{n.f()}return this.container.appendChild(t),this.container}}]),n}(_),L=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!(!t.data.title&&!t.data.contents);return e.call(this,t,r)}return m(n,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;var t='[data-annotation-id="'.concat(this.data.parentId,'"]'),e=this.layer.querySelector(t);if(!e)return this.container;var n=new T({container:this.container,trigger:e,color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),r=parseFloat(e.style.left),i=parseFloat(e.style.width);return this.container.style.transformOrigin="-".concat(r+i,"px -").concat(e.style.top),this.container.style.left="".concat(r+i,"px"),this.container.appendChild(n.render()),this.container}}]),n}(b),T=function(){function t(e){v(this,t),this.container=e.container,this.trigger=e.trigger,this.color=e.color,this.title=e.title,this.modificationDate=e.modificationDate,this.contents=e.contents,this.hideWrapper=e.hideWrapper||!1,this.pinned=!1}return m(t,[{key:"render",value:function(){var t=document.createElement("div");t.className="popupWrapper",this.hideElement=this.hideWrapper?t:this.container,this.hideElement.setAttribute("hidden",!0);var e=document.createElement("div");e.className="popup";var n=this.color;if(n){var o=.7*(255-n[0])+n[0],a=.7*(255-n[1])+n[1],s=.7*(255-n[2])+n[2];e.style.backgroundColor=i.Util.makeCssRgb(0|o,0|a,0|s)}var l=document.createElement("h1");l.textContent=this.title,e.appendChild(l);var u=r.PDFDateString.toDateObject(this.modificationDate);if(u){var c=document.createElement("span");c.textContent="{{date}}, {{time}}",c.dataset.l10nId="annotation_date_string",c.dataset.l10nArgs=JSON.stringify({date:u.toLocaleDateString(),time:u.toLocaleTimeString()}),e.appendChild(c)}var h=this._formatContents(this.contents);return e.appendChild(h),this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),e.addEventListener("click",this._hide.bind(this,!0)),t.appendChild(e),t}},{key:"_formatContents",value:function(t){for(var e=document.createElement("p"),n=t.split(/(?:\r\n?|\n)/),r=0,i=n.length;r<i;++r){var o=n[r];e.appendChild(document.createTextNode(o)),r<i-1&&e.appendChild(document.createElement("br"))}return e}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];t&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),t}(),O=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(b),E=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){this.container.className="lineAnnotation";var t=this.data,e=t.rect[2]-t.rect[0],n=t.rect[3]-t.rect[1],r=this.svgFactory.create(e,n),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",t.rect[2]-t.lineCoordinates[0]),i.setAttribute("y1",t.rect[3]-t.lineCoordinates[1]),i.setAttribute("x2",t.rect[2]-t.lineCoordinates[2]),i.setAttribute("y2",t.rect[3]-t.lineCoordinates[3]),i.setAttribute("stroke-width",t.borderStyle.width||1),i.setAttribute("stroke","transparent"),r.appendChild(i),this.container.append(r),this._createPopup(this.container,i,t),this.container}}]),n}(b),F=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){this.container.className="squareAnnotation";var t=this.data,e=t.rect[2]-t.rect[0],n=t.rect[3]-t.rect[1],r=this.svgFactory.create(e,n),i=t.borderStyle.width,o=this.svgFactory.createElement("svg:rect");return o.setAttribute("x",i/2),o.setAttribute("y",i/2),o.setAttribute("width",e-i),o.setAttribute("height",n-i),o.setAttribute("stroke-width",i||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),r.appendChild(o),this.container.append(r),this._createPopup(this.container,o,t),this.container}}]),n}(b),R=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){this.container.className="circleAnnotation";var t=this.data,e=t.rect[2]-t.rect[0],n=t.rect[3]-t.rect[1],r=this.svgFactory.create(e,n),i=t.borderStyle.width,o=this.svgFactory.createElement("svg:ellipse");return o.setAttribute("cx",e/2),o.setAttribute("cy",n/2),o.setAttribute("rx",e/2-i/2),o.setAttribute("ry",n/2-i/2),o.setAttribute("stroke-width",i||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),r.appendChild(o),this.container.append(r),this._createPopup(this.container,o,t),this.container}}]),n}(b),I=function(t){u(n,t);var e=h(n);function n(t){var r;v(this,n);var i=!!(t.data.hasPopup||t.data.title||t.data.contents);return(r=e.call(this,t,i,!0)).containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return m(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var t,e=this.data,n=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],i=this.svgFactory.create(n,r),a=[],s=o(e.vertices);try{for(s.s();!(t=s.n()).done;){var l=t.value,u=l.x-e.rect[0],c=e.rect[3]-l.y;a.push(u+","+c)}}catch(t){s.e(t)}finally{s.f()}a=a.join(" ");var h=this.svgFactory.createElement(this.svgElementName);return h.setAttribute("points",a),h.setAttribute("stroke-width",e.borderStyle.width||1),h.setAttribute("stroke","transparent"),h.setAttribute("fill","none"),i.appendChild(h),this.container.append(i),this._createPopup(this.container,h,e),this.container}}]),n}(b),M=function(t){u(n,t);var e=h(n);function n(t){var r;return v(this,n),(r=e.call(this,t)).containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return n}(I),D=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(b),B=function(t){u(n,t);var e=h(n);function n(t){var r;v(this,n);var i=!!(t.data.hasPopup||t.data.title||t.data.contents);return(r=e.call(this,t,i,!0)).containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r}return m(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var t,e=this.data,n=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],i=this.svgFactory.create(n,r),a=o(e.inkLists);try{for(a.s();!(t=a.n()).done;){var s,l=t.value,u=[],c=o(l);try{for(c.s();!(s=c.n()).done;){var h=s.value,f=h.x-e.rect[0],d=e.rect[3]-h.y;u.push("".concat(f,",").concat(d))}}catch(t){c.e(t)}finally{c.f()}u=u.join(" ");var p=this.svgFactory.createElement(this.svgElementName);p.setAttribute("points",u),p.setAttribute("stroke-width",e.borderStyle.width||1),p.setAttribute("stroke","transparent"),p.setAttribute("fill","none"),this._createPopup(this.container,p,e),i.appendChild(p)}}catch(t){a.e(t)}finally{a.f()}return this.container.append(i),this.container}}]),n}(b),N=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(b),j=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(b),z=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(b),H=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(b),U=function(t){u(n,t);var e=h(n);function n(t){v(this,n);var r=!!(t.data.hasPopup||t.data.title||t.data.contents);return e.call(this,t,r,!0)}return m(n,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(b),V=function(t){u(n,t);var e=h(n);function n(t){var o;v(this,n);var a=(o=e.call(this,t,!0)).data.file,s=a.filename,l=a.content;return o.filename=(0,r.getFilenameFromUrl)(s),o.content=l,o.linkService.eventBus&&o.linkService.eventBus.dispatch("fileattachmentannotation",{source:d(o),id:(0,i.stringToPDFString)(s),filename:s,content:l}),o}return m(n,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var t=document.createElement("div");return t.style.height=this.container.style.height,t.style.width=this.container.style.width,t.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,t,this.data),this.container.appendChild(t),this.container}},{key:"_download",value:function(){this.downloadManager?this.downloadManager.downloadData(this.content,this.filename,""):(0,i.warn)("Download cannot be started due to unavailable download manager")}}]),n}(b),W=function(){function t(){v(this,t)}return m(t,null,[{key:"render",value:function(t){var e,n=[],a=[],s=o(t.annotations);try{for(s.s();!(e=s.n()).done;){var l=e.value;l&&(l.annotationType!==i.AnnotationType.POPUP?n.push(l):a.push(l))}}catch(t){s.e(t)}finally{s.f()}a.length&&n.push.apply(n,a);for(var u=0,c=n;u<c.length;u++){var h=c[u],f=y.create({data:h,layer:t.div,page:t.page,viewport:t.viewport,linkService:t.linkService,downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderInteractiveForms:t.renderInteractiveForms||!1,svgFactory:new r.DOMSVGFactory});f.isRenderable&&t.div.appendChild(f.render())}}},{key:"update",value:function(t){var e,n=o(t.annotations);try{for(n.s();!(e=n.n()).done;){var r=e.value,i=t.div.querySelector('[data-annotation-id="'.concat(r.id,'"]'));i&&(i.style.transform="matrix(".concat(t.viewport.transform.join(","),")"))}}catch(t){n.e(t)}finally{n.f()}t.div.removeAttribute("hidden")}}]),t}();e.AnnotationLayer=W},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderTextLayer=void 0;var r=n(5),i=function(){var t=/\S/;function e(e,n,i){var o,a=document.createElement("span"),s={angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(e._textDivs.push(a),o=n.str,!t.test(o))return s.isWhitespace=!0,void e._textDivProperties.set(a,s);var l=r.Util.transform(e._viewport.transform,n.transform),u=Math.atan2(l[1],l[0]),c=i[n.fontName];c.vertical&&(u+=Math.PI/2);var h,f,d=Math.sqrt(l[2]*l[2]+l[3]*l[3]),p=d;c.ascent?p=c.ascent*p:c.descent&&(p=(1+c.descent)*p),0===u?(h=l[4],f=l[5]-p):(h=l[4]+p*Math.sin(u),f=l[5]-p*Math.cos(u)),a.style.left="".concat(h,"px"),a.style.top="".concat(f,"px"),a.style.fontSize="".concat(d,"px"),a.style.fontFamily=c.fontFamily,a.textContent=n.str,e._fontInspectorEnabled&&(a.dataset.fontName=n.fontName),0!==u&&(s.angle=u*(180/Math.PI));var v=!1;if(n.str.length>1)v=!0;else if(n.transform[0]!==n.transform[3]){var g=Math.abs(n.transform[0]),m=Math.abs(n.transform[3]);g!==m&&Math.max(g,m)/Math.min(g,m)>1.5&&(v=!0)}if(v&&(c.vertical?s.canvasWidth=n.height*e._viewport.scale:s.canvasWidth=n.width*e._viewport.scale),e._textDivProperties.set(a,s),e._textContentStream&&e._layoutText(a),e._enhanceTextSelection){var y=1,b=0;0!==u&&(y=Math.cos(u),b=Math.sin(u));var C,w,_=(c.vertical?n.height:n.width)*e._viewport.scale,x=d;0!==u?(C=[y,b,-b,y,h,f],w=r.Util.getAxialAlignedBoundingBox([0,0,_,x],C)):w=[h,f,h+_,f+x],e._bounds.push({left:w[0],top:w[1],right:w[2],bottom:w[3],div:a,size:[_,x],m:C})}}function n(t){if(!t._canceled){var e=t._textDivs,n=t._capability,r=e.length;if(r>1e5)return t._renderingDone=!0,void n.resolve();if(!t._textContentStream)for(var i=0;i<r;i++)t._layoutText(e[i]);t._renderingDone=!0,n.resolve()}}function i(t,e,n){for(var r=0,i=0;i<n;i++){var o=t[e++];o>0&&(r=r?Math.min(o,r):o)}return r}function o(t){for(var e=t._bounds,n=t._viewport,o=function(t,e,n){var r=n.map((function(t,e){return{x1:t.left,y1:t.top,x2:t.right,y2:t.bottom,index:e,x1New:void 0,x2New:void 0}}));a(t,r);var i=new Array(n.length);return r.forEach((function(t){var e=t.index;i[e]={left:t.x1New,top:0,right:t.x2New,bottom:0}})),n.map((function(e,n){var o=i[n],a=r[n];a.x1=e.top,a.y1=t-o.right,a.x2=e.bottom,a.y2=t-o.left,a.index=n,a.x1New=void 0,a.x2New=void 0})),a(e,r),r.forEach((function(t){var e=t.index;i[e].top=t.x1New,i[e].bottom=t.x2New})),i}(n.width,n.height,e),s=0;s<o.length;s++){var l=e[s].div,u=t._textDivProperties.get(l);if(0!==u.angle){var c=o[s],h=e[s],f=h.m,d=f[0],p=f[1],v=[[0,0],[0,h.size[1]],[h.size[0],0],h.size],g=new Float64Array(64);v.forEach((function(t,e){var n=r.Util.applyTransform(t,f);g[e+0]=d&&(c.left-n[0])/d,g[e+4]=p&&(c.top-n[1])/p,g[e+8]=d&&(c.right-n[0])/d,g[e+12]=p&&(c.bottom-n[1])/p,g[e+16]=p&&(c.left-n[0])/-p,g[e+20]=d&&(c.top-n[1])/d,g[e+24]=p&&(c.right-n[0])/-p,g[e+28]=d&&(c.bottom-n[1])/d,g[e+32]=d&&(c.left-n[0])/-d,g[e+36]=p&&(c.top-n[1])/-p,g[e+40]=d&&(c.right-n[0])/-d,g[e+44]=p&&(c.bottom-n[1])/-p,g[e+48]=p&&(c.left-n[0])/p,g[e+52]=d&&(c.top-n[1])/-d,g[e+56]=p&&(c.right-n[0])/p,g[e+60]=d&&(c.bottom-n[1])/-d}));var m=1+Math.min(Math.abs(d),Math.abs(p));u.paddingLeft=i(g,32,16)/m,u.paddingTop=i(g,48,16)/m,u.paddingRight=i(g,0,16)/m,u.paddingBottom=i(g,16,16)/m,t._textDivProperties.set(l,u)}else u.paddingLeft=e[s].left-o[s].left,u.paddingTop=e[s].top-o[s].top,u.paddingRight=o[s].right-e[s].right,u.paddingBottom=o[s].bottom-e[s].bottom,t._textDivProperties.set(l,u)}}function a(t,e){e.sort((function(t,e){return t.x1-e.x1||t.index-e.index}));var n=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];e.forEach((function(t){for(var e=0;e<n.length&&n[e].end<=t.y1;)e++;for(var r,i,o=n.length-1;o>=0&&n[o].start>=t.y2;)o--;var a,s,l=-1/0;for(a=e;a<=o;a++){var u;(u=(i=(r=n[a]).boundary).x2>t.x1?i.index>t.index?i.x1New:t.x1:void 0===i.x2New?(i.x2+t.x1)/2:i.x2New)>l&&(l=u)}for(t.x1New=l,a=e;a<=o;a++)void 0===(i=(r=n[a]).boundary).x2New?i.x2>t.x1?i.index>t.index&&(i.x2New=i.x2):i.x2New=l:i.x2New>l&&(i.x2New=Math.max(l,i.x2));var c=[],h=null;for(a=e;a<=o;a++){var f=(i=(r=n[a]).boundary).x2>t.x2?i:t;h===f?c[c.length-1].end=r.end:(c.push({start:r.start,end:r.end,boundary:f}),h=f)}for(n[e].start<t.y1&&(c[0].start=t.y1,c.unshift({start:n[e].start,end:t.y1,boundary:n[e].boundary})),t.y2<n[o].end&&(c[c.length-1].end=t.y2,c.push({start:t.y2,end:n[o].end,boundary:n[o].boundary})),a=e;a<=o;a++)if(void 0===(i=(r=n[a]).boundary).x2New){var d=!1;for(s=e-1;!d&&s>=0&&n[s].start>=i.y1;s--)d=n[s].boundary===i;for(s=o+1;!d&&s<n.length&&n[s].end<=i.y2;s++)d=n[s].boundary===i;for(s=0;!d&&s<c.length;s++)d=c[s].boundary===i;d||(i.x2New=l)}Array.prototype.splice.apply(n,[e,o-e+1].concat(c))})),n.forEach((function(e){var n=e.boundary;void 0===n.x2New&&(n.x2New=Math.max(t,n.x2))}))}function s(t){var e=this,n=t.textContent,i=t.textContentStream,o=t.container,a=t.viewport,s=t.textDivs,l=t.textContentItemsStr,u=t.enhanceTextSelection;this._textContent=n,this._textContentStream=i,this._container=o,this._viewport=a,this._textDivs=s||[],this._textContentItemsStr=l||[],this._enhanceTextSelection=!!u,this._fontInspectorEnabled=!(!globalThis.FontInspector||!globalThis.FontInspector.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,r.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally((function(){e._layoutTextCtx&&(e._layoutTextCtx.canvas.width=0,e._layoutTextCtx.canvas.height=0,e._layoutTextCtx=null)})).catch((function(){}))}return s.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new r.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))},_processItems:function(t,n){for(var r=0,i=t.length;r<i;r++)this._textContentItemsStr.push(t[r].str),e(this,t[r],n)},_layoutText:function(t){var e=this._textDivProperties.get(t);if(!e.isWhitespace){var n="";if(0!==e.canvasWidth){var r=t.style,i=r.fontSize,o=r.fontFamily;i===this._layoutTextLastFontSize&&o===this._layoutTextLastFontFamily||(this._layoutTextCtx.font="".concat(i," ").concat(o),this._layoutTextLastFontSize=i,this._layoutTextLastFontFamily=o);var a=this._layoutTextCtx.measureText(t.textContent).width;a>0&&(e.scale=e.canvasWidth/a,n="scaleX(".concat(e.scale,")"))}0!==e.angle&&(n="rotate(".concat(e.angle,"deg) ").concat(n)),n.length>0&&(this._enhanceTextSelection&&(e.originalTransform=n),t.style.transform=n),this._textDivProperties.set(t,e),this._container.appendChild(t)}},_render:function(t){var e=this,i=(0,r.createPromiseCapability)(),o=Object.create(null),a=document.createElement("canvas");if(a.mozOpaque=!0,this._layoutTextCtx=a.getContext("2d",{alpha:!1}),this._textContent){var s=this._textContent.items,l=this._textContent.styles;this._processItems(s,l),i.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');this._reader=this._textContentStream.getReader(),function t(){e._reader.read().then((function(n){var r=n.value;n.done?i.resolve():(Object.assign(o,r.styles),e._processItems(r.items,o),t())}),i.reject)}()}i.promise.then((function(){o=null,t?e._renderTimer=setTimeout((function(){n(e),e._renderTimer=null}),t):n(e)}),this._capability.reject)},expandTextDivs:function(t){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(o(this),this._bounds=null);for(var e=[],n=[],r=0,i=this._textDivs.length;r<i;r++){var a=this._textDivs[r],s=this._textDivProperties.get(a);s.isWhitespace||(t?(e.length=0,n.length=0,s.originalTransform&&e.push(s.originalTransform),s.paddingTop>0?(n.push("".concat(s.paddingTop,"px")),e.push("translateY(".concat(-s.paddingTop,"px)"))):n.push(0),s.paddingRight>0?n.push("".concat(s.paddingRight/s.scale,"px")):n.push(0),s.paddingBottom>0?n.push("".concat(s.paddingBottom,"px")):n.push(0),s.paddingLeft>0?(n.push("".concat(s.paddingLeft/s.scale,"px")),e.push("translateX(".concat(-s.paddingLeft/s.scale,"px)"))):n.push(0),a.style.padding=n.join(" "),e.length&&(a.style.transform=e.join(" "))):(a.style.padding=null,a.style.transform=s.originalTransform))}}}},function(t){var e=new s({textContent:t.textContent,textContentStream:t.textContentStream,container:t.container,viewport:t.viewport,textDivs:t.textDivs,textContentItemsStr:t.textContentItemsStr,enhanceTextSelection:t.enhanceTextSelection});return e._render(t.timeout),e}}();e.renderTextLayer=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SVGGraphics=void 0;var r=n(5),i=n(1),o=n(7);function a(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||u(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||u(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=u(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function u(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}var p=function(){throw new Error("Not implemented: SVGGraphics")};e.SVGGraphics=p;var v=function(t){if(Number.isInteger(t))return t.toString();var e=t.toFixed(10),n=e.length-1;if("0"!==e[n])return e;do{n--}while("0"===e[n]);return e.substring(0,"."===e[n]?n:n+1)},g=function(t){if(0===t[4]&&0===t[5]){if(0===t[1]&&0===t[2])return 1===t[0]&&1===t[3]?"":"scale(".concat(v(t[0])," ").concat(v(t[3]),")");if(t[0]===t[3]&&t[1]===-t[2]){var e=180*Math.acos(t[0])/Math.PI;return"rotate(".concat(v(e),")")}}else if(1===t[0]&&0===t[1]&&0===t[2]&&1===t[3])return"translate(".concat(v(t[4])," ").concat(v(t[5]),")");return"matrix(".concat(v(t[0])," ").concat(v(t[1])," ").concat(v(t[2])," ").concat(v(t[3])," ").concat(v(t[4])," ")+"".concat(v(t[5]),")")},m={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},y=["butt","round","square"],b=["miter","round","bevel"],C=function(){for(var t=new Uint8Array([137,80,78,71,13,10,26,10]),e=new Int32Array(256),n=0;n<256;n++){for(var i=n,a=0;a<8;a++)i=1&i?3988292384^i>>1&2147483647:i>>1&2147483647;e[n]=i}function s(t,n,r,i){var o=i,a=n.length;r[o]=a>>24&255,r[o+1]=a>>16&255,r[o+2]=a>>8&255,r[o+3]=255&a,r[o+=4]=255&t.charCodeAt(0),r[o+1]=255&t.charCodeAt(1),r[o+2]=255&t.charCodeAt(2),r[o+3]=255&t.charCodeAt(3),o+=4,r.set(n,o);var s=function(t,n,r){for(var i=-1,o=n;o<r;o++){var a=255&(i^t[o]);i=i>>>8^e[a]}return-1^i}(r,i+4,o+=n.length);r[o]=s>>24&255,r[o+1]=s>>16&255,r[o+2]=s>>8&255,r[o+3]=255&s}function l(t){var e=t.length,n=Math.ceil(e/65535),r=new Uint8Array(2+e+5*n+4),i=0;r[i++]=120,r[i++]=156;for(var o=0;e>65535;)r[i++]=0,r[i++]=255,r[i++]=255,r[i++]=0,r[i++]=0,r.set(t.subarray(o,o+65535),i),i+=65535,o+=65535,e-=65535;r[i++]=1,r[i++]=255&e,r[i++]=e>>8&255,r[i++]=255&~e,r[i++]=(65535&~e)>>8&255,r.set(t.subarray(o),i),i+=t.length-o;var a=function(t,e,n){for(var r=1,i=0,o=e;o<n;++o)i=(i+(r=(r+(255&t[o]))%65521))%65521;return i<<16|r}(t,0,t.length);return r[i++]=a>>24&255,r[i++]=a>>16&255,r[i++]=a>>8&255,r[i++]=255&a,r}function u(e,n,i,a){var u,c,h,f=e.width,d=e.height,p=e.data;switch(n){case r.ImageKind.GRAYSCALE_1BPP:c=0,u=1,h=f+7>>3;break;case r.ImageKind.RGB_24BPP:c=2,u=8,h=3*f;break;case r.ImageKind.RGBA_32BPP:c=6,u=8,h=4*f;break;default:throw new Error("invalid format")}for(var v=new Uint8Array((1+h)*d),g=0,m=0,y=0;y<d;++y)v[g++]=0,v.set(p.subarray(m,m+h),g),m+=h,g+=h;if(n===r.ImageKind.GRAYSCALE_1BPP&&a){g=0;for(var b=0;b<d;b++){g++;for(var C=0;C<h;C++)v[g++]^=255}}var w=new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,d>>24&255,d>>16&255,d>>8&255,255&d,u,c,0,0,0]),_=function(t){if(!o.isNodeJS)return l(t);try{var e;e=parseInt(process.versions.node)>=8?t:Buffer.from(t);var n=__webpack_require__(23).deflateSync(e,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(t){(0,r.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+t)}return l(t)}(v),x=t.length+36+w.length+_.length,A=new Uint8Array(x),S=0;return A.set(t,S),s("IHDR",w,A,S+=t.length),s("IDATA",_,A,S+=12+w.length),S+=12+_.length,s("IEND",new Uint8Array(0),A,S),(0,r.createObjectURL)(A,"image/png",i)}return function(t,e,n){return u(t,void 0===t.kind?r.ImageKind.GRAYSCALE_1BPP:t.kind,e,n)}}(),w=function(){function t(){h(this,t),this.fontSizeScale=1,this.fontWeight=m.fontWeight,this.fontSize=0,this.textMatrix=r.IDENTITY_MATRIX,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=r.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=m.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return d(t,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(t,e){this.x=t,this.y=e}}]),t}(),_=0,x=0,A=0;e.SVGGraphics=p=function(){function t(e,n){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var a in h(this,t),this.svgFactory=new i.DOMSVGFactory,this.current=new w,this.transformMatrix=r.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=n,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!o,this._operatorIdMapping=[],r.OPS)this._operatorIdMapping[r.OPS[a]]=a}return d(t,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var t=this.current;this.extraStack.push(t),this.current=t.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(t){this.save(),this.executeOpTree(t),this.restore()}},{key:"loadDependencies",value:function(t){for(var e=this,n=t.fnArray,i=t.argsArray,o=0,a=n.length;o<a;o++)if(n[o]===r.OPS.dependency){var s,u=l(i[o]);try{var c=function(){var t=s.value,n=t.startsWith("g_")?e.commonObjs:e.objs,r=new Promise((function(e){n.get(t,e)}));e.current.dependencies.push(r)};for(u.s();!(s=u.n()).done;)c()}catch(t){u.e(t)}finally{u.f()}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(t,e,n,i,o,a){var s=[t,e,n,i,o,a];this.transformMatrix=r.Util.transform(this.transformMatrix,s),this.tgrp=null}},{key:"getSVG",value:function(t,e){var n=this;this.viewport=e;var i=this._initialize(e);return this.loadDependencies(t).then((function(){return n.transformMatrix=r.IDENTITY_MATRIX,n.executeOpTree(n.convertOpList(t)),i}))}},{key:"convertOpList",value:function(t){for(var e=this._operatorIdMapping,n=t.argsArray,r=t.fnArray,i=[],o=0,a=r.length;o<a;o++){var s=r[o];i.push({fnId:s,fn:e[s],args:n[o]})}return function(t){var e,n=[],r=[],i=l(t);try{for(i.s();!(e=i.n()).done;){var o=e.value;"save"!==o.fn?"restore"===o.fn?n=r.pop():n.push(o):(n.push({fnId:92,fn:"group",items:[]}),r.push(n),n=n[n.length-1].items)}}catch(t){i.e(t)}finally{i.f()}return n}(i)}},{key:"executeOpTree",value:function(t){var e,n=l(t);try{for(n.s();!(e=n.n()).done;){var i=e.value,o=i.fn,a=i.fnId,s=i.args;switch(0|a){case r.OPS.beginText:this.beginText();break;case r.OPS.dependency:break;case r.OPS.setLeading:this.setLeading(s);break;case r.OPS.setLeadingMoveText:this.setLeadingMoveText(s[0],s[1]);break;case r.OPS.setFont:this.setFont(s);break;case r.OPS.showText:case r.OPS.showSpacedText:this.showText(s[0]);break;case r.OPS.endText:this.endText();break;case r.OPS.moveText:this.moveText(s[0],s[1]);break;case r.OPS.setCharSpacing:this.setCharSpacing(s[0]);break;case r.OPS.setWordSpacing:this.setWordSpacing(s[0]);break;case r.OPS.setHScale:this.setHScale(s[0]);break;case r.OPS.setTextMatrix:this.setTextMatrix(s[0],s[1],s[2],s[3],s[4],s[5]);break;case r.OPS.setTextRise:this.setTextRise(s[0]);break;case r.OPS.setTextRenderingMode:this.setTextRenderingMode(s[0]);break;case r.OPS.setLineWidth:this.setLineWidth(s[0]);break;case r.OPS.setLineJoin:this.setLineJoin(s[0]);break;case r.OPS.setLineCap:this.setLineCap(s[0]);break;case r.OPS.setMiterLimit:this.setMiterLimit(s[0]);break;case r.OPS.setFillRGBColor:this.setFillRGBColor(s[0],s[1],s[2]);break;case r.OPS.setStrokeRGBColor:this.setStrokeRGBColor(s[0],s[1],s[2]);break;case r.OPS.setStrokeColorN:this.setStrokeColorN(s);break;case r.OPS.setFillColorN:this.setFillColorN(s);break;case r.OPS.shadingFill:this.shadingFill(s[0]);break;case r.OPS.setDash:this.setDash(s[0],s[1]);break;case r.OPS.setRenderingIntent:this.setRenderingIntent(s[0]);break;case r.OPS.setFlatness:this.setFlatness(s[0]);break;case r.OPS.setGState:this.setGState(s[0]);break;case r.OPS.fill:this.fill();break;case r.OPS.eoFill:this.eoFill();break;case r.OPS.stroke:this.stroke();break;case r.OPS.fillStroke:this.fillStroke();break;case r.OPS.eoFillStroke:this.eoFillStroke();break;case r.OPS.clip:this.clip("nonzero");break;case r.OPS.eoClip:this.clip("evenodd");break;case r.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case r.OPS.paintImageXObject:this.paintImageXObject(s[0]);break;case r.OPS.paintInlineImageXObject:this.paintInlineImageXObject(s[0]);break;case r.OPS.paintImageMaskXObject:this.paintImageMaskXObject(s[0]);break;case r.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(s[0],s[1]);break;case r.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case r.OPS.closePath:this.closePath();break;case r.OPS.closeStroke:this.closeStroke();break;case r.OPS.closeFillStroke:this.closeFillStroke();break;case r.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case r.OPS.nextLine:this.nextLine();break;case r.OPS.transform:this.transform(s[0],s[1],s[2],s[3],s[4],s[5]);break;case r.OPS.constructPath:this.constructPath(s[0],s[1]);break;case r.OPS.endPath:this.endPath();break;case 92:this.group(i.items);break;default:(0,r.warn)("Unimplemented operator ".concat(o))}}}catch(t){n.e(t)}finally{n.f()}}},{key:"setWordSpacing",value:function(t){this.current.wordSpacing=t}},{key:"setCharSpacing",value:function(t){this.current.charSpacing=t}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(t,e,n,r,i,o){var a=this.current;a.textMatrix=a.lineMatrix=[t,e,n,r,i,o],a.textMatrixScale=Math.sqrt(t*t+e*e),a.x=a.lineX=0,a.y=a.lineY=0,a.xcoords=[],a.ycoords=[],a.tspan=this.svgFactory.createElement("svg:tspan"),a.tspan.setAttributeNS(null,"font-family",a.fontFamily),a.tspan.setAttributeNS(null,"font-size","".concat(v(a.fontSize),"px")),a.tspan.setAttributeNS(null,"y",v(-a.y)),a.txtElement=this.svgFactory.createElement("svg:text"),a.txtElement.appendChild(a.tspan)}},{key:"beginText",value:function(){var t=this.current;t.x=t.lineX=0,t.y=t.lineY=0,t.textMatrix=r.IDENTITY_MATRIX,t.lineMatrix=r.IDENTITY_MATRIX,t.textMatrixScale=1,t.tspan=this.svgFactory.createElement("svg:tspan"),t.txtElement=this.svgFactory.createElement("svg:text"),t.txtgrp=this.svgFactory.createElement("svg:g"),t.xcoords=[],t.ycoords=[]}},{key:"moveText",value:function(t,e){var n=this.current;n.x=n.lineX+=t,n.y=n.lineY+=e,n.xcoords=[],n.ycoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size","".concat(v(n.fontSize),"px")),n.tspan.setAttributeNS(null,"y",v(-n.y))}},{key:"showText",value:function(t){var e=this.current,n=e.font,i=e.fontSize;if(0!==i){var o,a=e.fontSizeScale,s=e.charSpacing,u=e.wordSpacing,c=e.fontDirection,h=e.textHScale*c,f=n.vertical,d=f?1:-1,p=n.defaultVMetrics,y=i*e.fontMatrix[0],b=0,C=l(t);try{for(C.s();!(o=C.n()).done;){var w=o.value;if(null!==w)if((0,r.isNum)(w))b+=d*w*i/1e3;else{var _=(w.isSpace?u:0)+s,x=w.fontChar,A=void 0,S=void 0,k=w.width;if(f){var P=void 0,L=w.vmetric||p;P=-(P=w.vmetric?L[1]:.5*k)*y;var T=L[2]*y;k=L?-L[0]:k,A=P/a,S=(b+T)/a}else A=b/a,S=0;(w.isInFont||n.missingFile)&&(e.xcoords.push(e.x+A),f&&e.ycoords.push(-e.y+S),e.tspan.textContent+=x),b+=f?k*y-_*c:k*y+_*c}else b+=c*u}}catch(t){C.e(t)}finally{C.f()}e.tspan.setAttributeNS(null,"x",e.xcoords.map(v).join(" ")),f?e.tspan.setAttributeNS(null,"y",e.ycoords.map(v).join(" ")):e.tspan.setAttributeNS(null,"y",v(-e.y)),f?e.y-=b:e.x+=b*h,e.tspan.setAttributeNS(null,"font-family",e.fontFamily),e.tspan.setAttributeNS(null,"font-size","".concat(v(e.fontSize),"px")),e.fontStyle!==m.fontStyle&&e.tspan.setAttributeNS(null,"font-style",e.fontStyle),e.fontWeight!==m.fontWeight&&e.tspan.setAttributeNS(null,"font-weight",e.fontWeight);var O=e.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;if(O===r.TextRenderingMode.FILL||O===r.TextRenderingMode.FILL_STROKE?(e.fillColor!==m.fillColor&&e.tspan.setAttributeNS(null,"fill",e.fillColor),e.fillAlpha<1&&e.tspan.setAttributeNS(null,"fill-opacity",e.fillAlpha)):e.textRenderingMode===r.TextRenderingMode.ADD_TO_PATH?e.tspan.setAttributeNS(null,"fill","transparent"):e.tspan.setAttributeNS(null,"fill","none"),O===r.TextRenderingMode.STROKE||O===r.TextRenderingMode.FILL_STROKE){var E=1/(e.textMatrixScale||1);this._setStrokeAttributes(e.tspan,E)}var F=e.textMatrix;0!==e.textRise&&((F=F.slice())[5]+=e.textRise),e.txtElement.setAttributeNS(null,"transform","".concat(g(F)," scale(").concat(v(h),", -1)")),e.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.txtElement.appendChild(e.tspan),e.txtgrp.appendChild(e.txtElement),this._ensureTransformGroup().appendChild(e.txtElement)}}},{key:"setLeadingMoveText",value:function(t,e){this.setLeading(-e),this.moveText(t,e)}},{key:"addFontStyle",value:function(t){if(!t.data)throw new Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var e=(0,r.createObjectURL)(t.data,t.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(t.loadedName,'";')+" src: url(".concat(e,"); }\n")}},{key:"setFont",value:function(t){var e=this.current,n=this.commonObjs.get(t[0]),i=t[1];e.font=n,!this.embedFonts||n.missingFile||this.embeddedFonts[n.loadedName]||(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),e.fontMatrix=n.fontMatrix?n.fontMatrix:r.FONT_IDENTITY_MATRIX;var o="normal";n.black?o="900":n.bold&&(o="bold");var a=n.italic?"italic":"normal";i<0?(i=-i,e.fontDirection=-1):e.fontDirection=1,e.fontSize=i,e.fontFamily=n.loadedName,e.fontWeight=o,e.fontStyle=a,e.tspan=this.svgFactory.createElement("svg:tspan"),e.tspan.setAttributeNS(null,"y",v(-e.y)),e.xcoords=[],e.ycoords=[]}},{key:"endText",value:function(){var t=this.current;t.textRenderingMode&r.TextRenderingMode.ADD_TO_PATH_FLAG&&t.txtElement&&t.txtElement.hasChildNodes()&&(t.element=t.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(t){t>0&&(this.current.lineWidth=t)}},{key:"setLineCap",value:function(t){this.current.lineCap=y[t]}},{key:"setLineJoin",value:function(t){this.current.lineJoin=b[t]}},{key:"setMiterLimit",value:function(t){this.current.miterLimit=t}},{key:"setStrokeAlpha",value:function(t){this.current.strokeAlpha=t}},{key:"setStrokeRGBColor",value:function(t,e,n){this.current.strokeColor=r.Util.makeCssRgb(t,e,n)}},{key:"setFillAlpha",value:function(t){this.current.fillAlpha=t}},{key:"setFillRGBColor",value:function(t,e,n){this.current.fillColor=r.Util.makeCssRgb(t,e,n),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}},{key:"setStrokeColorN",value:function(t){this.current.strokeColor=this._makeColorN_Pattern(t)}},{key:"setFillColorN",value:function(t){this.current.fillColor=this._makeColorN_Pattern(t)}},{key:"shadingFill",value:function(t){var e=this.viewport.width,n=this.viewport.height,i=r.Util.inverseTransform(this.transformMatrix),o=r.Util.applyTransform([0,0],i),a=r.Util.applyTransform([0,n],i),s=r.Util.applyTransform([e,0],i),l=r.Util.applyTransform([e,n],i),u=Math.min(o[0],a[0],s[0],l[0]),c=Math.min(o[1],a[1],s[1],l[1]),h=Math.max(o[0],a[0],s[0],l[0]),f=Math.max(o[1],a[1],s[1],l[1]),d=this.svgFactory.createElement("svg:rect");d.setAttributeNS(null,"x",u),d.setAttributeNS(null,"y",c),d.setAttributeNS(null,"width",h-u),d.setAttributeNS(null,"height",f-c),d.setAttributeNS(null,"fill",this._makeShadingPattern(t)),this.current.fillAlpha<1&&d.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().appendChild(d)}},{key:"_makeColorN_Pattern",value:function(t){return"TilingPattern"===t[0]?this._makeTilingPattern(t):this._makeShadingPattern(t)}},{key:"_makeTilingPattern",value:function(t){var e=t[1],n=t[2],i=t[3]||r.IDENTITY_MATRIX,o=s(t[4],4),l=o[0],u=o[1],c=o[2],h=o[3],f=t[5],d=t[6],p=t[7],v="shading".concat(A++),g=s(r.Util.applyTransform([l,u],i),2),m=g[0],y=g[1],b=s(r.Util.applyTransform([c,h],i),2),C=b[0],w=b[1],_=s(r.Util.singularValueDecompose2dScale(i),2),x=f*_[0],S=d*_[1],k=this.svgFactory.createElement("svg:pattern");k.setAttributeNS(null,"id",v),k.setAttributeNS(null,"patternUnits","userSpaceOnUse"),k.setAttributeNS(null,"width",x),k.setAttributeNS(null,"height",S),k.setAttributeNS(null,"x","".concat(m)),k.setAttributeNS(null,"y","".concat(y));var P=this.svg,L=this.transformMatrix,T=this.current.fillColor,O=this.current.strokeColor,E=this.svgFactory.create(C-m,w-y);if(this.svg=E,this.transformMatrix=i,2===p){var F=r.Util.makeCssRgb.apply(r.Util,a(e));this.current.fillColor=F,this.current.strokeColor=F}return this.executeOpTree(this.convertOpList(n)),this.svg=P,this.transformMatrix=L,this.current.fillColor=T,this.current.strokeColor=O,k.appendChild(E.childNodes[0]),this.defs.appendChild(k),"url(#".concat(v,")")}},{key:"_makeShadingPattern",value:function(t){switch(t[0]){case"RadialAxial":var e,n="shading".concat(A++),i=t[3];switch(t[1]){case"axial":var o=t[4],a=t[5];(e=this.svgFactory.createElement("svg:linearGradient")).setAttributeNS(null,"id",n),e.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),e.setAttributeNS(null,"x1",o[0]),e.setAttributeNS(null,"y1",o[1]),e.setAttributeNS(null,"x2",a[0]),e.setAttributeNS(null,"y2",a[1]);break;case"radial":var s=t[4],u=t[5],c=t[6],h=t[7];(e=this.svgFactory.createElement("svg:radialGradient")).setAttributeNS(null,"id",n),e.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),e.setAttributeNS(null,"cx",u[0]),e.setAttributeNS(null,"cy",u[1]),e.setAttributeNS(null,"r",h),e.setAttributeNS(null,"fx",s[0]),e.setAttributeNS(null,"fy",s[1]),e.setAttributeNS(null,"fr",c);break;default:throw new Error("Unknown RadialAxial type: ".concat(t[1]))}var f,d=l(i);try{for(d.s();!(f=d.n()).done;){var p=f.value,v=this.svgFactory.createElement("svg:stop");v.setAttributeNS(null,"offset",p[0]),v.setAttributeNS(null,"stop-color",p[1]),e.appendChild(v)}}catch(t){d.e(t)}finally{d.f()}return this.defs.appendChild(e),"url(#".concat(n,")");case"Mesh":return(0,r.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(t[0]))}}},{key:"setDash",value:function(t,e){this.current.dashArray=t,this.current.dashPhase=e}},{key:"constructPath",value:function(t,e){var n,i=this.current,o=i.x,a=i.y,s=[],u=0,c=l(t);try{for(c.s();!(n=c.n()).done;)switch(0|n.value){case r.OPS.rectangle:o=e[u++],a=e[u++];var h=e[u++],f=e[u++],d=o+h,p=a+f;s.push("M",v(o),v(a),"L",v(d),v(a),"L",v(d),v(p),"L",v(o),v(p),"Z");break;case r.OPS.moveTo:o=e[u++],a=e[u++],s.push("M",v(o),v(a));break;case r.OPS.lineTo:o=e[u++],a=e[u++],s.push("L",v(o),v(a));break;case r.OPS.curveTo:o=e[u+4],a=e[u+5],s.push("C",v(e[u]),v(e[u+1]),v(e[u+2]),v(e[u+3]),v(o),v(a)),u+=6;break;case r.OPS.curveTo2:s.push("C",v(o),v(a),v(e[u]),v(e[u+1]),v(e[u+2]),v(e[u+3])),o=e[u+2],a=e[u+3],u+=4;break;case r.OPS.curveTo3:o=e[u+2],a=e[u+3],s.push("C",v(e[u]),v(e[u+1]),v(o),v(a),v(o),v(a)),u+=4;break;case r.OPS.closePath:s.push("Z")}}catch(t){c.e(t)}finally{c.f()}s=s.join(" "),i.path&&t.length>0&&t[0]!==r.OPS.rectangle&&t[0]!==r.OPS.moveTo?s=i.path.getAttributeNS(null,"d")+s:(i.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(i.path)),i.path.setAttributeNS(null,"d",s),i.path.setAttributeNS(null,"fill","none"),i.element=i.path,i.setCurrentPoint(o,a)}},{key:"endPath",value:function(){var t=this.current;if(t.path=null,this.pendingClip)if(t.element){var e="clippath".concat(_++),n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",e),n.setAttributeNS(null,"transform",g(this.transformMatrix));var r=t.element.cloneNode(!0);"evenodd"===this.pendingClip?r.setAttributeNS(null,"clip-rule","evenodd"):r.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(r),this.defs.appendChild(n),t.activeClipUrl&&(t.clipGroup=null,this.extraStack.forEach((function(t){t.clipGroup=null})),n.setAttributeNS(null,"clip-path",t.activeClipUrl)),t.activeClipUrl="url(#".concat(e,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(t){this.pendingClip=t}},{key:"closePath",value:function(){var t=this.current;if(t.path){var e="".concat(t.path.getAttributeNS(null,"d"),"Z");t.path.setAttributeNS(null,"d",e)}}},{key:"setLeading",value:function(t){this.current.leading=-t}},{key:"setTextRise",value:function(t){this.current.textRise=t}},{key:"setTextRenderingMode",value:function(t){this.current.textRenderingMode=t}},{key:"setHScale",value:function(t){this.current.textHScale=t/100}},{key:"setRenderingIntent",value:function(t){}},{key:"setFlatness",value:function(t){}},{key:"setGState",value:function(t){var e,n=l(t);try{for(n.s();!(e=n.n()).done;){var i=s(e.value,2),o=i[0],a=i[1];switch(o){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a);break;case"CA":this.setStrokeAlpha(a);break;case"ca":this.setFillAlpha(a);break;default:(0,r.warn)("Unimplemented graphic state operator ".concat(o))}}}catch(t){n.e(t)}finally{n.f()}}},{key:"fill",value:function(){var t=this.current;t.element&&(t.element.setAttributeNS(null,"fill",t.fillColor),t.element.setAttributeNS(null,"fill-opacity",t.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var t=this.current;t.element&&(this._setStrokeAttributes(t.element),t.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.current,r=n.dashArray;1!==e&&r.length>0&&(r=r.map((function(t){return e*t}))),t.setAttributeNS(null,"stroke",n.strokeColor),t.setAttributeNS(null,"stroke-opacity",n.strokeAlpha),t.setAttributeNS(null,"stroke-miterlimit",v(n.miterLimit)),t.setAttributeNS(null,"stroke-linecap",n.lineCap),t.setAttributeNS(null,"stroke-linejoin",n.lineJoin),t.setAttributeNS(null,"stroke-width",v(e*n.lineWidth)+"px"),t.setAttributeNS(null,"stroke-dasharray",r.map(v).join(" ")),t.setAttributeNS(null,"stroke-dashoffset",v(e*n.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var t=this.svgFactory.createElement("svg:rect");t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","1px"),t.setAttributeNS(null,"height","1px"),t.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(t)}},{key:"paintImageXObject",value:function(t){var e=this.objs.get(t);e?this.paintInlineImageXObject(e):(0,r.warn)("Dependent image with object ID ".concat(t," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(t,e){var n=t.width,r=t.height,i=C(t,this.forceDataSchema,!!e),o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",v(n)),o.setAttributeNS(null,"height",v(r)),this.current.element=o,this.clip("nonzero");var a=this.svgFactory.createElement("svg:image");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",v(-r)),a.setAttributeNS(null,"width",v(n)+"px"),a.setAttributeNS(null,"height",v(r)+"px"),a.setAttributeNS(null,"transform","scale(".concat(v(1/n)," ").concat(v(-1/r),")")),e?e.appendChild(a):this._ensureTransformGroup().appendChild(a)}},{key:"paintImageMaskXObject",value:function(t){var e=this.current,n=t.width,r=t.height,i=e.fillColor;e.maskId="mask".concat(x++);var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",e.maskId);var a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",v(n)),a.setAttributeNS(null,"height",v(r)),a.setAttributeNS(null,"fill",i),a.setAttributeNS(null,"mask","url(#".concat(e.maskId,")")),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(a),this.paintInlineImageXObject(t,o)}},{key:"paintFormXObjectBegin",value:function(t,e){if(Array.isArray(t)&&6===t.length&&this.transform(t[0],t[1],t[2],t[3],t[4],t[5]),e){var n=e[2]-e[0],r=e[3]-e[1],i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x",e[0]),i.setAttributeNS(null,"y",e[1]),i.setAttributeNS(null,"width",v(n)),i.setAttributeNS(null,"height",v(r)),this.current.element=i,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(t){var e=this.svgFactory.create(t.width,t.height),n=this.svgFactory.createElement("svg:defs");e.appendChild(n),this.defs=n;var r=this.svgFactory.createElement("svg:g");return r.setAttributeNS(null,"transform",g(t.transform)),e.appendChild(r),this.svg=r,e}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var t=this.svgFactory.createElement("svg:g");t.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(t),this.current.clipGroup=t}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",g(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PDFNodeStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e,n){return e&&g(t.prototype,e),n&&g(t,n),t}var y=__webpack_require__(24),b=__webpack_require__(25),C=__webpack_require__(26),w=__webpack_require__(27),_=/^file:\/\/\/[a-zA-Z]:\//,x=function(){function t(e){var n,r;v(this,t),this.source=e,this.url=(n=e.url,"file:"===(r=w.parse(n)).protocol||r.host?r:/^[a-z]:[/\\]/i.test(n)?w.parse("file:///".concat(n)):(r.host||(r.protocol="file:"),r)),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return m(t,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new T(this):new P(this),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var n=this.isFsUrl?new O(this,t,e):new L(this,t,e);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(t){this._fullRequestReader&&this._fullRequestReader.cancel(t),this._rangeRequestReaders.slice(0).forEach((function(e){e.cancel(t)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),t}();e.PDFNodeStream=x;var A=function(){function t(e){v(this,t),this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;var n=e.source;this._contentLength=n.length,this._loaded=0,this._filename=null,this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)(),this._headersCapability=(0,o.createPromiseCapability)()}var e;return m(t,[{key:"read",value:(e=p(i.default.mark((function t(){var e,n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:if(!this._done){t.next=4;break}return t.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){t.next=6;break}throw this._storedError;case 6:if(null!==(e=this._readableStream.read())){t.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),t.abrupt("return",this.read());case 10:return this._loaded+=e.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),n=new Uint8Array(e).buffer,t.abrupt("return",{value:n,done:!1});case 14:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}},{key:"_error",value:function(t){this._storedError=t,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(t){var e=this;this._readableStream=t,t.on("readable",(function(){e._readCapability.resolve()})),t.on("end",(function(){t.destroy(),e._done=!0,e._readCapability.resolve()})),t.on("error",(function(t){e._error(t)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new o.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),t}(),S=function(){function t(e){v(this,t),this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)();var n=e.source;this._isStreamingSupported=!n.disableStream}var e;return m(t,[{key:"read",value:(e=p(i.default.mark((function t(){var e,n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:if(!this._done){t.next=4;break}return t.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){t.next=6;break}throw this._storedError;case 6:if(null!==(e=this._readableStream.read())){t.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),t.abrupt("return",this.read());case 10:return this._loaded+=e.length,this.onProgress&&this.onProgress({loaded:this._loaded}),n=new Uint8Array(e).buffer,t.abrupt("return",{value:n,done:!1});case 14:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}},{key:"_error",value:function(t){this._storedError=t,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(t){var e=this;this._readableStream=t,t.on("readable",(function(){e._readCapability.resolve()})),t.on("end",(function(){t.destroy(),e._done=!0,e._readCapability.resolve()})),t.on("error",(function(t){e._error(t)})),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),t}();function k(t,e){return{protocol:t.protocol,auth:t.auth,host:t.hostname,port:t.port,path:t.path,method:"GET",headers:e}}var P=function(t){l(n,t);var e=c(n);function n(t){var r;v(this,n);var i=function(e){if(404===e.statusCode){var n=new o.MissingPDFException('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(e);var i=function(t){return r._readableStream.headers[t.toLowerCase()]},s=(0,a.validateRangeRequestCapabilities)({getResponseHeader:i,isHttp:t.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),l=s.allowRangeRequests,u=s.suggestedLength;r._isRangeSupported=l,r._contentLength=u||r._contentLength,r._filename=(0,a.extractFilenameFromHeader)(i)};return(r=e.call(this,t))._request=null,"http:"===r._url.protocol?r._request=b.request(k(r._url,t.httpHeaders),i):r._request=C.request(k(r._url,t.httpHeaders),i),r._request.on("error",(function(t){r._storedError=t,r._headersCapability.reject(t)})),r._request.end(),r}return n}(A),L=function(t){l(n,t);var e=c(n);function n(t,r,i){var a;for(var s in v(this,n),(a=e.call(this,t))._httpHeaders={},t.httpHeaders){var l=t.httpHeaders[s];void 0!==l&&(a._httpHeaders[s]=l)}a._httpHeaders.Range="bytes=".concat(r,"-").concat(i-1);var u=function(t){if(404!==t.statusCode)a._setReadableStream(t);else{var e=new o.MissingPDFException('Missing PDF "'.concat(a._url,'".'));a._storedError=e}};return a._request=null,"http:"===a._url.protocol?a._request=b.request(k(a._url,a._httpHeaders),u):a._request=C.request(k(a._url,a._httpHeaders),u),a._request.on("error",(function(t){a._storedError=t})),a._request.end(),a}return n}(S),T=function(t){l(n,t);var e=c(n);function n(t){var r;v(this,n),r=e.call(this,t);var i=decodeURIComponent(r._url.path);return _.test(r._url.href)&&(i=i.replace(/^\//,"")),y.lstat(i,(function(t,e){if(t)return"ENOENT"===t.code&&(t=new o.MissingPDFException('Missing PDF "'.concat(i,'".'))),r._storedError=t,void r._headersCapability.reject(t);r._contentLength=e.size,r._setReadableStream(y.createReadStream(i)),r._headersCapability.resolve()})),r}return n}(A),O=function(t){l(n,t);var e=c(n);function n(t,r,i){var o;v(this,n),o=e.call(this,t);var a=decodeURIComponent(o._url.path);return _.test(o._url.href)&&(a=a.replace(/^\//,"")),o._setReadableStream(y.createReadStream(a,{start:r,end:i-1})),o}return n}(S)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createResponseStatusError=function(t,e){return 404===t||0===t&&e.startsWith("file:")?new r.MissingPDFException('Missing PDF "'+e+'".'):new r.UnexpectedResponseException("Unexpected server response ("+t+') while retrieving PDF "'+e+'".',t)},e.extractFilenameFromHeader=function(t){var e=t("Content-Disposition");if(e){var n=(0,i.getFilenameFromContentDispositionHeader)(e);if(n.includes("%"))try{n=decodeURIComponent(n)}catch(t){}if(/\.pdf$/i.test(n))return n}return null},e.validateRangeRequestCapabilities=function(t){var e=t.getResponseHeader,n=t.isHttp,i=t.rangeChunkSize,o=t.disableRange;(0,r.assert)(i>0,"Range chunk size must be larger than zero");var a={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(e("Content-Length"),10);return Number.isInteger(s)?(a.suggestedLength=s,s<=2*i||o||!n||"bytes"!==e("Accept-Ranges")||"identity"!==(e("Content-Encoding")||"identity")||(a.allowRangeRequests=!0),a):a},e.validateResponseStatus=function(t){return 200===t||206===t};var r=n(5),i=n(214)},function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.getFilenameFromContentDispositionHeader=function(t){var e=!0,n=a("filename\\*","i").exec(t);if(n){var i=u(n=n[1]);return l(i=h(i=c(i=unescape(i))))}if(n=function(t){for(var e,n=[],i=a("filename\\*((?!0\\d)\\d+)(\\*?)","ig");null!==(e=i.exec(t));){var o=r(e,4),s=o[1],l=o[2],h=o[3];if((s=parseInt(s,10))in n){if(0===s)break}else n[s]=[l,h]}for(var f=[],d=0;d<n.length&&d in n;++d){var p=r(n[d],2),v=p[0],g=p[1];g=u(g),v&&(g=unescape(g),0===d&&(g=c(g))),f.push(g)}return f.join("")}(t))return l(h(n));if(n=a("filename","i").exec(t)){var o=u(n=n[1]);return l(o=h(o))}function a(t,e){return new RegExp("(?:^|;)\\s*"+t+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',e)}function s(t,n){if(t){if(!/^[\x00-\xFF]+$/.test(n))return n;try{var r=new TextDecoder(t,{fatal:!0}),i=Array.from(n,(function(t){return 255&t.charCodeAt(0)}));n=r.decode(new Uint8Array(i)),e=!1}catch(r){if(/^utf-?8$/i.test(t))try{n=decodeURIComponent(escape(n)),e=!1}catch(t){}}}return n}function l(t){return e&&/[\x80-\xff]/.test(t)&&(t=s("utf-8",t),e&&(t=s("iso-8859-1",t))),t}function u(t){if(t.startsWith('"')){for(var e=t.slice(1).split('\\"'),n=0;n<e.length;++n){var r=e[n].indexOf('"');-1!==r&&(e[n]=e[n].slice(0,r),e.length=n+1),e[n]=e[n].replace(/\\(.)/g,"$1")}t=e.join('"')}return t}function c(t){var e=t.indexOf("'");return-1===e?t:s(t.slice(0,e),t.slice(e+1).replace(/^[^']*'/,""))}function h(t){return!t.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(t)?t:t.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(t,e,n,r){if("q"===n||"Q"===n)return s(e,r=(r=r.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})));try{r=atob(r)}catch(t){}return s(e,r)}))}return""}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PDFNetworkStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){s(o,r,i,a,l,"next",t)}function l(t){s(o,r,i,a,l,"throw",t)}a(void 0)}))}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}var f=function(){function t(e,n){u(this,t),this.url=e,n=n||{},this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&n.httpHeaders||{},this.withCredentials=n.withCredentials||!1,this.getXhr=n.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return h(t,[{key:"requestRange",value:function(t,e,n){var r={begin:t,end:e};for(var i in n)r[i]=n[i];return this.request(r)}},{key:"requestFull",value:function(t){return this.request(t)}},{key:"request",value:function(t){var e=this.getXhr(),n=this.currXhrId++,r=this.pendingRequests[n]={xhr:e};for(var i in e.open("GET",this.url),e.withCredentials=this.withCredentials,this.httpHeaders){var o=this.httpHeaders[i];void 0!==o&&e.setRequestHeader(i,o)}return this.isHttp&&"begin"in t&&"end"in t?(e.setRequestHeader("Range","bytes=".concat(t.begin,"-").concat(t.end-1)),r.expectedStatus=206):r.expectedStatus=200,e.responseType="arraybuffer",t.onError&&(e.onerror=function(n){t.onError(e.status)}),e.onreadystatechange=this.onStateChange.bind(this,n),e.onprogress=this.onProgress.bind(this,n),r.onHeadersReceived=t.onHeadersReceived,r.onDone=t.onDone,r.onError=t.onError,r.onProgress=t.onProgress,e.send(null),n}},{key:"onProgress",value:function(t,e){var n=this.pendingRequests[t];n&&n.onProgress&&n.onProgress(e)}},{key:"onStateChange",value:function(t,e){var n=this.pendingRequests[t];if(n){var r=n.xhr;if(r.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4===r.readyState&&t in this.pendingRequests)if(delete this.pendingRequests[t],0===r.status&&this.isHttp)n.onError&&n.onError(r.status);else{var i=r.status||200;if(200===i&&206===n.expectedStatus||i===n.expectedStatus){var a=function(t){var e=t.response;return"string"!=typeof e?e:(0,o.stringToBytes)(e).buffer}(r);if(206===i){var s=r.getResponseHeader("Content-Range"),l=/bytes (\d+)-(\d+)\/(\d+)/.exec(s);n.onDone({begin:parseInt(l[1],10),chunk:a})}else a?n.onDone({begin:0,chunk:a}):n.onError&&n.onError(r.status)}else n.onError&&n.onError(r.status)}}}},{key:"hasPendingRequests",value:function(){for(var t in this.pendingRequests)return!0;return!1}},{key:"getRequestXhr",value:function(t){return this.pendingRequests[t].xhr}},{key:"isPendingRequest",value:function(t){return t in this.pendingRequests}},{key:"abortAllRequests",value:function(){for(var t in this.pendingRequests)this.abortRequest(0|t)}},{key:"abortRequest",value:function(t){var e=this.pendingRequests[t].xhr;delete this.pendingRequests[t],e.abort()}}]),t}(),d=function(){function t(e){u(this,t),this._source=e,this._manager=new f(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(t,[{key:"_onRangeRequestReaderClosed",value:function(t){var e=this._rangeRequestReaders.indexOf(t);e>=0&&this._rangeRequestReaders.splice(e,1)}},{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new p(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){var n=new v(this._manager,t,e);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(t){this._fullRequestReader&&this._fullRequestReader.cancel(t),this._rangeRequestReaders.slice(0).forEach((function(e){e.cancel(t)}))}}]),t}();e.PDFNetworkStream=d;var p=function(){function t(e,n){u(this,t),this._manager=e;var r={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=n.url,this._fullRequestId=e.requestFull(r),this._headersReceivedCapability=(0,o.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._contentLength=n.length,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}var e;return h(t,[{key:"_onHeadersReceived",value:function(){var t=this._fullRequestId,e=this._manager.getRequestXhr(t),n=function(t){return e.getResponseHeader(t)},r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=r.allowRangeRequests,o=r.suggestedLength;i&&(this._isRangeSupported=!0),this._contentLength=o||this._contentLength,this._filename=(0,a.extractFilenameFromHeader)(n),this._isRangeSupported&&this._manager.abortRequest(t),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(t){t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach((function(t){t.resolve({value:void 0,done:!0})})),this._requests=[])}},{key:"_onError",value:function(t){var e=this._url,n=(0,a.createResponseStatusError)(t,e);this._storedError=n,this._headersReceivedCapability.reject(n),this._requests.forEach((function(t){t.reject(n)})),this._requests=[],this._cachedChunks=[]}},{key:"_onProgress",value:function(t){this.onProgress&&this.onProgress({loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}},{key:"read",value:(e=l(i.default.mark((function t(){var e,n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._storedError){t.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){t.next=5;break}return e=this._cachedChunks.shift(),t.abrupt("return",{value:e,done:!1});case 5:if(!this._done){t.next=7;break}return t.abrupt("return",{value:void 0,done:!0});case 7:return n=(0,o.createPromiseCapability)(),this._requests.push(n),t.abrupt("return",n.promise);case 10:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0,this._headersReceivedCapability.reject(t),this._requests.forEach((function(t){t.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}}]),t}(),v=function(){function t(e,n,r){u(this,t),this._manager=e;var i={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=e.requestRange(n,r,i),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}var e;return h(t,[{key:"_close",value:function(){this.onClosed&&this.onClosed(this)}},{key:"_onDone",value:function(t){var e=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunk=e,this._done=!0,this._requests.forEach((function(t){t.resolve({value:void 0,done:!0})})),this._requests=[],this._close()}},{key:"_onProgress",value:function(t){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:t.loaded})}},{key:"read",value:(e=l(i.default.mark((function t(){var e,n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===this._queuedChunk){t.next=4;break}return e=this._queuedChunk,this._queuedChunk=null,t.abrupt("return",{value:e,done:!1});case 4:if(!this._done){t.next=6;break}return t.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,o.createPromiseCapability)(),this._requests.push(n),t.abrupt("return",n.promise);case 9:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0,this._requests.forEach((function(t){t.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},{key:"isStreamingSupported",get:function(){return!1}}]),t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PDFFetchStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){s(o,r,i,a,l,"next",t)}function l(t){s(o,r,i,a,l,"throw",t)}a(void 0)}))}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}function f(t,e,n){return{method:"GET",headers:t,signal:n&&n.signal,mode:"cors",credentials:e?"include":"same-origin",redirect:"follow"}}function d(t){var e=new Headers;for(var n in t){var r=t[n];void 0!==r&&e.append(n,r)}return e}var p=function(){function t(e){u(this,t),this.source=e,this.isHttp=/^https?:/i.test(e.url),this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(t,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new v(this),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var n=new g(this,t,e);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(t){this._fullRequestReader&&this._fullRequestReader.cancel(t),this._rangeRequestReaders.slice(0).forEach((function(e){e.cancel(t)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),t}();e.PDFFetchStream=p;var v=function(){function t(e){var n=this;u(this,t),this._stream=e,this._reader=null,this._loaded=0,this._filename=null;var r=e.source;this._withCredentials=r.withCredentials||!1,this._contentLength=r.length,this._headersCapability=(0,o.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._headers=d(this._stream.httpHeaders);var i=r.url;fetch(i,f(this._headers,this._withCredentials,this._abortController)).then((function(t){if(!(0,a.validateResponseStatus)(t.status))throw(0,a.createResponseStatusError)(t.status,i);n._reader=t.body.getReader(),n._headersCapability.resolve();var e=function(e){return t.headers.get(e)},r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:e,isHttp:n._stream.isHttp,rangeChunkSize:n._rangeChunkSize,disableRange:n._disableRange}),s=r.allowRangeRequests,l=r.suggestedLength;n._isRangeSupported=s,n._contentLength=l||n._contentLength,n._filename=(0,a.extractFilenameFromHeader)(e),!n._isStreamingSupported&&n._isRangeSupported&&n.cancel(new o.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}var e;return h(t,[{key:"read",value:(e=l(i.default.mark((function t(){var e,n,r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._headersCapability.promise;case 2:return t.next=4,this._reader.read();case 4:if(e=t.sent,n=e.value,!(r=e.done)){t.next=9;break}return t.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),o=new Uint8Array(n).buffer,t.abrupt("return",{value:o,done:!1});case 13:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(t){this._reader&&this._reader.cancel(t),this._abortController&&this._abortController.abort()}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),t}(),g=function(){function t(e,n,r){var i=this;u(this,t),this._stream=e,this._reader=null,this._loaded=0;var s=e.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,o.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=d(this._stream.httpHeaders),this._headers.append("Range","bytes=".concat(n,"-").concat(r-1));var l=s.url;fetch(l,f(this._headers,this._withCredentials,this._abortController)).then((function(t){if(!(0,a.validateResponseStatus)(t.status))throw(0,a.createResponseStatusError)(t.status,l);i._readCapability.resolve(),i._reader=t.body.getReader()})),this.onProgress=null}var e;return h(t,[{key:"read",value:(e=l(i.default.mark((function t(){var e,n,r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:return t.next=4,this._reader.read();case 4:if(e=t.sent,n=e.value,!(r=e.done)){t.next=9;break}return t.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),o=new Uint8Array(n).buffer,t.abrupt("return",{value:o,done:!1});case 13:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(t){this._reader&&this._reader.cancel(t),this._abortController&&this._abortController.abort()}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),t}()}])},root.pdfjsLib=factory(),module.exports=factory()}).call(this,__webpack_require__(9),__webpack_require__(19).Buffer,__webpack_require__(13))},function(t,e,n){var r=n(16),i=n(29);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);t.exports=i.locals||{}},function(t,e,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function s(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function l(t,e){for(var n={},r=[],i=0;i<t.length;i++){var o=t[i],l=e.base?o[0]+e.base:o[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var h=s(c),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==h?(a[h].references++,a[h].updater(f)):a.push({identifier:c,updater:g(f,e),references:1}),r.push(c)}return r}function u(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var c,h=(c=[],function(t,e){return c[t]=e,c.filter(Boolean).join("\n")});function f(t,e,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=h(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function d(t,e,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var p=null,v=0;function g(t,e){var n,r,i;if(e.singleton){var o=v++;n=p||(p=u(e)),r=f.bind(null,n,o,!1),i=f.bind(null,n,o,!0)}else n=u(e),r=d.bind(null,n,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var n=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=l(t,e),u=0;u<n.length;u++){var c=s(n[u]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=o}}}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([i]).join("\n")}var a,s,l;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},function(t,e,n){var r=n(16),i=n(34);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);t.exports=i.locals||{}},function(t,e,n){"use strict";(function(t){
2
- /*!
3
- * The buffer module from node.js, for the browser.
4
- *
5
- * @author Feross Aboukhadijeh <http://feross.org>
6
- * @license MIT
7
- */
8
- var r=n(20),i=n(21),o=n(22);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=l.prototype:(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return u(this,t,e,n)}function u(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=f(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),i=(t=s(t,r)).write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(l.isBuffer(e)){var n=0|d(e.length);return 0===(t=s(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?s(t,0):f(t,e);if("Buffer"===e.type&&o(e.data))return f(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(c(e),t=s(t,e<0?0:0|d(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|d(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function v(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return T(this,e,n);case"utf8":case"utf-8":return k(this,e,n);case"ascii":return P(this,e,n);case"latin1":case"binary":return L(this,e,n);case"base64":return S(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,f=0;f<l;f++)if(u(t,o+f)!==u(e,f)){h=!1;break}if(h)return o}return-1}function b(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function C(t,e,n,r){return U(z(e,t.length-n),t,n,r)}function w(t,e,n,r){return U(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function _(t,e,n,r){return w(t,e,n,r)}function x(t,e,n,r){return U(H(e),t,n,r)}function A(t,e,n,r){return U(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function S(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function k(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,l,u=t[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(o=t[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}e.Buffer=l,e.SlowBuffer=function(t){+t!=t&&(t=0);return l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return function(t,e,n,r){return c(e),e<=0?s(t,e):void 0!==n?"string"==typeof r?s(t,e).fill(n,r):s(t,e).fill(n):s(t,e)}(null,t,e,n)},l.allocUnsafe=function(t){return h(null,t)},l.allocUnsafeSlow=function(t){return h(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=l.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?k(this,0,t):v.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),h=0;h<s;++h)if(u[h]!==c[h]){o=u[h],a=c[h];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return m(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return m(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return C(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return _(this,t,e,n);case"base64":return x(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function L(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function T(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=j(t[o]);return i}function O(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function E(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function F(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function R(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function I(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function M(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,r,o){return o||M(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,o){return o||M(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=l.prototype;else{var i=e-t;n=new l(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||E(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||E(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||E(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||E(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||E(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||E(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||E(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||E(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||E(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||E(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||E(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||E(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||E(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||E(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||F(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||F(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):R(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):R(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):I(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);F(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);F(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):R(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):R(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):I(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},l.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=l.isBuffer(t)?t:z(new l(t,r).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function j(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(9))},function(t,e,n){"use strict";e.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=u(t),a=r[0],s=r[1],l=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),c=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[c++]=255&e);1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e);return l},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(c(t,a,a+16383>s?s:a+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,n){for(var i,o,a=[],s=e;s<n;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){
9
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
10
- e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+h],h+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[n+d]=255&a,d+=p,a/=256,u-=8);t[n+d-p]|=128*v}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e,n){"use strict";n(15)},function(t,e,n){(e=n(17)(!1)).push([t.i,"\n@-webkit-keyframes resizeSensorVisibility {\nfrom { top: 0;\n}\n}\n@keyframes resizeSensorVisibility {\nfrom { top: 0;\n}\n}\r\n",""]),t.exports=e},function(t,e,n){"use strict";n.r(e),n(31);const r=window.PDFLinkService;var i=Promise.resolve();e.default=function(t){function e(e,n){var r;if("string"==typeof e)r={url:e};else if(e instanceof Uint8Array)r={data:e};else{if("object"!=typeof e||null===e)throw new TypeError("invalid src type");r=Object.assign({},e)}n&&n.withCredentials&&(r.withCredentials=n.withCredentials);var i=t.getDocument(r);return i.__PDFDocumentLoadingTask=!0,n&&n.onPassword&&(i.onPassword=n.onPassword),n&&n.onProgress&&(i.onProgress=n.onProgress),i}return{createLoadingTask:e,PDFJSWrapper:function(n,o,a){var s=null,l=null,u=null,c=!1;function h(){n.getContext("2d").clearRect(0,0,n.width,n.height)}function f(){for(;o.firstChild;)o.removeChild(o.firstChild)}n.getContext("2d").save(),this.destroy=function(){null!==s&&(i=s.destroy(),s=null)},this.getResolutionScale=function(){return n.offsetWidth/n.width},this.printPage=function(t,e){if(null!==l){var n=(void 0===t?150:t)/72,r=document.createElement("iframe");new Promise((function(t,e){r.frameBorder="0",r.scrolling="no",r.width="0px;",r.height="0px;",r.style.cssText="position: absolute; top: 0; left: 0",r.onload=function(){t(this.contentWindow)},window.document.body.appendChild(r)})).then((function(t){return t.document.title="",s.getPage(1).then((function(e){var r=e.getViewport({scale:1});return t.document.head.appendChild(t.document.createElement("style")).textContent="@supports ((size:A4) and (size:1pt 1pt)) {@page { margin: 1pt; size: "+r.width*n/(96/72)+"pt "+r.height*n/(96/72)+"pt; }}@media print {body { margin: 0 }canvas { page-break-before: avoid; page-break-after: always; page-break-inside: avoid }}@media screen {body { margin: 0 }}",t}))})).then((function(t){for(var r=[],o=1;o<=s.numPages;++o)void 0!==e&&-1===e.indexOf(o)||r.push(s.getPage(o).then((function(e){var r=e.getViewport({scale:1}),i=t.document.body.appendChild(t.document.createElement("canvas"));return i.width=r.width*n,i.height=r.height*n,e.render({canvasContext:i.getContext("2d"),transform:[n,0,0,n,0,0],viewport:r,intent:"print"}).promise})));Promise.all(r).then((function(){t.focus(),t.document.queryCommandSupported("print")?t.document.execCommand("print",!1,null):t.print(),i()})).catch((function(t){i(),a("error",t)}))}))}function i(){r.parentNode.removeChild(r)}},this.renderPage=function(e){if(null!==u){if(c)return;return c=!0,void u.cancel()}if(null!==l){var h=(void 0===l.rotate?0:l.rotate)+(void 0===e?0:e),d=n.offsetWidth/l.getViewport({scale:1}).width*(window.devicePixelRatio||1),p=l.getViewport({scale:d,rotation:h});a("page-size",p.width,p.height,d),n.width=p.width,n.height=p.height,u=l.render({canvasContext:n.getContext("2d"),viewport:p}),o.style.visibility="hidden",f();var v={scrollPageIntoView:function(t){a("link-clicked",t.pageNumber)}},g=new r;g.setDocument(s),g.setViewer(v),i=i.then(function(){var n=l.getAnnotations({intent:"display"}).then((function(e){t.AnnotationLayer.render({viewport:p.clone({dontFlip:!0}),div:o,annotations:e,page:l,linkService:g,renderInteractiveForms:!1})})),r=u.promise.then((function(){o.style.visibility="",c=!1,u=null})).catch(function(n){if(u=null,n instanceof t.RenderingCancelledException)return c=!1,void this.renderPage(e);a("error",n)}.bind(this));return Promise.all([n,r])}.bind(this))}},this.forEachPage=function(t){var e=s.numPages;!function n(r){s.getPage(r).then(t).then((function(){++r<=e&&n(r)}))}(1)},this.loadPage=function(t,e){l=null,null!==s&&(i=i.then((function(){return s.getPage(t)})).then(function(t){l=t,this.renderPage(e),a("page-loaded",t.pageNumber)}.bind(this)).catch((function(t){h(),f(),a("error",t)})))},this.loadDocument=function(r){if(s=null,l=null,a("num-pages",void 0),!r)return n.removeAttribute("width"),n.removeAttribute("height"),void f();i=i.then((function(){var n,i;if("object"==typeof(i=r)&&null!==i&&!0===i.__PDFDocumentLoadingTask){if(r.destroyed)return void a("error",new Error("loadingTask has been destroyed"));n=r}else n=e(r,{onPassword:function(e,n){var r;switch(n){case t.PasswordResponses.NEED_PASSWORD:r="NEED_PASSWORD";break;case t.PasswordResponses.INCORRECT_PASSWORD:r="INCORRECT_PASSWORD"}a("password",e,r)},onProgress:function(t){var e=t.loaded/t.total;a("progress",Math.min(e,1))}});return n.promise})).then((function(t){s=t,a("num-pages",t.numPages),a("loaded")})).catch((function(t){h(),f(),a("error",t)}))},o.style.transformOrigin="0 0"}}}},function(t,e,n){(function(e){var r;"undefined"==typeof window||window,r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return r.AnnotationLayerBuilder}}),Object.defineProperty(e,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return r.DefaultAnnotationLayerFactory}}),Object.defineProperty(e,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return i.DefaultTextLayerFactory}}),Object.defineProperty(e,"TextLayerBuilder",{enumerable:!0,get:function(){return i.TextLayerBuilder}}),Object.defineProperty(e,"EventBus",{enumerable:!0,get:function(){return o.EventBus}}),Object.defineProperty(e,"NullL10n",{enumerable:!0,get:function(){return o.NullL10n}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return o.ProgressBar}}),Object.defineProperty(e,"PDFLinkService",{enumerable:!0,get:function(){return a.PDFLinkService}}),Object.defineProperty(e,"SimpleLinkService",{enumerable:!0,get:function(){return a.SimpleLinkService}}),Object.defineProperty(e,"DownloadManager",{enumerable:!0,get:function(){return s.DownloadManager}}),Object.defineProperty(e,"GenericL10n",{enumerable:!0,get:function(){return l.GenericL10n}}),Object.defineProperty(e,"PDFFindController",{enumerable:!0,get:function(){return u.PDFFindController}}),Object.defineProperty(e,"PDFHistory",{enumerable:!0,get:function(){return c.PDFHistory}}),Object.defineProperty(e,"PDFPageView",{enumerable:!0,get:function(){return h.PDFPageView}}),Object.defineProperty(e,"PDFSinglePageViewer",{enumerable:!0,get:function(){return f.PDFSinglePageViewer}}),Object.defineProperty(e,"PDFViewer",{enumerable:!0,get:function(){return d.PDFViewer}});var r=n(1),i=n(8),o=n(3),a=n(7),s=n(9),l=n(11),u=n(13),c=n(15),h=n(16),f=n(18),d=n(20)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultAnnotationLayerFactory=e.AnnotationLayerBuilder=void 0;var r=n(2),i=n(3),o=n(7);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var u=function(){function t(e){var n=e.pageDiv,r=e.pdfPage,o=e.linkService,s=e.downloadManager,l=e.imageResourcesPath,u=void 0===l?"":l,c=e.renderInteractiveForms,h=void 0!==c&&c,f=e.l10n,d=void 0===f?i.NullL10n:f;a(this,t),this.pageDiv=n,this.pdfPage=r,this.linkService=o,this.downloadManager=s,this.imageResourcesPath=u,this.renderInteractiveForms=h,this.l10n=d,this.div=null,this._cancelled=!1}return l(t,[{key:"render",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"display";this.pdfPage.getAnnotations({intent:n}).then((function(n){if(!e._cancelled){var i={viewport:t.clone({dontFlip:!0}),div:e.div,annotations:n,page:e.pdfPage,imageResourcesPath:e.imageResourcesPath,renderInteractiveForms:e.renderInteractiveForms,linkService:e.linkService,downloadManager:e.downloadManager};if(e.div)r.AnnotationLayer.update(i);else{if(0===n.length)return;e.div=document.createElement("div"),e.div.className="annotationLayer",e.pageDiv.appendChild(e.div),i.div=e.div,r.AnnotationLayer.render(i),e.l10n.translate(e.div)}}}))}},{key:"cancel",value:function(){this._cancelled=!0}},{key:"hide",value:function(){this.div&&this.div.setAttribute("hidden","true")}}]),t}();e.AnnotationLayerBuilder=u;var c=function(){function t(){a(this,t)}return l(t,[{key:"createAnnotationLayerBuilder",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.NullL10n;return new u({pageDiv:t,pdfPage:e,imageResourcesPath:n,renderInteractiveForms:r,linkService:new o.SimpleLinkService,l10n:a})}}]),t}();e.DefaultAnnotationLayerFactory=c},function(t,e,r){"use strict";var i;i="undefined"!=typeof window&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:n(14),t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isValidRotation=function(t){return Number.isInteger(t)&&t%90==0},e.isValidScrollMode=function(t){return Number.isInteger(t)&&Object.values(f).includes(t)&&t!==f.UNKNOWN},e.isValidSpreadMode=function(t){return Number.isInteger(t)&&Object.values(d).includes(t)&&t!==d.UNKNOWN},e.isPortraitOrientation=function(t){return t.width<=t.height},e.clamp=_,e.getPDFFileNameFromURL=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof t)return e;if(y(t))return console.warn('getPDFFileNameFromURL: ignoring "data:" URL for performance reasons.'),e;var n=/^(?:(?:[^:]+:)?\/\/[^\/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,r=/[^\/?#=]+\.pdf\b(?!.*\.pdf\b)/i,i=n.exec(t),o=r.exec(i[1])||r.exec(i[2])||r.exec(i[3]);if(o&&(o=o[0]).includes("%"))try{o=r.exec(decodeURIComponent(o))[0]}catch(t){}return o||e},e.noContextMenuHandler=function(t){t.preventDefault()},e.parseQueryString=function(t){for(var e=t.split("&"),n=Object.create(null),r=0,i=e.length;r<i;++r){var o=e[r].split("="),a=o[0].toLowerCase(),s=o.length>1?o[1]:null;n[decodeURIComponent(a)]=decodeURIComponent(s)}return n},e.backtrackBeforeAllVisibleElements=m,e.getVisibleElements=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=t.scrollTop,o=i+t.clientHeight,a=t.scrollLeft,s=a+t.clientWidth;function l(t){var e=t.div;return e.offsetTop+e.clientTop+e.clientHeight>i}function u(t){var e=t.div;return e.offsetLeft+e.clientLeft+e.clientWidth>a}var c=[],h=e.length,f=0===h?0:g(e,r?u:l);f>0&&f<h&&!r&&(f=m(f,e,i));for(var d=r?s:-1,p=f;p<h;p++){var v=e[p],y=v.div,b=y.offsetLeft+y.clientLeft,C=y.offsetTop+y.clientTop,w=y.clientWidth,_=y.clientHeight,x=b+w,A=C+_;if(-1===d)A>=o&&(d=A);else if((r?b:C)>d)break;if(!(A<=i||C>=o||x<=a||b>=s)){var S=Math.max(0,i-C)+Math.max(0,A-o),k=Math.max(0,a-b)+Math.max(0,x-s),P=(_-S)*(w-k)*100/_/w|0;c.push({id:v.id,x:b,y:C,view:v,percent:P})}}var L=c[0],T=c[c.length-1];return n&&c.sort((function(t,e){var n=t.percent-e.percent;return Math.abs(n)>.001?-n:t.id-e.id})),{first:L,last:T,views:c}},e.roundToDivide=function(t,e){var n=t%e;return 0===n?t:Math.round(t-n+e)},e.getPageSizeInches=function(t){var e,n,r=t.view,i=t.userUnit,o=t.rotate,a=(n=4,function(t){if(Array.isArray(t))return t}(e=r)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,n)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],l=a[1],c=a[2],h=a[3],f=o%180!=0,d=(c-s)/72*i,p=(h-l)/72*i;return{width:f?p:d,height:f?d:p}},e.approximateFraction=function(t){if(Math.floor(t)===t)return[t,1];var e=1/t;if(e>8)return[1,8];if(Math.floor(e)===e)return[1,e];for(var n=t>1?e:t,r=0,i=1,o=1,a=1;;){var s=r+o,l=i+a;if(l>8)break;n<=s/l?(o=s,a=l):(r=s,i=l)}return n-r/i<o/a-n?n===t?[r,i]:[i,r]:n===t?[o,a]:[a,o]},e.getOutputScale=function(t){var e=window.devicePixelRatio||1,n=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1,r=e/n;return{sx:r,sy:r,scaled:1!==r}},e.scrollIntoView=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.offsetParent;if(r){for(var i=t.offsetTop+t.clientTop,o=t.offsetLeft+t.clientLeft;r.clientHeight===r.scrollHeight&&r.clientWidth===r.scrollWidth||n&&"hidden"===getComputedStyle(r).overflow;)if(r.dataset._scaleY&&(i/=r.dataset._scaleY,o/=r.dataset._scaleX),i+=r.offsetTop,o+=r.offsetLeft,!(r=r.offsetParent))return;e&&(void 0!==e.top&&(i+=e.top),void 0!==e.left&&(o+=e.left,r.scrollLeft=o)),r.scrollTop=i}else console.error("offsetParent is not set -- cannot scroll")},e.watchScroll=function(t,e){var n=function(n){i||(i=window.requestAnimationFrame((function(){i=null;var n=t.scrollLeft,o=r.lastX;n!==o&&(r.right=n>o),r.lastX=n;var a=t.scrollTop,s=r.lastY;a!==s&&(r.down=a>s),r.lastY=a,e(r)})))},r={right:!0,down:!0,lastX:t.scrollLeft,lastY:t.scrollTop,_eventHandler:n},i=null;return t.addEventListener("scroll",n,!0),r},e.binarySearchFirstItem=g,e.normalizeWheelEventDelta=function(t){var e=Math.sqrt(t.deltaX*t.deltaX+t.deltaY*t.deltaY),n=Math.atan2(t.deltaY,t.deltaX);return-.25*Math.PI<n&&n<.75*Math.PI&&(e=-e),0===t.deltaMode?e/=900:1===t.deltaMode&&(e/=30),e},e.waitOnEventOrTimeout=function(t){var e=t.target,n=t.name,r=t.delay,i=void 0===r?0:r;return new Promise((function(t,r){if("object"!==l(e)||!n||"string"!=typeof n||!(Number.isInteger(i)&&i>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function o(r){e instanceof w?e._off(n,a):e.removeEventListener(n,a),u&&clearTimeout(u),t(r)}var a=o.bind(null,b.EVENT);e instanceof w?e._on(n,a):e.addEventListener(n,a);var s=o.bind(null,b.TIMEOUT),u=setTimeout(s,i)}))},e.moveToEndOfArray=function(t,e){for(var n=[],r=t.length,i=0,o=0;o<r;++o)e(t[o])?n.push(t[o]):(t[i]=t[o],++i);for(var a=0;i<r;++a,++i)t[i]=n[a]},e.WaitOnType=e.animationStarted=e.ProgressBar=e.EventBus=e.NullL10n=e.SpreadMode=e.ScrollMode=e.TextLayerMode=e.RendererType=e.PresentationModeState=e.VERTICAL_PADDING=e.SCROLLBAR_PADDING=e.MAX_AUTO_SCALE=e.UNKNOWN_SCALE=e.MAX_SCALE=e.MIN_SCALE=e.DEFAULT_SCALE=e.DEFAULT_SCALE_VALUE=e.CSS_UNITS=e.AutoPrintRegExp=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r};function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function h(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,s,"next",t)}function s(t){c(o,r,i,a,s,"throw",t)}a(void 0)}))}}e.CSS_UNITS=96/72,e.DEFAULT_SCALE_VALUE="auto",e.DEFAULT_SCALE=1,e.MIN_SCALE=.1,e.MAX_SCALE=10,e.UNKNOWN_SCALE=0,e.MAX_AUTO_SCALE=1.25,e.SCROLLBAR_PADDING=40,e.VERTICAL_PADDING=5,e.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3},e.RendererType={CANVAS:"canvas",SVG:"svg"},e.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};var f={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2};e.ScrollMode=f;var d={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};function p(t,e){return e?t.replace(/\{\{\s*(\w+)\s*\}\}/g,(function(t,n){return n in e?e[n]:"{{"+n+"}}"})):t}e.SpreadMode=d,e.AutoPrintRegExp=/\bprint\s*\(/;var v={getLanguage:function(){return h(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return","en-us");case 1:case"end":return t.stop()}}),t)})))()},getDirection:function(){return h(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return","ltr");case 1:case"end":return t.stop()}}),t)})))()},get:function(t,e,n){return h(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",p(n,e));case 1:case"end":return t.stop()}}),t)})))()},translate:function(t){return h(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()}};function g(t,e){var n=0,r=t.length-1;if(r<0||!e(t[r]))return t.length;if(e(t[n]))return n;for(;n<r;){var i=n+r>>1;e(t[i])?r=i:n=i+1}return n}function m(t,e,n){if(t<2)return t;var r=e[t].div,i=r.offsetTop+r.clientTop;i>=n&&(i=(r=e[t-1].div).offsetTop+r.clientTop);for(var o=t-2;o>=0&&!((r=e[o].div).offsetTop+r.clientTop+r.clientHeight<=i);--o)t=o;return t}function y(t){for(var e=0,n=t.length;e<n&&""===t[e].trim();)e++;return"data:"===t.substring(e,e+5).toLowerCase()}e.NullL10n=v;var b={EVENT:"event",TIMEOUT:"timeout"};e.WaitOnType=b;var C=new Promise((function(t){window.requestAnimationFrame(t)}));e.animationStarted=C;var w=function(){function t(e){o(this,t),this._listeners=Object.create(null)}return s(t,[{key:"on",value:function(t,e){this._on(t,e,{external:!0})}},{key:"off",value:function(t,e){this._off(t,e,{external:!0})}},{key:"dispatch",value:function(t){var e=this._listeners[t];if(e&&0!==e.length){var n,r=Array.prototype.slice.call(arguments,1);e.slice(0).forEach((function(t){var e=t.listener;if(t.external)return n||(n=[]),void n.push(e);e.apply(null,r)})),n&&(n.forEach((function(t){t.apply(null,r)})),n=null)}}},{key:"_on",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this._listeners[t];r||(this._listeners[t]=r=[]),r.push({listener:e,external:!0===(n&&n.external)})}},{key:"_off",value:function(t,e){var n=this._listeners[t];if(n)for(var r=0,i=n.length;r<i;r++)if(n[r].listener===e)return void n.splice(r,1)}}]),t}();function _(t,e,n){return Math.min(Math.max(t,e),n)}e.EventBus=w;var x=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.height,i=n.width,a=n.units;o(this,t),this.visible=!0,this.div=document.querySelector(e+" .progress"),this.bar=this.div.parentNode,this.height=r||100,this.width=i||100,this.units=a||"%",this.div.style.height=this.height+this.units,this.percent=0}return s(t,[{key:"_updateBar",value:function(){if(this._indeterminate)return this.div.classList.add("indeterminate"),void(this.div.style.width=this.width+this.units);this.div.classList.remove("indeterminate");var t=this.width*this._percent/100;this.div.style.width=t+this.units}},{key:"setWidth",value:function(t){if(t){var e=t.parentNode.offsetWidth-t.offsetWidth;e>0&&(this.bar.style.width="calc(100% - ".concat(e,"px)"))}}},{key:"hide",value:function(){this.visible&&(this.visible=!1,this.bar.classList.add("hidden"),document.body.classList.remove("loadingInProgress"))}},{key:"show",value:function(){this.visible||(this.visible=!0,document.body.classList.add("loadingInProgress"),this.bar.classList.remove("hidden"))}},{key:"percent",get:function(){return this._percent},set:function(t){this._indeterminate=isNaN(t),this._percent=_(t,0,100),this._updateBar()}}]),t}();e.ProgressBar=x},function(t,e,n){"use strict";t.exports=n(5)},function(t,e,n){"use strict";(function(t){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=function(t){var n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var c={};function h(){}function f(){}function d(){}var p={};p[o]=function(){return this};var v=Object.getPrototypeOf,g=v&&v(v(A([])));g&&g!==n&&r.call(g,o)&&(p=g);var m=d.prototype=h.prototype=Object.create(p);function y(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function b(t,n){var i;this._invoke=function(o,a){function s(){return new n((function(i,s){!function i(o,a,s,l){var c=u(t[o],t,a);if("throw"!==c.type){var h=c.arg,f=h.value;return f&&"object"===e(f)&&r.call(f,"__await")?n.resolve(f.__await).then((function(t){i("next",t,s,l)}),(function(t){i("throw",t,s,l)})):n.resolve(f).then((function(t){h.value=t,s(h)}),(function(t){return i("throw",t,s,l)}))}l(c.arg)}(o,a,i,s)}))}return i=i?i.then(s,s):s()}}function C(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,c;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function A(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return f.prototype=m.constructor=d,d.constructor=f,d[s]=f.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},y(b.prototype),b.prototype[a]=function(){return this},t.AsyncIterator=b,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new b(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(m),m[s]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),c},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}("object"===e(t)?t.exports:{});try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(6)(t))},function(t,e,n){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleLinkService=e.PDFLinkService=void 0;var r=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var l=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.eventBus,r=e.externalLinkTarget,i=void 0===r?null:r,a=e.externalLinkRel,s=void 0===a?null:a,l=e.externalLinkEnabled,u=void 0===l||l,c=e.ignoreDestinationZoom,h=void 0!==c&&c;o(this,t),this.eventBus=n,this.externalLinkTarget=i,this.externalLinkRel=s,this.externalLinkEnabled=u,this._ignoreDestinationZoom=h,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null,this._pagesRefCache=null}return s(t,[{key:"setDocument",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.baseUrl=e,this.pdfDocument=t,this._pagesRefCache=Object.create(null)}},{key:"setViewer",value:function(t){this.pdfViewer=t}},{key:"setHistory",value:function(t){this.pdfHistory=t}},{key:"navigateTo",value:function(t){var e=this;new Promise((function(n,r){"string"!=typeof t?n({namedDest:"",explicitDest:t}):e.pdfDocument.getDestination(t).then((function(e){n({namedDest:t,explicitDest:e})}))})).then((function(n){Array.isArray(n.explicitDest)?function n(r){var i,o=r.namedDest,a=r.explicitDest,s=a[0];if(s instanceof Object){if(null===(i=e._cachedPageNumber(s)))return void e.pdfDocument.getPageIndex(s).then((function(t){e.cachePageRef(t+1,s),n({namedDest:o,explicitDest:a})})).catch((function(){console.error('PDFLinkService.navigateTo: "'.concat(s,'" is not ')+'a valid page reference, for dest="'.concat(t,'".'))}))}else{if(!Number.isInteger(s))return void console.error('PDFLinkService.navigateTo: "'.concat(s,'" is not ')+'a valid destination reference, for dest="'.concat(t,'".'));i=s+1}!i||i<1||i>e.pagesCount?console.error('PDFLinkService.navigateTo: "'.concat(i,'" is not ')+'a valid page number, for dest="'.concat(t,'".')):(e.pdfHistory&&(e.pdfHistory.pushCurrentPosition(),e.pdfHistory.push({namedDest:o,explicitDest:a,pageNumber:i})),e.pdfViewer.scrollPageIntoView({pageNumber:i,destArray:a,ignoreDestinationZoom:e._ignoreDestinationZoom}))}(n):console.error('PDFLinkService.navigateTo: "'.concat(n.explicitDest,'" is')+' not a valid destination array, for dest="'.concat(t,'".'))}))}},{key:"getDestinationHash",value:function(t){if("string"==typeof t)return this.getAnchorUrl("#"+escape(t));if(Array.isArray(t)){var e=JSON.stringify(t);return this.getAnchorUrl("#"+escape(e))}return this.getAnchorUrl("")}},{key:"getAnchorUrl",value:function(t){return(this.baseUrl||"")+t}},{key:"setHash",value:function(t){var e,n;if(t.includes("=")){var o=(0,r.parseQueryString)(t);if("search"in o&&this.eventBus.dispatch("findfromurlhash",{source:this,query:o.search.replace(/"/g,""),phraseSearch:"true"===o.phrase}),"page"in o&&(e=0|o.page||1),"zoom"in o){var a=o.zoom.split(","),s=a[0],l=parseFloat(s);s.includes("Fit")?"Fit"===s||"FitB"===s?n=[null,{name:s}]:"FitH"===s||"FitBH"===s||"FitV"===s||"FitBV"===s?n=[null,{name:s},a.length>1?0|a[1]:null]:"FitR"===s?5!==a.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):n=[null,{name:s},0|a[1],0|a[2],0|a[3],0|a[4]]:console.error('PDFLinkService.setHash: "'.concat(s,'" is not ')+"a valid zoom value."):n=[null,{name:"XYZ"},a.length>1?0|a[1]:null,a.length>2?0|a[2]:null,l?l/100:s]}n?this.pdfViewer.scrollPageIntoView({pageNumber:e||this.page,destArray:n,allowNegativeOffset:!0}):e&&(this.page=e),"pagemode"in o&&this.eventBus.dispatch("pagemode",{source:this,mode:o.pagemode}),"nameddest"in o&&this.navigateTo(o.nameddest)}else{n=unescape(t);try{n=JSON.parse(n),Array.isArray(n)||(n=n.toString())}catch(t){}if("string"==typeof n||function(t){if(!Array.isArray(t))return!1;var e=t.length;if(e<2)return!1;var n=t[0];if(!("object"===i(n)&&Number.isInteger(n.num)&&Number.isInteger(n.gen)||Number.isInteger(n)&&n>=0))return!1;var r=t[1];if("object"!==i(r)||"string"!=typeof r.name)return!1;var o=!0;switch(r.name){case"XYZ":if(5!==e)return!1;break;case"Fit":case"FitB":return 2===e;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==e)return!1;break;case"FitR":if(6!==e)return!1;o=!1;break;default:return!1}for(var a=2;a<e;a++){var s=t[a];if(!("number"==typeof s||o&&null===s))return!1}return!0}(n))return void this.navigateTo(n);console.error('PDFLinkService.setHash: "'.concat(unescape(t),'" is not ')+"a valid destination.")}}},{key:"executeNamedAction",value:function(t){switch(t){case"GoBack":this.pdfHistory&&this.pdfHistory.back();break;case"GoForward":this.pdfHistory&&this.pdfHistory.forward();break;case"NextPage":this.page<this.pagesCount&&this.page++;break;case"PrevPage":this.page>1&&this.page--;break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:t})}},{key:"cachePageRef",value:function(t,e){if(e){var n=0===e.gen?"".concat(e.num,"R"):"".concat(e.num,"R").concat(e.gen);this._pagesRefCache[n]=t}}},{key:"_cachedPageNumber",value:function(t){var e=0===t.gen?"".concat(t.num,"R"):"".concat(t.num,"R").concat(t.gen);return this._pagesRefCache&&this._pagesRefCache[e]||null}},{key:"isPageVisible",value:function(t){return this.pdfViewer.isPageVisible(t)}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(t){this.pdfViewer.currentPageNumber=t}},{key:"rotation",get:function(){return this.pdfViewer.pagesRotation},set:function(t){this.pdfViewer.pagesRotation=t}}]),t}();e.PDFLinkService=l,window.PDFLinkService=l;var u=function(){function t(){o(this,t),this.externalLinkTarget=null,this.externalLinkRel=null,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=!1}return s(t,[{key:"navigateTo",value:function(t){}},{key:"getDestinationHash",value:function(t){return"#"}},{key:"getAnchorUrl",value:function(t){return"#"}},{key:"setHash",value:function(t){}},{key:"executeNamedAction",value:function(t){}},{key:"cachePageRef",value:function(t,e){}},{key:"isPageVisible",value:function(t){return!0}},{key:"pagesCount",get:function(){return 0}},{key:"page",get:function(){return 0},set:function(t){}},{key:"rotation",get:function(){return 0},set:function(t){}}]),t}();e.SimpleLinkService=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultTextLayerFactory=e.TextLayerBuilder=void 0;var r=n(2);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s=function(){function t(e){var n=e.textLayerDiv,r=e.eventBus,o=e.pageIndex,a=e.viewport,s=e.findController,l=void 0===s?null:s,u=e.enhanceTextSelection,c=void 0!==u&&u;i(this,t),this.textLayerDiv=n,this.eventBus=r,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageIdx=o,this.pageNumber=this.pageIdx+1,this.matches=[],this.viewport=a,this.textDivs=[],this.findController=l,this.textLayerRenderTask=null,this.enhanceTextSelection=c,this._onUpdateTextLayerMatches=null,this._bindMouse()}return a(t,[{key:"_finishRendering",value:function(){if(this.renderingDone=!0,!this.enhanceTextSelection){var t=document.createElement("div");t.className="endOfContent",this.textLayerDiv.appendChild(t)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}},{key:"render",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if((this.textContent||this.textContentStream)&&!this.renderingDone){this.cancel(),this.textDivs=[];var n=document.createDocumentFragment();this.textLayerRenderTask=(0,r.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:n,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:e,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then((function(){t.textLayerDiv.appendChild(n),t._finishRendering(),t._updateMatches()}),(function(t){})),this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=function(e){e.pageIndex!==t.pageIdx&&-1!==e.pageIndex||t._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches))}}},{key:"cancel",value:function(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null)}},{key:"setTextContentStream",value:function(t){this.cancel(),this.textContentStream=t}},{key:"setTextContent",value:function(t){this.cancel(),this.textContent=t}},{key:"_convertMatches",value:function(t,e){if(!t)return[];for(var n=this.findController,r=this.textContentItemsStr,i=0,o=0,a=r.length-1,s=n.state.query.length,l=[],u=0,c=t.length;u<c;u++){for(var h=t[u];i!==a&&h>=o+r[i].length;)o+=r[i].length,i++;i===r.length&&console.error("Could not find a matching mapping");var f={begin:{divIdx:i,offset:h-o}};for(h+=e?e[u]:s;i!==a&&h>o+r[i].length;)o+=r[i].length,i++;f.end={divIdx:i,offset:h-o},l.push(f)}return l}},{key:"_renderMatches",value:function(t){if(0!==t.length){var e=this.findController,n=this.pageIdx,r=this.textContentItemsStr,i=this.textDivs,o=n===e.selected.pageIdx,a=e.selected.matchIdx,s=null,l={divIdx:-1,offset:void 0},u=a,c=u+1;if(e.state.highlightAll)u=0,c=t.length;else if(!o)return;for(var h=u;h<c;h++){var f=t[h],d=f.begin,p=f.end,v=o&&h===a,g=v?" selected":"";if(v&&e.scrollMatchIntoView({element:i[d.divIdx],pageIndex:n,matchIndex:a}),s&&d.divIdx===s.divIdx?C(s.divIdx,s.offset,d.offset):(null!==s&&C(s.divIdx,s.offset,l.offset),b(d)),d.divIdx===p.divIdx)C(d.divIdx,d.offset,p.offset,"highlight"+g);else{C(d.divIdx,d.offset,l.offset,"highlight begin"+g);for(var m=d.divIdx+1,y=p.divIdx;m<y;m++)i[m].className="highlight middle"+g;b(p,"highlight end"+g)}s=p}s&&C(s.divIdx,s.offset,l.offset)}function b(t,e){var n=t.divIdx;i[n].textContent="",C(n,0,t.offset,e)}function C(t,e,n,o){var a=i[t],s=r[t].substring(e,n),l=document.createTextNode(s);if(o){var u=document.createElement("span");return u.className=o,u.appendChild(l),void a.appendChild(u)}a.appendChild(l)}}},{key:"_updateMatches",value:function(){if(this.renderingDone){for(var t=this.findController,e=this.matches,n=this.pageIdx,r=this.textContentItemsStr,i=this.textDivs,o=-1,a=0,s=e.length;a<s;a++){for(var l=e[a],u=Math.max(o,l.begin.divIdx),c=l.end.divIdx;u<=c;u++){var h=i[u];h.textContent=r[u],h.className=""}o=l.end.divIdx+1}if(t&&t.highlightMatches){var f=t.pageMatches[n]||null,d=t.pageMatchesLength[n]||null;this.matches=this._convertMatches(f,d),this._renderMatches(this.matches)}}}},{key:"_bindMouse",value:function(){var t=this,e=this.textLayerDiv,n=null;e.addEventListener("mousedown",(function(r){if(t.enhanceTextSelection&&t.textLayerRenderTask)return t.textLayerRenderTask.expandTextDivs(!0),void(n&&(clearTimeout(n),n=null));var i=e.querySelector(".endOfContent");if(i){var o=r.target!==e;if(o=o&&"none"!==window.getComputedStyle(i).getPropertyValue("-moz-user-select")){var a=e.getBoundingClientRect(),s=Math.max(0,(r.pageY-a.top)/a.height);i.style.top=(100*s).toFixed(2)+"%"}i.classList.add("active")}})),e.addEventListener("mouseup",(function(){if(t.enhanceTextSelection&&t.textLayerRenderTask)n=setTimeout((function(){t.textLayerRenderTask&&t.textLayerRenderTask.expandTextDivs(!1),n=null}),300);else{var r=e.querySelector(".endOfContent");r&&(r.style.top="",r.classList.remove("active"))}}))}}]),t}();e.TextLayerBuilder=s;var l=function(){function t(){i(this,t)}return a(t,[{key:"createTextLayerBuilder",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return new s({textLayerDiv:t,pageIndex:e,viewport:n,enhanceTextSelection:r,eventBus:i})}}]),t}();e.DefaultTextLayerFactory=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DownloadManager=void 0;var r=n(2);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=n(10).viewerCompatibilityParams.disableCreateObjectURL||!1;function a(t,e){var n=document.createElement("a");if(!n.click)throw new Error('DownloadManager: "a.click()" is not supported.');n.href=t,n.target="_parent","download"in n&&(n.download=e),(document.body||document.documentElement).appendChild(n),n.click(),n.remove()}var s=function(){function t(e){var n=e.disableCreateObjectURL,r=void 0===n?o:n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.disableCreateObjectURL=r}var e,n,s;return e=t,(n=[{key:"downloadUrl",value:function(t,e){(0,r.createValidAbsoluteUrl)(t,"http://example.com")&&a(t+"#pdfjs.action=download",e)}},{key:"downloadData",value:function(t,e,n){navigator.msSaveBlob?navigator.msSaveBlob(new Blob([t],{type:n}),e):a((0,r.createObjectURL)(t,n,this.disableCreateObjectURL),e)}},{key:"download",value:function(t,e,n){navigator.msSaveBlob?navigator.msSaveBlob(t,n)||this.downloadUrl(e,n):this.disableCreateObjectURL?this.downloadUrl(e,n):a(URL.createObjectURL(t),n)}}])&&i(e.prototype,n),s&&i(e,s),t}();e.DownloadManager=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.viewerCompatibilityParams=void 0;var r=Object.create(null),i="undefined"!=typeof navigator&&navigator.userAgent||"",o="undefined"!=typeof navigator&&navigator.platform||"",a="undefined"!=typeof navigator&&navigator.maxTouchPoints||1,s=/Android/.test(i),l=/Trident/.test(i),u=/\b(iPad|iPhone|iPod)(?=;)/.test(i)||"MacIntel"===o&&a>1,c=/CriOS/.test(i);(l||c)&&(r.disableCreateObjectURL=!0),(u||s)&&(r.maxCanvasPixels=5242880);var h=Object.freeze(r);e.viewerCompatibilityParams=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GenericL10n=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r};function o(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,l,"next",t)}function l(t){o(a,r,i,s,l,"throw",t)}s(void 0)}))}}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n(12);var l=document.webL10n,u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._lang=e,this._ready=new Promise((function(t,n){l.setLanguage(e,(function(){t(l)}))}))}var e,n,r,o,u,c,h;return e=t,(n=[{key:"getLanguage",value:(h=a(i.default.mark((function t(){var e;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._ready;case 2:return e=t.sent,t.abrupt("return",e.getLanguage());case 4:case"end":return t.stop()}}),t,this)}))),function(){return h.apply(this,arguments)})},{key:"getDirection",value:(c=a(i.default.mark((function t(){var e;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._ready;case 2:return e=t.sent,t.abrupt("return",e.getDirection());case 4:case"end":return t.stop()}}),t,this)}))),function(){return c.apply(this,arguments)})},{key:"get",value:(u=a(i.default.mark((function t(e,n,r){var o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._ready;case 2:return o=t.sent,t.abrupt("return",o.get(e,n,r));case 4:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return u.apply(this,arguments)})},{key:"translate",value:(o=a(i.default.mark((function t(e){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._ready;case 2:return n=t.sent,t.abrupt("return",n.translate(e));case 4:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})}])&&s(e.prototype,n),r&&s(e,r),t}();e.GenericL10n=u},function(t,e,n){"use strict";document.webL10n=function(t,e,n){var r={},i="",o="textContent",a="",s={},l="loading";function u(t,e,n){e=e||function(t){},n=n||function(){};var r=new XMLHttpRequest;r.open("GET",t,!0),r.overrideMimeType&&r.overrideMimeType("text/plain; charset=utf-8"),r.onreadystatechange=function(){4==r.readyState&&(200==r.status||0===r.status?e(r.responseText):n())},r.onerror=n,r.ontimeout=n;try{r.send(null)}catch(t){n()}}function c(t,e,n,a){var s=t.replace(/[^\/]*$/,"")||"./";function l(t){return t.lastIndexOf("\\")<0?t:t.replace(/\\\\/g,"\\").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'")}u(t,(function(t){i+=t,function(t,n){var r={},i=/^\s*|\s*$/,o=/^\s*#|^\s*$/,a=/^\s*\[(.*)\]\s*$/,c=/^\s*@import\s+url\((.*)\)\s*$/i,h=/^([^=\s]*)\s*=\s*(.+)$/;function f(t,n,u){var f=t.replace(i,"").split(/[\r\n]+/),p="*",v=e.split("-",1)[0],g=!1,m="";!function t(){for(;;){if(!f.length)return void u();var i=f.shift();if(!o.test(i)){if(n){if(m=a.exec(i)){p=m[1].toLowerCase(),g="*"!==p&&p!==e&&p!==v;continue}if(g)continue;if(m=c.exec(i))return void d(s+m[1],t)}var y=i.match(h);y&&3==y.length&&(r[y[1]]=l(y[2]))}}}()}function d(t,e){u(t,(function(t){f(t,!1,e)}),(function(){console.warn(t+" not found."),e()}))}f(t,!0,(function(){n(r)}))}(t,(function(t){for(var e in t){var i,a,s=e.lastIndexOf(".");s>0?(i=e.substring(0,s),a=e.substring(s+1)):(i=e,a=o),r[i]||(r[i]={}),r[i][a]=t[e]}n&&n()}))}),a)}function h(t,n){t&&(t=t.toLowerCase()),n=n||function(){},r={},i="",a="",a=t;var o=e.querySelectorAll('link[type="application/l10n"]'),s=o.length;if(0!==s){var u,h,f=0;h=function(){++f>=s&&(n(),l="complete")};for(var d=0;d<s;d++)new m(o[d]).load(t,h)}else{var p=(u=e.querySelector('script[type="application/l10n"]'))?JSON.parse(u.innerHTML):null;if(p&&p.locales&&p.default_locale){if(console.log("using the embedded JSON directory, early way out"),!(r=p.locales[t])){var v=p.default_locale.toLowerCase();for(var g in p.locales){if((g=g.toLowerCase())===t){r=p.locales[t];break}g===v&&(r=p.locales[v])}}n()}else console.log("no resource to load, early way out");l="complete"}function m(t){var e=t.href;this.load=function(t,n){c(e,t,n,(function(){console.warn(e+" not found."),console.warn('"'+t+'" resource not found'),a="",n()}))}}}function f(t,e,n){var i=r[t];if(!i){if(console.warn("#"+t+" is undefined."),!n)return null;i=n}var o={};for(var a in i){var s=i[a];s=p(s=d(s,e,t,a),e,t),o[a]=s}return o}function d(t,e,n,i){var o=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(t);if(!o||!o.length)return t;var a,l=o[1],u=o[2];return e&&u in e?a=e[u]:u in r&&(a=r[u]),l in s&&(t=(0,s[l])(t,a,n,i)),t}function p(t,e,n){return t.replace(/\{\{\s*(.+?)\s*\}\}/g,(function(t,i){return e&&i in e?e[i]:i in r?r[i]:(console.log("argument {{"+i+"}} for #"+n+" is undefined."),t)}))}function v(t){var n=function(t){if(!t)return{};var e=t.getAttribute("data-l10n-id"),n=t.getAttribute("data-l10n-args"),r={};if(n)try{r=JSON.parse(n)}catch(t){console.warn("could not parse arguments for #"+e)}return{id:e,args:r}}(t);if(n.id){var r=f(n.id,n.args);if(r){if(r[o]){if(0===function(t){if(t.children)return t.children.length;if(void 0!==t.childElementCount)return t.childElementCount;for(var e=0,n=0;n<t.childNodes.length;n++)e+=1===t.nodeType?1:0;return e}(t))t[o]=r[o];else{for(var i=t.childNodes,a=!1,s=0,l=i.length;s<l;s++)3===i[s].nodeType&&/\S/.test(i[s].nodeValue)&&(a?i[s].nodeValue="":(i[s].nodeValue=r[o],a=!0));if(!a){var u=e.createTextNode(r[o]);t.insertBefore(u,t.firstChild)}}delete r[o]}for(var c in r)t[c]=r[c]}else console.warn("#"+n.id+" is undefined.")}}return s.plural=function(t,e,n,i){var l=parseFloat(e);if(isNaN(l))return t;if(i!=o)return t;s._pluralRules||(s._pluralRules=function(t){function e(t,e){return-1!==e.indexOf(t)}function n(t,e,n){return e<=t&&t<=n}var r={0:function(t){return"other"},1:function(t){return n(t%100,3,10)?"few":0===t?"zero":n(t%100,11,99)?"many":2==t?"two":1==t?"one":"other"},2:function(t){return 0!==t&&t%10==0?"many":2==t?"two":1==t?"one":"other"},3:function(t){return 1==t?"one":"other"},4:function(t){return n(t,0,1)?"one":"other"},5:function(t){return n(t,0,2)&&2!=t?"one":"other"},6:function(t){return 0===t?"zero":t%10==1&&t%100!=11?"one":"other"},7:function(t){return 2==t?"two":1==t?"one":"other"},8:function(t){return n(t,3,6)?"few":n(t,7,10)?"many":2==t?"two":1==t?"one":"other"},9:function(t){return 0===t||1!=t&&n(t%100,1,19)?"few":1==t?"one":"other"},10:function(t){return n(t%10,2,9)&&!n(t%100,11,19)?"few":t%10!=1||n(t%100,11,19)?"other":"one"},11:function(t){return n(t%10,2,4)&&!n(t%100,12,14)?"few":t%10==0||n(t%10,5,9)||n(t%100,11,14)?"many":t%10==1&&t%100!=11?"one":"other"},12:function(t){return n(t,2,4)?"few":1==t?"one":"other"},13:function(t){return n(t%10,2,4)&&!n(t%100,12,14)?"few":1!=t&&n(t%10,0,1)||n(t%10,5,9)||n(t%100,12,14)?"many":1==t?"one":"other"},14:function(t){return n(t%100,3,4)?"few":t%100==2?"two":t%100==1?"one":"other"},15:function(t){return 0===t||n(t%100,2,10)?"few":n(t%100,11,19)?"many":1==t?"one":"other"},16:function(t){return t%10==1&&11!=t?"one":"other"},17:function(t){return 3==t?"few":0===t?"zero":6==t?"many":2==t?"two":1==t?"one":"other"},18:function(t){return 0===t?"zero":n(t,0,2)&&0!==t&&2!=t?"one":"other"},19:function(t){return n(t,2,10)?"few":n(t,0,1)?"one":"other"},20:function(t){return!n(t%10,3,4)&&t%10!=9||n(t%100,10,19)||n(t%100,70,79)||n(t%100,90,99)?t%1e6==0&&0!==t?"many":t%10!=2||e(t%100,[12,72,92])?t%10!=1||e(t%100,[11,71,91])?"other":"one":"two":"few"},21:function(t){return 0===t?"zero":1==t?"one":"other"},22:function(t){return n(t,0,1)||n(t,11,99)?"one":"other"},23:function(t){return n(t%10,1,2)||t%20==0?"one":"other"},24:function(t){return n(t,3,10)||n(t,13,19)?"few":e(t,[2,12])?"two":e(t,[1,11])?"one":"other"}},i={af:3,ak:4,am:4,ar:1,asa:3,az:0,be:11,bem:3,bez:3,bg:3,bh:4,bm:0,bn:3,bo:0,br:20,brx:3,bs:11,ca:3,cgg:3,chr:3,cs:12,cy:17,da:3,de:3,dv:3,dz:0,ee:3,el:3,en:3,eo:3,es:3,et:3,eu:3,fa:0,ff:5,fi:3,fil:4,fo:3,fr:5,fur:3,fy:3,ga:8,gd:24,gl:3,gsw:3,gu:3,guw:4,gv:23,ha:3,haw:3,he:2,hi:4,hr:11,hu:0,id:0,ig:0,ii:0,is:3,it:3,iu:7,ja:0,jmc:3,jv:0,ka:0,kab:5,kaj:3,kcg:3,kde:0,kea:0,kk:3,kl:3,km:0,kn:0,ko:0,ksb:3,ksh:21,ku:3,kw:7,lag:18,lb:3,lg:3,ln:4,lo:0,lt:10,lv:6,mas:3,mg:4,mk:16,ml:3,mn:3,mo:9,mr:3,ms:0,mt:15,my:0,nah:3,naq:7,nb:3,nd:3,ne:3,nl:3,nn:3,no:3,nr:3,nso:4,ny:3,nyn:3,om:3,or:3,pa:3,pap:3,pl:13,ps:3,pt:3,rm:3,ro:9,rof:3,ru:11,rwk:3,sah:0,saq:3,se:7,seh:3,ses:0,sg:0,sh:11,shi:19,sk:12,sl:14,sma:7,smi:7,smj:7,smn:7,sms:7,sn:3,so:3,sq:3,sr:11,ss:3,ssy:3,st:3,sv:3,sw:3,syr:3,ta:3,te:3,teo:3,th:0,ti:4,tig:3,tk:3,tl:4,tn:3,to:0,tr:0,ts:3,tzm:22,uk:11,ur:3,ve:3,vi:0,vun:3,wa:4,wae:3,wo:0,xh:3,xog:3,yo:0,zh:0,zu:3}[t.replace(/-.*$/,"")];return i in r?r[i]:(console.warn("plural form unknown for ["+t+"]"),function(){return"other"})}(a));var u="["+s._pluralRules(l)+"]";return 0===l&&n+"[zero]"in r?t=r[n+"[zero]"][i]:1==l&&n+"[one]"in r?t=r[n+"[one]"][i]:2==l&&n+"[two]"in r?t=r[n+"[two]"][i]:n+u in r?t=r[n+u][i]:n+"[other]"in r&&(t=r[n+"[other]"][i]),t},{get:function(t,e,n){var r,i=t.lastIndexOf("."),a=o;i>0&&(a=t.substring(i+1),t=t.substring(0,i)),n&&((r={})[a]=n);var s=f(t,e,r);return s&&a in s?s[a]:"{{"+t+"}}"},getData:function(){return r},getText:function(){return i},getLanguage:function(){return a},setLanguage:function(t,e){h(t,(function(){e&&e()}))},getDirection:function(){var t=a.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(t)>=0?"rtl":"ltr"},translate:function(t){for(var n=function(t){return t?t.querySelectorAll("*[data-l10n-id]"):[]}(t=t||e.documentElement),r=n.length,i=0;i<r;i++)v(n[i]);v(t)},getReadyState:function(){return l},ready:function(n){n&&("complete"==l||"interactive"==l?t.setTimeout((function(){n()})):e.addEventListener&&e.addEventListener("localized",(function t(){e.removeEventListener("localized",t),n()})))}}}(window,document)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PDFFindController=e.FindState=void 0;var r=n(2),i=n(14),o=n(3);function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};e.FindState=s;var l={"‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},u=null;function c(t){if(!u){var e=Object.keys(l).join("");u=new RegExp("[".concat(e,"]"),"g")}return t.replace(u,(function(t){return l[t]}))}var h=function(){function t(e){var n=e.linkService,r=e.eventBus;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._linkService=n,this._eventBus=r,this._reset(),r._on("findbarclose",this._onFindBarClose.bind(this))}var e,n,l;return e=t,(n=[{key:"setDocument",value:function(t){this._pdfDocument&&this._reset(),t&&(this._pdfDocument=t,this._firstPageCapability.resolve())}},{key:"executeCommand",value:function(t,e){var n=this;if(e){var r=this._pdfDocument;(null===this._state||this._shouldDirtyMatch(t,e))&&(this._dirtyMatch=!0),this._state=e,"findhighlightallchange"!==t&&this._updateUIState(s.PENDING),this._firstPageCapability.promise.then((function(){if(n._pdfDocument&&(!r||n._pdfDocument===r)){n._extractText();var e=!n._highlightMatches,i=!!n._findTimeout;n._findTimeout&&(clearTimeout(n._findTimeout),n._findTimeout=null),"find"===t?n._findTimeout=setTimeout((function(){n._nextMatch(),n._findTimeout=null}),250):n._dirtyMatch?n._nextMatch():"findagain"===t?(n._nextMatch(),e&&n._state.highlightAll&&n._updateAllPages()):"findhighlightallchange"===t?(i?n._nextMatch():n._highlightMatches=!0,n._updateAllPages()):n._nextMatch()}}))}}},{key:"scrollMatchIntoView",value:function(t){var e=t.element,n=void 0===e?null:e,r=t.pageIndex,i=void 0===r?-1:r,a=t.matchIndex,s=void 0===a?-1:a;if(this._scrollMatches&&n&&-1!==s&&s===this._selected.matchIdx&&-1!==i&&i===this._selected.pageIdx){this._scrollMatches=!1;var l={top:-50,left:-400};(0,o.scrollIntoView)(n,l,!0)}}},{key:"_reset",value:function(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=Object.create(null),this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,r.createPromiseCapability)()}},{key:"_shouldDirtyMatch",value:function(t,e){if(e.query!==this._state.query)return!0;switch(t){case"findagain":var n=this._selected.pageIdx+1,r=this._linkService;return n>=1&&n<=r.pagesCount&&n!==r.page&&!r.isPageVisible(n);case"findhighlightallchange":return!1}return!0}},{key:"_prepareMatches",value:function(t,e,n){function r(e){var n=t[e],r=t[e+1];if(e<t.length-1&&n.match===r.match)return n.skipped=!0,!0;for(var i=e-1;i>=0;i--){var o=t[i];if(!o.skipped){if(o.match+o.matchLength<n.match)break;if(o.match+o.matchLength>=n.match+n.matchLength)return n.skipped=!0,!0}}return!1}t.sort((function(t,e){return t.match===e.match?t.matchLength-e.matchLength:t.match-e.match}));for(var i=0,o=t.length;i<o;i++)r(i)||(e.push(t[i].match),n.push(t[i].matchLength))}},{key:"_isEntireWord",value:function(t,e,n){if(e>0){var r=t.charCodeAt(e),o=t.charCodeAt(e-1);if((0,i.getCharacterType)(r)===(0,i.getCharacterType)(o))return!1}var a=e+n-1;if(a<t.length-1){var s=t.charCodeAt(a),l=t.charCodeAt(a+1);if((0,i.getCharacterType)(s)===(0,i.getCharacterType)(l))return!1}return!0}},{key:"_calculatePhraseMatch",value:function(t,e,n,r){for(var i=[],o=t.length,a=-o;-1!==(a=n.indexOf(t,a+o));)r&&!this._isEntireWord(n,a,o)||i.push(a);this._pageMatches[e]=i}},{key:"_calculateWordMatch",value:function(t,e,n,r){for(var i=[],o=t.match(/\S+/g),a=0,s=o.length;a<s;a++)for(var l=o[a],u=l.length,c=-u;-1!==(c=n.indexOf(l,c+u));)r&&!this._isEntireWord(n,c,u)||i.push({match:c,matchLength:u,skipped:!1});this._pageMatchesLength[e]=[],this._pageMatches[e]=[],this._prepareMatches(i,this._pageMatches[e],this._pageMatchesLength[e])}},{key:"_calculateMatch",value:function(t){var e=this._pageContents[t],n=this._query,r=this._state,i=r.caseSensitive,o=r.entireWord,a=r.phraseSearch;if(0!==n.length){i||(e=e.toLowerCase(),n=n.toLowerCase()),a?this._calculatePhraseMatch(n,t,e,o):this._calculateWordMatch(n,t,e,o),this._state.highlightAll&&this._updatePage(t),this._resumePageIdx===t&&(this._resumePageIdx=null,this._nextPageMatch());var s=this._pageMatches[t].length;s>0&&(this._matchesCountTotal+=s,this._updateUIResultsCount())}}},{key:"_extractText",value:function(){var t=this;if(!(this._extractTextPromises.length>0))for(var e=Promise.resolve(),n=function(n,i){var o=(0,r.createPromiseCapability)();t._extractTextPromises[n]=o.promise,e=e.then((function(){return t._pdfDocument.getPage(n+1).then((function(t){return t.getTextContent({normalizeWhitespace:!0})})).then((function(e){for(var r=e.items,i=[],a=0,s=r.length;a<s;a++)i.push(r[a].str);t._pageContents[n]=c(i.join("")),o.resolve(n)}),(function(e){console.error("Unable to get text content for page ".concat(n+1),e),t._pageContents[n]="",o.resolve(n)}))}))},i=0,o=this._linkService.pagesCount;i<o;i++)n(i)}},{key:"_updatePage",value:function(t){this._scrollMatches&&this._selected.pageIdx===t&&(this._linkService.page=t+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:t})}},{key:"_updateAllPages",value:function(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}},{key:"_nextMatch",value:function(){var t=this,e=this._state.findPrevious,n=this._linkService.page-1,r=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=n,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this._updateAllPages();for(var i=0;i<r;i++)!0!==this._pendingFindMatches[i]&&(this._pendingFindMatches[i]=!0,this._extractTextPromises[i].then((function(e){delete t._pendingFindMatches[e],t._calculateMatch(e)})))}if(""!==this._query){if(!this._resumePageIdx){var o=this._offset;if(this._pagesToSearch=r,null!==o.matchIdx){var a=this._pageMatches[o.pageIdx].length;if(!e&&o.matchIdx+1<a||e&&o.matchIdx>0)return o.matchIdx=e?o.matchIdx-1:o.matchIdx+1,void this._updateMatch(!0);this._advanceOffsetPage(e)}this._nextPageMatch()}}else this._updateUIState(s.FOUND)}},{key:"_matchesReady",value:function(t){var e=this._offset,n=t.length,r=this._state.findPrevious;return n?(e.matchIdx=r?n-1:0,this._updateMatch(!0),!0):(this._advanceOffsetPage(r),!!(e.wrapped&&(e.matchIdx=null,this._pagesToSearch<0))&&(this._updateMatch(!1),!0))}},{key:"_nextPageMatch",value:function(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");var t=null;do{var e=this._offset.pageIdx;if(!(t=this._pageMatches[e])){this._resumePageIdx=e;break}}while(!this._matchesReady(t))}},{key:"_advanceOffsetPage",value:function(t){var e=this._offset,n=this._linkService.pagesCount;e.pageIdx=t?e.pageIdx-1:e.pageIdx+1,e.matchIdx=null,this._pagesToSearch--,(e.pageIdx>=n||e.pageIdx<0)&&(e.pageIdx=t?n-1:0,e.wrapped=!0)}},{key:"_updateMatch",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=s.NOT_FOUND,n=this._offset.wrapped;if(this._offset.wrapped=!1,t){var r=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,e=n?s.WRAPPED:s.FOUND,-1!==r&&r!==this._selected.pageIdx&&this._updatePage(r)}this._updateUIState(e,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this._updatePage(this._selected.pageIdx))}},{key:"_onFindBarClose",value:function(t){var e=this,n=this._pdfDocument;this._firstPageCapability.promise.then((function(){!e._pdfDocument||n&&e._pdfDocument!==n||(e._findTimeout&&(clearTimeout(e._findTimeout),e._findTimeout=null),e._resumePageIdx&&(e._resumePageIdx=null,e._dirtyMatch=!0),e._updateUIState(s.FOUND),e._highlightMatches=!1,e._updateAllPages())}))}},{key:"_requestMatchesCount",value:function(){var t=this._selected,e=t.pageIdx,n=t.matchIdx,r=0,i=this._matchesCountTotal;if(-1!==n){for(var o=0;o<e;o++)r+=this._pageMatches[o]&&this._pageMatches[o].length||0;r+=n+1}return(r<1||r>i)&&(r=i=0),{current:r,total:i}}},{key:"_updateUIResultsCount",value:function(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this._requestMatchesCount()})}},{key:"_updateUIState",value:function(t,e){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:t,previous:e,matchesCount:this._requestMatchesCount()})}},{key:"highlightMatches",get:function(){return this._highlightMatches}},{key:"pageMatches",get:function(){return this._pageMatches}},{key:"pageMatchesLength",get:function(){return this._pageMatchesLength}},{key:"selected",get:function(){return this._selected}},{key:"state",get:function(){return this._state}},{key:"_query",get:function(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,this._normalizedQuery=c(this._state.query)),this._normalizedQuery}}])&&a(e.prototype,n),l&&a(e,l),t}();e.PDFFindController=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCharacterType=function(t){return function(t){return t<11904}(t)?function(t){return 0==(65408&t)}(t)?function(t){return 32===t||9===t||13===t||10===t}(t)?r.SPACE:function(t){return t>=97&&t<=122||t>=65&&t<=90}(t)||function(t){return t>=48&&t<=57}(t)||95===t?r.ALPHA_LETTER:r.PUNCT:function(t){return 3584==(65408&t)}(t)?r.THAI_LETTER:160===t?r.SPACE:r.ALPHA_LETTER:function(t){return t>=13312&&t<=40959||t>=63744&&t<=64255}(t)?r.HAN_LETTER:function(t){return t>=12448&&t<=12543}(t)?r.KATAKANA_LETTER:function(t){return t>=12352&&t<=12447}(t)?r.HIRAGANA_LETTER:function(t){return t>=65376&&t<=65439}(t)?r.HALFWIDTH_KATAKANA_LETTER:r.ALPHA_LETTER},e.CharacterType=void 0;var r={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};e.CharacterType=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDestHashesEqual=c,e.isDestArraysEqual=h,e.PDFHistory=void 0;var r=n(3);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(){return document.location.hash}var u=function(){function t(e){var n=this,r=e.linkService,i=e.eventBus;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.linkService=r,this.eventBus=i,this._initialized=!1,this._fingerprint="",this.reset(),this._boundEvents=null,this._isViewerInPresentationMode=!1,this.eventBus._on("presentationmodechanged",(function(t){n._isViewerInPresentationMode=t.active||t.switchInProgress})),this.eventBus._on("pagesinit",(function(){n._isPagesLoaded=!1,n.eventBus._on("pagesloaded",(function t(e){n.eventBus._off("pagesloaded",t),n._isPagesLoaded=!!e.pagesCount}))}))}var e,n,a;return e=t,(n=[{key:"initialize",value:function(t){var e=t.fingerprint,n=t.resetHistory,r=void 0!==n&&n,i=t.updateUrl,o=void 0!==i&&i;if(e&&"string"==typeof e){this._initialized&&this.reset();var a=""!==this._fingerprint&&this._fingerprint!==e;this._fingerprint=e,this._updateUrl=!0===o,this._initialized=!0,this._bindEvents();var s=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=l(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(s,!0)||r){var u=this._parseCurrentHash(!0),c=u.hash,h=u.page,f=u.rotation;return!c||a||r?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:c,page:h,rotation:f},!0)}var d=s.destination;this._updateInternalState(d,s.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),void 0!==d.rotation&&(this._initialRotation=d.rotation),d.dest?(this._initialBookmark=JSON.stringify(d.dest),this._destination.page=null):d.hash?this._initialBookmark=d.hash:d.page&&(this._initialBookmark="page=".concat(d.page))}else console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.')}},{key:"reset",value:function(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}},{key:"push",value:function(t){var e=this,n=t.namedDest,r=void 0===n?null:n,i=t.explicitDest,o=t.pageNumber;if(this._initialized)if(r&&"string"!=typeof r)console.error("PDFHistory.push: "+'"'.concat(r,'" is not a valid namedDest parameter.'));else if(Array.isArray(i))if(Number.isInteger(o)&&o>0&&o<=this.linkService.pagesCount||null===o&&!this._destination){var a=r||JSON.stringify(i);if(a){var s=!1;if(this._destination&&(c(this._destination.hash,a)||h(this._destination.dest,i))){if(this._destination.page)return;s=!0}this._popStateInProgress&&!s||(this._pushOrReplaceState({dest:i,hash:a,page:o,rotation:this.linkService.rotation},s),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then((function(){e._popStateInProgress=!1}))))}}else console.error("PDFHistory.push: "+'"'.concat(o,'" is not a valid pageNumber parameter.'));else console.error("PDFHistory.push: "+'"'.concat(i,'" is not a valid explicitDest parameter.'))}},{key:"pushCurrentPosition",value:function(){this._initialized&&!this._popStateInProgress&&this._tryPushCurrentPosition()}},{key:"back",value:function(){if(this._initialized&&!this._popStateInProgress){var t=window.history.state;this._isValidState(t)&&t.uid>0&&window.history.back()}}},{key:"forward",value:function(){if(this._initialized&&!this._popStateInProgress){var t=window.history.state;this._isValidState(t)&&t.uid<this._maxUid&&window.history.forward()}}},{key:"_pushOrReplaceState",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n||!this._destination,i={fingerprint:this._fingerprint,uid:r?this._uid:this._uid+1,destination:t};if(this._updateInternalState(t,i.uid),this._updateUrl&&t&&t.hash){var o=document.location.href.split("#")[0];o.startsWith("file://")||(e="".concat(o,"#").concat(t.hash))}r?window.history.replaceState(i,"",e):(this._maxUid=this._uid,window.history.pushState(i,"",e))}},{key:"_tryPushCurrentPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._position){var e=this._position;if(t&&((e=Object.assign(Object.create(null),this._position)).temporary=!0),this._destination){if(this._destination.temporary)this._pushOrReplaceState(e,!0);else if(this._destination.hash!==e.hash&&(this._destination.page||!(this._numPositionUpdates<=50))){var n=!1;if(this._destination.page>=e.first&&this._destination.page<=e.page){if(this._destination.dest||!this._destination.first)return;n=!0}this._pushOrReplaceState(e,n)}}else this._pushOrReplaceState(e)}}},{key:"_isValidState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return!1;if(t.fingerprint!==this._fingerprint){if(!e)return!1;if("string"!=typeof t.fingerprint||t.fingerprint.length!==this._fingerprint.length)return!1;var n=performance.getEntriesByType("navigation"),r=o(n,1),a=r[0];if(!a||"reload"!==a.type)return!1}return!(!Number.isInteger(t.uid)||t.uid<0)&&null!==t.destination&&"object"===i(t.destination)}},{key:"_updateInternalState",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),n&&t&&t.temporary&&delete t.temporary,this._destination=t,this._uid=e,this._numPositionUpdates=0}},{key:"_parseCurrentHash",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=unescape(l()).substring(1),n=(0,r.parseQueryString)(e),i=n.nameddest||"",o=0|n.page;return Number.isInteger(o)&&o>0&&o<=this.linkService.pagesCount&&!(t&&i.length>0)||(o=null),{hash:e,page:o,rotation:this.linkService.rotation}}},{key:"_updateViewarea",value:function(t){var e=this,n=t.location;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:this._isViewerInPresentationMode?"page=".concat(n.pageNumber):n.pdfOpenParams.substring(1),page:this.linkService.page,first:n.pageNumber,rotation:n.rotation},this._popStateInProgress||(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout((function(){e._popStateInProgress||e._tryPushCurrentPosition(!0),e._updateViewareaTimeout=null}),1e3))}},{key:"_popState",value:function(t){var e=this,n=t.state,i=l(),o=this._currentHash!==i;if(this._currentHash=i,n){if(this._isValidState(n)){this._popStateInProgress=!0,o&&(this._blockHashChange++,(0,r.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then((function(){e._blockHashChange--})));var a=n.destination;this._updateInternalState(a,n.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),(0,r.isValidRotation)(a.rotation)&&(this.linkService.rotation=a.rotation),a.dest?this.linkService.navigateTo(a.dest):a.hash?this.linkService.setHash(a.hash):a.page&&(this.linkService.page=a.page),Promise.resolve().then((function(){e._popStateInProgress=!1}))}}else{this._uid++;var s=this._parseCurrentHash(),u=s.hash,c=s.page,h=s.rotation;this._pushOrReplaceState({hash:u,page:c,rotation:h},!0)}}},{key:"_pageHide",value:function(){this._destination&&!this._destination.temporary||this._tryPushCurrentPosition()}},{key:"_bindEvents",value:function(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}},{key:"_unbindEvents",value:function(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}},{key:"popStateInProgress",get:function(){return this._initialized&&(this._popStateInProgress||this._blockHashChange>0)}},{key:"initialBookmark",get:function(){return this._initialized?this._initialBookmark:null}},{key:"initialRotation",get:function(){return this._initialized?this._initialRotation:null}}])&&s(e.prototype,n),a&&s(e,a),t}();function c(t,e){return"string"==typeof t&&"string"==typeof e&&(t===e||(0,r.parseQueryString)(t).nameddest===e)}function h(t,e){function n(t,e){if(i(t)!==i(e))return!1;if(Array.isArray(t)||Array.isArray(e))return!1;if(null!==t&&"object"===i(t)&&null!==e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r in t)if(!n(t[r],e[r]))return!1;return!0}return t===e||Number.isNaN(t)&&Number.isNaN(e)}if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;for(var r=0,o=t.length;r<o;r++)if(!n(t[r],e[r]))return!1;return!0}e.PDFHistory=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PDFPageView=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r},o=n(3),a=n(2),s=n(17);function l(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var c=n(10).viewerCompatibilityParams.maxCanvasPixels||16777216,h=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=e.container,r=e.defaultViewport;this.id=e.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=e.scale||o.DEFAULT_SCALE,this.viewport=r,this.pdfPageRotate=r.rotation,this.hasRestrictedScaling=!1,this.textLayerMode=Number.isInteger(e.textLayerMode)?e.textLayerMode:o.TextLayerMode.ENABLE,this.imageResourcesPath=e.imageResourcesPath||"",this.renderInteractiveForms=e.renderInteractiveForms||!1,this.useOnlyCssZoom=e.useOnlyCssZoom||!1,this.maxCanvasPixels=e.maxCanvasPixels||c,this.eventBus=e.eventBus,this.renderingQueue=e.renderingQueue,this.textLayerFactory=e.textLayerFactory,this.annotationLayerFactory=e.annotationLayerFactory,this.renderer=e.renderer||o.RendererType.CANVAS,this.enableWebGL=e.enableWebGL||!1,this.l10n=e.l10n||o.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=s.RenderingStates.INITIAL,this.resume=null,this.error=null,this.annotationLayer=null,this.textLayer=null,this.zoomLayer=null;var i=document.createElement("div");i.className="page",i.style.width=Math.floor(this.viewport.width)+"px",i.style.height=Math.floor(this.viewport.height)+"px",i.setAttribute("data-page-number",this.id),this.div=i,n.appendChild(i)}var e,n,r;return e=t,(n=[{key:"setPdfPage",value:function(t){this.pdfPage=t,this.pdfPageRotate=t.rotate;var e=(this.rotation+this.pdfPageRotate)%360;this.viewport=t.getViewport({scale:this.scale*o.CSS_UNITS,rotation:e}),this.stats=t.stats,this.reset()}},{key:"destroy",value:function(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}},{key:"_resetZoomLayer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.zoomLayer){var e=this.zoomLayer.firstChild;this.paintedViewportMap.delete(e),e.width=0,e.height=0,t&&this.zoomLayer.remove(),this.zoomLayer=null}}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.cancelRendering(e),this.renderingState=s.RenderingStates.INITIAL;var n=this.div;n.style.width=Math.floor(this.viewport.width)+"px",n.style.height=Math.floor(this.viewport.height)+"px";for(var r=n.childNodes,i=t&&this.zoomLayer||null,o=e&&this.annotationLayer&&this.annotationLayer.div||null,a=r.length-1;a>=0;a--){var l=r[a];i!==l&&o!==l&&n.removeChild(l)}n.removeAttribute("data-loaded"),o?this.annotationLayer.hide():this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null),i||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon",n.appendChild(this.loadingIconDiv)}},{key:"update",value:function(t,e){this.scale=t||this.scale,void 0!==e&&(this.rotation=e);var n=(this.rotation+this.pdfPageRotate)%360;if(this.viewport=this.viewport.clone({scale:this.scale*o.CSS_UNITS,rotation:n}),this.svg)return this.cssTransform(this.svg,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now()});var r=!1;if(this.canvas&&this.maxCanvasPixels>0){var i=this.outputScale;(Math.floor(this.viewport.width)*i.sx|0)*(Math.floor(this.viewport.height)*i.sy|0)>this.maxCanvasPixels&&(r=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&r)return this.cssTransform(this.canvas,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now()});this.zoomLayer||this.canvas.hasAttribute("hidden")||(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform(this.zoomLayer.firstChild),this.reset(!0,!0)}},{key:"cancelRendering",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),!t&&this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null)}},{key:"cssTransform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.viewport.width,r=this.viewport.height,i=this.div;t.style.width=t.parentNode.style.width=i.style.width=Math.floor(n)+"px",t.style.height=t.parentNode.style.height=i.style.height=Math.floor(r)+"px";var o=this.viewport.rotation-this.paintedViewportMap.get(t).rotation,a=Math.abs(o),s=1,l=1;90!==a&&270!==a||(s=r/n,l=n/r);var u="rotate("+o+"deg) scale("+s+","+l+")";if(t.style.transform=u,this.textLayer){var c=this.textLayer.viewport,h=this.viewport.rotation-c.rotation,f=Math.abs(h),d=n/c.width;90!==f&&270!==f||(d=n/c.height);var p,v,g=this.textLayer.textLayerDiv;switch(f){case 0:p=v=0;break;case 90:p=0,v="-"+g.style.height;break;case 180:p="-"+g.style.width,v="-"+g.style.height;break;case 270:p="-"+g.style.width,v=0;break;default:console.error("Bad rotation value.")}g.style.transform="rotate("+f+"deg) scale("+d+", "+d+") translate("+p+", "+v+")",g.style.transformOrigin="0% 0%"}e&&this.annotationLayer&&this.annotationLayer.render(this.viewport,"display")}},{key:"getPagePoint",value:function(t,e){return this.viewport.convertToPdfPoint(t,e)}},{key:"draw",value:function(){var t=this;this.renderingState!==s.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());var e=this.div,n=this.pdfPage;if(!n)return this.renderingState=s.RenderingStates.FINISHED,this.loadingIconDiv&&(e.removeChild(this.loadingIconDiv),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=s.RenderingStates.RUNNING;var r=document.createElement("div");r.style.width=e.style.width,r.style.height=e.style.height,r.classList.add("canvasWrapper"),this.annotationLayer&&this.annotationLayer.div?e.insertBefore(r,this.annotationLayer.div):e.appendChild(r);var u=null;if(this.textLayerMode!==o.TextLayerMode.DISABLE&&this.textLayerFactory){var c=document.createElement("div");c.className="textLayer",c.style.width=r.style.width,c.style.height=r.style.height,this.annotationLayer&&this.annotationLayer.div?e.insertBefore(c,this.annotationLayer.div):e.appendChild(c),u=this.textLayerFactory.createTextLayerBuilder(c,this.id-1,this.viewport,this.textLayerMode===o.TextLayerMode.ENABLE_ENHANCE,this.eventBus)}this.textLayer=u;var h=null;this.renderingQueue&&(h=function(e){if(!t.renderingQueue.isHighestPriority(t))return t.renderingState=s.RenderingStates.PAUSED,void(t.resume=function(){t.renderingState=s.RenderingStates.RUNNING,e()});e()});var f=function(){var r,o=(r=i.default.mark((function r(o){return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(d===t.paintTask&&(t.paintTask=null),!(o instanceof a.RenderingCancelledException)){r.next=4;break}return t.error=null,r.abrupt("return");case 4:if(t.renderingState=s.RenderingStates.FINISHED,t.loadingIconDiv&&(e.removeChild(t.loadingIconDiv),delete t.loadingIconDiv),t._resetZoomLayer(!0),t.error=o,t.stats=n.stats,t.eventBus.dispatch("pagerendered",{source:t,pageNumber:t.id,cssTransform:!1,timestamp:performance.now()}),!o){r.next=12;break}throw o;case 12:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,i){var o=r.apply(t,e);function a(t){l(o,n,i,a,s,"next",t)}function s(t){l(o,n,i,a,s,"throw",t)}a(void 0)}))});return function(t){return o.apply(this,arguments)}}(),d=this.renderer===o.RendererType.SVG?this.paintOnSvg(r):this.paintOnCanvas(r);d.onRenderContinue=h,this.paintTask=d;var p=d.promise.then((function(){return f(null).then((function(){if(u){var t=n.streamTextContent({normalizeWhitespace:!0});u.setTextContentStream(t),u.render()}}))}),(function(t){return f(t)}));return this.annotationLayerFactory&&(this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder(e,n,this.imageResourcesPath,this.renderInteractiveForms,this.l10n)),this.annotationLayer.render(this.viewport,"display")),e.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),p}},{key:"paintOnCanvas",value:function(t){var e=(0,a.createPromiseCapability)(),n={promise:e.promise,onRenderContinue:function(t){t()},cancel:function(){m.cancel()}},r=this.viewport,i=document.createElement("canvas");this.l10n.get("page_canvas",{page:this.id},"Page {{page}}").then((function(t){i.setAttribute("aria-label",t)})),i.setAttribute("hidden","hidden");var s=!0,l=function(){s&&(i.removeAttribute("hidden"),s=!1)};t.appendChild(i),this.canvas=i,i.mozOpaque=!0;var u=i.getContext("2d",{alpha:!1}),c=(0,o.getOutputScale)(u);if(this.outputScale=c,this.useOnlyCssZoom){var h=r.clone({scale:o.CSS_UNITS});c.sx*=h.width/r.width,c.sy*=h.height/r.height,c.scaled=!0}if(this.maxCanvasPixels>0){var f=r.width*r.height,d=Math.sqrt(this.maxCanvasPixels/f);c.sx>d||c.sy>d?(c.sx=d,c.sy=d,c.scaled=!0,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}var p=(0,o.approximateFraction)(c.sx),v=(0,o.approximateFraction)(c.sy);i.width=(0,o.roundToDivide)(r.width*c.sx,p[0]),i.height=(0,o.roundToDivide)(r.height*c.sy,v[0]),i.style.width=(0,o.roundToDivide)(r.width,p[1])+"px",i.style.height=(0,o.roundToDivide)(r.height,v[1])+"px",this.paintedViewportMap.set(i,r);var g={canvasContext:u,transform:c.scaled?[c.sx,0,0,c.sy,0,0]:null,viewport:this.viewport,enableWebGL:this.enableWebGL,renderInteractiveForms:this.renderInteractiveForms},m=this.pdfPage.render(g);return m.onContinue=function(t){l(),n.onRenderContinue?n.onRenderContinue(t):t()},m.promise.then((function(){l(),e.resolve(void 0)}),(function(t){l(),e.reject(t)})),n}},{key:"paintOnSvg",value:function(t){var e=this,n=!1,r=function(){if(n)throw new a.RenderingCancelledException("Rendering cancelled, page ".concat(e.id),"svg")},i=this.pdfPage,l=this.viewport.clone({scale:o.CSS_UNITS});return{promise:i.getOperatorList().then((function(n){return r(),new a.SVGGraphics(i.commonObjs,i.objs).getSVG(n,l).then((function(n){r(),e.svg=n,e.paintedViewportMap.set(n,l),n.style.width=t.style.width,n.style.height=t.style.height,e.renderingState=s.RenderingStates.FINISHED,t.appendChild(n)}))})),onRenderContinue:function(t){t()},cancel:function(){n=!0}}}},{key:"setPageLabel",value:function(t){this.pageLabel="string"==typeof t?t:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}},{key:"width",get:function(){return this.viewport.width}},{key:"height",get:function(){return this.viewport.height}}])&&u(e.prototype,n),r&&u(e,r),t}();e.PDFPageView=h},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.PDFRenderingQueue=e.RenderingStates=void 0;var i={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};e.RenderingStates=i;var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}var e,n,o;return e=t,(n=[{key:"setViewer",value:function(t){this.pdfViewer=t}},{key:"setThumbnailViewer",value:function(t){this.pdfThumbnailViewer=t}},{key:"isHighestPriority",value:function(t){return this.highestPriorityPage===t.renderingId}},{key:"renderHighestPriority",value:function(t){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),this.pdfViewer.forceRendering(t)||this.pdfThumbnailViewer&&this.isThumbnailViewEnabled&&this.pdfThumbnailViewer.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4))}},{key:"getHighestPriority",value:function(t,e,n){var r=t.views,i=r.length;if(0===i)return null;for(var o=0;o<i;++o){var a=r[o].view;if(!this.isViewFinished(a))return a}if(n){var s=t.last.id;if(e[s]&&!this.isViewFinished(e[s]))return e[s]}else{var l=t.first.id-2;if(e[l]&&!this.isViewFinished(e[l]))return e[l]}return null}},{key:"isViewFinished",value:function(t){return t.renderingState===i.FINISHED}},{key:"renderView",value:function(t){var e=this;switch(t.renderingState){case i.FINISHED:return!1;case i.PAUSED:this.highestPriorityPage=t.renderingId,t.resume();break;case i.RUNNING:this.highestPriorityPage=t.renderingId;break;case i.INITIAL:this.highestPriorityPage=t.renderingId,t.draw().finally((function(){e.renderHighestPriority()})).catch((function(t){console.error('renderView: "'.concat(t,'"'))}))}return!0}}])&&r(e.prototype,n),o&&r(e,o),t}();e.PDFRenderingQueue=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PDFSinglePageViewer=void 0;var r=n(19),i=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(c,t);var e,n,r,o=u(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=o.call(this,t)).eventBus._on("pagesinit",(function(t){e._ensurePageViewVisible()})),e}return e=c,(n=[{key:"_resetView",value:function(){s(h(c.prototype),"_resetView",this).call(this),this._previousPageNumber=1,this._shadowViewer=document.createDocumentFragment(),this._updateScrollDown=null}},{key:"_ensurePageViewVisible",value:function(){var t=this._pages[this._currentPageNumber-1],e=this._pages[this._previousPageNumber-1],n=this.viewer.childNodes;switch(n.length){case 0:this.viewer.appendChild(t.div);break;case 1:if(n[0]!==e.div)throw new Error("_ensurePageViewVisible: Unexpected previously visible page.");if(t===e)break;this._shadowViewer.appendChild(e.div),this.viewer.appendChild(t.div),this.container.scrollTop=0;break;default:throw new Error("_ensurePageViewVisible: Only one page should be visible at a time.")}this._previousPageNumber=this._currentPageNumber}},{key:"_scrollUpdate",value:function(){this._updateScrollDown&&this._updateScrollDown(),s(h(c.prototype),"_scrollUpdate",this).call(this)}},{key:"_scrollIntoView",value:function(t){var e=this,n=t.pageDiv,r=t.pageSpot,i=void 0===r?null:r,o=t.pageNumber,a=void 0===o?null:o;a&&this._setCurrentPageNumber(a);var l=this._currentPageNumber>=this._previousPageNumber;this._ensurePageViewVisible(),this.update(),s(h(c.prototype),"_scrollIntoView",this).call(this,{pageDiv:n,pageSpot:i,pageNumber:a}),this._updateScrollDown=function(){e.scroll.down=l,e._updateScrollDown=null}}},{key:"_getVisiblePages",value:function(){return this._getCurrentVisiblePage()}},{key:"_updateHelper",value:function(t){}},{key:"_updateScrollMode",value:function(){}},{key:"_updateSpreadMode",value:function(){}},{key:"_viewerElement",get:function(){return(0,i.shadow)(this,"_viewerElement",this._shadowViewer)}},{key:"_isScrollModeHorizontal",get:function(){return(0,i.shadow)(this,"_isScrollModeHorizontal",!1)}}])&&a(e.prototype,n),r&&a(e,r),c}(r.BaseViewer);e.PDFSinglePageViewer=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaseViewer=void 0;var r=n(3),i=n(17),o=n(1),a=n(2),s=n(16),l=n(7),u=n(8);function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t){var e=[];this.push=function(n){var r=e.indexOf(n);r>=0&&e.splice(r,1),e.push(n),e.length>t&&e.shift().destroy()},this.resize=function(n,i){if(t=n,i){for(var o=new Set,a=0,s=i.length;a<s;++a)o.add(i[a].id);(0,r.moveToEndOfArray)(e,(function(t){return o.has(t.id)}))}for(;e.length>t;)e.shift().destroy()}}function f(t,e){return e===t||Math.abs(e-t)<1e-15}var d=function(){function t(e){var n=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.constructor===t)throw new Error("Cannot initialize BaseViewer.");this._name=this.constructor.name,this.container=e.container,this.viewer=e.viewer||e.container.firstElementChild,this.eventBus=e.eventBus,this.linkService=e.linkService||new l.SimpleLinkService,this.downloadManager=e.downloadManager||null,this.findController=e.findController||null,this.removePageBorders=e.removePageBorders||!1,this.textLayerMode=Number.isInteger(e.textLayerMode)?e.textLayerMode:r.TextLayerMode.ENABLE,this.imageResourcesPath=e.imageResourcesPath||"",this.renderInteractiveForms=e.renderInteractiveForms||!1,this.enablePrintAutoRotate=e.enablePrintAutoRotate||!1,this.renderer=e.renderer||r.RendererType.CANVAS,this.enableWebGL=e.enableWebGL||!1,this.useOnlyCssZoom=e.useOnlyCssZoom||!1,this.maxCanvasPixels=e.maxCanvasPixels,this.l10n=e.l10n||r.NullL10n,this.defaultRenderingQueue=!e.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new i.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=e.renderingQueue,this.scroll=(0,r.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=r.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),Promise.resolve().then((function(){n.eventBus.dispatch("baseviewerinit",{source:n})}))}var e,n,d;return e=t,(n=[{key:"getPageView",value:function(t){return this._pages[t]}},{key:"_setCurrentPageNumber",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._currentPageNumber===t?(e&&this._resetCurrentPageView(),!0):0<t&&t<=this.pagesCount&&(this._currentPageNumber=t,this.eventBus.dispatch("pagechanging",{source:this,pageNumber:t,pageLabel:this._pageLabels&&this._pageLabels[t-1]}),e&&this._resetCurrentPageView(),!0)}},{key:"_onePageRenderedOrForceFetch",value:function(){return this.container.offsetParent&&0!==this._getVisiblePages().views.length?this._onePageRenderedCapability.promise:Promise.resolve()}},{key:"setDocument",value:function(t){var e=this;if(this.pdfDocument&&(this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null)),this.pdfDocument=t,t){var n=t.numPages,i=t.getPage(1);this._pagesCapability.promise.then((function(){e.eventBus.dispatch("pagesloaded",{source:e,pagesCount:n})})),this._onBeforeDraw=function(t){var n=e._pages[t.pageNumber-1];n&&e._buffer.push(n)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=function(t){t.cssTransform||e._onePageRenderedCapability.settled||(e._onePageRenderedCapability.resolve(),e.eventBus._off("pagerendered",e._onAfterDraw),e._onAfterDraw=null)},this.eventBus._on("pagerendered",this._onAfterDraw),i.then((function(i){e._firstPageCapability.resolve(i);for(var o=e.currentScale,a=i.getViewport({scale:o*r.CSS_UNITS}),l=e.textLayerMode!==r.TextLayerMode.DISABLE?e:null,u=1;u<=n;++u){var c=new s.PDFPageView({container:e._viewerElement,eventBus:e.eventBus,id:u,scale:o,defaultViewport:a.clone(),renderingQueue:e.renderingQueue,textLayerFactory:l,textLayerMode:e.textLayerMode,annotationLayerFactory:e,imageResourcesPath:e.imageResourcesPath,renderInteractiveForms:e.renderInteractiveForms,renderer:e.renderer,enableWebGL:e.enableWebGL,useOnlyCssZoom:e.useOnlyCssZoom,maxCanvasPixels:e.maxCanvasPixels,l10n:e.l10n});e._pages.push(c)}var h=e._pages[0];h&&(h.setPdfPage(i),e.linkService.cachePageRef(1,i.ref)),e._spreadMode!==r.SpreadMode.NONE&&e._updateSpreadMode(),e._onePageRenderedOrForceFetch().then((function(){if(e.findController&&e.findController.setDocument(t),t.loadingParams.disableAutoFetch||n>7500)e._pagesCapability.resolve();else{var r=n-1;if(r<=0)e._pagesCapability.resolve();else for(var i=function(n){t.getPage(n).then((function(t){var i=e._pages[n-1];i.pdfPage||i.setPdfPage(t),e.linkService.cachePageRef(n,t.ref),0==--r&&e._pagesCapability.resolve()}),(function(t){console.error("Unable to get page ".concat(n," to initialize viewer"),t),0==--r&&e._pagesCapability.resolve()}))},o=2;o<=n;++o)i(o)}})),e.eventBus.dispatch("pagesinit",{source:e}),e.defaultRenderingQueue&&e.update()})).catch((function(t){console.error("Unable to initialize viewer",t)}))}}},{key:"setPageLabels",value:function(t){if(this.pdfDocument){t?Array.isArray(t)&&this.pdfDocument.numPages===t.length?this._pageLabels=t:(this._pageLabels=null,console.error("".concat(this._name,".setPageLabels: Invalid page labels."))):this._pageLabels=null;for(var e=0,n=this._pages.length;e<n;e++){var r=this._pages[e],i=this._pageLabels&&this._pageLabels[e];r.setPageLabel(i)}}}},{key:"_resetView",value:function(){this._pages=[],this._currentPageNumber=1,this._currentScale=r.UNKNOWN_SCALE,this._currentScaleValue=null,this._pageLabels=null,this._buffer=new h(10),this._location=null,this._pagesRotation=0,this._pagesRequests=new WeakMap,this._firstPageCapability=(0,a.createPromiseCapability)(),this._onePageRenderedCapability=(0,a.createPromiseCapability)(),this._pagesCapability=(0,a.createPromiseCapability)(),this._scrollMode=r.ScrollMode.VERTICAL,this._spreadMode=r.SpreadMode.NONE,this._onBeforeDraw&&(this.eventBus._off("pagerender",this._onBeforeDraw),this._onBeforeDraw=null),this._onAfterDraw&&(this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null),this.viewer.textContent="",this._updateScrollMode()}},{key:"_scrollUpdate",value:function(){0!==this.pagesCount&&this.update()}},{key:"_scrollIntoView",value:function(t){var e=t.pageDiv,n=t.pageSpot,i=void 0===n?null:n;t.pageNumber,(0,r.scrollIntoView)(e,i)}},{key:"_setScaleUpdatePages",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this._currentScaleValue=e.toString(),f(this._currentScale,t))r&&this.eventBus.dispatch("scalechanging",{source:this,scale:t,presetValue:e});else{for(var i=0,o=this._pages.length;i<o;i++)this._pages[i].update(t);if(this._currentScale=t,!n){var a,s=this._currentPageNumber;!this._location||this.isInPresentationMode||this.isChangingPresentationMode||(s=this._location.pageNumber,a=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:s,destArray:a,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:t,presetValue:r?e:void 0}),this.defaultRenderingQueue&&this.update()}}},{key:"_setScale",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=parseFloat(t);if(n>0)this._setScaleUpdatePages(n,t,e,!1);else{var i=this._pages[this._currentPageNumber-1];if(!i)return;var o=this.isInPresentationMode||this.removePageBorders,a=o?0:r.SCROLLBAR_PADDING,s=o?0:r.VERTICAL_PADDING;if(!o&&this._isScrollModeHorizontal){var l=[s,a];a=l[0],s=l[1]}var u=(this.container.clientWidth-a)/i.width*i.scale,c=(this.container.clientHeight-s)/i.height*i.scale;switch(t){case"page-actual":n=1;break;case"page-width":n=u;break;case"page-height":n=c;break;case"page-fit":n=Math.min(u,c);break;case"auto":var h=(0,r.isPortraitOrientation)(i)?u:Math.min(c,u);n=Math.min(r.MAX_AUTO_SCALE,h);break;default:return void console.error("".concat(this._name,'._setScale: "').concat(t,'" is an unknown zoom value.'))}this._setScaleUpdatePages(n,t,e,!0)}}},{key:"_resetCurrentPageView",value:function(){this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0);var t=this._pages[this._currentPageNumber-1];this._scrollIntoView({pageDiv:t.div})}},{key:"scrollPageIntoView",value:function(t){var e=t.pageNumber,n=t.destArray,i=void 0===n?null:n,o=t.allowNegativeOffset,a=void 0!==o&&o,s=t.ignoreDestinationZoom,l=void 0!==s&&s;if(this.pdfDocument){var u=Number.isInteger(e)&&this._pages[e-1];if(u)if(!this.isInPresentationMode&&i){var c,h,f=0,d=0,p=0,v=0,g=u.rotation%180!=0,m=(g?u.height:u.width)/u.scale/r.CSS_UNITS,y=(g?u.width:u.height)/u.scale/r.CSS_UNITS,b=0;switch(i[1].name){case"XYZ":f=i[2],d=i[3],b=i[4],f=null!==f?f:0,d=null!==d?d:y;break;case"Fit":case"FitB":b="page-fit";break;case"FitH":case"FitBH":b="page-width",null===(d=i[2])&&this._location&&(f=this._location.left,d=this._location.top);break;case"FitV":case"FitBV":f=i[2],p=m,v=y,b="page-height";break;case"FitR":f=i[2],d=i[3],p=i[4]-f,v=i[5]-d;var C=this.removePageBorders?0:r.SCROLLBAR_PADDING,w=this.removePageBorders?0:r.VERTICAL_PADDING;c=(this.container.clientWidth-C)/p/r.CSS_UNITS,h=(this.container.clientHeight-w)/v/r.CSS_UNITS,b=Math.min(Math.abs(c),Math.abs(h));break;default:return void console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(i[1].name,'" is not a valid destination type.'))}if(l||(b&&b!==this._currentScale?this.currentScaleValue=b:this._currentScale===r.UNKNOWN_SCALE&&(this.currentScaleValue=r.DEFAULT_SCALE_VALUE)),"page-fit"!==b||i[4]){var _=[u.viewport.convertToViewportPoint(f,d),u.viewport.convertToViewportPoint(f+p,d+v)],x=Math.min(_[0][0],_[1][0]),A=Math.min(_[0][1],_[1][1]);a||(x=Math.max(x,0),A=Math.max(A,0)),this._scrollIntoView({pageDiv:u.div,pageSpot:{left:x,top:A},pageNumber:e})}else this._scrollIntoView({pageDiv:u.div,pageNumber:e})}else this._setCurrentPageNumber(e,!0);else console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(e,'" is not a valid pageNumber parameter.'))}}},{key:"_updateLocation",value:function(t){var e=this._currentScale,n=this._currentScaleValue,r=parseFloat(n)===e?Math.round(1e4*e)/100:n,i=t.id,o="#page="+i;o+="&zoom="+r;var a=this._pages[i-1],s=this.container,l=a.getPagePoint(s.scrollLeft-t.x,s.scrollTop-t.y),u=Math.round(l[0]),c=Math.round(l[1]);o+=","+u+","+c,this._location={pageNumber:i,scale:r,top:c,left:u,rotation:this._pagesRotation,pdfOpenParams:o}}},{key:"_updateHelper",value:function(t){throw new Error("Not implemented: _updateHelper")}},{key:"update",value:function(){var t=this._getVisiblePages(),e=t.views,n=e.length;if(0!==n){var r=Math.max(10,2*n+1);this._buffer.resize(r,e),this.renderingQueue.renderHighestPriority(t),this._updateHelper(e),this._updateLocation(t.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}}},{key:"containsElement",value:function(t){return this.container.contains(t)}},{key:"focus",value:function(){this.container.focus()}},{key:"_getCurrentVisiblePage",value:function(){if(!this.pagesCount)return{views:[]};var t=this._pages[this._currentPageNumber-1],e=t.div,n={id:t.id,x:e.offsetLeft+e.clientLeft,y:e.offsetTop+e.clientTop,view:t};return{first:n,last:n,views:[n]}}},{key:"_getVisiblePages",value:function(){return(0,r.getVisibleElements)(this.container,this._pages,!0,this._isScrollModeHorizontal)}},{key:"isPageVisible",value:function(t){return!!this.pdfDocument&&(t<1||t>this.pagesCount?(console.error("".concat(this._name,'.isPageVisible: "').concat(t,'" is out of bounds.')),!1):this._getVisiblePages().views.some((function(e){return e.id===t})))}},{key:"cleanup",value:function(){for(var t=0,e=this._pages.length;t<e;t++)this._pages[t]&&this._pages[t].renderingState!==i.RenderingStates.FINISHED&&this._pages[t].reset()}},{key:"_cancelRendering",value:function(){for(var t=0,e=this._pages.length;t<e;t++)this._pages[t]&&this._pages[t].cancelRendering()}},{key:"_ensurePdfPageLoaded",value:function(t){var e=this;if(t.pdfPage)return Promise.resolve(t.pdfPage);if(this._pagesRequests.has(t))return this._pagesRequests.get(t);var n=this.pdfDocument.getPage(t.id).then((function(n){return t.pdfPage||t.setPdfPage(n),e._pagesRequests.delete(t),n})).catch((function(n){console.error("Unable to get page for page view",n),e._pagesRequests.delete(t)}));return this._pagesRequests.set(t,n),n}},{key:"forceRendering",value:function(t){var e=this,n=t||this._getVisiblePages(),r=this._isScrollModeHorizontal?this.scroll.right:this.scroll.down,i=this.renderingQueue.getHighestPriority(n,this._pages,r);return!!i&&(this._ensurePdfPageLoaded(i).then((function(){e.renderingQueue.renderView(i)})),!0)}},{key:"createTextLayerBuilder",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return new u.TextLayerBuilder({textLayerDiv:t,eventBus:i,pageIndex:e,viewport:n,findController:this.isInPresentationMode?null:this.findController,enhanceTextSelection:!this.isInPresentationMode&&r})}},{key:"createAnnotationLayerBuilder",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.NullL10n;return new o.AnnotationLayerBuilder({pageDiv:t,pdfPage:e,imageResourcesPath:n,renderInteractiveForms:i,linkService:this.linkService,downloadManager:this.downloadManager,l10n:a})}},{key:"getPagesOverview",value:function(){var t=this._pages.map((function(t){var e=t.pdfPage.getViewport({scale:1});return{width:e.width,height:e.height,rotation:e.rotation}}));if(!this.enablePrintAutoRotate)return t;var e=(0,r.isPortraitOrientation)(t[0]);return t.map((function(t){return e===(0,r.isPortraitOrientation)(t)?t:{width:t.height,height:t.width,rotation:(t.rotation+90)%360}}))}},{key:"_updateScrollMode",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this._scrollMode,n=this.viewer;n.classList.toggle("scrollHorizontal",e===r.ScrollMode.HORIZONTAL),n.classList.toggle("scrollWrapped",e===r.ScrollMode.WRAPPED),this.pdfDocument&&t&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(t,!0),this.update())}},{key:"_updateSpreadMode",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.pdfDocument){var e=this.viewer,n=this._pages;if(e.textContent="",this._spreadMode===r.SpreadMode.NONE)for(var i=0,o=n.length;i<o;++i)e.appendChild(n[i].div);else for(var a=this._spreadMode-1,s=null,l=0,u=n.length;l<u;++l)null===s?((s=document.createElement("div")).className="spread",e.appendChild(s)):l%2===a&&(s=s.cloneNode(!1),e.appendChild(s)),s.appendChild(n[l].div);t&&(this._setCurrentPageNumber(t,!0),this.update())}}},{key:"pagesCount",get:function(){return this._pages.length}},{key:"pageViewsReady",get:function(){return!!this._pagesCapability.settled&&this._pages.every((function(t){return t&&t.pdfPage}))}},{key:"currentPageNumber",get:function(){return this._currentPageNumber},set:function(t){if(!Number.isInteger(t))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(t,!0)||console.error("".concat(this._name,'.currentPageNumber: "').concat(t,'" is not a valid page.')))}},{key:"currentPageLabel",get:function(){return this._pageLabels&&this._pageLabels[this._currentPageNumber-1]},set:function(t){if(this.pdfDocument){var e=0|t;if(this._pageLabels){var n=this._pageLabels.indexOf(t);n>=0&&(e=n+1)}this._setCurrentPageNumber(e,!0)||console.error("".concat(this._name,'.currentPageLabel: "').concat(t,'" is not a valid page.'))}}},{key:"currentScale",get:function(){return this._currentScale!==r.UNKNOWN_SCALE?this._currentScale:r.DEFAULT_SCALE},set:function(t){if(isNaN(t))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(t,!1)}},{key:"currentScaleValue",get:function(){return this._currentScaleValue},set:function(t){this.pdfDocument&&this._setScale(t,!1)}},{key:"pagesRotation",get:function(){return this._pagesRotation},set:function(t){if(!(0,r.isValidRotation)(t))throw new Error("Invalid pages rotation angle.");if(this.pdfDocument&&this._pagesRotation!==t){this._pagesRotation=t;for(var e=this._currentPageNumber,n=0,i=this._pages.length;n<i;n++){var o=this._pages[n];o.update(o.scale,t)}this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:t,pageNumber:e}),this.defaultRenderingQueue&&this.update()}}},{key:"firstPagePromise",get:function(){return this.pdfDocument?this._firstPageCapability.promise:null}},{key:"onePageRendered",get:function(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}},{key:"pagesPromise",get:function(){return this.pdfDocument?this._pagesCapability.promise:null}},{key:"_viewerElement",get:function(){throw new Error("Not implemented: _viewerElement")}},{key:"_isScrollModeHorizontal",get:function(){return!this.isInPresentationMode&&this._scrollMode===r.ScrollMode.HORIZONTAL}},{key:"isInPresentationMode",get:function(){return this.presentationModeState===r.PresentationModeState.FULLSCREEN}},{key:"isChangingPresentationMode",get:function(){return this.presentationModeState===r.PresentationModeState.CHANGING}},{key:"isHorizontalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}},{key:"isVerticalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}},{key:"hasEqualPageSizes",get:function(){for(var t=this._pages[0],e=1,n=this._pages.length;e<n;++e){var r=this._pages[e];if(r.width!==t.width||r.height!==t.height)return!1}return!0}},{key:"scrollMode",get:function(){return this._scrollMode},set:function(t){if(this._scrollMode!==t){if(!(0,r.isValidScrollMode)(t))throw new Error("Invalid scroll mode: ".concat(t));this._scrollMode=t,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:t}),this._updateScrollMode(this._currentPageNumber)}}},{key:"spreadMode",get:function(){return this._spreadMode},set:function(t){if(this._spreadMode!==t){if(!(0,r.isValidSpreadMode)(t))throw new Error("Invalid spread mode: ".concat(t));this._spreadMode=t,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:t}),this._updateSpreadMode(this._currentPageNumber)}}}])&&c(e.prototype,n),d&&c(e,d),t}();e.BaseViewer=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PDFViewer=void 0;var r=n(19),i=n(2);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(s,t);var e,n,r,o=f(s);function s(){return l(this,s),o.apply(this,arguments)}return e=s,(n=[{key:"_scrollIntoView",value:function(t){var e=t.pageDiv,n=t.pageSpot,r=void 0===n?null:n,i=t.pageNumber,o=void 0===i?null:i;if(!r&&!this.isInPresentationMode){var a=e.offsetLeft+e.clientLeft,l=a+e.clientWidth,u=this.container,h=u.scrollLeft,f=u.clientWidth;(this._isScrollModeHorizontal||a<h||l>h+f)&&(r={left:0,top:0})}c(p(s.prototype),"_scrollIntoView",this).call(this,{pageDiv:e,pageSpot:r,pageNumber:o})}},{key:"_getVisiblePages",value:function(){return this.isInPresentationMode?this._getCurrentVisiblePage():c(p(s.prototype),"_getVisiblePages",this).call(this)}},{key:"_updateHelper",value:function(t){if(!this.isInPresentationMode){var e,n=this._currentPageNumber,r=!1,i=a(t);try{for(i.s();!(e=i.n()).done;){var o=e.value;if(o.percent<100)break;if(o.id===n){r=!0;break}}}catch(t){i.e(t)}finally{i.f()}r||(n=t[0].id),this._setCurrentPageNumber(n)}}},{key:"_viewerElement",get:function(){return(0,i.shadow)(this,"_viewerElement",this.viewer)}}])&&u(e.prototype,n),r&&u(e,r),s}(r.BaseViewer);e.PDFViewer=v}])},t.exports=r()}).call(this,n(9))},function(t,e,n){t.exports=function(){return new Worker(n.p+"b7cf90b4775181215df7.worker.js")}},function(t,e,n){"use strict";n(18)},function(t,e,n){(e=n(17)(!1)).push([t.i,'/* see https://github.com/mozilla/pdf.js/blob/55a853b6678cf3d05681ffbb521e5228e607b5d2/test/annotation_layer_test.css */\n.annotationLayer {\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n}\n.annotationLayer section {\n\tposition: absolute;\n}\n.annotationLayer .linkAnnotation > a {\n\tposition: absolute;\n\tfont-size: 1em;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n}\n.annotationLayer .linkAnnotation > a /* -ms-a */ {\n\tbackground: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;\n}\n.annotationLayer .linkAnnotation > a:hover {\n\topacity: 0.2;\n\tbackground: #ff0;\n\tbox-shadow: 0px 2px 10px #ff0;\n}\n.annotationLayer .textAnnotation img {\n\tposition: absolute;\n\tcursor: pointer;\n}\n.annotationLayer .textWidgetAnnotation input,\n.annotationLayer .textWidgetAnnotation textarea,\n.annotationLayer .choiceWidgetAnnotation select,\n.annotationLayer .buttonWidgetAnnotation.checkBox input,\n.annotationLayer .buttonWidgetAnnotation.radioButton input {\n\tbackground-color: rgba(0, 54, 255, 0.13);\n\tborder: 1px solid transparent;\n\tbox-sizing: border-box;\n\tfont-size: 9px;\n\theight: 100%;\n\tpadding: 0 3px;\n\tvertical-align: top;\n\twidth: 100%;\n}\n.annotationLayer .textWidgetAnnotation textarea {\n\tfont: message-box;\n\tfont-size: 9px;\n\tresize: none;\n}\n.annotationLayer .textWidgetAnnotation input[disabled],\n.annotationLayer .textWidgetAnnotation textarea[disabled],\n.annotationLayer .choiceWidgetAnnotation select[disabled],\n.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],\n.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {\n\tbackground: none;\n\tborder: 1px solid transparent;\n\tcursor: not-allowed;\n}\n.annotationLayer .textWidgetAnnotation input:hover,\n.annotationLayer .textWidgetAnnotation textarea:hover,\n.annotationLayer .choiceWidgetAnnotation select:hover,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,\n.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {\n\tborder: 1px solid #000;\n}\n.annotationLayer .textWidgetAnnotation input:focus,\n.annotationLayer .textWidgetAnnotation textarea:focus,\n.annotationLayer .choiceWidgetAnnotation select:focus {\n\tbackground: none;\n\tborder: 1px solid transparent;\n}\n.annotationLayer .textWidgetAnnotation input.comb {\n\tfont-family: monospace;\n\tpadding-left: 2px;\n\tpadding-right: 0;\n}\n.annotationLayer .textWidgetAnnotation input.comb:focus {\n\t/*\n\t * Letter spacing is placed on the right side of each character. Hence, the\n\t * letter spacing of the last character may be placed outside the visible\n\t * area, causing horizontal scrolling. We avoid this by extending the width\n\t * when the element has focus and revert this when it loses focus.\n\t */\n\twidth: 115%;\n}\n.annotationLayer .buttonWidgetAnnotation.checkBox input,\n.annotationLayer .buttonWidgetAnnotation.radioButton input {\n\t-webkit-appearance: none;\n\tappearance: none;\n}\n.annotationLayer .popupWrapper {\n\tposition: absolute;\n\twidth: 20em;\n}\n.annotationLayer .popup {\n\tposition: absolute;\n\tz-index: 200;\n\tmax-width: 20em;\n\tbackground-color: #FFFF99;\n\tbox-shadow: 0px 2px 5px #333;\n\tborder-radius: 2px;\n\tpadding: 0.6em;\n\tmargin-left: 5px;\n\tcursor: pointer;\n\tword-wrap: break-word;\n}\n.annotationLayer .popup h1 {\n\tfont-size: 1em;\n\tborder-bottom: 1px solid #000000;\n\tpadding-bottom: 0.2em;\n}\n.annotationLayer .popup p {\n\tpadding-top: 0.2em;\n}\n.annotationLayer .highlightAnnotation,\n.annotationLayer .underlineAnnotation,\n.annotationLayer .squigglyAnnotation,\n.annotationLayer .strikeoutAnnotation,\n.annotationLayer .lineAnnotation svg line,\n.annotationLayer .fileAttachmentAnnotation {\n\tcursor: pointer;\n}\n',""]),t.exports=e},function(t,e,n){(function(t,r){var i;
11
- /**
12
- * @license
13
- * Lodash <https://lodash.com/>
14
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
15
- * Released under MIT license <https://lodash.com/license>
16
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
17
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
18
- */(function(){var o="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",u="[object Array]",c="[object Boolean]",h="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",v="[object Map]",g="[object Number]",m="[object Object]",y="[object RegExp]",b="[object Set]",C="[object String]",w="[object Symbol]",_="[object WeakMap]",x="[object ArrayBuffer]",A="[object DataView]",S="[object Float32Array]",k="[object Float64Array]",P="[object Int8Array]",L="[object Int16Array]",T="[object Int32Array]",O="[object Uint8Array]",E="[object Uint16Array]",F="[object Uint32Array]",R=/\b__p \+= '';/g,I=/\b(__p \+=) '' \+/g,M=/(__e\(.*?\)|\b__t\)) \+\n'';/g,D=/&(?:amp|lt|gt|quot|#39);/g,B=/[&<>"']/g,N=RegExp(D.source),j=RegExp(B.source),z=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W=/^\w*$/,$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q=/[\\^$.*+?()[\]{}|]/g,G=RegExp(q.source),Y=/^\s+/,Z=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,it=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,ht=/['\n\r\u2028\u2029\\]/g,ft="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",dt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="[\\ud800-\\udfff]",vt="["+dt+"]",gt="["+ft+"]",mt="\\d+",yt="[\\u2700-\\u27bf]",bt="[a-z\\xdf-\\xf6\\xf8-\\xff]",Ct="[^\\ud800-\\udfff"+dt+mt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wt="\\ud83c[\\udffb-\\udfff]",_t="[^\\ud800-\\udfff]",xt="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",St="[A-Z\\xc0-\\xd6\\xd8-\\xde]",kt="(?:"+bt+"|"+Ct+")",Pt="(?:"+St+"|"+Ct+")",Lt="(?:"+gt+"|"+wt+")"+"?",Tt="[\\ufe0e\\ufe0f]?"+Lt+("(?:\\u200d(?:"+[_t,xt,At].join("|")+")[\\ufe0e\\ufe0f]?"+Lt+")*"),Ot="(?:"+[yt,xt,At].join("|")+")"+Tt,Et="(?:"+[_t+gt+"?",gt,xt,At,pt].join("|")+")",Ft=RegExp("['’]","g"),Rt=RegExp(gt,"g"),It=RegExp(wt+"(?="+wt+")|"+Et+Tt,"g"),Mt=RegExp([St+"?"+bt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[vt,St,"$"].join("|")+")",Pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[vt,St+kt,"$"].join("|")+")",St+"?"+kt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",St+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mt,Ot].join("|"),"g"),Dt=RegExp("[\\u200d\\ud800-\\udfff"+ft+"\\ufe0e\\ufe0f]"),Bt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],jt=-1,zt={};zt[S]=zt[k]=zt[P]=zt[L]=zt[T]=zt[O]=zt["[object Uint8ClampedArray]"]=zt[E]=zt[F]=!0,zt[l]=zt[u]=zt[x]=zt[c]=zt[A]=zt[h]=zt[f]=zt[d]=zt[v]=zt[g]=zt[m]=zt[y]=zt[b]=zt[C]=zt[_]=!1;var Ht={};Ht[l]=Ht[u]=Ht[x]=Ht[A]=Ht[c]=Ht[h]=Ht[S]=Ht[k]=Ht[P]=Ht[L]=Ht[T]=Ht[v]=Ht[g]=Ht[m]=Ht[y]=Ht[b]=Ht[C]=Ht[w]=Ht[O]=Ht["[object Uint8ClampedArray]"]=Ht[E]=Ht[F]=!0,Ht[f]=Ht[d]=Ht[_]=!1;var Ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Vt=parseFloat,Wt=parseInt,$t="object"==typeof t&&t&&t.Object===Object&&t,qt="object"==typeof self&&self&&self.Object===Object&&self,Gt=$t||qt||Function("return this")(),Yt=e&&!e.nodeType&&e,Zt=Yt&&"object"==typeof r&&r&&!r.nodeType&&r,Xt=Zt&&Zt.exports===Yt,Kt=Xt&&$t.process,Qt=function(){try{var t=Zt&&Zt.require&&Zt.require("util").types;return t||Kt&&Kt.binding&&Kt.binding("util")}catch(t){}}(),Jt=Qt&&Qt.isArrayBuffer,te=Qt&&Qt.isDate,ee=Qt&&Qt.isMap,ne=Qt&&Qt.isRegExp,re=Qt&&Qt.isSet,ie=Qt&&Qt.isTypedArray;function oe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ae(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function se(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function le(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function ue(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function ce(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function he(t,e){return!!(null==t?0:t.length)&&we(t,e,0)>-1}function fe(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function de(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function pe(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function ve(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function ge(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function me(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var ye=Se("length");function be(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function Ce(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function we(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):Ce(t,xe,n)}function _e(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function xe(t){return t!=t}function Ae(t,e){var n=null==t?0:t.length;return n?Le(t,e)/n:NaN}function Se(t){return function(e){return null==e?void 0:e[t]}}function ke(t){return function(e){return null==t?void 0:t[e]}}function Pe(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Le(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function Te(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Oe(t){return t?t.slice(0,Ye(t)+1).replace(Y,""):t}function Ee(t){return function(e){return t(e)}}function Fe(t,e){return de(e,(function(e){return t[e]}))}function Re(t,e){return t.has(e)}function Ie(t,e){for(var n=-1,r=t.length;++n<r&&we(e,t[n],0)>-1;);return n}function Me(t,e){for(var n=t.length;n--&&we(e,t[n],0)>-1;);return n}function De(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Be=ke({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Ne=ke({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function je(t){return"\\"+Ut[t]}function ze(t){return Dt.test(t)}function He(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Ue(t,e){return function(n){return t(e(n))}}function Ve(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[i++]=n)}return o}function We(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function $e(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function qe(t){return ze(t)?function(t){var e=It.lastIndex=0;for(;It.test(t);)++e;return e}(t):ye(t)}function Ge(t){return ze(t)?function(t){return t.match(It)||[]}(t):function(t){return t.split("")}(t)}function Ye(t){for(var e=t.length;e--&&Z.test(t.charAt(e)););return e}var Ze=ke({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Xe=function t(e){var n,r=(e=null==e?Gt:Xe.defaults(Gt.Object(),e,Xe.pick(Gt,Nt))).Array,i=e.Date,Z=e.Error,ft=e.Function,dt=e.Math,pt=e.Object,vt=e.RegExp,gt=e.String,mt=e.TypeError,yt=r.prototype,bt=ft.prototype,Ct=pt.prototype,wt=e["__core-js_shared__"],_t=bt.toString,xt=Ct.hasOwnProperty,At=0,St=(n=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",kt=Ct.toString,Pt=_t.call(pt),Lt=Gt._,Tt=vt("^"+_t.call(xt).replace(q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ot=Xt?e.Buffer:void 0,Et=e.Symbol,It=e.Uint8Array,Dt=Ot?Ot.allocUnsafe:void 0,Ut=Ue(pt.getPrototypeOf,pt),$t=pt.create,qt=Ct.propertyIsEnumerable,Yt=yt.splice,Zt=Et?Et.isConcatSpreadable:void 0,Kt=Et?Et.iterator:void 0,Qt=Et?Et.toStringTag:void 0,ye=function(){try{var t=to(pt,"defineProperty");return t({},"",{}),t}catch(t){}}(),ke=e.clearTimeout!==Gt.clearTimeout&&e.clearTimeout,Ke=i&&i.now!==Gt.Date.now&&i.now,Qe=e.setTimeout!==Gt.setTimeout&&e.setTimeout,Je=dt.ceil,tn=dt.floor,en=pt.getOwnPropertySymbols,nn=Ot?Ot.isBuffer:void 0,rn=e.isFinite,on=yt.join,an=Ue(pt.keys,pt),sn=dt.max,ln=dt.min,un=i.now,cn=e.parseInt,hn=dt.random,fn=yt.reverse,dn=to(e,"DataView"),pn=to(e,"Map"),vn=to(e,"Promise"),gn=to(e,"Set"),mn=to(e,"WeakMap"),yn=to(pt,"create"),bn=mn&&new mn,Cn={},wn=Lo(dn),_n=Lo(pn),xn=Lo(vn),An=Lo(gn),Sn=Lo(mn),kn=Et?Et.prototype:void 0,Pn=kn?kn.valueOf:void 0,Ln=kn?kn.toString:void 0;function Tn(t){if($a(t)&&!Ia(t)&&!(t instanceof Rn)){if(t instanceof Fn)return t;if(xt.call(t,"__wrapped__"))return To(t)}return new Fn(t)}var On=function(){function t(){}return function(e){if(!Wa(e))return{};if($t)return $t(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function En(){}function Fn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Rn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function In(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Mn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Dn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Bn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Dn;++e<n;)this.add(t[e])}function Nn(t){var e=this.__data__=new Mn(t);this.size=e.size}function jn(t,e){var n=Ia(t),r=!n&&Ra(t),i=!n&&!r&&Na(t),o=!n&&!r&&!i&&Ja(t),a=n||r||i||o,s=a?Te(t.length,gt):[],l=s.length;for(var u in t)!e&&!xt.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||so(u,l))||s.push(u);return s}function zn(t){var e=t.length;return e?t[Br(0,e-1)]:void 0}function Hn(t,e){return So(yi(t),Xn(e,0,t.length))}function Un(t){return So(yi(t))}function Vn(t,e,n){(void 0!==n&&!Oa(t[e],n)||void 0===n&&!(e in t))&&Yn(t,e,n)}function Wn(t,e,n){var r=t[e];xt.call(t,e)&&Oa(r,n)&&(void 0!==n||e in t)||Yn(t,e,n)}function $n(t,e){for(var n=t.length;n--;)if(Oa(t[n][0],e))return n;return-1}function qn(t,e,n,r){return er(t,(function(t,i,o){e(r,t,n(t),o)})),r}function Gn(t,e){return t&&bi(e,ws(e),t)}function Yn(t,e,n){"__proto__"==e&&ye?ye(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Zn(t,e){for(var n=-1,i=e.length,o=r(i),a=null==t;++n<i;)o[n]=a?void 0:gs(t,e[n]);return o}function Xn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Kn(t,e,n,r,i,o){var a,s=1&e,u=2&e,f=4&e;if(n&&(a=i?n(t,r,i,o):n(t)),void 0!==a)return a;if(!Wa(t))return t;var _=Ia(t);if(_){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&xt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return yi(t,a)}else{var R=ro(t),I=R==d||R==p;if(Na(t))return fi(t,s);if(R==m||R==l||I&&!i){if(a=u||I?{}:oo(t),!s)return u?function(t,e){return bi(t,no(t),e)}(t,function(t,e){return t&&bi(e,_s(e),t)}(a,t)):function(t,e){return bi(t,eo(t),e)}(t,Gn(a,t))}else{if(!Ht[R])return i?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case x:return di(t);case c:case h:return new r(+t);case A:return function(t,e){var n=e?di(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case S:case k:case P:case L:case T:case O:case"[object Uint8ClampedArray]":case E:case F:return pi(t,n);case v:return new r;case g:case C:return new r(t);case y:return function(t){var e=new t.constructor(t.source,rt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case b:return new r;case w:return i=t,Pn?pt(Pn.call(i)):{}}var i}(t,R,s)}}o||(o=new Nn);var M=o.get(t);if(M)return M;o.set(t,a),Xa(t)?t.forEach((function(r){a.add(Kn(r,e,n,r,t,o))})):qa(t)&&t.forEach((function(r,i){a.set(i,Kn(r,e,n,i,t,o))}));var D=_?void 0:(f?u?Gi:qi:u?_s:ws)(t);return se(D||t,(function(r,i){D&&(r=t[i=r]),Wn(a,i,Kn(r,e,n,i,t,o))})),a}function Qn(t,e,n){var r=n.length;if(null==t)return!r;for(t=pt(t);r--;){var i=n[r],o=e[i],a=t[i];if(void 0===a&&!(i in t)||!o(a))return!1}return!0}function Jn(t,e,n){if("function"!=typeof t)throw new mt(o);return wo((function(){t.apply(void 0,n)}),e)}function tr(t,e,n,r){var i=-1,o=he,a=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=de(e,Ee(n))),r?(o=fe,a=!1):e.length>=200&&(o=Re,a=!1,e=new Bn(e));t:for(;++i<s;){var c=t[i],h=null==n?c:n(c);if(c=r||0!==c?c:0,a&&h==h){for(var f=u;f--;)if(e[f]===h)continue t;l.push(c)}else o(e,h,r)||l.push(c)}return l}Tn.templateSettings={escape:z,evaluate:H,interpolate:U,variable:"",imports:{_:Tn}},Tn.prototype=En.prototype,Tn.prototype.constructor=Tn,Fn.prototype=On(En.prototype),Fn.prototype.constructor=Fn,Rn.prototype=On(En.prototype),Rn.prototype.constructor=Rn,In.prototype.clear=function(){this.__data__=yn?yn(null):{},this.size=0},In.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},In.prototype.get=function(t){var e=this.__data__;if(yn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return xt.call(e,t)?e[t]:void 0},In.prototype.has=function(t){var e=this.__data__;return yn?void 0!==e[t]:xt.call(e,t)},In.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=yn&&void 0===e?"__lodash_hash_undefined__":e,this},Mn.prototype.clear=function(){this.__data__=[],this.size=0},Mn.prototype.delete=function(t){var e=this.__data__,n=$n(e,t);return!(n<0)&&(n==e.length-1?e.pop():Yt.call(e,n,1),--this.size,!0)},Mn.prototype.get=function(t){var e=this.__data__,n=$n(e,t);return n<0?void 0:e[n][1]},Mn.prototype.has=function(t){return $n(this.__data__,t)>-1},Mn.prototype.set=function(t,e){var n=this.__data__,r=$n(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Dn.prototype.clear=function(){this.size=0,this.__data__={hash:new In,map:new(pn||Mn),string:new In}},Dn.prototype.delete=function(t){var e=Qi(this,t).delete(t);return this.size-=e?1:0,e},Dn.prototype.get=function(t){return Qi(this,t).get(t)},Dn.prototype.has=function(t){return Qi(this,t).has(t)},Dn.prototype.set=function(t,e){var n=Qi(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Bn.prototype.add=Bn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Bn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.clear=function(){this.__data__=new Mn,this.size=0},Nn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Nn.prototype.get=function(t){return this.__data__.get(t)},Nn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Mn){var r=n.__data__;if(!pn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Dn(r)}return n.set(t,e),this.size=n.size,this};var er=_i(ur),nr=_i(cr,!0);function rr(t,e){var n=!0;return er(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function ir(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(void 0===s?a==a&&!Qa(a):n(a,s)))var s=a,l=o}return l}function or(t,e){var n=[];return er(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function ar(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=ao),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?ar(s,e-1,n,r,i):pe(i,s):r||(i[i.length]=s)}return i}var sr=xi(),lr=xi(!0);function ur(t,e){return t&&sr(t,e,ws)}function cr(t,e){return t&&lr(t,e,ws)}function hr(t,e){return ce(e,(function(e){return Ha(t[e])}))}function fr(t,e){for(var n=0,r=(e=li(e,t)).length;null!=t&&n<r;)t=t[Po(e[n++])];return n&&n==r?t:void 0}function dr(t,e,n){var r=e(t);return Ia(t)?r:pe(r,n(t))}function pr(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Qt&&Qt in pt(t)?function(t){var e=xt.call(t,Qt),n=t[Qt];try{t[Qt]=void 0;var r=!0}catch(t){}var i=kt.call(t);r&&(e?t[Qt]=n:delete t[Qt]);return i}(t):function(t){return kt.call(t)}(t)}function vr(t,e){return t>e}function gr(t,e){return null!=t&&xt.call(t,e)}function mr(t,e){return null!=t&&e in pt(t)}function yr(t,e,n){for(var i=n?fe:he,o=t[0].length,a=t.length,s=a,l=r(a),u=1/0,c=[];s--;){var h=t[s];s&&e&&(h=de(h,Ee(e))),u=ln(h.length,u),l[s]=!n&&(e||o>=120&&h.length>=120)?new Bn(s&&h):void 0}h=t[0];var f=-1,d=l[0];t:for(;++f<o&&c.length<u;){var p=h[f],v=e?e(p):p;if(p=n||0!==p?p:0,!(d?Re(d,v):i(c,v,n))){for(s=a;--s;){var g=l[s];if(!(g?Re(g,v):i(t[s],v,n)))continue t}d&&d.push(v),c.push(p)}}return c}function br(t,e,n){var r=null==(t=mo(t,e=li(e,t)))?t:t[Po(zo(e))];return null==r?void 0:oe(r,t,n)}function Cr(t){return $a(t)&&pr(t)==l}function wr(t,e,n,r,i){return t===e||(null==t||null==e||!$a(t)&&!$a(e)?t!=t&&e!=e:function(t,e,n,r,i,o){var a=Ia(t),s=Ia(e),d=a?u:ro(t),p=s?u:ro(e),_=(d=d==l?m:d)==m,S=(p=p==l?m:p)==m,k=d==p;if(k&&Na(t)){if(!Na(e))return!1;a=!0,_=!1}if(k&&!_)return o||(o=new Nn),a||Ja(t)?Wi(t,e,n,r,i,o):function(t,e,n,r,i,o,a){switch(n){case A:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!o(new It(t),new It(e)));case c:case h:case g:return Oa(+t,+e);case f:return t.name==e.name&&t.message==e.message;case y:case C:return t==e+"";case v:var s=He;case b:var l=1&r;if(s||(s=We),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;r|=2,a.set(t,e);var d=Wi(s(t),s(e),r,i,o,a);return a.delete(t),d;case w:if(Pn)return Pn.call(t)==Pn.call(e)}return!1}(t,e,d,n,r,i,o);if(!(1&n)){var P=_&&xt.call(t,"__wrapped__"),L=S&&xt.call(e,"__wrapped__");if(P||L){var T=P?t.value():t,O=L?e.value():e;return o||(o=new Nn),i(T,O,n,r,o)}}if(!k)return!1;return o||(o=new Nn),function(t,e,n,r,i,o){var a=1&n,s=qi(t),l=s.length,u=qi(e).length;if(l!=u&&!a)return!1;var c=l;for(;c--;){var h=s[c];if(!(a?h in e:xt.call(e,h)))return!1}var f=o.get(t),d=o.get(e);if(f&&d)return f==e&&d==t;var p=!0;o.set(t,e),o.set(e,t);var v=a;for(;++c<l;){h=s[c];var g=t[h],m=e[h];if(r)var y=a?r(m,g,h,e,t,o):r(g,m,h,t,e,o);if(!(void 0===y?g===m||i(g,m,n,r,o):y)){p=!1;break}v||(v="constructor"==h)}if(p&&!v){var b=t.constructor,C=e.constructor;b==C||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof C&&C instanceof C||(p=!1)}return o.delete(t),o.delete(e),p}(t,e,n,r,i,o)}(t,e,n,r,wr,i))}function _r(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=pt(t);i--;){var s=n[i];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){var l=(s=n[i])[0],u=t[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in t))return!1}else{var h=new Nn;if(r)var f=r(u,c,l,t,e,h);if(!(void 0===f?wr(c,u,3,r,h):f))return!1}}return!0}function xr(t){return!(!Wa(t)||(e=t,St&&St in e))&&(Ha(t)?Tt:at).test(Lo(t));var e}function Ar(t){return"function"==typeof t?t:null==t?Gs:"object"==typeof t?Ia(t)?Or(t[0],t[1]):Tr(t):nl(t)}function Sr(t){if(!fo(t))return an(t);var e=[];for(var n in pt(t))xt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function kr(t){if(!Wa(t))return function(t){var e=[];if(null!=t)for(var n in pt(t))e.push(n);return e}(t);var e=fo(t),n=[];for(var r in t)("constructor"!=r||!e&&xt.call(t,r))&&n.push(r);return n}function Pr(t,e){return t<e}function Lr(t,e){var n=-1,i=Da(t)?r(t.length):[];return er(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function Tr(t){var e=Ji(t);return 1==e.length&&e[0][2]?vo(e[0][0],e[0][1]):function(n){return n===t||_r(n,t,e)}}function Or(t,e){return uo(t)&&po(e)?vo(Po(t),e):function(n){var r=gs(n,t);return void 0===r&&r===e?ms(n,t):wr(e,r,3)}}function Er(t,e,n,r,i){t!==e&&sr(e,(function(o,a){if(i||(i=new Nn),Wa(o))!function(t,e,n,r,i,o,a){var s=bo(t,n),l=bo(e,n),u=a.get(l);if(u)return void Vn(t,n,u);var c=o?o(s,l,n+"",t,e,a):void 0,h=void 0===c;if(h){var f=Ia(l),d=!f&&Na(l),p=!f&&!d&&Ja(l);c=l,f||d||p?Ia(s)?c=s:Ba(s)?c=yi(s):d?(h=!1,c=fi(l,!0)):p?(h=!1,c=pi(l,!0)):c=[]:Ya(l)||Ra(l)?(c=s,Ra(s)?c=ss(s):Wa(s)&&!Ha(s)||(c=oo(l))):h=!1}h&&(a.set(l,c),i(c,l,r,o,a),a.delete(l));Vn(t,n,c)}(t,e,a,n,Er,r,i);else{var s=r?r(bo(t,a),o,a+"",t,e,i):void 0;void 0===s&&(s=o),Vn(t,a,s)}}),_s)}function Fr(t,e){var n=t.length;if(n)return so(e+=e<0?n:0,n)?t[e]:void 0}function Rr(t,e,n){e=e.length?de(e,(function(t){return Ia(t)?function(e){return fr(e,1===t.length?t[0]:t)}:t})):[Gs];var r=-1;return e=de(e,Ee(Ki())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(Lr(t,(function(t,n,i){return{criteria:de(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;for(;++r<a;){var l=vi(i[r],o[r]);if(l){if(r>=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function Ir(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=fr(t,a);n(s,a)&&Ur(o,li(a,t),s)}return o}function Mr(t,e,n,r){var i=r?_e:we,o=-1,a=e.length,s=t;for(t===e&&(e=yi(e)),n&&(s=de(t,Ee(n)));++o<a;)for(var l=0,u=e[o],c=n?n(u):u;(l=i(s,c,l,r))>-1;)s!==t&&Yt.call(s,l,1),Yt.call(t,l,1);return t}function Dr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;so(i)?Yt.call(t,i,1):ti(t,i)}}return t}function Br(t,e){return t+tn(hn()*(e-t+1))}function Nr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function jr(t,e){return _o(go(t,e,Gs),t+"")}function zr(t){return zn(Os(t))}function Hr(t,e){var n=Os(t);return So(n,Xn(e,0,n.length))}function Ur(t,e,n,r){if(!Wa(t))return t;for(var i=-1,o=(e=li(e,t)).length,a=o-1,s=t;null!=s&&++i<o;){var l=Po(e[i]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(i!=a){var c=s[l];void 0===(u=r?r(c,l,s):void 0)&&(u=Wa(c)?c:so(e[i+1])?[]:{})}Wn(s,l,u),s=s[l]}return t}var Vr=bn?function(t,e){return bn.set(t,e),t}:Gs,Wr=ye?function(t,e){return ye(t,"toString",{configurable:!0,enumerable:!1,value:Ws(e),writable:!0})}:Gs;function $r(t){return So(Os(t))}function qr(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i<o;)a[i]=t[i+e];return a}function Gr(t,e){var n;return er(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function Yr(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!Qa(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return Zr(t,e,Gs,n)}function Zr(t,e,n,r){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(e=n(e))!=e,s=null===e,l=Qa(e),u=void 0===e;i<o;){var c=tn((i+o)/2),h=n(t[c]),f=void 0!==h,d=null===h,p=h==h,v=Qa(h);if(a)var g=r||p;else g=u?p&&(r||f):s?p&&f&&(r||!d):l?p&&f&&!d&&(r||!v):!d&&!v&&(r?h<=e:h<e);g?i=c+1:o=c}return ln(o,4294967294)}function Xr(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Oa(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function Kr(t){return"number"==typeof t?t:Qa(t)?NaN:+t}function Qr(t){if("string"==typeof t)return t;if(Ia(t))return de(t,Qr)+"";if(Qa(t))return Ln?Ln.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Jr(t,e,n){var r=-1,i=he,o=t.length,a=!0,s=[],l=s;if(n)a=!1,i=fe;else if(o>=200){var u=e?null:Ni(t);if(u)return We(u);a=!1,i=Re,l=new Bn}else l=e?[]:s;t:for(;++r<o;){var c=t[r],h=e?e(c):c;if(c=n||0!==c?c:0,a&&h==h){for(var f=l.length;f--;)if(l[f]===h)continue t;e&&l.push(h),s.push(c)}else i(l,h,n)||(l!==s&&l.push(h),s.push(c))}return s}function ti(t,e){return null==(t=mo(t,e=li(e,t)))||delete t[Po(zo(e))]}function ei(t,e,n,r){return Ur(t,e,n(fr(t,e)),r)}function ni(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?qr(t,r?0:o,r?o+1:i):qr(t,r?o+1:0,r?i:o)}function ri(t,e){var n=t;return n instanceof Rn&&(n=n.value()),ve(e,(function(t,e){return e.func.apply(e.thisArg,pe([t],e.args))}),n)}function ii(t,e,n){var i=t.length;if(i<2)return i?Jr(t[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=t[o],l=-1;++l<i;)l!=o&&(a[o]=tr(a[o]||s,t[l],e,n));return Jr(ar(a,1),e,n)}function oi(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var s=r<o?e[r]:void 0;n(a,t[r],s)}return a}function ai(t){return Ba(t)?t:[]}function si(t){return"function"==typeof t?t:Gs}function li(t,e){return Ia(t)?t:uo(t,e)?[t]:ko(ls(t))}var ui=jr;function ci(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:qr(t,e,n)}var hi=ke||function(t){return Gt.clearTimeout(t)};function fi(t,e){if(e)return t.slice();var n=t.length,r=Dt?Dt(n):new t.constructor(n);return t.copy(r),r}function di(t){var e=new t.constructor(t.byteLength);return new It(e).set(new It(t)),e}function pi(t,e){var n=e?di(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function vi(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,o=Qa(t),a=void 0!==e,s=null===e,l=e==e,u=Qa(e);if(!s&&!u&&!o&&t>e||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&t<e||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}function gi(t,e,n,i){for(var o=-1,a=t.length,s=n.length,l=-1,u=e.length,c=sn(a-s,0),h=r(u+c),f=!i;++l<u;)h[l]=e[l];for(;++o<s;)(f||o<a)&&(h[n[o]]=t[o]);for(;c--;)h[l++]=t[o++];return h}function mi(t,e,n,i){for(var o=-1,a=t.length,s=-1,l=n.length,u=-1,c=e.length,h=sn(a-l,0),f=r(h+c),d=!i;++o<h;)f[o]=t[o];for(var p=o;++u<c;)f[p+u]=e[u];for(;++s<l;)(d||o<a)&&(f[p+n[s]]=t[o++]);return f}function yi(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function bi(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=r?r(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),i?Yn(n,s,l):Wn(n,s,l)}return n}function Ci(t,e){return function(n,r){var i=Ia(n)?ae:qn,o=e?e():{};return i(n,t,Ki(r,2),o)}}function wi(t){return jr((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,a&&lo(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),e=pt(e);++r<i;){var s=n[r];s&&t(e,s,r,o)}return e}))}function _i(t,e){return function(n,r){if(null==n)return n;if(!Da(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=pt(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function xi(t){return function(e,n,r){for(var i=-1,o=pt(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(!1===n(o[l],l,o))break}return e}}function Ai(t){return function(e){var n=ze(e=ls(e))?Ge(e):void 0,r=n?n[0]:e.charAt(0),i=n?ci(n,1).join(""):e.slice(1);return r[t]()+i}}function Si(t){return function(e){return ve(Hs(Rs(e).replace(Ft,"")),t,"")}}function ki(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=On(t.prototype),r=t.apply(n,e);return Wa(r)?r:n}}function Pi(t){return function(e,n,r){var i=pt(e);if(!Da(e)){var o=Ki(n,3);e=ws(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:void 0}}function Li(t){return $i((function(e){var n=e.length,r=n,i=Fn.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new mt(o);if(i&&!s&&"wrapper"==Zi(a))var s=new Fn([],!0)}for(r=s?r:n;++r<n;){var l=Zi(a=e[r]),u="wrapper"==l?Yi(a):void 0;s=u&&co(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?s[Zi(u[0])].apply(s,u[3]):1==a.length&&co(a)?s[l]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&Ia(r))return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function Ti(t,e,n,i,o,a,s,l,u,c){var h=128&e,f=1&e,d=2&e,p=24&e,v=512&e,g=d?void 0:ki(t);return function m(){for(var y=arguments.length,b=r(y),C=y;C--;)b[C]=arguments[C];if(p)var w=Xi(m),_=De(b,w);if(i&&(b=gi(b,i,o,p)),a&&(b=mi(b,a,s,p)),y-=_,p&&y<c){var x=Ve(b,w);return Di(t,e,Ti,m.placeholder,n,b,x,l,u,c-y)}var A=f?n:this,S=d?A[t]:t;return y=b.length,l?b=yo(b,l):v&&y>1&&b.reverse(),h&&u<y&&(b.length=u),this&&this!==Gt&&this instanceof m&&(S=g||ki(S)),S.apply(A,b)}}function Oi(t,e){return function(n,r){return function(t,e,n,r){return ur(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function Ei(t,e){return function(n,r){var i;if(void 0===n&&void 0===r)return e;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Qr(n),r=Qr(r)):(n=Kr(n),r=Kr(r)),i=t(n,r)}return i}}function Fi(t){return $i((function(e){return e=de(e,Ee(Ki())),jr((function(n){var r=this;return t(e,(function(t){return oe(t,r,n)}))}))}))}function Ri(t,e){var n=(e=void 0===e?" ":Qr(e)).length;if(n<2)return n?Nr(e,t):e;var r=Nr(e,Je(t/qe(e)));return ze(e)?ci(Ge(r),0,t).join(""):r.slice(0,t)}function Ii(t){return function(e,n,i){return i&&"number"!=typeof i&&lo(e,n,i)&&(n=i=void 0),e=rs(e),void 0===n?(n=e,e=0):n=rs(n),function(t,e,n,i){for(var o=-1,a=sn(Je((e-t)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=t,t+=n;return s}(e,n,i=void 0===i?e<n?1:-1:rs(i),t)}}function Mi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=as(e),n=as(n)),t(e,n)}}function Di(t,e,n,r,i,o,a,s,l,u){var c=8&e;e|=c?32:64,4&(e&=~(c?64:32))||(e&=-4);var h=[t,e,i,c?o:void 0,c?a:void 0,c?void 0:o,c?void 0:a,s,l,u],f=n.apply(void 0,h);return co(t)&&Co(f,h),f.placeholder=r,xo(f,t,e)}function Bi(t){var e=dt[t];return function(t,n){if(t=as(t),(n=null==n?0:ln(is(n),292))&&rn(t)){var r=(ls(t)+"e").split("e");return+((r=(ls(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ni=gn&&1/We(new gn([,-0]))[1]==1/0?function(t){return new gn(t)}:Qs;function ji(t){return function(e){var n=ro(e);return n==v?He(e):n==b?$e(e):function(t,e){return de(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function zi(t,e,n,i,s,l,u,c){var h=2&e;if(!h&&"function"!=typeof t)throw new mt(o);var f=i?i.length:0;if(f||(e&=-97,i=s=void 0),u=void 0===u?u:sn(is(u),0),c=void 0===c?c:is(c),f-=s?s.length:0,64&e){var d=i,p=s;i=s=void 0}var v=h?void 0:Yi(t),g=[t,e,n,i,s,d,p,l,u,c];if(v&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,s=128==r&&8==n||128==r&&256==n&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var l=e[3];if(l){var u=t[3];t[3]=u?gi(u,l,e[4]):l,t[4]=u?Ve(t[3],a):e[4]}(l=e[5])&&(u=t[5],t[5]=u?mi(u,l,e[6]):l,t[6]=u?Ve(t[5],a):e[6]);(l=e[7])&&(t[7]=l);128&r&&(t[8]=null==t[8]?e[8]:ln(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(g,v),t=g[0],e=g[1],n=g[2],i=g[3],s=g[4],!(c=g[9]=void 0===g[9]?h?0:t.length:sn(g[9]-f,0))&&24&e&&(e&=-25),e&&1!=e)m=8==e||16==e?function(t,e,n){var i=ki(t);return function o(){for(var a=arguments.length,s=r(a),l=a,u=Xi(o);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==u&&s[a-1]!==u?[]:Ve(s,u);if((a-=c.length)<n)return Di(t,e,Ti,o.placeholder,void 0,s,c,void 0,void 0,n-a);var h=this&&this!==Gt&&this instanceof o?i:t;return oe(h,this,s)}}(t,e,c):32!=e&&33!=e||s.length?Ti.apply(void 0,g):function(t,e,n,i){var o=1&e,a=ki(t);return function e(){for(var s=-1,l=arguments.length,u=-1,c=i.length,h=r(c+l),f=this&&this!==Gt&&this instanceof e?a:t;++u<c;)h[u]=i[u];for(;l--;)h[u++]=arguments[++s];return oe(f,o?n:this,h)}}(t,e,n,i);else var m=function(t,e,n){var r=1&e,i=ki(t);return function e(){var o=this&&this!==Gt&&this instanceof e?i:t;return o.apply(r?n:this,arguments)}}(t,e,n);return xo((v?Vr:Co)(m,g),t,e)}function Hi(t,e,n,r){return void 0===t||Oa(t,Ct[n])&&!xt.call(r,n)?e:t}function Ui(t,e,n,r,i,o){return Wa(t)&&Wa(e)&&(o.set(e,t),Er(t,e,void 0,Ui,o),o.delete(e)),t}function Vi(t){return Ya(t)?void 0:t}function Wi(t,e,n,r,i,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t),c=o.get(e);if(u&&c)return u==e&&c==t;var h=-1,f=!0,d=2&n?new Bn:void 0;for(o.set(t,e),o.set(e,t);++h<s;){var p=t[h],v=e[h];if(r)var g=a?r(v,p,h,e,t,o):r(p,v,h,t,e,o);if(void 0!==g){if(g)continue;f=!1;break}if(d){if(!me(e,(function(t,e){if(!Re(d,e)&&(p===t||i(p,t,n,r,o)))return d.push(e)}))){f=!1;break}}else if(p!==v&&!i(p,v,n,r,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function $i(t){return _o(go(t,void 0,Mo),t+"")}function qi(t){return dr(t,ws,eo)}function Gi(t){return dr(t,_s,no)}var Yi=bn?function(t){return bn.get(t)}:Qs;function Zi(t){for(var e=t.name+"",n=Cn[e],r=xt.call(Cn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Xi(t){return(xt.call(Tn,"placeholder")?Tn:t).placeholder}function Ki(){var t=Tn.iteratee||Ys;return t=t===Ys?Ar:t,arguments.length?t(arguments[0],arguments[1]):t}function Qi(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ji(t){for(var e=ws(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,po(i)]}return e}function to(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return xr(n)?n:void 0}var eo=en?function(t){return null==t?[]:(t=pt(t),ce(en(t),(function(e){return qt.call(t,e)})))}:ol,no=en?function(t){for(var e=[];t;)pe(e,eo(t)),t=Ut(t);return e}:ol,ro=pr;function io(t,e,n){for(var r=-1,i=(e=li(e,t)).length,o=!1;++r<i;){var a=Po(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Va(i)&&so(a,i)&&(Ia(t)||Ra(t))}function oo(t){return"function"!=typeof t.constructor||fo(t)?{}:On(Ut(t))}function ao(t){return Ia(t)||Ra(t)||!!(Zt&&t&&t[Zt])}function so(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&lt.test(t))&&t>-1&&t%1==0&&t<e}function lo(t,e,n){if(!Wa(n))return!1;var r=typeof e;return!!("number"==r?Da(n)&&so(e,n.length):"string"==r&&e in n)&&Oa(n[e],t)}function uo(t,e){if(Ia(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Qa(t))||(W.test(t)||!V.test(t)||null!=e&&t in pt(e))}function co(t){var e=Zi(t),n=Tn[e];if("function"!=typeof n||!(e in Rn.prototype))return!1;if(t===n)return!0;var r=Yi(n);return!!r&&t===r[0]}(dn&&ro(new dn(new ArrayBuffer(1)))!=A||pn&&ro(new pn)!=v||vn&&"[object Promise]"!=ro(vn.resolve())||gn&&ro(new gn)!=b||mn&&ro(new mn)!=_)&&(ro=function(t){var e=pr(t),n=e==m?t.constructor:void 0,r=n?Lo(n):"";if(r)switch(r){case wn:return A;case _n:return v;case xn:return"[object Promise]";case An:return b;case Sn:return _}return e});var ho=wt?Ha:al;function fo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ct)}function po(t){return t==t&&!Wa(t)}function vo(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in pt(n)))}}function go(t,e,n){return e=sn(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=sn(i.length-e,0),s=r(a);++o<a;)s[o]=i[e+o];o=-1;for(var l=r(e+1);++o<e;)l[o]=i[o];return l[e]=n(s),oe(t,this,l)}}function mo(t,e){return e.length<2?t:fr(t,qr(e,0,-1))}function yo(t,e){for(var n=t.length,r=ln(e.length,n),i=yi(t);r--;){var o=e[r];t[r]=so(o,n)?i[o]:void 0}return t}function bo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Co=Ao(Vr),wo=Qe||function(t,e){return Gt.setTimeout(t,e)},_o=Ao(Wr);function xo(t,e,n){var r=e+"";return _o(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(X,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return se(s,(function(n){var r="_."+n[0];e&n[1]&&!he(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(K);return e?e[1].split(Q):[]}(r),n)))}function Ao(t){var e=0,n=0;return function(){var r=un(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function So(t,e){var n=-1,r=t.length,i=r-1;for(e=void 0===e?r:e;++n<e;){var o=Br(n,i),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}var ko=function(t){var e=Aa(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace($,(function(t,n,r,i){e.push(r?i.replace(et,"$1"):n||t)})),e}));function Po(t){if("string"==typeof t||Qa(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Lo(t){if(null!=t){try{return _t.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function To(t){if(t instanceof Rn)return t.clone();var e=new Fn(t.__wrapped__,t.__chain__);return e.__actions__=yi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Oo=jr((function(t,e){return Ba(t)?tr(t,ar(e,1,Ba,!0)):[]})),Eo=jr((function(t,e){var n=zo(e);return Ba(n)&&(n=void 0),Ba(t)?tr(t,ar(e,1,Ba,!0),Ki(n,2)):[]})),Fo=jr((function(t,e){var n=zo(e);return Ba(n)&&(n=void 0),Ba(t)?tr(t,ar(e,1,Ba,!0),void 0,n):[]}));function Ro(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:is(n);return i<0&&(i=sn(r+i,0)),Ce(t,Ki(e,3),i)}function Io(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=is(n),i=n<0?sn(r+i,0):ln(i,r-1)),Ce(t,Ki(e,3),i,!0)}function Mo(t){return(null==t?0:t.length)?ar(t,1):[]}function Do(t){return t&&t.length?t[0]:void 0}var Bo=jr((function(t){var e=de(t,ai);return e.length&&e[0]===t[0]?yr(e):[]})),No=jr((function(t){var e=zo(t),n=de(t,ai);return e===zo(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?yr(n,Ki(e,2)):[]})),jo=jr((function(t){var e=zo(t),n=de(t,ai);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?yr(n,void 0,e):[]}));function zo(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Ho=jr(Uo);function Uo(t,e){return t&&t.length&&e&&e.length?Mr(t,e):t}var Vo=$i((function(t,e){var n=null==t?0:t.length,r=Zn(t,e);return Dr(t,de(e,(function(t){return so(t,n)?+t:t})).sort(vi)),r}));function Wo(t){return null==t?t:fn.call(t)}var $o=jr((function(t){return Jr(ar(t,1,Ba,!0))})),qo=jr((function(t){var e=zo(t);return Ba(e)&&(e=void 0),Jr(ar(t,1,Ba,!0),Ki(e,2))})),Go=jr((function(t){var e=zo(t);return e="function"==typeof e?e:void 0,Jr(ar(t,1,Ba,!0),void 0,e)}));function Yo(t){if(!t||!t.length)return[];var e=0;return t=ce(t,(function(t){if(Ba(t))return e=sn(t.length,e),!0})),Te(e,(function(e){return de(t,Se(e))}))}function Zo(t,e){if(!t||!t.length)return[];var n=Yo(t);return null==e?n:de(n,(function(t){return oe(e,void 0,t)}))}var Xo=jr((function(t,e){return Ba(t)?tr(t,e):[]})),Ko=jr((function(t){return ii(ce(t,Ba))})),Qo=jr((function(t){var e=zo(t);return Ba(e)&&(e=void 0),ii(ce(t,Ba),Ki(e,2))})),Jo=jr((function(t){var e=zo(t);return e="function"==typeof e?e:void 0,ii(ce(t,Ba),void 0,e)})),ta=jr(Yo);var ea=jr((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Zo(t,n)}));function na(t){var e=Tn(t);return e.__chain__=!0,e}function ra(t,e){return e(t)}var ia=$i((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Zn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Rn&&so(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:ra,args:[i],thisArg:void 0}),new Fn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)}));var oa=Ci((function(t,e,n){xt.call(t,n)?++t[n]:Yn(t,n,1)}));var aa=Pi(Ro),sa=Pi(Io);function la(t,e){return(Ia(t)?se:er)(t,Ki(e,3))}function ua(t,e){return(Ia(t)?le:nr)(t,Ki(e,3))}var ca=Ci((function(t,e,n){xt.call(t,n)?t[n].push(e):Yn(t,n,[e])}));var ha=jr((function(t,e,n){var i=-1,o="function"==typeof e,a=Da(t)?r(t.length):[];return er(t,(function(t){a[++i]=o?oe(e,t,n):br(t,e,n)})),a})),fa=Ci((function(t,e,n){Yn(t,n,e)}));function da(t,e){return(Ia(t)?de:Lr)(t,Ki(e,3))}var pa=Ci((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var va=jr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&lo(t,e[0],e[1])?e=[]:n>2&&lo(e[0],e[1],e[2])&&(e=[e[0]]),Rr(t,ar(e,1),[])})),ga=Ke||function(){return Gt.Date.now()};function ma(t,e,n){return e=n?void 0:e,zi(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function ya(t,e){var n;if("function"!=typeof e)throw new mt(o);return t=is(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var ba=jr((function(t,e,n){var r=1;if(n.length){var i=Ve(n,Xi(ba));r|=32}return zi(t,r,e,n,i)})),Ca=jr((function(t,e,n){var r=3;if(n.length){var i=Ve(n,Xi(Ca));r|=32}return zi(e,r,t,n,i)}));function wa(t,e,n){var r,i,a,s,l,u,c=0,h=!1,f=!1,d=!0;if("function"!=typeof t)throw new mt(o);function p(e){var n=r,o=i;return r=i=void 0,c=e,s=t.apply(o,n)}function v(t){return c=t,l=wo(m,e),h?p(t):s}function g(t){var n=t-u;return void 0===u||n>=e||n<0||f&&t-c>=a}function m(){var t=ga();if(g(t))return y(t);l=wo(m,function(t){var n=e-(t-u);return f?ln(n,a-(t-c)):n}(t))}function y(t){return l=void 0,d&&r?p(t):(r=i=void 0,s)}function b(){var t=ga(),n=g(t);if(r=arguments,i=this,u=t,n){if(void 0===l)return v(u);if(f)return hi(l),l=wo(m,e),p(u)}return void 0===l&&(l=wo(m,e)),s}return e=as(e)||0,Wa(n)&&(h=!!n.leading,a=(f="maxWait"in n)?sn(as(n.maxWait)||0,e):a,d="trailing"in n?!!n.trailing:d),b.cancel=function(){void 0!==l&&hi(l),c=0,r=u=i=l=void 0},b.flush=function(){return void 0===l?s:y(ga())},b}var _a=jr((function(t,e){return Jn(t,1,e)})),xa=jr((function(t,e,n){return Jn(t,as(e)||0,n)}));function Aa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new mt(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Aa.Cache||Dn),n}function Sa(t){if("function"!=typeof t)throw new mt(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Aa.Cache=Dn;var ka=ui((function(t,e){var n=(e=1==e.length&&Ia(e[0])?de(e[0],Ee(Ki())):de(ar(e,1),Ee(Ki()))).length;return jr((function(r){for(var i=-1,o=ln(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return oe(t,this,r)}))})),Pa=jr((function(t,e){return zi(t,32,void 0,e,Ve(e,Xi(Pa)))})),La=jr((function(t,e){return zi(t,64,void 0,e,Ve(e,Xi(La)))})),Ta=$i((function(t,e){return zi(t,256,void 0,void 0,void 0,e)}));function Oa(t,e){return t===e||t!=t&&e!=e}var Ea=Mi(vr),Fa=Mi((function(t,e){return t>=e})),Ra=Cr(function(){return arguments}())?Cr:function(t){return $a(t)&&xt.call(t,"callee")&&!qt.call(t,"callee")},Ia=r.isArray,Ma=Jt?Ee(Jt):function(t){return $a(t)&&pr(t)==x};function Da(t){return null!=t&&Va(t.length)&&!Ha(t)}function Ba(t){return $a(t)&&Da(t)}var Na=nn||al,ja=te?Ee(te):function(t){return $a(t)&&pr(t)==h};function za(t){if(!$a(t))return!1;var e=pr(t);return e==f||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Ya(t)}function Ha(t){if(!Wa(t))return!1;var e=pr(t);return e==d||e==p||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Ua(t){return"number"==typeof t&&t==is(t)}function Va(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Wa(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function $a(t){return null!=t&&"object"==typeof t}var qa=ee?Ee(ee):function(t){return $a(t)&&ro(t)==v};function Ga(t){return"number"==typeof t||$a(t)&&pr(t)==g}function Ya(t){if(!$a(t)||pr(t)!=m)return!1;var e=Ut(t);if(null===e)return!0;var n=xt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&_t.call(n)==Pt}var Za=ne?Ee(ne):function(t){return $a(t)&&pr(t)==y};var Xa=re?Ee(re):function(t){return $a(t)&&ro(t)==b};function Ka(t){return"string"==typeof t||!Ia(t)&&$a(t)&&pr(t)==C}function Qa(t){return"symbol"==typeof t||$a(t)&&pr(t)==w}var Ja=ie?Ee(ie):function(t){return $a(t)&&Va(t.length)&&!!zt[pr(t)]};var ts=Mi(Pr),es=Mi((function(t,e){return t<=e}));function ns(t){if(!t)return[];if(Da(t))return Ka(t)?Ge(t):yi(t);if(Kt&&t[Kt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Kt]());var e=ro(t);return(e==v?He:e==b?We:Os)(t)}function rs(t){return t?(t=as(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function is(t){var e=rs(t),n=e%1;return e==e?n?e-n:e:0}function os(t){return t?Xn(is(t),0,4294967295):0}function as(t){if("number"==typeof t)return t;if(Qa(t))return NaN;if(Wa(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Wa(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Oe(t);var n=ot.test(t);return n||st.test(t)?Wt(t.slice(2),n?2:8):it.test(t)?NaN:+t}function ss(t){return bi(t,_s(t))}function ls(t){return null==t?"":Qr(t)}var us=wi((function(t,e){if(fo(e)||Da(e))bi(e,ws(e),t);else for(var n in e)xt.call(e,n)&&Wn(t,n,e[n])})),cs=wi((function(t,e){bi(e,_s(e),t)})),hs=wi((function(t,e,n,r){bi(e,_s(e),t,r)})),fs=wi((function(t,e,n,r){bi(e,ws(e),t,r)})),ds=$i(Zn);var ps=jr((function(t,e){t=pt(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&lo(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],a=_s(o),s=-1,l=a.length;++s<l;){var u=a[s],c=t[u];(void 0===c||Oa(c,Ct[u])&&!xt.call(t,u))&&(t[u]=o[u])}return t})),vs=jr((function(t){return t.push(void 0,Ui),oe(As,void 0,t)}));function gs(t,e,n){var r=null==t?void 0:fr(t,e);return void 0===r?n:r}function ms(t,e){return null!=t&&io(t,e,mr)}var ys=Oi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=kt.call(e)),t[e]=n}),Ws(Gs)),bs=Oi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=kt.call(e)),xt.call(t,e)?t[e].push(n):t[e]=[n]}),Ki),Cs=jr(br);function ws(t){return Da(t)?jn(t):Sr(t)}function _s(t){return Da(t)?jn(t,!0):kr(t)}var xs=wi((function(t,e,n){Er(t,e,n)})),As=wi((function(t,e,n,r){Er(t,e,n,r)})),Ss=$i((function(t,e){var n={};if(null==t)return n;var r=!1;e=de(e,(function(e){return e=li(e,t),r||(r=e.length>1),e})),bi(t,Gi(t),n),r&&(n=Kn(n,7,Vi));for(var i=e.length;i--;)ti(n,e[i]);return n}));var ks=$i((function(t,e){return null==t?{}:function(t,e){return Ir(t,e,(function(e,n){return ms(t,n)}))}(t,e)}));function Ps(t,e){if(null==t)return{};var n=de(Gi(t),(function(t){return[t]}));return e=Ki(e),Ir(t,n,(function(t,n){return e(t,n[0])}))}var Ls=ji(ws),Ts=ji(_s);function Os(t){return null==t?[]:Fe(t,ws(t))}var Es=Si((function(t,e,n){return e=e.toLowerCase(),t+(n?Fs(e):e)}));function Fs(t){return zs(ls(t).toLowerCase())}function Rs(t){return(t=ls(t))&&t.replace(ut,Be).replace(Rt,"")}var Is=Si((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ms=Si((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ds=Ai("toLowerCase");var Bs=Si((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Ns=Si((function(t,e,n){return t+(n?" ":"")+zs(e)}));var js=Si((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),zs=Ai("toUpperCase");function Hs(t,e,n){return t=ls(t),void 0===(e=n?void 0:e)?function(t){return Bt.test(t)}(t)?function(t){return t.match(Mt)||[]}(t):function(t){return t.match(J)||[]}(t):t.match(e)||[]}var Us=jr((function(t,e){try{return oe(t,void 0,e)}catch(t){return za(t)?t:new Z(t)}})),Vs=$i((function(t,e){return se(e,(function(e){e=Po(e),Yn(t,e,ba(t[e],t))})),t}));function Ws(t){return function(){return t}}var $s=Li(),qs=Li(!0);function Gs(t){return t}function Ys(t){return Ar("function"==typeof t?t:Kn(t,1))}var Zs=jr((function(t,e){return function(n){return br(n,t,e)}})),Xs=jr((function(t,e){return function(n){return br(t,n,e)}}));function Ks(t,e,n){var r=ws(e),i=hr(e,r);null!=n||Wa(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=hr(e,ws(e)));var o=!(Wa(n)&&"chain"in n&&!n.chain),a=Ha(t);return se(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=yi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,pe([this.value()],arguments))})})),t}function Qs(){}var Js=Fi(de),tl=Fi(ue),el=Fi(me);function nl(t){return uo(t)?Se(Po(t)):function(t){return function(e){return fr(e,t)}}(t)}var rl=Ii(),il=Ii(!0);function ol(){return[]}function al(){return!1}var sl=Ei((function(t,e){return t+e}),0),ll=Bi("ceil"),ul=Ei((function(t,e){return t/e}),1),cl=Bi("floor");var hl,fl=Ei((function(t,e){return t*e}),1),dl=Bi("round"),pl=Ei((function(t,e){return t-e}),0);return Tn.after=function(t,e){if("function"!=typeof e)throw new mt(o);return t=is(t),function(){if(--t<1)return e.apply(this,arguments)}},Tn.ary=ma,Tn.assign=us,Tn.assignIn=cs,Tn.assignInWith=hs,Tn.assignWith=fs,Tn.at=ds,Tn.before=ya,Tn.bind=ba,Tn.bindAll=Vs,Tn.bindKey=Ca,Tn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ia(t)?t:[t]},Tn.chain=na,Tn.chunk=function(t,e,n){e=(n?lo(t,e,n):void 0===e)?1:sn(is(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var o=0,a=0,s=r(Je(i/e));o<i;)s[a++]=qr(t,o,o+=e);return s},Tn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},Tn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return pe(Ia(n)?yi(n):[n],ar(e,1))},Tn.cond=function(t){var e=null==t?0:t.length,n=Ki();return t=e?de(t,(function(t){if("function"!=typeof t[1])throw new mt(o);return[n(t[0]),t[1]]})):[],jr((function(n){for(var r=-1;++r<e;){var i=t[r];if(oe(i[0],this,n))return oe(i[1],this,n)}}))},Tn.conforms=function(t){return function(t){var e=ws(t);return function(n){return Qn(n,t,e)}}(Kn(t,1))},Tn.constant=Ws,Tn.countBy=oa,Tn.create=function(t,e){var n=On(t);return null==e?n:Gn(n,e)},Tn.curry=function t(e,n,r){var i=zi(e,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=t.placeholder,i},Tn.curryRight=function t(e,n,r){var i=zi(e,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=t.placeholder,i},Tn.debounce=wa,Tn.defaults=ps,Tn.defaultsDeep=vs,Tn.defer=_a,Tn.delay=xa,Tn.difference=Oo,Tn.differenceBy=Eo,Tn.differenceWith=Fo,Tn.drop=function(t,e,n){var r=null==t?0:t.length;return r?qr(t,(e=n||void 0===e?1:is(e))<0?0:e,r):[]},Tn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?qr(t,0,(e=r-(e=n||void 0===e?1:is(e)))<0?0:e):[]},Tn.dropRightWhile=function(t,e){return t&&t.length?ni(t,Ki(e,3),!0,!0):[]},Tn.dropWhile=function(t,e){return t&&t.length?ni(t,Ki(e,3),!0):[]},Tn.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&lo(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=is(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:is(r))<0&&(r+=i),r=n>r?0:os(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Tn.filter=function(t,e){return(Ia(t)?ce:or)(t,Ki(e,3))},Tn.flatMap=function(t,e){return ar(da(t,e),1)},Tn.flatMapDeep=function(t,e){return ar(da(t,e),1/0)},Tn.flatMapDepth=function(t,e,n){return n=void 0===n?1:is(n),ar(da(t,e),n)},Tn.flatten=Mo,Tn.flattenDeep=function(t){return(null==t?0:t.length)?ar(t,1/0):[]},Tn.flattenDepth=function(t,e){return(null==t?0:t.length)?ar(t,e=void 0===e?1:is(e)):[]},Tn.flip=function(t){return zi(t,512)},Tn.flow=$s,Tn.flowRight=qs,Tn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Tn.functions=function(t){return null==t?[]:hr(t,ws(t))},Tn.functionsIn=function(t){return null==t?[]:hr(t,_s(t))},Tn.groupBy=ca,Tn.initial=function(t){return(null==t?0:t.length)?qr(t,0,-1):[]},Tn.intersection=Bo,Tn.intersectionBy=No,Tn.intersectionWith=jo,Tn.invert=ys,Tn.invertBy=bs,Tn.invokeMap=ha,Tn.iteratee=Ys,Tn.keyBy=fa,Tn.keys=ws,Tn.keysIn=_s,Tn.map=da,Tn.mapKeys=function(t,e){var n={};return e=Ki(e,3),ur(t,(function(t,r,i){Yn(n,e(t,r,i),t)})),n},Tn.mapValues=function(t,e){var n={};return e=Ki(e,3),ur(t,(function(t,r,i){Yn(n,r,e(t,r,i))})),n},Tn.matches=function(t){return Tr(Kn(t,1))},Tn.matchesProperty=function(t,e){return Or(t,Kn(e,1))},Tn.memoize=Aa,Tn.merge=xs,Tn.mergeWith=As,Tn.method=Zs,Tn.methodOf=Xs,Tn.mixin=Ks,Tn.negate=Sa,Tn.nthArg=function(t){return t=is(t),jr((function(e){return Fr(e,t)}))},Tn.omit=Ss,Tn.omitBy=function(t,e){return Ps(t,Sa(Ki(e)))},Tn.once=function(t){return ya(2,t)},Tn.orderBy=function(t,e,n,r){return null==t?[]:(Ia(e)||(e=null==e?[]:[e]),Ia(n=r?void 0:n)||(n=null==n?[]:[n]),Rr(t,e,n))},Tn.over=Js,Tn.overArgs=ka,Tn.overEvery=tl,Tn.overSome=el,Tn.partial=Pa,Tn.partialRight=La,Tn.partition=pa,Tn.pick=ks,Tn.pickBy=Ps,Tn.property=nl,Tn.propertyOf=function(t){return function(e){return null==t?void 0:fr(t,e)}},Tn.pull=Ho,Tn.pullAll=Uo,Tn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Mr(t,e,Ki(n,2)):t},Tn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Mr(t,e,void 0,n):t},Tn.pullAt=Vo,Tn.range=rl,Tn.rangeRight=il,Tn.rearg=Ta,Tn.reject=function(t,e){return(Ia(t)?ce:or)(t,Sa(Ki(e,3)))},Tn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=Ki(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return Dr(t,i),n},Tn.rest=function(t,e){if("function"!=typeof t)throw new mt(o);return jr(t,e=void 0===e?e:is(e))},Tn.reverse=Wo,Tn.sampleSize=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:is(e),(Ia(t)?Hn:Hr)(t,e)},Tn.set=function(t,e,n){return null==t?t:Ur(t,e,n)},Tn.setWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:Ur(t,e,n,r)},Tn.shuffle=function(t){return(Ia(t)?Un:$r)(t)},Tn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&lo(t,e,n)?(e=0,n=r):(e=null==e?0:is(e),n=void 0===n?r:is(n)),qr(t,e,n)):[]},Tn.sortBy=va,Tn.sortedUniq=function(t){return t&&t.length?Xr(t):[]},Tn.sortedUniqBy=function(t,e){return t&&t.length?Xr(t,Ki(e,2)):[]},Tn.split=function(t,e,n){return n&&"number"!=typeof n&&lo(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=ls(t))&&("string"==typeof e||null!=e&&!Za(e))&&!(e=Qr(e))&&ze(t)?ci(Ge(t),0,n):t.split(e,n):[]},Tn.spread=function(t,e){if("function"!=typeof t)throw new mt(o);return e=null==e?0:sn(is(e),0),jr((function(n){var r=n[e],i=ci(n,0,e);return r&&pe(i,r),oe(t,this,i)}))},Tn.tail=function(t){var e=null==t?0:t.length;return e?qr(t,1,e):[]},Tn.take=function(t,e,n){return t&&t.length?qr(t,0,(e=n||void 0===e?1:is(e))<0?0:e):[]},Tn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?qr(t,(e=r-(e=n||void 0===e?1:is(e)))<0?0:e,r):[]},Tn.takeRightWhile=function(t,e){return t&&t.length?ni(t,Ki(e,3),!1,!0):[]},Tn.takeWhile=function(t,e){return t&&t.length?ni(t,Ki(e,3)):[]},Tn.tap=function(t,e){return e(t),t},Tn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new mt(o);return Wa(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),wa(t,e,{leading:r,maxWait:e,trailing:i})},Tn.thru=ra,Tn.toArray=ns,Tn.toPairs=Ls,Tn.toPairsIn=Ts,Tn.toPath=function(t){return Ia(t)?de(t,Po):Qa(t)?[t]:yi(ko(ls(t)))},Tn.toPlainObject=ss,Tn.transform=function(t,e,n){var r=Ia(t),i=r||Na(t)||Ja(t);if(e=Ki(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Wa(t)&&Ha(o)?On(Ut(t)):{}}return(i?se:ur)(t,(function(t,r,i){return e(n,t,r,i)})),n},Tn.unary=function(t){return ma(t,1)},Tn.union=$o,Tn.unionBy=qo,Tn.unionWith=Go,Tn.uniq=function(t){return t&&t.length?Jr(t):[]},Tn.uniqBy=function(t,e){return t&&t.length?Jr(t,Ki(e,2)):[]},Tn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Jr(t,void 0,e):[]},Tn.unset=function(t,e){return null==t||ti(t,e)},Tn.unzip=Yo,Tn.unzipWith=Zo,Tn.update=function(t,e,n){return null==t?t:ei(t,e,si(n))},Tn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:ei(t,e,si(n),r)},Tn.values=Os,Tn.valuesIn=function(t){return null==t?[]:Fe(t,_s(t))},Tn.without=Xo,Tn.words=Hs,Tn.wrap=function(t,e){return Pa(si(e),t)},Tn.xor=Ko,Tn.xorBy=Qo,Tn.xorWith=Jo,Tn.zip=ta,Tn.zipObject=function(t,e){return oi(t||[],e||[],Wn)},Tn.zipObjectDeep=function(t,e){return oi(t||[],e||[],Ur)},Tn.zipWith=ea,Tn.entries=Ls,Tn.entriesIn=Ts,Tn.extend=cs,Tn.extendWith=hs,Ks(Tn,Tn),Tn.add=sl,Tn.attempt=Us,Tn.camelCase=Es,Tn.capitalize=Fs,Tn.ceil=ll,Tn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=as(n))==n?n:0),void 0!==e&&(e=(e=as(e))==e?e:0),Xn(as(t),e,n)},Tn.clone=function(t){return Kn(t,4)},Tn.cloneDeep=function(t){return Kn(t,5)},Tn.cloneDeepWith=function(t,e){return Kn(t,5,e="function"==typeof e?e:void 0)},Tn.cloneWith=function(t,e){return Kn(t,4,e="function"==typeof e?e:void 0)},Tn.conformsTo=function(t,e){return null==e||Qn(t,e,ws(e))},Tn.deburr=Rs,Tn.defaultTo=function(t,e){return null==t||t!=t?e:t},Tn.divide=ul,Tn.endsWith=function(t,e,n){t=ls(t),e=Qr(e);var r=t.length,i=n=void 0===n?r:Xn(is(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Tn.eq=Oa,Tn.escape=function(t){return(t=ls(t))&&j.test(t)?t.replace(B,Ne):t},Tn.escapeRegExp=function(t){return(t=ls(t))&&G.test(t)?t.replace(q,"\\$&"):t},Tn.every=function(t,e,n){var r=Ia(t)?ue:rr;return n&&lo(t,e,n)&&(e=void 0),r(t,Ki(e,3))},Tn.find=aa,Tn.findIndex=Ro,Tn.findKey=function(t,e){return be(t,Ki(e,3),ur)},Tn.findLast=sa,Tn.findLastIndex=Io,Tn.findLastKey=function(t,e){return be(t,Ki(e,3),cr)},Tn.floor=cl,Tn.forEach=la,Tn.forEachRight=ua,Tn.forIn=function(t,e){return null==t?t:sr(t,Ki(e,3),_s)},Tn.forInRight=function(t,e){return null==t?t:lr(t,Ki(e,3),_s)},Tn.forOwn=function(t,e){return t&&ur(t,Ki(e,3))},Tn.forOwnRight=function(t,e){return t&&cr(t,Ki(e,3))},Tn.get=gs,Tn.gt=Ea,Tn.gte=Fa,Tn.has=function(t,e){return null!=t&&io(t,e,gr)},Tn.hasIn=ms,Tn.head=Do,Tn.identity=Gs,Tn.includes=function(t,e,n,r){t=Da(t)?t:Os(t),n=n&&!r?is(n):0;var i=t.length;return n<0&&(n=sn(i+n,0)),Ka(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&we(t,e,n)>-1},Tn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:is(n);return i<0&&(i=sn(r+i,0)),we(t,e,i)},Tn.inRange=function(t,e,n){return e=rs(e),void 0===n?(n=e,e=0):n=rs(n),function(t,e,n){return t>=ln(e,n)&&t<sn(e,n)}(t=as(t),e,n)},Tn.invoke=Cs,Tn.isArguments=Ra,Tn.isArray=Ia,Tn.isArrayBuffer=Ma,Tn.isArrayLike=Da,Tn.isArrayLikeObject=Ba,Tn.isBoolean=function(t){return!0===t||!1===t||$a(t)&&pr(t)==c},Tn.isBuffer=Na,Tn.isDate=ja,Tn.isElement=function(t){return $a(t)&&1===t.nodeType&&!Ya(t)},Tn.isEmpty=function(t){if(null==t)return!0;if(Da(t)&&(Ia(t)||"string"==typeof t||"function"==typeof t.splice||Na(t)||Ja(t)||Ra(t)))return!t.length;var e=ro(t);if(e==v||e==b)return!t.size;if(fo(t))return!Sr(t).length;for(var n in t)if(xt.call(t,n))return!1;return!0},Tn.isEqual=function(t,e){return wr(t,e)},Tn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===r?wr(t,e,void 0,n):!!r},Tn.isError=za,Tn.isFinite=function(t){return"number"==typeof t&&rn(t)},Tn.isFunction=Ha,Tn.isInteger=Ua,Tn.isLength=Va,Tn.isMap=qa,Tn.isMatch=function(t,e){return t===e||_r(t,e,Ji(e))},Tn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,_r(t,e,Ji(e),n)},Tn.isNaN=function(t){return Ga(t)&&t!=+t},Tn.isNative=function(t){if(ho(t))throw new Z("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return xr(t)},Tn.isNil=function(t){return null==t},Tn.isNull=function(t){return null===t},Tn.isNumber=Ga,Tn.isObject=Wa,Tn.isObjectLike=$a,Tn.isPlainObject=Ya,Tn.isRegExp=Za,Tn.isSafeInteger=function(t){return Ua(t)&&t>=-9007199254740991&&t<=9007199254740991},Tn.isSet=Xa,Tn.isString=Ka,Tn.isSymbol=Qa,Tn.isTypedArray=Ja,Tn.isUndefined=function(t){return void 0===t},Tn.isWeakMap=function(t){return $a(t)&&ro(t)==_},Tn.isWeakSet=function(t){return $a(t)&&"[object WeakSet]"==pr(t)},Tn.join=function(t,e){return null==t?"":on.call(t,e)},Tn.kebabCase=Is,Tn.last=zo,Tn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=is(n))<0?sn(r+i,0):ln(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):Ce(t,xe,i,!0)},Tn.lowerCase=Ms,Tn.lowerFirst=Ds,Tn.lt=ts,Tn.lte=es,Tn.max=function(t){return t&&t.length?ir(t,Gs,vr):void 0},Tn.maxBy=function(t,e){return t&&t.length?ir(t,Ki(e,2),vr):void 0},Tn.mean=function(t){return Ae(t,Gs)},Tn.meanBy=function(t,e){return Ae(t,Ki(e,2))},Tn.min=function(t){return t&&t.length?ir(t,Gs,Pr):void 0},Tn.minBy=function(t,e){return t&&t.length?ir(t,Ki(e,2),Pr):void 0},Tn.stubArray=ol,Tn.stubFalse=al,Tn.stubObject=function(){return{}},Tn.stubString=function(){return""},Tn.stubTrue=function(){return!0},Tn.multiply=fl,Tn.nth=function(t,e){return t&&t.length?Fr(t,is(e)):void 0},Tn.noConflict=function(){return Gt._===this&&(Gt._=Lt),this},Tn.noop=Qs,Tn.now=ga,Tn.pad=function(t,e,n){t=ls(t);var r=(e=is(e))?qe(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Ri(tn(i),n)+t+Ri(Je(i),n)},Tn.padEnd=function(t,e,n){t=ls(t);var r=(e=is(e))?qe(t):0;return e&&r<e?t+Ri(e-r,n):t},Tn.padStart=function(t,e,n){t=ls(t);var r=(e=is(e))?qe(t):0;return e&&r<e?Ri(e-r,n)+t:t},Tn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),cn(ls(t).replace(Y,""),e||0)},Tn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&lo(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=rs(t),void 0===e?(e=t,t=0):e=rs(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=hn();return ln(t+i*(e-t+Vt("1e-"+((i+"").length-1))),e)}return Br(t,e)},Tn.reduce=function(t,e,n){var r=Ia(t)?ve:Pe,i=arguments.length<3;return r(t,Ki(e,4),n,i,er)},Tn.reduceRight=function(t,e,n){var r=Ia(t)?ge:Pe,i=arguments.length<3;return r(t,Ki(e,4),n,i,nr)},Tn.repeat=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:is(e),Nr(ls(t),e)},Tn.replace=function(){var t=arguments,e=ls(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Tn.result=function(t,e,n){var r=-1,i=(e=li(e,t)).length;for(i||(i=1,t=void 0);++r<i;){var o=null==t?void 0:t[Po(e[r])];void 0===o&&(r=i,o=n),t=Ha(o)?o.call(t):o}return t},Tn.round=dl,Tn.runInContext=t,Tn.sample=function(t){return(Ia(t)?zn:zr)(t)},Tn.size=function(t){if(null==t)return 0;if(Da(t))return Ka(t)?qe(t):t.length;var e=ro(t);return e==v||e==b?t.size:Sr(t).length},Tn.snakeCase=Bs,Tn.some=function(t,e,n){var r=Ia(t)?me:Gr;return n&&lo(t,e,n)&&(e=void 0),r(t,Ki(e,3))},Tn.sortedIndex=function(t,e){return Yr(t,e)},Tn.sortedIndexBy=function(t,e,n){return Zr(t,e,Ki(n,2))},Tn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Yr(t,e);if(r<n&&Oa(t[r],e))return r}return-1},Tn.sortedLastIndex=function(t,e){return Yr(t,e,!0)},Tn.sortedLastIndexBy=function(t,e,n){return Zr(t,e,Ki(n,2),!0)},Tn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Yr(t,e,!0)-1;if(Oa(t[n],e))return n}return-1},Tn.startCase=Ns,Tn.startsWith=function(t,e,n){return t=ls(t),n=null==n?0:Xn(is(n),0,t.length),e=Qr(e),t.slice(n,n+e.length)==e},Tn.subtract=pl,Tn.sum=function(t){return t&&t.length?Le(t,Gs):0},Tn.sumBy=function(t,e){return t&&t.length?Le(t,Ki(e,2)):0},Tn.template=function(t,e,n){var r=Tn.templateSettings;n&&lo(t,e,n)&&(e=void 0),t=ls(t),e=hs({},e,r,Hi);var i,o,a=hs({},e.imports,r.imports,Hi),s=ws(a),l=Fe(a,s),u=0,c=e.interpolate||ct,h="__p += '",f=vt((e.escape||ct).source+"|"+c.source+"|"+(c===U?nt:ct).source+"|"+(e.evaluate||ct).source+"|$","g"),d="//# sourceURL="+(xt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++jt+"]")+"\n";t.replace(f,(function(e,n,r,a,s,l){return r||(r=a),h+=t.slice(u,l).replace(ht,je),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),s&&(o=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),h+="';\n";var p=xt.call(e,"variable")&&e.variable;if(p){if(tt.test(p))throw new Z("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(o?h.replace(R,""):h).replace(I,"$1").replace(M,"$1;"),h="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Us((function(){return ft(s,d+"return "+h).apply(void 0,l)}));if(v.source=h,za(v))throw v;return v},Tn.times=function(t,e){if((t=is(t))<1||t>9007199254740991)return[];var n=4294967295,r=ln(t,4294967295);t-=4294967295;for(var i=Te(r,e=Ki(e));++n<t;)e(n);return i},Tn.toFinite=rs,Tn.toInteger=is,Tn.toLength=os,Tn.toLower=function(t){return ls(t).toLowerCase()},Tn.toNumber=as,Tn.toSafeInteger=function(t){return t?Xn(is(t),-9007199254740991,9007199254740991):0===t?t:0},Tn.toString=ls,Tn.toUpper=function(t){return ls(t).toUpperCase()},Tn.trim=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return Oe(t);if(!t||!(e=Qr(e)))return t;var r=Ge(t),i=Ge(e);return ci(r,Ie(r,i),Me(r,i)+1).join("")},Tn.trimEnd=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.slice(0,Ye(t)+1);if(!t||!(e=Qr(e)))return t;var r=Ge(t);return ci(r,0,Me(r,Ge(e))+1).join("")},Tn.trimStart=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.replace(Y,"");if(!t||!(e=Qr(e)))return t;var r=Ge(t);return ci(r,Ie(r,Ge(e))).join("")},Tn.truncate=function(t,e){var n=30,r="...";if(Wa(e)){var i="separator"in e?e.separator:i;n="length"in e?is(e.length):n,r="omission"in e?Qr(e.omission):r}var o=(t=ls(t)).length;if(ze(t)){var a=Ge(t);o=a.length}if(n>=o)return t;var s=n-qe(r);if(s<1)return r;var l=a?ci(a,0,s).join(""):t.slice(0,s);if(void 0===i)return l+r;if(a&&(s+=l.length-s),Za(i)){if(t.slice(s).search(i)){var u,c=l;for(i.global||(i=vt(i.source,ls(rt.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var h=u.index;l=l.slice(0,void 0===h?s:h)}}else if(t.indexOf(Qr(i),s)!=s){var f=l.lastIndexOf(i);f>-1&&(l=l.slice(0,f))}return l+r},Tn.unescape=function(t){return(t=ls(t))&&N.test(t)?t.replace(D,Ze):t},Tn.uniqueId=function(t){var e=++At;return ls(t)+e},Tn.upperCase=js,Tn.upperFirst=zs,Tn.each=la,Tn.eachRight=ua,Tn.first=Do,Ks(Tn,(hl={},ur(Tn,(function(t,e){xt.call(Tn.prototype,e)||(hl[e]=t)})),hl),{chain:!1}),Tn.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Tn[t].placeholder=Tn})),se(["drop","take"],(function(t,e){Rn.prototype[t]=function(n){n=void 0===n?1:sn(is(n),0);var r=this.__filtered__&&!e?new Rn(this):this.clone();return r.__filtered__?r.__takeCount__=ln(n,r.__takeCount__):r.__views__.push({size:ln(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Rn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Rn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ki(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Rn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Rn.prototype[t]=function(){return this.__filtered__?new Rn(this):this[n](1)}})),Rn.prototype.compact=function(){return this.filter(Gs)},Rn.prototype.find=function(t){return this.filter(t).head()},Rn.prototype.findLast=function(t){return this.reverse().find(t)},Rn.prototype.invokeMap=jr((function(t,e){return"function"==typeof t?new Rn(this):this.map((function(n){return br(n,t,e)}))})),Rn.prototype.reject=function(t){return this.filter(Sa(Ki(t)))},Rn.prototype.slice=function(t,e){t=is(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Rn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=is(e))<0?n.dropRight(-e):n.take(e-t)),n)},Rn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Rn.prototype.toArray=function(){return this.take(4294967295)},ur(Rn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Tn[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(Tn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,s=e instanceof Rn,l=a[0],u=s||Ia(e),c=function(t){var e=i.apply(Tn,pe([t],a));return r&&h?e[0]:e};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var h=this.__chain__,f=!!this.__actions__.length,d=o&&!h,p=s&&!f;if(!o&&u){e=p?e:new Rn(this);var v=t.apply(e,a);return v.__actions__.push({func:ra,args:[c],thisArg:void 0}),new Fn(v,h)}return d&&p?t.apply(this,a):(v=this.thru(c),d?r?v.value()[0]:v.value():v)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=yt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Tn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ia(i)?i:[],t)}return this[n]((function(n){return e.apply(Ia(n)?n:[],t)}))}})),ur(Rn.prototype,(function(t,e){var n=Tn[e];if(n){var r=n.name+"";xt.call(Cn,r)||(Cn[r]=[]),Cn[r].push({name:e,func:n})}})),Cn[Ti(void 0,2).name]=[{name:"wrapper",func:void 0}],Rn.prototype.clone=function(){var t=new Rn(this.__wrapped__);return t.__actions__=yi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=yi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=yi(this.__views__),t},Rn.prototype.reverse=function(){if(this.__filtered__){var t=new Rn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Rn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ia(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=ln(e,t+a);break;case"takeRight":t=sn(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,h=c.length,f=0,d=ln(l,this.__takeCount__);if(!n||!r&&i==l&&d==l)return ri(t,this.__actions__);var p=[];t:for(;l--&&f<d;){for(var v=-1,g=t[u+=e];++v<h;){var m=c[v],y=m.iteratee,b=m.type,C=y(g);if(2==b)g=C;else if(!C){if(1==b)continue t;break t}}p[f++]=g}return p},Tn.prototype.at=ia,Tn.prototype.chain=function(){return na(this)},Tn.prototype.commit=function(){return new Fn(this.value(),this.__chain__)},Tn.prototype.next=function(){void 0===this.__values__&&(this.__values__=ns(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Tn.prototype.plant=function(t){for(var e,n=this;n instanceof En;){var r=To(n);r.__index__=0,r.__values__=void 0,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Tn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Rn){var e=t;return this.__actions__.length&&(e=new Rn(this)),(e=e.reverse()).__actions__.push({func:ra,args:[Wo],thisArg:void 0}),new Fn(e,this.__chain__)}return this.thru(Wo)},Tn.prototype.toJSON=Tn.prototype.valueOf=Tn.prototype.value=function(){return ri(this.__wrapped__,this.__actions__)},Tn.prototype.first=Tn.prototype.head,Kt&&(Tn.prototype[Kt]=function(){return this}),Tn}();Gt._=Xe,void 0===(i=function(){return Xe}.call(e,n,e,r))||(r.exports=i)}).call(this)}).call(this,n(9),n(36)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.r(e),n.d(e,"install",(function(){return hh})),n.d(e,"version",(function(){return ch})),n.d(e,"ActionSheet",(function(){return bt})),n.d(e,"Area",(function(){return Ht})),n.d(e,"Avatar",(function(){return qt})),n.d(e,"BackTop",(function(){return ie})),n.d(e,"Badge",(function(){return ue})),n.d(e,"Button",(function(){return we})),n.d(e,"Calendar",(function(){return tn})),n.d(e,"Cascader",(function(){return Bn})),n.d(e,"Cell",(function(){return Vn})),n.d(e,"CellGroup",(function(){return Yn})),n.d(e,"Checkbox",(function(){return Qn})),n.d(e,"CheckboxGroup",(function(){return nr})),n.d(e,"Col",(function(){return ar})),n.d(e,"Collapse",(function(){return cr})),n.d(e,"CollapseItem",(function(){return vr})),n.d(e,"CountDown",(function(){return Cr})),n.d(e,"DatetimePicker",(function(){return Ir})),n.d(e,"Dialog",(function(){return Hr})),n.d(e,"Divider",(function(){return Fn})),n.d(e,"DropdownItem",(function(){return $r})),n.d(e,"DropdownMenu",(function(){return Xr})),n.d(e,"Empty",(function(){return ci})),n.d(e,"Field",(function(){return yi})),n.d(e,"FoldDialog",(function(){return _i})),n.d(e,"Form",(function(){return ki})),n.d(e,"Grid",(function(){return Oi})),n.d(e,"GridItem",(function(){return Ii})),n.d(e,"HierarchySelect",(function(){return Ki})),n.d(e,"Icon",(function(){return nt})),n.d(e,"Image",(function(){return eo})),n.d(e,"ImagePreview",(function(){return Co})),n.d(e,"IndexAnchor",(function(){return Ao})),n.d(e,"IndexBar",(function(){return To})),n.d(e,"Info",(function(){return X})),n.d(e,"Lazyload",(function(){return ma})),n.d(e,"List",(function(){return _a})),n.d(e,"Loading",(function(){return pt})),n.d(e,"Locale",(function(){return xa.a})),n.d(e,"MediaPicker",(function(){return Is})),n.d(e,"MediaPlayer",(function(){return Ns})),n.d(e,"MultiplePicker",(function(){return Ys})),n.d(e,"NavBar",(function(){return Qs})),n.d(e,"NoticeBar",(function(){return ll})),n.d(e,"NumberKeyboard",(function(){return yl})),n.d(e,"Overlay",(function(){return S})),n.d(e,"PasswordInput",(function(){return xl})),n.d(e,"PdfViewer",(function(){return El})),n.d(e,"Picker",(function(){return Dt})),n.d(e,"Popover",(function(){return fu})),n.d(e,"Popup",(function(){return at})),n.d(e,"PullRefresh",(function(){return yu})),n.d(e,"Radio",(function(){return Cu})),n.d(e,"RadioGroup",(function(){return Au})),n.d(e,"Rate",(function(){return Lu})),n.d(e,"Row",(function(){return Fu})),n.d(e,"Search",(function(){return Nu})),n.d(e,"Signature",(function(){return $u})),n.d(e,"Skeleton",(function(){return Xu})),n.d(e,"Slider",(function(){return ec})),n.d(e,"Step",(function(){return oc})),n.d(e,"Stepper",(function(){return cc})),n.d(e,"Steps",(function(){return pc})),n.d(e,"Sticky",(function(){return bn})),n.d(e,"Swipe",(function(){return lo})),n.d(e,"SwipeCell",(function(){return yc})),n.d(e,"SwipeItem",(function(){return fo})),n.d(e,"Switch",(function(){return xc})),n.d(e,"SwitchCell",(function(){return Lc})),n.d(e,"Tab",(function(){return un})),n.d(e,"Tabbar",(function(){return Fc})),n.d(e,"TabbarItem",(function(){return Dc})),n.d(e,"Table",(function(){return zc})),n.d(e,"Tabs",(function(){return Pn})),n.d(e,"Tag",(function(){return $c})),n.d(e,"Timeline",(function(){return Zc})),n.d(e,"Toast",(function(){return Ze})),n.d(e,"Uploader",(function(){return uh}));var i=n(1),o=n.n(i),a=n(2),s=n.n(a),l=n(0),u=["ref","key","style","class","attrs","refInFor","nativeOn","directives","staticClass","staticStyle"],c={nativeOn:"on"};function h(t,e){var n=u.reduce((function(e,n){return t.data[n]&&(e[c[n]||n]=t.data[n]),e}),{});return e&&(n.on=n.on||{},r(n.on,t.data.on)),n}function f(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=t.listeners[e];o&&(Array.isArray(o)?o.forEach((function(t){t.apply(void 0,r)})):o.apply(void 0,r))}var d={zIndex:2e3,lockCount:0,stack:[],find:function(t){return this.stack.filter((function(e){return e.vm===t}))[0]},remove:function(t){var e=this.find(t);if(e){e.vm=null,e.overlay=null;var n=this.stack.indexOf(e);this.stack.splice(n,1)}}},p=!1;if(!l.i)try{var v={};Object.defineProperty(v,"passive",{get:function(){p=!0}}),window.addEventListener("test-passive",null,v)}catch(t){}function g(t,e,n,r){void 0===r&&(r=!1),l.i||t.addEventListener(e,n,!!p&&{capture:!1,passive:r})}function m(t,e,n){l.i||t.removeEventListener(e,n)}function y(t){t.stopPropagation()}function b(t,e){("boolean"!=typeof t.cancelable||t.cancelable)&&t.preventDefault(),e&&y(t)}var C=Object(l.b)("overlay"),w=C[0],_=C[1];function x(t){b(t,!0)}function A(t,e,n,i){var a=r({zIndex:e.zIndex},e.customStyle);return Object(l.e)(e.duration)&&(a.animationDuration=e.duration+"s"),t("transition",{attrs:{name:"zt-fade"}},[t("div",o()([{directives:[{name:"show",value:e.show}],style:a,class:[_(),e.className],on:{touchmove:e.lockScroll?x:l.j}},h(i,!0)]),[null==n.default?void 0:n.default()])])}A.props={show:Boolean,zIndex:[Number,String],duration:[Number,String],className:null,customStyle:Object,lockScroll:{type:Boolean,default:!0}};var S=w(A);function k(t){var e=t.parentNode;e&&e.removeChild(t)}var P={className:"",customStyle:{}};function L(t){return e=S,n={on:{click:function(){t.$emit("click-overlay"),t.closeOnClickOverlay&&(t.onClickOverlay?t.onClickOverlay():t.close())}}},i=new s.a({el:document.createElement("div"),props:e.props,render:function(t){return t(e,r({props:this.$props},n))}}),document.body.appendChild(i.$el),i;var e,n,i}function T(t){var e=d.find(t);if(e){var n=t.$el,i=e.config,o=e.overlay;n&&n.parentNode&&n.parentNode.insertBefore(o.$el,n),r(o,P,i,{show:!0})}}function O(t){var e=d.find(t);e&&(e.overlay.show=!1)}function E(t){return t===window}var F=/scroll|auto/i;function R(t,e){void 0===e&&(e=window);for(var n=t;n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e;){var r=window.getComputedStyle(n).overflowY;if(F.test(r))return n;n=n.parentNode}return e}function I(t){var e="scrollTop"in t?t.scrollTop:t.pageYOffset;return Math.max(e,0)}function M(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)}function D(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function B(t){M(window,t),M(document.body,t)}function N(t,e){if(E(t))return 0;var n=e?I(e):D();return t.getBoundingClientRect().top+n}var j={data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e,n,r=t.touches[0];this.deltaX=r.clientX<0?0:r.clientX-this.startX,this.deltaY=r.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(e=this.offsetX,n=this.offsetY,e>n&&e>10?"horizontal":n>e&&n>10?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this.onTouchStart,n=this.onTouchMove,r=this.onTouchEnd;g(t,"touchstart",e),g(t,"touchmove",n),r&&(g(t,"touchend",r),g(t,"touchcancel",r))}}};function z(t){var e=void 0===t?{}:t,n=e.ref,r=e.afterPortal;return{props:{getContainer:[String,Function]},watch:{getContainer:"portal"},mounted:function(){this.getContainer&&this.portal()},methods:{portal:function(){var t,e,i=this.getContainer,o=n?this.$refs[n]:this.$el;i?t="string"==typeof(e=i)?document.querySelector(e):e():this.$parent&&(t=this.$parent.$el),t&&t!==o.parentNode&&t.appendChild(o),r&&r.call(this)}}}}var H=0;function U(t){var e="binded_"+H++;function n(){this[e]||(t.call(this,g,!0),this[e]=!0)}function r(){this[e]&&(t.call(this,m,!1),this[e]=!1)}return{mounted:n,activated:n,deactivated:r,beforeDestroy:r}}var V={mixins:[U((function(t,e){this.handlePopstate(e&&this.closeOnPopstate)}))],props:{closeOnPopstate:Boolean},data:function(){return{bindStatus:!1}},watch:{closeOnPopstate:function(t){this.handlePopstate(t)}},methods:{onPopstate:function(){this.close(),this.shouldReopen=!1},handlePopstate:function(t){this.$isServer||this.bindStatus!==t&&(this.bindStatus=t,(t?g:m)(window,"popstate",this.onPopstate))}}},W={transitionAppear:Boolean,value:Boolean,overlay:Boolean,overlayStyle:Object,overlayClass:String,closeOnClickOverlay:Boolean,zIndex:[Number,String],lockScroll:{type:Boolean,default:!0},lazyRender:{type:Boolean,default:!0}};function $(t){return void 0===t&&(t={}),{mixins:[j,V,z({afterPortal:function(){this.overlay&&T()}})],provide:function(){return{vanPopup:this}},props:W,data:function(){return this.onReopenCallback=[],{inited:this.value}},computed:{shouldRender:function(){return this.inited||!this.lazyRender}},watch:{value:function(e){var n=e?"open":"close";this.inited=this.inited||this.value,this[n](),t.skipToggleEvent||this.$emit(n)},overlay:"renderOverlay"},mounted:function(){this.value&&this.open()},activated:function(){this.shouldReopen&&(this.$emit("input",!0),this.shouldReopen=!1)},beforeDestroy:function(){var t,e;t=this,(e=d.find(t))&&(k(e.overlay.$el),d.remove(t)),this.opened&&this.removeLock(),this.getContainer&&k(this.$el)},deactivated:function(){this.value&&(this.close(),this.shouldReopen=!0)},methods:{open:function(){this.$isServer||this.opened||(void 0!==this.zIndex&&(d.zIndex=this.zIndex),this.opened=!0,this.renderOverlay(),this.addLock(),this.onReopenCallback.forEach((function(t){t()})))},addLock:function(){this.lockScroll&&(g(document,"touchstart",this.touchStart),g(document,"touchmove",this.onTouchMove),d.lockCount||document.body.classList.add("zt-overflow-hidden"),d.lockCount++)},removeLock:function(){this.lockScroll&&d.lockCount&&(d.lockCount--,m(document,"touchstart",this.touchStart),m(document,"touchmove",this.onTouchMove),d.lockCount||document.body.classList.remove("zt-overflow-hidden"))},close:function(){this.opened&&(O(this),this.opened=!1,this.removeLock(),this.$emit("input",!1))},onTouchMove:function(t){this.touchMove(t);var e=this.deltaY>0?"10":"01",n=R(t.target,this.$el),r=n.scrollHeight,i=n.offsetHeight,o=n.scrollTop,a="11";0===o?a=i>=r?"00":"01":o+i>=r&&(a="10"),"11"===a||"vertical"!==this.direction||parseInt(a,2)&parseInt(e,2)||b(t,!0)},renderOverlay:function(){var t=this;!this.$isServer&&this.value&&this.$nextTick((function(){t.updateZIndex(t.overlay?1:0),t.overlay?function(t,e){var n=d.find(t);if(n)n.config=e;else{var r=L(t);d.stack.push({vm:t,config:e,overlay:r})}T(t)}(t,{zIndex:d.zIndex++,duration:t.duration,className:t.overlayClass,customStyle:t.overlayStyle}):O(t)}))},updateZIndex:function(t){void 0===t&&(t=0),this.$el.style.zIndex=++d.zIndex+t},onReopen:function(t){this.onReopenCallback.push(t)}}}}var q=Object(l.b)("info"),G=q[0],Y=q[1];function Z(t,e,n,r){var i=e.dot,a=e.info,s=Object(l.e)(a)&&""!==a;if(i||s)return t("div",o()([{class:Y({dot:i})},h(r,!0)]),[i?"":e.info])}Z.props={dot:Boolean,info:[Number,String]};var X=G(Z),K=Object(l.b)("icon"),Q=K[0],J=K[1];var tt={medel:"medal","medel-o":"medal-o","calender-o":"calendar-o"};function et(t,e,n,r){var i,a=function(t){return t&&tt[t]||t}(e.name),s=function(t){return!!t&&-1!==t.indexOf("/")}(a);return t(e.tag,o()([{class:[e.classPrefix,s?"":e.classPrefix+"-"+a],style:{color:e.color,fontSize:Object(l.a)(e.size)}},h(r,!0)]),[n.default&&n.default(),s&&t("img",{class:J("image"),attrs:{src:a}}),t(X,{attrs:{dot:e.dot,info:null!=(i=e.badge)?i:e.info}})])}et.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:J()}};var nt=Q(et),rt=Object(l.b)("popup"),it=rt[0],ot=rt[1],at=it({mixins:[$()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},customOnClickOverlay:{type:Function,default:null}},beforeCreate:function(){var t=this,e=function(e){return function(n){return t.$emit(e,n)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},methods:{onClickCloseIcon:function(t){this.$emit("click-close-icon",t),this.close()},onClickOverlay:function(){this.customOnClickOverlay?this.customOnClickOverlay():this.closeOnClickOverlay&&this.close()}},render:function(){var t,e=arguments[0];if(this.shouldRender){var n=this.round,r=this.position,i=this.duration,o="center"===r,a=this.transition||(o?"zt-fade":"zt-popup-slide-"+r),s={};if(Object(l.e)(i)){var u=o?"animationDuration":"transitionDuration";s[u]=i+"s"}return e("transition",{attrs:{appear:this.transitionAppear,name:a},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:s,class:ot((t={round:n},t[r]=r,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(nt,{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:ot("close-icon",this.closeIconPosition),on:{click:this.onClickCloseIcon}})])])}}}),st=Object(l.b)("loading"),lt=st[0],ut=st[1],ct=0;function ht(t,e){if("spinner"===e.type){for(var n=[],r=0;r<12;r++)n.push(t("i"));return n}if("circular"===e.type)return t("svg",{class:ut("circular"),attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]);var i=ct++,o=ct++;return t("svg",{class:ut("snake"),attrs:{width:"200",height:"200",viewBox:"0 0 200 200",fill:"none"}},[t("defs",[t("linearGradient",{attrs:{id:o}},[t("stop",{attrs:{offset:"0%","stop-opacity":"0","stop-color":"currentColor"}}),t("stop",{attrs:{offset:"100%","stop-opacity":"0.5","stop-color":"currentColor"}})]),t("linearGradient",{attrs:{id:i}},[t("stop",{attrs:{offset:"0%","stop-opacity":"1","stop-color":"currentColor"}}),t("stop",{attrs:{offset:"100%","stop-opacity":"0.5","stop-color":"currentColor"}})])]),t("g",{attrs:{"stroke-width":"18"}},[t("path",{attrs:{stroke:"url(#"+o+")",d:"M 9 100 A 91 91 0 0 1 191 100"}}),t("path",{attrs:{stroke:"url(#"+i+")",d:"M 191 100 A 91 91 0 0 1 9 100"}}),t("path",{attrs:{stroke:"currentColor","stroke-linecap":"round",d:"M 9 100 A 91 91 0 0 1 9 100"}})])])}function ft(t,e,n){if(n.default){var r,i={fontSize:Object(l.a)(e.textSize),color:null!=(r=e.textColor)?r:e.color};return t("span",{class:ut("text"),style:i},[n.default()])}}function dt(t,e,n,r){var i=e.color,a=e.size,s=e.type,u={color:i};if(a){var c=Object(l.a)(a);u.width=c,u.height=c}return t("div",o()([{class:ut([s,{vertical:e.vertical,"horizontal-with-text":!e.vertical&&n.default}])},h(r,!0)]),[t("span",{class:ut("spinner",s),style:u},[ht(t,e)]),ft(t,e,n)])}dt.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],textColor:String,type:{type:String,default:"snake"}};var pt=lt(dt),vt=Object(l.b)("action-sheet"),gt=vt[0],mt=vt[1];function yt(t,e,n,r){var i=e.title,a=e.cancelText,l=e.closeable;function u(){f(r,"input",!1),f(r,"cancel")}return t(at,o()([{class:mt(),attrs:{position:"bottom",round:e.round,value:e.value,overlay:e.overlay,duration:e.duration,lazyRender:e.lazyRender,lockScroll:e.lockScroll,getContainer:e.getContainer,closeOnPopstate:e.closeOnPopstate,closeOnClickOverlay:e.closeOnClickOverlay,safeAreaInsetBottom:e.safeAreaInsetBottom}},h(r,!0)]),[n.title?t("div",{class:mt("header","align-start")},[n.title(),l&&t(nt,{attrs:{name:e.closeIcon},class:mt("close"),on:{click:u}})]):i?t("div",{class:mt("header")},[i,l&&t(nt,{attrs:{name:e.closeIcon},class:mt("close"),on:{click:u}})]):void 0,t("div",{class:mt("content")},[e.actions&&e.actions.map((function(n,i){var o=n.disabled,a=n.loading,l=n.callback,u=!a&&n.subname;return t("button",{attrs:{type:"button"},class:[mt("item",{disabled:o,loading:a,"has-subname":u}),n.className],style:{color:n.color},on:{click:function(t){t.stopPropagation(),o||a||(l&&l(n),e.closeOnClickAction&&f(r,"input",!1),s.a.nextTick((function(){f(r,"select",n,i)})))}}},[a?t(pt,{class:mt("loading-icon")}):[t("span",{class:mt("name")},[n.name]),n.subname&&t("div",{class:mt("subname")},[n.subname])]])})),null==n.default?void 0:n.default()]),function(){if(a)return[t("div",{class:mt("gap")}),t("button",{attrs:{type:"button"},class:mt("cancel"),on:{click:u}},[a])]}()])}yt.props=r({},W,{title:String,actions:Array,duration:[Number,String],cancelText:String,getContainer:[String,Function],closeOnPopstate:Boolean,closeOnClickAction:Boolean,round:{type:Boolean,default:!0},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"cross"},safeAreaInsetBottom:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}});var bt=gt(yt),Ct={title:String,loading:Boolean,readonly:Boolean,itemHeight:[Number,String],showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,showPicker:{type:Boolean,default:!1},allowHtml:{type:Boolean,default:!0},visibleItemCount:{type:[Number,String],default:6},swipeDuration:{type:[Number,String],default:1e3},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},wt=n(6);function _t(t){if(!Object(l.e)(t))return t;if(Array.isArray(t))return t.map((function(t){return _t(t)}));if("object"==typeof t){var e={};return Object.keys(t).forEach((function(n){e[n]=_t(t[n])})),e}return t}function xt(t,e,n){return Math.min(Math.max(t,e),n)}function At(t,e,n){var r=t.indexOf(e),i="";return-1===r?t:"-"===e&&0!==r?t.slice(0,r):("."===e&&t.match(/^(\.|-\.)/)&&(i=r?"-0":"0"),i+t.slice(0,r+1)+t.slice(r).replace(n,""))}function St(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!0),t=e?At(t,".",/\./g):t.split(".")[0];var r=e?/[^-0-9.]/g:/[^-0-9]/g;return(t=n?At(t,"-",/-/g):t.replace(/-/,"")).replace(r,"")}function kt(t,e){var n=Math.pow(10,10);return Math.round((t+e)*n)/n}var Pt=Object(l.b)("picker-column"),Lt=Pt[0],Tt=Pt[1];function Ot(t){return Object(l.g)(t)&&t.disabled}var Et=Lt({mixins:[j],props:{columnCollector:Array,valueKey:String,readonly:Boolean,allowHtml:Boolean,className:String,itemHeight:Number,defaultIndex:Number,swipeDuration:[Number,String],visibleItemCount:[Number,String],initialOptions:{type:Array,default:function(){return[]}}},data:function(){return{offset:0,duration:0,options:_t(this.initialOptions),currentIndex:this.defaultIndex,confirmIndex:""}},created:function(){this.columnCollector&&this.columnCollector.push(this),this.setIndex(this.currentIndex)},mounted:function(){this.bindTouchEvent(this.$el)},destroyed:function(){this.columnCollector&&this.columnCollector.splice(this.columnCollector.indexOf(this),1)},watch:{initialOptions:"setOptions",defaultIndex:function(t){this.setIndex(t)}},computed:{count:function(){return this.options.length},baseOffset:function(){return this.itemHeight*(this.visibleItemCount-1)/2}},methods:{setOptions:function(t){JSON.stringify(t)!==JSON.stringify(this.options)&&(this.options=_t(t),this.setIndex(this.defaultIndex))},onTouchStart:function(t){if(!this.readonly){if(this.touchStart(t),this.moving){var e=function(t){var e=window.getComputedStyle(t),n=e.transform||e.webkitTransform,r=n.slice(7,n.length-1).split(", ")[5];return Number(r)}(this.$refs.wrapper);this.offset=Math.min(0,e-this.baseOffset),this.startOffset=this.offset}else this.startOffset=this.offset;this.duration=0,this.transitionEndTrigger=null,this.touchStartTime=Date.now(),this.momentumOffset=this.startOffset}},onTouchMove:function(t){if(!this.readonly){this.touchMove(t),"vertical"===this.direction&&(this.moving=!0,b(t,!0)),this.offset=xt(this.startOffset+this.deltaY,-this.count*this.itemHeight,this.itemHeight);var e=Date.now();e-this.touchStartTime>300&&(this.touchStartTime=e,this.momentumOffset=this.offset)}},onTouchEnd:function(){var t=this;if(!this.readonly){var e=this.offset-this.momentumOffset,n=Date.now()-this.touchStartTime;if(n<300&&Math.abs(e)>15)this.momentum(e,n);else{var r=this.getIndexByOffset(this.offset);this.duration=200,this.setIndex(r,!0),setTimeout((function(){t.moving=!1}),0)}}},onTransitionEnd:function(){this.stopMomentum()},onClickItem:function(t){this.moving||this.readonly||(this.transitionEndTrigger=null,this.duration=200,this.setIndex(t,!0))},adjustIndex:function(t){for(var e=t=xt(t,0,this.count);e<this.count;e++)if(!Ot(this.options[e]))return e;for(var n=t-1;n>=0;n--)if(!Ot(this.options[n]))return n},getOptionText:function(t){return Object(l.g)(t)&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t,e){var n=this,r=-(t=this.adjustIndex(t)||0)*this.itemHeight,i=function(){t!==n.currentIndex&&(n.currentIndex=t,e&&n.$emit("change",t))};this.moving&&r!==this.offset?this.transitionEndTrigger=i:i(),this.offset=r},setValue:function(t){for(var e=this.options,n=0;n<e.length;n++)if(this.getOptionText(e[n])===t)return this.setIndex(n)},getValue:function(){return this.options[this.currentIndex]},getIndexByOffset:function(t){return xt(Math.round(-t/this.itemHeight),0,this.count-1)},momentum:function(t,e){var n=Math.abs(t/e);t=this.offset+n/.003*(t<0?-1:1);var r=this.getIndexByOffset(t);this.duration=+this.swipeDuration,this.setIndex(r,!0)},stopMomentum:function(){this.moving=!1,this.duration=0,this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},genOptions:function(){var t=this,e=this.$createElement,n={height:this.itemHeight+"px"};return this.options.map((function(r,i){var a,s=t.getOptionText(r),l=Ot(r),u={style:n,attrs:{role:"button",tabindex:l?-1:0},class:[Tt("item",{disabled:l,selected:i===t.currentIndex})],on:{click:function(){t.onClickItem(i)}}},c={class:"zt-ellipsis",domProps:(a={},a[t.allowHtml?"innerHTML":"textContent"]=s,a)};return e("li",o()([{},u]),[t.slots("option",r)||e("div",o()([{},c]))])}))},recordConfirmIndex:function(){this.confirmIndex=this.currentIndex},setConfirmIndex:function(){this.setIndex(this.confirmIndex,!0)}},render:function(){var t=arguments[0],e={transform:"translate3d(0, "+(this.offset+this.baseOffset)+"px, 0)",transitionDuration:this.duration+"ms",transitionProperty:this.duration?"all":"none"};return t("div",{class:[Tt(),this.className]},[t("ul",{ref:"wrapper",style:e,class:Tt("wrapper"),on:{transitionend:this.onTransitionEnd}},[this.genOptions()])])}}),Ft=Object(l.b)("picker"),Rt=Ft[0],It=Ft[1],Mt=Ft[2],Dt=Rt({mixins:[$()],props:r({},Ct,{showToolbar:{type:Boolean,default:!0},defaultIndex:{type:[Number,String],default:0},columns:{type:Array,default:function(){return[]}},headers:{type:Array,default:null},toolbarPosition:{type:String,default:"top"},valueKey:{type:String,default:"text"}}),data:function(){return{children:[],formattedColumns:[],confirmIndex:""}},computed:{itemPxHeight:function(){return this.itemHeight?Object(wt.b)(this.itemHeight):44},dataType:function(){var t=this.columns[0]||{};return t.children?"cascade":t.values?"object":"text"}},watch:{columns:{handler:"format",immediate:!0},showPicker:{handler:function(t){var e=this;t&&this.$nextTick((function(){e.children.forEach((function(t){""!==t.confirmIndex&&t.setConfirmIndex()}))}))},immediate:!0}},methods:{onClickOverlay:function(){this.closeOnClickOverlay&&this.cancel()},format:function(){var t=this.columns,e=this.dataType;"text"===e?this.formattedColumns=[{values:t}]:"cascade"===e?this.formatCascade():this.formattedColumns=t},formatCascade:function(){for(var t=[],e={children:this.columns};e&&e.children;){for(var n,r=e.children,i=null!=(n=e.defaultIndex)?n:+this.defaultIndex;r[i]&&r[i].disabled;){if(!(i<r.length-1)){i=0;break}i++}t.push({values:e.children,className:e.className,defaultIndex:i}),e=r[i]}this.formattedColumns=t},emit:function(t){var e=this;if("text"===this.dataType)this.$emit(t,this.getColumnValue(0),this.getColumnIndex(0));else{var n=this.getValues();"cascade"===this.dataType&&(n=n.map((function(t){return t[e.valueKey]}))),this.$emit(t,n,this.getIndexes())}},onCascadeChange:function(t){for(var e={children:this.columns},n=this.getIndexes(),r=0;r<=t;r++)e=e.children[n[r]];for(;e&&e.children;)t++,this.setColumnValues(t,e.children),e=e.children[e.defaultIndex||0]},onChange:function(t){var e=this;if("cascade"===this.dataType&&this.onCascadeChange(t),"text"===this.dataType)this.$emit("change",this,this.getColumnValue(0),this.getColumnIndex(0));else{var n=this.getValues();"cascade"===this.dataType&&(n=n.map((function(t){return t[e.valueKey]}))),this.$emit("change",this,n,t)}},getColumnCount:function(){return this.children?this.children.length:0},getColumn:function(t){return this.children[t]},getColumnValue:function(t){var e=this.getColumn(t);return e&&e.getValue()},setColumnValue:function(t,e){var n=this.getColumn(t);n&&(n.setValue(e),"cascade"===this.dataType&&this.onCascadeChange(t))},getColumnIndex:function(t){return(this.getColumn(t)||{}).currentIndex},setColumnIndex:function(t,e){var n=this.getColumn(t);n&&(n.setIndex(e),"cascade"===this.dataType&&this.onCascadeChange(t))},getColumnValues:function(t){return(this.children[t]||{}).options},setColumnValues:function(t,e){var n=this.children[t];n&&n.setOptions(e)},getValues:function(){return this.children.map((function(t){return t.getValue()}))},setValues:function(t){var e=this;t.forEach((function(t,n){e.setColumnValue(n,t)}))},getIndexes:function(){return this.children.map((function(t){return t.currentIndex}))},setIndexes:function(t){var e=this;t.forEach((function(t,n){e.setColumnIndex(n,t)}))},confirm:function(){this.children.forEach((function(t){return t.stopMomentum()})),this.children.forEach((function(t){return t.recordConfirmIndex()})),this.emit("confirm")},cancel:function(){this.emit("cancel")},genTitle:function(){var t=this.$createElement,e=this.slots("title");return e||(this.title?t("div",{class:["zt-ellipsis",It("title")]},[this.title]):void 0)},genCancel:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:It("cancel"),on:{click:this.cancel}},[this.slots("cancel")||this.cancelButtonText||Mt("cancel")])},genConfirm:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:It("confirm"),on:{click:this.confirm}},[this.slots("confirm")||this.confirmButtonText||Mt("confirm")])},genToolbar:function(){var t=this.$createElement;if(this.showToolbar)return t("div",{class:It("toolbar")},[this.slots()||[this.genCancel(),this.genTitle(),this.genConfirm()]])},genHeaders:function(){return(0,this.$createElement)("ul",{class:It("header")},[this.genHeaderItems()])},genHeaderItems:function(){var t=this.$createElement;return this.headers.map((function(e){return t("li",[e])}))},genColumns:function(){var t=this.$createElement,e=this.itemPxHeight,n=e*this.visibleItemCount,r={height:e+"px"},i={height:n+"px"},o={backgroundSize:"100% "+(n-e)/2+"px"};return t("div",{class:It("columns"),style:i,on:{touchmove:b}},[t("div",{class:It("background")}),this.genColumnItems(),t("div",{class:It("mask"),style:o}),t("div",{class:[It("frame")],style:r})])},genColumnItems:function(){var t=this,e=this.$createElement;return this.formattedColumns.map((function(n,r){var i;return e(Et,{attrs:{columnCollector:t.children,readonly:t.readonly,valueKey:t.valueKey,allowHtml:t.allowHtml,className:n.className,itemHeight:t.itemPxHeight,defaultIndex:null!=(i=n.defaultIndex)?i:+t.defaultIndex,swipeDuration:t.swipeDuration,visibleItemCount:t.visibleItemCount,initialOptions:n.values},scopedSlots:{option:t.$scopedSlots.option},on:{change:function(){t.onChange(r)}}})}))}},render:function(t){return t(at,{attrs:{value:this.showPicker,round:!0,position:"bottom",closeOnPopstate:this.closeOnPopstate,closeOnClickOverlay:this.closeOnClickOverlay,customOnClickOverlay:this.onClickOverlay}},[t("div",{class:It(),ref:"columnParent"},["top"===this.toolbarPosition?this.genToolbar():t(),"top"===this.toolbarPosition?t("div",{class:It("border")}):t(),this.loading?t(pt,{class:It("loading")}):t(),this.slots("columns-top"),this.headers&&this.headers.length>0?this.genHeaders():t(),this.headers&&this.headers.length>0?t("div",{class:It("border")}):t(),this.genColumns(),this.slots("columns-bottom"),"bottom"===this.toolbarPosition?this.genToolbar():t()])])}}),Bt=Object(l.b)("area"),Nt=Bt[0],jt=Bt[1];function zt(t,e){var n=t.$slots,r=t.$scopedSlots,i={};return e.forEach((function(t){r[t]?i[t]=r[t]:n[t]&&(i[t]=function(){return n[t]})})),i}var Ht=Nt({props:r({},Ct,{value:String,areaList:{type:Object,default:function(){return{}}},columnsNum:{type:[Number,String],default:3},isOverseaCode:{type:Function,default:function(t){return"9"===t[0]}},columnsPlaceholder:{type:Array,default:function(){return[]}}}),data:function(){return{code:this.value,columns:[{values:[]},{values:[]},{values:[]}]}},computed:{province:function(){return this.areaList.province_list||{}},city:function(){return this.areaList.city_list||{}},county:function(){return this.areaList.county_list||{}},displayColumns:function(){return this.columns.slice(0,+this.columnsNum)},placeholderMap:function(){return{province:this.columnsPlaceholder[0]||"",city:this.columnsPlaceholder[1]||"",county:this.columnsPlaceholder[2]||""}}},watch:{value:function(t){this.code=t,this.setValues()},areaList:{deep:!0,handler:"setValues"},columnsNum:function(){var t=this;this.$nextTick((function(){t.setValues()}))}},mounted:function(){this.setValues()},methods:{getList:function(t,e){var n=[];if("province"!==t&&!e)return n;var r=this[t];if(n=Object.keys(r).map((function(t){return{code:t,name:r[t]}})),e&&(this.isOverseaCode(e)&&"city"===t&&(e="9"),n=n.filter((function(t){return 0===t.code.indexOf(e)}))),this.placeholderMap[t]&&n.length){var i="";"city"===t?i="000000".slice(2,4):"county"===t&&(i="000000".slice(4,6)),n.unshift({code:""+e+i,name:this.placeholderMap[t]})}return n},getIndex:function(t,e){var n="province"===t?2:"city"===t?4:6,r=this.getList(t,e.slice(0,n-2));this.isOverseaCode(e)&&"province"===t&&(n=1),e=e.slice(0,n);for(var i=0;i<r.length;i++)if(r[i].code.slice(0,n)===e)return i;return 0},parseOutputValues:function(t){var e=this;return t.map((function(t,n){return t?((t=JSON.parse(JSON.stringify(t))).code&&t.name!==e.columnsPlaceholder[n]||(t.code="",t.name=""),t):t}))},onChange:function(t,e,n){this.code=e[n].code,this.setValues();var r=this.parseOutputValues(t.getValues());this.$emit("change",t,r,n)},onConfirm:function(t,e){t=this.parseOutputValues(t),this.setValues(),this.$emit("confirm",t,e)},getDefaultCode:function(){if(this.columnsPlaceholder.length)return"000000";var t=Object.keys(this.county);if(t[0])return t[0];var e=Object.keys(this.city);return e[0]?e[0]:""},setValues:function(){var t=this.code;t||(t=this.getDefaultCode());var e=this.$refs.picker,n=this.getList("province"),r=this.getList("city",t.slice(0,2));e&&(e.setColumnValues(0,n),e.setColumnValues(1,r),r.length&&"00"===t.slice(2,4)&&!this.isOverseaCode(t)&&(t=r[0].code),e.setColumnValues(2,this.getList("county",t.slice(0,4))),e.setIndexes([this.getIndex("province",t),this.getIndex("city",t),this.getIndex("county",t)]))},getValues:function(){var t=this.$refs.picker,e=t?t.getValues().filter((function(t){return!!t})):[];return e=this.parseOutputValues(e),e},getArea:function(){var t=this.getValues(),e={code:"",country:"",province:"",city:"",county:""};if(!t.length)return e;var n=t.map((function(t){return t.name})),r=t.filter((function(t){return!!t.code}));return e.code=r.length?r[r.length-1].code:"",this.isOverseaCode(e.code)?(e.country=n[1]||"",e.province=n[2]||""):(e.province=n[0]||"",e.city=n[1]||"",e.county=n[2]||""),e},reset:function(t){this.code=t||"",this.setValues()}},render:function(){var t=arguments[0],e=r({},this.$listeners,{change:this.onChange,confirm:this.onConfirm});return t(Dt,{ref:"picker",class:jt(),attrs:{showToolbar:!0,valueKey:"name",title:this.title,columns:this.displayColumns,loading:this.loading,readonly:this.readonly,itemHeight:this.itemHeight,swipeDuration:this.swipeDuration,visibleItemCount:this.visibleItemCount,cancelButtonText:this.cancelButtonText,confirmButtonText:this.confirmButtonText},scopedSlots:zt(this,["title","columns-top","columns-bottom"]),on:r({},e)})}}),Ut=Object(l.b)("avatar"),Vt=Ut[0],Wt=Ut[1],$t=Ut[2],qt=Vt({props:{src:{type:String,default:$t("defaultSrc")},size:{type:String,default:$t("medium")},shape:{type:String,default:$t("square")},text:String,textBG:String},data:function(){return{}},computed:{headText:function(){var t=this.text.length;return 1===t?this.text:t>1?this.text.substring(t-2,2):$t("defaultText")},classArr:function(){var t=[];switch(this.size){case $t("small"):t.push("small");break;case $t("medium"):t.push("medium");break;case $t("large"):t.push("large")}switch(this.shape){case $t("square"):t.push("square");break;case $t("circle"):t.push("circle")}return t},style:function(){var t={};return this.textBG&&(t.backgroundColor=this.textBG),t}},render:function(t){return this.text?t("div",{class:Wt("img",this.classArr),style:this.style},[this.headText]):t("img",{class:Wt("img",this.classArr),style:this.style,attrs:{src:this.src,alt:""}})}}),Gt=function(t){return+setTimeout(t,16)},Yt=function(t){return clearTimeout(t)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(Gt=function(t){return window.requestAnimationFrame(t)},Yt=function(t){return window.cancelAnimationFrame(t)});var Zt=0,Xt=new Map;function Kt(t){Xt.delete(t)}function Qt(t,e){void 0===e&&(e=1);var n=Zt+=1;return function e(r){if(0===r)Kt(n),t();else{var i=Gt((function(){e(r-1)}));Xt.set(n,i)}}(e),n}function Jt(t){return null!=t&&t===t.window}function te(t,e){if("undefined"==typeof window)return 0;var n,r=e?"scrollTop":"scrollLeft",i=0;(Jt(t)?i=t[e?"pageYOffset":"pageXOffset"]:t instanceof Document?i=t.documentElement[r]:t&&(i=t[r]),t&&!Jt(t)&&"number"!=typeof i)&&(i=null==(n=(t.ownerDocument||t).documentElement)?void 0:n[r]);return i}Qt.cancel=function(t){var e=Xt.get(t);return Kt(e),Yt(e)};var ee=Object(l.b)("back-top"),ne=ee[0],re=ee[1],ie=ne({props:{disableMove:{type:Boolean,default:!1},visibilityHeight:{type:Number,default:400},onClick:{type:Function,default:function(){}},target:{type:Function,default:function(){return window}},duration:{type:Number,default:450}},data:function(){return{flags:!1,position:{x:0,y:0},nx:"",ny:"",dx:"",dy:"",xPum:"",yPum:"",blurStyle:"",clientWidth:"",clientHeight:"",showButton:!1,bodyInitialHeight:"auto",bodyInitialMinHeight:"auto"}},computed:{backTopDiv:function(){return document.getElementById("backTopDiv")}},mounted:function(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.recordHeight()},activated:function(){var t=this;this.recordHeight(),this.target().addEventListener("scroll",(function(e){te(t.target(),!0)>=t.visibilityHeight?t.showButton=!0:t.showButton=!1}))},deactivated:function(){this.setHeight(!0)},methods:{down:function(t){var e;this.blurStyle="",this.flags=!0,e=t.touches?t.touches[0]:t,this.position.x=e.clientX,this.position.y=e.clientY,this.dx=this.backTopDiv.offsetLeft,this.dy=this.backTopDiv.offsetTop},move:function(t){if(b(t),this.flags){var e;e=t.touches?t.touches[0]:t,this.nx=e.clientX-this.position.x,this.ny=e.clientY-this.position.y,this.xPum=this.dx+this.nx,this.yPum=this.dy+this.ny;var n=this.xPum,r=this.yPum;this.xPum<0?n=0:this.xPum>this.clientWidth-56&&(n=this.clientWidth-56),this.yPum<0?r=0:this.yPum>this.clientHeight-56&&(r=this.clientHeight-56),this.backTopDiv.style.left=n+"px",this.backTopDiv.style.top=r+"px"}},end:function(){var t=this;this.flags=!1,setTimeout((function(){t.blurStyle="opacity:0.3;"}),3e3)},backTop:function(t){var e=this.onClick;!function(t,e){void 0===e&&(e={});var n=e,r=n.getContainer,i=void 0===r?function(){return window}:r,o=n.callback,a=n.duration,s=void 0===a?450:a,l=i(),u=te(l,!0),c=Date.now();Qt((function e(){var n=Date.now()-c,r=function(t,e,n,r){var i=n-e;return(t/=r/2)<1?i/2*t*t*t+e:i/2*((t-=2)*t*t+2)+e}(n>s?s:n,u,t,s);Jt(l)?l.scrollTo(window.pageXOffset,r):l instanceof HTMLDocument||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=r:l.scrollTop=r,n<s?Qt(e):"function"==typeof o&&o()}))}(0,{getContainer:this.target||function(){return window},duration:this.duration}),"function"==typeof e&&e(t)},recordHeight:function(){this.bodyInitialHeight=document.body.style.height,this.bodyInitialMinHeight=document.body.style.minHeight},setHeight:function(t){t?(document.body.style.height=this.bodyInitialHeight,document.body.style.minHeight=this.bodyInitialMinHeight):(document.body.style.height="auto",document.body.style.minHeight="100%")}},render:function(t){return t("div",{directives:[{name:"show",value:this.showButton}],class:re()+" half-border",attrs:{id:"backTopDiv"},on:{touchstart:this.disableMove?"":this.down,touchmove:this.disableMove?"":this.move,touchend:this.disableMove?"":this.end,click:this.backTop},style:this.blurStyle},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},class:"design-iconfont"},[t("path",{attrs:{d:"M12.1252846,2.04229201 C12.406091,2.04229201 12.6420247,2.13629271 12.8336091,2.33000304 L19.8037393,9.30040177 C19.9946618,9.49119157 20.0911844,9.72632732 20.0911844,10.0084605 C20.0911844,10.2933839 19.9962543,10.5313075 19.8073245,10.7193094 C19.6187919,10.9074438 19.380604,11.0042329 19.0954147,11.0042329 C18.8150057,11.0042329 18.5792064,10.9073111 18.3876192,10.7165218 L13.1213094,5.44172565 L13.1213094,20.9619488 C13.1213094,21.2358534 13.0239894,21.4708551 12.8286865,21.6645639 C12.6344447,21.8609299 12.3997075,21.9577185 12.1247421,21.9577185 C11.8499083,21.9577185 11.6155699,21.8607967 11.4205318,21.6645639 C11.2260244,21.4708533 11.1284379,21.2357191 11.1284379,20.9619488 L11.1284379,5.44172565 L5.86185954,10.7166561 C5.67040588,10.907313 5.43473893,11.0042355 5.15380086,11.0042355 C4.86861156,11.0042355 4.63121968,10.9073138 4.44215696,10.7193121 C4.2526949,10.5313105 4.15882607,10.2933866 4.15882607,10.0084631 C4.15882607,9.72632732 4.25428743,9.49119399 4.44600536,9.30040446 L11.4160013,2.33000572 C11.6074549,2.13629512 11.8436509,2.04229201 12.1241942,2.04229201 L12.1252564,2.04229201 L12.1252846,2.04229201 Z",fill:"#000","fill-rule":"nonzero",stroke:"#000","stroke-width":".5"}})])])}}),oe=n(7),ae=Object(l.b)("badge"),se=ae[0],le=ae[1],ue=se({props:{dot:Boolean,max:[Number,String],color:String,content:[Number,String],tag:{type:String,default:"div"}},methods:{hasContent:function(){return!!(this.$scopedSlots.content||Object(l.e)(this.content)&&""!==this.content)},renderContent:function(){var t=this.dot,e=this.max,n=this.content;if(!t&&this.hasContent())return this.$scopedSlots.content?this.$scopedSlots.content():Object(l.e)(e)&&Object(oe.b)(n)&&+n>e?e+"+":n},renderBadge:function(){var t=this.$createElement;if(this.hasContent()||this.dot)return t("div",{class:le({dot:this.dot,fixed:!!this.$scopedSlots.default}),style:{background:this.color}},[this.renderContent()])}},render:function(){var t=arguments[0];if(this.$scopedSlots.default){var e=this.tag;return t(e,{class:le("wrapper")},[this.$scopedSlots.default(),this.renderBadge()])}return this.renderBadge()}}),ce="zt-hairline",he=ce+"--bottom",fe=ce+"--top-bottom";function de(t,e){var n=e.to,r=e.url,i=e.replace;if(n&&t){var o=t[i?"replace":"push"](n);o&&o.catch&&o.catch((function(t){if(t&&!function(t){return"NavigationDuplicated"===t.name||t.message&&-1!==t.message.indexOf("redundant navigation")}(t))throw t}))}else r&&(i?location.replace(r):location.href=r)}function pe(t){de(t.parent&&t.parent.$router,t.props)}var ve={url:String,replace:Boolean,to:[String,Object]},ge=n(5),me=Object(l.b)("button"),ye=me[0],be=me[1];function Ce(t,e,n,r){var i,a=e.tag,s=e.icon,l=e.type,u=e.color,c=e.plain,d=e.disabled,p=e.loading,v=e.hairline,g=e.loadingText,m=e.iconPosition,y={};u&&(y.color=c?u:"white",c||(y.background=u),-1!==u.indexOf("gradient")?y.border=0:y.borderColor=u);var b,C,w=[be([l,e.size,{plain:c,loading:p,disabled:d,hairline:v,block:e.block,round:e.round,square:e.square}]),(i={},i["zt-hairline--surround"]=v,i)];function _(){return p?n.loading?n.loading():t(pt,{class:be("loading"),attrs:{size:e.loadingSize,type:e.loadingType,color:"currentColor"}}):n.icon?t("div",{class:be("icon")},[n.icon()]):s?t(nt,{attrs:{name:s,classPrefix:e.iconPrefix},class:be("icon")}):void 0}return t(a,o()([{style:y,class:w,attrs:{type:e.nativeType,disabled:d},on:{click:function(t){if(e.loading&&t.preventDefault(),!p&&!d){f(r,"click",t),pe(r);var n=new ge.b("button",{});ge.a.sharedInstance.trackClick(n)}},touchstart:function(t){f(r,"touchstart",t)}}},h(r)]),[t("div",{class:be("content")},[(C=[],"left"===m&&C.push(_()),(b=p?g:n.default?n.default():e.text)&&C.push(t("span",{class:be("text")},[b])),"right"===m&&C.push(_()),C)])])}Ce.props=r({},ve,{text:String,icon:String,color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:String,loadingText:String,loadingType:String,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"},loadingSize:{type:String,default:"20px"},iconPosition:{type:String,default:"left"}});var we=ye(Ce),_e=n(3);function xe(t){return"[object Date]"===Object.prototype.toString.call(t)&&!Object(oe.a)(t.getTime())}var Ae=Object(l.b)("calendar"),Se=Ae[0],ke=Ae[1],Pe=Ae[2];function Le(t,e){var n=t.getFullYear(),r=e.getFullYear(),i=t.getMonth(),o=e.getMonth();return n===r?i===o?0:i>o?1:-1:n>r?1:-1}function Te(t,e){var n=Le(t,e);if(0===n){var r=t.getDate(),i=e.getDate();return r===i?0:r>i?1:-1}return n}function Oe(t,e){return(t=new Date(t)).setDate(t.getDate()+e),t}function Ee(t){return Oe(t,1)}function Fe(t){return new Date(t)}function Re(t){return Array.isArray(t)?t.map((function(t){return null===t?t:Fe(t)})):Fe(t)}var Ie=0;var Me={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},class:"design-iconfont"},[t("defs",[t("filter",{attrs:{id:"sfb0h0clva"}},[t("feColorMatrix",{attrs:{in:"SourceGraphic",values:"0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"}})])]),t("g",{attrs:{transform:"translate(-26 -12)",filter:"url(#sfb0h0clva)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M30.462142,8.66701769 C31.0602566,8.09382452 32.0097891,8.11402734 32.5829823,8.71214196 C33.1260074,9.27877685 33.1364555,10.1608118 32.6274923,10.7394568 L32.537858,10.8329823 L14.537858,28.0829823 C13.9616042,28.6352256 13.061243,28.6355807 12.4847385,28.1043122 L12.3964973,28.0160127 L3.39649731,18.2410127 C2.83536899,17.631565 2.87453959,16.6826256 3.48398729,16.1214973 C4.06135881,15.5899021 4.94342643,15.5970792 5.51178671,16.1175022 L5.60350269,16.2089873 L13.56675,24.858 L30.462142,8.66701769 Z",fill:"#000","fill-rule":"nonzero",transform:"translate(26 12)"}})])])}},De={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},class:"design-iconfont"},[t("defs",[t("filter",{attrs:{id:"7xuc0p6qza"}},[t("feColorMatrix",{attrs:{in:"SourceGraphic",values:"0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"}})])]),t("g",{attrs:{transform:"translate(-26 -12)",filter:"url(#7xuc0p6qza)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M18,27.75 C19.5325902,27.75 20.775,28.9924098 20.775,30.525 C20.775,32.0575902 19.5325902,33.3 18,33.3 C16.4674098,33.3 15.225,32.0575902 15.225,30.525 C15.225,28.9924098 16.4674098,27.75 18,27.75 Z M18,3 C18.7907713,3 19.4386238,3.61190834 19.4958857,4.38805324 L19.5,4.5 L19.5,22.5 C19.5,23.3284271 18.8284271,24 18,24 C17.2092287,24 16.5613762,23.3880917 16.5041143,22.6119468 L16.5,22.5 L16.5,4.5 C16.5,3.67157288 17.1715729,3 18,3 Z",fill:"#000",transform:"translate(26 12)"}})])])}},Be=Object(l.b)("toast"),Ne=Be[0],je=Be[1],ze=Ne({mixins:[$()],props:{icon:String,className:null,iconPrefix:String,loadingType:String,forbidClick:Boolean,closeOnClick:Boolean,message:[Number,String],type:{type:String,default:"text"},position:{type:String,default:"middle"},transition:{type:String,default:"zt-fade"},lockScroll:{type:Boolean,default:!1}},data:function(){return{clickable:!1}},mounted:function(){this.toggleClickable()},destroyed:function(){this.toggleClickable()},watch:{value:"toggleClickable",forbidClick:"toggleClickable"},methods:{onClick:function(){this.closeOnClick&&this.close()},toggleClickable:function(){var t=this.value&&this.forbidClick;this.clickable!==t&&(this.clickable=t,t?(Ie||document.body.classList.add("zt-toast--unclickable"),Ie++):--Ie||document.body.classList.remove("zt-toast--unclickable"))},onAfterEnter:function(){this.$emit("opened"),this.onOpened&&this.onOpened()},onAfterLeave:function(){this.$emit("closed")},genIcon:function(){var t=this.$createElement,e=this.icon,n=this.type,r=this.iconPrefix,i=this.loadingType;return e?t(nt,{class:je("icon"),attrs:{classPrefix:r,name:e||n}}):"success"===n?t(Me,{class:je("success")}):"fail"===n?t(De,{class:je("fail")}):"loading"===n?t(pt,{class:je("loading"),attrs:{type:i}}):void 0},genMessage:function(){var t=this.$createElement,e=this.type,n=this.message;if(Object(l.e)(n)&&""!==n)return"html"===e?t("div",{class:je("text"),domProps:{innerHTML:n}}):t("div",{class:je("text")},[n])}},render:function(){var t,e=arguments[0];return e("transition",{attrs:{name:this.transition},on:{afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[e("div",{directives:[{name:"show",value:this.value}],class:[je([this.position,(t={},t[this.type]=!this.icon,t)]),this.className],on:{click:this.onClick}},[this.genIcon(),this.genMessage()])])}}),He={icon:"",type:"text",mask:!1,value:!0,message:"",className:"",overlay:!1,onClose:null,onOpened:null,duration:2e3,iconPrefix:void 0,position:"middle",transition:"zt-fade",forbidClick:!1,loadingType:void 0,getContainer:"body",overlayStyle:null,closeOnClick:!1,closeOnClickOverlay:!1},Ue={},Ve=[],We=!1,$e=r({},He);function qe(t){return Object(l.g)(t)?t:{message:t}}function Ge(){if(l.i)return{};if(!(Ve=Ve.filter((function(t){return!t.$el.parentNode||(e=t.$el,document.body.contains(e));var e}))).length||We){var t=new(s.a.extend(ze))({el:document.createElement("div")});t.$on("input",(function(e){t.value=e})),Ve.push(t)}return Ve[Ve.length-1]}function Ye(t){void 0===t&&(t={});var e=Ge();return e.value&&e.updateZIndex(),t=qe(t),(t=r({},$e,Ue[t.type||$e.type],t)).clear=function(){e.value=!1,t.onClose&&(t.onClose(),t.onClose=null),We&&!l.i&&e.$on("closed",(function(){clearTimeout(e.timer),Ve=Ve.filter((function(t){return t!==e})),k(e.$el),e.$destroy()}))},r(e,function(t){return r({},t,{overlay:t.mask||t.overlay,mask:void 0,duration:void 0})}(t)),clearTimeout(e.timer),t.duration>0&&(e.timer=setTimeout((function(){e.clear()}),t.duration)),e}["loading","success","fail"].forEach((function(t){var e;Ye[t]=(e=t,function(t){return Ye(r({type:e},qe(t)))})})),Ye.clear=function(t){Ve.length&&(t?(Ve.forEach((function(t){t.clear()})),Ve=[]):We?Ve.shift().clear():Ve[0].clear())},Ye.setDefaultOptions=function(t,e){"string"==typeof t?Ue[t]=e:r($e,t)},Ye.resetDefaultOptions=function(t){"string"==typeof t?Ue[t]=null:($e=r({},He),Ue={})},Ye.allowMultiple=function(t){void 0===t&&(t=!0),We=t},Ye.install=function(){s.a.use(ze)},void 0===s.a.prototype.$toast&&(s.a.prototype.$toast=Ye),s.a.prototype.$ztToast=Ye;var Ze=Ye;function Xe(t){if(!t)return 0;for(;Object(oe.a)(parseInt(t,10));){if(!(t.length>1))return 0;t=t.slice(1)}return parseInt(t,10)}function Ke(t,e){return 32-new Date(t,e-1,32).getDate()}var Qe=(0,Object(l.b)("calendar-month")[0])({props:{date:Date,type:String,color:String,minDate:Date,maxDate:Date,showMark:Boolean,rowHeight:[Number,String],formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number},data:function(){return{visible:!1}},computed:{title:function(){return this.getMonthTitle()},rowHeightWithUnit:function(){return Object(l.a)(this.rowHeight)},offset:function(){var t=this.firstDayOfWeek,e=this.date.getDay();return t?(e+7-this.firstDayOfWeek)%7:e},totalDay:function(){return Ke(this.date.getFullYear(),this.date.getMonth()+1)},shouldRender:function(){return this.visible||!this.lazyRender},placeholders:function(){for(var t=[],e=Math.ceil((this.totalDay+this.offset)/7),n=1;n<=e;n++)t.push({type:"placeholder"});return t},days:function(){for(var t=[],e=this.date.getFullYear(),n=this.date.getMonth(),r=1;r<=this.totalDay;r++){var i=new Date(e,n,r),o=this.getDayType(i),a={date:i,type:o,text:r,bottomInfo:this.getBottomInfo(o)};this.formatter&&(a=this.formatter(a)),t.push(a)}return t}},methods:{getHeight:function(){return this.height||(this.height=this.$el.getBoundingClientRect().height),this.height},getMonthTitle:function(){return t=this.date,Pe("monthTitle",t.getFullYear(),t.getMonth()+1);var t},scrollIntoView:function(t){var e=this.$refs,n=e.days,r=e.month,i=(this.showSubtitle?n:r).getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop;M(t,i)},getMultipleDayType:function(t){var e=this,n=function(t){return e.currentDate.some((function(e){return 0===Te(e,t)}))};if(n(t)){var r=Oe(t,-1),i=Ee(t),o=n(r),a=n(i);return o&&a?"multiple-middle":o?"end":a?"start":"multiple-selected"}return""},getRangeDayType:function(t){var e=this.currentDate,n=e[0],r=e[1];if(!n)return"";var i=Te(t,n);if(!r)return 0===i?"start":"";var o=Te(t,r);return 0===i&&0===o&&this.allowSameDay?"start-end":0===i?"start":0===o?"end":i>0&&o<0?"middle":void 0},getDayType:function(t){var e=this.type,n=this.minDate,r=this.maxDate,i=this.currentDate;return Te(t,n)<0||Te(t,r)>0?"disabled":null!==i?"single"===e?0===Te(t,i)?"selected":"":"multiple"===e?this.getMultipleDayType(t):"range"===e?this.getRangeDayType(t):void 0:void 0},getBottomInfo:function(t){if("range"===this.type){if("start"===t||"end"===t)return Pe(t);if("start-end"===t)return Pe("startEnd")}},getDayStyle:function(t,e){var n={height:this.rowHeightWithUnit};return"placeholder"===t?(n.width="100%",n):(0===e&&(n.marginLeft=100*this.offset/7+"%"),this.color&&("start"===t||"end"===t||"start-end"===t||"multiple-selected"===t||"multiple-middle"===t?n.background=this.color:"middle"===t&&(n.color=this.color)),n)},genTitle:function(){var t=this.$createElement;if(this.showMonthTitle){var e=this.getMonthTitle();return t("div",{class:ke("month-title")},[e])}},genMark:function(){var t=this.$createElement;if(this.showMark&&this.shouldRender)return t("div",{class:ke("month-mark")},[this.date.getMonth()+1])},genDays:function(){var t=this.$createElement,e=this.shouldRender?this.days:this.placeholders;return t("div",{ref:"days",attrs:{role:"grid"},class:ke("days")},[this.genMark(),e.map(this.genDay)])},genTopInfo:function(t){var e=this.$createElement,n=this.$scopedSlots["top-info"];if(t.topInfo||n)return e("div",{class:ke("top-info")},[n?n(t):t.topInfo])},genBottomInfo:function(t){var e=this.$createElement,n=this.$scopedSlots["bottom-info"];if(t.bottomInfo||n)return e("div",{class:ke("bottom-info")},[n?n(t):t.bottomInfo])},genDay:function(t,e){var n=this,r=this.$createElement,i=t.type,o=this.getDayStyle(i,e),a="disabled"===i,s=function(){a||n.$emit("click",t)};return"selected"===i?r("div",{attrs:{role:"gridcell",tabindex:-1},style:o,class:[ke("day"),t.className],on:{click:s}},[r("div",{class:ke("selected-day"),style:{width:this.rowHeightWithUnit,height:this.rowHeightWithUnit,background:this.color}},[this.genTopInfo(t),t.text,this.genBottomInfo(t)])]):r("div",{attrs:{role:"gridcell",tabindex:a?null:-1},style:o,class:[ke("day",i),t.className],on:{click:s}},[this.genTopInfo(t),t.text,this.genBottomInfo(t)])}},render:function(){var t=arguments[0];return t("div",{class:ke("month"),ref:"month"},[this.genTitle(),this.genDays()])}}),Je=(0,Object(l.b)("calendar-header")[0])({props:{color:String,title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number},methods:{genTitle:function(){var t=this.$createElement;if(this.showTitle){var e=this.slots("title")||this.title||Pe("title");return t("div",{class:ke("header-title")},[t("span",{class:"hint-block",style:{background:this.color}}),e])}},genSubtitle:function(){var t=this.$createElement;if(this.showSubtitle)return t("div",{class:ke("header-subtitle")},[this.subtitle])},genWeekDays:function(){var t=this.$createElement,e=Pe("weekdays"),n=this.firstDayOfWeek,r=[].concat(e.slice(n,7),e.slice(0,n));return t("div",{class:ke("weekdays")},[r.map((function(e){return t("span",{class:ke("weekday")},[e])}))])}},render:function(){var t=arguments[0];return t("div",{class:ke("header")},[this.genTitle(),this.genSubtitle(),this.genWeekDays()])}}),tn=Se({props:{title:String,color:String,value:Boolean,readonly:Boolean,formatter:Function,rowHeight:[Number,String],confirmText:String,rangePrompt:String,defaultDate:[Date,Array],getContainer:[String,Function],allowSameDay:Boolean,confirmDisabledText:String,type:{type:String,default:"single"},round:{type:Boolean,default:!0},position:{type:String,default:"bottom"},poppable:{type:Boolean,default:!0},maxRange:{type:[Number,String],default:null},lazyRender:{type:Boolean,default:!0},showMark:{type:Boolean,default:!1},showTitle:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},minDate:{type:Date,validator:xe,default:function(){return new Date}},maxDate:{type:Date,validator:xe,default:function(){var t=new Date;return new Date(t.getFullYear(),t.getMonth()+6,t.getDate())}},firstDayOfWeek:{type:[Number,String],default:0,validator:function(t){return t>=0&&t<=6}}},data:function(){return{subtitle:"",currentDate:this.getInitialDate()}},computed:{months:function(){var t=[],e=new Date(this.minDate);e.setDate(1);do{t.push(new Date(e)),e.setMonth(e.getMonth()+1)}while(1!==Le(e,this.maxDate));return t},buttonDisabled:function(){var t=this.type,e=this.currentDate;if(e){if("range"===t)return!e[0]||!e[1];if("multiple"===t)return!e.length}return!e},dayOffset:function(){return this.firstDayOfWeek?this.firstDayOfWeek%7:0}},watch:{value:"init",type:function(){this.reset()},defaultDate:function(t){this.currentDate=t,this.scrollIntoView()}},mounted:function(){this.init()},activated:function(){this.init()},methods:{reset:function(t){void 0===t&&(t=this.getInitialDate()),this.currentDate=t,this.scrollIntoView()},init:function(){var t=this;this.poppable&&!this.value||this.$nextTick((function(){t.bodyHeight=Math.floor(t.$refs.body.getBoundingClientRect().height),t.onScroll(),t.scrollIntoView()}))},scrollToDate:function(t){var e=this;Object(_e.c)((function(){var n=e.value||!e.poppable;t&&n&&(e.months.some((function(n,r){if(0===Le(n,t)){var i=e.$refs,o=i.body;return i.months[r].scrollIntoView(o),!0}return!1})),e.onScroll())}))},scrollIntoView:function(){var t=this.currentDate;if(t){var e="single"===this.type?t:t[0];this.scrollToDate(e)}},getInitialDate:function(){var t=this.type,e=this.minDate,n=this.maxDate,r=this.defaultDate;if(null===r)return r;var i=new Date;if(-1===Te(i,e)?i=e:1===Te(i,n)&&(i=n),"range"===t){var o=r||[];return[o[0]||i,o[1]||Ee(i)]}return"multiple"===t?r||[i]:r||i},onScroll:function(){var t=this.$refs,e=t.body,n=t.months,r=I(e),i=r+this.bodyHeight,o=n.map((function(t){return t.getHeight()}));if(!(i>o.reduce((function(t,e){return t+e}),0)&&r>0)){for(var a,s=0,l=[-1,-1],u=0;u<n.length;u++){s<=i&&s+o[u]>=r&&(l[1]=u,a||(a=n[u],l[0]=u),n[u].showed||(n[u].showed=!0,this.$emit("month-show",{date:n[u].date,title:n[u].title}))),s+=o[u]}n.forEach((function(t,e){t.visible=e>=l[0]-1&&e<=l[1]+1})),a&&(this.subtitle=a.getMonthTitle())}},onClickDay:function(t){if(!this.readonly){var e=t.date,n=this.type,r=this.currentDate;if("range"===n){if(!r)return void this.select([e,null]);var i=r[0],o=r[1];if(i&&!o){var a=Te(e,i);1===a?this.select([i,e],!0):-1===a?this.select([e,null]):this.allowSameDay&&this.select([e,e],!0)}else this.select([e,null])}else if("multiple"===n){if(!r)return void this.select([e]);var s;if(this.currentDate.some((function(t,n){var r=0===Te(t,e);return r&&(s=n),r}))){var l=r.splice(s,1)[0];this.$emit("unselect",Fe(l))}else this.maxRange&&r.length>=this.maxRange?Ze(this.rangePrompt||Pe("rangePrompt",this.maxRange)):this.select([].concat(r,[e]))}else this.select(e,!0)}},togglePopup:function(t){this.$emit("input",t)},select:function(t,e){var n=this,r=function(t){n.currentDate=t,n.$emit("select",Re(n.currentDate))};if(e&&"range"===this.type&&!this.checkRange(t))return void(this.showConfirm?r([t[0],Oe(t[0],this.maxRange-1)]):r(t));r(t),e&&!this.showConfirm&&this.onConfirm()},checkRange:function(t){var e=this.maxRange,n=this.rangePrompt;return!(e&&function(t){var e=t[0].getTime();return(t[1].getTime()-e)/864e5+1}(t)>e)||(Ze(n||Pe("rangePrompt",e)),!1)},onConfirm:function(){this.$emit("confirm",Re(this.currentDate))},genMonth:function(t,e){var n=this.$createElement,r=0!==e||!this.showSubtitle;return n(Qe,{ref:"months",refInFor:!0,attrs:{date:t,type:this.type,color:this.color,minDate:this.minDate,maxDate:this.maxDate,showMark:this.showMark,formatter:this.formatter,rowHeight:this.rowHeight,lazyRender:this.lazyRender,currentDate:this.currentDate,showSubtitle:this.showSubtitle,allowSameDay:this.allowSameDay,showMonthTitle:r,firstDayOfWeek:this.dayOffset},scopedSlots:{"top-info":this.$scopedSlots["top-info"],"bottom-info":this.$scopedSlots["bottom-info"]},on:{click:this.onClickDay}})},genFooterContent:function(){var t=this.$createElement,e=this.slots("footer");if(e)return e;if(this.showConfirm){var n=this.buttonDisabled?this.confirmDisabledText:this.confirmText;return t(we,{attrs:{block:!0,type:"primary",color:this.color,disabled:this.buttonDisabled,nativeType:"button"},class:ke("confirm"),on:{click:this.onConfirm}},[n||Pe("confirm")])}},genFooter:function(){return(0,this.$createElement)("div",{class:ke("footer",{unfit:!this.safeAreaInsetBottom})},[this.genFooterContent()])},genCalendar:function(){var t=this,e=this.$createElement;return e("div",{class:ke()},[e(Je,{attrs:{color:this.color,title:this.title,showTitle:this.showTitle,subtitle:this.subtitle,showSubtitle:this.showSubtitle,firstDayOfWeek:this.dayOffset},scopedSlots:{title:function(){return t.slots("title")}}}),e("div",{ref:"body",class:ke("body"),on:{scroll:this.onScroll}},[this.months.map(this.genMonth)]),this.genFooter()])}},render:function(){var t=this,e=arguments[0];if(this.poppable){var n,r=function(e){return function(){return t.$emit(e)}};return e(at,{attrs:(n={round:!0,value:this.value},n.round=this.round,n.position=this.position,n.closeable=this.showTitle||this.showSubtitle,n.getContainer=this.getContainer,n.closeOnPopstate=this.closeOnPopstate,n.closeOnClickOverlay=this.closeOnClickOverlay,n),class:ke("popup"),on:{input:this.togglePopup,open:r("open"),opened:r("opened"),close:r("close"),closed:r("closed")}},[this.genCalendar()])}return this.genCalendar()}});function en(t,e){var n=e.$vnode.componentOptions;if(n&&n.children){var r=function(t){var e=[];return function t(n){n.forEach((function(n){e.push(n),n&&n.componentInstance&&t(n.componentInstance.$children.map((function(t){return t.$vnode}))),n&&n.children&&t(n.children)}))}(t),e}(n.children);t.sort((function(t,e){return r.indexOf(t.$vnode)-r.indexOf(e.$vnode)}))}}function nn(t,e){var n,r;void 0===e&&(e={});var i=e.indexKey||"index";return{inject:(n={},n[t]={default:null},n),computed:(r={parent:function(){return this.disableBindRelation?null:this[t]}},r[i]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},r),watch:{disableBindRelation:function(t){t||this.bindRelation()}},mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(e){return e!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]);en(t,this.parent),this.parent.children=t}}}}}function rn(t){return{provide:function(){var e;return(e={})[t]=this,e},data:function(){return{children:[]}}}}var on,an=Object(l.b)("tab"),sn=an[0],ln=an[1],un=sn({mixins:[nn("ztTabs")],props:r({},ve,{dot:Boolean,name:[Number,String],info:[Number,String],badge:[Number,String],title:String,titleStyle:null,titleClass:null,disabled:Boolean}),data:function(){return{inited:!1}},computed:{computedName:function(){var t;return null!=(t=this.name)?t:this.index},isActive:function(){var t=this.computedName===this.parent.currentName;return t&&(this.inited=!0),t}},watch:{title:function(){this.parent.setLine(),this.parent.scrollIntoView()},inited:function(t){var e=this;this.parent.lazyRender&&t&&this.$nextTick((function(){e.parent.$emit("rendered",e.computedName,e.title)}))}},render:function(t){var e=this.slots,n=this.parent,r=this.isActive,i=e();if(i||n.animated){var o=n.scrollspy||r,a=this.inited||n.scrollspy||!n.lazyRender?i:t();return n.animated?t("div",{attrs:{role:"tabpanel","aria-hidden":!r},class:ln("pane-wrapper",{inactive:!r})},[t("div",{class:ln("pane")},[a])]):t("div",{directives:[{name:"show",value:o}],attrs:{role:"tabpanel"},class:ln("pane")},[a])}}});function cn(t){var e=window.getComputedStyle(t),n="none"===e.display,r=null===t.offsetParent&&"fixed"!==e.position;return n||r}function hn(t){var e=t.interceptor,n=t.args,r=t.done;if(e){var i=e.apply(void 0,n);Object(l.h)(i)?i.then((function(t){t&&r()})).catch(l.j):i&&r()}else r()}var fn=Object(l.b)("tab"),dn=fn[0],pn=fn[1],vn=dn({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String},computed:{style:function(){var t={},e=this.color,n=this.isActive,r="card"===this.type;e&&r&&(t.borderColor=e,this.disabled||(n?t.backgroundColor=e:t.color=e));var i=n?this.activeColor:this.inactiveColor;return i&&(t.color=i),t}},methods:{onClick:function(){this.$emit("click")},genText:function(){var t=this.$createElement,e=t("span",{class:pn("text",{ellipsis:!this.scrollable})},[this.slots()||this.title]);return this.dot||Object(l.e)(this.info)&&""!==this.info?t("span",{class:pn("text-wrapper")},[e,t(X,{attrs:{dot:this.dot,info:this.info}})]):e}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[pn({active:this.isActive,disabled:this.disabled})],style:this.style,on:{click:this.onClick}},[this.genText()])}}),gn=Object(l.b)("sticky"),mn=gn[0],yn=gn[1],bn=mn({mixins:[U((function(t,e){if(this.scroller||(this.scroller=R(this.$el)),this.observer){var n=e?"observe":"unobserve";this.observer[n](this.$el)}t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()})),j],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0},refresh:{type:Boolean,default:!1},autoScroll:{type:Boolean,default:!1},cover:{type:Boolean,default:!1},updownPercent:{type:[Number,String],default:50},refreshDistance:{type:[Number,String],default:50},scrollSpeed:{type:[Number,String],default:20},delayTime:{type:[Number,String],default:300},pc:{type:Boolean,default:!1},pulling:{type:Boolean,default:!0}},data:function(){return{fixed:!1,height:0,transform:0,overScroll:!1,lockfixed:!1,overpx:0,refreshtopToPageTop:null,touchOn:!1,refreshOffsetTop:null,t1:0,t2:0,pull:!1}},computed:{offsetTopPx:function(){return Object(wt.b)(this.offsetTop)},style:function(){if(this.fixed){var t={};return Object(l.e)(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTopPx&&this.fixed&&(t.top=this.offsetTopPx+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},watch:{fixed:function(t){this.$emit("change",t)}},created:function(){var t=this;!l.i&&window.IntersectionObserver&&(this.observer=new IntersectionObserver((function(e){e[0].intersectionRatio>0&&t.onScroll()}),{root:document.body}))},mounted:function(){this.bindTouchEvent(window)},methods:{onScroll:function(){var t=this,e=this.container,n=this.offsetTopPx;if(!cn(this.$el)){setTimeout((function(){t.refresh&&null===t.refreshtopToPageTop&&(t.refreshtopToPageTop=N(t.$el))}),500),this.refresh&&null===this.refreshOffsetTop&&(this.refreshOffsetTop=this.offsetTopPx),this.height=this.$el.offsetHeight;var r=I(window),i=N(this.$el),o=function(){t.$emit("scroll",{scrollTop:r,isFixed:t.fixed,distance:a+r+n-i})},a=this.refresh&&this.lockfixed?this.refreshDistance:0,s=document.documentElement.scrollTop||document.body.scrollTop;if(this.pull=s<this.refreshtopToPageTop-this.offsetTopPx,e){var l=i-a+e.offsetHeight;if(r+n+this.height>l){var u=this.height+r-l;return u<this.height?(this.fixed=!0,this.transform=-(u+n),this.lockfixed=!0):(this.fixed=!1,this.lockfixed=!1),void o()}}if(r+n>i-a?(this.fixed=!0,this.lockfixed=!0,this.transform=0):(this.lockfixed=!1,this.fixed=!1),this.refresh&&this.pc&&!this.touchOn){this.t1=I(window),clearTimeout(this.timer);var c=this;this.timer=setTimeout((function(){if(c.t2=I(window),c.autoScroll){var t=document.documentElement.scrollTop||document.body.scrollTop;return c.refresh&&!c.fixed&&I(window)>c.refreshtopToPageTop*c.updownPercent/100?(c.scrollAnimation(t,c.refreshtopToPageTop-c.refreshOffsetTop,!0),void(c.touchOn=!1)):c.refresh&&!c.fixed&&I(window)<=c.refreshtopToPageTop*c.updownPercent/100?(c.scrollAnimation(t,0,!1),void(c.touchOn=!1)):c.refresh&&c.fixed&&t<c.refreshtopToPageTop-c.offsetTopPx?(c.$emit("refreshcallback"),c.scrollAnimation(t,c.refreshtopToPageTop-c.refreshOffsetTop,!0),void(c.touchOn=!1)):void(c.touchOn=!1)}}),c.delayTime)}o()}},onTouchStart:function(t){this.touchStart(t),this.touchOn=!0},onTouchMove:function(t){this.touchMove(t),this.deltaY>10&&(this.overScroll=!0)},onTouchEnd:function(){if(this.autoScroll){var t=document.documentElement.scrollTop||document.body.scrollTop;return this.refresh&&!this.fixed&&I(window)>this.refreshtopToPageTop*this.updownPercent/100?(this.scrollAnimation(t,this.refreshtopToPageTop-this.refreshOffsetTop,!0),void(this.touchOn=!1)):this.refresh&&!this.fixed&&I(window)<=this.refreshtopToPageTop*this.updownPercent/100?(this.scrollAnimation(t,0,!1),void(this.touchOn=!1)):this.refresh&&this.deltaY>0&&this.fixed&&t<this.refreshtopToPageTop-this.offsetTopPx?(this.$emit("refreshcallback"),this.scrollAnimation(t,this.refreshtopToPageTop-this.refreshOffsetTop,!0),void(this.touchOn=!1)):void(this.touchOn=!1)}},renderLoading:function(){var t=this.$createElement;if(this.lockfixed&&this.refresh&&this.touchOn&&this.pull&&this.pulling)return this.$slots.pull?this.slots("pull"):t("zt-loading")},scrollAnimation:function(t,e,n){var r=this,i=e-t,o=t;setTimeout((function(){var a=Math.ceil(i/r.scrollSpeed);o+=a,window.scrollTo(o,t),i>r.scrollSpeed||i<-r.scrollSpeed?r.scrollAnimation(o,e,n):(window.scrollTo(o,e),r.lockfixed=n)}),1)}},render:function(){var t=arguments[0],e=this.fixed,n=this.cover,r={height:e?this.height+"px":null};return n&&this.fixed&&(r.width="100%"),t("div",{style:r},[t("div",{class:yn({fixed:e}),style:this.style},[this.slots(),t("div",{class:yn("head"),style:this.headStyle},[this.renderLoading()])])])}}),Cn=Object(l.b)("tabs"),wn=Cn[0],_n=Cn[1],xn=wn({mixins:[j],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,n=this.currentIndex;"horizontal"===t&&this.offsetX>=50&&(e>0&&0!==n?this.$emit("change",n-1):e<0&&n!==this.count-1&&this.$emit("change",n+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:_n("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){var t=arguments[0];return t("div",{class:_n("content",{animated:this.animated}),on:r({},this.listeners)},[this.genChildren()])}}),An=Object(l.b)("tabs"),Sn=An[0],kn=An[1],Pn=Sn({mixins:[rn("ztTabs"),U((function(t){this.scroller||(this.scroller=R(this.$el)),t(window,"resize",this.resize,!0),this.scrollspy&&t(this.scroller,"scroll",this.onScroll,!0)}))],inject:{vanPopup:{default:null}},model:{prop:"active"},props:{color:String,border:Boolean,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],beforeChange:Function,titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:5},divider:{type:Boolean,default:!0}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},offsetTopPx:function(){return Object(wt.b)(this.offsetTop)},scrollOffset:function(){return this.sticky?this.offsetTopPx+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.active),this.setLine(),this.$nextTick((function(){t.scrollIntoView(!0)}))},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&B(Math.ceil(N(this.$el)-this.offsetTopPx))},scrollspy:function(t){t?g(this.scroller,"scroll",this.onScroll,!0):m(this.scroller,"scroll",this.onScroll)}},mounted:function(){var t=this;this.init(),this.vanPopup&&this.vanPopup.onReopen((function(){t.setLine()}))},activated:function(){this.init(),this.setLine()},methods:{resize:function(){this.setLine()},init:function(){var t=this;this.$nextTick((function(){var e;t.inited=!0,t.tabHeight=E(e=t.$refs.wrap)?e.innerHeight:e.getBoundingClientRect().height,t.scrollIntoView(!0)}))},setLine:function(){var t=this,e=this.inited;this.$nextTick((function(){var n=t.$refs.titles;if(n&&n[t.currentIndex]&&"line"===t.type&&!cn(t.$el)){var r=n[t.currentIndex].$el,i=(t.lineWidth,t.lineHeight),o=r.offsetLeft+r.offsetWidth/2,a={width:Object(l.a)(r.offsetWidth),backgroundColor:t.color,transform:"translateX("+o+"px) translateX(-50%)"};if(e&&(a.transitionDuration=t.duration+"s"),Object(l.e)(i)){var s=Object(l.a)(i);a.height=s,a.borderRadius=s}t.lineStyle=a}}))},setCurrentIndexByName:function(t){var e=this.children.filter((function(e){return e.computedName===t})),n=(this.children[0]||{}).index||0;this.setCurrentIndex(e.length?e[0].index:n)},setCurrentIndex:function(t){var e=this.findAvailableTab(t);if(Object(l.e)(e)){var n=this.children[e],r=n.computedName,i=null!==this.currentIndex;this.currentIndex=e,r!==this.active&&(this.$emit("input",r),i&&this.$emit("change",r,n.title))}},findAvailableTab:function(t){for(var e=t<this.currentIndex?-1:1;t>=0&&t<this.children.length;){if(!this.children[t].disabled)return t;t+=e}},onClick:function(t,e){var n=this,r=this.children[e],i=r.title,o=r.disabled,a=r.computedName;o?this.$emit("disabled",a,i):(hn({interceptor:this.beforeChange,args:[a],done:function(){n.setCurrentIndex(e),n.scrollToCurrentContent()}}),this.$emit("click",a,i),de(t.$router,t))},scrollIntoView:function(t){var e=this.$refs.titles;if(this.scrollable&&e&&e[this.currentIndex]){var n=this.$refs.nav,r=e[this.currentIndex].$el;!function(t,e,n){Object(_e.a)(on);var r=0,i=t.scrollLeft,o=0===n?1:Math.round(1e3*n/16);!function n(){t.scrollLeft+=(e-i)/o,++r<o&&(on=Object(_e.c)(n))}()}(n,r.offsetLeft-(n.offsetWidth-r.offsetWidth)/2,t?0:+this.duration)}},onSticktScroll:function(t){this.stickyFixed=t.isFixed,this.$emit("scroll",t)},scrollTo:function(t){var e=this;this.$nextTick((function(){e.setCurrentIndexByName(t),e.scrollToCurrentContent(!0)}))},scrollToCurrentContent:function(t){var e=this;if(void 0===t&&(t=!1),this.scrollspy){var n=this.children[this.currentIndex],r=null==n?void 0:n.$el;if(r){var i=N(r,this.scroller)-this.scrollOffset;this.lockScroll=!0,function(t,e,n,r){var i=I(t),o=i<e,a=0===n?1:Math.round(1e3*n/16),s=(e-i)/a;!function n(){i+=s,(o&&i>e||!o&&i<e)&&(i=e),M(t,i),o&&i<e||!o&&i>e?Object(_e.c)(n):r&&Object(_e.c)(r)}()}(this.scroller,i,t?0:+this.duration,(function(){e.lockScroll=!1}))}}},onScroll:function(){if(this.scrollspy&&!this.lockScroll){var t=this.getCurrentIndexOnScroll();this.setCurrentIndex(t)}},getCurrentIndexOnScroll:function(){for(var t,e=this.children,n=0;n<e.length;n++){if((E(t=e[n].$el)?0:t.getBoundingClientRect().top)>this.scrollOffset)return 0===n?0:n-1}return e.length-1}},render:function(){var t,e=this,n=arguments[0],r=this.type,i=this.animated,o=this.scrollable,a=this.children.map((function(t,i){var a;return n(vn,{ref:"titles",refInFor:!0,attrs:{type:r,dot:t.dot,info:null!=(a=t.badge)?a:t.info,title:t.title,color:e.color,isActive:i===e.currentIndex,disabled:t.disabled,scrollable:o,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor},style:t.titleStyle,class:t.titleClass,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){e.onClick(t,i)}}})})),s={borderBottom:"none"};"card"!==r&&this.divider&&(s.borderBottom="1px solid #eee");var l=n("div",{ref:"wrap",style:s,class:[kn("wrap",{scrollable:o}),(t={},t[fe]="line"===r&&this.border,t)]},[n("div",{ref:"nav",attrs:{role:"tablist"},class:kn("nav",[r,{complete:this.scrollable}]),style:this.navStyle},[this.slots("nav-left"),a,"line"===r&&n("div",{class:kn("line"),style:this.lineStyle}),this.slots("nav-right")])]);return n("div",{class:kn([r])},[this.sticky?n(bn,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[l]):l,n(xn,{attrs:{count:this.children.length,animated:i,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}}),Ln=Object(l.b)("divider"),Tn=Ln[0],On=Ln[1];function En(t,e,n,r){var i,a,s;return console.log(On(((i={dashed:e.dashed,hairline:e.hairline})["content-"+e.contentPosition]=n.default,i)),((a={dashed:e.dashed,hairline:e.hairline})["content-"+e.contentPosition]=n.default,a)),t("div",o()([{attrs:{role:"separator"},style:{borderColor:e.borderColor},class:On((s={dashed:e.dashed,hairline:e.hairline},s["content-"+e.contentPosition]=n.default,s))},h(r,!0)]),[n.default&&n.default()])}En.props={dashed:Boolean,hairline:{type:Boolean,default:!0},contentPosition:{type:String,default:"center"}};var Fn=Tn(En),Rn=Object(l.b)("cascader"),In=Rn[0],Mn=Rn[1],Dn=Rn[2],Bn=In({props:{title:String,value:[Number,String],fieldNames:Object,placeholder:String,activeColor:String,options:{type:Array,default:function(){return[]}},closeable:{type:Boolean,default:!0}},data:function(){return{tabs:[],activeTab:0}},computed:{textKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.text)||"text"},valueKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.value)||"value"},childrenKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.children)||"children"}},watch:{options:{deep:!0,handler:"updateTabs"},value:function(t){var e=this;if((t||0===t)&&-1!==this.tabs.map((function(t){var n;return null==(n=t.selectedOption)?void 0:n[e.valueKey]})).indexOf(t))return;this.updateTabs()}},created:function(){this.updateTabs()},methods:{getSelectedOptionsByValue:function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r[this.valueKey]===e)return[r];if(r[this.childrenKey]){var i=this.getSelectedOptionsByValue(r[this.childrenKey],e);if(i)return[r].concat(i)}}},updateTabs:function(){var t=this;if(this.value||0===this.value){var e=this.getSelectedOptionsByValue(this.options,this.value);if(e){var n=this.options;return this.tabs=e.map((function(e){var r={options:n,selectedOption:e},i=n.filter((function(n){return n[t.valueKey]===e[t.valueKey]}));return i.length&&(n=i[0][t.childrenKey]),r})),n&&this.tabs.push({options:n,selectedOption:null}),void this.$nextTick((function(){t.activeTab=t.tabs.length-1}))}}this.tabs=[{options:this.options,selectedOption:null}]},onSelect:function(t,e){var n=this;if(this.tabs[e].selectedOption=t,this.tabs.length>e+1&&(this.tabs=this.tabs.slice(0,e+1)),t[this.childrenKey]){var r={options:t[this.childrenKey],selectedOption:null};this.tabs[e+1]?this.$set(this.tabs,e+1,r):this.tabs.push(r),this.$nextTick((function(){n.activeTab++}))}var i=this.tabs.map((function(t){return t.selectedOption})).filter((function(t){return!!t})),o={value:t[this.valueKey],tabIndex:e,selectedOptions:i};this.$emit("input",t[this.valueKey]),this.$emit("change",o),t[this.childrenKey]||this.$emit("finish",o)},onClose:function(){this.$emit("close")},renderHeader:function(){var t=this.$createElement;return t("div",{class:Mn("header")},[t("h2",{class:Mn("title")},[this.slots("title")||this.title]),this.closeable?t(nt,{attrs:{name:"cross"},class:Mn("close-icon"),on:{click:this.onClose}}):null])},renderDivider:function(){return(0,this.$createElement)("zt-divider",{style:{margin:0}})},renderOptions:function(t,e,n){var r=this,i=this.$createElement;return i("ul",{class:Mn("options")},[t.map((function(t){var o=e&&t[r.valueKey]===e[r.valueKey],a=r.slots("option",{option:t,selected:o})||i("span",[t[r.textKey]]);return i("li",{class:Mn("option",{selected:o}),style:{color:o?r.activeColor:null},on:{click:function(){r.onSelect(t,n)}}},[a,o?i(nt,{attrs:{name:"success"},class:Mn("selected-icon")}):null])}))])},renderTab:function(t,e){var n=this.$createElement,r=t.options,i=t.selectedOption,o=i?i[this.textKey]:this.placeholder||Dn("select");return n(un,{attrs:{title:o,titleClass:Mn("tab",{unselected:!i})}},[this.renderOptions(r,i,e)])},renderTabs:function(){var t=this;return(0,this.$createElement)(Pn,{attrs:{animated:!0,swipeable:!0,swipeThreshold:0,color:this.activeColor},class:Mn("tabs"),model:{value:t.activeTab,callback:function(e){t.activeTab=e}}},[this.tabs.map(this.renderTab)])}},render:function(){var t=arguments[0];return t("div",{class:Mn()},[this.renderHeader(),this.renderDivider(),this.renderTabs()])}}),Nn={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,noFlex:Boolean,iconPrefix:String,titleStyle:null,titleClass:null,valueClass:null,labelClass:null,title:[Number,String],value:[Number,String],label:[Number,String],arrowDirection:String,border:{type:Boolean,default:!0},clickable:{type:Boolean,default:null},placeholder:{type:String,value:""}},jn=Object(l.b)("cell"),zn=jn[0],Hn=jn[1];function Un(t,e,n,r){var i,a=e.icon,s=e.size,u=e.title,c=e.label,d=e.value,p=e.isLink,v=e.placeholder,g=n.title||Object(l.e)(u);function m(){if(n.label||Object(l.e)(c))return t("div",{class:[Hn("label"),e.labelClass]},[n.label?n.label():c])}function y(){return""!==v&&void 0!==v?t("span",{class:[Hn("placeholder")]},[v||""]):t()}var b=null!=(i=e.clickable)?i:p,C={clickable:b,center:e.center,borderless:!e.border,noFlex:e.noFlex};return s&&(C[s]=s),t("div",o()([{class:Hn(C),attrs:{role:b?"button":null,tabindex:b?0:null},on:{click:function(t){f(r,"click",t),pe(r)}}},h(r)]),[n.icon?n.icon():a?t(nt,{class:Hn("left-icon"),attrs:{name:a,classPrefix:e.iconPrefix}}):void 0,function(){if(g)return t("div",{class:[Hn("title"),e.titleClass],style:e.titleStyle},[n.title?n.title():t("span",[u]),m(),e.required?t("span",{style:"color:#ff5023;margin-left:4px;"},["*"]):""])}(),n.default||Object(l.e)(d)?t("div",{class:[Hn("value",{alone:!g}),e.valueClass]},[n.default?n.default():""!==d?t("span",[d]):y()]):y(),function(){var r=n["right-icon"];if(r)return r();if(p){var i=e.arrowDirection;return t(nt,{class:Hn("right-icon"),attrs:{name:i?"arrow-"+i:"arrow"}})}}(),null==n.extra?void 0:n.extra()])}Un.props=r({},Nn,ve);var Vn=zn(Un),Wn=Object(l.b)("cell-group"),$n=Wn[0],qn=Wn[1];function Gn(t,e,n,r){var i,a=t("div",o()([{class:[qn({inset:e.inset}),(i={},i[fe]=e.border,i)]},h(r,!0)]),[null==n.default?void 0:n.default()]);return e.title||n.title?t("div",{key:r.data.key},[t("div",{class:qn("title",{inset:e.inset})},[n.title?n.title():e.title]),a]):a}Gn.props={title:String,inset:Boolean,border:{type:Boolean,default:!0}};var Yn=$n(Gn),Zn={inject:{ztField:{default:null}},watch:{value:function(){var t=this.ztField;t&&(t.resetValidation(),t.validateWithTrigger("onChange"))}},created:function(){var t=this.ztField;t&&!t.children&&(t.children=this)}},Xn=function(t){var e=t.parent,n=t.bem,r=t.role;return{mixins:[nn(e),Zn],props:{name:null,value:null,disabled:Boolean,iconSize:[Number,String],checkedColor:String,iconColor:String,labelPosition:String,labelDisabled:Boolean,shape:{type:String,default:"round"},bindGroup:{type:Boolean,default:!0}},computed:{disableBindRelation:function(){return!this.bindGroup},isDisabled:function(){return this.parent&&this.parent.disabled||this.disabled},direction:function(){return this.parent&&this.parent.direction||null},iconStyle:function(){var t=this.checkedColor||this.parent&&this.parent.checkedColor,e=this.iconColor||this.parent&&this.parent.iconColor;if(t&&this.checked&&!this.isDisabled)return{color:e,borderColor:t,backgroundColor:t}},tabindex:function(){return this.isDisabled||"radio"===r&&!this.checked?-1:0}},methods:{onClick:function(t){var e=this,n=t.target,r=this.$refs.icon,i=r===n||r.contains(n);this.isDisabled||!i&&this.labelDisabled?this.$emit("click",t):(this.toggle(),setTimeout((function(){e.$emit("click",t)})))},genIcon:function(){var t=this.$createElement,e=this.checked,i=this.iconSize||this.parent&&this.parent.iconSize;return t("div",{ref:"icon",class:n("icon",[this.shape,{disabled:this.isDisabled,checked:e}]),style:{fontSize:Object(l.a)(i)}},[this.slots("icon",{checked:e})||("radio"===r&&e?this.genRadioIcon():t(nt,{attrs:{name:"success"},style:this.iconStyle}))])},genRadioIcon:function(){var t=this.$createElement,e=this.iconSize||this.parent&&this.parent.iconSize;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},class:n("custom-svg"),style:{width:e,height:e}},[t("path",{style:{fill:this.checkedColor},attrs:{d:"M12,2 C17.5228475,2 22,6.4771525 22,12 C22,17.5228475 17.5228475,22 12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 Z M12,7 C9.23857625,7 7,9.23857625 7,12 C7,14.7614237 9.23857625,17 12,17 C14.7614237,17 17,14.7614237 17,12 C17,9.23857625 14.7614237,7 12,7 Z",fill:"#0091FA","fill-rule":"nonzero"}})])},genLabel:function(){var t=this.$createElement,e=this.slots();if(e)return t("span",{class:n("label",[this.labelPosition,{disabled:this.isDisabled}])},[e])}},render:function(){var t=arguments[0],e=[this.genIcon()];return"left"===this.labelPosition?e.unshift(this.genLabel()):e.push(this.genLabel()),t("div",{attrs:{role:r,tabindex:this.tabindex,"aria-checked":String(this.checked)},class:n([{disabled:this.isDisabled,"label-disabled":this.labelDisabled},this.direction]),on:{click:this.onClick}},[e])}}},Kn=Object(l.b)("checkbox"),Qn=(0,Kn[0])({mixins:[Xn({bem:Kn[1],role:"checkbox",parent:"vanCheckbox"})],computed:{checked:{get:function(){return this.parent?this.parent.value&&-1!==this.parent.value.indexOf(this.name):this.value},set:function(t){this.parent?this.setParentValue(t):this.$emit("input",t)}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggle:function(t){var e=this;void 0===t&&(t=!this.checked),clearTimeout(this.toggleTask),this.toggleTask=setTimeout((function(){e.checked=t}))},setParentValue:function(t){var e=this.parent,n=e.value.slice();if(t){if(e.max&&n.length>=e.max)return;-1===n.indexOf(this.name)&&(n.push(this.name),e.$emit("input",n))}else{var r=n.indexOf(this.name);-1!==r&&(n.splice(r,1),e.$emit("input",n))}}}}),Jn=Object(l.b)("checkbox-group"),tr=Jn[0],er=Jn[1],nr=tr({mixins:[rn("vanCheckbox"),Zn],props:{max:[Number,String],disabled:Boolean,direction:String,iconSize:[Number,String],checkedColor:String,value:{type:Array,default:function(){return[]}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggleAll:function(t){void 0===t&&(t={}),"boolean"==typeof t&&(t={checked:t});var e=t,n=e.checked,r=e.skipDisabled,i=this.children.filter((function(t){return t.disabled&&r?t.checked:null!=n?n:!t.checked})).map((function(t){return t.name}));this.$emit("input",i)}},render:function(){var t=arguments[0];return t("div",{class:er([this.direction])},[this.slots()])}}),rr=Object(l.b)("col"),ir=rr[0],or=rr[1],ar=ir({mixins:[nn("ztRow")],props:{span:[Number,String],offset:[Number,String],tag:{type:String,default:"div"}},computed:{style:function(){var t=this.index,e=(this.parent||{}).spaces;if(e&&e[t]){var n=e[t],r=n.left,i=n.right;return{paddingLeft:r?r+"px":null,paddingRight:i?i+"px":null}}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=arguments[0],n=this.span,r=this.offset;return e(this.tag,{style:this.style,class:or((t={},t[n]=n,t["offset-"+r]=r,t)),on:{click:this.onClick}},[this.slots()])}}),sr=Object(l.b)("collapse"),lr=sr[0],ur=sr[1],cr=lr({mixins:[rn("ztCollapse")],props:{accordion:Boolean,value:[String,Number,Array]},methods:{switch:function(t,e){this.accordion||(t=e?this.value.concat(t):this.value.filter((function(e){return e!==t}))),this.$emit("change",t),this.$emit("input",t)}},render:function(){var t=arguments[0];return t("div",{class:ur()},[this.slots()])}}),hr=Object(l.b)("collapse-item"),fr=hr[0],dr=hr[1],pr=["title","icon","right-icon"],vr=fr({mixins:[nn("ztCollapse")],props:r({},Nn,{name:[Number,String],disabled:Boolean,isLink:{type:Boolean,default:!0},titleBG:{type:String,default:""}}),data:function(){return{show:null,inited:null}},computed:{currentName:function(){var t;return null!=(t=this.name)?t:this.index},expanded:function(){var t=this;if(!this.parent)return null;var e=this.parent,n=e.value;return e.accordion?n===this.currentName:n.some((function(e){return e===t.currentName}))}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(t,e){var n=this;null!==e&&(t&&(this.show=!0,this.inited=!0),(t?this.$nextTick:_e.c)((function(){var e=n.$refs,r=e.content,i=e.wrapper;if(r&&i){var o=r.offsetHeight;if(o){var a=o+"px";i.style.height=t?0:a,Object(_e.b)((function(){i.style.height=t?a:0}))}else n.onTransitionEnd()}})))}},methods:{onClick:function(){this.disabled||this.toggle()},toggle:function(t){void 0===t&&(t=!this.expanded);var e=this.parent,n=this.currentName,r=e.accordion&&n===e.value?"":n;this.parent.switch(r,t)},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var t=this,e=this.$createElement,n=this.border,i=this.disabled,o=this.expanded,a=this.titleBG,s=pr.reduce((function(e,n){return t.slots(n)&&(e[n]=function(){return t.slots(n)}),e}),{});return this.slots("value")&&(s.default=function(){return t.slots("value")}),e("div",{class:dr("container")+(o?" half-border-bottom":""),style:a?"background:"+a+";color:#fff;":""},[e("div",{class:dr("bar"),style:a?"background-color:#fff;":""}),e(Vn,{attrs:{role:"button",tabindex:i?-1:0,"aria-expanded":String(o)},class:dr("title",{disabled:i,expanded:o,borderless:!n,iconWhite:a}),on:{click:this.onClick},scopedSlots:s,style:a?"background:"+a+";color:#fff;":"",props:r({},this.$props)})])},genContent:function(){var t=this.$createElement;if(this.inited)return t("div",{directives:[{name:"show",value:this.show}],ref:"wrapper",class:dr("wrapper"),on:{transitionend:this.onTransitionEnd}},[t("div",{ref:"content",class:dr("content")},[this.slots()])])}},render:function(){var t=arguments[0];return t("div",{class:[dr({border:this.index&&this.border})]},[this.genTitle(),this.genContent()])}}),gr=n(4);var mr=Object(l.b)("count-down"),yr=mr[0],br=mr[1],Cr=yr({props:{millisecond:Boolean,time:{type:[Number,String],default:0},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0},color:{type:String,default:"rgba(0, 0, 0, 0.6)"}},data:function(){return{remain:0}},computed:{timeData:function(){return t=this.remain,{days:Math.floor(t/864e5),hours:Math.floor(t%864e5/36e5),minutes:Math.floor(t%36e5/6e4),seconds:Math.floor(t%6e4/1e3),milliseconds:Math.floor(t%1e3)};var t},formattedTime:function(){return function(t,e){var n=e.days,r=e.hours,i=e.minutes,o=e.seconds,a=e.milliseconds;if(-1===t.indexOf("DD")?r+=24*n:t=t.replace("DD",Object(gr.b)(n)),-1===t.indexOf("HH")?i+=60*r:t=t.replace("HH",Object(gr.b)(r)),-1===t.indexOf("mm")?o+=60*i:t=t.replace("mm",Object(gr.b)(i)),-1===t.indexOf("ss")?a+=1e3*o:t=t.replace("ss",Object(gr.b)(o)),-1!==t.indexOf("S")){var s=Object(gr.b)(a,3);t=-1!==t.indexOf("SSS")?t.replace("SSS",s):-1!==t.indexOf("SS")?t.replace("SS",s.slice(0,2)):t.replace("S",s.charAt(0))}return t}(this.format,this.timeData)}},watch:{time:{immediate:!0,handler:"reset"}},activated:function(){this.keepAlivePaused&&(this.counting=!0,this.keepAlivePaused=!1,this.tick())},deactivated:function(){this.counting&&(this.pause(),this.keepAlivePaused=!0)},beforeDestroy:function(){this.pause()},methods:{start:function(){this.counting||(this.counting=!0,this.endTime=Date.now()+this.remain,this.tick())},pause:function(){this.counting=!1,Object(_e.a)(this.rafId)},reset:function(){this.pause(),this.remain=+this.time,this.autoStart&&this.start()},tick:function(){l.d&&(this.millisecond?this.microTick():this.macroTick())},microTick:function(){var t=this;this.rafId=Object(_e.c)((function(){t.counting&&(t.setRemain(t.getRemain()),t.remain>0&&t.microTick())}))},macroTick:function(){var t=this;this.rafId=Object(_e.c)((function(){if(t.counting){var e,n,r=t.getRemain();e=r,n=t.remain,(Math.floor(e/1e3)!==Math.floor(n/1e3)||0===r)&&t.setRemain(r),t.remain>0&&t.macroTick()}}))},getRemain:function(){return Math.max(this.endTime-Date.now(),0)},setRemain:function(t){this.remain=t,this.$emit("change",this.timeData),0===t&&(this.pause(),this.$emit("finish"))}},render:function(){var t=arguments[0],e={color:this.color};return t("div",{class:br(),style:e},[this.slots("default",this.timeData)||this.formattedTime])}}),wr=Object(l.b)("dateTimePicker")[2],_r=r({},Ct,{value:null,filter:Function,columnsOrder:Array,showToolbar:{type:Boolean,default:!0},formatter:{type:Function,default:function(t,e){return e}}}),xr={data:function(){return{innerValue:this.formatValue(this.value),columnValueNotInited:!1}},computed:{originColumns:function(){var t=this;return this.ranges.map((function(e){var n=e.type,r=e.range,i=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(r[1]-r[0]+1,(function(t){return Object(gr.b)(r[0]+t)}));return t.filter&&(i=t.filter(n,i)),{type:n,values:i}}))},columns:function(){var t=this;return this.originColumns.map((function(e){return{values:e.values.map((function(n){return t.formatter(e.type,n)}))}}))},headers:function(){if(this.columnsOrder)return[];var t=wr("year"),e=wr("month"),n=wr("day"),r=wr("hour"),i=wr("minute");return{date:[t,e,n],"year-month":[t,e],"month-day":[e,n],time:[r,i],datetime:[t,e,n,r,i],datehour:[t,e,n,r]}[this.type]||[]}},watch:{columns:"updateColumnValue",innerValue:function(t,e){e?this.$emit("input",t):this.$emit("input",null)},showPicker:function(){var t=this;this.columnValueNotInited&&(this.updateColumnValue(),this.$nextTick((function(){t.updateInnerValue(),t.columnValueNotInited=!1})))}},mounted:function(){var t=this,e=this.getPicker();e&&e.getColumnCount()?(this.updateColumnValue(),this.$nextTick((function(){t.updateInnerValue(),t.columnValueNotInited=!1}))):this.columnValueNotInited=!0},methods:{getPicker:function(){return this.$refs.picker},onConfirm:function(){this.$emit("input",this.innerValue),this.$emit("confirm",this.innerValue)},onCancel:function(){this.$emit("cancel")}},render:function(){var t=this,e=arguments[0],n={};return Object.keys(Ct).forEach((function(e){n[e]=t[e]})),e(Dt,{ref:"picker",attrs:{headers:this.headers,columns:this.columns,readonly:this.readonly},scopedSlots:this.$scopedSlots,on:{change:this.onChange,confirm:this.onConfirm,cancel:this.onCancel},props:r({},n)})}},Ar=(0,Object(l.b)("time-picker")[0])({mixins:[xr],props:r({},_r,{type:{type:String,default:"time"},minHour:{type:[Number,String],default:0},maxHour:{type:[Number,String],default:23},minMinute:{type:[Number,String],default:0},maxMinute:{type:[Number,String],default:59}}),computed:{ranges:function(){return[{type:"hour",range:[+this.minHour,+this.maxHour]},{type:"minute",range:[+this.minMinute,+this.maxMinute]}]}},watch:{filter:"updateInnerValue",minHour:function(){var t=this;this.$nextTick((function(){t.updateInnerValue()}))},maxHour:function(t){var e=this.innerValue.split(":"),n=e[0],r=e[1];n>=t?(this.innerValue=this.formatValue(t+":"+r),this.updateColumnValue()):this.updateInnerValue()},minMinute:"updateInnerValue",maxMinute:function(t){var e=this.innerValue.split(":"),n=e[0];e[1]>=t?(this.innerValue=this.formatValue(n+":"+t),this.updateColumnValue()):this.updateInnerValue()},value:function(t){(t=this.formatValue(t))!==this.innerValue&&(this.innerValue=t,this.updateColumnValue())}},methods:{formatValue:function(t){t||(t=Object(gr.b)(this.minHour)+":"+Object(gr.b)(this.minMinute));var e=t.split(":"),n=e[0],r=e[1];return(n=Object(gr.b)(xt(n,this.minHour,this.maxHour)))+":"+(r=Object(gr.b)(xt(r,this.minMinute,this.maxMinute)))},updateInnerValue:function(){var t=this.getPicker().getIndexes();if(t&&0!==t.length){var e=t[0],n=t[1],r=this.originColumns,i=r[0],o=r[1],a=i.values[e]||i.values[0],s=o.values[n]||o.values[0];this.innerValue=this.formatValue(a+":"+s),this.updateColumnValue()}},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick((function(){e.$nextTick((function(){e.$emit("change",t)}))}))},updateColumnValue:function(){var t=this,e=this.formatter,n=this.innerValue.split(":"),r=[e("hour",n[0]),e("minute",n[1])];this.$nextTick((function(){t.getPicker().setValues(r)}))}}});function Sr(t,e){return(Sr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function kr(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Pr(t,e,n){return(Pr=kr()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&Sr(i,n.prototype),i}).apply(null,arguments)}var Lr,Tr=(new Date).getFullYear(),Or=(0,Object(l.b)("date-picker")[0])({mixins:[xr],props:r({},_r,{type:{type:String,default:"datetime"},minDate:{type:Date,default:function(){return new Date(Tr-10,0,1)},validator:xe},maxDate:{type:Date,default:function(){return new Date(Tr+10,11,31)},validator:xe}}),watch:{filter:"updateInnerValue",minDate:function(){var t=this;this.$nextTick((function(){t.updateInnerValue()}))},maxDate:function(t){this.innerValue.valueOf()>=t.valueOf()?this.innerValue=t:this.updateInnerValue()},value:function(t){(t=this.formatValue(t))&&t.valueOf()!==this.innerValue.valueOf()&&(this.innerValue=t)}},computed:{ranges:function(){var t=this.getBoundary("max",this.innerValue?this.innerValue:this.minDate),e=t.maxYear,n=t.maxDate,r=t.maxMonth,i=t.maxHour,o=t.maxMinute,a=this.getBoundary("min",this.innerValue?this.innerValue:this.minDate),s=a.minYear,l=a.minDate,u=[{type:"year",range:[s,e]},{type:"month",range:[a.minMonth,r]},{type:"day",range:[l,n]},{type:"hour",range:[a.minHour,i]},{type:"minute",range:[a.minMinute,o]}];switch(this.type){case"date":u=u.slice(0,3);break;case"year-month":u=u.slice(0,2);break;case"month-day":u=u.slice(1,3);break;case"datehour":u=u.slice(0,4)}if(this.columnsOrder){var c=this.columnsOrder.concat(u.map((function(t){return t.type})));u.sort((function(t,e){return c.indexOf(t.type)-c.indexOf(e.type)}))}return u}},methods:{formatValue:function(t){var e=this;if(!xe(t))return null;var n=new Date(this.minDate),r=new Date(this.maxDate),i={year:"getFullYear",month:"getMonth",day:"getDate",hour:"getHours",minute:"getMinutes"};if(this.originColumns){var o=this.originColumns.map((function(t,o){var a=t.type,s=t.values,l=e.ranges[o].range,u=n[i[a]](),c=r[i[a]](),h="month"===a?+s[0]-1:+s[0],f="month"===a?+s[s.length-1]-1:+s[s.length-1];return{type:a,values:[u<l[0]?Math.max(u,h):h||u,c>l[1]?Math.min(c,f):f||c]}}));if("month-day"===this.type){var a=(this.innerValue||this.minDate).getFullYear();o.unshift({type:"year",values:[a,a]})}var s=Object.keys(i).map((function(t){var e;return null==(e=o.filter((function(e){return e.type===t}))[0])?void 0:e.values})).filter((function(t){return t}));n=Pr(Date,s.map((function(t){return Xe(t[0])}))),r=Pr(Date,s.map((function(t){return Xe(t[1])})))}return t=Math.max(t,n.getTime()),t=Math.min(t,r.getTime()),new Date(t)},getBoundary:function(t,e){var n,r=this[t+"Date"],i=r.getFullYear(),o=1,a=1,s=0,l=0;return"max"===t&&(o=12,a=Ke(e.getFullYear(),e.getMonth()+1),s=23,l=59),e.getFullYear()===i&&(o=r.getMonth()+1,e.getMonth()+1===o&&(a=r.getDate(),e.getDate()===a&&(s=r.getHours(),e.getHours()===s&&(l=r.getMinutes())))),(n={})[t+"Year"]=i,n[t+"Month"]=o,n[t+"Date"]=a,n[t+"Hour"]=s,n[t+"Minute"]=l,n},updateInnerValue:function(){var t=this,e=this.type,n=this.getPicker().getIndexes();if(n&&0!==n.length){var r,i,o,a=function(e){var r=0;return t.originColumns.forEach((function(t,n){e===t.type&&(r=n)})),Xe(t.originColumns[r].values[n[r]])};"month-day"===e?(r=(this.innerValue||this.minDate).getFullYear(),i=a("month"),o=a("day")):(r=a("year"),i=a("month"),o="year-month"===e?1:a("day"));var s=Ke(r,i);o=o>s?s:o;var l=0,u=0;"datehour"===e&&(l=a("hour")),"datetime"===e&&(l=a("hour"),u=a("minute"));var c=new Date(r,i-1,o,l,u);this.innerValue=this.formatValue(c)}},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick((function(){e.$nextTick((function(){e.$emit("change",t)}))}))},updateColumnValue:function(){var t=this,e=this.innerValue?this.innerValue:this.minDate,n=this.formatter,r=this.originColumns.map((function(t){switch(t.type){case"year":return n("year",""+e.getFullYear());case"month":return n("month",Object(gr.b)(e.getMonth()+1));case"day":return n("day",Object(gr.b)(e.getDate()));case"hour":return n("hour",Object(gr.b)(e.getHours()));case"minute":return n("minute",Object(gr.b)(e.getMinutes()));default:return null}}));this.$nextTick((function(){t.getPicker().setValues(r)}))}}}),Er=Object(l.b)("datetime-picker"),Fr=Er[0],Rr=Er[1],Ir=Fr({props:r({},Ar.props,Or.props),methods:{getPicker:function(){return this.$refs.root.getPicker()}},render:function(){var t=arguments[0],e="time"===this.type?Ar:Or;return t(e,{ref:"root",class:Rr(),scopedSlots:this.$scopedSlots,props:r({},this.$props),on:r({},this.$listeners)})}}),Mr=Object(l.b)("dialog"),Dr=Mr[0],Br=Mr[1],Nr=Mr[2],jr=Dr({mixins:[$()],props:{title:String,theme:String,width:[Number,String],message:String,className:null,callback:Function,beforeClose:Function,messageAlign:String,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showCancelButton:Boolean,overlay:{type:Boolean,default:!0},allowHtml:{type:Boolean,default:!0},transition:{type:String,default:"zt-dialog-bounce"},showConfirmButton:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1}},data:function(){return{loading:{confirm:!1,cancel:!1}}},methods:{onClickOverlay:function(){this.handleAction("overlay")},handleAction:function(t){var e=this;this.$emit(t),this.value&&(this.beforeClose?(this.loading[t]=!0,this.beforeClose(t,(function(n){!1!==n&&e.loading[t]&&e.onClose(t),e.loading.confirm=!1,e.loading.cancel=!1}))):this.onClose(t))},onClose:function(t){this.close(),this.callback&&this.callback(t)},onOpened:function(){this.$emit("opened")},onClosed:function(){this.$emit("closed")},genButtons:function(){var t,e=this,n=this.$createElement,r=this.showCancelButton&&this.showConfirmButton;return n("div",{class:["zt-hairline--top",Br("footer")]},[this.showCancelButton&&n(we,{attrs:{size:"large",loading:this.loading.cancel,text:this.cancelButtonText||Nr("cancel")},class:Br("cancel"),style:{color:this.cancelButtonColor},on:{click:function(){e.handleAction("cancel")}}}),this.showConfirmButton&&n(we,{attrs:{size:"large",loading:this.loading.confirm,text:this.confirmButtonText||Nr("confirm")},class:[Br("confirm"),(t={},t["zt-hairline--left"]=r,t)],style:{color:this.confirmButtonColor},on:{click:function(){e.handleAction("confirm")}}})])},genContent:function(t,e){var n=this.$createElement;if(e)return n("div",{class:Br("content")},[e]);var r=this.message,i=this.messageAlign;if(r){var a,s,l={class:Br("message",(a={"has-title":t},a[i]=i,a)),domProps:(s={},s[this.allowHtml?"innerHTML":"textContent"]=r,s)};return n("div",{class:Br("content",{isolated:!t})},[n("div",o()([{},l]))])}}},render:function(){var t=arguments[0];if(this.shouldRender){var e=this.message,n=this.slots(),r=this.slots("title"),i=r||this.title,o=i&&t("div",{class:Br("header",{isolated:!e&&!n,"custom-title":!!r})},[i]);return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],attrs:{role:"dialog","aria-labelledby":this.title||e},class:[Br([this.theme]),this.className],style:{width:Object(l.a)(this.width)}},[o,this.genContent(i,n),this.genButtons()])])}}});function zr(t){return l.i?Promise.resolve():new Promise((function(e,n){var i;Lr&&(i=Lr.$el,document.body.contains(i))||(Lr&&Lr.$destroy(),(Lr=new(s.a.extend(jr))({el:document.createElement("div"),propsData:{lazyRender:!1}})).$on("input",(function(t){Lr.value=t}))),r(Lr,zr.currentOptions,t,{resolve:e,reject:n})}))}zr.defaultOptions={value:!0,title:"",width:"",theme:null,message:"",overlay:!0,className:"",allowHtml:!0,lockScroll:!0,transition:"zt-dialog-bounce",beforeClose:null,overlayClass:"",overlayStyle:null,messageAlign:"",getContainer:"body",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,callback:function(t){Lr["confirm"===t?"resolve":"reject"](t)}},zr.alert=zr,zr.confirm=function(t){return zr(r({showCancelButton:!0},t))},zr.close=function(){Lr&&(Lr.value=!1)},zr.setDefaultOptions=function(t){r(zr.currentOptions,t)},zr.resetDefaultOptions=function(){zr.currentOptions=r({},zr.defaultOptions)},zr.resetDefaultOptions(),zr.install=function(){s.a.use(jr)},zr.Component=jr,void 0===s.a.prototype.$dialog&&(s.a.prototype.$dialog=zr),s.a.prototype.$ztDialog=zr;var Hr=zr,Ur=Object(l.b)("dropdown-item"),Vr=Ur[0],Wr=Ur[1],$r=Vr({mixins:[z({ref:"wrapper"}),nn("ztDropdownMenu")],props:{value:null,title:String,disabled:Boolean,titleClass:String,options:{type:Array,default:function(){return[]}},lazyRender:{type:Boolean,default:!0},multiSelect:{type:Boolean,default:!1},customToggle:{type:Boolean,default:!1},placeholder:{type:String,default:"未选择"}},data:function(){return{transition:!0,showPopup:!1,showWrapper:!1}},computed:{displayTitle:function(){var t=this;if(this.title)return this.title;if(this.multiSelect){if(this.value.length){var e="";return this.options.forEach((function(n){t.value.indexOf(n.value)>=0&&(e+=n.text+"、")})),e=e.substr(0,e.length-1)}return this.placeholder}var n=this.options.filter((function(e){return e.value===t.value}));return n.length?n[0].text:""}},watch:{showPopup:function(t){this.bindScroll(t)}},beforeCreate:function(){var t=this,e=function(e){return function(){return t.$emit(e)}};this.onOpen=e("open"),this.onClose=e("close"),this.onOpened=e("opened")},methods:{toggle:function(t,e){void 0===t&&(t=!this.showPopup),void 0===e&&(e={}),this.customToggle&&t!==this.showPopup?this.$emit("toggle"):t!==this.showPopup&&(this.transition=!e.immediate,this.showPopup=t,t&&(this.parent.updateOffset(),this.showWrapper=!0))},bindScroll:function(t){(t?g:m)(this.parent.scroller,"scroll",this.onScroll,!0)},onScroll:function(){this.parent.updateOffset()},onClickWrapper:function(t){this.getContainer&&t.stopPropagation()},select:function(t){this.value.indexOf(t)>=0?this.value.splice(this.value.indexOf(t),1):this.value.push(t)},isSelect:function(t){return this.value.indexOf(t)>=0},reset:function(){this.showPopup=!1,this.$emit("input",[]),this.$emit("reset",[])},confirm:function(){this.showPopup=!1,this.$emit("input",this.value),this.$emit("change",this.value)}},render:function(){var t,e,n,r,i=this,o=arguments[0],a=this.parent,s=a.zIndex,l=a.offset,u=a.overlay,c=a.duration,h=a.direction,f=a.activeColor,d=a.closeOnClickOverlay;if(t=this.multiSelect?this.options.map((function(t,e){var n=i.value.indexOf(t.value)>=0;return o(Vn,{attrs:{clickable:!0,icon:t.icon,title:t.text},key:t.value,class:e===i.options.length-1?Wr("option",{active:n}):"half-border-bottom "+Wr("option",{active:n}),style:"padding-left: 16px",on:{click:function(){i.select(t.value)}}},[o(Qn,{style:"padding:0;position: absolute;right: 0px;",attrs:{value:i.isSelect(t.value)}})])})):this.options.map((function(t){var e=t.value===i.value;return o(Vn,{attrs:{clickable:!0,icon:t.icon,title:t.text},key:t.value,class:"half-border-bottom "+Wr("option",{active:e}),style:{color:e?f:""},on:{click:function(){i.showPopup=!1,t.value!==i.value&&(i.$emit("input",t.value),i.$emit("change",t.value))}}},[e&&o(nt,{class:Wr("icon"),attrs:{color:f,name:"correct-checked"}})])})),this.options.length<7){var p=44*this.options.length,v=44*this.options.length+44;e="top:"+p+"px",n="height:"+p+"px",r="padding-left: 0px;height:"+v+"px"}else e="top: 308px",n="height: 308px",r="padding-left: 0px;height: 352px";var g={zIndex:s};return"down"===h?g.top=l+"px":g.bottom=l+"px",o("div",[o("div",{directives:[{name:"show",value:this.showWrapper}],ref:"wrapper",style:g,class:Wr([h]),on:{click:this.onClickWrapper}},[o(at,{attrs:{overlay:u,position:"down"===h?"top":"bottom",duration:this.transition?c:0,lazyRender:this.lazyRender,overlayStyle:{position:"absolute"},closeOnClickOverlay:d},class:Wr("content"),style:this.multiSelect?r:"",on:{open:this.onOpen,close:this.onClose,opened:this.onOpened,closed:function(){i.showWrapper=!1,i.$emit("closed")}},model:{value:i.showPopup,callback:function(t){i.showPopup=t}}},[o("div",{directives:[{name:"show",value:!this.multiSelect}]},[t]),o("div",{class:"options",style:n,directives:[{name:"show",value:this.multiSelect}]},[t]),o("div",{class:"button",style:e,directives:[{name:"show",value:this.multiSelect}]},[o("div",{class:"button-reset",on:{click:this.reset}},["重置"]),o("div",{class:"button-confirm",on:{click:this.confirm}},["确定"])]),this.slots("default")])])])}}),qr=function(t){return{props:{closeOnClickOutside:{type:Boolean,default:!0}},data:function(){var e=this;return{clickOutsideHandler:function(n){e.closeOnClickOutside&&!e.$el.contains(n.target)&&e[t.method]()}}},mounted:function(){g(document,t.event,this.clickOutsideHandler)},beforeDestroy:function(){m(document,t.event,this.clickOutsideHandler)}}},Gr=Object(l.b)("dropdown-menu"),Yr=Gr[0],Zr=Gr[1],Xr=Yr({mixins:[rn("ztDropdownMenu"),qr({event:"click",method:"onClickOutside"})],props:{zIndex:[Number,String],activeColor:String,overlay:{type:Boolean,default:!0},duration:{type:[Number,String],default:.2},direction:{type:String,default:"down"},closeOnClickOverlay:{type:Boolean,default:!0}},data:function(){return{offset:0}},computed:{scroller:function(){return R(this.$el)},opened:function(){return this.children.some((function(t){return t.showWrapper}))},barStyle:function(){if(this.opened&&Object(l.e)(this.zIndex))return{zIndex:1+this.zIndex}}},methods:{updateOffset:function(){if(this.$refs.bar){var t=this.$refs.bar.getBoundingClientRect();"down"===this.direction?this.offset=t.bottom:this.offset=window.innerHeight-t.top}},toggleItem:function(t){this.children.forEach((function(e,n){n===t?e.toggle():e.showPopup&&e.toggle(!1,{immediate:!0})}))},onClickOutside:function(){this.children.forEach((function(t){t.toggle(!1)}))}},render:function(){var t=this,e=arguments[0],n=this.children.map((function(n,r){return e("div",{attrs:{role:"button",tabindex:n.disabled?-1:0},class:"half-border "+Zr("item",{disabled:n.disabled}),on:{click:function(){n.disabled||t.toggleItem(r)}}},[e("span",{class:[Zr("title",{active:n.showPopup,down:n.showPopup===("down"===t.direction)}),n.titleClass],style:{color:n.showPopup?t.activeColor:""}},[e("div",{class:"zt-ellipsis",style:"padding-right: 18px"},[n.slots("title")||n.displayTitle,n.slots("icon")||e(nt,{class:Zr("icon"),attrs:{name:"play"}})])])])}));return e("div",{class:Zr()},[e("div",{ref:"bar",style:this.barStyle,class:Zr("bar",{opened:this.opened})},[n]),this.slots("default")])}}),Kr={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280 260"}},[t("defs",[t("linearGradient",{attrs:{x1:"23.226575%",y1:"239.989869%",x2:"113.740933%",y2:"-331.46119%",id:"zt-empty-search-1"}},[t("stop",{attrs:{offset:"1%"}}),t("stop",{attrs:{"stop-opacity":".69",offset:"8%"}}),t("stop",{attrs:{"stop-opacity":".32",offset:"21%"}}),t("stop",{attrs:{"stop-opacity":"0",offset:"100%"}})])]),t("g",{attrs:{transform:"translate(10 31.366093)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M114.994008,0.189504285 C113.786795,0.147392222 112.586601,0.119317513 111.393426,0.0912428039 C92.239456,-0.308821798 72.69244,0.336896507 54.6053088,6.64668733 C36.5181776,12.9564782 19.8488192,25.744508 12.8933101,43.5719482 C9.29272864,52.8295834 8.4434687,62.8803292 7.10290135,72.7205147 C4.59723358,91.1726171 0.238635026,109.46329 0.00701867722,128.076822 C-0.224597671,146.690354 4.21822501,166.286501 16.9992362,179.846585 C39.1712376,203.401266 69.9270812,189.441117 96.3102888,183.096233 C111.968045,179.344271 128.255967,179.054442 144.037294,182.246973 C154.453011,184.352576 164.510775,187.981232 174.919474,190.213171 C182.408402,191.820448 190.199134,192.704802 197.828436,191.715168 C205.155935,190.767647 210.80597,187.272346 217.480732,184.457856 C230.184538,179.067512 243.028717,172.203246 251.128271,160.629447 C257.335742,151.543597 260.184755,140.579365 259.185712,129.620931 C256.694082,100.732055 229.707268,88.6037812 215.775194,65.8983604 C207.661603,52.7032473 202.130885,37.7394274 191.694112,26.2989835 C172.968281,5.80444606 142.970455,1.08087629 114.994008,0.189504285 Z",fill:"#32A5FB","fill-rule":"nonzero",opacity:".18"}}),t("path",{attrs:{d:"M156.355074,29.3029774 L156.355074,172.589273 C156.355074,179.500731 150.752229,185.103574 143.840771,185.103574 L81.823739,185.103574 C74.9122812,185.103574 69.3094356,179.500731 69.3094356,172.589273 L69.3094356,29.3029774 C69.3075754,25.9827624 70.6252206,22.7978974 72.9723092,20.4494924 C75.3193978,18.1010874 78.5035235,16.7816572 81.823739,16.7816572 L143.840771,16.7816572 C147.160987,16.7816572 150.345112,18.1010874 152.692201,20.4494924 C155.039289,22.7978974 156.356935,25.9827624 156.355074,29.3029774 Z",fill:"#32A5FB","fill-rule":"nonzero"}}),t("rect",{attrs:{fill:"#473F47","fill-rule":"nonzero",x:"71.0219948",y:"18.9083164",width:"83.6135017",height:"163.808908",rx:"17.5885043"}}),t("path",{attrs:{d:"M152.36145,32.377158 L152.36145,167.5639 C152.295876,173.945556 147.071073,179.066679 140.689385,179.004907 L85.0242559,179.004907 C82.9907282,179.010757 80.9904744,178.488321 79.2198098,177.48831 C75.604151,175.49201 73.3532974,171.69403 73.3381583,167.5639 L73.3381583,32.377158 C73.4075638,25.99161 78.6386744,20.8704627 85.0242559,20.9360785 L94.4292833,20.9360785 L94.4292833,22.6001407 C94.4780527,24.8315299 95.8616039,26.8155423 97.9386219,27.6325322 C98.6203251,27.9013396 99.3465317,28.0394379 100.079318,28.0396155 L125.936125,28.0396155 C129.018229,28.0592249 131.53999,25.5907181 131.586161,22.5088978 L131.586161,20.9360785 L140.710441,20.9360785 C143.704228,20.9301104 146.588028,22.0645559 148.774901,24.1091563 C151.065267,26.2485323 152.364243,29.2430397 152.36145,32.377158 Z",fill:"#FFF","fill-rule":"nonzero"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",opacity:".31",x:"83.150269",y:"112.888404",width:"34.3844997",height:"2.04243507",rx:"1.02121754"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",opacity:".31",x:"83.150269",y:"117.878684",width:"34.3844997",height:"2.04243507",rx:"1.02121754"}}),t("path",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",opacity:".18",d:"M69.3024189 94.5064888H156.3550725V99.97403836H69.3024189z"}}),t("path",{attrs:{d:"M56.2827726,80.714788 L162.306911,80.714788 C166.233611,80.714788 169.416831,83.8980077 169.416831,87.8247081 L169.416831,87.8247081 C169.416831,91.7514085 166.233611,94.9346281 162.306911,94.9346281 L56.2827726,94.9346281 L56.2827726,80.714788 Z",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{fill:"#FFF","fill-rule":"nonzero",d:"M56.2827726 80.714788H141.8965973V94.9276094H56.2827726z"}}),t("path",{attrs:{stroke:"#FFF","stroke-width":"1.47931156",d:"M154.607422 83.58542704A3.43213316 3.43213316 0 1 0 154.607422 90.44969336000001A3.43213316 3.43213316 0 1 0 154.607422 83.58542704Z"}}),t("path",{attrs:{stroke:"#FFF","stroke-width":"1.47931156",d:"M157.744771 92.5974086L156.341035 89.979442"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",x:"83.150269",y:"107.827938",width:"55.3352512",height:"3.28474094",rx:"1.64237047"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",opacity:".31",x:"83.150269",y:"130.063108",width:"34.3844997",height:"2.04243507",rx:"1.02121754"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",opacity:".31",x:"83.150269",y:"135.053387",width:"34.3844997",height:"2.04243507",rx:"1.02121754"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",x:"83.150269",y:"124.995623",width:"55.3352512",height:"3.28474094",rx:"1.64237047"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",opacity:".31",x:"83.150269",y:"147.230792",width:"34.3844997",height:"2.04243507",rx:"1.02121754"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",opacity:".31",x:"83.150269",y:"152.22809",width:"34.3844997",height:"2.04243507",rx:"1.02121754"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",x:"83.150269",y:"142.170326",width:"55.3352512",height:"3.28474094",rx:"1.64237047"}}),t("path",{attrs:{d:"M42.0138018,5.20083982 C45.8044844,5.19643287 49.5724389,5.78613788 53.1805173,6.94849045 L53.1805173,1.8178374 C36.2923861,-2.90243326 18.2610998,3.51448464 8.15181697,17.8425107 C-1.95746583,32.1705369 -1.95746583,51.30961 8.15181697,65.6376361 C18.2610998,79.9656622 36.2923861,86.3825801 53.1805173,81.6623095 L53.1805173,76.5316564 C39.4549547,80.9364125 24.4224825,76.8598706 14.8027176,66.1242724 C5.18295264,55.3886743 2.77398915,40.0006819 8.65265009,26.8388321 C14.531311,13.6769823 27.5987769,5.20144381 42.0138018,5.20083982 L42.0138018,5.20083982 Z",opacity:".41",transform:"translate(103.174555 54.745682)",fill:"url(#w3e5gupfla)","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M147.39924,135.93774 C130.629517,135.93774 115.511844,125.833639 109.098289,110.338802 C102.684735,94.8439657 106.238944,77.0112897 118.102954,65.1593323 C129.966964,53.3073748 147.803244,49.7712935 163.291553,56.200594 C178.779863,62.6298944 188.868585,77.7578297 188.85157,94.5275448 C188.801292,117.393351 170.265086,135.910726 147.39924,135.93774 Z M147.39924,57.9461991 C127.224664,57.9461991 110.867775,74.2968364 110.860031,94.4714116 C110.852292,114.645987 127.196627,131.009159 147.371198,131.024667 C167.545769,131.040152 183.915222,114.702108 183.938474,94.5275448 C183.930738,74.3472797 167.579498,57.9866168 147.39924,57.9672552 L147.39924,57.9461991 Z",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M203.541639,155.905879 C202.412361,155.906812 201.330023,155.454152 200.537646,154.649534 L173.375365,127.087188 C172.31478,126.016166 171.907488,124.459974 172.307407,123.006704 C172.707326,121.553434 173.853464,120.424723 175.31269,120.047116 C176.771916,119.669509 178.321686,120.100594 179.376334,121.177462 L206.538615,148.739808 C207.729175,149.948757 208.077902,151.754123 207.423234,153.319499 C206.768566,154.884876 205.238398,155.904455 203.541639,155.905879 L203.541639,155.905879 Z",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M216.554267,164.665186 C215.618034,165.591351 214.351631,166.106732 213.03473,166.097635 C211.717829,166.088295 210.458766,165.555236 209.53559,164.616056 L177.558496,132.161692 C177.379884,131.98499 177.217782,131.792346 177.074208,131.586161 C176.989983,131.473862 176.912778,131.361563 176.842591,131.249264 C176.37602,130.46285 176.454714,129.467939 177.039114,128.764652 C177.660383,128.024962 178.338586,127.335026 179.067512,126.701161 C179.904609,125.957595 180.811937,125.297079 181.776721,124.728913 C182.584023,124.244353 183.611053,124.332061 184.324501,124.946492 L184.324501,124.946492 C184.420889,125.022456 184.512318,125.104508 184.59823,125.192146 L216.631472,157.653528 C217.551804,158.593174 218.060801,159.860167 218.04662,161.175361 C218.031838,162.490555 217.495066,163.746033 216.554267,164.665186 Z",fill:"#473F47","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M101.560259,51.9873422 L101.560259,66.277369 C101.560259,70.1776265 98.4067156,73.3437524 94.5064888,73.3592143 L69.3094376,73.3592143 L69.3094376,44.9054969 L94.5064888,44.9054969 C98.4067156,44.9209587 101.560259,48.0870847 101.560259,51.9873422 L101.560259,51.9873422 Z",fill:"#32A5FB","fill-rule":"nonzero",opacity:".18"}}),t("rect",{attrs:{fill:"#FFF","fill-rule":"nonzero",x:"39.2765177",y:"41.1505045",width:"61.0624918",height:"28.4537175",rx:"10.293968"}}),t("path",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",d:"M98.198313 36.90420486A5.10257834 5.10257834 0 1 0 98.198313 47.10936154A5.10257834 5.10257834 0 1 0 98.198313 36.90420486Z"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",x:"51.3346052",y:"50.2396916",width:"35.9637021",height:"2.81448957",rx:"1.40724478"}}),t("rect",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",x:"51.3346052",y:"57.7286201",width:"35.9637021",height:"2.81448957",rx:"1.40724478"}}),t("path",{attrs:{d:"M213.318657,186.77402 C213.93303,187.542277 214.016477,188.607626 213.529217,189.462173 C213.016797,190.279411 212.036139,190.673375 211.100755,190.437769 C210.94034,190.397417 210.791416,190.320553 210.665597,190.213171 C210.405906,189.960499 210.363794,189.511304 210.11814,189.258631 C209.862498,189.048652 209.554217,188.912717 209.226768,188.865585 C208.646666,188.653264 208.100515,188.357728 207.605454,187.988251 C207.525231,187.942825 207.455794,187.88057 207.401912,187.805765 C207.351932,187.712973 207.325425,187.609356 207.324706,187.503962 C207.204836,186.964707 207.287264,186.400206 207.556323,185.917741 C207.703758,185.737138 207.884932,185.586954 208.089742,185.475564 C208.476422,185.236037 208.919499,185.102872 209.37416,185.089537 C209.728575,185.113723 210.076865,185.19428 210.405906,185.328172 C211.338872,185.596367 212.214443,186.034153 212.988779,186.619609",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M211.500819,182.47157 L213.065984,187.861915 C213.065984,187.861915 212.7712,189.216519 211.114792,188.648006 C209.458384,188.079494 208.068686,183.833194 208.068686,183.833194 L211.500819,182.47157 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M194.978853,193.743566 C194.552385,193.671066 194.119842,193.640506 193.687417,193.652323 C193.249418,193.671353 192.838407,193.869247 192.550391,194.19978 C192.126215,194.883072 192.25669,195.772673 192.859213,196.305383 C193.447996,196.791822 194.169346,197.090143 194.929722,197.161662 C195.391683,197.267199 195.871497,197.267199 196.333458,197.161662 C196.916008,196.993214 197.470484,196.508925 198.053034,196.69141 C198.307458,196.797489 198.544152,196.941873 198.754902,197.11955 C199.580434,197.71725 200.727912,197.573048 201.379887,196.789672 C201.54861,196.537687 201.669916,196.257019 201.737839,195.961468 C201.983493,195.027984 201.871194,193.855865 201.09914,193.315427 C200.186712,192.66269 199.477825,193.111885 198.600491,193.413688 C197.430185,193.778498 196.19581,193.890932 194.978853,193.743566 Z",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M195.73687,188.514651 L198.024959,194.129593 C198.024959,194.129593 199.337452,194.922704 200.270936,194.57177 L201.190383,194.192761 L200.383235,186.352899 L195.73687,188.514651 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M178.730615,131.438768 C178.576205,131.235227 178.372663,131.010629 178.127009,131.045722 C177.881355,131.080816 177.839243,131.179077 177.691851,131.136965 C177.599923,131.104408 177.521087,131.042817 177.467254,130.961498 C177.117969,130.590902 176.729692,130.259101 176.309172,129.971865 C176.052846,129.746652 175.743849,129.58974 175.410781,129.515651 C174.914001,129.49069 174.45121,129.76781 174.238662,130.217518 C174.029496,130.654538 173.977439,131.15032 174.09127,131.621254 C174.215029,132.092099 174.404024,132.543324 174.652764,132.961821 C174.80347,133.275497 174.994599,133.568089 175.221277,133.832137 C175.923145,134.597173 177.088245,134.723509 178.028748,135.193761 C178.129121,135.254974 178.241751,135.293316 178.358626,135.306059 C178.561123,135.272667 178.735688,135.145 178.828877,134.962144 C179.192376,134.443598 179.412685,133.838354 179.467577,133.207475 C179.417108,132.554334 179.158847,131.934509 178.730615,131.438768 L178.730615,131.438768 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M187.854896,125.353575 C187.742193,125.322325 187.621841,125.334861 187.517999,125.388669 C187.45959,125.435384 187.407663,125.489671 187.363588,125.550098 C187.167065,125.760658 186.844206,125.767677 186.577497,125.886995 C186.231281,126.061685 185.975977,126.375709 185.875629,126.750292 C185.782483,127.119399 185.742308,127.499878 185.756311,127.880299 C185.738344,128.081377 185.759801,128.284029 185.819479,128.476887 C185.883838,128.668609 186.053632,128.805539 186.254637,128.82782 C186.414464,128.798905 186.56565,128.734111 186.696814,128.638316 C186.964239,128.491512 187.27427,128.441908 187.574149,128.497943 C187.959087,128.62233 188.326923,128.794458 188.669062,129.010306 C189.023999,129.220368 189.465189,129.220368 189.820125,129.010306 C189.975575,128.870606 190.097868,128.697956 190.178078,128.504961 C190.493918,127.803094 190.879946,127.02402 190.178078,126.455507 C189.519271,125.882281 188.715624,125.501095 187.854896,125.353575 L187.854896,125.353575 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M208.714405,151.147214 C208.549985,154.099597 208.219585,157.040391 207.724771,159.955654 C207.09309,162.847349 206.714082,166.13209 206.714082,166.13209 L212.56064,182.976915 C212.56064,182.976915 209.00217,185.342209 206.714082,184.422763 C204.425993,183.503316 198.635584,170.58895 198.635584,170.58895 L196.431719,155.898858 L202.26424,149.20304 L208.714405,151.147214 Z",fill:"#473F47","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M192.578466,149.975095 C192.578466,149.975095 188.409371,163.640459 188.409371,167.19191 C188.409371,170.743361 193.40667,188.247942 193.40667,188.247942 C193.40667,188.247942 198.832107,190.086835 200.102488,188.247942 L201.372868,186.409048 L198.319744,168.792168 C198.319744,168.792168 202.643249,159.597701 203.408285,157.232407 C203.871142,155.774686 204.202346,154.278395 204.397918,152.76151 L192.578466,149.975095 Z",fill:"#473F47","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M194.333135,112.544489 C193.845578,113.518538 193.534293,114.571203 193.413688,115.653763 C193.30181,116.743488 193.774265,117.811181 194.655994,118.461234 C194.921259,118.587774 195.168982,118.748204 195.392955,118.938504 C196.179047,119.738633 195.280656,121.1915 195.729852,122.230264 C196.104482,122.921228 196.936724,123.222765 197.667007,122.932132 C198.36668,122.60247 198.881795,121.976606 199.070742,121.226593 C199.27237,120.474116 199.362235,119.696076 199.337452,118.917448 L199.414657,114.278103 C199.52501,113.245983 199.36287,112.202966 198.944406,111.253053 C198.375251,110.252662 197.285596,109.664249 196.136935,109.737018 C195.056059,109.968635 194.726181,111.63908 194.333135,112.544489 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M178.148065,135.706124 C178.148065,135.706124 187.047748,143.658285 187.679429,143.658285 C188.31111,143.658285 192.262625,138.660987 192.262625,138.660987 L192.578466,149.968076 C193.67738,150.616727 194.822118,151.184405 196.00358,151.666596 C197.926698,152.452688 200.362179,153.18263 202.488838,152.986107 C206.812343,152.593061 208.714405,151.147214 208.714405,151.147214 L206.054326,124.518353 C206.054326,124.518353 201.014916,120.889696 199.29534,121.444172 C198.062761,121.664023 196.801001,121.664023 195.568422,121.444172 C193.08381,121.121313 190.543049,124.518353 190.543049,124.518353 L187.237252,135.376246 L179.481614,132.624925 C178.444862,133.279256 177.915475,134.502419 178.148065,135.706124 Z",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M195.084133,107.512098 C196.017617,106.662838 198.130239,106.311904 199.161985,106.199605 C200.766386,105.971207 202.391228,106.447145 203.618845,107.505079 C205.303327,109.105337 205.478794,111.716285 205.457738,114.116673 C205.436682,116.517061 205.401589,119.092915 206.805324,120.917771 C208.012537,122.475918 209.984785,123.121636 211.521875,124.32183 C213.057154,125.460279 214.028716,127.203977 214.188973,129.108567 C214.546925,136.323768 203.527602,133.228531 199.884909,131.621254 C199.240321,131.372555 198.647673,131.006017 198.137258,130.540378 C197.598548,129.958233 197.202142,129.259117 196.979176,128.497943 C196.1241,125.919327 196.269401,123.113521 197.386259,120.637024 C197.554708,120.272053 197.737193,119.815839 197.505577,119.49298 C197.379039,119.350052 197.220234,119.23937 197.042344,119.170121 C196.091205,118.775322 195.457688,117.86207 195.42103,116.832901 C195.571841,116.09362 195.904758,115.403661 196.389607,114.825559 C196.872507,114.238155 197.035256,113.450661 196.824765,112.719956 C196.572093,112.151443 195.968487,111.870696 195.519291,111.456594 C194.7332,110.754727 194.164687,108.866702 194.817424,107.856013 C194.892006,107.730952 194.981571,107.61546 195.084133,107.512098 Z",fill:"#F6A569","fill-rule":"nonzero"}})])])}},Qr="zt-empty-not-found-",Jr={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280 260"}},[t("defs",[t("linearGradient",{attrs:{x1:"47.190027%",y1:"49.7417137%",x2:"-18.4366577%",y2:"43.6792183%",id:Qr+"1"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"51.0994315%",y1:"105.246994%",x2:"49.2116272%",y2:"10.6863496%",id:Qr+"2"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"-55.8147576%",y1:"-23.5317523%",x2:"173.522234%",y2:"122.497215%",id:Qr+"3"}},[t("stop",{attrs:{"stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{offset:"99%"}})]),t("linearGradient",{attrs:{x1:"124.083696%",y1:"117.846056%",x2:"-77.3333199%",y2:"-77.5849717%",id:Qr+"4"}},[t("stop",{attrs:{"stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{offset:"99%"}})]),t("linearGradient",{attrs:{x1:"107.760587%",y1:"52.8644443%",x2:"-87.8484676%",y2:"43.1459303%",id:Qr+"5"}},[t("stop",{attrs:{"stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{offset:"99%"}})]),t("linearGradient",{attrs:{x1:"90.8931762%",y1:"-12.4547117%",x2:"-55.4231897%",y2:"224.749818%",id:Qr+"6"}},[t("stop",{attrs:{"stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{offset:"99%"}})]),t("linearGradient",{attrs:{x1:"57.1869256%",y1:"119.088653%",x2:"28.6409948%",y2:"-51.3581775%",id:Qr+"7"}},[t("stop",{attrs:{"stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{offset:"99%"}})]),t("linearGradient",{attrs:{x1:"40.9439754%",y1:"53.5951126%",x2:"70.8394199%",y2:"33.7024579%",id:Qr+"8"}},[t("stop",{attrs:{"stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{offset:"99%"}})]),t("linearGradient",{attrs:{x1:"-4.75564601%",y1:"15.1416564%",x2:"175.010216%",y2:"121.890033%",id:Qr+"9"}},[t("stop",{attrs:{"stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{offset:"99%"}})])]),t("g",{attrs:{transform:"translate(12 15)","fill-rule":"nonzero",fill:"none"}},[t("path",{attrs:{d:"M243.960471,131.989478 C236.673706,139.400615 233.264928,150.083887 225.181267,157.092571 C213.312353,167.367977 198.821166,175.728458 182.750439,182.58301 C175.149745,185.819763 166.353708,187.266883 157.732747,188.671189 C143.877631,190.931778 129.521436,193.192368 115.557652,191.282855 C104.853895,189.822891 95.1402212,185.995302 85.6257709,182.21909 L78.0975225,179.222096 C76.4373233,178.554195 74.7590129,177.899138 73.0807025,177.231236 L68.1906615,175.287472 C53.8344668,169.55037 39.5688285,163.564946 27.4705046,155.657164 C13.9896877,146.880254 7.0543103,135.311049 4.82662492,122.411133 C2.24275136,107.503231 5.08276542,89.0956237 22.4816523,80.5285036 C32.026288,75.8189423 44.700221,70.4436932 54.0758183,65.5585937 C68.8727204,57.8520389 78.9910114,51.0492449 89.1514301,40.2215353 C107.981107,20.14596 144.191559,10.5384549 174.684889,24.8084256 C186.535693,30.3485823 195.500768,38.5774703 202.087231,47.4999482 C207.653425,55.0224021 213.767636,61.2653217 221.169105,67.9443359 C229.621028,75.5738252 240.991208,76.0895447 248.38664,84.2542114 C259.464696,96.4733822 255.69657,120.061444 243.960471,131.989478 Z",fill:"#D0EAFF",opacity:".18"}}),t("path",{attrs:{d:"M240.231798,136.989478 C232.945033,144.400615 229.536254,155.083887 221.452594,162.092571 C209.583679,172.367977 195.092493,180.728458 179.021765,187.58301 C171.421072,190.819763 162.625035,192.266883 154.004073,193.671189 C140.148957,195.931778 125.792762,198.192368 111.828978,196.282855 C101.125222,194.822891 91.4115477,190.995302 81.8970974,187.21909 L74.368849,184.222096 C72.7086499,183.554195 71.0303395,182.899138 69.3520291,182.231236 L64.461988,180.287472 C50.1057933,174.55037 35.840155,168.564946 23.7418312,160.657164 C10.2610142,151.880254 3.32563683,140.311049 1.09795145,127.411133 C-1.4859221,112.503231 1.35409195,94.0956237 18.7529788,85.5285036 C28.2976146,80.8189423 40.9715476,75.4436932 50.3471448,70.5585937 C65.1440469,62.8520389 75.262338,56.0492449 85.4227566,45.2215353 C104.252433,25.14596 140.462886,15.5384549 170.956216,29.8084256 C182.807019,35.3485823 191.772094,43.5774703 198.358557,52.4999482 C203.924752,60.0224021 210.038962,66.2653217 217.440432,72.9443359 C225.892355,80.5738252 237.262534,81.0895447 244.657967,89.2542114 C255.736023,101.473382 251.967896,125.061444 240.231798,136.989478 Z",fill:"#51B2FF",opacity:".18"}}),t("rect",{attrs:{fill:"#51B2FF",opacity:".10053943",transform:"rotate(-180 174.824228 192.10285)",x:"129",y:"164",width:"91.6484561",height:"56.2057007",rx:"8.01493333"}}),t("rect",{attrs:{fill:"#51B2FF",opacity:".10053943",transform:"rotate(-180 61.824228 35.10285)",x:"16",y:"7",width:"91.6484561",height:"56.2057007",rx:"8.01493333"}}),t("rect",{attrs:{fill:"url(#9xtlpep8ga)",transform:"rotate(-180 188.824228 201.10285)",x:"143",y:"173",width:"91.6484561",height:"56.2057007",rx:"8.01493333"}}),t("rect",{attrs:{fill:"url(#9xtlpep8ga)",transform:"rotate(-180 73.824228 28.10285)",x:"28",width:"91.6484561",height:"56.2057007",rx:"8.01493333"}}),t("rect",{attrs:{fill:"#51B2FF",opacity:".20370629",transform:"rotate(-180 52.788361 30.656532)",x:"24",y:"13",width:"57.5767221",height:"35.3130641",rx:"5.0336"}}),t("rect",{attrs:{fill:"url(#knxd8yvbpb)",transform:"rotate(-180 54.788361 29.656532)",x:"26",y:"12",width:"57.5767221",height:"35.3130641",rx:"5.0336"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M33.3059382 18.8294537H43.8912114V19.8294537H33.3059382z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M33.3059382 20.336342H39.76579568V21.336342H33.3059382z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M42.3719715 20.336342H62.7026128V21.336342H42.3719715z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M64.5985748 20.336342H76.04228029999999V21.336342H64.5985748z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M36.6655582 21.8370546H45.546318299999996V22.8370546H36.6655582z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M39.5187648 23.343943H50.104038V24.343943H39.5187648z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M50.7895487 23.343943H59.657957249999995V24.343943H50.7895487z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M39.5002375 24.8446556H47.67078382V25.8446556H39.5002375z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M48.4612827 24.8446556H65.327316V25.8446556H48.4612827z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M33.3059382 26.8764846H43.8912114V27.8764846H33.3059382z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M33.3059382 28.3771971H39.76579568V29.3771971H33.3059382z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M42.3719715 28.3771971H62.7026128V29.3771971H42.3719715z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M64.5985748 28.3771971H76.04228029999999V29.3771971H64.5985748z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M36.6655582 29.8779097H45.546318299999996V30.8779097H36.6655582z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M39.5187648 31.3847981H50.104038V32.3847981H39.5187648z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M50.7895487 31.3847981H59.657957249999995V32.3847981H50.7895487z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M39.5002375 32.8855107H47.67078382V33.8855107H39.5002375z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M48.4612827 32.8855107H65.327316V33.8855107H48.4612827z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M33.3059382 34.9173397H43.8912114V35.9173397H33.3059382z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M33.3059382 36.424228H39.76579568V37.424228H33.3059382z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M42.3719715 36.424228H62.7026128V37.424228H42.3719715z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M64.5985748 36.424228H76.04228029999999V37.424228H64.5985748z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M36.6655582 37.9249406H45.546318299999996V38.9249406H36.6655582z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M39.5187648 39.4256532H50.104038V40.4256532H39.5187648z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M50.7895487 39.4256532H59.657957249999995V40.4256532H50.7895487z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M39.5002375 40.9325416H47.67078382V41.9325416H39.5002375z"}}),t("path",{attrs:{fill:"#74C2FF",opacity:".45189267",d:"M48.4612827 40.9325416H65.327316V41.9325416H48.4612827z"}}),t("rect",{attrs:{fill:"#51B2FF",opacity:".20370629",transform:"rotate(-180 187.311876 194.512352)",x:"161",y:"175",width:"52.623753",height:"39.0247031",rx:"7.64053333"}}),t("rect",{attrs:{"fill-opacity":".79627404",fill:"#FFF",transform:"rotate(-180 188.165083 193.155107)",x:"161.853207",y:"173.642755",width:"52.623753",height:"39.0247031",rx:"7.64053333"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M167.695487 183.740143H181.7762471V184.77149691999998H167.695487z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M167.695487 185.734917H176.29216158000003V186.734917H167.695487z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M179.75677 185.734917H206.8004755V186.734917H179.75677z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M172.166746 187.742043H183.98717359999998V188.76722114999998H172.166746z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M175.95867 189.736817H190.0394301V190.76817092H175.95867z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M190.953444 189.736817H202.7553442V190.88551059H190.953444z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M175.933967 191.737767H186.8095014V192.737767H175.933967z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M187.853207 191.737767H210.2897866V192.81235132H187.853207z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M167.695487 194.442755H181.7762471V195.47410892H167.695487z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M167.695487 196.43753H176.29216158000003V197.43753H167.695487z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M179.75677 196.43753H206.8004755V197.43753H179.75677z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M172.166746 198.43848H183.98717359999998V199.46365815H172.166746z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M175.95867 200.43943H190.0394301V201.47078391999997H175.95867z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M190.953444 200.43943H202.7553442V201.58812358999998H190.953444z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M175.933967 202.44038H186.8095014V203.44038H175.933967z"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".60044643",d:"M187.853207 202.44038H210.2897866V203.51496432000002H187.853207z"}}),t("path",{attrs:{d:"M16.0337292,120.501663 C20.2270784,115.838955 20.2270784,115.838955 24.9824228,110.243705 L45.2204276,86.55962 C49.6978622,81.4275534 51.4703088,79.0992874 53.8665083,75.4432304 L73.0114014,75.4432304 C72.4640431,80.5833296 72.2145367,85.7507924 72.264133,90.919715 L72.264133,121.248931 L74.9691211,121.248931 C78.0708226,121.219875 81.1665256,120.970155 84.2327791,120.501663 L84.2327791,137.472684 C81.2003431,137.10018 78.1478652,136.914556 75.0926366,136.916865 L72.2950119,136.916865 L72.2950119,141.579572 C72.2056715,145.416927 72.4557343,149.254667 73.0422803,153.047981 L53.7985748,153.047981 C54.328057,149.186492 54.5777969,145.291789 54.5458432,141.394299 L54.5458432,136.824228 L28.1567696,136.824228 C22.0921615,136.824228 19.5106888,136.916865 16.0337292,137.194774 L16.0337292,120.501663 Z M54.6384798,110.620428 C54.6384798,106.420903 54.823753,101.295012 55.2004751,97.1881235 C53.3477435,99.8004751 51.9334917,101.665558 49.4199525,104.833729 L35.8023753,121.434204 L54.6384798,121.434204 L54.6384798,110.620428 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M16.0337292,120.501663 C20.2270784,115.838955 20.2270784,115.838955 24.9824228,110.243705 L45.2204276,86.55962 C49.6978622,81.4275534 51.4703088,79.0992874 53.8665083,75.4432304 L73.0114014,75.4432304 C72.4640431,80.5833296 72.2145367,85.7507924 72.264133,90.919715 L72.264133,121.248931 L74.9691211,121.248931 C78.0708226,121.219875 81.1665256,120.970155 84.2327791,120.501663 L84.2327791,137.472684 C81.2003431,137.10018 78.1478652,136.914556 75.0926366,136.916865 L72.2950119,136.916865 L72.2950119,141.579572 C72.2056715,145.416927 72.4557343,149.254667 73.0422803,153.047981 L53.7985748,153.047981 C54.328057,149.186492 54.5777969,145.291789 54.5458432,141.394299 L54.5458432,136.824228 L28.1567696,136.824228 C22.0921615,136.824228 19.5106888,136.916865 16.0337292,137.194774 L16.0337292,120.501663 Z M54.6384798,110.620428 C54.6384798,106.420903 54.823753,101.295012 55.2004751,97.1881235 C53.3477435,99.8004751 51.9334917,101.665558 49.4199525,104.833729 L35.8023753,121.434204 L54.6384798,121.434204 L54.6384798,110.620428 Z",fill:"url(#d0d3q7amrc)"}}),t("path",{attrs:{d:"M119.811401,97.1140143 C121.664133,97.4228029 123.387173,98.5591449 125.246081,98.9667458 C126.870309,99.3372922 128.580998,99.1458432 130.186698,99.7140143 C133.181948,100.776247 135.127316,104.389074 135.553444,108.014252 C135.979572,111.63943 135.219952,115.307838 134.355344,118.828029 C132.08266,128.104038 128.994774,137.367696 123.43658,144.4019 C123.047506,144.889786 122.578147,145.402375 122.0038,145.390243 C121.605264,145.335186 121.232731,145.160763 120.935392,144.889786 C119.768543,144.09074 118.70087,143.155749 117.754869,142.104513 C116.272684,140.319715 115.414252,137.966746 114.666983,135.632304 C112.561045,129.061283 108.540618,124.898812 107.793349,117.932542 C106.978147,110.626603 110.973872,95.6565321 119.811401,97.1140143 Z",fill:"#FFF"}}),t("path",{attrs:{d:"M113.833254,101.795249 C113.044609,101.652874 112.231072,101.799793 111.542043,102.209026 C110.081126,103.107389 109.055551,104.568666 108.707363,106.247981 C108.372966,107.913004 108.312472,109.621433 108.528266,111.305938 C108.950877,116.249369 109.909636,121.132209 111.387648,125.868409 C111.819952,127.23943 110.584798,130.494062 111.480285,131.618052 C112.209026,132.532067 111.844656,138.022328 112.795724,138.701663 C115.432779,140.6038 120.910689,139.553919 123.547743,141.456057 C126.962945,143.926366 126.734442,137.404751 126.190974,134.71829 C125.573397,131.72304 120.935392,132.247981 117.384323,122.132067 C112.659857,108.668884 115.043705,102.073159 113.833254,101.795249 Z",fill:"#1692F5",opacity:".24762835"}}),t("path",{attrs:{d:"M160.021853,120.155819 C164.215202,115.493112 164.215202,115.493112 168.970546,109.897862 L189.208551,86.207601 C192.367158,82.7257884 195.257455,79.0096921 197.854632,75.0912114 L216.999525,75.0912114 C216.451929,80.2333583 216.202422,85.40289 216.252257,90.5738717 L216.252257,120.884561 L218.957245,120.884561 C222.048492,120.850958 225.133608,120.60126 228.190024,120.137292 L228.190024,137.108314 C225.158,136.730666 222.105331,136.542968 219.049881,136.546318 L216.252257,136.546318 L216.252257,141.209026 C216.162464,145.04639 216.412529,148.88417 216.999525,152.677435 L197.786698,152.677435 C198.31381,148.832274 198.563544,144.954168 198.533967,141.073159 L198.533967,136.503088 L172.144893,136.503088 C166.080285,136.503088 163.467933,136.595724 160.021853,136.87981 L160.021853,120.155819 Z M198.626603,110.274584 C198.626603,106.075059 198.811876,100.949169 199.182423,96.8484561 C197.329691,99.4546318 195.921615,101.319715 193.4019,104.494062 L179.815202,121.094537 L198.651306,121.094537 L198.626603,110.274584 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M160,120.064608 C164.193349,115.4019 164.193349,115.4019 168.948694,109.806651 L189.186698,86.1163895 C192.345305,82.634577 195.235602,78.9184807 197.832779,75 L216.977672,75 C216.430076,80.1421469 216.180569,85.3116786 216.230404,90.4826603 L216.230404,120.793349 L218.935392,120.793349 C222.02664,120.759747 225.111755,120.510048 228.168171,120.046081 L228.168171,137.017102 C225.136148,136.639454 222.083478,136.451756 219.028029,136.455107 L216.230404,136.455107 L216.230404,141.117815 C216.140611,144.955178 216.390677,148.792958 216.977672,152.586223 L197.764846,152.586223 C198.291957,148.741063 198.541692,144.862956 198.512114,140.981948 L198.512114,136.411876 L172.12304,136.411876 C166.058432,136.411876 163.446081,136.504513 160,136.788599 L160,120.064608 Z M198.604751,110.183373 C198.604751,105.983848 198.790024,100.857957 199.16057,96.7572447 C197.307838,99.3634204 195.899762,101.228504 193.380048,104.40285 L179.793349,121.003325 L198.629454,121.003325 L198.604751,110.183373 Z",fill:"url(#3oerpozpud)"}}),t("path",{attrs:{d:"M99.6783848,145.359145 C96.704682,142.42805 94.3889235,138.897571 92.8850356,135.002375 C90.4279761,128.152576 89.1966545,120.923527 89.2475059,113.646556 C89.2475059,103.857957 91.5819477,93.6926366 95.1268409,87.8194774 C100.814727,78.3026128 110.510689,73.0840855 122.263183,73.0840855 C131.310689,73.0840855 139.234204,76.1719715 144.92209,81.7301663 C147.89565,84.6589836 150.211453,88.1874251 151.715439,92.0807601 C154.177627,98.9611087 155.40691,106.221826 155.346793,113.529216 C155.346793,123.32399 153.018527,133.581948 149.473634,139.467458 C143.878385,148.805226 134.089786,154.04228 122.244656,154.04228 C113.104513,154.04228 105.366271,151.040855 99.6783848,145.359145 Z M108.324466,112.905463 C108.324466,129.580048 113.07981,138.176722 122.312589,138.176722 C131.545368,138.176722 136.115439,129.783848 136.115439,113.183373 C136.115439,97.2375297 131.267458,88.8446556 122.219952,88.8446556 C113.481235,88.8446556 108.349169,97.7007126 108.349169,112.905463 L108.324466,112.905463 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M99.6783848,145.359145 C96.704682,142.42805 94.3889235,138.897571 92.8850356,135.002375 C90.4279761,128.152576 89.1966545,120.923527 89.2475059,113.646556 C89.2475059,103.857957 91.5819477,93.6926366 95.1268409,87.8194774 C100.814727,78.3026128 110.510689,73.0840855 122.263183,73.0840855 C131.310689,73.0840855 139.234204,76.1719715 144.92209,81.7301663 C147.89565,84.6589836 150.211453,88.1874251 151.715439,92.0807601 C154.177627,98.9611087 155.40691,106.221826 155.346793,113.529216 C155.346793,123.32399 153.018527,133.581948 149.473634,139.467458 C143.878385,148.805226 134.089786,154.04228 122.244656,154.04228 C113.104513,154.04228 105.366271,151.040855 99.6783848,145.359145 Z M108.324466,112.905463 C108.324466,129.580048 113.07981,138.176722 122.312589,138.176722 C131.545368,138.176722 136.115439,129.783848 136.115439,113.183373 C136.115439,97.2375297 131.267458,88.8446556 122.219952,88.8446556 C113.481235,88.8446556 108.349169,97.7007126 108.349169,112.905463 L108.324466,112.905463 Z",fill:"url(#6zbsv6cove)"}}),t("path",{attrs:{d:"M18.1273159,120.155819 C22.3268409,115.493112 22.3268409,115.493112 27.0821853,109.897862 L47.32019,86.207601 C50.4787971,82.7257884 53.3690942,79.0096921 55.9662708,75.0912114 L75.1111639,75.0912114 C74.5635675,80.2333583 74.3140608,85.40289 74.3638955,90.5738717 L74.3638955,120.884561 L77.0688836,120.884561 C80.1704446,120.852399 83.2659288,120.602696 86.3325416,120.137292 L86.3325416,137.108314 C83.3005183,136.730666 80.2478486,136.542968 77.192399,136.546318 L74.3947743,136.546318 L74.3947743,141.209026 C74.3049817,145.04639 74.5550471,148.88417 75.1420428,152.677435 L55.8983373,152.677435 C56.4254489,148.832274 56.6751832,144.954168 56.6456057,141.073159 L56.6456057,136.503088 L30.2503563,136.503088 C24.191924,136.503088 21.6042755,136.595724 18.1273159,136.87981 L18.1273159,120.155819 Z M56.7382423,110.274584 C56.7382423,106.075059 56.9235154,100.949169 57.2940618,96.8484561 C55.4413302,99.4546318 54.0332542,101.319715 51.5135392,104.494062 L37.9268409,121.094537 L56.7382423,121.094537 L56.7382423,110.274584 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M101.771971,145.704988 C98.7987049,142.77593 96.4829461,139.247556 94.9786223,135.354394 C92.5152544,128.505731 91.2776556,121.276649 91.3225653,113.998575 C91.3225653,104.209976 93.6570071,94.0446556 97.2019002,88.1653207 C102.889786,78.6546318 112.585748,73.4361045 124.338242,73.4361045 C133.379572,73.4361045 141.309264,76.5239905 146.99715,82.0821853 C149.972477,85.0095531 152.288546,88.5383998 153.790499,92.4327791 C156.266648,99.3165681 157.504437,106.584401 157.446556,113.899762 C157.446556,123.688361 155.11829,133.952494 151.573397,139.838005 C145.978147,149.16342 136.183373,154.381948 124.344418,154.381948 C115.204276,154.375772 107.466033,151.392874 101.771971,145.704988 Z M110.467458,113.282185 C110.467458,129.95677 115.222803,138.553444 124.455582,138.553444 C133.595724,138.553444 138.258432,130.16057 138.258432,113.566271 C138.258432,97.6142518 133.404276,89.2213261 124.362945,89.2213261 C115.574822,89.1966746 110.467458,98.0527316 110.467458,113.282185 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M139.555344,80.8285036 C140.976066,81.8639272 141.635976,83.6512848 141.228979,85.3615202 C143.582304,85.5862342 145.748105,86.7425139 147.244181,88.5729216 C148.571651,90.3244411 149.37474,92.4167552 149.560095,94.6066508 C149.73812,96.7837127 149.690519,98.973349 149.418052,101.140618 C149.387376,101.889581 149.232954,102.628304 148.961045,103.326841 C148.314244,104.55377 147.151657,105.426277 145.792874,105.704513 C144.451485,105.972311 143.077449,106.03685 141.716865,105.895962 L138.474584,105.72304 C138.367698,105.725472 138.261793,105.702173 138.165796,105.655107 C138.034971,105.543454 137.956634,105.382302 137.949644,105.210451 C137.727316,103.88266 137.387648,103.302138 137.146793,101.974347 C136.545048,99.1709888 135.367343,96.5232555 133.688361,94.1990499 C133.390873,93.8516352 133.179312,93.4390915 133.070784,92.9947743 C133.03356,92.380543 133.170568,91.768287 133.466033,91.2285036 C133.905053,90.1665482 134.268275,89.07482 134.552969,87.9615202 C134.814746,86.629218 135.155006,85.313545 135.571971,84.0213777 C135.996596,82.7153748 136.872318,81.6032085 138.04228,80.8840855",fill:"url(#mf2fnkwdrf)"}}),t("path",{attrs:{d:"M138.04228,119.618527 C138.04228,119.618527 149.912114,120.668409 155.334442,113.442755 C157.495962,110.577197 152.67886,97.0769596 152.67886,97.0769596 L147.20095,106.884086 L138.554869,108.847981 L138.04228,119.618527 Z",fill:"url(#5avtbuky0g)"}}),t("path",{attrs:{d:"M162.294537,120.155819 C166.487886,115.493112 166.487886,115.493112 171.24323,109.897862 L191.481235,86.207601 C195.95867,81.0817102 197.731116,78.7472684 200.127316,75.0912114 L219.272209,75.0912114 C218.730086,80.2398604 218.486764,85.415598 218.543468,90.592399 L218.543468,120.903088 L221.248456,120.903088 C224.339704,120.869485 227.42482,120.619787 230.481235,120.155819 L230.481235,137.126841 C227.449212,136.749193 224.396542,136.561495 221.341093,136.564846 L218.543468,136.564846 L218.543468,141.227553 C218.453675,145.064917 218.703741,148.902697 219.290736,152.695962 L200.059382,152.695962 C200.587382,148.844679 200.837118,144.960348 200.806651,141.073159 L200.806651,136.503088 L174.417577,136.503088 C168.352969,136.503088 165.740618,136.595724 162.294537,136.87981 L162.294537,120.155819 Z M200.899287,110.274584 C200.899287,106.075059 201.084561,100.949169 201.461283,96.8484561 C199.608551,99.4546318 198.194299,101.319715 195.68076,104.494062 L182.063183,121.094537 L200.899287,121.094537 L200.899287,110.274584 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M110.189549,98.4973872 C109.869732,98.6141132 109.559924,98.7566245 109.263183,98.9235154 C108.984484,99.0645368 108.73998,99.2647768 108.546793,99.5102138 C108.355073,99.7631769 108.308315,100.097493 108.423278,100.393349 C108.680169,100.789032 109.152867,100.987419 109.615202,100.893587 C110.374822,100.819477 111.07886,100.442755 111.83848,100.313064 C112.5981,100.183373 113.314489,99.6584323 112.777197,98.8494062 C112.239905,98.04038 110.949169,98.2133017 110.189549,98.4973872 Z",fill:"#FFCAAC"}}),t("path",{attrs:{d:"M112.610451,100.313064 C111.498812,100.022803 110.337767,100.510689 109.337292,101.072684 C109.101279,101.187617 108.891149,101.349417 108.719715,101.548219 C108.508385,101.716517 108.430973,102.002639 108.528617,102.254532 C108.626261,102.506425 108.876295,102.665616 109.145843,102.647506 C109.37313,102.670252 109.602608,102.655649 109.825178,102.604276 L111.362945,102.338717 C111.720609,102.296876 112.069005,102.196738 112.394299,102.04228 C113.092162,101.634679 113.685036,100.578622 112.610451,100.313064 Z",fill:"#FFCAAC"}}),t("path",{attrs:{d:"M110.467458,102.357245 C110.148585,102.478668 109.838978,102.623151 109.541093,102.789549 C109.25928,102.939483 109.014523,103.15048 108.824703,103.407126 C108.636321,103.659109 108.589734,103.989872 108.701188,104.284086 C108.958078,104.679769 109.430777,104.878155 109.893112,104.784323 C110.652732,104.710214 111.35677,104.333492 112.11639,104.2038 C112.87601,104.074109 113.592399,103.555344 113.055107,102.740143 C112.517815,101.924941 111.214727,102.073159 110.467458,102.357245 Z",fill:"#FFCAAC"}}),t("path",{attrs:{d:"M112.863658,103.913539 C111.72114,103.820903 110.665083,104.531116 109.775772,105.235154 C109.559655,105.393283 109.377036,105.592694 109.23848,105.821853 C109.064427,106.025863 109.041924,106.318885 109.182785,106.54708 C109.323646,106.775275 109.595676,106.886486 109.856057,106.822328 C110.081667,106.80551 110.302903,106.751245 110.510689,106.661758 L111.974347,106.124466 C112.32148,106.020308 112.64907,105.859643 112.943943,105.648931 C113.555344,105.142518 113.969121,104.018527 112.863658,103.913539 Z",fill:"#FFCAAC"}}),t("path",{attrs:{d:"M145.595249,86.4793349 C143.794718,85.6211717 141.814362,85.2081562 139.820903,85.2750594 C139.483917,85.2587863 139.147272,85.3134911 138.832779,85.4356295 C138.518333,85.5728639 138.31478,85.8830408 138.314014,86.2261283 C138.374031,86.5191078 138.541451,86.7790488 138.783373,86.9548694 C139.512731,87.6180724 140.331861,88.1752468 141.216627,88.6099762 C141.483747,88.715394 141.727258,88.8728367 141.933017,89.0731591 C142.139949,89.2814694 142.182865,89.6020816 142.038005,89.8574822 C141.834204,90.1415677 141.364846,90.1539192 141.210451,90.4750594 C141.006651,90.8764846 141.51924,91.271734 141.963895,91.3458432 C142.43651,91.4267497 142.922087,91.3820255 143.371971,91.216152 C143.686951,91.0540814 144.031478,90.9574459 144.384798,90.9320665 C144.733848,91.0068982 145.062533,91.1564919 145.348219,91.3705463 C146.32399,91.9263658 149.356295,91.9448931 149.164846,90.2527316 C148.985748,88.6840855 146.842755,87.127791 145.595249,86.4793349 Z",fill:"#FFCAAC"}}),t("path",{attrs:{d:"M130.674584,100.096912 C130.674584,100.096912 144.329216,105.72304 145.891686,105.432779 C147.454157,105.142518 144.928266,91.6669834 144.928266,91.6669834 L149.584798,89.536342 C149.584798,89.536342 160.08361,110.348694 151.486936,113.374822 C146.170796,115.153715 140.410827,115.092809 135.133492,113.2019 L130.674584,100.096912 Z",fill:"#FFF"}}),t("path",{attrs:{d:"M137.937292,92.2845606 C137.88922,93.4935224 137.603835,94.6812254 137.097387,95.7800475 C136.09229,97.440016 134.365417,98.5310339 132.434679,98.7258907 C131.74079,98.7706443 131.051265,98.8676733 130.371971,99.016152 C129.732514,99.1471754 129.201387,99.5901671 128.95772,100.195724 C128.408076,101.529691 127.839905,102.882185 126.067458,102.431354 C125.901026,102.394424 125.739394,102.338475 125.585748,102.264608 C125.028594,102.003009 124.527366,101.636001 124.109739,101.183848 C123.589703,100.657533 123.137431,100.068334 122.76342,99.4299287 C122.569928,99.1345235 122.439569,98.8023194 122.380523,98.4541568 C122.344161,98.0264703 122.394576,97.5958458 122.528741,97.1881235 C123.146318,94.7178147 123.245131,91.92019 124.12209,89.511639 C125.019877,87.0701309 126.735004,85.0145966 128.976247,83.6940618 C131.193349,82.4033254 134.275059,82.3847981 136.15867,84.1448931 C137.189202,85.1765967 137.841914,86.5255335 138.011401,87.9738717 C138.159647,89.4085411 138.134765,90.8558348 137.937292,92.2845606 L137.937292,92.2845606 Z",fill:"#FFC8AA"}}),t("path",{attrs:{d:"M122.917815,89.1966746 C123.035154,88.0356295 123.028979,86.856057 123.257482,85.7135392 C123.430325,84.5462603 124.015242,83.4793901 124.906413,82.7059382 C125.13006,82.5282047 125.380108,82.3865112 125.647506,82.2859857 C125.888361,82.1995249 126.141568,82.1501188 126.388599,82.0821853 C127.114323,81.823311 127.80674,81.4791756 128.451306,81.0570071 C129.428778,80.471282 130.497622,80.0537645 131.613302,79.8218527 C132.367301,79.7065314 133.129441,79.6528304 133.892162,79.6612827 C135.292003,79.6365796 136.698021,79.624228 138.110214,79.624228 C138.441607,79.5993373 138.774132,79.6544051 139.07981,79.7847981 C139.415506,79.9920052 139.660397,80.3185263 139.765321,80.6988124 C140.03401,81.5509769 140.03401,82.4651751 139.765321,83.3173397 C139.491994,84.1603718 139.129699,84.9719119 138.684561,85.7382423 C138.467553,86.2211929 138.161687,86.6590425 137.782898,87.0289786 C137.455582,86.4608076 137.165321,85.8741093 136.868884,85.2812352 C135.92399,86.2631829 134.435629,86.5163895 133.07696,86.4114014 C131.71829,86.3064133 130.384323,85.9543943 129.025653,85.935867 C128.373087,85.8666937 127.719814,86.0600092 127.209976,86.4731591 C126.905659,86.8278145 126.693533,87.2520665 126.592399,87.7083135 C126.306667,88.7248814 126.073735,89.7555551 125.894537,90.7961995 C125.733967,90.4935867 125.085511,89.7030879 124.745843,89.7154394 C124.547732,89.7345641 124.366506,89.8352449 124.245606,89.9933492 C123.68361,90.6109264 123.96152,92.8774347 124.480285,93.5320665 C124.584275,93.631249 124.66268,93.7541547 124.708789,93.8902613 C124.729928,94.0740711 124.676545,94.258688 124.56057,94.4028504 C124.271061,94.7447043 123.833372,94.9243873 123.387173,94.8845606 C122.843705,94.8845606 122.738717,93.8470309 122.683135,93.464133 C122.454632,92.0375297 122.781948,90.5985748 122.917815,89.1966746 Z",fill:"#606060"}}),t("path",{attrs:{d:"M125.085511,91.8028504 C125.009161,91.6432882 124.975134,91.4667708 124.986698,91.2902613 C124.999464,91.1133692 124.980643,90.935617 124.931116,90.7653207 C124.874658,90.6091766 124.762484,90.4794068 124.616152,90.4009501 C124.57378,90.3887677 124.528833,90.3887677 124.486461,90.4009501 C124.413585,90.431761 124.360489,90.4963993 124.344418,90.5738717 C124.128354,91.2507754 124.152347,91.9814838 124.412352,92.6427553 C124.48177,92.8829405 124.656803,93.0784325 124.887886,93.1738717 C125.092399,93.2148307 125.303769,93.1497937 125.449881,93.0009501 C125.648012,92.7912184 125.710222,92.4873465 125.610451,92.2166271 C125.505463,91.9695962 125.215202,92.0251781 125.085511,91.8028504 Z",fill:"url(#di3l474enh)"}}),t("path",{attrs:{d:"M130.371971,99.0038005 C129.732514,99.1348239 129.201387,99.5778156 128.95772,100.183373 C128.408076,101.51734 127.839905,102.869834 126.067458,102.419002 C125.901026,102.382073 125.739394,102.326123 125.585748,102.252257 C125.435867,102.124043 125.313945,101.966385 125.227553,101.789074 C125.06749,101.367954 125.085321,100.899883 125.27696,100.492162 C125.714406,99.4317779 126.736412,98.7294515 127.883135,98.7011876 C128.354852,98.722984 128.823851,98.7849663 129.285036,98.8864608 C129.569121,98.9235154 129.902613,98.8864608 130.161995,98.9173397 C130.237348,98.9308712 130.308939,98.9603498 130.371971,99.0038005 L130.371971,99.0038005 Z",fill:"url(#4szjca59si)"}})])])}},ti="zt-empty-developing-",ei={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280 260"}},[t("defs",[t("linearGradient",{attrs:{x1:"48.860455%",y1:"22.1475143%",x2:"53.1968857%",y2:"127.940777%",id:ti+"1"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"47.190027%",y1:"49.7417137%",x2:"-18.4366577%",y2:"43.6792183%",id:ti+"2"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"51.0994315%",y1:"105.246994%",x2:"49.2116272%",y2:"10.6863496%",id:ti+"3"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"47.8552822%",y1:"15.5070373%",x2:"53.2908828%",y2:"103.00972%",id:ti+"4"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"53.8171263%",y1:"35.1233841%",x2:"48.3018868%",y2:"56.7225634%",id:ti+"5"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"450.784593%",y1:"180.340089%",x2:"441.749881%",y2:"126.049805%",id:ti+"6"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"177.361342%",y1:"63.2235597%",x2:"174.48995%",y2:"57.692978%",id:ti+"7"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"276.208378%",y1:"91.5599319%",x2:"271.13319%",y2:"74.1021927%",id:ti+"8"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"341.85403%",y1:"121.18132%",x2:"335.281909%",y2:"90.8775861%",id:ti+"9"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"295.181422%",y1:"99.641659%",x2:"289.637155%",y2:"78.0424797%",id:ti+"10"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"342.382271%",y1:"128.191405%",x2:"335.83795%",y2:"94.0558374%",id:ti+"11"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"367.857143%",y1:"126.408015%",x2:"360.714286%",y2:"92.4738326%",id:ti+"12"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"203.970856%",y1:"69.8231011%",x2:"200.528233%",y2:"60.982875%",id:ti+"13"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"294.397678%",y1:"91.6858618%",x2:"288.882438%",y2:"70.0866825%",id:ti+"14"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"450.784593%",y1:"152.281267%",x2:"441.749881%",y2:"97.9856234%",id:ti+"15"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"177.361342%",y1:"60.3643822%",x2:"174.48995%",y2:"54.8338005%",id:ti+"16"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"276.208378%",y1:"82.536366%",x2:"271.13319%",y2:"65.07518%",id:ti+"17"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"341.85403%",y1:"105.525438%",x2:"335.281909%",y2:"75.2187127%",id:ti+"18"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"295.181422%",y1:"88.4754034%",x2:"289.637155%",y2:"66.8762241%",id:ti+"19"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"342.382271%",y1:"110.547507%",x2:"335.83795%",y2:"76.4119403%",id:ti+"20"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"367.857143%",y1:"108.866478%",x2:"360.714286%",y2:"74.9322955%",id:ti+"21"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"203.970856%",y1:"65.2542112%",x2:"200.528233%",y2:"56.4131124%",id:ti+"22"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"294.397678%",y1:"80.5238698%",x2:"288.882438%",y2:"58.9268223%",id:ti+"23"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"450.784593%",y1:"124.222444%",x2:"441.749881%",y2:"69.9268011%",id:ti+"24"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"177.361342%",y1:"57.5062963%",x2:"174.48995%",y2:"51.9762605%",id:ti+"25"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"276.208378%",y1:"73.5128001%",x2:"271.13319%",y2:"56.0516141%",id:ti+"26"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"341.85403%",y1:"89.8635731%",x2:"335.281909%",y2:"59.5568482%",id:ti+"27"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"295.181422%",y1:"77.3155432%",x2:"289.637155%",y2:"55.7163639%",id:ti+"28"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"342.382271%",y1:"92.9069794%",x2:"335.83795%",y2:"58.7714123%",id:ti+"29"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"367.857143%",y1:"91.3282902%",x2:"360.714286%",y2:"57.3907584%",id:ti+"30"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:"203.970856%",y1:"60.6844486%",x2:"200.528233%",y2:"51.8433499%",id:ti+"31"}},[t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF",offset:"99%"}})]),t("linearGradient",{attrs:{x1:".15759965%",y1:"50.0645643%",x2:"99.9963699%",y2:"50.0645643%",id:ti+"32"}},[t("stop",{attrs:{"stop-color":"#E5C6D6",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#EAD4D0",offset:"42%"}}),t("stop",{attrs:{"stop-color":"#F0E9CB",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"-.13095819%",y1:"50.038758%",x2:"100.054988%",y2:"50.038758%",id:ti+"33"}},[t("stop",{attrs:{"stop-color":"#E5C6D6",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#EAD4D0",offset:"42%"}}),t("stop",{attrs:{"stop-color":"#F0E9CB",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"-.29160665%",y1:"49.9114649%",x2:"99.7692962%",y2:"49.9114649%",id:ti+"34"}},[t("stop",{attrs:{"stop-color":"#E5C6D6",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#EAD4D0",offset:"42%"}}),t("stop",{attrs:{"stop-color":"#F0E9CB",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"-.43575933%",y1:"49.7843136%",x2:"99.7806048%",y2:"49.7843136%",id:ti+"35"}},[t("stop",{attrs:{"stop-color":"#E5C6D6",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#EAD4D0",offset:"42%"}}),t("stop",{attrs:{"stop-color":"#F0E9CB",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"-.00859098%",y1:"49.9990858%",x2:"100.102726%",y2:"49.9990858%",id:ti+"36"}},[t("stop",{attrs:{"stop-color":"#E5C6D6",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#EAD4D0",offset:"42%"}}),t("stop",{attrs:{"stop-color":"#F0E9CB",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"0%",y1:"50.0075169%",x2:"100.075387%",y2:"50.0075169%",id:ti+"37"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"0%",y1:"49.9877059%",x2:"100%",y2:"49.9877059%",id:ti+"38"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"50.9452485%",y1:"19.7899284%",x2:"46.4910638%",y2:"157.964103%",id:ti+"39"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"44.3146837%",y1:"86.6089922%",x2:"59.0429339%",y2:"-32.408747%",id:ti+"40"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"50.509165%",y1:"56.5270866%",x2:"49.454894%",y2:"43.2833993%",id:ti+"41"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"50.0097289%",y1:"62.244865%",x2:"50.1644612%",y2:"167.603242%",id:ti+"42"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"45.5378241%",y1:"32.5941231%",x2:"76.6349334%",y2:"135.454181%",id:ti+"43"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"57.3044615%",y1:"23.8288558%",x2:"5.20024135%",y2:"168.890597%",id:ti+"44"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})]),t("linearGradient",{attrs:{x1:"57.0947488%",y1:"9.64161116%",x2:"8.35461553%",y2:"179.892166%",id:ti+"45"}},[t("stop",{attrs:{"stop-color":"#010101","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#010101",offset:"95%"}})])]),t("g",{attrs:{transform:"translate(20 14)","fill-rule":"nonzero",fill:"none"}},[t("path",{attrs:{d:"M229.767221,151.781473 C222.886461,161.649406 213.235154,169.242755 205.6019,178.574822 C194.394299,192.256532 187.142993,210.019952 171.967696,219.146793 C164.790499,223.456532 156.484561,225.383373 148.343943,227.253207 C135.260808,230.263183 121.704513,233.273159 108.518765,230.730641 C98.4114014,228.786698 89.2389549,223.690261 80.2546318,218.662233 L73.1458432,214.671734 C71.5781473,213.782423 69.9933492,212.910214 68.4085511,212.020903 L63.7909739,209.432779 C50.2346793,201.793824 36.7638955,193.824228 25.3396675,183.295012 C12.6099762,171.608551 2.4912114,156.228029 0.387648456,139.051781 C-2.05225653,119.2019 7.28551069,98.3543943 23.7149644,86.9472684 C32.727791,80.6764846 43.4736342,77.1876485 52.3268409,70.6831354 C66.2992874,60.4218527 73.9895487,44.0095012 83.583848,29.592399 C101.364371,2.86175772 135.557245,-9.93064133 164.351544,9.06983373 C175.542043,16.4465558 184.007601,27.4033254 190.227078,39.2836105 C195.483135,49.2997625 199.348219,60.1653207 206.337292,69.0584323 C214.31829,79.2171021 225.936342,86.2517815 232.919715,97.1230404 C243.380523,113.392874 240.849406,135.899287 229.767221,151.781473 Z",fill:"#51B2FF",opacity:".24"}}),t("path",{attrs:{d:"M82.0788599,212.608076 C81.2408551,213.525891 82.6147268,214.80285 83.7890736,215.247506 C91.4513638,218.179477 99.584984,219.686418 107.789074,219.694062 L106.392399,222.071259 C119.251718,225.641963 132.831439,225.712814 145.727316,222.276485 L143.743468,219.1981 L155.264608,218.628029 C157.094537,218.542518 163.513539,219.295012 164.727791,217.670309 C168.222328,212.990024 153.99905,212.807601 152.471259,212.744893 C137.295962,212.110214 122.111164,211.865083 106.916865,212.009501 C102.774347,212.047506 98.631829,212.114014 94.4893112,212.209026 C92.528266,212.277435 83.2988124,211.308314 82.0788599,212.608076 Z",fill:"#51B2FF",opacity:".42"}}),t("path",{attrs:{d:"M146.850356,170.428504 C146.542518,176.509264 146.175772,182.601425 145.750119,188.704988 C145.623579,191.790015 145.222952,194.857679 144.552969,197.871734 C144.103407,199.66365 143.469132,201.404085 142.660333,203.065083 C142.312589,203.777672 141.816627,204.552969 141.035629,204.632779 C140.049406,204.735392 139.365321,203.68076 139.011876,202.751544 C137.250356,198.190974 137.250356,193.19715 137.136342,188.31734 C137.071734,185.793824 136.971021,183.268409 136.834204,180.741093 C136.668884,177.691211 136.338242,174.390499 134.274584,172.133017 C133.647506,171.448931 132.88361,170.890261 132.267933,170.189074 C129.753919,167.338717 130.506413,162.533017 133.214252,159.847981 C135.317815,157.767221 141.423278,155.019477 144.370546,156.741093 C147.870784,158.781948 147.015677,167.139192 146.850356,170.428504 Z",fill:"#606161"}}),t("path",{attrs:{d:"M129.20095,159.990499 C130.082357,161.387369 130.495702,163.028769 130.380998,164.676485 C130.23848,169.630404 127.296912,174.014252 125.820428,178.751544 C123.608551,185.905938 124.839905,193.573397 125.062233,201.081235 C125.165109,202.115063 125.036586,203.158828 124.685986,204.136817 C124.304693,205.129488 123.349358,205.783019 122.285986,205.778644 C121.533678,205.638827 120.856247,205.234391 120.376247,204.63848 C116.750594,200.761995 116.870309,194.850356 116.271734,189.582898 C115.59905,183.716865 113.780523,178.050356 112.229929,172.355344 C111.528741,169.784323 110.873159,167.150594 111.03848,164.494062 C111.2038,161.83753 112.32114,159.106888 114.515914,157.6019 C118.500713,154.87696 126.356295,155.914489 129.20095,159.990499 Z",fill:"#606161"}}),t("rect",{attrs:{fill:"#51B2FF",opacity:".52",transform:"rotate(-180 65.940143 64.606176)",x:"27.8764846",y:"22.6375297",width:"76.1273159",height:"83.9372922",rx:"7.7696"}}),t("rect",{attrs:{fill:"url(#aeoizh7mra)",transform:"rotate(-180 65.940143 64.606176)",x:"27.8764846",y:"22.6375297",width:"76.1273159",height:"83.9372922",rx:"7.7696"}}),t("rect",{attrs:{fill:"#51B2FF",opacity:".52",transform:"rotate(-180 190.249881 64.443705)",x:"147.950594",y:"38.5026128",width:"84.5985748",height:"51.8821853",rx:"7.3984"}}),t("rect",{attrs:{fill:"url(#nosejk6e4b)",transform:"rotate(-180 190.249881 64.443705)",x:"147.950594",y:"38.5026128",width:"84.5985748",height:"51.8821853",rx:"7.3984"}}),t("rect",{attrs:{fill:"#51B2FF",opacity:".52",transform:"rotate(-180 155.136342 36.188124)",x:"128.56247",y:"19.8897862",width:"53.1477435",height:"32.5966746",rx:"4.6464"}}),t("rect",{attrs:{fill:"url(#4jj5shr2ac)",transform:"rotate(-180 155.136342 36.188124)",x:"128.56247",y:"19.8897862",width:"53.1477435",height:"32.5966746",rx:"4.6464"}}),t("path",{attrs:{fill:"#51B2FF",opacity:".52",transform:"rotate(-180 125.595249 148.657482)",d:"M61.2655582 145.573397H189.92494019999998V151.74156802H61.2655582z"}}),t("rect",{attrs:{fill:"#51B2FF",transform:"rotate(-180 128.457007 101.287411)",x:"79.2171021",y:"64.9368171",width:"98.47981",height:"72.7011876",rx:"8.0384"}}),t("rect",{attrs:{fill:"url(#dmdcdcdd5d)",transform:"rotate(-180 128.457007 101.287411)",x:"79.2171021",y:"64.9368171",width:"98.47981",height:"72.7011876",rx:"8.0384"}}),t("path",{attrs:{fill:"url(#5bq2j01ree)",d:"M91.3254157 76.3211401H110.9643706V77.76342039H91.3254157z"}}),t("path",{attrs:{fill:"url(#8jy9u5ammf)",d:"M91.3254157 79.1087886H103.3140143V80.45985748H91.3254157z"}}),t("path",{attrs:{fill:"url(#6kfafk78tg)",d:"M108.148219 79.1087886H145.8698342V80.47125891H108.148219z"}}),t("path",{attrs:{fill:"url(#jcj1ghg49h)",d:"M149.398575 79.1087886H170.6280287V80.47125891H149.398575z"}}),t("path",{attrs:{fill:"url(#w3zt7b77ii)",d:"M97.5619952 81.9078385H114.0427553V83.33301664999999H97.5619952z"}}),t("path",{attrs:{fill:"url(#xgma4j4qcj)",d:"M102.852257 84.6897862H122.4912119V86.13206649H102.852257z"}}),t("path",{attrs:{fill:"url(#dqw9vw30yk)",d:"M123.773872 84.6897862H140.23753V86.29168644H123.773872z"}}),t("path",{attrs:{fill:"url(#p81mkc8fbl)",d:"M102.823753 87.4774347H117.98764849999999V88.82850358H102.823753z"}}),t("path",{attrs:{fill:"url(#n6q8n0s2lm)",d:"M119.44133 87.4774347H150.73824209999998V88.97672211H119.44133z"}}),t("path",{attrs:{fill:"url(#pt6e4ozx9n)",d:"M91.3254157 91.2513064H110.9643706V92.69358669H91.3254157z"}}),t("path",{attrs:{fill:"url(#valbxld46o)",d:"M91.3254157 94.0389549H103.3140143V95.39002377999999H91.3254157z"}}),t("path",{attrs:{fill:"url(#mdfq4eaqnp)",d:"M108.148219 94.0389549H145.8698342V95.40142521H108.148219z"}}),t("path",{attrs:{fill:"url(#w9zqugrizq)",d:"M149.398575 94.0389549H170.6280287V95.40142521H149.398575z"}}),t("path",{attrs:{fill:"url(#a54bqusopr)",d:"M97.5619952 96.8266033H114.0427553V98.25178145H97.5619952z"}}),t("path",{attrs:{fill:"url(#srw09ij8vs)",d:"M102.852257 99.6199525H122.4912119V101.06223279H102.852257z"}}),t("path",{attrs:{fill:"url(#zu1gzgi3xt)",d:"M123.773872 99.6199525H140.23753V101.22185274H123.773872z"}}),t("path",{attrs:{fill:"url(#95maaxi5wu)",d:"M102.823753 102.407601H117.98764849999999V103.75866988H102.823753z"}}),t("path",{attrs:{fill:"url(#bnbtj22pev)",d:"M119.44133 102.407601H150.73824209999998V103.90688841H119.44133z"}}),t("path",{attrs:{fill:"url(#v3ulh7mxbw)",d:"M91.3254157 106.175772H110.9643706V107.61805229H91.3254157z"}}),t("path",{attrs:{fill:"url(#qa4j7xuxdx)",d:"M91.3254157 108.96342H103.3140143V110.31448888H91.3254157z"}}),t("path",{attrs:{fill:"url(#tcbnlnxq6y)",d:"M108.148219 108.96342H145.8698342V110.32589031H108.148219z"}}),t("path",{attrs:{fill:"url(#ob59s4vknz)",d:"M149.398575 108.96342H170.6280287V110.32589031H149.398575z"}}),t("path",{attrs:{fill:"url(#0o6ynpe7wA)",d:"M97.5619952 111.751069H114.0427553V113.17624715H97.5619952z"}}),t("path",{attrs:{fill:"url(#f41e6tn45B)",d:"M102.852257 114.538717H122.4912119V115.98099729H102.852257z"}}),t("path",{attrs:{fill:"url(#mk6wrlasyC)",d:"M123.773872 114.538717H140.23753V116.14061724000001H123.773872z"}}),t("path",{attrs:{fill:"url(#5rd5hmw66D)",d:"M102.823753 117.332067H117.98764849999999V118.68313588H102.823753z"}}),t("path",{attrs:{fill:"url(#kei1glm24E)",d:"M119.44133 117.332067H150.73824209999998V118.83135440999999H119.44133z"}}),t("g",{attrs:{opacity:".52",fill:"#51B2FF"}},[t("path",{attrs:{d:"M0.19952494 0.40475059H9.97054632V1.40475059H0.19952494z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M0.19952494 1.79572447H6.16247031V2.7957244699999997H0.19952494z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M8.56817102 1.79572447H27.334916819999997V2.7957244699999997H8.56817102z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M29.0850356 1.79572447H39.648456V2.7957244699999997H29.0850356z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M3.30071259 3.18099762H11.49833729V4.180997619999999H3.30071259z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M5.93444181 4.5719715H15.70546319V5.5719715H5.93444181z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M16.3382423 4.5719715H24.52446558V5.5719715H16.3382423z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M5.91733967 5.95724466H13.45938243V6.95724466H5.91733967z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M14.1890736 5.95724466H29.757719700000003V6.95724466H14.1890736z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M0.19952494 7.8327791H9.97054632V8.8327791H0.19952494z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M0.19952494 9.21805226H6.16247031V10.21805226H0.19952494z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M8.56817102 9.21805226H27.334916819999997V10.21805226H8.56817102z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M29.0850356 9.21805226H39.648456V10.21805226H29.0850356z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M3.30071259 10.6033254H11.49833729V11.6033254H3.30071259z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M5.93444181 11.9942993H15.70546319V12.9942993H5.93444181z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M16.3382423 11.9942993H24.52446558V12.9942993H16.3382423z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M5.91733967 13.3795724H13.45938243V14.3795724H5.91733967z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M14.1890736 13.3795724H29.757719700000003V14.3795724H14.1890736z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M0.19952494 15.2551069H9.97054632V16.2551069H0.19952494z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M0.19952494 16.6460808H6.16247031V17.6460808H0.19952494z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M8.56817102 16.6460808H27.334916819999997V17.6460808H8.56817102z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M29.0850356 16.6460808H39.648456V17.6460808H29.0850356z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M3.30071259 18.0313539H11.49833729V19.0313539H3.30071259z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M5.93444181 19.4166271H15.70546319V20.4166271H5.93444181z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M16.3382423 19.4166271H24.52446558V20.4166271H16.3382423z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M5.91733967 20.807601H13.45938243V21.807601H5.91733967z",transform:"translate(135.106888 23.942993)"}}),t("path",{attrs:{d:"M14.1890736 20.807601H29.757719700000003V21.807601H14.1890736z",transform:"translate(135.106888 23.942993)"}})]),t("path",{attrs:{d:"M152.15772,141.577197 C152.56247,142.71734 152.944418,143.914489 152.693587,145.088836 C152.602811,145.49521 152.438598,145.881593 152.209026,146.228979 C151.068884,147.9962 148.366746,148.269834 146.508314,147.209501 C144.649881,146.149169 143.60095,144.119715 143.087886,142.07886 C142.885622,141.395295 142.817862,140.678971 142.888361,139.969596 C143.053682,138.732542 143.874584,137.689311 144.729691,136.777197 C145.869834,135.591449 147.961995,134.040855 149.495487,135.466033 C150.875059,136.742993 151.547743,139.872684 152.15772,141.577197 Z",fill:"url(#yoc5sjl4xF)"}}),t("path",{attrs:{d:"M105.531591,141.235154 C105.282078,141.706209 105.16579,142.236404 105.195249,142.768646 C105.264454,143.11088 105.400022,143.436245 105.594299,143.726366 C106.073933,144.587154 106.714529,145.347741 107.481235,145.966746 C108.254802,146.586721 109.234702,146.890266 110.223278,146.816152 C111.68266,146.656532 112.839905,145.499287 113.615202,144.250831 C114.421051,143.064547 114.844756,141.660153 114.829454,140.226128 C114.739079,138.696338 113.969607,137.287033 112.731591,136.383848 C111.631354,135.585748 109.339667,134.861758 108.096912,135.773872 C106.854157,136.685986 106.152969,139.764371 105.531591,141.235154 Z",fill:"url(#3l7a5nlqrG)"}}),t("path",{attrs:{d:"M139.2,99.3634204 C139.610188,99.244656 140.052252,99.3225436 140.39715,99.5743468 C140.63496,99.8453152 140.773655,100.189038 140.790499,100.549169 C140.935807,101.275374 140.964671,102.020071 140.87601,102.755344 C140.780603,103.486189 140.421829,104.157118 139.866983,104.64228 C139.434917,104.960397 138.947924,105.196164 138.430404,105.337767 C138.041863,105.514063 137.599567,105.530445 137.19905,105.383373 C136.845366,105.142586 136.619163,104.755109 136.583373,104.328741 C136.133017,102.122565 136.822803,99.7966746 139.2,99.3634204 Z",fill:"url(#9au0rryihH)"}}),t("path",{attrs:{d:"M118.443705,98.5995249 C118.217303,98.5425731 117.980321,98.5425731 117.753919,98.5995249 C117.249142,98.8373859 116.928691,99.3469926 116.933017,99.9049881 C116.896104,100.441143 116.93061,100.979825 117.035629,101.506888 C117.133974,102.389155 117.495485,103.221425 118.073159,103.895487 C118.671856,104.563111 119.650358,104.732876 120.438955,104.305938 C122.861758,102.629929 120.581473,99.0669834 118.443705,98.5995249 Z",fill:"url(#rt21sor7sI)"}}),t("path",{attrs:{d:"M133.790024,114.533017 C133.902477,115.049491 133.933254,115.580404 133.881235,116.106413 C133.670309,117.565796 132.216627,118.586223 130.757245,118.768646 C129.297862,118.951069 127.83848,118.460808 126.47601,117.91924 C126.057577,117.778235 125.670405,117.557547 125.335867,117.269359 C125.001845,116.92039 124.774404,116.483306 124.680285,116.009501 C124.516809,115.187907 124.466937,114.347754 124.532067,113.512589 L124.623278,110.571021 C124.595264,109.995592 124.708793,109.422073 124.953919,108.900713 C125.52399,107.925891 126.829454,107.76057 127.963895,107.686461 C129.451781,107.623753 131.692162,107.686461 132.672684,109.04323 C133.653207,110.4 133.539192,112.953919 133.790024,114.533017 Z",fill:"url(#52suc04ikJ)"}}),t("path",{attrs:{d:"M138.373397,90.5216152 C138.816497,91.7626882 138.972426,93.0880771 138.829454,94.3980998 C138.702474,97.4229639 138.386417,100.436924 137.883135,103.422328 C137.506888,105.662708 136.914014,108.068409 135.141093,109.482185 C134.634215,109.823089 134.155699,110.204376 133.710214,110.622328 C133.402375,110.952969 133.185748,111.36342 132.900713,111.722565 C131.458432,113.529691 128.551069,113.529691 126.567221,112.326841 C124.583373,111.12399 123.312114,109.060333 122.149169,107.053682 C120.866508,104.841805 119.595249,102.527316 119.367221,99.9790974 C119.179097,97.9610451 119.652257,95.8346793 118.88266,93.9591449 C118.312589,92.5795724 117.132542,91.4736342 116.870309,90.0085511 C116.768974,89.0214457 116.889737,88.0241734 117.223753,87.0897862 C117.685511,85.4308789 118.392399,83.5154394 120.074109,83.0650831 C121.299762,82.7344418 122.565321,83.3615202 123.83658,83.4014252 C125.455582,83.4584323 127.103088,82.552019 128.64228,83.0650831 C130.620428,83.7263658 131.492637,86.0066508 133.465083,86.7477435 C135.43753,87.4888361 137.455582,88.423753 138.373397,90.5216152 Z",fill:"#606161"}}),t("path",{attrs:{d:"M144.917815,119.737767 C139.137292,114.943468 130.79715,115.063183 123.35772,116.07791 C120.285036,116.494062 117.155344,117.047031 114.453207,118.574822 C109.926841,121.140143 107.247506,126.099762 105.83943,131.11639 C105.092637,133.778622 104.699287,136.817102 106.192874,139.154394 C107.76057,141.571496 110.884561,142.4038 113.746318,142.72304 C114.184726,142.732828 114.613029,142.856604 114.989074,143.082185 C115.383286,143.447488 115.630593,143.944129 115.684561,144.47886 C116.48266,148.64038 114.863658,153.314964 117.001425,156.969121 C119.070784,160.497862 123.694062,161.427078 127.770071,161.740618 C133.04323,162.145368 138.761045,161.99715 143.04228,158.890261 C143.75247,158.412993 144.356121,157.793814 144.815202,157.071734 C145.52209,155.863183 145.561995,154.392399 145.579097,152.995724 C145.624703,149.951544 144.513064,143.828979 145.995249,141.143943 C147.238005,138.909264 150.778147,138.897862 152.020903,136.343943 C154.375297,131.486936 148.457957,122.667933 144.917815,119.737767 Z",fill:"#FFF"}}),t("path",{attrs:{d:"M123.9962,158.531116 L124.036105,165.012827 C124.064372,165.262425 124.016689,165.514747 123.899287,165.736817 C123.709661,165.971039 123.435015,166.120659 123.135392,166.152969 C121.379572,166.56342 119.543943,166.329691 117.742518,166.335392 C115.941093,166.341093 113.99715,166.660333 112.703088,167.92019 C114.669834,169.373872 117.206651,169.772922 119.640855,170.057957 C123.243705,170.487411 126.854157,170.772447 130.472209,170.913064 C132.817447,171.08606 135.175132,170.963483 137.489786,170.548219 C139.524713,170.139634 141.432409,169.250288 143.053682,167.954394 C141.463183,166.244181 138.829454,166.278385 136.503563,166.278385 C134.240559,166.277612 131.979429,166.148187 129.731116,165.890736 C129.217577,165.897769 128.724159,165.691318 128.368646,165.320665 C128.17919,164.982903 128.10325,164.593212 128.152019,164.209026 C128.195325,162.769803 128.376679,161.338059 128.693587,159.933492 C128.761132,159.470034 128.94773,159.03202 129.235154,158.662233 C129.742986,158.22828 130.380743,157.975584 131.047981,157.943943 C133.687552,157.50409 136.275645,156.797378 138.772447,155.834679 C139.800771,155.493872 140.757398,154.966278 141.594299,154.278385 C143.84038,152.23753 143.743468,148.72019 143.224703,145.727316 C139.091116,148.127052 134.423323,149.455668 129.645606,149.592399 C126.379097,149.68361 119.293112,148.281235 116.995724,151.428029 C115.855582,153.018527 117.069834,154.489311 118.329691,155.589549 C118.87696,156.057007 123.9962,158.468409 123.9962,158.531116 Z",fill:"url(#oh9bf8lq8K)"}}),t("rect",{attrs:{fill:"#51B2FF",x:"112.56057",y:"129.075534",width:"32.7106888",height:"23.1847981",rx:"10.7456"}}),t("rect",{attrs:{fill:"url(#zb8f34pwsL)",x:"112.56057",y:"129.075534",width:"32.7106888",height:"23.1847981",rx:"10.7456"}}),t("rect",{attrs:{fill:"#51B2FF",x:"112.56057",y:"131.207601",width:"32.7106888",height:"23.1847981",rx:"10.7456"}}),t("path",{attrs:{d:"M133.949644,144.005701 C132.970605,144.439854 131.939837,144.746402 130.88266,144.917815 C128.032304,145.44228 124.703088,145.328266 122.650831,143.258907 C122.32922,142.944453 122.068329,142.573408 121.881235,142.164371 C121.311164,140.779097 122.057957,139.108789 123.28361,138.230879 C124.509264,137.352969 126.065558,137.11924 127.564846,137.045131 C129.400475,136.953919 132.889311,136.64038 134.491211,137.877435 C136.406651,139.35962 136.110214,142.990974 133.949644,144.005701 Z",fill:"url(#tkz07f3rvM)"}}),t("rect",{attrs:{fill:"#FFF",transform:"rotate(180 128.371496 158.873159)",x:"126.139667",y:"140.448456",width:"4.46365796",height:"36.8494062",rx:"2.23182898"}}),t("path",{attrs:{d:"M142.101663,202.973872 C143.241805,203.914489 143.526841,205.544893 144.028504,206.964371 C144.72399,208.902613 146.012352,210.664133 146.183373,212.71639 C146.258003,213.324857 146.157128,213.941978 145.892637,214.495012 C145.373831,215.365508 144.431858,215.895096 143.418527,215.886101 C142.420819,215.865329 141.448218,215.569405 140.608076,215.030879 C139.122298,214.145977 137.895487,212.885743 137.050831,211.376722 C136.619828,210.638388 136.344352,209.819719 136.24133,208.971021 C136.007601,206.4 138.675534,200.23753 142.101663,202.973872 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M144.228029,213.850831 C144.391199,214.155288 144.391199,214.521197 144.228029,214.825653 C144.096394,214.966717 143.922206,215.060819 143.732067,215.093587 C142.946678,215.245461 142.132892,215.096945 141.451781,214.677435 C140.779637,214.265294 140.162786,213.769131 139.616152,213.20095 C138.769934,212.458343 138.021002,211.611725 137.387173,210.681235 C136.752089,209.735683 136.493824,208.586706 136.663183,207.460333 C137.267458,204.370546 139.992399,207.141093 140.995724,208.281235 C142.427818,209.90795 143.526084,211.800377 144.228029,213.850831 Z",fill:"#606161"}}),t("path",{attrs:{d:"M119.783373,203.03658 C118.64323,203.977197 118.358195,205.607601 117.856532,207.027078 C117.161045,208.965321 115.872684,210.732542 115.701663,212.779097 C115.627204,213.389412 115.728047,214.008312 115.992399,214.56342 C116.512629,215.431727 117.454337,215.958997 118.466508,215.948694 C119.46469,215.931021 120.438087,215.634856 121.27696,215.093587 C122.764083,214.210391 123.99129,212.94975 124.834204,211.43943 C125.266094,210.701499 125.541634,209.882642 125.643705,209.033729 C125.871734,206.462708 123.2038,200.277435 119.783373,203.03658 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M117.366271,214.073159 C117.206109,214.378364 117.206109,214.742776 117.366271,215.047981 C117.500167,215.189127 117.676165,215.283126 117.867933,215.315914 C118.653343,215.461694 119.464936,215.313579 120.148219,214.899762 C120.817033,214.485348 121.431724,213.989382 121.978147,213.423278 C122.827614,212.68014 123.578595,211.831456 124.212827,210.897862 C124.846504,209.953845 125.104708,208.807173 124.936817,207.68266 C124.326841,204.587173 121.607601,207.35772 120.598575,208.503563 C119.167928,210.131318 118.069837,212.023444 117.366271,214.073159 Z",fill:"#606161"}}),t("path",{attrs:{d:"M132,189.406176 C131.081634,189.842503 130.067564,190.038648 129.052732,189.976247 C127.929486,190.040731 126.802627,189.958324 125.700713,189.731116 C125.329203,189.657718 124.98102,189.495363 124.685986,189.257957 C124.439796,189.032402 124.245324,188.756251 124.115914,188.448456 C123.186698,186.3962 122.137767,182.143468 123.580048,180.416152 C125.227553,178.432304 131.766271,178.084561 133.84133,180.165321 C135.853682,182.114964 134.394299,187.9981 132,189.406176 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M132,189.406176 C131.081634,189.842503 130.067564,190.038648 129.052732,189.976247 C127.929486,190.040731 126.802627,189.958324 125.700713,189.731116 C125.329203,189.657718 124.98102,189.495363 124.685986,189.257957 C124.439796,189.032402 124.245324,188.756251 124.115914,188.448456 C123.186698,186.3962 122.137767,182.143468 123.580048,180.416152 C125.227553,178.432304 131.766271,178.084561 133.84133,180.165321 C135.853682,182.114964 134.394299,187.9981 132,189.406176 Z",fill:"url(#n68fc14f9N)"}}),t("path",{attrs:{fill:"#FFF",transform:"rotate(-180 128.950119 199.091686)",d:"M127.462233 189.491686H130.43800497V208.69168599999998H127.462233z"}}),t("path",{attrs:{d:"M140.71639,210.287886 C141.377672,210.829454 142.021853,211.507838 142.871259,211.610451 C143.486936,211.67886 144.102613,211.416627 144.729691,211.416627 C145.555085,211.474704 146.332971,211.824247 146.924466,212.40285 C147.483138,212.845084 147.902695,213.438796 148.133017,214.113064 C148.594774,215.686461 147.192399,217.408076 145.556295,217.567696 C143.92019,217.727316 142.346793,216.609976 141.628504,215.139192 C141.473739,214.736192 141.270843,214.35337 141.024228,213.99905 C140.787649,213.7448 140.512554,213.529341 140.209026,213.36057 C137.788084,211.859094 135.117962,210.803015 132.324941,210.24228 C131.84038,210.145368 131.247506,210.099762 130.939667,210.48171 C130.790559,210.700374 130.709257,210.95816 130.705938,211.222803 C130.579718,212.358339 130.528301,213.500947 130.552019,214.64323 C130.536988,214.862774 130.578191,215.082524 130.671734,215.28171 C130.819707,215.486937 131.000803,215.666107 131.207601,215.811876 C131.884354,216.531504 132.005113,217.611366 131.504038,218.462708 C130.98832,219.279943 130.197948,219.886366 129.275059,220.172922 C128.180523,220.577672 126.80095,220.646081 125.985748,219.808076 C125.39882,219.14747 125.233495,218.212834 125.558195,217.390974 C125.886672,216.586271 126.493716,215.926617 127.268409,215.532542 C127.53772,215.430504 127.771471,215.252219 127.941093,215.019477 C128.03538,214.80459 128.070796,214.568486 128.043705,214.335392 L127.963895,211.792874 C128.012919,211.399317 127.868482,211.006364 127.576247,210.738242 C127.348461,210.619715 127.087334,210.58155 126.835154,210.629929 C122.645191,210.953241 118.632661,212.457446 115.262708,214.968171 C115.878385,215.447031 115.770071,216.484561 115.217102,217.031829 C114.608045,217.533943 113.825565,217.775651 113.03943,217.704513 C112.17535,217.713394 111.328109,217.465372 110.605226,216.991924 C109.869345,216.511071 109.437259,215.681467 109.465083,214.80285 C109.583329,213.912456 110.161611,213.150078 110.987173,212.7962 C111.802706,212.454736 112.69991,212.357688 113.569596,212.516865 C114.017112,212.612051 114.475132,212.648463 114.932067,212.625178 C115.444593,212.518691 115.932143,212.315545 116.368646,212.026603 C120.316956,209.797209 124.695841,208.436704 129.212352,208.036105 C132.997625,207.699762 137.655107,207.779572 140.71639,210.287886 Z",fill:"#FFF"}}),t("rect",{attrs:{fill:"#FFF",transform:"rotate(-180 194.921615 115.527791)",x:"170.633729",y:"97.5163895",width:"48.575772",height:"36.0228029",rx:"7.0528"}}),t("rect",{attrs:{fill:"#FFF",transform:"rotate(-180 57.865083 126.276485)",x:"29.9401425",y:"116.032304",width:"55.8498812",height:"20.488361",rx:"6.8288"}}),t("path",{attrs:{fill:"#51B2FF",d:"M39.7567696 46.175772L53.9686461 38.856057 53.9686461 40.9767221 41.9971496 46.9453682 41.9971496 47.0137767 53.9686461 53.0109264 53.9686461 55.1315914 39.7567696 47.8118765z"}}),t("path",{attrs:{fill:"#51B2FF",d:"M55.9353919 56.3857482L64.4864608 34.1529691 66.5672209 34.1529691 58.016152 56.3857482z"}}),t("path",{attrs:{fill:"#51B2FF",d:"M82.7287411 47.92019L68.5111639 55.2114014 68.5111639 53.0394299 80.5738717 47.0422803 80.5738717 46.9453682 68.5111639 40.9482185 68.5111639 38.856057 82.7287411 46.1472684z"}}),t("rect",{attrs:{fill:"#51B2FF",transform:"rotate(-180 127.790024 174.986223)",x:"103.9981",y:"167.606651",width:"47.583848",height:"14.7591449",rx:"7.37957245"}}),t("rect",{attrs:{fill:"url(#q70he0ss9O)",transform:"rotate(-180 127.790024 174.986223)",x:"103.9981",y:"167.606651",width:"47.583848",height:"14.7591449",rx:"7.37957245"}}),t("g",{attrs:{opacity:".52",fill:"#51B2FF"}},[t("path",{attrs:{d:"M0.44465558 0.23372922H13.442280279999999V1.23372922H0.44465558z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M0.44465558 2.07505938H8.3800475V3.07505938H0.44465558z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M11.5781473 2.07505938H36.5415677V3.07505938H11.5781473z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M4.5719715 3.92779097H15.4831354V4.92779097H4.5719715z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M8.07220903 5.76912114H21.06983373V6.76912114H8.07220903z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M21.9135392 5.76912114H32.807601V6.82945368H21.9135392z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M8.04940618 7.61615202H18.08836108V8.616152020000001H8.04940618z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M19.0517815 7.61615202H39.762470300000004V8.616152020000001H19.0517815z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M0.44465558 10.1130641H13.442280279999999V11.1130641H0.44465558z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M0.44465558 11.9543943H8.3800475V12.9543943H0.44465558z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M11.5781473 11.9543943H36.5415677V12.9543943H11.5781473z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M4.5719715 13.8014252H15.4831354V14.8014252H4.5719715z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M8.07220903 15.6484561H21.06983373V16.6484561H8.07220903z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M21.9135392 15.6484561H32.807601V16.70878864H21.9135392z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M8.04940618 17.4954869H18.08836108V18.4954869H8.04940618z",transform:"translate(175.581948 106.603325)"}}),t("path",{attrs:{d:"M19.0517815 17.4954869H39.762470300000004V18.4954869H19.0517815z",transform:"translate(175.581948 106.603325)"}})]),t("g",{attrs:{opacity:".52",fill:"#51B2FF"}},[t("path",{attrs:{d:"M0.36484561 0.26223278H13.362470309999999V1.26223278H0.36484561z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M0.36484561 2.10926366H8.30023753V3.10926366H0.36484561z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M11.4983373 2.10926366H36.4617577V3.10926366H11.4983373z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M4.49216152 3.95629454H15.40332542V4.95629454H4.49216152z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M7.99239905 5.80332542H20.99002375V6.80332542H7.99239905z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M21.8394299 5.80332542H32.7334917V6.86365796H21.8394299z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M7.97529691 7.64465558H18.01425181V8.64465558H7.97529691z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M18.9719715 7.64465558H39.682660299999995V8.64465558H18.9719715z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M0.36484561 10.1415677H13.362470309999999V11.1415677H0.36484561z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M0.36484561 11.9885986H8.30023753V12.9885986H0.36484561z",transform:"translate(38.194774 120.285036)"}}),t("path",{attrs:{d:"M11.4983373 11.9885986H36.4617577V12.9885986H11.4983373z",transform:"translate(38.194774 120.285036)"}})]),t("path",{attrs:{d:"M64.0874109,186.470309 C62.2004751,182.742043 59.8916865,178.871259 60.336342,174.715439 C60.6042755,172.201425 61.8755344,169.92114 63.1182898,167.714964 L68.7163895,157.790024 C70.4266033,160.013302 73.2427553,161.364371 74.3714964,163.929691 C76.184323,168.051306 72.6612827,172.611876 72.8494062,177.109739 C72.9748219,180.570071 75.272209,183.722565 75.1296912,187.182898 C75.0384798,189.696912 71.0593824,197.934442 67.8384798,197.620903 C66.1339667,197.455582 65.1591449,188.579572 64.0874109,186.470309 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M64.0874109,186.470309 C62.2004751,182.742043 59.8916865,178.871259 60.336342,174.715439 C60.6042755,172.201425 61.8755344,169.92114 63.1182898,167.714964 L68.7163895,157.790024 C70.4266033,160.013302 73.2427553,161.364371 74.3714964,163.929691 C76.184323,168.051306 72.6612827,172.611876 72.8494062,177.109739 C72.9748219,180.570071 75.272209,183.722565 75.1296912,187.182898 C75.0384798,189.696912 71.0593824,197.934442 67.8384798,197.620903 C66.1339667,197.455582 65.1591449,188.579572 64.0874109,186.470309 Z",fill:"url(#ipaqweplnP)"}}),t("path",{attrs:{d:"M83.3615202,184.87981 C84.6327791,184.87981 86.2118765,185.136342 86.5767221,186.361995 C86.8731591,187.433729 85.9325416,188.419952 85.0375297,189.081235 C81.9192399,191.36152 78.0142518,193.111639 76.4864608,196.663183 C73.9496437,202.55772 66.7667458,198.778147 70.4836105,193.67601 C72.0228029,191.566746 73.3339667,188.733492 75.2494062,186.971971 C77.4498812,184.936817 80.528266,184.845606 83.3615202,184.87981 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M83.3615202,184.87981 C84.6327791,184.87981 86.2118765,185.136342 86.5767221,186.361995 C86.8731591,187.433729 85.9325416,188.419952 85.0375297,189.081235 C81.9192399,191.36152 78.0142518,193.111639 76.4864608,196.663183 C73.9496437,202.55772 66.7667458,198.778147 70.4836105,193.67601 C72.0228029,191.566746 73.3339667,188.733492 75.2494062,186.971971 C77.4498812,184.936817 80.528266,184.845606 83.3615202,184.87981 Z",fill:"url(#e6nc3l4ohQ)"}}),t("path",{attrs:{d:"M64.7372922,187.604751 C63.3064133,185.974347 61.1800475,185.170546 59.1505938,184.418052 C58.1871734,184.064608 56.9501188,183.773872 56.3002375,184.549169 C55.8611297,185.169072 55.8611297,185.998623 56.3002375,186.618527 C56.7472977,187.210967 57.2930393,187.721997 57.9135392,188.129216 C59.1620774,189.043934 60.1856382,190.231264 60.9064133,191.60095 C61.6304038,193.077435 61.824228,194.759145 62.4684086,196.275534 C63.1125891,197.791924 64.4579572,199.222803 66.0997625,199.154394 C67.4152557,199.022097 68.5218808,198.111156 68.9045131,196.845606 C69.5429929,194.87886 68.6935867,193.995249 67.6389549,192.604276 C66.4703088,191.059382 66.0427553,189.081235 64.7372922,187.604751 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M64.7372922,187.604751 C63.3064133,185.974347 61.1800475,185.170546 59.1505938,184.418052 C58.1871734,184.064608 56.9501188,183.773872 56.3002375,184.549169 C55.8611297,185.169072 55.8611297,185.998623 56.3002375,186.618527 C56.7472977,187.210967 57.2930393,187.721997 57.9135392,188.129216 C59.1620774,189.043934 60.1856382,190.231264 60.9064133,191.60095 C61.6304038,193.077435 61.824228,194.759145 62.4684086,196.275534 C63.1125891,197.791924 64.4579572,199.222803 66.0997625,199.154394 C67.4152557,199.022097 68.5218808,198.111156 68.9045131,196.845606 C69.5429929,194.87886 68.6935867,193.995249 67.6389549,192.604276 C66.4703088,191.059382 66.0427553,189.081235 64.7372922,187.604751 Z",fill:"url(#9kfjsl9yoR)"}}),t("path",{attrs:{d:"M77.1135392,196.714489 L75.192399,214.688836 L73.1572447,214.688836 C71.5895487,213.799525 70.0047506,212.927316 68.4199525,212.038005 L63.8023753,209.449881 L62.1662708,196.714489 L77.1135392,196.714489 Z",fill:"#51B2FF"}}),t("path",{attrs:{d:"M77.1135392,196.714489 L75.192399,214.688836 L73.1572447,214.688836 C71.5895487,213.799525 70.0047506,212.927316 68.4199525,212.038005 L63.8023753,209.449881 L62.1662708,196.714489 L77.1135392,196.714489 Z",fill:"url(#rd4gk66dwS)"}})])])}},ni="zt-empty-error-",ri={render:function(){var t,e=arguments[0];return e("svg",{attrs:(t={xmlns:"http://www.w3.org/2000/svg"},t.xmlns="http://www.w3.org/1999/xlink",t.viewBox="0 0 280 260",t)},[e("defs",[e("filter",{attrs:{x:"-1.4%",y:"-7%",width:"105.4%",height:"128.1%",filterUnits:"objectBoundingBox",id:ni+"1"}},[e("feOffset",{attrs:{dx:"2",dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}}),e("feColorMatrix",{attrs:{values:"0 0 0 0 0.317647059 0 0 0 0 0.698039216 0 0 0 0 1 0 0 0 0.131446678 0",in:"shadowOffsetOuter1"}})]),e("filter",{attrs:{x:"0%",y:"2%",width:"105.7%",height:"111.7%",filterUnits:"objectBoundingBox",id:ni+"2"}},[e("feMorphology",{attrs:{radius:"1.5",operator:"dilate",in:"SourceAlpha",result:"shadowSpreadOuter1"}}),e("feOffset",{attrs:{dx:"3",dy:"3",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}}),e("feComposite",{attrs:{in:"shadowOffsetOuter1",in2:"SourceAlpha",operator:"out",result:"shadowOffsetOuter1"}}),e("feColorMatrix",{attrs:{values:"0 0 0 0 0.317647059 0 0 0 0 0.698039216 0 0 0 0 1 0 0 0 0.24448208 0",in:"shadowOffsetOuter1"}})]),e("filter",{attrs:{x:"-4.9%",y:"-4.9%",width:"119.6%",height:"119.6%",filterUnits:"objectBoundingBox",id:ni+"3"}},[e("feOffset",{attrs:{dx:"1",dy:"1",in:"SourceAlpha",result:"shadowOffsetOuter1"}}),e("feColorMatrix",{attrs:{values:"0 0 0 0 0.317647059 0 0 0 0 0.698039216 0 0 0 0 1 0 0 0 0.131446678 0",in:"shadowOffsetOuter1"}})]),e("path",{attrs:{id:ni+"4",d:"M52 77H126V91.22972970000001H52z"}}),e("path",{attrs:{d:"M149.443706,74.8278103 L168.433913,106.965083 C169.557766,108.866989 168.92703,111.319852 167.025124,112.443706 C166.408817,112.807887 165.706071,113 164.990206,113 L127.009794,113 C124.800655,113 123.009794,111.209139 123.009794,109 C123.009794,108.284136 123.201906,107.581389 123.566087,106.965083 L142.556294,74.8278103 C143.680148,72.925904 146.133011,72.2951677 148.034917,73.4190215 C148.615818,73.762281 149.100447,74.2469097 149.443706,74.8278103 Z",id:ni+"5"}}),e("path",{attrs:{id:ni+"6",d:"M96.3151351 36.94810815A5.10864865 5.10864865 0 1 0 96.3151351 47.16540545A5.10864865 5.10864865 0 1 0 96.3151351 36.94810815Z"}}),e("linearGradient",{attrs:{x1:"23.226575%",y1:"239.989869%",x2:"113.740933%",y2:"-331.46119%",id:ni+"7"}},[e("stop",{attrs:{offset:"1%"}}),e("stop",{attrs:{"stop-opacity":".69",offset:"8%"}}),e("stop",{attrs:{"stop-opacity":".32",offset:"21%"}}),e("stop",{attrs:{"stop-opacity":"0",offset:"100%"}})])]),e("g",{attrs:{transform:"translate(12 31)",fill:"none","fill-rule":"evenodd"}},[e("path",{attrs:{d:"M114.185676,0.18972973 C112.994208,0.147567568 111.809667,0.119459459 110.632053,0.0913513514 C91.7278882,-0.309189189 72.4358036,0.337297297 54.584564,6.65459459 C36.7333245,12.9718919 20.2813672,25.7751351 13.4165716,43.6237838 C9.86294879,52.8924324 9.02476486,62.9551351 7.70168114,72.807027 C5.22869219,91.2810811 0.926938308,109.593514 0.698342692,128.229189 C0.469747075,146.864865 4.85462663,166.484324 17.4689484,180.060541 C39.3517834,203.643243 69.7065104,189.666486 95.7456293,183.314054 C111.199177,179.557629 127.274673,179.267455 142.850181,182.463784 C153.130056,184.571892 163.056648,188.204865 173.329596,190.439459 C180.720855,192.048649 188.40998,192.934054 195.939781,191.943243 C203.171715,190.994595 208.748063,187.495135 215.335773,184.677297 C227.873896,179.280541 240.550562,172.408108 248.544481,160.820541 C254.670995,151.723881 257.482851,140.746606 256.496838,129.775135 C254.037703,100.851892 227.40285,88.7091892 213.652478,65.9767568 C205.644704,52.7659459 200.186118,37.7843243 189.885461,26.3302703 C171.403851,5.81135135 141.797255,1.08216216 114.185676,0.18972973 Z",fill:"#51B2FF","fill-rule":"nonzero",opacity:".18"}}),e("path",{attrs:{d:"M154.541083,29.3378378 L154.541083,172.794595 C154.541083,179.714275 148.931572,185.323784 142.011892,185.323784 L79.9210811,185.323784 C73.001401,185.323784 67.3918899,179.714275 67.3918899,172.794595 L67.3918899,29.3378378 C67.3900275,26.0136729 68.7092402,22.8250191 71.0591211,20.4738203 C73.409002,18.1226214 76.5969156,16.8016216 79.9210811,16.8016216 L142.011892,16.8016216 C145.336057,16.8016216 148.523971,18.1226214 150.873852,20.4738203 C153.223733,22.8250191 154.542945,26.0136729 154.541083,29.3378378 Z",fill:"#51B2FF","fill-rule":"nonzero"}}),e("rect",{attrs:{fill:"#473F47","fill-rule":"nonzero",x:"69.1064865",y:"18.9308108",width:"83.712973",height:"164.003784",rx:"12.1145946"}}),e("path",{attrs:{d:"M150.542707,32.4156757 L150.542707,167.763243 C150.477056,174.152491 145.246037,179.279707 138.856757,179.217861 L83.1254054,179.217861 C81.0894586,179.223718 79.0868251,178.70066 77.3140541,177.699459 C73.6940938,175.700785 71.4405625,171.898287 71.4254054,167.763243 L71.4254054,32.4156757 C71.4948935,26.0225311 76.7322273,20.8952914 83.1254054,20.9609852 L92.5416216,20.9609852 L92.5416216,22.627027 C92.590449,24.8610709 93.9756462,26.8474435 96.0551351,27.6654054 C96.7376493,27.9345326 97.4647198,28.0727952 98.1983784,28.072973 L124.085946,28.072973 C127.171716,28.0926057 129.696478,25.6211622 129.742703,22.5356757 L129.742703,20.9609852 L138.877838,20.9609852 C141.875186,20.95501 144.762418,22.0908051 146.951892,24.1378378 C149.244983,26.279759 150.545503,29.2778288 150.542707,32.4156757 Z",fill:"#FFF","fill-rule":"nonzero"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",opacity:".31",x:"81.2491892",y:"113.022703",width:"34.4254054",height:"2.04486486",rx:"1.01891892"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",opacity:".31",x:"81.2491892",y:"118.018919",width:"34.4254054",height:"2.04486486",rx:"1.01891892"}}),e("path",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",opacity:".18",d:"M67.3848649 94.6189189H154.54108109999999V100.09297295H67.3848649z"}}),e("g",{attrs:{"fill-rule":"nonzero"}},[e("use",{attrs:{fill:"#000",filter:"url(#98fg2y47pa)",xlink:"#46hlndswgb"}}),e("use",{attrs:{fill:"#FFF",xlink:"#46hlndswgb"}})]),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",x:"58",y:"85",width:"36.0064865",height:"2",rx:"1"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",x:"58",y:"81",width:"20",height:"2",rx:"1"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",x:"81.2491892",y:"107.956216",width:"55.4010811",height:"3.28864865",rx:"1.64432432"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",opacity:".31",x:"81.2491892",y:"130.217838",width:"34.4254054",height:"2.04486486",rx:"1.01891892"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",opacity:".31",x:"81.2491892",y:"135.214054",width:"34.4254054",height:"2.04486486",rx:"1.01891892"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",x:"81.2491892",y:"125.144324",width:"55.4010811",height:"3.28864865",rx:"1.64432432"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",opacity:".31",x:"81.2491892",y:"147.405946",width:"34.4254054",height:"2.04486486",rx:"1.01891892"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",opacity:".31",x:"81.2491892",y:"152.409189",width:"34.4254054",height:"2.04486486",rx:"1.01891892"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",x:"81.2491892",y:"142.339459",width:"55.4010811",height:"3.28864865",rx:"1.64432432"}}),e("path",{attrs:{d:"M42.0637838,5.20702703 C45.8589759,5.20261483 49.631413,5.79302139 53.2437838,6.95675676 L53.2437838,1.82 C36.3355615,-2.90588615 18.2828242,3.51866567 8.16151483,17.8637372 C-1.95979454,32.2088087 -1.95979454,51.3706508 8.16151483,65.7157223 C18.2828242,80.0607938 36.3355615,86.4853456 53.2437838,81.7594595 L53.2437838,76.6227027 C39.5018925,81.032699 24.4515368,76.9513073 14.8203277,66.2029375 C5.18911857,55.4545677 2.77728924,40.0482689 8.66294376,26.870761 C14.5485983,13.6932532 27.6316099,5.20763173 42.0637838,5.20702703 L42.0637838,5.20702703 Z",opacity:".41",transform:"translate(101.297297 54.810811)",fill:"url(#cnji2zfo7c)","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M145.574595,136.099459 C128.784921,136.099459 113.649263,125.983337 107.228079,110.470067 C100.806894,94.9567973 104.365331,77.1029066 116.243456,65.2368494 C128.12158,53.3707922 145.979079,49.8305042 161.485814,56.2674533 C176.992549,62.7044024 187.093273,77.8503347 187.076238,94.64 C187.025901,117.533009 168.467643,136.072413 145.574595,136.099459 Z M145.574595,58.0151351 C125.376017,58.0151351 108.99967,74.3852241 108.991916,94.5838 C108.984168,114.782376 125.347947,131.165015 145.546519,131.180541 C165.74509,131.196045 182.134018,114.838564 182.157297,94.64 C182.149552,74.4357273 165.778859,58.0556009 145.574595,58.0362162 L145.574595,58.0151351 Z",fill:"#51B2FF","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M145.574595,58.0151351 C125.376017,58.0151351 108.99967,74.3852241 108.991916,94.5838 C108.984168,114.782376 125.347947,131.165015 145.546519,131.180541 C165.74509,131.196045 182.134018,114.838564 182.157297,94.64 C182.149552,74.4357273 165.778859,58.0556009 145.574595,58.0362162 L145.574595,58.0151351 Z","fill-opacity":".7",fill:"#FFF"}}),e("g",{attrs:{"fill-rule":"nonzero"}},[e("use",{attrs:{fill:"#000",filter:"url(#xndpudg2hd)",xlink:"#tjeyi4ch6e"}}),e("use",{attrs:{stroke:"#51B2FF","stroke-width":"3",fill:"#FFF",xlink:"#tjeyi4ch6e"}})]),e("text",{attrs:{"font-family":"PingFangSC-Semibold, PingFang SC","font-size":"36","font-weight":"500",fill:"#51B2FF"}},[e("tspan",{attrs:{x:"137",y:"108"}},["!"])]),e("path",{attrs:{d:"M201.783784,156.091353 C200.653161,156.092287 199.569536,155.639089 198.776216,154.833514 L171.581622,127.238378 C170.519775,126.166082 170.111999,124.608038 170.512393,123.15304 C170.912788,121.698041 172.060289,120.567987 173.521251,120.18993 C174.982213,119.811874 176.533827,120.243472 177.58973,121.321622 L204.784324,148.916757 C205.976301,150.127145 206.325443,151.934658 205.669996,153.501897 C205.014549,155.069135 203.482561,156.089927 201.783784,156.091353 L201.783784,156.091353 Z",fill:"#51B2FF","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M214.811892,164.861081 C213.874545,165.788347 212.606636,166.304341 211.288168,166.295234 C209.9697,166.285883 208.709139,165.75219 207.784865,164.811892 L175.76973,132.318919 C175.590905,132.142006 175.42861,131.949134 175.284865,131.742703 C175.200541,131.63027 175.123243,131.517838 175.052973,131.405405 C174.585847,130.618056 174.664634,129.621961 175.24973,128.917838 C175.871738,128.177268 176.550748,127.48651 177.280541,126.851892 C178.118633,126.107441 179.027041,125.446139 179.992973,124.877297 C180.801235,124.392161 181.829486,124.479973 182.543784,125.095135 L182.543784,125.095135 C182.640286,125.171189 182.731824,125.253339 182.817838,125.341081 L214.889189,157.841081 C215.810616,158.781845 216.320218,160.050346 216.306021,161.367104 C216.291221,162.683863 215.75381,163.940835 214.811892,164.861081 Z",fill:"#473F47","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M99.6810811,52.0491892 L99.6810811,66.3562162 C99.6810811,70.2611137 96.5237857,73.4310062 92.6189189,73.4464865 L67.3918919,73.4464865 L67.3918919,44.9589189 L92.6189189,44.9589189 C96.5237857,44.9743992 99.6810811,48.1442917 99.6810811,52.0491892 L99.6810811,52.0491892 Z",fill:"#51B2FF","fill-rule":"nonzero",opacity:".18"}}),e("rect",{attrs:{fill:"#FFF","fill-rule":"nonzero",x:"37.3232432",y:"41.1994595",width:"61.1351351",height:"28.4875676",rx:"7.09027027"}}),e("g",{attrs:{"fill-rule":"nonzero"}},[e("use",{attrs:{fill:"#000",filter:"url(#0ju5g236if)",xlink:"#os3fh6qhtg"}}),e("use",{attrs:{fill:"#51B2FF",xlink:"#os3fh6qhtg"}})]),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",x:"49.3956757",y:"50.2994595",width:"36.0064865",height:"2.81783784",rx:"1.40540541"}}),e("rect",{attrs:{fill:"#51B2FF","fill-rule":"nonzero",x:"49.3956757",y:"57.7972973",width:"36.0064865",height:"2.81783784",rx:"1.40540541"}}),e("path",{attrs:{d:"M211.572432,186.996216 C212.187536,187.765387 212.271083,188.832004 211.783243,189.687568 C211.270213,190.505778 210.288389,190.900211 209.351892,190.664324 C209.191286,190.623924 209.042185,190.546969 208.916216,190.439459 C208.656216,190.186486 208.614054,189.736757 208.368108,189.483784 C208.112162,189.273555 207.803514,189.137458 207.475676,189.09027 C206.894883,188.877696 206.348083,188.581809 205.852432,188.211892 C205.772115,188.166412 205.702595,188.104084 205.648649,188.029189 C205.598609,187.936286 205.572071,187.832547 205.571351,187.727027 C205.451339,187.18713 205.533864,186.621957 205.803243,186.138919 C205.950854,185.958101 206.132244,185.807738 206.337297,185.696216 C206.724437,185.456404 207.168041,185.32308 207.623243,185.30973 C207.97808,185.333944 208.326784,185.414597 208.656216,185.548649 C209.590292,185.817163 210.466905,186.255469 211.242162,186.841622",fill:"#51B2FF","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M209.752432,182.688649 L211.319459,188.085405 C211.319459,188.085405 211.024324,189.441622 209.365946,188.872432 C207.707568,188.303243 206.316216,184.051892 206.316216,184.051892 L209.752432,182.688649 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M193.210811,193.974054 C192.783835,193.901468 192.350778,193.870871 191.917838,193.882703 C191.479318,193.901755 191.067818,194.099885 190.779459,194.430811 C190.354779,195.114916 190.485409,196.005575 191.088649,196.538919 C191.678132,197.025936 192.40034,197.324612 193.161622,197.396216 C193.624132,197.501879 194.104517,197.501879 194.567027,197.396216 C195.15027,197.227568 195.705405,196.742703 196.288649,196.925405 C196.543375,197.03161 196.780352,197.176166 196.991351,197.354054 C197.817866,197.952466 198.966709,197.808092 199.619459,197.023784 C199.788384,196.771499 199.909834,196.490497 199.977838,196.194595 C200.223784,195.26 200.111351,194.086486 199.338378,193.545405 C198.424865,192.891892 197.715135,193.341622 196.836757,193.643784 C195.665059,194.009028 194.429216,194.121595 193.210811,193.974054 Z",fill:"#51B2FF","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M193.96973,188.738919 L196.260541,194.360541 C196.260541,194.360541 197.574595,195.154595 198.509189,194.803243 L199.42973,194.423784 L198.621622,186.574595 L193.96973,188.738919 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M176.943243,131.595135 C176.788649,131.391351 176.584865,131.166486 176.338919,131.201622 C176.092973,131.236757 176.050811,131.335135 175.903243,131.292973 C175.811205,131.260377 175.732276,131.198713 175.678378,131.117297 C175.328678,130.74626 174.939939,130.414064 174.518919,130.126486 C174.262288,129.901006 173.952924,129.743907 173.619459,129.66973 C173.122088,129.64474 172.658747,129.922189 172.445946,130.372432 C172.236531,130.809972 172.184412,131.306344 172.298378,131.777838 C172.422285,132.249243 172.611504,132.701005 172.860541,133.12 C173.011426,133.434048 173.202782,133.726989 173.42973,133.991351 C174.132432,134.757297 175.298919,134.883784 176.240541,135.354595 C176.341034,135.415881 176.453798,135.454269 176.570811,135.467027 C176.773549,135.433594 176.948322,135.305776 177.041622,135.122703 C177.405553,134.60354 177.626124,133.997576 177.681081,133.365946 C177.630552,132.712028 177.371984,132.091465 176.943243,131.595135 L176.943243,131.595135 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M186.078378,125.502703 C185.965542,125.471415 185.845047,125.483966 185.741081,125.537838 C185.682602,125.584609 185.630613,125.63896 185.586486,125.699459 C185.38973,125.91027 185.066486,125.917297 184.799459,126.036757 C184.452832,126.211655 184.197224,126.526053 184.096757,126.901081 C184.0035,127.270627 183.963277,127.651559 183.977297,128.032432 C183.959308,128.23375 183.980791,128.436643 184.040541,128.62973 C184.104976,128.82168 184.274972,128.958774 184.476216,128.981081 C184.636233,128.952131 184.787599,128.88726 184.918919,128.791351 C185.186662,128.644373 185.497062,128.594709 185.797297,128.650811 C186.182693,128.775346 186.550967,128.947679 186.893514,129.163784 C187.248872,129.374096 187.690587,129.374096 188.045946,129.163784 C188.20158,129.023917 188.324019,128.851063 188.404324,128.657838 C188.720541,127.955135 189.107027,127.175135 188.404324,126.605946 C187.744734,126.032037 186.940131,125.650398 186.078378,125.502703 L186.078378,125.502703 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M206.962703,151.327027 C206.798087,154.282922 206.467294,157.227215 205.971892,160.145946 C205.339459,163.041081 204.96,166.32973 204.96,166.32973 L210.813514,183.194595 C210.813514,183.194595 207.250811,185.562703 204.96,184.642162 C202.669189,183.721622 196.871892,170.791892 196.871892,170.791892 L194.665405,156.084324 L200.504865,149.380541 L206.962703,151.327027 Z",fill:"#473F47","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M190.807568,150.153514 C190.807568,150.153514 186.633514,163.835135 186.633514,167.390811 C186.633514,170.946486 191.636757,188.471892 191.636757,188.471892 C191.636757,188.471892 197.068649,190.312973 198.340541,188.471892 L199.612432,186.630811 L196.555676,168.992973 C196.555676,168.992973 200.884324,159.787568 201.65027,157.419459 C202.113678,155.960004 202.445276,154.461933 202.641081,152.943243 L190.807568,150.153514 Z",fill:"#473F47","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M192.564324,112.678378 C192.076188,113.653586 191.764533,114.707503 191.643784,115.791351 C191.531773,116.882372 192.004789,117.951336 192.887568,118.602162 C193.153149,118.728853 193.401166,118.889474 193.625405,119.08 C194.412432,119.881081 193.512973,121.335676 193.962703,122.375676 C194.337779,123.067462 195.171011,123.369358 195.902162,123.078378 C196.602668,122.748325 197.118396,122.121716 197.307568,121.370811 C197.509436,120.617439 197.599408,119.838473 197.574595,119.058919 L197.651892,114.414054 C197.762376,113.380707 197.600043,112.336449 197.181081,111.385405 C196.611249,110.383825 195.520298,109.794711 194.37027,109.867568 C193.288108,110.099459 192.957838,111.771892 192.564324,112.678378 Z",fill:"#FCBDBA","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M176.36,135.867568 C176.36,135.867568 185.27027,143.829189 185.902703,143.829189 C186.535135,143.829189 190.491351,138.825946 190.491351,138.825946 L190.807568,150.146486 C191.907789,150.795909 193.05389,151.364262 194.236757,151.847027 C196.162162,152.634054 198.600541,153.364865 200.72973,153.168108 C205.058378,152.774595 206.962703,151.327027 206.962703,151.327027 L204.299459,124.666486 C204.299459,124.666486 199.254054,121.033514 197.532432,121.588649 C196.298387,121.808761 195.035127,121.808761 193.801081,121.588649 C191.313514,121.265405 188.76973,124.666486 188.76973,124.666486 L185.46,135.537297 L177.695135,132.782703 C176.65715,133.437813 176.127133,134.66243 176.36,135.867568 Z",fill:"#51B2FF","fill-rule":"nonzero"}}),e("path",{attrs:{d:"M193.316216,107.64 C194.250811,106.78973 196.365946,106.438378 197.398919,106.325946 C199.005228,106.097276 200.632004,106.57378 201.861081,107.632973 C203.547568,109.235135 203.723243,111.849189 203.702162,114.252432 C203.681081,116.655676 203.645946,119.234595 205.051351,121.061622 C206.26,122.621622 208.234595,123.268108 209.773514,124.46973 C211.310619,125.609533 212.283336,127.355306 212.443784,129.262162 C212.802162,136.485946 201.76973,133.387027 198.122703,131.777838 C197.477349,131.528843 196.883995,131.161869 196.372973,130.695676 C195.833622,130.112839 195.436744,129.412891 195.213514,128.650811 C194.357421,126.069128 194.502894,123.259984 195.621081,120.780541 C195.78973,120.415135 195.972432,119.958378 195.740541,119.635135 C195.613852,119.492038 195.454858,119.381224 195.276757,119.311892 C194.324485,118.916623 193.690215,118.002285 193.653514,116.971892 C193.804504,116.231731 194.137817,115.540952 194.623243,114.962162 C195.106717,114.374059 195.26966,113.585628 195.058919,112.854054 C194.805946,112.284865 194.201622,112.003784 193.751892,111.589189 C192.964865,110.886486 192.395676,108.996216 193.049189,107.984324 C193.12386,107.859114 193.213532,107.743485 193.316216,107.64 Z",fill:"#606161","fill-rule":"nonzero"}})])])}},ii="zt-empty-not-right-",oi={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280 260"}},[t("defs",[t("linearGradient",{attrs:{x1:"-44.5781427%",y1:"25.3482533%",x2:"138.766988%",y2:"72.5970182%",id:ii+"1"}},[t("stop",{attrs:{offset:"1%"}}),t("stop",{attrs:{"stop-opacity":".69",offset:"13%"}}),t("stop",{attrs:{"stop-opacity":".32",offset:"25%"}}),t("stop",{attrs:{"stop-opacity":"0",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"25.440977%",y1:"97.9479769%",x2:"71.6060343%",y2:"-1.82080925%",id:ii+"2"}},[t("stop",{attrs:{offset:"1%"}}),t("stop",{attrs:{"stop-opacity":".69",offset:"13%"}}),t("stop",{attrs:{"stop-opacity":".32",offset:"25%"}}),t("stop",{attrs:{"stop-opacity":"0",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"64.8755124%",y1:"34.4079163%",x2:"27.0571382%",y2:"69.5637804%",id:ii+"3"}},[t("stop",{attrs:{offset:"1%"}}),t("stop",{attrs:{"stop-opacity":".69",offset:"13%"}}),t("stop",{attrs:{"stop-opacity":".32",offset:"25%"}}),t("stop",{attrs:{"stop-opacity":"0",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"161.272198%",y1:"90.5631721%",x2:"-93.0864745%",y2:"-3.28709521%",id:ii+"4"}},[t("stop",{attrs:{offset:"1%"}}),t("stop",{attrs:{"stop-opacity":".69",offset:"13%"}}),t("stop",{attrs:{"stop-opacity":".32",offset:"25%"}}),t("stop",{attrs:{"stop-opacity":"0",offset:"100%"}})]),t("linearGradient",{attrs:{x1:"5.98844122%",y1:"91.3932197%",x2:"91.9808313%",y2:"-3.65501882%",id:ii+"5"}},[t("stop",{attrs:{offset:"1%"}}),t("stop",{attrs:{"stop-opacity":".69",offset:"13%"}}),t("stop",{attrs:{"stop-opacity":".32",offset:"25%"}}),t("stop",{attrs:{"stop-opacity":"0",offset:"100%"}})])]),t("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M121.340909,0.30077894 C105.299365,1.81804159 89.6187563,8.98994833 78.8909741,21.0211059 C72.1401578,28.5940513 67.5282141,37.7711509 62.3681843,46.5137921 C53.9500173,60.8097605 44.0038516,74.1490075 32.7046968,86.29682 C23.841744,95.8281704 14.0564025,104.751279 7.57294532,116.033831 C2.07871668,125.57855 -0.82881308,136.754158 0.220571223,147.695828 C1.26995553,158.637497 6.41661739,169.338543 14.9253194,176.303247 C27.7585542,186.783722 45.6716111,187.666007 62.2345047,188.033626 L143.966169,189.951927 C163.202653,190.406437 182.499293,190.854264 201.615466,188.702023 C209.602818,187.80637 217.657009,186.409419 224.90244,182.907016 C238.457544,176.343351 247.5277,163.182601 254.612715,149.90154 C256.978843,145.46338 259.224659,140.838068 259.826217,135.865189 C261.062752,125.571866 255.067225,115.733052 247.881951,108.260367 C240.696676,100.787681 232.094398,94.6451066 225.918404,86.29682 C214.64922,71.1108255 212.898018,50.6511736 202.577958,34.8302013 C187.305072,11.356076 148.17039,-2.23913211 121.340909,0.30077894 Z",fill:"#32A5FB","fill-rule":"nonzero",opacity:".18",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M137.476028,162.948662 L173.288773,190.319545 C173.288773,190.319545 215.437929,190.673796 231.907247,178.689426 L152.715494,155.228669 L151.091288,158.203039 L172.747371,172.774107 L144.246896,161.157356 L137.476028,162.948662 Z",fill:"url(#p6gfkphkia)","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{fill:"#FFF","fill-rule":"nonzero",d:"M74.1186149 142.482326L144.627882 102.104424 144.627882 6.83770791 74.1186149 47.2156097z",transform:"translate(10 34)"}}),t("path",{attrs:{fill:"#32A5FB","fill-rule":"nonzero",opacity:".38",d:"M118.921309 44.000617L118.921309 72.2270495 138.819507 59.7614335 138.819507 32.3303941z",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M124.522481,69.4665673 C125.144091,72.0733181 126.708142,74.3458701 128.298928,76.5047945 C129.889714,78.6637189 131.560709,80.8226433 132.476413,83.3425024 C133.54585,86.3035039 133.485694,89.5385485 133.41217,92.7000694 L133.184915,102.338363 C133.201059,102.766898 133.130586,103.194286 132.977712,103.594951 C132.680497,104.088132 132.249378,104.486802 131.734492,104.744595 C128.599707,106.716368 125.331242,108.754981 121.655055,109.196123 C120.498727,109.343171 119.268876,109.343171 118.246227,109.904625 C117.066105,110.550235 116.400749,111.851787 116.568549,113.186457 C116.796989,114.523471 117.927152,115.520019 119.282244,115.579321 C120.705931,115.579321 121.842207,114.476465 122.985167,113.620916 C124.896449,112.327769 126.976941,111.304392 129.167845,110.579706 L140.797964,106.11481 C142.101339,105.613512 143.504974,105.025322 144.139952,103.788786 C144.375346,103.287517 144.522329,102.749334 144.574411,102.198 C145.336384,96.2826808 142.341963,90.5946168 139.441117,85.3744312 L132.930924,73.5972647 C130.865575,69.8876578 129.060901,65.4962853 126.474202,62.147613 C124.208334,63.4844083 123.974395,67.1806473 124.522481,69.4665673 Z",fill:"#32A5FB","fill-rule":"nonzero",opacity:".18",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M149.975064,87.6336153 L144.955397,93.0743721 L144.661302,92.9540605 C143.424767,92.4327104 138.679143,90.4208334 137.629759,89.6789121 C136.580375,88.9369907 129.334944,73.6373686 127.911257,70.6362631 L127.66395,70.114913 L131.600812,67.6953135 L141.285894,83.736857 L149.975064,87.6336153 Z",fill:"#32A5FB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M147.602252,89.7323839 L144.661302,92.9206406 C143.424767,92.3992905 138.679143,90.3874136 137.629759,89.6454922 C136.580375,88.9035708 129.334944,73.6039487 127.911257,70.6028433 L129.248053,69.7940821 L138.933135,85.8356256 L147.602252,89.7323839 Z",fill:"url(#h88x09499b)","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M137.476028,78.0220571 C137.479142,78.2592094 137.548605,78.4907508 137.676547,78.6904548 C138.006071,79.3606496 138.181899,80.0959284 138.191213,80.8426952 C138.119834,81.4455874 138.1908,82.0568174 138.398416,82.6273169 C138.702371,83.05473 139.083145,83.4219042 139.521324,83.7101211 C140.011745,84.1282433 140.398422,84.6544901 140.650916,85.2474357 C140.864804,85.7487339 141.145531,86.4171315 141.693617,86.3636597 C141.880432,86.3370115 142.052561,86.2474102 142.181547,86.1096686 C142.541289,85.7156273 142.796388,85.2376039 142.923468,84.7194015 C143.725546,82.2463302 144.480835,78.91771 143.859225,76.3310111 C143.357927,74.2723463 141.132163,74.2857143 139.888943,75.6626134 C139.520555,76.2099899 139.069612,76.6970086 138.552148,77.1063523 C138.197897,77.3402915 137.549551,77.4739711 137.476028,78.0220571 Z",fill:"#FFBBAB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M128.579655,114.135582 C127.512973,114.556495 126.383382,114.795968 125.237667,114.844083 C124.940464,114.864171 124.652068,114.953436 124.395486,115.104758 C124.132601,115.261146 123.998276,115.567407 124.061287,115.866732 C124.148179,116.127407 124.428906,116.307874 124.475693,116.575233 C124.497624,116.703977 124.473988,116.836339 124.408854,116.949536 C124.161547,117.44415 123.539937,117.584514 123.072058,117.878609 C122.725723,118.085142 122.463084,118.406933 122.330137,118.78763 C122.198646,119.169921 122.235069,119.590003 122.430397,119.943957 C122.635462,120.253722 122.935767,120.488336 123.285946,120.612355 C123.841481,120.798479 124.424597,120.888885 125.010412,120.879714 C126.137061,121.086025 127.297517,120.787971 128.1853,120.064269 C128.460968,119.867465 128.716232,119.643549 128.947274,119.395871 C129.568884,118.68737 129.722615,117.671405 130.284069,116.896064 C130.519664,116.652835 130.689825,116.353903 130.778683,116.027147 C130.794406,115.816491 130.750388,115.605671 130.651688,115.418905 C130.204255,114.674403 129.436005,114.180352 128.572971,114.08211",fill:"#FFBBAB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M142.275123,158.28993 C142.275123,158.28993 136.607111,158.757809 136.473431,161.157356 C136.339752,163.556904 142.308543,165.608885 145.617111,164.853595 C148.925679,164.098306 147.121006,159.112059 147.121006,159.112059 L142.275123,158.28993 Z",fill:"#32A5FB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M150.743721,151.572534 C150.743721,151.572534 148.183758,150.416206 148.183758,152.909329 C148.183758,155.402453 149.045991,156.999923 151.091288,158.182987 C153.136584,159.366051 155.322245,158.483766 155.442556,157.888892 C155.562868,157.294018 155.589604,153.878506 155.589604,153.878506 L150.743721,151.572534 Z",fill:"#32A5FB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M147.121006,143.832489 L147.121006,157.73516 C147.117337,158.863223 146.203772,159.776789 145.075709,159.780457 L144.246896,159.780457 C143.333547,159.770779 142.533525,159.166017 142.275123,158.28993 C142.229139,158.128973 142.204421,157.962689 142.201599,157.795316 L142.014448,151.686162 L141.847348,146.118409 L141.847348,145.209388 L141.813928,143.832489 L147.121006,143.832489 Z",fill:"#FFBBAB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M147.121006,157.73516 L147.121006,159.112059 C147.117337,160.240123 146.203772,161.153688 145.075709,161.157356 L144.246896,161.157356 C143.152535,161.117437 142.292597,160.206914 142.315227,159.112059 L142.275123,158.28993 C142.533525,159.166017 143.333547,159.770779 144.246896,159.780457 L145.075709,159.780457 C146.203772,159.776789 147.117337,158.863223 147.121006,157.73516 L147.121006,157.73516 Z",fill:"#FFF","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M155.589604,151.799789 L155.589604,153.176688 C155.585935,154.304752 154.67237,155.218317 153.544307,155.221985 L152.715494,155.221985 C151.621133,155.182066 150.761195,154.271543 150.783825,153.176688 L150.743721,152.354559 C151.003708,153.243828 151.822448,153.852425 152.748914,153.845086 L153.517571,153.845086 C154.0641,153.85043 154.590177,153.637519 154.979151,153.253564 C155.368125,152.869609 155.58785,152.346341 155.589604,151.799789 Z",fill:"#FFF","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M150.262475,138.151109 L150.670197,151.853261 C150.706366,153.096946 151.725275,154.086235 152.969485,154.085709 L153.290316,154.085709 C154.554975,154.085709 155.582251,153.064427 155.589604,151.799789 L155.589604,138.151109 L150.262475,138.151109 Z",fill:"#FFBBAB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M159.345999,136.533587 C158.958328,138.812823 157.126918,139.701792 155.629708,141.158899 C154.493432,142.268439 153.764878,143.331191 152.287719,144.073112 C150.865065,144.81143 149.312188,145.265488 147.71588,145.409908 C145.020458,145.595732 142.361528,144.703812 140.323402,142.930152 C139.716438,142.484383 139.227682,141.896958 138.899715,141.219054 C138.696142,140.654908 138.587722,140.060856 138.578884,139.461169 C138.057534,130.892311 139.334173,122.323453 139.287385,113.741227 C139.3093,111.64331 139.146023,109.547551 138.799455,107.478341 C138.371681,105.145634 137.569603,102.893133 137.088357,100.56711 C136.486799,97.6729479 135.992185,94.5515309 136.419959,91.5905293 C136.921258,88.2485411 139.695108,86.7513304 142.48901,85.441271 L143.324507,85.0536003 C143.80534,84.8032321 144.321449,84.6274392 144.855138,84.5322502 C145.340502,84.48331 145.83075,84.5287034 146.298877,84.6659297 C147.981681,85.1608511 149.475298,86.1534884 150.583305,87.5133037 C151.680261,88.8733796 152.59272,90.3724203 153.297,91.971516 C154.098947,93.5419358 154.597808,95.2494005 154.767475,97.0045502 C154.767475,97.1783336 154.767475,97.352117 154.767475,97.5325844 C154.767475,99.0030592 154.30628,100.346538 154.099077,101.803645 C153.878506,103.467955 153.664619,105.145634 153.430679,106.80326 C153.145095,108.478366 153.068758,110.182467 153.203424,111.876398 C153.460001,113.449058 153.888101,114.988874 154.480064,116.46829 C156.435119,122.0642 157.974389,127.796807 159.085324,133.619373 C159.343507,134.567784 159.43176,135.554411 159.345999,136.533587 L159.345999,136.533587 Z",fill:"#32A5FB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M159.345999,136.533587 C158.958328,138.812823 157.126918,139.701792 155.629708,141.158899 C154.493432,142.268439 153.764878,143.331191 152.287719,144.073112 C150.865065,144.81143 149.312188,145.265488 147.71588,145.409908 C147.553574,145.312353 147.407075,145.190646 147.281421,145.048973 C146.836172,144.437228 146.631567,143.683046 146.706599,142.930152 C146.753387,139.982519 147.842875,137.161881 148.310753,134.240983 C148.82542,131.005938 148.564745,127.704054 148.310753,124.43559 C147.896347,119.262192 147.479712,114.091022 147.06085,108.92208 C147.018166,107.736232 146.811219,106.562034 146.445924,105.433045 C145.969334,104.383569 145.410599,103.373376 144.77493,102.411887 C143.017044,99.3105221 143.398031,96.3227846 142.62269,93.0543202 C141.954292,90.3072058 141.285894,88.2351731 142.52243,85.441271 L143.357927,85.0536003 C143.838759,84.8032321 144.354869,84.6274392 144.888558,84.5322502 C145.373922,84.48331 145.86417,84.5287034 146.332296,84.6659297 C148.015101,85.1608511 149.508717,86.1534884 150.616725,87.5133037 C151.71368,88.8733796 152.62614,90.3724203 153.33042,91.971516 C154.132367,93.5419358 154.631228,95.2494005 154.800895,97.0045502 C154.800895,97.1783336 154.800895,97.352117 154.800895,97.5325844 C154.800895,99.0030592 154.3397,100.346538 154.132497,101.803645 C153.911926,103.467955 153.698039,105.145634 153.464099,106.80326 C153.178514,108.478366 153.102178,110.182467 153.236844,111.876398 C153.49342,113.449058 153.921521,114.988874 154.513484,116.46829 C156.468539,122.0642 158.007809,127.796807 159.118743,133.619373 C159.365709,134.569784 159.442645,135.556381 159.345999,136.533587 L159.345999,136.533587 Z",fill:"url(#gez4e667cc)","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M144.099848,90.3072058 C144.099848,90.3072058 141.847348,106.18165 140.6576,109.02234 C139.467853,111.86303 131.420345,117.551094 131.420345,117.551094 L128.746754,115.12481 L127.503535,113.995218 C127.503535,113.995218 133.666161,108.781717 135.203476,107.97964 C136.74079,107.177562 137.689915,95.5407594 137.676547,91.7175249 C137.663179,87.8942903 141.553253,88.1014936 141.553253,88.1014936 C144.454099,87.0454253 144.099848,90.3072058 144.099848,90.3072058 Z",fill:"#32A5FB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M166.624849,103.361012 C166.342337,104.825334 165.427415,106.090078 164.125042,106.816628 C162.676207,107.756583 160.971341,108.22367 159.245739,108.153423 C157.508977,108.074179 155.871434,107.321341 154.680583,106.054654 C154.294856,105.560023 153.879699,105.089065 153.437363,104.644335 C152.174092,103.528111 150.302578,103.474639 148.75858,102.746086 C146.5395,101.683334 145.256176,99.2637343 144.801666,96.8508188 C144.347155,94.4379033 144.574411,91.951464 144.567727,89.4984447 C144.630013,88.610037 144.45225,87.7212263 144.05306,86.9251138 C143.257667,85.5883185 141.880768,85.1003882 141.37947,83.4962338 C141.366399,83.4413009 141.366399,83.3840674 141.37947,83.3291344 C141.427529,83.2403574 141.513844,83.1787042 141.613409,83.162035 C141.962484,83.0759677 142.290111,82.9189798 142.575902,82.7008406 C142.861497,82.4673769 142.977689,82.0844702 142.869997,81.7316641 C142.801799,81.5669978 142.658639,81.4451246 142.485199,81.4040816 C142.311759,81.3630385 142.129162,81.4078242 141.994396,81.5244608 C142.255071,80.8025913 141.680249,80.0874058 141.325998,79.4256922 L141.178951,79.1516491 C140.666503,78.0890891 140.568787,76.8735995 140.904908,75.7428212 C140.972721,75.5699563 141.011127,75.3869616 141.018535,75.2014191 C140.99009,75.0065954 140.938481,74.8158657 140.864804,74.6332811 C140.590761,73.7108923 141.192319,72.7483997 141.927556,72.1267899 C144.172011,70.3878106 147.266876,70.2460407 149.660917,71.7725391 C151.773053,73.1628062 152.481555,75.8898686 152.875909,78.3829919 C152.897474,78.6579333 152.989557,78.922672 153.143268,79.1516491 C153.288766,79.3037174 153.463939,79.4242908 153.657935,79.5058999 C154.914522,80.0874058 156.331525,80.341397 157.454433,81.176894 C159.459626,82.6674208 159.740353,85.4746909 159.733669,87.9477622 C159.726985,90.4208334 159.653462,93.1412119 161.217512,95.0528291 C161.991861,95.852262 162.827691,96.5897588 163.717319,97.2585414 C164.898745,98.313401 165.79527,99.6489934 166.32407,101.141932 C166.35749,101.228823 166.384226,101.322399 166.417646,101.409291 C166.62196,102.038318 166.692537,102.703107 166.624849,103.361012 Z",fill:"#FC682D","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M129.789455,62.9029024 C129.713675,62.2307714 129.540295,61.5732815 129.274789,60.9511813 C128.996985,60.3240631 128.425976,59.8757705 127.750842,59.7547495 C126.728194,59.6544898 125.865961,60.6570863 125.745649,61.6797347 C125.684518,62.7101844 125.832297,63.7423591 126.180107,64.71426 C126.333839,65.3158179 126.400679,66.0510553 125.892696,66.425358 C125.744789,66.4994261 125.603855,66.5866705 125.471606,66.6860331 C125.117355,67.0335998 125.471606,67.6685776 125.89938,67.8824648 C126.327155,68.0963521 126.888609,68.0963521 127.316383,68.3436592 C127.610034,68.5496716 127.891251,68.77286 128.158564,69.0120569 C128.980694,69.6202987 130.965835,69.3796756 131.106198,68.1431399 C131.186406,67.4747423 130.591532,66.3585182 130.4378,65.6767526 C130.123654,64.7877837 129.943186,63.858711 129.789455,62.9029024 Z",fill:"#FFBBAB","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M144.099848,90.3072058 C144.099848,90.3072058 141.847348,106.18165 140.6576,109.02234 C139.467853,111.86303 131.420345,117.551094 131.420345,117.551094 L128.746754,115.12481 C130.564796,113.667704 136.239492,109.149335 137.750071,108.213579 C139.554744,107.104039 141.553253,88.0747577 141.553253,88.0747577 C144.454099,87.0454253 144.099848,90.3072058 144.099848,90.3072058 Z",fill:"url(#8mkgemue9d)","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M166.624849,103.361012 C166.342337,104.825334 165.427415,106.090078 164.125042,106.816628 C162.676207,107.756583 160.971341,108.22367 159.245739,108.153423 C157.508977,108.074179 155.871434,107.321341 154.680583,106.054654 C154.294856,105.560023 153.879699,105.089065 153.437363,104.644335 C152.174092,103.528111 150.302578,103.474639 148.75858,102.746086 C146.5395,101.683334 145.256176,99.2637343 144.801666,96.8508188 C144.347155,94.4379033 144.574411,91.951464 144.567727,89.4984447 C144.630013,88.610037 144.45225,87.7212263 144.05306,86.9251138 C143.257667,85.5883185 141.880768,85.1003882 141.37947,83.4962338 C141.366399,83.4413009 141.366399,83.3840674 141.37947,83.3291344 C142.261755,84.2515232 143.712178,84.7127176 144.67467,85.6351063 C146.011466,86.9384817 146.272141,88.9770945 146.486028,90.8486079 C146.699915,92.7201213 147.080902,94.7787861 148.578113,95.9150621 L149.340086,94.7854701 C149.991148,97.6275202 152.133205,99.8924189 154.934574,100.700789 L156.271369,98.207666 C156.324841,100.152703 156.786036,102.284892 158.336718,103.447904 C160.502327,105.065426 164.953855,104.818119 166.090131,102.23142 C166.177023,102.030901 166.277282,101.736806 166.404278,101.409291 C166.613102,102.037364 166.688234,102.702175 166.624849,103.361012 Z",fill:"url(#8xqk6orvqe)","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{stroke:"#FFF","stroke-width":".96917659",d:"M62.5152318 134.327875L29.8706908 148.65832 29.8706908 121.574848 62.5152318 107.251086z",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M58.7387851,126.901977 C58.7111603,127.683404 58.4530256,128.439204 57.9968637,129.074269 C57.5550391,129.738411 56.9306467,130.260672 56.198874,130.578164 L38.7536955,137.529499 C37.3500604,138.08427 36.2071004,137.335664 36.2071004,135.858505 C36.2331433,135.069554 36.4937756,134.306273 36.9557058,133.666161 C37.3975304,133.00202 38.0219228,132.479759 38.7536955,132.162266 L39.3418854,131.928327 C39.2167461,131.49379 39.1537374,131.043728 39.1547341,130.591532 C39.2072128,129.036462 39.7188685,127.531729 40.6252089,126.266999 C41.497066,124.95757 42.7299081,123.92904 44.1744004,123.305998 L45.6515592,122.717808 C47.5899123,121.942466 49.2675904,122.430397 50.1030875,123.793928 C50.4885911,123.415897 50.9421757,123.114263 51.4398828,122.904959 L51.8208694,122.751228 C53.4851796,122.08283 54.8353428,122.971799 54.8353428,124.75642 L54.8353428,124.910152 C54.8334365,125.223189 54.7953069,125.534954 54.7217152,125.839225 L56.1654541,125.264403 C57.6025091,124.676213 58.7387851,125.424818 58.7387851,126.901977 Z",fill:"#FFF","fill-rule":"nonzero",transform:"translate(10 34)"}}),t("path",{attrs:{d:"M28.5806833,12.478984 C27.2973598,4.99961439 23.9018998,1.19643178 18.6148744,0.187151341 C12.5992956,-0.969176586 6.04899869,3.28851641 2.61343479,10.5406309 C0.703822048,14.4202565 0.00516530237,18.7845323 0.608241857,23.0664027 C1.08948816,26.408391 3.52913957,28.3133242 6.23615003,27.5179311 C8.94316049,26.7225379 10.9884573,23.7414844 11.1221368,20.446284 C11.1257833,19.9032293 11.0922853,19.3605611 11.0218772,18.8220777 C10.7553669,16.6434279 11.8472956,14.5231779 13.7756755,13.4748965 C15.5736651,12.6327155 17.4050747,13.4748965 17.9531607,15.5469292 C18.353317,17.2396446 18.4281685,18.9929825 18.173732,20.713643 C17.7202537,25.2945869 15.5409047,29.5314134 12.0779454,32.5643333 C11.8774262,32.7381167 11.6702229,32.8918481 11.4763876,33.0789995 C11.0458435,33.4842508 10.9220947,34.119136 11.1689247,34.6564179 C11.2490391,34.8764014 11.4384117,35.0384333 11.6681393,35.0835583 C11.897867,35.1286834 12.1344594,35.0503233 12.2918327,34.8769891 C17.2847631,31.0002828 20.2658166,24.2294146 19.9917736,17.6390139 C20.0007671,16.3304186 19.7743649,15.0308703 19.3233759,13.8024114 C18.2071519,11.1756086 15.4399856,10.1997481 13.053806,11.5833312 C10.3513997,13.2976784 8.90286081,16.4353079 9.35088306,19.6041029 C9.69176586,22.0638063 8.40844238,24.4834057 6.34309365,25.2787989 C4.39137253,26.0407723 2.57333093,24.7641328 2.29260392,22.3311653 C1.53686976,16.7224543 3.31233202,11.0679131 7.13848685,6.8978637 C11.7838505,1.63757423 18.4009872,0.741921386 22.8792514,4.64536363 C25.0314918,6.51687704 26.2880794,9.1971516 26.7893776,12.5725597 C27.1472971,15.0462802 27.1810013,17.5561218 26.8896373,20.0385614 C26.8896373,20.1922929 26.8428494,20.3527083 26.8361655,20.5064398 C26.8361655,21.1748374 27.1035245,21.58256 27.5714029,21.58256 C28.1182191,21.5176233 28.52779,21.0503663 28.5205275,20.4997558 C28.6642705,19.3306123 28.7490416,18.1549714 28.7745186,16.9773002 C28.7611507,15.2327823 28.6274711,13.5083164 28.5806833,12.478984 Z",transform:"translate(95.554899 98.834572)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M19.590735,9.47119463 C18.8087097,3.02784133 14.7047482,-0.661713669 9.95244094,0.267359058 C5.62790817,1.11622407 1.97845703,4.94614257 0.594873904,10.1663282 C0.0875420904,12.0725363 -0.0351549564,14.0606829 0.233939176,16.0148076 C0.347566775,16.8168848 0.842181033,17.1310316 1.40363505,16.7901488 C1.82421845,16.4838876 2.03625934,15.9667147 1.95172112,15.4533536 C1.90493329,14.8451117 1.81804159,14.2435538 1.82472557,13.628628 C1.88488136,9.47787861 4.13069745,5.3070773 7.24543047,3.54250752 C10.2599039,1.83140955 13.0137022,1.96508908 15.4333016,4.21090516 C16.6207114,5.39470732 17.3942992,6.93016196 17.6390139,8.58890974 C18.4633939,13.3898354 17.7889239,18.3281697 15.7073447,22.7322039 C15.5201933,23.1466105 15.319674,23.547649 15.1392067,23.9553716 C14.82184,24.4572413 14.9060198,25.1138438 15.339726,25.5194221 C15.7741844,25.820201 16.2687987,25.5929458 16.5963135,24.9312322 C19.1696445,19.7712023 20.2858685,14.4440731 19.590735,9.47119463 Z",transform:"translate(100.233682 104.181753)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M12.6928713,1.8447775 C8.48196612,3.70960693 4.257693,7.8068845 1.33011131,14.1767141 C0.94244068,15.038947 0.614925834,15.9479678 0.280727011,16.8503046 C0.00668397645,17.612278 0.147047482,18.1870999 0.614925834,18.4210391 C1.08280419,18.6549783 1.57073447,18.3140955 1.8447775,17.5120183 C3.55587547,12.5591918 6.22278208,8.62232962 9.9056531,5.93537109 C15.8142883,1.62420628 21.6026119,0.868916939 27.1168925,4.55178796 C27.7983332,5.04908116 28.4417759,5.59645429 29.0418777,6.18936219 C29.2066766,6.41320145 29.4786896,6.53169604 29.7548313,6.49993975 C30.030973,6.46818346 30.2689872,6.29103573 30.378673,6.03563074 C30.7416086,5.52157541 30.6733672,4.81925771 30.2182575,4.38468855 C27.980358,1.9692992 24.9485375,0.439154996 21.6761356,0.073523741 C19.0359649,-0.173783388 16.3891103,0.280727011 12.6928713,1.8447775 Z",transform:"translate(92.881308 93.48739)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M9.86554924,1.78462171 C6.66392452,3.06794519 3.52913957,5.61454022 0.701817527,8.93647652 C0.229408898,9.37224009 0.133958889,10.0825004 0.474562328,10.6275226 C0.808761151,11.1020849 1.28332348,11.061981 1.75788581,10.507211 C3.44050633,8.44151455 5.43918889,6.65488182 7.67988894,5.21350163 C11.7704825,2.72706239 15.90118,1.79130569 20.0786653,2.63348672 C20.2190288,2.63348672 20.3593923,2.70032649 20.5064398,2.72037842 C21.0577872,2.72984142 21.5236064,2.31351553 21.575876,1.76456978 C21.6961876,1.16969588 21.4622484,0.614925834 20.9743181,0.541402093 C19.8852392,0.338559683 18.7847919,0.20239886 17.6791177,0.133679529 C14.9830331,0.083656799 12.3109573,0.648244237 9.86554924,1.78462171 L9.86554924,1.78462171 Z",transform:"translate(95.554899 88.140209)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M3.39546004,16.0682794 C8.32155068,13.9895627 10.7478341,8.36165454 10.9283015,3.89675827 C10.9465529,3.00389122 10.9063632,2.11078663 10.8079899,1.22316769 C10.7411502,0.494614257 10.3133757,0.160415435 9.81876141,0.340882799 C9.28012226,0.628686678 9.00501092,1.24493608 9.15036376,1.83809352 C9.59684335,5.0847948 8.73619076,8.37594952 6.75750019,10.9884573 C5.68331114,12.4624733 4.16552464,13.5539679 2.42628345,14.1031903 C2.01856089,14.2435538 1.59747037,14.3237615 1.18306383,14.4507571 C0.639742818,14.6378462 0.298395458,15.1762315 0.360934728,15.7474485 C0.360934728,16.3490064 0.761973316,16.736677 1.29669143,16.6163655 C1.97845703,16.4826859 2.68695853,16.2621147 3.39546004,16.0682794 Z",transform:"translate(100.233682 114.876115)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M11.8172704,31.0136507 C12.199399,30.8269764 12.4699023,30.4696143 12.5458238,30.0511581 C12.7554789,29.4829173 12.4737098,28.8511613 11.910846,28.6274711 C6.42330137,27.4109874 3.26846448,22.5717885 2.553279,14.2569218 C2.23919173,10.0468373 2.43443919,5.81423146 3.13478496,1.65094218 C3.32187259,1.08842346 3.02486399,0.479555821 2.46638731,0.280727011 C1.95172112,0.20720327 1.43037096,0.688449575 1.30337541,1.3635312 C0.541587847,5.79431328 0.328323698,10.3020439 0.668397645,14.7849559 C1.48384277,24.0489473 5.1934497,29.6835394 11.4095478,31.0604386 C11.546999,31.0879847 11.689632,31.071617 11.8172704,31.0136507 Z",transform:"translate(90.876115 112.870922)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M1.75120183,10.9884573 C3.08799712,10.4403712 8.43517828,7.88709221 11.1087689,2.10545258 C11.4073705,1.55604055 11.2852074,0.873037509 10.8146739,0.461194375 C10.3668475,0.173783388 9.77865755,0.461194375 9.47787861,1.06275226 C6.97138744,6.52356102 1.21648371,8.71590529 1.15632793,8.73595722 C0.58417164,9.01996036 0.262242034,9.64217724 0.360934728,10.2732718 C0.447826422,10.9416695 0.935756703,11.2959202 1.45710687,11.1020849 L1.75120183,10.9884573 Z",transform:"translate(103.57567 132.254454)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M1.30337541,19.8447261 C1.39731415,19.8075853 1.48346371,19.753175 1.55736651,19.6843107 C8.62232962,13.8024114 11.4362837,1.97177305 11.5499113,1.4771588 C11.7571023,0.909054883 11.4801498,0.278546028 10.9216175,0.0467878352 C10.4136353,-0.0668397645 9.8789172,0.387670634 9.72518574,1.05606828 C9.68508188,1.21648371 7.00480732,12.4188282 0.668397645,17.6657498 C0.188595505,18.0981065 0.0286006928,18.7834176 0.267359058,19.3835317 C0.335682588,19.5880874 0.486797648,19.7545307 0.683821775,19.8422383 C0.880845903,19.9299458 1.10565326,19.9308485 1.30337541,19.8447261 Z",transform:"translate(112.26484 122.228489)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}}),t("path",{attrs:{d:"M7.4660017,3.28183244 C7.97400723,3.06946936 8.45983244,2.80752673 8.91642459,2.49980719 C9.43145248,2.10987486 9.64776869,1.43956169 9.45782668,0.822129104 C9.40551605,0.556811821 9.22092337,0.336792685 8.96873368,0.239170867 C8.71654398,0.141549049 8.43192276,0.179936998 8.21460706,0.340882799 C6.27137404,1.74484192 3.63421219,1.69580379 1.74451785,0.220571223 C1.33011131,-0.126995553 0.728553433,0.0601557881 0.407722564,0.641661739 C0.0717424947,1.17448315 0.131863655,1.8658765 0.554770046,2.33270778 C2.51172458,3.88885814 5.16199319,4.25282153 7.4660017,3.28183244 Z",transform:"translate(96.223296 133.591249)",opacity:".43",fill:"#32A5FB","fill-rule":"nonzero"}})])])}},ai=Object(l.b)("empty"),si=ai[0],li=ai[1],ui=ai[2],ci=si({props:{imageWidth:[Number,String],imageHeight:[Number,String],description:String,image:{type:String,default:"default"}},methods:{genImageContent:function(){var t=this.$createElement,e=this.slots("image");return e||("default"===this.image||"not-search-result"===this.image?t(Kr):"not-found"===this.image?t(Jr):"developing"===this.image?t(ei):"error"===this.image?t(ri):"not-right"===this.image?t(oi):t("img",{attrs:{src:this.image}}))},genImage:function(){var t=this.$createElement,e={width:Object(l.a)(this.imageWidth),height:Object(l.a)(this.imageHeight)};return t("div",{class:li("image"),style:e},[this.genImageContent()])},genDescription:function(){var t=this.$createElement,e=this.slots("description")||this.description;if(e||("not-search-result"===this.image?e=ui("notSearchResult"):"not-found"===this.image?e=ui("notFound"):"developing"===this.image?e=ui("developing"):"error"===this.image?e=ui("error"):"not-right"===this.image&&(e=ui("notRight"))),e)return t("p",{class:li("description")},[e])},genBottom:function(){var t=this.$createElement,e=this.slots();if(e)return t("div",{class:li("bottom")},[e])}},render:function(){var t=arguments[0];return t("div",{class:li()},[this.genImage(),this.genDescription(),this.genBottom()])}});var hi=!l.i&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function fi(){hi&&B(D())}var di={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[t("path",{attrs:{d:"M9.26415528,3.25 C12.5856689,3.25 15.2783106,5.94264165 15.2783106,9.26415528 C15.2783106,10.654789 14.8063214,11.9351887 14.0138009,12.9538966 L16.4624154,15.4017552 C16.7553086,15.6946484 16.7553086,16.1695222 16.4624154,16.4624154 C16.1961488,16.7286819 15.7794851,16.752888 15.4858736,16.5350335 L15.4017552,16.4624154 L12.9538966,14.0138009 C11.9351887,14.8063214 10.654789,15.2783106 9.26415528,15.2783106 C5.94264165,15.2783106 3.25,12.5856689 3.25,9.26415528 C3.25,5.94264165 5.94264165,3.25 9.26415528,3.25 Z M9.26415528,4.75 C6.77106878,4.75 4.75,6.77106878 4.75,9.26415528 C4.75,11.7572418 6.77106878,13.7783106 9.26415528,13.7783106 C11.7572418,13.7783106 13.7783106,11.7572418 13.7783106,9.26415528 C13.7783106,6.77106878 11.7572418,4.75 9.26415528,4.75 Z",fill:"#000","fill-rule":"nonzero",opacity:".2"}})])}},pi={props:{color:{type:String,default:"rgba(0,0,0,0.4)"}},render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[t("path",{attrs:{d:"M10,2 C14.418278,2 18,5.581722 18,10 C18,14.418278 14.418278,18 10,18 C5.581722,18 2,14.418278 2,10 C2,5.581722 5.581722,2 10,2 Z M6.46446609,6.46446609 C6.0739418,6.85499039 6.0739418,7.48815536 6.46446609,7.87867966 L8.586,10 L6.46446609,12.1213203 C6.10398213,12.4818043 6.0762526,13.0490354 6.38127749,13.4413266 L6.46446609,13.5355339 C6.85499039,13.9260582 7.48815536,13.9260582 7.87867966,13.5355339 L7.87867966,13.5355339 L10,11.414 L12.1213203,13.5355339 C12.5118446,13.9260582 13.1450096,13.9260582 13.5355339,13.5355339 C13.9260582,13.1450096 13.9260582,12.5118446 13.5355339,12.1213203 L11.414,10 L13.5355339,7.87867966 C13.8960179,7.51819569 13.9237474,6.95096464 13.6187225,6.55867343 L13.5355339,6.46446609 C13.1450096,6.0739418 12.5118446,6.0739418 12.1213203,6.46446609 L12.1213203,6.46446609 L10,8.586 L7.87867966,6.46446609 C7.48815536,6.0739418 6.85499039,6.0739418 6.46446609,6.46446609 Z",fill:this.color,"fill-rule":"evenodd"}})])}},vi=Object(l.b)("field"),gi=vi[0],mi=vi[1],yi=gi({inheritAttrs:!1,provide:function(){return{ztField:this}},inject:{ztForm:{default:null}},props:r({},Nn,{name:String,rules:Array,disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null},autosize:[Boolean,Object],leftIcon:String,rightIcon:String,clearable:Boolean,formatter:Function,maxlength:[Number,String],labelWidth:[Number,String],labelClass:null,labelAlign:String,inputAlign:String,placeholder:String,errorMessage:String,errorMessageAlign:String,showWordLimit:Boolean,inputColor:String,iconColor:String,value:{type:[Number,String],default:""},type:{type:String,default:"text"},error:{type:Boolean,default:null},colon:{type:Boolean,default:null},clearTrigger:{type:String,default:"focus"},formatTrigger:{type:String,default:"onChange"}}),data:function(){return{focused:!1,validateFailed:!1,validateMessage:"",showPassword:!1}},watch:{value:function(){this.updateValue(this.value),this.resetValidation(),this.validateWithTrigger("onChange"),this.$nextTick(this.adjustSize)}},mounted:function(){this.updateValue(this.value,this.formatTrigger),this.$nextTick(this.adjustSize),this.ztForm&&this.ztForm.addField(this)},beforeDestroy:function(){this.ztForm&&this.ztForm.removeField(this)},computed:{showClear:function(){var t=this.getProp("readonly");if(this.clearable&&!t){var e=Object(l.e)(this.value)&&""!==this.value,n="always"===this.clearTrigger||"focus"===this.clearTrigger&&this.focused;return e&&n}},showError:function(){return null!==this.error?this.error:!!(this.ztForm&&this.ztForm.showError&&this.validateFailed)||void 0},showErrorMessage:function(){return(!this.ztForm||!1!==this.ztForm.showErrorMessage)&&!(!this.errorMessage&&!this.validateMessage)},listeners:function(){return r({},this.$listeners,{blur:this.onBlur,focus:this.onFocus,input:this.onInput,click:this.onClickInput,keypress:this.onKeypress})},labelStyle:function(){var t=this.getProp("labelWidth");if(t)return{width:Object(l.a)(t)}},formValue:function(){return this.children&&(this.$scopedSlots.input||this.$slots.input)?this.children.value:this.value}},methods:{togglePwdVisible:function(){this.showPassword=!this.showPassword},focus:function(){this.$refs.input&&this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},runValidator:function(t,e){return new Promise((function(n){var r=e.validator(t,e);if(Object(l.h)(r))return r.then(n);n(r)}))},isEmptyValue:function(t){return Array.isArray(t)?!t.length:0!==t&&!t},runSyncRule:function(t,e){return(!e.required||!this.isEmptyValue(t))&&!(e.pattern&&!e.pattern.test(t))},getRuleMessage:function(t,e){var n=e.message;return Object(l.f)(n)?n(t,e):n},runRules:function(t){var e=this;return t.reduce((function(t,n){return t.then((function(){if(!e.validateFailed){var t=e.formValue;return n.formatter&&(t=n.formatter(t,n)),e.runSyncRule(t,n)?n.validator?e.runValidator(t,n).then((function(r){!1===r&&(e.validateFailed=!0,e.validateMessage=e.getRuleMessage(t,n))})):void 0:(e.validateFailed=!0,void(e.validateMessage=e.getRuleMessage(t,n)))}}))}),Promise.resolve())},validate:function(t){var e=this;return void 0===t&&(t=this.rules),new Promise((function(n){t||n(),e.resetValidation(),e.runRules(t).then((function(){e.validateFailed?n({name:e.name,message:e.validateMessage}):n()}))}))},validateWithTrigger:function(t){if(this.ztForm&&this.rules){var e=this.ztForm.validateTrigger===t,n=this.rules.filter((function(n){return n.trigger?n.trigger===t:e}));n.length&&this.validate(n)}},resetValidation:function(){this.validateFailed&&(this.validateFailed=!1,this.validateMessage="")},updateValue:function(t,e){void 0===e&&(e="onChange"),t=Object(l.e)(t)?String(t):"";var n=this.maxlength;if(Object(l.e)(n)&&t.length>n&&(t=this.value&&this.value.length===+n?this.value:t.slice(0,n)),"number"===this.type||"digit"===this.type){var r="number"===this.type;t=St(t,r,r)}this.formatter&&e===this.formatTrigger&&(t=this.formatter(t));var i=this.$refs.input;i&&t!==i.value&&(i.value=t),t!==this.value&&this.$emit("input",t)},onInput:function(t){t.target.composing||this.updateValue(t.target.value)},onFocus:function(t){this.focused=!0,this.$emit("focus",t),this.getProp("readonly")&&this.blur()},onBlur:function(t){this.focused=!1,this.updateValue(this.value,"onBlur"),this.$emit("blur",t),this.validateWithTrigger("onBlur"),fi()},onClick:function(t){this.$emit("click",t)},onClickInput:function(t){this.$emit("click-input",t)},onClickLeftIcon:function(t){this.$emit("click-left-icon",t)},onClickRightIcon:function(t){this.$emit("click-right-icon",t)},onClear:function(t){b(t),this.$emit("input",""),this.$emit("clear",t)},onKeypress:function(t){13===t.keyCode&&(this.getProp("submitOnEnter")||"textarea"===this.type||b(t),"search"===this.type&&this.blur());this.$emit("keypress",t)},adjustSize:function(){var t=this.$refs.input;if("textarea"===this.type&&this.autosize&&t){var e=D();t.style.height="auto";var n=t.scrollHeight;if(Object(l.g)(this.autosize)){var r=this.autosize,i=r.maxHeight,o=r.minHeight;i&&(n=Math.min(n,i)),o&&(n=Math.max(n,o))}n&&(t.style.height=n+"px",B(e))}},genInput:function(){var t=this.$createElement,e=this.type,n=this.getProp("disabled"),i=this.getProp("readonly"),a=this.slots("input"),s=this.getProp("inputAlign"),l=this.getProp("inputColor");if(a)return t("div",{class:mi("control",[s,"custom"]),on:{click:this.onClickInput}},[a]);var u={ref:"input",class:mi("control",s),domProps:{value:this.value},attrs:r({},this.$attrs,{name:this.name,disabled:n,readonly:i,placeholder:this.placeholder}),on:this.listeners,directives:[{name:"model",value:this.value}],style:{color:l}};if("textarea"===e)return t("textarea",o()([{},u]));var c,h=e;return"number"===e&&(h="text",c="decimal"),"digit"===e&&(h="tel",c="numeric"),t("input","password"===e?o()([{attrs:{type:this.showPassword?"text":h,inputmode:c}},u]):o()([{attrs:{type:h,inputmode:c}},u]))},genLeftIcon:function(){var t=this.$createElement;return this.slots("left-icon")?t("div",{attrs:{className:mi("left-icon")},on:{click:this.onClickLeftIcon}},[this.slots("left-icon")]):"zt-search"===this.leftIcon?t("div",{class:mi("zt-left-icon"),on:{click:this.onClickLeftIcon}},[t(di,{class:mi("zt-left-icon-size")})]):this.leftIcon?t("div",{class:mi("left-icon"),on:{click:this.onClickLeftIcon}},[this.slots("left-icon")||t(nt,{attrs:{name:this.leftIcon,classPrefix:this.iconPrefix}})]):void 0},genRightIcon:function(){var t=this.$createElement,e=this.slots;if(e("right-icon")||this.rightIcon)return t("div",{class:mi("right-icon"),on:{click:this.onClickRightIcon}},[e("right-icon")||t(nt,{attrs:{name:this.rightIcon,classPrefix:this.iconPrefix}})])},genWordLimit:function(){var t=this.$createElement;if(this.showWordLimit&&this.maxlength){var e=(this.value||"").length;return t("div",{class:mi("word-limit")},[t("span",{class:mi("word-num")},[e]),"/",this.maxlength])}},genMessage:function(){var t=this.$createElement;if(!this.ztForm||!1!==this.ztForm.showErrorMessage){var e=this.errorMessage||this.validateMessage;if(e){var n=this.getProp("errorMessageAlign");return t("div",{class:mi("error-message",n)},[e])}}},getProp:function(t){return Object(l.e)(this[t])?this[t]:this.ztForm&&Object(l.e)(this.ztForm[t])?this.ztForm[t]:void 0},genLabel:function(){var t=this.$createElement,e=this.getProp("colon")?":":"";return this.slots("label")?[this.slots("label"),e]:this.label?t("span",[this.label+e]):void 0}},render:function(){var t,e=arguments[0],n=this.slots,r=this.getProp("disabled"),i=this.getProp("labelAlign"),o={icon:this.genLeftIcon},a=this.genLabel();a&&(o.title=function(){return a});var s=this.slots("extra");return s&&(o.extra=function(){return s}),e("div",{class:mi("root")},[e(Vn,{attrs:{icon:this.leftIcon,size:this.size,center:this.center,border:this.border,isLink:this.isLink,required:this.required,clickable:this.clickable,titleStyle:this.labelStyle,valueClass:mi("value"),titleClass:[mi("label",i),this.labelClass,{"zt-field--error-label":this.showErrorMessage}],arrowDirection:this.arrowDirection,noFlex:"textarea"===this.type},scopedSlots:o,class:mi((t={error:this.showError,disabled:r},t["label-"+i]=i,t["min-height"]="textarea"===this.type&&!this.autosize,t)),on:{click:this.onClick}},[e("div",{class:mi("body")},[this.genInput(),this.showClear&&e("div",{class:mi("zt-clear-icon"),on:{touchstart:this.onClear,click:this.onClear}},[e(pi,{class:mi("zt-clear-size"),attrs:{color:this.iconColor}})]),"password"===this.type&&e("div",{on:{click:this.togglePwdVisible},style:"width:20px;height:20px;margin-left:12px;display:flex;justify-content:center;align-items:center;color:rgba(0,0,0,.4);"},[this.showPassword?e(nt,{attrs:{name:"eye-open",color:this.iconColor}}):e(nt,{attrs:{name:"eye-closed",color:this.iconColor}})]),this.genRightIcon(),n("button")&&e("div",{class:mi("button")},[n("button")])]),this.genWordLimit()]),this.genMessage()])}}),bi=Object(l.b)("fold-dialog"),Ci=bi[0],wi=bi[1],_i=Ci({props:{title:{type:String,default:""},content:{type:String,default:""},maxLines:{type:Number,default:3},foldText:{type:String,default:"收起全文"},unfoldText:{type:String,default:"查看全文"}},data:function(){return{offset:this.content.length,expanded:!1,buttonBoxWidth:0,textBoxWidth:0,showSlotNode:!1}},computed:{realText:function(){var t=this.offset!==this.content.length,e=this.content;return t&&!this.expanded&&(e=this.content.slice(0,this.offset)+"..."),e}},mounted:function(){this.init()},methods:{init:function(){var t=this,e=this.getLines().len;0===e?setTimeout((function(){t.init()}),100):e>this.maxLines&&(this.showSlotNode=!0,this.$nextTick((function(){t.buttonBoxWidth=t.$refs.buttonRef.clientWidth,t.textBoxWidth=t.$refs.textOverflow.clientWidth,t.calculateOffset(0,t.content.length)})))},calculateOffset:function(t,e){var n=this;this.$nextTick((function(){Math.abs(t-e)<=1||(n.isOverflow()?e=n.offset:t=n.offset,n.offset=Math.floor((t+e)/2),n.calculateOffset(t,e))}))},isOverflow:function(){var t=this.getLines(),e=t.len,n=t.lastWidth;if(e<this.maxLines)return!1;if(this.maxLines){var r=!!(e===this.maxLines&&n+this.buttonBoxWidth>this.textBoxWidth);if(e>this.maxLines||r)return!0}return!1},getLines:function(){var t=this.$refs.overEllipsis.getClientRects();return{len:t.length,lastWidth:t.length?t[t.length-1].width:this.$refs.textOverflow.clientWidth}},toggle:function(){this.expanded=!this.expanded}},render:function(t){return t("div",{class:wi()},[this.title?t("div",{class:wi("title")},[this.title]):t(),t("div",{ref:"textOverflow",class:wi("content")},[t("span",{ref:"overEllipsis"},[this.realText]),this.showSlotNode?t("span",{class:wi("button"),ref:"buttonRef",on:{click:this.toggle}},[this.expanded?this.foldText:this.unfoldText]):t()])])}}),xi=Object(l.b)("form"),Ai=xi[0],Si=xi[1],ki=Ai({props:{colon:Boolean,disabled:Boolean,readonly:Boolean,labelWidth:[Number,String],labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,errorMessageAlign:String,submitOnEnter:{type:Boolean,default:!0},validateTrigger:{type:String,default:"onBlur"},showError:{type:Boolean,default:!0},showErrorMessage:{type:Boolean,default:!0}},provide:function(){return{ztForm:this}},data:function(){return{fields:[]}},methods:{getFieldsByNames:function(t){return t?this.fields.filter((function(e){return-1!==t.indexOf(e.name)})):this.fields},validateSeq:function(t){var e=this;return new Promise((function(n,r){var i=[];e.getFieldsByNames(t).reduce((function(t,e){return t.then((function(){if(!i.length)return e.validate().then((function(t){t&&i.push(t)}))}))}),Promise.resolve()).then((function(){i.length?r(i):n()}))}))},validateFields:function(t){var e=this;return new Promise((function(n,r){var i=e.getFieldsByNames(t);Promise.all(i.map((function(t){return t.validate()}))).then((function(t){(t=t.filter((function(t){return t}))).length?r(t):n()}))}))},validate:function(t){return t&&!Array.isArray(t)?this.validateField(t):this.validateFirst?this.validateSeq(t):this.validateFields(t)},validateField:function(t){var e=this.fields.filter((function(e){return e.name===t}));return e.length?new Promise((function(t,n){e[0].validate().then((function(e){e?n(e):t()}))})):Promise.reject()},resetValidation:function(t){t&&!Array.isArray(t)&&(t=[t]),this.getFieldsByNames(t).forEach((function(t){t.resetValidation()}))},scrollToField:function(t,e){this.fields.some((function(n){return n.name===t&&(n.$el.scrollIntoView(e),!0)}))},addField:function(t){this.fields.push(t),en(this.fields,this)},removeField:function(t){this.fields=this.fields.filter((function(e){return e!==t}))},getValues:function(){return this.fields.reduce((function(t,e){return t[e.name]=e.formValue,t}),{})},onSubmit:function(t){t.preventDefault(),this.submit()},submit:function(){var t=this,e=this.getValues();this.validate().then((function(){t.$emit("submit",e)})).catch((function(n){t.$emit("failed",{values:e,errors:n}),t.scrollToError&&t.scrollToField(n[0].name)}))}},render:function(){var t=arguments[0];return t("form",{class:Si(),on:{submit:this.onSubmit}},[this.slots()])}}),Pi=Object(l.b)("grid"),Li=Pi[0],Ti=Pi[1],Oi=Li({mixins:[rn("ztGrid")],props:{square:Boolean,gutter:[Number,String],iconSize:[Number,String],direction:String,clickable:Boolean,columnNum:{type:[Number,String],default:4},center:{type:Boolean,default:!0},border:{type:Boolean,default:!0}},computed:{style:function(){var t=this.gutter;if(t)return{paddingLeft:Object(l.a)(t)}}},render:function(){var t,e=arguments[0];return e("div",{style:this.style,class:[Ti(),(t={},t["zt-hairline--top"]=this.border&&!this.gutter,t)]},[this.slots()])}}),Ei=Object(l.b)("grid-item"),Fi=Ei[0],Ri=Ei[1],Ii=Fi({mixins:[nn("ztGrid")],props:r({},ve,{dot:Boolean,text:String,icon:String,iconPrefix:String,info:[Number,String],badge:[Number,String]}),computed:{style:function(){var t=this.parent,e=t.square,n=t.gutter,r=t.columnNum,i=100/r+"%",o={flexBasis:i};if(e)o.paddingTop=i;else if(n){var a=Object(l.a)(n);o.paddingRight=a,this.index>=r&&(o.marginTop=a)}return o},contentStyle:function(){var t=this.parent,e=t.square,n=t.gutter;if(e&&n){var r=Object(l.a)(n);return{right:r,bottom:r,height:"auto"}}}},methods:{onClick:function(t){this.$emit("click",t),de(this.$router,this)},genIcon:function(){var t,e=this.$createElement,n=this.slots("icon"),r=null!=(t=this.badge)?t:this.info;return n?e("div",{class:Ri("icon-wrapper")},[n,e(X,{attrs:{dot:this.dot,info:r}})]):this.icon?e(nt,{attrs:{name:this.icon,dot:this.dot,badge:r,size:this.parent.iconSize,classPrefix:this.iconPrefix},class:Ri("icon")}):void 0},getText:function(){var t=this.$createElement,e=this.slots("text");return e||(this.text?t("span",{class:Ri("text")},[this.text]):void 0)},genContent:function(){var t=this.slots();return t||[this.genIcon(),this.getText()]}},render:function(){var t,e=arguments[0],n=this.parent,r=n.center,i=n.border,o=n.square,a=n.gutter,s=n.direction,l=n.clickable;return e("div",{class:[Ri({square:o})],style:this.style},[e("div",{style:this.contentStyle,attrs:{role:l?"button":null,tabindex:l?0:null},class:[Ri("content",[s,{center:r,square:o,clickable:l,surround:i&&a}]),(t={},t[ce]=i,t)],on:{click:this.onClick}},[this.genContent()])])}}),Mi=Object(l.b)("hierarchy-select-breadcrumb"),Di=Mi[0],Bi=Mi[1],Ni=(Mi[2],Di({props:{data:{type:Array,default:function(){return[]}},valueKey:{type:String,default:"id"},textKey:{type:String,default:"name"}},data:function(){return{}},methods:{chooseSenior:function(t){this.$emit("chooseSenior",t)}},render:function(t){var e=this;return t("div",[this.data.length>0?t("div",{class:Bi()},[t("span",{class:Bi("fill-blur")}),t("div",{class:Bi("indicator-crumb-list")},[t("span",{style:{color:"#0091fa"},on:{click:function(){e.chooseSenior(-1)}}},["全部"]),this.data.map((function(n,r){return t("div",{class:Bi("crumb-item")},[t(nt,{attrs:{name:"arrow"},class:Bi("icon-arrow")}),t("span",{style:{color:r===e.data.length-1?"":"#0091fa"},on:{click:function(){e.chooseSenior(r)}}},[n[e.textKey]])])}))]),t("span",{class:"fill-blur"})]):t()])}})),ji={render:function(){var t,e=arguments[0];return e("svg",{attrs:(t={width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t.xmlns="http://www.w3.org/1999/xlink",t)},[e("title",["-mockplus-"]),e("g",{attrs:{id:"千分制评分系统",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{id:"2-2-二级",transform:"translate(-303.000000, -180.000000)",fill:"#0091fa","fill-rule":"nonzero"}},[e("g",{attrs:{id:"list",transform:"translate(0.000000, 168.000000)"}},[e("g",{attrs:{id:"-mockplus-",transform:"translate(303.000000, 12.000000)"}},[e("g",{attrs:{id:"ic",transform:"translate(1.000000, 1.000000)"}},[e("path",{attrs:{d:"M2.14317706,0.666666667 L2.22223941,0.668944438 C2.85659925,0.701997774 3.40241118,1.14563083 3.56824813,1.77287529 C3.71984748,2.34626892 3.52076148,2.94764607 3.07824755,3.31404308 L3.01338689,3.36475861 L2.98117698,3.38692192 L2.99854276,7.96851143 L6.45837186,7.96851143 L6.4906636,7.92242957 C6.70010816,7.63994553 7.00294966,7.43994322 7.35182725,7.361073 L7.43997833,7.3439014 L7.52988313,7.33191117 L7.6692854,7.32536694 C8.3837757,7.32585828 8.99437829,7.8461057 9.11812542,8.55870349 C9.24180953,9.27093832 8.84363091,9.97085988 8.17282427,10.2188787 C7.57700711,10.4391716 6.91923866,10.2463364 6.52883188,9.76213793 L6.47945255,9.69733927 L6.457968,9.66562226 L2.99854276,9.66480927 L2.98077313,14.9931275 L6.43817909,14.9931275 L6.46054677,14.9607514 C6.78337751,14.5127274 7.32688536,14.2830957 7.86795816,14.3658534 L7.95333794,14.3815301 L8.03075658,14.4003564 C8.67421418,14.5754457 9.12114112,15.1665172 9.12114112,15.8412592 C9.12114112,16.5160012 8.67421418,17.1070728 8.03075658,17.282162 C7.46526323,17.4360366 6.87234558,17.2347803 6.51062104,16.7873487 L6.46054677,16.721767 L6.43817909,16.6890189 L2.14293988,16.689376 C1.75471326,16.689277 1.42412847,16.4204314 1.33123628,16.0433526 L1.31798598,15.9795315 L1.30932263,15.9138712 L1.30596651,15.8407337 L1.30558099,3.3881414 L1.27366107,3.36611374 C0.829669171,3.03959222 0.601729085,2.48805959 0.682853956,1.93886294 L0.698245114,1.85220024 L0.716763107,1.773617 C0.882433394,1.14570649 1.42884,0.701620365 2.06379274,0.668899133 L2.14317706,0.666666667 Z M16.4991461,14.9765217 C16.9438894,14.9769436 17.3105373,15.3322646 17.3323164,15.7826586 C17.3531195,16.212871 17.0525873,16.5872728 16.6303383,16.6599846 L16.5692105,16.6682931 L16.4968837,16.6717041 L11.4076594,16.6717041 C10.9615199,16.6705571 10.5951522,16.3154549 10.5737275,15.8648797 C10.5532819,15.4348956 10.8537702,15.0608774 11.2757903,14.9882337 L11.3368841,14.9799327 L11.409211,14.9765217 L16.4991461,14.9765217 Z M16.4991461,7.96971132 C16.9438894,7.97013329 17.3105373,8.3254543 17.3323164,8.77584828 C17.3531195,9.2060606 17.0525873,9.58046244 16.6303382,9.6531742 L16.5692105,9.66148273 L16.4968837,9.66489375 L11.4076594,9.66489375 C10.9615199,9.66374664 10.5951523,9.30864449 10.5737276,8.8580693 C10.553282,8.42808526 10.8537703,8.05406711 11.2757903,7.98142337 L11.3368841,7.97312235 L11.409211,7.96971132 L16.4991461,7.96971132 Z M16.4788602,1.09703911 C16.9326749,1.08805607 17.3101999,1.44528695 17.3323171,1.9030475 C17.353414,2.3396908 17.0437664,2.71759912 16.6148696,2.7828049 L16.5528102,2.78996537 L16.4838666,2.79218225 L6.74173256,2.79218225 C6.2955931,2.79103514 5.92922548,2.43593299 5.90780078,1.9853578 C5.88735518,1.55537376 6.18784345,1.18135561 6.60986349,1.10871187 L6.67095729,1.10041085 L6.74328413,1.09699982 L16.4788602,1.09703911 Z"}})])])])])])])}},zi=Object(l.b)("hierarchy-mark-list"),Hi=zi[0],Ui=zi[1],Vi=(zi[2],Hi({props:{dataList:{type:Array,default:function(){return[]}},disableParent:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},resetReplaceCancel:{type:Boolean,default:!1},valueKey:{type:String,default:"id"},textKey:{type:String,default:"name"}},data:function(){return{choosedValue:"",checkedList:[],showResultList:!1}},methods:{toNextLevel:function(t,e){this.getChecked(t)||this.$emit("clickNext",{item:t,index:e})},selected:function(t){this.disableParent&&t.children||(this.choosedValue=t[this.valueKey],this.$emit("selected",t))},getMultipleDom:function(t){var e=this.$createElement;return this.getChecked(t)?e(nt,{attrs:{name:"checked"},class:Ui("check-icon")}):e("div",{class:Ui("uncheck-icon")})},getChecked:function(t){var e=this;return!!(this.checkedList&&this.checkedList.length&&this.checkedList.map((function(t){return t[e.valueKey]})).indexOf(t[this.valueKey])>-1)},multipleClicked:function(t){var e=this;if(t=_t(t),this.checkedList&&this.checkedList.length){var n=!1;this.checkedList.forEach((function(r,i){t[e.valueKey]===r[e.valueKey]&&(n=!0,e.checkedList.splice(i,1))})),n||(t.children&&t.children.length&&this.uncheckedChildren(t.children),delete t.children,this.checkedList.push(t))}else this.checkedList=[],delete t.children,this.checkedList.push(t);this.$forceUpdate()},uncheckedChildren:function(t){var e=this;!function t(n){for(var r=function(t){n.forEach((function(n){e.checkedList[t][e.valueKey]===n[e.valueKey]&&e.checkedList.splice(t,1)}))},i=e.checkedList.length-1;i>-1;i--)r(i);n.forEach((function(e){e&&e.children&&e.children.length&&t(e.children)}))}(t)},cancel:function(){this.$emit("cancel")},confirm:function(){this.$emit("confirm",this.checkedList)},reset:function(){this.checkedList=[],this.$emit("reset")}},render:function(t){var e=this;return t("div",{class:Ui()},[this.dataList.map((function(n,r){return t("div",{class:Ui("score-item")},[e.multiple?t("div",{class:Ui("multiple-button"),on:{click:function(){e.multipleClicked(n)}}},[e.getMultipleDom(n)]):t(),t("div",{class:Ui("item-content"),on:{click:function(){e.selected(n)}},style:e.multiple||e.choosedValue!==n[e.valueKey]?"":"color:#0091fa;"},[n[e.textKey]]),t("div",{class:Ui("item-nav"),on:{click:function(){e.toNextLevel(n,r)}}},[n&&n.children?t("div",{class:Ui("sub-level",e.getChecked(n)?"disable":"")},[t(ji,{class:Ui("sub-icon")}),t("span",["下级"])]):t()])])})),this.multiple?t("div",{class:Ui("result-box")},[this.showResultList?t("div",{class:Ui("result-list")},[this.checkedList&&this.checkedList.length?this.checkedList.map((function(t){return t[e.textKey]})).join("、"):""]):t(),t("div",{class:Ui("operate-box")},[t("div",{class:Ui("selected"),on:{click:function(){e.showResultList=!e.showResultList}}},[t(nt,{attrs:{name:this.showResultList?"arrow-up":"arrow-down"}}),t("span",["已选择"]),t("span",{class:Ui("blue")},[this.checkedList.length])]),t("div",{class:Ui("line")}),t("div",{directives:[{name:"show",value:this.resetReplaceCancel}],class:Ui("reset-button"),on:{click:this.reset}},["重置"]),t("div",{directives:[{name:"show",value:!this.resetReplaceCancel}],class:Ui("cancel-button"),on:{click:this.cancel}},["取消"]),t("div",{class:Ui("confirm-button"),on:{click:this.confirm}},["确定"])])]):t()])}})),Wi=Object(l.b)("hierarchy-select-core"),$i=Wi[0],qi=Wi[1],Gi=(Wi[2],$i({props:{treeData:{type:Array,default:function(){return[]}},disableParent:{type:Boolean,default:!1},asyncGetter:{type:Function,default:null},multiple:{type:Boolean,default:!1},resetReplaceCancel:{type:Boolean,default:!1},valueKey:{type:String,default:"id"},textKey:{type:String,default:"name"},returnChainData:{type:Boolean,default:!1}},data:function(){return{dataList:[],indexTree:[],breadcrumbData:[],callback:null,historyLayers:[],loading:!1}},mounted:function(){this.dataList=_t(this.treeData)},methods:{clickNext:function(t){var e=this,n=t.item,r=t.index;n.children&&n.children.length?(this.historyLayers.push(this.dataList),this.breadcrumbData.push(n),this.dataList=n.children):this.asyncGetter&&(this.loading=!0,this.asyncGetter(n[this.valueKey]).then((function(t){if(e.loading=!1,!t||0===t.length)return Ze("无下级数据"),void(e.dataList[r].children=null);e.historyLayers.push(e.dataList),e.breadcrumbData.push(n),e.dataList=t})).catch((function(){e.loading=!1})))},selected:function(t){var e=_t(this.breadcrumbData);e.push(t),this.$emit("selected",this.returnChainData?e:t)},chooseSenior:function(t){this.breadcrumbData.splice(t+1),this.dataList=this.historyLayers[t+1],this.historyLayers.splice(t+1)},reset:function(){this.$emit("reset")},cancel:function(){this.$emit("cancel")},confirm:function(t){this.$emit("confirm",t)}},render:function(t){return t("div",{class:qi()},[t(Ni,{attrs:{data:this.breadcrumbData,valueKey:this.valueKey,textKey:this.textKey},on:{chooseSenior:this.chooseSenior}}),t("div",{class:qi("list")},[this.loading?t(pt,{class:qi("loading")}):t(),t(Vi,{ref:"markList",attrs:{dataList:this.dataList,multiple:this.multiple,resetReplaceCancel:this.resetReplaceCancel,disableParent:this.disableParent,valueKey:this.valueKey,textKey:this.textKey},on:{clickNext:this.clickNext,selected:this.selected,cancel:this.cancel,confirm:this.confirm,reset:this.reset}})])])}})),Yi=Object(l.b)("hierarchy-select"),Zi=Yi[0],Xi=Yi[1],Ki=(Yi[2],Zi({mixins:[$()],props:{treeData:{type:Array,default:[]},disableParent:{type:Boolean,default:!1},asyncGetter:{type:Function,default:null},multiple:{type:Boolean,default:!1},valueKey:{type:String,default:"id"},textKey:{type:String,default:"name"},title:{type:String,default:"选择"},returnChainData:{type:Boolean,default:!1},showTitle:{type:Boolean,default:!0},customCancel:{type:Boolean,default:!1},resetReplaceCancel:{type:Boolean,default:!1}},data:function(){return{showPicker:!1}},methods:{onSelected:function(t){this.$emit("selected",t)},show:function(){this.showPicker=!0},hide:function(){this.showPicker=!1},reset:function(){this.$emit("reset"),this.hide()},cancel:function(){this.customCancel?this.$emit("cancel"):this.hide()},confirm:function(t){this.$emit("confirm",t)}},render:function(t){var e=this;return t(at,{attrs:{position:"bottom",closeOnPopstate:!0},class:Xi("popup"),model:{value:e.showPicker,callback:function(t){e.showPicker=t}}},[t("div",{class:Xi()},[t("div",{directives:[{name:"show",value:this.showTitle}],class:Xi("title")},[t(nt,{attrs:{name:"arrow-left"},on:{click:function(){e.showPicker=!1}}}),t("div",[this.title])]),t(Gi,{attrs:{treeData:this.treeData,disableParent:this.disableParent,asyncGetter:this.asyncGetter,resetReplaceCancel:this.resetReplaceCancel,multiple:this.multiple,valueKey:this.valueKey,textKey:this.textKey,returnChainData:this.returnChainData},on:{selected:this.onSelected,cancel:this.cancel,confirm:this.confirm,reset:this.reset}})])])}})),Qi=Object(l.b)("image"),Ji=Qi[0],to=Qi[1],eo=Ji({props:{src:String,fit:String,alt:String,round:Boolean,width:[Number,String],height:[Number,String],radius:[Number,String],lazyLoad:Boolean,iconPrefix:String,showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},errorIcon:{type:String,default:"photo-fail"},loadingIcon:{type:String,default:"photo"}},data:function(){return{loading:!0,error:!1}},watch:{src:function(){this.loading=!0,this.error=!1}},computed:{style:function(){var t={};return Object(l.e)(this.width)&&(t.width=Object(l.a)(this.width)),Object(l.e)(this.height)&&(t.height=Object(l.a)(this.height)),Object(l.e)(this.radius)&&(t.overflow="hidden",t.borderRadius=Object(l.a)(this.radius)),t}},created:function(){var t=this.$Lazyload;t&&l.d&&(t.$on("loaded",this.onLazyLoaded),t.$on("error",this.onLazyLoadError))},beforeDestroy:function(){var t=this.$Lazyload;t&&(t.$off("loaded",this.onLazyLoaded),t.$off("error",this.onLazyLoadError))},methods:{onLoad:function(t){this.loading=!1,this.$emit("load",t)},onLazyLoaded:function(t){t.el===this.$refs.image&&this.loading&&this.onLoad()},onLazyLoadError:function(t){t.el!==this.$refs.image||this.error||this.onError()},onError:function(t){this.error=!0,this.loading=!1,this.$emit("error",t)},onClick:function(t){this.$emit("click",t)},genPlaceholder:function(){var t=this.$createElement;return this.loading&&this.showLoading?t("div",{class:to("loading")},[this.slots("loading")||t(nt,{attrs:{name:this.loadingIcon,classPrefix:this.iconPrefix},class:to("loading-icon")})]):this.error&&this.showError?t("div",{class:to("error")},[this.slots("error")||t(nt,{attrs:{name:this.errorIcon,classPrefix:this.iconPrefix},class:to("error-icon")})]):void 0},genImage:function(){var t=this.$createElement,e={class:to("img"),attrs:{alt:this.alt},style:{objectFit:this.fit}};if(!this.error)return this.lazyLoad?t("img",o()([{ref:"image",directives:[{name:"lazy",value:this.src}]},e])):t("img",o()([{attrs:{src:this.src},on:{load:this.onLoad,error:this.onError}},e]))}},render:function(){var t=arguments[0];return t("div",{class:to({round:this.round}),style:this.style,on:{click:this.onClick}},[this.genImage(),this.genPlaceholder(),this.slots()])}}),no=Object(l.b)("image-preview"),ro=no[0],io=no[1],oo=Object(l.b)("swipe"),ao=oo[0],so=oo[1],lo=ao({mixins:[j,rn("vanSwipe"),U((function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0},title:[String,Array]},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t>0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t={transitionDuration:(this.swiping?0:this.duration)+"ms",transform:"translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)"};if(this.size){var e=this.vertical?"height":"width",n=this.vertical?"width":"height";t[e]=this.trackSize+"px",t[n]=this[n]?this[n]+"px":""}return t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&&(t=+this.initialSwipe),this.$el&&!cn(this.$el)){clearTimeout(this.timer);var e={width:this.$el.offsetWidth,height:this.$el.offsetHeight};this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=+this.width||e.width,this.computedHeight=+this.height||e.height,this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(b(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,e=this.delta,n=e/(Date.now()-this.touchStartTime);if((Math.abs(n)>.25||Math.abs(e)>t/2)&&this.isCorrectDirection){var r=this.vertical?this.offsetY:this.offsetX,i=0;i=this.loop?r>0?e>0?-1:1:0:-Math[e>0?"ceil":"floor"](e/t),this.move({pace:i,emitChange:!0})}else e&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var e=this.active,n=this.count,r=this.maxCount;return t?this.loop?xt(e+t,-1,n):xt(e+t,0,r):e},getTargetOffset:function(t,e){void 0===e&&(e=0);var n=t*this.size;this.loop||(n=Math.min(n,-this.minOffset));var r=e-n;return this.loop||(r=xt(r,this.minOffset,0)),r},move:function(t){var e=t.pace,n=void 0===e?0:e,r=t.offset,i=void 0===r?0:r,o=t.emitChange,a=this.loop,s=this.count,l=this.active,u=this.children,c=this.trackSize,h=this.minOffset;if(!(s<=1)){var f=this.getTargetActive(n),d=this.getTargetOffset(f,i);if(a){if(u[0]&&d!==h){var p=d<h;u[0].offset=p?c:0}if(u[s-1]&&0!==d){var v=d>0;u[s-1].offset=v?-c:0}}this.active=f,this.offset=d,o&&f!==l&&this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(_e.b)((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(_e.b)((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,e){var n=this;void 0===e&&(e={}),this.correctPosition(),this.resetTouchStatus(),Object(_e.b)((function(){var r;r=n.loop&&t===n.count?0===n.active?0:t:t%n.count,e.immediate?Object(_e.b)((function(){n.swiping=!1})):n.swiping=!1,n.move({pace:r-n.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;e>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},titleDiv:function(){var t=this.$createElement;return this.$slots.title?this.$slots.title:this.title?Array.isArray(this.title)?t("div",{class:so("title")},[this.title[this.active==this.count?0:this.active]]):t("div",{class:so("title")},[this.title]):void 0},foot:function(){var t=this.$createElement;return this.title?t("div",{class:so("foot")},[this.titleDiv(),this.genIndicator()]):t("div",[this.titleDiv(),this.genIndicator()])},genIndicator:function(){var t=this,e=this.$createElement,n=this.count,r=this.activeIndicator,i=this.slots("indicator");return i||(this.showIndicators&&n>1?e("div",{class:so("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(n)).map((function(n,i){return e("i",{class:so("indicator",{active:i===r}),style:i===r?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:so()},[t("div",{ref:"track",style:this.trackStyle,class:so("track",{vertical:this.vertical})},[this.slots()]),this.foot()])}}),uo=Object(l.b)("swipe-item"),co=uo[0],ho=uo[1],fo=co({mixins:[nn("vanSwipe")],data:function(){return{offset:0,inited:!1,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},e=this.parent,n=e.size,r=e.vertical;return n&&(t[r?"height":"width"]=n+"px"),this.offset&&(t.transform="translate"+(r?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.inited,n=this.parent,r=this.mounted;if(!n.lazyRender||e)return!0;if(!r)return!1;var i=n.activeIndicator,o=n.count-1,a=0===i&&n.loop?o:i-1,s=i===o&&n.loop?0:i+1,l=t===i||t===a||t===s;return l&&(this.inited=!0),l}},render:function(){var t=arguments[0];return t("div",{class:ho(),style:this.style,on:r({},this.$listeners)},[this.shouldRender&&this.slots()])}});function po(t){return Math.sqrt(Math.pow(t[0].clientX-t[1].clientX,2)+Math.pow(t[0].clientY-t[1].clientY,2))}var vo,go={mixins:[j],props:{src:String,show:Boolean,active:Number,minZoom:[Number,String],maxZoom:[Number,String],rootWidth:Number,rootHeight:Number},data:function(){return{scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}},computed:{vertical:function(){var t=this.rootWidth,e=this.rootHeight/t;return this.imageRatio>e},imageStyle:function(){var t=this.scale,e={transitionDuration:this.zooming||this.moving?"0s":".3s"};if(1!==t){var n=this.moveX/t,r=this.moveY/t;e.transform="scale("+t+", "+t+") translate("+n+"px, "+r+"px)"}return e},maxMoveX:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight/this.imageRatio:this.rootWidth;return Math.max(0,(this.scale*t-this.rootWidth)/2)}return 0},maxMoveY:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight:this.rootWidth*this.imageRatio;return Math.max(0,(this.scale*t-this.rootHeight)/2)}return 0}},watch:{active:"resetScale",show:function(t){t||this.resetScale()}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{resetScale:function(){this.setScale(1),this.moveX=0,this.moveY=0},setScale:function(t){(t=xt(t,+this.minZoom,+this.maxZoom))!==this.scale&&(this.scale=t,this.$emit("scale",{scale:this.scale,index:this.active}))},toggleScale:function(){var t=this.scale>1?1:2;this.setScale(t),this.moveX=0,this.moveY=0},onTouchStart:function(t){var e=t.touches,n=this.offsetX,r=void 0===n?0:n;this.touchStart(t),this.touchStartTime=new Date,this.startMoveX=this.moveX,this.startMoveY=this.moveY,this.moving=1===e.length&&1!==this.scale,this.zooming=2===e.length&&!r,this.zooming&&(this.startScale=this.scale,this.startDistance=po(t.touches))},onTouchMove:function(t){var e=t.touches;if(this.touchMove(t),(this.moving||this.zooming)&&b(t,!0),this.moving){var n=this.deltaX+this.startMoveX,r=this.deltaY+this.startMoveY;this.moveX=xt(n,-this.maxMoveX,this.maxMoveX),this.moveY=xt(r,-this.maxMoveY,this.maxMoveY)}if(this.zooming&&2===e.length){var i=po(e),o=this.startScale*i/this.startDistance;this.setScale(o)}},onTouchEnd:function(t){var e=!1;(this.moving||this.zooming)&&(e=!0,this.moving&&this.startMoveX===this.moveX&&this.startMoveY===this.moveY&&(e=!1),t.touches.length||(this.zooming&&(this.moveX=xt(this.moveX,-this.maxMoveX,this.maxMoveX),this.moveY=xt(this.moveY,-this.maxMoveY,this.maxMoveY),this.zooming=!1),this.moving=!1,this.startMoveX=0,this.startMoveY=0,this.startScale=1,this.scale<1&&this.resetScale())),b(t,e),this.checkTap(),this.resetTouchStatus()},checkTap:function(){var t=this,e=this.offsetX,n=void 0===e?0:e,r=this.offsetY,i=void 0===r?0:r,o=new Date-this.touchStartTime;n<10&&i<10&&o<250&&(this.doubleTapTimer?(clearTimeout(this.doubleTapTimer),this.doubleTapTimer=null,this.toggleScale()):this.doubleTapTimer=setTimeout((function(){t.$emit("close"),t.doubleTapTimer=null}),250))},onLoad:function(t){var e=t.target,n=e.naturalWidth,r=e.naturalHeight;this.imageRatio=r/n}},render:function(){var t=arguments[0],e={loading:function(){return t(pt,{attrs:{type:"spinner"}})}};return t(fo,{class:io("swipe-item")},[t(eo,{attrs:{src:this.src,fit:"contain"},class:io("image",{vertical:this.vertical}),style:this.imageStyle,scopedSlots:e,on:{load:this.onLoad}})])}},mo=ro({mixins:[j,$({skipToggleEvent:!0}),U((function(t){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0)}))],props:{className:null,closeable:Boolean,asyncClose:Boolean,showIndicators:Boolean,images:{type:Array,default:function(){return[]}},loop:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},minZoom:{type:[Number,String],default:1/3},maxZoom:{type:[Number,String],default:3},transition:{type:String,default:"zt-fade"},showIndex:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:300},startPosition:{type:[Number,String],default:0},overlayClass:{type:String,default:io("overlay")},closeIcon:{type:String,default:"clear"},closeOnPopstate:{type:Boolean,default:!0},closeIconPosition:{type:String,default:"top-right"}},data:function(){return{active:0,rootWidth:0,rootHeight:0,doubleClickTimer:null}},mounted:function(){this.resize()},watch:{startPosition:"setActive",value:function(t){var e=this;t?(this.setActive(+this.startPosition),this.$nextTick((function(){e.resize(),e.$refs.swipe.swipeTo(+e.startPosition,{immediate:!0})}))):this.$emit("close",this.images[this.active],this.active)}},methods:{resize:function(){if(this.$el&&this.$el.getBoundingClientRect){var t=this.$el.getBoundingClientRect();this.rootWidth=t.width,this.rootHeight=t.height}},emitClose:function(){this.asyncClose||this.$emit("input",!1)},emitScale:function(t){this.$emit("scale",t)},setActive:function(t){t!==this.active&&(this.active=t,this.$emit("change",t))},genIndex:function(){var t=this.$createElement;if(this.showIndex)return t("div",{class:io("index")},[this.slots("index",{index:this.active})||this.active+1+" / "+this.images.length])},genCover:function(){var t=this.$createElement,e=this.slots("cover");if(e)return t("div",{class:io("cover")},[e])},genImages:function(){var t=this,e=this.$createElement;return e(lo,{ref:"swipe",attrs:{lazyRender:!0,loop:this.loop,duration:this.swipeDuration,initialSwipe:this.startPosition,showIndicators:this.showIndicators,indicatorColor:"white"},class:io("swipe"),on:{change:this.setActive}},[this.images.map((function(n){return e(go,{attrs:{src:n.url,show:t.value,active:t.active,maxZoom:t.maxZoom,minZoom:t.minZoom,rootWidth:t.rootWidth,rootHeight:t.rootHeight},on:{scale:t.emitScale,close:t.emitClose}})}))])},genClose:function(){var t=this.$createElement;if(this.closeable)return t(nt,{attrs:{role:"button",name:this.closeIcon},class:io("close-icon",this.closeIconPosition),on:{click:this.emitClose}})},onClosed:function(){this.$emit("closed")},swipeTo:function(t,e){this.$refs.swipe&&this.$refs.swipe.swipeTo(t,e)},genTitle:function(){return(0,this.$createElement)("div",{class:io("title")},[this.images[this.active]?this.images[this.active].title:""])}},render:function(){var t=arguments[0];return t("transition",{attrs:{name:this.transition},on:{afterLeave:this.onClosed}},[this.shouldRender?t("div",{directives:[{name:"show",value:this.value}],class:[io(),this.className]},[this.genClose(),this.genImages(),this.genIndex(),this.genCover(),this.genTitle()]):null])}}),yo={loop:!0,value:!0,images:[],maxZoom:3,minZoom:1/3,onClose:null,onChange:null,className:"",showIndex:!0,closeable:!1,closeIcon:"clear",asyncClose:!1,transition:"zt-fade",getContainer:"body",startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"},bo=function(t,e){if(void 0===e&&(e=0),!l.i){vo||(vo=new(s.a.extend(mo))({el:document.createElement("div")}),document.body.appendChild(vo.$el),vo.$on("change",(function(t){vo.onChange&&vo.onChange(t)})),vo.$on("scale",(function(t){vo.onScale&&vo.onScale(t)})));var n=Array.isArray(t)?{images:t,startPosition:e}:t;return r(vo,yo,n),vo.$once("input",(function(t){vo.value=t})),vo.$once("closed",(function(){vo.images=[]})),n.onClose&&(vo.$off("close"),vo.$once("close",n.onClose)),vo}};bo.Component=mo,bo.install=function(){s.a.use(mo)};var Co=bo,wo=Object(l.b)("index-anchor"),_o=wo[0],xo=wo[1],Ao=_o({mixins:[nn("ztIndexBar",{indexKey:"childrenIndex"})],props:{index:[Number,String]},data:function(){return{top:0,left:null,rect:{top:0,height:0},width:null,active:!1}},computed:{sticky:function(){return this.active&&this.parent.sticky},anchorStyle:function(){if(this.sticky)return{zIndex:""+this.parent.zIndex,left:this.left?this.left+"px":null,width:this.width?this.width+"px":null,transform:"translate3d(0, "+this.top+"px, 0)",color:this.parent.highlightColor}}},mounted:function(){var t=this.$el.getBoundingClientRect();this.rect.height=t.height},methods:{scrollIntoView:function(){this.$el.scrollIntoView()},getRect:function(t,e){var n=this.$el.getBoundingClientRect();return this.rect.height=n.height,t===window||t===document.body?this.rect.top=n.top+D():this.rect.top=n.top+I(t)-e.top,this.rect}},render:function(){var t=arguments[0],e=this.sticky;return t("div",{style:{height:e?this.rect.height+"px":null}},[t("div",{style:this.anchorStyle,class:[xo({sticky:e}),fe]},[t("div",{class:xo("anchor-icon")}),this.slots("default")||this.index])])}}),So={render:function(){var t,e=arguments[0];return e("svg",{attrs:(t={xmlns:"http://www.w3.org/2000/svg"},t.xmlns="http://www.w3.org/1999/xlink",t.width="38px",t.height="32px",t.viewBox="0 0 38 32",t.version="1.1",t)},[e("g",{attrs:{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","fill-opacity":"0.4"}},[e("g",{attrs:{transform:"translate(-313.000000, -921.000000)",fill:"#000000"}},[e("g",{attrs:{transform:"translate(0.000000, 811.000000)"}},[e("g",{attrs:{transform:"translate(313.000000, 110.000000)"}},[e("g",{attrs:{transform:"translate(0.000000, -0.000000)"}},[e("path",{attrs:{d:"M37.2132034,14.5857864 C37.994252,15.366835 37.994252,16.633165 37.2132034,17.4142136 L27.3137085,27.3137085 C21.0653198,33.5620972 10.9346802,33.5620972 4.6862915,27.3137085 C-1.56209717,21.0653198 -1.56209717,10.9346802 4.6862915,4.6862915 C10.847897,-1.47531399 20.7846621,-1.56089184 27.0511331,4.42955794 L27.3137085,4.6862915 L37.2132034,14.5857864 Z"}})])])])])])])}};var ko=Object(l.b)("index-bar"),Po=ko[0],Lo=ko[1],To=Po({mixins:[j,rn("ztIndexBar"),U((function(t){this.scroller||(this.scroller=R(this.$el)),t(this.scroller,"scroll",this.onScroll)}))],props:{zIndex:[Number,String],highlightColor:String,sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:Number,default:0},indexList:{type:Array,default:function(){for(var t=[],e="A".charCodeAt(0),n=0;n<26;n++)t.push(String.fromCharCode(e+n));return t}}},data:function(){return{activeAnchorIndex:null,touchAnchorIndex:null}},computed:{sidebarStyle:function(){if(Object(l.e)(this.zIndex))return{zIndex:this.zIndex+1}},highlightStyle:function(){var t=this.highlightColor;if(t)return{color:t}}},watch:{indexList:function(){this.$nextTick(this.onScroll)},activeAnchorIndex:function(t){t&&this.$emit("change",t)}},methods:{onScroll:function(){var t=this;if(!cn(this.$el)){var e=I(this.scroller),n=this.getScrollerRect(),r=this.children.map((function(e){return e.getRect(t.scroller,n)})),i=this.getActiveAnchorIndex(e,r);this.activeAnchorIndex=this.indexList[i],this.touchAnchorIndex&&this.touchAnchorIndex!==this.activeAnchorIndex&&(this.touchAnchorIndex=this.activeAnchorIndex),this.sticky&&this.children.forEach((function(o,a){if(a===i||a===i-1){var s=o.$el.getBoundingClientRect();o.left=s.left,o.width=s.width}else o.left=null,o.width=null;if(a===i)o.active=!0,o.top=Math.max(t.stickyOffsetTop,r[a].top-e)+n.top;else if(a===i-1){var l=r[i].top-e;o.active=l>0,o.top=l+n.top-r[a].height}else o.active=!1}))}},getScrollerRect:function(){return this.scroller.getBoundingClientRect?this.scroller.getBoundingClientRect():{top:0,left:0}},getActiveAnchorIndex:function(t,e){for(var n=this.children.length-1;n>=0;n--){var r=n>0?e[n-1].height:0;if(t+(this.sticky?r+this.stickyOffsetTop:0)>=e[n].top)return n}return-1},onClick:function(t){this.scrollToElement(t.target)},onTouchMove:function(t){if(this.touchMove(t),"vertical"===this.direction){b(t);var e=t.touches[0],n=e.clientX,r=e.clientY,i=document.elementFromPoint(n,r);if(i){var o=i.dataset.index;this.touchActiveIndex!==o&&(this.touchActiveIndex=o,this.scrollToElement(i))}}},scrollTo:function(t){var e=this.children.filter((function(e){return String(e.index)===t}));e[0]&&(e[0].scrollIntoView(),this.sticky&&this.stickyOffsetTop&&B(D()-this.stickyOffsetTop),this.$emit("select",e[0].index))},scrollToElement:function(t){var e=t.dataset.index;this.scrollTo(e)},onTouchStart:function(t){this.touchStart(t);var e=t.target.dataset.index;this.touchAnchorIndex=e},onTouchEnd:function(){var t=this;setTimeout((function(){t.touchAnchorIndex=null}),300),this.active=null},genIndicateImageContent:function(){return(0,this.$createElement)(So,{class:Lo("indicate-image")})}},render:function(){var t=this,e=arguments[0],n=this.indexList.map((function(n){var r=n===t.activeAnchorIndex,i=n===t.touchAnchorIndex;return e("div",{class:Lo("index-root")},[e("div",{directives:[{name:"show",value:i}],class:Lo("indicate")},[t.genIndicateImageContent(),e("div",{class:Lo("indicate-txt")},[n])]),e("div",{class:Lo("index",{active:r,touch:i}),style:r?t.highlightStyle:null,attrs:{"data-index":n}},[n])])}));return e("div",{class:Lo()},[e("div",{class:Lo("sidebar"),style:this.sidebarStyle,on:{click:this.onClick,touchstart:this.onTouchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[n]),this.slots("default")])}}),Oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Eo=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Fo=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Ro=function(t){return null==t||"function"!=typeof t&&"object"!==(void 0===t?"undefined":Oo(t))},Io=Object.prototype.toString,Mo=function(t){var e=void 0===t?"undefined":Oo(t);return"undefined"===e?"undefined":null===t?"null":!0===t||!1===t||t instanceof Boolean?"boolean":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?void 0!==t.constructor.name&&"Generator"===t.constructor.name.slice(0,9)?"generatorfunction":"function":void 0!==Array.isArray&&Array.isArray(t)?"array":t instanceof RegExp?"regexp":t instanceof Date?"date":"[object RegExp]"===(e=Io.call(t))?"regexp":"[object Date]"===e?"date":"[object Arguments]"===e?"arguments":"[object Error]"===e?"error":"[object Promise]"===e?"promise":function(t){return t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}(t)?"buffer":"[object Set]"===e?"set":"[object WeakSet]"===e?"weakset":"[object Map]"===e?"map":"[object WeakMap]"===e?"weakmap":"[object Symbol]"===e?"symbol":"[object Map Iterator]"===e?"mapiterator":"[object Set Iterator]"===e?"setiterator":"[object String Iterator]"===e?"stringiterator":"[object Array Iterator]"===e?"arrayiterator":"[object Int8Array]"===e?"int8array":"[object Uint8Array]"===e?"uint8array":"[object Uint8ClampedArray]"===e?"uint8clampedarray":"[object Int16Array]"===e?"int16array":"[object Uint16Array]"===e?"uint16array":"[object Int32Array]"===e?"int32array":"[object Uint32Array]"===e?"uint32array":"[object Float32Array]"===e?"float32array":"[object Float64Array]"===e?"float64array":"object"};function Do(t){t=t||{};var e=arguments.length,n=0;if(1===e)return t;for(;++n<e;){var r=arguments[n];Ro(t)&&(t=r),No(r)&&Bo(t,r)}return t}function Bo(t,e){for(var n in function(t,e){if(null==t)throw new TypeError("expected first argument to be an object.");if(void 0===e||"undefined"==typeof Symbol)return t;if("function"!=typeof Object.getOwnPropertySymbols)return t;for(var n=Object.prototype.propertyIsEnumerable,r=Object(t),i=arguments.length,o=0;++o<i;)for(var a=Object(arguments[o]),s=Object.getOwnPropertySymbols(a),l=0;l<s.length;l++){var u=s[l];n.call(a,u)&&(r[u]=a[u])}}(t,e),e)if("__proto__"!==n&&jo(e,n)){var r=e[n];No(r)?("undefined"===Mo(t[n])&&"function"===Mo(r)&&(t[n]=r),t[n]=Do(t[n]||{},r)):t[n]=r}return t}function No(t){return"object"===Mo(t)||"function"===Mo(t)}function jo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var zo=Do,Ho="undefined"!=typeof window,Uo=function(){if(Ho&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}),!0;return!1}();var Vo="event",Wo="observer",$o=function(){if(Ho)return"function"==typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t);function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}}();function qo(t,e){if(t.length){var n=t.indexOf(e);return n>-1?t.splice(n,1):void 0}}function Go(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var n=t.getAttribute("data-srcset"),r=[],i=t.parentNode.offsetWidth*e,o=void 0,a=void 0,s=void 0;(n=n.trim().split(",")).map((function(t){t=t.trim(),-1===(o=t.lastIndexOf(" "))?(a=t,s=999998):(a=t.substr(0,o),s=parseInt(t.substr(o+1,t.length-o-2),10)),r.push([s,a])})),r.sort((function(t,e){if(t[0]<e[0])return 1;if(t[0]>e[0])return-1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0}));for(var l="",u=void 0,c=0;c<r.length;c++){l=(u=r[c])[1];var h=r[c+1];if(h&&h[0]<i){l=u[1];break}if(!h){l=u[1];break}}return l}}function Yo(t,e){for(var n=void 0,r=0,i=t.length;r<i;r++)if(e(t[r])){n=t[r];break}return n}var Zo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return Ho&&window.devicePixelRatio||t};function Xo(){if(!Ho)return!1;var t=!0,e=document;try{var n=e.createElement("object");n.type="image/webp",n.style.visibility="hidden",n.innerHTML="!",e.body.appendChild(n),t=!n.offsetWidth,e.body.removeChild(n)}catch(e){t=!1}return t}var Ko=function(){if(Ho){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),Qo={on:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Ko?t.addEventListener(e,n,{capture:r,passive:!0}):t.addEventListener(e,n,r)},off:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,n,r)}},Jo=function(t,e,n){var r=new Image;if(!t||!t.src){var i=new Error("image src is required");return n(i)}r.src=t.src,r.onload=function(){e({naturalHeight:r.naturalHeight,naturalWidth:r.naturalWidth,src:r.src})},r.onerror=function(t){n(t)}},ta=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},ea=function(t){return ta(t,"overflow")+ta(t,"overflow-y")+ta(t,"overflow-x")};function na(){}var ra,ia,oa,aa=function(){function t(e){var n=e.max;Eo(this,t),this.options={max:n||100},this._caches=[]}return Fo(t,[{key:"has",value:function(t){return this._caches.indexOf(t)>-1}},{key:"add",value:function(t){this.has(t)||(this._caches.push(t),this._caches.length>this.options.max&&this.free())}},{key:"free",value:function(){this._caches.shift()}}]),t}(),sa=function(){function t(e){var n=e.el,r=e.src,i=e.error,o=e.loading,a=e.bindType,s=e.$parent,l=e.options,u=e.elRenderer,c=e.imageCache;Eo(this,t),this.el=n,this.src=r,this.error=i,this.loading=o,this.bindType=a,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=l,this.rect=null,this.$parent=s,this.elRenderer=u,this._imageCache=c,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return Fo(t,[{key:"initState",value:function(){"dataset"in this.el?this.el.dataset.src=this.src:this.el.setAttribute("data-src",this.src),this.state={loading:!1,error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,n=t.loading,r=t.error,i=this.src;this.src=e,this.loading=n,this.error=r,this.filter(),i!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var t=this;(function(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e})(this.options.filter).map((function(e){t.options.filter[e](t,t.options)}))}},{key:"renderLoading",value:function(t){var e=this;this.state.loading=!0,Jo({src:this.loading},(function(n){e.render("loading",!1),e.state.loading=!1,t()}),(function(){t(),e.state.loading=!1,e.options.silent||console.warn("VueLazyload log: load failed with loading image("+e.loading+")")}))}},{key:"load",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:na;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times"),void e()):this.state.rendered&&this.state.loaded?void 0:this._imageCache.has(this.src)?(this.state.loaded=!0,this.render("loaded",!0),this.state.rendered=!0,e()):void this.renderLoading((function(){t.attempt++,t.options.adapter.beforeLoad&&t.options.adapter.beforeLoad(t,t.options),t.record("loadStart"),Jo({src:t.src},(function(n){t.naturalHeight=n.naturalHeight,t.naturalWidth=n.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),t.state.rendered=!0,t._imageCache.add(t.src),e()}),(function(e){!t.options.silent&&console.error(e),t.state.error=!0,t.state.loaded=!1,t.render("error",!1)}))}))}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"$destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),la="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ua=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],ca={rootMargin:"0px",threshold:0},ha=function(t){return function(){function e(t){var n,r,i,o,a=t.preLoad,s=t.error,l=t.throttleWait,u=t.preLoadTop,c=t.dispatchEvent,h=t.loading,f=t.attempt,d=t.silent,p=void 0===d||d,v=t.scale,g=t.listenEvents,m=(t.hasbind,t.filter),y=t.adapter,b=t.observer,C=t.observerOptions;Eo(this,e),this.version="1.3.3",this.mode=Vo,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:p,dispatchEvent:!!c,throttleWait:l||200,preLoad:a||1.3,preLoadTop:u||0,error:s||la,loading:h||la,attempt:f||3,scale:v||Zo(v),ListenEvents:g||ua,hasbind:!1,supportWebp:Xo(),filter:m||{},adapter:y||{},observer:!!b,observerOptions:C||ca},this._initEvent(),this._imageCache=new aa({max:200}),this.lazyLoadHandler=(n=this._lazyLoadHandler.bind(this),r=this.options.throttleWait,i=null,o=0,function(){if(!i){var t=Date.now()-o,e=this,a=arguments,s=function(){o=Date.now(),i=!1,n.apply(e,a)};t>=r?s():i=setTimeout(s,r)}}),this.setMode(this.options.observer?Wo:Vo)}return Fo(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};zo(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map((function(e){t.push(e.performance())})),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),Ho&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(e,n,r){var i=this;if(function(t,e){for(var n=!1,r=0,i=t.length;r<i;r++)if(e(t[r])){n=!0;break}return n}(this.ListenerQueue,(function(t){return t.el===e})))return this.update(e,n),t.nextTick(this.lazyLoadHandler);var o=this._valueFormatter(n.value),a=o.src,s=o.loading,l=o.error;t.nextTick((function(){a=Go(e,i.options.scale)||a,i._observer&&i._observer.observe(e);var o=Object.keys(n.modifiers)[0],u=void 0;o&&(u=(u=r.context.$refs[o])?u.$el||u:document.getElementById(o)),u||(u=function(t){if(Ho){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(ea(e)))return e;e=e.parentNode}return window}}(e));var c=new sa({bindType:n.arg,$parent:u,el:e,loading:s,error:l,src:a,elRenderer:i._elRenderer.bind(i),options:i.options,imageCache:i._imageCache});i.ListenerQueue.push(c),Ho&&(i._addListenerTarget(window),i._addListenerTarget(u)),i.lazyLoadHandler(),t.nextTick((function(){return i.lazyLoadHandler()}))}))}},{key:"update",value:function(e,n,r){var i=this,o=this._valueFormatter(n.value),a=o.src,s=o.loading,l=o.error;a=Go(e,this.options.scale)||a;var u=Yo(this.ListenerQueue,(function(t){return t.el===e}));u?u.update({src:a,loading:s,error:l}):this.add(e,n,r),this._observer&&(this._observer.unobserve(e),this._observer.observe(e)),this.lazyLoadHandler(),t.nextTick((function(){return i.lazyLoadHandler()}))}},{key:"remove",value:function(t){if(t){this._observer&&this._observer.unobserve(t);var e=Yo(this.ListenerQueue,(function(e){return e.el===t}));e&&(this._removeListenerTarget(e.$parent),this._removeListenerTarget(window),qo(this.ListenerQueue,e),e.$destroy())}}},{key:"removeComponent",value:function(t){t&&(qo(this.ListenerQueue,t),this._observer&&this._observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this._removeListenerTarget(t.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(t){var e=this;Uo||t!==Wo||(t=Vo),this.mode=t,t===Vo?(this._observer&&(this.ListenerQueue.forEach((function(t){e._observer.unobserve(t.el)})),this._observer=null),this.TargetQueue.forEach((function(t){e._initListen(t.el,!0)}))):(this.TargetQueue.forEach((function(t){e._initListen(t.el,!1)})),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(t){if(t){var e=Yo(this.TargetQueue,(function(e){return e.el===t}));return e?e.childrenCount++:(e={el:t,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===Vo&&this._initListen(e.el,!0),this.TargetQueue.push(e)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(t){var e=this;this.TargetQueue.forEach((function(n,r){n.el===t&&(n.childrenCount--,n.childrenCount||(e._initListen(n.el,!1),e.TargetQueue.splice(r,1),n=null))}))}},{key:"_initListen",value:function(t,e){var n=this;this.options.ListenEvents.forEach((function(r){return Qo[e?"on":"off"](t,r,n.lazyLoadHandler)}))}},{key:"_initEvent",value:function(){var t=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(e,n){t.Event.listeners[e]||(t.Event.listeners[e]=[]),t.Event.listeners[e].push(n)},this.$once=function(e,n){var r=t;t.$on(e,(function t(){r.$off(e,t),n.apply(r,arguments)}))},this.$off=function(e,n){if(n)qo(t.Event.listeners[e],n);else{if(!t.Event.listeners[e])return;t.Event.listeners[e].length=0}},this.$emit=function(e,n,r){t.Event.listeners[e]&&t.Event.listeners[e].forEach((function(t){return t(n,r)}))}}},{key:"_lazyLoadHandler",value:function(){var t=this,e=[];this.ListenerQueue.forEach((function(t,n){t.el&&t.el.parentNode||e.push(t),t.checkInView()&&t.load()})),e.forEach((function(e){qo(t.ListenerQueue,e),e.$destroy()}))}},{key:"_initIntersectionObserver",value:function(){var t=this;Uo&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach((function(e){t._observer.observe(e.el)})))}},{key:"_observerHandler",value:function(t,e){var n=this;t.forEach((function(t){t.isIntersecting&&n.ListenerQueue.forEach((function(e){if(e.el===t.target){if(e.state.loaded)return n._observer.unobserve(e.el);e.load()}}))}))}},{key:"_elRenderer",value:function(t,e,n){if(t.el){var r=t.el,i=t.bindType,o=void 0;switch(e){case"loading":o=t.loading;break;case"error":o=t.error;break;default:o=t.src}if(i?r.style[i]='url("'+o+'")':r.getAttribute("src")!==o&&r.setAttribute("src",o),r.setAttribute("lazy",e),this.$emit(e,t,n),this.options.adapter[e]&&this.options.adapter[e](t,this.options),this.options.dispatchEvent){var a=new $o(e,{detail:t});r.dispatchEvent(a)}}}},{key:"_valueFormatter",value:function(t){var e,n=t,r=this.options.loading,i=this.options.error;return null!==(e=t)&&"object"===(void 0===e?"undefined":Oo(e))&&(t.src||this.options.silent||console.error("Vue Lazyload warning: miss src with "+t),n=t.src,r=t.loading||this.options.loading,i=t.error||this.options.error),{src:n,loading:r,error:i}}}]),e}()},fa=function(t){return{props:{tag:{type:String,default:"div"}},render:function(t){return!1===this.show?t(this.tag):t(this.tag,null,this.$slots.default)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeDestroy:function(){t.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),Ho&&this.rect.top<window.innerHeight*t.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*t.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)},destroy:function(){return this.$destroy}}}},da=function(){function t(e){var n=e.lazy;Eo(this,t),this.lazy=n,n.lazyContainerMananger=this,this._queue=[]}return Fo(t,[{key:"bind",value:function(t,e,n){var r=new va({el:t,binding:e,vnode:n,lazy:this.lazy});this._queue.push(r)}},{key:"update",value:function(t,e,n){var r=Yo(this._queue,(function(e){return e.el===t}));r&&r.update({el:t,binding:e,vnode:n})}},{key:"unbind",value:function(t,e,n){var r=Yo(this._queue,(function(e){return e.el===t}));r&&(r.clear(),qo(this._queue,r))}}]),t}(),pa={selector:"img"},va=function(){function t(e){var n=e.el,r=e.binding,i=e.vnode,o=e.lazy;Eo(this,t),this.el=null,this.vnode=i,this.binding=r,this.options={},this.lazy=o,this._queue=[],this.update({el:n,binding:r})}return Fo(t,[{key:"update",value:function(t){var e=this,n=t.el,r=t.binding;this.el=n,this.options=zo({},pa,r.value),this.getImgs().forEach((function(t){e.lazy.add(t,zo({},e.binding,{value:{src:"dataset"in t?t.dataset.src:t.getAttribute("data-src"),error:("dataset"in t?t.dataset.error:t.getAttribute("data-error"))||e.options.error,loading:("dataset"in t?t.dataset.loading:t.getAttribute("data-loading"))||e.options.loading}}),e.vnode)}))}},{key:"getImgs",value:function(){return function(t){for(var e=t.length,n=[],r=0;r<e;r++)n.push(t[r]);return n}(this.el.querySelectorAll(this.options.selector))}},{key:"clear",value:function(){var t=this;this.getImgs().forEach((function(e){return t.lazy.remove(e)})),this.vnode=null,this.binding=null,this.lazy=null}}]),t}(),ga=function(t){return{props:{src:[String,Object],tag:{type:String,default:"img"}},render:function(t){return t(this.tag,{attrs:{src:this.renderSrc}},this.$slots.default)},data:function(){return{el:null,options:{src:"",error:"",loading:"",attempt:t.options.attempt},state:{loaded:!1,error:!1,attempt:0},rect:{},renderSrc:""}},watch:{src:function(){this.init(),t.addLazyBox(this),t.lazyLoadHandler()}},created:function(){this.init(),this.renderSrc=this.options.loading},mounted:function(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeDestroy:function(){t.removeComponent(this)},methods:{init:function(){var e=t._valueFormatter(this.src),n=e.src,r=e.loading,i=e.error;this.state.loaded=!1,this.options.src=n,this.options.error=i,this.options.loading=r,this.renderSrc=this.options.loading},getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),Ho&&this.rect.top<window.innerHeight*t.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*t.options.preLoad&&this.rect.right>0},load:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:na;if(this.state.attempt>this.options.attempt-1&&this.state.error)return t.options.silent||console.log("VueLazyload log: "+this.options.src+" tried too more than "+this.options.attempt+" times"),void n();var r=this.options.src;Jo({src:r},(function(t){var n=t.src;e.renderSrc=n,e.state.loaded=!0}),(function(t){e.state.attempt++,e.renderSrc=e.options.error,e.state.error=!0}))}}}},ma={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ha(t),r=new n(e),i=new da({lazy:r}),o="2"===t.version.split(".")[0];t.prototype.$Lazyload=r,e.lazyComponent&&t.component("lazy-component",fa(r)),e.lazyImage&&t.component("lazy-image",ga(r)),o?(t.directive("lazy",{bind:r.add.bind(r),update:r.update.bind(r),componentUpdated:r.lazyLoadHandler.bind(r),unbind:r.remove.bind(r)}),t.directive("lazy-container",{bind:i.bind.bind(i),componentUpdated:i.update.bind(i),unbind:i.unbind.bind(i)})):(t.directive("lazy",{bind:r.lazyLoadHandler.bind(r),update:function(t,e){zo(this.vm.$refs,this.vm.$els),r.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){r.remove(this.el)}}),t.directive("lazy-container",{update:function(t,e){i.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){i.unbind(this.el)}}))}},ya=Object(l.b)("list"),ba=ya[0],Ca=ya[1],wa=ya[2],_a=ba({mixins:[U((function(t){this.scroller||(this.scroller=R(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e,n=t.$el,r=t.scroller,i=t.offset,o=t.direction;if(!((e=r.getBoundingClientRect?r.getBoundingClientRect():{top:0,bottom:r.innerHeight}).bottom-e.top)||cn(n))return!1;var a=t.$refs.placeholder.getBoundingClientRect();("up"===o?e.top-a.top<=i:a.bottom-e.bottom<=i)&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{key:"loading",class:Ca("loading")},[this.slots("loading")||t(pt,{attrs:{size:"16"}},[this.loadingText||wa("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t(Fn,{style:{padding:"0 16px"},class:Ca("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:Ca("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:Ca("placeholder")});return t("div",{class:Ca(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}}),xa=n(8);function Aa(t,e){var n=Object.prototype.toString.call(t).replace(/\[object (\w+)\]/,"$1").toLowerCase();return e?n===e:n}function Sa(t){return function(t){return Aa(t,"undefined")}(t)||function(t){return Aa(t,"null")}(t)}function ka(t){return Aa(t,"string")}function Pa(t){return!!Aa(t,"string")&&""!==t}function La(t){return Aa(t,"regexp")}function Ta(t,e){var n=parseInt(t,10);return isNaN(n)&&(n=e||0),n}function Oa(t,e){var n=parseFloat(t);return isNaN(n)&&(n=e||0),n}!function(t){t.UPLOADING="uploading",t.DONE="done",t.FAILED="failed"}(ra||(ra={})),function(t){t.PHOTO="photo",t.AUDIO="audio",t.VIDEO="video",t.FILE="file"}(ia||(ia={})),function(t){t.TAKE="take",t.PICK="pick",t.TAKE_AND_PICK="take_and_pick"}(oa||(oa={}));var Ea="HH:mm",Fa="yyyy-MM-dd",Ra="yyyy-MM-dd HH:mm:ss",Ia=function(t){return t<10?"0"+t:t+""};function Ma(t){return Sa(t)?null:"number"==typeof t?new Date(t):"string"==typeof t?(7===(t=t.replace(/-/g,"/")).length&&(t+="/01"),new Date(t)):Aa(t,"date")?t:null}function Da(t,e){void 0===e&&(e=Ra);var n=Ma(t);if(n){n.getFullYear();var r=e.replace("yyyy",Ia(n.getFullYear()));return r=(r=(r=(r=(r=(r=(r=r.replace("yy",String(n.getFullYear()).substring(2))).replace("MM",Ia(n.getMonth()+1))).replace("dd",Ia(n.getDate()))).replace("HH",Ia(n.getHours()))).replace("mm",Ia(n.getMinutes()))).replace("ss",Ia(n.getSeconds()))).replace("msms",Ia(n.getMilliseconds()))}return null}var Ba,Na,ja=function(t,e){this.x=t,this.y=e},za=function(t,e){this.width=t,this.height=e},Ha=function(t,e,n){return Math.min(Math.max(t,e),n)},Ua=function(t,e,n){return Sa(n)?t.substring(e):t.substring(e,e+n)};!function(t){t.LeftTop="lefttop",t.CenterTop="centertop",t.RightTop="righttop",t.LeftCenter="leftcenter",t.Center="center",t.RightCenter="rightcenter",t.LeftBottom="leftbottom",t.CenterBottom="centerbottom",t.RightBottom="rightbottom"}(Ba||(Ba={})),function(t){t.Normal="normal",t.Bold="bold"}(Na||(Na={}));var Va;!function(t){t.Raw="",t.Date="date{(.*?)}|date",t.Time="time",t.Address="address",t.HumanName="humanname",t.ProjectName="projectName",t.Logo="{logo}"}(Va||(Va={}));var Wa={transparent:"#00000000",white:"#FFFFFF",black:"#000000",darkgray:"#444444",gray:"#888888",lightgray:"#CCCCCC",darkgrey:"#444444",grey:"#888888",lightgrey:"#CCCCCC",red:"#FF0000",green:"#00FF00",blue:"#0000FF",yellow:"#FFFF00",cyan:"#00FFFF",magenta:"#FF00FF",aqua:"#00FFFF",fuchsia:"#FF00FF",lime:"#00FF00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",silver:"#C0C0C0",teal:"#008080",orange:"#FF9933"};function $a(t){for(var e=0,n=Object.getOwnPropertyNames(Wa);e<n.length;e++){var r=n[e];if(r===t)return Wa[r]}return null}var qa=function(t,e,n,r,i,o,a,s,l,u,c){this.fontName=t,this.fontWeight=e,this.fontColor=n,this.fontSize=r,this.backgroundColor=i,this.backgroundOpacity=o,this.paddingTop=a,this.paddingBottom=s,this.position=l,this.scale=u,this.simplified=c},Ga=function(t,e){this.content=t,this.style=e},Ya=function(t){this.address=t.address,this.watermarkTime=t.watermarkTime,this.humanName=t.humanName,this.projectName=t.projectName,this.logo=t.logo},Za=function(t){this.enabled=t.enabled,this.watermarkConfigString=t.watermarkConfigString,this.context=t.context};function Xa(t,e){if(!Pa(t))return null;var n=t.split("$");if(n.length<=0)return null;var r=Math.min(e.width,e.height)/480;if(-1!==Ta(n[0],-1)){var i=Math.round(Oa(n[0],25)*r),o=Ba.LeftTop;n[1]&&(o=n[1]);var a=2*r,s=2*r;if(n[2])a=Ta((v=n[2].split("_"))[0],2)*r,v[1]&&(s=Ta(v[1],2)*r);var l=Ja(),u=Na.Normal;return new qa(l,u,c=Wa.transparent,i,f=Wa.transparent,d=128,a,s,o,r,!0)}l=n[0]+", "+Ja(),u=Na.Normal;n[1]&&(u=n[1]);var c=Wa.white;n[2]&&(h=$a(n[2]))&&(c=h);i=Math.round(25*r);n[3]&&(i=Math.round(Oa(n[3],25)*r));var h,f=Wa.blue;n[4]&&(h=$a(n[4]))&&(f=h);o=Ba.LeftTop;n[5]&&(o=n[5]);var d=255;if(n[6]){var p=Ta(n[6],128);d=p=Ha(p,0,255)}var v;a=2*r,s=2*r;return n[7]&&(a=Ta((v=n[7].split("_"))[0],2)*r,v[1]&&(s=Ta(v[1],2)*r)),new qa(l,u,c,i,f,d,a,s,o,r,!1)}var Ka=function(){function t(t){this.text=t,this.cursor=0}return t.prototype.hasNext=function(t){if(Sa(t))return this.cursor<this.text.length;if(ka(t)){var e=t;if(Ua(this.text,this.cursor,e.length)===e)return!0}else if(La(t)){var n=t,r=Ua(this.text,this.cursor).match(n);if(r&&0===r.index)return!0}return!1},t.prototype.next=function(t){if(Sa(t))return Ua(this.text,this.cursor,1);if(ka(t)){var e=t;if(Ua(this.text,this.cursor,e.length)===e)return e}else if(La(t)){var n=t,r=Ua(this.text,this.cursor).match(n);if(r&&0===r.index)return r}return null},t.prototype.skip=function(t){if(Sa(t))this.cursor+=1;else if(Pa(t)){var e=t;this.cursor+=e.length}return this},t}();function Qa(t,e){for(var n="",r=new Ka(t),i=0;r.hasNext()&&i<t.length;){var o=new RegExp(Va.Date);if(r.hasNext(o)){var a=r.next(o);if(a){var s=a,l=Fa;s&&s.length>=2&&Pa(s[1])&&(l=s[1]),n+=Da(e.watermarkTime,l),r.skip(s.input)}}else if(r.hasNext(Va.Time)){n+=Da(e.watermarkTime,Ea),r.skip(Va.Time)}else if(r.hasNext(Va.Address))n+=e.address,r.skip(Va.Address);else if(r.hasNext(Va.HumanName))n+=e.humanName,r.skip(Va.HumanName);else if(r.hasNext(Va.ProjectName))n+=e.projectName,r.skip(Va.ProjectName);else if(r.hasNext(Va.Logo))console.error("watermark logo ignored"),r.skip(Va.Logo);else{var u=r.next();ka(u)&&(n+=u),r.skip()}i++}return n}function Ja(){return/android/.test(navigator.userAgent.toLowerCase())?"'Roboto Black', 'Droid Sans'":/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())?"'PingFang SC Medium'":'"PingFang SC Medium", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif'}var ts,es=function(t,e,n,r,i,o){this.origin=t,this.size=e,this.lineHeight=n,this.lineWidths=r,this.lines=i,this.style=o};function ns(t,e,n){var r=new ja(0,0),i=new za(0,0),o=[],a=t.getContext("2d");if(!a)return null;a.font=n.fontWeight+" "+n.fontSize+"px "+n.fontName;for(var s=as(t,10),l=t.width-2*s,u=a.measureText("M").width,c=[],h="",f=0,d=0;d<e.length;d++){var p=a.measureText(h).width;p>=l&&(o.push(h),c.push(p),h=""),f=p,h+=e[d]}return o.push(h),c.push(f),i.width=l,i.height=o.length*u,new es(r,i,u,c,o,n)}function rs(t,e,n,r){var i=t.getContext("2d");if(i){i.textBaseline="top",i.font=r.fontWeight+" "+r.fontSize+"px "+r.fontName;var o=function(t,e,n){var r=12*n.scale,i=new ja(r,e.y);return n.position.startsWith("center")?i=new ja(t/2,e.y):n.position.startsWith("right")&&(i=new ja(t-r,e.y)),i}(t.width,n,r);if(i.textAlign=function(t){var e="left";return t.position.startsWith("center")?e="center":t.position.startsWith("right")&&(e="right"),e}(r),r.simplified){i.shadowBlur=4,i.shadowColor="rgba(0, 0, 0, 0.5)";var a=Ha(r.fontSize/40,2,4);i.shadowOffsetY=a,i.shadowOffsetX=a,i.fillStyle="rgba(255,255,255, 0.5)"}else i.fillStyle=r.fontColor;i.fillText(e,Math.round(o.x),Math.round(o.y))}}function is(t,e){var n=t.getContext("2d");if(n){var r=e.style.backgroundColor,i=Oa(String(e.style.backgroundOpacity),-1);i>255&&(i=255);var o,a,s,l,u;if("transparent"!==r){r.startsWith("#")&&i>=0&&(o=r,a=i/255,s=parseInt(o.slice(1,3),16),l=parseInt(o.slice(3,5),16),u=parseInt(o.slice(5,7),16),r=a?"rgba("+s+", "+l+", "+u+", "+a+")":"rgb("+s+", "+l+", "+u+")"),n.fillStyle=r;for(var c=e.style,h=12*c.scale,f=e.style.fontSize/25,d=0;d<e.lineWidths.length;d++){var p=e.lineHeight,v=e.lineWidths[d],g=30*f,m=10*f,y=new ja(h-m,e.origin.y);c.position.startsWith("center")?(m=20*f,g=20*f,y=new ja((t.width-v)/2-m,e.origin.y)):c.position.startsWith("right")&&(m=30*f,g=10*f,y=new ja(t.width-v-h-m,e.origin.y)),0===d&&n.fillRect(y.x,y.y-2>0?y.y-2:0,m+v+g,2),n.fillRect(y.x,y.y+d*p,m+v+g,p),d===e.lineWidths.length-1&&n.fillRect(y.x,y.y+(d+1)*p,m+v+g,10)}}}}function os(t,e){e.style.simplified||is(t,e);for(var n=0;n<e.lines.length;n++){var r=new ja(e.origin.x,n*e.lineHeight+e.origin.y);rs(t,e.lines[n],r,e.style)}}function as(t,e){return Math.min(t.width,t.height)/480*e}function ss(t,e,n){if(e&&0!==e.length){for(var r=[],i=0,o=0;o<e.length;o++){var a=e[o];(c=ns(t,a.content,a.style))&&(r.push(c),i+=c.size.height)}if(i<=0)return console.error("watermarks height "+i),void console.error(JSON.stringify(e));var s=as(t,10),l=new ja(s,s);n===ts.Center?l=new ja(s,Math.round((t.height-i)/2)):n===ts.Bottom?l=new ja(s,t.height-i-s):n===ts.Top&&(l=new ja(s,s));var u=0;for(o=0;o<r.length;o++){u+=(c=r[o]).style.paddingTop,c.origin=new ja(c.origin.x+l.x,u+l.y),u+=c.size.height,u+=c.style.paddingBottom}for(o=0;o<r.length;o++){var c;os(t,c=r[o])}}}function ls(t,e){if(!e.enabled||"no"===e.watermarkConfigString)return Promise.resolve(t);var n=e.watermarkConfigString;"default"===n&&(n="50$lefttop$50*#*time###25$lefttop*#*date");var r=function(t){for(var e,n=[],r=[],i=[],o=0;o<t.length;o++){var a=t[o];a.style.position.endsWith("top")?n.push(a):a.style.position.endsWith("center")?r.push(a):a.style.position.endsWith("bottom")&&i.push(a)}return(e={})[ts.Top]=n,e[ts.Center]=r,e[ts.Bottom]=i,e}(function(t,e,n){for(var r=[],i=t.split("###"),o=0;o<i.length;o++){var a=i[o].split("*#*");if(2===a.length){var s=a[0],l=a[1],u=Xa(s,e),c=Qa(l,n);if(u&&c){var h=new Ga(c,u);r.push(h)}}}return r}(n,new za(t.width,t.height),e.context));return ss(t,r[ts.Top],ts.Top),ss(t,r[ts.Center],ts.Center),ss(t,r[ts.Bottom],ts.Bottom),Promise.resolve(t)}function us(t){if(t.indexOf("{logo}")>-1)return console.error("水印不支持logo"),!1;for(var e=t.split("###"),n=0;n<e.length;n++){var r=e[n].split("*#*");if(2===r.length)if(r[0].split("$").length<=0)return console.error("水印配置不合法"),!1}return!0}function cs(t){return new Promise((function(e,n){var r=new FileReader;r.onload=function(t){t&&t.target?e(t.target.result):n(new Error("读取文件url失败"))},r.readAsDataURL(t)}))}function hs(t,e,n){var r=document.createElement("canvas");e||(e=t.width),n||(n=t.height),r.width=e,r.height=n;var i=r.getContext("2d");return i?(i.drawImage(t,0,0,e,n),Promise.resolve(r)):Promise.reject(null)}function fs(t,e,n,r,i){return void 0===r&&(r="image/jpeg"),void 0===i&&(i=.8),new Promise((function(o,a){t.toBlob((function(t){if(t){var i=new File([t],e,{lastModified:n,type:r});o(i)}else a(new Error("canvas文件导出失败"))}),r,i)}))}function ds(t,e){var n=e.imageWidth,r=void 0===n?-1:n,i=e.imageHeight,o=void 0===i?-1:i,a=(e.equalProportion,e.sideLengthLimit),s=void 0===a?640:a,l=e.baseOnShortSide,u=void 0===l||l,c=e.resultType,h=void 0===c?"image":c,f=1,d=u?Math.min:Math.max;if(r>0&&o>0)f=s/d(r,o);else{if(!(t.width>0&&t.height>0))return Promise.reject(new Error("image width/height 无效"));f=s/d(t.width,t.height),r=t.width,o=t.height}var p=r*f,v=o*f;return"image"===h?hs(t,p,v).then((function(t){return function(t,e,n){void 0===e&&(e="image/jpeg"),void 0===n&&(n=.8);var r=new Image;return r.src=t.toDataURL(e,n),Promise.resolve(r)}(t)})):hs(t,p,v)}!function(t){t.Top="top",t.Center="center",t.Bottom="bottom"}(ts||(ts={}));var ps=function(t){Sa(t)?this.maxSideLength=1920:(this.maxSideLength=t,this.maxSideLength>1920?this.maxSideLength=1920:this.maxSideLength<480&&(this.maxSideLength=480))},vs=function(t){Sa(t)?this.photoFileSizeLimit=1e3:this.photoFileSizeLimit=t},gs=function(){function t(t,e,n,r){this.file=t,this.resizeOptions=e,this.watermarkOptions=n,this.compressOptions=r}return t.prototype.process=function(){var t,e=this,n=this.file.name,r=this.file.lastModified;this.file.type;return(t=this.file,new Promise((function(e,n){cs(t).then((function(t){var r=new Image;r.src=t,r.onload=function(t){r.complete?e(r):n(new Error("文件加载失败"))}})).catch(n)}))).then((function(t){return ds(t,{sideLengthLimit:e.resizeOptions.maxSideLength,resultType:"canvas"})})).then((function(t){return ls(t,e.watermarkOptions)})).then((function(t){var i=n.replace(/\./g,"-")+".jpg";return e.compress(t,i,r,"image/jpeg",.8)}))},t.prototype.compress=function(t,e,n,r,i){var o=this;return fs(t,e,n,r,i).then((function(a){return a.size>1024*o.compressOptions.photoFileSizeLimit&&i-.05>.1?o.compress(t,e,n,r,i-.05):Promise.resolve(a)}))},t}(),ms={methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},on:{click:this.onClick}},[t("g",{attrs:{fill:"#000","fill-rule":"evenodd"}},[t("rect",{attrs:{opacity:".04317801",width:"48",height:"48",rx:"4"}}),t("path",{attrs:{d:"M33.9975267,12 C34.5511774,12 35.1438351,12.4315052 35.3169059,12.9507178 L36.333,15.999 L37.9982567,16 C39.103789,16 40,16.8982124 40,17.9907951 L40,34.0092049 C40,35.1086907 39.1107383,36 37.9982567,36 L10.0017433,36 C8.89621101,36 8,35.1017876 8,34.0092049 L8,17.9907951 C8,16.8913093 8.88926172,16 10.0017433,16 L21.666,15.999 L22.6830941,12.9507178 C22.8581164,12.4256509 23.455761,12 24.0024733,12 L33.9975267,12 Z M29,19 C25.1340068,19 22,22.1340068 22,26 C22,29.8659932 25.1340068,33 29,33 C32.8659932,33 36,29.8659932 36,26 C36,22.1340068 32.8659932,19 29,19 Z M14.5,18 L14.3546371,18.0068666 C13.5897719,18.0795513 13,18.7203039 13,19.5 C13,20.3342028 13.6715729,21 14.5,21 L14.5,21 L14.6453629,20.9931334 C15.4102281,20.9204487 16,20.2796961 16,19.5 L16,19.5 L15.9931334,19.3546371 C15.9204487,18.5897719 15.2796961,18 14.5,18 L14.5,18 Z","fill-opacity":".8"}}),t("path",{attrs:{d:"M29,21 C31.7614237,21 34,23.2385763 34,26 C34,28.7614237 31.7614237,31 29,31 C26.2385763,31 24,28.7614237 24,26 C24,23.2385763 26.2385763,21 29,21 Z M16.9970707,13 C17.5114088,13 17.9353182,13.3827202 17.9932526,13.8826674 L18,14 C18,14.5522847 17.5621186,15 16.9970707,15 L12.0029293,15 C11.4490268,15 11,14.5561352 11,14 C11,13.4477153 11.4378814,13 12.0029293,13 L16.9970707,13 Z","fill-opacity":".4"}})])])}},ys={methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},on:{click:this.onClick}},[t("g",{attrs:{fill:"#000","fill-rule":"evenodd"}},[t("rect",{attrs:{opacity:".04317801",width:"48",height:"48",rx:"4"}}),t("path",{attrs:{d:"M37.9982567,12 C39.103789,12 40,12.8970262 40,14.0049466 L40,33.9950534 C40,35.1023548 39.1107383,36 37.9982567,36 L37.764,35.999 L37.7634277,36 L10.8161621,36 L10.814,35.999 L10.0017433,36 C8.89621101,36 8,35.1029738 8,33.9950534 L8,14.0049466 C8,12.8976452 8.88926172,12 10.0017433,12 L37.9982567,12 Z M37.0034652,14 L10.9965348,14 C10.4398131,14 10,14.4440454 10,14.9918031 L10,14.9918031 L10,33.0081969 C10,33.0530776 10.0031223,33.0973902 10.0091668,33.1409155 L17.1114918,24.34032 C18.1544861,23.047797 19.8867064,22.9975446 20.9981014,24.247864 L27,31 L30.4453768,28.2436986 C31.3039715,27.5568228 32.7078383,27.5510237 33.578186,28.2285544 L37.999,31.669 L38,14.9918031 C38,14.4936268 37.6152975,14.0654579 37.1196822,14.0068326 L37.0034652,14 Z","fill-opacity":".8"}}),t("path",{attrs:{"fill-opacity":".4",d:"M32 17A3 3 0 1 0 32 23A3 3 0 1 0 32 17Z"}})])])}},bs={methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},on:{click:this.onClick}},[t("g",{attrs:{fill:"#000","fill-rule":"evenodd"}},[t("rect",{attrs:{opacity:".04317801",width:"48",height:"48",rx:"4"}}),t("path",{attrs:{d:"M29.9944797,11 C32.2066675,11 34,12.7924676 34,14.99923 L34,27.00077 C34,29.2094838 32.2129147,31 29.9944797,31 L12.0055203,31 C9.7933325,31 8,29.2075324 8,27.00077 L8,14.99923 C8,12.7905162 9.78708529,11 12.0055203,11 L29.9944797,11 Z M19.5047388,16.9404618 C18.6820755,16.4262972 18,16.7952661 18,17.7762766 L18,17.7762766 L18,24.2237234 C18,25.1985621 18.6736945,25.5789409 19.5047388,25.0595382 L19.5047388,25.0595382 L24.4952612,21.9404618 C25.3179245,21.4262972 25.3263055,20.5789409 24.4952612,20.0595382 L24.4952612,20.0595382 Z","fill-opacity":".8"}}),t("path",{attrs:{d:"M20.3333333,31 L18.9413069,37.2641191 C18.7282623,38.2228197 17.7624124,39 16.7875493,39 L15.1013396,39 C14.1248967,39 13.3333333,38.2036819 13.3333333,37.2245407 L13.3333333,31 L20.3333333,31 Z M40,12.9907951 L40,29.0092049 C40,30.1086907 39.2522274,30.5014849 38.3286655,29.885777 L34,27 L34,15 L38.3286655,12.114223 C39.2517181,11.4988546 40,11.8982124 40,12.9907951 Z","fill-opacity":".4"}})])])}},Cs={methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},on:{click:this.onClick}},[t("g",{attrs:{fill:"#000","fill-rule":"evenodd"}},[t("rect",{attrs:{opacity:".04317801",width:"48",height:"48",rx:"4"}}),t("path",{attrs:{d:"M23,35 L25,35 L25,39 L28.9975267,39 C29.5116309,39 29.9353477,39.3827202 29.9932556,39.8826674 L30,40 C30,40.5522847 29.544239,41 28.9975267,41 L19.0024733,41 C18.4488226,41 18,40.5561352 18,40 C18,39.4477153 18.455761,39 19.0024733,39 L23,39 L23,35 Z M24,7 C28.9706612,7 33,10.7806433 33,15.4055441 L33,22.5944559 C33,27.2367538 28.9605566,31 24,31 C19.0296047,31 15,27.2193567 15,22.5944559 L15,15.4055441 C15,10.7632462 19.0397093,7 24,7 Z M28.0046024,23 L19.9953976,23 C19.4556644,23 19,23.4477153 19,24 C19,24.5164112 19.3842635,24.9360179 19.8793132,24.993327 L19.9953976,25 L28.0046024,25 C28.5057832,25 28.9344762,24.6139598 28.993161,24.1166211 L29,24 L28.9933032,23.8826674 C28.935804,23.3827202 28.515078,23 28.0046024,23 Z M28.0046024,18 L19.9953976,18 C19.4556644,18 19,18.4477153 19,19 C19,19.5164112 19.3842635,19.9360179 19.8793132,19.993327 L19.9953976,20 L28.0046024,20 C28.5057832,20 28.9344762,19.6139598 28.993161,19.1166211 L29,19 L28.9933032,18.8826674 C28.935804,18.3827202 28.515078,18 28.0046024,18 Z M28.0046024,13 L19.9953976,13 C19.4556644,13 19,13.4477153 19,14 C19,14.5164112 19.3842635,14.9360179 19.8793132,14.993327 L19.9953976,15 L28.0046024,15 C28.5057832,15 28.9344762,14.6139598 28.993161,14.1166211 L29,14 L28.9933032,13.8826674 C28.935804,13.3827202 28.515078,13 28.0046024,13 Z","fill-opacity":".8"}}),t("path",{attrs:{d:"M23.0072112,35 C16.5499088,34.5246419 11.4074921,29.4525628 11.0080162,23.1286495 C11.0026721,23.0875879 11,23.0454401 11,23.003075 C11,22.4492872 11.460043,22.0002173 12.0276372,22.0002173 C12.5952314,22.0002173 13.055497,22.4492872 13.055497,23.003075 C13.4131103,28.599395 18.1765371,33.0310009 24.0007794,33.0310009 C29.8250216,33.0310009 34.5884484,28.599395 34.9420536,23.0037268 C34.944503,22.44907 35.4047686,22 35.9723628,22 C36.539957,22 37,22.44907 37,23.0028578 C36.999332,23.048699 36.9979959,23.0715109 36.9957692,23.0941057 C36.6143299,29.4117185 31.4997474,34.4877083 25.0627082,34.9947858 L23.0072112,35 Z","fill-opacity":".4"}})])])}},ws={methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},on:{click:this.onClick}},[t("g",{attrs:{fill:"#000","fill-rule":"evenodd"}},[t("rect",{attrs:{opacity:".04317801",width:"48",height:"48",rx:"4"}}),t("path",{attrs:{d:"M29,8 L29,15 C29,15.5522847 29.4477153,16 30,16 L30,16 L37,16 L37,38 C37,39.1045695 36.1045695,40 35,40 L13,40 C11.8954305,40 11,39.1045695 11,38 L11,10 C11,8.8954305 11.8954305,8 13,8 L29,8 Z M29,31 L19,31 C18.4477153,31 18,31.4477153 18,32 C18,32.5522847 18.4477153,33 19,33 L19,33 L29,33 C29.5522847,33 30,32.5522847 30,32 C30,31.4477153 29.5522847,31 29,31 L29,31 Z M24.7071068,15.7071068 C24.3165825,15.3165825 23.6834175,15.3165825 23.2928932,15.7071068 L23.2928932,15.7071068 L17.8535534,21.1464466 C17.7597852,21.2402148 17.7071068,21.3673918 17.7071068,21.5 C17.7071068,21.7761424 17.9309644,22 18.2071068,22 L18.2071068,22 L21,22 L21,28 C21,28.5522847 21.4477153,29 22,29 L22,29 L26,29 C26.5522847,29 27,28.5522847 27,28 L27,28 L27,22 L29.7928932,22 C29.9255015,22 30.0526784,21.9473216 30.1464466,21.8535534 C30.3417088,21.6582912 30.3417088,21.3417088 30.1464466,21.1464466 L30.1464466,21.1464466 Z","fill-opacity":".8"}}),t("path",{attrs:{d:"M30.8535534,7.85355339 L37.1464466,14.1464466 C37.3417088,14.3417088 37.3417088,14.6582912 37.1464466,14.8535534 C37.0526784,14.9473216 36.9255015,15 36.7928932,15 L31,15 C30.4477153,15 30,14.5522847 30,14 L30,8.20710678 C30,7.93096441 30.2238576,7.70710678 30.5,7.70710678 C30.6326082,7.70710678 30.7597852,7.7597852 30.8535534,7.85355339 Z","fill-opacity":".4"}})])])}},_s={methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},on:{click:this.onClick}},[t("g",{attrs:{"fill-rule":"nonzero",fill:"none"}},[t("rect",{attrs:{"stroke-opacity":".1",stroke:"#000","stroke-width":".5",fill:"#FF5023",x:"1.25",y:"1.25",width:"17.5",height:"17.5",rx:"2"}}),t("path",{attrs:{d:"M14.9599415,9.1 L5.04005847,9.1 L4.96326082,9.10330354 C4.50765,9.14267583 4.15,9.52910458 4.15,10 C4.15,10.4708954 4.50765,10.8573242 4.96326082,10.8966965 L5.04005847,10.9 L14.9599415,10.9 L15.0367392,10.8966965 C15.49235,10.8573242 15.85,10.4708954 15.85,10 C15.85,9.52910458 15.49235,9.14267583 15.0367392,9.10330354 L14.9599415,9.1 Z",fill:"#FFF"}})])])}},xs={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 112"}},[t("defs",[t("linearGradient",{attrs:{x1:"0%",y1:"0%",y2:"100%",id:"b"}},[t("stop",{attrs:{"stop-color":"#8796F0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#5260DC",offset:"100%"}})]),t("rect",{attrs:{id:"c",width:"112",height:"112",rx:"4"}}),t("pattern",{attrs:{id:"d",width:"4.8",height:"4.8",x:"-4.8",y:"-4.8",patternUnits:"userSpaceOnUse"}},[t("use",{attrs:{href:"#a",transform:"scale(.5)"}})]),t("image",{attrs:{id:"a",width:"9.6",height:"9.6",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGOfPtRkwAAAHhlWElmTU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAABAAIAAIdpAAQAAAABAAAATgAAAAAAAABLAAAAAQAAAEsAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAAqgAwAEAAAAAQAAAAoAAAAA1XhEXQAAAAlwSFlzAAALiQAAC4kBN8nLrQAAAVRJREFUGBlNUD1Lw1AUbfNBaLGBQmjaJv0YhFSCEK2THXRz0i2Di+BSnfwF/gV/lEs6SUmaWIRQaSVJE8WCUiElTTwvUx/c9+6597xz3rsFXddLhZ01HA7ZHUhSimx0uVx+FEUxXS6Xc1LIsuyo0WhcaJo2dV132+/3mSAIMhpFu1gsXsuyTPm+/45ihJq2Xq8PFUWxR6NRkiui8ddut1/SNL2s1+si8CvCbDabB5vN5hSnCZzSqqrujcfj30qlMuE47kySJBnKhOwg34fbyWAwsOhOp/NUq9WmjuNEIJqI81arJYL8hrChyK5Wq5AWBOGDZdl7NGeE3Ov1rDiOyTN4fNAF2cutwzCMCClJkjtYzQ3DCHmet6B8BVwCcZZ/hmye533DYkFR1C2aM8uyQjg5DMPoUN5CcUFjTsdIyPrCiD5x76FarT7btv0DPMFcb7rdrvEPt5mqtAu1fboAAAAASUVORK5CYII="}}),t("path",{attrs:{d:"M60.667 15.167v36.287c0 .9-.724 1.63-1.623 1.63H1.623A1.622 1.622 0 0 1 0 51.453V15.167h60.667zm-34.342 8.04c-.4-.25-.731-.07-.731.407v17.23c0 .468.327.66.731.407l13.704-8.565c.4-.25.404-.662 0-.914z",id:"f"}}),t("filter",{attrs:{x:"-9.1%",y:"-9.2%",width:"118.1%",height:"129%",filterUnits:"objectBoundingBox",id:"e"}},[t("feOffset",{attrs:{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}}),t("feGaussianBlur",{attrs:{stdDeviation:"1.5",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}}),t("feColorMatrix",{attrs:{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",in:"shadowBlurOuter1"}})]),t("linearGradient",{attrs:{x1:"50%",y1:"0%",x2:"50%",y2:"99.86%",id:"g"}},[t("stop",{attrs:{"stop-color":"#FFF",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#FFF","stop-opacity":".394",offset:"100%"}})])]),t("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[t("g",[t("use",{attrs:{fill:"url(#b)",href:"#c"}}),t("use",{attrs:{fill:"url(#d)",href:"#c"},style:"mix-blend-mode:screen"}),t("rect",{attrs:{"stroke-opacity":".1",stroke:"#000","stroke-width":".5","stroke-linejoin":"square",x:".25",y:".25",width:"111.5",height:"111.5",rx:"4"}})]),t("g",{attrs:{"fill-rule":"nonzero"}},[t("g",{attrs:{transform:"translate(25.667 28)"}},[t("use",{attrs:{fill:"#000",filter:"url(#e)",href:"#f"}}),t("use",{attrs:{fill:"#FFF",href:"#f"}})]),t("path",{attrs:{d:"M25.667 30.173c0-1.2.977-2.173 2.159-2.173h56.348c1.193 0 2.16.972 2.16 2.173v12.994H25.666V30.173z",fill:"#FFF",opacity:".203"}}),t("path",{attrs:{d:"M60.667 8.089v7.078h-8.848l2.957-7.079h5.89zm-12.225-.001L45.5 15.167h-6.951l2.956-7.079h6.937zm-13.271 0l-2.942 7.079h-6.951l2.956-7.079h6.937zm-13.27 0l-2.943 7.079h-6.951l2.956-7.079h6.938zm-13.271 0l-2.943 7.079H0V8.089l8.63-.001zM18.958 0l3.16 7.566-.007.017h-6.953L12.007 0h6.951zM32.23 0l3.16 7.566-.008.017h-6.952L25.278 0h6.951zM45.5 0l3.16 7.566-.008.017H41.7L38.549 0H45.5zm13.008 0c1.192 0 2.159.972 2.159 2.173v5.41H54.97L51.819 0h6.689zM0 2.173C0 .973.978 0 2.16 0h3.527l3.16 7.566-.007.017H0v-5.41z",fill:"url(#g)",transform:"translate(25.667 28)"}})]),t("path",{attrs:{d:"M0 0h112v112H0z"}})])])}},As={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 112"}},[t("defs",[t("linearGradient",{attrs:{x1:"0%",y1:"0%",x2:"100%",y2:"100%",id:"gf8svfh27b"}},[t("stop",{attrs:{"stop-color":"#00C8F0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"#0091FA",offset:"100%"}})]),t("pattern",{attrs:{id:"vbf1ym2qvd",width:"4.8",height:"4.8",x:"-4.8",y:"-4.8",patternUnits:"userSpaceOnUse"}},[t("use",{attrs:{href:"#shkwixq1qa",transform:"scale(.5)"}})]),t("filter",{attrs:{x:"-15%",y:"-10.7%",width:"130%",height:"130%",filterUnits:"objectBoundingBox",id:"300zm3c39e"}},[t("feOffset",{attrs:{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}}),t("feGaussianBlur",{attrs:{stdDeviation:"2",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}}),t("feColorMatrix",{attrs:{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",in:"shadowBlurOuter1"}})]),t("image",{attrs:{id:"shkwixq1qa",width:"9.6",height:"9.6",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGOfPtRkwAAAHhlWElmTU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAABAAIAAIdpAAQAAAABAAAATgAAAAAAAABLAAAAAQAAAEsAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAAqgAwAEAAAAAQAAAAoAAAAA1XhEXQAAAAlwSFlzAAALiQAAC4kBN8nLrQAAAVRJREFUGBlNUD1Lw1AUbfNBaLGBQmjaJv0YhFSCEK2THXRz0i2Di+BSnfwF/gV/lEs6SUmaWIRQaSVJE8WCUiElTTwvUx/c9+6597xz3rsFXddLhZ01HA7ZHUhSimx0uVx+FEUxXS6Xc1LIsuyo0WhcaJo2dV132+/3mSAIMhpFu1gsXsuyTPm+/45ihJq2Xq8PFUWxR6NRkiui8ddut1/SNL2s1+si8CvCbDabB5vN5hSnCZzSqqrujcfj30qlMuE47kySJBnKhOwg34fbyWAwsOhOp/NUq9WmjuNEIJqI81arJYL8hrChyK5Wq5AWBOGDZdl7NGeE3Ov1rDiOyTN4fNAF2cutwzCMCClJkjtYzQ3DCHmet6B8BVwCcZZ/hmye533DYkFR1C2aM8uyQjg5DMPoUN5CcUFjTsdIyPrCiD5x76FarT7btv0DPMFcb7rdrvEPt5mqtAu1fboAAAAASUVORK5CYII="}}),t("rect",{attrs:{id:"9fuaycxsvc",x:"0",y:"0",width:"112",height:"112",rx:"4"}}),t("path",{attrs:{d:"M72.3333333,32.6666667 L42.0000157,32.6666667 L40.0400166,65.8751584 C37.1946119,64.6819583 33.9036428,65.492752 31.9379245,67.8712652 C29.9722061,70.2497784 29.7953573,73.6350338 31.5025373,76.2054824 C33.2097173,78.7759309 36.3982842,79.9253271 39.3525239,79.0352002 C42.3067635,78.1450732 44.3299123,75.4253614 44.333348,72.3394959 L45.850014,46.6688417 L71.5166691,46.6688417 L70.3966696,65.8751584 C67.5542782,64.6711219 64.2588471,65.4713547 62.2849419,67.8449374 C60.3110366,70.2185201 60.1246603,73.605093 61.8261752,76.1810114 C63.5276902,78.7569298 66.7153996,79.9140663 69.6727454,79.0293113 C72.6300911,78.1445564 74.6588978,75.4267844 74.6666677,72.3394959 L77,32.6666667 L72.3333333,32.6666667 Z",id:"hk6404pd3f"}})]),t("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[t("g",[t("use",{attrs:{fill:"url(#gf8svfh27b)",href:"#9fuaycxsvc"}}),t("use",{attrs:{fill:"url(#vbf1ym2qvd)",href:"#9fuaycxsvc"},style:"mix-blend-mode:screen"}),t("rect",{attrs:{"stroke-opacity":".1",stroke:"#000","stroke-width":".5","stroke-linejoin":"round",x:".25",y:".25",width:"111.5",height:"111.5",rx:"4"}})]),t("g",{attrs:{"fill-rule":"nonzero"}},[t("use",{attrs:{fill:"#000",filter:"url(#300zm3c39e)",href:"#hk6404pd3f"}}),t("use",{attrs:{fill:"#FFF",href:"#hk6404pd3f"}})])])])}},Ss={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 112"}},[t("defs",[t("pattern",{attrs:{id:"l36e4grd5c",width:"5",height:"5",x:"-5",y:"-5",patternUnits:"userSpaceOnUse"}},[t("use",{attrs:{href:"#xzksy6539a",transform:"scale(.5)"}})]),t("filter",{attrs:{x:"-15%",y:"-10.7%",width:"130%",height:"130%",filterUnits:"objectBoundingBox",id:"65hai2lgad"}},[t("feOffset",{attrs:{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}}),t("feGaussianBlur",{attrs:{stdDeviation:"2",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}}),t("feColorMatrix",{attrs:{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",in:"shadowBlurOuter1"}})]),t("image",{attrs:{id:"xzksy6539a",width:"10",height:"10",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGOfPtRkwAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAACqADAAQAAAABAAAACgAAAAA7eLj1AAAAoUlEQVQYGY1Pyw3DIAw14GO5ptkjAiQuXaZbtKP02kE6QBfptSckEPVLsJRbY8nivWeeP0QjQgh3yXnHZ2jKrYJ/r9m5LsaYtxi+w+R774vgFzhLPgAkTq21JzN/QGqtk7XrQK1DJoox3nLO08aIgKEpP7wj66Wyjy+lnFNKBl0EY7TXOna8jvaLc47EsB4jWI/R+vYN16sbCjC00YQO7/gDMR8ujT+u9VgAAAAASUVORK5CYII="}}),t("rect",{attrs:{id:"gdcp3kc09b",x:"0",y:"0",width:"112",height:"112",rx:"4"}}),t("path",{attrs:{d:"M51.9980236,32.6666667 L51.9980236,37.8353939 L58.4495043,37.8353939 L58.4495043,43.0039084 L51.9980236,43.0039084 L51.9980236,48.2190439 L58.4495043,48.2190439 L58.4495043,53.3875583 L51.9980236,53.3875583 L51.9980236,57.9628958 L58.4495043,57.9628958 L58.4495043,66.2938053 C58.4872348,67.2750135 57.7841326,68.112964 56.839682,68.2682223 L56.5767144,68.2932252 L47.4993693,68.2932252 C46.3937071,68.278001 45.4940162,67.3988204 45.4532968,66.2938051 L45.4532968,53.3942117 L51.9980652,53.3942117 L51.9980652,48.2223705 L45.4532968,48.2223705 L45.4532968,43.007235 L51.9980652,43.007235 L51.9980652,37.8353937 L45.4532968,37.8353937 L45.4532968,32.6666667 L40.6,32.6666667 C36.218541,32.6666667 32.6666667,36.218541 32.6666667,40.6 L32.6666667,71.4 C32.6666667,75.781459 36.218541,79.3333333 40.6,79.3333333 L71.4,79.3333333 C75.781459,79.3333333 79.3333333,75.781459 79.3333333,71.4 L79.3333333,40.6 C79.3333333,36.218541 75.781459,32.6666667 71.4,32.6666667 L51.9980236,32.6666667 Z",id:"rzwz6zsh3e"}})]),t("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[t("g",[t("use",{attrs:{fill:"#FFCD23",href:"#gdcp3kc09b"}}),t("use",{attrs:{"fill-opacity":".4",fill:"url(#l36e4grd5c)",href:"#gdcp3kc09b"},style:"mix-blend-mode:overlay"}),t("rect",{attrs:{"stroke-opacity":".1",stroke:"#000","stroke-width":".5","stroke-linejoin":"round",x:".25",y:".25",width:"111.5",height:"111.5",rx:"4"}})]),t("g",{attrs:{"fill-rule":"nonzero"}},[t("use",{attrs:{fill:"#000",filter:"url(#65hai2lgad)",href:"#rzwz6zsh3e"}}),t("use",{attrs:{fill:"#FFF",href:"#rzwz6zsh3e"}})])])])}};function ks(t){return t.type.indexOf("image/")>=0}function Ps(t){return t.type.indexOf("audio/")>=0}function Ls(t){return t.type.indexOf("video/")>=0}function Ts(t){return t.name+"_"+t.type+"_"+t.size+"_"+t.lastModified}function Os(t,e){void 0===e&&(e="");var n=t.name.lastIndexOf(".");n>0&&(e=t.name.substring(n+1));var r=new Date,i=""+r.getFullYear()+r.getMonth()+r.getDay()+r.getHours()+r.getMinutes()+r.getSeconds()+r.getMilliseconds()+"_"+Math.ceil(1e4*Math.random());return e?i+"."+e:i}var Es=Object(l.b)("media-picker"),Fs=Es[0],Rs=Es[1],Is=Fs({props:{disabled:Boolean,title:{type:String,default:"添加附件"},showTitle:{type:Boolean,default:!1},mediaList:{type:Array,default:function(){return[]}},maxImageSideLength:{type:Number,default:1920},maxImageFileSize:{type:Number,default:1024},maxFileSize:{type:Number,default:102400},watermarkOptions:{type:Object,default:function(){return null}},maxMediaCount:{type:Number,default:Number.MAX_VALUE},maxImageCount:{type:Number,default:Number.MAX_VALUE},maxAudioCount:{type:Number,default:Number.MAX_VALUE},maxVideoCount:{type:Number,default:Number.MAX_VALUE},maxFileCount:{type:Number,default:Number.MAX_VALUE},allowTakePhoto:{type:Boolean,default:!0},allowPickPhoto:{type:Boolean,default:!0},allowTakeVideo:{type:Boolean,default:!1},allowPickVideo:{type:Boolean,default:!1},allowTakeAudio:{type:Boolean,default:!1},allowPickAudio:{type:Boolean,default:!1},allowPickFile:{type:Boolean,default:!1},preview:Function,mediaPickAction:Function,afterRead:Function,beforeRead:Function,beforeDelete:Function},model:{prop:"mediaList"},data:function(){return{videoOptionsVisible:!1,audioOptionsVisible:!1,actionVisible:!1,mediaPlayerVisible:!1,mediaTypeToPlay:"",mediaUrlToPlay:""}},computed:{imageList:function(){return this.mediaList.filter((function(t){return t.type===ia.PHOTO}))},actionOptions:function(){var t=this;return this.videoOptionsVisible?[{name:"拍摄",func:function(){t.mediaPick(ia.VIDEO,oa.TAKE)}},{name:"视频文件",func:function(){t.mediaPick(ia.VIDEO,oa.PICK)}}]:this.audioOptionsVisible?[{name:"录音",func:function(){t.mediaPick(ia.AUDIO,oa.TAKE)}},{name:"音频文件",func:function(){t.mediaPick(ia.AUDIO,oa.PICK)}}]:void 0}},methods:{mediaPick:function(t,e){if(!this.disabled&&this.checkFileCountBeforeAdd(t)&&(!this.mediaPickAction||!this.mediaPickAction(t,e))){var n=this.$refs,r=n.cameraInput,i=n.imageInput,o=n.camcorderInput,a=n.videoFileInput,s=n.audioRecorderInput,l=n.audioFileInput,u=n.fileInput;t===ia.PHOTO?e===oa.TAKE?this.triggerHiddenInput(r):e===oa.PICK&&this.triggerHiddenInput(i):t===ia.VIDEO?e===oa.TAKE?this.triggerHiddenInput(o):e===oa.PICK?this.triggerHiddenInput(a):e===oa.TAKE_AND_PICK&&(this.actionVisible=!0,this.videoOptionsVisible=!0,this.audioOptionsVisible=!1):t===ia.AUDIO?e===oa.TAKE?this.triggerHiddenInput(s):e===oa.PICK?this.triggerHiddenInput(l):e===oa.TAKE_AND_PICK&&(this.actionVisible=!0,this.videoOptionsVisible=!1,this.audioOptionsVisible=!0):t===ia.FILE&&this.triggerHiddenInput(u)}},triggerHiddenInput:function(t){t&&t instanceof HTMLInputElement&&t.click()},resetInput:function(t,e){var n=this.$refs,r=n.cameraInput,i=n.imageInput,o=n.camcorderInput,a=n.videoFileInput,s=n.audioRecorderInput,l=n.audioFileInput,u=n.fileInput;t===ia.PHOTO?e===oa.TAKE?r.value="":e===oa.PICK&&(i.value=""):t===ia.VIDEO?e===oa.TAKE?o.value="":e===oa.PICK&&(a.value=""):t===ia.AUDIO?e===oa.TAKE?s.value="":e===oa.PICK&&(l.value=""):t===ia.FILE&&(u.value="")},handleInputFiles:function(t){var e=this,n=t.target.files;if(n&&0!==n.length&&0!==(n=this.filterValidFiles(n)).length&&this.checkFileCountAfterAdd(n)){if(this.beforeRead){var r=this.beforeRead(n);if(!r)return;if(Object(l.h)(r))return void r.then((function(t){t?e.readFiles(t):e.readFiles(n)}))}this.readFiles(n)}},readFiles:function(t){var e=this,n=t.filter((function(t){return!ks(t)})).map((function(t){return e.transformNotImageFile(t)})),r=[];n.length>0&&(r=r.concat(n));var i=t.filter((function(t){return ks(t)}));(0===i.length?Promise.resolve():this.transformImageFiles(i)).then((function(t){t&&t.length>0&&(r=r.concat(t))})).finally((function(){e.$emit("input",[].concat(e.mediaList,r)),e.afterRead&&e.afterRead(r)}))},checkFileCountBeforeAdd:function(t){return this.mediaList.length===this.maxMediaCount?(Ze.fail("已达到文件最大数量限制"),!1):t===ia.PHOTO&&this.mediaList.filter((function(t){return t.type===ia.PHOTO})).length>this.maxImageCount?(Ze.fail("已达到图片最大数量限制"),!1):t===ia.VIDEO&&this.mediaList.filter((function(t){return t.type===ia.VIDEO})).length>this.maxVideoCount?(Ze.fail("已达到视频最大数量限制"),!1):!(t===ia.AUDIO&&this.mediaList.filter((function(t){return t.type===ia.AUDIO})).length>this.maxAudioCount)||(Ze.fail("已达到录音最大数量限制"),!1)},checkFileCountAfterAdd:function(t){return this.mediaList.length+t.length>this.maxMediaCount?(Ze.fail("最多只能上传"+this.maxMediaCount+"个文件"),!1):this.mediaList.filter((function(t){return t.type===ia.PHOTO})).length+t.filter((function(t){return ks(t)})).length>this.maxImageCount?(Ze.fail("最多只能上传"+this.maxImageCount+"张图片"),!1):this.mediaList.filter((function(t){return t.type===ia.VIDEO})).length+t.filter((function(t){return Ls(t)})).length>this.maxVideoCount?(Ze.fail("最多只能上传"+this.maxVideoCount+"个视频"),!1):!(this.mediaList.filter((function(t){return t.type===ia.AUDIO})).length+t.filter((function(t){return Ps(t)})).length>this.maxAudioCount)||(Ze.fail("最多只能上传"+this.maxAudioCount+"个录音"),!1)},filterValidFiles:function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r.size>1024*this.maxFileSize)return Ze.fail("请勿添加大于"+this.maxFileSize+"K的文件"),e;if(this.checkFileExist(r))return Ze.fail("请勿重复添加文件"),e;e.push(r)}return e},transformImageFiles:function(t){for(var e=this,n=[],r=new ps(this.maxImageSideLength),i=new vs(this.maxImageFileSize),o=function(o){var a=t[o],s=e.watermarkOptions&&e.watermarkOptions.watermarkConfigString&&us(e.watermarkOptions.watermarkConfigString),l=void 0;l=new Za(s?{enabled:!0,watermarkConfigString:s?e.watermarkOptions.watermarkConfigString:"",context:{address:e.watermarkOptions.address||"",humanName:e.watermarkOptions.humanName||"",projectName:e.watermarkOptions.projectName||"",watermarkTime:new Date}}:{enabled:!1});var u=new gs(a,r,l,i).process().then((function(t){return t?cs(t).then((function(e){var n=Os(t,"jpg");return Promise.resolve({showSrc:e,type:ia.PHOTO,file:new File([t],n,{lastModified:t.lastModified,type:t.type}),uniqueCode:Ts(a),lastModified:t.lastModified,fileSize:t.size,deletable:!0,status:"",message:""})})):Promise.resolve()}));n.push(u)},a=0;a<t.length;a++)o(a);return Ze.loading({message:"处理中...",forbidClick:!0,duration:0}),Promise.all(n).then((function(t){return t.filter((function(t){return!!t}))})).finally((function(){Ze.clear()}))},transformNotImageFile:function(t){var e="",n=ia.FILE;Ps(t)?(n=ia.AUDIO,e="mp3"):Ls(t)?(n=ia.VIDEO,e="mp4"):n=ia.FILE;var r=Os(t,e);return{type:n,file:new File([t],r,{lastModified:t.lastModified,type:t.type}),uniqueCode:Ts(t),lastModified:t.lastModified,fileSize:t.size,deletable:!0,status:"",message:""}},checkFileExist:function(t){return this.mediaList.some((function(e){return e.uniqueCode===Ts(t)}))},previewMedia:function(t,e){if(!this.preview||!this.preview(t,e))if(t.type===ia.PHOTO){var n=this.imageList.indexOf(t);Co({images:this.imageList.map((function(t){return{url:t.showSrc}})),startPosition:n})}else t.type===ia.AUDIO||t.type===ia.VIDEO?t.file||t.url?(this.mediaTypeToPlay=t.type,this.mediaUrlToPlay=t.url||(URL||webkitURL).createObjectURL(t.file),this.mediaPlayerVisible=!0):Ze("文件参数缺失"):t.type===ia.FILE&&Ze("暂不支持此类文件的预览")},onDelete:function(t,e){var n=this;if(this.beforeDelete){var r=this.beforeDelete(t);if(!r)return;if(Object(l.h)(r))return void r.then((function(){n.deleteMedia(t,e)}))}this.deleteMedia(t,e)},deleteMedia:function(t,e){var n=this.mediaList.slice(0);n.splice(e,1),this.$emit("input",n),this.$emit("delete",t,e)},hiddenInput:function(){var t=this,e=this.$createElement;return[e("input",{attrs:{type:"file",accept:"image/*",multiple:!0,capture:"environment"},ref:"cameraInput",on:{change:this.handleInputFiles,click:function(){return t.resetInput(ia.PHOTO,oa.TAKE)}},class:Rs("hidden")}),e("input",{attrs:{type:"file",accept:"image/*,image/exact",multiple:!0},ref:"imageInput",on:{change:this.handleInputFiles,click:function(){return t.resetInput(ia.PHOTO,oa.PICK)}},class:Rs("hidden")}),e("input",{attrs:{type:"file",accept:"video/*",capture:"environment"},ref:"camcorderInput",on:{change:this.handleInputFiles,click:function(){return t.resetInput(ia.VIDEO,oa.TAKE)}},class:Rs("hidden")}),e("input",{attrs:{type:"file",accept:"video/*"},ref:"videoFileInput",on:{change:this.handleInputFiles,click:function(){return t.resetInput(ia.VIDEO,oa.PICK)}},class:Rs("hidden")}),e("input",{attrs:{type:"file",accept:"audio/mpeg",capture:"nonce"},ref:"audioRecorderInput",on:{change:this.handleInputFiles,click:function(){return t.resetInput(ia.AUDIO,oa.TAKE)}},class:Rs("hidden")}),e("input",{attrs:{type:"file",accept:"audio/mpeg"},ref:"audioFileInput",on:{change:this.handleInputFiles,click:function(){return t.resetInput(ia.AUDIO,oa.PICK)}},class:Rs("hidden")}),e("input",{attrs:{type:"file",accept:"*/*"},ref:"fileInput",on:{change:this.handleInputFiles,click:function(){return t.resetInput(ia.FILE,oa.PICK)}},class:Rs("hidden")})]},renderIcon:function(t,e){var n=this,r=this.$createElement;if(t===ia.PHOTO){if(e===oa.TAKE)return r(ms,{class:Rs("button"),on:{click:function(){return n.mediaPick(t,e)}}});if(e===oa.PICK)return r(ys,{class:Rs("button"),on:{click:function(){return n.mediaPick(t,e)}}})}else{if(t===ia.VIDEO)return r(bs,{class:Rs("button"),on:{click:function(){return n.mediaPick(t,e)}}});if(t===ia.AUDIO)return r(Cs,{class:Rs("button"),on:{click:function(){return n.mediaPick(t,e)}}});if(t===ia.FILE)return r(ws,{class:Rs("button"),on:{click:function(){return n.mediaPick(t,e)}}})}},renderButton:function(t,e){var n=this.$createElement,r="";return t===ia.PHOTO?e===oa.TAKE?r="拍照":e===oa.PICK&&(r="照片"):t===ia.VIDEO?r="摄像":t===ia.AUDIO?r="录音":t===ia.FILE&&(r="文档"),n("div",{class:Rs("box")},[this.renderIcon(t,e),n("div",{class:Rs("label")},[r])])},renderButtons:function(){var t=[];if(this.allowTakePhoto&&t.push(this.renderButton(ia.PHOTO,oa.TAKE)),this.allowPickPhoto&&t.push(this.renderButton(ia.PHOTO,oa.PICK)),this.allowTakeVideo||this.allowPickVideo){var e=oa.TAKE_AND_PICK;this.allowTakeVideo?this.allowPickVideo||(e=oa.TAKE):e=oa.PICK,t.push(this.renderButton(ia.VIDEO,e))}if(this.allowTakeAudio||this.allowPickAudio){var n=oa.TAKE_AND_PICK;this.allowTakeAudio?this.allowPickAudio||(n=oa.TAKE):n=oa.PICK,t.push(this.renderButton(ia.AUDIO,n))}return this.allowPickFile&&t.push(this.renderButton(ia.FILE,oa.PICK)),t},genThumbnailMask:function(t){var e=this.$createElement,n=t.status,r=t.message;if(n===ra.UPLOADING||n===ra.FAILED){var i=n===ra.FAILED?e(nt,{attrs:{name:"close"},class:Rs("mask-icon")}):e(pt,{class:Rs("loading")}),o=Object(l.e)(r)&&""!==r;return e("div",{class:Rs("mask")},[i,o&&e("div",{class:Rs("mask-message")},[r])])}},renderMediaThumbnail:function(t){var e=this.$createElement;return t.showSrc?e("zt-image",{attrs:{src:t.showSrc,fit:"fill",radius:"4"}}):t.type===ia.VIDEO?e(xs,{class:Rs("thumbnail")}):t.type===ia.AUDIO?e(As,{class:Rs("thumbnail")}):t.type===ia.FILE?e(Ss,{class:Rs("thumbnail")}):void 0},renderMediaList:function(){var t=this,e=this.$createElement;return this.mediaList.map((function(n,r){var i=n.deletable&&n.status!==ra.UPLOADING&&e(_s,{class:Rs("delete"),on:{click:function(e){e.stopPropagation(),t.onDelete(n,r)}}});return e("zt-grid-item",{key:n.uniqueCode,on:{click:function(){return t.previewMedia(n,r)}}},[t.renderMediaThumbnail(n),t.genThumbnailMask(n),i])}))},selectAction:function(t){this.actionVisible=!1,t.func&&t.func()}},render:function(){var t=this,e=arguments[0],n=this.showTitle&&e("div",{class:Rs("title")},[this.title]);return e("div",{class:Rs()},[n,this.hiddenInput(),e("zt-media-player",{attrs:{mediaType:this.mediaTypeToPlay,mediaUrl:this.mediaUrlToPlay},model:{value:t.mediaPlayerVisible,callback:function(e){t.mediaPlayerVisible=e}}}),e("zt-action-sheet",{attrs:{actions:this.actionOptions,title:"请选择","cancel-text":"取消","close-on-click-action":!0},on:{select:this.selectAction},model:{value:t.actionVisible,callback:function(e){t.actionVisible=e}}}),e("div",{class:Rs("line")},[this.renderButtons()]),e("zt-grid",{directives:[{name:"show",value:this.mediaList.length}],attrs:{"column-num":"3",border:!1,square:!0,gutter:"4"},class:Rs("grid")},[this.renderMediaList()])])}});var Ms=Object(l.b)("media-player"),Ds=Ms[0],Bs=Ms[1],Ns=Ds({props:{value:{type:Boolean,default:!1},mediaType:{type:String,default:""},mediaUrl:{type:String,default:""}},data:function(){return{popupStyle:{maxHeight:"70%",backgroundColor:"#fff"}}},deactivated:function(){this.onClose()},methods:{getMediaElement:function(){var t;return this.mediaType===ia.AUDIO?t=this.$refs.audio:this.mediaType===ia.VIDEO&&(t=this.$refs.video),t},onOpen:function(){var t=this;this.$nextTick((function(){var e,n=t.getMediaElement();n&&((e="undefined"!=typeof window&&window.navigator.userAgent.toLowerCase())&&/micromessenger/.test(e)?"object"==typeof WeixinJSBridge&&"function"==typeof WeixinJSBridge.invoke&&WeixinJSBridge.invoke("getNetworkType",{},(function(t){n.play()})):function(){var t="undefined"!=typeof window&&window.navigator.userAgent.toLowerCase();return t&&/iphone|ipad|ipod|ios/.test(t)}()||n.play())}))},onClose:function(){this.$emit("input",!1);var t=this.getMediaElement();t&&(t.pause(),t.currentTime=0,this.mediaUrl&&!this.mediaUrl.startsWith("http")&&(URL||webkitURL).revokeObjectURL(this.mediaUrl))},renderTag:function(){var t=this.$createElement;if(this.mediaUrl){if(this.mediaType===ia.VIDEO)return t("video",{class:Bs("video"),attrs:{src:this.mediaUrl,controls:!0,autoplay:!0,id:"video","webkit-playsinline":!0,playsinline:!0},ref:"video"},["您的浏览器不支持video标签"]);if(this.mediaType===ia.AUDIO)return t("audio",{class:Bs("audio"),attrs:{src:this.mediaUrl,controls:!0,autoplay:!0,id:"audio"},ref:"audio"},["您的浏览器不支持audio标签"])}}},render:function(t){return t("zt-popup",{class:Bs(),attrs:{value:this.value,position:"bottom",overlay:!0,"safe-area-inset-bottom":!0,"close-on-popstate":!0,customOnClickOverlay:this.onClose},on:{open:this.onOpen}},[this.renderTag(),t("zt-button",{attrs:{block:!0,square:!0,size:"large"},on:{click:this.onClose}},["关闭"])])}}),js={title:String,loading:Boolean,readonly:Boolean,itemHeight:[Number,String],showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,showPicker:{type:Boolean,default:!1},allowHtml:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},zs=Object(l.b)("multiple-picker-options"),Hs=zs[0],Us=zs[1];var Vs=Hs({props:{valueKey:String,readonly:Boolean,allowHtml:Boolean,itemHeight:Number,defaultIndexs:{type:Array,default:function(){return[]}},columnCounts:Number,initialOptions:{type:Array,default:function(){return[]}}},data:function(){return{options:_t(this.initialOptions),currentIndexs:[],confirmed:!1}},watch:{initialOptions:"setOptions",defaultIndexs:{deep:!0,handler:function(){this.setDefaultIndexs()}}},computed:{count:function(){return this.options.length}},mounted:function(){this.setDefaultIndexs()},methods:{setOptions:function(t){JSON.stringify(t)!==JSON.stringify(this.options)&&(this.options=_t(t),this.setDefaultIndexs())},setDefaultIndexs:function(){this.confirmed||(this.currentIndexs=_t(this.defaultIndexs))},onClickItem:function(t){var e=this;if(!this.readonly){var n=!1;this.currentIndexs.forEach((function(r,i){r===t&&(n=!0,e.currentIndexs.splice(i,1))})),n||this.currentIndexs.push(t);var r=[];this.currentIndexs.forEach((function(t){r.push(e.options[t])})),this.$emit("change")}},getOptionText:function(t){return Object(l.g)(t)&&this.valueKey in t?t[this.valueKey]:t},genOptions:function(){var t=this,e=this.$createElement;this.columnCounts=Number(this.columnCounts),this.columnCounts&&this.columnCounts>3&&(this.columnCounts=3),this.columnCounts&&this.columnCounts<1&&(this.columnCounts=1);var n={height:this.itemHeight+"px",width:1/this.columnCounts*100+"%"};return this.options.map((function(r,i){var a,s=t.getOptionText(r),u=function(t){return Object(l.g)(t)&&t.disabled}(r),c={style:n,attrs:{role:"button",tabindex:u?-1:0},class:[Us("item",{disabled:u,selected:t.currentIndexs.indexOf(i)>-1,last:(i+1)%t.columnCounts==0})],on:{click:function(){t.onClickItem(i)}}},h={class:"zt-ellipsis",domProps:(a={},a[t.allowHtml?"innerHTML":"textContent"]=s,a)};return e("div",o()([{},c]),[t.slots("option",r)||e("div",o()([{},h]))])}))},setConfirmIndex:function(t){this.confirmed=!0,this.currentIndexs=_t(t)}},render:function(){var t=arguments[0];return t("div",{class:Us()},[t("div",{ref:"wrapper",class:Us("wrapper")},[this.genOptions()])])}}),Ws=Object(l.b)("multiple-picker"),$s=Ws[0],qs=Ws[1],Gs=Ws[2],Ys=$s({mixins:[$()],props:r({},js,{showToolbar:{type:Boolean,default:!0},defaultIndexs:{type:Array,default:function(){return[]}},options:{type:Array,default:function(){return[]}},toolbarPosition:{type:String,default:"top"},valueKey:{type:String,default:"text"},columnCounts:{type:Number,default:3}}),data:function(){return{confirmIndexs:null}},watch:{showPicker:{handler:function(t){var e=this;t&&this.$nextTick((function(){e.$refs.pickerOptions&&e.confirmIndexs?e.$refs.pickerOptions.setConfirmIndex(e.confirmIndexs):!e.confirmIndexs&&e.defaultIndexs&&0===e.defaultIndexs.length&&e.$refs.pickerOptions.setConfirmIndex([])}))},immediate:!0}},computed:{itemPxHeight:function(){return this.itemHeight?Object(wt.b)(this.itemHeight):36}},methods:{onClickOverlay:function(){this.closeOnClickOverlay&&this.cancel()},emit:function(t){this.$emit(t,this.getOptions())},getOptions:function(){var t=this,e=this.$refs.pickerOptions.currentIndexs,n=[];return e.forEach((function(e){n.push(r({},t.options[e],{initialIndex:e}))})),n},onChange:function(){this.$emit("change",this.getOptions())},cancel:function(){this.emit("cancel")},confirm:function(){var t=this.getOptions();this.confirmIndexs=t.map((function(t){return t.initialIndex})),this.emit("confirm",t)},genTitle:function(){var t=this.$createElement,e=this.slots("title");return e||(this.title?t("div",{class:["zt-ellipsis",qs("title")]},[this.title]):void 0)},genCancel:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:qs("cancel"),on:{click:this.cancel}},[this.slots("cancel")||this.cancelButtonText||Gs("cancel")])},genConfirm:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:qs("confirm"),on:{click:this.confirm}},[this.slots("confirm")||this.confirmButtonText||Gs("confirm")])},genToolbar:function(){var t=this.$createElement;if(this.showToolbar)return t("div",{class:qs("toolbar")},[this.slots()||[this.genCancel(),this.genTitle(),this.genConfirm()]])},genOptions:function(){var t=this.$createElement,e=196;Math.ceil(this.options.length/this.columnCounts)>5&&(e=460);var n={height:e+"px"};return t("div",{class:qs("options"),style:n},[this.genOptionItems()])},genOptionItems:function(){var t=this,e=this.$createElement,n=[];return n=this.options&&this.options[0]&&"object"!=typeof this.options[0]?this.options.map((function(t){return{value:t,text:t}})):this.options,e(Vs,{ref:"pickerOptions",attrs:{readonly:this.readonly,valueKey:this.valueKey,allowHtml:this.allowHtml,itemHeight:this.itemPxHeight,defaultIndexs:this.defaultIndexs,initialOptions:n,columnCounts:this.columnCounts},scopedSlots:{option:this.$scopedSlots.option},on:{change:function(){t.onChange()}}})}},render:function(t){return t(at,{attrs:{value:this.showPicker,round:!0,position:"bottom",closeOnPopstate:this.closeOnPopstate,closeOnClickOverlay:this.closeOnClickOverlay,customOnClickOverlay:this.onClickOverlay}},[t("div",{class:qs(),ref:"columnParent"},["top"===this.toolbarPosition?this.genToolbar():t(),"top"===this.toolbarPosition?t("div",{class:qs("border")}):t(),this.loading?t(pt,{class:qs("loading")}):t(),this.genOptions(),"bottom"===this.toolbarPosition?this.genToolbar():t()])])}}),Zs=Object(l.b)("nav-bar"),Xs=Zs[0],Ks=Zs[1],Qs=Xs({props:{title:String,fixed:Boolean,zIndex:[Number,String],leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,border:{type:Boolean,default:!0},themeColor:{type:String,default:"#0091FA"},contentColor:{type:String,default:"#ffffff"}},data:function(){return{height:null}},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.navBar.getBoundingClientRect().height)},methods:{genLeft:function(){var t=this.$createElement,e=this.slots("left");return e||[this.leftArrow&&t(nt,{class:Ks("arrow"),attrs:{name:"arrow-left",color:this.contentColor}}),this.leftText&&t("span",{class:Ks("text"),style:{color:this.contentColor}},[this.leftText])]},genRight:function(){var t=this.$createElement,e=this.slots("right");return e||(this.rightText?t("span",{class:Ks("text"),style:{color:this.contentColor}},[this.rightText]):void 0)},genNavBar:function(){var t,e=this.$createElement;return e("div",{ref:"navBar",style:{zIndex:this.zIndex,backgroundColor:this.themeColor,color:this.contentColor},class:[Ks({fixed:this.fixed,"safe-area-inset-top":this.safeAreaInsetTop}),(t={},t[he]=this.border,t)]},[e("div",{class:Ks("content")},[this.hasLeft()&&e("div",{class:Ks("left"),on:{click:this.onClickLeft}},[this.genLeft()]),e("div",{class:[Ks("title"),"van-ellipsis"],style:{color:this.contentColor}},[this.slots("title")||this.title]),this.hasRight()&&e("div",{class:Ks("right"),on:{click:this.onClickRight}},[this.genRight()])])])},hasLeft:function(){return this.leftArrow||this.leftText||this.slots("left")},hasRight:function(){return this.rightText||this.slots("right")},onClickLeft:function(t){this.$emit("click-left",t)},onClickRight:function(t){this.$emit("click-right",t)}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:Ks("placeholder"),style:{height:this.height+"px"}},[this.genNavBar()]):this.genNavBar()}}),Js={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[t("defs",[t("filter",{attrs:{id:"0pfjw60awa"}},[t("feColorMatrix",{attrs:{"color-interpolation-filters":"sRGB",in:"SourceGraphic",values:"0 0 0 0 1.000000 0 0 0 0 0.470588 0 0 0 0 0.000000 0 0 0 1.000000 0"}})])]),t("g",{attrs:{transform:"translate(-16 -8)",filter:"url(#0pfjw60awa)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M10.0000205,2 C10.4313513,2 10.7847262,2.32635112 10.81596,2.74029506 L10.8182041,2.8 L10.8182041,17.2 C10.8182041,17.6418278 10.4518908,18 10.0000205,18 C8.47831396,18 7.08903724,17.2074532 5.83716083,15.9187745 C5.41696061,15.4862213 5.04151158,15.0256295 4.71390332,14.5648239 L4.59034074,14.3878369 L4.55500808,14.3356 L2.63636736,14.33564 C1.78827982,14.33564 1.0908842,13.7048177 1.00820437,12.8968658 L1.00200262,12.815497 L1,12.73564 L1,7.20432 C1,6.34743223 1.68889536,5.64788787 2.5546959,5.6062781 L2.63636736,5.60432 L4.55868991,5.604 L4.59381043,5.55376814 L4.71754971,5.37943064 C5.04548838,4.92571815 5.42128549,4.47225305 5.84183107,4.04643755 C7.09349805,2.77908572 8.48192763,2 10.0000205,2 Z M14.7287914,2.51128375 C17.3624429,4.10432174 19,6.91489921 19,10 C19,13.1347956 17.3090454,15.9841029 14.6067441,17.5612168 C14.2187361,17.7876656 13.716448,17.6636865 13.4848521,17.2843018 C13.2532563,16.904917 13.3800533,16.413792 13.7680613,16.1873432 C15.9806111,14.8960575 17.3636326,12.5656263 17.3636326,10 C17.3636326,7.47499028 16.0243518,5.17635136 13.8679054,3.87196425 C13.4836234,3.6395205 13.3648172,3.14648891 13.6025443,2.77074736 C13.8402714,2.39500582 14.3445094,2.27884 14.7287914,2.51128375 Z M13.8177173,5.80328385 C14.1158885,6.06362483 14.3857326,6.35480674 14.6224274,6.67167591 C15.3357372,7.6266156 15.7273062,8.78503635 15.7273062,10 C15.7273062,11.204489 15.342456,12.3535397 14.640404,13.304126 C14.399415,13.6303729 14.123465,13.9297591 13.8177182,14.1967153 C13.4806708,14.4910011 12.9634515,14.4624084 12.6624767,14.1328516 C12.3615019,13.8032948 12.3907446,13.2975705 12.7277921,13.0032847 C12.9453424,12.8133353 13.141973,12.600005 13.3138168,12.3673658 C13.8157148,11.6877903 14.0909388,10.8660512 14.0909388,10 C14.0909388,9.12644111 13.8109226,8.29803883 13.3009895,7.61536868 C13.1322077,7.38941635 12.93995,7.18195595 12.727793,6.99671615 C12.3907451,6.70243085 12.3615016,6.19670656 12.6624759,5.86714933 C12.9634502,5.5375921 13.4806694,5.50899855 13.8177173,5.80328385 Z",fill:"#000","fill-rule":"nonzero",transform:"translate(16 8)"}})])])}},tl={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[t("defs",[t("filter",{attrs:{id:"m9iuvzckla"}},[t("feColorMatrix",{attrs:{"color-interpolation-filters":"sRGB",in:"SourceGraphic",values:"0 0 0 0 0.000000 0 0 0 0 0.568627 0 0 0 0 0.980392 0 0 0 1.000000 0"}})])]),t("g",{attrs:{transform:"translate(-16 -8)",filter:"url(#m9iuvzckla)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M16.75,1 C17.9599396,1 18.9468182,1.95503802 18.9979212,3.15239967 L19,3.25 L19,16.75 C19,17.9599396 18.044962,18.9468182 16.8476003,18.9979212 L16.75,19 L3.25,19 C2.04006038,19 1.05318185,18.044962 1.00207878,16.8476003 L1,16.75 L1,3.25 C1,2.04006038 1.95503802,1.05318185 3.15239967,1.00207878 L3.25,1 L16.75,1 Z M14.5,13.15 L5.5,13.15 L5.43283194,13.1524686 C4.96714501,13.1868257 4.6,13.5755372 4.6,14.05 C4.6,14.5244628 4.96714501,14.9131743 5.43283194,14.9475314 L5.5,14.95 L14.5,14.95 L14.5671681,14.9475314 C15.032855,14.9131743 15.4,14.5244628 15.4,14.05 C15.4,13.5755372 15.032855,13.1868257 14.5671681,13.1524686 L14.5,13.15 Z M14.5,9.1 L5.5,9.1 L5.43283194,9.10246858 C4.96714501,9.1368257 4.6,9.52553719 4.6,10 C4.6,10.4744628 4.96714501,10.8631743 5.43283194,10.8975314 L5.5,10.9 L14.5,10.9 L14.5671681,10.8975314 C15.032855,10.8631743 15.4,10.4744628 15.4,10 C15.4,9.52553719 15.032855,9.1368257 14.5671681,9.10246858 L14.5,9.1 Z M14.5,5.05 L5.5,5.05 L5.43283194,5.05246858 C4.96714501,5.0868257 4.6,5.47553719 4.6,5.95 C4.6,6.42446281 4.96714501,6.8131743 5.43283194,6.84753142 L5.5,6.85 L14.5,6.85 L14.5671681,6.84753142 C15.032855,6.8131743 15.4,6.42446281 15.4,5.95 C15.4,5.47553719 15.032855,5.0868257 14.5671681,5.05246858 L14.5,5.05 Z",fill:"#000","fill-rule":"nonzero",transform:"translate(16 8)"}})])])}},el={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[t("defs",[t("filter",{attrs:{id:"9tbqkwtkda"}},[t("feColorMatrix",{attrs:{"color-interpolation-filters":"sRGB",in:"SourceGraphic",values:"0 0 0 0 1.000000 0 0 0 0 0.588235 0 0 0 0 0.137255 0 0 0 1.000000 0"}})])]),t("g",{attrs:{transform:"translate(-343 -8)",filter:"url(#9tbqkwtkda)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M10,2 C14.418278,2 18,5.581722 18,10 C18,14.418278 14.418278,18 10,18 C5.581722,18 2,14.418278 2,10 C2,5.581722 5.581722,2 10,2 Z M13.0248457,5.95377786 C12.9163667,5.84529889 12.7404875,5.84529889 12.6320086,5.95377786 L12.6320086,5.95377786 L10,8.586 L7.36799143,5.95377786 C7.25951246,5.84529889 7.08363329,5.84529889 6.97515432,5.95377786 L5.95377786,6.97515432 C5.84529889,7.08363329 5.84529889,7.25951246 5.95377786,7.36799143 L8.586,10 L5.95377786,12.6320086 C5.86337872,12.7224077 5.8483122,12.8596125 5.90857829,12.9656136 L5.95377786,13.0248457 L6.97515432,14.0462221 C7.08363329,14.1547011 7.25951246,14.1547011 7.36799143,14.0462221 L7.36799143,14.0462221 L10,11.414 L12.6320086,14.0462221 C12.7404875,14.1547011 12.9163667,14.1547011 13.0248457,14.0462221 L14.0462221,13.0248457 C14.1547011,12.9163667 14.1547011,12.7404875 14.0462221,12.6320086 L11.414,10 L14.0462221,7.36799143 C14.1366213,7.27759228 14.1516878,7.14038745 14.0914217,7.03438642 L14.0462221,6.97515432 Z",fill:"#000",transform:"translate(343 8)"}})])])}},nl={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[t("defs",[t("filter",{attrs:{id:"mpff2escja"}},[t("feColorMatrix",{attrs:{"color-interpolation-filters":"sRGB",in:"SourceGraphic",values:"0 0 0 0 0.000000 0 0 0 0 0.568627 0 0 0 0 0.980392 0 0 0 1.000000 0"}})])]),t("g",{attrs:{transform:"translate(-343 -8)",filter:"url(#mpff2escja)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{stroke:"#000","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",transform:"matrix(-1 0 0 1 363 8)",d:"M13 16L7 10 13 4"}})])])}},rl={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[t("defs",[t("filter",{attrs:{id:"a71d2bplqa"}},[t("feColorMatrix",{attrs:{"color-interpolation-filters":"sRGB",in:"SourceGraphic",values:"0 0 0 0 1.000000 0 0 0 0 0.313725 0 0 0 0 0.137255 0 0 0 1.000000 0"}})])]),t("g",{attrs:{transform:"translate(-16 -8)",filter:"url(#a71d2bplqa)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M10,2 C14.4177746,2 18,5.58222543 18,10 C18,14.4177746 14.4177746,18 10,18 C5.58222543,18 2,14.4177746 2,10 C2,5.58222543 5.58222543,2 10,2 Z M10,12.5 C9.17157288,12.5 8.5,13.1715729 8.5,14 C8.5,14.8284271 9.17157288,15.5 10,15.5 C10.8284271,15.5 11.5,14.8284271 11.5,14 C11.5,13.1715729 10.8284271,12.5 10,12.5 Z M10,4.5 C9.44771525,4.5 9,4.94771525 9,5.5 L9,5.5 L9,10.5 C9,11.0522847 9.44771525,11.5 10,11.5 C10.5522847,11.5 11,11.0522847 11,10.5 L11,10.5 L11,5.5 C11,4.94771525 10.5522847,4.5 10,4.5 Z",fill:"#000","fill-rule":"nonzero",transform:"translate(16 8)"}})])])}},il={render:function(){var t=arguments[0];return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[t("defs",[t("filter",{attrs:{id:"gty25sg3ra"}},[t("feColorMatrix",{attrs:{"color-interpolation-filters":"sRGB",in:"SourceGraphic",values:"0 0 0 0 0.156863 0 0 0 0 0.803922 0 0 0 0 0.470588 0 0 0 1.000000 0"}})])]),t("g",{attrs:{transform:"translate(-16 -8)",filter:"url(#gty25sg3ra)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M10,2 C5.58222543,2 2,5.58222543 2,10 C2,14.4177746 5.58222543,18 10,18 C14.4177746,18 18,14.4177746 18,10 C18,5.58222543 14.4177746,2 10,2 Z M14.32177,8.20443973 L9.43288496,13.0933248 C9.25510795,13.2711018 9.01866322,13.3617693 8.78399576,13.3617693 C8.54933004,13.3617693 8.31466259,13.2728804 8.13510656,13.0933248 L5.67821611,10.6364343 C5.3191058,10.2791013 5.3191058,9.69776797 5.67821611,9.33865766 C6.03732643,8.97954734 6.61688246,8.98132462 6.97599277,9.33865766 L8.78576436,11.1466572 L13.0257585,6.90666308 C13.3830915,6.54933004 13.9644248,6.54933004 14.3235351,6.90666308 C14.6808681,7.26577339 14.6808681,7.8471067 14.3217573,8.20443973 L14.32177,8.20443973 Z",fill:"#000","fill-rule":"nonzero",transform:"translate(16 8)"}})])])}},ol=Object(l.b)("notice-bar"),al=ol[0],sl=ol[1],ll=al({mixins:[U((function(t){t(window,"pageshow",this.reset)}))],inject:{ztPopup:{default:null}},props:{text:String,mode:String,color:String,leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null},delay:{type:[Number,String],default:1},speed:{type:[Number,String],default:60}},data:function(){return{show:!0,offset:0,duration:0,wrapWidth:0,contentWidth:0}},watch:{scrollable:"reset",text:{handler:"reset",immediate:!0}},created:function(){this.ztPopup&&this.ztPopup.onReopen(this.reset)},activated:function(){this.reset()},methods:{onClickIcon:function(t){"closeable"!==this.mode&&"zt-closeable"!==this.mode||(this.show=!1,this.$emit("close",t))},onTransitionEnd:function(){var t=this;this.offset=this.wrapWidth,this.duration=0,Object(_e.c)((function(){Object(_e.b)((function(){t.offset=-t.contentWidth,t.duration=(t.contentWidth+t.wrapWidth)/t.speed,t.$emit("replay")}))}))},start:function(){this.reset()},reset:function(){var t=this,e=Object(l.e)(this.delay)?1e3*this.delay:0;this.offset=0,this.duration=0,this.wrapWidth=0,this.contentWidth=0,clearTimeout(this.startTimer),this.startTimer=setTimeout((function(){var e=t.$refs,n=e.wrap,r=e.content;if(n&&r&&!1!==t.scrollable){var i=n.getBoundingClientRect().width,o=r.getBoundingClientRect().width;(t.scrollable||o>i)&&Object(_e.b)((function(){t.offset=-o,t.duration=o/t.speed,t.wrapWidth=i,t.contentWidth=o}))}}),e)}},render:function(){var t=this,e=arguments[0],n=this.slots,r=this.mode,i=this.leftIcon,o=this.onClickIcon,a={color:this.color,background:this.background},s={transform:this.offset?"translateX("+this.offset+"px)":"",transitionDuration:this.duration+"s"};function l(){var t=n("left-icon");return t||("zt-notice-icon"===i?e("div",{class:sl("left-icon")},[e(Js,{class:sl("left-icon-size")})]):"zt-menu-icon"===i||"zt-menu-icon"===i?e("div",{class:sl("left-icon")},[e(tl,{class:sl("left-icon-size")})]):"zt-warning-icon"===i?e("div",{class:sl("left-icon")},[e(rl,{class:sl("left-icon-size")})]):"zt-tip-icon"===i?e("div",{class:sl("left-icon")},[e(il,{class:sl("left-icon-size")})]):i?e(nt,{class:sl("left-icon"),attrs:{name:i}}):void 0)}function u(){var t,i=n("right-icon");return i||("zt-closeable"===r?e("div",{class:sl("right-icon"),on:{click:o}},[e(el,{class:sl("right-icon-size")})]):"zt-link"===r?e("div",{class:sl("right-icon"),on:{click:o}},[e(nl,{class:sl("right-icon-size")})]):("closeable"===r?t="close":"link"===r&&(t="arrow"),t?e(nt,{class:sl("right-icon"),attrs:{name:t},on:{click:o}}):void 0))}return e("div",{attrs:{role:"alert"},directives:[{name:"show",value:this.show}],class:sl({wrapable:this.wrapable}),style:a,on:{click:function(e){t.$emit("click",e)}}},[l(),e("div",{ref:"wrap",class:sl("wrap"),attrs:{role:"marquee"}},[e("div",{ref:"content",class:[sl("content"),{"zt-ellipsis":!1===this.scrollable&&!this.wrapable}],style:s,on:{transitionend:this.onTransitionEnd}},[this.slots()||this.text])]),u()])}}),ul={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 32 22",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M28.016 0A3.991 3.991 0 0132 3.987v14.026c0 2.2-1.787 3.987-3.98 3.987H10.382c-.509 0-.996-.206-1.374-.585L.89 13.09C.33 12.62 0 11.84 0 11.006c0-.86.325-1.62.887-2.08L9.01.585A1.936 1.936 0 0110.383 0zm0 1.947H10.368L2.24 10.28c-.224.226-.312.432-.312.73 0 .287.094.51.312.729l8.128 8.333h17.648a2.041 2.041 0 002.037-2.04V3.987c0-1.127-.915-2.04-2.037-2.04zM23.028 6a.96.96 0 01.678.292.95.95 0 01-.003 1.377l-3.342 3.348 3.326 3.333c.189.188.292.43.292.679 0 .248-.103.49-.292.679a.96.96 0 01-.678.292.959.959 0 01-.677-.292L18.99 12.36l-3.343 3.345a.96.96 0 01-.677.292.96.96 0 01-.678-.292.962.962 0 01-.292-.68c0-.248.104-.49.292-.679l3.342-3.348-3.342-3.348A.963.963 0 0114 6.971c0-.248.104-.49.292-.679A.96.96 0 0114.97 6a.96.96 0 01.677.292l3.358 3.348 3.345-3.348A.96.96 0 0123.028 6z",fill:"currentColor"}})])}},cl={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 30 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M25.877 12.843h-1.502c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.5c.187 0 .187 0 .187-.188v-1.511c0-.19 0-.191-.185-.191zM17.999 10.2c0 .188 0 .188.188.188h1.687c.188 0 .188 0 .188-.188V8.688c0-.187.004-.187-.186-.19h-1.69c-.187 0-.187 0-.187.19V10.2zm2.25-3.967h1.5c.188 0 .188 0 .188-.188v-1.7c0-.19 0-.19-.188-.19h-1.5c-.189 0-.189 0-.189.19v1.7c0 .188 0 .188.19.188zm2.063 4.157h3.563c.187 0 .187 0 .187-.189V4.346c0-.19.004-.19-.185-.19h-1.69c-.187 0-.187 0-.187.188v4.155h-1.688c-.187 0-.187 0-.187.189v1.514c0 .19 0 .19.187.19zM14.812 24l2.812-3.4H12l2.813 3.4zm-9-11.157H4.31c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.502c.187 0 .187 0 .187-.188v-1.511c0-.19.01-.191-.189-.191zm15.937 0H8.25c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h13.5c.188 0 .188 0 .188-.188v-1.511c0-.19 0-.191-.188-.191zm-11.438-2.454h1.5c.188 0 .188 0 .188-.188V8.688c0-.187 0-.187-.188-.189h-1.5c-.187 0-.187 0-.187.189V10.2c0 .188 0 .188.187.188zM27.94 0c.563 0 .917.21 1.313.567.518.466.748.757.748 1.51v14.92c0 .567-.188 1.134-.562 1.512-.376.378-.938.566-1.313.566H2.063c-.563 0-.938-.188-1.313-.566-.562-.378-.75-.945-.75-1.511V2.078C0 1.51.188.944.562.567.938.189 1.5 0 1.875 0zm-.062 2H2v14.92h25.877V2zM5.81 4.157c.19 0 .19 0 .19.189v1.762c-.003.126-.024.126-.188.126H4.249c-.126-.003-.126-.023-.126-.188v-1.7c-.187-.19 0-.19.188-.19zm10.5 2.077h1.503c.187 0 .187 0 .187-.188v-1.7c0-.19 0-.19-.187-.19h-1.502c-.188 0-.188.001-.188.19v1.7c0 .188 0 .188.188.188zM7.875 8.5c.187 0 .187.002.187.189V10.2c0 .188 0 .188-.187.188H4.249c-.126-.002-.126-.023-.126-.188V8.625c.003-.126.024-.126.188-.126zm7.875 0c.19.002.19.002.19.189v1.575c-.003.126-.024.126-.19.126h-1.563c-.126-.002-.126-.023-.126-.188V8.625c.002-.126.023-.126.189-.126zm-6-4.342c.187 0 .187 0 .187.189v1.7c0 .188 0 .188-.187.188H8.187c-.126-.003-.126-.023-.126-.188V4.283c.003-.126.024-.126.188-.126zm3.94 0c.185 0 .372 0 .372.189v1.762c-.002.126-.023.126-.187.126h-1.75C12 6.231 12 6.211 12 6.046v-1.7c0-.19.187-.19.187-.19z",fill:"currentColor"}})])}},hl=Object(l.b)("key"),fl=hl[0],dl=hl[1],pl=fl({mixins:[j],props:{type:String,text:[Number,String],color:String,wider:Boolean,large:Boolean,loading:Boolean},data:function(){return{active:!1}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{onTouchStart:function(t){t.stopPropagation(),this.touchStart(t),this.active=!0},onTouchMove:function(t){this.touchMove(t),this.direction&&(this.active=!1)},onTouchEnd:function(t){this.active&&(this.slots("default")||t.preventDefault(),this.active=!1,this.$emit("press",this.text,this.type))},genContent:function(){var t=this.$createElement,e="extra"===this.type,n="delete"===this.type,r=this.slots("default")||this.text;return this.loading?t(pt,{class:dl("loading-icon")}):n?r||t(ul,{class:dl("delete-icon")}):e?r||t(cl,{class:dl("collapse-icon")}):r}},render:function(){var t=arguments[0];return t("div",{class:dl("wrapper",{wider:this.wider})},[t("div",{attrs:{role:"button",tabindex:"0"},class:dl([this.color,{large:this.large,active:this.active,delete:"delete"===this.type}])},[this.genContent()])])}}),vl=Object(l.b)("number-keyboard"),gl=vl[0],ml=vl[1],yl=gl({mixins:[z(),U((function(t){this.hideOnClickOutside&&t(document.body,"touchstart",this.onBlur)}))],model:{event:"update:value"},props:{show:Boolean,title:String,zIndex:[Number,String],randomKeyOrder:Boolean,closeButtonText:String,deleteButtonText:String,closeButtonLoading:Boolean,theme:{type:String,default:"default"},value:{type:String,default:""},extraKey:{type:[String,Array],default:""},maxlength:{type:[Number,String],default:Number.MAX_VALUE},transition:{type:Boolean,default:!0},showDeleteKey:{type:Boolean,default:!0},hideOnClickOutside:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0}},watch:{show:function(t){this.transition||this.$emit(t?"show":"hide")}},computed:{keys:function(){return"custom"===this.theme?this.genCustomKeys():this.genDefaultKeys()}},methods:{genBasicKeys:function(){for(var t=[],e=1;e<=9;e++)t.push({text:e});return this.randomKeyOrder&&t.sort((function(){return Math.random()>.5?1:-1})),t},genDefaultKeys:function(){return[].concat(this.genBasicKeys(),[{text:this.extraKey,type:"extra"},{text:0},{text:this.showDeleteKey?this.deleteButtonText:"",type:this.showDeleteKey?"delete":""}])},genCustomKeys:function(){var t=this.genBasicKeys(),e=this.extraKey,n=Array.isArray(e)?e:[e];return 1===n.length?t.push({text:0,wider:!0},{text:n[0],type:"extra"}):2===n.length&&t.push({text:n[0],type:"extra"},{text:0},{text:n[1],type:"extra"}),t},onBlur:function(){this.show&&this.$emit("blur")},onClose:function(){this.$emit("close"),this.onBlur()},onAnimationEnd:function(){this.$emit(this.show?"show":"hide")},onPress:function(t,e){if(""!==t){var n=this.value;"delete"===e?(this.$emit("delete"),this.$emit("update:value",n.slice(0,n.length-1))):"close"===e?this.onClose():n.length<this.maxlength&&(this.$emit("input",t),this.$emit("update:value",n+t))}else"extra"===e&&this.onBlur()},genTitle:function(){var t=this.$createElement,e=this.title,n=this.theme,r=this.closeButtonText,i=this.slots("title-left"),o=r&&"default"===n;if(e||o||i)return t("div",{class:ml("header")},[i&&t("span",{class:ml("title-left")},[i]),e&&t("h2",{class:ml("title")},[e]),o&&t("button",{attrs:{type:"button"},class:ml("close"),on:{click:this.onClose}},[r])])},genKeys:function(){var t=this,e=this.$createElement;return this.keys.map((function(n){return e(pl,{key:n.text,attrs:{text:n.text,type:n.type,wider:n.wider,color:n.color},on:{press:t.onPress}},["delete"===n.type&&t.slots("delete"),"extra"===n.type&&t.slots("extra-key")])}))},genSidebar:function(){var t=this.$createElement;if("custom"===this.theme)return t("div",{class:ml("sidebar")},[this.showDeleteKey&&t(pl,{attrs:{large:!0,text:this.deleteButtonText,type:"delete"},on:{press:this.onPress}},[this.slots("delete")]),t(pl,{attrs:{large:!0,text:this.closeButtonText,type:"close",color:"blue",loading:this.closeButtonLoading},on:{press:this.onPress}})])}},render:function(){var t=arguments[0],e=this.genTitle();return t("transition",{attrs:{name:this.transition?"zt-slide-up":""}},[t("div",{directives:[{name:"show",value:this.show}],style:{zIndex:this.zIndex},class:ml({unfit:!this.safeAreaInsetBottom,"with-title":e}),on:{touchstart:y,animationend:this.onAnimationEnd,webkitAnimationEnd:this.onAnimationEnd}},[e,t("div",{class:ml("body")},[t("div",{class:ml("keys")},[this.genKeys()]),this.genSidebar()])])])}}),bl=Object(l.b)("password-input"),Cl=bl[0],wl=bl[1];function _l(t,e,n,r){for(var i,a=e.mask,s=e.value,u=e.length,c=e.gutter,d=e.focused,p=(e.errorInfo,[]),v=0;v<u;v++){var g,m=s[v],y=0!==v&&!c,b=d&&v===s.length,C=void 0;0!==v&&c&&(C={marginLeft:Object(l.a)(c)}),p.push(t("li",{class:[(g={},g["zt-hairline--left"]=y,g),wl("item",{focus:b})],style:C},[a?t("i",{style:{visibility:m?"visible":"hidden"}}):m,b&&t("div",{class:wl("cursor")})]))}return t("div",{class:wl()},[t("ul",o()([{class:[wl("security"),(i={},i["zt-hairline--surround"]=!c,i)],on:{touchstart:function(t){t.stopPropagation(),f(r,"focus",t)}}},h(r,!0)]),[p])])}_l.props={gutter:[Number,String],focused:Boolean,errorInfo:String,mask:{type:Boolean,default:!0},value:{type:String,default:""},length:{type:[Number,String],default:6}};var xl=Cl(_l),Al=n(10).a,Sl=(n(33),n(11)),kl=Object(Sl.a)(Al,void 0,void 0,!1,null,null,null).exports,Pl=Object(l.b)("pdf-viewer"),Ll=Pl[0],Tl=Pl[1];s.a.use(kl);var Ol=n(35),El=Ll({props:{url:{type:String,default:""}},data:function(){return{loadingTask:null,pdfPageCount:0,pageNum:1,loading:!1,rotateDegree:0,pdfArr:[],pageChangeByButton:!1,showPicker:!1,bodyInitialHeight:"",bodyInitialMinHeight:"",metaContent:"",pdfScrollEvent:function(){},scrollEvent:function(){},privateUrl:""}},mounted:function(){this.init()},activated:function(){this.init()},deactivated:function(){this.resetAll()},destroyed:function(){this.resetAll()},computed:{currentShowArr:function(){var t=[];if(this.pdfPageCount){for(var e=this.pageNum-5<0?1:this.pageNum-5,n=this.pageNum+5>this.pdfPageCount?this.pdfPageCount:this.pageNum+5,r=e;r<n+1;r++)t.push(r);return t}return[]}},watch:{url:function(t){this.privateUrl=t},privateUrl:function(t){t&&this.getPdfNumPages()},pageNum:function(t){this.pageChangeByButton&&document.getElementById("pdfContent"+t)&&this.$nextTick((function(){document.getElementById("pdfContent"+t).scrollIntoView(!1)}))},currentShowArr:{deep:!0,handler:function(t,e){var n=this,r=[];e.forEach((function(e){t.includes(e)||r.push(e)})),r.forEach((function(t){n.transformCanvasIntoImg(t)}))}}},methods:{init:function(){this.privateUrl=this.url,this.recordMeta(),this.recordHeight(),this.recordScrollEvent(),this.setHeight(),this.setMeta(),this.setScrollEvent()},resetAll:function(){this.setHeight(!0),this.setMeta(!0),this.setScrollEvent(!0),this.reset()},recordScrollEvent:function(){this.scrollEvent=window.onscroll},setScrollEvent:function(t){var e=this;t?window.onscroll=this.scrollEvent:this.pdfScrollEvent&&(window.onscroll=function(){e.pdfScrollEvent()})},recordMeta:function(){var t;this.metaContent=null==(t=document.getElementsByTagName("meta").viewport)?void 0:t.getAttribute("content")},transformCanvasIntoImg:function(t){var e=this,n=document.getElementById("pdfContent"+t);if(n&&n.getElementsByTagName("canvas")&&n.getElementsByTagName("canvas")[0]){var r=n.getElementsByTagName("canvas")[0],i=r.getContext("2d").getImageData(0,0,r.width,r.height);if(i.data.every((function(t){return 0===t}))||i.data.every((function(t){return 255===t})))setTimeout((function(){e.transformCanvasIntoImg(t)}),1e3);else{var o=document.createElement("img");o.src=r.toDataURL("image/png"),o.style.width="100%",o.style.height="100%",n.removeChild(r),n.appendChild(o)}}},setMeta:function(t){var e=document.getElementsByTagName("meta").viewport;t?e.setAttribute("content",this.metaContent||""):e.setAttribute("content","width=device-width, initial-scale=1.0, minimum-scale=1.0, viewport-fit=cover")},recordHeight:function(){this.bodyInitialHeight=document.body.style.height||"",this.bodyInitialMinHeight=document.body.style.minHeight||""},setHeight:function(t){t?(document.body.style.height=this.bodyInitialHeight,document.body.style.minHeight=this.bodyInitialMinHeight):(document.body.style.height="auto",document.body.style.minHeight="100%")},reset:function(){Object(l.k)(this,{loadingTask:null,pdfPageCount:0,pageNum:1,loading:!1,rotateDegree:0,pdfArr:[],pageChangeByButton:!1,showPicker:!1,bodyInitialHeight:"",bodyInitialMinHeight:"",metaContent:"",pdfScrollEvent:function(){},scrollEvent:function(){},privateUrl:""})},getPdfNumPages:function(){var t=this;this.privateUrl&&(this.loading=!0,this.loadingTask=kl.createLoadingTask(this.privateUrl),this.loadingTask.promise.then((function(e){t.pdfPageCount=e.numPages;for(var n=[],r=0;r<t.pdfPageCount;r++)n.push({loaded:!1});t.pageNum=1,t.pdfArr=n,t.buildPdfScrollEvent()})).catch((function(t){console.error("pdf 加载失败",t)})).finally((function(){t.loading=!1})))},buildPdfScrollEvent:function(){var t=this;this.pdfScrollEvent=window.onscroll=Ol.throttle((function(){t.pageChangeByButton?t.pageChangeByButton=!1:t.changePage()}),1e3)},changePage:function(){if(0!==window.pageYOffset){var t=1,e=this.pdfPageCount,n=document.documentElement.clientHeight;do{var r=this.findPos(document.getElementById("pdfContent"+t)),i=r+document.getElementById("pdfContent"+t).offsetHeight;if(window.pageYOffset+n>=r&&window.pageYOffset+n<=i){this.pageNum=t;break}if(t===e&&window.pageYOffset+n>i){this.pageNum=t;break}t++}while(t<e+1)}else this.pageNum=1},findPos:function(t){return t?t.offsetTop:0},perPage:function(){this.pageNum>1?(this.pageNum=this.pageNum-1,this.pageChangeByButton=!0):Ze("已经是首页!")},nextPage:function(){this.pageNum<this.pdfPageCount?(this.pageNum=this.pageNum+1,this.pageChangeByButton=!0):Ze("已经是尾页!")},onPdfLoaded:function(t){this.pdfArr[t-1].loaded=!0,this.$emit("loaded",t),console.log("pdf loaded",t)},onPdfError:function(t){this.$emit("error",t),console.log("pdf viewer error: "+t)},rotate:function(){this.rotateDegree+=90},genPdf:function(t){var e=this.$createElement;return this.currentShowArr.includes(t)||this.pdfArr[t-1].loaded?e("div",[e(kl,{attrs:{src:this.loadingTask,page:t,id:"pdfContent"+t,rotate:this.rotateDegree},key:t,on:{"page-loaded":this.onPdfLoaded,error:this.onPdfError}}),e("div",{class:Tl("page-margin")})]):e("div",[e("div",{attrs:{id:"pdfContent"+t},style:"width:100vw;height:100vh;"}),e("div",{class:Tl("page-margin")})])},showPagePicker:function(){this.showPicker=!0},getPageList:function(){return this.pdfArr.map((function(t,e){return e+1}))},setPage:function(t){this.pageNum=t,this.pageChangeByButton=!0,this.showPicker=!1},cancel:function(){this.showPicker=!1}},render:function(t){var e=this;return t("div",{class:Tl()},[this.loading?t(pt,{class:Tl("loading")}):t(),t("div",{class:Tl("pdf-top")},[t("div",{directives:[{name:"show",value:!this.loading}],class:Tl("page-btn")},[t("svg",{attrs:{t:"1635239576536",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3862",width:"20",height:"20"},class:Tl("handle-btn"),on:{click:this.perPage}},[t("path",{attrs:{d:"M410.7 512.4L749.1 174c24.9-24.9 24.9-65.6 0-90.5-24.9-24.9-65.6-24.9-90.5 0L274.9 467.2c-6.2 6.2-10.9 13.4-14 21.1-5.4 13.5-6.1 28.5-2 42.4 0.6 2 1.3 3.9 2 5.9 3.1 7.7 7.8 14.9 14 21.1l383.6 383.6c24.9 24.9 65.6 24.9 90.5 0 24.9-24.9 24.9-65.6 0-90.5L410.7 512.4z","p-id":"3863",fill:"#0091fa"}})]),t("span",{directives:[{name:"show",value:this.pdfPageCount>0}],class:Tl("page-count"),on:{click:this.showPagePicker}},[this.pageNum," / ",this.pdfPageCount]),t("svg",{attrs:{t:"1635239716959",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4119",width:"20",height:"20"},class:Tl("handle-btn"),on:{click:this.nextPage}},[t("path",{attrs:{d:"M613.3 512.4L274.9 850.8c-24.9 24.9-24.9 65.6 0 90.5 24.9 24.9 65.6 24.9 90.5 0L749 557.7c6.2-6.2 10.9-13.4 14-21.1 5.4-13.5 6.1-28.5 2-42.4-0.6-2-1.3-3.9-2-5.9-3.1-7.7-7.8-14.9-14-21.1L365.4 83.5c-24.9-24.9-65.6-24.9-90.5 0-24.9 24.9-24.9 65.6 0 90.5l338.4 338.4z","p-id":"4120",fill:"#0091fa"}})])])]),this.pdfArr.length?t("div",{directives:[{name:"show",value:!this.loading}],class:Tl("container"),attrs:{id:"pdfContainer"}},[this.pdfArr.map((function(t,n){return e.genPdf(n+1)}))]):t(),t(Dt,{attrs:{"show-picker":this.showPicker,"default-index":this.pageNum-1,title:"页码",columns:this.getPageList()},on:{cancel:this.cancel,confirm:this.setPage}})])}});function Fl(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function Rl(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Il(t){var e=Rl(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ml(t){return t instanceof Rl(t).Element||t instanceof Element}function Dl(t){return t instanceof Rl(t).HTMLElement||t instanceof HTMLElement}function Bl(t){return t?(t.nodeName||"").toLowerCase():null}function Nl(t){return((Ml(t)?t.ownerDocument:t.document)||window.document).documentElement}function jl(t){return Rl(t).getComputedStyle(t)}function zl(t){var e=jl(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Hl(t,e,n){void 0===n&&(n=!1);var r,i,o=Nl(e),a=Fl(t),s=Dl(e),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!n)&&(("body"!==Bl(e)||zl(o))&&(l=(r=e)!==Rl(r)&&Dl(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Il(r)),Dl(e)?((u=Fl(e)).x+=e.clientLeft,u.y+=e.clientTop):o&&(u.x=function(t){return Fl(Nl(t)).left+Il(t).scrollLeft}(o))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function Ul(t){return"html"===Bl(t)?t:t.assignedSlot||t.parentNode||(e=t,"undefined"!=typeof ShadowRoot&&(e instanceof Rl(e).ShadowRoot||e instanceof ShadowRoot)?t.host:null)||Nl(t);var e}function Vl(t,e){var n;void 0===e&&(e=[]);var r=function t(e){return["html","body","#document"].indexOf(Bl(e))>=0?e.ownerDocument.body:Dl(e)&&zl(e)?e:t(Ul(e))}(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),o=Rl(r),a=i?[o].concat(o.visualViewport||[],zl(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(Vl(Ul(a)))}function Wl(t){return["table","td","th"].indexOf(Bl(t))>=0}function $l(t){return Dl(t)&&"fixed"!==jl(t).position?t.offsetParent:null}function ql(t){for(var e=Rl(t),n=$l(t);n&&Wl(n)&&"static"===jl(n).position;)n=$l(n);return n&&("html"===Bl(n)||"body"===Bl(n)&&"static"===jl(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Dl(t)&&"fixed"===jl(t).position)return null;for(var n=Ul(t);Dl(n)&&["html","body"].indexOf(Bl(n))<0;){var r=jl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var Gl="top",Yl="right",Zl="left",Xl=[].concat([Gl,"bottom",Yl,Zl],["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),Kl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ql(t){var e=new Map,n=new Set,r=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var i=e.get(r);i&&t(i)}})),r.push(i)}(t)})),r}function Jl(t){return t.split("-")[0]}var tu=Math.round;var eu={placement:"bottom",modifiers:[],strategy:"absolute"};function nu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function ru(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?eu:i;return function(t,e,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},eu,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(n){h(),s.options=Object.assign({},o,s.options,n),s.scrollParents={reference:Ml(t)?Vl(t):t.contextElement?Vl(t.contextElement):[],popper:Vl(e)};var i=function(t){var e=Ql(t);return Kl.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=i.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var o=i({state:s,name:e,instance:c,options:r});l.push(o||function(){})}})),c.update()},forceUpdate:function(){if(!u){var t=s.elements,e=t.reference,n=t.popper;if(nu(e,n)){var r,i,o,a;s.rects={reference:Hl(e,ql(n),"fixed"===s.options.strategy),popper:(r=n,i=Fl(r),o=r.offsetWidth,a=r.offsetHeight,Math.abs(i.width-o)<=1&&(o=i.width),Math.abs(i.height-a)<=1&&(a=i.height),{x:r.offsetLeft,y:r.offsetTop,width:o,height:a})},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var l=0;l<s.orderedModifiers.length;l++)if(!0!==s.reset){var h=s.orderedModifiers[l],f=h.fn,d=h.options,p=void 0===d?{}:d,v=h.name;"function"==typeof f&&(s=f({state:s,options:p,name:v,instance:c})||s)}else s.reset=!1,l=-1}}},update:(i=function(){return new Promise((function(t){c.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){h(),u=!0}};if(!nu(t,e))return c;function h(){l.forEach((function(t){return t()})),l=[]}return c.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t)})),c}}var iu={passive:!0};var ou={top:"auto",right:"auto",bottom:"auto",left:"auto"};function au(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.offsets,a=t.position,s=t.gpuAcceleration,l=t.adaptive,u=t.roundOffsets,c=!0===u?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:tu(tu(e*r)/r)||0,y:tu(tu(n*r)/r)||0}}(o):"function"==typeof u?u(o):o,h=c.x,f=void 0===h?0:h,d=c.y,p=void 0===d?0:d,v=o.hasOwnProperty("x"),g=o.hasOwnProperty("y"),m=Zl,y=Gl,b=window;if(l){var C=ql(n),w="clientHeight",_="clientWidth";C===Rl(n)&&"static"!==jl(C=Nl(n)).position&&(w="scrollHeight",_="scrollWidth"),C=C,i===Gl&&(y="bottom",p-=C[w]-r.height,p*=s?1:-1),i===Zl&&(m=Yl,f-=C[_]-r.width,f*=s?1:-1)}var x,A=Object.assign({position:a},l&&ou);return s?Object.assign({},A,((x={})[y]=g?"0":"",x[m]=v?"0":"",x.transform=(b.devicePixelRatio||1)<2?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",x)):Object.assign({},A,((e={})[y]=g?p+"px":"",e[m]=v?f+"px":"",e.transform="",e))}var su=ru({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=Rl(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach((function(t){t.addEventListener("scroll",n.update,iu)})),s&&l.addEventListener("resize",n.update,iu),function(){o&&u.forEach((function(t){t.removeEventListener("scroll",n.update,iu)})),s&&l.removeEventListener("resize",n.update,iu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=function(t){var e,n=t.reference,r=t.element,i=t.placement,o=i?Jl(i):null,a=i?function(t){return t.split("-")[1]}(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Gl:e={x:s,y:n.y-r.height};break;case"bottom":e={x:s,y:n.y+n.height};break;case Yl:e={x:n.x+n.width,y:l};break;case Zl:e={x:n.x-r.width,y:l};break;default:e={x:n.x,y:n.y}}var u=o?function(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}(o):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case"start":e[u]=e[u]-(n[c]/2-r[c]/2);break;case"end":e[u]=e[u]+(n[c]/2-r[c]/2)}}return e}({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,u={placement:Jl(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,au(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,au(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];Dl(i)&&Bl(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Dl(r)&&Bl(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]}]});var lu={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=void 0===i?[0,0]:i,a=Xl.reduce((function(t,n){return t[n]=function(t,e,n){var r=Jl(t),i=[Zl,Gl].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Zl,Yl].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t}),{}),s=a[e.placement],l=s.x,u=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=a}},uu=Object(l.b)("popover"),cu=uu[0],hu=uu[1],fu=cu({mixins:[qr({event:"touchstart",method:"onClickOutside"})],props:{value:Boolean,trigger:String,overlay:Boolean,offset:{type:Array,default:function(){return[0,6]}},theme:{type:String,default:"light"},actions:{type:Array,default:function(){return[]}},placement:{type:String,default:"bottom"},getContainer:{type:[String,Function],default:"body"},closeOnClickAction:{type:Boolean,default:!0}},watch:{value:"updateLocation",placement:"updateLocation"},mounted:function(){this.updateLocation()},beforeDestroy:function(){this.popper&&(this.popper.destroy(),this.popper=null)},methods:{createPopper:function(){return su(this.$refs.wrapper,this.$refs.popover.$el,{placement:this.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},r({},lu,{options:{offset:this.offset}})]})},updateLocation:function(){var t=this;this.$nextTick((function(){t.value&&(t.popper?t.popper.setOptions({placement:t.placement}):t.popper=t.createPopper())}))},renderAction:function(t,e){var n=this,r=this.$createElement,i=t.icon,o=t.text,a=t.disabled,s=t.className;return r("div",{attrs:{role:"menuitem"},class:[hu("action",{disabled:a,"with-icon":i}),s],on:{click:function(){return n.onClickAction(t,e)}}},[i&&r(nt,{attrs:{name:i},class:hu("action-icon")}),r("div",{class:[hu("action-text"),he]},[o])])},onToggle:function(t){this.$emit("input",t)},onClickWrapper:function(){"click"===this.trigger&&this.onToggle(!this.value)},onTouchstart:function(t){t.stopPropagation(),this.$emit("touchstart",t)},onClickAction:function(t,e){t.disabled||(this.$emit("select",t,e),this.closeOnClickAction&&this.$emit("input",!1))},onClickOutside:function(){this.$emit("input",!1)},onOpen:function(){this.$emit("open")},onOpened:function(){this.$emit("opened")},onClose:function(){this.$emit("close")},onClosed:function(){this.$emit("closed")}},render:function(){var t=arguments[0];return t("span",{ref:"wrapper",class:hu("wrapper"),on:{click:this.onClickWrapper}},[t(at,{ref:"popover",attrs:{value:this.value,overlay:this.overlay,position:null,transition:"zt-popover-zoom",lockScroll:!1,getContainer:this.getContainer},class:hu([this.theme]),on:{open:this.onOpen,close:this.onClose,input:this.onToggle,opened:this.onOpened,closed:this.onClosed},nativeOn:{touchstart:this.onTouchstart}},[t("div",{class:hu("arrow")}),t("div",{class:hu("content"),attrs:{role:"menu"}},[this.slots("default")||this.actions.map(this.renderAction)])]),this.slots("reference")])}}),du=Object(l.b)("pull-refresh"),pu=du[0],vu=du[1],gu=du[2],mu=["pulling","loosing","success"],yu=pu({mixins:[j],props:{disabled:Boolean,successText:String,pullingText:{type:String,default:"下拉即可刷新..."},loosingText:{type:String,default:"释放即可刷新..."},loadingText:{type:String,default:"加载中..."},pullDistance:[Number,String],value:{type:Boolean,required:!0},successDuration:{type:[Number,String],default:500},animationDuration:{type:[Number,String],default:300},headHeight:{type:[Number,String],default:50}},data:function(){return{status:"normal",distance:0,duration:0}},computed:{touchable:function(){return"loading"!==this.status&&"success"!==this.status&&!this.disabled},headStyle:function(){if(50!==this.headHeight)return{height:this.headHeight+"px"}}},watch:{value:function(t){this.duration=this.animationDuration,t?this.setStatus(+this.headHeight,!0):this.slots("success")||this.successText?this.showSuccessTip():this.setStatus(0,!1)}},mounted:function(){this.bindTouchEvent(this.$refs.track),this.scrollEl=R(this.$el)},methods:{checkPullStart:function(t){this.ceiling=0===I(this.scrollEl),this.ceiling&&(this.duration=0,this.touchStart(t))},onTouchStart:function(t){this.touchable&&this.checkPullStart(t)},onTouchMove:function(t){this.touchable&&(this.ceiling||this.checkPullStart(t),this.touchMove(t),this.ceiling&&this.deltaY>=0&&"vertical"===this.direction&&(b(t),this.setStatus(this.ease(this.deltaY))))},onTouchEnd:function(){var t=this;this.touchable&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.setStatus(+this.headHeight,!0),this.$emit("input",!0),this.$nextTick((function(){t.$emit("refresh")}))):this.setStatus(0))},ease:function(t){var e=+(this.pullDistance||this.headHeight);return t>e&&(t=t<2*e?e+(t-e)/2:1.5*e+(t-2*e)/4),Math.round(t)},setStatus:function(t,e){var n;n=e?"loading":0===t?"normal":t<(this.pullDistance||this.headHeight)?"pulling":"loosing",this.distance=t,n!==this.status&&(this.status=n)},genStatus:function(){var t=this.$createElement,e=this.status,n=this.distance,r=this.slots(e,{distance:n});if(r)return r;var i=[],o=this[e+"Text"]||gu(e);return-1!==mu.indexOf(e)&&i.push(t("div",{class:vu("text")},[o])),"loading"===e&&i.push(t(pt,{attrs:{size:"16"}},[o])),i},showSuccessTip:function(){var t=this;this.status="success",setTimeout((function(){t.setStatus(0)}),this.successDuration)}},render:function(){var t=arguments[0],e={transitionDuration:this.duration+"ms",transform:this.distance?"translate3d(0,"+this.distance+"px, 0)":""};return t("div",{class:vu()},[t("div",{ref:"track",class:vu("track"),style:e},[t("div",{class:vu("head"),style:this.headStyle},[this.genStatus()]),this.slots()])])}}),bu=Object(l.b)("radio"),Cu=(0,bu[0])({mixins:[Xn({bem:bu[1],role:"radio",parent:"ztRadio"})],computed:{currentValue:{get:function(){return this.parent?this.parent.value:this.value},set:function(t){(this.parent||this).$emit("input",t)}},checked:function(){return this.currentValue===this.name}},methods:{toggle:function(){this.currentValue=this.name}}}),wu=Object(l.b)("radio-group"),_u=wu[0],xu=wu[1],Au=_u({mixins:[rn("ztRadio"),Zn],props:{value:null,disabled:Boolean,direction:String,checkedColor:String,iconSize:[Number,String]},watch:{value:function(t){this.$emit("change",t)}},render:function(){var t=arguments[0];return t("div",{class:xu([this.direction]),attrs:{role:"radiogroup"}},[this.slots()])}}),Su=Object(l.b)("rate"),ku=Su[0],Pu=Su[1];var Lu=ku({mixins:[j,Zn],props:{size:[Number,String],color:String,gutter:[Number,String],readonly:Boolean,disabled:Boolean,allowHalf:Boolean,voidColor:String,iconPrefix:String,disabledColor:String,value:{type:Number,default:0},icon:{type:String,default:"star"},voidIcon:{type:String,default:"star"},count:{type:[Number,String],default:5},touchable:{type:Boolean,default:!0}},computed:{list:function(){for(var t,e,n,r=[],i=1;i<=this.count;i++)r.push((t=this.value,e=i,n=this.allowHalf,t>=e?"full":t+.5>=e&&n?"half":"void"));return r},sizeWithUnit:function(){return Object(l.a)(this.size)},gutterWithUnit:function(){return Object(l.a)(this.gutter)}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{select:function(t){this.disabled||this.readonly||t===this.value||(this.$emit("input",t),this.$emit("change",t))},onTouchStart:function(t){var e=this;if(!this.readonly&&!this.disabled&&this.touchable){this.touchStart(t);var n=this.$refs.items.map((function(t){return t.getBoundingClientRect()})),r=[];n.forEach((function(t,n){e.allowHalf?r.push({score:n+.5,left:t.left},{score:n+1,left:t.left+t.width/2}):r.push({score:n+1,left:t.left})})),this.ranges=r}},onTouchMove:function(t){if(!this.readonly&&!this.disabled&&this.touchable&&(this.touchMove(t),"horizontal"===this.direction)){b(t);var e=t.touches[0].clientX;this.select(this.getScoreByPosition(e))}},getScoreByPosition:function(t){for(var e=this.ranges.length-1;e>0;e--)if(t>this.ranges[e].left)return this.ranges[e].score;return this.allowHalf?.5:1},genStar:function(t,e){var n,r=this,i=this.$createElement,o=this.icon,a=this.color,s=this.count,l=this.voidIcon,u=this.disabled,c=this.voidColor,h=this.disabledColor,f=e+1,d="full"===t,p="void"===t;return this.gutterWithUnit&&f!==+s&&(n={paddingRight:this.gutterWithUnit}),i("div",{ref:"items",refInFor:!0,key:e,attrs:{role:"radio",tabindex:"0","aria-setsize":s,"aria-posinset":f,"aria-checked":String(!p)},style:n,class:Pu("item")},[i(nt,{attrs:{size:this.sizeWithUnit,name:d?o:l,color:u?h:d?a:c,classPrefix:this.iconPrefix,"data-score":f},class:Pu("icon",{disabled:u,full:d}),on:{click:function(){r.select(f)}}}),this.allowHalf&&i(nt,{attrs:{size:this.sizeWithUnit,name:p?l:o,color:u?h:p?c:a,classPrefix:this.iconPrefix,"data-score":f-.5},class:Pu("icon",["half",{disabled:u,full:!p}]),on:{click:function(){r.select(f-.5)}}})])}},render:function(){var t=this,e=arguments[0];return e("div",{class:Pu({readonly:this.readonly,disabled:this.disabled}),attrs:{tabindex:"0",role:"radiogroup"}},[this.list.map((function(e,n){return t.genStar(e,n)}))])}}),Tu=Object(l.b)("row"),Ou=Tu[0],Eu=Tu[1],Fu=Ou({mixins:[rn("ztRow")],props:{type:String,align:String,justify:String,tag:{type:String,default:"div"},gutter:{type:[Number,String],default:0}},computed:{spaces:function(){var t=Number(this.gutter);if(t){var e=[],n=[[]],r=0;return this.children.forEach((function(t,e){(r+=Number(t.span))>24?(n.push([e]),r-=24):n[n.length-1].push(e)})),n.forEach((function(n){var r=t*(n.length-1)/n.length;n.forEach((function(n,i){if(0===i)e.push({right:r});else{var o=t-e[n-1].right,a=r-o;e.push({left:o,right:a})}}))})),e}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=arguments[0],n=this.align,r=this.justify,i="flex"===this.type;return e(this.tag,{class:Eu((t={flex:i},t["align-"+n]=i&&n,t["justify-"+r]=i&&r,t)),on:{click:this.onClick}},[this.slots()])}}),Ru=Object(l.b)("search"),Iu=Ru[0],Mu=Ru[1],Du=Ru[2];function Bu(t,e,n,i){var a={attrs:i.data.attrs,on:r({},i.listeners,{keypress:function(t){13===t.keyCode&&(b(t),f(i,"search",e.value)),f(i,"keypress",t)}})},s=h(i);return s.attrs=void 0,t("div",o()([{class:Mu({"show-action":e.showAction}),style:{background:e.background}},s]),[null==n.left?void 0:n.left(),t("div",{class:Mu("content",e.shape),style:{background:e.inputBackgound}},[function(){if(n.label||e.label)return t("div",{class:Mu("label")},[n.label?n.label():e.label])}(),t(yi,o()([{attrs:{type:"search",border:!1,value:e.value,leftIcon:e.leftIcon,rightIcon:e.rightIcon,clearable:e.clearable,clearTrigger:e.clearTrigger},scopedSlots:{"left-icon":n["left-icon"],"right-icon":n["right-icon"]}},a]))]),function(){if(e.showAction)return t("div",{class:Mu("action"),attrs:{role:"button",tabindex:"0"},on:{click:function(){n.action||f(i,"search",e.value)}}},[n.action?n.action():e.actionText||Du("search")])}()])}Bu.props={value:String,label:String,rightIcon:String,actionText:String,background:String,inputBackgound:String,showAction:Boolean,clearTrigger:String,shape:{type:String,default:"square"},clearable:{type:Boolean,default:!0},leftIcon:{type:String,default:"zt-search"}};var Nu=Iu(Bu);function ju(t,e,n,r,i){return void 0===r&&(r="image/jpeg"),void 0===i&&(i=.8),new Promise((function(o,a){t.toBlob((function(t){if(t){var i=new File([t],e,{lastModified:n,type:r});o(i)}else a(new Error("canvas文件导出失败"))}),r,i)}))}var zu=function(t,e,n){var r={height:"",transform:"",transformOrigin:"",width:""},i=document.documentElement.clientWidth-t,o=document.documentElement.clientHeight-e,a=Math.max(i,o),s=Math.min(i,o);return null==window.orientation||180===window.orientation||0===window.orientation?i<o?n?(console.log("竖屏打开,强制横屏"),r.transform="rotate(90deg)",r.width=a+"px",r.height=s+"px",r.transformOrigin=s/2+"px center"):(console.log("竖屏打开,保持竖屏"),r.transform="rotate(0deg)",r.width=s+"px",r.height=a+"px"):(void 0).forceLandscape?(console.log("横屏旋转到强制横屏"),r.transform="rotate(90deg)",r.width=a+"px",r.height=s+"px",r.transformOrigin=s/2+"px center"):(console.log("横屏旋转到竖屏"),r.transform="rotate(0deg)",r.width=s+"px",r.height=a+"px"):(i>o?console.log("横屏打开"):console.log("竖屏旋转到横屏"),r.transform="rotate(0deg)",r.width=a+"px",r.height=s+"px"),r},Hu=Object(l.b)("signature"),Uu=Hu[0],Vu=Hu[1],Wu=Hu[2],$u=Uu({props:{customClass:{type:String,default:""},lineWidth:{type:Number|String,default:2},strokeStyle:{type:String,default:"#000"},backgroundStyle:{type:String,default:"#f5f5f5"},imageType:{type:String,default:"png"},resultTypes:{type:String,default:"file,dataUrl"},unSupportTpl:{type:String,default:Wu("browserUnsupported")},allowPortrait:{type:Boolean,default:!1}},data:function(){return{canvasHeight:0,canvasWidth:0,ctx:null,isSupportTouch:"ontouchstart"in window,events:"ontouchstart"in window?["touchstart","touchmove","touchend","touchleave"]:["mousedown","mousemove","mouseup","mouseleave"],isHintHidden:!1,isCompleteButtonDisabled:!0}},methods:{reset:function(){var t=this.$refs.container;if(t){var e=zu(t.offsetLeft,t.offsetTop,!this.allowPortrait);t.style.transform=e.transform,t.style.width=e.width,t.style.height=e.height,t.style.transformOrigin=e.transformOrigin,this.canvasWidth=e.width,this.canvasHeight=e.height}else console.error("container bad state "+t)},setupBackground:function(){if("jpg"===this.imageType){var t=this.backgroundStyle;"transparent"===t&&(t="#f5f5f5"),this.ctx.fillStyle=t,this.ctx.fillRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height)}else{var e=this.backgroundStyle;"transparent"!==e&&(this.ctx.fillStyle=e,this.ctx.fillRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height))}},addEvent:function(){var t=this;this.startEventHandler=this.startEventHandler.bind(this),this.$refs.canvas.addEventListener(this.events[0],this.startEventHandler,!1),this.isCanvasSupported&&window.addEventListener("resize",(function(e){setTimeout((function(){t.reset(e),t.isCompleteButtonDisabled||(Ze(Wu("screenSizeChangeTip")),t.clear(null,!0))}),100)}))},startEventHandler:function(t){t.preventDefault(),this.ctx.beginPath(),this.ctx.lineWidth=this.lineWidth,this.ctx.strokeStyle=this.strokeStyle,this.moveEventHandler=this.moveEventHandler.bind(this),this.leaveEventHandler=this.leaveEventHandler.bind(this),this.endEventHandler=this.endEventHandler.bind(this),this.$refs.canvas.addEventListener(this.events[1],this.moveEventHandler,!1),this.$refs.canvas.addEventListener(this.events[2],this.endEventHandler,!1),this.$refs.canvas.addEventListener(this.events[3],this.leaveEventHandler,!1)},moveEventHandler:function(t){t.preventDefault(),this.isHintHidden=!0,this.isCompleteButtonDisabled=!1;var e=function(t,e,n){var r=e.getBoundingClientRect(),i=t.clientX-r.left,o=t.clientY-r.top;if(n&&(null==window.orientation||180===window.orientation||0===window.orientation)){return{x:o,y:document.documentElement.clientWidth-0-i}}return{x:i,y:o}}(this.isSupportTouch?t.touches[0]:t,this.$refs.canvas,!this.allowPortrait);this.ctx.lineTo(e.x,e.y),this.ctx.stroke()},endEventHandler:function(t){t.preventDefault(),this.$refs.canvas.removeEventListener(this.events[1],this.moveEventHandler,!1),this.$refs.canvas.removeEventListener(this.events[2],this.endEventHandler,!1)},leaveEventHandler:function(t){t.preventDefault(),this.$refs.canvas.removeEventListener(this.events[1],this.moveEventHandler,!1),this.$refs.canvas.removeEventListener(this.events[2],this.endEventHandler,!1)},clear:function(t,e){this.$refs.canvas.addEventListener(this.events[2],this.endEventHandler,!1),this.ctx.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.ctx.closePath(),this.setupBackground(),this.isHintHidden=!1,this.isCompleteButtonDisabled=!0,e||this.$emit("clear",t)},confirm:function(t){this.onSave(t,this.$refs.canvas)},cancel:function(t){this.clear(null,!0),this.$emit("cancel",t)},onSave:function(t,e){var n=this,r=this.resultTypes?this.resultTypes.split(","):["file","dataUrl"];Promise.all(r.map((function(t){var r;if("dataUrl"===t.trim())return r="png"===n.imageType?e.toDataURL("image/png"):e.toDataURL("image/jpeg",.8),Promise.resolve(r);if("file"===t.trim()){if("png"===n.imageType){var i=(new Date).getTime()+".png";return ju(e,i,null,"image/png")}var o=(new Date).getTime()+".jpg";return ju(e,o)}return Promise.resolve(null)}))).then((function(e){n.clear(!0),n.$emit("confirm",t,e)}))},onMounted:function(){var t=this;this.isCanvasSupported&&(this.ctx=this.$refs.canvas.getContext("2d"),this.reset(),this.addEvent(),setTimeout((function(){t.setupBackground()}),50))}},computed:{isCanvasSupported:function(){var t=document.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))}},render:function(){var t=arguments[0];return t("transition",{attrs:{appear:!0},on:{afterEnter:this.onMounted}},[t("div",{class:[Vu(""),this.customClass?this.customClass:""],ref:"container"},[t("label",{class:Vu("placeholder"),directives:[{name:"show",value:!this.isHintHidden}]},[this.isCanvasSupported?Wu("hint"):this.unSupportTpl]),t("div",{class:Vu("canvasWrapper"),ref:"canvasWrapper"},[t("canvas",{class:Vu("canvas"),directives:[{name:"show",value:this.isCanvasSupported}],ref:"canvas",attrs:{width:this.canvasWidth,height:this.canvasHeight}})]),t("div",{class:Vu("actions")},[t(we,{attrs:{plain:!0,type:"warning"},on:{click:this.clear}},[Wu("reSign")]),t(we,{attrs:{plain:!0,type:"default"},on:{click:this.cancel}},[Wu("cancel")]),t(we,{attrs:{block:!0,type:"primary",disabled:this.isCompleteButtonDisabled},on:{click:this.confirm}},[Wu("complete")])])])])}}),qu=Object(l.b)("skeleton"),Gu=qu[0],Yu=qu[1];function Zu(t,e,n,r){if(!e.loading)return n.default&&n.default();return t("div",o()([{class:Yu({animate:e.animate,round:e.round})},h(r)]),[function(){if(e.avatar){var n=Object(l.a)(e.avatarSize);return t("div",{class:Yu("avatar",e.avatarShape),style:{width:n,height:n}})}}(),t("div",{class:Yu("content")},[function(){if(e.title&&!e.field)return t("h3",{class:Yu("title"),style:{width:Object(l.a)(e.titleWidth)}})}(),function(){var n=[],r=e.rowWidth;function i(t){return"100%"===r&&t===+e.row-1?"60%":Array.isArray(r)?r[t]:r}for(var o=0;o<e.row;o++)e.field?n.push(t("div",{class:Yu("field")},[t("span",{class:Yu("field-title"),style:{width:Object(l.a)(e.titleWidth)}}),t("span",{class:Yu("field-value"),style:{width:Object(l.a)(i(o))}})])):e.textarea?n.push(t("div",{class:Yu("textarea"),style:{width:Object(l.a)(i(o))}})):n.push(t("div",{class:Yu("row"),style:{width:Object(l.a)(i(o))}}));return n}()])])}Zu.props={title:Boolean,round:Boolean,avatar:Boolean,field:Boolean,textarea:Boolean,titleWidth:[Number,String],avatarSize:[Number,String],row:{type:[Number,String],default:0},loading:{type:Boolean,default:!0},animate:{type:Boolean,default:!0},avatarShape:{type:String,default:"round"},rowWidth:{type:[Number,String,Array],default:"100%"}};var Xu=Gu(Zu),Ku=Object(l.b)("slider"),Qu=Ku[0],Ju=Ku[1],tc=function(t,e){return JSON.stringify(t)===JSON.stringify(e)},ec=Qu({mixins:[j,Zn],props:{disabled:Boolean,vertical:Boolean,range:Boolean,barHeight:[Number,String],buttonSize:[Number,String],activeColor:[String,Array],inactiveColor:String,min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},value:{type:[Number,Array],default:0},progress:{type:Boolean,default:!1},progressText:Boolean,title:String},data:function(){return{dragStatus:""}},computed:{scope:function(){return this.max-this.min},buttonStyle:function(){if(this.buttonSize){var t=Object(l.a)(this.buttonSize);return{width:t,height:t}}}},created:function(){this.updateValue(this.value)},mounted:function(){this.progress||(this.range?(this.bindTouchEvent(this.$refs.wrapper0),this.bindTouchEvent(this.$refs.wrapper1)):this.bindTouchEvent(this.$refs.wrapper))},methods:{onTouchStart:function(t){this.disabled||(this.touchStart(t),this.currentValue=this.value,this.range?this.startValue=this.value.map(this.format):this.startValue=this.format(this.value),this.dragStatus="start")},onTouchMove:function(t){if(!this.disabled){"start"===this.dragStatus&&this.$emit("drag-start"),b(t,!0),this.touchMove(t),this.dragStatus="draging";var e=this.$el.getBoundingClientRect(),n=(this.vertical?this.deltaY:this.deltaX)/(this.vertical?e.height:e.width)*this.scope;this.range?this.currentValue[this.index]=this.startValue[this.index]+n:this.currentValue=this.startValue+n,this.updateValue(this.currentValue)}},onTouchEnd:function(){this.disabled||("draging"===this.dragStatus&&(this.updateValue(this.currentValue,!0),this.$emit("drag-end")),this.dragStatus="")},onClick:function(t){if(!this.progress&&(t.stopPropagation(),!this.disabled)){var e=this.$el.getBoundingClientRect(),n=this.vertical?t.clientY-e.top:t.clientX-e.left,r=this.vertical?e.height:e.width,i=+this.min+n/r*this.scope;if(this.range){var o=this.value,a=o[0],s=o[1];i<=(a+s)/2?a=i:s=i,i=[a,s]}this.startValue=this.value,this.updateValue(i,!0)}},handleOverlap:function(t){return t[0]>t[1]?(t=_t(t)).reverse():t},updateValue:function(t,e){t=this.range?this.handleOverlap(t).map(this.format):this.format(t),tc(t,this.value)||this.$emit("input",t),e&&!tc(t,this.startValue)&&this.$emit("change",t)},format:function(t){var e=+this.min,n=+this.max,r=+this.step;return t=xt(t,e,n),kt(e,Math.round((t-e)/r)*r)}},render:function(){var t,e,n=this,r=arguments[0],i=this.vertical,o=i?"height":"width",a=i?"width":"height",s=((t={background:this.inactiveColor})[a]=Object(l.a)(this.barHeight)?Object(l.a)(this.barHeight):this.progress?"8px":"4px",t),u=function(){var t=n.value,e=n.min,r=n.range,i=n.scope;return r?100*(t[1]-t[0])/i+"%":100*(t-e)/i+"%"},c=function(){var t=n.value,e=n.min,r=n.range,i=n.scope;return r?100*(t[0]-e)/i+"%":null},h=((e={})[o]=u(),e.left=this.vertical?null:c(),e.top=this.vertical?c():null,e.background=Array.isArray(this.activeColor)?"-webkit-linear-gradient(90deg, "+this.activeColor[0]+" , "+this.activeColor[1]+" )":this.activeColor,e.background=Array.isArray(this.activeColor)?"-o-linear-linear-gradient(90deg, "+this.activeColor[0]+" , "+this.activeColor[1]+")":this.activeColor,e.background=Array.isArray(this.activeColor)?"-moz-linear-gradient(90deg, "+this.activeColor[0]+" , "+this.activeColor[1]+")":this.activeColor,e.background=Array.isArray(this.activeColor)?"linear-gradient(90deg, "+this.activeColor[0]+" , "+this.activeColor[1]+")":this.activeColor,e);this.dragStatus&&(h.transition="none");var f=function(t){if(!n.progress){var e=["left","right"],i="number"==typeof t;return r("div",{ref:i?"wrapper"+t:"wrapper",attrs:{role:"slider",tabindex:n.disabled?-1:0,"aria-valuemin":n.min,"aria-valuenow":n.value,"aria-valuemax":n.max,"aria-orientation":n.vertical?"vertical":"horizontal"},class:Ju(i?"button-wrapper-"+e[t]:"button-wrapper"),on:{touchstart:function(){i&&(n.index=t)},click:function(t){return t.stopPropagation()}}},[n.slots("button")||r("div",{class:Ju("button"),style:n.buttonStyle})])}},d=function(){return n.slots("right")?r("div",{class:Ju("progress")},[n.slots("right")]):n.progressText?r("div",{class:Ju("progress")},[n.value,"%"]):void 0},p=function(){return n.slots("left")?n.slots("left"):n.title?r("div",{class:Ju("title")},[n.title]):void 0};return r("div",{class:Ju("container")},[this.title?p():"",r("div",{style:s,class:Ju({disabled:this.disabled,vertical:i}),on:{click:this.onClick}},[r("div",{class:Ju("bar"),style:h},[this.range?[f(0),f(1)]:f()])]),d()])}}),nc=Object(l.b)("step"),rc=nc[0],ic=nc[1],oc=rc({mixins:[nn("ztSteps")],props:{iconPrefix:String,activeIcon:String,inactiveIcon:String},computed:{active:function(){return this.index===this.parent.active},circleStyle:function(){return this.active?{background:""+(this.parent.activeBgColor||"rgba(0,145,250,0.20)"),border:"1px solid "+(this.parent.activeBorderColor||"#0091FA"),"font-weight":"bold",color:""+(this.parent.activeColor||"#0091FA")}:{background:""+(this.parent.inactiveBgColor||"rgba(0,0,0,0.20)"),border:"1px solid "+(this.parent.inactiveBorderColor||"rgba(0,0,0,0)"),"font-weight":"normal",color:""+(this.parent.inactiveColor||"#FFFFFF")}},titleStyle:function(){return this.active?{color:this.parent.titleActiveColor||"rgba(0,0,0,1)"}:{color:this.parent.titleInactiveColor||"rgba(0,0,0,0.4)"}}},methods:{genCircle:function(){var t=this.$createElement,e=this.parent,n=e.activeColor,r=e.inactiveColor,i=this.slots("active-icon");if(this.active&&(this.activeIcon||i))return t("div",{class:ic("circle"),style:this.circleStyle},[i||t(nt,{class:ic("icon","active"),attrs:{name:this.activeIcon,color:n,classPrefix:this.iconPrefix}})]);var o=this.slots("inactive-icon");return this.inactiveIcon||o?t("div",{class:ic("circle"),style:this.circleStyle},[o||t(nt,{class:ic("icon"),attrs:{name:this.inactiveIcon,color:r,classPrefix:this.iconPrefix}})]):t("div",{class:ic("circle"),style:this.circleStyle},[this.index+1])},onClickStep:function(){this.parent.$emit("click-step",this.index)}},render:function(){var t,e=arguments[0],n=this.status,r=this.active,i=this.parent.direction;return e("div",{class:[ce,ic([i,(t={},t[n]=n,t)])]},[e("div",{class:ic("title",{active:r}),style:this.titleStyle,on:{click:this.onClickStep}},[this.slots()]),e("div",{class:ic("circle-container"),on:{click:this.onClickStep}},[this.genCircle()]),e("div",{class:ic("line")})])}}),ac=Object(l.b)("stepper"),sc=ac[0],lc=ac[1];function uc(t,e){return String(t)===String(e)}var cc=sc({mixins:[Zn],props:{value:null,theme:String,integer:Boolean,disabled:Boolean,allowEmpty:Boolean,inputWidth:[Number,String],buttonSize:[Number,String],asyncChange:Boolean,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,decimalLength:[Number,String],name:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:1/0},step:{type:[Number,String],default:1},defaultValue:{type:[Number,String],default:1},showPlus:{type:Boolean,default:!0},showMinus:{type:Boolean,default:!0},showInput:{type:Boolean,default:!0},longPress:{type:Boolean,default:!0}},data:function(){var t,e=null!=(t=this.value)?t:this.defaultValue,n=this.format(e);return uc(n,this.value)||this.$emit("input",n),{currentValue:n}},computed:{minusDisabled:function(){return this.disabled||this.disableMinus||this.currentValue<=+this.min},plusDisabled:function(){return this.disabled||this.disablePlus||this.currentValue>=+this.max},inputStyle:function(){var t={};return this.inputWidth&&(t.width=Object(l.a)(this.inputWidth)),this.buttonSize&&(t.height=Object(l.a)(this.buttonSize)),t},buttonStyle:function(){if(this.buttonSize){var t=Object(l.a)(this.buttonSize);return{width:t,height:t}}}},watch:{max:"check",min:"check",integer:"check",decimalLength:"check",value:function(t){uc(t,this.currentValue)||(this.currentValue=this.format(t))},currentValue:function(t){this.$emit("input",t),this.$emit("change",t,{name:this.name})}},methods:{check:function(){var t=this.format(this.currentValue);uc(t,this.currentValue)||(this.currentValue=t)},formatNumber:function(t){return St(String(t),!this.integer)},format:function(t){return this.allowEmpty&&""===t||(t=""===(t=this.formatNumber(t))?0:+t,t=Object(oe.a)(t)?this.min:t,t=Math.max(Math.min(this.max,t),this.min),Object(l.e)(this.decimalLength)&&(t=t.toFixed(this.decimalLength))),t},onInput:function(t){var e=t.target.value,n=this.formatNumber(e);if(Object(l.e)(this.decimalLength)&&-1!==n.indexOf(".")){var r=n.split(".");n=r[0]+"."+r[1].slice(0,this.decimalLength)}uc(e,n)||(t.target.value=n),n===String(+n)&&(n=+n),this.emitChange(n)},emitChange:function(t){this.asyncChange?(this.$emit("input",t),this.$emit("change",t,{name:this.name})):this.currentValue=t},onChange:function(){var t=this.type;if(this[t+"Disabled"])this.$emit("overlimit",t);else{var e="minus"===t?-this.step:+this.step,n=this.format(kt(+this.currentValue,e));this.emitChange(n),this.$emit(t)}},onFocus:function(t){this.disableInput&&this.$refs.input?this.$refs.input.blur():this.$emit("focus",t)},onBlur:function(t){var e=this.format(t.target.value);t.target.value=e,this.emitChange(e),this.$emit("blur",t),fi()},longPressStep:function(){var t=this;this.longPressTimer=setTimeout((function(){t.onChange(),t.longPressStep(t.type)}),200)},onTouchStart:function(){var t=this;this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress=!1,this.longPressTimer=setTimeout((function(){t.isLongPress=!0,t.onChange(),t.longPressStep()}),600))},onTouchEnd:function(t){this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress&&b(t))},onMousedown:function(t){this.disableInput&&t.preventDefault()}},render:function(){var t=this,e=arguments[0],n=function(e){return{on:{click:function(n){n.preventDefault(),t.type=e,t.onChange()},touchstart:function(){t.type=e,t.onTouchStart()},touchend:t.onTouchEnd,touchcancel:t.onTouchEnd}}};return e("div",{class:lc([this.theme])},[e("button",o()([{directives:[{name:"show",value:this.showMinus}],attrs:{type:"button"},style:this.buttonStyle,class:lc("minus",{disabled:this.minusDisabled})},n("minus")]),[e("div",{class:lc("minus__box")})]),e("input",{directives:[{name:"show",value:this.showInput}],ref:"input",attrs:{type:this.integer?"tel":"text",role:"spinbutton",disabled:this.disabled,readonly:this.disableInput,inputmode:this.integer?"numeric":"decimal",placeholder:this.placeholder,"aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.currentValue},class:lc("input"),domProps:{value:this.currentValue},style:this.inputStyle,on:{input:this.onInput,focus:this.onFocus,blur:this.onBlur,mousedown:this.onMousedown}}),e("button",o()([{directives:[{name:"show",value:this.showPlus}],attrs:{type:"button"},style:this.buttonStyle,class:lc("plus",{disabled:this.plusDisabled})},n("plus")]),[e("div",{class:lc("plus__box")})])])}}),hc=Object(l.b)("steps"),fc=hc[0],dc=hc[1],pc=fc({mixins:[rn("ztSteps")],props:{activeColor:String,activeBgColor:String,activeBorderColor:String,inactiveColor:String,inactiveBgColor:String,inactiveBorderColor:String,titleActiveColor:String,titleInactiveColor:String,active:{type:[Number,String],default:0},direction:{type:String,default:"horizontal"}},render:function(){var t=arguments[0];return t("div",{class:dc([this.direction])},[t("div",{class:dc("items")},[this.slots()])])}}),vc=Object(l.b)("swipe-cell"),gc=vc[0],mc=vc[1],yc=gc({mixins:[j,qr({event:"touchstart",method:"onClick"})],props:{onClose:Function,disabled:Boolean,leftWidth:[Number,String],rightWidth:[Number,String],beforeClose:Function,stopPropagation:Boolean,name:{type:[Number,String],default:""}},data:function(){return{offset:0,dragging:!1}},computed:{computedLeftWidth:function(){return+this.leftWidth||this.getWidthByRef("left")},computedRightWidth:function(){return+this.rightWidth||this.getWidthByRef("right")}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{getWidthByRef:function(t){return this.$refs[t]?this.$refs[t].getBoundingClientRect().width:0},open:function(t){var e="left"===t?this.computedLeftWidth:-this.computedRightWidth;this.opened=!0,this.offset=e,this.$emit("open",{position:t,name:this.name,detail:this.name})},close:function(t){this.offset=0,this.opened&&(this.opened=!1,this.$emit("close",{position:t,name:this.name}))},onTouchStart:function(t){this.disabled||(this.startOffset=this.offset,this.touchStart(t))},onTouchMove:function(t){this.disabled||(this.touchMove(t),"horizontal"===this.direction&&(this.dragging=!0,this.lockClick=!0,(!this.opened||this.deltaX*this.startOffset<0)&&b(t,this.stopPropagation),this.offset=xt(this.deltaX+this.startOffset,-this.computedRightWidth,this.computedLeftWidth)))},onTouchEnd:function(){var t=this;this.disabled||this.dragging&&(this.toggle(this.offset>0?"left":"right"),this.dragging=!1,setTimeout((function(){t.lockClick=!1}),0))},toggle:function(t){var e=Math.abs(this.offset),n=this.opened?.85:.15,r=this.computedLeftWidth,i=this.computedRightWidth;i&&"right"===t&&e>i*n?this.open("right"):r&&"left"===t&&e>r*n?this.open("left"):this.close()},onClick:function(t){void 0===t&&(t="outside"),this.$emit("click",t),this.opened&&!this.lockClick&&(this.beforeClose?this.beforeClose({position:t,name:this.name,instance:this}):this.onClose?this.onClose(t,this,{name:this.name}):this.close(t))},getClickHandler:function(t,e){var n=this;return function(r){e&&r.stopPropagation(),n.onClick(t)}},genLeftPart:function(){var t=this.$createElement,e=this.slots("left");if(e)return t("div",{ref:"left",class:mc("left"),on:{click:this.getClickHandler("left",!0)}},[e])},genRightPart:function(){var t=this.$createElement,e=this.slots("right");if(e)return t("div",{ref:"right",class:mc("right"),on:{click:this.getClickHandler("right",!0)}},[e])}},render:function(){var t=arguments[0],e={transform:"translate3d("+this.offset+"px, 0, 0)",transitionDuration:this.dragging?"0s":".6s"};return t("div",{class:mc(),on:{click:this.getClickHandler("cell")}},[t("div",{class:mc("wrapper"),style:e},[this.genLeftPart(),this.slots(),this.genRightPart()])])}}),bc={size:[Number,String],value:null,loading:Boolean,disabled:Boolean,activeColor:String,inactiveColor:String,activeValue:{type:null,default:!0},inactiveValue:{type:null,default:!1}},Cc=Object(l.b)("switch"),wc=Cc[0],_c=Cc[1],xc=wc({mixins:[Zn],props:bc,computed:{checked:function(){return this.value===this.activeValue},style:function(){return{fontSize:Object(l.a)(this.size),backgroundColor:this.checked?this.activeColor:this.inactiveColor}}},methods:{onClick:function(t){if(this.$emit("click",t),!this.disabled&&!this.loading){var e=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",e),this.$emit("change",e)}},genLoading:function(){var t=this.$createElement;if(this.loading){var e=this.checked?this.activeColor:this.inactiveColor;return t(pt,{class:_c("loading"),attrs:{color:e}})}}},render:function(){var t=arguments[0],e=this.checked,n=this.loading,r=this.disabled;return t("div",{class:_c({on:e,loading:n,disabled:r}),attrs:{role:"switch","aria-checked":String(e)},style:this.style,on:{click:this.onClick}},[t("div",{class:_c("node")},[this.genLoading()])])}}),Ac=Object(l.b)("switch-cell"),Sc=Ac[0],kc=Ac[1];function Pc(t,e,n,i){return t(Vn,o()([{attrs:{center:!0,size:e.cellSize,title:e.title,border:e.border},class:kc([e.cellSize])},h(i)]),[t(xc,{props:r({},e),on:r({},i.listeners)})])}Pc.props=r({},bc,{title:String,cellSize:String,border:{type:Boolean,default:!0},size:{type:String,default:"24px"}});var Lc=Sc(Pc),Tc=Object(l.b)("tabbar"),Oc=Tc[0],Ec=Tc[1],Fc=Oc({mixins:[rn("ztTabbar")],props:{route:Boolean,zIndex:[Number,String],placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,value:{type:[Number,String],default:0},border:{type:Boolean,default:!0},fixed:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:null}},data:function(){return{height:null}},computed:{fit:function(){return null!==this.safeAreaInsetBottom?this.safeAreaInsetBottom:this.fixed}},watch:{value:"setActiveItem",children:"setActiveItem"},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.tabbar.getBoundingClientRect().height)},methods:{setActiveItem:function(){var t=this;this.children.forEach((function(e,n){e.nameMatched=(e.name||n)===t.value}))},triggerChange:function(t,e){var n=this;hn({interceptor:this.beforeChange,args:[t],done:function(){n.$emit("input",t),n.$emit("change",t),e()}})},genTabbar:function(){var t;return(0,this.$createElement)("div",{ref:"tabbar",style:{zIndex:this.zIndex},class:[(t={},t[fe]=this.border,t),Ec({unfit:!this.fit,fixed:this.fixed})]},[this.slots()])}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:Ec("placeholder"),style:{height:this.height+"px"}},[this.genTabbar()]):this.genTabbar()}}),Rc=Object(l.b)("tabbar-item"),Ic=Rc[0],Mc=Rc[1],Dc=Ic({mixins:[nn("ztTabbar")],props:r({},ve,{dot:Boolean,icon:String,name:[Number,String],info:[Number,String],badge:[Number,String],iconPrefix:String}),data:function(){return{nameMatched:!1}},computed:{routeMatched:function(){var t=this.to,e=this.$route;if(t&&e){var n=Object(l.g)(t)?t:{path:t};return!!e.matched.find((function(t){var e=n.path===t.path,r=Object(l.e)(n.name)&&n.name===t.name;return e||r}))}},active:function(){return this.parent.route?this.routeMatched:this.nameMatched}},methods:{onClick:function(t){var e=this;this.active||this.parent.triggerChange(this.name||this.index,(function(){de(e.$router,e)})),this.$emit("click",t)},genIcon:function(){var t=this.$createElement,e=this.slots("icon",{active:this.active});return e||(this.icon?t(nt,{attrs:{name:this.icon,classPrefix:this.iconPrefix}}):void 0)}},render:function(){var t,e=arguments[0],n=this.active,r=this.parent[n?"activeColor":"inactiveColor"];return e("div",{class:Mc({active:n}),style:{color:r},on:{click:this.onClick}},[e("div",{class:Mc("icon")},[this.genIcon(),e(X,{attrs:{dot:this.dot,info:null!=(t=this.badge)?t:this.info}})]),e("div",{class:Mc("text")},[this.slots("default",{active:n})])])}}),Bc=Object(l.b)("table"),Nc=Bc[0],jc=Bc[1],zc=Nc({props:{headList:{type:Array,default:[]},dataList:{type:Array,default:[]}},data:function(){return{}},computed:{fixedColumn:function(){return this.headList.filter((function(t){return t.fixed}))},resortHeadList:function(){return this.fixedColumn.concat(this.headList.filter((function(t){return!t.fixed})))},hasSummary:function(){return this.headList.filter((function(t){return t.showSummary})).length>0}},mounted:function(){this.fixedColumn&&this.fixedColumn.length&&document.getElementById("normalBoxID").addEventListener("scroll",(function(t){var e=document.getElementById("fixedBoxID");t.target.scrollLeft>0?e.classList.add("shadow"):e.classList.remove("shadow")}));var t=this.headList.map((function(t,e){return t.fixed?"tableHead"+e:""})).filter((function(t){return""!==t}));t.length>0&&t.forEach((function(t,e){var n=document.getElementById("fixedHead"+e),r=document.getElementById(t);n.style.width=r.offsetWidth+"px"}),0)},watch:{},methods:{genColumn:function(t,e,n){var r=this.$createElement;return r("div",{class:[jc(n?"fixed-head":"head"),n?"zt-hairline--surround":"zt-hairline--right"],attrs:{id:n?"fixedHead"+e:"tableHead"+e},style:n?"":t.width?"width:"+t.width+";":""},[r("div",{class:[jc("head-item"),fe]},[t.label]),this.dataList.map((function(e){return r("div",{class:[jc("table-data"),he]},[e[t.key]])})),this.hasSummary?t.showSummary?r("div",{class:[jc("head-item"),he]},[this.dataList.reduce((function(e,n){return e+n[t.key]}),0)]):r("div",{class:[jc("head-item"),he]},[t.summaryLabel||""]):""])}},render:function(t){var e=this;return t("div",{class:jc()},[t("div",{attrs:{id:"normalBoxID"},class:[jc("normal-box"),"zt-hairline--left"]},[this.resortHeadList.map((function(t,n){return e.genColumn(t,n)}))]),t("div",{attrs:{id:"fixedBoxID"},class:jc("fixed-box")},[this.fixedColumn.map((function(t,n){return e.genColumn(t,n,!0)}))])])}}),Hc=Object(l.b)("tag"),Uc=Hc[0],Vc=Hc[1];function Wc(t,e,n,r){var i,a=e.type,s=e.mark,l=e.plain,u=e.color,c=e.round,d=e.size,p=e.textColor,v=((i={})[l?"color":"backgroundColor"]=u,i);l?(v.color=p||u,v.borderColor=u):(v.color=p,v.background=u);var g={mark:s,plain:l,round:c};d&&(g[d]=d);var m=e.closeable&&t(nt,{attrs:{name:"cross"},class:Vc("close"),on:{click:function(t){t.stopPropagation(),f(r,"close")}}});return t("transition",{attrs:{name:e.closeable?"zt-fade":null}},[t("span",o()([{key:"content",style:v,class:Vc([g,a])},h(r,!0)]),[null==n.default?void 0:n.default(),m])])}Wc.props={size:String,mark:Boolean,color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean,type:{type:String,default:"default"}};var $c=Uc(Wc),qc=Object(l.b)("timeline"),Gc=qc[0],Yc=qc[1],Zc=Gc({props:{title:{type:String,default:"办理经过"},defaultFold:{type:Boolean,default:!1},collapseCount:{type:Number,default:0},processes:{type:Array,default:function(){return[]}},opinionKey:{type:String,default:"处理意见"},enableSingleFold:{type:Boolean,default:!0}},data:function(){return{isFold:!1,computedProcesses:[]}},computed:{},watch:{},mounted:function(){this.isFold=this.defaultFold,this.computedProcesses=this.processes.map((function(t){return r({},t,{folded:!1})}))},methods:{genProcesses:function(){var t=this;if(this.isFold){var e=this.computedProcesses.slice(0,this.collapseCount);return e.map((function(n,r){return t.genProcessItem(n,r===e.length-1)}))}return this.computedProcesses.map((function(e,n){return t.genProcessItem(e,n===t.computedProcesses.length-1)}))},genAvatar:function(t,e){var n=this.$createElement;return e?n("div",{class:Yc("avatar-box")+" half-border"},[e]):n("div",{class:Yc("avatar-box half-border")},[t.avatar?n("img",{class:Yc("avatar"),attrs:{src:t.avatar,alt:""}}):n("div",{class:Yc("avatar")},[t.human.slice(-2)])])},genTitle:function(t,e){var n=this.$createElement;return n("div",{class:Yc("title-box")},e?[e]:[n("span",{class:Yc("title")},[t.department+"["+t.human+"]"]),n("span",{class:Yc("time")},[t.timestamp])])},genContent:function(t,e){var n=this.$createElement;return e?n("div",{class:Yc("content-box")+" half-border-bottom"},[e]):n("div",{class:Yc("content-box half-border-bottom")},["在",n("span",[t.stage]),"阶段",n("span",{class:Yc("text-bold")},[" ",t.action," "]),"到",n("span",[t.nextAction]),n("span",[t.nextDepartment]),n("span",{class:Yc("text-bold")},[" [",t.nextHuman,"]"])])},genOpinion:function(t,e){var n=this.$createElement;return n("div",{class:Yc("opinion-box")},e?[e]:[n("div",{class:Yc("opinion-label")},[this.opinionKey]),n("div",{class:Yc("opinion")},[t.opinion])])},genProcessItem:function(t,e){var n=this.$createElement,r=this.slots("avatar",t),i=this.slots("title",t),o=this.slots("content",t),a=this.slots("opinion",t),s=this;return n("div",{class:Yc("item")+" "+(e?"last-item":""),on:{click:function(){s.enableSingleFold&&(t.folded=!t.folded)}}},[n("div",{class:Yc("left-container")},[this.genAvatar(t,r),n("div",{class:Yc("line")})]),n("div",{class:Yc("right-container")},[this.genTitle(t,i),t.folded?n():n("div",{class:Yc("main-container")+" half-border"},[this.genContent(t,o),this.genOpinion(t,a)])])])}},render:function(t){var e=this,n=this.genProcesses();return t("div",{class:Yc()},[t("div",{class:[Yc("top-bar"),he]},[t("div",{class:Yc("top-left")},[t("div",{class:Yc("bar")}),t("div",{class:Yc("title")},[this.title])]),t("div",{class:Yc("top-right")},[t("span",{class:Yc("fold-text")},["折叠",this.title]),t(xc,{model:{value:e.isFold,callback:function(t){e.isFold=t}}})])]),(null==n?void 0:n.length)>0?t("div",{class:Yc("container")},[n]):t()])}});function Xc(t){return Array.isArray(t)?t:[t]}function Kc(t,e){return new Promise((function(n){if("file"!==e){var r=new FileReader;r.onload=function(t){n(t.target.result)},"dataUrl"===e?r.readAsDataURL(t):"text"===e&&r.readAsText(t)}else n(null)}))}function Qc(t,e){return Xc(t).some((function(t){return!!t&&(Object(l.f)(e)?e(t):t.size>e)}))}var Jc=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;function th(t){return!!t.isImage||(t.file&&t.file.type?0===t.file.type.indexOf("image"):t.url?(e=t.url,Jc.test(e)):!!t.content&&0===t.content.indexOf("data:image"));var e}var eh=function(t){return t<10?"0"+t:t},nh="yyyy-MM-dd HH:mm:ss",rh="yyyy-MM-dd HH:mm:ss msms";function ih(t,e){null==e&&(e="yyyy-MM-dd HH:mm:ss");var n=parseInt(t,10);return isNaN(n)?oh(t,e):oh(new Date(n),e)}function oh(t,e){void 0===e&&(e=nh),"object"!=typeof t&&("string"==typeof t&&7===(t=t.replace(/-/g,"/")).length&&(t+="/01"),t=new Date(t));var n=e.replace("yyyy",eh(t.getFullYear()));return n=(n=(n=(n=(n=(n=(n=n.replace("yy",String(t.getFullYear()).substring(2))).replace("MM",eh(t.getMonth()+1))).replace("dd",eh(t.getDate()))).replace("HH",eh(t.getHours()))).replace("mm",eh(t.getMinutes()))).replace("ss",eh(t.getSeconds()))).replace("msms",eh(t.getMilliseconds()))}var ah=Object(l.b)("uploader"),sh=ah[0],lh=ah[1],uh=sh({inheritAttrs:!1,mixins:[Zn],model:{prop:"fileList"},props:{disabled:Boolean,readonly:Boolean,lazyLoad:Boolean,uploadText:String,afterRead:Function,beforeRead:Function,beforeDelete:Function,previewSize:[Number,String],previewOptions:Object,name:{type:[Number,String],default:""},accept:{type:String,default:"image/*"},fileList:{type:Array,default:function(){return[]}},maxSize:{type:[Number,String,Function],default:Number.MAX_VALUE},maxCount:{type:[Number,String],default:Number.MAX_VALUE},deletable:{type:Boolean,default:!0},showUpload:{type:Boolean,default:!0},previewImage:{type:Boolean,default:!0},previewFullImage:{type:Boolean,default:!0},imageFit:{type:String,default:"cover"},resultType:{type:String,default:"dataUrl"},uploadIcon:{type:String,default:"photograph"},watermarkOptions:{type:Object,default:function(){return null}}},computed:{previewSizeWithUnit:function(){return Object(l.a)(this.previewSize)},value:function(){return this.fileList}},methods:{getDetail:function(t){return void 0===t&&(t=this.fileList.length),{name:this.name,index:t}},getNewFileName:function(t){var e=t.name.lastIndexOf("."),n=t.name.substr(e+1);return ih(new Date,rh).replace(/[^\w]/gi,"")+Math.ceil(1e4*Math.random())+"."+n},addWatermark:function(t){for(var e=this,n=[],r=0;r<t.length;r++)n.push(t[r]);return t=n,new Promise((function(n){(!e.watermarkOptions||e.watermarkOptions&&!us(e.watermarkOptions.watermarkConfigString))&&n(t);var r=[];return t.forEach((function(t,n){if(0===t.type.indexOf("image")){var i=new ps(e.watermarkOptions.maxImageSideLength||640),o=new vs(e.maxSize),a=new Ya({address:e.watermarkOptions.address||"",watermarkTime:new Date,humanName:e.watermarkOptions.humanName||"",projectName:e.watermarkOptions.projectName||""}),s=new Za({enabled:!0,watermarkConfigString:e.watermarkOptions.watermarkConfigString,context:a}),l=new gs(t,i,s,o).process().then((function(t){var r=e.getNewFileName(t),i=new File([t],r,{lastModified:t.lastModified,type:t.type});return i.index=n,Promise.resolve(i)}));r.push(l)}})),(!r||r&&0===r.length)&&n(t),Promise.all(r).then((function(e){t.forEach((function(n,r){e.forEach((function(e){e.index===r&&(t[r]=e)}))})),n(t)})).catch((function(e){console.log("添加水印失败:"+e),n(t)}))}))},onChange:function(t){var e=this,n=t.target.files;!this.disabled&&n.length&&this.addWatermark(n).then((function(t){if(t=1===t.length?t[0]:[].slice.call(t),e.beforeRead){var n=e.beforeRead(t,e.getDetail());if(!n)return void e.resetInput();if(Object(l.h)(n))return void n.then((function(n){n?e.readFile(n):e.readFile(t)})).catch(e.resetInput)}e.readFile(t)}))},readFile:function(t){var e=this,n=Qc(t,this.maxSize);if(Array.isArray(t)){var r=this.maxCount-this.fileList.length;t.length>r&&(t=t.slice(0,r)),Promise.all(t.map((function(t){return Kc(t,e.resultType)}))).then((function(r){var i=t.map((function(t,e){var n={file:t,status:"",message:""};return r[e]&&(n.content=r[e]),n}));e.onAfterRead(i,n)}))}else Kc(t,this.resultType).then((function(r){var i={file:t,status:"",message:""};r&&(i.content=r),e.onAfterRead(i,n)}))},onAfterRead:function(t,e){var n=this;this.resetInput();var r=t;if(e){var i=t;Array.isArray(t)?(i=[],r=[],t.forEach((function(t){t.file&&(Qc(t.file,n.maxSize)?i.push(t):r.push(t))}))):r=null,this.$emit("oversize",i,this.getDetail())}(Array.isArray(r)?Boolean(r.length):Boolean(r))&&(this.$emit("input",[].concat(this.fileList,Xc(r))),this.afterRead&&this.afterRead(r,this.getDetail()))},onDelete:function(t,e){var n,r=this,i=null!=(n=t.beforeDelete)?n:this.beforeDelete;if(i){var o=i(t,this.getDetail(e));if(!o)return;if(Object(l.h)(o))return void o.then((function(){r.deleteFile(t,e)})).catch(l.j)}this.deleteFile(t,e)},deleteFile:function(t,e){var n=this.fileList.slice(0);n.splice(e,1),this.$emit("input",n),this.$emit("delete",t,this.getDetail(e))},resetInput:function(){this.$refs.input&&(this.$refs.input.value="")},onClickUpload:function(t){this.$emit("click-upload",t)},onPreviewImage:function(t){var e=this;if(this.previewFullImage){var n=this.fileList.filter((function(t){return th(t)})),i=n.map((function(t){return{url:t.content||t.url}}));this.imagePreview=Co(r({images:i,startPosition:n.indexOf(t),onClose:function(){e.$emit("close-preview")}},this.previewOptions))}},closeImagePreview:function(){this.imagePreview&&this.imagePreview.close()},chooseFile:function(){this.disabled||this.$refs.input&&this.$refs.input.click()},genPreviewMask:function(t){var e=this.$createElement,n=t.status,r=t.message;if("uploading"===n||"failed"===n){var i="failed"===n?e(nt,{attrs:{name:"close"},class:lh("mask-icon")}):e(pt,{class:lh("loading")}),o=Object(l.e)(r)&&""!==r;return e("div",{class:lh("mask")},[i,o&&e("div",{class:lh("mask-message")},[r])])}},genPreviewItem:function(t,e){var n,i,o,a=this,s=this.$createElement,l=null!=(n=t.deletable)?n:this.deletable,u="uploading"!==t.status&&l&&s("div",{class:lh("preview-delete"),on:{click:function(n){n.stopPropagation(),a.onDelete(t,e)}}},[s(nt,{attrs:{name:"cross"},class:lh("preview-delete-icon")})]),c=this.slots("preview-cover",r({index:e},t)),h=c&&s("div",{class:lh("preview-cover")},[c]),f=null!=(i=t.previewSize)?i:this.previewSize,d=null!=(o=t.imageFit)?o:this.imageFit,p=th(t)?s(eo,{attrs:{fit:d,src:t.content||t.url,width:f,height:f,lazyLoad:this.lazyLoad},class:lh("preview-image"),on:{click:function(){a.onPreviewImage(t)}}},[h]):s("div",{class:lh("file"),style:{width:this.previewSizeWithUnit,height:this.previewSizeWithUnit}},[s(nt,{class:lh("file-icon"),attrs:{name:"description"}}),s("div",{class:[lh("file-name"),"zt-ellipsis"]},[t.file?t.file.name:t.url]),h]);return s("div",{class:lh("preview"),on:{click:function(){a.$emit("click-preview",t,a.getDetail(e))}}},[p,this.genPreviewMask(t),u])},genPreviewList:function(){if(this.previewImage)return this.fileList.map(this.genPreviewItem)},genUpload:function(){var t=this.$createElement;if(!(this.fileList.length>=this.maxCount)&&this.showUpload){var e,n=this.slots(),i=this.readonly?null:t("input",{attrs:r({},this.$attrs,{type:"file",accept:this.accept,disabled:this.disabled}),ref:"input",class:lh("input"),on:{change:this.onChange}});if(n)return t("div",{class:lh("input-wrapper"),key:"input-wrapper",on:{click:this.onClickUpload}},[n,i]);if(this.previewSize){var o=this.previewSizeWithUnit;e={width:o,height:o}}return t("div",{class:lh("upload",{readonly:this.readonly}),style:e,on:{click:this.onClickUpload}},[t(nt,{attrs:{name:this.uploadIcon},class:lh("upload-icon")}),this.uploadText&&t("span",{class:lh("upload-text")},[this.uploadText]),i])}}},render:function(){var t=arguments[0];return t("div",{class:lh()},[t("div",{class:lh("wrapper",{disabled:this.disabled})},[this.genPreviewList(),this.genUpload()])])}}),ch="0.1.113";function hh(t){[bt,Ht,qt,ie,ue,we,tn,Bn,Vn,Yn,Qn,nr,ar,cr,vr,Cr,Ir,Hr,Fn,$r,Xr,ci,yi,_i,ki,Oi,Ii,Ki,nt,eo,Co,Ao,To,X,ma,_a,pt,xa.a,Is,Ns,Ys,Qs,ll,yl,S,xl,El,Dt,fu,at,yu,Cu,Au,Lu,Fu,Nu,$u,Xu,ec,oc,cc,pc,bn,lo,yc,fo,xc,Lc,un,Fc,Dc,zc,Pn,$c,Zc,Ze,uh].forEach((function(e){e.install?t.use(e):e.name&&t.component(e.name,e)}))}"undefined"!=typeof window&&window.Vue&&hh(window.Vue);e.default={install:hh,version:ch}}])}));