@deep-eye/core 1.3.41 → 1.3.42

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 (142) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{UTIF-CHghZ-lP.js → UTIF-BuCfE2d8.js} +1 -1
  3. package/dist/{UTIF-Ba2kW3Aa.cjs → UTIF-ypEB8iRc.cjs} +1 -1
  4. package/dist/{___vite-browser-external_commonjs-proxy-4W9NpFji.cjs → ___vite-browser-external_commonjs-proxy-CXuBMgnD.cjs} +1 -1
  5. package/dist/{___vite-browser-external_commonjs-proxy-C0C1nUrz.js → ___vite-browser-external_commonjs-proxy-DTQx4REu.js} +1 -1
  6. package/dist/{abnfDiagram-VCTEODGH-F-RRkCny.cjs → abnfDiagram-VCTEODGH-DflXQYOO.cjs} +1 -1
  7. package/dist/{abnfDiagram-VCTEODGH-CoUGiF1L.js → abnfDiagram-VCTEODGH-DoKwEgOY.js} +3 -3
  8. package/dist/{aiden0z-pptx-renderer.es-4P7ou7B9.cjs → aiden0z-pptx-renderer.es-BKsbF_QV.cjs} +1 -1
  9. package/dist/{aiden0z-pptx-renderer.es-B_sD-OCt.js → aiden0z-pptx-renderer.es-BOuOSWLf.js} +1 -1
  10. package/dist/{architectureDiagram-5GKGNRK7-CDIz4PRs.js → architectureDiagram-5GKGNRK7-DM8b0W1o.js} +3 -3
  11. package/dist/{architectureDiagram-5GKGNRK7-BW05415u.cjs → architectureDiagram-5GKGNRK7-DTSNN-c-.cjs} +1 -1
  12. package/dist/{blockDiagram-I7D4REHJ-CtzSgArW.cjs → blockDiagram-I7D4REHJ-BX1SC0ZK.cjs} +1 -1
  13. package/dist/{blockDiagram-I7D4REHJ-D_ZwEUTC.js → blockDiagram-I7D4REHJ-Cv80Dj3W.js} +3 -3
  14. package/dist/{c4Diagram-7LVT6UL2-yQrW4Atf.cjs → c4Diagram-7LVT6UL2-BWybd8Je.cjs} +1 -1
  15. package/dist/{c4Diagram-7LVT6UL2-9hsbPBqM.js → c4Diagram-7LVT6UL2-Cr3KglMV.js} +2 -2
  16. package/dist/{channel-BKpZF4Sk.cjs → channel-8TCrd_Rn.cjs} +1 -1
  17. package/dist/{channel-J4irjU8w.js → channel-Ck_ofUQ5.js} +1 -1
  18. package/dist/{chunk-2Q5K7J3B-KAcSK2vt.js → chunk-2Q5K7J3B-CerbT96J.js} +1 -1
  19. package/dist/{chunk-2Q5K7J3B-RUPn64dQ.cjs → chunk-2Q5K7J3B-WKhylYk0.cjs} +1 -1
  20. package/dist/{chunk-5VM5RSS4-H97ko7S0.cjs → chunk-5VM5RSS4-C0tioZqi.cjs} +1 -1
  21. package/dist/{chunk-5VM5RSS4-CAUtwO_a.js → chunk-5VM5RSS4-_PSeybro.js} +1 -1
  22. package/dist/{chunk-F27PBJKO-0C0illZa.cjs → chunk-F27PBJKO-D9TAq4Q2.cjs} +1 -1
  23. package/dist/{chunk-F27PBJKO-DrIyit6C.js → chunk-F27PBJKO-w8RMDVLq.js} +1 -1
  24. package/dist/{chunk-IMKFNOWR-DcEEU5Xv.js → chunk-IMKFNOWR-CLO7ZQpQ.js} +5 -5
  25. package/dist/{chunk-IMKFNOWR-2ij2TBND.cjs → chunk-IMKFNOWR-tPGydHQQ.cjs} +1 -1
  26. package/dist/{chunk-JWPE2WC7-CqoXHHTD.js → chunk-JWPE2WC7-BJNFRNmu.js} +1 -1
  27. package/dist/{chunk-JWPE2WC7-C2pEJElF.cjs → chunk-JWPE2WC7-Oa66kxBg.cjs} +1 -1
  28. package/dist/{chunk-POPQ4Y6H-D5_9ytZA.js → chunk-POPQ4Y6H-Bj5QLyuu.js} +1 -1
  29. package/dist/{chunk-POPQ4Y6H-DwnW_x6j.cjs → chunk-POPQ4Y6H-C9qkfYxy.cjs} +1 -1
  30. package/dist/{chunk-SHT3W25Y-GbWbtx1Q.cjs → chunk-SHT3W25Y-DNKeKwEl.cjs} +1 -1
  31. package/dist/{chunk-SHT3W25Y-BKYLZ5S5.js → chunk-SHT3W25Y-zpLosIHh.js} +7 -7
  32. package/dist/{chunk-SVP7TREG-wCMx5Rfs.cjs → chunk-SVP7TREG--zPUNCVJ.cjs} +1 -1
  33. package/dist/{chunk-SVP7TREG-CTyHEvhD.js → chunk-SVP7TREG-C961jhqc.js} +1 -1
  34. package/dist/{chunk-TICWLB2K-DXrZSTjQ.js → chunk-TICWLB2K-BCTsVDcq.js} +6 -6
  35. package/dist/{chunk-TICWLB2K-kKfJLzGU.cjs → chunk-TICWLB2K-BDaII0bV.cjs} +1 -1
  36. package/dist/{chunk-XXDRQBXY-DrevnJZ_.cjs → chunk-XXDRQBXY-5wIzZLQE.cjs} +1 -1
  37. package/dist/{chunk-XXDRQBXY-XSZmfPQz.js → chunk-XXDRQBXY-BWEr8tC-.js} +1 -1
  38. package/dist/{classDiagram-ZZMXUADV-CaIlGIUP.cjs → classDiagram-ZZMXUADV-BiK7aGOh.cjs} +1 -1
  39. package/dist/{classDiagram-ZZMXUADV-BUPxcj44.js → classDiagram-ZZMXUADV-CrUjHx6b.js} +2 -2
  40. package/dist/{classDiagram-v2-VYDZK3BY-CaIlGIUP.cjs → classDiagram-v2-VYDZK3BY-BiK7aGOh.cjs} +1 -1
  41. package/dist/{classDiagram-v2-VYDZK3BY-BUPxcj44.js → classDiagram-v2-VYDZK3BY-CrUjHx6b.js} +2 -2
  42. package/dist/components/chat/components/ChatActionbar.vue.d.ts.map +1 -1
  43. package/dist/{cose-bilkent-JH36ORCC-CLyag-H_.js → cose-bilkent-JH36ORCC-BIqOHlIR.js} +2 -2
  44. package/dist/{cose-bilkent-JH36ORCC-CuLiZOwZ.cjs → cose-bilkent-JH36ORCC-CRQd4qRL.cjs} +1 -1
  45. package/dist/{cynefinDiagram-5FMLGOSQ-Yjom7G_l.js → cynefinDiagram-5FMLGOSQ-BDn4b7EP.js} +2 -2
  46. package/dist/{cynefinDiagram-5FMLGOSQ-DPmPBitQ.cjs → cynefinDiagram-5FMLGOSQ-YxeA-5F7.cjs} +1 -1
  47. package/dist/{dagre-GXQ25YYZ-oC5W7jop.js → dagre-GXQ25YYZ-MjF1XQTC.js} +2 -2
  48. package/dist/{dagre-GXQ25YYZ-BhuLPJA5.cjs → dagre-GXQ25YYZ-d7Rbmp5P.cjs} +1 -1
  49. package/dist/{diagram-S7CK7UJ4-DmPNHoIr.js → diagram-S7CK7UJ4-BwFM4J0I.js} +3 -3
  50. package/dist/{diagram-S7CK7UJ4-BxNxjPFh.cjs → diagram-S7CK7UJ4-D5vZN3PT.cjs} +1 -1
  51. package/dist/{diagram-UQ7AKVKN-CTIt6cxf.cjs → diagram-UQ7AKVKN-B-zqOAbE.cjs} +1 -1
  52. package/dist/{diagram-UQ7AKVKN-B01qnzRc.js → diagram-UQ7AKVKN-ObuMvcoS.js} +2 -2
  53. package/dist/{diagram-VSXAHHWV-Bojelns7.js → diagram-VSXAHHWV-DpfFqVZK.js} +2 -2
  54. package/dist/{diagram-VSXAHHWV-Dhl_Wm73.cjs → diagram-VSXAHHWV-M7yVdpJ1.cjs} +1 -1
  55. package/dist/{diagram-VX7I27RA-DT5nwoLZ.cjs → diagram-VX7I27RA-Bo6dfcdM.cjs} +1 -1
  56. package/dist/{diagram-VX7I27RA-BodgvRe_.js → diagram-VX7I27RA-D6-2XqH1.js} +3 -3
  57. package/dist/{diagram-Z3DM3KII-Tjpg4KSQ.js → diagram-Z3DM3KII-B4KIisqi.js} +2 -2
  58. package/dist/{diagram-Z3DM3KII-C9zDzdZz.cjs → diagram-Z3DM3KII-DbP3t3q5.cjs} +1 -1
  59. package/dist/{ebnfDiagram-PWID7BFC-BjoVoCLe.cjs → ebnfDiagram-PWID7BFC--PFwlRFK.cjs} +1 -1
  60. package/dist/{ebnfDiagram-PWID7BFC-r3bNNQ6i.js → ebnfDiagram-PWID7BFC-BCgIlRPA.js} +3 -3
  61. package/dist/{erDiagram-RLTQ6QDP-DRBCxlpa.js → erDiagram-RLTQ6QDP-BAaevb9y.js} +4 -4
  62. package/dist/{erDiagram-RLTQ6QDP-DzXCBQoC.cjs → erDiagram-RLTQ6QDP-BQd2z3Ao.cjs} +1 -1
  63. package/dist/flowDiagram-HODETNUW-BIRXRvU7.cjs +1 -0
  64. package/dist/flowDiagram-HODETNUW-c9pKhYUM.js +8 -0
  65. package/dist/{ganttDiagram-EL5Y4UJY-CieJtgSE.js → ganttDiagram-EL5Y4UJY-CGDkNBPJ.js} +2 -2
  66. package/dist/{ganttDiagram-EL5Y4UJY-Dfb3-h1O.cjs → ganttDiagram-EL5Y4UJY-DudmijD4.cjs} +1 -1
  67. package/dist/{gitGraphDiagram-WWUBYQGX-CWIDZ0GU.cjs → gitGraphDiagram-WWUBYQGX-BikNMPY5.cjs} +1 -1
  68. package/dist/{gitGraphDiagram-WWUBYQGX-CGUC9Gzs.js → gitGraphDiagram-WWUBYQGX-CFP_0D7T.js} +3 -3
  69. package/dist/{heic2any-vk2Xlz29.cjs → heic2any-Cw8TjTZr.cjs} +1 -1
  70. package/dist/{heic2any-BRs6AKoi.js → heic2any-VeHeWYCF.js} +1 -1
  71. package/dist/{index-B0cE0piS.cjs → index-2QZQFSse.cjs} +1 -1
  72. package/dist/{index-D105U-NX.cjs → index-BGN3QQmA.cjs} +7 -7
  73. package/dist/{index-CUkszHov.cjs → index-BGh90els.cjs} +1 -1
  74. package/dist/{index-JXevpeyk.js → index-BHWj_Vqo.js} +1 -1
  75. package/dist/{index-D5GmTDI9.cjs → index-Bj3IYxQX.cjs} +5 -5
  76. package/dist/{index-CCOK35r6.js → index-BjlIUew5.js} +16 -16
  77. package/dist/{index-BLJdsyqx.js → index-C0wcctZJ.js} +1 -1
  78. package/dist/{index-C133fEhe.js → index-CbPglDw8.js} +14 -8
  79. package/dist/{index-Bq2SsXsC.js → index-CyXhfGFb.js} +2 -2
  80. package/dist/{index-v3QHsxEb.cjs → index-DjnGKH6A.cjs} +1 -1
  81. package/dist/{index-Dx_tvSnm.js → index-EuGvzzZu.js} +1 -1
  82. package/dist/{index-Bd0dm3h9.cjs → index-LxPV6ZsW.cjs} +1 -1
  83. package/dist/index.cjs +1 -1
  84. package/dist/index.js +1 -1
  85. package/dist/{infoDiagram-27XIBGKW-DvKGigmx.cjs → infoDiagram-27XIBGKW-1sDxh62-.cjs} +1 -1
  86. package/dist/{infoDiagram-27XIBGKW-oePGjwWH.js → infoDiagram-27XIBGKW-IAtQQd8k.js} +1 -1
  87. package/dist/{ishikawaDiagram-5VMMS53U-b2Z_Xr5l.cjs → ishikawaDiagram-5VMMS53U-BUw7c_Iw.cjs} +1 -1
  88. package/dist/{ishikawaDiagram-5VMMS53U-DP4YNkQh.js → ishikawaDiagram-5VMMS53U-DJEzJUSU.js} +1 -1
  89. package/dist/{journeyDiagram-3NMN7TZE-X6qkw6hB.cjs → journeyDiagram-3NMN7TZE-AuaAyfnq.cjs} +1 -1
  90. package/dist/{journeyDiagram-3NMN7TZE-DXZQ2Hnm.js → journeyDiagram-3NMN7TZE-CI6a5_YF.js} +3 -3
  91. package/dist/{kanban-definition-UXKFOSKX-0CeKOz3I.cjs → kanban-definition-UXKFOSKX-AsrRfZSX.cjs} +1 -1
  92. package/dist/{kanban-definition-UXKFOSKX-DT5OovTe.js → kanban-definition-UXKFOSKX-WooQOzOq.js} +2 -2
  93. package/dist/{layout-Bn232-5f.js → layout-DkAnHFpS.js} +1 -1
  94. package/dist/{layout-BFxr1rNK.cjs → layout-wnn_fh0u.cjs} +1 -1
  95. package/dist/{leaflet-src-D9zvEgNY.cjs → leaflet-src-BL5J-eFW.cjs} +1 -1
  96. package/dist/{leaflet-src-d90-O-MR.js → leaflet-src-Br4Y86Xm.js} +1 -1
  97. package/dist/{mermaid.core-DB-ckht7.cjs → mermaid.core-BEtzdKe0.cjs} +4 -4
  98. package/dist/{mermaid.core-BZ22HWSY.js → mermaid.core-j3sq14tG.js} +44 -44
  99. package/dist/{mindmap-definition-YA3MSWOX-DsADX-f6.js → mindmap-definition-YA3MSWOX-B71HUGgD.js} +3 -3
  100. package/dist/{mindmap-definition-YA3MSWOX-CTo15cAt.cjs → mindmap-definition-YA3MSWOX-BgtVWMgA.cjs} +1 -1
  101. package/dist/{pegDiagram-XKGWAZYB-Bmfi5QyI.cjs → pegDiagram-XKGWAZYB-DIWTuSJW.cjs} +1 -1
  102. package/dist/{pegDiagram-XKGWAZYB-BrHMbluF.js → pegDiagram-XKGWAZYB-HV1_4KbG.js} +3 -3
  103. package/dist/{pieDiagram-E7YTZNPT-DWiQSNFE.cjs → pieDiagram-E7YTZNPT-DKx6oW3W.cjs} +1 -1
  104. package/dist/{pieDiagram-E7YTZNPT-BM8Rl5DP.js → pieDiagram-E7YTZNPT-DZs5BWAy.js} +2 -2
  105. package/dist/{prism-B3cCcL22.js → prism-CkuWl9Ep.js} +1 -1
  106. package/dist/{prism-3IJB4TcV.cjs → prism-P1pqKXOb.cjs} +1 -1
  107. package/dist/{quadrantDiagram-AXDQQJYC-iNMOP57a.js → quadrantDiagram-AXDQQJYC-DPPIYeeb.js} +1 -1
  108. package/dist/{quadrantDiagram-AXDQQJYC-Bj82D10l.cjs → quadrantDiagram-AXDQQJYC-hGuLD32p.cjs} +1 -1
  109. package/dist/{railroadDiagram-O6MQD6OU-Bmbf1y1G.js → railroadDiagram-O6MQD6OU-BTF8AD-s.js} +3 -3
  110. package/dist/{railroadDiagram-O6MQD6OU-CjVKtLer.cjs → railroadDiagram-O6MQD6OU-D2pVbAlO.cjs} +1 -1
  111. package/dist/{requirementDiagram-BXWQKSXE-Bhb0GPxJ.js → requirementDiagram-BXWQKSXE-D7HtotQk.js} +3 -3
  112. package/dist/{requirementDiagram-BXWQKSXE-gnXF5hun.cjs → requirementDiagram-BXWQKSXE-DWAHEjx4.cjs} +1 -1
  113. package/dist/{sankeyDiagram-P5KCCOFB-DOzBXDtE.js → sankeyDiagram-P5KCCOFB-DisUAW4r.js} +1 -1
  114. package/dist/{sankeyDiagram-P5KCCOFB-CWkgZr57.cjs → sankeyDiagram-P5KCCOFB-RgMCCRMg.cjs} +1 -1
  115. package/dist/{sequenceDiagram-WJ2MYXX4-CSG589nF.cjs → sequenceDiagram-WJ2MYXX4-B7C0ylGY.cjs} +1 -1
  116. package/dist/{sequenceDiagram-WJ2MYXX4-B9d4bS6x.js → sequenceDiagram-WJ2MYXX4-sgvA8Lrf.js} +3 -3
  117. package/dist/{sizeCapture-INFHLROL-i25oZDdg.cjs → sizeCapture-INFHLROL-C3oXl2IE.cjs} +1 -1
  118. package/dist/{sizeCapture-INFHLROL-DfWssgMs.js → sizeCapture-INFHLROL-JlZfnNjJ.js} +1 -1
  119. package/dist/{stateDiagram-D77RDMKH-BbOTK6vv.cjs → stateDiagram-D77RDMKH-DjBwuE30.cjs} +1 -1
  120. package/dist/{stateDiagram-D77RDMKH-DXT2pVBP.js → stateDiagram-D77RDMKH-J8JxyLsK.js} +3 -3
  121. package/dist/{stateDiagram-v2-MP3YSRHH-CIr7yNAI.cjs → stateDiagram-v2-MP3YSRHH-CRkirBOX.cjs} +1 -1
  122. package/dist/{stateDiagram-v2-MP3YSRHH-DAh6ajq3.js → stateDiagram-v2-MP3YSRHH-xHCBs9My.js} +2 -2
  123. package/dist/style.css +2 -2
  124. package/dist/{swimlanes-42K2YHIH-CA1ZW-St.cjs → swimlanes-42K2YHIH-BuJn0ZP5.cjs} +1 -1
  125. package/dist/{swimlanes-42K2YHIH-BtlkwZua.js → swimlanes-42K2YHIH-DArNVJn1.js} +1 -1
  126. package/dist/{swimlanesDiagram-VR7AAH4N-2rv6Tcc2.js → swimlanesDiagram-VR7AAH4N-BqsK9bmn.js} +2 -2
  127. package/dist/{swimlanesDiagram-VR7AAH4N-UTLZwNjw.cjs → swimlanesDiagram-VR7AAH4N-DfQTO_nJ.cjs} +1 -1
  128. package/dist/{timeline-definition-24CTP7MA-DHQ1qJXu.js → timeline-definition-24CTP7MA-B_V0hfSD.js} +1 -1
  129. package/dist/{timeline-definition-24CTP7MA-DZHgw-pc.cjs → timeline-definition-24CTP7MA-Cdo1JhXP.cjs} +1 -1
  130. package/dist/{togeojson-D3HgFZzg.js → togeojson-CtWGNs8a.js} +1 -1
  131. package/dist/{togeojson-Cl47qSIx.cjs → togeojson-Dz0d3eax.cjs} +1 -1
  132. package/dist/{vennDiagram-4TSXK5OY-q94HhdDk.js → vennDiagram-4TSXK5OY-DtS4A8hN.js} +1 -1
  133. package/dist/{vennDiagram-4TSXK5OY-BTzq13gl.cjs → vennDiagram-4TSXK5OY-oDlbiSg4.cjs} +1 -1
  134. package/dist/{wardleyDiagram-VM6X3IG4-C8lIVOJN.cjs → wardleyDiagram-VM6X3IG4-C-eEkz1n.cjs} +1 -1
  135. package/dist/{wardleyDiagram-VM6X3IG4-30hpyYRy.js → wardleyDiagram-VM6X3IG4-C1sCIlK6.js} +2 -2
  136. package/dist/{xychartDiagram-S5SC5T6Z-C2mkPvAl.js → xychartDiagram-S5SC5T6Z-Bwjk9MMu.js} +1 -1
  137. package/dist/{xychartDiagram-S5SC5T6Z-CGpz4hp1.cjs → xychartDiagram-S5SC5T6Z-CUdtROI1.cjs} +1 -1
  138. package/dist/{xz-decompress-Co-UzLJJ.cjs → xz-decompress-CvVw9zgx.cjs} +1 -1
  139. package/dist/{xz-decompress-9ZnXrl30.js → xz-decompress-LikP3IVK.js} +2 -2
  140. package/package.json +1 -1
  141. package/dist/flowDiagram-HODETNUW-BviQppd7.cjs +0 -1
  142. package/dist/flowDiagram-HODETNUW-aCo0aMQt.js +0 -8
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./index-D5GmTDI9.cjs");function Jh(e){if(e){for(var t=[],i=0;i<e.length;i++)t.push(e[i].slice());return t}}function e0(e,t){var i=e.label,n=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:i.style.align,verticalAlign:i.style.verticalAlign,labelLinePoints:Jh(n&&n.shape.points)}}var ps=["align","verticalAlign","width","height","fontSize"],Ut=new P.Transformable,Wo=P.makeInner(),t0=P.makeInner();function br(e,t,i){for(var n=0;n<i.length;n++){var r=i[n];t[r]!=null&&(e[r]=t[r])}}var wr=["x","y","rotation"],i0=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(t,i,n,r,o){var l=r.style,a=r.__hostTarget,s=a.textConfig||{},d=r.getComputedTransform(),u=r.getBoundingRect().plain();P.BoundingRect.applyTransform(u,u,d),d?Ut.setLocalTransform(d):(Ut.x=Ut.y=Ut.rotation=Ut.originX=Ut.originY=0,Ut.scaleX=Ut.scaleY=1),Ut.rotation=P.normalizeRadian(Ut.rotation);var c=r.__hostTarget,h;if(c){h=c.getBoundingRect().plain();var f=c.getComputedTransform();P.BoundingRect.applyTransform(h,h,f)}var p=h&&c.getTextGuideLine();this._labelList.push({label:r,labelLine:p,seriesModel:n,dataIndex:t,dataType:i,layoutOptionOrCb:o,layoutOption:null,rect:u,hostRect:h,priority:h?h.width*h.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:p&&p.ignore,x:Ut.x,y:Ut.y,scaleX:Ut.scaleX,scaleY:Ut.scaleY,rotation:Ut.rotation,style:{x:l.x,y:l.y,align:l.align,verticalAlign:l.verticalAlign,width:l.width,height:l.height,fontSize:l.fontSize},cursor:r.cursor,attachedPos:s.position,attachedRot:s.rotation}})},e.prototype.addLabelsOfSeries=function(t){var i=this;this._chartViewList.push(t);var n=t.__model,r=n.get("labelLayout");(P.isFunction(r)||P.keys(r).length)&&t.group.traverse(function(o){if(o.ignore)return!0;var l=o.getTextContent(),a=P.getECData(o);l&&!l.disableLabelLayout&&i._addLabel(a.dataIndex,a.dataType,n,l,r)})},e.prototype.updateLayoutConfig=function(t){var i=t.getWidth(),n=t.getHeight();function r(x,b){return function(){P.updateLabelLinePoints(x,b)}}for(var o=0;o<this._labelList.length;o++){var l=this._labelList[o],a=l.label,s=a.__hostTarget,d=l.defaultAttr,u=void 0;P.isFunction(l.layoutOptionOrCb)?u=l.layoutOptionOrCb(e0(l,s)):u=l.layoutOptionOrCb,u=u||{},l.layoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:u.x!=null||u.y!=null?null:d.attachedPos,rotation:u.rotate!=null?u.rotate*c:d.attachedRot,offset:[u.dx||0,u.dy||0]});var h=!1;if(u.x!=null?(a.x=P.parsePercent(u.x,i),a.setStyle("x",0),h=!0):(a.x=d.x,a.setStyle("x",d.style.x)),u.y!=null?(a.y=P.parsePercent(u.y,n),a.setStyle("y",0),h=!0):(a.y=d.y,a.setStyle("y",d.style.y)),u.labelLinePoints){var f=s.getTextGuideLine();f&&(f.setShape({points:u.labelLinePoints}),h=!1)}var p=Wo(a);p.needsUpdateLabelLine=h,a.rotation=u.rotate!=null?u.rotate*c:d.rotation,a.scaleX=d.scaleX,a.scaleY=d.scaleY;for(var m=0;m<ps.length;m++){var $=ps[m];a.setStyle($,u[$]!=null?u[$]:d.style[$])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=l.seriesModel;if(l.dataIndex!=null){var y=l.seriesModel.getData(l.dataType);g=y.getItemModel(l.dataIndex)}a.on("drag",r(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=d.cursor}},e.prototype.layout=function(t){var i=t.getWidth(),n=t.getHeight(),r=[];P.each(this._labelList,function(s){s.defaultAttr.ignore||r.push(P.newLabelLayoutWithGeometry({},s))});var o=P.filter(r,function(s){return s.layoutOption.moveOverlap==="shiftX"}),l=P.filter(r,function(s){return s.layoutOption.moveOverlap==="shiftY"});P.shiftLayoutOnXY(o,0,0,i),P.shiftLayoutOnXY(l,1,0,n);var a=P.filter(r,function(s){return s.layoutOption.hideOverlap});P.restoreIgnore(a),P.hideOverlap(a)},e.prototype.processLabelsOverall=function(){var t=this;P.each(this._chartViewList,function(i){var n=i.__model,r=i.ignoreLabelLineUpdate,o=n.isAnimationEnabled();i.group.traverse(function(l){if(l.ignore&&!l.forceLabelAnimation)return!0;var a=!r,s=l.getTextContent();!a&&s&&(a=Wo(s).needsUpdateLabelLine),a&&t._updateLabelLine(l,n),o&&t._animateLabels(l,n)})})},e.prototype._updateLabelLine=function(t,i){var n=t.getTextContent(),r=P.getECData(t),o=r.dataIndex;if(n&&o!=null){var l=i.getData(r.dataType),a=l.getItemModel(o),s={},d=l.getItemVisual(o,"style");if(d){var u=l.getVisual("drawType");s.stroke=d[u]}var c=a.getModel("labelLine");P.setLabelLineStyle(t,P.getLabelLineStatesModels(a),s),P.updateLabelLinePoints(t,c)}},e.prototype._animateLabels=function(t,i){var n=t.getTextContent(),r=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!P.isElementRemoved(t))){var o=Wo(n),l=o.oldLayout,a=P.getECData(t),s=a.dataIndex,d={x:n.x,y:n.y,rotation:n.rotation},u=i.getData(a.dataType);if(l){n.attr(l);var h=t.prevStates;h&&(P.indexOf(h,"select")>=0&&n.attr(o.oldLayoutSelect),P.indexOf(h,"emphasis")>=0&&n.attr(o.oldLayoutEmphasis)),P.updateProps(n,d,i,s)}else if(n.attr(d),!P.labelInner(n).valueAnimation){var c=P.retrieve2(n.style.opacity,1);n.style.opacity=0,P.initProps(n,{style:{opacity:c}},i,s)}if(o.oldLayout=d,n.states.select){var f=o.oldLayoutSelect={};br(f,d,wr),br(f,n.states.select,wr)}if(n.states.emphasis){var p=o.oldLayoutEmphasis={};br(p,d,wr),br(p,n.states.emphasis,wr)}P.animateLabelValue(n,s,u,i,i)}if(r&&!r.ignore&&!r.invisible){var o=t0(r),l=o.oldLayout,m={points:r.shape.points};l?(r.attr({shape:l}),P.updateProps(r,{shape:m},i)):(r.setShape(m),r.style.strokePercent=0,P.initProps(r,{style:{strokePercent:1}},i)),o.oldLayout=m}},e}(),Yo=P.makeInner();function n0(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,i,n){var r=Yo(i).labelManager;r||(r=Yo(i).labelManager=new i0),r.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,i,n){var r=Yo(i).labelManager;P.each(n.updatedSeries,function(o){r.addLabelsOfSeries(i.getViewOfSeriesModel(o))}),r.updateLayoutConfig(i),r.layout(i),r.processLabelsOverall()})}var r0=function(){function e(){}return e.prototype._hasEncodeRule=function(t){var i=this.getEncode();return i&&i.get(t)!=null},e.prototype.getInitialData=function(t,i){var n,r=i.getComponent("xAxis",this.get("xAxisIndex")),o=i.getComponent("yAxis",this.get("yAxisIndex")),l=r.get("type"),a=o.get("type"),s,d=t.layout;l==="category"?(d="horizontal",n=r.getOrdinalMeta(),s=!this._hasEncodeRule("x")):a==="category"&&(d="vertical",n=o.getOrdinalMeta(),s=!this._hasEncodeRule("y")),d||(d=a==="time"?"vertical":"horizontal"),this._layout=d;var u=["x","y"],c=d==="horizontal"?0:1,h=this._baseAxisDim=u[c],f=u[1-c],p=[r,o],m=p[c].get("type"),$=p[1-c].get("type"),g=t.data;if(g&&s){var y=[];P.each(g,function(v,w){var M;P.isArray(v)?(M=v.slice(),v.unshift(w)):P.isArray(v.value)?(M=P.extend({},v),M.value=M.value.slice(),v.value.unshift(w)):M=v,y.push(M)}),t.data=y}var x=this.defaultValueDimensions,b=[{name:h,type:P.getDimensionTypeByAxis(m),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:P.getDimensionTypeByAxis($),dimsDef:x.slice()}];return P.createSeriesDataSimply(this,{coordDimensions:b,dimensionsCount:x.length+1,encodeDefaulter:P.curry(P.makeSeriesEncodeForAxisCoordSys,b,this)})},e.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},e.prototype.getWhiskerBoxesLayout=function(){return this._layout},e}();function ms(e,t){for(var i=t.ends.length,n=0,r=0;r<i;r++)e.contain(t.ends[r][0],t.ends[r][1])&&n++;return n?n<i?P.SHAPE_CLIP_KIND_PARTIALLY_CLIPPED:P.SHAPE_CLIP_KIND_NOT_CLIPPED:P.SHAPE_CLIP_KIND_FULLY_CLIPPED}var Qi="candlestick",Eu=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],i}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(i,n,r){var o=n.getItemLayout(i);return o&&r.rect(o.brushRect)},t.type="series."+Qi,t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(P.SeriesModel);P.mixin(Eu,r0,!0);var o0=["itemStyle","borderColor"],l0=["itemStyle","borderColor0"],a0=["itemStyle","borderColorDoji"],s0=["itemStyle","color"],d0=["itemStyle","color0"];function Gl(e,t){return t.get(e>0?s0:d0)}function _l(e,t){return t.get(e===0?a0:e>0?o0:l0)}var u0={seriesType:Qi,plan:P.createRenderPlanner(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e)){var i=e.pipelineContext.large;return!i&&{progress:function(n,r){for(var o;(o=n.next())!=null;){var l=r.getItemModel(o),a=r.getItemLayout(o).sign,s=l.getItemStyle();s.fill=Gl(a,l),s.stroke=_l(a,l)||s.fill;var d=r.ensureUniqueItemVisual(o,"style");P.extend(d,s)}}}}}},c0=["color","borderColor"],h0=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i}return t.prototype.render=function(i,n,r){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(i),this._isLargeDraw?this._renderLarge(i):this._renderNormal(i)},t.prototype.incrementalPrepareRender=function(i,n,r){this._clear(),this._updateDrawMode(i)},t.prototype.incrementalRender=function(i,n,r,o){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(i,n):this._incrementalRenderNormal(i,n)},t.prototype.eachRendered=function(i){P.traverseElements(this._progressiveEls||this.group,i)},t.prototype._updateDrawMode=function(i){var n=i.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(i){var n=i.getData(),r=this._data,o=this.group,l=n.getLayout("isSimpleBox"),a=i.get("clip",!0),s=i.coordinateSystem,d=s.getArea&&s.getArea(),u=a&&P.createClipPath(s,!1,i);this._data||o.removeAll();var c=gs(i);n.diff(r).add(function(h){if(n.hasValue(h)){var f=n.getItemLayout(h),p=a?ms(d,f):P.SHAPE_CLIP_KIND_NOT_CLIPPED;if(p===P.SHAPE_CLIP_KIND_FULLY_CLIPPED)return;var m=Xo(f,h,c,!0);P.initProps(m,{shape:{points:f.ends}},i,h),P.updateClipPath(p===P.SHAPE_CLIP_KIND_PARTIALLY_CLIPPED,m,u),Ho(m,n,h,l),o.add(m),n.setItemGraphicEl(h,m)}}).update(function(h,f){var p=r.getItemGraphicEl(f);if(!n.hasValue(h)){o.remove(p);return}var m=n.getItemLayout(h),$=a?ms(d,m):P.SHAPE_CLIP_KIND_NOT_CLIPPED;if($===P.SHAPE_CLIP_KIND_FULLY_CLIPPED){o.remove(p);return}p?(P.updateProps(p,{shape:{points:m.ends}},i,h),P.saveOldStyle(p)):p=Xo(m,h,c),Ho(p,n,h,l),P.updateClipPath($===P.SHAPE_CLIP_KIND_PARTIALLY_CLIPPED,p,u),o.add(p),n.setItemGraphicEl(h,p)}).remove(function(h){var f=r.getItemGraphicEl(h);f&&o.remove(f)}).execute(),this._data=n},t.prototype._renderLarge=function(i){this._clear(),$s(i,this.group);var n=i.get("clip",!0)?P.createClipPath(i.coordinateSystem,!1,i):null;P.updateClipPath(!!n,this.group,n)},t.prototype._incrementalRenderNormal=function(i,n){for(var r=n.getData(),o=r.getLayout("isSimpleBox"),l=gs(n),a;(a=i.next())!=null;){var s=r.getItemLayout(a),d=Xo(s,a,l);Ho(d,r,a,o),d.incremental=P.getIncrementalId(n),this.group.add(d),this._progressiveEls.push(d)}},t.prototype._incrementalRenderLarge=function(i,n){$s(n,this.group,this._progressiveEls,!0)},t.prototype.remove=function(i){this._clear()},t.prototype._clear=function(){this.group.removeAll(),P.updateClipPath(!1,this.group,null),this._data=null},t.type=Qi,t}(P.ChartView),f0=function(){function e(){}return e}(),p0=function(e){P.__extends(t,e);function t(i){var n=e.call(this,i)||this;return n.type="normalCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new f0},t.prototype.buildPath=function(i,n){var r=n.points;this.__simpleBox?(i.moveTo(r[4][0],r[4][1]),i.lineTo(r[6][0],r[6][1])):(i.moveTo(r[0][0],r[0][1]),i.lineTo(r[1][0],r[1][1]),i.lineTo(r[2][0],r[2][1]),i.lineTo(r[3][0],r[3][1]),i.closePath(),i.moveTo(r[4][0],r[4][1]),i.lineTo(r[5][0],r[5][1]),i.moveTo(r[6][0],r[6][1]),i.lineTo(r[7][0],r[7][1]))},t}(P.Path);function Xo(e,t,i,n){var r=e.ends;return new p0({shape:{points:n?m0(r,i,e):r},z2:100})}function Ho(e,t,i,n){var r=t.getItemModel(i);e.useStyle(t.getItemVisual(i,"style")),e.style.strokeNoScale=!0;var o=r.getShallow("cursor");o&&e.attr("cursor",o),e.__simpleBox=n,P.setStatesStylesFromModel(e,r);var l=t.getItemLayout(i).sign;P.each(e.states,function(s,d){var u=r.getModel(d),c=Gl(l,u),h=_l(l,u)||c,f=s.style||(s.style={});c&&(f.fill=c),h&&(f.stroke=h)});var a=r.getModel("emphasis");P.toggleHoverEmphasis(e,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function m0(e,t,i){return P.map(e,function(n){return n=n.slice(),n[t]=i.initBaseline,n})}function gs(e){return e.getWhiskerBoxesLayout()==="horizontal"?1:0}var g0=function(){function e(){}return e}(),Vo=function(e){P.__extends(t,e);function t(i){var n=e.call(this,i)||this;return n.type="largeCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new g0},t.prototype.buildPath=function(i,n){for(var r=n.points,o=0;o<r.length;)if(this.__sign===r[o++]){var l=r[o++];i.moveTo(l,r[o++]),i.lineTo(l,r[o++])}else o+=3},t}(P.Path);function $s(e,t,i,n){var r=e.getData(),o=r.getLayout("largePoints"),l=new Vo({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});t.add(l);var a=new Vo({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});t.add(a);var s=new Vo({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});t.add(s),qo(1,l,e),qo(-1,a,e),qo(0,s,e),n&&(l.incremental=P.getIncrementalId(e),a.incremental=P.getIncrementalId(e),s.incremental=P.getIncrementalId(e)),i&&i.push(l,a,s)}function qo(e,t,i,n){var r=_l(e,i)||Gl(e,i),o=i.getModel("itemStyle").getItemStyle(c0);t.useStyle(o),t.style.fill=null,t.style.stroke=r;var l=i.get("cursor");l&&t.attr("cursor",l)}function $0(e){!e||!P.isArray(e.series)||P.each(e.series,function(t){P.isObject(t)&&t.type==="k"&&(t.type=Qi)})}var y0=P.makeCallOnlyOnce(),v0={seriesType:Qi,plan:P.createRenderPlanner(),reset:function(e){var t=e.coordinateSystem,i=e.getData(),n=x0(e),r=e.getWhiskerBoxesLayout()==="horizontal"?0:1,o=1-r,l=["x","y"],a=i.getDimensionIndex(i.mapDimension(l[r])),s=P.map(i.mapDimensionsAll(l[o]),i.getDimensionIndex,i),d=s[0],u=s[1],c=s[2],h=s[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),a<0||s.length<4)return;return{progress:e.pipelineContext.large?p:f};function f(m,$){for(var g,y=$.getStore();(g=m.next())!=null;){var x=y.get(a,g),b=y.get(d,g),v=y.get(u,g),w=y.get(c,g),M=y.get(h,g),S=P.mathMin(b,v),A=P.mathMax(b,v),B=j(S,x),L=j(A,x),T=j(w,x),k=j(M,x),F=[];N(F,L,0),N(F,B,1),F.push(I(k),I(L),I(T),I(B));var C=$.getItemModel(g),E=!!C.get(["itemStyle","borderColorDoji"]);$.setItemLayout(g,{sign:ys(y,g,b,v,u,E),initBaseline:b>v?L[o]:B[o],ends:F,brushRect:R(w,M,x)})}function j(U,q){var le=[];return le[r]=q,le[o]=U,isNaN(q)||isNaN(U)?[NaN,NaN]:t.dataToPoint(le)}function N(U,q,le){var X=q.slice(),ne=q.slice();X[r]=P.subPixelOptimize(X[r]+n/2,1,!1),ne[r]=P.subPixelOptimize(ne[r]-n/2,1,!0),le?U.push(X,ne):U.push(ne,X)}function R(U,q,le){var X=j(U,le),ne=j(q,le);return X[r]-=n/2,ne[r]-=n/2,{x:X[0],y:X[1],width:o?n:ne[0]-X[0],height:o?ne[1]-X[1]:n}}function I(U){return U[r]=P.subPixelOptimize(U[r],1),U}}function p(m,$){for(var g=P.createFloat32Array(m.count*4),y=0,x,b=[],v=[],w,M=$.getStore(),S=!!e.get(["itemStyle","borderColorDoji"]);(w=m.next())!=null;){var A=M.get(a,w),B=M.get(d,w),L=M.get(u,w),T=M.get(c,w),k=M.get(h,w);if(isNaN(A)||isNaN(T)||isNaN(k)){g[y++]=NaN,y+=3;continue}g[y++]=ys(M,w,B,L,u,S),b[r]=A,b[o]=T,x=t.dataToPoint(b,null,v),g[y++]=x?x[0]:NaN,g[y++]=x?x[1]:NaN,b[o]=k,x=t.dataToPoint(b,null,v),g[y++]=x?x[1]:NaN}$.setLayout("largePoints",g)}}};function ys(e,t,i,n,r,o){var l;return i>n?l=-1:i<n?l=1:l=o?0:t>0?e.get(r,t-1)<=n?1:-1:1,l}function x0(e,t){var i=e.getBaseAxis(),n=P.calcBandWidth(i,{fromStat:{key:P.makeAxisStatKey(Qi)},min:1}).w,r=P.parsePercent(P.retrieve2(e.get("barMaxWidth"),n),n),o=P.parsePercent(P.retrieve2(e.get("barMinWidth"),1),n),l=e.get("barWidth");return l!=null?P.parsePercent(l,n):P.mathMax(P.mathMin(n/2,r),o)}function b0(e){y0(e,function(){var t=P.makeAxisStatKey(Qi);P.requireAxisStatistics(e,{key:t,seriesType:Qi,getMetrics:P.createMetricsNonOrdinalLinearPositiveMinGap}),P.registerAxisContainShapeHandler(t,P.createBandWidthBasedAxisContainShapeHandler(t))})}function w0(e){e.registerChartView(h0),e.registerSeriesModel(Eu),e.registerPreprocessor($0),e.registerVisual(u0),e.registerLayout(v0),b0(e)}var vs={color:"fill",borderColor:"stroke"},M0={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Ei=P.makeInner(),k0=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(i,n){return P.createSeriesData(null,this)},t.prototype.getDataParams=function(i,n,r){var o=e.prototype.getDataParams.call(this,i,n);return r&&(o.info=Ei(r).info),o},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(P.SeriesModel);function S0(e,t){return t=t||[0,0],P.map(["x","y"],function(i,n){var r=this.getAxis(i),o=t[n],l=e[n]/2;return r.type==="category"?P.calcBandWidth(r).w:Math.abs(r.dataToCoord(o-l)-r.dataToCoord(o+l))},this)}function A0(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(i){return e.dataToPoint(i)},size:P.bind(S0,e)}}}function L0(e,t){return t=t||[0,0],P.map([0,1],function(i){var n=t[i],r=e[i]/2,o=[],l=[];return o[i]=n-r,l[i]=n+r,o[1-i]=l[1-i]=t[1-i],Math.abs(this.dataToPoint(o)[i]-this.dataToPoint(l)[i])},this)}function C0(e){var t=e.view,i=t.getBoundingRect();return{coordSys:{type:"geo",x:i.x,y:i.y,width:i.width,height:i.height,zoom:P.viewCoordSysGetZoomOption(t)},api:{coord:function(n){return e.dataToPoint(n)},size:P.bind(L0,e)}}}function F0(e,t){var i=this.getAxis(),n=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return i.type==="category"?P.calcBandWidth(i).w:Math.abs(i.dataToCoord(n-r)-i.dataToCoord(n+r))}function P0(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(i){return e.dataToPoint(i)},size:P.bind(F0,e)}}}function B0(e,t){return t=t||[0,0],P.map(["Radius","Angle"],function(i,n){var r="get"+i+"Axis",o=this[r](),l=t[n],a=e[n]/2,s=o.type==="category"?P.calcBandWidth(o).w:Math.abs(o.dataToCoord(l-a)-o.dataToCoord(l+a));return i==="Angle"&&(s=s*Math.PI/180),s},this)}function E0(e){var t=e.getRadiusAxis(),i=e.getAngleAxis(),n=t.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:n[1],r0:n[0]},api:{coord:function(r){var o=t.dataToRadius(r[0]),l=i.dataToAngle(r[1]),a=e.coordToPoint([o,l]);return a.push(o,l*Math.PI/180),a},size:P.bind(B0,e)}}}function T0(e){var t=e.getRect(),i=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(n,r){return e.dataToPoint(n,r)},layout:function(n,r){return e.dataToLayout(n,r)}}}}function j0(e){var t=e.getRect();return{coordSys:{type:"matrix",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(i,n){return e.dataToPoint(i,n)},layout:function(i,n){return e.dataToLayout(i,n)}}}}var Tu={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},xs=P.keys(Tu),oo=P.reduce(P.TRANSFORMABLE_PROPS,function(e,t){return e[t]=1,e},{}),bs=P.TRANSFORMABLE_PROPS.join(", "),lo=["","style","shape","extra"],In=P.makeInner();function Wl(e,t,i,n,r){var o=e+"Animation",l=P.getAnimationConfig(e,n,r)||{},a=In(t).userDuring;return l.duration>0&&(l.during=a?P.bind(I0,{el:t,userDuring:a}):null,l.setToFinal=!0,l.scope=e),P.extend(l,i[o]),l}function Yr(e,t,i,n){n=n||{};var r=n.dataIndex,o=n.isInit,l=n.clearStyle,a=i.isAnimationEnabled(),s=In(e),d=t.style;s.userDuring=t.during;var u={},c={};if(U0(e,t,c),e.type==="compound")for(var h=e.shape.paths,f=t.shape.paths,p=0;p<f.length;p++){var m=f[p];Ko("shape",m,h[p])}else Ko("shape",t,c),Ko("extra",t,c);if(!o&&a&&(O0(e,t,u),ws("shape",e,t,u),ws("extra",e,t,u),Z0(e,t,d,u)),c.style=d,N0(e,c,l),z0(e,t),a)if(o){var $={};P.each(lo,function(y){var x=y?t[y]:t;x&&x.enterFrom&&(y&&($[y]=$[y]||{}),P.extend(y?$[y]:$,x.enterFrom))});var g=Wl("enter",e,t,i,r);g.duration>0&&e.animateFrom($,g)}else R0(e,t,r||0,i,u);ju(e,t),d?e.dirty():e.markRedraw()}function ju(e,t){for(var i=In(e).leaveToProps,n=0;n<lo.length;n++){var r=lo[n],o=r?t[r]:t;o&&o.leaveTo&&(i||(i=In(e).leaveToProps={}),r&&(i[r]=i[r]||{}),P.extend(r?i[r]:i,o.leaveTo))}}function Ao(e,t,i,n){if(e){var r=e.parent,o=In(e).leaveToProps;if(o){var l=Wl("update",e,t,i,0);l.done=function(){r&&r.remove(e)},e.animateTo(o,l)}else r&&r.remove(e)}}function fn(e){return e==="all"}function N0(e,t,i){var n=t.style;if(!e.isGroup&&n){if(i){e.useStyle({});for(var r=e.animators,o=0;o<r.length;o++){var l=r[o];l.targetName==="style"&&l.changeTarget(e.style)}}e.setStyle(n)}t&&(t.style=null,t&&e.attr(t),t.style=n)}function R0(e,t,i,n,r){if(r){var o=Wl("update",e,t,n,i);o.duration>0&&e.animateFrom(r,o)}}function z0(e,t){P.hasOwn(t,"silent")&&(e.silent=t.silent),P.hasOwn(t,"ignore")&&(e.ignore=t.ignore),e instanceof P.Displayable&&P.hasOwn(t,"invisible")&&(e.invisible=t.invisible),e instanceof P.Path&&P.hasOwn(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var yi={},D0={setTransform:function(e,t){return process.env.NODE_ENV!=="production"&&P.assert(P.hasOwn(oo,e),"Only "+bs+" available in `setTransform`."),yi.el[e]=t,this},getTransform:function(e){return process.env.NODE_ENV!=="production"&&P.assert(P.hasOwn(oo,e),"Only "+bs+" available in `getTransform`."),yi.el[e]},setShape:function(e,t){process.env.NODE_ENV!=="production"&&Cn(e);var i=yi.el,n=i.shape||(i.shape={});return n[e]=t,i.dirtyShape&&i.dirtyShape(),this},getShape:function(e){process.env.NODE_ENV!=="production"&&Cn(e);var t=yi.el.shape;if(t)return t[e]},setStyle:function(e,t){process.env.NODE_ENV!=="production"&&Cn(e);var i=yi.el,n=i.style;return n&&(process.env.NODE_ENV!=="production"&&P.eqNaN(t)&&P.warn("style."+e+" must not be assigned with NaN."),n[e]=t,i.dirtyStyle&&i.dirtyStyle()),this},getStyle:function(e){process.env.NODE_ENV!=="production"&&Cn(e);var t=yi.el.style;if(t)return t[e]},setExtra:function(e,t){process.env.NODE_ENV!=="production"&&Cn(e);var i=yi.el.extra||(yi.el.extra={});return i[e]=t,this},getExtra:function(e){process.env.NODE_ENV!=="production"&&Cn(e);var t=yi.el.extra;if(t)return t[e]}};function Cn(e){if(process.env.NODE_ENV!=="production"&&(e==="transition"||e==="enterFrom"||e==="leaveTo"))throw new Error('key must not be "'+e+'"')}function I0(){var e=this,t=e.el;if(t){var i=In(t).userDuring,n=e.userDuring;if(i!==n){e.el=e.userDuring=null;return}yi.el=t,n(D0)}}function ws(e,t,i,n){var r=i[e];if(r){var o=t[e],l;if(o){var a=i.transition,s=r.transition;if(s)if(!l&&(l=n[e]={}),fn(s))P.extend(l,o);else for(var d=P.normalizeToArray(s),u=0;u<d.length;u++){var c=d[u],h=o[c];l[c]=h}else if(fn(a)||P.indexOf(a,e)>=0){!l&&(l=n[e]={});for(var f=P.keys(o),u=0;u<f.length;u++){var c=f[u],h=o[c];G0(r[c],h)&&(l[c]=h)}}}}}function Ko(e,t,i){var n=t[e];if(n)for(var r=i[e]={},o=P.keys(n),l=0;l<o.length;l++){var a=o[l];r[a]=P.cloneValue(n[a])}}function O0(e,t,i){for(var n=t.transition,r=fn(n)?P.TRANSFORMABLE_PROPS:P.normalizeToArray(n||[]),o=0;o<r.length;o++){var l=r[o];if(!(l==="style"||l==="shape"||l==="extra")){var a=e[l];process.env.NODE_ENV!=="production"&&Nu(l,"el.transition"),i[l]=a}}}function U0(e,t,i){for(var n=0;n<xs.length;n++){var r=xs[n],o=Tu[r],l=t[r];l&&(i[o[0]]=l[0],i[o[1]]=l[1])}for(var n=0;n<P.TRANSFORMABLE_PROPS.length;n++){var a=P.TRANSFORMABLE_PROPS[n];t[a]!=null&&(i[a]=t[a])}}function Z0(e,t,i,n){if(i){var r=e.style,o;if(r){var l=i.transition,a=t.transition;if(l&&!fn(l)){var s=P.normalizeToArray(l);!o&&(o=n.style={});for(var d=0;d<s.length;d++){var u=s[d],c=r[u];o[u]=c}}else if(e.getAnimationStyleProps&&(fn(a)||fn(l)||P.indexOf(a,"style")>=0)){var h=e.getAnimationStyleProps(),f=h?h.style:null;if(f){!o&&(o=n.style={});for(var p=P.keys(i),d=0;d<p.length;d++){var u=p[d];if(f[u]){var c=r[u];o[u]=c}}}}}}}function G0(e,t){return P.isArrayLike(e)?e!==t:e!=null&&isFinite(e)}var Nu;process.env.NODE_ENV!=="production"&&(Nu=function(e,t){P.hasOwn(oo,e)||P.warn("Prop `"+e+"` is not a permitted in `"+t+"`. Only `"+P.keys(oo).join("`, `")+"` are permitted.")});var Ru=P.makeInner(),_0=["percent","easing","shape","style","extra"];function zu(e){e.stopAnimation("keyframe"),e.attr(Ru(e))}function ao(e,t,i){if(!(!i.isAnimationEnabled()||!t)){if(P.isArray(t)){P.each(t,function(a){ao(e,a,i)});return}var n=t.keyframes,r=t.duration;if(i&&r==null){var o=P.getAnimationConfig("enter",i,0);r=o&&o.duration}if(!(!n||!r)){var l=Ru(e);P.each(lo,function(a){if(!(a&&!e[a])){var s,d=!1;n.sort(function(u,c){return u.percent-c.percent}),P.each(n,function(u){var c=e.animators,h=a?u[a]:u;if(process.env.NODE_ENV!=="production"&&u.percent>=1&&(d=!0),!!h){var f=P.keys(h);if(a||(f=P.filter(f,function($){return P.indexOf(_0,$)<0})),!!f.length){s||(s=e.animate(a,t.loop,!0),s.scope="keyframe");for(var p=0;p<c.length;p++)c[p]!==s&&c[p].targetName===s.targetName&&c[p].stopTracks(f);a&&(l[a]=l[a]||{});var m=a?l[a]:l;P.each(f,function($){m[$]=((a?e[a]:e)||{})[$]}),s.whenWithKeys(r*u.percent,h,f,u.easing)}}}),s&&(process.env.NODE_ENV!=="production"&&(d||P.warn("End frame with percent: 1 is missing in the keyframeAnimation.",!0)),s.delay(t.delay||0).duration(r).start(t.easing))}})}}}var Ti="emphasis",Xi="normal",Yl="blur",Xl="select",Ji=[Xi,Ti,Yl,Xl],Qo={normal:["itemStyle"],emphasis:[Ti,"itemStyle"],blur:[Yl,"itemStyle"],select:[Xl,"itemStyle"]},Jo={normal:["label"],emphasis:[Ti,"label"],blur:[Yl,"label"],select:[Xl,"label"]},W0=["x","y"],Y0="e\0\0",ai={normal:{},emphasis:{},blur:{},select:{}},Ms={cartesian2d:A0,geo:C0,single:P0,polar:E0,calendar:T0,matrix:j0};function so(e){return e instanceof P.Path}function vl(e){return e instanceof P.Displayable}function X0(e,t){t.copyTransform(e),vl(t)&&vl(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,so(t)&&so(e)&&t.setShape(e.shape))}var H0=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i}return t.prototype.render=function(i,n,r,o){this._progressiveEls=null;var l=this._data,a=i.getData(),s=this.group,d=ks(i,a,n,r);l||s.removeAll(),a.diff(l).add(function(c){el(r,null,c,d(c,o),i,s,a)}).remove(function(c){var h=l.getItemGraphicEl(c);h&&Ao(h,Ei(h).option,i)}).update(function(c,h){var f=l.getItemGraphicEl(h);el(r,f,c,d(c,o),i,s,a)}).execute();var u=i.get("clip",!0)?P.createClipPath(i.coordinateSystem,!1,i):null;u?s.setClipPath(u):s.removeClipPath(),this._data=a},t.prototype.incrementalPrepareRender=function(i,n,r){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(i,n,r,o,l){var a=n.getData(),s=ks(n,a,r,o),d=this._progressiveEls=[];function u(f){f.isGroup||(f.incremental=P.getIncrementalId(n),f.ensureState("emphasis").hoverLayer=P.HOVER_LAYER_FOR_INCREMENTAL)}for(var c=i.start;c<i.end;c++){var h=el(null,null,c,s(c,l),n,this.group,a);h&&(h.traverse(u),d.push(h))}},t.prototype.eachRendered=function(i){P.traverseElements(this._progressiveEls||this.group,i)},t.prototype.filterForExposedEvent=function(i,n,r,o){var l=n.element;if(l==null||r.name===l)return!0;for(;(r=r.__hostTarget||r.parent)&&r!==this.group;)if(r.name===l)return!0;return!1},t.type="custom",t}(P.ChartView);function Hl(e){var t=e.type,i;if(t==="path"){var n=e.shape,r=n.width!=null&&n.height!=null?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=Ou(n);i=P.makePath(o,null,r,n.layout||"center"),Ei(i).customPathData=o}else if(t==="image")i=new P.ZRImage({}),Ei(i).customImagePath=e.style.image;else if(t==="text")i=new P.ZRText({});else if(t==="group")i=new P.Group;else if(t==="compoundPath"){var n=e.shape;if(!n||!n.paths){var l="";process.env.NODE_ENV!=="production"&&(l="shape.paths must be specified in compoundPath"),P.throwError(l)}var a=P.map(n.paths,function(u){if(u.type==="path")return P.makePath(u.shape.pathData,u,null);var c=P.getShapeClass(u.type);if(!c){var h="";process.env.NODE_ENV!=="production"&&(h='graphic type "'+t+'" can not be found.'),P.throwError(h)}return new c});i=new P.CompoundPath({shape:{paths:a}})}else{var s=P.getShapeClass(t);if(!s){var l="";process.env.NODE_ENV!=="production"&&(l='graphic type "'+t+'" can not be found.'),P.throwError(l)}i=new s}return Ei(i).customGraphicType=t,i.name=e.name,i.z2EmphasisLift=1,i.z2SelectLift=1,i}function Vl(e,t,i,n,r,o,l){zu(t);var a=r&&r.normal.cfg;a&&t.setTextConfig(a),n&&n.transition==null&&(n.transition=W0);var s=n&&n.style;if(s){if(t.type==="text"){var d=s;P.hasOwn(d,"textFill")&&(d.fill=d.textFill),P.hasOwn(d,"textStroke")&&(d.stroke=d.textStroke)}var u=void 0,c=so(t)?s.decal:null;e&&c&&(c.dirty=!0,u=P.createOrUpdatePatternFromDecal(c,e)),s.__decalPattern=u}if(vl(t)&&s){var u=s.__decalPattern;u&&(s.decal=u)}Yr(t,n,o,{dataIndex:i,isInit:l,clearStyle:!0}),ao(t,n.keyframeAnimation,o)}function Du(e,t,i,n,r){var o=t.isGroup?null:t,l=r&&r[e].cfg;if(o){var a=o.ensureState(e);if(n===!1){var s=o.getState(e);s&&(s.style=null)}else a.style=n||null;l&&(a.textConfig=l),P.setDefaultStateProxy(o)}}function V0(e,t,i){if(!e.isGroup){var n=e,r=i.currentZ,o=i.currentZLevel;n.z=r,n.zlevel=o;var l=t.z2;l!=null&&(n.z2=l||0);for(var a=0;a<Ji.length;a++)q0(n,t,Ji[a])}}function q0(e,t,i){var n=i===Xi,r=n?t:uo(t,i),o=r?r.z2:null,l;o!=null&&(l=n?e:e.ensureState(i),l.z2=o||0)}function ks(e,t,i,n){var r=e.get("renderItem");if(typeof r=="string"){var o=P.getCustomSeries(r);o?r=o:process.env.NODE_ENV!=="production"&&console.warn("Custom series renderItem '"+r+`' not found.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./index-Bj3IYxQX.cjs");function Jh(e){if(e){for(var t=[],i=0;i<e.length;i++)t.push(e[i].slice());return t}}function e0(e,t){var i=e.label,n=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:i.style.align,verticalAlign:i.style.verticalAlign,labelLinePoints:Jh(n&&n.shape.points)}}var ps=["align","verticalAlign","width","height","fontSize"],Ut=new P.Transformable,Wo=P.makeInner(),t0=P.makeInner();function br(e,t,i){for(var n=0;n<i.length;n++){var r=i[n];t[r]!=null&&(e[r]=t[r])}}var wr=["x","y","rotation"],i0=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(t,i,n,r,o){var l=r.style,a=r.__hostTarget,s=a.textConfig||{},d=r.getComputedTransform(),u=r.getBoundingRect().plain();P.BoundingRect.applyTransform(u,u,d),d?Ut.setLocalTransform(d):(Ut.x=Ut.y=Ut.rotation=Ut.originX=Ut.originY=0,Ut.scaleX=Ut.scaleY=1),Ut.rotation=P.normalizeRadian(Ut.rotation);var c=r.__hostTarget,h;if(c){h=c.getBoundingRect().plain();var f=c.getComputedTransform();P.BoundingRect.applyTransform(h,h,f)}var p=h&&c.getTextGuideLine();this._labelList.push({label:r,labelLine:p,seriesModel:n,dataIndex:t,dataType:i,layoutOptionOrCb:o,layoutOption:null,rect:u,hostRect:h,priority:h?h.width*h.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:p&&p.ignore,x:Ut.x,y:Ut.y,scaleX:Ut.scaleX,scaleY:Ut.scaleY,rotation:Ut.rotation,style:{x:l.x,y:l.y,align:l.align,verticalAlign:l.verticalAlign,width:l.width,height:l.height,fontSize:l.fontSize},cursor:r.cursor,attachedPos:s.position,attachedRot:s.rotation}})},e.prototype.addLabelsOfSeries=function(t){var i=this;this._chartViewList.push(t);var n=t.__model,r=n.get("labelLayout");(P.isFunction(r)||P.keys(r).length)&&t.group.traverse(function(o){if(o.ignore)return!0;var l=o.getTextContent(),a=P.getECData(o);l&&!l.disableLabelLayout&&i._addLabel(a.dataIndex,a.dataType,n,l,r)})},e.prototype.updateLayoutConfig=function(t){var i=t.getWidth(),n=t.getHeight();function r(x,b){return function(){P.updateLabelLinePoints(x,b)}}for(var o=0;o<this._labelList.length;o++){var l=this._labelList[o],a=l.label,s=a.__hostTarget,d=l.defaultAttr,u=void 0;P.isFunction(l.layoutOptionOrCb)?u=l.layoutOptionOrCb(e0(l,s)):u=l.layoutOptionOrCb,u=u||{},l.layoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:u.x!=null||u.y!=null?null:d.attachedPos,rotation:u.rotate!=null?u.rotate*c:d.attachedRot,offset:[u.dx||0,u.dy||0]});var h=!1;if(u.x!=null?(a.x=P.parsePercent(u.x,i),a.setStyle("x",0),h=!0):(a.x=d.x,a.setStyle("x",d.style.x)),u.y!=null?(a.y=P.parsePercent(u.y,n),a.setStyle("y",0),h=!0):(a.y=d.y,a.setStyle("y",d.style.y)),u.labelLinePoints){var f=s.getTextGuideLine();f&&(f.setShape({points:u.labelLinePoints}),h=!1)}var p=Wo(a);p.needsUpdateLabelLine=h,a.rotation=u.rotate!=null?u.rotate*c:d.rotation,a.scaleX=d.scaleX,a.scaleY=d.scaleY;for(var m=0;m<ps.length;m++){var $=ps[m];a.setStyle($,u[$]!=null?u[$]:d.style[$])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=l.seriesModel;if(l.dataIndex!=null){var y=l.seriesModel.getData(l.dataType);g=y.getItemModel(l.dataIndex)}a.on("drag",r(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=d.cursor}},e.prototype.layout=function(t){var i=t.getWidth(),n=t.getHeight(),r=[];P.each(this._labelList,function(s){s.defaultAttr.ignore||r.push(P.newLabelLayoutWithGeometry({},s))});var o=P.filter(r,function(s){return s.layoutOption.moveOverlap==="shiftX"}),l=P.filter(r,function(s){return s.layoutOption.moveOverlap==="shiftY"});P.shiftLayoutOnXY(o,0,0,i),P.shiftLayoutOnXY(l,1,0,n);var a=P.filter(r,function(s){return s.layoutOption.hideOverlap});P.restoreIgnore(a),P.hideOverlap(a)},e.prototype.processLabelsOverall=function(){var t=this;P.each(this._chartViewList,function(i){var n=i.__model,r=i.ignoreLabelLineUpdate,o=n.isAnimationEnabled();i.group.traverse(function(l){if(l.ignore&&!l.forceLabelAnimation)return!0;var a=!r,s=l.getTextContent();!a&&s&&(a=Wo(s).needsUpdateLabelLine),a&&t._updateLabelLine(l,n),o&&t._animateLabels(l,n)})})},e.prototype._updateLabelLine=function(t,i){var n=t.getTextContent(),r=P.getECData(t),o=r.dataIndex;if(n&&o!=null){var l=i.getData(r.dataType),a=l.getItemModel(o),s={},d=l.getItemVisual(o,"style");if(d){var u=l.getVisual("drawType");s.stroke=d[u]}var c=a.getModel("labelLine");P.setLabelLineStyle(t,P.getLabelLineStatesModels(a),s),P.updateLabelLinePoints(t,c)}},e.prototype._animateLabels=function(t,i){var n=t.getTextContent(),r=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!P.isElementRemoved(t))){var o=Wo(n),l=o.oldLayout,a=P.getECData(t),s=a.dataIndex,d={x:n.x,y:n.y,rotation:n.rotation},u=i.getData(a.dataType);if(l){n.attr(l);var h=t.prevStates;h&&(P.indexOf(h,"select")>=0&&n.attr(o.oldLayoutSelect),P.indexOf(h,"emphasis")>=0&&n.attr(o.oldLayoutEmphasis)),P.updateProps(n,d,i,s)}else if(n.attr(d),!P.labelInner(n).valueAnimation){var c=P.retrieve2(n.style.opacity,1);n.style.opacity=0,P.initProps(n,{style:{opacity:c}},i,s)}if(o.oldLayout=d,n.states.select){var f=o.oldLayoutSelect={};br(f,d,wr),br(f,n.states.select,wr)}if(n.states.emphasis){var p=o.oldLayoutEmphasis={};br(p,d,wr),br(p,n.states.emphasis,wr)}P.animateLabelValue(n,s,u,i,i)}if(r&&!r.ignore&&!r.invisible){var o=t0(r),l=o.oldLayout,m={points:r.shape.points};l?(r.attr({shape:l}),P.updateProps(r,{shape:m},i)):(r.setShape(m),r.style.strokePercent=0,P.initProps(r,{style:{strokePercent:1}},i)),o.oldLayout=m}},e}(),Yo=P.makeInner();function n0(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,i,n){var r=Yo(i).labelManager;r||(r=Yo(i).labelManager=new i0),r.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,i,n){var r=Yo(i).labelManager;P.each(n.updatedSeries,function(o){r.addLabelsOfSeries(i.getViewOfSeriesModel(o))}),r.updateLayoutConfig(i),r.layout(i),r.processLabelsOverall()})}var r0=function(){function e(){}return e.prototype._hasEncodeRule=function(t){var i=this.getEncode();return i&&i.get(t)!=null},e.prototype.getInitialData=function(t,i){var n,r=i.getComponent("xAxis",this.get("xAxisIndex")),o=i.getComponent("yAxis",this.get("yAxisIndex")),l=r.get("type"),a=o.get("type"),s,d=t.layout;l==="category"?(d="horizontal",n=r.getOrdinalMeta(),s=!this._hasEncodeRule("x")):a==="category"&&(d="vertical",n=o.getOrdinalMeta(),s=!this._hasEncodeRule("y")),d||(d=a==="time"?"vertical":"horizontal"),this._layout=d;var u=["x","y"],c=d==="horizontal"?0:1,h=this._baseAxisDim=u[c],f=u[1-c],p=[r,o],m=p[c].get("type"),$=p[1-c].get("type"),g=t.data;if(g&&s){var y=[];P.each(g,function(v,w){var M;P.isArray(v)?(M=v.slice(),v.unshift(w)):P.isArray(v.value)?(M=P.extend({},v),M.value=M.value.slice(),v.value.unshift(w)):M=v,y.push(M)}),t.data=y}var x=this.defaultValueDimensions,b=[{name:h,type:P.getDimensionTypeByAxis(m),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:P.getDimensionTypeByAxis($),dimsDef:x.slice()}];return P.createSeriesDataSimply(this,{coordDimensions:b,dimensionsCount:x.length+1,encodeDefaulter:P.curry(P.makeSeriesEncodeForAxisCoordSys,b,this)})},e.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},e.prototype.getWhiskerBoxesLayout=function(){return this._layout},e}();function ms(e,t){for(var i=t.ends.length,n=0,r=0;r<i;r++)e.contain(t.ends[r][0],t.ends[r][1])&&n++;return n?n<i?P.SHAPE_CLIP_KIND_PARTIALLY_CLIPPED:P.SHAPE_CLIP_KIND_NOT_CLIPPED:P.SHAPE_CLIP_KIND_FULLY_CLIPPED}var Qi="candlestick",Eu=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],i}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(i,n,r){var o=n.getItemLayout(i);return o&&r.rect(o.brushRect)},t.type="series."+Qi,t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(P.SeriesModel);P.mixin(Eu,r0,!0);var o0=["itemStyle","borderColor"],l0=["itemStyle","borderColor0"],a0=["itemStyle","borderColorDoji"],s0=["itemStyle","color"],d0=["itemStyle","color0"];function Gl(e,t){return t.get(e>0?s0:d0)}function _l(e,t){return t.get(e===0?a0:e>0?o0:l0)}var u0={seriesType:Qi,plan:P.createRenderPlanner(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e)){var i=e.pipelineContext.large;return!i&&{progress:function(n,r){for(var o;(o=n.next())!=null;){var l=r.getItemModel(o),a=r.getItemLayout(o).sign,s=l.getItemStyle();s.fill=Gl(a,l),s.stroke=_l(a,l)||s.fill;var d=r.ensureUniqueItemVisual(o,"style");P.extend(d,s)}}}}}},c0=["color","borderColor"],h0=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i}return t.prototype.render=function(i,n,r){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(i),this._isLargeDraw?this._renderLarge(i):this._renderNormal(i)},t.prototype.incrementalPrepareRender=function(i,n,r){this._clear(),this._updateDrawMode(i)},t.prototype.incrementalRender=function(i,n,r,o){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(i,n):this._incrementalRenderNormal(i,n)},t.prototype.eachRendered=function(i){P.traverseElements(this._progressiveEls||this.group,i)},t.prototype._updateDrawMode=function(i){var n=i.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(i){var n=i.getData(),r=this._data,o=this.group,l=n.getLayout("isSimpleBox"),a=i.get("clip",!0),s=i.coordinateSystem,d=s.getArea&&s.getArea(),u=a&&P.createClipPath(s,!1,i);this._data||o.removeAll();var c=gs(i);n.diff(r).add(function(h){if(n.hasValue(h)){var f=n.getItemLayout(h),p=a?ms(d,f):P.SHAPE_CLIP_KIND_NOT_CLIPPED;if(p===P.SHAPE_CLIP_KIND_FULLY_CLIPPED)return;var m=Xo(f,h,c,!0);P.initProps(m,{shape:{points:f.ends}},i,h),P.updateClipPath(p===P.SHAPE_CLIP_KIND_PARTIALLY_CLIPPED,m,u),Ho(m,n,h,l),o.add(m),n.setItemGraphicEl(h,m)}}).update(function(h,f){var p=r.getItemGraphicEl(f);if(!n.hasValue(h)){o.remove(p);return}var m=n.getItemLayout(h),$=a?ms(d,m):P.SHAPE_CLIP_KIND_NOT_CLIPPED;if($===P.SHAPE_CLIP_KIND_FULLY_CLIPPED){o.remove(p);return}p?(P.updateProps(p,{shape:{points:m.ends}},i,h),P.saveOldStyle(p)):p=Xo(m,h,c),Ho(p,n,h,l),P.updateClipPath($===P.SHAPE_CLIP_KIND_PARTIALLY_CLIPPED,p,u),o.add(p),n.setItemGraphicEl(h,p)}).remove(function(h){var f=r.getItemGraphicEl(h);f&&o.remove(f)}).execute(),this._data=n},t.prototype._renderLarge=function(i){this._clear(),$s(i,this.group);var n=i.get("clip",!0)?P.createClipPath(i.coordinateSystem,!1,i):null;P.updateClipPath(!!n,this.group,n)},t.prototype._incrementalRenderNormal=function(i,n){for(var r=n.getData(),o=r.getLayout("isSimpleBox"),l=gs(n),a;(a=i.next())!=null;){var s=r.getItemLayout(a),d=Xo(s,a,l);Ho(d,r,a,o),d.incremental=P.getIncrementalId(n),this.group.add(d),this._progressiveEls.push(d)}},t.prototype._incrementalRenderLarge=function(i,n){$s(n,this.group,this._progressiveEls,!0)},t.prototype.remove=function(i){this._clear()},t.prototype._clear=function(){this.group.removeAll(),P.updateClipPath(!1,this.group,null),this._data=null},t.type=Qi,t}(P.ChartView),f0=function(){function e(){}return e}(),p0=function(e){P.__extends(t,e);function t(i){var n=e.call(this,i)||this;return n.type="normalCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new f0},t.prototype.buildPath=function(i,n){var r=n.points;this.__simpleBox?(i.moveTo(r[4][0],r[4][1]),i.lineTo(r[6][0],r[6][1])):(i.moveTo(r[0][0],r[0][1]),i.lineTo(r[1][0],r[1][1]),i.lineTo(r[2][0],r[2][1]),i.lineTo(r[3][0],r[3][1]),i.closePath(),i.moveTo(r[4][0],r[4][1]),i.lineTo(r[5][0],r[5][1]),i.moveTo(r[6][0],r[6][1]),i.lineTo(r[7][0],r[7][1]))},t}(P.Path);function Xo(e,t,i,n){var r=e.ends;return new p0({shape:{points:n?m0(r,i,e):r},z2:100})}function Ho(e,t,i,n){var r=t.getItemModel(i);e.useStyle(t.getItemVisual(i,"style")),e.style.strokeNoScale=!0;var o=r.getShallow("cursor");o&&e.attr("cursor",o),e.__simpleBox=n,P.setStatesStylesFromModel(e,r);var l=t.getItemLayout(i).sign;P.each(e.states,function(s,d){var u=r.getModel(d),c=Gl(l,u),h=_l(l,u)||c,f=s.style||(s.style={});c&&(f.fill=c),h&&(f.stroke=h)});var a=r.getModel("emphasis");P.toggleHoverEmphasis(e,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function m0(e,t,i){return P.map(e,function(n){return n=n.slice(),n[t]=i.initBaseline,n})}function gs(e){return e.getWhiskerBoxesLayout()==="horizontal"?1:0}var g0=function(){function e(){}return e}(),Vo=function(e){P.__extends(t,e);function t(i){var n=e.call(this,i)||this;return n.type="largeCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new g0},t.prototype.buildPath=function(i,n){for(var r=n.points,o=0;o<r.length;)if(this.__sign===r[o++]){var l=r[o++];i.moveTo(l,r[o++]),i.lineTo(l,r[o++])}else o+=3},t}(P.Path);function $s(e,t,i,n){var r=e.getData(),o=r.getLayout("largePoints"),l=new Vo({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});t.add(l);var a=new Vo({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});t.add(a);var s=new Vo({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});t.add(s),qo(1,l,e),qo(-1,a,e),qo(0,s,e),n&&(l.incremental=P.getIncrementalId(e),a.incremental=P.getIncrementalId(e),s.incremental=P.getIncrementalId(e)),i&&i.push(l,a,s)}function qo(e,t,i,n){var r=_l(e,i)||Gl(e,i),o=i.getModel("itemStyle").getItemStyle(c0);t.useStyle(o),t.style.fill=null,t.style.stroke=r;var l=i.get("cursor");l&&t.attr("cursor",l)}function $0(e){!e||!P.isArray(e.series)||P.each(e.series,function(t){P.isObject(t)&&t.type==="k"&&(t.type=Qi)})}var y0=P.makeCallOnlyOnce(),v0={seriesType:Qi,plan:P.createRenderPlanner(),reset:function(e){var t=e.coordinateSystem,i=e.getData(),n=x0(e),r=e.getWhiskerBoxesLayout()==="horizontal"?0:1,o=1-r,l=["x","y"],a=i.getDimensionIndex(i.mapDimension(l[r])),s=P.map(i.mapDimensionsAll(l[o]),i.getDimensionIndex,i),d=s[0],u=s[1],c=s[2],h=s[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),a<0||s.length<4)return;return{progress:e.pipelineContext.large?p:f};function f(m,$){for(var g,y=$.getStore();(g=m.next())!=null;){var x=y.get(a,g),b=y.get(d,g),v=y.get(u,g),w=y.get(c,g),M=y.get(h,g),S=P.mathMin(b,v),A=P.mathMax(b,v),B=j(S,x),L=j(A,x),T=j(w,x),k=j(M,x),F=[];N(F,L,0),N(F,B,1),F.push(I(k),I(L),I(T),I(B));var C=$.getItemModel(g),E=!!C.get(["itemStyle","borderColorDoji"]);$.setItemLayout(g,{sign:ys(y,g,b,v,u,E),initBaseline:b>v?L[o]:B[o],ends:F,brushRect:R(w,M,x)})}function j(U,q){var le=[];return le[r]=q,le[o]=U,isNaN(q)||isNaN(U)?[NaN,NaN]:t.dataToPoint(le)}function N(U,q,le){var X=q.slice(),ne=q.slice();X[r]=P.subPixelOptimize(X[r]+n/2,1,!1),ne[r]=P.subPixelOptimize(ne[r]-n/2,1,!0),le?U.push(X,ne):U.push(ne,X)}function R(U,q,le){var X=j(U,le),ne=j(q,le);return X[r]-=n/2,ne[r]-=n/2,{x:X[0],y:X[1],width:o?n:ne[0]-X[0],height:o?ne[1]-X[1]:n}}function I(U){return U[r]=P.subPixelOptimize(U[r],1),U}}function p(m,$){for(var g=P.createFloat32Array(m.count*4),y=0,x,b=[],v=[],w,M=$.getStore(),S=!!e.get(["itemStyle","borderColorDoji"]);(w=m.next())!=null;){var A=M.get(a,w),B=M.get(d,w),L=M.get(u,w),T=M.get(c,w),k=M.get(h,w);if(isNaN(A)||isNaN(T)||isNaN(k)){g[y++]=NaN,y+=3;continue}g[y++]=ys(M,w,B,L,u,S),b[r]=A,b[o]=T,x=t.dataToPoint(b,null,v),g[y++]=x?x[0]:NaN,g[y++]=x?x[1]:NaN,b[o]=k,x=t.dataToPoint(b,null,v),g[y++]=x?x[1]:NaN}$.setLayout("largePoints",g)}}};function ys(e,t,i,n,r,o){var l;return i>n?l=-1:i<n?l=1:l=o?0:t>0?e.get(r,t-1)<=n?1:-1:1,l}function x0(e,t){var i=e.getBaseAxis(),n=P.calcBandWidth(i,{fromStat:{key:P.makeAxisStatKey(Qi)},min:1}).w,r=P.parsePercent(P.retrieve2(e.get("barMaxWidth"),n),n),o=P.parsePercent(P.retrieve2(e.get("barMinWidth"),1),n),l=e.get("barWidth");return l!=null?P.parsePercent(l,n):P.mathMax(P.mathMin(n/2,r),o)}function b0(e){y0(e,function(){var t=P.makeAxisStatKey(Qi);P.requireAxisStatistics(e,{key:t,seriesType:Qi,getMetrics:P.createMetricsNonOrdinalLinearPositiveMinGap}),P.registerAxisContainShapeHandler(t,P.createBandWidthBasedAxisContainShapeHandler(t))})}function w0(e){e.registerChartView(h0),e.registerSeriesModel(Eu),e.registerPreprocessor($0),e.registerVisual(u0),e.registerLayout(v0),b0(e)}var vs={color:"fill",borderColor:"stroke"},M0={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Ei=P.makeInner(),k0=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(i,n){return P.createSeriesData(null,this)},t.prototype.getDataParams=function(i,n,r){var o=e.prototype.getDataParams.call(this,i,n);return r&&(o.info=Ei(r).info),o},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(P.SeriesModel);function S0(e,t){return t=t||[0,0],P.map(["x","y"],function(i,n){var r=this.getAxis(i),o=t[n],l=e[n]/2;return r.type==="category"?P.calcBandWidth(r).w:Math.abs(r.dataToCoord(o-l)-r.dataToCoord(o+l))},this)}function A0(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(i){return e.dataToPoint(i)},size:P.bind(S0,e)}}}function L0(e,t){return t=t||[0,0],P.map([0,1],function(i){var n=t[i],r=e[i]/2,o=[],l=[];return o[i]=n-r,l[i]=n+r,o[1-i]=l[1-i]=t[1-i],Math.abs(this.dataToPoint(o)[i]-this.dataToPoint(l)[i])},this)}function C0(e){var t=e.view,i=t.getBoundingRect();return{coordSys:{type:"geo",x:i.x,y:i.y,width:i.width,height:i.height,zoom:P.viewCoordSysGetZoomOption(t)},api:{coord:function(n){return e.dataToPoint(n)},size:P.bind(L0,e)}}}function F0(e,t){var i=this.getAxis(),n=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return i.type==="category"?P.calcBandWidth(i).w:Math.abs(i.dataToCoord(n-r)-i.dataToCoord(n+r))}function P0(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(i){return e.dataToPoint(i)},size:P.bind(F0,e)}}}function B0(e,t){return t=t||[0,0],P.map(["Radius","Angle"],function(i,n){var r="get"+i+"Axis",o=this[r](),l=t[n],a=e[n]/2,s=o.type==="category"?P.calcBandWidth(o).w:Math.abs(o.dataToCoord(l-a)-o.dataToCoord(l+a));return i==="Angle"&&(s=s*Math.PI/180),s},this)}function E0(e){var t=e.getRadiusAxis(),i=e.getAngleAxis(),n=t.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:n[1],r0:n[0]},api:{coord:function(r){var o=t.dataToRadius(r[0]),l=i.dataToAngle(r[1]),a=e.coordToPoint([o,l]);return a.push(o,l*Math.PI/180),a},size:P.bind(B0,e)}}}function T0(e){var t=e.getRect(),i=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(n,r){return e.dataToPoint(n,r)},layout:function(n,r){return e.dataToLayout(n,r)}}}}function j0(e){var t=e.getRect();return{coordSys:{type:"matrix",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(i,n){return e.dataToPoint(i,n)},layout:function(i,n){return e.dataToLayout(i,n)}}}}var Tu={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},xs=P.keys(Tu),oo=P.reduce(P.TRANSFORMABLE_PROPS,function(e,t){return e[t]=1,e},{}),bs=P.TRANSFORMABLE_PROPS.join(", "),lo=["","style","shape","extra"],In=P.makeInner();function Wl(e,t,i,n,r){var o=e+"Animation",l=P.getAnimationConfig(e,n,r)||{},a=In(t).userDuring;return l.duration>0&&(l.during=a?P.bind(I0,{el:t,userDuring:a}):null,l.setToFinal=!0,l.scope=e),P.extend(l,i[o]),l}function Yr(e,t,i,n){n=n||{};var r=n.dataIndex,o=n.isInit,l=n.clearStyle,a=i.isAnimationEnabled(),s=In(e),d=t.style;s.userDuring=t.during;var u={},c={};if(U0(e,t,c),e.type==="compound")for(var h=e.shape.paths,f=t.shape.paths,p=0;p<f.length;p++){var m=f[p];Ko("shape",m,h[p])}else Ko("shape",t,c),Ko("extra",t,c);if(!o&&a&&(O0(e,t,u),ws("shape",e,t,u),ws("extra",e,t,u),Z0(e,t,d,u)),c.style=d,N0(e,c,l),z0(e,t),a)if(o){var $={};P.each(lo,function(y){var x=y?t[y]:t;x&&x.enterFrom&&(y&&($[y]=$[y]||{}),P.extend(y?$[y]:$,x.enterFrom))});var g=Wl("enter",e,t,i,r);g.duration>0&&e.animateFrom($,g)}else R0(e,t,r||0,i,u);ju(e,t),d?e.dirty():e.markRedraw()}function ju(e,t){for(var i=In(e).leaveToProps,n=0;n<lo.length;n++){var r=lo[n],o=r?t[r]:t;o&&o.leaveTo&&(i||(i=In(e).leaveToProps={}),r&&(i[r]=i[r]||{}),P.extend(r?i[r]:i,o.leaveTo))}}function Ao(e,t,i,n){if(e){var r=e.parent,o=In(e).leaveToProps;if(o){var l=Wl("update",e,t,i,0);l.done=function(){r&&r.remove(e)},e.animateTo(o,l)}else r&&r.remove(e)}}function fn(e){return e==="all"}function N0(e,t,i){var n=t.style;if(!e.isGroup&&n){if(i){e.useStyle({});for(var r=e.animators,o=0;o<r.length;o++){var l=r[o];l.targetName==="style"&&l.changeTarget(e.style)}}e.setStyle(n)}t&&(t.style=null,t&&e.attr(t),t.style=n)}function R0(e,t,i,n,r){if(r){var o=Wl("update",e,t,n,i);o.duration>0&&e.animateFrom(r,o)}}function z0(e,t){P.hasOwn(t,"silent")&&(e.silent=t.silent),P.hasOwn(t,"ignore")&&(e.ignore=t.ignore),e instanceof P.Displayable&&P.hasOwn(t,"invisible")&&(e.invisible=t.invisible),e instanceof P.Path&&P.hasOwn(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var yi={},D0={setTransform:function(e,t){return process.env.NODE_ENV!=="production"&&P.assert(P.hasOwn(oo,e),"Only "+bs+" available in `setTransform`."),yi.el[e]=t,this},getTransform:function(e){return process.env.NODE_ENV!=="production"&&P.assert(P.hasOwn(oo,e),"Only "+bs+" available in `getTransform`."),yi.el[e]},setShape:function(e,t){process.env.NODE_ENV!=="production"&&Cn(e);var i=yi.el,n=i.shape||(i.shape={});return n[e]=t,i.dirtyShape&&i.dirtyShape(),this},getShape:function(e){process.env.NODE_ENV!=="production"&&Cn(e);var t=yi.el.shape;if(t)return t[e]},setStyle:function(e,t){process.env.NODE_ENV!=="production"&&Cn(e);var i=yi.el,n=i.style;return n&&(process.env.NODE_ENV!=="production"&&P.eqNaN(t)&&P.warn("style."+e+" must not be assigned with NaN."),n[e]=t,i.dirtyStyle&&i.dirtyStyle()),this},getStyle:function(e){process.env.NODE_ENV!=="production"&&Cn(e);var t=yi.el.style;if(t)return t[e]},setExtra:function(e,t){process.env.NODE_ENV!=="production"&&Cn(e);var i=yi.el.extra||(yi.el.extra={});return i[e]=t,this},getExtra:function(e){process.env.NODE_ENV!=="production"&&Cn(e);var t=yi.el.extra;if(t)return t[e]}};function Cn(e){if(process.env.NODE_ENV!=="production"&&(e==="transition"||e==="enterFrom"||e==="leaveTo"))throw new Error('key must not be "'+e+'"')}function I0(){var e=this,t=e.el;if(t){var i=In(t).userDuring,n=e.userDuring;if(i!==n){e.el=e.userDuring=null;return}yi.el=t,n(D0)}}function ws(e,t,i,n){var r=i[e];if(r){var o=t[e],l;if(o){var a=i.transition,s=r.transition;if(s)if(!l&&(l=n[e]={}),fn(s))P.extend(l,o);else for(var d=P.normalizeToArray(s),u=0;u<d.length;u++){var c=d[u],h=o[c];l[c]=h}else if(fn(a)||P.indexOf(a,e)>=0){!l&&(l=n[e]={});for(var f=P.keys(o),u=0;u<f.length;u++){var c=f[u],h=o[c];G0(r[c],h)&&(l[c]=h)}}}}}function Ko(e,t,i){var n=t[e];if(n)for(var r=i[e]={},o=P.keys(n),l=0;l<o.length;l++){var a=o[l];r[a]=P.cloneValue(n[a])}}function O0(e,t,i){for(var n=t.transition,r=fn(n)?P.TRANSFORMABLE_PROPS:P.normalizeToArray(n||[]),o=0;o<r.length;o++){var l=r[o];if(!(l==="style"||l==="shape"||l==="extra")){var a=e[l];process.env.NODE_ENV!=="production"&&Nu(l,"el.transition"),i[l]=a}}}function U0(e,t,i){for(var n=0;n<xs.length;n++){var r=xs[n],o=Tu[r],l=t[r];l&&(i[o[0]]=l[0],i[o[1]]=l[1])}for(var n=0;n<P.TRANSFORMABLE_PROPS.length;n++){var a=P.TRANSFORMABLE_PROPS[n];t[a]!=null&&(i[a]=t[a])}}function Z0(e,t,i,n){if(i){var r=e.style,o;if(r){var l=i.transition,a=t.transition;if(l&&!fn(l)){var s=P.normalizeToArray(l);!o&&(o=n.style={});for(var d=0;d<s.length;d++){var u=s[d],c=r[u];o[u]=c}}else if(e.getAnimationStyleProps&&(fn(a)||fn(l)||P.indexOf(a,"style")>=0)){var h=e.getAnimationStyleProps(),f=h?h.style:null;if(f){!o&&(o=n.style={});for(var p=P.keys(i),d=0;d<p.length;d++){var u=p[d];if(f[u]){var c=r[u];o[u]=c}}}}}}}function G0(e,t){return P.isArrayLike(e)?e!==t:e!=null&&isFinite(e)}var Nu;process.env.NODE_ENV!=="production"&&(Nu=function(e,t){P.hasOwn(oo,e)||P.warn("Prop `"+e+"` is not a permitted in `"+t+"`. Only `"+P.keys(oo).join("`, `")+"` are permitted.")});var Ru=P.makeInner(),_0=["percent","easing","shape","style","extra"];function zu(e){e.stopAnimation("keyframe"),e.attr(Ru(e))}function ao(e,t,i){if(!(!i.isAnimationEnabled()||!t)){if(P.isArray(t)){P.each(t,function(a){ao(e,a,i)});return}var n=t.keyframes,r=t.duration;if(i&&r==null){var o=P.getAnimationConfig("enter",i,0);r=o&&o.duration}if(!(!n||!r)){var l=Ru(e);P.each(lo,function(a){if(!(a&&!e[a])){var s,d=!1;n.sort(function(u,c){return u.percent-c.percent}),P.each(n,function(u){var c=e.animators,h=a?u[a]:u;if(process.env.NODE_ENV!=="production"&&u.percent>=1&&(d=!0),!!h){var f=P.keys(h);if(a||(f=P.filter(f,function($){return P.indexOf(_0,$)<0})),!!f.length){s||(s=e.animate(a,t.loop,!0),s.scope="keyframe");for(var p=0;p<c.length;p++)c[p]!==s&&c[p].targetName===s.targetName&&c[p].stopTracks(f);a&&(l[a]=l[a]||{});var m=a?l[a]:l;P.each(f,function($){m[$]=((a?e[a]:e)||{})[$]}),s.whenWithKeys(r*u.percent,h,f,u.easing)}}}),s&&(process.env.NODE_ENV!=="production"&&(d||P.warn("End frame with percent: 1 is missing in the keyframeAnimation.",!0)),s.delay(t.delay||0).duration(r).start(t.easing))}})}}}var Ti="emphasis",Xi="normal",Yl="blur",Xl="select",Ji=[Xi,Ti,Yl,Xl],Qo={normal:["itemStyle"],emphasis:[Ti,"itemStyle"],blur:[Yl,"itemStyle"],select:[Xl,"itemStyle"]},Jo={normal:["label"],emphasis:[Ti,"label"],blur:[Yl,"label"],select:[Xl,"label"]},W0=["x","y"],Y0="e\0\0",ai={normal:{},emphasis:{},blur:{},select:{}},Ms={cartesian2d:A0,geo:C0,single:P0,polar:E0,calendar:T0,matrix:j0};function so(e){return e instanceof P.Path}function vl(e){return e instanceof P.Displayable}function X0(e,t){t.copyTransform(e),vl(t)&&vl(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,so(t)&&so(e)&&t.setShape(e.shape))}var H0=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i}return t.prototype.render=function(i,n,r,o){this._progressiveEls=null;var l=this._data,a=i.getData(),s=this.group,d=ks(i,a,n,r);l||s.removeAll(),a.diff(l).add(function(c){el(r,null,c,d(c,o),i,s,a)}).remove(function(c){var h=l.getItemGraphicEl(c);h&&Ao(h,Ei(h).option,i)}).update(function(c,h){var f=l.getItemGraphicEl(h);el(r,f,c,d(c,o),i,s,a)}).execute();var u=i.get("clip",!0)?P.createClipPath(i.coordinateSystem,!1,i):null;u?s.setClipPath(u):s.removeClipPath(),this._data=a},t.prototype.incrementalPrepareRender=function(i,n,r){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(i,n,r,o,l){var a=n.getData(),s=ks(n,a,r,o),d=this._progressiveEls=[];function u(f){f.isGroup||(f.incremental=P.getIncrementalId(n),f.ensureState("emphasis").hoverLayer=P.HOVER_LAYER_FOR_INCREMENTAL)}for(var c=i.start;c<i.end;c++){var h=el(null,null,c,s(c,l),n,this.group,a);h&&(h.traverse(u),d.push(h))}},t.prototype.eachRendered=function(i){P.traverseElements(this._progressiveEls||this.group,i)},t.prototype.filterForExposedEvent=function(i,n,r,o){var l=n.element;if(l==null||r.name===l)return!0;for(;(r=r.__hostTarget||r.parent)&&r!==this.group;)if(r.name===l)return!0;return!1},t.type="custom",t}(P.ChartView);function Hl(e){var t=e.type,i;if(t==="path"){var n=e.shape,r=n.width!=null&&n.height!=null?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=Ou(n);i=P.makePath(o,null,r,n.layout||"center"),Ei(i).customPathData=o}else if(t==="image")i=new P.ZRImage({}),Ei(i).customImagePath=e.style.image;else if(t==="text")i=new P.ZRText({});else if(t==="group")i=new P.Group;else if(t==="compoundPath"){var n=e.shape;if(!n||!n.paths){var l="";process.env.NODE_ENV!=="production"&&(l="shape.paths must be specified in compoundPath"),P.throwError(l)}var a=P.map(n.paths,function(u){if(u.type==="path")return P.makePath(u.shape.pathData,u,null);var c=P.getShapeClass(u.type);if(!c){var h="";process.env.NODE_ENV!=="production"&&(h='graphic type "'+t+'" can not be found.'),P.throwError(h)}return new c});i=new P.CompoundPath({shape:{paths:a}})}else{var s=P.getShapeClass(t);if(!s){var l="";process.env.NODE_ENV!=="production"&&(l='graphic type "'+t+'" can not be found.'),P.throwError(l)}i=new s}return Ei(i).customGraphicType=t,i.name=e.name,i.z2EmphasisLift=1,i.z2SelectLift=1,i}function Vl(e,t,i,n,r,o,l){zu(t);var a=r&&r.normal.cfg;a&&t.setTextConfig(a),n&&n.transition==null&&(n.transition=W0);var s=n&&n.style;if(s){if(t.type==="text"){var d=s;P.hasOwn(d,"textFill")&&(d.fill=d.textFill),P.hasOwn(d,"textStroke")&&(d.stroke=d.textStroke)}var u=void 0,c=so(t)?s.decal:null;e&&c&&(c.dirty=!0,u=P.createOrUpdatePatternFromDecal(c,e)),s.__decalPattern=u}if(vl(t)&&s){var u=s.__decalPattern;u&&(s.decal=u)}Yr(t,n,o,{dataIndex:i,isInit:l,clearStyle:!0}),ao(t,n.keyframeAnimation,o)}function Du(e,t,i,n,r){var o=t.isGroup?null:t,l=r&&r[e].cfg;if(o){var a=o.ensureState(e);if(n===!1){var s=o.getState(e);s&&(s.style=null)}else a.style=n||null;l&&(a.textConfig=l),P.setDefaultStateProxy(o)}}function V0(e,t,i){if(!e.isGroup){var n=e,r=i.currentZ,o=i.currentZLevel;n.z=r,n.zlevel=o;var l=t.z2;l!=null&&(n.z2=l||0);for(var a=0;a<Ji.length;a++)q0(n,t,Ji[a])}}function q0(e,t,i){var n=i===Xi,r=n?t:uo(t,i),o=r?r.z2:null,l;o!=null&&(l=n?e:e.ensureState(i),l.z2=o||0)}function ks(e,t,i,n){var r=e.get("renderItem");if(typeof r=="string"){var o=P.getCustomSeries(r);o?r=o:process.env.NODE_ENV!=="production"&&console.warn("Custom series renderItem '"+r+`' not found.
2
2
  Call 'echarts.registerCustomSeries' to register it.`)}var l=e.coordinateSystem,a={};l&&(process.env.NODE_ENV!=="production"&&(P.assert(r,"series.render is required."),P.assert(l.prepareCustoms||Ms[l.type],"This coordSys does not support custom series.")),a=l.prepareCustoms?l.prepareCustoms(l):Ms[l.type](l));for(var s=P.defaults({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:v,style:M,ordinalRawValue:w,styleEmphasis:S,visual:L,barLayout:T,currentSeriesIndices:k,font:F},a.api||{}),d={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:K0(e.getData()),itemPayload:e.get("itemPayload")||{}},u,c,h={},f={},p={},m={},$=0;$<Ji.length;$++){var g=Ji[$];p[g]=e.getModel(Qo[g]),m[g]=e.getModel(Jo[g])}function y(C){return C===u?c||(c=t.getItemModel(C)):t.getItemModel(C)}function x(C,E){return t.hasItemOption?C===u?h[E]||(h[E]=y(C).getModel(Qo[E])):y(C).getModel(Qo[E]):p[E]}function b(C,E){return t.hasItemOption?C===u?f[E]||(f[E]=y(C).getModel(Jo[E])):y(C).getModel(Jo[E]):m[E]}return function(C,E){return u=C,c=null,h={},f={},r&&r(P.defaults({dataIndexInside:C,dataIndex:t.getRawIndex(C),actionType:E?E.type:null},d),s)};function v(C,E){return E==null&&(E=u),t.getStore().get(t.getDimensionIndex(C||0),E)}function w(C,E){E==null&&(E=u),C=C||0;var j=t.getDimensionInfo(C);if(!j){var N=t.getDimensionIndex(C);return N>=0?t.getStore().get(N,E):void 0}var R=t.get(j.name,E),I=j&&j.ordinalMeta;return I?I.categories[R]:R}function M(C,E){process.env.NODE_ENV!=="production"&&P.warnDeprecated("api.style","Please write literal style directly instead."),E==null&&(E=u);var j=t.getItemVisual(E,"style"),N=j&&j.fill,R=j&&j.opacity,I=x(E,Xi).getItemStyle();N!=null&&(I.fill=N),R!=null&&(I.opacity=R);var U={inheritColor:P.isString(N)?N:P.tokens.color.neutral99},q=b(E,Xi),le=P.createTextStyle(q,null,U,!1,!0);le.text=q.getShallow("show")?P.retrieve2(e.getFormattedLabel(E,Xi),P.getDefaultLabel(t,E)):null;var X=P.createTextConfig(q,U,!1);return B(C,I),I=P.convertToEC4StyleForCustomSerise(I,le,X),C&&A(I,C),I.legacy=!0,I}function S(C,E){process.env.NODE_ENV!=="production"&&P.warnDeprecated("api.styleEmphasis","Please write literal style directly instead."),E==null&&(E=u);var j=x(E,Ti).getItemStyle(),N=b(E,Ti),R=P.createTextStyle(N,null,null,!0,!0);R.text=N.getShallow("show")?P.retrieve3(e.getFormattedLabel(E,Ti),e.getFormattedLabel(E,Xi),P.getDefaultLabel(t,E)):null;var I=P.createTextConfig(N,null,!0);return B(C,j),j=P.convertToEC4StyleForCustomSerise(j,R,I),C&&A(j,C),j.legacy=!0,j}function A(C,E){for(var j in E)P.hasOwn(E,j)&&(C[j]=E[j])}function B(C,E){C&&(C.textFill&&(E.textFill=C.textFill),C.textPosition&&(E.textPosition=C.textPosition))}function L(C,E){if(E==null&&(E=u),P.hasOwn(vs,C)){var j=t.getItemVisual(E,"style");return j?j[vs[C]]:null}if(P.hasOwn(M0,C))return t.getItemVisual(E,C)}function T(C){if(l.type==="cartesian2d"){var E=l.getBaseAxis();return P.computeBarLayoutForCustomSeries(P.defaults({axis:E},C))}}function k(){return i.getCurrentSeriesIndices()}function F(C){return P.getFont(C,i)}}function K0(e){var t={};return P.each(e.dimensions,function(i){var n=e.getDimensionInfo(i);if(!n.isExtraCoord){var r=n.coordDim,o=t[r]=t[r]||[];o[n.coordDimIndex]=e.getDimensionIndex(i)}}),t}function el(e,t,i,n,r,o,l){if(!n){o.remove(t);return}var a=ql(e,t,i,n,r,o);return a&&l.setItemGraphicEl(i,a),a&&P.toggleHoverEmphasis(a,n.focus,n.blurScope,n.emphasisDisabled),a}function ql(e,t,i,n,r,o){process.env.NODE_ENV!=="production"&&P.assert(n,"should not have an null/undefined element setting");var l=-1,a=t;t&&Iu(t,n,r)&&(l=P.indexOf(o.childrenRef(),t),t=null);var s=!t,d=t;d?d.clearStates():(d=Hl(n),a&&X0(a,d)),n.morph===!1?d.disableMorphing=!0:d.disableMorphing&&(d.disableMorphing=!1),n.tooltipDisabled&&(d.tooltipDisabled=!0),ai.normal.cfg=ai.normal.conOpt=ai.emphasis.cfg=ai.emphasis.conOpt=ai.blur.cfg=ai.blur.conOpt=ai.select.cfg=ai.select.conOpt=null,ai.isLegacy=!1,J0(d,i,n,r,s,ai),Q0(d,i,n,r,s),Vl(e,d,i,n,ai,r,s),P.hasOwn(n,"info")&&(Ei(d).info=n.info);for(var u=0;u<Ji.length;u++){var c=Ji[u];if(c!==Xi){var h=uo(n,c),f=Kl(n,h,c);Du(c,d,h,f,ai)}}return V0(d,n,r),n.type==="group"&&ef(e,d,i,n,r),l>=0?o.replaceAt(d,l):o.add(d),d}function Iu(e,t,i){var n=Ei(e),r=t.type,o=t.shape,l=t.style;return i.isUniversalTransitionEnabled()||r!=null&&r!==n.customGraphicType||r==="path"&&of(o)&&Ou(o)!==n.customPathData||r==="image"&&P.hasOwn(l,"image")&&l.image!==n.customImagePath}function Q0(e,t,i,n,r){var o=i.clipPath;if(o===!1)e&&e.getClipPath()&&e.removeClipPath();else if(o){var l=e.getClipPath();l&&Iu(l,o,n)&&(l=null),l||(l=Hl(o),process.env.NODE_ENV!=="production"&&P.assert(so(l),"Only any type of `path` can be used in `clipPath`, rather than "+l.type+"."),e.setClipPath(l)),Vl(null,l,t,o,null,n,r)}}function J0(e,t,i,n,r,o){if(!(e.isGroup||e.type==="compoundPath")){Ss(i,null,o),Ss(i,Ti,o);var l=o.normal.conOpt,a=o.emphasis.conOpt,s=o.blur.conOpt,d=o.select.conOpt;if(l!=null||a!=null||d!=null||s!=null){var u=e.getTextContent();if(l===!1)u&&e.removeTextContent();else{l=o.normal.conOpt=l||{type:"text"},u?u.clearStates():(u=Hl(l),e.setTextContent(u)),Vl(null,u,t,l,null,n,r);for(var c=l&&l.style,h=0;h<Ji.length;h++){var f=Ji[h];if(f!==Xi){var p=o[f].conOpt;Du(f,u,p,Kl(l,p,f),null)}}c?u.dirty():u.markRedraw()}}}}function Ss(e,t,i){var n=t?uo(e,t):e,r=t?Kl(e,n,Ti):e.style,o=e.type,l=n?n.textConfig:null,a=e.textContent,s=a?t?uo(a,t):a:null;if(r&&(i.isLegacy||P.isEC4CompatibleStyle(r,o,!!l,!!s))){i.isLegacy=!0;var d=P.convertFromEC4CompatibleStyle(r,o,!t);!l&&d.textConfig&&(l=d.textConfig),!s&&d.textContent&&(s=d.textContent)}if(!t&&s){var u=s;!u.type&&(u.type="text"),process.env.NODE_ENV!=="production"&&P.assert(u.type==="text",'textContent.type must be "text"')}var c=t?i[t]:i.normal;c.cfg=l,c.conOpt=s}function uo(e,t){return t?e?e[t]:null:e}function Kl(e,t,i){var n=t&&t.style;return n==null&&i===Ti&&e&&(n=e.styleEmphasis),n}function ef(e,t,i,n,r){var o=n.children,l=o?o.length:0,a=n.$mergeChildren,s=a==="byName"||n.diffChildrenByName,d=a===!1;if(!(!l&&!s&&!d)){if(s){nf({api:e,oldChildren:t.children()||[],newChildren:o||[],dataIndex:i,seriesModel:r,group:t});return}d&&t.removeAll();for(var u=0;u<l;u++){var c=o[u],h=t.childAt(u);c?(c.ignore==null&&(c.ignore=!1),ql(e,h,i,c,r,t)):(process.env.NODE_ENV!=="production"&&P.assert(h,"renderItem should not return a group containing elements as null/undefined/{} if they do not exist before."),h.ignore=!0)}for(var f=t.childCount()-1;f>=u;f--){var p=t.childAt(f);tf(t,p,r)}}}function tf(e,t,i){t&&Ao(t,Ei(e).option,i)}function nf(e){new P.DataDiffer(e.oldChildren,e.newChildren,As,As,e).add(Ls).update(Ls).remove(rf).execute()}function As(e,t){var i=e&&e.name;return i??Y0+t}function Ls(e,t){var i=this.context,n=e!=null?i.newChildren[e]:null,r=t!=null?i.oldChildren[t]:null;ql(i.api,r,i.dataIndex,n,i.seriesModel,i.group)}function rf(e){var t=this.context,i=t.oldChildren[e];i&&Ao(i,Ei(i).option,t.seriesModel)}function Ou(e){return e&&(e.pathData||e.d)}function of(e){return e&&(P.hasOwn(e,"pathData")||P.hasOwn(e,"d"))}function lf(e){e.registerChartView(H0),e.registerSeriesModel(k0)}function af(e,t){var i=e.existing;if(t.id=e.keyInfo.id,!t.type&&i&&(t.type=i.type),t.parentId==null){var n=t.parentOption;n?t.parentId=n.id:i&&(t.parentId=i.parentId)}t.parentOption=null}function Cs(e,t){var i;return P.each(t,function(n){e[n]!=null&&e[n]!=="auto"&&(i=!0)}),i}function sf(e,t,i){var n=P.extend({},i),r=e[t],o=i.$action||"merge";if(o==="merge")if(r){if(process.env.NODE_ENV!=="production"){var l=i.type;P.assert(!l||r.type===l,'Please set $action: "replace" to change `type`')}P.merge(r,n,!0),P.mergeLayoutParam(r,n,{ignoreSize:!0}),P.copyLayoutParams(i,r),Mr(i,r),Mr(i,r,"shape"),Mr(i,r,"style"),Mr(i,r,"extra"),i.clipPath=r.clipPath}else e[t]=n;else o==="replace"?e[t]=n:o==="remove"&&r&&(e[t]=null)}var Uu=["transition","enterFrom","leaveTo"],df=Uu.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function Mr(e,t,i){if(i&&(!e[i]&&t[i]&&(e[i]={}),e=e[i],t=t[i]),!(!e||!t))for(var n=i?Uu:df,r=0;r<n.length;r++){var o=n[r];e[o]==null&&t[o]!=null&&(e[o]=t[o])}}function uf(e,t){if(e&&(e.hv=t.hv=[Cs(t,["left","right"]),Cs(t,["top","bottom"])],e.type==="group")){var i=e,n=t;i.width==null&&(i.width=n.width=0),i.height==null&&(i.height=n.height=0)}}var cf=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i.preventAutoZ=!0,i}return t.prototype.mergeOption=function(i,n){var r=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,i,n),this.option.elements=r},t.prototype.optionUpdated=function(i,n){var r=this.option,o=(n?r:i).elements,l=r.elements=n?[]:r.elements,a=[];this._flatten(o,a,null);var s=P.mappingToExists(l,a,"normalMerge"),d=this._elOptionsToUpdate=[];P.each(s,function(u,c){var h=u.newOption;process.env.NODE_ENV!=="production"&&P.assert(P.isObject(h)||u.existing,"Empty graphic option definition"),h&&(d.push(h),af(u,h),sf(l,c,h),uf(l[c],h))},this),r.elements=P.filter(l,function(u){return u&&delete u.$action,u!=null})},t.prototype._flatten=function(i,n,r){P.each(i,function(o){if(o){r&&(o.parentOption=r),n.push(o);var l=o.children;l&&l.length&&this._flatten(l,n,o),delete o.children}},this)},t.prototype.useElOptionsToUpdate=function(){var i=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,i},t.type="graphic",t.defaultOption={elements:[]},t}(P.ComponentModel),Fs={path:null,compoundPath:null,group:P.Group,image:P.ZRImage,text:P.ZRText},si=P.makeInner(),hf=function(e){P.__extends(t,e);function t(){var i=e!==null&&e.apply(this,arguments)||this;return i.type=t.type,i}return t.prototype.init=function(){this._elMap=P.createHashMap()},t.prototype.render=function(i,n,r){i!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=i,this._updateElements(i),this._relocate(i,r)},t.prototype._updateElements=function(i){var n=i.useElOptionsToUpdate();if(n){var r=this._elMap,o=this.group,l=i.get("z"),a=i.get("zlevel");P.each(n,function(s){var d=P.convertOptionIdName(s.id,null),u=d!=null?r.get(d):null,c=P.convertOptionIdName(s.parentId,null),h=c!=null?r.get(c):o,f=s.type,p=s.style;f==="text"&&p&&s.hv&&s.hv[1]&&(p.textVerticalAlign=p.textBaseline=p.verticalAlign=p.align=null);var m=s.textContent,$=s.textConfig;if(p&&P.isEC4CompatibleStyle(p,f,!!$,!!m)){var g=P.convertFromEC4CompatibleStyle(p,f,!0);!$&&g.textConfig&&($=s.textConfig=g.textConfig),!m&&g.textContent&&(m=g.textContent)}var y=ff(s);process.env.NODE_ENV!=="production"&&u&&P.assert(h===u.parent,"Changing parent is not supported.");var x=s.$action||"merge",b=x==="merge",v=x==="replace";if(b){var w=!u,M=u;w?M=Ps(d,h,s.type,r):(M&&(si(M).isNew=!1),zu(M)),M&&(Yr(M,y,i,{isInit:w}),Bs(M,s,l,a))}else if(v){Xr(u,s,r,i);var S=Ps(d,h,s.type,r);S&&(Yr(S,y,i,{isInit:!0}),Bs(S,s,l,a))}else x==="remove"&&(ju(u,s),Xr(u,s,r,i));var A=r.get(d);if(A&&m)if(b){var B=A.getTextContent();B?B.attr(m):A.setTextContent(new P.ZRText(m))}else v&&A.setTextContent(new P.ZRText(m));if(A){var L=s.clipPath;if(L){var T=L.type,k=void 0,w=!1;if(b){var F=A.getClipPath();w=!F||si(F).type!==T,k=w?xl(T):F}else v&&(w=!0,k=xl(T));A.setClipPath(k),Yr(k,L,i,{isInit:w}),ao(k,L.keyframeAnimation,i)}var C=si(A);A.setTextConfig($),C.option=s,pf(A,i,s),P.setTooltipConfig({el:A,componentModel:i,itemName:A.name,itemTooltipOption:s.tooltip}),ao(A,s.keyframeAnimation,i)}})}},t.prototype._relocate=function(i,n){for(var r=i.option.elements,o=this.group,l=this._elMap,a=n.getWidth(),s=n.getHeight(),d=["x","y"],u=0;u<r.length;u++){var c=r[u],h=P.convertOptionIdName(c.id,null),f=h!=null?l.get(h):null;if(!(!f||!f.isGroup)){var p=f.parent,m=p===o,$=si(f),g=si(p);$.width=P.parsePercent($.option.width,m?a:g.width)||0,$.height=P.parsePercent($.option.height,m?s:g.height)||0}}for(var u=r.length-1;u>=0;u--){var c=r[u],h=P.convertOptionIdName(c.id,null),f=h!=null?l.get(h):null;if(f){var p=f.parent,g=si(p),y=p===o?{width:a,height:s}:{width:g.width,height:g.height},x={},b=P.positionElement(f,c,y,null,{hv:c.hv,boundingMode:c.bounding},x);if(!si(f).isNew&&b){for(var v=c.transition,w={},M=0;M<d.length;M++){var S=d[M],A=x[S];v&&(fn(v)||P.indexOf(v,S)>=0)?w[S]=A:f[S]=A}P.updateProps(f,w,i,0)}else f.attr(x)}}},t.prototype._clear=function(){var i=this,n=this._elMap;n.each(function(r){Xr(r,si(r).option,n,i._lastGraphicModel)}),this._elMap=P.createHashMap()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(P.ComponentView);function xl(e){process.env.NODE_ENV!=="production"&&P.assert(e,"graphic type MUST be set");var t=P.hasOwn(Fs,e)?Fs[e]:P.getShapeClass(e);process.env.NODE_ENV!=="production"&&P.assert(t,"graphic type "+e+" can not be found");var i=new t({});return si(i).type=e,i}function Ps(e,t,i,n){var r=xl(i);return t.add(r),n.set(e,r),si(r).id=e,si(r).isNew=!0,r}function Xr(e,t,i,n){var r=e&&e.parent;r&&(e.type==="group"&&e.traverse(function(o){Xr(o,t,i,n)}),Ao(e,t,n),i.removeKey(si(e).id))}function Bs(e,t,i,n){e.isGroup||P.each([["cursor",P.Displayable.prototype.cursor],["zlevel",n||0],["z",i||0],["z2",0]],function(r){var o=r[0];P.hasOwn(t,o)?e[o]=P.retrieve2(t[o],r[1]):e[o]==null&&(e[o]=r[1])}),P.each(P.keys(t),function(r){if(r.indexOf("on")===0){var o=t[r];e[r]=P.isFunction(o)?o:null}}),P.hasOwn(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function ff(e){return e=P.extend({},e),P.each(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(P.LOCATION_PARAMS),function(t){delete e[t]}),e}function pf(e,t,i){var n=P.getECData(e).eventData;!e.silent&&!e.ignore&&!n&&(n=P.getECData(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),n&&(n.info=i.info)}function mf(e){e.registerComponentModel(cf),e.registerComponentView(hf),e.registerPreprocessor(function(t){var i=t.graphic;P.isArray(i)?!i[0]||!i[0].elements?t.graphic=[{elements:i}]:t.graphic=[t.graphic[0]]:i&&!i.elements&&(t.graphic=[{elements:[i]}])})}var gf=Object.defineProperty,$f=(e,t,i)=>t in e?gf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,jt=(e,t,i)=>$f(e,typeof t!="symbol"?t+"":t,i);function yf(e){var t;const i=((t=e.split(".").pop())==null?void 0:t.toLowerCase())||"";return{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",bmp:"image/bmp",tiff:"image/tiff",tif:"image/tiff",emf:"image/x-emf",wmf:"image/x-wmf",webp:"image/webp",mp4:"video/mp4",m4v:"video/mp4",webm:"video/webm",avi:"video/x-msvideo",mp3:"audio/mpeg",wav:"audio/wav",m4a:"audio/mp4",ogg:"audio/ogg"}[i]||"application/octet-stream"}function vf(e){const t=e.search(/[?#]/);return t>=0?e.slice(0,t):e}function xf(e){const t=[];for(const i of e.replace(/\\/g,"/").split("/"))if(!(!i||i===".")){if(i===".."){t.pop();continue}t.push(i)}return t}function bf(e){try{return decodeURIComponent(e)}catch{return e}}function Zu(e){const t=xf(vf(e)),i=t.lastIndexOf("media");return(i>=0&&i<t.length-1?t.slice(i+1):t.slice(-1)).join("/")}function Gu(e){return`ppt/media/${Zu(e).split("/").map(bf).join("/")}`}function bl(e){const t=Zu(e),i=Gu(e),n=`ppt/media/${t}`;return i===n?[i]:[i,n]}function cr(e,t){for(const i of bl(e)){const n=t.get(i);if(n)return{mediaPath:i,data:n}}}async function Lo(e,t,i){return cr(e,t)||(i==null?void 0:i.resolve(e))}function gn(e,t,i){let n=i.get(e);if(!n){const r=yf(e),o=new Blob([t],{type:r});n=URL.createObjectURL(o),i.set(e,n)}return n}const wf=Object.freeze({maxEntries:4e3,maxEntryUncompressedBytes:32*1024*1024,maxTotalUncompressedBytes:256*1024*1024,maxMediaBytes:192*1024*1024,maxConcurrency:8});function Yi(e){throw new Error(`PPTX zip limit exceeded: ${e}`)}function wl(e){return e.startsWith("ppt/media/")}function Mf(e){return e.split("/").map(t=>{try{return decodeURIComponent(t)}catch{return t}}).join("/")}function Bt(e,t,i){e.set(t,i);const n=Mf(t);n!==t&&!e.has(n)&&e.set(n,i)}function kf(e){const t=e._data,i=t==null?void 0:t.uncompressedSize;return typeof i=="number"&&Number.isFinite(i)?i:void 0}function Sf(e){return new TextEncoder().encode(e).byteLength}class Af{constructor(t,i,n,r){this.entries=t,this.media=i,this.state=n,this.totalBytes=r,this.inflight=new Map,this.loadedPaths=new Set,this.totalCount=new Set(Array.from(t.values(),o=>o.path)).size}get loadedBytes(){var t;let i=0;for(const n of this.loadedPaths)i+=((t=this.media.get(n))==null?void 0:t.byteLength)??0;return i}get loadedCount(){return this.loadedPaths.size}async resolve(t){for(const i of bl(t)){const n=this.media.get(i);if(n)return{mediaPath:i,data:n}}for(const i of bl(t)){const n=this.entries.get(i);if(!n)continue;const r=await this.readEntry(n);return{mediaPath:i,data:r}}}async readEntry(t){let i=this.inflight.get(t.path);i||(i=Ml(t.path,t.file,this.state).then(n=>(Bt(this.media,t.path,n),this.loadedPaths.add(t.path),n)),this.inflight.set(t.path,i));try{return await i}finally{this.inflight.delete(t.path)}}}function Ql(e,t,i){if(i.limits.maxEntryUncompressedBytes!==void 0&&t>i.limits.maxEntryUncompressedBytes&&Yi(`${e} is ${t} bytes > maxEntryUncompressedBytes ${i.limits.maxEntryUncompressedBytes}`),i.knownSizeByPath.has(e))return;i.unknownTotalBytes+=t;const n=i.knownTotalBytes+i.unknownTotalBytes;if(i.limits.maxTotalUncompressedBytes!==void 0&&n>i.limits.maxTotalUncompressedBytes&&Yi(`total uncompressed bytes ${n} > maxTotalUncompressedBytes ${i.limits.maxTotalUncompressedBytes}`),wl(e)){i.unknownMediaBytes+=t;const r=i.knownMediaBytes+i.unknownMediaBytes;i.limits.maxMediaBytes!==void 0&&r>i.limits.maxMediaBytes&&Yi(`media bytes ${r} > maxMediaBytes ${i.limits.maxMediaBytes}`)}}async function Pt(e,t,i){const n=await t.async("string");return Ql(e,Sf(n),i),n}async function Ml(e,t,i){const n=await t.async("uint8array");return Ql(e,n.byteLength,i),n}async function Lf(e,t,i){if(i.knownSizeByPath.has(e)||i.limits.maxEntryUncompressedBytes===void 0&&i.limits.maxTotalUncompressedBytes===void 0)return;const n=await t.async("uint8array");Ql(e,n.byteLength,i)}async function Cf(e,t,i){if(e.length===0)return;const n=Math.min(t,e.length);let r=0;const o=Array.from({length:n},async()=>{for(;;){const l=r++;if(l>=e.length)return;await i(e[l])}});await Promise.all(o)}async function Jl(e,t={}){return _u(e,t,{lazyMedia:!1})}async function ea(e,t={}){return _u(e,t,{lazyMedia:!0})}async function _u(e,t,i){const n=t.maxConcurrency??8;(!Number.isInteger(n)||n<1)&&Yi(`maxConcurrency ${t.maxConcurrency} must be an integer >= 1`);const r=await P.Hu.loadAsync(e),o=Object.entries(r.files).filter(([,h])=>!h.dir);t.maxEntries!==void 0&&o.length>t.maxEntries&&Yi(`entries ${o.length} > maxEntries ${t.maxEntries}`);const l=new Map;let a=0,s=0;for(const[h,f]of o){const p=h.replace(/\\/g,"/"),m=kf(f);m!==void 0&&(l.set(p,m),t.maxEntryUncompressedBytes!==void 0&&m>t.maxEntryUncompressedBytes&&Yi(`${p} is ${m} bytes > maxEntryUncompressedBytes ${t.maxEntryUncompressedBytes}`),a+=m,t.maxTotalUncompressedBytes!==void 0&&a>t.maxTotalUncompressedBytes&&Yi(`total uncompressed bytes ${a} > maxTotalUncompressedBytes ${t.maxTotalUncompressedBytes}`),wl(p)&&(s+=m,t.maxMediaBytes!==void 0&&s>t.maxMediaBytes&&Yi(`media bytes ${s} > maxMediaBytes ${t.maxMediaBytes}`)))}const d={contentTypes:"",presentation:"",presentationRels:"",slides:new Map,slideRels:new Map,slideLayouts:new Map,slideLayoutRels:new Map,slideMasters:new Map,slideMasterRels:new Map,themes:new Map,themeOverrides:new Map,media:new Map,fonts:new Map,charts:new Map,chartRels:new Map,chartStyles:new Map,chartColors:new Map,diagramDrawings:new Map},u={limits:t,knownSizeByPath:l,knownTotalBytes:a,knownMediaBytes:s,unknownTotalBytes:0,unknownMediaBytes:0},c=new Map;return await Cf(o,n,async([h,f])=>{const p=h.replace(/\\/g,"/");if(p==="[Content_Types].xml"){d.contentTypes=await Pt(p,f,u);return}if(p==="ppt/presentation.xml"){d.presentation=await Pt(p,f,u);return}if(p==="ppt/_rels/presentation.xml.rels"){d.presentationRels=await Pt(p,f,u);return}if(p==="ppt/tableStyles.xml"){d.tableStyles=await Pt(p,f,u);return}if(wl(p)){if(i.lazyMedia){Bt(c,p,{path:p,file:f});return}const m=await Ml(p,f,u);Bt(d.media,p,m);return}if(/^ppt\/fonts\/[^/]+\.fntdata$/i.test(p)){const m=await Ml(p,f,u);Bt(d.fonts,p,m);return}if(/^ppt\/slides\/_rels\/[^/]+\.xml\.rels$/.test(p)){Bt(d.slideRels,p,await Pt(p,f,u));return}if(/^ppt\/slides\/[^/]+\.xml$/.test(p)){Bt(d.slides,p,await Pt(p,f,u));return}if(/^ppt\/slideLayouts\/_rels\/[^/]+\.xml\.rels$/.test(p)){Bt(d.slideLayoutRels,p,await Pt(p,f,u));return}if(/^ppt\/slideLayouts\/[^/]+\.xml$/.test(p)){Bt(d.slideLayouts,p,await Pt(p,f,u));return}if(/^ppt\/slideMasters\/_rels\/[^/]+\.xml\.rels$/.test(p)){Bt(d.slideMasterRels,p,await Pt(p,f,u));return}if(/^ppt\/slideMasters\/[^/]+\.xml$/.test(p)){Bt(d.slideMasters,p,await Pt(p,f,u));return}if(/^ppt\/theme\/(?!themeOverride[^/]*\.xml$)[^/]+\.xml$/.test(p)){Bt(d.themes,p,await Pt(p,f,u));return}if(/^ppt\/theme\/themeOverride[^/]*\.xml$/.test(p)){d.themeOverrides&&Bt(d.themeOverrides,p,await Pt(p,f,u));return}if(/^ppt\/charts\/_rels\/[^/]+\.xml\.rels$/.test(p)){d.chartRels&&Bt(d.chartRels,p,await Pt(p,f,u));return}if(/^ppt\/charts\/(?!style[^/]*\.xml$)(?!colors[^/]*\.xml$)[^/]+\.xml$/.test(p)){Bt(d.charts,p,await Pt(p,f,u));return}if(/^ppt\/charts\/style[^/]*\.xml$/.test(p)){Bt(d.chartStyles,p,await Pt(p,f,u));return}if(/^ppt\/charts\/colors[^/]*\.xml$/.test(p)){Bt(d.chartColors,p,await Pt(p,f,u));return}if(/^ppt\/diagrams\/[^/]+\.xml$/.test(p)){Bt(d.diagramDrawings,p,await Pt(p,f,u));return}await Lf(p,f,u)}),i.lazyMedia&&(d.mediaResolver=new Af(c,d.media,u,s)),d}function ta(e){const t=e??"obj";return t==="ctrTitle"?"title":["obj","subTitle","pic","chart","clipArt","dgm","media","tbl"].includes(t)?"body":t}class _t{constructor(t){this.el=t}attr(t){if(!this.el)return;if(this.el.hasAttribute(t))return this.el.getAttribute(t);const i=t.indexOf(":"),n=i>=0?t.slice(i+1):t,r=i>=0?this.resolveAttributeNamespace(t.slice(0,i)):void 0;for(let o=0;o<this.el.attributes.length;o++){const l=this.el.attributes[o];if(l.localName===n&&(i<0||(r?l.namespaceURI===r:l.namespaceURI!==null)))return l.value}}resolveAttributeNamespace(t){var i;return((i=this.el)==null?void 0:i.lookupNamespaceURI(t))??(t==="r"?"http://schemas.openxmlformats.org/officeDocument/2006/relationships":void 0)}numAttr(t){const i=this.attr(t);if(i===void 0)return;const n=Number(i);return Number.isNaN(n)?void 0:n}child(t){if(!this.el)return new _t(null);const i=this.el.children;for(let n=0;n<i.length;n++)if(i[n].localName===t)return new _t(i[n]);return new _t(null)}children(t){if(!this.el)return[];const i=[],n=this.el.children;for(let r=0;r<n.length;r++)(t===void 0||n[r].localName===t)&&i.push(new _t(n[r]));return i}text(){return this.el?this.el.textContent??"":""}exists(){return this.el!==null}allChildren(){return this.children()}get localName(){var t;return((t=this.el)==null?void 0:t.localName)??""}get element(){return this.el}}function Gt(e){const t=new DOMParser().parseFromString(e,"application/xml"),i=t.querySelector("parsererror");return i?(console.warn("XML parse error:",i.textContent),new _t(null)):new _t(t.documentElement)}function Mi(e){return(e==null?void 0:e.trim().toLowerCase())==="external"}function Ff(e){const t=e.search(/[?#]/);return t>=0?e.slice(0,t):e}function Es(e){try{return decodeURIComponent(e)}catch{return e}}function Kn(e){const t=new Map;if(!e)return t;const i=Gt(e);if(!i.exists())return t;const n=i.children("Relationship");for(const r of n){const o=r.attr("Id"),l=r.attr("Type"),a=r.attr("Target"),s=r.attr("TargetMode");o&&l!==void 0&&a!==void 0&&t.set(o,{type:l,target:a,targetMode:s})}return t}function Jt(e,t){const i=Ff(t);if(i.startsWith("/"))return i.slice(1).replace(/\\/g,"/").split("/").map(Es).join("/");const n=e.replace(/\\/g,"/").split("/").filter(Boolean),r=i.replace(/\\/g,"/").split("/").filter(Boolean).map(Es),o=[...n];for(const l of r)l===".."?o.pop():l!=="."&&o.push(l);return o.join("/")}function ee(e){return e/914400*96}function xi(e){return e/6e4}function hr(e){return e/1e5}function Pf(e){return e*96/72}const Bf=["dk1","dk2","lt1","lt2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"];function Ef(e){const t=e.child("srgbClr");if(t.exists())return t.attr("val");const i=e.child("sysClr");if(i.exists())return i.attr("lastClr")??i.attr("val")}function Ts(e){const t={};for(const n of e.children("font")){const r=n.attr("script"),o=n.attr("typeface");r&&o&&(t[r]=o)}const i={latin:e.child("latin").attr("typeface")??"",ea:e.child("ea").attr("typeface")??"",cs:e.child("cs").attr("typeface")??""};return Object.keys(t).length>0&&(i.scripts=t),i}function js(e){const t=e.child("themeElements"),i=t.exists()?t:e,n=i.child("clrScheme"),r=new Map;for(const f of Bf){const p=n.child(f);if(p.exists()){const m=Ef(p);m!==void 0&&r.set(f,m)}}const o=i.child("fontScheme"),l=Ts(o.child("majorFont")),a=Ts(o.child("minorFont")),s=i.child("fmtScheme"),d=s.child("fillStyleLst").allChildren(),u=s.child("bgFillStyleLst").allChildren(),c=s.child("lnStyleLst").allChildren(),h=s.child("effectStyleLst").allChildren();return{colorScheme:r,majorFont:l,minorFont:a,fillStyles:d,bgFillStyles:u,lineStyles:c,effectStyles:h}}const Tf=new Set(["1","true","t","on"]),jf=new Set(["0","false","f","off"]);function Mt(e,t=!1){if(e===void 0)return t;const i=e.trim().toLowerCase();return Tf.has(i)?!0:jf.has(i)?!1:t}function Nf(e){const t=["nvSpPr","nvPicPr","nvGrpSpPr","nvGraphicFramePr","nvCxnSpPr"];for(const i of t){const n=e.child(i);if(n.exists())return{cNvPr:n.child("cNvPr"),nvPr:n.child("nvPr")}}return{cNvPr:e.child("cNvPr"),nvPr:e.child("nvPr")}}function Wu(e){const t=e.child("spPr");if(t.exists()){const r=t.child("xfrm");if(r.exists())return r}const i=e.child("grpSpPr");if(i.exists()){const r=i.child("xfrm");if(r.exists())return r}const n=e.child("xfrm");return n.exists()?n:e.child("__nonexistent__")}function Rf(e){const t=e.child("ph");if(!t.exists())return;const i=t.attr("type"),n=t.numAttr("idx");return{type:i,idx:n}}function vn(e){const{cNvPr:t,nvPr:i}=Nf(e),n=t.attr("id")??"",r=t.attr("name")??"",o=Wu(e),l=o.child("off"),a=o.child("ext"),s={x:ee(l.numAttr("x")??0),y:ee(l.numAttr("y")??0)},d={w:ee(a.numAttr("cx")??0),h:ee(a.numAttr("cy")??0)},u=xi(o.numAttr("rot")??0),c=Mt(o.attr("flipH")),h=Mt(o.attr("flipV")),f=Rf(i);let p;const m=t.child("hlinkClick");return m.exists()&&(p={action:m.attr("action")??void 0,rId:m.attr("id")??m.attr("r:id")??void 0,tooltip:m.attr("tooltip")??void 0}),{id:n,name:r,position:s,size:d,rotation:u,flipH:c,flipV:h,placeholder:f,hlinkClick:p,source:e}}function Ns(e,t,i){const n=e.attr(t);if(n===void 0)return;const r=Number(n);if(!(Number.isFinite(r)&&(t==="fov"?r>0&&r<=180*6e4:r>0))){Co(i,"malformed-numeric");return}return t==="fov"?xi(r):hr(r)}const Rs=76200;function Co(e,t){e.includes(t)||e.push(t)}function zs(e,t){if(!e.exists())return;const i=[e.attr("lat"),e.attr("lon"),e.attr("rev")].map(n=>n===void 0?0:Number(n));if(i.some(n=>!Number.isFinite(n))){Co(t,"malformed-numeric");return}return{latitude:xi(i[0]),longitude:xi(i[1]),revolution:xi(i[2])}}function co(e,t,i,n){const r=e.attr(t);if(r===void 0)return ee(i);const o=Number(r);if(!Number.isFinite(o)||o<0){Co(n,"malformed-numeric");return}return ee(o)}function zf(e,t,i){const n=e.attr(t);if(n===void 0)return;const r=Number(n);if(!Number.isFinite(r)){Co(i,"malformed-numeric");return}return ee(r)}function Ds(e,t){if(!e.exists())return;const i=e.attr("prst");return{preset:i??"circle",presetExplicit:i!==void 0,width:co(e,"w",Rs,t),height:co(e,"h",Rs,t)}}function Is(e){if(!e.exists())return;const t=e.allChildren()[0];if(t!=null&&t.exists())return{type:t.localName,value:t.attr("val")??t.attr("lastClr")}}function ia(e){const t=e.child("scene3d"),i=e.child("sp3d");if(!t.exists()&&!i.exists())return;const n=[];let r,o;if(t.exists()){const s=t.child("camera"),d=t.child("lightRig");if(r={},s.exists()){r.cameraPreset=s.attr("prst"),r.fieldOfView=Ns(s,"fov",n),r.cameraZoom=Ns(s,"zoom",n);const u=s.child("rot");r.cameraRotation=zs(u,n)}if(d.exists()){r.lightRig=d.attr("rig"),r.lightDirection=d.attr("dir");const u=d.child("rot");r.lightRotation=zs(u,n)}t.child("backdrop").exists()&&(r.hasBackdrop=!0)}if(i.exists()){const s=Ds(i.child("bevelT"),n),d=Ds(i.child("bevelB"),n),u=i.child("contourClr"),c=i.child("extrusionClr"),h=zf(i,"z",n),f=co(i,"extrusionH",0,n),p=co(i,"contourW",0,n),m=i.attr("prstMaterial");o={zPosition:h,extrusionHeight:f,contourWidth:p,presetMaterial:m,bevelTop:s,bevelBottom:d,extrusionColor:Is(c),contourColor:Is(u),contourColorSource:u.exists()?u:void 0}}const l=e.child("effectLst"),a=e.child("effectDag");return{scene:r,shape:o,effectKinds:l.exists()?l.allChildren().map(s=>s.localName):a.exists()?["effectDag"]:[],parseIssues:n}}const Fo="http://schemas.microsoft.com/office/drawing/2010/main",Yu=new Set(["http://schemas.openxmlformats.org/officeDocument/2006/math","http://purl.oclc.org/ooxml/officeDocument/math"]),Xu=new Set(["http://schemas.openxmlformats.org/drawingml/2006/main","http://purl.oclc.org/ooxml/drawingml/main"]);function ci(e,t){var i;return e.exists()&&Yu.has(((i=e.element)==null?void 0:i.namespaceURI)??"")&&(t===void 0||e.localName===t)}function xn(e,t){return e.allChildren().find(i=>ci(i,t))}function zi(e,t){return e.allChildren().every(i=>{var n;const r=((n=i.element)==null?void 0:n.namespaceURI)??"";return Yu.has(r)&&t.has(i.localName)})}function fr(e,t=new Set(["argPr","ctrlPr"])){const i=[];for(const n of e.allChildren()){if(!ci(n))return;if(t.has(n.localName))continue;const r=Yf(n);if(!r)return;i.push(r)}return{kind:"row",children:i}}function qi(e,t){const i=xn(e,t);return i?fr(i):void 0}function Hr(e,t){const i=xn(e,t);return i?{present:!0,value:fr(i)}:{present:!1}}function Df(e){var t,i;const n=new Set(["rPr","t"]);for(const a of e.allChildren()){const s=((t=a.element)==null?void 0:t.namespaceURI)??"";if(!(ci(a)&&n.has(a.localName))&&!(Xu.has(s)&&a.localName==="rPr"))return}const r=e.allChildren().filter(a=>ci(a,"t"));if(r.length===0)return;const o=(i=xn(e,"rPr"))==null?void 0:i.child("nor"),l=o!=null&&o.exists()?Mt(o.attr("val")??"1"):void 0;return{kind:"text",text:r.map(a=>a.text()).join(""),...l!==void 0?{normal:l}:{}}}function If(e){var t;if(!zi(e,new Set(["fPr","num","den"])))return;const i=qi(e,"num"),n=qi(e,"den");if(!i||!n)return;const r=((t=xn(e,"fPr"))==null?void 0:t.child("type").attr("val"))??"bar";if(["bar","noBar","skw","lin"].includes(r))return{kind:"fraction",numerator:i,denominator:n,style:r}}function Of(e){var t;if(!zi(e,new Set(["radPr","deg","e"])))return;const i=qi(e,"e");if(!i)return;const n=Hr(e,"deg");if(n.present&&!n.value)return;const r=n.present?n.value:void 0,o=(t=xn(e,"radPr"))==null?void 0:t.child("degHide"),l=!(o!=null&&o.exists()&&Mt(o.attr("val")??"1"))&&r&&r.children.length>0?r:void 0;return{kind:"radical",radicand:i,degree:l}}function Uf(e,t){const i=new Set([`${t}Pr`,"e"]);if(t!=="sSup"&&i.add("sub"),t!=="sSub"&&i.add("sup"),!zi(e,i))return;const n=qi(e,"e");if(!n)return;const r=t==="sSup"?void 0:qi(e,"sub"),o=t==="sSub"?void 0:qi(e,"sup");if(!(t!=="sSup"&&!r)&&!(t!=="sSub"&&!o))return{kind:"scripts",base:n,subscript:r,superscript:o}}function Zf(e){if(!zi(e,new Set(["dPr","e"])))return;const t=e.allChildren().filter(n=>ci(n,"e")).map(n=>fr(n));if(t.length===0||t.some(n=>!n))return;const i=xn(e,"dPr");return{kind:"delimiter",begin:(i==null?void 0:i.child("begChr").attr("val"))??"(",end:(i==null?void 0:i.child("endChr").attr("val"))??")",separator:(i==null?void 0:i.child("sepChr").attr("val"))??"|",elements:t}}function Gf(e){if(!zi(e,new Set(["naryPr","sub","sup","e"])))return;const t=xn(e,"naryPr"),i=Hr(e,"sub"),n=Hr(e,"sup"),r=Hr(e,"e");if(i.present&&!i.value||n.present&&!n.value||r.present&&!r.value)return;const o=(t==null?void 0:t.child("limLoc").attr("val"))??"subSup";if(!(o!=="subSup"&&o!=="undOvr"))return{kind:"nary",operator:(t==null?void 0:t.child("chr").attr("val"))??"∫",lower:i.present?i.value:void 0,upper:n.present?n.value:void 0,body:r.present?r.value:void 0,limitLocation:o}}function _f(e){if(!zi(e,new Set(["mPr","mr"])))return;const t=[];for(const i of e.allChildren().filter(n=>ci(n,"mr"))){if(!zi(i,new Set(["e"])))return;const n=i.allChildren().filter(r=>ci(r,"e")).map(r=>fr(r));if(n.length===0||n.some(r=>!r))return;t.push(n)}return t.length>0?{kind:"matrix",rows:t}:void 0}function Wf(e){if(!zi(e,new Set(["funcPr","fName","e"])))return;const t=qi(e,"fName"),i=qi(e,"e");return t&&i?{kind:"function",name:t,argument:i}:void 0}function Yf(e){if(ci(e))switch(e.localName){case"r":return Df(e);case"f":return If(e);case"rad":return Of(e);case"sSub":case"sSup":case"sSubSup":return Uf(e,e.localName);case"d":return Zf(e);case"nary":return Gf(e);case"m":return _f(e);case"func":return Wf(e);default:return}}function Os(e){if(ci(e,"oMath"))return fr(e,new Set(["argPr","ctrlPr"]))}function Hu(e){var t;if(e.localName!=="m"||((t=e.element)==null?void 0:t.namespaceURI)!==Fo)return;const i=[];let n="inline";for(const r of e.allChildren()){if(ci(r,"oMath")){const o=Os(r);if(!o)return;i.push(...o.children);continue}if(ci(r,"oMathPara")){if(n="block",!zi(r,new Set(["oMathParaPr","oMath"])))return;const o=r.allChildren().filter(l=>ci(l,"oMath"));if(o.length===0)return;for(const l of o){const a=Os(l);if(!a)return;i.push(...a.children)}continue}return}return i.length>0?{display:n,body:{kind:"row",children:i}}:void 0}function Xf(e){const t=e.element;if(!t)return!1;const i=Array.from(t.children);let n=0;for(;i.length>0;){const r=i.pop();if(r.namespaceURI===Fo&&(r.localName!=="m"||(n+=1,!Hu(new _t(r)))))return!1;i.push(...Array.from(r.children))}return n>0}function Hf(e){const t=e.element;if(!t)return;const i=Array.from(t.children);for(;i.length>0;){const n=i.shift();if(Xu.has(n.namespaceURI??"")&&n.localName==="rPr")return new _t(n);i.unshift(...Array.from(n.children))}}function Et(e){switch(e.kind){case"row":return e.children.map(Et).join("");case"text":return e.text;case"fraction":return`(${Et(e.numerator)})/(${Et(e.denominator)})`;case"radical":return e.degree?`root(${Et(e.degree)},${Et(e.radicand)})`:`sqrt(${Et(e.radicand)})`;case"scripts":return`${Et(e.base)}${e.subscript?`_(${Et(e.subscript)})`:""}${e.superscript?`^(${Et(e.superscript)})`:""}`;case"delimiter":return`${e.begin}${e.elements.map(Et).join(e.separator)}${e.end}`;case"nary":return`${e.operator}${e.lower?`_(${Et(e.lower)})`:""}${e.upper?`^(${Et(e.upper)})`:""}${e.body?Et(e.body):""}`;case"matrix":return`[${e.rows.map(t=>t.map(Et).join(",")).join(";")}]`;case"function":return`${Et(e.name)}(${Et(e.argument)})`}}function Vu(e){return Et(e.body)}function Vf(e){var t;const i=e.child("pPr"),n=i.numAttr("lvl")??0,r=[];for(const a of e.children("r")){const s=a.child("rPr"),d=a.child("t");r.push({text:d.text(),properties:s.exists()?s:void 0})}for(const a of e.allChildren())a.localName;const o=[];for(const a of e.allChildren()){const s=a.localName;if(s==="r"){const d=a.child("rPr"),u=a.child("t");o.push({text:u.text(),properties:d.exists()?d:void 0})}else if(s==="br"){const d=a.child("rPr");o.push({text:`
3
3
  `,properties:d.exists()?d:void 0})}else if(s==="tab")o.push({text:" "});else if(s==="fld"){const d=a.child("rPr"),u=a.child("t");o.push({text:u.text(),fieldType:a.attr("type"),properties:d.exists()?d:void 0})}else if(s==="m"&&((t=a.element)==null?void 0:t.namespaceURI)===Fo){const d=Hu(a);d&&o.push({text:Vu(d),math:d,properties:Hf(a)})}}const l=e.child("endParaRPr");return{properties:i.exists()?i:void 0,runs:o.length>0?o:r,level:n,endParaRPr:l.exists()?l:void 0}}function qu(e){if(!e.exists())return;const t=e.child("bodyPr"),i=e.child("lstStyle"),n=[];for(const r of e.children("p"))n.push(Vf(r));return{bodyProperties:t.exists()?t:void 0,listStyle:i.exists()?i:void 0,paragraphs:n}}const qf=["solidFill","gradFill","blipFill","pattFill","grpFill","noFill"];function Kf(e){for(const t of qf){const i=e.child(t);if(i.exists())return i}}function Ku(e){const t=new Map;for(const i of e.children("gd")){const n=i.attr("name"),r=i.attr("fmla")??"";if(!n)continue;const o=r.match(/val\s+(-?\d+)/);if(o)t.set(n,Number(o[1]));else{const l=Number(r);Number.isNaN(l)||t.set(n,l)}}return t}function Qf(e){const t=vn(e),i=e.child("spPr"),n=i.child("prstGeom"),r=n.attr("prst"),o=n.child("avLst"),l=Ku(o),a=i.child("custGeom"),s=a.exists()?a:void 0,d=Kf(i),u=i.child("ln"),c=u.exists()?u:void 0,h=ia(i);let f,p;if(u.exists()){const x=u.child("headEnd");if(x.exists()){const v=x.attr("type");v&&v!=="none"&&(f={type:v,w:x.attr("w"),len:x.attr("len")})}const b=u.child("tailEnd");if(b.exists()){const v=b.attr("type");v&&v!=="none"&&(p={type:v,w:b.attr("w"),len:b.attr("len")})}}const m=e.child("txBody"),$=qu(m);let g;const y=e.child("txXfrm");if(y.exists()){const x=y.child("off"),b=y.child("ext"),v=i.child("xfrm"),w=v.child("off"),M=v.child("ext"),S=w.numAttr("x")??0,A=w.numAttr("y")??0,B=M.numAttr("cx")??0,L=M.numAttr("cy")??0,T=x.numAttr("x")??0,k=x.numAttr("y")??0,F=b.numAttr("cx")??0,C=b.numAttr("cy")??0;if(B>0&&L>0){const E=xi(y.numAttr("rot")??0),j=T-S,N=k-A,R=Math.abs(Math.round(E))%360===180,I=R?B-(j+F):j,U=R?L-(N+C):N;g={x:ee(I),y:ee(U),w:ee(F),h:ee(C),rotation:E}}}return{...t,nodeType:"shape",presetGeometry:r,adjustments:l,customGeometry:s,fill:d,line:c,shape3d:h,headEnd:f,tailEnd:p,textBody:$,textBoxBounds:g}}const kr=1e5;function Qu(e){const t=vn(e),i=e.child("blipFill"),n=i.child("blip"),r=n.child("extLst").children("ext").map(k=>k.child("svgBlip")).find(k=>k.exists()),o=(r==null?void 0:r.attr("embed"))??(r==null?void 0:r.attr("r:embed")),l=n.attr("embed")??n.attr("r:embed"),a=o??l,s=n.attr("link")??n.attr("r:link"),d=i.child("srcRect");let u;if(d.exists()){const k=d.numAttr("t"),F=d.numAttr("b"),C=d.numAttr("l"),E=d.numAttr("r");(k!==void 0||F!==void 0||C!==void 0||E!==void 0)&&(u={top:(k??0)/kr,bottom:(F??0)/kr,left:(C??0)/kr,right:(E??0)/kr})}const c=e.child("spPr"),h=c.child("solidFill"),f=c.child("gradFill"),p=h.exists()?h:f.exists()?f:void 0,m=c.child("ln"),$=m.exists()?m:void 0,g=ia(c),y=c.child("prstGeom"),x=y.exists()?y.attr("prst"):void 0,b=y.exists()?Ku(y.child("avLst")):void 0,v=c.child("custGeom"),w=v.exists()?v:void 0,M=e.child("nvPicPr").child("nvPr"),S=M.child("videoFile"),A=M.child("audioFile"),B=S.exists(),L=A.exists();let T;return B?T=S.attr("link")??S.attr("r:link"):L&&(T=A.attr("link")??A.attr("r:link")),{...t,nodeType:"picture",blipEmbed:a,blipLink:s,crop:u,fill:p,line:$,shape3d:g,presetGeometry:x,geometryAdjustments:b,customGeometry:w,isVideo:B||void 0,isAudio:L||void 0,mediaRId:T}}function Jf(e){const t=e.numAttr("gridSpan")??1,i=e.numAttr("rowSpan")??1,n=Mt(e.attr("hMerge")),r=Mt(e.attr("vMerge")),o=e.child("txBody"),l=qu(o),a=e.child("tcPr");return{gridSpan:t,rowSpan:i,hMerge:n,vMerge:r,textBody:l,properties:a.exists()?a:void 0}}function ep(e){const t=ee(e.numAttr("h")??0),i=[];for(const n of e.children("tc"))i.push(Jf(n));return{height:t,cells:i}}function tp(e){return e.child("graphic").child("graphicData").child("tbl")}function ip(e){const t=e.child("tableStyleId");if(t.exists())return t.text()||t.attr("val")||void 0;const i=e.child("tblStyle");return i.exists()?i.attr("val")??(i.text()||void 0):e.attr("tblStyle")??void 0}function np(e){const t=vn(e),i=tp(e),n=i.child("tblGrid"),r=[];for(const u of n.children("gridCol"))r.push(ee(u.numAttr("w")??0));const o=[];for(const u of i.children("tr"))o.push(ep(u));const l=r.reduce((u,c)=>u+c,0),a=o.reduce((u,c)=>u+c.height,0),s=i.child("tblPr"),d=ip(s);return{...t,size:{w:l>0?l:t.size.w,h:a>0?a:t.size.h},nodeType:"table",columns:r,rows:o,properties:s.exists()?s:void 0,tableStyleId:d}}const rp=new Set(["sp","pic","grpSp","graphicFrame","cxnSp"]);function op(e){const t=vn(e),i=e.child("grpSpPr"),n=i.child("xfrm"),r=n.child("chOff"),o=n.child("chExt"),l=r.exists()?{x:ee(r.numAttr("x")??0),y:ee(r.numAttr("y")??0)}:{x:0,y:0},a=(()=>{if(!o.exists())return{w:t.size.w,h:t.size.h};const d=o.numAttr("cx"),u=o.numAttr("cy");return{w:d!==void 0&&d>0?ee(d):t.size.w,h:u!==void 0&&u>0?ee(u):t.size.h}})(),s=[];for(const d of e.allChildren())rp.has(d.localName)&&s.push(d);return{...t,nodeType:"group",shape3d:ia(i),childOffset:l,childExtent:a,children:s}}function lp(e,t,i){const n=vn(e),r=e.child("graphic").child("graphicData");let o;for(const d of r.allChildren())if(d.localName==="chart"){o=d.attr("r:id")||d.attr("id");break}if(!o)return;const l=t.get(o);if(!l)return;const a=i.substring(0,i.lastIndexOf("/")),s=Jt(a,l.target);return{...n,nodeType:"chart",chartPath:s}}const Ju=new Set(["sp","pic","grpSp","graphicFrame","cxnSp"]),ap=["nvSpPr","nvPicPr","nvGrpSpPr","nvGraphicFramePr","nvCxnSpPr"],sp=new Set(["http://schemas.openxmlformats.org/presentationml/2006/main","http://purl.oclc.org/ooxml/presentationml/main","http://schemas.openxmlformats.org/drawingml/2006/main","http://purl.oclc.org/ooxml/drawingml/main","http://schemas.openxmlformats.org/drawingml/2006/chart","http://purl.oclc.org/ooxml/drawingml/chart","http://schemas.openxmlformats.org/drawingml/2006/diagram","http://purl.oclc.org/ooxml/drawingml/diagram","http://schemas.microsoft.com/office/drawing/2008/diagram","http://schemas.microsoft.com/office/drawing/2016/SVG/main"]);function dp(e){var t;const i=(t=e.attr("Requires"))==null?void 0:t.trim();if(!i)return!0;const n=e.element;return n?i.split(/\s+/).every(r=>{const o=n.lookupNamespaceURI(r)??"";return sp.has(o)?!0:o===Fo&&Xf(e)}):!1}function ec(e){for(const i of e.children("Choice"))if(dp(i))return i;const t=e.child("Fallback");return t.exists()?t:void 0}function Gn(e){if(e.localName!=="AlternateContent")return[e];const t=ec(e);return t?t.allChildren().flatMap(Gn):[]}function na(e){for(const t of ap){const i=e.child(t);if(i.exists()&&i.child("nvPr").child("ph").exists())return!0}return!1}function up(e){return e.child("graphic").child("graphicData").child("tbl").exists()}function cp(e){return(e.child("graphic").child("graphicData").attr("uri")||"").includes("chart")}function hp(e){return(e.child("graphic").child("graphicData").attr("uri")||"").includes("diagram")}function fp(e){if(!e)return"";const t=e.lastIndexOf("/");return t>=0?e.substring(0,t):""}function pp(e){const t=e.child("graphic").child("graphicData");if(!(t.attr("uri")||"").includes("ole"))return null;const i=s=>{const d=s.child("blipFill").child("blip");return!!(d.attr("embed")??d.attr("r:embed")??d.attr("link")??d.attr("r:link"))},n=t.child("oleObj");if(n.exists()){const s=n.child("pic");if(s.exists()&&i(s))return s}const r=t.child("AlternateContent");if(!r.exists())return null;const o=ec(r);if(!o)return null;const l=o.child("oleObj");if(!l.exists())return null;const a=l.child("pic");return a.exists()&&i(a)?a:null}function mp(e){const t=pp(e);if(!t)return;const i=vn(e),n=Qu(t);if(!(!n.blipEmbed&&!n.blipLink))return{...n,...i,nodeType:"picture",source:t}}function gp(e,t){const i=Gt(t).child("spTree"),n=[];if(i.exists())for(const r of i.allChildren())for(const o of Gn(r))Ju.has(o.localName)&&n.push(o);return{...e,nodeType:"group",childOffset:{x:0,y:0},childExtent:{w:Math.max(1,e.size.w),h:Math.max(1,e.size.h)},children:n}}function $p(e,t){var i;if(!t.diagramDrawings)return;const n=vn(e),r=fp(t.partPath),o=Array.from(t.rels.values()).filter(a=>a.type.includes("diagramDrawing")||a.target.includes("diagrams/drawing")).map(a=>{const s=a.target.match(/drawing(\d+)/);return{target:a.target,num:s?Number.parseInt(s[1],10):void 0}}),l=e.child("graphic").child("graphicData").child("relIds");if(l.exists()){const a=l.attr("r:dm")??l.attr("dm"),s=a?t.rels.get(a):void 0,d=(i=s==null?void 0:s.target.match(/data(\d+)/))==null?void 0:i[1];if(d){const u=Number.parseInt(d,10);o.sort((c,h)=>{const f=c.num===void 0?Number.POSITIVE_INFINITY:Math.abs(c.num-u),p=h.num===void 0?Number.POSITIVE_INFINITY:Math.abs(h.num-u);return f-p})}}for(const a of o){const s=Jt(r,a.target),d=t.diagramDrawings.get(s);if(d){const u=gp(n,d),c=l.attr("r:lo")??l.attr("lo"),h=c?t.rels.get(c):void 0;if(h&&!Mi(h.targetMode)&&h.type.endsWith("/diagramLayout")){const f=t.diagramDrawings.get(Jt(r,h.target));f&&(u.diagramLayoutId=Gt(f).attr("uniqueId"))}return u}}}function yp(e,t){if(!(t.skipPlaceholders&&na(e)))switch(e.localName){case"sp":case"cxnSp":return Qf(e);case"pic":return Qu(e);case"grpSp":{const i=op(e);return i.children=e.allChildren().flatMap(Gn).filter(n=>Ju.has(n.localName)),i}case"graphicFrame":return up(e)?np(e):cp(e)?lp(e,t.rels,t.partPath??""):hp(e)?$p(e,t):mp(e);default:return}}function Po(e,t){const i=[];for(const n of Gn(e)){const r=yp(n,t);r&&i.push(r)}return i}function tc(e,t){return Po(e,t)[0]}function vp(e){for(const t of["nvSpPr","nvPicPr","nvGraphicFramePr","nvCxnSpPr"]){const i=e.child(t);if(i.exists()&&i.child("nvPr").child("ph").exists())return!0}return!1}function xp(e){const t=e.child("spPr").child("xfrm"),i=t.exists()?t:e.child("xfrm");if(!i.exists())return null;const n=i.child("off"),r=i.child("ext"),o=n.numAttr("x")??0,l=n.numAttr("y")??0,a=r.numAttr("cx")??0,s=r.numAttr("cy")??0;return{offX:o,offY:l,cx:a,cy:s}}function bp(e){const t=e.child("grpSpPr");if(!t.exists())return null;const i=t.child("xfrm");if(!i.exists())return null;const n=i.child("off"),r=i.child("ext"),o=i.child("chOff"),l=i.child("chExt"),a=n.numAttr("x")??0,s=n.numAttr("y")??0,d=r.numAttr("cx")??0,u=r.numAttr("cy")??0,c=o.exists()?o.numAttr("x")??0:0,h=o.exists()?o.numAttr("y")??0:0,f=l.exists()?l.numAttr("cx")??d:d,p=l.exists()?l.numAttr("cy")??u:u;return{offX:a,offY:s,cx:d,cy:u,chOffX:c,chOffY:h,chExtCx:f>0?f:1,chExtCy:p>0?p:1}}function kl(e,t){const i=[];for(const n of e.allChildren().flatMap(Gn)){if(n.localName==="grpSp"){const o=bp(n);if(o&&o.chExtCx>0&&o.chExtCy>0){const l=o.cx/o.chExtCx,a=o.cy/o.chExtCy,s=o.offX-o.chOffX*l,d=o.offY-o.chOffY*a,u=t?{offX:t.offX+s*t.scaleX,offY:t.offY+d*t.scaleY,scaleX:t.scaleX*l,scaleY:t.scaleY*a}:{offX:s,offY:d,scaleX:l,scaleY:a};i.push(...kl(n,u))}else i.push(...kl(n,t));continue}if(!vp(n))continue;const r=xp(n);if(!r){i.push({node:n});continue}if(t){const o=t.offX+r.offX*t.scaleX,l=t.offY+r.offY*t.scaleY,a=r.cx*t.scaleX,s=r.cy*t.scaleY;i.push({node:n,absoluteXfrm:{position:{x:ee(o),y:ee(l)},size:{w:ee(a),h:ee(s)}}})}else i.push({node:n,absoluteXfrm:{position:{x:ee(r.offX),y:ee(r.offY)},size:{w:ee(r.cx),h:ee(r.cy)}}})}return i}function wp(e){const t=new Map,i=e.element;if(!i)return t;const n=i.attributes;for(let r=0;r<n.length;r++){const o=n[r];t.set(o.localName,o.value)}return t}function Mp(e){const t=e.child("cSld"),i=t.child("bg"),n=i.exists()?i:void 0,r=t.child("spTree"),o=e.child("clrMap"),l=wp(o),a=e.child("txStyles"),s=a.child("titleStyle"),d=a.child("bodyStyle"),u=a.child("otherStyle"),c=e.child("defaultTextStyle"),h=kl(r,null),f=h.map(p=>p.node);return{colorMap:l,background:n,textStyles:{titleStyle:s.exists()?s:void 0,bodyStyle:d.exists()?d:void 0,otherStyle:u.exists()?u:void 0},defaultTextStyle:c.exists()?c:void 0,placeholders:f,placeholderEntries:h,spTree:r,rels:new Map}}function kp(e){return Mt(e,!0)}function Sp(e){for(const t of["nvSpPr","nvPicPr","nvGraphicFramePr","nvCxnSpPr"]){const i=e.child(t);if(i.exists()&&i.child("nvPr").child("ph").exists())return!0}return!1}function Ap(e){const t=e.child("spPr").child("xfrm"),i=t.exists()?t:e.child("xfrm");if(!i.exists())return null;const n=i.child("off"),r=i.child("ext"),o=n.numAttr("x")??0,l=n.numAttr("y")??0,a=r.numAttr("cx")??0,s=r.numAttr("cy")??0;return{offX:o,offY:l,cx:a,cy:s}}function Lp(e){const t=e.child("grpSpPr");if(!t.exists())return null;const i=t.child("xfrm");if(!i.exists())return null;const n=i.child("off"),r=i.child("ext"),o=i.child("chOff"),l=i.child("chExt"),a=n.numAttr("x")??0,s=n.numAttr("y")??0,d=r.numAttr("cx")??0,u=r.numAttr("cy")??0,c=o.exists()?o.numAttr("x")??0:0,h=o.exists()?o.numAttr("y")??0:0,f=l.exists()?l.numAttr("cx")??d:d,p=l.exists()?l.numAttr("cy")??u:u;return{offX:a,offY:s,cx:d,cy:u,chOffX:c,chOffY:h,chExtCx:f>0?f:1,chExtCy:p>0?p:1}}function Sl(e,t){const i=[];for(const n of e.allChildren().flatMap(Gn)){if(n.localName==="grpSp"){const o=Lp(n);if(o&&o.chExtCx>0&&o.chExtCy>0){const l=o.cx/o.chExtCx,a=o.cy/o.chExtCy,s=o.offX-o.chOffX*l,d=o.offY-o.chOffY*a,u=t?{offX:t.offX+s*t.scaleX,offY:t.offY+d*t.scaleY,scaleX:t.scaleX*l,scaleY:t.scaleY*a}:{offX:s,offY:d,scaleX:l,scaleY:a},c=Sl(n,u);i.push(...c)}else i.push(...Sl(n,t));continue}if(!Sp(n))continue;const r=Ap(n);if(!r){i.push({node:n});continue}if(t){const o=t.offX+r.offX*t.scaleX,l=t.offY+r.offY*t.scaleY,a=r.cx*t.scaleX,s=r.cy*t.scaleY;i.push({node:n,absoluteXfrm:{position:{x:ee(o),y:ee(l)},size:{w:ee(a),h:ee(s)}}})}else i.push({node:n,absoluteXfrm:{position:{x:ee(r.offX),y:ee(r.offY)},size:{w:ee(r.cx),h:ee(r.cy)}}})}return i}function Cp(e){const t=new Map,i=e.element;if(!i)return t;const n=i.attributes;for(let r=0;r<n.length;r++){const o=n[r];t.set(o.localName,o.value)}return t}function ic(e){const t=e.child("clrMapOvr");if(!t.exists())return{};const i=t.child("overrideClrMapping");return i.exists()?{colorMapOverride:Cp(i),colorMapOverrideMode:"override"}:t.child("masterClrMapping").exists()?{colorMapOverrideMode:"master"}:{}}function Fp(e){const t=e.child("cSld"),i=t.child("bg"),n=i.exists()?i:void 0,r=t.child("spTree"),{colorMapOverride:o,colorMapOverrideMode:l}=ic(e),a=Sl(r,null),s=kp(e.attr("showMasterSp"));return{colorMapOverride:o,colorMapOverrideMode:l,background:n,placeholders:a,spTree:r,rels:new Map,showMasterSp:s}}function Us(e){return Mt(e,!0)}function nc(e){for(const[,t]of e)if(t.type.includes("slideLayout"))return t.target;return""}function rc(e,t,i,n="",r){const o=e.child("cSld"),l=o.child("bg"),a=l.exists()?l:void 0,s=o.child("spTree"),d=[];for(const m of s.allChildren()){const $=Po(m,{rels:i,partPath:n,diagramDrawings:r});d.push(...$)}const u=nc(i),c=Us(e.attr("showMasterSp")),h=!Us(e.attr("show")),{colorMapOverride:f,colorMapOverrideMode:p}=ic(e);return{index:t,hidden:h,nodes:d,background:a,layoutIndex:u,rels:i,slidePath:n,showMasterSp:c,colorMapOverride:f,colorMapOverrideMode:p,nodesMaterialized:!0}}function Pp(e,t,i,n=""){return{index:t,nodes:[],layoutIndex:nc(i),rels:i,slidePath:n,showMasterSp:!0,sourceXml:e,nodesMaterialized:!1}}function Bp(e,t){if(e.nodesMaterialized)return;if(!e.sourceXml){e.nodesMaterialized=!0;return}const i=e.layoutIndex,n=rc(Gt(e.sourceXml),e.index,e.rels,e.slidePath,t);e.hidden=n.hidden,e.nodes=n.nodes,e.background=n.background,e.layoutIndex=i||n.layoutIndex,e.showMasterSp=n.showMasterSp,e.colorMapOverride=n.colorMapOverride,e.colorMapOverrideMode=n.colorMapOverrideMode,e.nodesMaterialized=!0,e.sourceXml=void 0}function dn(e){const t=e.lastIndexOf("/");return t>=0?e.substring(0,t):""}function Sr(e){const t=dn(e),i=e.substring(e.lastIndexOf("/")+1);return`${t}/_rels/${i}.rels`}function Ep(e){return e.includes("wps")||e.includes("kso")||e.includes("Kingsoft")||e.includes("WPS")}function Qn(e,t){for(const[,i]of e)if(i.type.includes(t))return i}function Tp(e,t){const i=[];for(const[n,r]of e)r.type.includes(t)&&i.push([n,r]);return i}let jp=0;function Np(e,t,i){var n,r;const o=[],l=new Map,a=++jp,s=[["regular","400","normal"],["bold","700","normal"],["italic","400","italic"],["boldItalic","700","italic"]];for(const d of e.child("embeddedFontLst").children("embeddedFont")){const u=(n=d.child("font").attr("typeface"))==null?void 0:n.trim();if(!u)continue;const c=`__pptx_embedded_${a}_${l.size}`;let h=!1;for(const[f,p,m]of s){const $=d.child(f),g=$.attr("id")??$.attr("r:id"),y=g?t.get(g):void 0;if(!y)continue;const x=(r=i.fonts)==null?void 0:r.get(Jt("ppt",y.target));x&&(o.push({family:u,renderFamily:c,data:x,weight:p,style:m}),h=!0)}h&&l.set(u.toLowerCase(),c)}return{faces:o,families:l}}function lr(e,t={}){var i,n,r,o;const l=Gt(e.presentation),a=Kn(e.presentationRels),s=l.child("sldSz"),d=ee(s.numAttr("cx")??9144e3),u=ee(s.numAttr("cy")??6858e3),c=l.numAttr("firstSlideNum")??1,h=Ep(e.presentation),f=l.child("defaultTextStyle"),p=Np(l,a,e),m=new Map;for(const[F,C]of e.themes){const E=Gt(C);m.set(F,js(E))}const $=new Map,g=new Map;for(const[F,C]of e.slideMasters){const E=Gt(C),j=Mp(E),N=Sr(F),R=e.slideMasterRels.get(N);if(R){const I=Kn(R);j.rels=I;const U=Qn(I,"theme");if(U){const q=Jt(dn(F),U.target);g.set(F,q)}}$.set(F,j)}const y=new Map,x=new Map;for(const[F,C]of e.slideLayouts){const E=Gt(C),j=Fp(E),N=Sr(F),R=e.slideLayoutRels.get(N);if(R){const I=Kn(R);j.rels=I;const U=Qn(I,"slideMaster");if(U){const q=Jt(dn(F),U.target);x.set(F,q)}}y.set(F,j)}const b=new Map,v=new Map,w=new Map,M=new Map;for(const[F,C]of e.charts){const E=Gt(C);E.exists()&&b.set(F,E);const j=Sr(F),N=(i=e.chartRels)==null?void 0:i.get(j);if(!N)continue;const R=Kn(N),I=Qn(R,"chartStyle");if(I){const G=Jt(dn(F),I.target),te=(n=e.chartStyles)==null?void 0:n.get(G);if(te){const _=Gt(te);_.exists()&&w.set(F,_)}}const U=Qn(R,"chartColorStyle");if(U){const G=Jt(dn(F),U.target),te=(r=e.chartColors)==null?void 0:r.get(G);if(te){const _=Gt(te);_.exists()&&M.set(F,_)}}const q=Qn(R,"themeOverride");if(!q)continue;const le=Jt(dn(F),q.target),X=((o=e.themeOverrides)==null?void 0:o.get(le))??e.themes.get(le);if(!X)continue;const ne=Gt(X);ne.exists()&&v.set(F,js(ne))}const S=l.child("sldIdLst"),A=[];for(const F of S.children("sldId")){const C=F.attr("r:id")??F.attr("id");if(C){const E=a.get(C);if(E){const j=Jt("ppt",E.target);A.push(j)}}}if(A.length===0){const F=Tp(a,"slide");F.sort((C,E)=>{const j=parseInt(C[0].replace(/\D/g,""),10)||0,N=parseInt(E[0].replace(/\D/g,""),10)||0;return j-N});for(const[,C]of F)if(C.type.includes("/slide")&&!C.type.includes("slideLayout")&&!C.type.includes("slideMaster")){const E=Jt("ppt",C.target);A.push(E)}}const B=[],L=new Map;for(let F=0;F<A.length;F++){const C=A[F],E=e.slides.get(C);if(!E)continue;const j=Sr(C),N=e.slideRels.get(j),R=N?Kn(N):new Map,I=t.lazySlides?Pp(E,F,R,C):rc(Gt(E),F,R,C,e.diagramDrawings);if(I.layoutIndex){const U=Jt(dn(C),I.layoutIndex);I.layoutIndex=U,L.set(F,U)}B.push(I)}let T;if(e.tableStyles){const F=Gt(e.tableStyles);F.exists()&&(T=F)}const k={width:d,height:u,firstSlideNum:c,slides:B,layouts:y,masters:$,themes:m,slideToLayout:L,layoutToMaster:x,masterToTheme:g,media:e.media,mediaResolver:e.mediaResolver,embeddedFonts:p.faces,embeddedFontFamilies:p.families,tableStyles:T,defaultTextStyle:f.exists()?f:void 0,charts:b,diagramDrawings:e.diagramDrawings,chartThemes:v,chartStyles:w,chartColorStyles:M,isWps:h};return t.lazySlides||Ip(k),k}function ho(e){for(const t of["nvSpPr","nvPicPr","nvGrpSpPr","nvGraphicFramePr","nvCxnSpPr"]){const i=e.child(t);if(i.exists()){const n=i.child("nvPr").child("ph");if(n.exists()){const r=n.attr("type"),o=n.attr("idx"),l=o!==void 0?Number(o):void 0;return{type:r,idx:l!==void 0&&!isNaN(l)?l:void 0}}}}return{}}function Rp(e){const t=e.child("spPr").child("xfrm"),i=t.exists()?t:e.child("xfrm");if(i.exists()){const n=i.child("off"),r=i.child("ext"),o=n.numAttr("x"),l=r.numAttr("cx");if(o!==void 0&&l!==void 0)return{position:{x:ee(n.numAttr("x")??0),y:ee(n.numAttr("y")??0)},size:{w:ee(r.numAttr("cx")??0),h:ee(r.numAttr("cy")??0)}}}}function zp(e,t){return e.find(i=>(ho(i.node).idx??0)===(t??0))}function Dp(e){return e.placeholderEntries??e.placeholders.map(t=>({node:t}))}function Ip(e){for(let t=0;t<e.slides.length;t++)oc(e,e.slides[t])}function oc(e,t){if(t.placeholderInheritanceResolved)return;const i=e.slideToLayout.get(t.index)||t.layoutIndex,n=i?e.layouts.get(i):void 0,r=i?e.layoutToMaster.get(i):void 0,o=r?e.masters.get(r):void 0;_p(t.nodes,n,o),t.placeholderInheritanceResolved=!0}function pr(e,t){Bp(t,e.diagramDrawings),oc(e,t)}function Op(e){for(const t of e.slides)pr(e,t)}function Zs(e){const t=e.child("txBody");if(!t.exists())return;const i=t.child("bodyPr");return i.exists()?i:void 0}function Up(e,t){if(e.type)return;const i=ho(t);i.type&&(e.type=i.type)}function Zp(e,t){const i=t.childExtent.w>0?t.size.w/t.childExtent.w:1,n=t.childExtent.h>0?t.size.h/t.childExtent.h:1;return i===0||n===0?e:{position:{x:t.childOffset.x+(e.position.x-t.position.x)/i,y:t.childOffset.y+(e.position.y-t.position.y)/n},size:{w:e.size.w/i,h:e.size.h/n}}}function Gp(e,t){return t.parentGroup?Zp(e,t.parentGroup):e}function Bo(e,t,i,n={}){if(!e.placeholder)return;const{idx:r}=e.placeholder,o=t?zp(t.placeholders,r):void 0;o&&Up(e.placeholder,o.node);const l=i?Dp(i).find(c=>{var h;return(ho(c.node).type??"obj")===ta(o?ho(o.node).type:(h=e.placeholder)==null?void 0:h.type)}):void 0,a=Wu(e.source),s=a.child("off"),d=a.child("ext"),u=[o,l].map(c=>c&&(c.absoluteXfrm??Rp(c.node))).find(c=>c!==void 0);if(u){const c=Gp(u,n);s.attr("x")===void 0&&(e.position.x=c.position.x),s.attr("y")===void 0&&(e.position.y=c.position.y),d.attr("cx")===void 0&&(e.size.w=c.size.w),d.attr("cy")===void 0&&(e.size.h=c.size.h)}if("textBody"in e&&e.textBody){const c=o&&Zs(o.node),h=l&&Zs(l.node);if(c&&h){const f=c.element.cloneNode(!0);for(const p of["anchor","lIns","tIns","rIns","bIns"]){const m=h.attr(p);!f.hasAttribute(p)&&m!==void 0&&f.setAttribute(p,m)}e.textBody.layoutBodyProperties=new _t(f)}else e.textBody.layoutBodyProperties=c??h}}function _p(e,t,i){for(const n of e)n.nodeType==="group"&&"children"in n,Bo(n,t,i)}function Wp(e,t,i,n,r,o){const l=e.slideToLayout.get(t.index)||"",a=e.layoutToMaster.get(l)||"",s=e.masterToTheme.get(a)||"",d=e.layouts.get(l)||{placeholders:[],spTree:{},rels:new Map,showMasterSp:!0},u=e.masters.get(a)||{colorMap:new Map,textStyles:{},placeholders:[],spTree:{},rels:new Map},c=e.themes.get(s)||{colorScheme:new Map,majorFont:{latin:"Calibri",ea:"",cs:""},minorFont:{latin:"Calibri",ea:"",cs:""},fillStyles:[],bgFillStyles:[],lineStyles:[],effectStyles:[]};return{presentation:e,slide:t,theme:c,master:u,layout:d,partPath:t.slidePath,layoutPath:l,masterPath:a,mediaUrlCache:i??new Map,colorCache:new Map,nodeOrigin:"slide",groupDepth:0,groupAncestorHas3dScene:!1,usedEmbeddedFontFamilies:new Set,pdfjs:r,signal:o,chartInstances:n}}function Se(e){const t=e.replace(/^#/,"");if(t.length!==6&&t.length!==3)return{r:0,g:0,b:0};const i=t.length===3?t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t,n=parseInt(i,16);return{r:n>>16&255,g:n>>8&255,b:n&255}}function dt(e,t,i){const n=r=>Math.max(0,Math.min(255,Math.round(r)));return"#"+[n(e),n(t),n(i)].map(r=>r.toString(16).padStart(2,"0")).join("")}function pi(e,t,i){const n=e/255,r=t/255,o=i/255,l=Math.max(n,r,o),a=Math.min(n,r,o),s=(l+a)/2;let d=0,u=0;if(l!==a){const c=l-a;switch(u=s>.5?c/(2-l-a):c/(l+a),l){case n:d=((r-o)/c+(r<o?6:0))*60;break;case r:d=((o-n)/c+2)*60;break;case o:d=((n-r)/c+4)*60;break}}return{h:d,s:u,l:s}}function ti(e,t,i){if(e=(e%360+360)%360,t=Math.max(0,Math.min(1,t)),i=Math.max(0,Math.min(1,i)),t===0){const a=Math.round(i*255);return{r:a,g:a,b:a}}const n=(a,s,d)=>(d<0&&(d+=1),d>1&&(d-=1),d<1/6?a+(s-a)*6*d:d<1/2?s:d<2/3?a+(s-a)*(2/3-d)*6:a),r=i<.5?i*(1+t):i+t-i*t,o=2*i-r,l=e/360;return{r:Math.round(n(o,r,l+1/3)*255),g:Math.round(n(o,r,l)*255),b:Math.round(n(o,r,l-1/3)*255)}}function ji(e){const t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4}function Ni(e){const t=e<=.0031308?e*12.92:1.055*e**.4166666666666667-.055;return Math.max(0,Math.min(255,Math.round(t*255)))}function lc(e,t){const{r:i,g:n,b:r}=Se(e),o=t/1e5,l=ji(i),a=ji(n),s=ji(r);return dt(Ni(l*o+1*(1-o)),Ni(a*o+1*(1-o)),Ni(s*o+1*(1-o)))}function Yp(e,t){const{r:i,g:n,b:r}=Se(e),o=t/1e5;return dt(Ni(ji(i)*o),Ni(ji(n)*o),Ni(ji(r)*o))}function ra(e,t){const{r:i,g:n,b:r}=Se(e),{h:o,s:l,l:a}=pi(i,n,r),s=Math.max(0,Math.min(1,a*(t/1e5))),d=ti(o,l,s);return dt(d.r,d.g,d.b)}function Hi(e,t){const{r:i,g:n,b:r}=Se(e),{h:o,s:l,l:a}=pi(i,n,r),s=Math.max(0,Math.min(1,a+t/1e5)),d=ti(o,l,s);return dt(d.r,d.g,d.b)}function Vi(e,t){const{r:i,g:n,b:r}=Se(e),{h:o,s:l,l:a}=pi(i,n,r),s=Math.max(0,Math.min(1,l*(t/1e5))),d=ti(o,s,a);return dt(d.r,d.g,d.b)}function Xp(e,t){const{r:i,g:n,b:r}=Se(e),{h:o,s:l,l:a}=pi(i,n,r),s=o*(t/1e5)%360,d=ti(s,l,a);return dt(d.r,d.g,d.b)}function Hp(e,t){const{r:i,g:n,b:r}=Se(e),{h:o,s:l,l:a}=pi(i,n,r),s=t/6e4,d=((o+s)%360+360)%360,u=ti(d,l,a);return dt(u.r,u.g,u.b)}function Vp(e,t){const{r:i,g:n,b:r}=Se(e),{h:o,s:l,l:a}=pi(i,n,r),s=Math.max(0,Math.min(1,l+t/1e5)),d=ti(o,s,a);return dt(d.r,d.g,d.b)}function ac(e){return e/1e5*255}function oa(e,t,i){const n=Se(e);return n[t]=i(n[t]),dt(n.r,n.g,n.b)}function tl(e,t,i){return oa(e,t,n=>n*(i/1e5))}function il(e,t,i){return oa(e,t,n=>n+ac(i))}function nl(e,t,i){return oa(e,t,()=>ac(i))}function qp(e,t){const{r:i,g:n,b:r}=Se(e),{h:o,s:l}=pi(i,n,r),a=ti(o,l,t/1e5);return dt(a.r,a.g,a.b)}function Kp(e,t){const{r:i,g:n,b:r}=Se(e),{h:o,l}=pi(i,n,r),a=ti(o,t/1e5,l);return dt(a.r,a.g,a.b)}function Qp(e,t){const{r:i,g:n,b:r}=Se(e),{s:o,l}=pi(i,n,r),a=ti(t/6e4,o,l);return dt(a.r,a.g,a.b)}function Jp(e){const{r:t,g:i,b:n}=Se(e);return dt(255-t,255-i,255-n)}function em(e){const{r:t,g:i,b:n}=Se(e),r=.2126*t+.7152*i+.0722*n;return dt(r,r,r)}function tm(e){const{r:t,g:i,b:n}=Se(e),{h:r,s:o,l}=pi(t,i,n),a=ti(r+180,o,l);return dt(a.r,a.g,a.b)}function im(e){const{r:t,g:i,b:n}=Se(e);return dt(ji(t)*255,ji(i)*255,ji(n)*255)}function nm(e){const{r:t,g:i,b:n}=Se(e);return dt(Ni(t/255),Ni(i/255),Ni(n/255))}function rm(e){return Math.max(0,Math.min(1,e/1e5))}function Zt(e,t){let i=e,n=1;for(const r of t)switch(r.name.startsWith("a:")?r.name.slice(2):r.name){case"tint":i=lc(i,r.val);break;case"shade":i=Yp(i,r.val);break;case"red":i=nl(i,"r",r.val);break;case"green":i=nl(i,"g",r.val);break;case"blue":i=nl(i,"b",r.val);break;case"redMod":i=tl(i,"r",r.val);break;case"greenMod":i=tl(i,"g",r.val);break;case"blueMod":i=tl(i,"b",r.val);break;case"redOff":i=il(i,"r",r.val);break;case"greenOff":i=il(i,"g",r.val);break;case"blueOff":i=il(i,"b",r.val);break;case"lum":i=qp(i,r.val);break;case"lumMod":i=ra(i,r.val);break;case"lumOff":i=Hi(i,r.val);break;case"sat":i=Kp(i,r.val);break;case"satMod":i=Vi(i,r.val);break;case"hue":i=Qp(i,r.val);break;case"hueMod":i=Xp(i,r.val);break;case"hueOff":i=Hp(i,r.val);break;case"satOff":i=Vp(i,r.val);break;case"inv":i=Jp(i);break;case"gray":i=em(i);break;case"comp":i=tm(i);break;case"gamma":i=im(i);break;case"invGamma":i=nm(i);break;case"alpha":n=rm(r.val);break;case"alphaMod":case"alphaModFix":n=Math.max(0,Math.min(1,n*(r.val/1e5)));break;case"alphaOff":n=Math.max(0,Math.min(1,n+r.val/1e5));break}return{color:i,alpha:n}}const rl={black:"#000000",white:"#FFFFFF",red:"#FF0000",green:"#008000",blue:"#0000FF",yellow:"#FFFF00",cyan:"#00FFFF",magenta:"#FF00FF",orange:"#FFA500",purple:"#800080",brown:"#A52A2A",pink:"#FFC0CB",gray:"#808080",grey:"#808080",lime:"#00FF00",navy:"#000080",teal:"#008080",maroon:"#800000",olive:"#808000",silver:"#C0C0C0",aqua:"#00FFFF",fuchsia:"#FF00FF",aliceBlue:"#F0F8FF",antiqueWhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",blanchedAlmond:"#FFEBCD",blueViolet:"#8A2BE2",burlyWood:"#DEB887",cadetBlue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerBlue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",darkBlue:"#00008B",darkCyan:"#008B8B",darkGoldenrod:"#B8860B",darkGray:"#A9A9A9",darkGrey:"#A9A9A9",darkGreen:"#006400",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",gainsboro:"#DCDCDC",ghostWhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",greenYellow:"#ADFF2F",honeydew:"#F0FFF0",hotPink:"#FF69B4",indianRed:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderBlush:"#FFF0F5",lawnGreen:"#7CFC00",lemonChiffon:"#FFFACD",lightBlue:"#ADD8E6",lightCoral:"#F08080",lightCyan:"#E0FFFF",lightGoldenrodYellow:"#FAFAD2",lightGray:"#D3D3D3",lightGrey:"#D3D3D3",lightGreen:"#90EE90",lightPink:"#FFB6C1",lightSalmon:"#FFA07A",lightSeaGreen:"#20B2AA",lightSkyBlue:"#87CEFA",lightSlateGray:"#778899",lightSlateGrey:"#778899",lightSteelBlue:"#B0C4DE",lightYellow:"#FFFFE0",limeGreen:"#32CD32",linen:"#FAF0E6",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",oldLace:"#FDF5E6",oliveDrab:"#6B8E23",orangeRed:"#FF4500",orchid:"#DA70D6",paleGoldenrod:"#EEE8AA",paleGreen:"#98FB98",paleTurquoise:"#AFEEEE",paleVioletRed:"#DB7093",papayaWhip:"#FFEFD5",peachPuff:"#FFDAB9",peru:"#CD853F",plum:"#DDA0DD",powderBlue:"#B0E0E6",rosyBrown:"#BC8F8F",royalBlue:"#4169E1",saddleBrown:"#8B4513",salmon:"#FA8072",sandyBrown:"#F4A460",seaGreen:"#2E8B57",seaShell:"#FFF5EE",sienna:"#A0522D",skyBlue:"#87CEEB",slateBlue:"#6A5ACD",slateGray:"#708090",slateGrey:"#708090",snow:"#FFFAFA",springGreen:"#00FF7F",steelBlue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whiteSmoke:"#F5F5F5",yellowGreen:"#9ACD32"};function Gs(e){if(rl[e]!==void 0)return rl[e];const t=e.toLowerCase();for(const[i,n]of Object.entries(rl))if(i.toLowerCase()===t)return n}function om(e){const t=[e.localName,e.attr("val")??""];for(const i of e.allChildren()){const n=i.localName,r=i.attr("val")??i.attr("amt");n&&t.push(`${n}:${r??""}`);for(const o of i.allChildren()){const l=o.localName,a=o.attr("val")??o.attr("amt");l&&t.push(`${l}:${a??""}`)}}return t.join("|")}function Fi(e){const t=[];for(const i of e.allChildren()){const n=i.localName,r=i.numAttr("val")??i.numAttr("amt");r!==void 0&&n?t.push({name:n,val:r}):(n==="inv"||n==="gray"||n==="comp"||n==="gamma"||n==="invGamma")&&t.push({name:n,val:0})}return t}function _s(e,t){let i=e;const n=t.slide.colorMapOverrideMode??(t.slide.colorMapOverride?"override":void 0),r=t.layout.colorMapOverrideMode??(t.layout.colorMapOverride?"override":void 0),o=a=>a!=null&&a.has(e)?(i=a.get(e)??e,!0):!1;return n==="override"?o(t.slide.colorMapOverride)||o(t.master.colorMap):n==="master"?o(t.master.colorMap):r==="override"&&o(t.layout.colorMapOverride)||o(t.master.colorMap),t.theme.colorScheme.get(i)||t.theme.colorScheme.get(e)||"000000"}function Oe(e,t){const i=om(e),n=t.colorCache.get(i);if(n)return n;const r=sc(e,t);return t.colorCache.set(i,r),r}function sc(e,t,i){for(const r of e.allChildren()){const o=r.localName,l=Fi(r);switch(o){case"srgbClr":{const a=r.attr("val")||"000000";return Zt(a,l)}case"schemeClr":{const a=r.attr("val")||"tx1";if(a.toLowerCase()==="phclr"&&i!=null&&i.exists()){const d=Oe(i,t),u=d.color.startsWith("#")?d.color.slice(1):d.color,c=Zt(u,l);return{color:c.color,alpha:c.alpha*d.alpha}}const s=_s(a,t);return Zt(s,l)}case"sysClr":{const a=r.attr("lastClr")||r.attr("val")||"000000";return Zt(a,l)}case"prstClr":{const a=r.attr("val")||"black",s=Gs(a)||"#000000";return Zt(s.replace("#",""),l)}case"hslClr":{const a=(r.numAttr("hue")??0)/6e4,s=(r.numAttr("sat")??0)/1e5,d=(r.numAttr("lum")??0)/1e5,u=ti(a,s,d),c=dt(u.r,u.g,u.b).replace("#","");return Zt(c,l)}case"scrgbClr":{const a=Math.round((r.numAttr("r")??0)/1e5*255),s=Math.round((r.numAttr("g")??0)/1e5*255),d=Math.round((r.numAttr("b")??0)/1e5*255),u=dt(a,s,d).replace("#","");return Zt(u,l)}}}const n=e.localName;if(n==="srgbClr"){const r=e.attr("val")||"000000";return Zt(r,Fi(e))}if(n==="schemeClr"){const r=e.attr("val")||"tx1";if(r.toLowerCase()==="phclr"&&i!=null&&i.exists()){const l=Oe(i,t),a=l.color.startsWith("#")?l.color.slice(1):l.color,s=Zt(a,Fi(e));return{color:s.color,alpha:s.alpha*l.alpha}}const o=_s(r,t);return Zt(o,Fi(e))}if(n==="sysClr"){const r=e.attr("lastClr")||e.attr("val")||"000000";return Zt(r,Fi(e))}if(n==="prstClr"){const r=e.attr("val")||"black",o=Gs(r)||"#000000";return Zt(o.replace("#",""),Fi(e))}if(n==="hslClr"){const r=(e.numAttr("hue")??0)/6e4,o=(e.numAttr("sat")??0)/1e5,l=(e.numAttr("lum")??0)/1e5,a=ti(r,o,l),s=dt(a.r,a.g,a.b).replace("#","");return Zt(s,Fi(e))}if(n==="scrgbClr"){const r=Math.round((e.numAttr("r")??0)/1e5*255),o=Math.round((e.numAttr("g")??0)/1e5*255),l=Math.round((e.numAttr("b")??0)/1e5*255),a=dt(r,o,l).replace("#","");return Zt(a,Fi(e))}return{color:"#000000",alpha:1}}function Dt(e,t){const{color:i,alpha:n}=Oe(e,t);return di(i,n)}function di(e,t){const i=e.startsWith("#")?e:`#${e}`,{r:n,g:r,b:o}=Se(i);return t>=1?i:`rgba(${n},${r},${o},${t.toFixed(3)})`}function ar(e,t,i){return i!=null&&i.exists()?sc(e,t,i):Oe(e,t)}function Di(e,t){const i=e.child("solidFill");if(i.exists()){const{color:o,alpha:l}=Oe(i,t);return di(o,l)}const n=e.child("gradFill");if(n.exists())return uc(n,t);if(e.child("blipFill").exists())return"";const r=e.child("pattFill");return r.exists()?dc(r,t):e.child("grpFill").exists()?t.groupFillNode?Di(t.groupFillNode,t):"":e.child("noFill").exists()?"transparent":""}function dc(e,t,i){const n=e.attr("prst")??"solid";let r="#000000",o="#ffffff";const l=e.child("fgClr");if(l.exists()){const{color:c,alpha:h}=ar(l,t,i);r=di(c,h)}const a=e.child("bgClr");if(a.exists()){const{color:c,alpha:h}=ar(a,t,i);o=di(c,h)}const s=8,d=c=>`${c} 0 0 / ${s}px ${s}px, ${o}`,u=(c,h)=>`${c} 0 0 / ${s}px ${s}px, ${h} 0 0 / ${s}px ${s}px, ${o}`;switch(n){case"solid":case"solidDmnd":return r;case"pct5":case"pct10":case"pct20":case"pct25":return d(`radial-gradient(${r} 1px, transparent 1px)`);case"pct30":case"pct40":case"pct50":return d(`radial-gradient(${r} 1.5px, transparent 1.5px)`);case"pct60":case"pct70":case"pct75":case"pct80":case"pct90":return d(`radial-gradient(${r} 2.5px, transparent 2.5px)`);case"horz":case"ltHorz":case"narHorz":case"dkHorz":return d(`repeating-linear-gradient(0deg, ${r} 0px, ${r} 1px, transparent 1px, transparent ${s}px)`);case"vert":case"ltVert":case"narVert":case"dkVert":return d(`repeating-linear-gradient(90deg, ${r} 0px, ${r} 1px, transparent 1px, transparent ${s}px)`);case"dnDiag":case"ltDnDiag":case"narDnDiag":case"dkDnDiag":case"wdDnDiag":return d(`repeating-linear-gradient(45deg, ${r} 0px, ${r} 1px, transparent 1px, transparent ${s}px)`);case"upDiag":case"ltUpDiag":case"narUpDiag":case"dkUpDiag":case"wdUpDiag":return d(`repeating-linear-gradient(-45deg, ${r} 0px, ${r} 1px, transparent 1px, transparent ${s}px)`);case"smGrid":case"lgGrid":case"cross":return u(`repeating-linear-gradient(0deg, ${r} 0px, ${r} 1px, transparent 1px, transparent ${s}px)`,`repeating-linear-gradient(90deg, ${r} 0px, ${r} 1px, transparent 1px, transparent ${s}px)`);case"smCheck":case"lgCheck":case"diagCross":case"openDmnd":return u(`repeating-linear-gradient(45deg, ${r} 0px, ${r} 1px, transparent 1px, transparent ${s}px)`,`repeating-linear-gradient(-45deg, ${r} 0px, ${r} 1px, transparent 1px, transparent ${s}px)`);case"dotGrid":case"dotDmnd":return d(`radial-gradient(${r} 1px, transparent 1px)`);case"trellis":case"weave":return u(`repeating-linear-gradient(45deg, ${r} 0px, ${r} 2px, transparent 2px, transparent ${s}px)`,`repeating-linear-gradient(-45deg, ${r} 0px, ${r} 2px, transparent 2px, transparent ${s}px)`);case"dashDnDiag":case"dashUpDiag":case"dashHorz":case"dashVert":{const c=n.includes("Dn")?"45deg":n.includes("Up")?"-45deg":n.includes("Horz")?"0deg":"90deg";return d(`repeating-linear-gradient(${c}, ${r} 0px, ${r} 3px, transparent 3px, transparent ${s}px)`)}case"sphere":case"shingle":case"plaid":case"divot":case"zigZag":return d(`radial-gradient(${r} 2px, transparent 2px)`);default:return o}}function uc(e,t,i){const n=e.child("gsLst"),r=[];for(const s of n.children("gs")){const d=s.numAttr("pos")??0,u=hr(d)*100,{color:c,alpha:h}=ar(s,t,i);r.push({position:u,color:di(c,h)})}if(r.length===0)return"";r.sort((s,d)=>s.position-d.position);const o=Ys(r),l=e.child("lin");if(l.exists())return`linear-gradient(${((xi(l.numAttr("ang")??0)+90)%360).toFixed(1)}deg, ${o})`;const a=e.child("path");if(a.exists()){const s=a.attr("path");if(s==="circle"||s==="shape"||s==="rect"){const d=cc(a),{cx:u,cy:c}=hc(d),h=Ys(sr({stops:r,cx:u,cy:c,fillToRect:d}));return s==="rect"?`radial-gradient(closest-side at ${(u*100).toFixed(1)}% ${(c*100).toFixed(1)}%, ${h})`:`radial-gradient(ellipse at ${(u*100).toFixed(1)}% ${(c*100).toFixed(1)}%, ${h})`}}return`linear-gradient(180deg, ${o})`}function mr(e,t,i){const n=e.numAttr("w")??0;let r=ee(n),o="transparent";const l=e.child("solidFill");if(l.exists()){const u=l.child("schemeClr");if(u.exists()&&(u.attr("val")??"").toLowerCase()==="phclr"&&i&&i.exists()){const c=Oe(i,t),h=c.color.startsWith("#")?c.color.slice(1):c.color,f=Zt(h,Fi(u));o=di(f.color,f.alpha*c.alpha)}else{const c=Oe(l,t);o=di(c.color,c.alpha)}}else if(i&&i.exists()&&(i.numAttr("idx")??0)>0){const u=i.numAttr("idx")??0;if(u>0&&t.theme.lineStyles&&t.theme.lineStyles.length>=u){const c=t.theme.lineStyles[u-1];if(r===0){const f=c.numAttr("w")??0;r=ee(f)}const h=Oe(i,t);o=di(h.color,h.alpha)}else{const c=Oe(i,t);o=di(c.color,c.alpha),r===0&&u>0&&(r=u*.75)}}if(r===0&&i&&i.exists()){const u=i.numAttr("idx")??0;if(u>0&&t.theme.lineStyles&&t.theme.lineStyles.length>=u){const c=t.theme.lineStyles[u-1].numAttr("w")??0;r=ee(c)}else u>0&&(r=u*.75)}r===0&&o!=="transparent"&&!e.child("noFill").exists()&&(r=1);let a="solid",s="solid";const d=e.child("prstDash");if(d.exists()){const u=d.attr("val")||"solid";s=u,a=Ws(u)}if(a==="solid"&&i&&i.exists()){const u=i.numAttr("idx")??0;if(u>0&&t.theme.lineStyles&&t.theme.lineStyles.length>=u){const c=t.theme.lineStyles[u-1].child("prstDash");c.exists()&&(s=c.attr("val")||"solid",a=Ws(s))}}return{width:r,color:o,dash:a,dashKind:s}}function Ws(e){switch(e){case"solid":return"solid";case"dot":case"sysDot":return"dotted";case"dash":case"sysDash":case"lgDash":return"dashed";case"dashDot":case"lgDashDot":case"lgDashDotDot":case"sysDashDot":case"sysDashDotDot":return"dashed";default:return"solid"}}function cc(e){const t=e.child("fillToRect");if(t.exists())return{l:(t.numAttr("l")??0)/1e5,t:(t.numAttr("t")??0)/1e5,r:(t.numAttr("r")??0)/1e5,b:(t.numAttr("b")??0)/1e5}}function hc(e){return e?{cx:(e.l+(1-e.r))/2,cy:(e.t+(1-e.b))/2}:{cx:.5,cy:.5}}function ol(e){return Math.max(0,Math.min(1,e))}function lm(e,t={}){const i=e.fillToRect;if(!i)return 0;const n=Math.max(0,1-i.l-i.r),r=Math.max(0,1-i.t-i.b);if(n<=0&&r<=0)return 0;const o=e.cx??.5,l=e.cy??.5,a=Math.max(Math.abs(o),Math.abs(1-o)),s=Math.max(Math.abs(l),Math.abs(1-l));if(t.axis==="x")return a>0?ol(n/2/a):0;if(t.axis==="y")return s>0?ol(r/2/s):0;const d=t.width??1,u=t.height??1,c=Math.hypot(n/2*d,r/2*u),h=Math.hypot(a*d,s*u);return h>0?ol(c/h):0}function sr(e,t={}){const i=lm(e,t);return i<=0?e.stops:e.stops.map(n=>({...n,position:i*100+n.position*(1-i)}))}function Ys(e){return e.map(t=>`${t.color} ${t.position.toFixed(1)}%`).join(", ")}function fc(e,t,i){const n=e.child("gsLst"),r=[];for(const a of n.children("gs")){const s=a.numAttr("pos")??0,d=hr(s)*100,{color:u,alpha:c}=ar(a,t,i);r.push({position:d,color:di(u,c)})}if(r.length===0)return null;r.sort((a,s)=>a.position-s.position);const o=e.child("lin");if(o.exists()){const a=xi(o.numAttr("ang")??0);return{type:"linear",stops:r,angle:a,colorInterpolation:"linearRGB"}}const l=e.child("path");if(l.exists()){const a=l.attr("path");if(a==="circle"||a==="shape"||a==="rect"){const s=cc(l),{cx:d,cy:u}=hc(s);return{type:"radial",stops:r,angle:0,cx:d,cy:u,pathType:a,fillToRect:s,colorInterpolation:"linearRGB"}}}return{type:"linear",stops:r,angle:0,colorInterpolation:"linearRGB"}}function pc(e,t){let i=e.child("gradFill");return!i.exists()&&e.child("grpFill").exists()&&t.groupFillNode&&(i=t.groupFillNode.child("gradFill")),i.exists()?fc(i,t):null}function la(e,t){const i=e.numAttr("idx")??0;return Al(e,t,t.theme.fillStyles,i)}function am(e,t){const i=e.numAttr("idx")??0;return i>=1001?Al(e,t,t.theme.bgFillStyles??[],i-1e3):Al(e,t,t.theme.fillStyles,i)}function Al(e,t,i,n){if(n<=0||((i==null?void 0:i.length)??0)<n)return{fillCss:Dt(e,t),gradientFillData:null};const r=i==null?void 0:i[n-1];if(!(r!=null&&r.exists()))return{fillCss:Dt(e,t),gradientFillData:null};if(r.localName==="solidFill"){const o=ar(r,t,e);return{fillCss:di(o.color,o.alpha),gradientFillData:null}}return r.localName==="gradFill"?{fillCss:uc(r,t,e),gradientFillData:fc(r,t,e)}:r.localName==="pattFill"?{fillCss:dc(r,t,e),gradientFillData:null}:r.localName==="noFill"?{fillCss:"transparent",gradientFillData:null}:{fillCss:Dt(e,t),gradientFillData:null}}function sm(e,t){const i=e.child("gradFill");if(!i.exists())return null;const n=i.child("gsLst"),r=[];for(const d of n.children("gs")){const u=d.numAttr("pos")??0,c=hr(u)*100,{color:h,alpha:f}=Oe(d,t),p=di(h,f);r.push({position:c,color:p})}if(r.length===0)return null;r.sort((d,u)=>d.position-u.position);const o=i.child("lin");let l=0;o.exists()&&(l=xi(o.numAttr("ang")??0));const a=e.numAttr("w")??0;let s=ee(a);return s<=0&&(s=1),{stops:r,angle:l,width:s,colorInterpolation:"linearRGB"}}const dm=new Set(["http:","https:","mailto:"]),um=new Set(["http:","https:"]);function mc(e){try{return new URL(e).protocol.toLowerCase()}catch{return}}function Eo(e){const t=mc(e);return t!==void 0&&dm.has(t)}function gr(e){const t=mc(e);return t!==void 0&&um.has(t)}const cm=128;function hm(e,t){if(!(t>0))return e;const i=e.trim();if(!i)return`${100/t}%`;if(i.length>cm)return e;const n=fm(i);return n?`${n.value/t}${n.unit||"%"}`:e}function fm(e){let t=0;(e[t]==="-"||e[t]==="+")&&t++;let i=0;for(;Vr(e.charCodeAt(t));)t++,i++;if(e[t]===".")for(t++;Vr(e.charCodeAt(t));)t++,i++;if(i===0)return null;if(e[t]==="e"||e[t]==="E"){const o=t;t++,(e[t]==="-"||e[t]==="+")&&t++;let l=0;for(;Vr(e.charCodeAt(t));)t++,l++;l===0&&(t=o)}const n=Number(e.slice(0,t));if(!Number.isFinite(n))return null;const r=e.slice(t);return $m(r)?{value:n,unit:r}:null}function aa(e){const t=pm(e);if(t<0)return null;const i=e.slice(t+1).trim();return gm(i)?{imageLayers:mm(e.slice(0,t)),color:i}:null}function pm(e){let t=0;for(let i=e.length-1;i>=0;i--){const n=e[i];if(n===")")t++;else if(n==="(")t>0&&t--;else if(n===","&&t===0)return i}return-1}function mm(e){return e.split("0 0 / 8px 8px").join("").trimEnd()}function gm(e){if(!e)return!1;if(e[0]==="#"){const i=e.length-1;if(![3,4,6,8].includes(i))return!1;for(let n=1;n<e.length;n++)if(!ym(e.charCodeAt(n)))return!1;return!0}const t=e.toLowerCase();if(t.startsWith("rgb(")||t.startsWith("rgba("))return e.endsWith(")")&&!e.slice(0,-1).includes(")");for(let i=0;i<e.length;i++){const n=e.charCodeAt(i);if(!gc(n))return!1}return!0}function $m(e){if(!e||e==="%")return!0;for(let t=0;t<e.length;t++)if(!gc(e.charCodeAt(t)))return!1;return!0}function Vr(e){return e>=48&&e<=57}function gc(e){return e>=65&&e<=90||e>=97&&e<=122}function ym(e){return Vr(e)||e>=65&&e<=70||e>=97&&e<=102}let vm=0;function $c(e,t,i,n){const r=Math.round(e*n+255*(1-n)),o=Math.round(t*n+255*(1-n)),l=Math.round(i*n+255*(1-n));return`rgb(${r},${o},${l})`}function yc(e,t){if(t.includes("gradient")&&t.includes(" 0 0 / ")){const i=aa(t);if(i){e.style.backgroundImage=i.imageLayers,e.style.backgroundSize="8px 8px",e.style.backgroundRepeat="repeat",e.style.backgroundColor=i.color;return}}t.includes("gradient")||t.startsWith("url(")||t.includes("repeating-")?e.style.background=t:e.style.backgroundColor=t}function xm(e){const t=e*Math.PI/180;return{x1:50-50*Math.cos(t),y1:50-50*Math.sin(t),x2:50+50*Math.cos(t),y2:50+50*Math.sin(t)}}function Xs(e,t){const i="http://www.w3.org/2000/svg";for(const n of t){const r=document.createElementNS(i,"stop");r.setAttribute("offset",`${n.position}%`),r.setAttribute("stop-color",n.color),e.appendChild(r)}}function bm(e,t,i,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg");o.setAttribute("data-pptx-background-gradient","true"),o.setAttribute("viewBox",`0 0 ${i} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.style.position="absolute",o.style.left="0",o.style.top="0",o.style.width="100%",o.style.height="100%",o.style.pointerEvents="none",o.style.display="block";const l=document.createElementNS(r,"defs");o.appendChild(l);const a=`bg-grad-${++vm}`;if(t.type==="radial"&&t.pathType==="rect"){const s=t.cx??.5,d=t.cy??.5,u=(g,y)=>{const x=sr(t,{axis:y}),b=[];for(const v of x){const w=v.position/100;b.push({offset:g-w*g,color:v.color}),b.push({offset:g+w*(1-g),color:v.color})}return b.sort((v,w)=>v.offset-w.offset)},c=`${a}-h`,h=document.createElementNS(r,"linearGradient");h.setAttribute("id",c),h.setAttribute("color-interpolation",t.colorInterpolation??"linearRGB"),h.setAttribute("x1","0%"),h.setAttribute("y1","0%"),h.setAttribute("x2","100%"),h.setAttribute("y2","0%");for(const g of u(s,"x")){const y=document.createElementNS(r,"stop");y.setAttribute("offset",`${(g.offset*100).toFixed(2)}%`),y.setAttribute("stop-color",g.color),h.appendChild(y)}l.appendChild(h);const f=`${a}-v`,p=document.createElementNS(r,"linearGradient");p.setAttribute("id",f),p.setAttribute("color-interpolation",t.colorInterpolation??"linearRGB"),p.setAttribute("x1","0%"),p.setAttribute("y1","0%"),p.setAttribute("x2","0%"),p.setAttribute("y2","100%");for(const g of u(d,"y")){const y=document.createElementNS(r,"stop");y.setAttribute("offset",`${(g.offset*100).toFixed(2)}%`),y.setAttribute("stop-color",g.color),p.appendChild(y)}l.appendChild(p);const m=document.createElementNS(r,"g");m.setAttribute("style","isolation: isolate");const $=document.createElementNS(r,"rect");$.setAttribute("width",String(i)),$.setAttribute("height",String(n)),$.setAttribute("fill","black"),m.appendChild($);for(const g of[c,f]){const y=document.createElementNS(r,"rect");y.setAttribute("width",String(i)),y.setAttribute("height",String(n)),y.setAttribute("fill",`url(#${g})`),y.setAttribute("style","mix-blend-mode: lighten"),m.appendChild(y)}o.appendChild(m)}else if(t.type==="radial"){const s=document.createElementNS(r,"radialGradient");s.setAttribute("id",a),s.setAttribute("color-interpolation",t.colorInterpolation??"linearRGB"),s.setAttribute("gradientUnits","userSpaceOnUse");const d=t.cx??.5,u=t.cy??.5;s.setAttribute("cx",String(d*i)),s.setAttribute("cy",String(u*n));const c=Math.max(d,1-d),h=Math.max(u,1-u);s.setAttribute("r",String(Math.hypot(c*i,h*n))),Xs(s,sr(t,{width:i,height:n})),l.appendChild(s);const f=document.createElementNS(r,"rect");f.setAttribute("width",String(i)),f.setAttribute("height",String(n)),f.setAttribute("fill",`url(#${a})`),o.appendChild(f)}else{const s=document.createElementNS(r,"linearGradient");s.setAttribute("id",a),s.setAttribute("color-interpolation",t.colorInterpolation??"linearRGB"),s.setAttribute("gradientUnits","userSpaceOnUse");const d=xm(t.angle);s.setAttribute("x1",String(d.x1/100*i)),s.setAttribute("y1",String(d.y1/100*n)),s.setAttribute("x2",String(d.x2/100*i)),s.setAttribute("y2",String(d.y2/100*n)),Xs(s,t.stops),l.appendChild(s);const u=document.createElementNS(r,"rect");u.setAttribute("width",String(i)),u.setAttribute("height",String(n)),u.setAttribute("fill",`url(#${a})`),o.appendChild(u)}e.style.position||(e.style.position="relative"),e.style.background="",e.querySelectorAll('svg[data-pptx-background-gradient="true"]').forEach(s=>{s.remove()}),e.insertBefore(o,e.firstChild)}function wm(e,t,i){return vc(pc(e,t),t,i)}function vc(e,t,i){return e!=null&&e.pathType?(bm(i,e,t.presentation.width,t.presentation.height),!0):!1}function Mm(e,t){let i,n=e.slide.rels;if(e.slide.background?(i=e.slide.background,n=e.slide.rels):e.layout.background?(i=e.layout.background,n=e.layout.rels):e.master.background&&(i=e.master.background,n=e.master.rels),!i){t.style.backgroundColor="#FFFFFF";return}const r=i.child("bgPr");if(r.exists()){km(r,e,t,n);return}const o=i.child("bgRef");if(o.exists()){Sm(o,e,t);return}t.style.backgroundColor="#FFFFFF"}function km(e,t,i,n){const r=e.child("solidFill");if(r.exists()){const{color:l,alpha:a}=Oe(r,t),s=l.startsWith("#")?l:`#${l}`;if(a<1){const{r:d,g:u,b:c}=Se(s);i.style.backgroundColor=$c(d,u,c,a)}else i.style.backgroundColor=s;return}if(e.child("gradFill").exists()){if(wm(e,t,i))return;const l=Di(e,t);l&&(i.style.background=l);return}if(e.child("pattFill").exists()){const l=Di(e,t);l&&yc(i,l);return}const o=e.child("blipFill");if(o.exists()){Am(o,t,i,n);return}if(e.child("noFill").exists()){i.style.backgroundColor="#FFFFFF";return}}function Sm(e,t,i){var n,r;const o=e.numAttr("idx")??0;if(o>=1001&&o-1e3<=(((n=t.theme.bgFillStyles)==null?void 0:n.length)??0)||o>0&&o<=(((r=t.theme.fillStyles)==null?void 0:r.length)??0)){const{fillCss:s,gradientFillData:d}=am(e,t);if(vc(d,t,i))return;yc(i,s);return}const{color:l,alpha:a}=Oe(e,t);if(l&&l!=="#000000"){const s=l.startsWith("#")?l:`#${l}`;if(a<1){const{r:d,g:u,b:c}=Se(s);i.style.backgroundColor=$c(d,u,c,a)}else i.style.backgroundColor=s}else i.style.backgroundColor="#FFFFFF"}function Am(e,t,i,n){var r;const o=e.child("blip"),l=o.attr("embed")??o.attr("r:embed"),a=o.attr("link")??o.attr("r:link"),s=l??a;if(!s)return;const d=(n??t.slide.rels).get(s);if(!d)return;let u;if(Mi(d.targetMode)){if(!gr(d.target))return;u=d.target}else{const c=cr(d.target,t.presentation.media);if(!c){if(t.presentation.mediaResolver){const p=Lo(d.target,t.presentation.media,t.presentation.mediaResolver).then(m=>{var $;if(($=t.signal)!=null&&$.aborted||!m)return;const g=gn(m.mediaPath,m.data,t.mediaUrlCache);Hs(e,i,g)}).catch(()=>{});(r=t.asyncTasks)==null||r.push(p),t.asyncTasks}return}const{mediaPath:h,data:f}=c;u=gn(h,f,t.mediaUrlCache)}Hs(e,i,u)}function Hs(e,t,i){const n=Bm(e.child("blip"));if(n<1||e.child("srcRect").exists()){Lm(e,t,i,n);return}t.style.backgroundImage=`url("${i}")`;const r=e.child("stretch");r.exists()&&(Em(t,r.child("fillRect")),t.style.backgroundRepeat="no-repeat"),e.child("tile").exists()&&(t.style.backgroundRepeat="repeat",t.style.backgroundSize="auto")}function Lm(e,t,i,n){t.style.position||(t.style.position="relative"),t.style.backgroundImage="",t.querySelectorAll('[data-pptx-background-image="true"]').forEach(s=>{s.remove()});const r=document.createElement("div");r.setAttribute("data-pptx-background-image","true"),r.style.position="absolute",r.style.pointerEvents="none",r.style.opacity=`${Number(n.toFixed(4))}`;const o=e.child("stretch"),l=o.exists()?o.child("fillRect"):new _t(null);Fm(r,l);const a=e.child("srcRect");if(a.exists()){r.style.overflow="hidden";const s=document.createElement("div");s.setAttribute("data-pptx-background-crop","true"),s.style.position="absolute",s.style.backgroundImage=`url("${i}")`,s.style.backgroundSize="100% 100%",s.style.backgroundRepeat="no-repeat",Pm(s,a),r.appendChild(s),t.insertBefore(r,t.firstChild);return}r.style.backgroundImage=`url("${i}")`,o.exists()&&(r.style.backgroundSize="100% 100%",r.style.backgroundRepeat="no-repeat"),e.child("tile").exists()&&(r.style.backgroundRepeat="repeat",r.style.backgroundSize="auto"),t.insertBefore(r,t.firstChild)}function Cm(e){if(!e.exists())return{left:0,top:0,width:100,height:100};const t=ui(e,"l"),i=ui(e,"t"),n=ui(e,"r"),r=ui(e,"b");return{left:t,top:i,width:100-t-n,height:100-i-r}}function Fm(e,t){const i=Cm(t);e.style.left=`${i.left}%`,e.style.top=`${i.top}%`,e.style.width=`${i.width}%`,e.style.height=`${i.height}%`}function Pm(e,t){const i=ui(t,"l")/100,n=ui(t,"t")/100,r=ui(t,"r")/100,o=ui(t,"b")/100,l=1-i-r,a=1-n-o;if(l<=.001||a<=.001){e.style.left="0%",e.style.top="0%",e.style.width="100%",e.style.height="100%";return}const s=1/l,d=1/a;e.style.left=`${-i*s*100}%`,e.style.top=`${-n*d*100}%`,e.style.width=`${s*100}%`,e.style.height=`${d*100}%`}function Bm(e){let t=1;const i=e.child("alphaModFix");i.exists()&&(t*=(i.numAttr("amt")??1e5)/1e5);const n=e.child("alphaMod");n.exists()&&(t*=(n.numAttr("val")??1e5)/1e5);const r=e.child("alphaOff");return r.exists()&&(t+=(r.numAttr("val")??0)/1e5),Math.max(0,Math.min(1,t))}function ui(e,t){return(e.numAttr(t)??0)/1e3}function Vs(e,t){const i=e+t;return Math.abs(i)<1e-4?0:e/i*100}function Em(e,t){if(!t.exists()){e.style.backgroundSize="100% 100%",e.style.backgroundPosition="";return}const i=ui(t,"l"),n=ui(t,"t"),r=ui(t,"r"),o=ui(t,"b"),l=100-i-r,a=100-n-o;e.style.backgroundSize=`${l}% ${a}%`,e.style.backgroundPosition=`${Vs(i,r)}% ${Vs(n,o)}%`}const Ar=16,Lr=16,Tm=512;let jm=0;function Li(e,t,i){return Math.min(i,Math.max(t,e))}function Cr(e){return(e/6e4%360+360)%360}function Xt(e){const t=Math.abs(e)<5e-5?0:Number(e.toFixed(4));return String(t)}function Nm(e,t,i){const n=e.endsWith("l")||e==="l"?0:e.endsWith("r")||e==="r"?t:t/2,r=e.startsWith("t")||e==="t"?0:e.startsWith("b")||e==="b"?i:i/2;return{x:n,y:r}}function Fr(e,t){return{x:e.a*t.x+e.c*t.y+e.e,y:e.b*t.x+e.d*t.y+e.f}}function Rm(e){const t=`-reflection-${++jm}`,i=[e,...Array.from(e.querySelectorAll("[id]"))],n=new Map;for(const r of i){const o=r.id;if(!o)continue;const l=`${o}${t}`;n.set(o,l),r.id=l}if(n.size!==0)for(const r of[e,...Array.from(e.querySelectorAll("*"))])for(const o of Array.from(r.attributes)){let l=o.value.replace(/url\(#([^)]+)\)/g,(a,s)=>{const d=n.get(s);return d?`url(#${d})`:a});if(l.startsWith("#")){const a=n.get(l.slice(1));a&&(l=`#${a}`)}l!==o.value&&r.setAttribute(o.name,l)}}function zm(e,t,i){const n=e.cloneNode(!0);return n.dataset.pptxReflectionSource="true",n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.left="0",n.style.top="0",n.style.width=`${Xt(t)}px`,n.style.height=`${Xt(i)}px`,n.style.pointerEvents="none",n.style.removeProperty("-webkit-box-reflect"),Rm(n),n}function Dm(e,t){e.style.setProperty("-webkit-mask-image",t),e.style.setProperty("mask-image",t),e.style.setProperty("-webkit-mask-repeat","no-repeat"),e.style.setProperty("mask-repeat","no-repeat"),e.style.setProperty("-webkit-mask-size","100% 100%"),e.style.setProperty("mask-size","100% 100%")}function Im(e,t,i,n,r){return`linear-gradient(${Xt(e)}deg, rgba(255,255,255,${t.toFixed(3)}) ${i.toFixed(1)}%, rgba(255,255,255,${n.toFixed(3)}) ${r.toFixed(1)}%)`}function xc(e,t,i){const n=Math.max(0,i.w),r=Math.max(0,i.h);if(!t.exists()||n===0||r===0)return;const o=Li(ee(t.numAttr("blurRad")??0),0,Tm),l=Li((t.numAttr("stA")??1e5)/1e5,0,1),a=Li((t.numAttr("stPos")??0)/1e3,0,100),s=Li((t.numAttr("endA")??0)/1e5,0,1),d=Li((t.numAttr("endPos")??1e5)/1e3,0,100),u=Math.max(0,ee(t.numAttr("dist")??0)),c=Cr(t.numAttr("dir")??0),h=Cr(t.numAttr("fadeDir")??54e5),f=Li((t.numAttr("sx")??1e5)/1e5,-Ar,Ar),p=Li((t.numAttr("sy")??1e5)/1e5,-Ar,Ar),m=Li(Math.tan(Cr(t.numAttr("kx")??0)*Math.PI/180),-Lr,Lr),$=Li(Math.tan(Cr(t.numAttr("ky")??0)*Math.PI/180),-Lr,Lr),g=Nm((t.attr("algn")??"b").toLowerCase(),n,r),y=c*Math.PI/180,x=u*Math.cos(y),b=u*Math.sin(y),v={a:f,b:$,c:m,d:p,e:g.x+x-f*g.x-m*g.y,f:g.y+b-$*g.x-p*g.y},w=[Fr(v,{x:0,y:0}),Fr(v,{x:n,y:0}),Fr(v,{x:0,y:r}),Fr(v,{x:n,y:r})],M=Math.min(...w.map(F=>F.x)),S=Math.max(...w.map(F=>F.x)),A=Math.min(...w.map(F=>F.y)),B=Math.max(...w.map(F=>F.y)),L=document.createElement("div");L.dataset.pptxReflectionLayer="true",L.setAttribute("aria-hidden","true"),L.style.position="absolute",L.style.left=`${Xt(M)}px`,L.style.top=`${Xt(A)}px`,L.style.width=`${Xt(Math.max(0,S-M))}px`,L.style.height=`${Xt(Math.max(0,B-A))}px`,L.style.overflow="visible",L.style.pointerEvents="none",o>0&&(L.style.filter=`blur(${Xt(o)}px)`);const T=(h+90)%360,k=zm(e,n,r);return k.style.transformOrigin="0 0",k.style.transform=`matrix(${Xt(v.a)}, ${Xt(v.b)}, ${Xt(v.c)}, ${Xt(v.d)}, ${Xt(v.e-M)}, ${Xt(v.f-A)})`,Dm(L,Im(T,l,a,s,d)),L.appendChild(k),e.insertBefore(L,e.firstChild),L}function qr(e,t){var i,n;const r=(i=e==null?void 0:e.bodyProperties)==null?void 0:i.child(t);if(r!=null&&r.exists())return r;const o=["noAutofit","normAutofit","spAutoFit"];if(o.includes(t)&&o.some(a=>{var s;return(s=e==null?void 0:e.bodyProperties)==null?void 0:s.child(a).exists()}))return;const l=(n=e==null?void 0:e.layoutBodyProperties)==null?void 0:n.child(t);if(l!=null&&l.exists())return l}function cn(e){if(e===void 0||e.trim()==="")return;const t=e.trim(),i=t.endsWith("%"),n=Number(i?t.slice(0,-1):t);return Number.isFinite(n)?n/(i?100:1e5):void 0}const Om=/^\+(mj|mn)-(lt|ea|cs)$/,Um={lt:"latin",ea:"ea",cs:"cs"},Zm=["Hans","Hant","Jpan","Hang"];function Gm(e){return Array.isArray(e)?e.filter(t=>typeof t=="string"&&t.length>0):typeof e=="string"&&e.length>0?[e]:[]}function _m(e){const t=e.toLowerCase();if(t.startsWith("zh"))return/-(tw|hk|mo)\b/.test(t)?"Hant":"Hans";if(t.startsWith("ja"))return"Jpan";if(t.startsWith("ko"))return"Hang";if(t.startsWith("ar"))return"Arab";if(t.startsWith("he"))return"Hebr";if(t.startsWith("th"))return"Thai";if(t.startsWith("hi")||t.startsWith("mr")||t.startsWith("ne"))return"Deva"}function Wm(e,t){if(e){for(const i of Gm(t)){const n=_m(i);if(n&&e[n])return e[n]}for(const i of Zm)if(e[i])return e[i]}}function Ym(e,t,i){const n=e.match(Om);if(!n)return e;const r=n[1],o=n[2],l=r==="mj"?t.theme.majorFont:t.theme.minorFont,a=Um[o],s=l[a];if(s)return s;if(o==="ea"){const d=Wm(l.scripts,i);if(d)return d}return l.latin||l.ea||l.cs||e}function Ri(e,t,i){var n,r;const o=new Set,l=[];for(const a of e){if(!a)continue;const s=Ym(a,t,i).trim(),d=(n=t.presentation.embeddedFontFamilies)==null?void 0:n.get(s.toLowerCase());d&&((r=t.usedEmbeddedFontFamilies)==null||r.add(d));for(const u of d?[d,s]:[s]){const c=u.toLowerCase();!u||o.has(c)||(o.add(c),l.push(u))}}return l}const Xm=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","emoji","math","fangsong"]),Hm=["PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Source Han Sans SC","Arial Unicode MS","sans-serif"],Vm=new Set(["microsoft yahei","microsoft yahei ui","微软雅黑","dengxian","等线","simhei","黑体","heiti sc"]),qm={calibri:["Calibri","Aptos","Carlito","system-ui","Arial","Helvetica","sans-serif"],"calibri light":["Calibri Light","Aptos Display","Aptos","Carlito","system-ui","Arial","Helvetica","sans-serif"],aptos:["Aptos","system-ui","Arial","Helvetica","sans-serif"],"aptos display":["Aptos Display","Aptos","system-ui","Arial","Helvetica","sans-serif"],"microsoft yahei":["Microsoft YaHei","微软雅黑"],"microsoft yahei ui":["Microsoft YaHei UI","Microsoft YaHei","微软雅黑"],微软雅黑:["微软雅黑","Microsoft YaHei"],dengxian:["DengXian","等线"],等线:["等线","DengXian"],simhei:["SimHei","黑体"],黑体:["黑体","SimHei"],"heiti sc":["Heiti SC","黑体","SimHei"]};function fo(e){return e.trim().replace(/^['"]|['"]$/g,"").toLowerCase()}function Km(e){const t=fo(e);return Xm.has(t)?t:`"${e.trim().replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function qs(e){const t=fo(e);return qm[t]??[e.trim()]}function hn(e){const t=Array.isArray(e)?e.flatMap(qs):qs(e),i=t.some(r=>Vm.has(fo(r)))?[...t,...Hm]:t,n=new Set;return i.filter(r=>{const o=fo(r);return n.has(o)?!1:(n.add(o),!0)}).map(Km).join(", ")}function Qm(e){const t=e.replace(/\\/g,"/"),i=t.lastIndexOf("/");return i>=0?t.slice(0,i):""}function bc(e){const t=e.search(/[?#]/);return t>=0?e.slice(0,t):e}function po(e){return bc(e).replace(/\\/g,"/").replace(/^\/+/,"")}function Jm(e,t){if(Mi(t.targetMode))return;const i=Qm(e.slide.slidePath||"ppt/slides/slide1.xml"),n=po(Jt(i,t.target)),r=e.presentation.slides.findIndex(l=>po(l.slidePath||"")===n);if(r>=0)return r;const o=bc(t.target).match(/(?:^|[\\/])slide(\d+)\.xml$/i);if(o)return parseInt(o[1],10)-1}function Ks(e){const t=e.slide.index;if(t>=0&&t<e.presentation.slides.length)return t;const i=po(e.slide.slidePath||""),n=e.presentation.slides.findIndex(r=>po(r.slidePath||"")===i);return n>=0?n:0}function Qs(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return e}}function eg(e,t){const i=t.toLowerCase();for(const n of e.split("&")){const[r,...o]=n.split("=");if(Qs(r).toLowerCase()===i)return Qs(o.join("="))}}function tg(e,t){var i;const n=t.match(/^ppaction:\/\/hlinkshowjump\?(.+)$/i);if(!n)return;const r=(i=eg(n[1],"jump"))==null?void 0:i.toLowerCase(),o=e.presentation.slides.length;if(o!==0)switch(r){case"firstslide":return 0;case"lastslide":return o-1;case"nextslide":{const l=Ks(e)+1;return l<o?l:void 0}case"previousslide":{const l=Ks(e)-1;return l>=0?l:void 0}default:return}}function sa(e,t,i){if((t==null?void 0:t.toLowerCase())==="ppaction://hlinksldjump"&&i)return Jm(e,i);if(t)return tg(e,t)}function da(e){return`Go to slide ${e+1}`}const ig="http://www.w3.org/1998/Math/MathML";function Ve(e,t){const i=document.createElementNS(ig,e);return t!==void 0&&(i.textContent=t),i}function Ht(e,...t){for(const i of t)i&&e.appendChild(i);return e}function ng(e,t=!1){const i=Ve("mrow"),n=e.match(new RegExp("\\s+|\\p{L}[\\p{L}\\p{Mn}\\p{Mc}]*|\\p{N}+(?:[.,]\\p{N}+)*|.","gu"))??[];for(const r of n)if(/^\s+$/u.test(r))i.appendChild(Ve("mtext",r));else if(new RegExp("^\\p{N}","u").test(r))i.appendChild(Ve("mn",r));else if(new RegExp("^\\p{L}","u").test(r))if(t){const o=Ve("mi",r);o.setAttribute("mathvariant","normal"),i.appendChild(o)}else for(const o of r)i.appendChild(Ve("mi",o));else i.appendChild(Ve("mo",r));return i.childElementCount===1?i.firstElementChild:i}function rg(e){return e.subscript&&e.superscript?Ht(Ve("msubsup"),nt(e.base),nt(e.subscript),nt(e.superscript)):e.subscript?Ht(Ve("msub"),nt(e.base),nt(e.subscript)):e.superscript?Ht(Ve("msup"),nt(e.base),nt(e.superscript)):nt(e.base)}function og(e){const t=Ve("mo",e.operator);t.setAttribute("largeop","true"),t.setAttribute("movablelimits","true");let i=t;return e.lower&&e.upper?i=Ht(Ve(e.limitLocation==="undOvr"?"munderover":"msubsup"),t,nt(e.lower),nt(e.upper)):e.lower?i=Ht(Ve(e.limitLocation==="undOvr"?"munder":"msub"),t,nt(e.lower)):e.upper&&(i=Ht(Ve(e.limitLocation==="undOvr"?"mover":"msup"),t,nt(e.upper))),Ht(Ve("mrow"),i,e.body?nt(e.body):void 0)}function nt(e){switch(e.kind){case"row":return Ht(Ve("mrow"),...e.children.map(nt));case"text":return ng(e.text,e.normal);case"fraction":{if(e.style==="lin")return Ht(Ve("mrow"),nt(e.numerator),Ve("mo","/"),nt(e.denominator));const t=Ht(Ve("mfrac"),nt(e.numerator),nt(e.denominator));return e.style==="noBar"&&t.setAttribute("linethickness","0"),e.style==="skw"&&t.setAttribute("bevelled","true"),t}case"radical":return e.degree?Ht(Ve("mroot"),nt(e.radicand),nt(e.degree)):Ht(Ve("msqrt"),nt(e.radicand));case"scripts":return rg(e);case"delimiter":{const t=Ve("mrow"),i=Ve("mo",e.begin);i.setAttribute("fence","true"),i.setAttribute("stretchy","true"),t.appendChild(i),e.elements.forEach((r,o)=>{if(o>0){const l=Ve("mo",e.separator);l.setAttribute("separator","true"),t.appendChild(l)}t.appendChild(nt(r))});const n=Ve("mo",e.end);return n.setAttribute("fence","true"),n.setAttribute("stretchy","true"),t.appendChild(n),t}case"nary":return og(e);case"matrix":{const t=Ve("mtable");t.setAttribute("columnspacing","1.1em"),t.setAttribute("rowspacing","0.5em");for(const i of e.rows){const n=Ve("mtr");for(const r of i){const o=Ve("mtd");o.setAttribute("style","padding: 0.25em 0.55em"),n.appendChild(Ht(o,nt(r)))}t.appendChild(n)}return t}case"function":return Ht(Ve("mrow"),nt(e.name),Ve("mo","⁡"),nt(e.argument))}}function lg(e){const t=document.createElement("span");t.className="pptx-math",t.style.display="inline-block",t.style.verticalAlign="middle",t.style.whiteSpace="nowrap",t.style.lineHeight="normal";const i=Ve("math");return i.setAttribute("display",e.display),i.setAttribute("aria-label",Vu(e)),i.setAttribute("style","font-family: inherit; font-size: inherit"),i.appendChild(nt(e.body)),t.appendChild(i),t}function wc(e){if(!e)return;const t=e.trim();if(!(t.length===0||t.length>32))return/^[+-]?(?:\d+(?:[.,]\d+)?|\d{1,3}(?:,\d{3})+(?:\.\d+)?)\s*(?:%|[A-Za-z]{1,4})?$/.test(t)?t:void 0}function ag(e){return wc(e)!==void 0}function Js(e,t){t&&e.appendChild(document.createTextNode(t.replace(/ {2}/g,"  ")))}function sg(e){const t=new Map;let i=1;for(let n=0;n<e.length;n++){if(t.has(n))continue;let r="",o=-1;for(let l=n;l<e.length&&l<n+4;l++){const a=e[l].text;if(e[l].math||a===void 0||a===`
4
4
  `||a.includes(" ")||(r+=a,r.trim().length>32))break;l>n&&ag(r)&&(o=l)}if(o>n){const l=i++;for(let a=n;a<=o;a++)t.set(a,l);n=o}}return t}function _i(e,t){if(!e||!e.exists())return new _t(null);const i=e.child(`lvl${t+1}pPr`);return i.exists()?i:e.child("defPPr")}function dg(e){if(!e||!e.type)return"other";const t=e.type;return t==="title"||t==="ctrTitle"?"title":t==="body"||t==="subTitle"||t==="obj"||t==="dt"||t==="ftr"||t==="sldNum"?"body":"other"}function ed(e,t,i){for(const n of e){let r;const o=n.child("nvSpPr");if(o.exists()&&(r=o.child("nvPr").child("ph")),!r||!r.exists()){const s=n.child("nvPicPr");s.exists()&&(r=s.child("nvPr").child("ph"))}if(!r||!r.exists())continue;const l=r.attr("type"),a=r.numAttr("idx");if(i==="idx"&&(a??0)===(t.idx??0)||i==="type"&&(l??"obj")===ta(t.type))return n}}function td(e){const t=e.child("txBody");if(!t.exists())return;const i=t.child("lstStyle");return i.exists()?i:void 0}const mo=1.19;function id(e,t){return Number((e*t*mo).toFixed(3))}function rn(e,t){if(!t.exists())return;const i=t.attr("algn");i&&(e.align=i);const n=t.attr("rtl");n!==void 0&&(e.rtl=Mt(n));const r=t.attr("eaLnBrk");r!==void 0&&(e.eastAsianLineBreak=Mt(r));const o=t.numAttr("marL");o!==void 0&&(e.marginLeft=ee(o));const l=t.numAttr("indent");l!==void 0&&(e.textIndent=ee(l));const a=t.numAttr("defTabSz");a!==void 0&&(e.defaultTabSize=ee(a));const s=t.child("lnSpc");if(s.exists()){const y=s.child("spcPct");if(y.exists()){const b=cn(y.attr("val"));b!==void 0&&(e.lineHeightPercent=b,e.lineHeight=`${(b*mo).toFixed(3)}`,e.lineHeightAbsolute=!1)}const x=s.child("spcPts");if(x.exists()){const b=x.numAttr("val");b!==void 0&&(e.lineHeight=`${b/100}pt`,e.lineHeightPercent=void 0,e.lineHeightAbsolute=!0)}}const d=t.child("spcBef");if(d.exists()){const y=d.child("spcPts");if(y.exists()){const b=y.numAttr("val");b!==void 0&&(e.spaceBefore=b/100,e.spaceBeforePct=void 0)}const x=d.child("spcPct");if(x.exists()){const b=cn(x.attr("val"));b!==void 0&&(e.spaceBeforePct=b,e.spaceBefore=void 0)}}const u=t.child("spcAft");if(u.exists()){const y=u.child("spcPts");if(y.exists()){const b=y.numAttr("val");b!==void 0&&(e.spaceAfter=b/100,e.spaceAfterPct=void 0)}const x=u.child("spcPct");if(x.exists()){const b=cn(x.attr("val"));b!==void 0&&(e.spaceAfterPct=b,e.spaceAfter=void 0)}}const c=t.child("buChar");c.exists()&&(e.bulletAutoNum=void 0,e.bulletAutoNumStartAt=void 0,e.bulletChar=c.attr("char")||"",e.bulletNone=!1);const h=t.child("buAutoNum");if(h.exists()){e.bulletChar=void 0,e.bulletAutoNumStartAt=void 0,e.bulletAutoNum=h.attr("type")||"arabicPeriod";const y=h.numAttr("startAt");y!==void 0&&(e.bulletAutoNumStartAt=y),e.bulletNone=!1}t.child("buNone").exists()&&(e.bulletNone=!0,e.bulletChar=void 0,e.bulletAutoNum=void 0);const f=t.child("buFont");f.exists()&&(e.bulletFont=f.attr("typeface"));const p=t.child("buSzPct");if(p.exists()){const y=cn(p.attr("val"));y!==void 0&&(e.bulletSizePct=y,e.bulletSizePt=void 0)}const m=t.child("buSzPts");if(m.exists()){const y=m.numAttr("val");y!==void 0&&(e.bulletSizePt=y/100,e.bulletSizePct=void 0)}t.child("buSzTx").exists()&&(e.bulletSizePct=void 0,e.bulletSizePt=void 0),t.child("buClrTx").exists()&&(e.bulletColorFollowsText=!0,e.bulletColorNode=void 0);const $=t.child("buClr");$.exists()&&(e.bulletColorNode=$,e.bulletColorFollowsText=!1);const g=t.child("defRPr");g.exists()&&(e.defRPr=g,e.defRPrs??(e.defRPrs=[]),e.defRPrs.push(g))}function nd(e){if(!(e!=null&&e.exists()))return"none";if(e.child("gradFill").exists())return"explicit";const t=e.child("solidFill");if(!t.exists())return"none";const i=t.child("schemeClr").attr("val");return i==="tx1"||i==="tx2"?"defaultTextScheme":"explicit"}function un(e,t,i){if(!t.exists())return;const n=t.numAttr("sz");n!==void 0&&(e.fontSize=n/100);const r=t.attr("b");r!==void 0&&(e.bold=Mt(r));const o=t.attr("i");o!==void 0&&(e.italic=Mt(o));const l=t.attr("u");l!==void 0&&l!=="none"&&(e.underline=!0),l==="none"&&(e.underline=!1);const a=t.attr("strike");a!==void 0&&a!=="noStrike"&&(e.strikethrough=!0),a==="noStrike"&&(e.strikethrough=!1);const s=t.child("highlight");s.exists()&&(e.highlightColor=Dt(s,i));const d=t.child("uFill");if(d.exists()){const M=d.child("solidFill");M.exists()&&(e.underlineColor=Dt(M,i),e.underlineFollowsText=!1)}t.child("uFillTx").exists()&&(e.underlineFollowsText=!0,e.underlineColor=void 0);const u=t.child("solidFill");if(u.exists()){delete e.textGradientCss,delete e.textPatternCss,delete e.textNoFill;const{color:M,alpha:S}=Oe(u,i),A=M.startsWith("#")?M:`#${M}`;if(S<1){const{r:B,g:L,b:T}=ua(A);e.color=`rgba(${B},${L},${T},${S.toFixed(3)})`}else e.color=A}const c=t.child("gradFill");if(c.exists()){delete e.color,delete e.textPatternCss,delete e.textNoFill;const M=dd(c,i);M&&(e.textGradientCss=M)}if(t.child("pattFill").exists()){delete e.color,delete e.textGradientCss,delete e.textNoFill;const M=Di(t,i);M&&(e.textPatternCss=M)}const h=[],f=[t.attr("lang"),t.attr("altLang")];for(const M of["latin","ea","cs"]){const S=t.child(M);if(!S.exists())continue;const A=S.attr("typeface");A&&h.push(...Ri([A],i,f))}h.length>0&&(e.fontFamily=h[0],e.fontFamilyStack=h);const p=t.child("hlinkClick");if(p.exists()){const M=p.attr("id")??p.attr("r:id"),S=M?i.slide.rels.get(M):void 0,A=p.attr("action"),B=sa(i,A,S);B!==void 0&&i.onNavigate?(e.hlinkSlideIndex=B,e.hlinkTooltip=p.attr("tooltip"),e.underline===void 0&&(e.underline=!0)):S&&Mi(S.targetMode)&&Eo(S.target)&&(e.hlinkClick=S.target,e.underline===void 0&&(e.underline=!0))}const m=t.numAttr("spc");m!==void 0&&(e.letterSpacingPt=m/100);const $=t.numAttr("kern");$!==void 0&&(e.kern=$/100);const g=t.attr("cap");g!==void 0&&(e.cap=g);const y=t.numAttr("baseline");y!==void 0&&(e.baseline=y);const x=t.child("effectLst"),b=x.child("outerShdw");if(b.exists()){const M=cg(b,i);M&&od(e,M)}const v=x.child("glow");if(v.exists()){const M=ug(v,i);M&&od(e,M)}t.child("noFill").exists()&&(delete e.color,delete e.textGradientCss,delete e.textPatternCss,e.textNoFill=!0);const w=t.child("ln");if(w.exists()&&!w.child("noFill").exists()){const M=w.numAttr("w");e.textOutlineWidth=M?ee(M):.75;const S=w.child("solidFill");if(S.exists()){const{color:B,alpha:L}=Oe(S,i);e.textOutlineColor=To(B,L)}const A=w.child("gradFill");A.exists()&&(e.textOutlineGradientCss=dd(A,i))}}function Mc(e,t,i){for(const n of t.defRPrs??[])un(e,n,i)}function rd(e,t){const i={};return Mc(i,e,t),i}function ua(e){const t=e.replace(/^#/,""),i=parseInt(t.length===3?t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t,16);return{r:i>>16&255,g:i>>8&255,b:i&255}}function To(e,t){const i=e.startsWith("#")?e:`#${e}`;if(t>=1)return i;const{r:n,g:r,b:o}=ua(i);return`rgba(${n},${r},${o},${t.toFixed(3)})`}function ug(e,t){const i=ee(e.numAttr("rad")??0);if(!(i>0))return;const{color:n,alpha:r}=Oe(e,t);if(!(!n||r<=0))return`0px 0px ${i.toFixed(1)}px ${To(n,r)}`}function cg(e,t){const i=ee(e.numAttr("dist")??0),n=ee(e.numAttr("blurRad")??0),r=(e.numAttr("dir")??0)/6e4,o=i*Math.cos(r*Math.PI/180),l=i*Math.sin(r*Math.PI/180),{color:a,alpha:s}=Oe(e,t);if(!(!a||s<=0))return`${o.toFixed(1)}px ${l.toFixed(1)}px ${n.toFixed(1)}px ${To(a,s)}`}function od(e,t){e.textShadow=e.textShadow?`${e.textShadow}, ${t}`:t}function ld(e,t){if(!(e!=null&&e.exists()))return;const i={};return un(i,e,t),i.color}function ad(e){if(!e)return;const t=e.trim().toLowerCase();if(t.startsWith("#")){const{r:s,g:d,b:u}=ua(t);return`${s},${d},${u},1`}const i=t.match(/^rgba?\(([^)]+)\)$/);if(!i)return t;const n=i[1].split(",").map(s=>s.trim());if(n.length<3)return t;const[r,o,l]=n,a=n[3]??"1";return`${Number(r)},${Number(o)},${Number(l)},${Number(a)}`}function sd(e,t){const i=ad(e),n=ad(t);return i!==void 0&&i===n}function hg(e){return(e==null?void 0:e.child("solidFill").child("srgbClr").exists())??!1}function fg(e){return(e==null?void 0:e.child("hlinkClick").exists())??!1}function pg(e){return!!e.hlinkClick||e.hlinkSlideIndex!==void 0}function mg(e,t,i,n){if(!i)return!1;for(const o of t.runs){if(o===e||fg(o.properties))continue;const l=ld(o.properties,n);if(sd(i,l))return!0}const r=ld(t.endParaRPr,n);return sd(i,r)}function gg(e,t,i,n,r,o){return pg(i)?!r||n==="defaultTextScheme"?!0:n!=="explicit"||!hg(e.properties)?!1:mg(e,t,i.color,o):!1}function dd(e,t){const i=e.child("gsLst"),n=[];for(const l of i.children("gs")){const a=l.numAttr("pos")??0,s=hr(a)*100,{color:d,alpha:u}=Oe(l,t);n.push({position:s,color:To(d,u)})}if(n.length===0)return"";n.sort((l,a)=>l.position-a.position);const r=n.map(l=>`${l.color} ${l.position.toFixed(1)}%`).join(", "),o=e.child("lin");return o.exists()?`linear-gradient(${((xi(o.numAttr("ang")??0)+90)%360).toFixed(1)}deg, ${r})`:`linear-gradient(180deg, ${r})`}function ud(e,t){var i;if(e.style.background=t,!e.style.background&&t.includes(" 0 0 / 8px 8px, ")){const n=t.split(" 0 0 / 8px 8px, "),r=(i=n[n.length-1])==null?void 0:i.trim(),o=n.slice(0,-1).map(l=>l.trim());o.length>0&&(e.style.backgroundImage=o.join(", "),e.style.backgroundSize=o.map(()=>"8px 8px").join(", ")),r&&(e.style.backgroundColor=r)}e.style.webkitBackgroundClip="text",e.style.backgroundClip="text",e.style.color="transparent"}function $g(e,t){switch(e){case"arabicPeriod":return`${t}.`;case"arabicParenR":return`${t})`;case"arabicParenBoth":return`(${t})`;case"arabicPlain":return`${t}`;case"romanUcPeriod":return`${cd(t)}.`;case"romanLcPeriod":return`${cd(t).toLowerCase()}.`;case"alphaUcPeriod":return`${String.fromCharCode(64+((t-1)%26+1))}.`;case"alphaLcPeriod":return`${String.fromCharCode(96+((t-1)%26+1))}.`;case"alphaUcParenR":return`${String.fromCharCode(64+((t-1)%26+1))})`;case"alphaLcParenR":return`${String.fromCharCode(96+((t-1)%26+1))})`;default:return`${t}.`}}function cd(e){const t=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],i=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"];let n="",r=e;for(let o=0;o<t.length;o++)for(;r>=t[o];)n+=i[o],r-=t[o];return n}function kc(e,t){let i=!1;const n=String((t.presentation.firstSlideNum??1)+t.slide.index),r=e.paragraphs.map(o=>{let l=!1;const a=o.runs.map(s=>{var d;return((d=s.fieldType)==null?void 0:d.toLowerCase())!=="slidenum"?s:(i=!0,l=!0,{...s,text:n})});return l?{...o,runs:a}:o});return i?{...e,paragraphs:r}:e}function Sc(e,t,i,n,r){var o,l,a,s,d,u,c,h,f,p;const m=kc(e,i),$=t?ed(i.layout.placeholders.map(k=>k.node),t,"idx"):void 0,g=$==null?void 0:$.child("nvSpPr").child("nvPr").child("ph"),y=g!=null&&g.exists()?g.attr("type"):$==null?void 0:$.child("nvPicPr").child("nvPr").child("ph").attr("type"),x=$?{type:y}:t,b=dg(x?{type:ta(x.type)}:void 0);if(!n.style.whiteSpace){const k=((o=m.bodyProperties)==null?void 0:o.attr("wrap"))??((l=m.layoutBodyProperties)==null?void 0:l.attr("wrap"));n.style.whiteSpace=k==="none"?"nowrap":"normal"}let v=1,w=0;const M=qr(m,"normAutofit");if(M!=null&&M.exists()){const k=cn(M.attr("fontScale"));k!==void 0&&(v=k);const F=cn(M.attr("lnSpcReduction"));F!==void 0&&(w=F)}const S=new Map,A=m.paragraphs.map((k,F)=>({index:F,visible:k.runs.some(C=>C.text!=null&&C.text.length>0)})).filter(k=>k.visible).map(k=>k.index),B=A[0],L=A[A.length-1],T=A.length===1?A[0]:void 0;for(const[k,F]of m.paragraphs.entries()){const C=document.createElement("div");C.style.width="100%",C.style.minWidth="0px",C.style.maxWidth="100%",C.style.boxSizing="border-box",C.style.overflowWrap="anywhere";const E=F.level;r!=null&&r.isVerticalText&&(C.style.wordBreak="keep-all");const j=F.runs.some(Q=>Q.text===`
@@ -1,4 +1,4 @@
1
- import { m as An, B as Ws, T as lf, n as sf, i as Ga, k as nn, b as ur, p as yn, e as Mt, d as df, f as cr, s as Xs, r as uf, h as cf, l as hf, o as ff, u as Ys, q as pf, t as mf, v as yr, w as Wa, x as Mn, y as bo, z as gf, S as Xa, A as Ya, C as _a, D as vr, E as rn, F as _s, G as $f, I as yf, J as vf, _ as on, K as vc, L as xf, M as xc, N as bc, O as Ha, P as Nr, Q as bf, R as hr, U as Mc, V as Mf, W as wc, X as Wo, Y as Kn, Z as kc, $ as ca, a0 as wf, a1 as kf, a2 as Sf, a3 as Af, a4 as Lf, a5 as Xo, a6 as Sc, a7 as Ac, a8 as Cf, a9 as Lc, aa as Ff, ab as Sr, ac as Bf, ad as Cc, ae as xr, af as Ef, ag as wt, ah as xl, ai as bl, aj as Pf, ak as Tf, al as Ml, am as ii, an as jf, ao as ha, ap as Hs, aq as Vs, ar as qs, as as Ks, at as Nf, au as Qs, av as Rf, aw as zf, ax as Df, ay as If, az as Of, aA as Js, aB as Fc, aC as Mo, aD as Bc, aE as fa, aF as Va, aG as Uf, aH as Zf, aI as Gf, aJ as Ec, aK as Pc, aL as Wf, aM as Xf, aN as Yf, aO as _f, aP as Hf, aQ as Vf, aR as qf, aS as ed, aT as Rr, aU as Kf, aV as Qf, aW as Jf, aX as ep, H as tp, aY as ip, aZ as Tc, a_ as np, a$ as rp, b0 as op, b1 as ap, b2 as lp, b3 as sp, b4 as dp, b5 as up, b6 as cp, b7 as hp, b8 as fp, b9 as pp, ba as mp } from "./index-C133fEhe.js";
1
+ import { m as An, B as Ws, T as lf, n as sf, i as Ga, k as nn, b as ur, p as yn, e as Mt, d as df, f as cr, s as Xs, r as uf, h as cf, l as hf, o as ff, u as Ys, q as pf, t as mf, v as yr, w as Wa, x as Mn, y as bo, z as gf, S as Xa, A as Ya, C as _a, D as vr, E as rn, F as _s, G as $f, I as yf, J as vf, _ as on, K as vc, L as xf, M as xc, N as bc, O as Ha, P as Nr, Q as bf, R as hr, U as Mc, V as Mf, W as wc, X as Wo, Y as Kn, Z as kc, $ as ca, a0 as wf, a1 as kf, a2 as Sf, a3 as Af, a4 as Lf, a5 as Xo, a6 as Sc, a7 as Ac, a8 as Cf, a9 as Lc, aa as Ff, ab as Sr, ac as Bf, ad as Cc, ae as xr, af as Ef, ag as wt, ah as xl, ai as bl, aj as Pf, ak as Tf, al as Ml, am as ii, an as jf, ao as ha, ap as Hs, aq as Vs, ar as qs, as as Ks, at as Nf, au as Qs, av as Rf, aw as zf, ax as Df, ay as If, az as Of, aA as Js, aB as Fc, aC as Mo, aD as Bc, aE as fa, aF as Va, aG as Uf, aH as Zf, aI as Gf, aJ as Ec, aK as Pc, aL as Wf, aM as Xf, aN as Yf, aO as _f, aP as Hf, aQ as Vf, aR as qf, aS as ed, aT as Rr, aU as Kf, aV as Qf, aW as Jf, aX as ep, H as tp, aY as ip, aZ as Tc, a_ as np, a$ as rp, b0 as op, b1 as ap, b2 as lp, b3 as sp, b4 as dp, b5 as up, b6 as cp, b7 as hp, b8 as fp, b9 as pp, ba as mp } from "./index-CbPglDw8.js";
2
2
  function gp(e) {
3
3
  if (e) {
4
4
  for (var t = [], i = 0; i < e.length; i++)
@@ -1,8 +1,8 @@
1
- import { p as qe } from "./chunk-JWPE2WC7-CqoXHHTD.js";
2
- import { _ as ct, L as Qe, a0 as Je, l as Se, b as Ke, a as je, t as _e, v as tr, g as er, s as rr, A as ir, H as ar, F as nr, I as or, c as me, aR as Ee, a5 as ve, i as sr, z as hr, a6 as lr, aS as fr } from "./mermaid.core-BZ22HWSY.js";
1
+ import { p as qe } from "./chunk-JWPE2WC7-BJNFRNmu.js";
2
+ import { _ as ct, L as Qe, a0 as Je, l as Se, b as Ke, a as je, t as _e, v as tr, g as er, s as rr, A as ir, H as ar, F as nr, I as or, c as me, aR as Ee, a5 as ve, i as sr, z as hr, a6 as lr, aS as fr } from "./mermaid.core-j3sq14tG.js";
3
3
  import { p as cr } from "./cynefin-OW5HDTMX-wW817aKN.js";
4
4
  import { c as Fe } from "./cytoscape.esm-BOEWc7Zg.js";
5
- import { c as Te, g as gr } from "./index-C133fEhe.js";
5
+ import { c as Te, g as gr } from "./index-CbPglDw8.js";
6
6
  import { select as ur } from "d3";
7
7
  var be = { exports: {} }, ue = { exports: {} }, de = { exports: {} }, De;
8
8
  function dr() {