chainlesschain 0.162.147 → 0.162.148

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 (184) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/src/assets/web-panel/.build-hash +1 -1
  4. package/src/assets/web-panel/assets/{AIOps-DywJ7xTv.js → AIOps-DwpCCp64.js} +1 -1
  5. package/src/assets/web-panel/assets/{ActionButton-BTlqcY-q.js → ActionButton-C9pBYocA.js} +1 -1
  6. package/src/assets/web-panel/assets/{Analytics-FdG1Mvwy.js → Analytics-BWAkeXxK.js} +3 -3
  7. package/src/assets/web-panel/assets/{AppLayout-CVsnbvN1.js → AppLayout-CivFGH6B.js} +5 -5
  8. package/src/assets/web-panel/assets/{Audit-ITdpJ7vR.js → Audit-Cm8hRpZm.js} +1 -1
  9. package/src/assets/web-panel/assets/{Backup-BfXqnXo1.js → Backup-DXdFMsE8.js} +1 -1
  10. package/src/assets/web-panel/assets/{BaseInput-C09ip3_E.js → BaseInput-uAwSTeql.js} +1 -1
  11. package/src/assets/web-panel/assets/{Chat-qdkhB42l.js → Chat-KU8eeJJE.js} +6 -6
  12. package/src/assets/web-panel/assets/ChatBubbleRenderer-DCNfbdlx.js +1 -0
  13. package/src/assets/web-panel/assets/{Checkbox-j6WZCuff.js → Checkbox-C6AMDkjd.js} +1 -1
  14. package/src/assets/web-panel/assets/{Codegen-CGZ-K3uK.js → Codegen-t2moDxcO.js} +1 -1
  15. package/src/assets/web-panel/assets/{Col-CIlPOAu6.js → Col-DCcsRRhN.js} +1 -1
  16. package/src/assets/web-panel/assets/{Community-sY-i-hic.js → Community-DtB-8SAC.js} +1 -1
  17. package/src/assets/web-panel/assets/{Compact-DcoEfyL8.js → Compact-CZm8THYA.js} +1 -1
  18. package/src/assets/web-panel/assets/Compliance-LiQgC7g1.js +1 -0
  19. package/src/assets/web-panel/assets/{Cowork-DLY_fkLv.js → Cowork-CA8SAxht.js} +3 -3
  20. package/src/assets/web-panel/assets/{Cron-D049pZBC.js → Cron-CtRaF1wD.js} +2 -2
  21. package/src/assets/web-panel/assets/{Crosschain-DCXdE8M9.js → Crosschain-6-br6Hub.js} +1 -1
  22. package/src/assets/web-panel/assets/{DID-JCvPZtjW.js → DID-Do2EccrL.js} +2 -2
  23. package/src/assets/web-panel/assets/{Dashboard-Cg2xu3iE.js → Dashboard-wrXcbzGe.js} +2 -2
  24. package/src/assets/web-panel/assets/{Dropdown-DjJLjbLh.js → Dropdown-p3FsT245.js} +1 -1
  25. package/src/assets/web-panel/assets/{EmailListRenderer-DugNcSLR.js → EmailListRenderer-D95A2L8q.js} +1 -1
  26. package/src/assets/web-panel/assets/{FamilyGuardDashboard-J6Nb-E30.js → FamilyGuardDashboard-cLuJW2zo.js} +1 -1
  27. package/src/assets/web-panel/assets/{Federation-CQ3Ttpbl.js → Federation-Brgq_cbN.js} +1 -1
  28. package/src/assets/web-panel/assets/{FormItemContext-Cz0NKag4.js → FormItemContext-DWLCkNgh.js} +1 -1
  29. package/src/assets/web-panel/assets/{GenericCardRenderer-NYcMP6iz.js → GenericCardRenderer-BBqUfQd6.js} +1 -1
  30. package/src/assets/web-panel/assets/{Git-B4hYN18N.js → Git-8F090w4I.js} +2 -2
  31. package/src/assets/web-panel/assets/{Governance-DOQPCcC0.js → Governance-CCogEbxb.js} +1 -1
  32. package/src/assets/web-panel/assets/{Inference-HtLF746W.js → Inference-CfLD7v7C.js} +1 -1
  33. package/src/assets/web-panel/assets/{KnowledgeGraph-BXrk8rMm.js → KnowledgeGraph-DDuHJewd.js} +1 -1
  34. package/src/assets/web-panel/assets/{Logs-DS0JnD3-.js → Logs-CE8KSEVC.js} +2 -2
  35. package/src/assets/web-panel/assets/{Marketplace-Cqnjihrz.js → Marketplace-DmwpZmhT.js} +1 -1
  36. package/src/assets/web-panel/assets/{McpTools-Cx3Psk-U.js → McpTools-Bf7AazU8.js} +5 -5
  37. package/src/assets/web-panel/assets/{Memory-BjyysPtj.js → Memory-D0QU_00S.js} +2 -2
  38. package/src/assets/web-panel/assets/MobileBridge-D3Arxfeg.css +1 -0
  39. package/src/assets/web-panel/assets/MobileBridge-yXS9xdhx.js +1 -0
  40. package/src/assets/web-panel/assets/{MobileProjects-Xwf-fdOQ.js → MobileProjects-BuDUoGUP.js} +1 -1
  41. package/src/assets/web-panel/assets/{Mtc-Djkql5m5.js → Mtc-BYyHy28p.js} +2 -2
  42. package/src/assets/web-panel/assets/{MtcAudit-D2BAZlu0.js → MtcAudit-CK0aqpiZ.js} +4 -4
  43. package/src/assets/web-panel/assets/{Multisig-ByqP1ZzH.js → Multisig-mNimKYeb.js} +3 -3
  44. package/src/assets/web-panel/assets/{NLProgramming-C_kn0nE2.js → NLProgramming-AioAJ0YA.js} +1 -1
  45. package/src/assets/web-panel/assets/{Notes-7l7eXHPq.js → Notes-CVVNCLHE.js} +3 -3
  46. package/src/assets/web-panel/assets/{NotificationSettings-BrCDoitw.js → NotificationSettings-C4ABj-TK.js} +1 -1
  47. package/src/assets/web-panel/assets/{OrderTableRenderer-CmtqIdwr.js → OrderTableRenderer-DIp8Xcbd.js} +1 -1
  48. package/src/assets/web-panel/assets/{Organization-DdoNAxsM.js → Organization-uozl_gWK.js} +4 -4
  49. package/src/assets/web-panel/assets/{Overflow-Bw7R6dE3.js → Overflow-BCZOM2hK.js} +1 -1
  50. package/src/assets/web-panel/assets/{OverrideContext-C2r4vyBb.js → OverrideContext-BlgL9440.js} +1 -1
  51. package/src/assets/web-panel/assets/{P2P-DJNtBugA.js → P2P-CArcaiaj.js} +2 -2
  52. package/src/assets/web-panel/assets/{PdhVaultBrowser-Dwhd5_ue.js → PdhVaultBrowser-Sgq2Srr8.js} +3 -3
  53. package/src/assets/web-panel/assets/{Permissions-BYoSfhPR.js → Permissions-BYrQrXnH.js} +3 -3
  54. package/src/assets/web-panel/assets/{PersonalDataHub-aYCYJbnH.js → PersonalDataHub-BzHStAbz.js} +2 -2
  55. package/src/assets/web-panel/assets/{Pipeline-DJp6CprF.js → Pipeline-k7KqxX1M.js} +1 -1
  56. package/src/assets/web-panel/assets/{Privacy-Cq9HZweR.js → Privacy-IumTUWqx.js} +1 -1
  57. package/src/assets/web-panel/assets/{ProjectInit-CmF0HsSt.js → ProjectInit-BRyImYTf.js} +2 -2
  58. package/src/assets/web-panel/assets/{ProjectSettings-P8V5Aea2.js → ProjectSettings-BFIqTBFk.js} +2 -2
  59. package/src/assets/web-panel/assets/{Projects-DPd5-lNS.js → Projects-Dpid9CDg.js} +1 -1
  60. package/src/assets/web-panel/assets/{Providers-D589v0q2.js → Providers-CyyFnUPs.js} +1 -1
  61. package/src/assets/web-panel/assets/QrScannerModal-C82cRx-X.js +1 -0
  62. package/src/assets/web-panel/assets/{MobileBridge-zJpPuf4E.css → QrScannerModal-NwAHNfiJ.css} +1 -1
  63. package/src/assets/web-panel/assets/{QuickAsk-lvRV2osB.js → QuickAsk-DGxDF521.js} +1 -1
  64. package/src/assets/web-panel/assets/{Recommend-sb84MTpY.js → Recommend-Cns-Am1y.js} +1 -1
  65. package/src/assets/web-panel/assets/RemoteSession-R7OqAIlg.js +4 -0
  66. package/src/assets/web-panel/assets/{Reputation-d9Y3vy-W.js → Reputation-D7mgPIYV.js} +1 -1
  67. package/src/assets/web-panel/assets/{Row-DMdhLUTp.js → Row-B3lEURyd.js} +1 -1
  68. package/src/assets/web-panel/assets/{RssFeed-OL-SMDkz.js → RssFeed-9_UVrpBt.js} +2 -2
  69. package/src/assets/web-panel/assets/{Search-BjStLKq1.js → Search-ClZeO80q.js} +1 -1
  70. package/src/assets/web-panel/assets/{Security-MeI411qr.js → Security-BNNJczEp.js} +3 -3
  71. package/src/assets/web-panel/assets/{Services-UajosuhT.js → Services-C5SjrWUj.js} +2 -2
  72. package/src/assets/web-panel/assets/{Skeleton-CGpG-QJ1.js → Skeleton-Ci_obQ-g.js} +1 -1
  73. package/src/assets/web-panel/assets/{Skills-C6P2RPY-.js → Skills-DdebN15P.js} +1 -1
  74. package/src/assets/web-panel/assets/{Sla-B_fPprgw.js → Sla-OinZP2vi.js} +1 -1
  75. package/src/assets/web-panel/assets/{SpeechSettings-CqxLjSlQ.js → SpeechSettings-CxzbNF51.js} +1 -1
  76. package/src/assets/web-panel/assets/{SyncSettings-DixSfFOQ.js → SyncSettings-D06N_66b.js} +2 -2
  77. package/src/assets/web-panel/assets/{Tasks-PavzPBxc.js → Tasks-BdEdW0AZ.js} +1 -1
  78. package/src/assets/web-panel/assets/{Templates-BYdGRnfX.js → Templates-F1ctKmPa.js} +1 -1
  79. package/src/assets/web-panel/assets/{Tenant-BQLgnarD.js → Tenant-CVz1Urot.js} +1 -1
  80. package/src/assets/web-panel/assets/{Terminal-BzOHpq-B.js → Terminal-BvAK_Zel.js} +2 -2
  81. package/src/assets/web-panel/assets/TimelineRenderer-Doitzjmf.js +1 -0
  82. package/src/assets/web-panel/assets/{Tokens-DxhgszRJ.js → Tokens-BpyVRpVA.js} +1 -1
  83. package/src/assets/web-panel/assets/{Trigger-nQYHayuc.js → Trigger-nWhWYTbU.js} +1 -1
  84. package/src/assets/web-panel/assets/{Trust-CvqZDuZ4.js → Trust-DK_G-wLx.js} +1 -1
  85. package/src/assets/web-panel/assets/{UkeySign-DaR8GV2I.js → UkeySign-B5yBUojO.js} +1 -1
  86. package/src/assets/web-panel/assets/{VideoEditing-C6Mpsokw.js → VideoEditing-C5D51qAe.js} +1 -1
  87. package/src/assets/web-panel/assets/{Wallet-B57VRrWc.js → Wallet-CLbL9K7v.js} +4 -4
  88. package/src/assets/web-panel/assets/{WebAuthn-BbtEEtpq.js → WebAuthn-DZUelI3V.js} +4 -4
  89. package/src/assets/web-panel/assets/{WorkflowEditor-C5LwvKmH.js → WorkflowEditor-8RPxt4KW.js} +1 -1
  90. package/src/assets/web-panel/assets/{chat-MzuPR5jh.js → chat-4N4tOA3d.js} +1 -1
  91. package/src/assets/web-panel/assets/{collapseMotion-mxzzcDsg.js → collapseMotion-DVfhbsdP.js} +1 -1
  92. package/src/assets/web-panel/assets/{colors-HyW8mi_y.js → colors-zbbGVrua.js} +1 -1
  93. package/src/assets/web-panel/assets/{compact-item-DvUSzWAp.js → compact-item-D7iMkbnE.js} +1 -1
  94. package/src/assets/web-panel/assets/{createContext-4MppZl7X.js → createContext-CBzPJv-w.js} +1 -1
  95. package/src/assets/web-panel/assets/devWarning-C2Z5LRgq.js +1 -0
  96. package/src/assets/web-panel/assets/{echarts-jxgIOFUZ.js → echarts-CL0F2SnX.js} +1 -1
  97. package/src/assets/web-panel/assets/{hasIn-D9q3CJ-u.js → hasIn-bHdrQSqZ.js} +1 -1
  98. package/src/assets/web-panel/assets/{icons-DP3uiYxy.js → icons-BsDmGpcT.js} +1 -1
  99. package/src/assets/web-panel/assets/{index-Caqtu6Et.js → index-308gCGh7.js} +1 -1
  100. package/src/assets/web-panel/assets/{index-CgIfXOD9.js → index-B1s0Bz9O.js} +1 -1
  101. package/src/assets/web-panel/assets/{index-BcunsBIx.js → index-B7b1hGry.js} +1 -1
  102. package/src/assets/web-panel/assets/{index-DDZ6fP5Z.js → index-BBNr77E1.js} +1 -1
  103. package/src/assets/web-panel/assets/{index-BF2JsbiX.js → index-BCr0geV9.js} +1 -1
  104. package/src/assets/web-panel/assets/index-BGp6Yr-Y.js +1 -0
  105. package/src/assets/web-panel/assets/{index-CucRo4Vz.js → index-BJ4ZGyW0.js} +1 -1
  106. package/src/assets/web-panel/assets/{index-Bl-E4W4q.js → index-BS4_Mwk6.js} +1 -1
  107. package/src/assets/web-panel/assets/{index-Dv7ffI2g.js → index-BTIjjXry.js} +1 -1
  108. package/src/assets/web-panel/assets/index-BXiw9dQf.js +1 -0
  109. package/src/assets/web-panel/assets/{index-CifKUNtV.js → index-BZb8F8YG.js} +1 -1
  110. package/src/assets/web-panel/assets/{index-Btz8pU68.js → index-BnBOpqv3.js} +1 -1
  111. package/src/assets/web-panel/assets/{index-m0b6Fj9q.js → index-Bqmx24kh.js} +1 -1
  112. package/src/assets/web-panel/assets/{index-Dvg5xYuP.js → index-BsKehmmS.js} +1 -1
  113. package/src/assets/web-panel/assets/{index-UUMCA2Sq.js → index-BtbbdLnf.js} +4 -4
  114. package/src/assets/web-panel/assets/{index-CvAqCAo9.js → index-CPxkoKgA.js} +1 -1
  115. package/src/assets/web-panel/assets/{index-B5E4DhVc.js → index-CQ6NcfWz.js} +1 -1
  116. package/src/assets/web-panel/assets/{index-B994UQfE.js → index-CQfu1U78.js} +1 -1
  117. package/src/assets/web-panel/assets/{index-CLAZs1Vd.js → index-CahryTX0.js} +1 -1
  118. package/src/assets/web-panel/assets/{index-BFGfC5RS.js → index-CdmMoYN1.js} +1 -1
  119. package/src/assets/web-panel/assets/{index-DcMkjb92.js → index-Ci009ijp.js} +1 -1
  120. package/src/assets/web-panel/assets/{index-DNYqw0MO.js → index-CiG1IZao.js} +1 -1
  121. package/src/assets/web-panel/assets/{index--Bm6OqmU.js → index-CkxK86vf.js} +1 -1
  122. package/src/assets/web-panel/assets/{index-zLwYpvX0.js → index-CqdPyWm5.js} +1 -1
  123. package/src/assets/web-panel/assets/{index-Zvtru2oE.js → index-CvRMA9uT.js} +1 -1
  124. package/src/assets/web-panel/assets/{index-BmCo2Xdp.js → index-D1YDh7Wr.js} +1 -1
  125. package/src/assets/web-panel/assets/{index-D2jrnaq3.js → index-D4XKpj6c.js} +1 -1
  126. package/src/assets/web-panel/assets/{index-D7TDMMfu.js → index-DE9j5YgT.js} +1 -1
  127. package/src/assets/web-panel/assets/{index-ryFLxB1p.js → index-DISWAYce.js} +1 -1
  128. package/src/assets/web-panel/assets/{index-xvUVuFnA.js → index-DUyjUkY7.js} +1 -1
  129. package/src/assets/web-panel/assets/{index-C9I5MuJ0.js → index-DbE5D0WL.js} +1 -1
  130. package/src/assets/web-panel/assets/{index-BGQtFso0.js → index-DmqlJed-.js} +1 -1
  131. package/src/assets/web-panel/assets/{index-SDblbKj6.js → index-DyoNgbXl.js} +1 -1
  132. package/src/assets/web-panel/assets/{index-Ci6adKh8.js → index-QFObYeo1.js} +1 -1
  133. package/src/assets/web-panel/assets/{index-Cs-RKRUM.js → index-QNAG4JtR.js} +1 -1
  134. package/src/assets/web-panel/assets/{index-DFqvWeGc.js → index-S74FpAIn.js} +1 -1
  135. package/src/assets/web-panel/assets/{index-eOQO6KnV.js → index-kmh1TxRa.js} +1 -1
  136. package/src/assets/web-panel/assets/{index-DmZ6-suL.js → index-oDKNgCsP.js} +1 -1
  137. package/src/assets/web-panel/assets/{index-C0DiL97c.js → index-xYCm6W2h.js} +1 -1
  138. package/src/assets/web-panel/assets/{initDefaultProps-CC--PMsC.js → initDefaultProps-BD55yNBt.js} +1 -1
  139. package/src/assets/web-panel/assets/{motion-DdrBjRF1.js → motion-B5Bbe77U.js} +1 -1
  140. package/src/assets/web-panel/assets/{move-D712Gwl2.js → move-CTvIqHEH.js} +1 -1
  141. package/src/assets/web-panel/assets/{mtc-parser-39y-keKO.js → mtc-parser-BkNyPQKB.js} +1 -1
  142. package/src/assets/web-panel/assets/{omit-6Y51gDB9.js → omit-BaXJXgHA.js} +1 -1
  143. package/src/assets/web-panel/assets/{pickAttrs-Cy6EHbq9.js → pickAttrs-Bw6-YTxH.js} +1 -1
  144. package/src/assets/web-panel/assets/{placementArrow-BYxdAm0p.js → placementArrow-BLdbkLqJ.js} +1 -1
  145. package/src/assets/web-panel/assets/{responsiveObserve-C9R6q_cr.js → responsiveObserve-IVYkzntU.js} +1 -1
  146. package/src/assets/web-panel/assets/{slide-CXUJlilB.js → slide-DFMFwwtY.js} +1 -1
  147. package/src/assets/web-panel/assets/{statusUtils-DOtrOeql.js → statusUtils-CURYRtZ1.js} +1 -1
  148. package/src/assets/web-panel/assets/{styleChecker-D5r39o92.js → styleChecker-Cfz63s1r.js} +1 -1
  149. package/src/assets/web-panel/assets/useFlexGapSupport-COJL0KE3.js +1 -0
  150. package/src/assets/web-panel/assets/{useFs-BkrT-Zbc.js → useFs-YLLojQQf.js} +1 -1
  151. package/src/assets/web-panel/assets/{useMergedState-Cl2q1fes.js → useMergedState-Dc9sO2d7.js} +1 -1
  152. package/src/assets/web-panel/assets/{usePersonalDataHub-BwnnnZjU.js → usePersonalDataHub-BF_21qUC.js} +1 -1
  153. package/src/assets/web-panel/assets/{useRefs-DD9q4mOT.js → useRefs-CAeFRzPf.js} +1 -1
  154. package/src/assets/web-panel/assets/{useState-BK4hy8Ma.js → useState-LwExUYDO.js} +1 -1
  155. package/src/assets/web-panel/assets/{vendor-BvqAck49.js → vendor-BMxUs6UX.js} +16 -16
  156. package/src/assets/web-panel/assets/{vnode-SU-N4pum.js → vnode-9ZpkA7bb.js} +1 -1
  157. package/src/assets/web-panel/assets/{zoom-DHScfpTP.js → zoom-DhtAfhl8.js} +1 -1
  158. package/src/assets/web-panel/index.html +3 -3
  159. package/src/commands/serve.js +10 -0
  160. package/src/gateways/remote-session-relay.js +160 -0
  161. package/src/gateways/ws/message-dispatcher.js +32 -0
  162. package/src/gateways/ws/remote-session-protocol.js +429 -0
  163. package/src/gateways/ws/ws-server.js +299 -0
  164. package/src/harness/golden-transcript.js +65 -0
  165. package/src/harness/mcp-client.js +6 -2
  166. package/src/harness/remote-session-audit-sink.js +132 -0
  167. package/src/harness/remote-session-audit.js +110 -0
  168. package/src/harness/remote-session-crypto.js +217 -0
  169. package/src/harness/remote-session-push-fcm.js +254 -0
  170. package/src/harness/remote-session-push.js +104 -0
  171. package/src/harness/remote-session-registry.js +420 -0
  172. package/src/lib/did-manager.js +6 -4
  173. package/src/lib/mcp-oauth.js +23 -6
  174. package/src/lib/session-manager.js +7 -3
  175. package/src/runtime/agent-runtime.js +8 -13
  176. package/src/runtime/policies/agent-policy.js +2 -0
  177. package/src/assets/web-panel/assets/ChatBubbleRenderer-D2KfETZD.js +0 -1
  178. package/src/assets/web-panel/assets/Compliance-T8EtTecW.js +0 -1
  179. package/src/assets/web-panel/assets/MobileBridge-CYaITZ7w.js +0 -1
  180. package/src/assets/web-panel/assets/TimelineRenderer-Bv7uZRM7.js +0 -1
  181. package/src/assets/web-panel/assets/devWarning-6YJJMjSH.js +0 -1
  182. package/src/assets/web-panel/assets/index-D_oeGLr6.js +0 -1
  183. package/src/assets/web-panel/assets/index-Qa57YG19.js +0 -1
  184. package/src/assets/web-panel/assets/useFlexGapSupport-DfAD5U4Z.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as ry,h as iy,i as Qa,t as ny,b as Oi,g as ay,w as ja,e as Ud,o as oy,f as sy,s as Ss,n as uy,j as ly,u as fy}from"./vendor-BvqAck49.js";var Xu=function(r,t){return Xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])},Xu(r,t)};function N(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Xu(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var hy=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),cy=(function(){function r(){this.browser=new hy,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),U=new cy;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(U.wxa=!0,U.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?U.worker=!0:!U.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(U.node=!0,U.svgSupported=!0):vy(navigator.userAgent,U);function vy(r,t){var e=t.browser,i=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),a=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);i&&(e.firefox=!0,e.version=i[1]),n&&(e.ie=!0,e.version=n[1]),a&&(e.edge=!0,e.version=a[1],e.newEdge=+a[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11);var s=t.domSupported=typeof document<"u";if(s){var u=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in u||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in u)&&!("OTransition"in u),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}}var rf=12,dy="sans-serif",pr=rf+"px "+dy,py=20,gy=100,my="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function yy(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e<r.length;e++){var i=String.fromCharCode(e+32),n=(r.charCodeAt(e)-py)/gy;t[i]=n}return t}var _y=yy(my),Je={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var r,t;return function(e,i){if(!r){var n=Je.createCanvas();r=n&&n.getContext("2d")}if(r)return t!==i&&(t=r.font=i||pr),r.measureText(e);e=e||"",i=i||pr;var a=/((?:\d+)?\.?\d*)px/.exec(i),o=a&&+a[1]||rf,s=0;if(i.indexOf("mono")>=0)s=o*e.length;else for(var u=0;u<e.length;u++){var l=_y[e[u]];s+=l==null?o:l*o}return{width:s}}})(),loadImage:function(r,t,e){var i=new Image;return i.onload=t,i.onerror=e,i.src=r,i}},Wd=tn(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,t){return r["[object "+t+"]"]=!0,r},{}),Yd=tn(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,t){return r["[object "+t+"Array]"]=!0,r},{}),Ji=Object.prototype.toString,$o=Array.prototype,Sy=$o.forEach,wy=$o.filter,nf=$o.slice,by=$o.map,vh=(function(){}).constructor,pa=vh?vh.prototype:null,af="__proto__",Ty=2311;function Xd(){return Ty++}function ei(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];typeof console<"u"&&console.error.apply(console,r)}function $(r){if(r==null||typeof r!="object")return r;var t=r,e=Ji.call(r);if(e==="[object Array]"){if(!kn(r)){t=[];for(var i=0,n=r.length;i<n;i++)t[i]=$(r[i])}}else if(Yd[e]){if(!kn(r)){var a=r.constructor;if(a.from)t=a.from(r);else{t=new a(r.length);for(var i=0,n=r.length;i<n;i++)t[i]=r[i]}}}else if(!Wd[e]&&!kn(r)&&!Wi(r)){t={};for(var o in r)r.hasOwnProperty(o)&&o!==af&&(t[o]=$(r[o]))}return t}function dt(r,t,e){if(!H(t)||!H(r))return e?$(t):r;for(var i in t)if(t.hasOwnProperty(i)&&i!==af){var n=r[i],a=t[i];H(a)&&H(n)&&!B(a)&&!B(n)&&!Wi(a)&&!Wi(n)&&!dh(a)&&!dh(n)&&!kn(a)&&!kn(n)?dt(n,a,e):(e||!(i in r))&&(r[i]=$(t[i]))}return r}function R(r,t){if(Object.assign)Object.assign(r,t);else for(var e in t)t.hasOwnProperty(e)&&e!==af&&(r[e]=t[e]);return r}function pt(r,t,e){for(var i=mt(t),n=0,a=i.length;n<a;n++){var o=i[n];r[o]==null&&(r[o]=t[o])}return r}function ut(r,t){if(r){if(r.indexOf)return r.indexOf(t);for(var e=0,i=r.length;e<i;e++)if(r[e]===t)return e}return-1}function xy(r,t){var e=r.prototype;function i(){}i.prototype=t.prototype,r.prototype=new i;for(var n in e)e.hasOwnProperty(n)&&(r.prototype[n]=e[n]);r.prototype.constructor=r,r.superClass=t}function _e(r,t,e){if(r="prototype"in r?r.prototype:r,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(t),n=0;n<i.length;n++){var a=i[n];a!=="constructor"&&r[a]==null&&(r[a]=t[a])}else pt(r,t)}function Kt(r){return!r||typeof r=="string"?!1:typeof r.length=="number"}function I(r,t,e){if(r&&t)if(r.forEach&&r.forEach===Sy)r.forEach(t,e);else if(r.length===+r.length)for(var i=0,n=r.length;i<n;i++)t.call(e,r[i],i,r);else for(var a in r)r.hasOwnProperty(a)&&t.call(e,r[a],a,r)}function j(r,t,e){if(!r)return[];if(!t)return of(r);if(r.map&&r.map===by)return r.map(t,e);for(var i=[],n=0,a=r.length;n<a;n++)i.push(t.call(e,r[n],n,r));return i}function tn(r,t,e,i){if(r&&t){for(var n=0,a=r.length;n<a;n++)e=t.call(i,e,r[n],n,r);return e}}function te(r,t,e){if(!r)return[];if(!t)return of(r);if(r.filter&&r.filter===wy)return r.filter(t,e);for(var i=[],n=0,a=r.length;n<a;n++)t.call(e,r[n],n,r)&&i.push(r[n]);return i}function mt(r){if(!r)return[];if(Object.keys)return Object.keys(r);var t=[];for(var e in r)r.hasOwnProperty(e)&&t.push(e);return t}function Cy(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return function(){return r.apply(t,e.concat(nf.call(arguments)))}}var at=pa&&q(pa.bind)?pa.call.bind(pa.bind):Cy;function St(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return function(){return r.apply(this,t.concat(nf.call(arguments)))}}function B(r){return Array.isArray?Array.isArray(r):Ji.call(r)==="[object Array]"}function q(r){return typeof r=="function"}function z(r){return typeof r=="string"}function po(r){return Ji.call(r)==="[object String]"}function lt(r){return typeof r=="number"}function H(r){var t=typeof r;return t==="function"||!!r&&t==="object"}function dh(r){return!!Wd[Ji.call(r)]}function Ht(r){return!!Yd[Ji.call(r)]}function Wi(r){return typeof r=="object"&&typeof r.nodeType=="number"&&typeof r.ownerDocument=="object"}function Zo(r){return r.colorStops!=null}function Dy(r){return r.image!=null}function Iy(r){return Ji.call(r)==="[object RegExp]"}function $d(r){return r!==r}function gr(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var e=0,i=r.length;e<i;e++)if(r[e]!=null)return r[e]}function F(r,t){return r??t}function Ke(r,t,e){return r??t??e}function of(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return nf.apply(r,t)}function sf(r){if(typeof r=="number")return[r,r,r,r];var t=r.length;return t===2?[r[0],r[1],r[0],r[1]]:t===3?[r[0],r[1],r[2],r[1]]:r}function V(r,t){if(!r)throw new Error(t)}function Re(r){return r==null?null:typeof r.trim=="function"?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Zd="__ec_primitive__";function $u(r){r[Zd]=!0}function kn(r){return r[Zd]}var Ly=(function(){function r(){this.data={}}return r.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},r.prototype.has=function(t){return this.data.hasOwnProperty(t)},r.prototype.get=function(t){return this.data[t]},r.prototype.set=function(t,e){return this.data[t]=e,this},r.prototype.keys=function(){return mt(this.data)},r.prototype.forEach=function(t){var e=this.data;for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)},r})(),qd=typeof Map=="function";function My(){return qd?new Map:new Ly}var Ay=(function(){function r(t){var e=B(t);this.data=My();var i=this;t instanceof r?t.each(n):t&&I(t,n);function n(a,o){e?i.set(a,o):i.set(o,a)}}return r.prototype.hasKey=function(t){return this.data.has(t)},r.prototype.get=function(t){return this.data.get(t)},r.prototype.set=function(t,e){return this.data.set(t,e),e},r.prototype.each=function(t,e){this.data.forEach(function(i,n){t.call(e,i,n)})},r.prototype.keys=function(){var t=this.data.keys();return qd?Array.from(t):t},r.prototype.removeKey=function(t){this.data.delete(t)},r})();function Y(r){return new Ay(r)}function Py(r,t){for(var e=new r.constructor(r.length+t.length),i=0;i<r.length;i++)e[i]=r[i];for(var n=r.length,i=0;i<t.length;i++)e[i+n]=t[i];return e}function qo(r,t){var e;if(Object.create)e=Object.create(r);else{var i=function(){};i.prototype=r,e=new i}return t&&R(e,t),e}function Kd(r){var t=r.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function me(r,t){return r.hasOwnProperty(t)}function Mt(){}var Ry=180/Math.PI;function ui(r,t){return r==null&&(r=0),t==null&&(t=0),[r,t]}function kt(r,t){return r[0]=t[0],r[1]=t[1],r}function Qe(r){return[r[0],r[1]]}function Ey(r,t,e){return r[0]=t,r[1]=e,r}function ph(r,t,e){return r[0]=t[0]+e[0],r[1]=t[1]+e[1],r}function Zu(r,t,e,i){return r[0]=t[0]+e[0]*i,r[1]=t[1]+e[1]*i,r}function qr(r,t,e){return r[0]=t[0]-e[0],r[1]=t[1]-e[1],r}function qu(r){return Math.sqrt(Oy(r))}function Oy(r){return r[0]*r[0]+r[1]*r[1]}function Ja(r,t,e){return r[0]=t[0]*e,r[1]=t[1]*e,r}function en(r,t){var e=qu(t);return e===0?(r[0]=0,r[1]=0):(r[0]=t[0]/e,r[1]=t[1]/e),r}function Ku(r,t){return Math.sqrt((r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1]))}var ky=Ku;function By(r,t){return(r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1])}var ri=By;function re(r,t,e){var i=t[0],n=t[1];return r[0]=e[0]*i+e[2]*n+e[4],r[1]=e[1]*i+e[3]*n+e[5],r}function Bi(r,t,e){return r[0]=Math.min(t[0],e[0]),r[1]=Math.min(t[1],e[1]),r}function Ni(r,t,e){return r[0]=Math.max(t[0],e[0]),r[1]=Math.max(t[1],e[1]),r}var vi=(function(){function r(t,e){this.target=t,this.topTarget=e&&e.topTarget}return r})(),Ny=(function(){function r(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new vi(e,t),"dragstart",t.event))},r.prototype._drag=function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,a=i-this._x,o=n-this._y;this._x=i,this._y=n,e.drift(a,o,t),this.handler.dispatchToElement(new vi(e,t),"drag",t.event);var s=this.handler.findHover(i,n,e).target,u=this._dropTarget;this._dropTarget=s,e!==s&&(u&&s!==u&&this.handler.dispatchToElement(new vi(u,t),"dragleave",t.event),s&&s!==u&&this.handler.dispatchToElement(new vi(s,t),"dragenter",t.event))}},r.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new vi(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new vi(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},r})(),Se=(function(){function r(t){t&&(this._$eventProcessor=t)}return r.prototype.on=function(t,e,i,n){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof e=="function"&&(n=i,i=e,e=null),!i||!t)return this;var o=this._$eventProcessor;e!=null&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),a[t]||(a[t]=[]);for(var s=0;s<a[t].length;s++)if(a[t][s].h===i)return this;var u={h:i,query:e,ctx:n||this,callAtLast:i.zrEventfulCallAtLast},l=a[t].length-1,f=a[t][l];return f&&f.callAtLast?a[t].splice(l,0,u):a[t].push(u),this},r.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},r.prototype.off=function(t,e){var i=this._$handlers;if(!i)return this;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],a=0,o=i[t].length;a<o;a++)i[t][a].h!==e&&n.push(i[t][a]);i[t]=n}i[t]&&i[t].length===0&&delete i[t]}else delete i[t];return this},r.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],a=this._$eventProcessor;if(n)for(var o=e.length,s=n.length,u=0;u<s;u++){var l=n[u];if(!(a&&a.filter&&l.query!=null&&!a.filter(t,l.query)))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e);break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},r.prototype.triggerWithContext=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],a=this._$eventProcessor;if(n)for(var o=e.length,s=e[o-1],u=n.length,l=0;l<u;l++){var f=n[l];if(!(a&&a.filter&&f.query!=null&&!a.filter(t,f.query)))switch(o){case 0:f.h.call(s);break;case 1:f.h.call(s,e[0]);break;case 2:f.h.call(s,e[0],e[1]);break;default:f.h.apply(s,e.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},r})(),zy=Math.log(2);function Qu(r,t,e,i,n,a){var o=i+"-"+n,s=r.length;if(a.hasOwnProperty(o))return a[o];if(t===1){var u=Math.round(Math.log((1<<s)-1&~n)/zy);return r[e][u]}for(var l=i|1<<e,f=e+1;i&1<<f;)f++;for(var h=0,c=0,v=0;c<s;c++){var d=1<<c;d&n||(h+=(v%2?-1:1)*r[e][c]*Qu(r,t-1,f,l,n|d,a),v++)}return a[o]=h,h}function gh(r,t){var e=[[r[0],r[1],1,0,0,0,-t[0]*r[0],-t[0]*r[1]],[0,0,0,r[0],r[1],1,-t[1]*r[0],-t[1]*r[1]],[r[2],r[3],1,0,0,0,-t[2]*r[2],-t[2]*r[3]],[0,0,0,r[2],r[3],1,-t[3]*r[2],-t[3]*r[3]],[r[4],r[5],1,0,0,0,-t[4]*r[4],-t[4]*r[5]],[0,0,0,r[4],r[5],1,-t[5]*r[4],-t[5]*r[5]],[r[6],r[7],1,0,0,0,-t[6]*r[6],-t[6]*r[7]],[0,0,0,r[6],r[7],1,-t[7]*r[6],-t[7]*r[7]]],i={},n=Qu(e,8,0,0,0,i);if(n!==0){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)a[s]==null&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*Qu(e,7,o===0?1:0,1<<o,1<<s,i)/n*t[o];return function(u,l,f){var h=l*a[6]+f*a[7]+1;u[0]=(l*a[0]+f*a[1]+a[2])/h,u[1]=(l*a[3]+f*a[4]+a[5])/h}}}var go="___zrEVENTSAVED",ws=[];function Fy(r,t,e,i,n){return ju(ws,t,i,n,!0)&&ju(r,e,ws[0],ws[1])}function Hy(r,t){r&&e(r),t&&e(t);function e(i){var n=i[go];n&&(n.clearMarkers&&n.clearMarkers(),delete i[go])}}function ju(r,t,e,i,n){if(t.getBoundingClientRect&&U.domSupported&&!Qd(t)){var a=t[go]||(t[go]={}),o=Vy(t,a),s=Gy(o,a,n);if(s)return s(r,e,i),!0}return!1}function Vy(r,t){var e=t.markers;if(e)return e;e=t.markers=[];for(var i=["left","right"],n=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,u=a%2,l=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[u]+":0",n[l]+":0",i[1-u]+":auto",n[1-l]+":auto",""].join("!important;"),r.appendChild(o),e.push(o)}return t.clearMarkers=function(){I(e,function(f){f.parentNode&&f.parentNode.removeChild(f)})},e}function Gy(r,t,e){for(var i=e?"invTrans":"trans",n=t[i],a=t.srcCoords,o=[],s=[],u=!0,l=0;l<4;l++){var f=r[l].getBoundingClientRect(),h=2*l,c=f.left,v=f.top;o.push(c,v),u=u&&a&&c===a[h]&&v===a[h+1],s.push(r[l].offsetLeft,r[l].offsetTop)}return u&&n?n:(t.srcCoords=o,t[i]=e?gh(s,o):gh(o,s))}function Qd(r){return r.nodeName.toUpperCase()==="CANVAS"}var Uy=/([&<>"'])/g,Wy={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Wt(r){return r==null?"":(r+"").replace(Uy,function(t,e){return Wy[e]})}var Yy=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bs=[],Xy=U.browser.firefox&&+U.browser.version.split(".")[0]<39;function Ju(r,t,e,i){return e=e||{},i?mh(r,t,e):Xy&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):mh(r,t,e),e}function mh(r,t,e){if(U.domSupported&&r.getBoundingClientRect){var i=t.clientX,n=t.clientY;if(Qd(r)){var a=r.getBoundingClientRect();e.zrX=i-a.left,e.zrY=n-a.top;return}else if(ju(bs,r,i,n)){e.zrX=bs[0],e.zrY=bs[1];return}}e.zrX=e.zrY=0}function uf(r){return r||window.event}function se(r,t,e){if(t=uf(t),t.zrX!=null)return t;var i=t.type,n=i&&i.indexOf("touch")>=0;if(n){var o=i!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Ju(r,o,t,e)}else{Ju(r,t,t,e);var a=$y(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&Yy.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function $y(r){var t=r.wheelDelta;if(t)return t;var e=r.deltaX,i=r.deltaY;if(e==null||i==null)return t;var n=Math.abs(i!==0?i:e),a=i>0?-1:i<0?1:e>0?-1:1;return 3*n*a}function Zy(r,t,e,i){r.addEventListener(t,e,i)}function qy(r,t,e,i){r.removeEventListener(t,e,i)}var mo=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function yh(r){return r.which===2||r.which===3}var Ky=(function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,i){var n=t.touches;if(n){for(var a={points:[],touches:[],target:e,event:t},o=0,s=n.length;o<s;o++){var u=n[o],l=Ju(i,u,{});a.points.push([l.zrX,l.zrY]),a.touches.push(u)}this._track.push(a)}},r.prototype._recognize=function(t){for(var e in Ts)if(Ts.hasOwnProperty(e)){var i=Ts[e](this._track,t);if(i)return i}},r})();function _h(r){var t=r[1][0]-r[0][0],e=r[1][1]-r[0][1];return Math.sqrt(t*t+e*e)}function Qy(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}var Ts={pinch:function(r,t){var e=r.length;if(e){var i=(r[e-1]||{}).points,n=(r[e-2]||{}).points||i;if(n&&n.length>1&&i&&i.length>1){var a=_h(i)/_h(n);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Qy(i);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:r[0].target,event:t}}}}};function Oe(){return[1,0,0,1,0,0]}function lf(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function ff(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function Bn(r,t,e){var i=t[0]*e[0]+t[2]*e[1],n=t[1]*e[0]+t[3]*e[1],a=t[0]*e[2]+t[2]*e[3],o=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],u=t[1]*e[4]+t[3]*e[5]+t[5];return r[0]=i,r[1]=n,r[2]=a,r[3]=o,r[4]=s,r[5]=u,r}function tl(r,t,e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4]+e[0],r[5]=t[5]+e[1],r}function hf(r,t,e,i){i===void 0&&(i=[0,0]);var n=t[0],a=t[2],o=t[4],s=t[1],u=t[3],l=t[5],f=Math.sin(e),h=Math.cos(e);return r[0]=n*h+s*f,r[1]=-n*f+s*h,r[2]=a*h+u*f,r[3]=-a*f+h*u,r[4]=h*(o-i[0])+f*(l-i[1])+i[0],r[5]=h*(l-i[1])-f*(o-i[0])+i[1],r}function jy(r,t,e){var i=e[0],n=e[1];return r[0]=t[0]*i,r[1]=t[1]*n,r[2]=t[2]*i,r[3]=t[3]*n,r[4]=t[4]*i,r[5]=t[5]*n,r}function la(r,t){var e=t[0],i=t[2],n=t[4],a=t[1],o=t[3],s=t[5],u=e*o-a*i;return u?(u=1/u,r[0]=o*u,r[1]=-a*u,r[2]=-i*u,r[3]=e*u,r[4]=(i*s-o*n)*u,r[5]=(a*n-e*s)*u,r):null}var ot=(function(){function r(t,e){this.x=t||0,this.y=e||0}return r.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(t,e){return this.x=t,this.y=e,this},r.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},r.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},r.prototype.scale=function(t){this.x*=t,this.y*=t},r.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},r.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},r.prototype.dot=function(t){return this.x*t.x+this.y*t.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},r.prototype.distance=function(t){var e=this.x-t.x,i=this.y-t.y;return Math.sqrt(e*e+i*i)},r.prototype.distanceSquare=function(t){var e=this.x-t.x,i=this.y-t.y;return e*e+i*i},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(t){if(t){var e=this.x,i=this.y;return this.x=t[0]*e+t[2]*i+t[4],this.y=t[1]*e+t[3]*i+t[5],this}},r.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},r.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},r.set=function(t,e,i){t.x=e,t.y=i},r.copy=function(t,e){t.x=e.x,t.y=e.y},r.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},r.lenSquare=function(t){return t.x*t.x+t.y*t.y},r.dot=function(t,e){return t.x*e.x+t.y*e.y},r.add=function(t,e,i){t.x=e.x+i.x,t.y=e.y+i.y},r.sub=function(t,e,i){t.x=e.x-i.x,t.y=e.y-i.y},r.scale=function(t,e,i){t.x=e.x*i,t.y=e.y*i},r.scaleAndAdd=function(t,e,i,n){t.x=e.x+i.x*n,t.y=e.y+i.y*n},r.lerp=function(t,e,i,n){var a=1-n;t.x=a*e.x+n*i.x,t.y=a*e.y+n*i.y},r})(),Kr=Math.min,zi=Math.max,el=Math.abs,Sh=["x","y"],Jy=["width","height"],Tr=new ot,xr=new ot,Cr=new ot,Dr=new ot,Jt=jd(),Cn=Jt.minTv,rl=Jt.maxTv,Nn=[0,0],X=(function(){function r(t,e,i,n){r.set(this,t,e,i,n)}return r.set=function(t,e,i,n,a){return n<0&&(e=e+n,n=-n),a<0&&(i=i+a,a=-a),t.x=e,t.y=i,t.width=n,t.height=a,t},r.prototype.union=function(t){var e=Kr(t.x,this.x),i=Kr(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=zi(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=zi(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=e,this.y=i},r.prototype.applyTransform=function(t){r.applyTransform(this,this,t)},r.prototype.calculateTransform=function(t){var e=this,i=t.width/e.width,n=t.height/e.height,a=Oe();return tl(a,a,[-e.x,-e.y]),jy(a,a,[i,n]),tl(a,a,[t.x,t.y]),a},r.prototype.intersect=function(t,e,i){return r.intersect(this,t,e,i)},r.intersect=function(t,e,i,n){i&&ot.set(i,0,0);var a=n&&n.outIntersectRect||null,o=n&&n.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!t||!e)return!1;t instanceof r||(t=r.set(t_,t.x,t.y,t.width,t.height)),e instanceof r||(e=r.set(e_,e.x,e.y,e.width,e.height));var s=!!i;Jt.reset(n,s);var u=Jt.touchThreshold,l=t.x+u,f=t.x+t.width-u,h=t.y+u,c=t.y+t.height-u,v=e.x+u,d=e.x+e.width-u,m=e.y+u,g=e.y+e.height-u;if(l>f||h>c||v>d||m>g)return!1;var p=!(f<v||d<l||c<m||g<h);return(s||a)&&(Nn[0]=1/0,Nn[1]=0,wh(l,f,v,d,0,s,a,o),wh(h,c,m,g,1,s,a,o),s&&ot.copy(i,p?Jt.useDir?Jt.dirMinTv:Cn:rl)),p},r.contain=function(t,e,i){return e>=t.x&&e<=t.x+t.width&&i>=t.y&&i<=t.y+t.height},r.prototype.contain=function(t,e){return r.contain(this,t,e)},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},r.applyTransform=function(t,e,i){if(!i){t!==e&&r.copy(t,e);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var n=i[0],a=i[3],o=i[4],s=i[5];t.x=e.x*n+o,t.y=e.y*a+s,t.width=e.width*n,t.height=e.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Tr.x=Cr.x=e.x,Tr.y=Dr.y=e.y,xr.x=Dr.x=e.x+e.width,xr.y=Cr.y=e.y+e.height,Tr.transform(i),Dr.transform(i),xr.transform(i),Cr.transform(i),t.x=Kr(Tr.x,xr.x,Cr.x,Dr.x),t.y=Kr(Tr.y,xr.y,Cr.y,Dr.y);var u=zi(Tr.x,xr.x,Cr.x,Dr.x),l=zi(Tr.y,xr.y,Cr.y,Dr.y);t.width=u-t.x,t.height=l-t.y},r})(),t_=new X(0,0,0,0),e_=new X(0,0,0,0);function wh(r,t,e,i,n,a,o,s){var u=el(t-e),l=el(i-r),f=Kr(u,l),h=Sh[n],c=Sh[1-n],v=Jy[n];t<e||i<r?u<l?(a&&(rl[h]=-u),s&&(o[h]=t,o[v]=0)):(a&&(rl[h]=l),s&&(o[h]=r,o[v]=0)):(o&&(o[h]=zi(r,e),o[v]=Kr(t,i)-o[h]),a&&(f<Nn[0]||Jt.useDir)&&(Nn[0]=Kr(f,Nn[0]),(u<l||!Jt.bidirectional)&&(Cn[h]=u,Cn[c]=0,Jt.useDir&&Jt.calcDirMTV()),(u>=l||!Jt.bidirectional)&&(Cn[h]=-l,Cn[c]=0,Jt.useDir&&Jt.calcDirMTV())))}function jd(){var r=0,t=new ot,e=new ot,i={minTv:new ot,maxTv:new ot,useDir:!1,dirMinTv:new ot,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(a,o){i.touchThreshold=0,a&&a.touchThreshold!=null&&(i.touchThreshold=zi(0,a.touchThreshold)),i.negativeSize=!1,o&&(i.minTv.set(1/0,1/0),i.maxTv.set(0,0),i.useDir=!1,a&&a.direction!=null&&(i.useDir=!0,i.dirMinTv.copy(i.minTv),e.copy(i.minTv),r=a.direction,i.bidirectional=a.bidirectional==null||!!a.bidirectional,i.bidirectional||t.set(Math.cos(r),Math.sin(r))))},calcDirMTV:function(){var a=i.minTv,o=i.dirMinTv,s=a.y*a.y+a.x*a.x,u=Math.sin(r),l=Math.cos(r),f=u*a.y+l*a.x;if(n(f)){n(a.x)&&n(a.y)&&o.set(0,0);return}if(e.x=s*l/f,e.y=s*u/f,n(e.x)&&n(e.y)){o.set(0,0);return}(i.bidirectional||t.dot(e)>0)&&e.len()<o.len()&&o.copy(e)}};function n(a){return el(a)<1e-10}return i}var Jd="silent";function r_(r,t,e){return{type:r,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:i_}}function i_(){mo(this.event)}var n_=(function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.handler=null,e}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(Se),rn=(function(){function r(t,e){this.x=t,this.y=e}return r})(),a_=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],xs=new X(0,0,0,0),tp=(function(r){N(t,r);function t(e,i,n,a,o){var s=r.call(this)||this;return s._hovered=new rn(0,0),s.storage=e,s.painter=i,s.painterRoot=a,s._pointerSize=o,n=n||new n_,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new Ny(s),s}return t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(I(a_,function(i){e.on&&e.on(i,this[i],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var i=e.zrX,n=e.zrY,a=ep(this,i,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var u=this._hovered=a?new rn(i,n):this.findHover(i,n),l=u.target,f=this.proxy;f.setCursor&&f.setCursor(l?l.cursor:"default"),s&&l!==s&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(u,"mousemove",e),l&&l!==s&&this.dispatchToElement(u,"mouseover",e)},t.prototype.mouseout=function(e){var i=e.zrEventControl;i!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),i!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new rn(0,0)},t.prototype.dispatch=function(e,i){var n=this[e];n&&n.call(this,i)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var i=this.proxy;i.setCursor&&i.setCursor(e)},t.prototype.dispatchToElement=function(e,i,n){e=e||{};var a=e.target;if(!(a&&a.silent)){for(var o="on"+i,s=r_(i,e,n);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(i,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(i,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(u){typeof u[o]=="function"&&u[o].call(u,s),u.trigger&&u.trigger(i,s)}))}},t.prototype.findHover=function(e,i,n){var a=this.storage.getDisplayList(),o=new rn(e,i);if(bh(a,o,e,i,n),this._pointerSize&&!o.target){for(var s=[],u=this._pointerSize,l=u/2,f=new X(e-l,i-l,u,u),h=a.length-1;h>=0;h--){var c=a[h];c!==n&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(xs.copy(c.getBoundingRect()),c.transform&&xs.applyTransform(c.transform),xs.intersect(f)&&s.push(c))}if(s.length)for(var v=4,d=Math.PI/12,m=Math.PI*2,g=0;g<l;g+=v)for(var p=0;p<m;p+=d){var y=e+g*Math.cos(p),_=i+g*Math.sin(p);if(bh(s,o,y,_,n),o.target)return o}}return o},t.prototype.processGesture=function(e,i){this._gestureMgr||(this._gestureMgr=new Ky);var n=this._gestureMgr;i==="start"&&n.clear();var a=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if(i==="end"&&n.clear(),a){var o=a.type;e.gestureEvent=o;var s=new rn;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t})(Se);I(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(r){tp.prototype[r]=function(t){var e=t.zrX,i=t.zrY,n=ep(this,e,i),a,o;if((r!=="mouseup"||!n)&&(a=this.findHover(e,i),o=a.target),r==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(r==="mouseup")this._upEl=o;else if(r==="click"){if(this._downEl!==this._upEl||!this._downPoint||ky(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,r,t)}});function o_(r,t,e){if(r[r.rectHover?"rectContain":"contain"](t,e)){for(var i=r,n=void 0,a=!1;i;){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(t,e))return!1}i.silent&&(n=!0);var s=i.__hostTarget;i=s?i.ignoreHostSilent?null:s:i.parent}return n?Jd:!0}return!1}function bh(r,t,e,i,n){for(var a=r.length-1;a>=0;a--){var o=r[a],s=void 0;if(o!==n&&!o.ignore&&(s=o_(o,e,i))&&(!t.topTarget&&(t.topTarget=o),s!==Jd)){t.target=o;break}}}function ep(r,t,e){var i=r.painter;return t<0||t>i.getWidth()||e<0||e>i.getHeight()}var rp=32,nn=7;function s_(r){for(var t=0;r>=rp;)t|=r&1,r>>=1;return r+t}function Th(r,t,e,i){var n=t+1;if(n===e)return 1;if(i(r[n++],r[t])<0){for(;n<e&&i(r[n],r[n-1])<0;)n++;u_(r,t,n)}else for(;n<e&&i(r[n],r[n-1])>=0;)n++;return n-t}function u_(r,t,e){for(e--;t<e;){var i=r[t];r[t++]=r[e],r[e--]=i}}function xh(r,t,e,i,n){for(i===t&&i++;i<e;i++){for(var a=r[i],o=t,s=i,u;o<s;)u=o+s>>>1,n(a,r[u])<0?s=u:o=u+1;var l=i-o;switch(l){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;l>0;)r[o+l]=r[o+l-1],l--}r[o]=a}}function Cs(r,t,e,i,n,a){var o=0,s=0,u=1;if(a(r,t[e+n])>0){for(s=i-n;u<s&&a(r,t[e+n+u])>0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=n,u+=n}else{for(s=n+1;u<s&&a(r,t[e+n-u])<=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var l=o;o=n-u,u=n-l}for(o++;o<u;){var f=o+(u-o>>>1);a(r,t[e+f])>0?o=f+1:u=f}return u}function Ds(r,t,e,i,n,a){var o=0,s=0,u=1;if(a(r,t[e+n])<0){for(s=n+1;u<s&&a(r,t[e+n-u])<0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var l=o;o=n-u,u=n-l}else{for(s=i-n;u<s&&a(r,t[e+n+u])>=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=n,u+=n}for(o++;o<u;){var f=o+(u-o>>>1);a(r,t[e+f])<0?u=f:o=f+1}return u}function l_(r,t){var e=nn,i,n,a=0,o=[];i=[],n=[];function s(v,d){i[a]=v,n[a]=d,a+=1}function u(){for(;a>1;){var v=a-2;if(v>=1&&n[v-1]<=n[v]+n[v+1]||v>=2&&n[v-2]<=n[v]+n[v-1])n[v-1]<n[v+1]&&v--;else if(n[v]>n[v+1])break;f(v)}}function l(){for(;a>1;){var v=a-2;v>0&&n[v-1]<n[v+1]&&v--,f(v)}}function f(v){var d=i[v],m=n[v],g=i[v+1],p=n[v+1];n[v]=m+p,v===a-3&&(i[v+1]=i[v+2],n[v+1]=n[v+2]),a--;var y=Ds(r[g],r,d,m,0,t);d+=y,m-=y,m!==0&&(p=Cs(r[d+m-1],r,g,p,p-1,t),p!==0&&(m<=p?h(d,m,g,p):c(d,m,g,p)))}function h(v,d,m,g){var p=0;for(p=0;p<d;p++)o[p]=r[v+p];var y=0,_=m,S=v;if(r[S++]=r[_++],--g===0){for(p=0;p<d;p++)r[S+p]=o[y+p];return}if(d===1){for(p=0;p<g;p++)r[S+p]=r[_+p];r[S+g]=o[y];return}for(var b=e,w,T,C;;){w=0,T=0,C=!1;do if(t(r[_],o[y])<0){if(r[S++]=r[_++],T++,w=0,--g===0){C=!0;break}}else if(r[S++]=o[y++],w++,T=0,--d===1){C=!0;break}while((w|T)<b);if(C)break;do{if(w=Ds(r[_],o,y,d,0,t),w!==0){for(p=0;p<w;p++)r[S+p]=o[y+p];if(S+=w,y+=w,d-=w,d<=1){C=!0;break}}if(r[S++]=r[_++],--g===0){C=!0;break}if(T=Cs(o[y],r,_,g,0,t),T!==0){for(p=0;p<T;p++)r[S+p]=r[_+p];if(S+=T,_+=T,g-=T,g===0){C=!0;break}}if(r[S++]=o[y++],--d===1){C=!0;break}b--}while(w>=nn||T>=nn);if(C)break;b<0&&(b=0),b+=2}if(e=b,e<1&&(e=1),d===1){for(p=0;p<g;p++)r[S+p]=r[_+p];r[S+g]=o[y]}else{if(d===0)throw new Error;for(p=0;p<d;p++)r[S+p]=o[y+p]}}function c(v,d,m,g){var p=0;for(p=0;p<g;p++)o[p]=r[m+p];var y=v+d-1,_=g-1,S=m+g-1,b=0,w=0;if(r[S--]=r[y--],--d===0){for(b=S-(g-1),p=0;p<g;p++)r[b+p]=o[p];return}if(g===1){for(S-=d,y-=d,w=S+1,b=y+1,p=d-1;p>=0;p--)r[w+p]=r[b+p];r[S]=o[_];return}for(var T=e;;){var C=0,x=0,D=!1;do if(t(o[_],r[y])<0){if(r[S--]=r[y--],C++,x=0,--d===0){D=!0;break}}else if(r[S--]=o[_--],x++,C=0,--g===1){D=!0;break}while((C|x)<T);if(D)break;do{if(C=d-Ds(o[_],r,v,d,d-1,t),C!==0){for(S-=C,y-=C,d-=C,w=S+1,b=y+1,p=C-1;p>=0;p--)r[w+p]=r[b+p];if(d===0){D=!0;break}}if(r[S--]=o[_--],--g===1){D=!0;break}if(x=g-Cs(r[y],o,0,g,g-1,t),x!==0){for(S-=x,_-=x,g-=x,w=S+1,b=_+1,p=0;p<x;p++)r[w+p]=o[b+p];if(g<=1){D=!0;break}}if(r[S--]=r[y--],--d===0){D=!0;break}T--}while(C>=nn||x>=nn);if(D)break;T<0&&(T=0),T+=2}if(e=T,e<1&&(e=1),g===1){for(S-=d,y-=d,w=S+1,b=y+1,p=d-1;p>=0;p--)r[w+p]=r[b+p];r[S]=o[_]}else{if(g===0)throw new Error;for(b=S-(g-1),p=0;p<g;p++)r[b+p]=o[p]}}return{mergeRuns:u,forceMergeRuns:l,pushRun:s}}function to(r,t,e,i){e||(e=0),i||(i=r.length);var n=i-e;if(!(n<2)){var a=0;if(n<rp){a=Th(r,e,i,t),xh(r,e,i,e+a,t);return}var o=l_(r,t),s=s_(n);do{if(a=Th(r,e,i,t),a<s){var u=n;u>s&&(u=s),xh(r,e,e+u,e+a,t),a=u}o.pushRun(e,a),o.mergeRuns(),n-=a,e+=a}while(n!==0);o.forceMergeRuns()}}var ee=1,Dn=2,ki=4,Ch=!1;function Is(){Ch||(Ch=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Dh(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var f_=(function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Dh}return r.prototype.traverse=function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},r.prototype.getDisplayList=function(t,e){e=e||!1;var i=this._displayList;return(t||!i.length)&&this.updateDisplayList(e),i},r.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,a=e.length;n<a;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,to(i,Dh)},r.prototype._updateAndAddDisplayable=function(t,e,i){if(!(t.ignore&&!i)){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath(),a=e&&e.length,o=0,s=t.__clipPaths;if(!t.ignoreClip&&(a||n)){if(s||(s=t.__clipPaths=[]),a)for(var u=0;u<e.length;u++)s[o++]=e[u];for(var l=n,f=t;l;)l.parent=f,l.updateTransform(),s[o++]=l,f=l,l=l.getClipPath()}if(s&&(s.length=o),t.childrenRef){for(var h=t.childrenRef(),c=0;c<h.length;c++){var v=h[c];t.__dirty&&(v.__dirty|=ee),this._updateAndAddDisplayable(v,s,i)}t.__dirty=0}else{var d=t;isNaN(d.z)&&(Is(),d.z=0),isNaN(d.z2)&&(Is(),d.z2=0),isNaN(d.zlevel)&&(Is(),d.zlevel=0),this._displayList[this._displayListLen++]=d}var m=t.getDecalElement&&t.getDecalElement();m&&this._updateAndAddDisplayable(m,s,i);var g=t.getTextGuideLine();g&&this._updateAndAddDisplayable(g,s,i);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,s,i)}},r.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},r.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,i=t.length;e<i;e++)this.delRoot(t[e]);return}var n=ut(this._roots,t);n>=0&&this._roots.splice(n,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r})(),yo;yo=U.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var zn={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,i=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=i/4):t=i*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/i)))},elasticOut:function(r){var t,e=.1,i=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=i/4):t=i*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/i)+1)},elasticInOut:function(r){var t,e=.1,i=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=i/4):t=i*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/i)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/i)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-zn.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?zn.bounceIn(r*2)*.5:zn.bounceOut(r*2-1)*.5+.5}},ga=Math.pow,cr=Math.sqrt,_o=1e-8,ip=1e-4,Ih=cr(3),ma=1/3,Pe=ui(),fe=ui(),Gi=ui();function fr(r){return r>-_o&&r<_o}function np(r){return r>_o||r<-_o}function Nt(r,t,e,i,n){var a=1-n;return a*a*(a*r+3*n*t)+n*n*(n*i+3*a*e)}function Lh(r,t,e,i,n){var a=1-n;return 3*(((t-r)*a+2*(e-t)*n)*a+(i-e)*n*n)}function ap(r,t,e,i,n,a){var o=i+3*(t-e)-r,s=3*(e-t*2+r),u=3*(t-r),l=r-n,f=s*s-3*o*u,h=s*u-9*o*l,c=u*u-3*s*l,v=0;if(fr(f)&&fr(h))if(fr(s))a[0]=0;else{var d=-u/s;d>=0&&d<=1&&(a[v++]=d)}else{var m=h*h-4*f*c;if(fr(m)){var g=h/f,d=-s/o+g,p=-g/2;d>=0&&d<=1&&(a[v++]=d),p>=0&&p<=1&&(a[v++]=p)}else if(m>0){var y=cr(m),_=f*s+1.5*o*(-h+y),S=f*s+1.5*o*(-h-y);_<0?_=-ga(-_,ma):_=ga(_,ma),S<0?S=-ga(-S,ma):S=ga(S,ma);var d=(-s-(_+S))/(3*o);d>=0&&d<=1&&(a[v++]=d)}else{var b=(2*f*s-3*o*h)/(2*cr(f*f*f)),w=Math.acos(b)/3,T=cr(f),C=Math.cos(w),d=(-s-2*T*C)/(3*o),p=(-s+T*(C+Ih*Math.sin(w)))/(3*o),x=(-s+T*(C-Ih*Math.sin(w)))/(3*o);d>=0&&d<=1&&(a[v++]=d),p>=0&&p<=1&&(a[v++]=p),x>=0&&x<=1&&(a[v++]=x)}}return v}function op(r,t,e,i,n){var a=6*e-12*t+6*r,o=9*t+3*i-3*r-9*e,s=3*t-3*r,u=0;if(fr(o)){if(np(a)){var l=-s/a;l>=0&&l<=1&&(n[u++]=l)}}else{var f=a*a-4*o*s;if(fr(f))n[0]=-a/(2*o);else if(f>0){var h=cr(f),l=(-a+h)/(2*o),c=(-a-h)/(2*o);l>=0&&l<=1&&(n[u++]=l),c>=0&&c<=1&&(n[u++]=c)}}return u}function So(r,t,e,i,n,a){var o=(t-r)*n+r,s=(e-t)*n+t,u=(i-e)*n+e,l=(s-o)*n+o,f=(u-s)*n+s,h=(f-l)*n+l;a[0]=r,a[1]=o,a[2]=l,a[3]=h,a[4]=h,a[5]=f,a[6]=u,a[7]=i}function h_(r,t,e,i,n,a,o,s,u,l,f){var h,c=.005,v=1/0,d,m,g,p;Pe[0]=u,Pe[1]=l;for(var y=0;y<1;y+=.05)fe[0]=Nt(r,e,n,o,y),fe[1]=Nt(t,i,a,s,y),g=ri(Pe,fe),g<v&&(h=y,v=g);v=1/0;for(var _=0;_<32&&!(c<ip);_++)d=h-c,m=h+c,fe[0]=Nt(r,e,n,o,d),fe[1]=Nt(t,i,a,s,d),g=ri(fe,Pe),d>=0&&g<v?(h=d,v=g):(Gi[0]=Nt(r,e,n,o,m),Gi[1]=Nt(t,i,a,s,m),p=ri(Gi,Pe),m<=1&&p<v?(h=m,v=p):c*=.5);return cr(v)}function c_(r,t,e,i,n,a,o,s,u){for(var l=r,f=t,h=0,c=1/u,v=1;v<=u;v++){var d=v*c,m=Nt(r,e,n,o,d),g=Nt(t,i,a,s,d),p=m-l,y=g-f;h+=Math.sqrt(p*p+y*y),l=m,f=g}return h}function zt(r,t,e,i){var n=1-i;return n*(n*r+2*i*t)+i*i*e}function Mh(r,t,e,i){return 2*((1-i)*(t-r)+i*(e-t))}function v_(r,t,e,i,n){var a=r-2*t+e,o=2*(t-r),s=r-i,u=0;if(fr(a)){if(np(o)){var l=-s/o;l>=0&&l<=1&&(n[u++]=l)}}else{var f=o*o-4*a*s;if(fr(f)){var l=-o/(2*a);l>=0&&l<=1&&(n[u++]=l)}else if(f>0){var h=cr(f),l=(-o+h)/(2*a),c=(-o-h)/(2*a);l>=0&&l<=1&&(n[u++]=l),c>=0&&c<=1&&(n[u++]=c)}}return u}function sp(r,t,e){var i=r+e-2*t;return i===0?.5:(r-t)/i}function Xn(r,t,e,i,n){var a=(t-r)*i+r,o=(e-t)*i+t,s=(o-a)*i+a;n[0]=r,n[1]=a,n[2]=s,n[3]=s,n[4]=o,n[5]=e}function d_(r,t,e,i,n,a,o,s,u){var l,f=.005,h=1/0;Pe[0]=o,Pe[1]=s;for(var c=0;c<1;c+=.05){fe[0]=zt(r,e,n,c),fe[1]=zt(t,i,a,c);var v=ri(Pe,fe);v<h&&(l=c,h=v)}h=1/0;for(var d=0;d<32&&!(f<ip);d++){var m=l-f,g=l+f;fe[0]=zt(r,e,n,m),fe[1]=zt(t,i,a,m);var v=ri(fe,Pe);if(m>=0&&v<h)l=m,h=v;else{Gi[0]=zt(r,e,n,g),Gi[1]=zt(t,i,a,g);var p=ri(Gi,Pe);g<=1&&p<h?(l=g,h=p):f*=.5}}return cr(h)}function p_(r,t,e,i,n,a,o){for(var s=r,u=t,l=0,f=1/o,h=1;h<=o;h++){var c=h*f,v=zt(r,e,n,c),d=zt(t,i,a,c),m=v-s,g=d-u;l+=Math.sqrt(m*m+g*g),s=v,u=d}return l}var g_=/cubic-bezier\(([0-9,\.e ]+)\)/;function up(r){var t=r&&g_.exec(r);if(t){var e=t[1].split(","),i=+Re(e[0]),n=+Re(e[1]),a=+Re(e[2]),o=+Re(e[3]);if(isNaN(i+n+a+o))return;var s=[];return function(u){return u<=0?0:u>=1?1:ap(0,i,a,1,u,s)&&Nt(0,n,o,1,s[0])}}}var m_=(function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Mt,this.ondestroy=t.ondestroy||Mt,this.onrestart=t.onrestart||Mt,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var i=this._life,n=t-this._startTime-this._pausedTime,a=n/i;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var u=n%i;this._startTime=t-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=q(t)?t:zn[t]||up(t)},r})(),lp=(function(){function r(t){this.value=t}return r})(),y_=(function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new lp(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Yi=(function(){function r(t){this._list=new y_,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var i=this._list,n=this._map,a=null;if(n[t]==null){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var u=i.head;i.remove(u),delete n[u.key],a=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new lp(e),s.key=t,i.insertEntry(s),n[t]=s}return a},r.prototype.get=function(t){var e=this._map[t],i=this._list;if(e!=null)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),Ah={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Fn(r){return r=Math.round(r),r<0?0:r>255?255:r}function Ph(r){return r<0?0:r>1?1:r}function Ls(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?Fn(parseFloat(t)/100*255):Fn(parseInt(t,10))}function ii(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?Ph(parseFloat(t)/100):Ph(parseFloat(t))}function Ms(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function oe(r,t,e,i,n){return r[0]=t,r[1]=e,r[2]=i,r[3]=n,r}function il(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var fp=new Yi(20),ya=null;function di(r,t){ya&&il(ya,t),ya=fp.put(r,ya||t.slice())}function vr(r,t){if(r){t=t||[];var e=fp.get(r);if(e)return il(t,e);r=r+"";var i=r.replace(/ /g,"").toLowerCase();if(i in Ah)return il(t,Ah[i]),di(r,t),t;var n=i.length;if(i.charAt(0)==="#"){if(n===4||n===5){var a=parseInt(i.slice(1,4),16);if(!(a>=0&&a<=4095)){oe(t,0,0,0,1);return}return oe(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,n===5?parseInt(i.slice(4),16)/15:1),di(r,t),t}else if(n===7||n===9){var a=parseInt(i.slice(1,7),16);if(!(a>=0&&a<=16777215)){oe(t,0,0,0,1);return}return oe(t,(a&16711680)>>16,(a&65280)>>8,a&255,n===9?parseInt(i.slice(7),16)/255:1),di(r,t),t}return}var o=i.indexOf("("),s=i.indexOf(")");if(o!==-1&&s+1===n){var u=i.substr(0,o),l=i.substr(o+1,s-(o+1)).split(","),f=1;switch(u){case"rgba":if(l.length!==4)return l.length===3?oe(t,+l[0],+l[1],+l[2],1):oe(t,0,0,0,1);f=ii(l.pop());case"rgb":if(l.length>=3)return oe(t,Ls(l[0]),Ls(l[1]),Ls(l[2]),l.length===3?f:ii(l[3])),di(r,t),t;oe(t,0,0,0,1);return;case"hsla":if(l.length!==4){oe(t,0,0,0,1);return}return l[3]=ii(l[3]),nl(l,t),di(r,t),t;case"hsl":if(l.length!==3){oe(t,0,0,0,1);return}return nl(l,t),di(r,t),t;default:return}}oe(t,0,0,0,1)}}function nl(r,t){var e=(parseFloat(r[0])%360+360)%360/360,i=ii(r[1]),n=ii(r[2]),a=n<=.5?n*(i+1):n+i-n*i,o=n*2-a;return t=t||[],oe(t,Fn(Ms(o,a,e+1/3)*255),Fn(Ms(o,a,e)*255),Fn(Ms(o,a,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}function __(r){if(r){var t=r[0]/255,e=r[1]/255,i=r[2]/255,n=Math.min(t,e,i),a=Math.max(t,e,i),o=a-n,s=(a+n)/2,u,l;if(o===0)u=0,l=0;else{s<.5?l=o/(a+n):l=o/(2-a-n);var f=((a-t)/6+o/2)/o,h=((a-e)/6+o/2)/o,c=((a-i)/6+o/2)/o;t===a?u=c-h:e===a?u=1/3+f-c:i===a&&(u=2/3+h-f),u<0&&(u+=1),u>1&&(u-=1)}var v=[u*360,l,s];return r[3]!=null&&v.push(r[3]),v}}function Rh(r,t){var e=vr(r);if(e){for(var i=0;i<3;i++)e[i]=e[i]*(1-t)|0,e[i]>255?e[i]=255:e[i]<0&&(e[i]=0);return Ko(e,e.length===4?"rgba":"rgb")}}function al(r,t,e,i){var n=vr(r);if(r)return n=__(n),e!=null&&(n[1]=ii(q(e)?e(n[1]):e)),i!=null&&(n[2]=ii(q(i)?i(n[2]):i)),Ko(nl(n),"rgba")}function Ko(r,t){if(!(!r||!r.length)){var e=r[0]+","+r[1]+","+r[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+r[3]),t+"("+e+")"}}function wo(r,t){var e=vr(r);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var Eh=new Yi(100);function Oh(r){if(z(r)){var t=Eh.get(r);return t||(t=Rh(r,-.1),Eh.put(r,t)),t}else if(Zo(r)){var e=R({},r);return e.colorStops=j(r.colorStops,function(i){return{offset:i.offset,color:Rh(i.color,-.1)}}),e}return r}function S_(r){return r.type==="linear"}function w_(r){return r.type==="radial"}(function(){return U.hasGlobalWindow&&q(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return ei("Base64 isn't natively supported in the current environment."),null}})();var ol=Array.prototype.slice;function Xe(r,t,e){return(t-r)*e+r}function As(r,t,e,i){for(var n=t.length,a=0;a<n;a++)r[a]=Xe(t[a],e[a],i);return r}function b_(r,t,e,i){for(var n=t.length,a=n&&t[0].length,o=0;o<n;o++){r[o]||(r[o]=[]);for(var s=0;s<a;s++)r[o][s]=Xe(t[o][s],e[o][s],i)}return r}function _a(r,t,e,i){for(var n=t.length,a=0;a<n;a++)r[a]=t[a]+e[a]*i;return r}function kh(r,t,e,i){for(var n=t.length,a=n&&t[0].length,o=0;o<n;o++){r[o]||(r[o]=[]);for(var s=0;s<a;s++)r[o][s]=t[o][s]+e[o][s]*i}return r}function T_(r,t){for(var e=r.length,i=t.length,n=e>i?t:r,a=Math.min(e,i),o=n[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(e,i);s++)n.push({offset:o.offset,color:o.color.slice()})}function x_(r,t,e){var i=r,n=t;if(!(!i.push||!n.push)){var a=i.length,o=n.length;if(a!==o){var s=a>o;if(s)i.length=o;else for(var u=a;u<o;u++)i.push(e===1?n[u]:ol.call(n[u]))}for(var l=i[0]&&i[0].length,u=0;u<i.length;u++)if(e===1)isNaN(i[u])&&(i[u]=n[u]);else for(var f=0;f<l;f++)isNaN(i[u][f])&&(i[u][f]=n[u][f])}}function eo(r){if(Kt(r)){var t=r.length;if(Kt(r[0])){for(var e=[],i=0;i<t;i++)e.push(ol.call(r[i]));return e}return ol.call(r)}return r}function ro(r){return r[0]=Math.floor(r[0])||0,r[1]=Math.floor(r[1])||0,r[2]=Math.floor(r[2])||0,r[3]=r[3]==null?1:r[3],"rgba("+r.join(",")+")"}function C_(r){return Kt(r&&r[0])?2:1}var Sa=0,io=1,hp=2,In=3,sl=4,ul=5,Bh=6;function Nh(r){return r===sl||r===ul}function wa(r){return r===io||r===hp}var an=[0,0,0,0],D_=(function(){function r(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return r.prototype.isFinished=function(){return this._finished},r.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},r.prototype.needsAnimate=function(){return this.keyframes.length>=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,i){this._needsSort=!0;var n=this.keyframes,a=n.length,o=!1,s=Bh,u=e;if(Kt(e)){var l=C_(e);s=l,(l===1&&!lt(e[0])||l===2&&!lt(e[0][0]))&&(o=!0)}else if(lt(e)&&!$d(e))s=Sa;else if(z(e))if(!isNaN(+e))s=Sa;else{var f=vr(e);f&&(u=f,s=In)}else if(Zo(e)){var h=R({},u);h.colorStops=j(e.colorStops,function(v){return{offset:v.offset,color:vr(v.color)}}),S_(e)?s=sl:w_(e)&&(s=ul),u=h}a===0?this.valType=s:(s!==this.valType||s===Bh)&&(o=!0),this.discrete=this.discrete||o;var c={time:t,value:u,rawValue:e,percent:0};return i&&(c.easing=i,c.easingFunc=q(i)?i:zn[i]||up(i)),n.push(c),c},r.prototype.prepare=function(t,e){var i=this.keyframes;this._needsSort&&i.sort(function(m,g){return m.time-g.time});for(var n=this.valType,a=i.length,o=i[a-1],s=this.discrete,u=wa(n),l=Nh(n),f=0;f<a;f++){var h=i[f],c=h.value,v=o.value;h.percent=h.time/t,s||(u&&f!==a-1?x_(c,v,n):l&&T_(c.colorStops,v.colorStops))}if(!s&&n!==ul&&e&&this.needsAnimate()&&e.needsAnimate()&&n===e.valType&&!e._finished){this._additiveTrack=e;for(var d=i[0].value,f=0;f<a;f++)n===Sa?i[f].additiveValue=i[f].value-d:n===In?i[f].additiveValue=_a([],i[f].value,d,-1):wa(n)&&(i[f].additiveValue=n===io?_a([],i[f].value,d,-1):kh([],i[f].value,d,-1))}},r.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i=this._additiveTrack!=null,n=i?"additiveValue":"value",a=this.valType,o=this.keyframes,s=o.length,u=this.propName,l=a===In,f,h=this._lastFr,c=Math.min,v,d;if(s===1)v=d=o[0];else{if(e<0)f=0;else if(e<this._lastFrP){var m=c(h+1,s-1);for(f=m;f>=0&&!(o[f].percent<=e);f--);f=c(f,s-2)}else{for(f=h;f<s&&!(o[f].percent>e);f++);f=c(f-1,s-2)}d=o[f+1],v=o[f]}if(v&&d){this._lastFr=f,this._lastFrP=e;var g=d.percent-v.percent,p=g===0?1:c((e-v.percent)/g,1);d.easingFunc&&(p=d.easingFunc(p));var y=i?this._additiveValue:l?an:t[u];if((wa(a)||l)&&!y&&(y=this._additiveValue=[]),this.discrete)t[u]=p<1?v.rawValue:d.rawValue;else if(wa(a))a===io?As(y,v[n],d[n],p):b_(y,v[n],d[n],p);else if(Nh(a)){var _=v[n],S=d[n],b=a===sl;t[u]={type:b?"linear":"radial",x:Xe(_.x,S.x,p),y:Xe(_.y,S.y,p),colorStops:j(_.colorStops,function(T,C){var x=S.colorStops[C];return{offset:Xe(T.offset,x.offset,p),color:ro(As([],T.color,x.color,p))}}),global:S.global},b?(t[u].x2=Xe(_.x2,S.x2,p),t[u].y2=Xe(_.y2,S.y2,p)):t[u].r=Xe(_.r,S.r,p)}else if(l)As(y,v[n],d[n],p),i||(t[u]=ro(y));else{var w=Xe(v[n],d[n],p);i?this._additiveValue=w:t[u]=w}i&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,i=this.propName,n=this._additiveValue;e===Sa?t[i]=t[i]+n:e===In?(vr(t[i],an),_a(an,an,n,1),t[i]=ro(an)):e===io?_a(t[i],t[i],n,1):e===hp&&kh(t[i],t[i],n,1)},r})(),cf=(function(){function r(t,e,i,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n){ei("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=i}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,i){return this.whenWithKeys(t,e,mt(e),i)},r.prototype.whenWithKeys=function(t,e,i,n){for(var a=this._tracks,o=0;o<i.length;o++){var s=i[o],u=a[s];if(!u){u=a[s]=new D_(s);var l=void 0,f=this._getAdditiveTrack(s);if(f){var h=f.keyframes,c=h[h.length-1];l=c&&c.value,f.valType===In&&l&&(l=ro(l))}else l=this._target[s];if(l==null)continue;t>0&&u.addKeyframe(0,eo(l),n),this._trackKeys.push(s)}u.addKeyframe(t,eo(e[s]),n)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,i=0;i<e;i++)t[i].call(this)},r.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var i=0;i<e.length;i++)e[i].call(this)},r.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,i=0;i<e.length;i++)t[e[i]].setFinished()},r.prototype._getAdditiveTrack=function(t){var e,i=this._additiveAnimators;if(i)for(var n=0;n<i.length;n++){var a=i[n].getTrack(t);a&&(e=a)}return e},r.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,i=[],n=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],s=this._tracks[o],u=this._getAdditiveTrack(o),l=s.keyframes,f=l.length;if(s.prepare(n,u),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var h=l[f-1];h&&(e._target[s.propName]=h.rawValue),s.setFinished()}else i.push(s)}if(i.length||this._force){var c=new m_({life:n,loop:this._loop,delay:this._delay||0,onframe:function(v){e._started=2;var d=e._additiveAnimators;if(d){for(var m=!1,g=0;g<d.length;g++)if(d[g]._clip){m=!0;break}m||(e._additiveAnimators=null)}for(var g=0;g<i.length;g++)i[g].step(e._target,v);var p=e._onframeCbs;if(p)for(var g=0;g<p.length;g++)p[g](e._target,v)},ondestroy:function(){e._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&c.setEasing(t)}else this._doneCallback();return this}},r.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},r.prototype.delay=function(t){return this._delay=t,this},r.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},r.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},r.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},r.prototype.getClip=function(){return this._clip},r.prototype.getTrack=function(t){return this._tracks[t]},r.prototype.getTracks=function(){var t=this;return j(this._trackKeys,function(e){return t._tracks[e]})},r.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var i=this._tracks,n=this._trackKeys,a=0;a<t.length;a++){var o=i[t[a]];o&&!o.isFinished()&&(e?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,a=0;a<n.length;a++)if(!i[n[a]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},r.prototype.saveTo=function(t,e,i){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var a=e[n],o=this._tracks[a];if(!(!o||o.isFinished())){var s=o.keyframes,u=s[i?0:s.length-1];u&&(t[a]=eo(u.rawValue))}}}},r.prototype.__changeFinalValue=function(t,e){e=e||mt(t);for(var i=0;i<e.length;i++){var n=e[i],a=this._tracks[n];if(a){var o=a.keyframes;if(o.length>1){var s=o.pop();a.addKeyframe(s.time,t[n]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},r})();function Fi(){return new Date().getTime()}var I_=(function(r){N(t,r);function t(e){var i=r.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,e=e||{},i.stage=e.stage||{},i}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var i=e.getClip();i&&this.addClip(i)},t.prototype.removeClip=function(e){if(e.animation){var i=e.prev,n=e.next;i?i.next=n:this._head=n,n?n.prev=i:this._tail=i,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var i=e.getClip();i&&this.removeClip(i),e.animation=null},t.prototype.update=function(e){for(var i=Fi()-this._pausedTime,n=i-this._time,a=this._head;a;){var o=a.next,s=a.step(i,n);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=i,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function i(){e._running&&(yo(i),!e._paused&&e.update())}yo(i)},t.prototype.start=function(){this._running||(this._time=Fi(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Fi(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Fi()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var i=e.next;e.prev=e.next=e.animation=null,e=i}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,i){i=i||{},this.start();var n=new cf(e,i.loop);return this.addAnimator(n),n},t})(Se),L_=300,Ps=U.domSupported,Rs=(function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=j(r,function(n){var a=n.replace("mouse","pointer");return e.hasOwnProperty(a)?a:n});return{mouse:r,touch:t,pointer:i}})(),zh={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Fh=!1;function ll(r){var t=r.pointerType;return t==="pen"||t==="touch"}function M_(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Es(r){r&&(r.zrByTouch=!0)}function A_(r,t){return se(r.dom,new P_(r,t),!0)}function cp(r,t){for(var e=t,i=!1;e&&e.nodeType!==9&&!(i=e.domBelongToZr||e!==t&&e===r.painterRoot);)e=e.parentNode;return i}var P_=(function(){function r(t,e){this.stopPropagation=Mt,this.stopImmediatePropagation=Mt,this.preventDefault=Mt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return r})(),ve={mousedown:function(r){r=se(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=se(this.dom,r);var t=this.__mayPointerCapture;t&&(r.zrX!==t[0]||r.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=se(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=se(this.dom,r);var t=r.toElement||r.relatedTarget;cp(this,t)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){Fh=!0,r=se(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){Fh||(r=se(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=se(this.dom,r),Es(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),ve.mousemove.call(this,r),ve.mousedown.call(this,r)},touchmove:function(r){r=se(this.dom,r),Es(r),this.handler.processGesture(r,"change"),ve.mousemove.call(this,r)},touchend:function(r){r=se(this.dom,r),Es(r),this.handler.processGesture(r,"end"),ve.mouseup.call(this,r),+new Date-+this.__lastTouchMoment<L_&&ve.click.call(this,r)},pointerdown:function(r){ve.mousedown.call(this,r)},pointermove:function(r){ll(r)||ve.mousemove.call(this,r)},pointerup:function(r){ve.mouseup.call(this,r)},pointerout:function(r){ll(r)||ve.mouseout.call(this,r)}};I(["click","dblclick","contextmenu"],function(r){ve[r]=function(t){t=se(this.dom,t),this.trigger(r,t)}});var fl={pointermove:function(r){ll(r)||fl.mousemove.call(this,r)},pointerup:function(r){fl.mouseup.call(this,r)},mousemove:function(r){this.trigger("mousemove",r)},mouseup:function(r){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",r),t&&(r.zrEventControl="only_globalout",this.trigger("mouseout",r))}};function R_(r,t){var e=t.domHandlers;U.pointerEventsSupported?I(Rs.pointer,function(i){no(t,i,function(n){e[i].call(r,n)})}):(U.touchEventsSupported&&I(Rs.touch,function(i){no(t,i,function(n){e[i].call(r,n),M_(t)})}),I(Rs.mouse,function(i){no(t,i,function(n){n=uf(n),t.touching||e[i].call(r,n)})}))}function E_(r,t){U.pointerEventsSupported?I(zh.pointer,e):U.touchEventsSupported||I(zh.mouse,e);function e(i){function n(a){a=uf(a),cp(r,a.target)||(a=A_(r,a),t.domHandlers[i].call(r,a))}no(t,i,n,{capture:!0})}}function no(r,t,e,i){r.mounted[t]=e,r.listenerOpts[t]=i,Zy(r.domTarget,t,e,i)}function Os(r){var t=r.mounted;for(var e in t)t.hasOwnProperty(e)&&qy(r.domTarget,e,t[e],r.listenerOpts[e]);r.mounted={}}var Hh=(function(){function r(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return r})(),O_=(function(r){N(t,r);function t(e,i){var n=r.call(this)||this;return n.__pointerCapturing=!1,n.dom=e,n.painterRoot=i,n._localHandlerScope=new Hh(e,ve),Ps&&(n._globalHandlerScope=new Hh(document,fl)),R_(n,n._localHandlerScope),n}return t.prototype.dispose=function(){Os(this._localHandlerScope),Ps&&Os(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,Ps&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var i=this._globalHandlerScope;e?E_(this,i):Os(i)}},t})(Se),vp=1;U.hasGlobalWindow&&(vp=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var bo=vp,hl=.4,cl="#333",vl="#ccc",k_="#eee",Vh=lf,Gh=5e-5;function Ir(r){return r>Gh||r<-Gh}var Lr=[],pi=[],ks=Oe(),Bs=Math.abs,Qr=(function(){function r(){}return r.prototype.getLocalTransform=function(t){return r.getLocalTransform(this,t)},r.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},r.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},r.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},r.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},r.prototype.needLocalTransform=function(){return Ir(this.rotation)||Ir(this.x)||Ir(this.y)||Ir(this.scaleX-1)||Ir(this.scaleY-1)||Ir(this.skewX)||Ir(this.skewY)},r.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),i=this.transform;if(!(e||t)){i&&(Vh(i),this.invTransform=null);return}i=i||Oe(),e?this.getLocalTransform(i):Vh(i),t&&(e?Bn(i,t,i):ff(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i)},r.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(Lr);var i=Lr[0]<0?-1:1,n=Lr[1]<0?-1:1,a=((Lr[0]-i)*e+i)/Lr[0]||0,o=((Lr[1]-n)*e+n)/Lr[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Oe(),la(this.invTransform,t)},r.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},r.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),a=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(a),e=Math.sqrt(e),this.skewX=a,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=i,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Oe(),Bn(pi,t.invTransform,e),e=pi);var i=this.originX,n=this.originY;(i||n)&&(ks[4]=i,ks[5]=n,Bn(pi,e,ks),pi[4]-=i,pi[5]-=n,e=pi),this.setLocalTransform(e)}},r.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},r.prototype.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&re(i,i,n),i},r.prototype.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&re(i,i,n),i},r.prototype.getLineScale=function(){var t=this.transform;return t&&Bs(t[0]-1)>1e-10&&Bs(t[3]-1)>1e-10?Math.sqrt(Bs(t[0]*t[3]-t[2]*t[1])):1},r.prototype.copyTransform=function(t){dl(this,t)},r.getLocalTransform=function(t,e){e=e||[];var i=t.originX||0,n=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,f=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,v=t.skewY?Math.tan(-t.skewY):0;if(i||n||s||u){var d=i+s,m=n+u;e[4]=-d*a-c*m*o,e[5]=-m*o-v*d*a}else e[4]=e[5]=0;return e[0]=a,e[3]=o,e[1]=v*a,e[2]=c*o,l&&hf(e,e,l),e[4]+=i+f,e[5]+=n+h,e},r.initDefaultProps=(function(){var t=r.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),r})(),$n=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function dl(r,t){for(var e=0;e<$n.length;e++){var i=$n[e];r[i]=t[i]}}function ke(r){ba||(ba=new Yi(100)),r=r||pr;var t=ba.get(r);return t||(t={font:r,strWidthCache:new Yi(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:Je.measureText("国",r).width,asciiCharWidth:Je.measureText("a",r).width},ba.put(r,t)),t}var ba;function B_(r){if(!(Ns>=Uh)){r=r||pr;for(var t=[],e=+new Date,i=0;i<=127;i++)t[i]=Je.measureText(String.fromCharCode(i),r).width;var n=+new Date-e;return n>16?Ns=Uh:n>2&&Ns++,t}}var Ns=0,Uh=5;function dp(r,t){return r.asciiWidthMapTried||(r.asciiWidthMap=B_(r.font),r.asciiWidthMapTried=!0),0<=t&&t<=127?r.asciiWidthMap!=null?r.asciiWidthMap[t]:r.asciiCharWidth:r.stWideCharWidth}function Be(r,t){var e=r.strWidthCache,i=e.get(t);return i==null&&(i=Je.measureText(t,r.font).width,e.put(t,i)),i}function Wh(r,t,e,i){var n=Be(ke(t),r),a=Qo(t),o=Xi(0,n,e),s=ni(0,a,i),u=new X(o,s,n,a);return u}function N_(r,t,e,i){var n=((r||"")+"").split(`
1
+ import{d as ry,h as iy,i as Qa,t as ny,b as Oi,g as ay,w as ja,e as Ud,o as oy,f as sy,s as Ss,n as uy,j as ly,u as fy}from"./vendor-BMxUs6UX.js";var Xu=function(r,t){return Xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])},Xu(r,t)};function N(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Xu(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var hy=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),cy=(function(){function r(){this.browser=new hy,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),U=new cy;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(U.wxa=!0,U.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?U.worker=!0:!U.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(U.node=!0,U.svgSupported=!0):vy(navigator.userAgent,U);function vy(r,t){var e=t.browser,i=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),a=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);i&&(e.firefox=!0,e.version=i[1]),n&&(e.ie=!0,e.version=n[1]),a&&(e.edge=!0,e.version=a[1],e.newEdge=+a[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11);var s=t.domSupported=typeof document<"u";if(s){var u=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in u||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in u)&&!("OTransition"in u),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}}var rf=12,dy="sans-serif",pr=rf+"px "+dy,py=20,gy=100,my="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function yy(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e<r.length;e++){var i=String.fromCharCode(e+32),n=(r.charCodeAt(e)-py)/gy;t[i]=n}return t}var _y=yy(my),Je={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var r,t;return function(e,i){if(!r){var n=Je.createCanvas();r=n&&n.getContext("2d")}if(r)return t!==i&&(t=r.font=i||pr),r.measureText(e);e=e||"",i=i||pr;var a=/((?:\d+)?\.?\d*)px/.exec(i),o=a&&+a[1]||rf,s=0;if(i.indexOf("mono")>=0)s=o*e.length;else for(var u=0;u<e.length;u++){var l=_y[e[u]];s+=l==null?o:l*o}return{width:s}}})(),loadImage:function(r,t,e){var i=new Image;return i.onload=t,i.onerror=e,i.src=r,i}},Wd=tn(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,t){return r["[object "+t+"]"]=!0,r},{}),Yd=tn(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,t){return r["[object "+t+"Array]"]=!0,r},{}),Ji=Object.prototype.toString,$o=Array.prototype,Sy=$o.forEach,wy=$o.filter,nf=$o.slice,by=$o.map,vh=(function(){}).constructor,pa=vh?vh.prototype:null,af="__proto__",Ty=2311;function Xd(){return Ty++}function ei(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];typeof console<"u"&&console.error.apply(console,r)}function $(r){if(r==null||typeof r!="object")return r;var t=r,e=Ji.call(r);if(e==="[object Array]"){if(!kn(r)){t=[];for(var i=0,n=r.length;i<n;i++)t[i]=$(r[i])}}else if(Yd[e]){if(!kn(r)){var a=r.constructor;if(a.from)t=a.from(r);else{t=new a(r.length);for(var i=0,n=r.length;i<n;i++)t[i]=r[i]}}}else if(!Wd[e]&&!kn(r)&&!Wi(r)){t={};for(var o in r)r.hasOwnProperty(o)&&o!==af&&(t[o]=$(r[o]))}return t}function dt(r,t,e){if(!H(t)||!H(r))return e?$(t):r;for(var i in t)if(t.hasOwnProperty(i)&&i!==af){var n=r[i],a=t[i];H(a)&&H(n)&&!B(a)&&!B(n)&&!Wi(a)&&!Wi(n)&&!dh(a)&&!dh(n)&&!kn(a)&&!kn(n)?dt(n,a,e):(e||!(i in r))&&(r[i]=$(t[i]))}return r}function R(r,t){if(Object.assign)Object.assign(r,t);else for(var e in t)t.hasOwnProperty(e)&&e!==af&&(r[e]=t[e]);return r}function pt(r,t,e){for(var i=mt(t),n=0,a=i.length;n<a;n++){var o=i[n];r[o]==null&&(r[o]=t[o])}return r}function ut(r,t){if(r){if(r.indexOf)return r.indexOf(t);for(var e=0,i=r.length;e<i;e++)if(r[e]===t)return e}return-1}function xy(r,t){var e=r.prototype;function i(){}i.prototype=t.prototype,r.prototype=new i;for(var n in e)e.hasOwnProperty(n)&&(r.prototype[n]=e[n]);r.prototype.constructor=r,r.superClass=t}function _e(r,t,e){if(r="prototype"in r?r.prototype:r,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(t),n=0;n<i.length;n++){var a=i[n];a!=="constructor"&&r[a]==null&&(r[a]=t[a])}else pt(r,t)}function Kt(r){return!r||typeof r=="string"?!1:typeof r.length=="number"}function I(r,t,e){if(r&&t)if(r.forEach&&r.forEach===Sy)r.forEach(t,e);else if(r.length===+r.length)for(var i=0,n=r.length;i<n;i++)t.call(e,r[i],i,r);else for(var a in r)r.hasOwnProperty(a)&&t.call(e,r[a],a,r)}function j(r,t,e){if(!r)return[];if(!t)return of(r);if(r.map&&r.map===by)return r.map(t,e);for(var i=[],n=0,a=r.length;n<a;n++)i.push(t.call(e,r[n],n,r));return i}function tn(r,t,e,i){if(r&&t){for(var n=0,a=r.length;n<a;n++)e=t.call(i,e,r[n],n,r);return e}}function te(r,t,e){if(!r)return[];if(!t)return of(r);if(r.filter&&r.filter===wy)return r.filter(t,e);for(var i=[],n=0,a=r.length;n<a;n++)t.call(e,r[n],n,r)&&i.push(r[n]);return i}function mt(r){if(!r)return[];if(Object.keys)return Object.keys(r);var t=[];for(var e in r)r.hasOwnProperty(e)&&t.push(e);return t}function Cy(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return function(){return r.apply(t,e.concat(nf.call(arguments)))}}var at=pa&&q(pa.bind)?pa.call.bind(pa.bind):Cy;function St(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return function(){return r.apply(this,t.concat(nf.call(arguments)))}}function B(r){return Array.isArray?Array.isArray(r):Ji.call(r)==="[object Array]"}function q(r){return typeof r=="function"}function z(r){return typeof r=="string"}function po(r){return Ji.call(r)==="[object String]"}function lt(r){return typeof r=="number"}function H(r){var t=typeof r;return t==="function"||!!r&&t==="object"}function dh(r){return!!Wd[Ji.call(r)]}function Ht(r){return!!Yd[Ji.call(r)]}function Wi(r){return typeof r=="object"&&typeof r.nodeType=="number"&&typeof r.ownerDocument=="object"}function Zo(r){return r.colorStops!=null}function Dy(r){return r.image!=null}function Iy(r){return Ji.call(r)==="[object RegExp]"}function $d(r){return r!==r}function gr(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var e=0,i=r.length;e<i;e++)if(r[e]!=null)return r[e]}function F(r,t){return r??t}function Ke(r,t,e){return r??t??e}function of(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return nf.apply(r,t)}function sf(r){if(typeof r=="number")return[r,r,r,r];var t=r.length;return t===2?[r[0],r[1],r[0],r[1]]:t===3?[r[0],r[1],r[2],r[1]]:r}function V(r,t){if(!r)throw new Error(t)}function Re(r){return r==null?null:typeof r.trim=="function"?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Zd="__ec_primitive__";function $u(r){r[Zd]=!0}function kn(r){return r[Zd]}var Ly=(function(){function r(){this.data={}}return r.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},r.prototype.has=function(t){return this.data.hasOwnProperty(t)},r.prototype.get=function(t){return this.data[t]},r.prototype.set=function(t,e){return this.data[t]=e,this},r.prototype.keys=function(){return mt(this.data)},r.prototype.forEach=function(t){var e=this.data;for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)},r})(),qd=typeof Map=="function";function My(){return qd?new Map:new Ly}var Ay=(function(){function r(t){var e=B(t);this.data=My();var i=this;t instanceof r?t.each(n):t&&I(t,n);function n(a,o){e?i.set(a,o):i.set(o,a)}}return r.prototype.hasKey=function(t){return this.data.has(t)},r.prototype.get=function(t){return this.data.get(t)},r.prototype.set=function(t,e){return this.data.set(t,e),e},r.prototype.each=function(t,e){this.data.forEach(function(i,n){t.call(e,i,n)})},r.prototype.keys=function(){var t=this.data.keys();return qd?Array.from(t):t},r.prototype.removeKey=function(t){this.data.delete(t)},r})();function Y(r){return new Ay(r)}function Py(r,t){for(var e=new r.constructor(r.length+t.length),i=0;i<r.length;i++)e[i]=r[i];for(var n=r.length,i=0;i<t.length;i++)e[i+n]=t[i];return e}function qo(r,t){var e;if(Object.create)e=Object.create(r);else{var i=function(){};i.prototype=r,e=new i}return t&&R(e,t),e}function Kd(r){var t=r.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function me(r,t){return r.hasOwnProperty(t)}function Mt(){}var Ry=180/Math.PI;function ui(r,t){return r==null&&(r=0),t==null&&(t=0),[r,t]}function kt(r,t){return r[0]=t[0],r[1]=t[1],r}function Qe(r){return[r[0],r[1]]}function Ey(r,t,e){return r[0]=t,r[1]=e,r}function ph(r,t,e){return r[0]=t[0]+e[0],r[1]=t[1]+e[1],r}function Zu(r,t,e,i){return r[0]=t[0]+e[0]*i,r[1]=t[1]+e[1]*i,r}function qr(r,t,e){return r[0]=t[0]-e[0],r[1]=t[1]-e[1],r}function qu(r){return Math.sqrt(Oy(r))}function Oy(r){return r[0]*r[0]+r[1]*r[1]}function Ja(r,t,e){return r[0]=t[0]*e,r[1]=t[1]*e,r}function en(r,t){var e=qu(t);return e===0?(r[0]=0,r[1]=0):(r[0]=t[0]/e,r[1]=t[1]/e),r}function Ku(r,t){return Math.sqrt((r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1]))}var ky=Ku;function By(r,t){return(r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1])}var ri=By;function re(r,t,e){var i=t[0],n=t[1];return r[0]=e[0]*i+e[2]*n+e[4],r[1]=e[1]*i+e[3]*n+e[5],r}function Bi(r,t,e){return r[0]=Math.min(t[0],e[0]),r[1]=Math.min(t[1],e[1]),r}function Ni(r,t,e){return r[0]=Math.max(t[0],e[0]),r[1]=Math.max(t[1],e[1]),r}var vi=(function(){function r(t,e){this.target=t,this.topTarget=e&&e.topTarget}return r})(),Ny=(function(){function r(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new vi(e,t),"dragstart",t.event))},r.prototype._drag=function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,a=i-this._x,o=n-this._y;this._x=i,this._y=n,e.drift(a,o,t),this.handler.dispatchToElement(new vi(e,t),"drag",t.event);var s=this.handler.findHover(i,n,e).target,u=this._dropTarget;this._dropTarget=s,e!==s&&(u&&s!==u&&this.handler.dispatchToElement(new vi(u,t),"dragleave",t.event),s&&s!==u&&this.handler.dispatchToElement(new vi(s,t),"dragenter",t.event))}},r.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new vi(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new vi(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},r})(),Se=(function(){function r(t){t&&(this._$eventProcessor=t)}return r.prototype.on=function(t,e,i,n){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof e=="function"&&(n=i,i=e,e=null),!i||!t)return this;var o=this._$eventProcessor;e!=null&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),a[t]||(a[t]=[]);for(var s=0;s<a[t].length;s++)if(a[t][s].h===i)return this;var u={h:i,query:e,ctx:n||this,callAtLast:i.zrEventfulCallAtLast},l=a[t].length-1,f=a[t][l];return f&&f.callAtLast?a[t].splice(l,0,u):a[t].push(u),this},r.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},r.prototype.off=function(t,e){var i=this._$handlers;if(!i)return this;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],a=0,o=i[t].length;a<o;a++)i[t][a].h!==e&&n.push(i[t][a]);i[t]=n}i[t]&&i[t].length===0&&delete i[t]}else delete i[t];return this},r.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],a=this._$eventProcessor;if(n)for(var o=e.length,s=n.length,u=0;u<s;u++){var l=n[u];if(!(a&&a.filter&&l.query!=null&&!a.filter(t,l.query)))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e);break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},r.prototype.triggerWithContext=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],a=this._$eventProcessor;if(n)for(var o=e.length,s=e[o-1],u=n.length,l=0;l<u;l++){var f=n[l];if(!(a&&a.filter&&f.query!=null&&!a.filter(t,f.query)))switch(o){case 0:f.h.call(s);break;case 1:f.h.call(s,e[0]);break;case 2:f.h.call(s,e[0],e[1]);break;default:f.h.apply(s,e.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},r})(),zy=Math.log(2);function Qu(r,t,e,i,n,a){var o=i+"-"+n,s=r.length;if(a.hasOwnProperty(o))return a[o];if(t===1){var u=Math.round(Math.log((1<<s)-1&~n)/zy);return r[e][u]}for(var l=i|1<<e,f=e+1;i&1<<f;)f++;for(var h=0,c=0,v=0;c<s;c++){var d=1<<c;d&n||(h+=(v%2?-1:1)*r[e][c]*Qu(r,t-1,f,l,n|d,a),v++)}return a[o]=h,h}function gh(r,t){var e=[[r[0],r[1],1,0,0,0,-t[0]*r[0],-t[0]*r[1]],[0,0,0,r[0],r[1],1,-t[1]*r[0],-t[1]*r[1]],[r[2],r[3],1,0,0,0,-t[2]*r[2],-t[2]*r[3]],[0,0,0,r[2],r[3],1,-t[3]*r[2],-t[3]*r[3]],[r[4],r[5],1,0,0,0,-t[4]*r[4],-t[4]*r[5]],[0,0,0,r[4],r[5],1,-t[5]*r[4],-t[5]*r[5]],[r[6],r[7],1,0,0,0,-t[6]*r[6],-t[6]*r[7]],[0,0,0,r[6],r[7],1,-t[7]*r[6],-t[7]*r[7]]],i={},n=Qu(e,8,0,0,0,i);if(n!==0){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)a[s]==null&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*Qu(e,7,o===0?1:0,1<<o,1<<s,i)/n*t[o];return function(u,l,f){var h=l*a[6]+f*a[7]+1;u[0]=(l*a[0]+f*a[1]+a[2])/h,u[1]=(l*a[3]+f*a[4]+a[5])/h}}}var go="___zrEVENTSAVED",ws=[];function Fy(r,t,e,i,n){return ju(ws,t,i,n,!0)&&ju(r,e,ws[0],ws[1])}function Hy(r,t){r&&e(r),t&&e(t);function e(i){var n=i[go];n&&(n.clearMarkers&&n.clearMarkers(),delete i[go])}}function ju(r,t,e,i,n){if(t.getBoundingClientRect&&U.domSupported&&!Qd(t)){var a=t[go]||(t[go]={}),o=Vy(t,a),s=Gy(o,a,n);if(s)return s(r,e,i),!0}return!1}function Vy(r,t){var e=t.markers;if(e)return e;e=t.markers=[];for(var i=["left","right"],n=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,u=a%2,l=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[u]+":0",n[l]+":0",i[1-u]+":auto",n[1-l]+":auto",""].join("!important;"),r.appendChild(o),e.push(o)}return t.clearMarkers=function(){I(e,function(f){f.parentNode&&f.parentNode.removeChild(f)})},e}function Gy(r,t,e){for(var i=e?"invTrans":"trans",n=t[i],a=t.srcCoords,o=[],s=[],u=!0,l=0;l<4;l++){var f=r[l].getBoundingClientRect(),h=2*l,c=f.left,v=f.top;o.push(c,v),u=u&&a&&c===a[h]&&v===a[h+1],s.push(r[l].offsetLeft,r[l].offsetTop)}return u&&n?n:(t.srcCoords=o,t[i]=e?gh(s,o):gh(o,s))}function Qd(r){return r.nodeName.toUpperCase()==="CANVAS"}var Uy=/([&<>"'])/g,Wy={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Wt(r){return r==null?"":(r+"").replace(Uy,function(t,e){return Wy[e]})}var Yy=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bs=[],Xy=U.browser.firefox&&+U.browser.version.split(".")[0]<39;function Ju(r,t,e,i){return e=e||{},i?mh(r,t,e):Xy&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):mh(r,t,e),e}function mh(r,t,e){if(U.domSupported&&r.getBoundingClientRect){var i=t.clientX,n=t.clientY;if(Qd(r)){var a=r.getBoundingClientRect();e.zrX=i-a.left,e.zrY=n-a.top;return}else if(ju(bs,r,i,n)){e.zrX=bs[0],e.zrY=bs[1];return}}e.zrX=e.zrY=0}function uf(r){return r||window.event}function se(r,t,e){if(t=uf(t),t.zrX!=null)return t;var i=t.type,n=i&&i.indexOf("touch")>=0;if(n){var o=i!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Ju(r,o,t,e)}else{Ju(r,t,t,e);var a=$y(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&Yy.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function $y(r){var t=r.wheelDelta;if(t)return t;var e=r.deltaX,i=r.deltaY;if(e==null||i==null)return t;var n=Math.abs(i!==0?i:e),a=i>0?-1:i<0?1:e>0?-1:1;return 3*n*a}function Zy(r,t,e,i){r.addEventListener(t,e,i)}function qy(r,t,e,i){r.removeEventListener(t,e,i)}var mo=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function yh(r){return r.which===2||r.which===3}var Ky=(function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,i){var n=t.touches;if(n){for(var a={points:[],touches:[],target:e,event:t},o=0,s=n.length;o<s;o++){var u=n[o],l=Ju(i,u,{});a.points.push([l.zrX,l.zrY]),a.touches.push(u)}this._track.push(a)}},r.prototype._recognize=function(t){for(var e in Ts)if(Ts.hasOwnProperty(e)){var i=Ts[e](this._track,t);if(i)return i}},r})();function _h(r){var t=r[1][0]-r[0][0],e=r[1][1]-r[0][1];return Math.sqrt(t*t+e*e)}function Qy(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}var Ts={pinch:function(r,t){var e=r.length;if(e){var i=(r[e-1]||{}).points,n=(r[e-2]||{}).points||i;if(n&&n.length>1&&i&&i.length>1){var a=_h(i)/_h(n);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Qy(i);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:r[0].target,event:t}}}}};function Oe(){return[1,0,0,1,0,0]}function lf(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function ff(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function Bn(r,t,e){var i=t[0]*e[0]+t[2]*e[1],n=t[1]*e[0]+t[3]*e[1],a=t[0]*e[2]+t[2]*e[3],o=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],u=t[1]*e[4]+t[3]*e[5]+t[5];return r[0]=i,r[1]=n,r[2]=a,r[3]=o,r[4]=s,r[5]=u,r}function tl(r,t,e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4]+e[0],r[5]=t[5]+e[1],r}function hf(r,t,e,i){i===void 0&&(i=[0,0]);var n=t[0],a=t[2],o=t[4],s=t[1],u=t[3],l=t[5],f=Math.sin(e),h=Math.cos(e);return r[0]=n*h+s*f,r[1]=-n*f+s*h,r[2]=a*h+u*f,r[3]=-a*f+h*u,r[4]=h*(o-i[0])+f*(l-i[1])+i[0],r[5]=h*(l-i[1])-f*(o-i[0])+i[1],r}function jy(r,t,e){var i=e[0],n=e[1];return r[0]=t[0]*i,r[1]=t[1]*n,r[2]=t[2]*i,r[3]=t[3]*n,r[4]=t[4]*i,r[5]=t[5]*n,r}function la(r,t){var e=t[0],i=t[2],n=t[4],a=t[1],o=t[3],s=t[5],u=e*o-a*i;return u?(u=1/u,r[0]=o*u,r[1]=-a*u,r[2]=-i*u,r[3]=e*u,r[4]=(i*s-o*n)*u,r[5]=(a*n-e*s)*u,r):null}var ot=(function(){function r(t,e){this.x=t||0,this.y=e||0}return r.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(t,e){return this.x=t,this.y=e,this},r.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},r.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},r.prototype.scale=function(t){this.x*=t,this.y*=t},r.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},r.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},r.prototype.dot=function(t){return this.x*t.x+this.y*t.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},r.prototype.distance=function(t){var e=this.x-t.x,i=this.y-t.y;return Math.sqrt(e*e+i*i)},r.prototype.distanceSquare=function(t){var e=this.x-t.x,i=this.y-t.y;return e*e+i*i},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(t){if(t){var e=this.x,i=this.y;return this.x=t[0]*e+t[2]*i+t[4],this.y=t[1]*e+t[3]*i+t[5],this}},r.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},r.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},r.set=function(t,e,i){t.x=e,t.y=i},r.copy=function(t,e){t.x=e.x,t.y=e.y},r.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},r.lenSquare=function(t){return t.x*t.x+t.y*t.y},r.dot=function(t,e){return t.x*e.x+t.y*e.y},r.add=function(t,e,i){t.x=e.x+i.x,t.y=e.y+i.y},r.sub=function(t,e,i){t.x=e.x-i.x,t.y=e.y-i.y},r.scale=function(t,e,i){t.x=e.x*i,t.y=e.y*i},r.scaleAndAdd=function(t,e,i,n){t.x=e.x+i.x*n,t.y=e.y+i.y*n},r.lerp=function(t,e,i,n){var a=1-n;t.x=a*e.x+n*i.x,t.y=a*e.y+n*i.y},r})(),Kr=Math.min,zi=Math.max,el=Math.abs,Sh=["x","y"],Jy=["width","height"],Tr=new ot,xr=new ot,Cr=new ot,Dr=new ot,Jt=jd(),Cn=Jt.minTv,rl=Jt.maxTv,Nn=[0,0],X=(function(){function r(t,e,i,n){r.set(this,t,e,i,n)}return r.set=function(t,e,i,n,a){return n<0&&(e=e+n,n=-n),a<0&&(i=i+a,a=-a),t.x=e,t.y=i,t.width=n,t.height=a,t},r.prototype.union=function(t){var e=Kr(t.x,this.x),i=Kr(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=zi(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=zi(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=e,this.y=i},r.prototype.applyTransform=function(t){r.applyTransform(this,this,t)},r.prototype.calculateTransform=function(t){var e=this,i=t.width/e.width,n=t.height/e.height,a=Oe();return tl(a,a,[-e.x,-e.y]),jy(a,a,[i,n]),tl(a,a,[t.x,t.y]),a},r.prototype.intersect=function(t,e,i){return r.intersect(this,t,e,i)},r.intersect=function(t,e,i,n){i&&ot.set(i,0,0);var a=n&&n.outIntersectRect||null,o=n&&n.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!t||!e)return!1;t instanceof r||(t=r.set(t_,t.x,t.y,t.width,t.height)),e instanceof r||(e=r.set(e_,e.x,e.y,e.width,e.height));var s=!!i;Jt.reset(n,s);var u=Jt.touchThreshold,l=t.x+u,f=t.x+t.width-u,h=t.y+u,c=t.y+t.height-u,v=e.x+u,d=e.x+e.width-u,m=e.y+u,g=e.y+e.height-u;if(l>f||h>c||v>d||m>g)return!1;var p=!(f<v||d<l||c<m||g<h);return(s||a)&&(Nn[0]=1/0,Nn[1]=0,wh(l,f,v,d,0,s,a,o),wh(h,c,m,g,1,s,a,o),s&&ot.copy(i,p?Jt.useDir?Jt.dirMinTv:Cn:rl)),p},r.contain=function(t,e,i){return e>=t.x&&e<=t.x+t.width&&i>=t.y&&i<=t.y+t.height},r.prototype.contain=function(t,e){return r.contain(this,t,e)},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},r.applyTransform=function(t,e,i){if(!i){t!==e&&r.copy(t,e);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var n=i[0],a=i[3],o=i[4],s=i[5];t.x=e.x*n+o,t.y=e.y*a+s,t.width=e.width*n,t.height=e.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Tr.x=Cr.x=e.x,Tr.y=Dr.y=e.y,xr.x=Dr.x=e.x+e.width,xr.y=Cr.y=e.y+e.height,Tr.transform(i),Dr.transform(i),xr.transform(i),Cr.transform(i),t.x=Kr(Tr.x,xr.x,Cr.x,Dr.x),t.y=Kr(Tr.y,xr.y,Cr.y,Dr.y);var u=zi(Tr.x,xr.x,Cr.x,Dr.x),l=zi(Tr.y,xr.y,Cr.y,Dr.y);t.width=u-t.x,t.height=l-t.y},r})(),t_=new X(0,0,0,0),e_=new X(0,0,0,0);function wh(r,t,e,i,n,a,o,s){var u=el(t-e),l=el(i-r),f=Kr(u,l),h=Sh[n],c=Sh[1-n],v=Jy[n];t<e||i<r?u<l?(a&&(rl[h]=-u),s&&(o[h]=t,o[v]=0)):(a&&(rl[h]=l),s&&(o[h]=r,o[v]=0)):(o&&(o[h]=zi(r,e),o[v]=Kr(t,i)-o[h]),a&&(f<Nn[0]||Jt.useDir)&&(Nn[0]=Kr(f,Nn[0]),(u<l||!Jt.bidirectional)&&(Cn[h]=u,Cn[c]=0,Jt.useDir&&Jt.calcDirMTV()),(u>=l||!Jt.bidirectional)&&(Cn[h]=-l,Cn[c]=0,Jt.useDir&&Jt.calcDirMTV())))}function jd(){var r=0,t=new ot,e=new ot,i={minTv:new ot,maxTv:new ot,useDir:!1,dirMinTv:new ot,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(a,o){i.touchThreshold=0,a&&a.touchThreshold!=null&&(i.touchThreshold=zi(0,a.touchThreshold)),i.negativeSize=!1,o&&(i.minTv.set(1/0,1/0),i.maxTv.set(0,0),i.useDir=!1,a&&a.direction!=null&&(i.useDir=!0,i.dirMinTv.copy(i.minTv),e.copy(i.minTv),r=a.direction,i.bidirectional=a.bidirectional==null||!!a.bidirectional,i.bidirectional||t.set(Math.cos(r),Math.sin(r))))},calcDirMTV:function(){var a=i.minTv,o=i.dirMinTv,s=a.y*a.y+a.x*a.x,u=Math.sin(r),l=Math.cos(r),f=u*a.y+l*a.x;if(n(f)){n(a.x)&&n(a.y)&&o.set(0,0);return}if(e.x=s*l/f,e.y=s*u/f,n(e.x)&&n(e.y)){o.set(0,0);return}(i.bidirectional||t.dot(e)>0)&&e.len()<o.len()&&o.copy(e)}};function n(a){return el(a)<1e-10}return i}var Jd="silent";function r_(r,t,e){return{type:r,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:i_}}function i_(){mo(this.event)}var n_=(function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.handler=null,e}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(Se),rn=(function(){function r(t,e){this.x=t,this.y=e}return r})(),a_=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],xs=new X(0,0,0,0),tp=(function(r){N(t,r);function t(e,i,n,a,o){var s=r.call(this)||this;return s._hovered=new rn(0,0),s.storage=e,s.painter=i,s.painterRoot=a,s._pointerSize=o,n=n||new n_,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new Ny(s),s}return t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(I(a_,function(i){e.on&&e.on(i,this[i],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var i=e.zrX,n=e.zrY,a=ep(this,i,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var u=this._hovered=a?new rn(i,n):this.findHover(i,n),l=u.target,f=this.proxy;f.setCursor&&f.setCursor(l?l.cursor:"default"),s&&l!==s&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(u,"mousemove",e),l&&l!==s&&this.dispatchToElement(u,"mouseover",e)},t.prototype.mouseout=function(e){var i=e.zrEventControl;i!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),i!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new rn(0,0)},t.prototype.dispatch=function(e,i){var n=this[e];n&&n.call(this,i)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var i=this.proxy;i.setCursor&&i.setCursor(e)},t.prototype.dispatchToElement=function(e,i,n){e=e||{};var a=e.target;if(!(a&&a.silent)){for(var o="on"+i,s=r_(i,e,n);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(i,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(i,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(u){typeof u[o]=="function"&&u[o].call(u,s),u.trigger&&u.trigger(i,s)}))}},t.prototype.findHover=function(e,i,n){var a=this.storage.getDisplayList(),o=new rn(e,i);if(bh(a,o,e,i,n),this._pointerSize&&!o.target){for(var s=[],u=this._pointerSize,l=u/2,f=new X(e-l,i-l,u,u),h=a.length-1;h>=0;h--){var c=a[h];c!==n&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(xs.copy(c.getBoundingRect()),c.transform&&xs.applyTransform(c.transform),xs.intersect(f)&&s.push(c))}if(s.length)for(var v=4,d=Math.PI/12,m=Math.PI*2,g=0;g<l;g+=v)for(var p=0;p<m;p+=d){var y=e+g*Math.cos(p),_=i+g*Math.sin(p);if(bh(s,o,y,_,n),o.target)return o}}return o},t.prototype.processGesture=function(e,i){this._gestureMgr||(this._gestureMgr=new Ky);var n=this._gestureMgr;i==="start"&&n.clear();var a=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if(i==="end"&&n.clear(),a){var o=a.type;e.gestureEvent=o;var s=new rn;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t})(Se);I(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(r){tp.prototype[r]=function(t){var e=t.zrX,i=t.zrY,n=ep(this,e,i),a,o;if((r!=="mouseup"||!n)&&(a=this.findHover(e,i),o=a.target),r==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(r==="mouseup")this._upEl=o;else if(r==="click"){if(this._downEl!==this._upEl||!this._downPoint||ky(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,r,t)}});function o_(r,t,e){if(r[r.rectHover?"rectContain":"contain"](t,e)){for(var i=r,n=void 0,a=!1;i;){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(t,e))return!1}i.silent&&(n=!0);var s=i.__hostTarget;i=s?i.ignoreHostSilent?null:s:i.parent}return n?Jd:!0}return!1}function bh(r,t,e,i,n){for(var a=r.length-1;a>=0;a--){var o=r[a],s=void 0;if(o!==n&&!o.ignore&&(s=o_(o,e,i))&&(!t.topTarget&&(t.topTarget=o),s!==Jd)){t.target=o;break}}}function ep(r,t,e){var i=r.painter;return t<0||t>i.getWidth()||e<0||e>i.getHeight()}var rp=32,nn=7;function s_(r){for(var t=0;r>=rp;)t|=r&1,r>>=1;return r+t}function Th(r,t,e,i){var n=t+1;if(n===e)return 1;if(i(r[n++],r[t])<0){for(;n<e&&i(r[n],r[n-1])<0;)n++;u_(r,t,n)}else for(;n<e&&i(r[n],r[n-1])>=0;)n++;return n-t}function u_(r,t,e){for(e--;t<e;){var i=r[t];r[t++]=r[e],r[e--]=i}}function xh(r,t,e,i,n){for(i===t&&i++;i<e;i++){for(var a=r[i],o=t,s=i,u;o<s;)u=o+s>>>1,n(a,r[u])<0?s=u:o=u+1;var l=i-o;switch(l){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;l>0;)r[o+l]=r[o+l-1],l--}r[o]=a}}function Cs(r,t,e,i,n,a){var o=0,s=0,u=1;if(a(r,t[e+n])>0){for(s=i-n;u<s&&a(r,t[e+n+u])>0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=n,u+=n}else{for(s=n+1;u<s&&a(r,t[e+n-u])<=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var l=o;o=n-u,u=n-l}for(o++;o<u;){var f=o+(u-o>>>1);a(r,t[e+f])>0?o=f+1:u=f}return u}function Ds(r,t,e,i,n,a){var o=0,s=0,u=1;if(a(r,t[e+n])<0){for(s=n+1;u<s&&a(r,t[e+n-u])<0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var l=o;o=n-u,u=n-l}else{for(s=i-n;u<s&&a(r,t[e+n+u])>=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=n,u+=n}for(o++;o<u;){var f=o+(u-o>>>1);a(r,t[e+f])<0?u=f:o=f+1}return u}function l_(r,t){var e=nn,i,n,a=0,o=[];i=[],n=[];function s(v,d){i[a]=v,n[a]=d,a+=1}function u(){for(;a>1;){var v=a-2;if(v>=1&&n[v-1]<=n[v]+n[v+1]||v>=2&&n[v-2]<=n[v]+n[v-1])n[v-1]<n[v+1]&&v--;else if(n[v]>n[v+1])break;f(v)}}function l(){for(;a>1;){var v=a-2;v>0&&n[v-1]<n[v+1]&&v--,f(v)}}function f(v){var d=i[v],m=n[v],g=i[v+1],p=n[v+1];n[v]=m+p,v===a-3&&(i[v+1]=i[v+2],n[v+1]=n[v+2]),a--;var y=Ds(r[g],r,d,m,0,t);d+=y,m-=y,m!==0&&(p=Cs(r[d+m-1],r,g,p,p-1,t),p!==0&&(m<=p?h(d,m,g,p):c(d,m,g,p)))}function h(v,d,m,g){var p=0;for(p=0;p<d;p++)o[p]=r[v+p];var y=0,_=m,S=v;if(r[S++]=r[_++],--g===0){for(p=0;p<d;p++)r[S+p]=o[y+p];return}if(d===1){for(p=0;p<g;p++)r[S+p]=r[_+p];r[S+g]=o[y];return}for(var b=e,w,T,C;;){w=0,T=0,C=!1;do if(t(r[_],o[y])<0){if(r[S++]=r[_++],T++,w=0,--g===0){C=!0;break}}else if(r[S++]=o[y++],w++,T=0,--d===1){C=!0;break}while((w|T)<b);if(C)break;do{if(w=Ds(r[_],o,y,d,0,t),w!==0){for(p=0;p<w;p++)r[S+p]=o[y+p];if(S+=w,y+=w,d-=w,d<=1){C=!0;break}}if(r[S++]=r[_++],--g===0){C=!0;break}if(T=Cs(o[y],r,_,g,0,t),T!==0){for(p=0;p<T;p++)r[S+p]=r[_+p];if(S+=T,_+=T,g-=T,g===0){C=!0;break}}if(r[S++]=o[y++],--d===1){C=!0;break}b--}while(w>=nn||T>=nn);if(C)break;b<0&&(b=0),b+=2}if(e=b,e<1&&(e=1),d===1){for(p=0;p<g;p++)r[S+p]=r[_+p];r[S+g]=o[y]}else{if(d===0)throw new Error;for(p=0;p<d;p++)r[S+p]=o[y+p]}}function c(v,d,m,g){var p=0;for(p=0;p<g;p++)o[p]=r[m+p];var y=v+d-1,_=g-1,S=m+g-1,b=0,w=0;if(r[S--]=r[y--],--d===0){for(b=S-(g-1),p=0;p<g;p++)r[b+p]=o[p];return}if(g===1){for(S-=d,y-=d,w=S+1,b=y+1,p=d-1;p>=0;p--)r[w+p]=r[b+p];r[S]=o[_];return}for(var T=e;;){var C=0,x=0,D=!1;do if(t(o[_],r[y])<0){if(r[S--]=r[y--],C++,x=0,--d===0){D=!0;break}}else if(r[S--]=o[_--],x++,C=0,--g===1){D=!0;break}while((C|x)<T);if(D)break;do{if(C=d-Ds(o[_],r,v,d,d-1,t),C!==0){for(S-=C,y-=C,d-=C,w=S+1,b=y+1,p=C-1;p>=0;p--)r[w+p]=r[b+p];if(d===0){D=!0;break}}if(r[S--]=o[_--],--g===1){D=!0;break}if(x=g-Cs(r[y],o,0,g,g-1,t),x!==0){for(S-=x,_-=x,g-=x,w=S+1,b=_+1,p=0;p<x;p++)r[w+p]=o[b+p];if(g<=1){D=!0;break}}if(r[S--]=r[y--],--d===0){D=!0;break}T--}while(C>=nn||x>=nn);if(D)break;T<0&&(T=0),T+=2}if(e=T,e<1&&(e=1),g===1){for(S-=d,y-=d,w=S+1,b=y+1,p=d-1;p>=0;p--)r[w+p]=r[b+p];r[S]=o[_]}else{if(g===0)throw new Error;for(b=S-(g-1),p=0;p<g;p++)r[b+p]=o[p]}}return{mergeRuns:u,forceMergeRuns:l,pushRun:s}}function to(r,t,e,i){e||(e=0),i||(i=r.length);var n=i-e;if(!(n<2)){var a=0;if(n<rp){a=Th(r,e,i,t),xh(r,e,i,e+a,t);return}var o=l_(r,t),s=s_(n);do{if(a=Th(r,e,i,t),a<s){var u=n;u>s&&(u=s),xh(r,e,e+u,e+a,t),a=u}o.pushRun(e,a),o.mergeRuns(),n-=a,e+=a}while(n!==0);o.forceMergeRuns()}}var ee=1,Dn=2,ki=4,Ch=!1;function Is(){Ch||(Ch=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Dh(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var f_=(function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Dh}return r.prototype.traverse=function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},r.prototype.getDisplayList=function(t,e){e=e||!1;var i=this._displayList;return(t||!i.length)&&this.updateDisplayList(e),i},r.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,a=e.length;n<a;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,to(i,Dh)},r.prototype._updateAndAddDisplayable=function(t,e,i){if(!(t.ignore&&!i)){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath(),a=e&&e.length,o=0,s=t.__clipPaths;if(!t.ignoreClip&&(a||n)){if(s||(s=t.__clipPaths=[]),a)for(var u=0;u<e.length;u++)s[o++]=e[u];for(var l=n,f=t;l;)l.parent=f,l.updateTransform(),s[o++]=l,f=l,l=l.getClipPath()}if(s&&(s.length=o),t.childrenRef){for(var h=t.childrenRef(),c=0;c<h.length;c++){var v=h[c];t.__dirty&&(v.__dirty|=ee),this._updateAndAddDisplayable(v,s,i)}t.__dirty=0}else{var d=t;isNaN(d.z)&&(Is(),d.z=0),isNaN(d.z2)&&(Is(),d.z2=0),isNaN(d.zlevel)&&(Is(),d.zlevel=0),this._displayList[this._displayListLen++]=d}var m=t.getDecalElement&&t.getDecalElement();m&&this._updateAndAddDisplayable(m,s,i);var g=t.getTextGuideLine();g&&this._updateAndAddDisplayable(g,s,i);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,s,i)}},r.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},r.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,i=t.length;e<i;e++)this.delRoot(t[e]);return}var n=ut(this._roots,t);n>=0&&this._roots.splice(n,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r})(),yo;yo=U.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var zn={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,i=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=i/4):t=i*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/i)))},elasticOut:function(r){var t,e=.1,i=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=i/4):t=i*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/i)+1)},elasticInOut:function(r){var t,e=.1,i=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=i/4):t=i*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/i)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/i)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-zn.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?zn.bounceIn(r*2)*.5:zn.bounceOut(r*2-1)*.5+.5}},ga=Math.pow,cr=Math.sqrt,_o=1e-8,ip=1e-4,Ih=cr(3),ma=1/3,Pe=ui(),fe=ui(),Gi=ui();function fr(r){return r>-_o&&r<_o}function np(r){return r>_o||r<-_o}function Nt(r,t,e,i,n){var a=1-n;return a*a*(a*r+3*n*t)+n*n*(n*i+3*a*e)}function Lh(r,t,e,i,n){var a=1-n;return 3*(((t-r)*a+2*(e-t)*n)*a+(i-e)*n*n)}function ap(r,t,e,i,n,a){var o=i+3*(t-e)-r,s=3*(e-t*2+r),u=3*(t-r),l=r-n,f=s*s-3*o*u,h=s*u-9*o*l,c=u*u-3*s*l,v=0;if(fr(f)&&fr(h))if(fr(s))a[0]=0;else{var d=-u/s;d>=0&&d<=1&&(a[v++]=d)}else{var m=h*h-4*f*c;if(fr(m)){var g=h/f,d=-s/o+g,p=-g/2;d>=0&&d<=1&&(a[v++]=d),p>=0&&p<=1&&(a[v++]=p)}else if(m>0){var y=cr(m),_=f*s+1.5*o*(-h+y),S=f*s+1.5*o*(-h-y);_<0?_=-ga(-_,ma):_=ga(_,ma),S<0?S=-ga(-S,ma):S=ga(S,ma);var d=(-s-(_+S))/(3*o);d>=0&&d<=1&&(a[v++]=d)}else{var b=(2*f*s-3*o*h)/(2*cr(f*f*f)),w=Math.acos(b)/3,T=cr(f),C=Math.cos(w),d=(-s-2*T*C)/(3*o),p=(-s+T*(C+Ih*Math.sin(w)))/(3*o),x=(-s+T*(C-Ih*Math.sin(w)))/(3*o);d>=0&&d<=1&&(a[v++]=d),p>=0&&p<=1&&(a[v++]=p),x>=0&&x<=1&&(a[v++]=x)}}return v}function op(r,t,e,i,n){var a=6*e-12*t+6*r,o=9*t+3*i-3*r-9*e,s=3*t-3*r,u=0;if(fr(o)){if(np(a)){var l=-s/a;l>=0&&l<=1&&(n[u++]=l)}}else{var f=a*a-4*o*s;if(fr(f))n[0]=-a/(2*o);else if(f>0){var h=cr(f),l=(-a+h)/(2*o),c=(-a-h)/(2*o);l>=0&&l<=1&&(n[u++]=l),c>=0&&c<=1&&(n[u++]=c)}}return u}function So(r,t,e,i,n,a){var o=(t-r)*n+r,s=(e-t)*n+t,u=(i-e)*n+e,l=(s-o)*n+o,f=(u-s)*n+s,h=(f-l)*n+l;a[0]=r,a[1]=o,a[2]=l,a[3]=h,a[4]=h,a[5]=f,a[6]=u,a[7]=i}function h_(r,t,e,i,n,a,o,s,u,l,f){var h,c=.005,v=1/0,d,m,g,p;Pe[0]=u,Pe[1]=l;for(var y=0;y<1;y+=.05)fe[0]=Nt(r,e,n,o,y),fe[1]=Nt(t,i,a,s,y),g=ri(Pe,fe),g<v&&(h=y,v=g);v=1/0;for(var _=0;_<32&&!(c<ip);_++)d=h-c,m=h+c,fe[0]=Nt(r,e,n,o,d),fe[1]=Nt(t,i,a,s,d),g=ri(fe,Pe),d>=0&&g<v?(h=d,v=g):(Gi[0]=Nt(r,e,n,o,m),Gi[1]=Nt(t,i,a,s,m),p=ri(Gi,Pe),m<=1&&p<v?(h=m,v=p):c*=.5);return cr(v)}function c_(r,t,e,i,n,a,o,s,u){for(var l=r,f=t,h=0,c=1/u,v=1;v<=u;v++){var d=v*c,m=Nt(r,e,n,o,d),g=Nt(t,i,a,s,d),p=m-l,y=g-f;h+=Math.sqrt(p*p+y*y),l=m,f=g}return h}function zt(r,t,e,i){var n=1-i;return n*(n*r+2*i*t)+i*i*e}function Mh(r,t,e,i){return 2*((1-i)*(t-r)+i*(e-t))}function v_(r,t,e,i,n){var a=r-2*t+e,o=2*(t-r),s=r-i,u=0;if(fr(a)){if(np(o)){var l=-s/o;l>=0&&l<=1&&(n[u++]=l)}}else{var f=o*o-4*a*s;if(fr(f)){var l=-o/(2*a);l>=0&&l<=1&&(n[u++]=l)}else if(f>0){var h=cr(f),l=(-o+h)/(2*a),c=(-o-h)/(2*a);l>=0&&l<=1&&(n[u++]=l),c>=0&&c<=1&&(n[u++]=c)}}return u}function sp(r,t,e){var i=r+e-2*t;return i===0?.5:(r-t)/i}function Xn(r,t,e,i,n){var a=(t-r)*i+r,o=(e-t)*i+t,s=(o-a)*i+a;n[0]=r,n[1]=a,n[2]=s,n[3]=s,n[4]=o,n[5]=e}function d_(r,t,e,i,n,a,o,s,u){var l,f=.005,h=1/0;Pe[0]=o,Pe[1]=s;for(var c=0;c<1;c+=.05){fe[0]=zt(r,e,n,c),fe[1]=zt(t,i,a,c);var v=ri(Pe,fe);v<h&&(l=c,h=v)}h=1/0;for(var d=0;d<32&&!(f<ip);d++){var m=l-f,g=l+f;fe[0]=zt(r,e,n,m),fe[1]=zt(t,i,a,m);var v=ri(fe,Pe);if(m>=0&&v<h)l=m,h=v;else{Gi[0]=zt(r,e,n,g),Gi[1]=zt(t,i,a,g);var p=ri(Gi,Pe);g<=1&&p<h?(l=g,h=p):f*=.5}}return cr(h)}function p_(r,t,e,i,n,a,o){for(var s=r,u=t,l=0,f=1/o,h=1;h<=o;h++){var c=h*f,v=zt(r,e,n,c),d=zt(t,i,a,c),m=v-s,g=d-u;l+=Math.sqrt(m*m+g*g),s=v,u=d}return l}var g_=/cubic-bezier\(([0-9,\.e ]+)\)/;function up(r){var t=r&&g_.exec(r);if(t){var e=t[1].split(","),i=+Re(e[0]),n=+Re(e[1]),a=+Re(e[2]),o=+Re(e[3]);if(isNaN(i+n+a+o))return;var s=[];return function(u){return u<=0?0:u>=1?1:ap(0,i,a,1,u,s)&&Nt(0,n,o,1,s[0])}}}var m_=(function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Mt,this.ondestroy=t.ondestroy||Mt,this.onrestart=t.onrestart||Mt,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var i=this._life,n=t-this._startTime-this._pausedTime,a=n/i;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var u=n%i;this._startTime=t-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=q(t)?t:zn[t]||up(t)},r})(),lp=(function(){function r(t){this.value=t}return r})(),y_=(function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new lp(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Yi=(function(){function r(t){this._list=new y_,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var i=this._list,n=this._map,a=null;if(n[t]==null){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var u=i.head;i.remove(u),delete n[u.key],a=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new lp(e),s.key=t,i.insertEntry(s),n[t]=s}return a},r.prototype.get=function(t){var e=this._map[t],i=this._list;if(e!=null)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),Ah={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Fn(r){return r=Math.round(r),r<0?0:r>255?255:r}function Ph(r){return r<0?0:r>1?1:r}function Ls(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?Fn(parseFloat(t)/100*255):Fn(parseInt(t,10))}function ii(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?Ph(parseFloat(t)/100):Ph(parseFloat(t))}function Ms(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function oe(r,t,e,i,n){return r[0]=t,r[1]=e,r[2]=i,r[3]=n,r}function il(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var fp=new Yi(20),ya=null;function di(r,t){ya&&il(ya,t),ya=fp.put(r,ya||t.slice())}function vr(r,t){if(r){t=t||[];var e=fp.get(r);if(e)return il(t,e);r=r+"";var i=r.replace(/ /g,"").toLowerCase();if(i in Ah)return il(t,Ah[i]),di(r,t),t;var n=i.length;if(i.charAt(0)==="#"){if(n===4||n===5){var a=parseInt(i.slice(1,4),16);if(!(a>=0&&a<=4095)){oe(t,0,0,0,1);return}return oe(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,n===5?parseInt(i.slice(4),16)/15:1),di(r,t),t}else if(n===7||n===9){var a=parseInt(i.slice(1,7),16);if(!(a>=0&&a<=16777215)){oe(t,0,0,0,1);return}return oe(t,(a&16711680)>>16,(a&65280)>>8,a&255,n===9?parseInt(i.slice(7),16)/255:1),di(r,t),t}return}var o=i.indexOf("("),s=i.indexOf(")");if(o!==-1&&s+1===n){var u=i.substr(0,o),l=i.substr(o+1,s-(o+1)).split(","),f=1;switch(u){case"rgba":if(l.length!==4)return l.length===3?oe(t,+l[0],+l[1],+l[2],1):oe(t,0,0,0,1);f=ii(l.pop());case"rgb":if(l.length>=3)return oe(t,Ls(l[0]),Ls(l[1]),Ls(l[2]),l.length===3?f:ii(l[3])),di(r,t),t;oe(t,0,0,0,1);return;case"hsla":if(l.length!==4){oe(t,0,0,0,1);return}return l[3]=ii(l[3]),nl(l,t),di(r,t),t;case"hsl":if(l.length!==3){oe(t,0,0,0,1);return}return nl(l,t),di(r,t),t;default:return}}oe(t,0,0,0,1)}}function nl(r,t){var e=(parseFloat(r[0])%360+360)%360/360,i=ii(r[1]),n=ii(r[2]),a=n<=.5?n*(i+1):n+i-n*i,o=n*2-a;return t=t||[],oe(t,Fn(Ms(o,a,e+1/3)*255),Fn(Ms(o,a,e)*255),Fn(Ms(o,a,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}function __(r){if(r){var t=r[0]/255,e=r[1]/255,i=r[2]/255,n=Math.min(t,e,i),a=Math.max(t,e,i),o=a-n,s=(a+n)/2,u,l;if(o===0)u=0,l=0;else{s<.5?l=o/(a+n):l=o/(2-a-n);var f=((a-t)/6+o/2)/o,h=((a-e)/6+o/2)/o,c=((a-i)/6+o/2)/o;t===a?u=c-h:e===a?u=1/3+f-c:i===a&&(u=2/3+h-f),u<0&&(u+=1),u>1&&(u-=1)}var v=[u*360,l,s];return r[3]!=null&&v.push(r[3]),v}}function Rh(r,t){var e=vr(r);if(e){for(var i=0;i<3;i++)e[i]=e[i]*(1-t)|0,e[i]>255?e[i]=255:e[i]<0&&(e[i]=0);return Ko(e,e.length===4?"rgba":"rgb")}}function al(r,t,e,i){var n=vr(r);if(r)return n=__(n),e!=null&&(n[1]=ii(q(e)?e(n[1]):e)),i!=null&&(n[2]=ii(q(i)?i(n[2]):i)),Ko(nl(n),"rgba")}function Ko(r,t){if(!(!r||!r.length)){var e=r[0]+","+r[1]+","+r[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+r[3]),t+"("+e+")"}}function wo(r,t){var e=vr(r);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var Eh=new Yi(100);function Oh(r){if(z(r)){var t=Eh.get(r);return t||(t=Rh(r,-.1),Eh.put(r,t)),t}else if(Zo(r)){var e=R({},r);return e.colorStops=j(r.colorStops,function(i){return{offset:i.offset,color:Rh(i.color,-.1)}}),e}return r}function S_(r){return r.type==="linear"}function w_(r){return r.type==="radial"}(function(){return U.hasGlobalWindow&&q(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return ei("Base64 isn't natively supported in the current environment."),null}})();var ol=Array.prototype.slice;function Xe(r,t,e){return(t-r)*e+r}function As(r,t,e,i){for(var n=t.length,a=0;a<n;a++)r[a]=Xe(t[a],e[a],i);return r}function b_(r,t,e,i){for(var n=t.length,a=n&&t[0].length,o=0;o<n;o++){r[o]||(r[o]=[]);for(var s=0;s<a;s++)r[o][s]=Xe(t[o][s],e[o][s],i)}return r}function _a(r,t,e,i){for(var n=t.length,a=0;a<n;a++)r[a]=t[a]+e[a]*i;return r}function kh(r,t,e,i){for(var n=t.length,a=n&&t[0].length,o=0;o<n;o++){r[o]||(r[o]=[]);for(var s=0;s<a;s++)r[o][s]=t[o][s]+e[o][s]*i}return r}function T_(r,t){for(var e=r.length,i=t.length,n=e>i?t:r,a=Math.min(e,i),o=n[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(e,i);s++)n.push({offset:o.offset,color:o.color.slice()})}function x_(r,t,e){var i=r,n=t;if(!(!i.push||!n.push)){var a=i.length,o=n.length;if(a!==o){var s=a>o;if(s)i.length=o;else for(var u=a;u<o;u++)i.push(e===1?n[u]:ol.call(n[u]))}for(var l=i[0]&&i[0].length,u=0;u<i.length;u++)if(e===1)isNaN(i[u])&&(i[u]=n[u]);else for(var f=0;f<l;f++)isNaN(i[u][f])&&(i[u][f]=n[u][f])}}function eo(r){if(Kt(r)){var t=r.length;if(Kt(r[0])){for(var e=[],i=0;i<t;i++)e.push(ol.call(r[i]));return e}return ol.call(r)}return r}function ro(r){return r[0]=Math.floor(r[0])||0,r[1]=Math.floor(r[1])||0,r[2]=Math.floor(r[2])||0,r[3]=r[3]==null?1:r[3],"rgba("+r.join(",")+")"}function C_(r){return Kt(r&&r[0])?2:1}var Sa=0,io=1,hp=2,In=3,sl=4,ul=5,Bh=6;function Nh(r){return r===sl||r===ul}function wa(r){return r===io||r===hp}var an=[0,0,0,0],D_=(function(){function r(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return r.prototype.isFinished=function(){return this._finished},r.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},r.prototype.needsAnimate=function(){return this.keyframes.length>=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,i){this._needsSort=!0;var n=this.keyframes,a=n.length,o=!1,s=Bh,u=e;if(Kt(e)){var l=C_(e);s=l,(l===1&&!lt(e[0])||l===2&&!lt(e[0][0]))&&(o=!0)}else if(lt(e)&&!$d(e))s=Sa;else if(z(e))if(!isNaN(+e))s=Sa;else{var f=vr(e);f&&(u=f,s=In)}else if(Zo(e)){var h=R({},u);h.colorStops=j(e.colorStops,function(v){return{offset:v.offset,color:vr(v.color)}}),S_(e)?s=sl:w_(e)&&(s=ul),u=h}a===0?this.valType=s:(s!==this.valType||s===Bh)&&(o=!0),this.discrete=this.discrete||o;var c={time:t,value:u,rawValue:e,percent:0};return i&&(c.easing=i,c.easingFunc=q(i)?i:zn[i]||up(i)),n.push(c),c},r.prototype.prepare=function(t,e){var i=this.keyframes;this._needsSort&&i.sort(function(m,g){return m.time-g.time});for(var n=this.valType,a=i.length,o=i[a-1],s=this.discrete,u=wa(n),l=Nh(n),f=0;f<a;f++){var h=i[f],c=h.value,v=o.value;h.percent=h.time/t,s||(u&&f!==a-1?x_(c,v,n):l&&T_(c.colorStops,v.colorStops))}if(!s&&n!==ul&&e&&this.needsAnimate()&&e.needsAnimate()&&n===e.valType&&!e._finished){this._additiveTrack=e;for(var d=i[0].value,f=0;f<a;f++)n===Sa?i[f].additiveValue=i[f].value-d:n===In?i[f].additiveValue=_a([],i[f].value,d,-1):wa(n)&&(i[f].additiveValue=n===io?_a([],i[f].value,d,-1):kh([],i[f].value,d,-1))}},r.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i=this._additiveTrack!=null,n=i?"additiveValue":"value",a=this.valType,o=this.keyframes,s=o.length,u=this.propName,l=a===In,f,h=this._lastFr,c=Math.min,v,d;if(s===1)v=d=o[0];else{if(e<0)f=0;else if(e<this._lastFrP){var m=c(h+1,s-1);for(f=m;f>=0&&!(o[f].percent<=e);f--);f=c(f,s-2)}else{for(f=h;f<s&&!(o[f].percent>e);f++);f=c(f-1,s-2)}d=o[f+1],v=o[f]}if(v&&d){this._lastFr=f,this._lastFrP=e;var g=d.percent-v.percent,p=g===0?1:c((e-v.percent)/g,1);d.easingFunc&&(p=d.easingFunc(p));var y=i?this._additiveValue:l?an:t[u];if((wa(a)||l)&&!y&&(y=this._additiveValue=[]),this.discrete)t[u]=p<1?v.rawValue:d.rawValue;else if(wa(a))a===io?As(y,v[n],d[n],p):b_(y,v[n],d[n],p);else if(Nh(a)){var _=v[n],S=d[n],b=a===sl;t[u]={type:b?"linear":"radial",x:Xe(_.x,S.x,p),y:Xe(_.y,S.y,p),colorStops:j(_.colorStops,function(T,C){var x=S.colorStops[C];return{offset:Xe(T.offset,x.offset,p),color:ro(As([],T.color,x.color,p))}}),global:S.global},b?(t[u].x2=Xe(_.x2,S.x2,p),t[u].y2=Xe(_.y2,S.y2,p)):t[u].r=Xe(_.r,S.r,p)}else if(l)As(y,v[n],d[n],p),i||(t[u]=ro(y));else{var w=Xe(v[n],d[n],p);i?this._additiveValue=w:t[u]=w}i&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,i=this.propName,n=this._additiveValue;e===Sa?t[i]=t[i]+n:e===In?(vr(t[i],an),_a(an,an,n,1),t[i]=ro(an)):e===io?_a(t[i],t[i],n,1):e===hp&&kh(t[i],t[i],n,1)},r})(),cf=(function(){function r(t,e,i,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n){ei("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=i}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,i){return this.whenWithKeys(t,e,mt(e),i)},r.prototype.whenWithKeys=function(t,e,i,n){for(var a=this._tracks,o=0;o<i.length;o++){var s=i[o],u=a[s];if(!u){u=a[s]=new D_(s);var l=void 0,f=this._getAdditiveTrack(s);if(f){var h=f.keyframes,c=h[h.length-1];l=c&&c.value,f.valType===In&&l&&(l=ro(l))}else l=this._target[s];if(l==null)continue;t>0&&u.addKeyframe(0,eo(l),n),this._trackKeys.push(s)}u.addKeyframe(t,eo(e[s]),n)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,i=0;i<e;i++)t[i].call(this)},r.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var i=0;i<e.length;i++)e[i].call(this)},r.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,i=0;i<e.length;i++)t[e[i]].setFinished()},r.prototype._getAdditiveTrack=function(t){var e,i=this._additiveAnimators;if(i)for(var n=0;n<i.length;n++){var a=i[n].getTrack(t);a&&(e=a)}return e},r.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,i=[],n=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],s=this._tracks[o],u=this._getAdditiveTrack(o),l=s.keyframes,f=l.length;if(s.prepare(n,u),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var h=l[f-1];h&&(e._target[s.propName]=h.rawValue),s.setFinished()}else i.push(s)}if(i.length||this._force){var c=new m_({life:n,loop:this._loop,delay:this._delay||0,onframe:function(v){e._started=2;var d=e._additiveAnimators;if(d){for(var m=!1,g=0;g<d.length;g++)if(d[g]._clip){m=!0;break}m||(e._additiveAnimators=null)}for(var g=0;g<i.length;g++)i[g].step(e._target,v);var p=e._onframeCbs;if(p)for(var g=0;g<p.length;g++)p[g](e._target,v)},ondestroy:function(){e._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&c.setEasing(t)}else this._doneCallback();return this}},r.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},r.prototype.delay=function(t){return this._delay=t,this},r.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},r.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},r.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},r.prototype.getClip=function(){return this._clip},r.prototype.getTrack=function(t){return this._tracks[t]},r.prototype.getTracks=function(){var t=this;return j(this._trackKeys,function(e){return t._tracks[e]})},r.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var i=this._tracks,n=this._trackKeys,a=0;a<t.length;a++){var o=i[t[a]];o&&!o.isFinished()&&(e?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,a=0;a<n.length;a++)if(!i[n[a]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},r.prototype.saveTo=function(t,e,i){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var a=e[n],o=this._tracks[a];if(!(!o||o.isFinished())){var s=o.keyframes,u=s[i?0:s.length-1];u&&(t[a]=eo(u.rawValue))}}}},r.prototype.__changeFinalValue=function(t,e){e=e||mt(t);for(var i=0;i<e.length;i++){var n=e[i],a=this._tracks[n];if(a){var o=a.keyframes;if(o.length>1){var s=o.pop();a.addKeyframe(s.time,t[n]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},r})();function Fi(){return new Date().getTime()}var I_=(function(r){N(t,r);function t(e){var i=r.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,e=e||{},i.stage=e.stage||{},i}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var i=e.getClip();i&&this.addClip(i)},t.prototype.removeClip=function(e){if(e.animation){var i=e.prev,n=e.next;i?i.next=n:this._head=n,n?n.prev=i:this._tail=i,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var i=e.getClip();i&&this.removeClip(i),e.animation=null},t.prototype.update=function(e){for(var i=Fi()-this._pausedTime,n=i-this._time,a=this._head;a;){var o=a.next,s=a.step(i,n);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=i,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function i(){e._running&&(yo(i),!e._paused&&e.update())}yo(i)},t.prototype.start=function(){this._running||(this._time=Fi(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Fi(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Fi()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var i=e.next;e.prev=e.next=e.animation=null,e=i}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,i){i=i||{},this.start();var n=new cf(e,i.loop);return this.addAnimator(n),n},t})(Se),L_=300,Ps=U.domSupported,Rs=(function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=j(r,function(n){var a=n.replace("mouse","pointer");return e.hasOwnProperty(a)?a:n});return{mouse:r,touch:t,pointer:i}})(),zh={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Fh=!1;function ll(r){var t=r.pointerType;return t==="pen"||t==="touch"}function M_(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Es(r){r&&(r.zrByTouch=!0)}function A_(r,t){return se(r.dom,new P_(r,t),!0)}function cp(r,t){for(var e=t,i=!1;e&&e.nodeType!==9&&!(i=e.domBelongToZr||e!==t&&e===r.painterRoot);)e=e.parentNode;return i}var P_=(function(){function r(t,e){this.stopPropagation=Mt,this.stopImmediatePropagation=Mt,this.preventDefault=Mt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return r})(),ve={mousedown:function(r){r=se(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=se(this.dom,r);var t=this.__mayPointerCapture;t&&(r.zrX!==t[0]||r.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=se(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=se(this.dom,r);var t=r.toElement||r.relatedTarget;cp(this,t)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){Fh=!0,r=se(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){Fh||(r=se(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=se(this.dom,r),Es(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),ve.mousemove.call(this,r),ve.mousedown.call(this,r)},touchmove:function(r){r=se(this.dom,r),Es(r),this.handler.processGesture(r,"change"),ve.mousemove.call(this,r)},touchend:function(r){r=se(this.dom,r),Es(r),this.handler.processGesture(r,"end"),ve.mouseup.call(this,r),+new Date-+this.__lastTouchMoment<L_&&ve.click.call(this,r)},pointerdown:function(r){ve.mousedown.call(this,r)},pointermove:function(r){ll(r)||ve.mousemove.call(this,r)},pointerup:function(r){ve.mouseup.call(this,r)},pointerout:function(r){ll(r)||ve.mouseout.call(this,r)}};I(["click","dblclick","contextmenu"],function(r){ve[r]=function(t){t=se(this.dom,t),this.trigger(r,t)}});var fl={pointermove:function(r){ll(r)||fl.mousemove.call(this,r)},pointerup:function(r){fl.mouseup.call(this,r)},mousemove:function(r){this.trigger("mousemove",r)},mouseup:function(r){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",r),t&&(r.zrEventControl="only_globalout",this.trigger("mouseout",r))}};function R_(r,t){var e=t.domHandlers;U.pointerEventsSupported?I(Rs.pointer,function(i){no(t,i,function(n){e[i].call(r,n)})}):(U.touchEventsSupported&&I(Rs.touch,function(i){no(t,i,function(n){e[i].call(r,n),M_(t)})}),I(Rs.mouse,function(i){no(t,i,function(n){n=uf(n),t.touching||e[i].call(r,n)})}))}function E_(r,t){U.pointerEventsSupported?I(zh.pointer,e):U.touchEventsSupported||I(zh.mouse,e);function e(i){function n(a){a=uf(a),cp(r,a.target)||(a=A_(r,a),t.domHandlers[i].call(r,a))}no(t,i,n,{capture:!0})}}function no(r,t,e,i){r.mounted[t]=e,r.listenerOpts[t]=i,Zy(r.domTarget,t,e,i)}function Os(r){var t=r.mounted;for(var e in t)t.hasOwnProperty(e)&&qy(r.domTarget,e,t[e],r.listenerOpts[e]);r.mounted={}}var Hh=(function(){function r(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return r})(),O_=(function(r){N(t,r);function t(e,i){var n=r.call(this)||this;return n.__pointerCapturing=!1,n.dom=e,n.painterRoot=i,n._localHandlerScope=new Hh(e,ve),Ps&&(n._globalHandlerScope=new Hh(document,fl)),R_(n,n._localHandlerScope),n}return t.prototype.dispose=function(){Os(this._localHandlerScope),Ps&&Os(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,Ps&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var i=this._globalHandlerScope;e?E_(this,i):Os(i)}},t})(Se),vp=1;U.hasGlobalWindow&&(vp=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var bo=vp,hl=.4,cl="#333",vl="#ccc",k_="#eee",Vh=lf,Gh=5e-5;function Ir(r){return r>Gh||r<-Gh}var Lr=[],pi=[],ks=Oe(),Bs=Math.abs,Qr=(function(){function r(){}return r.prototype.getLocalTransform=function(t){return r.getLocalTransform(this,t)},r.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},r.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},r.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},r.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},r.prototype.needLocalTransform=function(){return Ir(this.rotation)||Ir(this.x)||Ir(this.y)||Ir(this.scaleX-1)||Ir(this.scaleY-1)||Ir(this.skewX)||Ir(this.skewY)},r.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),i=this.transform;if(!(e||t)){i&&(Vh(i),this.invTransform=null);return}i=i||Oe(),e?this.getLocalTransform(i):Vh(i),t&&(e?Bn(i,t,i):ff(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i)},r.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(Lr);var i=Lr[0]<0?-1:1,n=Lr[1]<0?-1:1,a=((Lr[0]-i)*e+i)/Lr[0]||0,o=((Lr[1]-n)*e+n)/Lr[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Oe(),la(this.invTransform,t)},r.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},r.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),a=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(a),e=Math.sqrt(e),this.skewX=a,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=i,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Oe(),Bn(pi,t.invTransform,e),e=pi);var i=this.originX,n=this.originY;(i||n)&&(ks[4]=i,ks[5]=n,Bn(pi,e,ks),pi[4]-=i,pi[5]-=n,e=pi),this.setLocalTransform(e)}},r.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},r.prototype.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&re(i,i,n),i},r.prototype.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&re(i,i,n),i},r.prototype.getLineScale=function(){var t=this.transform;return t&&Bs(t[0]-1)>1e-10&&Bs(t[3]-1)>1e-10?Math.sqrt(Bs(t[0]*t[3]-t[2]*t[1])):1},r.prototype.copyTransform=function(t){dl(this,t)},r.getLocalTransform=function(t,e){e=e||[];var i=t.originX||0,n=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,f=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,v=t.skewY?Math.tan(-t.skewY):0;if(i||n||s||u){var d=i+s,m=n+u;e[4]=-d*a-c*m*o,e[5]=-m*o-v*d*a}else e[4]=e[5]=0;return e[0]=a,e[3]=o,e[1]=v*a,e[2]=c*o,l&&hf(e,e,l),e[4]+=i+f,e[5]+=n+h,e},r.initDefaultProps=(function(){var t=r.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),r})(),$n=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function dl(r,t){for(var e=0;e<$n.length;e++){var i=$n[e];r[i]=t[i]}}function ke(r){ba||(ba=new Yi(100)),r=r||pr;var t=ba.get(r);return t||(t={font:r,strWidthCache:new Yi(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:Je.measureText("国",r).width,asciiCharWidth:Je.measureText("a",r).width},ba.put(r,t)),t}var ba;function B_(r){if(!(Ns>=Uh)){r=r||pr;for(var t=[],e=+new Date,i=0;i<=127;i++)t[i]=Je.measureText(String.fromCharCode(i),r).width;var n=+new Date-e;return n>16?Ns=Uh:n>2&&Ns++,t}}var Ns=0,Uh=5;function dp(r,t){return r.asciiWidthMapTried||(r.asciiWidthMap=B_(r.font),r.asciiWidthMapTried=!0),0<=t&&t<=127?r.asciiWidthMap!=null?r.asciiWidthMap[t]:r.asciiCharWidth:r.stWideCharWidth}function Be(r,t){var e=r.strWidthCache,i=e.get(t);return i==null&&(i=Je.measureText(t,r.font).width,e.put(t,i)),i}function Wh(r,t,e,i){var n=Be(ke(t),r),a=Qo(t),o=Xi(0,n,e),s=ni(0,a,i),u=new X(o,s,n,a);return u}function N_(r,t,e,i){var n=((r||"")+"").split(`
2
2
  `),a=n.length;if(a===1)return Wh(n[0],t,e,i);for(var o=new X(0,0,0,0),s=0;s<n.length;s++){var u=Wh(n[s],t,e,i);s===0?o.copy(u):o.union(u)}return o}function Xi(r,t,e,i){return e==="right"?i?r+=t:r-=t:e==="center"&&(i?r+=t/2:r-=t/2),r}function ni(r,t,e,i){return e==="middle"?i?r+=t/2:r-=t/2:e==="bottom"&&(i?r+=t:r-=t),r}function Qo(r){return ke(r).stWideCharWidth}function Zn(r,t){return typeof r=="string"?r.lastIndexOf("%")>=0?parseFloat(r)/100*t:parseFloat(r):r}function pp(r,t,e){var i=t.position||"inside",n=t.distance!=null?t.distance:5,a=e.height,o=e.width,s=a/2,u=e.x,l=e.y,f="left",h="top";if(i instanceof Array)u+=Zn(i[0],e.width),l+=Zn(i[1],e.height),f=null,h=null;else switch(i){case"left":u-=n,l+=s,f="right",h="middle";break;case"right":u+=n+o,l+=s,h="middle";break;case"top":u+=o/2,l-=n,f="center",h="bottom";break;case"bottom":u+=o/2,l+=a+n,f="center";break;case"inside":u+=o/2,l+=s,f="center",h="middle";break;case"insideLeft":u+=n,l+=s,h="middle";break;case"insideRight":u+=o-n,l+=s,f="right",h="middle";break;case"insideTop":u+=o/2,l+=n,f="center";break;case"insideBottom":u+=o/2,l+=a-n,f="center",h="bottom";break;case"insideTopLeft":u+=n,l+=n;break;case"insideTopRight":u+=o-n,l+=n,f="right";break;case"insideBottomLeft":u+=n,l+=a-n,h="bottom";break;case"insideBottomRight":u+=o-n,l+=a-n,f="right",h="bottom";break}return r=r||{},r.x=u,r.y=l,r.align=f,r.verticalAlign=h,r}var zs="__zr_normal__",Fs=$n.concat(["ignore"]),z_=tn($n,function(r,t){return r[t]=!0,r},{ignore:!1}),gi={},F_=new X(0,0,0,0),Ta=[],jo=(function(){function r(t){this.id=Xd(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,i){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,n=i.local,a=e.innerTransformable,o=void 0,s=void 0,u=!1;a.parent=n?this:null;var l=!1;a.copyTransform(e);var f=i.position!=null,h=i.autoOverflowArea,c=void 0;if((h||f)&&(c=F_,i.layoutRect?c.copy(i.layoutRect):c.copy(this.getBoundingRect()),n||c.applyTransform(this.transform)),f){this.calculateTextPosition?this.calculateTextPosition(gi,i,c):pp(gi,i,c),a.x=gi.x,a.y=gi.y,o=gi.align,s=gi.verticalAlign;var v=i.origin;if(v&&i.rotation!=null){var d=void 0,m=void 0;v==="center"?(d=c.width*.5,m=c.height*.5):(d=Zn(v[0],c.width),m=Zn(v[1],c.height)),l=!0,a.originX=-a.x+d+(n?0:c.x),a.originY=-a.y+m+(n?0:c.y)}}i.rotation!=null&&(a.rotation=i.rotation);var g=i.offset;g&&(a.x+=g[0],a.y+=g[1],l||(a.originX=-g[0],a.originY=-g[1]));var p=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(h){var y=p.overflowRect=p.overflowRect||new X(0,0,0,0);a.getLocalTransform(Ta),la(Ta,Ta),X.copy(y,c),y.applyTransform(Ta)}else p.overflowRect=null;var _=i.inside==null?typeof i.position=="string"&&i.position.indexOf("inside")>=0:i.inside,S=void 0,b=void 0,w=void 0;_&&this.canBeInsideText()?(S=i.insideFill,b=i.insideStroke,(S==null||S==="auto")&&(S=this.getInsideTextFill()),(b==null||b==="auto")&&(b=this.getInsideTextStroke(S),w=!0)):(S=i.outsideFill,b=i.outsideStroke,(S==null||S==="auto")&&(S=this.getOutsideFill()),(b==null||b==="auto")&&(b=this.getOutsideStroke(S),w=!0)),S=S||"#000",(S!==p.fill||b!==p.stroke||w!==p.autoStroke||o!==p.align||s!==p.verticalAlign)&&(u=!0,p.fill=S,p.stroke=b,p.autoStroke=w,p.align=o,p.verticalAlign=s,e.setDefaultTextStyle(p)),e.__dirty|=ee,u&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?vl:cl},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),i=typeof e=="string"&&vr(e);i||(i=[255,255,255,1]);for(var n=i[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+(a?0:255)*(1-n);return i[3]=1,Ko(i,"rgba")},r.prototype.traverse=function(t,e){},r.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},R(this.extra,e)):this[t]=e},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if(H(t))for(var i=t,n=mt(i),a=0;a<n.length;a++){var o=n[a];this.attrKV(o,t[o])}return this.markRedraw(),this},r.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,i=0;i<this.animators.length;i++){var n=this.animators[i],a=n.__fromStateTransition;if(!(n.getLoop()||a&&a!==zs)){var o=n.targetName,s=o?e[o]:e;n.saveTo(s)}}},r.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Fs)},r.prototype._savePrimaryToNormal=function(t,e,i){for(var n=0;n<i.length;n++){var a=i[n];t[a]!=null&&!(a in e)&&(e[a]=this[a])}},r.prototype.hasState=function(){return this.currentStates.length>0},r.prototype.getState=function(t){return this.states[t]},r.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},r.prototype.clearStates=function(t){this.useState(zs,!1,t)},r.prototype.useState=function(t,e,i,n){var a=t===zs,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,u=this.stateTransition;if(!(ut(s,t)>=0&&(e||s.length===1))){var l;if(this.stateProxy&&!a&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),!l&&!a){ei("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(l);var f=!!(l&&l.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!i&&!this.__inHover&&u&&u.duration>0,u);var h=this._textContent,c=this._textGuide;return h&&h.useState(t,e,i,f),c&&c.useState(t,e,i,f),a?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ee),l}}},r.prototype.useStates=function(t,e,i){if(!t.length)this.clearStates();else{var n=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var u=0;u<o;u++)if(t[u]!==a[u]){s=!1;break}}if(s)return;for(var u=0;u<o;u++){var l=t[u],f=void 0;this.stateProxy&&(f=this.stateProxy(l,t)),f||(f=this.states[l]),f&&n.push(f)}var h=n[o-1],c=!!(h&&h.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0);var v=this._mergeStates(n),d=this.stateTransition;this.saveCurrentToNormalState(v),this._applyStateObj(t.join(","),v,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var m=this._textContent,g=this._textGuide;m&&m.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ee)}},r.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var e=t.__hostTarget;t=e?t.ignoreHostSilent?null:e:t.parent}return!1},r.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},r.prototype.removeState=function(t){var e=ut(this.currentStates,t);if(e>=0){var i=this.currentStates.slice();i.splice(e,1),this.useStates(i)}},r.prototype.replaceState=function(t,e,i){var n=this.currentStates.slice(),a=ut(n,t),o=ut(n,e)>=0;a>=0?o?n.splice(a,1):n[a]=e:i&&!o&&n.push(e),this.useStates(n)},r.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},r.prototype._mergeStates=function(t){for(var e={},i,n=0;n<t.length;n++){var a=t[n];R(e,a),a.textConfig&&(i=i||{},R(i,a.textConfig))}return i&&(e.textConfig=i),e},r.prototype._applyStateObj=function(t,e,i,n,a,o){var s=!(e&&n);e&&e.textConfig?(this.textConfig=R({},n?this.textConfig:i.textConfig),R(this.textConfig,e.textConfig)):s&&i.textConfig&&(this.textConfig=i.textConfig);for(var u={},l=!1,f=0;f<Fs.length;f++){var h=Fs[f],c=a&&z_[h];e&&e[h]!=null?c?(l=!0,u[h]=e[h]):this[h]=e[h]:s&&i[h]!=null&&(c?(l=!0,u[h]=i[h]):this[h]=i[h])}if(!a)for(var f=0;f<this.animators.length;f++){var v=this.animators[f],d=v.targetName;v.getLoop()||v.__changeFinalValue(d?(e||i)[d]:e||i)}l&&this._transitionState(t,u,o)},r.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");if(t===this)throw new Error("Recursive component attachment.");var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this},r.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},r.prototype.getClipPath=function(){return this._clipPath},r.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},r.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},r.prototype.getTextContent=function(){return this._textContent},r.prototype.setTextContent=function(t){var e=this._textContent;if(e!==t){if(e&&e!==t&&this.removeTextContent(),t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.innerTransformable=new Qr,this._attachComponent(t),this._textContent=t,this.markRedraw()}},r.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),R(this.textConfig,t),this.markRedraw()},r.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},r.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},r.prototype.getTextGuideLine=function(){return this._textGuide},r.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},r.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},r.prototype.markRedraw=function(){this.__dirty|=ee;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},r.prototype.dirty=function(){this.markRedraw()},r.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,i=this._textGuide;e&&(e.__inHover=t),i&&(i.__inHover=t)},r.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},r.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},r.prototype.animate=function(t,e,i){var n=t?this[t]:this;if(!n){ei('Property "'+t+'" is not existed in element '+this.id);return}var a=new cf(n,e,i);return t&&(a.targetName=t),this.addAnimator(a,t),a},r.prototype.addAnimator=function(t,e){var i=this.__zr,n=this;t.during(function(){n.updateDuringAnimation(e)}).done(function(){var a=n.animators,o=ut(a,t);o>=0&&a.splice(o,1)}),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},r.prototype.updateDuringAnimation=function(t){this.markRedraw()},r.prototype.stopAnimation=function(t,e){for(var i=this.animators,n=i.length,a=[],o=0;o<n;o++){var s=i[o];!t||t===s.scope?s.stop(e):a.push(s)}return this.animators=a,this},r.prototype.animateTo=function(t,e,i){Hs(this,t,e,i)},r.prototype.animateFrom=function(t,e,i){Hs(this,t,e,i,!0)},r.prototype._transitionState=function(t,e,i,n){for(var a=Hs(this,e,i,n),o=0;o<a.length;o++)a[o].__fromStateTransition=t},r.prototype.getBoundingRect=function(){return null},r.prototype.getPaintRect=function(){return null},r.initDefaultProps=(function(){var t=r.prototype;t.type="element",t.name="",t.ignore=t.silent=t.ignoreHostSilent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=ee;var e={};function i(a,o,s){e[a+o+s]||(console.warn("DEPRECATED: '"+a+"' has been deprecated. use '"+o+"', '"+s+"' instead"),e[a+o+s]=!0)}function n(a,o,s,u){Object.defineProperty(t,a,{get:function(){if(i(a,s,u),!this[o]){var f=this[o]=[];l(this,f)}return this[o]},set:function(f){i(a,s,u),this[s]=f[0],this[u]=f[1],this[o]=f,l(this,f)}});function l(f,h){Object.defineProperty(h,0,{get:function(){return f[s]},set:function(c){f[s]=c}}),Object.defineProperty(h,1,{get:function(){return f[u]},set:function(c){f[u]=c}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))})(),r})();_e(jo,Se);_e(jo,Qr);function Hs(r,t,e,i,n){e=e||{};var a=[];gp(r,"",r,t,e,i,a,n);var o=a.length,s=!1,u=e.done,l=e.aborted,f=function(){s=!0,o--,o<=0&&(s?u&&u():l&&l())},h=function(){o--,o<=0&&(s?u&&u():l&&l())};o||u&&u(),a.length>0&&e.during&&a[0].during(function(d,m){e.during(m)});for(var c=0;c<a.length;c++){var v=a[c];f&&v.done(f),h&&v.aborted(h),e.force&&v.duration(e.duration),v.start(e.easing)}return a}function Vs(r,t,e){for(var i=0;i<e;i++)r[i]=t[i]}function H_(r){return Kt(r[0])}function V_(r,t,e){if(Kt(t[e]))if(Kt(r[e])||(r[e]=[]),Ht(t[e])){var i=t[e].length;r[e].length!==i&&(r[e]=new t[e].constructor(i),Vs(r[e],t[e],i))}else{var n=t[e],a=r[e],o=n.length;if(H_(n))for(var s=n[0].length,u=0;u<o;u++)a[u]?Vs(a[u],n[u],s):a[u]=Array.prototype.slice.call(n[u]);else Vs(a,n,o);a.length=n.length}else r[e]=t[e]}function G_(r,t){return r===t||Kt(r)&&Kt(t)&&U_(r,t)}function U_(r,t){var e=r.length;if(e!==t.length)return!1;for(var i=0;i<e;i++)if(r[i]!==t[i])return!1;return!0}function gp(r,t,e,i,n,a,o,s){for(var u=mt(i),l=n.duration,f=n.delay,h=n.additive,c=n.setToFinal,v=!H(a),d=r.animators,m=[],g=0;g<u.length;g++){var p=u[g],y=i[p];if(y!=null&&e[p]!=null&&(v||a[p]))if(H(y)&&!Kt(y)&&!Zo(y)){if(t){s||(e[p]=y,r.updateDuringAnimation(t));continue}gp(r,p,e[p],y,n,a&&a[p],o,s)}else m.push(p);else s||(e[p]=y,r.updateDuringAnimation(t),m.push(p))}var _=m.length;if(!h&&_)for(var S=0;S<d.length;S++){var b=d[S];if(b.targetName===t){var w=b.stopTracks(m);if(w){var T=ut(d,b);d.splice(T,1)}}}if(n.force||(m=te(m,function(L){return!G_(i[L],e[L])}),_=m.length),_>0||n.force&&!o.length){var C=void 0,x=void 0,D=void 0;if(s){x={},c&&(C={});for(var S=0;S<_;S++){var p=m[S];x[p]=e[p],c?C[p]=i[p]:e[p]=i[p]}}else if(c){D={};for(var S=0;S<_;S++){var p=m[S];D[p]=eo(e[p]),V_(e,i,p)}}var b=new cf(e,!1,!1,h?te(d,function(A){return A.targetName===t}):null);b.targetName=t,n.scope&&(b.scope=n.scope),c&&C&&b.whenWithKeys(0,C,m),D&&b.whenWithKeys(0,D,m),b.whenWithKeys(l??500,s?x:i,m).delay(f||0),r.addAnimator(b,t),o.push(b)}}var bt=(function(r){N(t,r);function t(e){var i=r.call(this)||this;return i.isGroup=!0,i._children=[],i.attr(e),i}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var i=this._children,n=0;n<i.length;n++)if(i[n].name===e)return i[n]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){if(e&&(e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),e.__hostTarget))throw"This elemenet has been used as an attachment";return this},t.prototype.addBefore=function(e,i){if(e&&e!==this&&e.parent!==this&&i&&i.parent===this){var n=this._children,a=n.indexOf(i);a>=0&&(n.splice(a,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,i){var n=ut(this._children,e);return n>=0&&this.replaceAt(i,n),this},t.prototype.replaceAt=function(e,i){var n=this._children,a=n[i];if(e&&e!==this&&e.parent!==this&&e!==a){n[i]=e,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var i=this.__zr;i&&i!==e.__zr&&e.addSelfToZr(i),i&&i.refresh()},t.prototype.remove=function(e){var i=this.__zr,n=this._children,a=ut(n,e);return a<0?this:(n.splice(a,1),e.parent=null,i&&e.removeSelfFromZr(i),i&&i.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,i=this.__zr,n=0;n<e.length;n++){var a=e[n];i&&a.removeSelfFromZr(i),a.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,i){for(var n=this._children,a=0;a<n.length;a++){var o=n[a];e.call(i,o,a)}return this},t.prototype.traverse=function(e,i){for(var n=0;n<this._children.length;n++){var a=this._children[n],o=e.call(i,a);a.isGroup&&!o&&a.traverse(e,i)}return this},t.prototype.addSelfToZr=function(e){r.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++){var n=this._children[i];n.addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){r.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++){var n=this._children[i];n.removeSelfFromZr(e)}},t.prototype.getBoundingRect=function(e){for(var i=new X(0,0,0,0),n=e||this._children,a=[],o=null,s=0;s<n.length;s++){var u=n[s];if(!(u.ignore||u.invisible)){var l=u.getBoundingRect(),f=u.getLocalTransform(a);f?(X.applyTransform(i,l,f),o=o||i.clone(),o.union(i)):(o=o||l.clone(),o.union(l))}}return o||i},t})(jo);bt.prototype.type="group";var Ln={},mp={};function W_(r){delete mp[r]}function Y_(r){if(!r)return!1;if(typeof r=="string")return wo(r,1)<hl;if(r.colorStops){for(var t=r.colorStops,e=0,i=t.length,n=0;n<i;n++)e+=wo(t[n].color,1);return e/=i,e<hl}return!1}var X_=(function(){function r(t,e,i){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,i=i||{},this.dom=e,this.id=t;var a=new f_,o=i.renderer||"canvas";if(Ln[o]||(o=mt(Ln)[0]),!Ln[o])throw new Error("Renderer '"+o+"' is not imported. Please import it first.");i.useDirtyRect=i.useDirtyRect==null?!1:i.useDirtyRect;var s=new Ln[o](e,a,i,t),u=i.ssr||s.ssrOnly;this.storage=a,this.painter=s;var l=!U.node&&!U.worker&&!u?new O_(s.getViewportRoot(),s.root):null,f=i.useCoarsePointer,h=f==null||f==="auto"?U.touchEventsSupported:!!f,c=44,v;h&&(v=F(i.pointerSize,c)),this.handler=new tp(a,s,l,s.root,v),this.animation=new I_({stage:{update:u?null:function(){return n._flush(!0)}}}),u||this.animation.start()}return r.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},r.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},r.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},r.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=Y_(t))},r.prototype.getBackgroundColor=function(){return this._backgroundColor},r.prototype.setDarkMode=function(t){this._darkMode=t},r.prototype.isDarkMode=function(){return this._darkMode},r.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},r.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},r.prototype.flush=function(){this._disposed||this._flush(!1)},r.prototype._flush=function(t){var e,i=Fi();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var n=Fi();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-i})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,i){return this._disposed||this.handler.on(t,e,i),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof bt&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},r.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,W_(this.id))},r})();function Yh(r,t){var e=new X_(Xd(),r,t);return mp[e.id]=e,e}function $_(r,t){Ln[r]=t}var Xh=1e-4,yp=20;function Z_(r){return r.replace(/^\s+|\s+$/g,"")}var qn=Math.min,ge=Math.max,Ze=Math.abs;function $h(r,t,e,i){var n=t[0],a=t[1],o=e[0],s=e[1],u=a-n,l=s-o;if(u===0)return l===0?o:(o+s)/2;{if(r===n)return o;if(r===a)return s}return(r-n)/u*l+o}var Yt=q_;function q_(r,t,e){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return K_(r,t,e)}function K_(r,t,e){return z(r)?Z_(r).match(/%$/)?parseFloat(r)/100*t+(e||0):parseFloat(r):r==null?NaN:+r}function _p(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),yp),r=(+r).toFixed(t),+r}function Zh(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return Q_(r)}function Q_(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),i=e>0?+t.slice(e+1):0,n=e>0?e:t.length,a=t.indexOf("."),o=a<0?0:n-1-a;return Math.max(0,o-i)}function j_(r,t){var e=Math.max(Zh(r),Zh(t)),i=r+t;return e>yp?i:_p(i,e)}function Sp(r){var t=Math.PI*2;return(r%t+t)%t}function To(r){return r>-Xh&&r<Xh}var J_=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Jo(r){if(r instanceof Date)return r;if(z(r)){var t=J_.exec(r);if(!t)return new Date(NaN);if(t[8]){var e=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(e-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,e,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}function xo(r){var t=parseFloat(r);return t==r&&(t!==0||!z(r)||r.indexOf("x")<=0)?t:NaN}function wp(r){return!isNaN(xo(r))}function bp(){return Math.round(Math.random()*9)}function Tp(r,t){return t===0?r:Tp(t,r%t)}function qh(r,t){return r==null?t:t==null?r:r*t/Tp(r,t)}var t0="[ECharts] ",Kh={},e0=typeof console<"u"&&console.warn&&console.log;function ts(r,t,e){if(e0){if(e){if(Kh[t])return;Kh[t]=!0}console[r](t0+t)}}function r0(r,t){ts("log",r,t)}function pe(r,t){ts("warn",r,t)}function ft(r,t){ts("error",r,t)}function tr(r){ts("warn","DEPRECATED: "+r,!0)}function Dt(r,t,e){tr((e?"["+e+"]":"")+(r+" is deprecated; use "+t+" instead."))}function Co(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e="";{var i=function(n){return n===void 0?"undefined":n===1/0?"Infinity":n===-1/0?"-Infinity":$d(n)?"NaN":n instanceof Date?"Date("+n.toISOString()+")":q(n)?"function () { ... }":Iy(n)?n+"":null};e=j(r,function(n){if(z(n))return n;var a=i(n);if(a!=null)return a;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(n,function(o,s){var u=i(s);return u??s})}catch{return"?"}else return"?"}).join(" ")}return e}function Xt(r){throw new Error(r)}var xp="series\0",i0="\0_ec_\0";function Ft(r){return r instanceof Array?r:r==null?[]:[r]}function pl(r,t,e){if(r){r[t]=r[t]||{},r.emphasis=r.emphasis||{},r.emphasis[t]=r.emphasis[t]||{};for(var i=0,n=e.length;i<n;i++){var a=e[i];!r.emphasis[t].hasOwnProperty(a)&&r[t].hasOwnProperty(a)&&(r.emphasis[t][a]=r[t][a])}}}var Qh=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function fa(r){return H(r)&&!B(r)&&!(r instanceof Date)?r.value:r}function n0(r){return H(r)&&!(r instanceof Array)}function a0(r,t,e){var i=e==="normalMerge",n=e==="replaceMerge",a=e==="replaceAll";r=r||[],t=(t||[]).slice();var o=Y();I(t,function(u,l){if(!H(u)){t[l]=null;return}u.id!=null&&!Jh(u.id)&&jh(u.id),u.name!=null&&!Jh(u.name)&&jh(u.name)});var s=o0(r,o,e);return(i||n)&&s0(s,r,o,t),i&&u0(s,t),i||n?l0(s,t,n):a&&f0(s,t),h0(s),s}function o0(r,t,e){var i=[];if(e==="replaceAll")return i;for(var n=0;n<r.length;n++){var a=r[n];a&&a.id!=null&&t.set(a.id,n),i.push({existing:e==="replaceMerge"||$i(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return i}function s0(r,t,e,i){I(i,function(n,a){if(!(!n||n.id==null)){var o=Hn(n.id),s=e.get(o);if(s!=null){var u=r[s];V(!u.newOption,'Duplicated option on id "'+o+'".'),u.newOption=n,u.existing=t[s],i[a]=null}}})}function u0(r,t){I(t,function(e,i){if(!(!e||e.name==null))for(var n=0;n<r.length;n++){var a=r[n].existing;if(!r[n].newOption&&a&&(a.id==null||e.id==null)&&!$i(e)&&!$i(a)&&Cp("name",a,e)){r[n].newOption=e,t[i]=null;return}}})}function l0(r,t,e){I(t,function(i){if(i){for(var n,a=0;(n=r[a])&&(n.newOption||$i(n.existing)||n.existing&&i.id!=null&&!Cp("id",i,n.existing));)a++;n?(n.newOption=i,n.brandNew=e):r.push({newOption:i,brandNew:e,existing:null,keyInfo:null}),a++}})}function f0(r,t){I(t,function(e){r.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}function h0(r){var t=Y();I(r,function(e){var i=e.existing;i&&t.set(i.id,e)}),I(r,function(e){var i=e.newOption;V(!i||i.id==null||!t.get(i.id)||t.get(i.id)===e,"id duplicates: "+(i&&i.id)),i&&i.id!=null&&t.set(i.id,e),!e.keyInfo&&(e.keyInfo={})}),I(r,function(e,i){var n=e.existing,a=e.newOption,o=e.keyInfo;if(H(a)){if(o.name=a.name!=null?Hn(a.name):n?n.name:xp+i,n)o.id=Hn(n.id);else if(a.id!=null)o.id=Hn(a.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,e)}})}function Cp(r,t,e){var i=ye(t[r],null),n=ye(e[r],null);return i!=null&&n!=null&&i===n}function Hn(r){if(r==null)throw new Error;return ye(r,"")}function ye(r,t){return r==null?t:z(r)?r:lt(r)||po(r)?r+"":t}function jh(r){pe("`"+r+"` is invalid id or name. Must be a string or number.")}function Jh(r){return po(r)||wp(r)}function vf(r){var t=r.name;return!!(t&&t.indexOf(xp))}function $i(r){return r&&r.id!=null&&Hn(r.id).indexOf(i0)===0}function c0(r,t,e){I(r,function(i){var n=i.newOption;H(n)&&(i.keyInfo.mainType=t,i.keyInfo.subType=v0(t,n,i.existing,e))})}function v0(r,t,e,i){var n=t.type?t.type:e?e.subType:i.determineSubType(r,t);return n}function ha(r,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return B(t.dataIndex)?j(t.dataIndex,function(e){return r.indexOfRawIndex(e)}):r.indexOfRawIndex(t.dataIndex);if(t.name!=null)return B(t.name)?j(t.name,function(e){return r.indexOfName(e)}):r.indexOfName(t.name)}function ct(){var r="__ec_inner_"+d0++;return function(t){return t[r]||(t[r]={})}}var d0=bp();function Gs(r,t,e){var i=df(t,e),n=i.mainTypeSpecified,a=i.queryOptionMap,o=i.others,s=o,u=e?e.defaultMainType:null;return!n&&u&&a.set(u,{}),a.each(function(l,f){var h=ca(r,f,l,{useDefault:u===f,enableAll:e&&e.enableAll!=null?e.enableAll:!0,enableNone:e&&e.enableNone!=null?e.enableNone:!0});s[f+"Models"]=h.models,s[f+"Model"]=h.models[0]}),s}function df(r,t){var e;if(z(r)){var i={};i[r+"Index"]=0,e=i}else e=r;var n=Y(),a={},o=!1;return I(e,function(s,u){if(u==="dataIndex"||u==="dataIndexInside"){a[u]=s;return}var l=u.match(/^(\w+)(Index|Id|Name)$/)||[],f=l[1],h=(l[2]||"").toLowerCase();if(!(!f||!h||t&&t.includeMainTypes&&ut(t.includeMainTypes,f)<0)){o=o||!!f;var c=n.get(f)||n.set(f,{});c[h]=s}}),{mainTypeSpecified:o,queryOptionMap:n,others:a}}var lr={useDefault:!0,enableAll:!1,enableNone:!1};function ca(r,t,e,i){i=i||lr;var n=e.index,a=e.id,o=e.name,s={models:null,specified:n!=null||a!=null||o!=null};if(!s.specified){var u=void 0;return s.models=i.useDefault&&(u=r.getComponent(t))?[u]:[],s}if(n==="none"||n===!1){if(i.enableNone)return s.models=[],s;ft('`"none"` or `false` is not a valid value on index option.'),n=-1}return n==="all"&&(i.enableAll?n=a=o=null:(ft('`"all"` is not a valid value on index option.'),n=-1)),s.models=r.queryComponents({mainType:t,index:n,id:a,name:o}),s}function Dp(r,t,e){r.setAttribute?r.setAttribute(t,e):r[t]=e}function p0(r,t){return r.getAttribute?r.getAttribute(t):r[t]}function g0(r){return r==="auto"?U.domSupported?"html":"richText":r||"html"}var m0=".",Mr="___EC__COMPONENT__CONTAINER___",Ip="___EC__EXTENDED_CLASS___";function Ee(r){var t={main:"",sub:""};if(r){var e=r.split(m0);t.main=e[0]||"",t.sub=e[1]||""}return t}function y0(r){V(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function _0(r){return!!(r&&r[Ip])}function pf(r,t){r.$constructor=r,r.extend=function(e){I(t,function(a){e[a]||console.warn("Method `"+a+"` should be implemented"+(e.type?" in "+e.type:"")+".")});var i=this,n;return S0(i)?n=(function(a){N(o,a);function o(){return a.apply(this,arguments)||this}return o})(i):(n=function(){(e.$constructor||i).apply(this,arguments)},xy(n,this)),R(n.prototype,e),n[Ip]=!0,n.extend=this.extend,n.superCall=T0,n.superApply=x0,n.superClass=i,n}}function S0(r){return q(r)&&/^class\s/.test(Function.prototype.toString.call(r))}function Lp(r,t){r.extend=t.extend}var w0=Math.round(Math.random()*10);function b0(r){var t=["__\0is_clz",w0++].join("_");r.prototype[t]=!0,V(!r.isInstance,'The method "is" can not be defined.'),r.isInstance=function(e){return!!(e&&e[t])}}function T0(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return this.superClass.prototype[t].apply(r,e)}function x0(r,t,e){return this.superClass.prototype[t].apply(r,e)}function gf(r){var t={};r.registerClass=function(i){var n=i.type||i.prototype.type;if(n){y0(n),i.prototype.type=n;var a=Ee(n);if(!a.sub)t[a.main]&&console.warn(a.main+" exists."),t[a.main]=i;else if(a.sub!==Mr){var o=e(a);o[a.sub]=i}}return i},r.getClass=function(i,n,a){var o=t[i];if(o&&o[Mr]&&(o=n?o[n]:null),a&&!o)throw new Error(n?"Component "+i+"."+(n||"")+" is used but not imported.":i+".type should be specified.");return o},r.getClassesByMainType=function(i){var n=Ee(i),a=[],o=t[n.main];return o&&o[Mr]?I(o,function(s,u){u!==Mr&&a.push(s)}):a.push(o),a},r.hasClass=function(i){var n=Ee(i);return!!t[n.main]},r.getAllClassMainTypes=function(){var i=[];return I(t,function(n,a){i.push(a)}),i},r.hasSubTypes=function(i){var n=Ee(i),a=t[n.main];return a&&a[Mr]};function e(i){var n=t[i.main];return(!n||!n[Mr])&&(n=t[i.main]={},n[Mr]=!0),n}}function Kn(r,t){for(var e=0;e<r.length;e++)r[e][1]||(r[e][1]=r[e][0]);return t=t||!1,function(i,n,a){for(var o={},s=0;s<r.length;s++){var u=r[s][1];if(!(n&&ut(n,u)>=0||a&&ut(a,u)<0)){var l=i.getShallow(u,t);l!=null&&(o[r[s][0]]=l)}}return o}}var C0=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],D0=Kn(C0),I0=(function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return D0(this,t,e)},r})(),gl=new Yi(50);function L0(r){if(typeof r=="string"){var t=gl.get(r);return t&&t.image}else return r}function Mp(r,t,e,i,n){if(r)if(typeof r=="string"){if(t&&t.__zrImageSrc===r||!e)return t;var a=gl.get(r),o={hostEl:e,cb:i,cbPayload:n};return a?(t=a.image,!es(t)&&a.pending.push(o)):(t=Je.loadImage(r,tc,tc),t.__zrImageSrc=r,gl.put(r,t.__cachedImgObj={image:t,pending:[o]})),t}else return r;else return t}function tc(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<r.pending.length;t++){var e=r.pending[t],i=e.cb;i&&i(this,e.cbPayload),e.hostEl.dirty()}r.pending.length=0}function es(r){return r&&r.width&&r.height}var Us=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function M0(r,t,e,i,n,a){if(!e){r.text="",r.isTruncated=!1;return}var o=(t+"").split(`
3
3
  `);a=Ap(e,i,n,a);for(var s=!1,u={},l=0,f=o.length;l<f;l++)Pp(u,o[l],a),o[l]=u.textLine,s=s||u.isTruncated;r.text=o.join(`
4
4
  `),r.isTruncated=s}function Ap(r,t,e,i){i=i||{};var n=R({},i);e=F(e,"..."),n.maxIterations=F(i.maxIterations,2);var a=n.minChar=F(i.minChar,0),o=n.fontMeasureInfo=ke(t),s=o.asciiCharWidth;n.placeholder=F(i.placeholder,"");for(var u=r=Math.max(0,r-1),l=0;l<a&&u>=s;l++)u-=s;var f=Be(o,e);return f>u&&(e="",f=0),u=r-f,n.ellipsis=e,n.ellipsisWidth=f,n.contentWidth=u,n.containerWidth=r,n}function Pp(r,t,e){var i=e.containerWidth,n=e.contentWidth,a=e.fontMeasureInfo;if(!i){r.textLine="",r.isTruncated=!1;return}var o=Be(a,t);if(o<=i){r.textLine=t,r.isTruncated=!1;return}for(var s=0;;s++){if(o<=n||s>=e.maxIterations){t+=e.ellipsis;break}var u=s===0?A0(t,n,a):o>0?Math.floor(t.length*n/o):0;t=t.substr(0,u),o=Be(a,t)}t===""&&(t=e.placeholder),r.textLine=t,r.isTruncated=!0}function A0(r,t,e){for(var i=0,n=0,a=r.length;n<a&&i<t;n++)i+=dp(e,r.charCodeAt(n));return n}function P0(r,t,e,i){var n=mf(r),a=t.overflow,o=t.padding,s=o?o[1]+o[3]:0,u=o?o[0]+o[2]:0,l=t.font,f=a==="truncate",h=Qo(l),c=F(t.lineHeight,h),v=t.lineOverflow==="truncate",d=!1,m=t.width;m==null&&e!=null&&(m=e-s);var g=t.height;g==null&&i!=null&&(g=i-u);var p;m!=null&&(a==="break"||a==="breakAll")?p=n?Rp(n,t.font,m,a==="breakAll",0).lines:[]:p=n?n.split(`
@@ -1 +1 @@
1
- import{l as O,M as y,b as v,j as T}from"./Trigger-nQYHayuc.js";import{a as s,S as f,m as x,d as w,p as C}from"./_getTag-DnrRH4E6.js";import{i as c}from"./isSymbol-S5WZT7lS.js";function _(n,r){for(var e=-1,i=n==null?0:n.length,t=Array(i);++e<i;)t[e]=r(n[e],e,n);return t}var p=f?f.prototype:void 0,d=p?p.toString:void 0;function S(n){if(typeof n=="string")return n;if(s(n))return _(n,S)+"";if(c(n))return d?d.call(n):"";var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function I(n){return n}function E(n,r,e){switch(e.length){case 0:return n.call(r);case 1:return n.call(r,e[0]);case 2:return n.call(r,e[0],e[1]);case 3:return n.call(r,e[0],e[1],e[2])}return n.apply(r,e)}var M=800,A=16,N=Date.now;function R(n){var r=0,e=0;return function(){var i=N(),t=A-(i-e);if(e=i,t>0){if(++r>=M)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}function z(n){return function(){return n}}var l=(function(){try{var n=x(Object,"defineProperty");return n({},"",{}),n}catch{}})(),$=l?function(n,r){return l(n,"toString",{configurable:!0,enumerable:!1,value:z(r),writable:!0})}:I,F=R($);function H(n,r,e){r=="__proto__"&&l?l(n,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[r]=e}var V=Object.prototype,D=V.hasOwnProperty;function un(n,r,e){var i=n[r];(!(D.call(n,r)&&O(i,e))||e===void 0&&!(r in n))&&H(n,r,e)}var g=Math.max;function K(n,r,e){return r=g(r===void 0?n.length-1:r,0),function(){for(var i=arguments,t=-1,a=g(i.length-r,0),u=Array(a);++t<a;)u[t]=i[r+t];t=-1;for(var o=Array(r+1);++t<r;)o[t]=i[t];return o[r]=e(u),E(n,this,o)}}var U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/;function Z(n,r){if(s(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||c(n)?!0:X.test(n)||!U.test(n)||r!=null&&n in Object(r)}var q="Expected a function";function h(n,r){if(typeof n!="function"||r!=null&&typeof r!="function")throw new TypeError(q);var e=function(){var i=arguments,t=r?r.apply(this,i):i[0],a=e.cache;if(a.has(t))return a.get(t);var u=n.apply(this,i);return e.cache=a.set(t,u)||a,u};return e.cache=new(h.Cache||y),e}h.Cache=y;var G=500;function L(n){var r=h(n,function(i){return e.size===G&&e.clear(),i}),e=r.cache;return r}var B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,J=/\\(\\)?/g,Q=L(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(B,function(e,i,t,a){r.push(t?a.replace(J,"$1"):i||e)}),r});function W(n){return n==null?"":S(n)}function P(n,r){return s(n)?n:Z(n,r)?[n]:Q(W(n))}function b(n){if(typeof n=="string"||c(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function on(n,r){r=P(r,n);for(var e=0,i=r.length;n!=null&&e<i;)n=n[b(r[e++])];return e&&e==i?n:void 0}var m=f?f.isConcatSpreadable:void 0;function Y(n){return s(n)||w(n)||!!(m&&n&&n[m])}function k(n,r,e,i,t){var a=-1,u=n.length;for(e||(e=Y),t||(t=[]);++a<u;){var o=n[a];e(o)?v(t,o):t[t.length]=o}return t}function j(n){var r=n==null?0:n.length;return r?k(n):[]}function sn(n){return F(K(n,void 0,j),n+"")}function nn(n,r){return n!=null&&r in Object(n)}function rn(n,r,e){r=P(r,n);for(var i=-1,t=r.length,a=!1;++i<t;){var u=b(r[i]);if(!(a=n!=null&&e(n,u)))break;n=n[u]}return a||++i!=t?a:(t=n==null?0:n.length,!!t&&C(t)&&T(u,t)&&(s(n)||w(n)))}function fn(n,r){return n!=null&&rn(n,r,nn)}export{un as a,H as b,on as c,Z as d,_ as e,P as f,sn as g,fn as h,I as i,K as o,F as s,b as t};
1
+ import{l as O,M as y,b as v,j as T}from"./Trigger-nWhWYTbU.js";import{a as s,S as f,m as x,d as w,p as C}from"./_getTag-DnrRH4E6.js";import{i as c}from"./isSymbol-S5WZT7lS.js";function _(n,r){for(var e=-1,i=n==null?0:n.length,t=Array(i);++e<i;)t[e]=r(n[e],e,n);return t}var p=f?f.prototype:void 0,d=p?p.toString:void 0;function S(n){if(typeof n=="string")return n;if(s(n))return _(n,S)+"";if(c(n))return d?d.call(n):"";var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function I(n){return n}function E(n,r,e){switch(e.length){case 0:return n.call(r);case 1:return n.call(r,e[0]);case 2:return n.call(r,e[0],e[1]);case 3:return n.call(r,e[0],e[1],e[2])}return n.apply(r,e)}var M=800,A=16,N=Date.now;function R(n){var r=0,e=0;return function(){var i=N(),t=A-(i-e);if(e=i,t>0){if(++r>=M)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}function z(n){return function(){return n}}var l=(function(){try{var n=x(Object,"defineProperty");return n({},"",{}),n}catch{}})(),$=l?function(n,r){return l(n,"toString",{configurable:!0,enumerable:!1,value:z(r),writable:!0})}:I,F=R($);function H(n,r,e){r=="__proto__"&&l?l(n,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[r]=e}var V=Object.prototype,D=V.hasOwnProperty;function un(n,r,e){var i=n[r];(!(D.call(n,r)&&O(i,e))||e===void 0&&!(r in n))&&H(n,r,e)}var g=Math.max;function K(n,r,e){return r=g(r===void 0?n.length-1:r,0),function(){for(var i=arguments,t=-1,a=g(i.length-r,0),u=Array(a);++t<a;)u[t]=i[r+t];t=-1;for(var o=Array(r+1);++t<r;)o[t]=i[t];return o[r]=e(u),E(n,this,o)}}var U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/;function Z(n,r){if(s(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||c(n)?!0:X.test(n)||!U.test(n)||r!=null&&n in Object(r)}var q="Expected a function";function h(n,r){if(typeof n!="function"||r!=null&&typeof r!="function")throw new TypeError(q);var e=function(){var i=arguments,t=r?r.apply(this,i):i[0],a=e.cache;if(a.has(t))return a.get(t);var u=n.apply(this,i);return e.cache=a.set(t,u)||a,u};return e.cache=new(h.Cache||y),e}h.Cache=y;var G=500;function L(n){var r=h(n,function(i){return e.size===G&&e.clear(),i}),e=r.cache;return r}var B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,J=/\\(\\)?/g,Q=L(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(B,function(e,i,t,a){r.push(t?a.replace(J,"$1"):i||e)}),r});function W(n){return n==null?"":S(n)}function P(n,r){return s(n)?n:Z(n,r)?[n]:Q(W(n))}function b(n){if(typeof n=="string"||c(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function on(n,r){r=P(r,n);for(var e=0,i=r.length;n!=null&&e<i;)n=n[b(r[e++])];return e&&e==i?n:void 0}var m=f?f.isConcatSpreadable:void 0;function Y(n){return s(n)||w(n)||!!(m&&n&&n[m])}function k(n,r,e,i,t){var a=-1,u=n.length;for(e||(e=Y),t||(t=[]);++a<u;){var o=n[a];e(o)?v(t,o):t[t.length]=o}return t}function j(n){var r=n==null?0:n.length;return r?k(n):[]}function sn(n){return F(K(n,void 0,j),n+"")}function nn(n,r){return n!=null&&r in Object(n)}function rn(n,r,e){r=P(r,n);for(var i=-1,t=r.length,a=!1;++i<t;){var u=b(r[i]);if(!(a=n!=null&&e(n,u)))break;n=n[u]}return a||++i!=t?a:(t=n==null?0:n.length,!!t&&C(t)&&T(u,t)&&(s(n)||w(n)))}function fn(n,r){return n!=null&&rn(n,r,nn)}export{un as a,H as b,on as c,Z as d,_ as e,P as f,sn as g,fn as h,I as i,K as o,F as s,b as t};
@@ -1,4 +1,4 @@
1
- import{i as xa,r as E,h as J,n as Ea,g as La,a as Da,d as Ba,c as i}from"./vendor-BvqAck49.js";function s(r,t){Na(r)&&(r="100%");var e=Fa(r);return r=t===360?r:Math.min(t,Math.max(0,parseFloat(r))),e&&(r=parseInt(String(r*t),10)/100),Math.abs(r-t)<1e-6?1:(t===360?r=(r<0?r%t+t:r%t)/parseFloat(String(t)):r=r%t/parseFloat(String(t)),r)}function $(r){return Math.min(1,Math.max(0,r))}function Na(r){return typeof r=="string"&&r.indexOf(".")!==-1&&parseFloat(r)===1}function Fa(r){return typeof r=="string"&&r.indexOf("%")!==-1}function Tr(r){return r=parseFloat(r),(isNaN(r)||r<0||r>1)&&(r=1),r}function M(r){return r<=1?"".concat(Number(r)*100,"%"):r}function O(r){return r.length===1?"0"+r:String(r)}function Ta(r,t,e){return{r:s(r,255)*255,g:s(t,255)*255,b:s(e,255)*255}}function X(r,t,e){r=s(r,255),t=s(t,255),e=s(e,255);var n=Math.max(r,t,e),a=Math.min(r,t,e),l=0,u=0,o=(n+a)/2;if(n===a)u=0,l=0;else{var f=n-a;switch(u=o>.5?f/(2-n-a):f/(n+a),n){case r:l=(t-e)/f+(t<e?6:0);break;case t:l=(e-r)/f+2;break;case e:l=(r-t)/f+4;break}l/=6}return{h:l,s:u,l:o}}function L(r,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?r+(t-r)*(6*e):e<1/2?t:e<2/3?r+(t-r)*(2/3-e)*6:r}function Ra(r,t,e){var n,a,l;if(r=s(r,360),t=s(t,100),e=s(e,100),t===0)a=e,l=e,n=e;else{var u=e<.5?e*(1+t):e+t-e*t,o=2*e-u;n=L(o,u,r+1/3),a=L(o,u,r),l=L(o,u,r-1/3)}return{r:n*255,g:a*255,b:l*255}}function T(r,t,e){r=s(r,255),t=s(t,255),e=s(e,255);var n=Math.max(r,t,e),a=Math.min(r,t,e),l=0,u=n,o=n-a,f=n===0?0:o/n;if(n===a)l=0;else{switch(n){case r:l=(t-e)/o+(t<e?6:0);break;case t:l=(e-r)/o+2;break;case e:l=(r-t)/o+4;break}l/=6}return{h:l,s:f,v:u}}function Ia(r,t,e){r=s(r,360)*6,t=s(t,100),e=s(e,100);var n=Math.floor(r),a=r-n,l=e*(1-t),u=e*(1-a*t),o=e*(1-(1-a)*t),f=n%6,p=[e,u,l,l,o,e][f],y=[o,e,e,u,l,l][f],P=[l,l,o,e,e,u][f];return{r:p*255,g:y*255,b:P*255}}function R(r,t,e,n){var a=[O(Math.round(r).toString(16)),O(Math.round(t).toString(16)),O(Math.round(e).toString(16))];return n&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Ua(r,t,e,n,a){var l=[O(Math.round(r).toString(16)),O(Math.round(t).toString(16)),O(Math.round(e).toString(16)),O(qa(n))];return a&&l[0].startsWith(l[0].charAt(1))&&l[1].startsWith(l[1].charAt(1))&&l[2].startsWith(l[2].charAt(1))&&l[3].startsWith(l[3].charAt(1))?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0)+l[3].charAt(0):l.join("")}function qa(r){return Math.round(parseFloat(r)*255).toString(16)}function k(r){return b(r)/255}function b(r){return parseInt(r,16)}function Wa(r){return{r:r>>16,g:(r&65280)>>8,b:r&255}}var I={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function S(r){var t={r:0,g:0,b:0},e=1,n=null,a=null,l=null,u=!1,o=!1;return typeof r=="string"&&(r=Ya(r)),typeof r=="object"&&(m(r.r)&&m(r.g)&&m(r.b)?(t=Ta(r.r,r.g,r.b),u=!0,o=String(r.r).substr(-1)==="%"?"prgb":"rgb"):m(r.h)&&m(r.s)&&m(r.v)?(n=M(r.s),a=M(r.v),t=Ia(r.h,n,a),u=!0,o="hsv"):m(r.h)&&m(r.s)&&m(r.l)&&(n=M(r.s),l=M(r.l),t=Ra(r.h,n,l),u=!0,o="hsl"),Object.prototype.hasOwnProperty.call(r,"a")&&(e=r.a)),e=Tr(e),{ok:u,format:r.format||o,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:e}}var Qa="[-\\+]?\\d+%?",Ga="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(Ga,")|(?:").concat(Qa,")"),D="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),B="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),v={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ya(r){if(r=r.trim().toLowerCase(),r.length===0)return!1;var t=!1;if(I[r])r=I[r],t=!0;else if(r==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var e=v.rgb.exec(r);return e?{r:e[1],g:e[2],b:e[3]}:(e=v.rgba.exec(r),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=v.hsl.exec(r),e?{h:e[1],s:e[2],l:e[3]}:(e=v.hsla.exec(r),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=v.hsv.exec(r),e?{h:e[1],s:e[2],v:e[3]}:(e=v.hsva.exec(r),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=v.hex8.exec(r),e?{r:b(e[1]),g:b(e[2]),b:b(e[3]),a:k(e[4]),format:t?"name":"hex8"}:(e=v.hex6.exec(r),e?{r:b(e[1]),g:b(e[2]),b:b(e[3]),format:t?"name":"hex"}:(e=v.hex4.exec(r),e?{r:b(e[1]+e[1]),g:b(e[2]+e[2]),b:b(e[3]+e[3]),a:k(e[4]+e[4]),format:t?"name":"hex8"}:(e=v.hex3.exec(r),e?{r:b(e[1]+e[1]),g:b(e[2]+e[2]),b:b(e[3]+e[3]),format:t?"name":"hex"}:!1)))))))))}function m(r){return!!v.CSS_UNIT.exec(String(r))}var U6=(function(){function r(t,e){t===void 0&&(t=""),e===void 0&&(e={});var n;if(t instanceof r)return t;typeof t=="number"&&(t=Wa(t)),this.originalInput=t;var a=S(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=e.format)!==null&&n!==void 0?n:a.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return r.prototype.isDark=function(){return this.getBrightness()<128},r.prototype.isLight=function(){return!this.isDark()},r.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},r.prototype.getLuminance=function(){var t=this.toRgb(),e,n,a,l=t.r/255,u=t.g/255,o=t.b/255;return l<=.03928?e=l/12.92:e=Math.pow((l+.055)/1.055,2.4),u<=.03928?n=u/12.92:n=Math.pow((u+.055)/1.055,2.4),o<=.03928?a=o/12.92:a=Math.pow((o+.055)/1.055,2.4),.2126*e+.7152*n+.0722*a},r.prototype.getAlpha=function(){return this.a},r.prototype.setAlpha=function(t){return this.a=Tr(t),this.roundA=Math.round(100*this.a)/100,this},r.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},r.prototype.toHsv=function(){var t=T(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},r.prototype.toHsvString=function(){var t=T(this.r,this.g,this.b),e=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(e,", ").concat(n,"%, ").concat(a,"%)"):"hsva(".concat(e,", ").concat(n,"%, ").concat(a,"%, ").concat(this.roundA,")")},r.prototype.toHsl=function(){var t=X(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},r.prototype.toHslString=function(){var t=X(this.r,this.g,this.b),e=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(e,", ").concat(n,"%, ").concat(a,"%)"):"hsla(".concat(e,", ").concat(n,"%, ").concat(a,"%, ").concat(this.roundA,")")},r.prototype.toHex=function(t){return t===void 0&&(t=!1),R(this.r,this.g,this.b,t)},r.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},r.prototype.toHex8=function(t){return t===void 0&&(t=!1),Ua(this.r,this.g,this.b,this.a,t)},r.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},r.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},r.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},r.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(e,", ").concat(n,")"):"rgba(".concat(t,", ").concat(e,", ").concat(n,", ").concat(this.roundA,")")},r.prototype.toPercentageRgb=function(){var t=function(e){return"".concat(Math.round(s(e,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},r.prototype.toPercentageRgbString=function(){var t=function(e){return Math.round(s(e,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},r.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+R(this.r,this.g,this.b,!1),e=0,n=Object.entries(I);e<n.length;e++){var a=n[e],l=a[0],u=a[1];if(t===u)return l}return!1},r.prototype.toString=function(t){var e=!!t;t=t??this.format;var n=!1,a=this.a<1&&this.a>=0,l=!e&&a&&(t.startsWith("hex")||t==="name");return l?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},r.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},r.prototype.clone=function(){return new r(this.toString())},r.prototype.lighten=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.l+=t/100,e.l=$(e.l),new r(e)},r.prototype.brighten=function(t){t===void 0&&(t=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(t/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(t/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(t/100)))),new r(e)},r.prototype.darken=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.l-=t/100,e.l=$(e.l),new r(e)},r.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},r.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},r.prototype.desaturate=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.s-=t/100,e.s=$(e.s),new r(e)},r.prototype.saturate=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.s+=t/100,e.s=$(e.s),new r(e)},r.prototype.greyscale=function(){return this.desaturate(100)},r.prototype.spin=function(t){var e=this.toHsl(),n=(e.h+t)%360;return e.h=n<0?360+n:n,new r(e)},r.prototype.mix=function(t,e){e===void 0&&(e=50);var n=this.toRgb(),a=new r(t).toRgb(),l=e/100,u={r:(a.r-n.r)*l+n.r,g:(a.g-n.g)*l+n.g,b:(a.b-n.b)*l+n.b,a:(a.a-n.a)*l+n.a};return new r(u)},r.prototype.analogous=function(t,e){t===void 0&&(t=6),e===void 0&&(e=30);var n=this.toHsl(),a=360/e,l=[this];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,l.push(new r(n));return l},r.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new r(t)},r.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var e=this.toHsv(),n=e.h,a=e.s,l=e.v,u=[],o=1/t;t--;)u.push(new r({h:n,s:a,v:l})),l=(l+o)%1;return u},r.prototype.splitcomplement=function(){var t=this.toHsl(),e=t.h;return[this,new r({h:(e+72)%360,s:t.s,l:t.l}),new r({h:(e+216)%360,s:t.s,l:t.l})]},r.prototype.onBackground=function(t){var e=this.toRgb(),n=new r(t).toRgb(),a=e.a+n.a*(1-e.a);return new r({r:(e.r*e.a+n.r*n.a*(1-e.a))/a,g:(e.g*e.a+n.g*n.a*(1-e.a))/a,b:(e.b*e.a+n.b*n.a*(1-e.a))/a,a})},r.prototype.triad=function(){return this.polyad(3)},r.prototype.tetrad=function(){return this.polyad(4)},r.prototype.polyad=function(t){for(var e=this.toHsl(),n=e.h,a=[this],l=360/t,u=1;u<t;u++)a.push(new r({h:(n+u*l)%360,s:e.s,l:e.l}));return a},r.prototype.equals=function(t){return this.toRgbString()===new r(t).toRgbString()},r})(),H=2,K=.16,Za=.05,Ja=.05,Xa=.15,Rr=5,Ir=4,ka=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function tt(r){var t=r.r,e=r.g,n=r.b,a=T(t,e,n);return{h:a.h*360,s:a.s,v:a.v}}function C(r){var t=r.r,e=r.g,n=r.b;return"#".concat(R(t,e,n,!1))}function Ka(r,t,e){var n=e/100,a={r:(t.r-r.r)*n+r.r,g:(t.g-r.g)*n+r.g,b:(t.b-r.b)*n+r.b};return a}function et(r,t,e){var n;return Math.round(r.h)>=60&&Math.round(r.h)<=240?n=e?Math.round(r.h)-H*t:Math.round(r.h)+H*t:n=e?Math.round(r.h)+H*t:Math.round(r.h)-H*t,n<0?n+=360:n>=360&&(n-=360),n}function rt(r,t,e){if(r.h===0&&r.s===0)return r.s;var n;return e?n=r.s-K*t:t===Ir?n=r.s+K:n=r.s+Za*t,n>1&&(n=1),e&&t===Rr&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function nt(r,t,e){var n;return e?n=r.v+Ja*t:n=r.v-Xa*t,n>1&&(n=1),Number(n.toFixed(2))}function U(r){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],n=S(r),a=Rr;a>0;a-=1){var l=tt(n),u=C(S({h:et(l,a,!0),s:rt(l,a,!0),v:nt(l,a,!0)}));e.push(u)}e.push(C(n));for(var o=1;o<=Ir;o+=1){var f=tt(n),p=C(S({h:et(f,o),s:rt(f,o),v:nt(f,o)}));e.push(p)}return t.theme==="dark"?ka.map(function(y){var P=y.index,A=y.opacity,z=C(Ka(S(t.backgroundColor||"#141414"),S(e[P]),A*100));return z}):e}var N={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},d={},F={};Object.keys(N).forEach(function(r){d[r]=U(N[r]),d[r].primary=d[r][5],F[r]=U(N[r],{theme:"dark",backgroundColor:"#141414"}),F[r].primary=F[r][5]});d.red;d.volcano;var q6=d.gold;d.orange;d.yellow;d.lime;d.green;d.cyan;var t2=d.blue;d.geekblue;d.purple;d.magenta;d.grey;var e2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},r2=Symbol("iconContext"),Ur=function(){return xa(r2,{prefixCls:E("anticon"),rootClassName:E(""),csp:E()})};function Q(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function n2(r,t){return r&&r.contains?r.contains(t):!1}var at="data-vc-order",a2="vc-icon-key",q=new Map;function qr(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=r.mark;return t?t.startsWith("data-")?t:"data-".concat(t):a2}function G(r){if(r.attachTo)return r.attachTo;var t=document.querySelector("head");return t||document.body}function c2(r){return r==="queue"?"prependQueue":r?"prepend":"append"}function Wr(r){return Array.from((q.get(r)||r).children).filter(function(t){return t.tagName==="STYLE"})}function Qr(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Q())return null;var e=t.csp,n=t.prepend,a=document.createElement("style");a.setAttribute(at,c2(n)),e&&e.nonce&&(a.nonce=e.nonce),a.innerHTML=r;var l=G(t),u=l.firstChild;if(n){if(n==="queue"){var o=Wr(l).filter(function(f){return["prepend","prependQueue"].includes(f.getAttribute(at))});if(o.length)return l.insertBefore(a,o[o.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function i2(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=G(t);return Wr(e).find(function(n){return n.getAttribute(qr(t))===r})}function l2(r,t){var e=q.get(r);if(!e||!n2(document,e)){var n=Qr("",t),a=n.parentNode;q.set(r,a),r.removeChild(n)}}function u2(r,t){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=G(e);l2(n,e);var a=i2(t,e);if(a)return e.csp&&e.csp.nonce&&a.nonce!==e.csp.nonce&&(a.nonce=e.csp.nonce),a.innerHTML!==r&&(a.innerHTML=r),a;var l=Qr(r,e);return l.setAttribute(qr(e),t),l}function ct(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.forEach(function(a){o2(r,a,e[a])})}return r}function o2(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function f2(r,t){!r&&console!==void 0&&console.error("Warning: ".concat(t))}function s2(r,t){f2(r,"[@ant-design/icons-vue] ".concat(t))}function it(r){return typeof r=="object"&&typeof r.name=="string"&&typeof r.theme=="string"&&(typeof r.icon=="object"||typeof r.icon=="function")}function W(r,t,e){return e?J(r.tag,ct({key:t},e,r.attrs),(r.children||[]).map(function(n,a){return W(n,"".concat(t,"-").concat(r.tag,"-").concat(a))})):J(r.tag,ct({key:t},r.attrs),(r.children||[]).map(function(n,a){return W(n,"".concat(t,"-").concat(r.tag,"-").concat(a))}))}function Gr(r){return U(r)[0]}function Yr(r){return r?Array.isArray(r)?r:[r]:[]}var d2=`
1
+ import{i as xa,r as E,h as J,n as Ea,g as La,a as Da,d as Ba,c as i}from"./vendor-BMxUs6UX.js";function s(r,t){Na(r)&&(r="100%");var e=Fa(r);return r=t===360?r:Math.min(t,Math.max(0,parseFloat(r))),e&&(r=parseInt(String(r*t),10)/100),Math.abs(r-t)<1e-6?1:(t===360?r=(r<0?r%t+t:r%t)/parseFloat(String(t)):r=r%t/parseFloat(String(t)),r)}function $(r){return Math.min(1,Math.max(0,r))}function Na(r){return typeof r=="string"&&r.indexOf(".")!==-1&&parseFloat(r)===1}function Fa(r){return typeof r=="string"&&r.indexOf("%")!==-1}function Tr(r){return r=parseFloat(r),(isNaN(r)||r<0||r>1)&&(r=1),r}function M(r){return r<=1?"".concat(Number(r)*100,"%"):r}function O(r){return r.length===1?"0"+r:String(r)}function Ta(r,t,e){return{r:s(r,255)*255,g:s(t,255)*255,b:s(e,255)*255}}function X(r,t,e){r=s(r,255),t=s(t,255),e=s(e,255);var n=Math.max(r,t,e),a=Math.min(r,t,e),l=0,u=0,o=(n+a)/2;if(n===a)u=0,l=0;else{var f=n-a;switch(u=o>.5?f/(2-n-a):f/(n+a),n){case r:l=(t-e)/f+(t<e?6:0);break;case t:l=(e-r)/f+2;break;case e:l=(r-t)/f+4;break}l/=6}return{h:l,s:u,l:o}}function L(r,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?r+(t-r)*(6*e):e<1/2?t:e<2/3?r+(t-r)*(2/3-e)*6:r}function Ra(r,t,e){var n,a,l;if(r=s(r,360),t=s(t,100),e=s(e,100),t===0)a=e,l=e,n=e;else{var u=e<.5?e*(1+t):e+t-e*t,o=2*e-u;n=L(o,u,r+1/3),a=L(o,u,r),l=L(o,u,r-1/3)}return{r:n*255,g:a*255,b:l*255}}function T(r,t,e){r=s(r,255),t=s(t,255),e=s(e,255);var n=Math.max(r,t,e),a=Math.min(r,t,e),l=0,u=n,o=n-a,f=n===0?0:o/n;if(n===a)l=0;else{switch(n){case r:l=(t-e)/o+(t<e?6:0);break;case t:l=(e-r)/o+2;break;case e:l=(r-t)/o+4;break}l/=6}return{h:l,s:f,v:u}}function Ia(r,t,e){r=s(r,360)*6,t=s(t,100),e=s(e,100);var n=Math.floor(r),a=r-n,l=e*(1-t),u=e*(1-a*t),o=e*(1-(1-a)*t),f=n%6,p=[e,u,l,l,o,e][f],y=[o,e,e,u,l,l][f],P=[l,l,o,e,e,u][f];return{r:p*255,g:y*255,b:P*255}}function R(r,t,e,n){var a=[O(Math.round(r).toString(16)),O(Math.round(t).toString(16)),O(Math.round(e).toString(16))];return n&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Ua(r,t,e,n,a){var l=[O(Math.round(r).toString(16)),O(Math.round(t).toString(16)),O(Math.round(e).toString(16)),O(qa(n))];return a&&l[0].startsWith(l[0].charAt(1))&&l[1].startsWith(l[1].charAt(1))&&l[2].startsWith(l[2].charAt(1))&&l[3].startsWith(l[3].charAt(1))?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0)+l[3].charAt(0):l.join("")}function qa(r){return Math.round(parseFloat(r)*255).toString(16)}function k(r){return b(r)/255}function b(r){return parseInt(r,16)}function Wa(r){return{r:r>>16,g:(r&65280)>>8,b:r&255}}var I={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function S(r){var t={r:0,g:0,b:0},e=1,n=null,a=null,l=null,u=!1,o=!1;return typeof r=="string"&&(r=Ya(r)),typeof r=="object"&&(m(r.r)&&m(r.g)&&m(r.b)?(t=Ta(r.r,r.g,r.b),u=!0,o=String(r.r).substr(-1)==="%"?"prgb":"rgb"):m(r.h)&&m(r.s)&&m(r.v)?(n=M(r.s),a=M(r.v),t=Ia(r.h,n,a),u=!0,o="hsv"):m(r.h)&&m(r.s)&&m(r.l)&&(n=M(r.s),l=M(r.l),t=Ra(r.h,n,l),u=!0,o="hsl"),Object.prototype.hasOwnProperty.call(r,"a")&&(e=r.a)),e=Tr(e),{ok:u,format:r.format||o,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:e}}var Qa="[-\\+]?\\d+%?",Ga="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(Ga,")|(?:").concat(Qa,")"),D="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),B="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),v={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ya(r){if(r=r.trim().toLowerCase(),r.length===0)return!1;var t=!1;if(I[r])r=I[r],t=!0;else if(r==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var e=v.rgb.exec(r);return e?{r:e[1],g:e[2],b:e[3]}:(e=v.rgba.exec(r),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=v.hsl.exec(r),e?{h:e[1],s:e[2],l:e[3]}:(e=v.hsla.exec(r),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=v.hsv.exec(r),e?{h:e[1],s:e[2],v:e[3]}:(e=v.hsva.exec(r),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=v.hex8.exec(r),e?{r:b(e[1]),g:b(e[2]),b:b(e[3]),a:k(e[4]),format:t?"name":"hex8"}:(e=v.hex6.exec(r),e?{r:b(e[1]),g:b(e[2]),b:b(e[3]),format:t?"name":"hex"}:(e=v.hex4.exec(r),e?{r:b(e[1]+e[1]),g:b(e[2]+e[2]),b:b(e[3]+e[3]),a:k(e[4]+e[4]),format:t?"name":"hex8"}:(e=v.hex3.exec(r),e?{r:b(e[1]+e[1]),g:b(e[2]+e[2]),b:b(e[3]+e[3]),format:t?"name":"hex"}:!1)))))))))}function m(r){return!!v.CSS_UNIT.exec(String(r))}var U6=(function(){function r(t,e){t===void 0&&(t=""),e===void 0&&(e={});var n;if(t instanceof r)return t;typeof t=="number"&&(t=Wa(t)),this.originalInput=t;var a=S(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=e.format)!==null&&n!==void 0?n:a.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return r.prototype.isDark=function(){return this.getBrightness()<128},r.prototype.isLight=function(){return!this.isDark()},r.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},r.prototype.getLuminance=function(){var t=this.toRgb(),e,n,a,l=t.r/255,u=t.g/255,o=t.b/255;return l<=.03928?e=l/12.92:e=Math.pow((l+.055)/1.055,2.4),u<=.03928?n=u/12.92:n=Math.pow((u+.055)/1.055,2.4),o<=.03928?a=o/12.92:a=Math.pow((o+.055)/1.055,2.4),.2126*e+.7152*n+.0722*a},r.prototype.getAlpha=function(){return this.a},r.prototype.setAlpha=function(t){return this.a=Tr(t),this.roundA=Math.round(100*this.a)/100,this},r.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},r.prototype.toHsv=function(){var t=T(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},r.prototype.toHsvString=function(){var t=T(this.r,this.g,this.b),e=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(e,", ").concat(n,"%, ").concat(a,"%)"):"hsva(".concat(e,", ").concat(n,"%, ").concat(a,"%, ").concat(this.roundA,")")},r.prototype.toHsl=function(){var t=X(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},r.prototype.toHslString=function(){var t=X(this.r,this.g,this.b),e=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(e,", ").concat(n,"%, ").concat(a,"%)"):"hsla(".concat(e,", ").concat(n,"%, ").concat(a,"%, ").concat(this.roundA,")")},r.prototype.toHex=function(t){return t===void 0&&(t=!1),R(this.r,this.g,this.b,t)},r.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},r.prototype.toHex8=function(t){return t===void 0&&(t=!1),Ua(this.r,this.g,this.b,this.a,t)},r.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},r.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},r.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},r.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(e,", ").concat(n,")"):"rgba(".concat(t,", ").concat(e,", ").concat(n,", ").concat(this.roundA,")")},r.prototype.toPercentageRgb=function(){var t=function(e){return"".concat(Math.round(s(e,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},r.prototype.toPercentageRgbString=function(){var t=function(e){return Math.round(s(e,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},r.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+R(this.r,this.g,this.b,!1),e=0,n=Object.entries(I);e<n.length;e++){var a=n[e],l=a[0],u=a[1];if(t===u)return l}return!1},r.prototype.toString=function(t){var e=!!t;t=t??this.format;var n=!1,a=this.a<1&&this.a>=0,l=!e&&a&&(t.startsWith("hex")||t==="name");return l?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},r.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},r.prototype.clone=function(){return new r(this.toString())},r.prototype.lighten=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.l+=t/100,e.l=$(e.l),new r(e)},r.prototype.brighten=function(t){t===void 0&&(t=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(t/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(t/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(t/100)))),new r(e)},r.prototype.darken=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.l-=t/100,e.l=$(e.l),new r(e)},r.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},r.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},r.prototype.desaturate=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.s-=t/100,e.s=$(e.s),new r(e)},r.prototype.saturate=function(t){t===void 0&&(t=10);var e=this.toHsl();return e.s+=t/100,e.s=$(e.s),new r(e)},r.prototype.greyscale=function(){return this.desaturate(100)},r.prototype.spin=function(t){var e=this.toHsl(),n=(e.h+t)%360;return e.h=n<0?360+n:n,new r(e)},r.prototype.mix=function(t,e){e===void 0&&(e=50);var n=this.toRgb(),a=new r(t).toRgb(),l=e/100,u={r:(a.r-n.r)*l+n.r,g:(a.g-n.g)*l+n.g,b:(a.b-n.b)*l+n.b,a:(a.a-n.a)*l+n.a};return new r(u)},r.prototype.analogous=function(t,e){t===void 0&&(t=6),e===void 0&&(e=30);var n=this.toHsl(),a=360/e,l=[this];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,l.push(new r(n));return l},r.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new r(t)},r.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var e=this.toHsv(),n=e.h,a=e.s,l=e.v,u=[],o=1/t;t--;)u.push(new r({h:n,s:a,v:l})),l=(l+o)%1;return u},r.prototype.splitcomplement=function(){var t=this.toHsl(),e=t.h;return[this,new r({h:(e+72)%360,s:t.s,l:t.l}),new r({h:(e+216)%360,s:t.s,l:t.l})]},r.prototype.onBackground=function(t){var e=this.toRgb(),n=new r(t).toRgb(),a=e.a+n.a*(1-e.a);return new r({r:(e.r*e.a+n.r*n.a*(1-e.a))/a,g:(e.g*e.a+n.g*n.a*(1-e.a))/a,b:(e.b*e.a+n.b*n.a*(1-e.a))/a,a})},r.prototype.triad=function(){return this.polyad(3)},r.prototype.tetrad=function(){return this.polyad(4)},r.prototype.polyad=function(t){for(var e=this.toHsl(),n=e.h,a=[this],l=360/t,u=1;u<t;u++)a.push(new r({h:(n+u*l)%360,s:e.s,l:e.l}));return a},r.prototype.equals=function(t){return this.toRgbString()===new r(t).toRgbString()},r})(),H=2,K=.16,Za=.05,Ja=.05,Xa=.15,Rr=5,Ir=4,ka=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function tt(r){var t=r.r,e=r.g,n=r.b,a=T(t,e,n);return{h:a.h*360,s:a.s,v:a.v}}function C(r){var t=r.r,e=r.g,n=r.b;return"#".concat(R(t,e,n,!1))}function Ka(r,t,e){var n=e/100,a={r:(t.r-r.r)*n+r.r,g:(t.g-r.g)*n+r.g,b:(t.b-r.b)*n+r.b};return a}function et(r,t,e){var n;return Math.round(r.h)>=60&&Math.round(r.h)<=240?n=e?Math.round(r.h)-H*t:Math.round(r.h)+H*t:n=e?Math.round(r.h)+H*t:Math.round(r.h)-H*t,n<0?n+=360:n>=360&&(n-=360),n}function rt(r,t,e){if(r.h===0&&r.s===0)return r.s;var n;return e?n=r.s-K*t:t===Ir?n=r.s+K:n=r.s+Za*t,n>1&&(n=1),e&&t===Rr&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function nt(r,t,e){var n;return e?n=r.v+Ja*t:n=r.v-Xa*t,n>1&&(n=1),Number(n.toFixed(2))}function U(r){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],n=S(r),a=Rr;a>0;a-=1){var l=tt(n),u=C(S({h:et(l,a,!0),s:rt(l,a,!0),v:nt(l,a,!0)}));e.push(u)}e.push(C(n));for(var o=1;o<=Ir;o+=1){var f=tt(n),p=C(S({h:et(f,o),s:rt(f,o),v:nt(f,o)}));e.push(p)}return t.theme==="dark"?ka.map(function(y){var P=y.index,A=y.opacity,z=C(Ka(S(t.backgroundColor||"#141414"),S(e[P]),A*100));return z}):e}var N={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},d={},F={};Object.keys(N).forEach(function(r){d[r]=U(N[r]),d[r].primary=d[r][5],F[r]=U(N[r],{theme:"dark",backgroundColor:"#141414"}),F[r].primary=F[r][5]});d.red;d.volcano;var q6=d.gold;d.orange;d.yellow;d.lime;d.green;d.cyan;var t2=d.blue;d.geekblue;d.purple;d.magenta;d.grey;var e2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},r2=Symbol("iconContext"),Ur=function(){return xa(r2,{prefixCls:E("anticon"),rootClassName:E(""),csp:E()})};function Q(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function n2(r,t){return r&&r.contains?r.contains(t):!1}var at="data-vc-order",a2="vc-icon-key",q=new Map;function qr(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=r.mark;return t?t.startsWith("data-")?t:"data-".concat(t):a2}function G(r){if(r.attachTo)return r.attachTo;var t=document.querySelector("head");return t||document.body}function c2(r){return r==="queue"?"prependQueue":r?"prepend":"append"}function Wr(r){return Array.from((q.get(r)||r).children).filter(function(t){return t.tagName==="STYLE"})}function Qr(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Q())return null;var e=t.csp,n=t.prepend,a=document.createElement("style");a.setAttribute(at,c2(n)),e&&e.nonce&&(a.nonce=e.nonce),a.innerHTML=r;var l=G(t),u=l.firstChild;if(n){if(n==="queue"){var o=Wr(l).filter(function(f){return["prepend","prependQueue"].includes(f.getAttribute(at))});if(o.length)return l.insertBefore(a,o[o.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function i2(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=G(t);return Wr(e).find(function(n){return n.getAttribute(qr(t))===r})}function l2(r,t){var e=q.get(r);if(!e||!n2(document,e)){var n=Qr("",t),a=n.parentNode;q.set(r,a),r.removeChild(n)}}function u2(r,t){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=G(e);l2(n,e);var a=i2(t,e);if(a)return e.csp&&e.csp.nonce&&a.nonce!==e.csp.nonce&&(a.nonce=e.csp.nonce),a.innerHTML!==r&&(a.innerHTML=r),a;var l=Qr(r,e);return l.setAttribute(qr(e),t),l}function ct(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.forEach(function(a){o2(r,a,e[a])})}return r}function o2(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function f2(r,t){!r&&console!==void 0&&console.error("Warning: ".concat(t))}function s2(r,t){f2(r,"[@ant-design/icons-vue] ".concat(t))}function it(r){return typeof r=="object"&&typeof r.name=="string"&&typeof r.theme=="string"&&(typeof r.icon=="object"||typeof r.icon=="function")}function W(r,t,e){return e?J(r.tag,ct({key:t},e,r.attrs),(r.children||[]).map(function(n,a){return W(n,"".concat(t,"-").concat(r.tag,"-").concat(a))})):J(r.tag,ct({key:t},r.attrs),(r.children||[]).map(function(n,a){return W(n,"".concat(t,"-").concat(r.tag,"-").concat(a))}))}function Gr(r){return U(r)[0]}function Yr(r){return r?Array.isArray(r)?r:[r]:[]}var d2=`
2
2
  .anticon {
3
3
  display: inline-block;
4
4
  color: inherit;