decocms 4.294.2 → 4.294.3

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 (228) hide show
  1. package/dist/client/assets/{AlertCircle-qZDg2e-H.js → AlertCircle-DLj-rBLn.js} +1 -1
  2. package/dist/client/assets/{AreaChart-D1rWRcUm.js → AreaChart-9FGrcqfj.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-CatEVOI7.js → ArrowLeft-Bz-VyTFg.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-DMDdMhAA.js → ArrowUp-C9wijSHC.js} +1 -1
  5. package/dist/client/assets/{Check-C5RWnyNL.js → Check-CTKt7DPp.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-V0GvWvtd.js → CheckCircle-DOOBCpT9.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-CeGZsBnS.js → ChevronDown-DCBuHd0m.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-Dh8_6pj1.js → ChevronRight-CO9K42kJ.js} +1 -1
  9. package/dist/client/assets/{ChevronSelectorVertical-Im3Lz_4E.js → ChevronSelectorVertical-Iu37Jtvz.js} +1 -1
  10. package/dist/client/assets/{ChevronUp-DCx43qHY.js → ChevronUp-D6fZUTvM.js} +1 -1
  11. package/dist/client/assets/{Copy01-DhfruII6.js → Copy01-C-9zesbF.js} +1 -1
  12. package/dist/client/assets/{CreditCard01-Cy0s6gAf.js → CreditCard01-CKM-Jz3x.js} +1 -1
  13. package/dist/client/assets/{DotsVertical-B39kxqbi.js → DotsVertical-CSkWlHZt.js} +1 -1
  14. package/dist/client/assets/{Download01-C1FmC7JV.js → Download01-DYsmBrAR.js} +1 -1
  15. package/dist/client/assets/{Eye-m8QZKf2Y.js → Eye-Bf1344cz.js} +1 -1
  16. package/dist/client/assets/{FilterLines-BBF-m2ZJ.js → FilterLines-D4VZo9JH.js} +1 -1
  17. package/dist/client/assets/{Globe01-C2F_PPuX.js → Globe01-Mlkbzavy.js} +1 -1
  18. package/dist/client/assets/{Globe04-CMCnFTSr.js → Globe04-CcZwBZDM.js} +1 -1
  19. package/dist/client/assets/{HardDrive-DmqNZKD8.js → HardDrive-rv6yXW9l.js} +1 -1
  20. package/dist/client/assets/{Key01-DbCU9LZF.js → Key01-C71Bncy8.js} +1 -1
  21. package/dist/client/assets/{LinkExternal01-kQnRXU4w.js → LinkExternal01-Bd5qXJx-.js} +1 -1
  22. package/dist/client/assets/{LockUnlocked01-D5OpQeQe.js → LockUnlocked01-xUxyOLI6.js} +1 -1
  23. package/dist/client/assets/{LogOut01-BePTyd5L.js → LogOut01-CFPuWi87.js} +1 -1
  24. package/dist/client/assets/{Monitor01-DPqlemzQ.js → Monitor01-Db3wK3MU.js} +1 -1
  25. package/dist/client/assets/{Palette-DzT0S9Gl.js → Palette-Wf7ieWzf.js} +1 -1
  26. package/dist/client/assets/{Play-Btu3v5FX.js → Play-CTzOPD4i.js} +1 -1
  27. package/dist/client/assets/{Plus-B7vTVmKH.js → Plus-C20besyI.js} +1 -1
  28. package/dist/client/assets/{SearchLg-CAAIuTYj.js → SearchLg-BoAF9n4o.js} +1 -1
  29. package/dist/client/assets/{SearchMd-COQJLRw-.js → SearchMd-DbgBw9S_.js} +1 -1
  30. package/dist/client/assets/{Settings02-xEBQxvJD.js → Settings02-DVdySYD4.js} +1 -1
  31. package/dist/client/assets/{Share07-CLkT7SlV.js → Share07-TLJEQyW1.js} +1 -1
  32. package/dist/client/assets/{Shield01-C2USnj9G.js → Shield01-CVEumGx3.js} +1 -1
  33. package/dist/client/assets/{Stars01-DkoqcM4j.js → Stars01-BLlf5jfX.js} +1 -1
  34. package/dist/client/assets/{Stars02-4GZ9SjIq.js → Stars02-DSl09LS3.js} +1 -1
  35. package/dist/client/assets/{Sun-D0KW7MLF.js → Sun-D8Cz2KrR.js} +1 -1
  36. package/dist/client/assets/{SwitchHorizontal01-DwxljZOI.js → SwitchHorizontal01-DxrMcxk-.js} +1 -1
  37. package/dist/client/assets/{Tool01-tn2PFBHQ.js → Tool01-C-r-Zf-I.js} +1 -1
  38. package/dist/client/assets/{Tool02-BalBR7uK.js → Tool02-CQfhYBA-.js} +1 -1
  39. package/dist/client/assets/{Trash01-CwqV1gzD.js → Trash01-BaF7-rQA.js} +1 -1
  40. package/dist/client/assets/{TrendUp01-6TR_k_0Y.js → TrendUp01-DrIbuukS.js} +1 -1
  41. package/dist/client/assets/{Upload01-mqAHBbZV.js → Upload01-Eo8Y8gwt.js} +1 -1
  42. package/dist/client/assets/{User01-DWaPmCwS.js → User01-BmKTu46m.js} +1 -1
  43. package/dist/client/assets/{UserSquare-ClSByuB-.js → UserSquare-D5oHibl1.js} +1 -1
  44. package/dist/client/assets/{Users01-CFDNbxgJ.js → Users01-DdYj89q4.js} +1 -1
  45. package/dist/client/assets/{Users03-BT3gPqQL.js → Users03-BvmFpFso.js} +1 -1
  46. package/dist/client/assets/{XCircle-BOrCVYLf.js → XCircle-BLGxEUt7.js} +1 -1
  47. package/dist/client/assets/{XClose-DMSeuF30.js → XClose-KYQfxNAH.js} +1 -1
  48. package/dist/client/assets/{YAxis-CjueDU_j.js → YAxis-BzTUlY5S.js} +1 -1
  49. package/dist/client/assets/{Zap-CwYGo5D6.js → Zap-DSuzhrFd.js} +1 -1
  50. package/dist/client/assets/{ZapSquare-DkKtoQ7W.js → ZapSquare-B03SIXBG.js} +1 -1
  51. package/dist/client/assets/{access-gate-DXIgG9H-.js → access-gate-DXpndi2J.js} +1 -1
  52. package/dist/client/assets/{agent-icon-C9_7Msf7.js → agent-icon-LbhnjHwi.js} +1 -1
  53. package/dist/client/assets/{agents-list-CrYr2LdT.js → agents-list-BWtnoYa9.js} +1 -1
  54. package/dist/client/assets/{ai-providers-9B822Ytz.js → ai-providers-C9TvV_lY.js} +1 -1
  55. package/dist/client/assets/{alert-DeOSO_Ec.js → alert-Brn68O_I.js} +1 -1
  56. package/dist/client/assets/{alert-dialog-BWONJIzw.js → alert-dialog-CDXDBEVz.js} +1 -1
  57. package/dist/client/assets/{api-keys-BHGQjiZT.js → api-keys-C0YiI_0_.js} +1 -1
  58. package/dist/client/assets/{app-editor-GCmyfLNC.js → app-editor-ByjOzHF0.js} +1 -1
  59. package/dist/client/assets/{auth-BqxUQw-v.js → auth-CMC5pcXA.js} +1 -1
  60. package/dist/client/assets/{auth-catchall-q5v2tPZU.js → auth-catchall-C1obS0DM.js} +1 -1
  61. package/dist/client/assets/{auth-entry-Dx-_gZ2g.js → auth-entry-L4MYHhmA.js} +1 -1
  62. package/dist/client/assets/{auth-split-layout-YdeWuYN1.js → auth-split-layout-p8RpZGj-.js} +1 -1
  63. package/dist/client/assets/{authenticate-and-persist-oauth-DRVU48ic.js → authenticate-and-persist-oauth-B1awg6G_.js} +1 -1
  64. package/dist/client/assets/{automation-list-row-BMiRTeOK.js → automation-list-row-DSW4dqyo.js} +1 -1
  65. package/dist/client/assets/{automation-runs-CzcGADVN.js → automation-runs-DwCd_zFP.js} +1 -1
  66. package/dist/client/assets/{automations-DDnrk0LJ.js → automations-C4N4GC8F.js} +1 -1
  67. package/dist/client/assets/{avatar-1XE5IjoT.js → avatar-DKKheiwZ.js} +1 -1
  68. package/dist/client/assets/{badge-CXIV4O-0.js → badge-BCfyeFAT.js} +1 -1
  69. package/dist/client/assets/{block-document-BufBxpL6.js → block-document-D9NoKYRN.js} +1 -1
  70. package/dist/client/assets/{breadcrumb-FUX_wv57.js → breadcrumb-DwyVLr-T.js} +1 -1
  71. package/dist/client/assets/{buckets-DQPGFSM3.js → buckets-NENIH_rY.js} +1 -1
  72. package/dist/client/assets/{bulk-category-panel-CNgfZPUK.js → bulk-category-panel-CWOO5lMW.js} +1 -1
  73. package/dist/client/assets/{capability-load-error-BKGEHfpt.js → capability-load-error-Bu5AJKz_.js} +1 -1
  74. package/dist/client/assets/{cards-DJSm_nho.js → cards-AP5XpAV6.js} +1 -1
  75. package/dist/client/assets/{category-editor-ByRsnfkE.js → category-editor-CAPnyo_p.js} +1 -1
  76. package/dist/client/assets/{chart-Bgue_7DQ.js → chart-D1jgldPO.js} +1 -1
  77. package/dist/client/assets/{chat-context-C-BdNZCf.js → chat-context-DQqAI1Uh.js} +1 -1
  78. package/dist/client/assets/{checkbox-DvC3nAT5.js → checkbox-BdDEdRtX.js} +1 -1
  79. package/dist/client/assets/{choose-editor-CFBXNqp3.js → choose-editor-d1jVshXq.js} +1 -1
  80. package/dist/client/assets/{cli-auth-success-CUav6RQy.js → cli-auth-success-DZNcV7RU.js} +1 -1
  81. package/dist/client/assets/{collection-detail-LByozjyF.js → collection-detail-DCdfqXH6.js} +1 -1
  82. package/dist/client/assets/{collection-display-button-D4ItaSc8.js → collection-display-button-BkVeJ-Ht.js} +1 -1
  83. package/dist/client/assets/{collection-search-DBnGb4Zg.js → collection-search-swq3mYpH.js} +1 -1
  84. package/dist/client/assets/{collection-table-wrapper-DCUZlFkx.js → collection-table-wrapper-BFeQBjk_.js} +1 -1
  85. package/dist/client/assets/{collection-tabs-CAUEdmSI.js → collection-tabs-B31Xr--3.js} +1 -1
  86. package/dist/client/assets/{command-Ct_4mokr.js → command-CtzJnf3P.js} +1 -1
  87. package/dist/client/assets/{commerce-onboarding-C2UgJ-TR.js → commerce-onboarding-B6IdGbvD.js} +1 -1
  88. package/dist/client/assets/{config-DG69PD1X.js → config-CbfHHHdK.js} +1 -1
  89. package/dist/client/assets/{connect-DLRRtQi0.js → connect-28y6QTSQ.js} +1 -1
  90. package/dist/client/assets/{connection-Dg1mnPcO.js → connection-BuSysa2G.js} +1 -1
  91. package/dist/client/assets/{connection-card-CgUgSGsh.js → connection-card-BllYSe_U.js} +1 -1
  92. package/dist/client/assets/{connection-detail-CAhXUEiD.js → connection-detail-_XYLLvoB.js} +1 -1
  93. package/dist/client/assets/{connection-form-helpers-gU6TF210.js → connection-form-helpers-C6PcVFY-.js} +1 -1
  94. package/dist/client/assets/{connections-tQk1fh_m.js → connections-Cu1bTJAX.js} +1 -1
  95. package/dist/client/assets/{decopilot-sse-pool-DDszDk42.js → decopilot-sse-pool-CvmARxhG.js} +1 -1
  96. package/dist/client/assets/{dialog-DYg0AoO0.js → dialog-D4htx8Dz.js} +1 -1
  97. package/dist/client/assets/{domain-settings-xR7ZmjBb.js → domain-settings-DEIyOLUp.js} +1 -1
  98. package/dist/client/assets/{drawer-DrqU_8fl.js → drawer-CuMUVmYp.js} +1 -1
  99. package/dist/client/assets/{dropdown-menu-BGreHXNg.js → dropdown-menu-BE_ym3Aq.js} +1 -1
  100. package/dist/client/assets/{empty-state-DNKOHljA.js → empty-state-DANnu2Dm.js} +1 -1
  101. package/dist/client/assets/{extract-connection-data-BI_gbc3h.js → extract-connection-data-BIGQQYkp.js} +1 -1
  102. package/dist/client/assets/{file-explorer-D9_-DWtI.js → file-explorer-DyEzRtBa.js} +1 -1
  103. package/dist/client/assets/{file-type-icon-Cr_jiDFe.js → file-type-icon-BenR9kqm.js} +1 -1
  104. package/dist/client/assets/{form-DUYaeuN1.js → form-DxT0qd-2.js} +1 -1
  105. package/dist/client/assets/{general-CVMzbMNL.js → general-BgW26EXn.js} +1 -1
  106. package/dist/client/assets/{github-repo-picker-BjTlfZRh.js → github-repo-picker-DuwsdpzE.js} +1 -1
  107. package/dist/client/assets/{hooks-DvV-YCly.js → hooks-rNJx2Yiz.js} +1 -1
  108. package/dist/client/assets/{index-Bk7mmffp.js → index-BNizG_r4.js} +1 -1
  109. package/dist/client/assets/{index-DHLutK6v.js → index-BWXyDl1J.js} +3 -3
  110. package/dist/client/assets/{index-pYJ2-T-r.js → index-BXn0NwIo.js} +1 -1
  111. package/dist/client/assets/{index-RXRS2M8q.js → index-CdvEA4gL.js} +1 -1
  112. package/dist/client/assets/{index-CXtbLiKC.js → index-ChcGUNSF.js} +1 -1
  113. package/dist/client/assets/{index-CxsfTXSQ.js → index-DeW3li9q.js} +1 -1
  114. package/dist/client/assets/{index-BOALwCeh.js → index-Dstu6oca.js} +1 -1
  115. package/dist/client/assets/{index-BWVLjCpL.js → index-eyTxS6Bz.js} +6 -6
  116. package/dist/client/assets/{index-CgA3qf5E.js → index-ke_XwP2X.js} +1 -1
  117. package/dist/client/assets/{index-redirect-CUFx5Ci3.js → index-redirect-BJVKALX7.js} +1 -1
  118. package/dist/client/assets/{infra-billing-C7HR_T7J.js → infra-billing-CcvA504_.js} +1 -1
  119. package/dist/client/assets/{input-zNG5Uz1T.js → input-BmuxVBRq.js} +1 -1
  120. package/dist/client/assets/{integration-icon-CVsQlE88.js → integration-icon-BIrESC5L.js} +1 -1
  121. package/dist/client/assets/{invite-member-dialog-BocroOxJ.js → invite-member-dialog-DIItbiti.js} +1 -1
  122. package/dist/client/assets/{label-CEq9oqa2.js → label-CpzYUQhx.js} +1 -1
  123. package/dist/client/assets/{layout-DFoH_xu7.js → layout-DUzsu4c4.js} +1 -1
  124. package/dist/client/assets/{login-DQ-omlrv.js → login-RKrGsWpi.js} +1 -1
  125. package/dist/client/assets/{mcp-oauth-DGSZYZtZ.js → mcp-oauth-fsNn1czb.js} +1 -1
  126. package/dist/client/assets/{members-1vFWUjqy.js → members-BrDpNquF.js} +1 -1
  127. package/dist/client/assets/{monaco-editor-BIUU4YtT.js → monaco-editor-CMqzV6OC.js} +1 -1
  128. package/dist/client/assets/{monitoring-stats-row-Drb7zrQ3.js → monitoring-stats-row-B-2cTzBQ.js} +1 -1
  129. package/dist/client/assets/{multi-select-CeA0LiDA.js → multi-select-BQDrB1yk.js} +1 -1
  130. package/dist/client/assets/{oauth-callback-BLBnsV0m.js → oauth-callback-Ba4XCWyw.js} +1 -1
  131. package/dist/client/assets/{oauth-callback-ai-provider-_ZIgbe1k.js → oauth-callback-ai-provider-JZoeFXxW.js} +1 -1
  132. package/dist/client/assets/{onboarding-DHEpPKxX.js → onboarding-Bk8dPUg3.js} +1 -1
  133. package/dist/client/assets/{org-layout-CZwey9tp.js → org-layout-Di5sK1cd.js} +1 -1
  134. package/dist/client/assets/{organization-choice-CinweDu8.js → organization-choice-CHzFbea4.js} +1 -1
  135. package/dist/client/assets/{orgs-Cewt5f_m.js → orgs-CKI_JjMZ.js} +1 -1
  136. package/dist/client/assets/{page-seo-form-DCXZwoTq.js → page-seo-form-DC6yxtgW.js} +1 -1
  137. package/dist/client/assets/{popover-CPDUuAsK.js → popover-3-nXGxsG.js} +1 -1
  138. package/dist/client/assets/{post-calendar-B2MLz9zN.js → post-calendar-_RxbEjvs.js} +1 -1
  139. package/dist/client/assets/{post-editor-xPbcpUyS.js → post-editor-htgRFHsC.js} +1 -1
  140. package/dist/client/assets/{primitives-bdzFl9KQ.js → primitives-By-oabkM.js} +1 -1
  141. package/dist/client/assets/{profile-DRVuFWo1.js → profile-itQSWHS0.js} +1 -1
  142. package/dist/client/assets/{project-app-view-C0-tH6m6.js → project-app-view-BtD2dHc2.js} +1 -1
  143. package/dist/client/assets/{prompts-DHayAFpv.js → prompts-B4jycXmo.js} +1 -1
  144. package/dist/client/assets/record-editor-DmWjrMIo.js +1 -0
  145. package/dist/client/assets/{redirect-editor-OElGvzsY.js → redirect-editor-CyQNXT5k.js} +1 -1
  146. package/dist/client/assets/registry-BokCitrd.js +2 -0
  147. package/dist/client/assets/{registry-layout-BTzECwAf.js → registry-layout-BjtKfm0C.js} +1 -1
  148. package/dist/client/assets/{reports-BlhyDDdZ.js → reports-D2AnuGQl.js} +1 -1
  149. package/dist/client/assets/{require-capability-BJjD7GXa.js → require-capability-DYqEh_0t.js} +1 -1
  150. package/dist/client/assets/{required-auth-layout-Bi3hMcfQ.js → required-auth-layout-DPe5oune.js} +1 -1
  151. package/dist/client/assets/{reset-password-BLXOXnD3.js → reset-password-BcbVGV-U.js} +1 -1
  152. package/dist/client/assets/{review-settings-0bpnzbvB.js → review-settings-DET5Awcp.js} +1 -1
  153. package/dist/client/assets/{roles-C9DLuLWB.js → roles-Cm1qg0ow.js} +1 -1
  154. package/dist/client/assets/{scroll-area-Dw0578rC.js → scroll-area-BsxuvxbS.js} +1 -1
  155. package/dist/client/assets/{search-input-lOvS7ZZY.js → search-input-i6XUS8wH.js} +1 -1
  156. package/dist/client/assets/{secrets-DEtSas2W.js → secrets-DmB_3wh4.js} +1 -1
  157. package/dist/client/assets/{sections-editor-DDSHgrQf.js → sections-editor-CQaXh0aN.js} +1 -1
  158. package/dist/client/assets/{select-W8jorDji.js → select-OkaoLf52.js} +1 -1
  159. package/dist/client/assets/{select-model-CVJuTB71.js → select-model-DQ1JGbZ1.js} +1 -1
  160. package/dist/client/assets/{self-tool-result-DYCZ2dxI.js → self-tool-result-_Gq4fS8Q.js} +1 -1
  161. package/dist/client/assets/{seo-editor-CqSjFrJe.js → seo-editor-D3_wyic8.js} +1 -1
  162. package/dist/client/assets/{settings-layout-Cj60dDE0.js → settings-layout-ClrVUhfB.js} +1 -1
  163. package/dist/client/assets/{shell-controls-CcajpdEy.js → shell-controls-DkHGCWDm.js} +1 -1
  164. package/dist/client/assets/{shell-layout-BbKgiGKQ.js → shell-layout-H_tjyvHd.js} +1 -1
  165. package/dist/client/assets/{spinner-DEaGcbnH.js → spinner-BNsOVOLB.js} +1 -1
  166. package/dist/client/assets/{sso-DFyPw3S-.js → sso-CVRSygMq.js} +1 -1
  167. package/dist/client/assets/{store-B-DY1jsG.js → store-EFK86dJx.js} +1 -1
  168. package/dist/client/assets/store-registry-CAgXmIVJ.js +2 -0
  169. package/dist/client/assets/{super-agent-icon-DxowWKwv.js → super-agent-icon-uUxotzmO.js} +1 -1
  170. package/dist/client/assets/{switch-BsAR0Ue8.js → switch-jAw5NRFm.js} +1 -1
  171. package/dist/client/assets/{synced-repos-BxJ8BZWX.js → synced-repos-DHWcDJ5i.js} +1 -1
  172. package/dist/client/assets/{table-RKi74_kY.js → table-DSRHVWxU.js} +1 -1
  173. package/dist/client/assets/{tabs-DFRRVuh7.js → tabs-CkF_fW0Q.js} +1 -1
  174. package/dist/client/assets/{task-board-D9PHUZff.js → task-board-DmX2VpFs.js} +1 -1
  175. package/dist/client/assets/{tasks-CiijDgSs.js → tasks-C6LaWTXG.js} +1 -1
  176. package/dist/client/assets/{textarea-XbuS70jj.js → textarea-DzCWtryj.js} +1 -1
  177. package/dist/client/assets/{toggle-group-WZyFFujP.js → toggle-group-hvwloSYQ.js} +1 -1
  178. package/dist/client/assets/{toolbar-CmaLqa3-.js → toolbar-D9gkmlH9.js} +1 -1
  179. package/dist/client/assets/{track-BFh4WctH.js → track-CwWn2JFQ.js} +1 -1
  180. package/dist/client/assets/{types-CrdXjhQP.js → types-D8IG_8eU.js} +1 -1
  181. package/dist/client/assets/{use-ai-providers-WmO5B1wa.js → use-ai-providers-DZwpIJ4W.js} +1 -1
  182. package/dist/client/assets/{use-api-keys-CHuWewKt.js → use-api-keys-D39Ow3Yy.js} +1 -1
  183. package/dist/client/assets/{use-automations-g--nS4Go.js → use-automations-D--Rxx-_.js} +1 -1
  184. package/dist/client/assets/{use-autosave-BsqWx81g.js → use-autosave-BDzRVdw8.js} +1 -1
  185. package/dist/client/assets/{use-connection-D8j2CnOC.js → use-connection-tOCjDBfx.js} +1 -1
  186. package/dist/client/assets/{use-copy-lK-vhEre.js → use-copy-ICpw0Yw-.js} +1 -1
  187. package/dist/client/assets/{use-create-virtual-mcp-Bdpos1w0.js → use-create-virtual-mcp-DKiTnBa-.js} +1 -1
  188. package/dist/client/assets/{use-debounced-autosave-DsCulVkO.js → use-debounced-autosave-C706dtM7.js} +1 -1
  189. package/dist/client/assets/{use-debounced-value-D5wCJf5h.js → use-debounced-value-DBMZQqKo.js} +1 -1
  190. package/dist/client/assets/{use-decopilot-events-CEhAvB_E.js → use-decopilot-events-DFaxDB0Z.js} +1 -1
  191. package/dist/client/assets/{use-delete-connection-BAty9GWK.js → use-delete-connection-DY1dO96h.js} +1 -1
  192. package/dist/client/assets/{use-deployment-admin-CD-qM4Qw.js → use-deployment-admin-CwPi-zHy.js} +1 -1
  193. package/dist/client/assets/{use-destination-route-BMJNYrmL.js → use-destination-route-C8wZaTLq.js} +1 -1
  194. package/dist/client/assets/{use-file-configs-CEny8PB8.js → use-file-configs-rXyGhpyn.js} +1 -1
  195. package/dist/client/assets/{use-infinite-scroll-DzHJHyr0.js → use-infinite-scroll-BUgjJwY5.js} +1 -1
  196. package/dist/client/assets/{use-join-requests-z_I5qiFl.js → use-join-requests-CbCMIasb.js} +1 -1
  197. package/dist/client/assets/{use-mcp-auth-status-dyqIaOq0.js → use-mcp-auth-status-CyITsP1y.js} +1 -1
  198. package/dist/client/assets/{use-mcp-client-Bac4vccq.js → use-mcp-client-DHZ5WVmn.js} +1 -1
  199. package/dist/client/assets/{use-mcp-tools-FenH0JaE.js → use-mcp-tools-C69l20dV.js} +1 -1
  200. package/dist/client/assets/{use-members-_2HCzEHc.js → use-members-CAd4YLUd.js} +1 -1
  201. package/dist/client/assets/{use-navigate-to-agent-yAkGdje4.js → use-navigate-to-agent-BWgdcI3Z.js} +1 -1
  202. package/dist/client/assets/{use-org-auth-client-Cb5lYh1t.js → use-org-auth-client-DPBNI0km.js} +1 -1
  203. package/dist/client/assets/{use-org-repo-syncs-DbzFw6wJ.js → use-org-repo-syncs-Df_iQEGc.js} +1 -1
  204. package/dist/client/assets/{use-org-sso-cefqXe6X.js → use-org-sso-Y-cX0M9u.js} +1 -1
  205. package/dist/client/assets/{use-organization-roles-DA6OSxjH.js → use-organization-roles-Cazh8-rd.js} +1 -1
  206. package/dist/client/assets/{use-organization-settings-BsgcrCz-.js → use-organization-settings-CGbImq1L.js} +1 -1
  207. package/dist/client/assets/{use-panel-navigate-C8-xot4V.js → use-panel-navigate-CzBWJmh4.js} +1 -1
  208. package/dist/client/assets/{use-registry-connections-BoC6e9Ko.js → use-registry-connections--wEDOuCo.js} +1 -1
  209. package/dist/client/assets/{use-secrets-CNOFekf-.js → use-secrets-BUOK8Q3X.js} +1 -1
  210. package/dist/client/assets/{use-section-preview-base-CFAiIdAN.js → use-section-preview-base-CQ_HgNgO.js} +1 -1
  211. package/dist/client/assets/{use-status-sounds-CdtGOM4G.js → use-status-sounds-BcDDyChz.js} +1 -1
  212. package/dist/client/assets/{use-tags-CnmdA4eJ.js → use-tags-DQhkcWVg.js} +1 -1
  213. package/dist/client/assets/{use-view-mode-DHrNQrCI.js → use-view-mode-DyvonuSr.js} +1 -1
  214. package/dist/client/assets/{use-virtual-mcp-X7MaI4-V.js → use-virtual-mcp-zkag_-cI.js} +1 -1
  215. package/dist/client/assets/useInfiniteQuery-CHJpyz-t.js +1 -0
  216. package/dist/client/assets/useSuspenseInfiniteQuery-uqFTRGN7.js +1 -0
  217. package/dist/client/assets/{users-CNOqKONO.js → users-DBLID0_X.js} +1 -1
  218. package/dist/client/assets/{variant-calendar-DzbjSxwP.js → variant-calendar-pfbXNZPy.js} +1 -1
  219. package/dist/client/assets/{view-mode-toggle-C_beZllv.js → view-mode-toggle-ChPfg34r.js} +1 -1
  220. package/dist/client/index.html +1 -1
  221. package/dist/server/cli.js +1 -1
  222. package/dist/server/server.js +1 -1
  223. package/package.json +1 -1
  224. package/dist/client/assets/record-editor-BabiokFj.js +0 -1
  225. package/dist/client/assets/registry-Bpp0Gik6.js +0 -2
  226. package/dist/client/assets/store-registry-CW8CS7Je.js +0 -2
  227. package/dist/client/assets/useInfiniteQuery-CP11XfQS.js +0 -1
  228. package/dist/client/assets/useSuspenseInfiniteQuery-vPet_vok.js +0 -1
@@ -1,4 +1,4 @@
1
- import{c as ge,b as lt,n as at,j as T,r as Re,p as bI,K as S2,v as bi,C as SI,D as wI,x as zg,V as TI,a as w2,T as Xs,o as CI,F as AI}from"./index-DHLutK6v.js";import{A as DI}from"./auth-entry-Dx-_gZ2g.js";import{u as MI,c as rt,a as LI,b as II,d as Yd,r as kI,s as Xd,e as PI}from"./track-BFh4WctH.js";import{d as RI}from"./delay-CnY5UFtP.js";import{i as EI}from"./AlertCircle-qZDg2e-H.js";import{n as NI,i as OI}from"./ArrowUp-DMDdMhAA.js";import{a as BI,b as zI,i as VI}from"./XCircle-BOrCVYLf.js";import{a as GI,i as FI,b as HI,c as jI,t as WI,n as $I,d as UI,e as YI,f as XI,g as ZI,s as KI,h as qI,j as JI}from"./TrendUp01-6TR_k_0Y.js";import{i as QI}from"./CheckCircle-V0GvWvtd.js";import{s as ek}from"./Eye-m8QZKf2Y.js";import{i as tk}from"./LogOut01-BePTyd5L.js";import{i as rk}from"./SearchLg-CAAIuTYj.js";import{i as ak}from"./Shield01-C2USnj9G.js";import{t as nk}from"./Stars01-DkoqcM4j.js";import{i as ik}from"./Zap-CwYGo5D6.js";import"./input-zNG5Uz1T.js";import"./use-is-desktop-app-BNujXJc_.js";import"./spinner-DEaGcbnH.js";import"./retry-CErkP7V6.js";import"./backoff-CrEUbyZT.js";function Vg(r){let e=(r??"").trim().toLowerCase();return e=e.replace(/^https?:\/\//,""),e=e.replace(/^www\./,""),e=e.split(/[/?#]/)[0]??"",e.replace(/\/+$/,"")}function ok(r){return(Vg(r).split(".")[0]||r).replace(/[-_]/g," ").split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function If(r,e=64){return`https://www.google.com/s2/favicons?domain=${encodeURIComponent(Vg(r))}&sz=${e}`}function Qy(r,e){const t=r.trim();if(t.length<=e)return t;const a=t.slice(0,e-1),n=a.lastIndexOf(" ");return`${(n>e*.6?a.slice(0,n):a).trimEnd()}…`}function sk(r){const{brand:e,domain:t,score:a,verdict:n}=r,i=typeof a=="number"?`${e} commerce report — ${Math.round(a)}/100 · decocms`:`${e} commerce report · decocms`,o=`See the full ${e} scorecard — SEO, performance, conversion & AEO signals scored by decocms.`,s=n?.trim()?Qy(`${n.trim().replace(/\s+/g," ")} — ${o}`,200):Qy(`How does ${t} really perform? ${o}`,200);return{title:i,description:s}}class T2 extends Error{constructor(e){super(`reports API HTTP ${e}`),this.status=e,this.name="ReportsApiError"}status}function Gg(r){return r instanceof T2&&r.status===401}async function kf(r){if(!r.ok)throw new T2(r.status);return await r.json()}function C2(r,e,t){const a=new URLSearchParams;e&&a.set("key",e),t&&a.set("lang",t);const n=a.toString()?`?${a.toString()}`:"";return fetch(`/api/_reports/site/${encodeURIComponent(r)}${n}`).then(i=>kf(i))}function lk(r){return fetch("/api/_reports/run",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then(e=>kf(e))}function uk(r){return fetch(`/api/_reports/status?id=${encodeURIComponent(r)}`).then(e=>kf(e))}function ck(r){return fetch(`/api/_reports/link-token/${encodeURIComponent(r)}`).then(e=>kf(e))}const e0=/^\/(?!\/|\\|%2f|%5c)[\w\-.\+/@]*(?:\?[\w\-.\+/=&%@]*)?$/;function fk(r){const e=`/report/${encodeURIComponent(r)}`,t=e0.test(e)?e:"/";if(typeof window>"u")return t;const a=new URLSearchParams(window.location.search).toString(),n=a?`${t}?${a}`:t;return e0.test(n)?n:t}const E={bg:"#ffffff",ink:"#282524",muted:"#78726e",faint:"#a6a09d",border:"rgba(40,37,36,0.09)",cardBorder:"rgba(40,37,36,0.06)",inputBorder:"rgba(40,37,36,0.18)",surface:"#ffffff",primary:"#282524",primaryFg:"#ffffff",soft:"#8caa25",lime:"#d0ec1a",limeTint:"#eff6cc",forest:"#07401a",warn:"#f0b613",notice:"#6e9fdb"},ft={good:E.soft,bad:"#d43d3d",neutral:E.ink},hk=[{src:"/logos/summit/fila.svg",alt:"Fila",w:100,h:34},{src:"/logos/summit/osklen.svg",alt:"Osklen",w:152,h:21},{src:"/logos/summit/farm-rio.svg",alt:"Farm Rio",w:159,h:23},{src:"/logos/summit/electrolux.svg",alt:"Electrolux",w:154,h:35},{src:"/logos/summit/monte-carlo.svg",alt:"Monte Carlo",w:116,h:61},{src:"/logos/summit/technos.svg",alt:"Technos",w:141,h:29},{src:"/logos/summit/bagaggio.svg",alt:"Bagaggio",w:149,h:22},{src:"/logos/summit/le-biscuit.svg",alt:"Le Biscuit",w:141,h:24},{src:"/logos/summit/miess.svg",alt:"Miess",w:113,h:43},{src:"/logos/summit/casa-e-video.svg",alt:"Casa & Video",w:145,h:18},{src:"/logos/summit/hering-fill.svg",alt:"Hering",w:140,h:30}],vk=4,dk=2400;function pk(r){const e=Array.from({length:r},()=>[]);return hk.forEach((t,a)=>e[a%r]?.push(t)),e}function A2(r){const e=ge.c(22),{logos:t,delayMs:a,last:n,bottomRow:i}=r,[o,s]=Re.useState(0);let l;e[0]!==a||e[1]!==t.length?(l=S=>{if(!S)return;let b;const w=setTimeout(()=>{b=setInterval(()=>s(C=>(C+1)%t.length),dk)},a);return()=>{clearTimeout(w),b&&clearInterval(b)}},e[0]=a,e[1]=t.length,e[2]=l):l=e[2];const u=l,c=t[o%t.length]??t[0];if(!c)return null;const f=Math.min(78/c.w,22/c.h);let h;e[3]!==c.w||e[4]!==f?(h=Math.round(c.w*f),e[3]=c.w,e[4]=f,e[5]=h):h=e[5];const v=h;let d;e[6]!==c.h||e[7]!==f?(d=Math.round(c.h*f),e[6]=c.h,e[7]=f,e[8]=d):d=e[8];const p=d,g=n?void 0:`1px solid ${E.border}`,m=i?`1px solid ${E.border}`:void 0;let y;e[9]!==g||e[10]!==m?(y={borderRight:g,borderTop:m},e[9]=g,e[10]=m,e[11]=y):y=e[11];let x;e[12]!==o||e[13]!==c.alt||e[14]!==c.src||e[15]!==p||e[16]!==v?(x=T.jsx("img",{src:c.src,alt:c.alt,width:v,height:p,className:"logo-carousel-enter block"},o),e[12]=o,e[13]=c.alt,e[14]=c.src,e[15]=p,e[16]=v,e[17]=x):x=e[17];let _;return e[18]!==u||e[19]!==y||e[20]!==x?(_=T.jsx("div",{ref:u,className:"flex min-w-0 flex-1 items-center justify-center overflow-hidden py-3",style:y,children:x}),e[18]=u,e[19]=y,e[20]=x,e[21]=_):_=e[21],_}function gk(){const r=ge.c(1);let e;if(r[0]===Symbol.for("react.memo_cache_sentinel")){const t=pk(vk);e=T.jsxs(T.Fragment,{children:[T.jsx("div",{className:"grid grid-cols-2 overflow-hidden rounded-xl sm:hidden",style:{border:`1px solid ${E.border}`},children:t.map(mk)}),T.jsx("div",{className:"hidden overflow-hidden rounded-xl sm:flex",style:{border:`1px solid ${E.border}`},children:t.map((a,n)=>T.jsx(A2,{logos:a,delayMs:n*380,last:n===t.length-1},a[0]?.src))})]}),r[0]=e}else e=r[0];return e}function mk(r,e){return T.jsx(A2,{logos:r,delayMs:e*380,last:e%2===1,bottomRow:e>=2},r[0]?.src)}function D2(r){const e=ge.c(12),{compact:t}=r,a=t===void 0?!1:t,n=lt(),i=a?"mt-5 pt-5":"mt-8 pt-6";let o;e[0]!==i?(o=at(i),e[0]=i,e[1]=o):o=e[1];let s;e[2]===Symbol.for("react.memo_cache_sentinel")?(s={borderTop:`1px solid ${E.border}`},e[2]=s):s=e[2];let l;e[3]===Symbol.for("react.memo_cache_sentinel")?(l={color:E.faint},e[3]=l):l=e[3];let u;e[4]!==n?(u=n("reports.socialProof.alreadyReceived"),e[4]=n,e[5]=u):u=e[5];let c;e[6]!==u?(c=T.jsx("p",{className:"mb-4 text-center text-[11px] uppercase tracking-[0.04em]",style:l,children:u}),e[6]=u,e[7]=c):c=e[7];let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f=T.jsx(gk,{}),e[8]=f):f=e[8];let h;return e[9]!==o||e[10]!==c?(h=T.jsxs("div",{className:o,style:s,children:[c,f]}),e[9]=o,e[10]=c,e[11]=h):h=e[11],h}const yk={"--background":"oklch(0.99 0.003 73)","--foreground":"oklch(0.145 0.01 60)","--card":"oklch(1 0 0)","--card-foreground":"oklch(0.145 0.01 60)","--muted-foreground":"oklch(0.46 0.012 60)","--accent":"oklch(0.955 0.008 80)","--accent-foreground":"oklch(0.2 0.01 60)","--border":"oklch(0.915 0.005 80)","--input":"oklch(0.88 0.006 80)","--ring":"oklch(0.205 0.012 60)","--primary":"oklch(0.205 0.012 60)","--primary-foreground":"oklch(0.98 0.005 60)","--destructive":"oklch(0.58 0.22 27)","--destructive-foreground":"oklch(0.97 0.01 17)","--success":"oklch(0.6 0.17 149)","--success-foreground":"oklch(0.98 0.02 156)"};function xk(r){return{otpSendFailed:r("reports.authGate.otpSendFailed"),invalidCode:r("reports.authGate.invalidCode"),invalidEmail:r("reports.authGate.invalidEmail"),networkError:r("reports.authGate.networkError"),tooManyAttempts:r("reports.authGate.tooManyAttempts"),invalidOrExpiredCode:r("reports.authGate.invalidOrExpiredCode"),genericError:r("reports.authGate.genericError"),verificationCodeTitle:r("reports.authGate.verificationCodeTitle"),codeSentTo:e=>r("reports.authGate.codeSentTo",{email:e}),continueWith:e=>r("reports.authGate.continueWith",{provider:e}),divider:r("reports.authGate.divider"),emailLabel:r("reports.authGate.emailLabel"),emailPlaceholder:r("reports.authGate.emailPlaceholder"),sending:r("reports.authGate.sending"),sendCode:r("reports.authGate.sendCode"),verificationCodeLabel:r("reports.authGate.verificationCodeLabel"),enterCodePlaceholder:r("reports.authGate.enterCodePlaceholder"),verifying:r("reports.authGate.verifying"),verify:r("reports.authGate.verify"),useDifferentEmail:r("reports.authGate.useDifferentEmail")}}const _k=r=>[r("reports.authGate.finding1"),r("reports.authGate.finding2"),r("reports.authGate.finding3"),r("reports.authGate.finding4"),r("reports.authGate.finding5")],t0=72;function Pf(r){const e=ge.c(93),{domain:t}=r,a=lt();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={background:E.bg,color:E.ink,filter:"blur(9px)",fontFamily:"Switzer, 'Inter var', Helvetica, Arial, sans-serif",transform:"scale(1.025)"},e[0]=n):n=e[0];let i,o;e[1]===Symbol.for("react.memo_cache_sentinel")?(i={borderColor:E.cardBorder,background:"rgba(255,255,255,0.82)",boxShadow:"0 1px 2px rgba(40,37,36,0.05), 0 10px 30px -20px rgba(40,37,36,0.35)"},o=T.jsx("img",{src:"/logos/deco-logo.svg",alt:"",width:54,height:22,className:"h-[22px] w-auto"}),e[1]=i,e[2]=o):(i=e[1],o=e[2]);let s;e[3]===Symbol.for("react.memo_cache_sentinel")?(s={background:E.primary,color:E.primaryFg},e[3]=s):s=e[3];let l;e[4]!==a?(l=a("reports.authGate.share"),e[4]=a,e[5]=l):l=e[5];let u;e[6]!==l?(u=T.jsx("div",{className:"shrink-0 px-6 pt-6 sm:px-10",children:T.jsxs("div",{className:"mx-auto flex h-[60px] max-w-[1440px] items-center gap-3 rounded-full border pl-6 pr-4",style:i,children:[o,T.jsx("span",{className:"ml-auto flex h-9 w-24 items-center justify-center rounded-full text-sm font-medium",style:s,children:l})]})}),e[6]=l,e[7]=u):u=e[7];let c;e[8]===Symbol.for("react.memo_cache_sentinel")?(c={background:"radial-gradient(120% 80% at 30% 0%, #ffffff 0%, #fafaf9 45%, #f6f4f1 100%)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(40,37,36,0.05), 0 1px 2px rgba(40,37,36,0.04)"},e[8]=c):c=e[8];let f;e[9]===Symbol.for("react.memo_cache_sentinel")?(f={border:`1px solid ${E.border}`},e[9]=f):f=e[9];let h;e[10]!==t?(h=If(t),e[10]=t,e[11]=h):h=e[11];let v;e[12]!==h?(v=T.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-xl bg-white",style:f,children:T.jsx("img",{src:h,alt:"",className:"h-full w-full object-contain p-1.5"})}),e[12]=h,e[13]=v):v=e[13];let d;e[14]!==t?(d=T.jsx("span",{className:"truncate text-[15px] font-medium leading-tight",children:t}),e[14]=t,e[15]=d):d=e[15];let p;e[16]===Symbol.for("react.memo_cache_sentinel")?(p={color:E.faint},e[16]=p):p=e[16];let g;e[17]!==a?(g=a("reports.authGate.report"),e[17]=a,e[18]=g):g=e[18];let m;e[19]!==g?(m=T.jsx("span",{className:"truncate text-[12px] leading-tight",style:p,children:g}),e[19]=g,e[20]=m):m=e[20];let y;e[21]!==d||e[22]!==m?(y=T.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[d,m]}),e[21]=d,e[22]=m,e[23]=y):y=e[23];let x;e[24]!==v||e[25]!==y?(x=T.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[v,y]}),e[24]=v,e[25]=y,e[26]=x):x=e[26];let _;e[27]===Symbol.for("react.memo_cache_sentinel")?(_={color:E.ink},e[27]=_):_=e[27];let S;e[28]!==a?(S=a("reports.authGate.headline"),e[28]=a,e[29]=S):S=e[29];let b;e[30]!==S?(b=T.jsx("h1",{className:"mt-7 max-w-[20ch] text-[2.4rem] font-medium leading-[1.05] tracking-[-0.035em]",style:_,children:S}),e[30]=S,e[31]=b):b=e[31];let w;e[32]===Symbol.for("react.memo_cache_sentinel")?(w=T.jsx("span",{className:"text-[4.25rem] font-light leading-[0.82] tracking-[-0.045em] tabular-nums",style:{color:E.soft},children:t0}),e[32]=w):w=e[32];let C;e[33]===Symbol.for("react.memo_cache_sentinel")?(C={color:E.faint},e[33]=C):C=e[33];let A;e[34]!==a?(A=a("reports.authGate.decoScore"),e[34]=a,e[35]=A):A=e[35];let D;e[36]!==A?(D=T.jsxs("div",{className:"flex items-end gap-3",children:[w,T.jsx("div",{className:"flex flex-col gap-1.5 pb-1",children:T.jsxs("span",{className:"text-[13px]",style:C,children:["/ 100 · ",A]})})]}),e[36]=A,e[37]=D):D=e[37];let M;e[38]===Symbol.for("react.memo_cache_sentinel")?(M={background:"rgba(40,37,36,0.08)"},e[38]=M):M=e[38];let I;e[39]===Symbol.for("react.memo_cache_sentinel")?(I=T.jsx("div",{className:"mt-4 h-1.5 w-full overflow-hidden rounded-full",style:M,children:T.jsx("div",{className:"h-full rounded-full",style:{width:`${t0}%`,background:E.soft}})}),e[39]=I):I=e[39];let k;e[40]===Symbol.for("react.memo_cache_sentinel")?(k=T.jsx("div",{className:"mt-6 flex gap-4 border-t pt-4",style:{borderColor:E.border},children:[62,41,78,55,33].map(wk)}),e[40]=k):k=e[40];let P;e[41]!==D?(P=T.jsxs("div",{className:"mt-auto pt-8",children:[D,I,k]}),e[41]=D,e[42]=P):P=e[42];let R;e[43]!==x||e[44]!==b||e[45]!==P?(R=T.jsxs("div",{className:"flex min-h-0 flex-col px-7 py-7 lg:w-[55%]",children:[x,b,P]}),e[43]=x,e[44]=b,e[45]=P,e[46]=R):R=e[46];let N;e[47]===Symbol.for("react.memo_cache_sentinel")?(N={background:"radial-gradient(116% 88% at 82% 4%, rgba(208,236,26,0.18), transparent 56%), linear-gradient(158deg, #0a5122 0%, #07401a 44%, #052e11 100%)"},e[47]=N):N=e[47];let B;e[48]===Symbol.for("react.memo_cache_sentinel")?(B=T.jsxs("div",{className:"flex h-9 items-center gap-2 px-4",style:{background:"#f4f2ec"},children:[T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"ml-3 h-5 flex-1 rounded-md bg-white"})]}),e[48]=B):B=e[48];let O;e[49]===Symbol.for("react.memo_cache_sentinel")?(O=T.jsx("div",{className:"relative min-h-0 flex-1",children:T.jsxs("div",{className:"absolute inset-x-7 top-7 overflow-hidden rounded-2xl bg-white",children:[B,T.jsx("div",{className:"h-[240px]",style:{background:"#f4f2ec"}})]})}),e[49]=O):O=e[49];let V;e[50]===Symbol.for("react.memo_cache_sentinel")?(V={color:"rgba(255,255,255,0.52)"},e[50]=V):V=e[50];let F;e[51]!==a?(F=a("reports.authGate.inThisReport"),e[51]=a,e[52]=F):F=e[52];let G;e[53]!==F?(G=T.jsx("span",{className:"text-[12px] font-medium",style:V,children:F}),e[53]=F,e[54]=G):G=e[54];let j;e[55]!==a?(j=_k(a).map(Sk),e[55]=a,e[56]=j):j=e[56];let Y;e[57]!==j?(Y=T.jsx("ul",{className:"mt-1.5 flex flex-col",children:j}),e[57]=j,e[58]=Y):Y=e[58];let J;e[59]===Symbol.for("react.memo_cache_sentinel")?(J={background:E.lime,color:E.forest},e[59]=J):J=e[59];let U;e[60]!==a?(U=a("reports.authGate.unlockReport"),e[60]=a,e[61]=U):U=e[61];let ye;e[62]!==U?(ye=T.jsx("span",{className:"mt-4 flex h-11 w-full items-center justify-center rounded-full text-sm font-medium",style:J,children:U}),e[62]=U,e[63]=ye):ye=e[63];let de;e[64]!==G||e[65]!==Y||e[66]!==ye?(de=T.jsxs("div",{className:"relative hidden min-h-0 flex-1 flex-col overflow-hidden rounded-2xl lg:flex",style:N,children:[O,T.jsxs("div",{className:"shrink-0 px-6 pb-6 pt-4",children:[G,Y,ye]})]}),e[64]=G,e[65]=Y,e[66]=ye,e[67]=de):de=e[67];let ne;e[68]!==R||e[69]!==de?(ne=T.jsx("div",{className:"mx-auto flex h-full w-full max-w-[1280px] flex-col overflow-hidden rounded-[26px]",style:c,children:T.jsxs("div",{className:"flex min-h-0 flex-1 gap-2 p-2",children:[R,de]})}),e[68]=R,e[69]=de,e[70]=ne):ne=e[70];let Q;e[71]===Symbol.for("react.memo_cache_sentinel")?(Q=T.jsx("div",{className:"absolute right-8 top-1/2 flex -translate-y-1/2 flex-col gap-1.5",children:[0,1,2,3,4,5].map(bk)}),e[71]=Q):Q=e[71];let ie;e[72]!==ne?(ie=T.jsxs("div",{className:"relative min-h-0 flex-1 px-6 py-8 sm:px-10",children:[ne,Q]}),e[72]=ne,e[73]=ie):ie=e[73];let K;e[74]===Symbol.for("react.memo_cache_sentinel")?(K={borderTop:`1px solid ${E.border}`},e[74]=K):K=e[74];let ae;e[75]===Symbol.for("react.memo_cache_sentinel")?(ae=T.jsx("span",{className:"text-sm tabular-nums opacity-50",style:{color:E.ink},children:"01/06"}),e[75]=ae):ae=e[75];let Te;e[76]===Symbol.for("react.memo_cache_sentinel")?(Te={borderColor:E.inputBorder,color:E.ink,background:E.surface},e[76]=Te):Te=e[76];let fe;e[77]!==a?(fe=a("reports.authGate.shareButton"),e[77]=a,e[78]=fe):fe=e[78];let Se;e[79]!==fe?(Se=T.jsx("span",{className:"flex h-12 items-center gap-2 rounded-full border px-6 text-sm font-medium",style:Te,children:fe}),e[79]=fe,e[80]=Se):Se=e[80];let De;e[81]===Symbol.for("react.memo_cache_sentinel")?(De={background:E.primary,color:E.primaryFg},e[81]=De):De=e[81];let ze;e[82]!==a?(ze=a("reports.authGate.nextButton"),e[82]=a,e[83]=ze):ze=e[83];let We;e[84]!==ze?(We=T.jsx("span",{className:"flex h-12 items-center rounded-full px-6 text-sm font-medium",style:De,children:ze}),e[84]=ze,e[85]=We):We=e[85];let Ue;e[86]!==Se||e[87]!==We?(Ue=T.jsxs("footer",{className:"flex shrink-0 items-center gap-2 px-6 py-4 sm:px-10",style:K,children:[ae,T.jsxs("div",{className:"ml-auto flex items-center gap-2",children:[Se,We]})]}),e[86]=Se,e[87]=We,e[88]=Ue):Ue=e[88];let vt;return e[89]!==ie||e[90]!==Ue||e[91]!==u?(vt=T.jsxs("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-[-18px] flex select-none flex-col overflow-hidden",style:n,children:[u,ie,Ue]}),e[89]=ie,e[90]=Ue,e[91]=u,e[92]=vt):vt=e[92],vt}function bk(r){return T.jsx("span",{className:"rounded-full",style:{height:r===0?3:2,width:r===0?28:12,background:r===0?E.ink:"rgba(40,37,36,0.22)"}},r)}function Sk(r,e){return T.jsxs("li",{className:"flex items-center gap-3 border-t py-2.5",style:{borderColor:"rgba(255,255,255,0.1)"},children:[T.jsx("span",{className:"w-4 shrink-0 text-[11px] tabular-nums",style:{color:"rgba(208,236,26,0.8)"},children:String(e+1).padStart(2,"0")}),T.jsx("span",{className:"min-w-0 flex-1 truncate text-[14px] leading-[1.35]",style:{color:"rgba(255,255,255,0.9)"},children:r})]},e)}function wk(r,e){return T.jsxs("div",{className:"flex flex-1 flex-col gap-1.5",children:[T.jsx("span",{className:"h-2 w-4/5 rounded-full",style:{background:E.border}}),T.jsx("span",{className:"h-[3px] w-full overflow-hidden rounded-full",style:{background:"rgba(40,37,36,0.09)"},children:T.jsx("span",{className:"block h-full rounded-full",style:{width:`${r}%`,background:E.soft}})})]},e)}function M2(r){const e=ge.c(51),{domain:t}=r,a=lt(),n=bI();let i;e[0]!==t?(i=R=>{const N="provider"in R?R.provider:void 0,B="mode"in R?R.mode:void 0,V={method:R.method==="social"?N??"social":R.method,provider:N,auth_mode:B},F=MI(t,V),G={domain:t,surface:"deck_v2",...Yd(F),...V};R.type==="started"?rt("report_auth_started",G):R.type==="otp_sent"?rt("report_auth_otp_sent",G):R.type==="otp_submitted"?rt("report_auth_otp_submitted",G):R.type==="failed"&&rt("report_auth_failed",{...G,failure_stage:R.stage,error_type:LI(R.error)})},e[0]=t,e[1]=i):i=e[1];const o=i;let s;e[2]!==t||e[3]!==n?(s=()=>n.invalidateQueries({queryKey:S2.reportAll(t)}),e[2]=t,e[3]=n,e[4]=s):s=e[4];const l=s;let u;e[5]!==t?(u=R=>{if(!R)return;const N=II(t);R.dataset.tracked==="true"||!bi()||(R.dataset.tracked="true",rt("report_auth_gate_shown",{domain:t,surface:"deck_v2",...Yd(N)}))},e[5]=t,e[6]=u):u=e[6];const c=u;let f;e[7]!==a?(f=a("reports.authGate.accessYourReport"),e[7]=a,e[8]=f):f=e[8];let h;e[9]!==t?(h=fk(t),e[9]=t,e[10]=h):h=e[10];let v;e[11]!==a?(v=a("reports.authGate.accessYourReport"),e[11]=a,e[12]=v):v=e[12];let d;e[13]!==a?(d=a("reports.authGate.authSubtitle"),e[13]=a,e[14]=d):d=e[14];let p;e[15]===Symbol.for("react.memo_cache_sentinel")?(p=["google"],e[15]=p):p=e[15];let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g={borderColor:E.border,background:E.bg},e[16]=g):g=e[16];let m;e[17]!==t?(m=If(t),e[17]=t,e[18]=m):m=e[18];let y;e[19]!==m?(y=T.jsx("img",{src:m,alt:"",className:"h-4 w-4 shrink-0 rounded object-contain"}),e[19]=m,e[20]=y):y=e[20];let x;e[21]===Symbol.for("react.memo_cache_sentinel")?(x={color:E.muted},e[21]=x):x=e[21];let _;e[22]!==t?(_=T.jsx("span",{className:"truncate text-[13px]",style:x,children:t}),e[22]=t,e[23]=_):_=e[23];let S;e[24]!==y||e[25]!==_?(S=T.jsxs("div",{className:"inline-flex min-w-0 items-center gap-2 rounded-full border px-3 py-1.5",style:g,children:[y,_]}),e[24]=y,e[25]=_,e[26]=S):S=e[26];let b;e[27]===Symbol.for("react.memo_cache_sentinel")?(b=T.jsx("img",{src:"/logos/deco logo.svg",alt:"Deco",className:"h-7 w-7 shrink-0"}),e[27]=b):b=e[27];let w;e[28]!==S?(w=T.jsxs("div",{className:"flex items-center justify-between gap-4",children:[S,b]}),e[28]=S,e[29]=w):w=e[29];let C;e[30]!==a?(C=xk(a),e[30]=a,e[31]=C):C=e[31];let A;e[32]!==o||e[33]!==l||e[34]!==w||e[35]!==C||e[36]!==h||e[37]!==v||e[38]!==d?(A=T.jsx(DI,{callbackUrl:h,title:v,subtitle:d,variant:"compact",allowedSocialProviders:p,allowPassword:!1,onAuthEvent:o,onAuthenticated:l,brand:w,copy:C}),e[32]=o,e[33]=l,e[34]=w,e[35]=C,e[36]=h,e[37]=v,e[38]=d,e[39]=A):A=e[39];let D;e[40]===Symbol.for("react.memo_cache_sentinel")?(D={color:E.faint},e[40]=D):D=e[40];let M;e[41]!==a?(M=a("reports.authGate.freeAccess"),e[41]=a,e[42]=M):M=e[42];let I;e[43]!==M?(I=T.jsx("p",{className:"mt-4 text-xs leading-5",style:D,children:M}),e[43]=M,e[44]=I):I=e[44];let k;e[45]===Symbol.for("react.memo_cache_sentinel")?(k=T.jsx(D2,{compact:!0}),e[45]=k):k=e[45];let P;return e[46]!==A||e[47]!==I||e[48]!==f||e[49]!==c?(P=T.jsxs("section",{ref:c,role:"dialog","aria-modal":"true","aria-label":f,className:"w-full max-w-[440px] rounded-2xl bg-white px-6 py-6 card-shadow sm:rounded-3xl sm:px-8 sm:py-8",style:yk,children:[A,I,k]}),e[46]=A,e[47]=I,e[48]=f,e[49]=c,e[50]=P):P=e[50],P}function Fg(r){const e=ge.c(11),{domain:t,loading:a}=r,n=a===void 0?!1:a,i=lt();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={color:E.ink,fontFamily:"Switzer, 'Inter var', Helvetica, Arial, sans-serif",WebkitFontSmoothing:"antialiased"},e[0]=o):o=e[0];let s;e[1]!==t?(s=T.jsx(Pf,{domain:t}),e[1]=t,e[2]=s):s=e[2];let l;e[3]===Symbol.for("react.memo_cache_sentinel")?(l=T.jsx("div",{className:"pointer-events-none absolute inset-0 bg-white/55"}),e[3]=l):l=e[3];let u;e[4]!==t||e[5]!==n||e[6]!==i?(u=T.jsx("div",{className:"relative z-10 flex h-full items-center justify-center px-3 py-5 sm:px-6 sm:py-10",children:n?T.jsx("div",{className:"h-[330px] w-full max-w-[440px] animate-pulse rounded-3xl bg-white card-shadow","aria-label":i("reports.authGate.loadingSession")}):T.jsx(M2,{domain:t})}),e[4]=t,e[5]=n,e[6]=i,e[7]=u):u=e[7];let c;return e[8]!==s||e[9]!==u?(c=T.jsxs("div",{className:"fixed inset-0 overflow-hidden",style:o,children:[s,l,u]}),e[8]=s,e[9]=u,e[10]=c):c=e[10],c}function L2(r){const e=ge.c(7),{domain:t,onClose:a}=r;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={color:E.ink,fontFamily:"Switzer, 'Inter var', Helvetica, Arial, sans-serif",WebkitFontSmoothing:"antialiased"},e[0]=n):n=e[0];let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=T.jsx("div",{className:"absolute inset-0 bg-white/70 backdrop-blur-sm"}),e[1]=i):i=e[1];let o;e[2]!==t?(o=T.jsx("div",{className:"relative z-10",onClick:Tk,children:T.jsx(M2,{domain:t})}),e[2]=t,e[3]=o):o=e[3];let s;return e[4]!==a||e[5]!==o?(s=T.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center px-3 py-5 sm:px-6 sm:py-10",style:n,onClick:a,children:[i,o]}),e[4]=a,e[5]=o,e[6]=s):s=e[6],s}function Tk(r){return r.stopPropagation()}const Ck=4e3,Ak=180;function I2(r,e){for(const t of e??[])rt("report_slide_dropped",{domain:r,section_type:t.section_type,position:t.position,reason:t.reason,surface:"deck_v2"})}const Hg=r=>`report:pending:${r}`,Dk=r=>{try{return JSON.parse(localStorage.getItem(Hg(r))??"null")}catch{return null}},Mk=r=>{try{localStorage.setItem(Hg(r),JSON.stringify({startedAt:Date.now()}))}catch{}},lu=r=>{try{localStorage.removeItem(Hg(r))}catch{}};async function Lk(r,e,t,a,n){try{rt("report_scan_triggered",{domain:r,surface:"deck_v2"});const i=await lk({domain:r,distinctId:e});if(t.aborted)return;if(i.state==="blocked")return lu(r),rt("report_scan_failed",{domain:r,phase:"blocked",reason:"blocked",surface:"deck_v2"}),a.onPhase("blocked");let o=i.state==="running"?i.id:null;i.state==="running"&&(a.onPhase("pending"),rt("report_pending_screen_shown",{domain:r,surface:"deck_v2"}),Mk(r));for(let s=0;s<Ak&&!t.aborted;s++){const l=await C2(r,void 0,n);if(t.aborted)return;if(l.status==="ready"&&l.deck)return lu(r),I2(r,l.drops),rt("report_scan_completed",{domain:r,surface:"deck_v2"}),a.onDeck(l.deck);if(o){const u=await uk(o);if(t.aborted)return;u.done&&(o=null,rt("report_run_done_deck_pending",{domain:r,surface:"deck_v2"}),a.onPhase("empty"))}await RI(Ck,{signal:t})}t.aborted||(lu(r),rt("report_scan_failed",{domain:r,phase:"empty",reason:"poll_timeout",surface:"deck_v2"}),a.onPhase("empty"))}catch(i){if(!t.aborted){lu(r);const o=Gg(i);rt("report_scan_failed",{domain:r,phase:o?"unauthorized":"error",reason:o?"unauthorized":"exception",surface:"deck_v2"}),a.onPhase(o?"unauthorized":"error")}}}const Ik={share:JI,arrow_forward:VI,arrow_upward:OI,arrow_downward:NI,info:qI,warning:wI,flag:KI,lock:SI,link:zI,logout:tk,leaderboard:ZI,checklist:XI,notifications_active:YI,package_2:UI,check_circle:QI,cancel:BI,error:EI,trending_up:$I,trending_down:WI,bolt:ik,search:rk,shopping_cart:jI,monitoring:HI,accessibility_new:ek,shield:ak,article:FI,smart_toy:nk,bar_chart:GI},kk={xs:12,small:14,medium:16,large:18,xl:20,xxl:32,40:40,immense:80};function pt(r){const e=ge.c(4),{name:t,size:a,class:n}=r,i=a===void 0?"medium":a,o=n===void 0?"":n,s=Ik[t];if(!s)return null;const l=kk[i];let u;return e[0]!==s||e[1]!==o||e[2]!==l?(u=T.jsx(s,{size:l,className:o}),e[0]=s,e[1]=o,e[2]=l,e[3]=u):u=e[3],u}function k2(r){const e=new URLSearchParams({siteUrl:r}),t=kI(typeof window>"u"?"":window.location.search);for(const[a,n]of Object.entries(t))typeof n=="string"&&e.set(a,n);return`/commerce-onboarding?${e.toString()}`}function Rf(r,e){rt("report_cta_clicked",{domain:e.domain,placement:e.placement,destination:"studio_onboarding",...e.slideKey!==void 0?{slide_key:e.slideKey}:{},...e.slideIndex!==void 0?{slide_index:e.slideIndex}:{},surface:"deck_v2"},{transport:"sendBeacon"})}const Be=r=>`https://www.google.com/s2/favicons?domain=${r}&sz=64`,Pk={"google analytics 4":Be("analytics.google.com"),ga4:Be("analytics.google.com"),"google analytics":Be("analytics.google.com"),"google search console":Be("search.google.com"),"search console":Be("search.google.com"),gsc:Be("search.google.com"),"gsc url inspection":Be("search.google.com"),"google tag manager":Be("tagmanager.google.com"),gtm:Be("tagmanager.google.com"),"google ads":Be("ads.google.com"),"keyword planner":Be("ads.google.com"),"merchant center":Be("merchants.google.com"),"google merchant center":Be("merchants.google.com"),"pagespeed insights":Be("pagespeed.web.dev"),psi:Be("pagespeed.web.dev"),lighthouse:Be("developer.chrome.com"),"chrome ux report":Be("developer.chrome.com"),crux:Be("developer.chrome.com"),"chrome devtools":Be("developer.chrome.com"),webpagetest:Be("webpagetest.org"),semrush:Be("semrush.com"),similarweb:Be("similarweb.com"),ahrefs:Be("ahrefs.com"),moz:Be("moz.com"),"screaming frog":Be("screamingfrog.co.uk"),builtwith:Be("builtwith.com"),microlink:Be("microlink.io"),apify:Be("apify.com"),firecrawl:Be("firecrawl.dev"),"reclame aqui":Be("reclameaqui.com.br"),instagram:Be("instagram.com"),meta:Be("meta.com"),"meta business manager":Be("business.facebook.com"),vtex:Be("vtex.com"),"vtex oms":Be("vtex.com"),shopify:Be("shopify.com"),linx:Be("linx.com.br"),wake:Be("wake.com")};function r0(r,e){return e||(Pk[r.toLowerCase().trim()]??"")}function yr(r){const e=ge.c(20),{eyebrow:t,headline:a,annotation:n,active:i}=r;let o;if(e[0]!==a){let p;e[2]===Symbol.for("react.memo_cache_sentinel")?(p=/\s*\n\s*/g,e[2]=p):p=e[2],o=a.replace(p," "),e[0]=a,e[1]=o}else o=e[1];const s=o,l=i?"true":"false";let u;e[3]!==t||e[4]!==l?(u=t&&T.jsx("p",{className:"reveal deck-eyebrow","data-show":l,children:t}),e[3]=t,e[4]=l,e[5]=u):u=e[5];let c;e[6]===Symbol.for("react.memo_cache_sentinel")?(c={color:E.ink},e[6]=c):c=e[6];let f;e[7]!==l||e[8]!==s?(f=T.jsx("h2",{className:"reveal text-balance font-normal leading-[1.14] tracking-[-0.02em] text-[min(clamp(1.3125rem,4.8vw,2.5rem),2.9svh)] sm:text-[clamp(1.5rem,3.2vw,2.5rem)] lg:text-[2.25rem] lg:max-w-[20ch]","data-show":l,style:c,children:s}),e[7]=l,e[8]=s,e[9]=f):f=e[9];let h;e[10]!==i||e[11]!==n||e[12]!==l?(h=n&&T.jsx("p",{className:"reveal max-w-[44ch] shrink-0 text-[min(13px,1.9svh)] leading-snug sm:pt-1 sm:text-[14px] sm:leading-relaxed","data-show":l,style:{color:E.muted,transitionDelay:i?"90ms":"0ms"},children:n}),e[10]=i,e[11]=n,e[12]=l,e[13]=h):h=e[13];let v;e[14]!==f||e[15]!==h?(v=T.jsxs("div",{className:"flex flex-col gap-[min(0.625rem,1svh)] sm:flex-row sm:items-start sm:justify-between sm:gap-12",children:[f,h]}),e[14]=f,e[15]=h,e[16]=v):v=e[16];let d;return e[17]!==u||e[18]!==v?(d=T.jsxs("header",{className:"flex shrink-0 flex-col gap-[min(0.625rem,1svh)] px-5 pt-2 sm:gap-3 sm:px-10 lg:px-16",children:[u,v]}),e[17]=u,e[18]=v,e[19]=d):d=e[19],d}const bh=18;function Rk(r){const e=ge.c(20),{eyebrow:t,headline:a,annotation:n,items:i,active:o}=r,s=i.length>=5;let l;e[0]!==o||e[1]!==n||e[2]!==t||e[3]!==a?(l=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),e[0]=o,e[1]=n,e[2]=t,e[3]=a,e[4]=l):l=e[4];const u=s?"gap-[min(1rem,1.9svh)] sm:gap-4":"gap-[min(1.625rem,2.8svh)] sm:gap-9";let c;e[5]!==u?(c=at("my-auto flex w-full flex-col",u),e[5]=u,e[6]=c):c=e[6];let f;if(e[7]!==o||e[8]!==s||e[9]!==i){let d;e[11]!==o||e[12]!==s?(d=(p,g)=>{const m=ft[p.tone??"neutral"],y=Math.max(1,Math.min(bh,Math.round(p.ratio*bh)));return T.jsxs("div",{className:at("reveal flex flex-col",s?"gap-1.5":"gap-2 sm:gap-2.5"),"data-show":o?"true":"false",style:{transitionDelay:o?`${80+g*90}ms`:"0ms"},children:[T.jsxs("div",{className:"flex items-baseline justify-between gap-4",children:[T.jsx("span",{className:at("min-w-0 flex-1 tracking-[-0.01em]",s?"line-clamp-2 break-words text-sm leading-snug sm:text-base":"truncate text-sm sm:text-base"),style:{color:E.muted},children:p.label}),T.jsx("span",{className:at("shrink-0 font-light leading-none tracking-[-0.02em] tabular-nums",s?"text-[min(clamp(1.375rem,3.5vw,1.75rem),3svh)]":"text-[min(clamp(1.5rem,4.5vw,2.5rem),3.4svh)] sm:text-[clamp(1.5rem,3vw,2.5rem)]"),style:{color:m},children:p.value})]}),T.jsx("div",{className:"flex gap-[3px]",children:Array.from({length:bh},(x,_)=>T.jsx("span",{className:at("flex-1 rounded-[2px]",s?"h-2.5 sm:h-3":"h-3 sm:h-3.5"),style:{background:o&&_<y?m:"rgba(40,37,36,0.08)",transition:"background-color 240ms ease",transitionDelay:o&&_<y?`${180+g*90+_*24}ms`:"0ms"}},_))})]},g)},e[11]=o,e[12]=s,e[13]=d):d=e[13],f=i.map(d),e[7]=o,e[8]=s,e[9]=i,e[10]=f}else f=e[10];let h;e[14]!==c||e[15]!==f?(h=T.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-[min(1.5rem,2svh)] sm:px-10 sm:py-6 lg:px-16",children:T.jsx("div",{className:c,children:f})}),e[14]=c,e[15]=f,e[16]=h):h=e[16];let v;return e[17]!==l||e[18]!==h?(v=T.jsxs("div",{className:"flex h-full flex-col",children:[l,h]}),e[17]=l,e[18]=h,e[19]=v):v=e[19],v}const a0={pass:{color:ft.good,icon:"check_circle"},fail:{color:ft.bad,icon:"cancel"},warn:{color:E.warn,icon:"error"}};function Ek(r){const e=ge.c(16),{eyebrow:t,headline:a,annotation:n,checks:i,active:o}=r;let s;e[0]!==o||e[1]!==n||e[2]!==t||e[3]!==a?(s=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),e[0]=o,e[1]=n,e[2]=t,e[3]=a,e[4]=s):s=e[4];let l;if(e[5]!==o||e[6]!==i){let f;e[8]!==o||e[9]!==i.length?(f=(h,v)=>{const d=a0[h.status]??a0.fail;return T.jsxs("li",{className:"reveal flex items-center gap-4 py-[min(0.875rem,1.5svh)] sm:py-4","data-show":o?"true":"false",style:{...v<i.length-1?{borderBottom:`1px solid ${E.border}`}:{},transitionDelay:o?`${60+v*55}ms`:"0ms"},children:[T.jsx("span",{className:"grid shrink-0 place-items-center",style:{color:d.color},children:T.jsx(pt,{name:d.icon,size:"large"})}),T.jsx("span",{className:"min-w-0 flex-[2] text-[15px] leading-snug sm:text-lg",style:{color:E.ink},children:h.label}),h.value&&T.jsx("span",{className:"min-w-0 flex-1 truncate text-right text-[13px] font-medium tabular-nums sm:text-base",style:{color:d.color},title:h.value,children:h.value})]},v)},e[8]=o,e[9]=i.length,e[10]=f):f=e[10],l=i.map(f),e[5]=o,e[6]=i,e[7]=l}else l=e[7];let u;e[11]!==l?(u=T.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-5 sm:px-10 lg:px-16",children:T.jsx("div",{className:"flex min-h-full flex-col justify-center py-3",children:T.jsx("ul",{className:"w-full",children:l})})}),e[11]=l,e[12]=u):u=e[12];let c;return e[13]!==s||e[14]!==u?(c=T.jsxs("div",{className:"flex h-full flex-col",children:[s,u]}),e[13]=s,e[14]=u,e[15]=c):c=e[15],c}function jg(r){return k2(`https://${r}/`)}function Nk(r){const e=r.trim().replace(/^https?:\/\//,"").split("/")[0]??"";return/\./.test(e)?`https://www.google.com/s2/favicons?domain=${encodeURIComponent(e)}&sz=64`:null}function Ok(r){const e=ge.c(5),{initial:t,faviconUrl:a}=r,[n,i]=Re.useState(!1);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={border:`1px solid ${E.border}`,boxShadow:"0 1px 1px rgba(40,37,36,0.04),0 3px 9px rgba(40,37,36,0.04),0 6px 18px rgba(40,37,36,0.02)"},e[0]=o):o=e[0];let s;return e[1]!==n||e[2]!==a||e[3]!==t?(s=T.jsx("span",{className:"grid size-9 shrink-0 place-items-center overflow-hidden rounded-[10px] bg-white sm:size-10",style:o,children:a&&!n?T.jsx("img",{src:a,alt:"",className:"h-full w-full object-contain p-2",onError:()=>i(!0)}):T.jsx("span",{className:"text-lg font-medium",style:{color:E.muted},children:t})}),e[1]=n,e[2]=a,e[3]=t,e[4]=s):s=e[4],s}function Bk(r){const e=ge.c(41),{eyebrow:t,headline:a,annotation:n,metricLabel:i,competitors:o,faviconUrl:s,domain:l,active:u}=r,c=lt(),f=jg(l);let h;e[0]!==u||e[1]!==n||e[2]!==t||e[3]!==a?(h=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:u}),e[0]=u,e[1]=n,e[2]=t,e[3]=a,e[4]=h):h=e[4];let v;e[5]===Symbol.for("react.memo_cache_sentinel")?(v={color:E.muted},e[5]=v):v=e[5];let d;e[6]!==c?(d=c("reports.competitorTemplate.competitor"),e[6]=c,e[7]=d):d=e[7];let p;e[8]!==d?(p=T.jsx("span",{className:"flex-1",children:d}),e[8]=d,e[9]=p):p=e[9];let g;e[10]!==i?(g=i&&T.jsx("span",{children:i}),e[10]=i,e[11]=g):g=e[11];let m;e[12]!==p||e[13]!==g?(m=T.jsxs("div",{className:"flex items-center gap-3 px-4 pb-2 text-[11px] font-medium uppercase tracking-[0.04em]",style:v,children:[p,g]}),e[12]=p,e[13]=g,e[14]=m):m=e[14];let y;if(e[15]!==u||e[16]!==o||e[17]!==s){let M;e[19]!==u||e[20]!==s?(M=(I,k)=>{const P=I.isYou?E.muted:ft[I.tone??"neutral"];return T.jsxs("li",{className:"reveal flex items-center gap-3 rounded-xl px-3 py-[min(0.5rem,1svh)]","data-show":u?"true":"false",style:{...I.isYou?{background:E.surface,border:`1px solid ${E.border}`}:{},transitionDelay:u?`${60+k*60}ms`:"0ms"},children:[T.jsx(Ok,{initial:(I.name[0]??"?").toUpperCase(),faviconUrl:I.isYou?s:Nk(I.name)}),T.jsx("span",{className:"flex-1 truncate text-[15px] sm:text-lg",style:{color:E.ink},children:I.name}),T.jsx("span",{className:"shrink-0 text-lg font-light tabular-nums tracking-[-0.02em] sm:text-2xl",style:{color:P},children:I.value})]},k)},e[19]=u,e[20]=s,e[21]=M):M=e[21],y=o.map(M),e[15]=u,e[16]=o,e[17]=s,e[18]=y}else y=e[18];let x;e[22]!==y?(x=T.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto",children:T.jsx("ul",{className:"my-auto flex flex-col gap-[min(0.375rem,0.8svh)] py-1",children:y})}),e[22]=y,e[23]=x):x=e[23];const _=f.startsWith("http")?"_blank":"_self";let S;e[24]!==l?(S=M=>Rf(M,{domain:l,placement:"competitor_slide_edit"}),e[24]=l,e[25]=S):S=e[25];let b;e[26]===Symbol.for("react.memo_cache_sentinel")?(b={borderColor:E.inputBorder,color:E.ink,background:E.surface},e[26]=b):b=e[26];let w;e[27]!==c?(w=c("reports.competitorTemplate.editMyCompetitors"),e[27]=c,e[28]=w):w=e[28];let C;e[29]!==f||e[30]!==S||e[31]!==w||e[32]!==_?(C=T.jsx("div",{className:"flex shrink-0 justify-center py-[min(1rem,2.4svh)] sm:py-5",children:T.jsx("a",{href:f,target:_,rel:"noopener noreferrer",onClick:S,className:"inline-flex h-11 items-center rounded-full border px-7 text-[15px] font-medium transition-colors hover:bg-black/[0.03] sm:h-12 sm:px-8 sm:text-base",style:b,children:w})}),e[29]=f,e[30]=S,e[31]=w,e[32]=_,e[33]=C):C=e[33];let A;e[34]!==C||e[35]!==m||e[36]!==x?(A=T.jsxs("div",{className:"flex min-h-0 flex-1 flex-col px-5 pt-4 sm:px-10 lg:px-16",children:[m,x,C]}),e[34]=C,e[35]=m,e[36]=x,e[37]=A):A=e[37];let D;return e[38]!==h||e[39]!==A?(D=T.jsxs("div",{className:"flex h-full flex-col",children:[h,A]}),e[38]=h,e[39]=A,e[40]=D):D=e[40],D}function n0(r){const e=ge.c(10),{url:t,initial:a,size:n}=r,[i,o]=Re.useState(!1);let s;e[0]!==n?(s={width:n,height:n,borderColor:E.border},e[0]=n,e[1]=s):s=e[1];let l;e[2]!==i||e[3]!==a||e[4]!==n||e[5]!==t?(l=i?T.jsx("span",{className:"font-medium",style:{fontSize:n*.42,color:E.muted},children:a}):T.jsx("img",{src:t,alt:"",width:n,height:n,className:"h-full w-full object-contain p-1.5",onError:()=>o(!0)}),e[2]=i,e[3]=a,e[4]=n,e[5]=t,e[6]=l):l=e[6];let u;return e[7]!==s||e[8]!==l?(u=T.jsx("span",{className:"flex shrink-0 items-center justify-center overflow-hidden rounded-xl border bg-white",style:s,children:l}),e[7]=s,e[8]=l,e[9]=u):u=e[9],u}function zk(r){const e=ge.c(36),{domain:t,faviconUrl:a,initial:n,desktopShot:i,mobileShot:o,hidePhone:s}=r,l=s===void 0?!1:s,[u,c]=Re.useState(i?"loading":"fail"),[f,h]=Re.useState(o?"loading":"fail"),v=!l&&"pb-10 pl-8";let d;e[0]!==v?(d=at("relative w-full max-w-[560px]",v),e[0]=v,e[1]=d):d=e[1];let p;e[2]===Symbol.for("react.memo_cache_sentinel")?(p={boxShadow:"0 0 0 1px rgba(40,37,36,0.14), 0 2px 4px rgba(40,37,36,0.05), 0 28px 56px -22px rgba(40,37,36,0.30)"},e[2]=p):p=e[2];let g;e[3]===Symbol.for("react.memo_cache_sentinel")?(g={background:"#f4f2ec",borderBottom:`1px solid ${E.border}`},e[3]=g):g=e[3];let m;e[4]===Symbol.for("react.memo_cache_sentinel")?(m=T.jsxs("span",{className:"flex gap-1.5",children:[T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"})]}),e[4]=m):m=e[4];let y,x;e[5]===Symbol.for("react.memo_cache_sentinel")?(y={background:"#fff"},x=T.jsx(pt,{name:"lock",size:"xs",class:"opacity-50"}),e[5]=y,e[6]=x):(y=e[5],x=e[6]);let _;e[7]===Symbol.for("react.memo_cache_sentinel")?(_={color:E.muted},e[7]=_):_=e[7];let S;e[8]!==t?(S=T.jsxs("div",{className:"flex h-9 items-center gap-2 px-4",style:g,children:[m,T.jsxs("span",{className:"mx-2 flex h-5 flex-1 items-center gap-2 rounded-md px-2.5",style:y,children:[x,T.jsx("span",{className:"truncate text-xs",style:_,children:t})]})]}),e[8]=t,e[9]=S):S=e[9];let b;e[10]===Symbol.for("react.memo_cache_sentinel")?(b={background:"#f4f2ec"},e[10]=b):b=e[10];let w;e[11]!==u||e[12]!==a||e[13]!==n?(w=u!=="ok"&&T.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3 animate-pulse",children:[T.jsx(n0,{url:a,initial:n,size:44}),T.jsx("span",{className:"text-xs",style:{color:E.muted},children:u==="loading"?"capturing preview…":"preview unavailable"})]}),e[11]=u,e[12]=a,e[13]=n,e[14]=w):w=e[14];let C;e[15]!==i||e[16]!==t||e[17]!==u?(C=i&&T.jsx("img",{src:i,alt:`${t} homepage`,className:at("absolute inset-0 block h-full w-full object-cover object-top transition-opacity duration-500",u==="ok"?"opacity-100":"opacity-0"),onLoad:()=>c("ok"),onError:()=>c("fail"),loading:"eager"}),e[15]=i,e[16]=t,e[17]=u,e[18]=C):C=e[18];let A;e[19]!==w||e[20]!==C?(A=T.jsxs("div",{className:"relative aspect-[4/3]",style:b,children:[w,C]}),e[19]=w,e[20]=C,e[21]=A):A=e[21];let D;e[22]!==S||e[23]!==A?(D=T.jsxs("div",{className:"overflow-hidden rounded-2xl bg-white",style:p,children:[S,A]}),e[22]=S,e[23]=A,e[24]=D):D=e[24];let M;e[25]!==t||e[26]!==a||e[27]!==l||e[28]!==n||e[29]!==o||e[30]!==f?(M=!l&&f!=="fail"&&T.jsx("div",{className:"absolute bottom-0 left-0 w-[26%] max-w-[136px]",children:T.jsxs("div",{className:"rounded-[1.5rem] p-1.5",style:{background:"#fff",boxShadow:"0 0 0 1px rgba(40,37,36,0.14), 0 2px 4px rgba(40,37,36,0.06), 0 18px 36px -16px rgba(40,37,36,0.36)"},children:[T.jsx("div",{className:"flex h-5 items-center justify-center",children:T.jsx("span",{className:"h-1.5 w-9 rounded-full bg-black/15"})}),T.jsxs("div",{className:"relative aspect-[9/19] overflow-hidden rounded-[1.05rem]",style:{background:"#f4f2ec"},children:[f!=="ok"&&T.jsx("div",{className:"absolute inset-0 flex items-center justify-center animate-pulse",children:T.jsx(n0,{url:a,initial:n,size:26})}),o&&T.jsx("img",{src:o,alt:`${t} mobile`,className:at("absolute inset-0 block h-full w-full object-cover object-top transition-opacity duration-500",f==="ok"?"opacity-100":"opacity-0"),style:{transform:"scale(1.14) translateY(-6%)",transformOrigin:"50% 0%"},onLoad:()=>h("ok"),onError:()=>h("fail"),loading:"eager"})]})]})}),e[25]=t,e[26]=a,e[27]=l,e[28]=n,e[29]=o,e[30]=f,e[31]=M):M=e[31];let I;return e[32]!==D||e[33]!==M||e[34]!==d?(I=T.jsxs("div",{className:d,children:[D,M]}),e[32]=D,e[33]=M,e[34]=d,e[35]=I):I=e[35],I}const Vk=40,Gk=60;function Wg(r){return r>Gk?ft.good:r>Vk?E.warn:ft.bad}const Fk={funil:"reports.coverTemplate.area.funil",tecnica:"reports.coverTemplate.area.tecnica",tagging:"reports.coverTemplate.area.tagging",aquisicao:"reports.coverTemplate.area.aquisicao",retencao:"reports.coverTemplate.area.retencao",catalogo:"reports.coverTemplate.area.catalogo",seo:"reports.coverTemplate.area.seo",geo:"reports.coverTemplate.area.geo",performance:"reports.coverTemplate.area.performance",accessibility:"reports.coverTemplate.area.accessibility",security:"reports.coverTemplate.area.security",ux:"reports.coverTemplate.area.ux",tracking:"reports.coverTemplate.area.tracking",infra:"reports.coverTemplate.area.infra",retention:"reports.coverTemplate.area.retention"};function Hk(r,e){const t=ge.c(6),[a,n]=Re.useState(0);let i;t[0]!==e||t[1]!==r?(i=l=>{if(!l||!e)return;if(window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){n(r);return}let u=0,c=0;const f=h=>{c||(c=h);const v=Math.min(1,(h-c)/1100);n(r*(1-(1-v)**3)),v<1&&(u=requestAnimationFrame(f))};return u=requestAnimationFrame(f),()=>cancelAnimationFrame(u)},t[0]=e,t[1]=r,t[2]=i):i=t[2];const o=i;let s;return t[3]!==o||t[4]!==a?(s=[a,o],t[3]=o,t[4]=a,t[5]=s):s=t[5],s}function P2(r){const e=ge.c(31),{score:t,size:a,stroke:n,active:i,className:o,children:s}=r,l=(a-n)/2,u=2*Math.PI*l,c=Math.min(100,Math.max(0,t));let f;e[0]!==o?(f=at("relative shrink-0",o),e[0]=o,e[1]=f):f=e[1];let h;e[2]!==o||e[3]!==a?(h=o?void 0:{width:a,height:a},e[2]=o,e[3]=a,e[4]=h):h=e[4];const v=`0 0 ${a} ${a}`,d=a/2,p=a/2;let g;e[5]!==l||e[6]!==n||e[7]!==d||e[8]!==p?(g=T.jsx("circle",{cx:d,cy:p,r:l,fill:"none",stroke:E.border,strokeWidth:n}),e[5]=l,e[6]=n,e[7]=d,e[8]=p,e[9]=g):g=e[9];const m=a/2,y=a/2;let x;e[10]!==t?(x=Wg(t),e[10]=t,e[11]=x):x=e[11];const _=u*(i?1-c/100:1);let S;e[12]!==u||e[13]!==l||e[14]!==n||e[15]!==_||e[16]!==m||e[17]!==y||e[18]!==x?(S=T.jsx("circle",{cx:m,cy:y,r:l,fill:"none",stroke:x,strokeWidth:n,strokeLinecap:"round",strokeDasharray:u,strokeDashoffset:_,className:"transition-[stroke-dashoffset] duration-1000 ease-out"}),e[12]=u,e[13]=l,e[14]=n,e[15]=_,e[16]=m,e[17]=y,e[18]=x,e[19]=S):S=e[19];let b;e[20]!==S||e[21]!==v||e[22]!==g?(b=T.jsxs("svg",{viewBox:v,className:"size-full -rotate-90",children:[g,S]}),e[20]=S,e[21]=v,e[22]=g,e[23]=b):b=e[23];let w;e[24]!==s?(w=T.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:s}),e[24]=s,e[25]=w):w=e[25];let C;return e[26]!==f||e[27]!==b||e[28]!==w||e[29]!==h?(C=T.jsxs("div",{className:f,style:h,"aria-hidden":!0,children:[b,w]}),e[26]=f,e[27]=b,e[28]=w,e[29]=h,e[30]=C):C=e[30],C}function jk(r){const e=ge.c(47),{score:t,active:a}=r,n=lt(),[i,o]=Hk(t.value,a);let s;e[0]!==t.value?(s=Wg(t.value),e[0]=t.value,e[1]=s):s=e[1];const l=s,[u,c]=Re.useState(!1),f=Re.useRef(null);let h;e[2]===Symbol.for("react.memo_cache_sentinel")?(h=F=>{if(!F)return;const G=j=>{f.current&&!f.current.contains(j.target)&&c(!1)};return document.addEventListener("mousedown",G),document.addEventListener("touchstart",G),()=>{document.removeEventListener("mousedown",G),document.removeEventListener("touchstart",G)}},e[2]=h):h=e[2];const v=h,d=t.value;let p;e[3]!==l?(p={color:l},e[3]=l,e[4]=p):p=e[4];let g;e[5]!==i?(g=Math.round(i),e[5]=i,e[6]=g):g=e[6];let m;e[7]!==p||e[8]!==g?(m=T.jsx("span",{className:"deco-cover-number font-light leading-[0.9] tracking-[-0.04em] tabular-nums",style:p,children:g}),e[7]=p,e[8]=g,e[9]=m):m=e[9];let y;e[10]===Symbol.for("react.memo_cache_sentinel")?(y={color:E.faint},e[10]=y):y=e[10];let x;e[11]!==n?(x=n("reports.coverTemplate.outOf100"),e[11]=n,e[12]=x):x=e[12];let _;e[13]!==x?(_=T.jsx("span",{className:"text-[12px] leading-none tabular-nums",style:y,children:x}),e[13]=x,e[14]=_):_=e[14];let S;e[15]!==a||e[16]!==t.value||e[17]!==m||e[18]!==_?(S=T.jsxs(P2,{score:d,size:124,stroke:10,active:a,className:"deco-cover-ring",children:[m,_]}),e[15]=a,e[16]=t.value,e[17]=m,e[18]=_,e[19]=S):S=e[19];let b;e[20]===Symbol.for("react.memo_cache_sentinel")?(b={color:E.muted},e[20]=b):b=e[20];let w;e[21]!==n?(w=n("reports.coverTemplate.decoScore"),e[21]=n,e[22]=w):w=e[22];let C;e[23]!==w?(C=T.jsx("span",{className:"truncate text-[13px] font-medium lg:text-[14px]",style:b,children:w}),e[23]=w,e[24]=C):C=e[24];let A;e[25]!==n?(A=n("reports.coverTemplate.whatIsDecoScore"),e[25]=n,e[26]=A):A=e[26];const D=u?.85:.4;let M;e[27]!==D?(M={opacity:D},e[27]=D,e[28]=M):M=e[28];let I,k,P,R;e[29]===Symbol.for("react.memo_cache_sentinel")?(I=()=>c(!0),k=()=>c(!1),P=()=>c(Wk),R=T.jsx(pt,{name:"info",size:"small"}),e[29]=I,e[30]=k,e[31]=P,e[32]=R):(I=e[29],k=e[30],P=e[31],R=e[32]);let N;e[33]!==A||e[34]!==M?(N=T.jsx("button",{type:"button","aria-label":A,className:"flex shrink-0 items-center justify-center rounded-full transition-opacity",style:M,onMouseEnter:I,onMouseLeave:k,onClick:P,children:R}),e[33]=A,e[34]=M,e[35]=N):N=e[35];let B;e[36]!==n||e[37]!==u?(B=u&&T.jsx("div",{ref:v,className:"absolute left-0 top-full z-50 mt-2 w-72 rounded-xl px-4 py-3.5 text-sm leading-[1.6] shadow-xl",style:{background:E.surface,border:`1px solid ${E.border}`,color:E.ink,boxShadow:"0 4px 6px rgba(40,37,36,0.06), 0 12px 32px rgba(40,37,36,0.12)"},children:n("reports.coverTemplate.decoScoreExplanation")}),e[36]=n,e[37]=u,e[38]=B):B=e[38];let O;e[39]!==C||e[40]!==N||e[41]!==B?(O=T.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children:T.jsxs("div",{ref:f,className:"relative flex items-center gap-1.5",children:[C,N,B]})}),e[39]=C,e[40]=N,e[41]=B,e[42]=O):O=e[42];let V;return e[43]!==o||e[44]!==S||e[45]!==O?(V=T.jsxs("div",{ref:o,className:"flex items-center gap-5 lg:gap-6",children:[S,O]}),e[43]=o,e[44]=S,e[45]=O,e[46]=V):V=e[46],V}function Wk(r){return!r}function $k(r){const e=ge.c(9),{areas:t,active:a}=r,n=lt();let i;if(e[0]!==a||e[1]!==t||e[2]!==n){let s;e[4]!==a||e[5]!==n?(s=(l,u)=>{const c=Fk[l.key],f=l.pass+l.fail,h=f+l.blocked;return T.jsxs("li",{className:"reveal flex items-center gap-3 border-t py-1 lg:gap-4 lg:py-3","data-show":a?"true":"false",style:{borderColor:E.border,transitionDelay:a?`${320+u*55}ms`:"0ms"},children:[T.jsx(P2,{score:l.score,size:40,stroke:4,active:a,className:"size-10 max-lg:size-7 [@media(max-height:799px)]:size-8 [@media(max-height:559px)]:size-6",children:T.jsx("span",{className:"text-[11px] font-medium leading-none tabular-nums lg:text-[13px]",style:{color:E.muted},children:l.score})}),T.jsx("span",{className:"min-w-0 flex-1 truncate text-[14px] leading-5 lg:text-[15px]",style:{color:E.ink},title:c?n(c):l.label,children:c?n(c):l.label}),T.jsxs("span",{className:"shrink-0 text-[12px] leading-5 tabular-nums",style:{color:E.faint},title:n("reports.coverTemplate.areaCoverage",{decided:f,total:h}),children:[f,"/",h]})]},l.key)},e[4]=a,e[5]=n,e[6]=s):s=e[6],i=t.map(s),e[0]=a,e[1]=t,e[2]=n,e[3]=i}else i=e[3];let o;return e[7]!==i?(o=T.jsx("ul",{className:"grid grid-cols-1 gap-x-6 lg:grid-cols-2 lg:gap-x-8",children:i}),e[7]=i,e[8]=o):o=e[8],o}function Uk(r){const e=ge.c(22),{domain:t,faviconUrl:a,initial:n,screenshot:i,mobileScreenshot:o,areas:s,active:l,onSeeReport:u}=r,c=lt();let f;e[0]!==t||e[1]!==a||e[2]!==n||e[3]!==o||e[4]!==i?(f=T.jsx("div",{className:"absolute inset-x-7 top-7",children:T.jsx(zk,{domain:t,faviconUrl:a,initial:n,desktopShot:i,mobileShot:o,hidePhone:!0})}),e[0]=t,e[1]=a,e[2]=n,e[3]=o,e[4]=i,e[5]=f):f=e[5];let h;e[6]===Symbol.for("react.memo_cache_sentinel")?(h=T.jsxs("div",{className:"deco-chamber-blur pointer-events-none absolute inset-x-0 bottom-0 h-32","aria-hidden":!0,children:[T.jsx("div",{}),T.jsx("div",{}),T.jsx("div",{})]}),e[6]=h):h=e[6];let v;e[7]!==f?(v=T.jsxs("div",{className:"deco-chamber-preview relative z-10 min-h-0 flex-1 overflow-hidden",children:[f,h]}),e[7]=f,e[8]=v):v=e[8];let d;e[9]!==l||e[10]!==s?(d=s&&s.length>0&&T.jsx("div",{className:"deco-cover-areas min-h-0 flex-1 overflow-y-auto lg:flex-none lg:overflow-visible",children:T.jsx($k,{areas:s,active:l})}),e[9]=l,e[10]=s,e[11]=d):d=e[11];let p;e[12]!==l||e[13]!==u||e[14]!==c?(p=u&&T.jsxs("button",{type:"button",onClick:u,className:"deco-cover-cta reveal flex h-11 shrink-0 items-center justify-center gap-2 rounded-full text-[14px] font-medium transition-colors hover:bg-black/[0.03] lg:h-12","data-show":l?"true":"false",style:{border:`1px solid ${E.inputBorder}`,color:E.ink,background:E.surface,transitionDelay:l?"420ms":"0ms"},children:[c("reports.coverTemplate.seeFullReport"),T.jsx(pt,{name:"arrow_forward",size:"small"})]}),e[12]=l,e[13]=u,e[14]=c,e[15]=p):p=e[15];let g;e[16]!==d||e[17]!==p?(g=T.jsxs("div",{className:"deco-chamber-content relative z-10 flex min-h-0 flex-1 flex-col justify-end gap-4 px-5 pb-4 pt-3 lg:flex-none lg:px-6 lg:pb-6 lg:pt-4",children:[d,p]}),e[16]=d,e[17]=p,e[18]=g):g=e[18];let m;return e[19]!==v||e[20]!==g?(m=T.jsxs("div",{className:"deco-chamber relative flex min-h-0 shrink-0 flex-col justify-end overflow-hidden rounded-2xl lg:flex-1",children:[v,g]}),e[19]=v,e[20]=g,e[21]=m):m=e[21],m}function Yk(r){const e=ge.c(74),{headline:t,score:a,screenshot:n,mobileScreenshot:i,faviconUrl:o,domain:s,brand:l,initial:u,active:c,findings:f,areas:h,scannedAt:v,onFindingClick:d}=r,p=c===void 0?!1:c,g=lt(),[m]=zg(),{language:y}=m,[x,_]=Re.useState(p),[S,b]=Re.useState(p?1:0);p!==x&&(_(p),p&&b(Xk));const w=Re.useRef(null),C=Re.useRef(0);let A;e[0]===Symbol.for("react.memo_cache_sentinel")?(A={rx:0,ry:0,trx:0,tryy:0,hovering:!1},e[0]=A):A=e[0];const D=Re.useRef(A);let M;if(e[1]===Symbol.for("react.memo_cache_sentinel")){const Qe=()=>{const It=w.current,st=D.current;if(!It){C.current=0;return}st.rx=st.rx+(st.trx-st.rx)*.12,st.ry=st.ry+(st.tryy-st.ry)*.12,It.style.setProperty("--rx",`${st.rx.toFixed(3)}deg`),It.style.setProperty("--ry",`${st.ry.toFixed(3)}deg`);const Pn=Math.abs(st.trx-st.rx)<.02&&Math.abs(st.tryy-st.ry)<.02;st.hovering||!Pn?C.current=requestAnimationFrame(Qe):C.current=0};M=()=>{C.current||(C.current=requestAnimationFrame(Qe))},e[1]=M}else M=e[1];const I=M;let k;e[2]===Symbol.for("react.memo_cache_sentinel")?(k=Qe=>{const It=w.current;if(!It)return;const st=It.getBoundingClientRect(),Pn=(Qe.clientX-st.left)/st.width,is=(Qe.clientY-st.top)/st.height,Xe=D.current;Xe.hovering=!0,Xe.trx=(.5-is)*20,Xe.tryy=(Pn-.5)*20,It.style.setProperty("--mx",`${(Pn*100).toFixed(1)}%`),It.style.setProperty("--my",`${(is*100).toFixed(1)}%`),It.style.setProperty("--posx",`${(20+Pn*60).toFixed(1)}%`),It.style.setProperty("--posy",`${(20+is*60).toFixed(1)}%`),It.style.setProperty("--active","1"),I()},e[2]=k):k=e[2];const P=k;let R;e[3]===Symbol.for("react.memo_cache_sentinel")?(R=()=>{const Qe=w.current;if(!Qe)return;const It=D.current;It.hovering=!1,It.trx=0,It.tryy=0,Qe.style.setProperty("--mx","50%"),Qe.style.setProperty("--my","50%"),Qe.style.setProperty("--posx","50%"),Qe.style.setProperty("--posy","50%"),Qe.style.setProperty("--active","0"),I()},e[3]=R):R=e[3];const N=R;let B;e[4]===Symbol.for("react.memo_cache_sentinel")?(B=Qe=>(w.current=Qe,()=>cancelAnimationFrame(C.current)),e[4]=B):B=e[4];const O=B,V=f?.[0]?.slideKey;let F;e[5]!==a?(F=a?Wg(a.value):E.ink,e[5]=a,e[6]=F):F=e[6];const G=F;let j;e[7]!==y||e[8]!==v?(j=v?new Date(v).toLocaleDateString(y,{day:"numeric",month:"short",year:"numeric"}):null,e[7]=y,e[8]=v,e[9]=j):j=e[9];const Y=j,J=p&&S>0?"true":"false";let U;e[10]!==G?(U={"--tone":G},e[10]=G,e[11]=U):U=e[11];const ye=U;let de,ne,Q;e[12]===Symbol.for("react.memo_cache_sentinel")?(de={background:"radial-gradient(120% 80% at 30% 0%, #ffffff 0%, #fafaf9 45%, #f6f4f1 100%)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(40,37,36,0.05), 0 1px 2px rgba(40,37,36,0.04)"},ne=T.jsx("div",{className:"holo-foil pointer-events-none absolute inset-0 z-30","aria-hidden":!0}),Q=T.jsx("div",{className:"holo-glare pointer-events-none absolute inset-0 z-40","aria-hidden":!0}),e[12]=de,e[13]=ne,e[14]=Q):(de=e[12],ne=e[13],Q=e[14]);let ie;e[15]===Symbol.for("react.memo_cache_sentinel")?(ie=T.jsx("div",{className:"deco-sweep pointer-events-none absolute inset-0 z-50 overflow-hidden","aria-hidden":!0,children:T.jsx("span",{className:"holo-sweep-bar"})}),e[15]=ie):ie=e[15];let K;e[16]===Symbol.for("react.memo_cache_sentinel")?(K={border:`1px solid ${E.border}`,boxShadow:"0 0.714px 0.714px rgba(0,0,0,0.04),0 4.286px 17.143px rgba(0,0,0,0.01),0 6.429px 34.286px rgba(0,0,0,0.09)"},e[16]=K):K=e[16];let ae;e[17]!==o?(ae=T.jsx("div",{className:"flex h-11 w-11 shrink-0 items-center justify-center overflow-hidden rounded-xl bg-white lg:h-[52px] lg:w-[52px]",style:K,children:T.jsx("img",{src:o,alt:"",className:"h-full w-full object-contain p-2"})}),e[17]=o,e[18]=ae):ae=e[18];let Te;e[19]===Symbol.for("react.memo_cache_sentinel")?(Te={color:E.ink},e[19]=Te):Te=e[19];let fe;e[20]!==l?(fe=T.jsx("span",{className:"truncate text-[19px] font-medium leading-tight lg:text-[23px]",style:Te,children:l}),e[20]=l,e[21]=fe):fe=e[21];let Se;e[22]===Symbol.for("react.memo_cache_sentinel")?(Se={color:E.faint},e[22]=Se):Se=e[22];let De;e[23]!==g?(De=g("reports.coverTemplate.report"),e[23]=g,e[24]=De):De=e[24];const ze=Y?` · ${Y}`:"";let We;e[25]!==s||e[26]!==De||e[27]!==ze?(We=T.jsxs("span",{className:"text-[13px] leading-snug lg:truncate lg:text-[15px]",style:Se,children:[s," · ",De,ze]}),e[25]=s,e[26]=De,e[27]=ze,e[28]=We):We=e[28];let Ue;e[29]!==fe||e[30]!==We?(Ue=T.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[fe,We]}),e[29]=fe,e[30]=We,e[31]=Ue):Ue=e[31];let vt;e[32]!==ae||e[33]!==Ue?(vt=T.jsxs("div",{className:"flex shrink-0 items-center gap-3.5 lg:gap-4",children:[ae,Ue]}),e[32]=ae,e[33]=Ue,e[34]=vt):vt=e[34];let Et;e[35]===Symbol.for("react.memo_cache_sentinel")?(Et=T.jsx("div",{className:"hidden lg:block lg:min-h-2 lg:flex-1"}),e[35]=Et):Et=e[35];let nr;e[36]!==p||e[37]!==a?(nr=a&&T.jsx("div",{className:"reveal shrink-0","data-show":p?"true":"false",style:{transitionDelay:p?"120ms":"0ms"},children:T.jsx(jk,{score:a,active:p})}),e[36]=p,e[37]=a,e[38]=nr):nr=e[38];const zr=p?"true":"false",Ua=p?"200ms":"0ms";let Ya;e[39]!==Ua?(Ya={color:E.ink,transitionDelay:Ua},e[39]=Ua,e[40]=Ya):Ya=e[40];let kn;e[41]!==t||e[42]!==zr||e[43]!==Ya?(kn=T.jsx("h1",{className:"deco-cover-verdict reveal mt-5 shrink-0 text-balance font-normal leading-[1.04] tracking-[-0.035em] text-[min(1.5rem,3.6svh)] sm:text-[1.9rem] lg:text-[min(clamp(1.6rem,2.15vw,2.25rem),4.2svh)]","data-show":zr,style:Ya,children:t}),e[41]=t,e[42]=zr,e[43]=Ya,e[44]=kn):kn=e[44];let X;e[45]!==nr||e[46]!==kn?(X=T.jsxs("div",{className:"mt-4 flex min-h-0 flex-1 flex-col lg:mt-0 lg:block lg:flex-none",children:[nr,kn]}),e[45]=nr,e[46]=kn,e[47]=X):X=e[47];let ve;e[48]===Symbol.for("react.memo_cache_sentinel")?(ve=T.jsx("div",{className:"hidden lg:block lg:min-h-2 lg:flex-1"}),e[48]=ve):ve=e[48];let Je;e[49]!==vt||e[50]!==X?(Je=T.jsxs("div",{className:"deco-cover-story flex min-h-0 flex-1 flex-col px-4 pb-3 pt-4 lg:w-[55%] lg:flex-initial lg:px-7",children:[vt,Et,X,ve]}),e[49]=vt,e[50]=X,e[51]=Je):Je=e[51];let _t;e[52]!==V||e[53]!==d?(_t=V&&d?()=>d(V):void 0,e[52]=V,e[53]=d,e[54]=_t):_t=e[54];let bt;e[55]!==p||e[56]!==h||e[57]!==s||e[58]!==o||e[59]!==u||e[60]!==i||e[61]!==n||e[62]!==_t?(bt=T.jsx(Uk,{domain:s,faviconUrl:o,initial:u,screenshot:n,mobileScreenshot:i,areas:h,active:p,onSeeReport:_t}),e[55]=p,e[56]=h,e[57]=s,e[58]=o,e[59]=u,e[60]=i,e[61]=n,e[62]=_t,e[63]=bt):bt=e[63];let ir;e[64]!==Je||e[65]!==bt?(ir=T.jsxs("div",{className:"relative flex min-h-0 flex-1 flex-col overflow-hidden rounded-[24px]",style:de,children:[ne,Q,ie,T.jsxs("div",{className:"relative z-10 flex min-h-0 flex-1 flex-col gap-2 p-2 lg:flex-row",children:[Je,bt]})]}),e[64]=Je,e[65]=bt,e[66]=ir):ir=e[66];let Vt;e[67]!==ye||e[68]!==ir?(Vt=T.jsx("div",{ref:O,className:"holo-tilt relative flex h-full w-full flex-col rounded-[26px] p-[2px]",style:ye,children:ir}),e[67]=ye,e[68]=ir,e[69]=Vt):Vt=e[69];let ot;return e[70]!==S||e[71]!==J||e[72]!==Vt?(ot=T.jsx("div",{className:"holo-stage flex h-full w-full items-center justify-center px-3 py-2 sm:px-6",onMouseMove:P,onMouseLeave:N,children:T.jsx("div",{"data-enter":J,className:"holo-card h-full w-full max-w-[1120px]",children:Vt},S)}),e[70]=S,e[71]=J,e[72]=Vt,e[73]=ot):ot=e[73],ot}function Xk(r){return r+1}const Zk=E.forest,Kk=E.lime,i0=[{labelKey:"reports.ctaTemplate.pill.seo",icon:"search",color:"#ffc116"},{labelKey:"reports.ctaTemplate.pill.aiSearch",icon:"smart_toy",color:"#14b8a6"},{labelKey:"reports.ctaTemplate.pill.performance",icon:"bolt",color:"#a595ff"},{labelKey:"reports.ctaTemplate.pill.conversion",icon:"shopping_cart",color:"#ffc116"},{labelKey:"reports.ctaTemplate.pill.tracking",icon:"monitoring",color:"#6e9fdb"},{labelKey:"reports.ctaTemplate.pill.accessibility",icon:"accessibility_new",color:"#b7a8ff"},{labelKey:"reports.ctaTemplate.pill.security",icon:"shield",color:"#f0846b"},{labelKey:"reports.ctaTemplate.pill.content",icon:"article",color:"#ffc116"},{labelKey:"reports.ctaTemplate.pill.analytics",icon:"bar_chart",color:"#a3c73a"}],qk=[{labelKey:"reports.ctaTemplate.area.funnel",score:42,color:"#f0b613"},{labelKey:"reports.ctaTemplate.area.technical",score:46,color:"#5fb0a0"},{labelKey:"reports.ctaTemplate.area.dataTagging",score:60,color:"#a595ff"},{labelKey:"reports.ctaTemplate.area.acquisition",score:67,color:"#6e9fdb"},{labelKey:"reports.ctaTemplate.area.retention",score:75,color:"#e07a5f"}],o0=14,s0=[{titleKey:"reports.ctaTemplate.fixTask.lcpHome",levelKey:"reports.ctaTemplate.level.high",color:"#d43d3d"},{titleKey:"reports.ctaTemplate.fixTask.canonical",levelKey:"reports.ctaTemplate.level.high",color:"#d43d3d"},{titleKey:"reports.ctaTemplate.fixTask.gptBot",levelKey:"reports.ctaTemplate.level.medium",color:"#f0b613"},{titleKey:"reports.ctaTemplate.fixTask.ga4",levelKey:"reports.ctaTemplate.level.high",color:"#d43d3d"},{titleKey:"reports.ctaTemplate.fixTask.altImages",levelKey:"reports.ctaTemplate.level.medium",color:"#f0b613"},{titleKey:"reports.ctaTemplate.fixTask.checkout",levelKey:"reports.ctaTemplate.level.high",color:"#d43d3d"},{titleKey:"reports.ctaTemplate.fixTask.hstsCsp",levelKey:"reports.ctaTemplate.level.medium",color:"#f0b613"}],Jk=7,Ec=16,Qk=["#8caa2510","#cfe8b8","#9fd07f","#5fa843","#0c5122"];function eP(r,e){return(r*3+e*5+r*e%4)%5}const tP=[{labelKey:"reports.ctaTemplate.cadence.avgFixTime",valueKey:"reports.ctaTemplate.cadence.avgFixTimeValue"},{labelKey:"reports.ctaTemplate.cadence.fixesThisWeek",valueKey:"reports.ctaTemplate.cadence.fixesThisWeekValue"},{labelKey:"reports.ctaTemplate.cadence.inReview",valueKey:"reports.ctaTemplate.cadence.inReviewValue"}];function rP(r){const e=ge.c(17),{labelKey:t,icon:a,color:n}=r,i=lt();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={border:"1px solid rgba(255,255,255,0.25)"},e[0]=o):o=e[0];let s;e[1]!==n?(s={color:n},e[1]=n,e[2]=s):s=e[2];let l;e[3]!==a?(l=T.jsx(pt,{name:a,size:"xl"}),e[3]=a,e[4]=l):l=e[4];let u;e[5]!==s||e[6]!==l?(u=T.jsx("span",{style:s,children:l}),e[5]=s,e[6]=l,e[7]=u):u=e[7];let c;e[8]===Symbol.for("react.memo_cache_sentinel")?(c={color:"#ffffff"},e[8]=c):c=e[8];let f;e[9]!==t||e[10]!==i?(f=i(t),e[9]=t,e[10]=i,e[11]=f):f=e[11];let h;e[12]!==f?(h=T.jsx("span",{className:"whitespace-nowrap text-[15px]",style:c,children:f}),e[12]=f,e[13]=h):h=e[13];let v;return e[14]!==u||e[15]!==h?(v=T.jsxs("span",{className:"flex shrink-0 items-center gap-2.5 rounded-full py-2 pl-3 pr-5",style:o,children:[u,h]}),e[14]=u,e[15]=h,e[16]=v):v=e[16],v}function aP(r){const e=ge.c(3),{score:t,color:a}=r,n=Math.round(t/100*o0);let i;return e[0]!==a||e[1]!==n?(i=T.jsx("span",{className:"flex flex-1 items-center gap-[3px]",children:Array.from({length:o0},(o,s)=>T.jsx("span",{className:"h-2.5 flex-1 rounded-[3px]",style:{background:s<n?a:"rgba(40,37,36,0.08)"}},s))}),e[0]=a,e[1]=n,e[2]=i):i=e[2],i}function nP(r){const e=ge.c(25),{domain:t,faviconUrl:a,initial:n}=r,i=lt(),[o,s]=Re.useState(!1);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={boxShadow:"0 -20px 60px rgba(3,32,14,0.35)"},e[0]=l):l=e[0];let u;e[1]===Symbol.for("react.memo_cache_sentinel")?(u={border:`1px solid ${E.border}`},e[1]=u):u=e[1];let c;e[2]!==o||e[3]!==a||e[4]!==n?(c=T.jsx("span",{className:"grid size-7 shrink-0 place-items-center overflow-hidden rounded-md",style:u,children:o?T.jsx("span",{className:"text-[11px] font-semibold",style:{color:E.forest},children:n}):T.jsx("img",{src:a,alt:"",className:"size-4 object-contain",onError:()=>s(!0)})}),e[2]=o,e[3]=a,e[4]=n,e[5]=c):c=e[5];let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f={color:E.ink},e[6]=f):f=e[6];let h;e[7]!==t?(h=T.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",style:f,children:t}),e[7]=t,e[8]=h):h=e[8];let v;e[9]===Symbol.for("react.memo_cache_sentinel")?(v={color:E.soft},e[9]=v):v=e[9];let d;e[10]!==i?(d=i("reports.ctaTemplate.reportCard.diagnostic"),e[10]=i,e[11]=d):d=e[11];let p;e[12]!==d?(p=T.jsx("span",{className:"text-[12px] font-semibold uppercase tracking-wide",style:v,children:d}),e[12]=d,e[13]=p):p=e[13];let g;e[14]!==c||e[15]!==h||e[16]!==p?(g=T.jsxs("div",{className:"flex items-center gap-2.5",children:[c,h,p]}),e[14]=c,e[15]=h,e[16]=p,e[17]=g):g=e[17];let m;e[18]!==i?(m=qk.map(_=>T.jsxs("li",{className:"flex flex-col gap-1.5",children:[T.jsxs("div",{className:"flex items-baseline justify-between",children:[T.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-wide",style:{color:E.ink},children:i(_.labelKey)}),T.jsxs("span",{className:"text-[15px] font-semibold tabular-nums",style:{color:E.ink},children:[_.score,T.jsx("span",{className:"text-[11px] font-normal",style:{color:E.faint},children:"/100"})]})]}),T.jsx(aP,{score:_.score,color:_.color})]},_.labelKey)),e[18]=i,e[19]=m):m=e[19];let y;e[20]!==m?(y=T.jsx("ul",{className:"mt-5 flex flex-col gap-4",children:m}),e[20]=m,e[21]=y):y=e[21];let x;return e[22]!==y||e[23]!==g?(x=T.jsxs("div",{className:"w-[min(92vw,600px)] rounded-t-2xl bg-white p-6 sm:p-7",style:l,children:[g,y]}),e[22]=y,e[23]=g,e[24]=x):x=e[24],x}function iP(r){const e=ge.c(20),{titleKey:t,levelKey:a,color:n}=r,i=lt();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={border:`1px solid ${E.border}`,boxShadow:"0 6px 20px rgba(3,32,14,0.12)"},e[0]=o):o=e[0];let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=T.jsx("span",{className:"mt-0.5 size-3.5 shrink-0 rounded-full",style:{border:`1.5px solid ${E.faint}`}}),e[1]=s):s=e[1];let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l={color:E.ink},e[2]=l):l=e[2];let u;e[3]!==i||e[4]!==t?(u=i(t),e[3]=i,e[4]=t,e[5]=u):u=e[5];let c;e[6]!==u?(c=T.jsxs("div",{className:"flex items-start gap-2",children:[s,T.jsx("span",{className:"text-[12.5px] font-medium leading-snug",style:l,children:u})]}),e[6]=u,e[7]=c):c=e[7];let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f={background:"rgba(40,37,36,0.04)",color:E.muted},e[8]=f):f=e[8];let h;e[9]!==n?(h=T.jsx("span",{className:"size-1.5 rounded-full",style:{background:n}}),e[9]=n,e[10]=h):h=e[10];let v;e[11]!==a||e[12]!==i?(v=i(a),e[11]=a,e[12]=i,e[13]=v):v=e[13];let d;e[14]!==h||e[15]!==v?(d=T.jsxs("span",{className:"mt-2 ml-5 inline-flex items-center gap-1.5 rounded-md px-2 py-0.5 text-[11px]",style:f,children:[h,v]}),e[14]=h,e[15]=v,e[16]=d):d=e[16];let p;return e[17]!==c||e[18]!==d?(p=T.jsxs("div",{className:"rounded-xl bg-white p-3",style:o,children:[c,d]}),e[17]=c,e[18]=d,e[19]=p):p=e[19],p}function oP(){const r=ge.c(2);let e;r[0]===Symbol.for("react.memo_cache_sentinel")?(e={maskImage:"linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent)",WebkitMaskImage:"linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent)"},r[0]=e):e=r[0];let t;return r[1]===Symbol.for("react.memo_cache_sentinel")?(t=T.jsx("div",{className:"h-[400px] w-[248px] overflow-hidden",style:e,children:T.jsx("div",{className:"report-task-track gap-3",children:[...s0,...s0].map(sP)})}),r[1]=t):t=r[1],t}function sP(r,e){return T.jsx(iP,{...r},`${r.titleKey}-${e}`)}function lP(){const r=ge.c(14),e=lt();let t;r[0]===Symbol.for("react.memo_cache_sentinel")?(t={boxShadow:"0 20px 50px rgba(3,32,14,0.22)"},r[0]=t):t=r[0];let a;r[1]===Symbol.for("react.memo_cache_sentinel")?(a={color:E.soft},r[1]=a):a=r[1];let n;r[2]!==e?(n=e("reports.ctaTemplate.cadence.title"),r[2]=e,r[3]=n):n=r[3];let i;r[4]!==n?(i=T.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-wide",style:a,children:n}),r[4]=n,r[5]=i):i=r[5];let o;r[6]===Symbol.for("react.memo_cache_sentinel")?(o=T.jsx("div",{className:"mt-4 grid gap-[3px]",style:{gridTemplateColumns:`repeat(${Ec}, 1fr)`},children:Array.from({length:Jk*Ec},uP)}),r[6]=o):o=r[6];let s;r[7]!==e?(s=tP.map(c=>T.jsxs("li",{className:"flex items-center justify-between py-2.5 text-[13px]",style:{borderTop:`1px solid ${E.border}`},children:[T.jsx("span",{style:{color:E.muted},children:e(c.labelKey)}),T.jsx("span",{className:"font-semibold",style:{color:E.ink},children:e(c.valueKey)})]},c.labelKey)),r[7]=e,r[8]=s):s=r[8];let l;r[9]!==s?(l=T.jsx("ul",{className:"mt-4 flex flex-col",children:s}),r[9]=s,r[10]=l):l=r[10];let u;return r[11]!==i||r[12]!==l?(u=T.jsxs("div",{className:"w-[320px] rounded-2xl bg-white p-5",style:t,children:[i,o,l]}),r[11]=i,r[12]=l,r[13]=u):u=r[13],u}function uP(r,e){const t=Math.floor(e/Ec),a=e%Ec;return T.jsx("span",{className:"aspect-square rounded-[3px]",style:{background:Qk[eP(t,a)]}},e)}function cP(r){const e=ge.c(87),{domain:t,faviconUrl:a,initial:n,checksProbed:i,checksTotal:o,active:s}=r,l=s===void 0?!1:s,u=lt(),c=l?"true":"false",f=jg(t),h=typeof i=="number"&&typeof o=="number";let v;e[0]===Symbol.for("react.memo_cache_sentinel")?(v={background:Zk},e[0]=v):v=e[0];let d;e[1]===Symbol.for("react.memo_cache_sentinel")?(d=T.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute left-1/2 top-[52%] size-[900px] -translate-x-1/2 rounded-full",style:{background:"radial-gradient(circle, rgba(208,236,26,0.08), transparent 62%)"}}),e[1]=d):d=e[1];let p;e[2]!==i||e[3]!==o||e[4]!==h||e[5]!==c?(p=h?T.jsxs("span",{className:"reveal rounded-full px-4 py-1.5 text-[15px]","data-show":c,style:{border:"1px solid rgba(255,255,255,0.25)"},children:[T.jsxs("span",{style:{color:"rgba(255,255,255,0.5)"},children:[i,"/"]}),T.jsx("span",{style:{color:"#ffffff"},children:o})]}):null,e[2]=i,e[3]=o,e[4]=h,e[5]=c,e[6]=p):p=e[6];const g=l?"60ms":"0ms";let m;e[7]!==g?(m={color:"#ffffff",transitionDelay:g},e[7]=g,e[8]=m):m=e[8];let y;e[9]!==u?(y=u("reports.ctaTemplate.headline.part1"),e[9]=u,e[10]=y):y=e[10];let x;e[11]===Symbol.for("react.memo_cache_sentinel")?(x=T.jsx("br",{className:"hidden sm:block"}),e[11]=x):x=e[11];let _;e[12]!==u?(_=u("reports.ctaTemplate.headline.part2"),e[12]=u,e[13]=_):_=e[13];let S;e[14]!==c||e[15]!==m||e[16]!==y||e[17]!==_?(S=T.jsxs("h2",{className:"reveal text-balance font-normal leading-[1.15] tracking-[-0.015em] text-[clamp(1.5rem,6vw,2.75rem)]","data-show":c,style:m,children:[y,x," ",_]}),e[14]=c,e[15]=m,e[16]=y,e[17]=_,e[18]=S):S=e[18];const b=l?"130ms":"0ms";let w;e[19]!==b?(w={color:"rgba(255,255,255,0.75)",transitionDelay:b},e[19]=b,e[20]=w):w=e[20];let C;e[21]!==u?(C=u("reports.ctaTemplate.subheading.part1"),e[21]=u,e[22]=C):C=e[22];let A;e[23]===Symbol.for("react.memo_cache_sentinel")?(A=T.jsx("br",{className:"hidden sm:block"}),e[23]=A):A=e[23];let D;e[24]!==u?(D=u("reports.ctaTemplate.subheading.part2"),e[24]=u,e[25]=D):D=e[25];let M;e[26]!==c||e[27]!==w||e[28]!==C||e[29]!==D?(M=T.jsxs("p",{className:"reveal max-w-[520px] text-[15px] leading-relaxed sm:text-base","data-show":c,style:w,children:[C,A," ",D]}),e[26]=c,e[27]=w,e[28]=C,e[29]=D,e[30]=M):M=e[30];let I;e[31]!==t?(I=We=>Rf(We,{domain:t,placement:"cta_slide",slideKey:"cta"}),e[31]=t,e[32]=I):I=e[32];const k=l?"220ms":"0ms";let P;e[33]!==k?(P={background:Kk,color:E.forest,transitionDelay:k},e[33]=k,e[34]=P):P=e[34];let R;e[35]!==u?(R=u("reports.ctaTemplate.cta.label"),e[35]=u,e[36]=R):R=e[36];let N;e[37]!==R?(N=T.jsx("span",{children:R}),e[37]=R,e[38]=N):N=e[38];let B;e[39]===Symbol.for("react.memo_cache_sentinel")?(B=T.jsx(pt,{name:"arrow_forward",size:"medium"}),e[39]=B):B=e[39];let O;e[40]!==f||e[41]!==c||e[42]!==I||e[43]!==P||e[44]!==N?(O=T.jsxs("a",{href:f,onClick:I,className:"reveal mt-1 inline-flex h-12 items-center gap-2 whitespace-nowrap rounded-full px-8 text-base font-medium transition-transform duration-300 ease-out hover:scale-105","data-show":c,style:P,children:[N,B]}),e[40]=f,e[41]=c,e[42]=I,e[43]=P,e[44]=N,e[45]=O):O=e[45];let V;e[46]!==S||e[47]!==M||e[48]!==O||e[49]!==p?(V=T.jsxs("div",{className:"relative z-10 flex max-w-[820px] flex-col items-center gap-5 text-center",children:[p,S,M,O]}),e[46]=S,e[47]=M,e[48]=O,e[49]=p,e[50]=V):V=e[50];const F=l?"300ms":"0ms";let G;e[51]!==F?(G={transitionDelay:F,maskImage:"linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)",WebkitMaskImage:"linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)"},e[51]=F,e[52]=G):G=e[52];let j;e[53]===Symbol.for("react.memo_cache_sentinel")?(j=T.jsx("div",{className:"report-marquee-track gap-2",children:[...i0,...i0].map(fP)}),e[53]=j):j=e[53];let Y;e[54]!==c||e[55]!==G?(Y=T.jsx("div",{className:"reveal relative z-10 w-[calc(100%+4rem)] shrink-0 overflow-hidden sm:w-[calc(100%+8rem)]","data-show":c,style:G,children:j}),e[54]=c,e[55]=G,e[56]=Y):Y=e[56];const J=l?"460ms":"0ms";let U;e[57]!==J?(U={transitionDelay:J},e[57]=J,e[58]=U):U=e[58];let ye;e[59]===Symbol.for("react.memo_cache_sentinel")?(ye=T.jsx(oP,{}),e[59]=ye):ye=e[59];let de;e[60]!==c||e[61]!==U?(de=T.jsx("div",{className:"reveal pointer-events-none relative z-0 -mr-24 mt-3 hidden shrink-0 -rotate-[5deg] xl:block","data-show":c,style:U,children:ye}),e[60]=c,e[61]=U,e[62]=de):de=e[62];const ne=l?"380ms":"0ms";let Q;e[63]!==ne?(Q={transitionDelay:ne},e[63]=ne,e[64]=Q):Q=e[64];let ie;e[65]!==t||e[66]!==a||e[67]!==n?(ie=T.jsx(nP,{domain:t,faviconUrl:a,initial:n}),e[65]=t,e[66]=a,e[67]=n,e[68]=ie):ie=e[68];let K;e[69]!==c||e[70]!==Q||e[71]!==ie?(K=T.jsx("div",{className:"reveal relative z-20 shrink-0","data-show":c,style:Q,children:ie}),e[69]=c,e[70]=Q,e[71]=ie,e[72]=K):K=e[72];const ae=l?"440ms":"0ms";let Te;e[73]!==ae?(Te={transitionDelay:ae},e[73]=ae,e[74]=Te):Te=e[74];let fe;e[75]===Symbol.for("react.memo_cache_sentinel")?(fe=T.jsx(lP,{}),e[75]=fe):fe=e[75];let Se;e[76]!==c||e[77]!==Te?(Se=T.jsx("div",{className:"reveal pointer-events-none relative z-0 -ml-24 mt-3 hidden shrink-0 rotate-[6deg] xl:block","data-show":c,style:Te,children:fe}),e[76]=c,e[77]=Te,e[78]=Se):Se=e[78];let De;e[79]!==de||e[80]!==K||e[81]!==Se?(De=T.jsxs("div",{className:"relative z-10 flex w-full flex-1 items-start justify-center overflow-hidden",children:[de,K,Se]}),e[79]=de,e[80]=K,e[81]=Se,e[82]=De):De=e[82];let ze;return e[83]!==V||e[84]!==Y||e[85]!==De?(ze=T.jsx("div",{className:"h-full w-full sm:px-6 lg:px-10 sm:pb-2",children:T.jsxs("div",{className:"relative flex h-full w-full flex-col items-center gap-8 overflow-hidden rounded-none px-6 pb-0 pt-8 sm:rounded-3xl sm:px-8 sm:pt-10 lg:gap-10 lg:pt-14 [@media(max-height:780px)]:lg:gap-6 [@media(max-height:780px)]:lg:pt-10",style:v,children:[d,V,Y,De]})}),e[83]=V,e[84]=Y,e[85]=De,e[86]=ze):ze=e[86],ze}function fP(r,e){return T.jsx(rP,{...r},`${r.labelKey}-${e}`)}const hP={good:{ratio:.16},warn:{ratio:.5},bad:{ratio:.84}},vP=[E.soft,E.warn,"#d43d3d"],dP=["rgba(140,170,37,0.16)","rgba(240,182,19,0.16)","rgba(212,61,61,0.14)"],pP=r=>r<1/3?0:r<2/3?1:2;function gP(r){const e=ge.c(20),{eyebrow:t,headline:a,annotation:n,gauges:i,active:o}=r,s=i.length>=5;let l;e[0]!==o||e[1]!==n||e[2]!==t||e[3]!==a?(l=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),e[0]=o,e[1]=n,e[2]=t,e[3]=a,e[4]=l):l=e[4];const u=s?"gap-[min(0.875rem,1.8svh)] sm:gap-5":"gap-[min(1.25rem,2.6svh)] sm:gap-10";let c;e[5]!==u?(c=at("my-auto flex w-full flex-col",u),e[5]=u,e[6]=c):c=e[6];let f;if(e[7]!==o||e[8]!==s||e[9]!==i){let d;e[11]!==o||e[12]!==s?(d=(p,g)=>{const m=Math.min(1,Math.max(0,p.ratio??hP[p.status].ratio)),y=vP[pP(m)];return T.jsxs("div",{className:at("reveal grid grid-cols-1 items-center gap-x-8 sm:grid-cols-[minmax(0,10rem)_1fr]",s?"gap-y-[min(0.5rem,1svh)] sm:gap-y-1.5":"gap-y-[min(0.75rem,1.4svh)] sm:gap-y-3"),"data-show":o?"true":"false",style:{transitionDelay:o?`${80+g*90}ms`:"0ms"},children:[T.jsxs("div",{className:"flex items-baseline gap-2 sm:flex-col sm:gap-0.5",children:[T.jsx("span",{className:at("font-light leading-none tracking-[-0.02em] tabular-nums",s?"text-[min(clamp(1.5rem,4vw,2rem),3svh)] sm:text-[clamp(1.5rem,2.5vw,2rem)]":"text-[min(clamp(2rem,5vw,3rem),4svh)] sm:text-[clamp(2rem,5vw,3rem)]"),style:{color:y},children:p.value}),T.jsx("span",{className:at("tracking-[-0.01em]",s?"text-sm sm:text-base":"text-base sm:text-lg"),style:{color:E.muted},children:p.label})]}),T.jsxs("div",{className:"flex flex-col gap-1.5",children:[T.jsxs("div",{className:"relative flex h-3 w-full gap-1",children:[dP.map(mP),T.jsx("span",{className:"absolute top-1/2 h-5 w-5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{left:`${m*100}%`,background:y,border:`3px solid ${E.bg}`,boxShadow:"0 1px 3px rgba(40,37,36,0.25)"}})]}),p.caption&&T.jsx("span",{className:"text-right text-xs sm:text-left sm:text-sm",style:{color:E.muted,opacity:.8},children:p.caption})]})]},g)},e[11]=o,e[12]=s,e[13]=d):d=e[13],f=i.map(d),e[7]=o,e[8]=s,e[9]=i,e[10]=f}else f=e[10];let h;e[14]!==c||e[15]!==f?(h=T.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-[min(1.5rem,2.2svh)] sm:px-10 sm:py-6 lg:px-16",children:T.jsx("div",{className:c,children:f})}),e[14]=c,e[15]=f,e[16]=h):h=e[16];let v;return e[17]!==l||e[18]!==h?(v=T.jsxs("div",{className:"flex h-full flex-col",children:[l,h]}),e[17]=l,e[18]=h,e[19]=v):v=e[19],v}function mP(r,e){return T.jsx("span",{className:"h-full flex-1 rounded-full",style:{background:r}},e)}const yP={good:{color:"#009a41",tint:"rgba(0,154,65,0.14)"},neutral:{color:"#d98324",tint:"rgba(217,131,36,0.14)"},bad:{color:"#ef4444",tint:"rgba(239,68,68,0.14)"}},xP=2;function _P(r){const e=r.match(/^(.*?)\s*\((\d+)\/(\d+)\)$/);return e?{name:e[1]??"",measured:e[2],total:e[3]}:{name:r}}function bP(r){const e=ge.c(29),{eyebrow:t,headline:a,annotation:n,items:i,active:o}=r,s=lt();let l,u,c,f,h;if(e[0]!==o||e[1]!==n||e[2]!==t||e[3]!==a||e[4]!==i||e[5]!==s){const g=[...i].sort(SP);f="flex h-full flex-col",e[11]!==o||e[12]!==n||e[13]!==t||e[14]!==a?(h=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),e[11]=o,e[12]=n,e[13]=t,e[14]=a,e[15]=h):h=e[15],c="flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-4 sm:px-10 lg:px-16",l="my-auto flex w-full flex-col gap-[min(0.875rem,1.7svh)] sm:gap-4";let m;e[16]!==o||e[17]!==s?(m=(y,x)=>{const _=yP[y.tone??"neutral"],S=Math.max(xP,Math.min(100,y.ratio*100)),{name:b,measured:w,total:C}=_P(y.label),A=w&&C?s("reports.geoDimensionsVariant.chip",{measured:w,total:C}):void 0;return T.jsxs("div",{className:"reveal flex flex-col gap-1.5","data-show":o?"true":"false",style:{transitionDelay:o?`${80+x*70}ms`:"0ms"},children:[T.jsxs("div",{className:"flex items-baseline gap-2.5",children:[T.jsx("span",{className:"min-w-0 line-clamp-2 break-words text-sm font-medium leading-snug tracking-[-0.01em] sm:text-[15px]",style:{color:E.ink},children:b}),A&&T.jsx("span",{className:"shrink-0 translate-y-[-1px] rounded-full px-1.5 py-px text-[10px] leading-[1.5]",style:{color:E.muted,border:`1px solid ${E.border}`},children:A}),T.jsx("span",{className:"ml-auto shrink-0 font-semibold leading-none tracking-[-0.02em] tabular-nums text-[min(1.5rem,3svh)] sm:text-[1.625rem]",style:{color:_.color},children:y.value})]}),T.jsx("div",{className:"h-[min(0.75rem,1.4svh)] w-full overflow-hidden rounded-full sm:h-3",style:{background:_.tint},children:T.jsx("div",{className:"h-full rounded-full transition-[width] duration-700 ease-out",style:{width:o?`${S}%`:"0%",background:_.color,transitionDelay:o?`${150+x*70}ms`:"0ms"}})})]},x)},e[16]=o,e[17]=s,e[18]=m):m=e[18],u=g.map(m),e[0]=o,e[1]=n,e[2]=t,e[3]=a,e[4]=i,e[5]=s,e[6]=l,e[7]=u,e[8]=c,e[9]=f,e[10]=h}else l=e[6],u=e[7],c=e[8],f=e[9],h=e[10];let v;e[19]!==l||e[20]!==u?(v=T.jsx("div",{className:l,children:u}),e[19]=l,e[20]=u,e[21]=v):v=e[21];let d;e[22]!==c||e[23]!==v?(d=T.jsx("div",{className:c,children:v}),e[22]=c,e[23]=v,e[24]=d):d=e[24];let p;return e[25]!==f||e[26]!==h||e[27]!==d?(p=T.jsxs("div",{className:f,children:[h,d]}),e[25]=f,e[26]=h,e[27]=d,e[28]=p):p=e[28],p}function SP(r,e){return(Number(r.value)||0)-(Number(e.value)||0)}function wP(r){return!r||r<=0?ft.bad:r<=3?ft.good:r<=10?E.warn:ft.bad}function TP(r){return r&&r>0?`${r}ª`:"—"}function CP(r){const e=ge.c(51),{eyebrow:t,headline:a,annotation:n,keywords:i,volumeLabel:o,active:s}=r,l=lt();let u,c,f,h,v,d,p;if(e[0]!==s||e[1]!==n||e[2]!==t||e[3]!==a||e[4]!==i||e[5]!==l||e[6]!==o){const _=i.slice(0,8);d="flex h-full flex-col",e[14]!==s||e[15]!==n||e[16]!==t||e[17]!==a?(p=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:s}),e[14]=s,e[15]=n,e[16]=t,e[17]=a,e[18]=p):p=e[18],v="flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-[min(1rem,1.4svh)] sm:px-10 sm:py-4 lg:px-16",f="my-auto w-full";let S;e[19]===Symbol.for("react.memo_cache_sentinel")?(S={color:E.muted},e[19]=S):S=e[19];let b;e[20]!==l?(b=l("reports.keywordsTemplate.keyword"),e[20]=l,e[21]=b):b=e[21];let w;e[22]!==b?(w=T.jsx("span",{className:"min-w-0 flex-1 truncate",children:b}),e[22]=b,e[23]=w):w=e[23];let C;e[24]!==l||e[25]!==o?(C=o??l("reports.keywordsTemplate.searchesPerMonth"),e[24]=l,e[25]=o,e[26]=C):C=e[26];let A;e[27]!==C?(A=T.jsx("span",{className:"w-20 shrink-0 text-right sm:w-24",children:C}),e[27]=C,e[28]=A):A=e[28];let D;e[29]!==l?(D=l("reports.keywordsTemplate.position"),e[29]=l,e[30]=D):D=e[30];let M;e[31]!==D?(M=T.jsx("span",{className:"w-12 shrink-0 text-right sm:w-16",children:D}),e[31]=D,e[32]=M):M=e[32],e[33]!==w||e[34]!==A||e[35]!==M?(h=T.jsxs("div",{className:"flex items-center gap-2 px-1 pb-1 text-[10px] font-medium uppercase tracking-[0.04em] sm:gap-3 sm:px-3 sm:text-[11px]",style:S,children:[w,A,M]}),e[33]=w,e[34]=A,e[35]=M,e[36]=h):h=e[36],u="flex flex-col",c=_.map((I,k)=>T.jsxs("li",{className:"reveal flex items-center gap-2 px-1 py-[min(10px,1.1svh)] sm:gap-3 sm:px-3 sm:py-[10px]","data-show":s?"true":"false",style:{...k<_.length-1?{borderBottom:`1px solid ${E.border}`}:{},transitionDelay:s?`${70+k*55}ms`:"0ms"},children:[T.jsx("span",{className:"min-w-0 flex-1 truncate text-base sm:text-lg",style:{color:E.ink},children:I.term}),T.jsx("span",{className:"w-20 shrink-0 text-right text-sm tabular-nums sm:w-24 sm:text-base",style:{color:E.muted},children:I.volume}),T.jsx("span",{className:"w-12 shrink-0 text-right text-lg font-normal tabular-nums tracking-[-0.01em] sm:w-16 sm:text-xl",style:{color:wP(I.position)},children:TP(I.position)})]},k)),e[0]=s,e[1]=n,e[2]=t,e[3]=a,e[4]=i,e[5]=l,e[6]=o,e[7]=u,e[8]=c,e[9]=f,e[10]=h,e[11]=v,e[12]=d,e[13]=p}else u=e[7],c=e[8],f=e[9],h=e[10],v=e[11],d=e[12],p=e[13];let g;e[37]!==u||e[38]!==c?(g=T.jsx("ul",{className:u,children:c}),e[37]=u,e[38]=c,e[39]=g):g=e[39];let m;e[40]!==f||e[41]!==h||e[42]!==g?(m=T.jsxs("div",{className:f,children:[h,g]}),e[40]=f,e[41]=h,e[42]=g,e[43]=m):m=e[43];let y;e[44]!==v||e[45]!==m?(y=T.jsx("div",{className:v,children:m}),e[44]=v,e[45]=m,e[46]=y):y=e[46];let x;return e[47]!==y||e[48]!==d||e[49]!==p?(x=T.jsxs("div",{className:d,children:[p,y]}),e[47]=y,e[48]=d,e[49]=p,e[50]=x):x=e[50],x}const Sh={error:{color:"#d43d3d",icon:"error"},warning:{color:E.warn,icon:"warning"},notice:{color:E.notice,icon:"info"}};function AP(r){const e=ge.c(34),{headline:t,entries:a,domain:n,onNext:i,moreCount:o,active:s}=r,l=lt(),u=jg(n);let c;e[0]!==l?(c=l("reports.listTemplate.unlockRevenue"),e[0]=l,e[1]=c):c=e[1];const f=c;let h;e[2]===Symbol.for("react.memo_cache_sentinel")?(h={borderColor:E.inputBorder,color:E.ink,background:E.surface},e[2]=h):h=e[2];const v=h,d=s?"true":"false";let p;e[3]===Symbol.for("react.memo_cache_sentinel")?(p={color:E.ink},e[3]=p):p=e[3];let g;e[4]!==t||e[5]!==o||e[6]!==l?(g=o&&o>0?T.jsxs(T.Fragment,{children:[T.jsxs("span",{style:{color:Sh.error.color},children:["+",o]})," ",l("reports.listTemplate.moreSignals")]}):t.replace(/\s*\n\s*/g," "),e[4]=t,e[5]=o,e[6]=l,e[7]=g):g=e[7];let m;e[8]!==d||e[9]!==g?(m=T.jsx("header",{className:"flex shrink-0 flex-col gap-3 px-5 pt-2 sm:gap-4 sm:px-10 lg:px-16",children:T.jsx("h2",{className:"reveal text-balance font-normal leading-[1.1] tracking-[-0.02em] text-[min(clamp(1.375rem,4.8vw,2.5rem),3svh)] sm:text-[clamp(1.5rem,3.2vw,2.5rem)] lg:text-[2.75rem] lg:max-w-[20ch]","data-show":d,style:p,children:g})}),e[8]=d,e[9]=g,e[10]=m):m=e[10];let y;e[11]===Symbol.for("react.memo_cache_sentinel")?(y={maskImage:"linear-gradient(to bottom, #000 55%, transparent 92%)",WebkitMaskImage:"linear-gradient(to bottom, #000 55%, transparent 92%)"},e[11]=y):y=e[11];let x;if(e[12]!==s||e[13]!==a||e[14]!==d){let A;e[16]!==s||e[17]!==a.length||e[18]!==d?(A=(D,M)=>{const I=Sh[D.severity]??Sh.notice;return T.jsxs("li",{className:"reveal flex items-center gap-4 py-[min(9px,1.3svh)]","data-show":d,style:{...M<a.length-1?{borderBottom:`1px solid ${E.border}`}:{},transitionDelay:s?`${60+M*45}ms`:"0ms"},children:[T.jsx("span",{className:"line-clamp-2 flex-1 text-[13px] leading-snug sm:text-[15px]",style:{color:E.muted},children:D.label}),T.jsx("span",{className:"grid shrink-0 place-items-center",style:{color:I.color},"aria-label":D.severity,children:T.jsx(pt,{name:I.icon,size:"large"})})]},M)},e[16]=s,e[17]=a.length,e[18]=d,e[19]=A):A=e[19],x=a.map(A),e[12]=s,e[13]=a,e[14]=d,e[15]=x}else x=e[15];let _;e[20]!==x?(_=T.jsx("ul",{className:"h-full overflow-hidden",style:y,children:x}),e[20]=x,e[21]=_):_=e[21];let S;e[22]===Symbol.for("react.memo_cache_sentinel")?(S={background:`linear-gradient(to bottom, transparent, ${E.bg} 34%)`},e[22]=S):S=e[22];let b;e[23]!==f||e[24]!==u||e[25]!==n||e[26]!==i?(b=T.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 flex justify-center px-5 pb-7 pt-24 sm:px-10 lg:px-16",style:S,children:i?T.jsx("button",{type:"button",onClick:i,className:"pointer-events-auto inline-flex h-12 items-center rounded-full border px-8 text-base font-medium transition-colors hover:bg-black/[0.03]",style:v,children:f}):T.jsx("a",{href:u,target:u.startsWith("http")?"_blank":"_self",rel:"noopener noreferrer",onClick:A=>Rf(A,{domain:n,placement:"list_slide_fallback"}),className:"pointer-events-auto inline-flex h-12 items-center rounded-full border px-8 text-base font-medium transition-colors hover:bg-black/[0.03]",style:v,children:f})}),e[23]=f,e[24]=u,e[25]=n,e[26]=i,e[27]=b):b=e[27];let w;e[28]!==b||e[29]!==_?(w=T.jsxs("div",{className:"relative min-h-0 flex-1 px-5 pt-3 sm:px-10 lg:px-16",children:[_,b]}),e[28]=b,e[29]=_,e[30]=w):w=e[30];let C;return e[31]!==w||e[32]!==m?(C=T.jsxs("div",{className:"flex h-full flex-col",children:[m,w]}),e[31]=w,e[32]=m,e[33]=C):C=e[33],C}const DP={up:ft.good,down:ft.bad,neutral:E.muted},MP={up:"↑",down:"↓",neutral:"→"};function R2(r,e){return r?ft[r]:e?E.muted:E.ink}function LP(r){const e=ge.c(8),{cell:t}=r;let a;e[0]!==t.muted||e[1]!==t.tone?(a=R2(t.tone,t.muted),e[0]=t.muted,e[1]=t.tone,e[2]=a):a=e[2];let n;e[3]!==a?(n={color:a},e[3]=a,e[4]=n):n=e[4];let i;return e[5]!==t.value||e[6]!==n?(i=T.jsx("span",{className:"line-clamp-2 leading-snug",style:n,children:t.value}),e[5]=t.value,e[6]=n,e[7]=i):i=e[7],i}function IP(r){const e=ge.c(14),{cell:t}=r,a=t.deltaDir??"neutral";let n;e[0]!==t.muted||e[1]!==t.tone?(n=R2(t.tone,t.muted),e[0]=t.muted,e[1]=t.tone,e[2]=n):n=e[2];let i;e[3]!==n?(i={color:n},e[3]=n,e[4]=i):i=e[4];let o;e[5]!==t.value||e[6]!==i?(o=T.jsx("span",{style:i,children:t.value}),e[5]=t.value,e[6]=i,e[7]=o):o=e[7];let s;e[8]!==t.delta||e[9]!==a?(s=t.delta&&T.jsxs("span",{className:"text-sm tabular-nums",style:{color:DP[a]},children:[MP[a]," ",t.delta]}),e[8]=t.delta,e[9]=a,e[10]=s):s=e[10];let l;return e[11]!==o||e[12]!==s?(l=T.jsxs("span",{className:"inline-flex items-baseline gap-2 whitespace-nowrap",children:[o,s]}),e[11]=o,e[12]=s,e[13]=l):l=e[13],l}function kP(r){const e=ge.c(8),{cell:t}=r,a=t.tone?ft[t.tone]:E.muted,n=t.points.length;if(n<2)return null;const i=48/(n-1);let o;if(e[0]!==t.points||e[1]!==i){let u;e[3]!==i?(u=(c,f)=>`${f*i},${20-c*20}`,e[3]=i,e[4]=u):u=e[4],o=t.points.map(u).join(" "),e[0]=t.points,e[1]=i,e[2]=o}else o=e[2];const s=o;let l;return e[5]!==a||e[6]!==s?(l=T.jsx("svg",{width:48,height:20,viewBox:"0 0 48 20",className:"inline-block align-middle",children:T.jsx("polyline",{points:s,fill:"none",stroke:a,strokeWidth:1.5,strokeLinejoin:"round",strokeLinecap:"round"})}),e[5]=a,e[6]=s,e[7]=l):l=e[7],l}function PP(r){const e=ge.c(6),{cell:t}=r,a=t.tone?ft[t.tone]:E.muted,n=`1px solid ${a}`;let i;e[0]!==a||e[1]!==n?(i={color:a,border:n,lineHeight:"1.4"},e[0]=a,e[1]=n,e[2]=i):i=e[2];let o;return e[3]!==t.label||e[4]!==i?(o=T.jsx("span",{className:"inline-block rounded-full px-2 py-0.5 text-xs font-medium",style:i,children:t.label}),e[3]=t.label,e[4]=i,e[5]=o):o=e[5],o}function RP(r){const e=ge.c(12),{cell:t}=r,a=t.tone?ft[t.tone]:E.ink,n=Math.min(100,Math.max(0,t.value));let i;e[0]!==a?(i={color:a},e[0]=a,e[1]=i):i=e[1];let o;e[2]!==n||e[3]!==i?(o=T.jsx("span",{className:"text-sm tabular-nums",style:i,children:n}),e[2]=n,e[3]=i,e[4]=o):o=e[4];let s;e[5]===Symbol.for("react.memo_cache_sentinel")?(s={background:E.border},e[5]=s):s=e[5];const l=`${n}%`;let u;e[6]!==a||e[7]!==l?(u=T.jsx("span",{className:"inline-block h-1.5 w-12 overflow-hidden rounded-full",style:s,children:T.jsx("span",{className:"block h-full rounded-full",style:{width:l,background:a}})}),e[6]=a,e[7]=l,e[8]=u):u=e[8];let c;return e[9]!==o||e[10]!==u?(c=T.jsxs("span",{className:"inline-flex items-center gap-2",children:[o,u]}),e[9]=o,e[10]=u,e[11]=c):c=e[11],c}function wh(r){const e=ge.c(10),{cell:t}=r;switch(t.kind){case"text":{let a;return e[0]!==t?(a=T.jsx(LP,{cell:t}),e[0]=t,e[1]=a):a=e[1],a}case"number":{let a;return e[2]!==t?(a=T.jsx(IP,{cell:t}),e[2]=t,e[3]=a):a=e[3],a}case"sparkline":{let a;return e[4]!==t?(a=T.jsx(kP,{cell:t}),e[4]=t,e[5]=a):a=e[5],a}case"badge":{let a;return e[6]!==t?(a=T.jsx(PP,{cell:t}),e[6]=t,e[7]=a):a=e[7],a}case"score":{let a;return e[8]!==t?(a=T.jsx(RP,{cell:t}),e[8]=t,e[9]=a):a=e[9],a}default:return t}}function E2(r){const e=ge.c(51),{eyebrow:t,headline:a,annotation:n,columns:i,rows:o,highlightRow:s,active:l}=r,u=o.length>=6;let c;e[0]!==l||e[1]!==n||e[2]!==t||e[3]!==a?(c=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:l}),e[0]=l,e[1]=n,e[2]=t,e[3]=a,e[4]=c):c=e[4];let f;e[5]===Symbol.for("react.memo_cache_sentinel")?(f={WebkitMaskImage:"linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%)",maskImage:"linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%)"},e[5]=f):f=e[5];let h;if(e[6]!==l||e[7]!==i||e[8]!==s||e[9]!==o){let A;e[11]!==l||e[12]!==i||e[13]!==s?(A=(D,M)=>T.jsxs("li",{className:"reveal shrink-0 rounded-xl border p-3.5","data-show":l?"true":"false",style:{borderColor:E.cardBorder,background:M===s?"rgba(40,37,36,0.03)":E.surface,transitionDelay:l?`${80+M*45}ms`:"0ms"},children:[T.jsx("div",{className:"text-[15px] font-medium leading-snug",style:{color:E.ink},children:D[0]&&T.jsx(wh,{cell:D[0]})}),T.jsx("div",{className:"mt-2.5 flex flex-wrap gap-x-6 gap-y-2",children:D.slice(1).map((I,k)=>T.jsxs("div",{className:"flex flex-col gap-0.5",children:[T.jsx("span",{className:"text-[10px] font-medium uppercase tracking-[0.04em]",style:{color:E.muted},children:i[k+1]?.label}),T.jsx("span",{className:"text-sm tabular-nums",style:{color:E.ink},children:T.jsx(wh,{cell:I})})]},k))})]},M),e[11]=l,e[12]=i,e[13]=s,e[14]=A):A=e[14],h=o.map(A),e[6]=l,e[7]=i,e[8]=s,e[9]=o,e[10]=h}else h=e[10];let v;e[15]!==h?(v=T.jsx("ul",{className:"flex min-h-0 flex-1 flex-col gap-2.5 overflow-y-auto py-1 sm:hidden",style:f,children:h}),e[15]=h,e[16]=v):v=e[16];const d=l?"true":"false",p=l?"100ms":"0ms";let g;e[17]!==p?(g={background:E.surface,border:`1px solid ${E.cardBorder}`,transitionDelay:p},e[17]=p,e[18]=g):g=e[18];let m;if(e[19]!==i||e[20]!==u){let A;e[22]!==u?(A=(D,M)=>T.jsx("th",{className:at("text-[11px] font-medium uppercase tracking-wide sm:text-sm",u?"px-3 py-2.5 sm:px-5 sm:py-3":"px-3 py-3 sm:px-6 sm:py-4",D.align==="right"?"text-right":"text-left"),style:{color:E.muted,borderBottom:`1px solid ${E.border}`},children:D.label},M),e[22]=u,e[23]=A):A=e[23],m=i.map(A),e[19]=i,e[20]=u,e[21]=m}else m=e[21];let y;e[24]!==m?(y=T.jsx("thead",{children:T.jsx("tr",{children:m})}),e[24]=m,e[25]=y):y=e[25];let x;if(e[26]!==i||e[27]!==u||e[28]!==s||e[29]!==o){let A;e[31]!==i||e[32]!==u||e[33]!==s||e[34]!==o.length?(A=(D,M)=>T.jsx("tr",{style:{borderBottom:M<o.length-1?`1px solid ${E.border}`:void 0,background:M===s?"rgba(40,37,36,0.04)":void 0},children:D.map((I,k)=>{const P=i[k]?.align==="right";return T.jsx("td",{className:at("align-top tracking-[-0.01em] tabular-nums",u?"px-3 py-1.5 text-sm sm:px-5 sm:py-2.5 sm:text-base":"px-3 py-3 text-sm sm:px-6 sm:py-4 sm:text-lg",P?"text-right":"text-left font-medium"),children:T.jsx(wh,{cell:I})},k)})},M),e[31]=i,e[32]=u,e[33]=s,e[34]=o.length,e[35]=A):A=e[35],x=o.map(A),e[26]=i,e[27]=u,e[28]=s,e[29]=o,e[30]=x}else x=e[30];let _;e[36]!==x?(_=T.jsx("tbody",{children:x}),e[36]=x,e[37]=_):_=e[37];let S;e[38]!==_||e[39]!==y?(S=T.jsxs("table",{className:"w-full border-collapse",children:[y,_]}),e[38]=_,e[39]=y,e[40]=S):S=e[40];let b;e[41]!==S||e[42]!==d||e[43]!==g?(b=T.jsx("div",{className:"reveal hidden w-full overflow-hidden rounded-xl sm:block","data-show":d,style:g,children:S}),e[41]=S,e[42]=d,e[43]=g,e[44]=b):b=e[44];let w;e[45]!==b||e[46]!==v?(w=T.jsxs("div",{className:"flex min-h-0 flex-1 flex-col px-5 pt-3 sm:items-center sm:justify-center sm:px-10 sm:pt-4 lg:px-16",children:[v,b]}),e[45]=b,e[46]=v,e[47]=w):w=e[47];let C;return e[48]!==c||e[49]!==w?(C=T.jsxs("div",{className:"flex h-full flex-col",children:[c,w]}),e[48]=c,e[49]=w,e[50]=C):C=e[50],C}const l0={color:"#ef4444",tint:"rgba(239,68,68,0.12)"},u0={color:"#d98324",tint:"rgba(217,131,36,0.12)"},N2={Crítico:l0,Critical:l0,Atenção:u0,Warning:u0},O2={color:E.muted,tint:"rgba(13,9,6,0.06)"};function EP(r){const e=[];for(const t of r){const[a,n,i]=t;if(t.length!==3||a?.kind!=="text"||n?.kind!=="text"||i?.kind!=="badge")return null;const o={title:n.value.replace(/^✗\s*/,""),severity:i.label},s=e[e.length-1];s&&s.page===a.value?s.issues.push(o):e.push({page:a.value,issues:[o]})}return e.length>0?e:null}function c0(r){const e=ge.c(6),{severity:t}=r,a=N2[t]??O2;let n;e[0]!==a.color||e[1]!==a.tint?(n={color:a.color,background:a.tint},e[0]=a.color,e[1]=a.tint,e[2]=n):n=e[2];let i;return e[3]!==t||e[4]!==n?(i=T.jsx("span",{className:"shrink-0 rounded-full px-2 py-0.5 text-[10px] font-medium leading-[1.4] sm:text-[11px]",style:n,children:t}),e[3]=t,e[4]=n,e[5]=i):i=e[5],i}function f0(r){const e=ge.c(2),{severity:t}=r,a=N2[t]??O2;let n;return e[0]!==a.color?(n=T.jsx("span",{className:"shrink-0 text-sm font-semibold leading-snug sm:text-base",style:{color:a.color},children:"✗"}),e[0]=a.color,e[1]=n):n=e[1],n}function NP(r){const e=lt(),{eyebrow:t,headline:a,annotation:n,rows:i,active:o}=r,s=EP(i);if(!s)return T.jsx(E2,{...r});const l=s.length>1,u=s.flatMap(f=>f.issues.map(h=>({...h,page:f.page})));let c=0;return T.jsxs("div",{className:"flex h-full flex-col",children:[T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),T.jsxs("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-2 sm:px-10 sm:py-4 lg:px-16",children:[T.jsx("div",{className:"reveal my-auto w-full rounded-2xl px-3.5 py-1 sm:hidden","data-show":o?"true":"false",style:{background:E.surface,border:`1px solid ${E.border}`,transitionDelay:o?"80ms":"0ms"},children:s.map((f,h)=>T.jsxs("div",{className:"py-[min(0.625rem,1.2svh)]",style:{borderTop:h>0?`1px solid ${E.border}`:void 0},children:[T.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[T.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.08em]",style:{color:E.muted},children:f.page}),f.issues.length>1&&T.jsxs("span",{className:"text-[11px] tabular-nums",style:{color:E.muted,opacity:.7},children:[f.issues.length," ",e("reports.paginasVariant.found")]})]}),f.issues.map((v,d)=>{const p=140+c++*60;return T.jsxs("div",{className:"reveal mt-[min(0.375rem,0.8svh)] flex items-baseline gap-2","data-show":o?"true":"false",style:{transitionDelay:o?`${p}ms`:"0ms"},children:[T.jsx(f0,{severity:v.severity}),T.jsx("span",{className:"min-w-0 flex-1 line-clamp-2 text-[13px] font-medium leading-snug tracking-[-0.01em]",style:{color:E.ink},children:v.title}),T.jsx(c0,{severity:v.severity})]},d)})]},h))}),T.jsx("div",{className:"my-auto hidden w-full gap-4 sm:grid sm:grid-cols-2 lg:grid-cols-3",children:u.map((f,h)=>T.jsxs("div",{className:"reveal flex flex-col gap-3 rounded-2xl px-5 py-4","data-show":o?"true":"false",style:{background:E.surface,border:`1px solid ${E.border}`,transitionDelay:o?`${100+h*60}ms`:"0ms"},children:[l&&T.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.08em]",style:{color:E.muted},children:f.page}),T.jsxs("div",{className:"flex items-start gap-2.5",children:[T.jsx(f0,{severity:f.severity}),T.jsx("span",{className:"min-w-0 flex-1 text-sm font-medium leading-snug tracking-[-0.01em] lg:text-[15px]",style:{color:E.ink},children:f.title})]}),T.jsx("div",{className:"mt-auto",children:T.jsx(c0,{severity:f.severity})})]},h))})]})]})}const OP={1:"#c8a24b",2:"#9aa0a6",3:"#b07a48"};function BP(r){const e=ge.c(28),{product:t,rank:a,active:n,delay:i}=r,[o,s]=Re.useState(!!t.image),l=OP[a],u=n?"true":"false",c=n?`${i}ms`:"0ms";let f;e[0]!==c?(f={borderColor:E.cardBorder,transitionDelay:c},e[0]=c,e[1]=f):f=e[1];let h;e[2]===Symbol.for("react.memo_cache_sentinel")?(h={background:"#f6f4f1"},e[2]=h):h=e[2];let v;e[3]!==o||e[4]!==t.image||e[5]!==t.name?(v=o&&t.image?T.jsx("img",{src:t.image,alt:t.name,className:"h-full w-full object-cover transition-transform duration-700 ease-out group-hover:scale-[1.04]",loading:"lazy",onError:()=>s(!1)}):T.jsx("span",{className:"grid h-full w-full place-items-center",children:T.jsx(pt,{name:"package_2",size:"xxl",class:"opacity-15"})}),e[3]=o,e[4]=t.image,e[5]=t.name,e[6]=v):v=e[6];let d;e[7]!==l?(d=l?{background:l,color:"#fff"}:{background:"rgba(255,255,255,0.92)",color:E.muted,border:`1px solid ${E.cardBorder}`},e[7]=l,e[8]=d):d=e[8];let p;e[9]!==a||e[10]!==d?(p=T.jsxs("span",{className:"absolute left-2 top-2 inline-flex h-6 items-center gap-1 rounded-full px-2 text-[11px] font-medium tabular-nums",style:d,children:["#",a]}),e[9]=a,e[10]=d,e[11]=p):p=e[11];let g;e[12]!==v||e[13]!==p?(g=T.jsxs("div",{className:"relative aspect-[3/4] w-full overflow-hidden rounded-md",style:h,children:[v,p]}),e[12]=v,e[13]=p,e[14]=g):g=e[14];let m;e[15]===Symbol.for("react.memo_cache_sentinel")?(m={color:E.ink},e[15]=m):m=e[15];let y;e[16]!==t.name?(y=T.jsx("span",{className:"line-clamp-2 min-w-0 text-[13px] leading-snug sm:text-[13.5px]",style:m,children:t.name}),e[16]=t.name,e[17]=y):y=e[17];let x;e[18]!==t.price?(x=t.price&&T.jsx("span",{className:"mt-auto pt-1 text-[15px] font-medium tabular-nums tracking-[-0.01em] sm:text-[17px]",style:{color:E.ink},children:t.price}),e[18]=t.price,e[19]=x):x=e[19];let _;e[20]!==y||e[21]!==x?(_=T.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1 px-1.5 pb-1 pt-2.5",children:[y,x]}),e[20]=y,e[21]=x,e[22]=_):_=e[22];let S;return e[23]!==u||e[24]!==_||e[25]!==f||e[26]!==g?(S=T.jsxs("div",{className:"reveal group flex w-[52vw] max-w-[210px] shrink-0 snap-center flex-col rounded-xl border bg-white p-1.5 transition-shadow duration-500 hover:shadow-[0_20px_44px_-24px_rgba(40,37,36,0.32)] sm:w-auto sm:max-w-none sm:shrink sm:snap-align-none","data-show":u,style:f,children:[g,_]}),e[23]=u,e[24]=_,e[25]=f,e[26]=g,e[27]=S):S=e[27],S}function zP(r){return r<=2?"sm:grid-cols-2":r===3?"sm:grid-cols-3":r===4?"sm:grid-cols-4":r===5?"sm:grid-cols-5":"sm:grid-cols-3 lg:grid-cols-6"}function VP(r){const e=ge.c(27),{eyebrow:t,headline:a,annotation:n,products:i,active:o}=r,s=o===void 0?!1:o;let l,u,c,f,h;if(e[0]!==s||e[1]!==n||e[2]!==t||e[3]!==a||e[4]!==i){const g=i.slice(0,6);f="flex h-full flex-col",e[10]!==s||e[11]!==n||e[12]!==t||e[13]!==a?(h=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:s}),e[10]=s,e[11]=n,e[12]=t,e[13]=a,e[14]=h):h=e[14],c="flex min-h-0 flex-1 flex-col justify-center pt-4 sm:px-10 sm:pt-12 lg:px-16",l=at("flex w-full snap-x snap-mandatory gap-3 overflow-x-auto overscroll-x-contain px-5 scroll-px-5 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden sm:grid sm:snap-none sm:gap-4 sm:overflow-x-visible sm:px-0",zP(g.length));let m;e[15]!==s?(m=(y,x)=>T.jsx(BP,{product:y,rank:x+1,active:s,delay:60+x*55},x),e[15]=s,e[16]=m):m=e[16],u=g.map(m),e[0]=s,e[1]=n,e[2]=t,e[3]=a,e[4]=i,e[5]=l,e[6]=u,e[7]=c,e[8]=f,e[9]=h}else l=e[5],u=e[6],c=e[7],f=e[8],h=e[9];let v;e[17]!==l||e[18]!==u?(v=T.jsx("div",{className:l,children:u}),e[17]=l,e[18]=u,e[19]=v):v=e[19];let d;e[20]!==c||e[21]!==v?(d=T.jsx("div",{className:c,children:v}),e[20]=c,e[21]=v,e[22]=d):d=e[22];let p;return e[23]!==f||e[24]!==h||e[25]!==d?(p=T.jsxs("div",{className:f,children:[h,d]}),e[23]=f,e[24]=h,e[25]=d,e[26]=p):p=e[26],p}function h0(r){if(!r)return null;const e=r.replace(/\s/g,"").match(/^[^\d]*([\d.,]+)\s*([kKmMbB])?/);if(!e)return null;const t=Number.parseFloat((e[1]??"").replace(/\./g,"").replace(",","."));if(Number.isNaN(t))return null;const a=(e[2]||"").toLowerCase();return t*(a==="b"?1e9:a==="m"?1e6:a==="k"?1e3:1)}function GP(r){return!!r&&!/\s/.test(r)&&/\.[a-z]{2,}$/i.test(r.replace(/\/+$/,""))}function FP(r){const e=ge.c(17),{name:t,className:a}=r,[n,i]=Re.useState(!1);let o;e[0]!==t?(o=t?.replace(/^https?:\/\//,"").replace(/\/.*$/,""),e[0]=t,e[1]=o):o=e[1];const s=o;let l;e[2]!==t?(l=(t??"?").replace(/^https?:\/\//,"").replace(/^www\./,"")[0]?.toUpperCase()??"?",e[2]=t,e[3]=l):l=e[3];const u=l;let c;e[4]!==n||e[5]!==t?(c=GP(t)&&!n,e[4]=n,e[5]=t,e[6]=c):c=e[6];const f=c;let h;e[7]!==a?(h=at("grid shrink-0 place-items-center overflow-hidden rounded-[10px]",a),e[7]=a,e[8]=h):h=e[8];let v;e[9]===Symbol.for("react.memo_cache_sentinel")?(v={background:E.surface,border:`1px solid ${E.border}`},e[9]=v):v=e[9];let d;e[10]!==s||e[11]!==u||e[12]!==f?(d=f?T.jsx("img",{src:`https://www.google.com/s2/favicons?sz=64&domain=${encodeURIComponent(s??"")}`,alt:"",className:"h-full w-full object-contain p-1",onError:()=>i(!0)}):T.jsx("span",{className:"text-xs font-medium",style:{color:E.muted},children:u}),e[10]=s,e[11]=u,e[12]=f,e[13]=d):d=e[13];let p;return e[14]!==h||e[15]!==d?(p=T.jsx("span",{className:h,style:v,children:d}),e[14]=h,e[15]=d,e[16]=p):p=e[16],p}function HP(r){return r?r.replace(/^https?:\/\//,"").replace(/^www\./,"").replace(/\/+$/,""):""}const v0="h-[min(2.5rem,4svh)] w-[min(2.5rem,4svh)] sm:h-10 sm:w-10",d0=r=>r==="good"?0:r==="bad"?2:1;function jP(r){const e=ge.c(33),{eyebrow:t,headline:a,annotation:n,rivalLabel:i,dimensions:o,faviconUrl:s,active:l}=r,u=lt();let c,f,h,v,d;if(e[0]!==l||e[1]!==n||e[2]!==o||e[3]!==t||e[4]!==s||e[5]!==a||e[6]!==i||e[7]!==u){const y=o.map($P).sort(WP);v="flex h-full flex-col",e[13]!==l||e[14]!==n||e[15]!==t||e[16]!==a?(d=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:l}),e[13]=l,e[14]=n,e[15]=t,e[16]=a,e[17]=d):d=e[17],h="flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-[min(1rem,1.2svh)] sm:px-10 sm:py-4 lg:px-16",c="my-auto flex w-full flex-col";let x;e[18]!==l||e[19]!==s||e[20]!==i||e[21]!==u?(x=(_,S)=>{const{d:b,i:w}=_,C=b.tone==="good"?ft.good:b.tone==="bad"?ft.bad:E.muted,A=!!(b.rival||b.rivalName),D=h0(b.you),M=h0(b.rival),k=D!=null&&M!=null&&D+M>0?Math.min(.9,Math.max(.1,D/(D+M))):b.tone==="good"?.72:b.tone==="bad"?.28:.5,P=b.tone==="good",R=b.tone==="bad",N=P?ft.good:R?ft.bad:E.muted;return T.jsxs("div",{className:"reveal flex flex-col gap-[min(0.5rem,0.9svh)] py-[min(0.75rem,1.1svh)] sm:gap-2 sm:py-3","data-show":l?"true":"false",style:{borderTop:S===0?"none":`1px solid ${E.cardBorder}`,transitionDelay:l?`${80+S*55}ms`:"0ms"},children:[T.jsxs("div",{className:"flex items-center justify-between gap-3",children:[T.jsx("span",{className:"min-w-0 truncate text-sm font-medium sm:text-[15px]",style:{color:E.ink},children:b.label}),T.jsxs("span",{className:"flex shrink-0 items-center gap-1 text-[11px] font-medium sm:text-xs",style:{color:N},children:[(P||R)&&T.jsx(pt,{name:P?"trending_up":"trending_down",size:"xs"}),P?u("reports.scorecardTemplate.youLead"):R?u("reports.scorecardTemplate.rivalLeads",{rival:HP(b.rivalName)||i||u("reports.competitorTemplate.competitor")}):u(A?"reports.scorecardTemplate.tie":"reports.scorecardTemplate.noComparison")]})]}),T.jsxs("div",{className:"flex items-center gap-2.5 sm:gap-3",children:[T.jsx("img",{src:s,alt:"",width:32,height:32,className:at("shrink-0 rounded-[10px] border bg-white p-1",v0),style:{borderColor:E.border}}),T.jsx("span",{className:"shrink-0 text-[min(1.125rem,2.5svh)] font-normal tabular-nums tracking-[-0.01em] sm:text-xl",style:{color:C},children:b.you}),T.jsx("span",{className:"relative h-3.5 flex-1 overflow-hidden rounded-full",style:{background:"rgba(40,37,36,0.07)"},children:T.jsx("span",{className:"absolute inset-y-0 left-0 rounded-full transition-[width] duration-700 ease-out",style:{width:l?`${k*100}%`:"0%",background:C}})}),A&&T.jsxs(T.Fragment,{children:[T.jsx("span",{className:"shrink-0 text-[min(1.125rem,2.5svh)] tabular-nums sm:text-xl",style:{color:E.muted},children:b.rival??"—"}),T.jsx(FP,{name:b.rivalName,className:v0})]})]})]},w)},e[18]=l,e[19]=s,e[20]=i,e[21]=u,e[22]=x):x=e[22],f=y.map(x),e[0]=l,e[1]=n,e[2]=o,e[3]=t,e[4]=s,e[5]=a,e[6]=i,e[7]=u,e[8]=c,e[9]=f,e[10]=h,e[11]=v,e[12]=d}else c=e[8],f=e[9],h=e[10],v=e[11],d=e[12];let p;e[23]!==c||e[24]!==f?(p=T.jsx("div",{className:c,children:f}),e[23]=c,e[24]=f,e[25]=p):p=e[25];let g;e[26]!==h||e[27]!==p?(g=T.jsx("div",{className:h,children:p}),e[26]=h,e[27]=p,e[28]=g):g=e[28];let m;return e[29]!==v||e[30]!==d||e[31]!==g?(m=T.jsxs("div",{className:v,children:[d,g]}),e[29]=v,e[30]=d,e[31]=g,e[32]=m):m=e[32],m}function WP(r,e){return d0(r.d.tone)-d0(e.d.tone)||r.i-e.i}function $P(r,e){return{d:r,i:e}}var Zd=function(r,e){return Zd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])},Zd(r,e)};function z(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Zd(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var UP=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),YP=(function(){function r(){this.browser=new UP,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),Me=new YP;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Me.wxa=!0,Me.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Me.worker=!0:!Me.hasGlobalWindow||"Deno"in window?(Me.node=!0,Me.svgSupported=!0):XP(navigator.userAgent,Me);function XP(r,e){var t=e.browser,a=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),i=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(t.firefox=!0,t.version=a[1]),n&&(t.ie=!0,t.version=n[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),o&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11),e.domSupported=typeof document<"u";var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}var $g=12,B2="sans-serif",bn=$g+"px "+B2,ZP=20,KP=100,qP="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function JP(r){var e={};if(typeof JSON>"u")return e;for(var t=0;t<r.length;t++){var a=String.fromCharCode(t+32),n=(r.charCodeAt(t)-ZP)/KP;e[a]=n}return e}var QP=JP(qP),Sn={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var r,e;return function(t,a){if(!r){var n=Sn.createCanvas();r=n&&n.getContext("2d")}if(r)return e!==a&&(e=r.font=a||bn),r.measureText(t);t=t||"",a=a||bn;var i=/((?:\d+)?\.?\d*)px/.exec(a),o=i&&+i[1]||$g,s=0;if(a.indexOf("mono")>=0)s=o*t.length;else for(var l=0;l<t.length;l++){var u=QP[t[l]];s+=u==null?o:u*o}return{width:s}}})(),loadImage:function(r,e,t){var a=new Image;return a.onload=e,a.onerror=t,a.src=r,a}},z2=pa(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,e){return r["[object "+e+"]"]=!0,r},{}),V2=pa(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,e){return r["[object "+e+"Array]"]=!0,r},{}),jo=Object.prototype.toString,Ef=Array.prototype,e5=Ef.forEach,t5=Ef.filter,Ug=Ef.slice,r5=Ef.map,p0=(function(){}).constructor,uu=p0?p0.prototype:null,Yg="__proto__",a5=2311;function G2(){return a5++}function Xg(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];typeof console<"u"&&console.error.apply(console,r)}function ue(r){if(r==null||typeof r!="object")return r;var e=r,t=jo.call(r);if(t==="[object Array]"){if(!Zs(r)){e=[];for(var a=0,n=r.length;a<n;a++)e[a]=ue(r[a])}}else if(V2[t]){if(!Zs(r)){var i=r.constructor;if(i.from)e=i.from(r);else{e=new i(r.length);for(var a=0,n=r.length;a<n;a++)e[a]=r[a]}}}else if(!z2[t]&&!Zs(r)&&!Po(r)){e={};for(var o in r)r.hasOwnProperty(o)&&o!==Yg&&(e[o]=ue(r[o]))}return e}function xe(r,e,t){if(!le(e)||!le(r))return t?ue(e):r;for(var a in e)if(e.hasOwnProperty(a)&&a!==Yg){var n=r[a],i=e[a];le(i)&&le(n)&&!W(i)&&!W(n)&&!Po(i)&&!Po(n)&&!g0(i)&&!g0(n)&&!Zs(i)&&!Zs(n)?xe(n,i,t):(t||!(a in r))&&(r[a]=ue(e[a]))}return r}function Zg(r,e){for(var t=r[0],a=1,n=r.length;a<n;a++)t=xe(t,r[a],e);return t}function H(r,e){if(Object.assign)Object.assign(r,e);else for(var t in e)e.hasOwnProperty(t)&&t!==Yg&&(r[t]=e[t]);return r}function se(r,e,t){for(var a=Ie(e),n=0,i=a.length;n<i;n++){var o=a[n];(t?e[o]!=null:r[o]==null)&&(r[o]=e[o])}return r}function we(r,e){if(r){if(r.indexOf)return r.indexOf(e);for(var t=0,a=r.length;t<a;t++)if(r[t]===e)return t}return-1}function n5(r,e){var t=r.prototype;function a(){}a.prototype=e.prototype,r.prototype=new a;for(var n in t)t.hasOwnProperty(n)&&(r.prototype[n]=t[n]);r.prototype.constructor=r,r.superClass=e}function xt(r,e,t){if(r="prototype"in r?r.prototype:r,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var a=Object.getOwnPropertyNames(e),n=0;n<a.length;n++){var i=a[n];i!=="constructor"&&(t?e[i]!=null:r[i]==null)&&(r[i]=e[i])}else se(r,e,t)}function Wt(r){return!r||typeof r=="string"?!1:typeof r.length=="number"}function L(r,e,t){if(r&&e)if(r.forEach&&r.forEach===e5)r.forEach(e,t);else if(r.length===+r.length)for(var a=0,n=r.length;a<n;a++)e.call(t,r[a],a,r);else for(var i in r)r.hasOwnProperty(i)&&e.call(t,r[i],i,r)}function $(r,e,t){if(!r)return[];if(!e)return Kg(r);if(r.map&&r.map===r5)return r.map(e,t);for(var a=[],n=0,i=r.length;n<i;n++)a.push(e.call(t,r[n],n,r));return a}function pa(r,e,t,a){if(r&&e){for(var n=0,i=r.length;n<i;n++)t=e.call(a,t,r[n],n,r);return t}}function Ge(r,e,t){if(!r)return[];if(!e)return Kg(r);if(r.filter&&r.filter===t5)return r.filter(e,t);for(var a=[],n=0,i=r.length;n<i;n++)e.call(t,r[n],n,r)&&a.push(r[n]);return a}function i5(r,e,t){if(r&&e){for(var a=0,n=r.length;a<n;a++)if(e.call(t,r[a],a,r))return r[a]}}function Ie(r){if(!r)return[];if(Object.keys)return Object.keys(r);var e=[];for(var t in r)r.hasOwnProperty(t)&&e.push(t);return e}function o5(r,e){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];return function(){return r.apply(e,t.concat(Ug.call(arguments)))}}var ee=uu&&oe(uu.bind)?uu.call.bind(uu.bind):o5;function me(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return function(){return r.apply(this,e.concat(Ug.call(arguments)))}}function W(r){return Array.isArray?Array.isArray(r):jo.call(r)==="[object Array]"}function oe(r){return typeof r=="function"}function q(r){return typeof r=="string"}function Kd(r){return jo.call(r)==="[object String]"}function Ne(r){return typeof r=="number"}function le(r){var e=typeof r;return e==="function"||!!r&&e==="object"}function g0(r){return!!z2[jo.call(r)]}function fr(r){return!!V2[jo.call(r)]}function Po(r){return typeof r=="object"&&typeof r.nodeType=="number"&&typeof r.ownerDocument=="object"}function Nf(r){return r.colorStops!=null}function s5(r){return r.image!=null}function l5(r){return jo.call(r)==="[object RegExp]"}function fl(r){return r!==r}function Pt(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];for(var t=0,a=r.length;t<a;t++)if(r[t]!=null)return r[t]}function pe(r,e){return r??e}function va(r,e,t){return r??e??t}function Kg(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Ug.apply(r,e)}function qg(r){if(typeof r=="number")return[r,r,r,r];var e=r.length;return e===2?[r[0],r[1],r[0],r[1]]:e===3?[r[0],r[1],r[2],r[1]]:r}function Qt(r,e){if(!r)throw new Error(e)}function $r(r){return r==null?null:typeof r.trim=="function"?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var F2="__ec_primitive__";function Nc(r){r[F2]=!0}function Zs(r){return r[F2]}var u5=(function(){function r(){this.data={}}return r.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},r.prototype.has=function(e){return this.data.hasOwnProperty(e)},r.prototype.get=function(e){return this.data[e]},r.prototype.set=function(e,t){return this.data[e]=t,this},r.prototype.keys=function(){return Ie(this.data)},r.prototype.forEach=function(e){var t=this.data;for(var a in t)t.hasOwnProperty(a)&&e(t[a],a)},r})(),H2=typeof Map=="function";function c5(){return H2?new Map:new u5}var f5=(function(){function r(e){var t=W(e);this.data=c5();var a=this;e instanceof r?e.each(n):e&&L(e,n);function n(i,o){t?a.set(i,o):a.set(o,i)}}return r.prototype.hasKey=function(e){return this.data.has(e)},r.prototype.get=function(e){return this.data.get(e)},r.prototype.set=function(e,t){return this.data.set(e,t),t},r.prototype.each=function(e,t){this.data.forEach(function(a,n){e.call(t,a,n)})},r.prototype.keys=function(){var e=this.data.keys();return H2?Array.from(e):e},r.prototype.removeKey=function(e){this.data.delete(e)},r})();function re(r){return new f5(r)}function hl(r,e){for(var t=new r.constructor(r.length+e.length),a=0;a<r.length;a++)t[a]=r[a];for(var n=r.length,a=0;a<e.length;a++)t[a+n]=e[a];return t}function Of(r,e){var t;if(Object.create)t=Object.create(r);else{var a=function(){};a.prototype=r,t=new a}return e&&H(t,e),t}function j2(r){var e=r.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function te(r,e){return r.hasOwnProperty(e)}function ht(){}var vc=180/Math.PI;function zi(r,e){return r==null&&(r=0),e==null&&(e=0),[r,e]}function Yt(r,e){return r[0]=e[0],r[1]=e[1],r}function Ia(r){return[r[0],r[1]]}function h5(r,e,t){return r[0]=e,r[1]=t,r}function m0(r,e,t){return r[0]=e[0]+t[0],r[1]=e[1]+t[1],r}function qd(r,e,t,a){return r[0]=e[0]+t[0]*a,r[1]=e[1]+t[1]*a,r}function vi(r,e,t){return r[0]=e[0]-t[0],r[1]=e[1]-t[1],r}function Jd(r){return Math.sqrt(v5(r))}function v5(r){return r[0]*r[0]+r[1]*r[1]}function dc(r,e,t){return r[0]=e[0]*t,r[1]=e[1]*t,r}function Wo(r,e){var t=Jd(e);return t===0?(r[0]=0,r[1]=0):(r[0]=e[0]/t,r[1]=e[1]/t),r}function Qd(r,e){return Math.sqrt((r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1]))}var ln=Qd;function d5(r,e){return(r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1])}var Si=d5;function pc(r,e,t,a){return r[0]=e[0]+a*(t[0]-e[0]),r[1]=e[1]+a*(t[1]-e[1]),r}function Ot(r,e,t){var a=e[0],n=e[1];return r[0]=t[0]*a+t[2]*n+t[4],r[1]=t[1]*a+t[3]*n+t[5],r}function un(r,e,t){return r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r}function cn(r,e,t){return r[0]=Math.max(e[0],t[0]),r[1]=Math.max(e[1],t[1]),r}var Yi=(function(){function r(e,t){this.target=e,this.topTarget=t&&t.topTarget}return r})(),p5=(function(){function r(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Yi(t,e),"dragstart",e.event))},r.prototype._drag=function(e){var t=this._draggingTarget;if(t){var a=e.offsetX,n=e.offsetY,i=a-this._x,o=n-this._y;this._x=a,this._y=n,t.drift(i,o,e),this.handler.dispatchToElement(new Yi(t,e),"drag",e.event);var s=this.handler.findHover(a,n,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Yi(l,e),"dragleave",e.event),s&&s!==l&&this.handler.dispatchToElement(new Yi(s,e),"dragenter",e.event))}},r.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new Yi(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Yi(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},r})(),Nr=(function(){function r(e){e&&(this._$eventProcessor=e)}return r.prototype.on=function(e,t,a,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof t=="function"&&(n=a,a=t,t=null),!a||!e)return this;var o=this._$eventProcessor;t!=null&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var s=0;s<i[e].length;s++)if(i[e][s].h===a)return this;var l={h:a,query:t,ctx:n||this,callAtLast:a.zrEventfulCallAtLast},u=i[e].length-1,c=i[e][u];return c&&c.callAtLast?i[e].splice(u,0,l):i[e].push(l),this},r.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},r.prototype.off=function(e,t){var a=this._$handlers;if(!a)return this;if(!e)return this._$handlers={},this;if(t){if(a[e]){for(var n=[],i=0,o=a[e].length;i<o;i++)a[e][i].h!==t&&n.push(a[e][i]);a[e]=n}a[e]&&a[e].length===0&&delete a[e]}else delete a[e];return this},r.prototype.trigger=function(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var o=t.length,s=n.length,l=0;l<s;l++){var u=n[l];if(!(i&&i.filter&&u.query!=null&&!i.filter(e,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,t[0]);break;case 2:u.h.call(u.ctx,t[0],t[1]);break;default:u.h.apply(u.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},r.prototype.triggerWithContext=function(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var o=t.length,s=t[o-1],l=n.length,u=0;u<l;u++){var c=n[u];if(!(i&&i.filter&&c.query!=null&&!i.filter(e,c.query)))switch(o){case 0:c.h.call(s);break;case 1:c.h.call(s,t[0]);break;case 2:c.h.call(s,t[0],t[1]);break;default:c.h.apply(s,t.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},r})(),g5=Math.log(2);function ep(r,e,t,a,n,i){var o=a+"-"+n,s=r.length;if(i.hasOwnProperty(o))return i[o];if(e===1){var l=Math.round(Math.log((1<<s)-1&~n)/g5);return r[t][l]}for(var u=a|1<<t,c=t+1;a&1<<c;)c++;for(var f=0,h=0,v=0;h<s;h++){var d=1<<h;d&n||(f+=(v%2?-1:1)*r[t][h]*ep(r,e-1,c,u,n|d,i),v++)}return i[o]=f,f}function y0(r,e){var t=[[r[0],r[1],1,0,0,0,-e[0]*r[0],-e[0]*r[1]],[0,0,0,r[0],r[1],1,-e[1]*r[0],-e[1]*r[1]],[r[2],r[3],1,0,0,0,-e[2]*r[2],-e[2]*r[3]],[0,0,0,r[2],r[3],1,-e[3]*r[2],-e[3]*r[3]],[r[4],r[5],1,0,0,0,-e[4]*r[4],-e[4]*r[5]],[0,0,0,r[4],r[5],1,-e[5]*r[4],-e[5]*r[5]],[r[6],r[7],1,0,0,0,-e[6]*r[6],-e[6]*r[7]],[0,0,0,r[6],r[7],1,-e[7]*r[6],-e[7]*r[7]]],a={},n=ep(t,8,0,0,0,a);if(n!==0){for(var i=[],o=0;o<8;o++)for(var s=0;s<8;s++)i[s]==null&&(i[s]=0),i[s]+=((o+s)%2?-1:1)*ep(t,7,o===0?1:0,1<<o,1<<s,a)/n*e[o];return function(l,u,c){var f=u*i[6]+c*i[7]+1;l[0]=(u*i[0]+c*i[1]+i[2])/f,l[1]=(u*i[3]+c*i[4]+i[5])/f}}}var x0="___zrEVENTSAVED",Th=[];function m5(r,e,t,a,n){return tp(Th,e,a,n,!0)&&tp(r,t,Th[0],Th[1])}function tp(r,e,t,a,n){if(e.getBoundingClientRect&&Me.domSupported&&!W2(e)){var i=e[x0]||(e[x0]={}),o=y5(e,i),s=x5(o,i,n);if(s)return s(r,t,a),!0}return!1}function y5(r,e){var t=e.markers;if(t)return t;t=e.markers=[];for(var a=["left","right"],n=["top","bottom"],i=0;i<4;i++){var o=document.createElement("div"),s=o.style,l=i%2,u=(i>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",n[u]+":0",a[1-l]+":auto",n[1-u]+":auto",""].join("!important;"),r.appendChild(o),t.push(o)}return t}function x5(r,e,t){for(var a=t?"invTrans":"trans",n=e[a],i=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=r[u].getBoundingClientRect(),f=2*u,h=c.left,v=c.top;o.push(h,v),l=l&&i&&h===i[f]&&v===i[f+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&n?n:(e.srcCoords=o,e[a]=t?y0(s,o):y0(o,s))}function W2(r){return r.nodeName.toUpperCase()==="CANVAS"}var _5=/([&<>"'])/g,b5={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Kt(r){return r==null?"":(r+"").replace(_5,function(e,t){return b5[t]})}var S5=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ch=[],w5=Me.browser.firefox&&+Me.browser.version.split(".")[0]<39;function rp(r,e,t,a){return t=t||{},a?_0(r,e,t):w5&&e.layerX!=null&&e.layerX!==e.offsetX?(t.zrX=e.layerX,t.zrY=e.layerY):e.offsetX!=null?(t.zrX=e.offsetX,t.zrY=e.offsetY):_0(r,e,t),t}function _0(r,e,t){if(Me.domSupported&&r.getBoundingClientRect){var a=e.clientX,n=e.clientY;if(W2(r)){var i=r.getBoundingClientRect();t.zrX=a-i.left,t.zrY=n-i.top;return}else if(tp(Ch,r,a,n)){t.zrX=Ch[0],t.zrY=Ch[1];return}}t.zrX=t.zrY=0}function Jg(r){return r||window.event}function Tr(r,e,t){if(e=Jg(e),e.zrX!=null)return e;var a=e.type,n=a&&a.indexOf("touch")>=0;if(n){var o=a!=="touchend"?e.targetTouches[0]:e.changedTouches[0];o&&rp(r,o,e,t)}else{rp(r,e,e,t);var i=T5(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&S5.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function T5(r){var e=r.wheelDelta;if(e)return e;var t=r.deltaX,a=r.deltaY;if(t==null||a==null)return e;var n=Math.abs(a!==0?a:t),i=a>0?-1:a<0?1:t>0?-1:1;return 3*n*i}function ap(r,e,t,a){r.addEventListener(e,t,a)}function C5(r,e,t,a){r.removeEventListener(e,t,a)}var Na=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function b0(r){return r.which===2||r.which===3}var A5=(function(){function r(){this._track=[]}return r.prototype.recognize=function(e,t,a){return this._doTrack(e,t,a),this._recognize(e)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(e,t,a){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},o=0,s=n.length;o<s;o++){var l=n[o],u=rp(a,l,{});i.points.push([u.zrX,u.zrY]),i.touches.push(l)}this._track.push(i)}},r.prototype._recognize=function(e){for(var t in Ah)if(Ah.hasOwnProperty(t)){var a=Ah[t](this._track,e);if(a)return a}},r})();function S0(r){var e=r[1][0]-r[0][0],t=r[1][1]-r[0][1];return Math.sqrt(e*e+t*t)}function D5(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}var Ah={pinch:function(r,e){var t=r.length;if(t){var a=(r[t-1]||{}).points,n=(r[t-2]||{}).points||a;if(n&&n.length>1&&a&&a.length>1){var i=S0(a)/S0(n);!isFinite(i)&&(i=1),e.pinchScale=i;var o=D5(a);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:r[0].target,event:e}}}}};function pr(){return[1,0,0,1,0,0]}function Bf(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function Qg(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r}function ka(r,e,t){var a=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],o=e[1]*t[2]+e[3]*t[3],s=e[0]*t[4]+e[2]*t[5]+e[4],l=e[1]*t[4]+e[3]*t[5]+e[5];return r[0]=a,r[1]=n,r[2]=i,r[3]=o,r[4]=s,r[5]=l,r}function ga(r,e,t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4]+t[0],r[5]=e[5]+t[1],r}function Vi(r,e,t,a){a===void 0&&(a=[0,0]);var n=e[0],i=e[2],o=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(t),f=Math.cos(t);return r[0]=n*f+s*c,r[1]=-n*c+s*f,r[2]=i*f+l*c,r[3]=-i*c+f*l,r[4]=f*(o-a[0])+c*(u-a[1])+a[0],r[5]=f*(u-a[1])-c*(o-a[0])+a[1],r}function em(r,e,t){var a=t[0],n=t[1];return r[0]=e[0]*a,r[1]=e[1]*n,r[2]=e[2]*a,r[3]=e[3]*n,r[4]=e[4]*a,r[5]=e[5]*n,r}function $o(r,e){var t=e[0],a=e[2],n=e[4],i=e[1],o=e[3],s=e[5],l=t*o-i*a;return l?(l=1/l,r[0]=o*l,r[1]=-i*l,r[2]=-a*l,r[3]=t*l,r[4]=(a*s-o*n)*l,r[5]=(i*n-t*s)*l,r):null}function M5(r){var e=pr();return Qg(e,r),e}var _e=(function(){function r(e,t){this.x=e||0,this.y=t||0}return r.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(e,t){return this.x=e,this.y=t,this},r.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},r.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},r.prototype.scale=function(e){this.x*=e,this.y*=e},r.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},r.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},r.prototype.dot=function(e){return this.x*e.x+this.y*e.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},r.prototype.distance=function(e){var t=this.x-e.x,a=this.y-e.y;return Math.sqrt(t*t+a*a)},r.prototype.distanceSquare=function(e){var t=this.x-e.x,a=this.y-e.y;return t*t+a*a},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(e){if(e){var t=this.x,a=this.y;return this.x=e[0]*t+e[2]*a+e[4],this.y=e[1]*t+e[3]*a+e[5],this}},r.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},r.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},r.set=function(e,t,a){e.x=t,e.y=a},r.copy=function(e,t){e.x=t.x,e.y=t.y},r.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},r.lenSquare=function(e){return e.x*e.x+e.y*e.y},r.dot=function(e,t){return e.x*t.x+e.y*t.y},r.add=function(e,t,a){e.x=t.x+a.x,e.y=t.y+a.y},r.sub=function(e,t,a){e.x=t.x-a.x,e.y=t.y-a.y},r.scale=function(e,t,a){e.x=t.x*a,e.y=t.y*a},r.scaleAndAdd=function(e,t,a,n){e.x=t.x+a.x*n,e.y=t.y+a.y*n},r.lerp=function(e,t,a,n){var i=1-n;e.x=i*t.x+n*a.x,e.y=i*t.y+n*a.y},r})(),cu=Math.min,fu=Math.max,Rn=new _e,En=new _e,Nn=new _e,On=new _e,ss=new _e,ls=new _e,be=(function(){function r(e,t,a,n){a<0&&(e=e+a,a=-a),n<0&&(t=t+n,n=-n),this.x=e,this.y=t,this.width=a,this.height=n}return r.prototype.union=function(e){var t=cu(e.x,this.x),a=cu(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=fu(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=fu(e.y+e.height,this.y+this.height)-a:this.height=e.height,this.x=t,this.y=a},r.prototype.applyTransform=function(e){r.applyTransform(this,this,e)},r.prototype.calculateTransform=function(e){var t=this,a=e.width/t.width,n=e.height/t.height,i=pr();return ga(i,i,[-t.x,-t.y]),em(i,i,[a,n]),ga(i,i,[e.x,e.y]),i},r.prototype.intersect=function(e,t){if(!e)return!1;e instanceof r||(e=r.create(e));var a=this,n=a.x,i=a.x+a.width,o=a.y,s=a.y+a.height,l=e.x,u=e.x+e.width,c=e.y,f=e.y+e.height,h=!(i<l||u<n||s<c||f<o);if(t){var v=1/0,d=0,p=Math.abs(i-l),g=Math.abs(u-n),m=Math.abs(s-c),y=Math.abs(f-o),x=Math.min(p,g),_=Math.min(m,y);i<l||u<n?x>d&&(d=x,p<g?_e.set(ls,-p,0):_e.set(ls,g,0)):x<v&&(v=x,p<g?_e.set(ss,p,0):_e.set(ss,-g,0)),s<c||f<o?_>d&&(d=_,m<y?_e.set(ls,0,-m):_e.set(ls,0,y)):x<v&&(v=x,m<y?_e.set(ss,0,m):_e.set(ss,0,-y))}return t&&_e.copy(t,h?ss:ls),h},r.prototype.contain=function(e,t){var a=this;return e>=a.x&&e<=a.x+a.width&&t>=a.y&&t<=a.y+a.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(e){r.copy(this,e)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(e){return new r(e.x,e.y,e.width,e.height)},r.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},r.applyTransform=function(e,t,a){if(!a){e!==t&&r.copy(e,t);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var n=a[0],i=a[3],o=a[4],s=a[5];e.x=t.x*n+o,e.y=t.y*i+s,e.width=t.width*n,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}Rn.x=Nn.x=t.x,Rn.y=On.y=t.y,En.x=On.x=t.x+t.width,En.y=Nn.y=t.y+t.height,Rn.transform(a),On.transform(a),En.transform(a),Nn.transform(a),e.x=cu(Rn.x,En.x,Nn.x,On.x),e.y=cu(Rn.y,En.y,Nn.y,On.y);var l=fu(Rn.x,En.x,Nn.x,On.x),u=fu(Rn.y,En.y,Nn.y,On.y);e.width=l-e.x,e.height=u-e.y},r})(),$2="silent";function L5(r,e,t){return{type:r,event:t,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:I5}}function I5(){Na(this.event)}var k5=(function(r){z(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.handler=null,t}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e})(Nr),us=(function(){function r(e,t){this.x=e,this.y=t}return r})(),P5=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Dh=new be(0,0,0,0),U2=(function(r){z(e,r);function e(t,a,n,i,o){var s=r.call(this)||this;return s._hovered=new us(0,0),s.storage=t,s.painter=a,s.painterRoot=i,s._pointerSize=o,n=n||new k5,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new p5(s),s}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(L(P5,function(a){t.on&&t.on(a,this[a],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var a=t.zrX,n=t.zrY,i=Y2(this,a,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=i?new us(a,n):this.findHover(a,n),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(l,"mousemove",t),u&&u!==s&&this.dispatchToElement(l,"mouseover",t)},e.prototype.mouseout=function(t){var a=t.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new us(0,0)},e.prototype.dispatch=function(t,a){var n=this[t];n&&n.call(this,a)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var a=this.proxy;a.setCursor&&a.setCursor(t)},e.prototype.dispatchToElement=function(t,a,n){t=t||{};var i=t.target;if(!(i&&i.silent)){for(var o="on"+a,s=L5(a,t,n);i&&(i[o]&&(s.cancelBubble=!!i[o].call(i,s)),i.trigger(a,s),i=i.__hostTarget?i.__hostTarget:i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(a,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(a,s)}))}},e.prototype.findHover=function(t,a,n){var i=this.storage.getDisplayList(),o=new us(t,a);if(w0(i,o,t,a,n),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new be(t-u,a-u,l,l),f=i.length-1;f>=0;f--){var h=i[f];h!==n&&!h.ignore&&!h.ignoreCoarsePointer&&(!h.parent||!h.parent.ignoreCoarsePointer)&&(Dh.copy(h.getBoundingRect()),h.transform&&Dh.applyTransform(h.transform),Dh.intersect(c)&&s.push(h))}if(s.length)for(var v=4,d=Math.PI/12,p=Math.PI*2,g=0;g<u;g+=v)for(var m=0;m<p;m+=d){var y=t+g*Math.cos(m),x=a+g*Math.sin(m);if(w0(s,o,y,x,n),o.target)return o}}return o},e.prototype.processGesture=function(t,a){this._gestureMgr||(this._gestureMgr=new A5);var n=this._gestureMgr;a==="start"&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if(a==="end"&&n.clear(),i){var o=i.type;t.gestureEvent=o;var s=new us;s.target=i.target,this.dispatchToElement(s,o,i.event)}},e})(Nr);L(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(r){U2.prototype[r]=function(e){var t=e.zrX,a=e.zrY,n=Y2(this,t,a),i,o;if((r!=="mouseup"||!n)&&(i=this.findHover(t,a),o=i.target),r==="mousedown")this._downEl=o,this._downPoint=[e.zrX,e.zrY],this._upEl=o;else if(r==="mouseup")this._upEl=o;else if(r==="click"){if(this._downEl!==this._upEl||!this._downPoint||ln(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,r,e)}});function R5(r,e,t){if(r[r.rectHover?"rectContain":"contain"](e,t)){for(var a=r,n=void 0,i=!1;a;){if(a.ignoreClip&&(i=!0),!i){var o=a.getClipPath();if(o&&!o.contain(e,t))return!1}a.silent&&(n=!0);var s=a.__hostTarget;a=s||a.parent}return n?$2:!0}return!1}function w0(r,e,t,a,n){for(var i=r.length-1;i>=0;i--){var o=r[i],s=void 0;if(o!==n&&!o.ignore&&(s=R5(o,t,a))&&(!e.topTarget&&(e.topTarget=o),s!==$2)){e.target=o;break}}}function Y2(r,e,t){var a=r.painter;return e<0||e>a.getWidth()||t<0||t>a.getHeight()}var X2=32,cs=7;function E5(r){for(var e=0;r>=X2;)e|=r&1,r>>=1;return r+e}function T0(r,e,t,a){var n=e+1;if(n===t)return 1;if(a(r[n++],r[e])<0){for(;n<t&&a(r[n],r[n-1])<0;)n++;N5(r,e,n)}else for(;n<t&&a(r[n],r[n-1])>=0;)n++;return n-e}function N5(r,e,t){for(t--;e<t;){var a=r[e];r[e++]=r[t],r[t--]=a}}function C0(r,e,t,a,n){for(a===e&&a++;a<t;a++){for(var i=r[a],o=e,s=a,l;o<s;)l=o+s>>>1,n(i,r[l])<0?s=l:o=l+1;var u=a-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=i}}function Mh(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])>0){for(s=a-n;l<s&&i(r,e[t+n+l])>0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{for(s=n+1;l<s&&i(r,e[t+n-l])<=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=n-l,l=n-u}for(o++;o<l;){var c=o+(l-o>>>1);i(r,e[t+c])>0?o=c+1:l=c}return l}function Lh(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])<0){for(s=n+1;l<s&&i(r,e[t+n-l])<0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=n-l,l=n-u}else{for(s=a-n;l<s&&i(r,e[t+n+l])>=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}for(o++;o<l;){var c=o+(l-o>>>1);i(r,e[t+c])<0?l=c:o=c+1}return l}function O5(r,e){var t=cs,a,n,i=0,o=[];a=[],n=[];function s(v,d){a[i]=v,n[i]=d,i+=1}function l(){for(;i>1;){var v=i-2;if(v>=1&&n[v-1]<=n[v]+n[v+1]||v>=2&&n[v-2]<=n[v]+n[v-1])n[v-1]<n[v+1]&&v--;else if(n[v]>n[v+1])break;c(v)}}function u(){for(;i>1;){var v=i-2;v>0&&n[v-1]<n[v+1]&&v--,c(v)}}function c(v){var d=a[v],p=n[v],g=a[v+1],m=n[v+1];n[v]=p+m,v===i-3&&(a[v+1]=a[v+2],n[v+1]=n[v+2]),i--;var y=Lh(r[g],r,d,p,0,e);d+=y,p-=y,p!==0&&(m=Mh(r[d+p-1],r,g,m,m-1,e),m!==0&&(p<=m?f(d,p,g,m):h(d,p,g,m)))}function f(v,d,p,g){var m=0;for(m=0;m<d;m++)o[m]=r[v+m];var y=0,x=p,_=v;if(r[_++]=r[x++],--g===0){for(m=0;m<d;m++)r[_+m]=o[y+m];return}if(d===1){for(m=0;m<g;m++)r[_+m]=r[x+m];r[_+g]=o[y];return}for(var S=t,b,w,C;;){b=0,w=0,C=!1;do if(e(r[x],o[y])<0){if(r[_++]=r[x++],w++,b=0,--g===0){C=!0;break}}else if(r[_++]=o[y++],b++,w=0,--d===1){C=!0;break}while((b|w)<S);if(C)break;do{if(b=Lh(r[x],o,y,d,0,e),b!==0){for(m=0;m<b;m++)r[_+m]=o[y+m];if(_+=b,y+=b,d-=b,d<=1){C=!0;break}}if(r[_++]=r[x++],--g===0){C=!0;break}if(w=Mh(o[y],r,x,g,0,e),w!==0){for(m=0;m<w;m++)r[_+m]=r[x+m];if(_+=w,x+=w,g-=w,g===0){C=!0;break}}if(r[_++]=o[y++],--d===1){C=!0;break}S--}while(b>=cs||w>=cs);if(C)break;S<0&&(S=0),S+=2}if(t=S,t<1&&(t=1),d===1){for(m=0;m<g;m++)r[_+m]=r[x+m];r[_+g]=o[y]}else{if(d===0)throw new Error;for(m=0;m<d;m++)r[_+m]=o[y+m]}}function h(v,d,p,g){var m=0;for(m=0;m<g;m++)o[m]=r[p+m];var y=v+d-1,x=g-1,_=p+g-1,S=0,b=0;if(r[_--]=r[y--],--d===0){for(S=_-(g-1),m=0;m<g;m++)r[S+m]=o[m];return}if(g===1){for(_-=d,y-=d,b=_+1,S=y+1,m=d-1;m>=0;m--)r[b+m]=r[S+m];r[_]=o[x];return}for(var w=t;;){var C=0,A=0,D=!1;do if(e(o[x],r[y])<0){if(r[_--]=r[y--],C++,A=0,--d===0){D=!0;break}}else if(r[_--]=o[x--],A++,C=0,--g===1){D=!0;break}while((C|A)<w);if(D)break;do{if(C=d-Lh(o[x],r,v,d,d-1,e),C!==0){for(_-=C,y-=C,d-=C,b=_+1,S=y+1,m=C-1;m>=0;m--)r[b+m]=r[S+m];if(d===0){D=!0;break}}if(r[_--]=o[x--],--g===1){D=!0;break}if(A=g-Mh(r[y],o,0,g,g-1,e),A!==0){for(_-=A,x-=A,g-=A,b=_+1,S=x+1,m=0;m<A;m++)r[b+m]=o[S+m];if(g<=1){D=!0;break}}if(r[_--]=r[y--],--d===0){D=!0;break}w--}while(C>=cs||A>=cs);if(D)break;w<0&&(w=0),w+=2}if(t=w,t<1&&(t=1),g===1){for(_-=d,y-=d,b=_+1,S=y+1,m=d-1;m>=0;m--)r[b+m]=r[S+m];r[_]=o[x]}else{if(g===0)throw new Error;for(S=_-(g-1),m=0;m<g;m++)r[S+m]=o[m]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function gc(r,e,t,a){t||(t=0),a||(a=r.length);var n=a-t;if(!(n<2)){var i=0;if(n<X2){i=T0(r,t,a,e),C0(r,t,a,t+i,e);return}var o=O5(r,e),s=E5(n);do{if(i=T0(r,t,a,e),i<s){var l=n;l>s&&(l=s),C0(r,t,t+l,t+i,e),i=l}o.pushRun(t,i),o.mergeRuns(),n-=i,t+=i}while(n!==0);o.forceMergeRuns()}}var vr=1,Os=2,mo=4,A0=!1;function Ih(){A0||(A0=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function D0(r,e){return r.zlevel===e.zlevel?r.z===e.z?r.z2-e.z2:r.z-e.z:r.zlevel-e.zlevel}var B5=(function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=D0}return r.prototype.traverse=function(e,t){for(var a=0;a<this._roots.length;a++)this._roots[a].traverse(e,t)},r.prototype.getDisplayList=function(e,t){t=t||!1;var a=this._displayList;return(e||!a.length)&&this.updateDisplayList(t),a},r.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,a=this._displayList,n=0,i=t.length;n<i;n++)this._updateAndAddDisplayable(t[n],null,e);a.length=this._displayListLen,gc(a,D0)},r.prototype._updateAndAddDisplayable=function(e,t,a){if(!(e.ignore&&!a)){e.beforeUpdate(),e.update(),e.afterUpdate();var n=e.getClipPath();if(e.ignoreClip)t=null;else if(n){t?t=t.slice():t=[];for(var i=n,o=e;i;)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.getClipPath()}if(e.childrenRef){for(var s=e.childrenRef(),l=0;l<s.length;l++){var u=s[l];e.__dirty&&(u.__dirty|=vr),this._updateAndAddDisplayable(u,t,a)}e.__dirty=0}else{var c=e;t&&t.length?c.__clipPaths=t:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(Ih(),c.z=0),isNaN(c.z2)&&(Ih(),c.z2=0),isNaN(c.zlevel)&&(Ih(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=e.getDecalElement&&e.getDecalElement();f&&this._updateAndAddDisplayable(f,t,a);var h=e.getTextGuideLine();h&&this._updateAndAddDisplayable(h,t,a);var v=e.getTextContent();v&&this._updateAndAddDisplayable(v,t,a)}},r.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},r.prototype.delRoot=function(e){if(e instanceof Array){for(var t=0,a=e.length;t<a;t++)this.delRoot(e[t]);return}var n=we(this._roots,e);n>=0&&this._roots.splice(n,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r})(),Oc;Oc=Me.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var Ks={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),-(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)))},elasticOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*r)*Math.sin((r-e)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),(r*=2)<1?-.5*(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)):t*Math.pow(2,-10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var e=1.70158;return r*r*((e+1)*r-e)},backOut:function(r){var e=1.70158;return--r*r*((e+1)*r+e)+1},backInOut:function(r){var e=2.5949095;return(r*=2)<1?.5*(r*r*((e+1)*r-e)):.5*((r-=2)*r*((e+1)*r+e)+2)},bounceIn:function(r){return 1-Ks.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?Ks.bounceIn(r*2)*.5:Ks.bounceOut(r*2-1)*.5+.5}},hu=Math.pow,mn=Math.sqrt,Bc=1e-8,Z2=1e-4,M0=mn(3),vu=1/3,sa=zi(),Mr=zi(),Ao=zi();function fn(r){return r>-Bc&&r<Bc}function K2(r){return r>Bc||r<-Bc}function Tt(r,e,t,a,n){var i=1-n;return i*i*(i*r+3*n*e)+n*n*(n*a+3*i*t)}function L0(r,e,t,a,n){var i=1-n;return 3*(((e-r)*i+2*(t-e)*n)*i+(a-t)*n*n)}function zc(r,e,t,a,n,i){var o=a+3*(e-t)-r,s=3*(t-e*2+r),l=3*(e-r),u=r-n,c=s*s-3*o*l,f=s*l-9*o*u,h=l*l-3*s*u,v=0;if(fn(c)&&fn(f))if(fn(s))i[0]=0;else{var d=-l/s;d>=0&&d<=1&&(i[v++]=d)}else{var p=f*f-4*c*h;if(fn(p)){var g=f/c,d=-s/o+g,m=-g/2;d>=0&&d<=1&&(i[v++]=d),m>=0&&m<=1&&(i[v++]=m)}else if(p>0){var y=mn(p),x=c*s+1.5*o*(-f+y),_=c*s+1.5*o*(-f-y);x<0?x=-hu(-x,vu):x=hu(x,vu),_<0?_=-hu(-_,vu):_=hu(_,vu);var d=(-s-(x+_))/(3*o);d>=0&&d<=1&&(i[v++]=d)}else{var S=(2*c*s-3*o*f)/(2*mn(c*c*c)),b=Math.acos(S)/3,w=mn(c),C=Math.cos(b),d=(-s-2*w*C)/(3*o),m=(-s+w*(C+M0*Math.sin(b)))/(3*o),A=(-s+w*(C-M0*Math.sin(b)))/(3*o);d>=0&&d<=1&&(i[v++]=d),m>=0&&m<=1&&(i[v++]=m),A>=0&&A<=1&&(i[v++]=A)}}return v}function q2(r,e,t,a,n){var i=6*t-12*e+6*r,o=9*e+3*a-3*r-9*t,s=3*e-3*r,l=0;if(fn(o)){if(K2(i)){var u=-s/i;u>=0&&u<=1&&(n[l++]=u)}}else{var c=i*i-4*o*s;if(fn(c))n[0]=-i/(2*o);else if(c>0){var f=mn(c),u=(-i+f)/(2*o),h=(-i-f)/(2*o);u>=0&&u<=1&&(n[l++]=u),h>=0&&h<=1&&(n[l++]=h)}}return l}function wn(r,e,t,a,n,i){var o=(e-r)*n+r,s=(t-e)*n+e,l=(a-t)*n+t,u=(s-o)*n+o,c=(l-s)*n+s,f=(c-u)*n+u;i[0]=r,i[1]=o,i[2]=u,i[3]=f,i[4]=f,i[5]=c,i[6]=l,i[7]=a}function J2(r,e,t,a,n,i,o,s,l,u,c){var f,h=.005,v=1/0,d,p,g,m;sa[0]=l,sa[1]=u;for(var y=0;y<1;y+=.05)Mr[0]=Tt(r,t,n,o,y),Mr[1]=Tt(e,a,i,s,y),g=Si(sa,Mr),g<v&&(f=y,v=g);v=1/0;for(var x=0;x<32&&!(h<Z2);x++)d=f-h,p=f+h,Mr[0]=Tt(r,t,n,o,d),Mr[1]=Tt(e,a,i,s,d),g=Si(Mr,sa),d>=0&&g<v?(f=d,v=g):(Ao[0]=Tt(r,t,n,o,p),Ao[1]=Tt(e,a,i,s,p),m=Si(Ao,sa),p<=1&&m<v?(f=p,v=m):h*=.5);return c&&(c[0]=Tt(r,t,n,o,f),c[1]=Tt(e,a,i,s,f)),mn(v)}function z5(r,e,t,a,n,i,o,s,l){for(var u=r,c=e,f=0,h=1/l,v=1;v<=l;v++){var d=v*h,p=Tt(r,t,n,o,d),g=Tt(e,a,i,s,d),m=p-u,y=g-c;f+=Math.sqrt(m*m+y*y),u=p,c=g}return f}function kt(r,e,t,a){var n=1-a;return n*(n*r+2*a*e)+a*a*t}function np(r,e,t,a){return 2*((1-a)*(e-r)+a*(t-e))}function V5(r,e,t,a,n){var i=r-2*e+t,o=2*(e-r),s=r-a,l=0;if(fn(i)){if(K2(o)){var u=-s/o;u>=0&&u<=1&&(n[l++]=u)}}else{var c=o*o-4*i*s;if(fn(c)){var u=-o/(2*i);u>=0&&u<=1&&(n[l++]=u)}else if(c>0){var f=mn(c),u=(-o+f)/(2*i),h=(-o-f)/(2*i);u>=0&&u<=1&&(n[l++]=u),h>=0&&h<=1&&(n[l++]=h)}}return l}function Q2(r,e,t){var a=r+t-2*e;return a===0?.5:(r-e)/a}function vl(r,e,t,a,n){var i=(e-r)*a+r,o=(t-e)*a+e,s=(o-i)*a+i;n[0]=r,n[1]=i,n[2]=s,n[3]=s,n[4]=o,n[5]=t}function eT(r,e,t,a,n,i,o,s,l){var u,c=.005,f=1/0;sa[0]=o,sa[1]=s;for(var h=0;h<1;h+=.05){Mr[0]=kt(r,t,n,h),Mr[1]=kt(e,a,i,h);var v=Si(sa,Mr);v<f&&(u=h,f=v)}f=1/0;for(var d=0;d<32&&!(c<Z2);d++){var p=u-c,g=u+c;Mr[0]=kt(r,t,n,p),Mr[1]=kt(e,a,i,p);var v=Si(Mr,sa);if(p>=0&&v<f)u=p,f=v;else{Ao[0]=kt(r,t,n,g),Ao[1]=kt(e,a,i,g);var m=Si(Ao,sa);g<=1&&m<f?(u=g,f=m):c*=.5}}return l&&(l[0]=kt(r,t,n,u),l[1]=kt(e,a,i,u)),mn(f)}function G5(r,e,t,a,n,i,o){for(var s=r,l=e,u=0,c=1/o,f=1;f<=o;f++){var h=f*c,v=kt(r,t,n,h),d=kt(e,a,i,h),p=v-s,g=d-l;u+=Math.sqrt(p*p+g*g),s=v,l=d}return u}var F5=/cubic-bezier\(([0-9,\.e ]+)\)/;function tm(r){var e=r&&F5.exec(r);if(e){var t=e[1].split(","),a=+$r(t[0]),n=+$r(t[1]),i=+$r(t[2]),o=+$r(t[3]);if(isNaN(a+n+i+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:zc(0,a,i,1,l,s)&&Tt(0,n,o,1,s[0])}}}var H5=(function(){function r(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||ht,this.ondestroy=e.ondestroy||ht,this.onrestart=e.onrestart||ht,e.easing&&this.setEasing(e.easing)}return r.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var a=this._life,n=e-this._startTime-this._pausedTime,i=n/a;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,s=o?o(i):i;if(this.onframe(s),i===1)if(this.loop){var l=n%a;this._startTime=e-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(e){this.easing=e,this.easingFunc=oe(e)?e:Ks[e]||tm(e)},r})(),tT=(function(){function r(e){this.value=e}return r})(),j5=(function(){function r(){this._len=0}return r.prototype.insert=function(e){var t=new tT(e);return this.insertEntry(t),t},r.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.prototype.remove=function(e){var t=e.prev,a=e.next;t?t.next=a:this.head=a,a?a.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Gl=(function(){function r(e){this._list=new j5,this._maxSize=10,this._map={},this._maxSize=e}return r.prototype.put=function(e,t){var a=this._list,n=this._map,i=null;if(n[e]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete n[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new tT(t),s.key=e,a.insertEntry(s),n[e]=s}return i},r.prototype.get=function(e){var t=this._map[e],a=this._list;if(t!=null)return t!==a.tail&&(a.remove(t),a.insertEntry(t)),t.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),I0={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Yr(r){return r=Math.round(r),r<0?0:r>255?255:r}function W5(r){return r=Math.round(r),r<0?0:r>360?360:r}function dl(r){return r<0?0:r>1?1:r}function kh(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?Yr(parseFloat(e)/100*255):Yr(parseInt(e,10))}function wi(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?dl(parseFloat(e)/100):dl(parseFloat(e))}function Ph(r,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?r+(e-r)*t*6:t*2<1?e:t*3<2?r+(e-r)*(2/3-t)*6:r}function hn(r,e,t){return r+(e-r)*t}function wr(r,e,t,a,n){return r[0]=e,r[1]=t,r[2]=a,r[3]=n,r}function ip(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r}var rT=new Gl(20),du=null;function Xi(r,e){du&&ip(du,e),du=rT.put(r,du||e.slice())}function gr(r,e){if(r){e=e||[];var t=rT.get(r);if(t)return ip(e,t);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in I0)return ip(e,I0[a]),Xi(r,e),e;var n=a.length;if(a.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(a.slice(1,4),16);if(!(i>=0&&i<=4095)){wr(e,0,0,0,1);return}return wr(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(a.slice(4),16)/15:1),Xi(r,e),e}else if(n===7||n===9){var i=parseInt(a.slice(1,7),16);if(!(i>=0&&i<=16777215)){wr(e,0,0,0,1);return}return wr(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(a.slice(7),16)/255:1),Xi(r,e),e}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===n){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?wr(e,+u[0],+u[1],+u[2],1):wr(e,0,0,0,1);c=wi(u.pop());case"rgb":if(u.length>=3)return wr(e,kh(u[0]),kh(u[1]),kh(u[2]),u.length===3?c:wi(u[3])),Xi(r,e),e;wr(e,0,0,0,1);return;case"hsla":if(u.length!==4){wr(e,0,0,0,1);return}return u[3]=wi(u[3]),op(u,e),Xi(r,e),e;case"hsl":if(u.length!==3){wr(e,0,0,0,1);return}return op(u,e),Xi(r,e),e;default:return}}wr(e,0,0,0,1)}}function op(r,e){var t=(parseFloat(r[0])%360+360)%360/360,a=wi(r[1]),n=wi(r[2]),i=n<=.5?n*(a+1):n+a-n*a,o=n*2-i;return e=e||[],wr(e,Yr(Ph(o,i,t+1/3)*255),Yr(Ph(o,i,t)*255),Yr(Ph(o,i,t-1/3)*255),1),r.length===4&&(e[3]=r[3]),e}function $5(r){if(r){var e=r[0]/255,t=r[1]/255,a=r[2]/255,n=Math.min(e,t,a),i=Math.max(e,t,a),o=i-n,s=(i+n)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(i+n):u=o/(2-i-n);var c=((i-e)/6+o/2)/o,f=((i-t)/6+o/2)/o,h=((i-a)/6+o/2)/o;e===i?l=h-f:t===i?l=1/3+c-h:a===i&&(l=2/3+f-c),l<0&&(l+=1),l>1&&(l-=1)}var v=[l*360,u,s];return r[3]!=null&&v.push(r[3]),v}}function sp(r,e){var t=gr(r);if(t){for(var a=0;a<3;a++)e<0?t[a]=t[a]*(1-e)|0:t[a]=(255-t[a])*e+t[a]|0,t[a]>255?t[a]=255:t[a]<0&&(t[a]=0);return Pa(t,t.length===4?"rgba":"rgb")}}function Rh(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){t=t||[];var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=e[n],s=e[i],l=a-n;return t[0]=Yr(hn(o[0],s[0],l)),t[1]=Yr(hn(o[1],s[1],l)),t[2]=Yr(hn(o[2],s[2],l)),t[3]=dl(hn(o[3],s[3],l)),t}}function U5(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=gr(e[n]),s=gr(e[i]),l=a-n,u=Pa([Yr(hn(o[0],s[0],l)),Yr(hn(o[1],s[1],l)),Yr(hn(o[2],s[2],l)),dl(hn(o[3],s[3],l))],"rgba");return t?{color:u,leftIndex:n,rightIndex:i,value:a}:u}}function qs(r,e,t,a){var n=gr(r);if(r)return n=$5(n),e!=null&&(n[0]=W5(e)),t!=null&&(n[1]=wi(t)),a!=null&&(n[2]=wi(a)),Pa(op(n),"rgba")}function Vc(r,e){var t=gr(r);if(t&&e!=null)return t[3]=dl(e),Pa(t,"rgba")}function Pa(r,e){if(!(!r||!r.length)){var t=r[0]+","+r[1]+","+r[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+r[3]),e+"("+t+")"}}function Gc(r,e){var t=gr(r);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}var k0=new Gl(100);function lp(r){if(q(r)){var e=k0.get(r);return e||(e=sp(r,-.1),k0.put(r,e)),e}else if(Nf(r)){var t=H({},r);return t.colorStops=$(r.colorStops,function(a){return{offset:a.offset,color:sp(a.color,-.1)}}),t}return r}var Fc=Math.round;function pl(r){var e;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var t=gr(r);t&&(r="rgb("+t[0]+","+t[1]+","+t[2]+")",e=t[3])}return{color:r,opacity:e??1}}var P0=1e-4;function vn(r){return r<P0&&r>-P0}function pu(r){return Fc(r*1e3)/1e3}function up(r){return Fc(r*1e4)/1e4}function Y5(r){return"matrix("+pu(r[0])+","+pu(r[1])+","+pu(r[2])+","+pu(r[3])+","+up(r[4])+","+up(r[5])+")"}var X5={left:"start",right:"end",center:"middle",middle:"middle"};function Z5(r,e,t){return t==="top"?r+=e/2:t==="bottom"&&(r-=e/2),r}function K5(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function q5(r){var e=r.style,t=r.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),t[0],t[1]].join(",")}function aT(r){return r&&!!r.image}function J5(r){return r&&!!r.svgElement}function rm(r){return aT(r)||J5(r)}function nT(r){return r.type==="linear"}function iT(r){return r.type==="radial"}function oT(r){return r&&(r.type==="linear"||r.type==="radial")}function zf(r){return"url(#"+r+")"}function sT(r){var e=r.getGlobalScale(),t=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(t)/Math.log(10)),1)}function lT(r){var e=r.x||0,t=r.y||0,a=(r.rotation||0)*vc,n=pe(r.scaleX,1),i=pe(r.scaleY,1),o=r.skewX||0,s=r.skewY||0,l=[];return(e||t)&&l.push("translate("+e+"px,"+t+"px)"),a&&l.push("rotate("+a+")"),(n!==1||i!==1)&&l.push("scale("+n+","+i+")"),(o||s)&&l.push("skew("+Fc(o*vc)+"deg, "+Fc(s*vc)+"deg)"),l.join(" ")}var Q5=(function(){return Me.hasGlobalWindow&&oe(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}})(),cp=Array.prototype.slice;function Aa(r,e,t){return(e-r)*t+r}function Eh(r,e,t,a){for(var n=e.length,i=0;i<n;i++)r[i]=Aa(e[i],t[i],a);return r}function eR(r,e,t,a){for(var n=e.length,i=n&&e[0].length,o=0;o<n;o++){r[o]||(r[o]=[]);for(var s=0;s<i;s++)r[o][s]=Aa(e[o][s],t[o][s],a)}return r}function gu(r,e,t,a){for(var n=e.length,i=0;i<n;i++)r[i]=e[i]+t[i]*a;return r}function R0(r,e,t,a){for(var n=e.length,i=n&&e[0].length,o=0;o<n;o++){r[o]||(r[o]=[]);for(var s=0;s<i;s++)r[o][s]=e[o][s]+t[o][s]*a}return r}function tR(r,e){for(var t=r.length,a=e.length,n=t>a?e:r,i=Math.min(t,a),o=n[i-1]||{color:[0,0,0,0],offset:0},s=i;s<Math.max(t,a);s++)n.push({offset:o.offset,color:o.color.slice()})}function rR(r,e,t){var a=r,n=e;if(!(!a.push||!n.push)){var i=a.length,o=n.length;if(i!==o){var s=i>o;if(s)a.length=o;else for(var l=i;l<o;l++)a.push(t===1?n[l]:cp.call(n[l]))}for(var u=a[0]&&a[0].length,l=0;l<a.length;l++)if(t===1)isNaN(a[l])&&(a[l]=n[l]);else for(var c=0;c<u;c++)isNaN(a[l][c])&&(a[l][c]=n[l][c])}}function Js(r){if(Wt(r)){var e=r.length;if(Wt(r[0])){for(var t=[],a=0;a<e;a++)t.push(cp.call(r[a]));return t}return cp.call(r)}return r}function mc(r){return r[0]=Math.floor(r[0])||0,r[1]=Math.floor(r[1])||0,r[2]=Math.floor(r[2])||0,r[3]=r[3]==null?1:r[3],"rgba("+r.join(",")+")"}function aR(r){return Wt(r&&r[0])?2:1}var mu=0,yc=1,uT=2,Bs=3,fp=4,hp=5,E0=6;function N0(r){return r===fp||r===hp}function yu(r){return r===yc||r===uT}var fs=[0,0,0,0],nR=(function(){function r(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return r.prototype.isFinished=function(){return this._finished},r.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},r.prototype.needsAnimate=function(){return this.keyframes.length>=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(e,t,a){this._needsSort=!0;var n=this.keyframes,i=n.length,o=!1,s=E0,l=t;if(Wt(t)){var u=aR(t);s=u,(u===1&&!Ne(t[0])||u===2&&!Ne(t[0][0]))&&(o=!0)}else if(Ne(t)&&!fl(t))s=mu;else if(q(t))if(!isNaN(+t))s=mu;else{var c=gr(t);c&&(l=c,s=Bs)}else if(Nf(t)){var f=H({},l);f.colorStops=$(t.colorStops,function(v){return{offset:v.offset,color:gr(v.color)}}),nT(t)?s=fp:iT(t)&&(s=hp),l=f}i===0?this.valType=s:(s!==this.valType||s===E0)&&(o=!0),this.discrete=this.discrete||o;var h={time:e,value:l,rawValue:t,percent:0};return a&&(h.easing=a,h.easingFunc=oe(a)?a:Ks[a]||tm(a)),n.push(h),h},r.prototype.prepare=function(e,t){var a=this.keyframes;this._needsSort&&a.sort(function(p,g){return p.time-g.time});for(var n=this.valType,i=a.length,o=a[i-1],s=this.discrete,l=yu(n),u=N0(n),c=0;c<i;c++){var f=a[c],h=f.value,v=o.value;f.percent=f.time/e,s||(l&&c!==i-1?rR(h,v,n):u&&tR(h.colorStops,v.colorStops))}if(!s&&n!==hp&&t&&this.needsAnimate()&&t.needsAnimate()&&n===t.valType&&!t._finished){this._additiveTrack=t;for(var d=a[0].value,c=0;c<i;c++)n===mu?a[c].additiveValue=a[c].value-d:n===Bs?a[c].additiveValue=gu([],a[c].value,d,-1):yu(n)&&(a[c].additiveValue=n===yc?gu([],a[c].value,d,-1):R0([],a[c].value,d,-1))}},r.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var a=this._additiveTrack!=null,n=a?"additiveValue":"value",i=this.valType,o=this.keyframes,s=o.length,l=this.propName,u=i===Bs,c,f=this._lastFr,h=Math.min,v,d;if(s===1)v=d=o[0];else{if(t<0)c=0;else if(t<this._lastFrP){var p=h(f+1,s-1);for(c=p;c>=0&&!(o[c].percent<=t);c--);c=h(c,s-2)}else{for(c=f;c<s&&!(o[c].percent>t);c++);c=h(c-1,s-2)}d=o[c+1],v=o[c]}if(v&&d){this._lastFr=c,this._lastFrP=t;var g=d.percent-v.percent,m=g===0?1:h((t-v.percent)/g,1);d.easingFunc&&(m=d.easingFunc(m));var y=a?this._additiveValue:u?fs:e[l];if((yu(i)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)e[l]=m<1?v.rawValue:d.rawValue;else if(yu(i))i===yc?Eh(y,v[n],d[n],m):eR(y,v[n],d[n],m);else if(N0(i)){var x=v[n],_=d[n],S=i===fp;e[l]={type:S?"linear":"radial",x:Aa(x.x,_.x,m),y:Aa(x.y,_.y,m),colorStops:$(x.colorStops,function(w,C){var A=_.colorStops[C];return{offset:Aa(w.offset,A.offset,m),color:mc(Eh([],w.color,A.color,m))}}),global:_.global},S?(e[l].x2=Aa(x.x2,_.x2,m),e[l].y2=Aa(x.y2,_.y2,m)):e[l].r=Aa(x.r,_.r,m)}else if(u)Eh(y,v[n],d[n],m),a||(e[l]=mc(y));else{var b=Aa(v[n],d[n],m);a?this._additiveValue=b:e[l]=b}a&&this._addToTarget(e)}}},r.prototype._addToTarget=function(e){var t=this.valType,a=this.propName,n=this._additiveValue;t===mu?e[a]=e[a]+n:t===Bs?(gr(e[a],fs),gu(fs,fs,n,1),e[a]=mc(fs)):t===yc?gu(e[a],e[a],n,1):t===uT&&R0(e[a],e[a],n,1)},r})(),am=(function(){function r(e,t,a,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){Xg("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(e){this._target=e},r.prototype.when=function(e,t,a){return this.whenWithKeys(e,t,Ie(t),a)},r.prototype.whenWithKeys=function(e,t,a,n){for(var i=this._tracks,o=0;o<a.length;o++){var s=a[o],l=i[s];if(!l){l=i[s]=new nR(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var f=c.keyframes,h=f[f.length-1];u=h&&h.value,c.valType===Bs&&u&&(u=mc(u))}else u=this._target[s];if(u==null)continue;e>0&&l.addKeyframe(0,Js(u),n),this._trackKeys.push(s)}l.addKeyframe(e,Js(t[s]),n)}return this._maxTime=Math.max(this._maxTime,e),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,a=0;a<t;a++)e[a].call(this)},r.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var a=0;a<t.length;a++)t[a].call(this)},r.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,a=0;a<t.length;a++)e[t[a]].setFinished()},r.prototype._getAdditiveTrack=function(e){var t,a=this._additiveAnimators;if(a)for(var n=0;n<a.length;n++){var i=a[n].getTrack(e);i&&(t=i)}return t},r.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,a=[],n=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(n,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var f=u[c-1];f&&(t._target[s.propName]=f.rawValue),s.setFinished()}else a.push(s)}if(a.length||this._force){var h=new H5({life:n,loop:this._loop,delay:this._delay||0,onframe:function(v){t._started=2;var d=t._additiveAnimators;if(d){for(var p=!1,g=0;g<d.length;g++)if(d[g]._clip){p=!0;break}p||(t._additiveAnimators=null)}for(var g=0;g<a.length;g++)a[g].step(t._target,v);var m=t._onframeCbs;if(m)for(var g=0;g<m.length;g++)m[g](t._target,v)},ondestroy:function(){t._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),e&&h.setEasing(e)}else this._doneCallback();return this}},r.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},r.prototype.delay=function(e){return this._delay=e,this},r.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},r.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},r.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},r.prototype.getClip=function(){return this._clip},r.prototype.getTrack=function(e){return this._tracks[e]},r.prototype.getTracks=function(){var e=this;return $(this._trackKeys,function(t){return e._tracks[t]})},r.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var a=this._tracks,n=this._trackKeys,i=0;i<e.length;i++){var o=a[e[i]];o&&!o.isFinished()&&(t?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,i=0;i<n.length;i++)if(!a[n[i]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},r.prototype.saveTo=function(e,t,a){if(e){t=t||this._trackKeys;for(var n=0;n<t.length;n++){var i=t[n],o=this._tracks[i];if(!(!o||o.isFinished())){var s=o.keyframes,l=s[a?0:s.length-1];l&&(e[i]=Js(l.rawValue))}}}},r.prototype.__changeFinalValue=function(e,t){t=t||Ie(e);for(var a=0;a<t.length;a++){var n=t[a],i=this._tracks[n];if(i){var o=i.keyframes;if(o.length>1){var s=o.pop();i.addKeyframe(s.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},r})();function So(){return new Date().getTime()}var iR=(function(r){z(e,r);function e(t){var a=r.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,t=t||{},a.stage=t.stage||{},a}return e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var a=t.getClip();a&&this.addClip(a)},e.prototype.removeClip=function(t){if(t.animation){var a=t.prev,n=t.next;a?a.next=n:this._head=n,n?n.prev=a:this._tail=a,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var a=t.getClip();a&&this.removeClip(a),t.animation=null},e.prototype.update=function(t){for(var a=So()-this._pausedTime,n=a-this._time,i=this._head;i;){var o=i.next,s=i.step(a,n);s&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=a,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0;function a(){t._running&&(Oc(a),!t._paused&&t.update())}Oc(a)},e.prototype.start=function(){this._running||(this._time=So(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=So(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=So()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var a=t.next;t.prev=t.next=t.animation=null,t=a}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(t,a){a=a||{},this.start();var n=new am(t,a.loop);return this.addAnimator(n),n},e})(Nr),oR=300,Nh=Me.domSupported,Oh=(function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=$(r,function(n){var i=n.replace("mouse","pointer");return t.hasOwnProperty(i)?i:n});return{mouse:r,touch:e,pointer:a}})(),O0={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},B0=!1;function vp(r){var e=r.pointerType;return e==="pen"||e==="touch"}function sR(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Bh(r){r&&(r.zrByTouch=!0)}function lR(r,e){return Tr(r.dom,new uR(r,e),!0)}function cT(r,e){for(var t=e,a=!1;t&&t.nodeType!==9&&!(a=t.domBelongToZr||t!==e&&t===r.painterRoot);)t=t.parentNode;return a}var uR=(function(){function r(e,t){this.stopPropagation=ht,this.stopImmediatePropagation=ht,this.preventDefault=ht,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return r})(),Hr={mousedown:function(r){r=Tr(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Tr(this.dom,r);var e=this.__mayPointerCapture;e&&(r.zrX!==e[0]||r.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Tr(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=Tr(this.dom,r);var e=r.toElement||r.relatedTarget;cT(this,e)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){B0=!0,r=Tr(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){B0||(r=Tr(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=Tr(this.dom,r),Bh(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),Hr.mousemove.call(this,r),Hr.mousedown.call(this,r)},touchmove:function(r){r=Tr(this.dom,r),Bh(r),this.handler.processGesture(r,"change"),Hr.mousemove.call(this,r)},touchend:function(r){r=Tr(this.dom,r),Bh(r),this.handler.processGesture(r,"end"),Hr.mouseup.call(this,r),+new Date-+this.__lastTouchMoment<oR&&Hr.click.call(this,r)},pointerdown:function(r){Hr.mousedown.call(this,r)},pointermove:function(r){vp(r)||Hr.mousemove.call(this,r)},pointerup:function(r){Hr.mouseup.call(this,r)},pointerout:function(r){vp(r)||Hr.mouseout.call(this,r)}};L(["click","dblclick","contextmenu"],function(r){Hr[r]=function(e){e=Tr(this.dom,e),this.trigger(r,e)}});var dp={pointermove:function(r){vp(r)||dp.mousemove.call(this,r)},pointerup:function(r){dp.mouseup.call(this,r)},mousemove:function(r){this.trigger("mousemove",r)},mouseup:function(r){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",r),e&&(r.zrEventControl="only_globalout",this.trigger("mouseout",r))}};function cR(r,e){var t=e.domHandlers;Me.pointerEventsSupported?L(Oh.pointer,function(a){xc(e,a,function(n){t[a].call(r,n)})}):(Me.touchEventsSupported&&L(Oh.touch,function(a){xc(e,a,function(n){t[a].call(r,n),sR(e)})}),L(Oh.mouse,function(a){xc(e,a,function(n){n=Jg(n),e.touching||t[a].call(r,n)})}))}function fR(r,e){Me.pointerEventsSupported?L(O0.pointer,t):Me.touchEventsSupported||L(O0.mouse,t);function t(a){function n(i){i=Jg(i),cT(r,i.target)||(i=lR(r,i),e.domHandlers[a].call(r,i))}xc(e,a,n,{capture:!0})}}function xc(r,e,t,a){r.mounted[e]=t,r.listenerOpts[e]=a,ap(r.domTarget,e,t,a)}function zh(r){var e=r.mounted;for(var t in e)e.hasOwnProperty(t)&&C5(r.domTarget,t,e[t],r.listenerOpts[t]);r.mounted={}}var z0=(function(){function r(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return r})(),hR=(function(r){z(e,r);function e(t,a){var n=r.call(this)||this;return n.__pointerCapturing=!1,n.dom=t,n.painterRoot=a,n._localHandlerScope=new z0(t,Hr),Nh&&(n._globalHandlerScope=new z0(document,dp)),cR(n,n._localHandlerScope),n}return e.prototype.dispose=function(){zh(this._localHandlerScope),Nh&&zh(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Nh&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var a=this._globalHandlerScope;t?fR(this,a):zh(a)}},e})(Nr),fT=1;Me.hasGlobalWindow&&(fT=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Hc=fT,pp=.4,gp="#333",mp="#ccc",vR="#eee",V0=Bf,G0=5e-5;function Bn(r){return r>G0||r<-G0}var zn=[],Zi=[],Vh=pr(),Gh=Math.abs,Ma=(function(){function r(){}return r.prototype.getLocalTransform=function(e){return r.getLocalTransform(this,e)},r.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},r.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},r.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},r.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},r.prototype.needLocalTransform=function(){return Bn(this.rotation)||Bn(this.x)||Bn(this.y)||Bn(this.scaleX-1)||Bn(this.scaleY-1)||Bn(this.skewX)||Bn(this.skewY)},r.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),a=this.transform;if(!(t||e)){a&&(V0(a),this.invTransform=null);return}a=a||pr(),t?this.getLocalTransform(a):V0(a),e&&(t?ka(a,e,a):Qg(a,e)),this.transform=a,this._resolveGlobalScaleRatio(a)},r.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(zn);var a=zn[0]<0?-1:1,n=zn[1]<0?-1:1,i=((zn[0]-a)*t+a)/zn[0]||0,o=((zn[1]-n)*t+n)/zn[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||pr(),$o(this.invTransform,e)},r.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},r.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);a=Math.sqrt(a)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=a,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||pr(),ka(Zi,e.invTransform,t),t=Zi);var a=this.originX,n=this.originY;(a||n)&&(Vh[4]=a,Vh[5]=n,ka(Zi,t,Vh),Zi[4]-=a,Zi[5]-=n,t=Zi),this.setLocalTransform(t)}},r.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},r.prototype.transformCoordToLocal=function(e,t){var a=[e,t],n=this.invTransform;return n&&Ot(a,a,n),a},r.prototype.transformCoordToGlobal=function(e,t){var a=[e,t],n=this.transform;return n&&Ot(a,a,n),a},r.prototype.getLineScale=function(){var e=this.transform;return e&&Gh(e[0]-1)>1e-10&&Gh(e[3]-1)>1e-10?Math.sqrt(Gh(e[0]*e[3]-e[2]*e[1])):1},r.prototype.copyTransform=function(e){hT(this,e)},r.getLocalTransform=function(e,t){t=t||[];var a=e.originX||0,n=e.originY||0,i=e.scaleX,o=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,c=e.x,f=e.y,h=e.skewX?Math.tan(e.skewX):0,v=e.skewY?Math.tan(-e.skewY):0;if(a||n||s||l){var d=a+s,p=n+l;t[4]=-d*i-h*p*o,t[5]=-p*o-v*d*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=v*i,t[2]=h*o,u&&Vi(t,t,u),t[4]+=a+c,t[5]+=n+f,t},r.initDefaultProps=(function(){var e=r.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0})(),r})(),ma=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function hT(r,e){for(var t=0;t<ma.length;t++){var a=ma[t];r[a]=e[a]}}var F0={};function mr(r,e){e=e||bn;var t=F0[e];t||(t=F0[e]=new Gl(500));var a=t.get(r);return a==null&&(a=Sn.measureText(r,e).width,t.put(r,a)),a}function H0(r,e,t,a){var n=mr(r,e),i=Vf(e),o=zs(0,n,t),s=yo(0,i,a),l=new be(o,s,n,i);return l}function Fl(r,e,t,a){var n=((r||"")+"").split(`
1
+ import{c as ge,b as lt,n as at,j as T,r as Re,p as bI,K as S2,v as bi,C as SI,D as wI,x as zg,V as TI,a as w2,T as Xs,o as CI,F as AI}from"./index-BWXyDl1J.js";import{A as DI}from"./auth-entry-L4MYHhmA.js";import{u as MI,c as rt,a as LI,b as II,d as Yd,r as kI,s as Xd,e as PI}from"./track-CwWn2JFQ.js";import{d as RI}from"./delay-CnY5UFtP.js";import{i as EI}from"./AlertCircle-DLj-rBLn.js";import{n as NI,i as OI}from"./ArrowUp-C9wijSHC.js";import{a as BI,b as zI,i as VI}from"./XCircle-BLGxEUt7.js";import{a as GI,i as FI,b as HI,c as jI,t as WI,n as $I,d as UI,e as YI,f as XI,g as ZI,s as KI,h as qI,j as JI}from"./TrendUp01-DrIbuukS.js";import{i as QI}from"./CheckCircle-DOOBCpT9.js";import{s as ek}from"./Eye-Bf1344cz.js";import{i as tk}from"./LogOut01-CFPuWi87.js";import{i as rk}from"./SearchLg-BoAF9n4o.js";import{i as ak}from"./Shield01-CVEumGx3.js";import{t as nk}from"./Stars01-BLlf5jfX.js";import{i as ik}from"./Zap-DSuzhrFd.js";import"./input-BmuxVBRq.js";import"./use-is-desktop-app-BNujXJc_.js";import"./spinner-BNsOVOLB.js";import"./retry-CErkP7V6.js";import"./backoff-CrEUbyZT.js";function Vg(r){let e=(r??"").trim().toLowerCase();return e=e.replace(/^https?:\/\//,""),e=e.replace(/^www\./,""),e=e.split(/[/?#]/)[0]??"",e.replace(/\/+$/,"")}function ok(r){return(Vg(r).split(".")[0]||r).replace(/[-_]/g," ").split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function If(r,e=64){return`https://www.google.com/s2/favicons?domain=${encodeURIComponent(Vg(r))}&sz=${e}`}function Qy(r,e){const t=r.trim();if(t.length<=e)return t;const a=t.slice(0,e-1),n=a.lastIndexOf(" ");return`${(n>e*.6?a.slice(0,n):a).trimEnd()}…`}function sk(r){const{brand:e,domain:t,score:a,verdict:n}=r,i=typeof a=="number"?`${e} commerce report — ${Math.round(a)}/100 · decocms`:`${e} commerce report · decocms`,o=`See the full ${e} scorecard — SEO, performance, conversion & AEO signals scored by decocms.`,s=n?.trim()?Qy(`${n.trim().replace(/\s+/g," ")} — ${o}`,200):Qy(`How does ${t} really perform? ${o}`,200);return{title:i,description:s}}class T2 extends Error{constructor(e){super(`reports API HTTP ${e}`),this.status=e,this.name="ReportsApiError"}status}function Gg(r){return r instanceof T2&&r.status===401}async function kf(r){if(!r.ok)throw new T2(r.status);return await r.json()}function C2(r,e,t){const a=new URLSearchParams;e&&a.set("key",e),t&&a.set("lang",t);const n=a.toString()?`?${a.toString()}`:"";return fetch(`/api/_reports/site/${encodeURIComponent(r)}${n}`).then(i=>kf(i))}function lk(r){return fetch("/api/_reports/run",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then(e=>kf(e))}function uk(r){return fetch(`/api/_reports/status?id=${encodeURIComponent(r)}`).then(e=>kf(e))}function ck(r){return fetch(`/api/_reports/link-token/${encodeURIComponent(r)}`).then(e=>kf(e))}const e0=/^\/(?!\/|\\|%2f|%5c)[\w\-.\+/@]*(?:\?[\w\-.\+/=&%@]*)?$/;function fk(r){const e=`/report/${encodeURIComponent(r)}`,t=e0.test(e)?e:"/";if(typeof window>"u")return t;const a=new URLSearchParams(window.location.search).toString(),n=a?`${t}?${a}`:t;return e0.test(n)?n:t}const E={bg:"#ffffff",ink:"#282524",muted:"#78726e",faint:"#a6a09d",border:"rgba(40,37,36,0.09)",cardBorder:"rgba(40,37,36,0.06)",inputBorder:"rgba(40,37,36,0.18)",surface:"#ffffff",primary:"#282524",primaryFg:"#ffffff",soft:"#8caa25",lime:"#d0ec1a",limeTint:"#eff6cc",forest:"#07401a",warn:"#f0b613",notice:"#6e9fdb"},ft={good:E.soft,bad:"#d43d3d",neutral:E.ink},hk=[{src:"/logos/summit/fila.svg",alt:"Fila",w:100,h:34},{src:"/logos/summit/osklen.svg",alt:"Osklen",w:152,h:21},{src:"/logos/summit/farm-rio.svg",alt:"Farm Rio",w:159,h:23},{src:"/logos/summit/electrolux.svg",alt:"Electrolux",w:154,h:35},{src:"/logos/summit/monte-carlo.svg",alt:"Monte Carlo",w:116,h:61},{src:"/logos/summit/technos.svg",alt:"Technos",w:141,h:29},{src:"/logos/summit/bagaggio.svg",alt:"Bagaggio",w:149,h:22},{src:"/logos/summit/le-biscuit.svg",alt:"Le Biscuit",w:141,h:24},{src:"/logos/summit/miess.svg",alt:"Miess",w:113,h:43},{src:"/logos/summit/casa-e-video.svg",alt:"Casa & Video",w:145,h:18},{src:"/logos/summit/hering-fill.svg",alt:"Hering",w:140,h:30}],vk=4,dk=2400;function pk(r){const e=Array.from({length:r},()=>[]);return hk.forEach((t,a)=>e[a%r]?.push(t)),e}function A2(r){const e=ge.c(22),{logos:t,delayMs:a,last:n,bottomRow:i}=r,[o,s]=Re.useState(0);let l;e[0]!==a||e[1]!==t.length?(l=S=>{if(!S)return;let b;const w=setTimeout(()=>{b=setInterval(()=>s(C=>(C+1)%t.length),dk)},a);return()=>{clearTimeout(w),b&&clearInterval(b)}},e[0]=a,e[1]=t.length,e[2]=l):l=e[2];const u=l,c=t[o%t.length]??t[0];if(!c)return null;const f=Math.min(78/c.w,22/c.h);let h;e[3]!==c.w||e[4]!==f?(h=Math.round(c.w*f),e[3]=c.w,e[4]=f,e[5]=h):h=e[5];const v=h;let d;e[6]!==c.h||e[7]!==f?(d=Math.round(c.h*f),e[6]=c.h,e[7]=f,e[8]=d):d=e[8];const p=d,g=n?void 0:`1px solid ${E.border}`,m=i?`1px solid ${E.border}`:void 0;let y;e[9]!==g||e[10]!==m?(y={borderRight:g,borderTop:m},e[9]=g,e[10]=m,e[11]=y):y=e[11];let x;e[12]!==o||e[13]!==c.alt||e[14]!==c.src||e[15]!==p||e[16]!==v?(x=T.jsx("img",{src:c.src,alt:c.alt,width:v,height:p,className:"logo-carousel-enter block"},o),e[12]=o,e[13]=c.alt,e[14]=c.src,e[15]=p,e[16]=v,e[17]=x):x=e[17];let _;return e[18]!==u||e[19]!==y||e[20]!==x?(_=T.jsx("div",{ref:u,className:"flex min-w-0 flex-1 items-center justify-center overflow-hidden py-3",style:y,children:x}),e[18]=u,e[19]=y,e[20]=x,e[21]=_):_=e[21],_}function gk(){const r=ge.c(1);let e;if(r[0]===Symbol.for("react.memo_cache_sentinel")){const t=pk(vk);e=T.jsxs(T.Fragment,{children:[T.jsx("div",{className:"grid grid-cols-2 overflow-hidden rounded-xl sm:hidden",style:{border:`1px solid ${E.border}`},children:t.map(mk)}),T.jsx("div",{className:"hidden overflow-hidden rounded-xl sm:flex",style:{border:`1px solid ${E.border}`},children:t.map((a,n)=>T.jsx(A2,{logos:a,delayMs:n*380,last:n===t.length-1},a[0]?.src))})]}),r[0]=e}else e=r[0];return e}function mk(r,e){return T.jsx(A2,{logos:r,delayMs:e*380,last:e%2===1,bottomRow:e>=2},r[0]?.src)}function D2(r){const e=ge.c(12),{compact:t}=r,a=t===void 0?!1:t,n=lt(),i=a?"mt-5 pt-5":"mt-8 pt-6";let o;e[0]!==i?(o=at(i),e[0]=i,e[1]=o):o=e[1];let s;e[2]===Symbol.for("react.memo_cache_sentinel")?(s={borderTop:`1px solid ${E.border}`},e[2]=s):s=e[2];let l;e[3]===Symbol.for("react.memo_cache_sentinel")?(l={color:E.faint},e[3]=l):l=e[3];let u;e[4]!==n?(u=n("reports.socialProof.alreadyReceived"),e[4]=n,e[5]=u):u=e[5];let c;e[6]!==u?(c=T.jsx("p",{className:"mb-4 text-center text-[11px] uppercase tracking-[0.04em]",style:l,children:u}),e[6]=u,e[7]=c):c=e[7];let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f=T.jsx(gk,{}),e[8]=f):f=e[8];let h;return e[9]!==o||e[10]!==c?(h=T.jsxs("div",{className:o,style:s,children:[c,f]}),e[9]=o,e[10]=c,e[11]=h):h=e[11],h}const yk={"--background":"oklch(0.99 0.003 73)","--foreground":"oklch(0.145 0.01 60)","--card":"oklch(1 0 0)","--card-foreground":"oklch(0.145 0.01 60)","--muted-foreground":"oklch(0.46 0.012 60)","--accent":"oklch(0.955 0.008 80)","--accent-foreground":"oklch(0.2 0.01 60)","--border":"oklch(0.915 0.005 80)","--input":"oklch(0.88 0.006 80)","--ring":"oklch(0.205 0.012 60)","--primary":"oklch(0.205 0.012 60)","--primary-foreground":"oklch(0.98 0.005 60)","--destructive":"oklch(0.58 0.22 27)","--destructive-foreground":"oklch(0.97 0.01 17)","--success":"oklch(0.6 0.17 149)","--success-foreground":"oklch(0.98 0.02 156)"};function xk(r){return{otpSendFailed:r("reports.authGate.otpSendFailed"),invalidCode:r("reports.authGate.invalidCode"),invalidEmail:r("reports.authGate.invalidEmail"),networkError:r("reports.authGate.networkError"),tooManyAttempts:r("reports.authGate.tooManyAttempts"),invalidOrExpiredCode:r("reports.authGate.invalidOrExpiredCode"),genericError:r("reports.authGate.genericError"),verificationCodeTitle:r("reports.authGate.verificationCodeTitle"),codeSentTo:e=>r("reports.authGate.codeSentTo",{email:e}),continueWith:e=>r("reports.authGate.continueWith",{provider:e}),divider:r("reports.authGate.divider"),emailLabel:r("reports.authGate.emailLabel"),emailPlaceholder:r("reports.authGate.emailPlaceholder"),sending:r("reports.authGate.sending"),sendCode:r("reports.authGate.sendCode"),verificationCodeLabel:r("reports.authGate.verificationCodeLabel"),enterCodePlaceholder:r("reports.authGate.enterCodePlaceholder"),verifying:r("reports.authGate.verifying"),verify:r("reports.authGate.verify"),useDifferentEmail:r("reports.authGate.useDifferentEmail")}}const _k=r=>[r("reports.authGate.finding1"),r("reports.authGate.finding2"),r("reports.authGate.finding3"),r("reports.authGate.finding4"),r("reports.authGate.finding5")],t0=72;function Pf(r){const e=ge.c(93),{domain:t}=r,a=lt();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={background:E.bg,color:E.ink,filter:"blur(9px)",fontFamily:"Switzer, 'Inter var', Helvetica, Arial, sans-serif",transform:"scale(1.025)"},e[0]=n):n=e[0];let i,o;e[1]===Symbol.for("react.memo_cache_sentinel")?(i={borderColor:E.cardBorder,background:"rgba(255,255,255,0.82)",boxShadow:"0 1px 2px rgba(40,37,36,0.05), 0 10px 30px -20px rgba(40,37,36,0.35)"},o=T.jsx("img",{src:"/logos/deco-logo.svg",alt:"",width:54,height:22,className:"h-[22px] w-auto"}),e[1]=i,e[2]=o):(i=e[1],o=e[2]);let s;e[3]===Symbol.for("react.memo_cache_sentinel")?(s={background:E.primary,color:E.primaryFg},e[3]=s):s=e[3];let l;e[4]!==a?(l=a("reports.authGate.share"),e[4]=a,e[5]=l):l=e[5];let u;e[6]!==l?(u=T.jsx("div",{className:"shrink-0 px-6 pt-6 sm:px-10",children:T.jsxs("div",{className:"mx-auto flex h-[60px] max-w-[1440px] items-center gap-3 rounded-full border pl-6 pr-4",style:i,children:[o,T.jsx("span",{className:"ml-auto flex h-9 w-24 items-center justify-center rounded-full text-sm font-medium",style:s,children:l})]})}),e[6]=l,e[7]=u):u=e[7];let c;e[8]===Symbol.for("react.memo_cache_sentinel")?(c={background:"radial-gradient(120% 80% at 30% 0%, #ffffff 0%, #fafaf9 45%, #f6f4f1 100%)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(40,37,36,0.05), 0 1px 2px rgba(40,37,36,0.04)"},e[8]=c):c=e[8];let f;e[9]===Symbol.for("react.memo_cache_sentinel")?(f={border:`1px solid ${E.border}`},e[9]=f):f=e[9];let h;e[10]!==t?(h=If(t),e[10]=t,e[11]=h):h=e[11];let v;e[12]!==h?(v=T.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-xl bg-white",style:f,children:T.jsx("img",{src:h,alt:"",className:"h-full w-full object-contain p-1.5"})}),e[12]=h,e[13]=v):v=e[13];let d;e[14]!==t?(d=T.jsx("span",{className:"truncate text-[15px] font-medium leading-tight",children:t}),e[14]=t,e[15]=d):d=e[15];let p;e[16]===Symbol.for("react.memo_cache_sentinel")?(p={color:E.faint},e[16]=p):p=e[16];let g;e[17]!==a?(g=a("reports.authGate.report"),e[17]=a,e[18]=g):g=e[18];let m;e[19]!==g?(m=T.jsx("span",{className:"truncate text-[12px] leading-tight",style:p,children:g}),e[19]=g,e[20]=m):m=e[20];let y;e[21]!==d||e[22]!==m?(y=T.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[d,m]}),e[21]=d,e[22]=m,e[23]=y):y=e[23];let x;e[24]!==v||e[25]!==y?(x=T.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[v,y]}),e[24]=v,e[25]=y,e[26]=x):x=e[26];let _;e[27]===Symbol.for("react.memo_cache_sentinel")?(_={color:E.ink},e[27]=_):_=e[27];let S;e[28]!==a?(S=a("reports.authGate.headline"),e[28]=a,e[29]=S):S=e[29];let b;e[30]!==S?(b=T.jsx("h1",{className:"mt-7 max-w-[20ch] text-[2.4rem] font-medium leading-[1.05] tracking-[-0.035em]",style:_,children:S}),e[30]=S,e[31]=b):b=e[31];let w;e[32]===Symbol.for("react.memo_cache_sentinel")?(w=T.jsx("span",{className:"text-[4.25rem] font-light leading-[0.82] tracking-[-0.045em] tabular-nums",style:{color:E.soft},children:t0}),e[32]=w):w=e[32];let C;e[33]===Symbol.for("react.memo_cache_sentinel")?(C={color:E.faint},e[33]=C):C=e[33];let A;e[34]!==a?(A=a("reports.authGate.decoScore"),e[34]=a,e[35]=A):A=e[35];let D;e[36]!==A?(D=T.jsxs("div",{className:"flex items-end gap-3",children:[w,T.jsx("div",{className:"flex flex-col gap-1.5 pb-1",children:T.jsxs("span",{className:"text-[13px]",style:C,children:["/ 100 · ",A]})})]}),e[36]=A,e[37]=D):D=e[37];let M;e[38]===Symbol.for("react.memo_cache_sentinel")?(M={background:"rgba(40,37,36,0.08)"},e[38]=M):M=e[38];let I;e[39]===Symbol.for("react.memo_cache_sentinel")?(I=T.jsx("div",{className:"mt-4 h-1.5 w-full overflow-hidden rounded-full",style:M,children:T.jsx("div",{className:"h-full rounded-full",style:{width:`${t0}%`,background:E.soft}})}),e[39]=I):I=e[39];let k;e[40]===Symbol.for("react.memo_cache_sentinel")?(k=T.jsx("div",{className:"mt-6 flex gap-4 border-t pt-4",style:{borderColor:E.border},children:[62,41,78,55,33].map(wk)}),e[40]=k):k=e[40];let P;e[41]!==D?(P=T.jsxs("div",{className:"mt-auto pt-8",children:[D,I,k]}),e[41]=D,e[42]=P):P=e[42];let R;e[43]!==x||e[44]!==b||e[45]!==P?(R=T.jsxs("div",{className:"flex min-h-0 flex-col px-7 py-7 lg:w-[55%]",children:[x,b,P]}),e[43]=x,e[44]=b,e[45]=P,e[46]=R):R=e[46];let N;e[47]===Symbol.for("react.memo_cache_sentinel")?(N={background:"radial-gradient(116% 88% at 82% 4%, rgba(208,236,26,0.18), transparent 56%), linear-gradient(158deg, #0a5122 0%, #07401a 44%, #052e11 100%)"},e[47]=N):N=e[47];let B;e[48]===Symbol.for("react.memo_cache_sentinel")?(B=T.jsxs("div",{className:"flex h-9 items-center gap-2 px-4",style:{background:"#f4f2ec"},children:[T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"ml-3 h-5 flex-1 rounded-md bg-white"})]}),e[48]=B):B=e[48];let O;e[49]===Symbol.for("react.memo_cache_sentinel")?(O=T.jsx("div",{className:"relative min-h-0 flex-1",children:T.jsxs("div",{className:"absolute inset-x-7 top-7 overflow-hidden rounded-2xl bg-white",children:[B,T.jsx("div",{className:"h-[240px]",style:{background:"#f4f2ec"}})]})}),e[49]=O):O=e[49];let V;e[50]===Symbol.for("react.memo_cache_sentinel")?(V={color:"rgba(255,255,255,0.52)"},e[50]=V):V=e[50];let F;e[51]!==a?(F=a("reports.authGate.inThisReport"),e[51]=a,e[52]=F):F=e[52];let G;e[53]!==F?(G=T.jsx("span",{className:"text-[12px] font-medium",style:V,children:F}),e[53]=F,e[54]=G):G=e[54];let j;e[55]!==a?(j=_k(a).map(Sk),e[55]=a,e[56]=j):j=e[56];let Y;e[57]!==j?(Y=T.jsx("ul",{className:"mt-1.5 flex flex-col",children:j}),e[57]=j,e[58]=Y):Y=e[58];let J;e[59]===Symbol.for("react.memo_cache_sentinel")?(J={background:E.lime,color:E.forest},e[59]=J):J=e[59];let U;e[60]!==a?(U=a("reports.authGate.unlockReport"),e[60]=a,e[61]=U):U=e[61];let ye;e[62]!==U?(ye=T.jsx("span",{className:"mt-4 flex h-11 w-full items-center justify-center rounded-full text-sm font-medium",style:J,children:U}),e[62]=U,e[63]=ye):ye=e[63];let de;e[64]!==G||e[65]!==Y||e[66]!==ye?(de=T.jsxs("div",{className:"relative hidden min-h-0 flex-1 flex-col overflow-hidden rounded-2xl lg:flex",style:N,children:[O,T.jsxs("div",{className:"shrink-0 px-6 pb-6 pt-4",children:[G,Y,ye]})]}),e[64]=G,e[65]=Y,e[66]=ye,e[67]=de):de=e[67];let ne;e[68]!==R||e[69]!==de?(ne=T.jsx("div",{className:"mx-auto flex h-full w-full max-w-[1280px] flex-col overflow-hidden rounded-[26px]",style:c,children:T.jsxs("div",{className:"flex min-h-0 flex-1 gap-2 p-2",children:[R,de]})}),e[68]=R,e[69]=de,e[70]=ne):ne=e[70];let Q;e[71]===Symbol.for("react.memo_cache_sentinel")?(Q=T.jsx("div",{className:"absolute right-8 top-1/2 flex -translate-y-1/2 flex-col gap-1.5",children:[0,1,2,3,4,5].map(bk)}),e[71]=Q):Q=e[71];let ie;e[72]!==ne?(ie=T.jsxs("div",{className:"relative min-h-0 flex-1 px-6 py-8 sm:px-10",children:[ne,Q]}),e[72]=ne,e[73]=ie):ie=e[73];let K;e[74]===Symbol.for("react.memo_cache_sentinel")?(K={borderTop:`1px solid ${E.border}`},e[74]=K):K=e[74];let ae;e[75]===Symbol.for("react.memo_cache_sentinel")?(ae=T.jsx("span",{className:"text-sm tabular-nums opacity-50",style:{color:E.ink},children:"01/06"}),e[75]=ae):ae=e[75];let Te;e[76]===Symbol.for("react.memo_cache_sentinel")?(Te={borderColor:E.inputBorder,color:E.ink,background:E.surface},e[76]=Te):Te=e[76];let fe;e[77]!==a?(fe=a("reports.authGate.shareButton"),e[77]=a,e[78]=fe):fe=e[78];let Se;e[79]!==fe?(Se=T.jsx("span",{className:"flex h-12 items-center gap-2 rounded-full border px-6 text-sm font-medium",style:Te,children:fe}),e[79]=fe,e[80]=Se):Se=e[80];let De;e[81]===Symbol.for("react.memo_cache_sentinel")?(De={background:E.primary,color:E.primaryFg},e[81]=De):De=e[81];let ze;e[82]!==a?(ze=a("reports.authGate.nextButton"),e[82]=a,e[83]=ze):ze=e[83];let We;e[84]!==ze?(We=T.jsx("span",{className:"flex h-12 items-center rounded-full px-6 text-sm font-medium",style:De,children:ze}),e[84]=ze,e[85]=We):We=e[85];let Ue;e[86]!==Se||e[87]!==We?(Ue=T.jsxs("footer",{className:"flex shrink-0 items-center gap-2 px-6 py-4 sm:px-10",style:K,children:[ae,T.jsxs("div",{className:"ml-auto flex items-center gap-2",children:[Se,We]})]}),e[86]=Se,e[87]=We,e[88]=Ue):Ue=e[88];let vt;return e[89]!==ie||e[90]!==Ue||e[91]!==u?(vt=T.jsxs("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-[-18px] flex select-none flex-col overflow-hidden",style:n,children:[u,ie,Ue]}),e[89]=ie,e[90]=Ue,e[91]=u,e[92]=vt):vt=e[92],vt}function bk(r){return T.jsx("span",{className:"rounded-full",style:{height:r===0?3:2,width:r===0?28:12,background:r===0?E.ink:"rgba(40,37,36,0.22)"}},r)}function Sk(r,e){return T.jsxs("li",{className:"flex items-center gap-3 border-t py-2.5",style:{borderColor:"rgba(255,255,255,0.1)"},children:[T.jsx("span",{className:"w-4 shrink-0 text-[11px] tabular-nums",style:{color:"rgba(208,236,26,0.8)"},children:String(e+1).padStart(2,"0")}),T.jsx("span",{className:"min-w-0 flex-1 truncate text-[14px] leading-[1.35]",style:{color:"rgba(255,255,255,0.9)"},children:r})]},e)}function wk(r,e){return T.jsxs("div",{className:"flex flex-1 flex-col gap-1.5",children:[T.jsx("span",{className:"h-2 w-4/5 rounded-full",style:{background:E.border}}),T.jsx("span",{className:"h-[3px] w-full overflow-hidden rounded-full",style:{background:"rgba(40,37,36,0.09)"},children:T.jsx("span",{className:"block h-full rounded-full",style:{width:`${r}%`,background:E.soft}})})]},e)}function M2(r){const e=ge.c(51),{domain:t}=r,a=lt(),n=bI();let i;e[0]!==t?(i=R=>{const N="provider"in R?R.provider:void 0,B="mode"in R?R.mode:void 0,V={method:R.method==="social"?N??"social":R.method,provider:N,auth_mode:B},F=MI(t,V),G={domain:t,surface:"deck_v2",...Yd(F),...V};R.type==="started"?rt("report_auth_started",G):R.type==="otp_sent"?rt("report_auth_otp_sent",G):R.type==="otp_submitted"?rt("report_auth_otp_submitted",G):R.type==="failed"&&rt("report_auth_failed",{...G,failure_stage:R.stage,error_type:LI(R.error)})},e[0]=t,e[1]=i):i=e[1];const o=i;let s;e[2]!==t||e[3]!==n?(s=()=>n.invalidateQueries({queryKey:S2.reportAll(t)}),e[2]=t,e[3]=n,e[4]=s):s=e[4];const l=s;let u;e[5]!==t?(u=R=>{if(!R)return;const N=II(t);R.dataset.tracked==="true"||!bi()||(R.dataset.tracked="true",rt("report_auth_gate_shown",{domain:t,surface:"deck_v2",...Yd(N)}))},e[5]=t,e[6]=u):u=e[6];const c=u;let f;e[7]!==a?(f=a("reports.authGate.accessYourReport"),e[7]=a,e[8]=f):f=e[8];let h;e[9]!==t?(h=fk(t),e[9]=t,e[10]=h):h=e[10];let v;e[11]!==a?(v=a("reports.authGate.accessYourReport"),e[11]=a,e[12]=v):v=e[12];let d;e[13]!==a?(d=a("reports.authGate.authSubtitle"),e[13]=a,e[14]=d):d=e[14];let p;e[15]===Symbol.for("react.memo_cache_sentinel")?(p=["google"],e[15]=p):p=e[15];let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g={borderColor:E.border,background:E.bg},e[16]=g):g=e[16];let m;e[17]!==t?(m=If(t),e[17]=t,e[18]=m):m=e[18];let y;e[19]!==m?(y=T.jsx("img",{src:m,alt:"",className:"h-4 w-4 shrink-0 rounded object-contain"}),e[19]=m,e[20]=y):y=e[20];let x;e[21]===Symbol.for("react.memo_cache_sentinel")?(x={color:E.muted},e[21]=x):x=e[21];let _;e[22]!==t?(_=T.jsx("span",{className:"truncate text-[13px]",style:x,children:t}),e[22]=t,e[23]=_):_=e[23];let S;e[24]!==y||e[25]!==_?(S=T.jsxs("div",{className:"inline-flex min-w-0 items-center gap-2 rounded-full border px-3 py-1.5",style:g,children:[y,_]}),e[24]=y,e[25]=_,e[26]=S):S=e[26];let b;e[27]===Symbol.for("react.memo_cache_sentinel")?(b=T.jsx("img",{src:"/logos/deco logo.svg",alt:"Deco",className:"h-7 w-7 shrink-0"}),e[27]=b):b=e[27];let w;e[28]!==S?(w=T.jsxs("div",{className:"flex items-center justify-between gap-4",children:[S,b]}),e[28]=S,e[29]=w):w=e[29];let C;e[30]!==a?(C=xk(a),e[30]=a,e[31]=C):C=e[31];let A;e[32]!==o||e[33]!==l||e[34]!==w||e[35]!==C||e[36]!==h||e[37]!==v||e[38]!==d?(A=T.jsx(DI,{callbackUrl:h,title:v,subtitle:d,variant:"compact",allowedSocialProviders:p,allowPassword:!1,onAuthEvent:o,onAuthenticated:l,brand:w,copy:C}),e[32]=o,e[33]=l,e[34]=w,e[35]=C,e[36]=h,e[37]=v,e[38]=d,e[39]=A):A=e[39];let D;e[40]===Symbol.for("react.memo_cache_sentinel")?(D={color:E.faint},e[40]=D):D=e[40];let M;e[41]!==a?(M=a("reports.authGate.freeAccess"),e[41]=a,e[42]=M):M=e[42];let I;e[43]!==M?(I=T.jsx("p",{className:"mt-4 text-xs leading-5",style:D,children:M}),e[43]=M,e[44]=I):I=e[44];let k;e[45]===Symbol.for("react.memo_cache_sentinel")?(k=T.jsx(D2,{compact:!0}),e[45]=k):k=e[45];let P;return e[46]!==A||e[47]!==I||e[48]!==f||e[49]!==c?(P=T.jsxs("section",{ref:c,role:"dialog","aria-modal":"true","aria-label":f,className:"w-full max-w-[440px] rounded-2xl bg-white px-6 py-6 card-shadow sm:rounded-3xl sm:px-8 sm:py-8",style:yk,children:[A,I,k]}),e[46]=A,e[47]=I,e[48]=f,e[49]=c,e[50]=P):P=e[50],P}function Fg(r){const e=ge.c(11),{domain:t,loading:a}=r,n=a===void 0?!1:a,i=lt();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={color:E.ink,fontFamily:"Switzer, 'Inter var', Helvetica, Arial, sans-serif",WebkitFontSmoothing:"antialiased"},e[0]=o):o=e[0];let s;e[1]!==t?(s=T.jsx(Pf,{domain:t}),e[1]=t,e[2]=s):s=e[2];let l;e[3]===Symbol.for("react.memo_cache_sentinel")?(l=T.jsx("div",{className:"pointer-events-none absolute inset-0 bg-white/55"}),e[3]=l):l=e[3];let u;e[4]!==t||e[5]!==n||e[6]!==i?(u=T.jsx("div",{className:"relative z-10 flex h-full items-center justify-center px-3 py-5 sm:px-6 sm:py-10",children:n?T.jsx("div",{className:"h-[330px] w-full max-w-[440px] animate-pulse rounded-3xl bg-white card-shadow","aria-label":i("reports.authGate.loadingSession")}):T.jsx(M2,{domain:t})}),e[4]=t,e[5]=n,e[6]=i,e[7]=u):u=e[7];let c;return e[8]!==s||e[9]!==u?(c=T.jsxs("div",{className:"fixed inset-0 overflow-hidden",style:o,children:[s,l,u]}),e[8]=s,e[9]=u,e[10]=c):c=e[10],c}function L2(r){const e=ge.c(7),{domain:t,onClose:a}=r;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={color:E.ink,fontFamily:"Switzer, 'Inter var', Helvetica, Arial, sans-serif",WebkitFontSmoothing:"antialiased"},e[0]=n):n=e[0];let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=T.jsx("div",{className:"absolute inset-0 bg-white/70 backdrop-blur-sm"}),e[1]=i):i=e[1];let o;e[2]!==t?(o=T.jsx("div",{className:"relative z-10",onClick:Tk,children:T.jsx(M2,{domain:t})}),e[2]=t,e[3]=o):o=e[3];let s;return e[4]!==a||e[5]!==o?(s=T.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center px-3 py-5 sm:px-6 sm:py-10",style:n,onClick:a,children:[i,o]}),e[4]=a,e[5]=o,e[6]=s):s=e[6],s}function Tk(r){return r.stopPropagation()}const Ck=4e3,Ak=180;function I2(r,e){for(const t of e??[])rt("report_slide_dropped",{domain:r,section_type:t.section_type,position:t.position,reason:t.reason,surface:"deck_v2"})}const Hg=r=>`report:pending:${r}`,Dk=r=>{try{return JSON.parse(localStorage.getItem(Hg(r))??"null")}catch{return null}},Mk=r=>{try{localStorage.setItem(Hg(r),JSON.stringify({startedAt:Date.now()}))}catch{}},lu=r=>{try{localStorage.removeItem(Hg(r))}catch{}};async function Lk(r,e,t,a,n){try{rt("report_scan_triggered",{domain:r,surface:"deck_v2"});const i=await lk({domain:r,distinctId:e});if(t.aborted)return;if(i.state==="blocked")return lu(r),rt("report_scan_failed",{domain:r,phase:"blocked",reason:"blocked",surface:"deck_v2"}),a.onPhase("blocked");let o=i.state==="running"?i.id:null;i.state==="running"&&(a.onPhase("pending"),rt("report_pending_screen_shown",{domain:r,surface:"deck_v2"}),Mk(r));for(let s=0;s<Ak&&!t.aborted;s++){const l=await C2(r,void 0,n);if(t.aborted)return;if(l.status==="ready"&&l.deck)return lu(r),I2(r,l.drops),rt("report_scan_completed",{domain:r,surface:"deck_v2"}),a.onDeck(l.deck);if(o){const u=await uk(o);if(t.aborted)return;u.done&&(o=null,rt("report_run_done_deck_pending",{domain:r,surface:"deck_v2"}),a.onPhase("empty"))}await RI(Ck,{signal:t})}t.aborted||(lu(r),rt("report_scan_failed",{domain:r,phase:"empty",reason:"poll_timeout",surface:"deck_v2"}),a.onPhase("empty"))}catch(i){if(!t.aborted){lu(r);const o=Gg(i);rt("report_scan_failed",{domain:r,phase:o?"unauthorized":"error",reason:o?"unauthorized":"exception",surface:"deck_v2"}),a.onPhase(o?"unauthorized":"error")}}}const Ik={share:JI,arrow_forward:VI,arrow_upward:OI,arrow_downward:NI,info:qI,warning:wI,flag:KI,lock:SI,link:zI,logout:tk,leaderboard:ZI,checklist:XI,notifications_active:YI,package_2:UI,check_circle:QI,cancel:BI,error:EI,trending_up:$I,trending_down:WI,bolt:ik,search:rk,shopping_cart:jI,monitoring:HI,accessibility_new:ek,shield:ak,article:FI,smart_toy:nk,bar_chart:GI},kk={xs:12,small:14,medium:16,large:18,xl:20,xxl:32,40:40,immense:80};function pt(r){const e=ge.c(4),{name:t,size:a,class:n}=r,i=a===void 0?"medium":a,o=n===void 0?"":n,s=Ik[t];if(!s)return null;const l=kk[i];let u;return e[0]!==s||e[1]!==o||e[2]!==l?(u=T.jsx(s,{size:l,className:o}),e[0]=s,e[1]=o,e[2]=l,e[3]=u):u=e[3],u}function k2(r){const e=new URLSearchParams({siteUrl:r}),t=kI(typeof window>"u"?"":window.location.search);for(const[a,n]of Object.entries(t))typeof n=="string"&&e.set(a,n);return`/commerce-onboarding?${e.toString()}`}function Rf(r,e){rt("report_cta_clicked",{domain:e.domain,placement:e.placement,destination:"studio_onboarding",...e.slideKey!==void 0?{slide_key:e.slideKey}:{},...e.slideIndex!==void 0?{slide_index:e.slideIndex}:{},surface:"deck_v2"},{transport:"sendBeacon"})}const Be=r=>`https://www.google.com/s2/favicons?domain=${r}&sz=64`,Pk={"google analytics 4":Be("analytics.google.com"),ga4:Be("analytics.google.com"),"google analytics":Be("analytics.google.com"),"google search console":Be("search.google.com"),"search console":Be("search.google.com"),gsc:Be("search.google.com"),"gsc url inspection":Be("search.google.com"),"google tag manager":Be("tagmanager.google.com"),gtm:Be("tagmanager.google.com"),"google ads":Be("ads.google.com"),"keyword planner":Be("ads.google.com"),"merchant center":Be("merchants.google.com"),"google merchant center":Be("merchants.google.com"),"pagespeed insights":Be("pagespeed.web.dev"),psi:Be("pagespeed.web.dev"),lighthouse:Be("developer.chrome.com"),"chrome ux report":Be("developer.chrome.com"),crux:Be("developer.chrome.com"),"chrome devtools":Be("developer.chrome.com"),webpagetest:Be("webpagetest.org"),semrush:Be("semrush.com"),similarweb:Be("similarweb.com"),ahrefs:Be("ahrefs.com"),moz:Be("moz.com"),"screaming frog":Be("screamingfrog.co.uk"),builtwith:Be("builtwith.com"),microlink:Be("microlink.io"),apify:Be("apify.com"),firecrawl:Be("firecrawl.dev"),"reclame aqui":Be("reclameaqui.com.br"),instagram:Be("instagram.com"),meta:Be("meta.com"),"meta business manager":Be("business.facebook.com"),vtex:Be("vtex.com"),"vtex oms":Be("vtex.com"),shopify:Be("shopify.com"),linx:Be("linx.com.br"),wake:Be("wake.com")};function r0(r,e){return e||(Pk[r.toLowerCase().trim()]??"")}function yr(r){const e=ge.c(20),{eyebrow:t,headline:a,annotation:n,active:i}=r;let o;if(e[0]!==a){let p;e[2]===Symbol.for("react.memo_cache_sentinel")?(p=/\s*\n\s*/g,e[2]=p):p=e[2],o=a.replace(p," "),e[0]=a,e[1]=o}else o=e[1];const s=o,l=i?"true":"false";let u;e[3]!==t||e[4]!==l?(u=t&&T.jsx("p",{className:"reveal deck-eyebrow","data-show":l,children:t}),e[3]=t,e[4]=l,e[5]=u):u=e[5];let c;e[6]===Symbol.for("react.memo_cache_sentinel")?(c={color:E.ink},e[6]=c):c=e[6];let f;e[7]!==l||e[8]!==s?(f=T.jsx("h2",{className:"reveal text-balance font-normal leading-[1.14] tracking-[-0.02em] text-[min(clamp(1.3125rem,4.8vw,2.5rem),2.9svh)] sm:text-[clamp(1.5rem,3.2vw,2.5rem)] lg:text-[2.25rem] lg:max-w-[20ch]","data-show":l,style:c,children:s}),e[7]=l,e[8]=s,e[9]=f):f=e[9];let h;e[10]!==i||e[11]!==n||e[12]!==l?(h=n&&T.jsx("p",{className:"reveal max-w-[44ch] shrink-0 text-[min(13px,1.9svh)] leading-snug sm:pt-1 sm:text-[14px] sm:leading-relaxed","data-show":l,style:{color:E.muted,transitionDelay:i?"90ms":"0ms"},children:n}),e[10]=i,e[11]=n,e[12]=l,e[13]=h):h=e[13];let v;e[14]!==f||e[15]!==h?(v=T.jsxs("div",{className:"flex flex-col gap-[min(0.625rem,1svh)] sm:flex-row sm:items-start sm:justify-between sm:gap-12",children:[f,h]}),e[14]=f,e[15]=h,e[16]=v):v=e[16];let d;return e[17]!==u||e[18]!==v?(d=T.jsxs("header",{className:"flex shrink-0 flex-col gap-[min(0.625rem,1svh)] px-5 pt-2 sm:gap-3 sm:px-10 lg:px-16",children:[u,v]}),e[17]=u,e[18]=v,e[19]=d):d=e[19],d}const bh=18;function Rk(r){const e=ge.c(20),{eyebrow:t,headline:a,annotation:n,items:i,active:o}=r,s=i.length>=5;let l;e[0]!==o||e[1]!==n||e[2]!==t||e[3]!==a?(l=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),e[0]=o,e[1]=n,e[2]=t,e[3]=a,e[4]=l):l=e[4];const u=s?"gap-[min(1rem,1.9svh)] sm:gap-4":"gap-[min(1.625rem,2.8svh)] sm:gap-9";let c;e[5]!==u?(c=at("my-auto flex w-full flex-col",u),e[5]=u,e[6]=c):c=e[6];let f;if(e[7]!==o||e[8]!==s||e[9]!==i){let d;e[11]!==o||e[12]!==s?(d=(p,g)=>{const m=ft[p.tone??"neutral"],y=Math.max(1,Math.min(bh,Math.round(p.ratio*bh)));return T.jsxs("div",{className:at("reveal flex flex-col",s?"gap-1.5":"gap-2 sm:gap-2.5"),"data-show":o?"true":"false",style:{transitionDelay:o?`${80+g*90}ms`:"0ms"},children:[T.jsxs("div",{className:"flex items-baseline justify-between gap-4",children:[T.jsx("span",{className:at("min-w-0 flex-1 tracking-[-0.01em]",s?"line-clamp-2 break-words text-sm leading-snug sm:text-base":"truncate text-sm sm:text-base"),style:{color:E.muted},children:p.label}),T.jsx("span",{className:at("shrink-0 font-light leading-none tracking-[-0.02em] tabular-nums",s?"text-[min(clamp(1.375rem,3.5vw,1.75rem),3svh)]":"text-[min(clamp(1.5rem,4.5vw,2.5rem),3.4svh)] sm:text-[clamp(1.5rem,3vw,2.5rem)]"),style:{color:m},children:p.value})]}),T.jsx("div",{className:"flex gap-[3px]",children:Array.from({length:bh},(x,_)=>T.jsx("span",{className:at("flex-1 rounded-[2px]",s?"h-2.5 sm:h-3":"h-3 sm:h-3.5"),style:{background:o&&_<y?m:"rgba(40,37,36,0.08)",transition:"background-color 240ms ease",transitionDelay:o&&_<y?`${180+g*90+_*24}ms`:"0ms"}},_))})]},g)},e[11]=o,e[12]=s,e[13]=d):d=e[13],f=i.map(d),e[7]=o,e[8]=s,e[9]=i,e[10]=f}else f=e[10];let h;e[14]!==c||e[15]!==f?(h=T.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-[min(1.5rem,2svh)] sm:px-10 sm:py-6 lg:px-16",children:T.jsx("div",{className:c,children:f})}),e[14]=c,e[15]=f,e[16]=h):h=e[16];let v;return e[17]!==l||e[18]!==h?(v=T.jsxs("div",{className:"flex h-full flex-col",children:[l,h]}),e[17]=l,e[18]=h,e[19]=v):v=e[19],v}const a0={pass:{color:ft.good,icon:"check_circle"},fail:{color:ft.bad,icon:"cancel"},warn:{color:E.warn,icon:"error"}};function Ek(r){const e=ge.c(16),{eyebrow:t,headline:a,annotation:n,checks:i,active:o}=r;let s;e[0]!==o||e[1]!==n||e[2]!==t||e[3]!==a?(s=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),e[0]=o,e[1]=n,e[2]=t,e[3]=a,e[4]=s):s=e[4];let l;if(e[5]!==o||e[6]!==i){let f;e[8]!==o||e[9]!==i.length?(f=(h,v)=>{const d=a0[h.status]??a0.fail;return T.jsxs("li",{className:"reveal flex items-center gap-4 py-[min(0.875rem,1.5svh)] sm:py-4","data-show":o?"true":"false",style:{...v<i.length-1?{borderBottom:`1px solid ${E.border}`}:{},transitionDelay:o?`${60+v*55}ms`:"0ms"},children:[T.jsx("span",{className:"grid shrink-0 place-items-center",style:{color:d.color},children:T.jsx(pt,{name:d.icon,size:"large"})}),T.jsx("span",{className:"min-w-0 flex-[2] text-[15px] leading-snug sm:text-lg",style:{color:E.ink},children:h.label}),h.value&&T.jsx("span",{className:"min-w-0 flex-1 truncate text-right text-[13px] font-medium tabular-nums sm:text-base",style:{color:d.color},title:h.value,children:h.value})]},v)},e[8]=o,e[9]=i.length,e[10]=f):f=e[10],l=i.map(f),e[5]=o,e[6]=i,e[7]=l}else l=e[7];let u;e[11]!==l?(u=T.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-5 sm:px-10 lg:px-16",children:T.jsx("div",{className:"flex min-h-full flex-col justify-center py-3",children:T.jsx("ul",{className:"w-full",children:l})})}),e[11]=l,e[12]=u):u=e[12];let c;return e[13]!==s||e[14]!==u?(c=T.jsxs("div",{className:"flex h-full flex-col",children:[s,u]}),e[13]=s,e[14]=u,e[15]=c):c=e[15],c}function jg(r){return k2(`https://${r}/`)}function Nk(r){const e=r.trim().replace(/^https?:\/\//,"").split("/")[0]??"";return/\./.test(e)?`https://www.google.com/s2/favicons?domain=${encodeURIComponent(e)}&sz=64`:null}function Ok(r){const e=ge.c(5),{initial:t,faviconUrl:a}=r,[n,i]=Re.useState(!1);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={border:`1px solid ${E.border}`,boxShadow:"0 1px 1px rgba(40,37,36,0.04),0 3px 9px rgba(40,37,36,0.04),0 6px 18px rgba(40,37,36,0.02)"},e[0]=o):o=e[0];let s;return e[1]!==n||e[2]!==a||e[3]!==t?(s=T.jsx("span",{className:"grid size-9 shrink-0 place-items-center overflow-hidden rounded-[10px] bg-white sm:size-10",style:o,children:a&&!n?T.jsx("img",{src:a,alt:"",className:"h-full w-full object-contain p-2",onError:()=>i(!0)}):T.jsx("span",{className:"text-lg font-medium",style:{color:E.muted},children:t})}),e[1]=n,e[2]=a,e[3]=t,e[4]=s):s=e[4],s}function Bk(r){const e=ge.c(41),{eyebrow:t,headline:a,annotation:n,metricLabel:i,competitors:o,faviconUrl:s,domain:l,active:u}=r,c=lt(),f=jg(l);let h;e[0]!==u||e[1]!==n||e[2]!==t||e[3]!==a?(h=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:u}),e[0]=u,e[1]=n,e[2]=t,e[3]=a,e[4]=h):h=e[4];let v;e[5]===Symbol.for("react.memo_cache_sentinel")?(v={color:E.muted},e[5]=v):v=e[5];let d;e[6]!==c?(d=c("reports.competitorTemplate.competitor"),e[6]=c,e[7]=d):d=e[7];let p;e[8]!==d?(p=T.jsx("span",{className:"flex-1",children:d}),e[8]=d,e[9]=p):p=e[9];let g;e[10]!==i?(g=i&&T.jsx("span",{children:i}),e[10]=i,e[11]=g):g=e[11];let m;e[12]!==p||e[13]!==g?(m=T.jsxs("div",{className:"flex items-center gap-3 px-4 pb-2 text-[11px] font-medium uppercase tracking-[0.04em]",style:v,children:[p,g]}),e[12]=p,e[13]=g,e[14]=m):m=e[14];let y;if(e[15]!==u||e[16]!==o||e[17]!==s){let M;e[19]!==u||e[20]!==s?(M=(I,k)=>{const P=I.isYou?E.muted:ft[I.tone??"neutral"];return T.jsxs("li",{className:"reveal flex items-center gap-3 rounded-xl px-3 py-[min(0.5rem,1svh)]","data-show":u?"true":"false",style:{...I.isYou?{background:E.surface,border:`1px solid ${E.border}`}:{},transitionDelay:u?`${60+k*60}ms`:"0ms"},children:[T.jsx(Ok,{initial:(I.name[0]??"?").toUpperCase(),faviconUrl:I.isYou?s:Nk(I.name)}),T.jsx("span",{className:"flex-1 truncate text-[15px] sm:text-lg",style:{color:E.ink},children:I.name}),T.jsx("span",{className:"shrink-0 text-lg font-light tabular-nums tracking-[-0.02em] sm:text-2xl",style:{color:P},children:I.value})]},k)},e[19]=u,e[20]=s,e[21]=M):M=e[21],y=o.map(M),e[15]=u,e[16]=o,e[17]=s,e[18]=y}else y=e[18];let x;e[22]!==y?(x=T.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto",children:T.jsx("ul",{className:"my-auto flex flex-col gap-[min(0.375rem,0.8svh)] py-1",children:y})}),e[22]=y,e[23]=x):x=e[23];const _=f.startsWith("http")?"_blank":"_self";let S;e[24]!==l?(S=M=>Rf(M,{domain:l,placement:"competitor_slide_edit"}),e[24]=l,e[25]=S):S=e[25];let b;e[26]===Symbol.for("react.memo_cache_sentinel")?(b={borderColor:E.inputBorder,color:E.ink,background:E.surface},e[26]=b):b=e[26];let w;e[27]!==c?(w=c("reports.competitorTemplate.editMyCompetitors"),e[27]=c,e[28]=w):w=e[28];let C;e[29]!==f||e[30]!==S||e[31]!==w||e[32]!==_?(C=T.jsx("div",{className:"flex shrink-0 justify-center py-[min(1rem,2.4svh)] sm:py-5",children:T.jsx("a",{href:f,target:_,rel:"noopener noreferrer",onClick:S,className:"inline-flex h-11 items-center rounded-full border px-7 text-[15px] font-medium transition-colors hover:bg-black/[0.03] sm:h-12 sm:px-8 sm:text-base",style:b,children:w})}),e[29]=f,e[30]=S,e[31]=w,e[32]=_,e[33]=C):C=e[33];let A;e[34]!==C||e[35]!==m||e[36]!==x?(A=T.jsxs("div",{className:"flex min-h-0 flex-1 flex-col px-5 pt-4 sm:px-10 lg:px-16",children:[m,x,C]}),e[34]=C,e[35]=m,e[36]=x,e[37]=A):A=e[37];let D;return e[38]!==h||e[39]!==A?(D=T.jsxs("div",{className:"flex h-full flex-col",children:[h,A]}),e[38]=h,e[39]=A,e[40]=D):D=e[40],D}function n0(r){const e=ge.c(10),{url:t,initial:a,size:n}=r,[i,o]=Re.useState(!1);let s;e[0]!==n?(s={width:n,height:n,borderColor:E.border},e[0]=n,e[1]=s):s=e[1];let l;e[2]!==i||e[3]!==a||e[4]!==n||e[5]!==t?(l=i?T.jsx("span",{className:"font-medium",style:{fontSize:n*.42,color:E.muted},children:a}):T.jsx("img",{src:t,alt:"",width:n,height:n,className:"h-full w-full object-contain p-1.5",onError:()=>o(!0)}),e[2]=i,e[3]=a,e[4]=n,e[5]=t,e[6]=l):l=e[6];let u;return e[7]!==s||e[8]!==l?(u=T.jsx("span",{className:"flex shrink-0 items-center justify-center overflow-hidden rounded-xl border bg-white",style:s,children:l}),e[7]=s,e[8]=l,e[9]=u):u=e[9],u}function zk(r){const e=ge.c(36),{domain:t,faviconUrl:a,initial:n,desktopShot:i,mobileShot:o,hidePhone:s}=r,l=s===void 0?!1:s,[u,c]=Re.useState(i?"loading":"fail"),[f,h]=Re.useState(o?"loading":"fail"),v=!l&&"pb-10 pl-8";let d;e[0]!==v?(d=at("relative w-full max-w-[560px]",v),e[0]=v,e[1]=d):d=e[1];let p;e[2]===Symbol.for("react.memo_cache_sentinel")?(p={boxShadow:"0 0 0 1px rgba(40,37,36,0.14), 0 2px 4px rgba(40,37,36,0.05), 0 28px 56px -22px rgba(40,37,36,0.30)"},e[2]=p):p=e[2];let g;e[3]===Symbol.for("react.memo_cache_sentinel")?(g={background:"#f4f2ec",borderBottom:`1px solid ${E.border}`},e[3]=g):g=e[3];let m;e[4]===Symbol.for("react.memo_cache_sentinel")?(m=T.jsxs("span",{className:"flex gap-1.5",children:[T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"}),T.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-black/15"})]}),e[4]=m):m=e[4];let y,x;e[5]===Symbol.for("react.memo_cache_sentinel")?(y={background:"#fff"},x=T.jsx(pt,{name:"lock",size:"xs",class:"opacity-50"}),e[5]=y,e[6]=x):(y=e[5],x=e[6]);let _;e[7]===Symbol.for("react.memo_cache_sentinel")?(_={color:E.muted},e[7]=_):_=e[7];let S;e[8]!==t?(S=T.jsxs("div",{className:"flex h-9 items-center gap-2 px-4",style:g,children:[m,T.jsxs("span",{className:"mx-2 flex h-5 flex-1 items-center gap-2 rounded-md px-2.5",style:y,children:[x,T.jsx("span",{className:"truncate text-xs",style:_,children:t})]})]}),e[8]=t,e[9]=S):S=e[9];let b;e[10]===Symbol.for("react.memo_cache_sentinel")?(b={background:"#f4f2ec"},e[10]=b):b=e[10];let w;e[11]!==u||e[12]!==a||e[13]!==n?(w=u!=="ok"&&T.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3 animate-pulse",children:[T.jsx(n0,{url:a,initial:n,size:44}),T.jsx("span",{className:"text-xs",style:{color:E.muted},children:u==="loading"?"capturing preview…":"preview unavailable"})]}),e[11]=u,e[12]=a,e[13]=n,e[14]=w):w=e[14];let C;e[15]!==i||e[16]!==t||e[17]!==u?(C=i&&T.jsx("img",{src:i,alt:`${t} homepage`,className:at("absolute inset-0 block h-full w-full object-cover object-top transition-opacity duration-500",u==="ok"?"opacity-100":"opacity-0"),onLoad:()=>c("ok"),onError:()=>c("fail"),loading:"eager"}),e[15]=i,e[16]=t,e[17]=u,e[18]=C):C=e[18];let A;e[19]!==w||e[20]!==C?(A=T.jsxs("div",{className:"relative aspect-[4/3]",style:b,children:[w,C]}),e[19]=w,e[20]=C,e[21]=A):A=e[21];let D;e[22]!==S||e[23]!==A?(D=T.jsxs("div",{className:"overflow-hidden rounded-2xl bg-white",style:p,children:[S,A]}),e[22]=S,e[23]=A,e[24]=D):D=e[24];let M;e[25]!==t||e[26]!==a||e[27]!==l||e[28]!==n||e[29]!==o||e[30]!==f?(M=!l&&f!=="fail"&&T.jsx("div",{className:"absolute bottom-0 left-0 w-[26%] max-w-[136px]",children:T.jsxs("div",{className:"rounded-[1.5rem] p-1.5",style:{background:"#fff",boxShadow:"0 0 0 1px rgba(40,37,36,0.14), 0 2px 4px rgba(40,37,36,0.06), 0 18px 36px -16px rgba(40,37,36,0.36)"},children:[T.jsx("div",{className:"flex h-5 items-center justify-center",children:T.jsx("span",{className:"h-1.5 w-9 rounded-full bg-black/15"})}),T.jsxs("div",{className:"relative aspect-[9/19] overflow-hidden rounded-[1.05rem]",style:{background:"#f4f2ec"},children:[f!=="ok"&&T.jsx("div",{className:"absolute inset-0 flex items-center justify-center animate-pulse",children:T.jsx(n0,{url:a,initial:n,size:26})}),o&&T.jsx("img",{src:o,alt:`${t} mobile`,className:at("absolute inset-0 block h-full w-full object-cover object-top transition-opacity duration-500",f==="ok"?"opacity-100":"opacity-0"),style:{transform:"scale(1.14) translateY(-6%)",transformOrigin:"50% 0%"},onLoad:()=>h("ok"),onError:()=>h("fail"),loading:"eager"})]})]})}),e[25]=t,e[26]=a,e[27]=l,e[28]=n,e[29]=o,e[30]=f,e[31]=M):M=e[31];let I;return e[32]!==D||e[33]!==M||e[34]!==d?(I=T.jsxs("div",{className:d,children:[D,M]}),e[32]=D,e[33]=M,e[34]=d,e[35]=I):I=e[35],I}const Vk=40,Gk=60;function Wg(r){return r>Gk?ft.good:r>Vk?E.warn:ft.bad}const Fk={funil:"reports.coverTemplate.area.funil",tecnica:"reports.coverTemplate.area.tecnica",tagging:"reports.coverTemplate.area.tagging",aquisicao:"reports.coverTemplate.area.aquisicao",retencao:"reports.coverTemplate.area.retencao",catalogo:"reports.coverTemplate.area.catalogo",seo:"reports.coverTemplate.area.seo",geo:"reports.coverTemplate.area.geo",performance:"reports.coverTemplate.area.performance",accessibility:"reports.coverTemplate.area.accessibility",security:"reports.coverTemplate.area.security",ux:"reports.coverTemplate.area.ux",tracking:"reports.coverTemplate.area.tracking",infra:"reports.coverTemplate.area.infra",retention:"reports.coverTemplate.area.retention"};function Hk(r,e){const t=ge.c(6),[a,n]=Re.useState(0);let i;t[0]!==e||t[1]!==r?(i=l=>{if(!l||!e)return;if(window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){n(r);return}let u=0,c=0;const f=h=>{c||(c=h);const v=Math.min(1,(h-c)/1100);n(r*(1-(1-v)**3)),v<1&&(u=requestAnimationFrame(f))};return u=requestAnimationFrame(f),()=>cancelAnimationFrame(u)},t[0]=e,t[1]=r,t[2]=i):i=t[2];const o=i;let s;return t[3]!==o||t[4]!==a?(s=[a,o],t[3]=o,t[4]=a,t[5]=s):s=t[5],s}function P2(r){const e=ge.c(31),{score:t,size:a,stroke:n,active:i,className:o,children:s}=r,l=(a-n)/2,u=2*Math.PI*l,c=Math.min(100,Math.max(0,t));let f;e[0]!==o?(f=at("relative shrink-0",o),e[0]=o,e[1]=f):f=e[1];let h;e[2]!==o||e[3]!==a?(h=o?void 0:{width:a,height:a},e[2]=o,e[3]=a,e[4]=h):h=e[4];const v=`0 0 ${a} ${a}`,d=a/2,p=a/2;let g;e[5]!==l||e[6]!==n||e[7]!==d||e[8]!==p?(g=T.jsx("circle",{cx:d,cy:p,r:l,fill:"none",stroke:E.border,strokeWidth:n}),e[5]=l,e[6]=n,e[7]=d,e[8]=p,e[9]=g):g=e[9];const m=a/2,y=a/2;let x;e[10]!==t?(x=Wg(t),e[10]=t,e[11]=x):x=e[11];const _=u*(i?1-c/100:1);let S;e[12]!==u||e[13]!==l||e[14]!==n||e[15]!==_||e[16]!==m||e[17]!==y||e[18]!==x?(S=T.jsx("circle",{cx:m,cy:y,r:l,fill:"none",stroke:x,strokeWidth:n,strokeLinecap:"round",strokeDasharray:u,strokeDashoffset:_,className:"transition-[stroke-dashoffset] duration-1000 ease-out"}),e[12]=u,e[13]=l,e[14]=n,e[15]=_,e[16]=m,e[17]=y,e[18]=x,e[19]=S):S=e[19];let b;e[20]!==S||e[21]!==v||e[22]!==g?(b=T.jsxs("svg",{viewBox:v,className:"size-full -rotate-90",children:[g,S]}),e[20]=S,e[21]=v,e[22]=g,e[23]=b):b=e[23];let w;e[24]!==s?(w=T.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:s}),e[24]=s,e[25]=w):w=e[25];let C;return e[26]!==f||e[27]!==b||e[28]!==w||e[29]!==h?(C=T.jsxs("div",{className:f,style:h,"aria-hidden":!0,children:[b,w]}),e[26]=f,e[27]=b,e[28]=w,e[29]=h,e[30]=C):C=e[30],C}function jk(r){const e=ge.c(47),{score:t,active:a}=r,n=lt(),[i,o]=Hk(t.value,a);let s;e[0]!==t.value?(s=Wg(t.value),e[0]=t.value,e[1]=s):s=e[1];const l=s,[u,c]=Re.useState(!1),f=Re.useRef(null);let h;e[2]===Symbol.for("react.memo_cache_sentinel")?(h=F=>{if(!F)return;const G=j=>{f.current&&!f.current.contains(j.target)&&c(!1)};return document.addEventListener("mousedown",G),document.addEventListener("touchstart",G),()=>{document.removeEventListener("mousedown",G),document.removeEventListener("touchstart",G)}},e[2]=h):h=e[2];const v=h,d=t.value;let p;e[3]!==l?(p={color:l},e[3]=l,e[4]=p):p=e[4];let g;e[5]!==i?(g=Math.round(i),e[5]=i,e[6]=g):g=e[6];let m;e[7]!==p||e[8]!==g?(m=T.jsx("span",{className:"deco-cover-number font-light leading-[0.9] tracking-[-0.04em] tabular-nums",style:p,children:g}),e[7]=p,e[8]=g,e[9]=m):m=e[9];let y;e[10]===Symbol.for("react.memo_cache_sentinel")?(y={color:E.faint},e[10]=y):y=e[10];let x;e[11]!==n?(x=n("reports.coverTemplate.outOf100"),e[11]=n,e[12]=x):x=e[12];let _;e[13]!==x?(_=T.jsx("span",{className:"text-[12px] leading-none tabular-nums",style:y,children:x}),e[13]=x,e[14]=_):_=e[14];let S;e[15]!==a||e[16]!==t.value||e[17]!==m||e[18]!==_?(S=T.jsxs(P2,{score:d,size:124,stroke:10,active:a,className:"deco-cover-ring",children:[m,_]}),e[15]=a,e[16]=t.value,e[17]=m,e[18]=_,e[19]=S):S=e[19];let b;e[20]===Symbol.for("react.memo_cache_sentinel")?(b={color:E.muted},e[20]=b):b=e[20];let w;e[21]!==n?(w=n("reports.coverTemplate.decoScore"),e[21]=n,e[22]=w):w=e[22];let C;e[23]!==w?(C=T.jsx("span",{className:"truncate text-[13px] font-medium lg:text-[14px]",style:b,children:w}),e[23]=w,e[24]=C):C=e[24];let A;e[25]!==n?(A=n("reports.coverTemplate.whatIsDecoScore"),e[25]=n,e[26]=A):A=e[26];const D=u?.85:.4;let M;e[27]!==D?(M={opacity:D},e[27]=D,e[28]=M):M=e[28];let I,k,P,R;e[29]===Symbol.for("react.memo_cache_sentinel")?(I=()=>c(!0),k=()=>c(!1),P=()=>c(Wk),R=T.jsx(pt,{name:"info",size:"small"}),e[29]=I,e[30]=k,e[31]=P,e[32]=R):(I=e[29],k=e[30],P=e[31],R=e[32]);let N;e[33]!==A||e[34]!==M?(N=T.jsx("button",{type:"button","aria-label":A,className:"flex shrink-0 items-center justify-center rounded-full transition-opacity",style:M,onMouseEnter:I,onMouseLeave:k,onClick:P,children:R}),e[33]=A,e[34]=M,e[35]=N):N=e[35];let B;e[36]!==n||e[37]!==u?(B=u&&T.jsx("div",{ref:v,className:"absolute left-0 top-full z-50 mt-2 w-72 rounded-xl px-4 py-3.5 text-sm leading-[1.6] shadow-xl",style:{background:E.surface,border:`1px solid ${E.border}`,color:E.ink,boxShadow:"0 4px 6px rgba(40,37,36,0.06), 0 12px 32px rgba(40,37,36,0.12)"},children:n("reports.coverTemplate.decoScoreExplanation")}),e[36]=n,e[37]=u,e[38]=B):B=e[38];let O;e[39]!==C||e[40]!==N||e[41]!==B?(O=T.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children:T.jsxs("div",{ref:f,className:"relative flex items-center gap-1.5",children:[C,N,B]})}),e[39]=C,e[40]=N,e[41]=B,e[42]=O):O=e[42];let V;return e[43]!==o||e[44]!==S||e[45]!==O?(V=T.jsxs("div",{ref:o,className:"flex items-center gap-5 lg:gap-6",children:[S,O]}),e[43]=o,e[44]=S,e[45]=O,e[46]=V):V=e[46],V}function Wk(r){return!r}function $k(r){const e=ge.c(9),{areas:t,active:a}=r,n=lt();let i;if(e[0]!==a||e[1]!==t||e[2]!==n){let s;e[4]!==a||e[5]!==n?(s=(l,u)=>{const c=Fk[l.key],f=l.pass+l.fail,h=f+l.blocked;return T.jsxs("li",{className:"reveal flex items-center gap-3 border-t py-1 lg:gap-4 lg:py-3","data-show":a?"true":"false",style:{borderColor:E.border,transitionDelay:a?`${320+u*55}ms`:"0ms"},children:[T.jsx(P2,{score:l.score,size:40,stroke:4,active:a,className:"size-10 max-lg:size-7 [@media(max-height:799px)]:size-8 [@media(max-height:559px)]:size-6",children:T.jsx("span",{className:"text-[11px] font-medium leading-none tabular-nums lg:text-[13px]",style:{color:E.muted},children:l.score})}),T.jsx("span",{className:"min-w-0 flex-1 truncate text-[14px] leading-5 lg:text-[15px]",style:{color:E.ink},title:c?n(c):l.label,children:c?n(c):l.label}),T.jsxs("span",{className:"shrink-0 text-[12px] leading-5 tabular-nums",style:{color:E.faint},title:n("reports.coverTemplate.areaCoverage",{decided:f,total:h}),children:[f,"/",h]})]},l.key)},e[4]=a,e[5]=n,e[6]=s):s=e[6],i=t.map(s),e[0]=a,e[1]=t,e[2]=n,e[3]=i}else i=e[3];let o;return e[7]!==i?(o=T.jsx("ul",{className:"grid grid-cols-1 gap-x-6 lg:grid-cols-2 lg:gap-x-8",children:i}),e[7]=i,e[8]=o):o=e[8],o}function Uk(r){const e=ge.c(22),{domain:t,faviconUrl:a,initial:n,screenshot:i,mobileScreenshot:o,areas:s,active:l,onSeeReport:u}=r,c=lt();let f;e[0]!==t||e[1]!==a||e[2]!==n||e[3]!==o||e[4]!==i?(f=T.jsx("div",{className:"absolute inset-x-7 top-7",children:T.jsx(zk,{domain:t,faviconUrl:a,initial:n,desktopShot:i,mobileShot:o,hidePhone:!0})}),e[0]=t,e[1]=a,e[2]=n,e[3]=o,e[4]=i,e[5]=f):f=e[5];let h;e[6]===Symbol.for("react.memo_cache_sentinel")?(h=T.jsxs("div",{className:"deco-chamber-blur pointer-events-none absolute inset-x-0 bottom-0 h-32","aria-hidden":!0,children:[T.jsx("div",{}),T.jsx("div",{}),T.jsx("div",{})]}),e[6]=h):h=e[6];let v;e[7]!==f?(v=T.jsxs("div",{className:"deco-chamber-preview relative z-10 min-h-0 flex-1 overflow-hidden",children:[f,h]}),e[7]=f,e[8]=v):v=e[8];let d;e[9]!==l||e[10]!==s?(d=s&&s.length>0&&T.jsx("div",{className:"deco-cover-areas min-h-0 flex-1 overflow-y-auto lg:flex-none lg:overflow-visible",children:T.jsx($k,{areas:s,active:l})}),e[9]=l,e[10]=s,e[11]=d):d=e[11];let p;e[12]!==l||e[13]!==u||e[14]!==c?(p=u&&T.jsxs("button",{type:"button",onClick:u,className:"deco-cover-cta reveal flex h-11 shrink-0 items-center justify-center gap-2 rounded-full text-[14px] font-medium transition-colors hover:bg-black/[0.03] lg:h-12","data-show":l?"true":"false",style:{border:`1px solid ${E.inputBorder}`,color:E.ink,background:E.surface,transitionDelay:l?"420ms":"0ms"},children:[c("reports.coverTemplate.seeFullReport"),T.jsx(pt,{name:"arrow_forward",size:"small"})]}),e[12]=l,e[13]=u,e[14]=c,e[15]=p):p=e[15];let g;e[16]!==d||e[17]!==p?(g=T.jsxs("div",{className:"deco-chamber-content relative z-10 flex min-h-0 flex-1 flex-col justify-end gap-4 px-5 pb-4 pt-3 lg:flex-none lg:px-6 lg:pb-6 lg:pt-4",children:[d,p]}),e[16]=d,e[17]=p,e[18]=g):g=e[18];let m;return e[19]!==v||e[20]!==g?(m=T.jsxs("div",{className:"deco-chamber relative flex min-h-0 shrink-0 flex-col justify-end overflow-hidden rounded-2xl lg:flex-1",children:[v,g]}),e[19]=v,e[20]=g,e[21]=m):m=e[21],m}function Yk(r){const e=ge.c(74),{headline:t,score:a,screenshot:n,mobileScreenshot:i,faviconUrl:o,domain:s,brand:l,initial:u,active:c,findings:f,areas:h,scannedAt:v,onFindingClick:d}=r,p=c===void 0?!1:c,g=lt(),[m]=zg(),{language:y}=m,[x,_]=Re.useState(p),[S,b]=Re.useState(p?1:0);p!==x&&(_(p),p&&b(Xk));const w=Re.useRef(null),C=Re.useRef(0);let A;e[0]===Symbol.for("react.memo_cache_sentinel")?(A={rx:0,ry:0,trx:0,tryy:0,hovering:!1},e[0]=A):A=e[0];const D=Re.useRef(A);let M;if(e[1]===Symbol.for("react.memo_cache_sentinel")){const Qe=()=>{const It=w.current,st=D.current;if(!It){C.current=0;return}st.rx=st.rx+(st.trx-st.rx)*.12,st.ry=st.ry+(st.tryy-st.ry)*.12,It.style.setProperty("--rx",`${st.rx.toFixed(3)}deg`),It.style.setProperty("--ry",`${st.ry.toFixed(3)}deg`);const Pn=Math.abs(st.trx-st.rx)<.02&&Math.abs(st.tryy-st.ry)<.02;st.hovering||!Pn?C.current=requestAnimationFrame(Qe):C.current=0};M=()=>{C.current||(C.current=requestAnimationFrame(Qe))},e[1]=M}else M=e[1];const I=M;let k;e[2]===Symbol.for("react.memo_cache_sentinel")?(k=Qe=>{const It=w.current;if(!It)return;const st=It.getBoundingClientRect(),Pn=(Qe.clientX-st.left)/st.width,is=(Qe.clientY-st.top)/st.height,Xe=D.current;Xe.hovering=!0,Xe.trx=(.5-is)*20,Xe.tryy=(Pn-.5)*20,It.style.setProperty("--mx",`${(Pn*100).toFixed(1)}%`),It.style.setProperty("--my",`${(is*100).toFixed(1)}%`),It.style.setProperty("--posx",`${(20+Pn*60).toFixed(1)}%`),It.style.setProperty("--posy",`${(20+is*60).toFixed(1)}%`),It.style.setProperty("--active","1"),I()},e[2]=k):k=e[2];const P=k;let R;e[3]===Symbol.for("react.memo_cache_sentinel")?(R=()=>{const Qe=w.current;if(!Qe)return;const It=D.current;It.hovering=!1,It.trx=0,It.tryy=0,Qe.style.setProperty("--mx","50%"),Qe.style.setProperty("--my","50%"),Qe.style.setProperty("--posx","50%"),Qe.style.setProperty("--posy","50%"),Qe.style.setProperty("--active","0"),I()},e[3]=R):R=e[3];const N=R;let B;e[4]===Symbol.for("react.memo_cache_sentinel")?(B=Qe=>(w.current=Qe,()=>cancelAnimationFrame(C.current)),e[4]=B):B=e[4];const O=B,V=f?.[0]?.slideKey;let F;e[5]!==a?(F=a?Wg(a.value):E.ink,e[5]=a,e[6]=F):F=e[6];const G=F;let j;e[7]!==y||e[8]!==v?(j=v?new Date(v).toLocaleDateString(y,{day:"numeric",month:"short",year:"numeric"}):null,e[7]=y,e[8]=v,e[9]=j):j=e[9];const Y=j,J=p&&S>0?"true":"false";let U;e[10]!==G?(U={"--tone":G},e[10]=G,e[11]=U):U=e[11];const ye=U;let de,ne,Q;e[12]===Symbol.for("react.memo_cache_sentinel")?(de={background:"radial-gradient(120% 80% at 30% 0%, #ffffff 0%, #fafaf9 45%, #f6f4f1 100%)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(40,37,36,0.05), 0 1px 2px rgba(40,37,36,0.04)"},ne=T.jsx("div",{className:"holo-foil pointer-events-none absolute inset-0 z-30","aria-hidden":!0}),Q=T.jsx("div",{className:"holo-glare pointer-events-none absolute inset-0 z-40","aria-hidden":!0}),e[12]=de,e[13]=ne,e[14]=Q):(de=e[12],ne=e[13],Q=e[14]);let ie;e[15]===Symbol.for("react.memo_cache_sentinel")?(ie=T.jsx("div",{className:"deco-sweep pointer-events-none absolute inset-0 z-50 overflow-hidden","aria-hidden":!0,children:T.jsx("span",{className:"holo-sweep-bar"})}),e[15]=ie):ie=e[15];let K;e[16]===Symbol.for("react.memo_cache_sentinel")?(K={border:`1px solid ${E.border}`,boxShadow:"0 0.714px 0.714px rgba(0,0,0,0.04),0 4.286px 17.143px rgba(0,0,0,0.01),0 6.429px 34.286px rgba(0,0,0,0.09)"},e[16]=K):K=e[16];let ae;e[17]!==o?(ae=T.jsx("div",{className:"flex h-11 w-11 shrink-0 items-center justify-center overflow-hidden rounded-xl bg-white lg:h-[52px] lg:w-[52px]",style:K,children:T.jsx("img",{src:o,alt:"",className:"h-full w-full object-contain p-2"})}),e[17]=o,e[18]=ae):ae=e[18];let Te;e[19]===Symbol.for("react.memo_cache_sentinel")?(Te={color:E.ink},e[19]=Te):Te=e[19];let fe;e[20]!==l?(fe=T.jsx("span",{className:"truncate text-[19px] font-medium leading-tight lg:text-[23px]",style:Te,children:l}),e[20]=l,e[21]=fe):fe=e[21];let Se;e[22]===Symbol.for("react.memo_cache_sentinel")?(Se={color:E.faint},e[22]=Se):Se=e[22];let De;e[23]!==g?(De=g("reports.coverTemplate.report"),e[23]=g,e[24]=De):De=e[24];const ze=Y?` · ${Y}`:"";let We;e[25]!==s||e[26]!==De||e[27]!==ze?(We=T.jsxs("span",{className:"text-[13px] leading-snug lg:truncate lg:text-[15px]",style:Se,children:[s," · ",De,ze]}),e[25]=s,e[26]=De,e[27]=ze,e[28]=We):We=e[28];let Ue;e[29]!==fe||e[30]!==We?(Ue=T.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[fe,We]}),e[29]=fe,e[30]=We,e[31]=Ue):Ue=e[31];let vt;e[32]!==ae||e[33]!==Ue?(vt=T.jsxs("div",{className:"flex shrink-0 items-center gap-3.5 lg:gap-4",children:[ae,Ue]}),e[32]=ae,e[33]=Ue,e[34]=vt):vt=e[34];let Et;e[35]===Symbol.for("react.memo_cache_sentinel")?(Et=T.jsx("div",{className:"hidden lg:block lg:min-h-2 lg:flex-1"}),e[35]=Et):Et=e[35];let nr;e[36]!==p||e[37]!==a?(nr=a&&T.jsx("div",{className:"reveal shrink-0","data-show":p?"true":"false",style:{transitionDelay:p?"120ms":"0ms"},children:T.jsx(jk,{score:a,active:p})}),e[36]=p,e[37]=a,e[38]=nr):nr=e[38];const zr=p?"true":"false",Ua=p?"200ms":"0ms";let Ya;e[39]!==Ua?(Ya={color:E.ink,transitionDelay:Ua},e[39]=Ua,e[40]=Ya):Ya=e[40];let kn;e[41]!==t||e[42]!==zr||e[43]!==Ya?(kn=T.jsx("h1",{className:"deco-cover-verdict reveal mt-5 shrink-0 text-balance font-normal leading-[1.04] tracking-[-0.035em] text-[min(1.5rem,3.6svh)] sm:text-[1.9rem] lg:text-[min(clamp(1.6rem,2.15vw,2.25rem),4.2svh)]","data-show":zr,style:Ya,children:t}),e[41]=t,e[42]=zr,e[43]=Ya,e[44]=kn):kn=e[44];let X;e[45]!==nr||e[46]!==kn?(X=T.jsxs("div",{className:"mt-4 flex min-h-0 flex-1 flex-col lg:mt-0 lg:block lg:flex-none",children:[nr,kn]}),e[45]=nr,e[46]=kn,e[47]=X):X=e[47];let ve;e[48]===Symbol.for("react.memo_cache_sentinel")?(ve=T.jsx("div",{className:"hidden lg:block lg:min-h-2 lg:flex-1"}),e[48]=ve):ve=e[48];let Je;e[49]!==vt||e[50]!==X?(Je=T.jsxs("div",{className:"deco-cover-story flex min-h-0 flex-1 flex-col px-4 pb-3 pt-4 lg:w-[55%] lg:flex-initial lg:px-7",children:[vt,Et,X,ve]}),e[49]=vt,e[50]=X,e[51]=Je):Je=e[51];let _t;e[52]!==V||e[53]!==d?(_t=V&&d?()=>d(V):void 0,e[52]=V,e[53]=d,e[54]=_t):_t=e[54];let bt;e[55]!==p||e[56]!==h||e[57]!==s||e[58]!==o||e[59]!==u||e[60]!==i||e[61]!==n||e[62]!==_t?(bt=T.jsx(Uk,{domain:s,faviconUrl:o,initial:u,screenshot:n,mobileScreenshot:i,areas:h,active:p,onSeeReport:_t}),e[55]=p,e[56]=h,e[57]=s,e[58]=o,e[59]=u,e[60]=i,e[61]=n,e[62]=_t,e[63]=bt):bt=e[63];let ir;e[64]!==Je||e[65]!==bt?(ir=T.jsxs("div",{className:"relative flex min-h-0 flex-1 flex-col overflow-hidden rounded-[24px]",style:de,children:[ne,Q,ie,T.jsxs("div",{className:"relative z-10 flex min-h-0 flex-1 flex-col gap-2 p-2 lg:flex-row",children:[Je,bt]})]}),e[64]=Je,e[65]=bt,e[66]=ir):ir=e[66];let Vt;e[67]!==ye||e[68]!==ir?(Vt=T.jsx("div",{ref:O,className:"holo-tilt relative flex h-full w-full flex-col rounded-[26px] p-[2px]",style:ye,children:ir}),e[67]=ye,e[68]=ir,e[69]=Vt):Vt=e[69];let ot;return e[70]!==S||e[71]!==J||e[72]!==Vt?(ot=T.jsx("div",{className:"holo-stage flex h-full w-full items-center justify-center px-3 py-2 sm:px-6",onMouseMove:P,onMouseLeave:N,children:T.jsx("div",{"data-enter":J,className:"holo-card h-full w-full max-w-[1120px]",children:Vt},S)}),e[70]=S,e[71]=J,e[72]=Vt,e[73]=ot):ot=e[73],ot}function Xk(r){return r+1}const Zk=E.forest,Kk=E.lime,i0=[{labelKey:"reports.ctaTemplate.pill.seo",icon:"search",color:"#ffc116"},{labelKey:"reports.ctaTemplate.pill.aiSearch",icon:"smart_toy",color:"#14b8a6"},{labelKey:"reports.ctaTemplate.pill.performance",icon:"bolt",color:"#a595ff"},{labelKey:"reports.ctaTemplate.pill.conversion",icon:"shopping_cart",color:"#ffc116"},{labelKey:"reports.ctaTemplate.pill.tracking",icon:"monitoring",color:"#6e9fdb"},{labelKey:"reports.ctaTemplate.pill.accessibility",icon:"accessibility_new",color:"#b7a8ff"},{labelKey:"reports.ctaTemplate.pill.security",icon:"shield",color:"#f0846b"},{labelKey:"reports.ctaTemplate.pill.content",icon:"article",color:"#ffc116"},{labelKey:"reports.ctaTemplate.pill.analytics",icon:"bar_chart",color:"#a3c73a"}],qk=[{labelKey:"reports.ctaTemplate.area.funnel",score:42,color:"#f0b613"},{labelKey:"reports.ctaTemplate.area.technical",score:46,color:"#5fb0a0"},{labelKey:"reports.ctaTemplate.area.dataTagging",score:60,color:"#a595ff"},{labelKey:"reports.ctaTemplate.area.acquisition",score:67,color:"#6e9fdb"},{labelKey:"reports.ctaTemplate.area.retention",score:75,color:"#e07a5f"}],o0=14,s0=[{titleKey:"reports.ctaTemplate.fixTask.lcpHome",levelKey:"reports.ctaTemplate.level.high",color:"#d43d3d"},{titleKey:"reports.ctaTemplate.fixTask.canonical",levelKey:"reports.ctaTemplate.level.high",color:"#d43d3d"},{titleKey:"reports.ctaTemplate.fixTask.gptBot",levelKey:"reports.ctaTemplate.level.medium",color:"#f0b613"},{titleKey:"reports.ctaTemplate.fixTask.ga4",levelKey:"reports.ctaTemplate.level.high",color:"#d43d3d"},{titleKey:"reports.ctaTemplate.fixTask.altImages",levelKey:"reports.ctaTemplate.level.medium",color:"#f0b613"},{titleKey:"reports.ctaTemplate.fixTask.checkout",levelKey:"reports.ctaTemplate.level.high",color:"#d43d3d"},{titleKey:"reports.ctaTemplate.fixTask.hstsCsp",levelKey:"reports.ctaTemplate.level.medium",color:"#f0b613"}],Jk=7,Ec=16,Qk=["#8caa2510","#cfe8b8","#9fd07f","#5fa843","#0c5122"];function eP(r,e){return(r*3+e*5+r*e%4)%5}const tP=[{labelKey:"reports.ctaTemplate.cadence.avgFixTime",valueKey:"reports.ctaTemplate.cadence.avgFixTimeValue"},{labelKey:"reports.ctaTemplate.cadence.fixesThisWeek",valueKey:"reports.ctaTemplate.cadence.fixesThisWeekValue"},{labelKey:"reports.ctaTemplate.cadence.inReview",valueKey:"reports.ctaTemplate.cadence.inReviewValue"}];function rP(r){const e=ge.c(17),{labelKey:t,icon:a,color:n}=r,i=lt();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={border:"1px solid rgba(255,255,255,0.25)"},e[0]=o):o=e[0];let s;e[1]!==n?(s={color:n},e[1]=n,e[2]=s):s=e[2];let l;e[3]!==a?(l=T.jsx(pt,{name:a,size:"xl"}),e[3]=a,e[4]=l):l=e[4];let u;e[5]!==s||e[6]!==l?(u=T.jsx("span",{style:s,children:l}),e[5]=s,e[6]=l,e[7]=u):u=e[7];let c;e[8]===Symbol.for("react.memo_cache_sentinel")?(c={color:"#ffffff"},e[8]=c):c=e[8];let f;e[9]!==t||e[10]!==i?(f=i(t),e[9]=t,e[10]=i,e[11]=f):f=e[11];let h;e[12]!==f?(h=T.jsx("span",{className:"whitespace-nowrap text-[15px]",style:c,children:f}),e[12]=f,e[13]=h):h=e[13];let v;return e[14]!==u||e[15]!==h?(v=T.jsxs("span",{className:"flex shrink-0 items-center gap-2.5 rounded-full py-2 pl-3 pr-5",style:o,children:[u,h]}),e[14]=u,e[15]=h,e[16]=v):v=e[16],v}function aP(r){const e=ge.c(3),{score:t,color:a}=r,n=Math.round(t/100*o0);let i;return e[0]!==a||e[1]!==n?(i=T.jsx("span",{className:"flex flex-1 items-center gap-[3px]",children:Array.from({length:o0},(o,s)=>T.jsx("span",{className:"h-2.5 flex-1 rounded-[3px]",style:{background:s<n?a:"rgba(40,37,36,0.08)"}},s))}),e[0]=a,e[1]=n,e[2]=i):i=e[2],i}function nP(r){const e=ge.c(25),{domain:t,faviconUrl:a,initial:n}=r,i=lt(),[o,s]=Re.useState(!1);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={boxShadow:"0 -20px 60px rgba(3,32,14,0.35)"},e[0]=l):l=e[0];let u;e[1]===Symbol.for("react.memo_cache_sentinel")?(u={border:`1px solid ${E.border}`},e[1]=u):u=e[1];let c;e[2]!==o||e[3]!==a||e[4]!==n?(c=T.jsx("span",{className:"grid size-7 shrink-0 place-items-center overflow-hidden rounded-md",style:u,children:o?T.jsx("span",{className:"text-[11px] font-semibold",style:{color:E.forest},children:n}):T.jsx("img",{src:a,alt:"",className:"size-4 object-contain",onError:()=>s(!0)})}),e[2]=o,e[3]=a,e[4]=n,e[5]=c):c=e[5];let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f={color:E.ink},e[6]=f):f=e[6];let h;e[7]!==t?(h=T.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",style:f,children:t}),e[7]=t,e[8]=h):h=e[8];let v;e[9]===Symbol.for("react.memo_cache_sentinel")?(v={color:E.soft},e[9]=v):v=e[9];let d;e[10]!==i?(d=i("reports.ctaTemplate.reportCard.diagnostic"),e[10]=i,e[11]=d):d=e[11];let p;e[12]!==d?(p=T.jsx("span",{className:"text-[12px] font-semibold uppercase tracking-wide",style:v,children:d}),e[12]=d,e[13]=p):p=e[13];let g;e[14]!==c||e[15]!==h||e[16]!==p?(g=T.jsxs("div",{className:"flex items-center gap-2.5",children:[c,h,p]}),e[14]=c,e[15]=h,e[16]=p,e[17]=g):g=e[17];let m;e[18]!==i?(m=qk.map(_=>T.jsxs("li",{className:"flex flex-col gap-1.5",children:[T.jsxs("div",{className:"flex items-baseline justify-between",children:[T.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-wide",style:{color:E.ink},children:i(_.labelKey)}),T.jsxs("span",{className:"text-[15px] font-semibold tabular-nums",style:{color:E.ink},children:[_.score,T.jsx("span",{className:"text-[11px] font-normal",style:{color:E.faint},children:"/100"})]})]}),T.jsx(aP,{score:_.score,color:_.color})]},_.labelKey)),e[18]=i,e[19]=m):m=e[19];let y;e[20]!==m?(y=T.jsx("ul",{className:"mt-5 flex flex-col gap-4",children:m}),e[20]=m,e[21]=y):y=e[21];let x;return e[22]!==y||e[23]!==g?(x=T.jsxs("div",{className:"w-[min(92vw,600px)] rounded-t-2xl bg-white p-6 sm:p-7",style:l,children:[g,y]}),e[22]=y,e[23]=g,e[24]=x):x=e[24],x}function iP(r){const e=ge.c(20),{titleKey:t,levelKey:a,color:n}=r,i=lt();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={border:`1px solid ${E.border}`,boxShadow:"0 6px 20px rgba(3,32,14,0.12)"},e[0]=o):o=e[0];let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=T.jsx("span",{className:"mt-0.5 size-3.5 shrink-0 rounded-full",style:{border:`1.5px solid ${E.faint}`}}),e[1]=s):s=e[1];let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l={color:E.ink},e[2]=l):l=e[2];let u;e[3]!==i||e[4]!==t?(u=i(t),e[3]=i,e[4]=t,e[5]=u):u=e[5];let c;e[6]!==u?(c=T.jsxs("div",{className:"flex items-start gap-2",children:[s,T.jsx("span",{className:"text-[12.5px] font-medium leading-snug",style:l,children:u})]}),e[6]=u,e[7]=c):c=e[7];let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f={background:"rgba(40,37,36,0.04)",color:E.muted},e[8]=f):f=e[8];let h;e[9]!==n?(h=T.jsx("span",{className:"size-1.5 rounded-full",style:{background:n}}),e[9]=n,e[10]=h):h=e[10];let v;e[11]!==a||e[12]!==i?(v=i(a),e[11]=a,e[12]=i,e[13]=v):v=e[13];let d;e[14]!==h||e[15]!==v?(d=T.jsxs("span",{className:"mt-2 ml-5 inline-flex items-center gap-1.5 rounded-md px-2 py-0.5 text-[11px]",style:f,children:[h,v]}),e[14]=h,e[15]=v,e[16]=d):d=e[16];let p;return e[17]!==c||e[18]!==d?(p=T.jsxs("div",{className:"rounded-xl bg-white p-3",style:o,children:[c,d]}),e[17]=c,e[18]=d,e[19]=p):p=e[19],p}function oP(){const r=ge.c(2);let e;r[0]===Symbol.for("react.memo_cache_sentinel")?(e={maskImage:"linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent)",WebkitMaskImage:"linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent)"},r[0]=e):e=r[0];let t;return r[1]===Symbol.for("react.memo_cache_sentinel")?(t=T.jsx("div",{className:"h-[400px] w-[248px] overflow-hidden",style:e,children:T.jsx("div",{className:"report-task-track gap-3",children:[...s0,...s0].map(sP)})}),r[1]=t):t=r[1],t}function sP(r,e){return T.jsx(iP,{...r},`${r.titleKey}-${e}`)}function lP(){const r=ge.c(14),e=lt();let t;r[0]===Symbol.for("react.memo_cache_sentinel")?(t={boxShadow:"0 20px 50px rgba(3,32,14,0.22)"},r[0]=t):t=r[0];let a;r[1]===Symbol.for("react.memo_cache_sentinel")?(a={color:E.soft},r[1]=a):a=r[1];let n;r[2]!==e?(n=e("reports.ctaTemplate.cadence.title"),r[2]=e,r[3]=n):n=r[3];let i;r[4]!==n?(i=T.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-wide",style:a,children:n}),r[4]=n,r[5]=i):i=r[5];let o;r[6]===Symbol.for("react.memo_cache_sentinel")?(o=T.jsx("div",{className:"mt-4 grid gap-[3px]",style:{gridTemplateColumns:`repeat(${Ec}, 1fr)`},children:Array.from({length:Jk*Ec},uP)}),r[6]=o):o=r[6];let s;r[7]!==e?(s=tP.map(c=>T.jsxs("li",{className:"flex items-center justify-between py-2.5 text-[13px]",style:{borderTop:`1px solid ${E.border}`},children:[T.jsx("span",{style:{color:E.muted},children:e(c.labelKey)}),T.jsx("span",{className:"font-semibold",style:{color:E.ink},children:e(c.valueKey)})]},c.labelKey)),r[7]=e,r[8]=s):s=r[8];let l;r[9]!==s?(l=T.jsx("ul",{className:"mt-4 flex flex-col",children:s}),r[9]=s,r[10]=l):l=r[10];let u;return r[11]!==i||r[12]!==l?(u=T.jsxs("div",{className:"w-[320px] rounded-2xl bg-white p-5",style:t,children:[i,o,l]}),r[11]=i,r[12]=l,r[13]=u):u=r[13],u}function uP(r,e){const t=Math.floor(e/Ec),a=e%Ec;return T.jsx("span",{className:"aspect-square rounded-[3px]",style:{background:Qk[eP(t,a)]}},e)}function cP(r){const e=ge.c(87),{domain:t,faviconUrl:a,initial:n,checksProbed:i,checksTotal:o,active:s}=r,l=s===void 0?!1:s,u=lt(),c=l?"true":"false",f=jg(t),h=typeof i=="number"&&typeof o=="number";let v;e[0]===Symbol.for("react.memo_cache_sentinel")?(v={background:Zk},e[0]=v):v=e[0];let d;e[1]===Symbol.for("react.memo_cache_sentinel")?(d=T.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute left-1/2 top-[52%] size-[900px] -translate-x-1/2 rounded-full",style:{background:"radial-gradient(circle, rgba(208,236,26,0.08), transparent 62%)"}}),e[1]=d):d=e[1];let p;e[2]!==i||e[3]!==o||e[4]!==h||e[5]!==c?(p=h?T.jsxs("span",{className:"reveal rounded-full px-4 py-1.5 text-[15px]","data-show":c,style:{border:"1px solid rgba(255,255,255,0.25)"},children:[T.jsxs("span",{style:{color:"rgba(255,255,255,0.5)"},children:[i,"/"]}),T.jsx("span",{style:{color:"#ffffff"},children:o})]}):null,e[2]=i,e[3]=o,e[4]=h,e[5]=c,e[6]=p):p=e[6];const g=l?"60ms":"0ms";let m;e[7]!==g?(m={color:"#ffffff",transitionDelay:g},e[7]=g,e[8]=m):m=e[8];let y;e[9]!==u?(y=u("reports.ctaTemplate.headline.part1"),e[9]=u,e[10]=y):y=e[10];let x;e[11]===Symbol.for("react.memo_cache_sentinel")?(x=T.jsx("br",{className:"hidden sm:block"}),e[11]=x):x=e[11];let _;e[12]!==u?(_=u("reports.ctaTemplate.headline.part2"),e[12]=u,e[13]=_):_=e[13];let S;e[14]!==c||e[15]!==m||e[16]!==y||e[17]!==_?(S=T.jsxs("h2",{className:"reveal text-balance font-normal leading-[1.15] tracking-[-0.015em] text-[clamp(1.5rem,6vw,2.75rem)]","data-show":c,style:m,children:[y,x," ",_]}),e[14]=c,e[15]=m,e[16]=y,e[17]=_,e[18]=S):S=e[18];const b=l?"130ms":"0ms";let w;e[19]!==b?(w={color:"rgba(255,255,255,0.75)",transitionDelay:b},e[19]=b,e[20]=w):w=e[20];let C;e[21]!==u?(C=u("reports.ctaTemplate.subheading.part1"),e[21]=u,e[22]=C):C=e[22];let A;e[23]===Symbol.for("react.memo_cache_sentinel")?(A=T.jsx("br",{className:"hidden sm:block"}),e[23]=A):A=e[23];let D;e[24]!==u?(D=u("reports.ctaTemplate.subheading.part2"),e[24]=u,e[25]=D):D=e[25];let M;e[26]!==c||e[27]!==w||e[28]!==C||e[29]!==D?(M=T.jsxs("p",{className:"reveal max-w-[520px] text-[15px] leading-relaxed sm:text-base","data-show":c,style:w,children:[C,A," ",D]}),e[26]=c,e[27]=w,e[28]=C,e[29]=D,e[30]=M):M=e[30];let I;e[31]!==t?(I=We=>Rf(We,{domain:t,placement:"cta_slide",slideKey:"cta"}),e[31]=t,e[32]=I):I=e[32];const k=l?"220ms":"0ms";let P;e[33]!==k?(P={background:Kk,color:E.forest,transitionDelay:k},e[33]=k,e[34]=P):P=e[34];let R;e[35]!==u?(R=u("reports.ctaTemplate.cta.label"),e[35]=u,e[36]=R):R=e[36];let N;e[37]!==R?(N=T.jsx("span",{children:R}),e[37]=R,e[38]=N):N=e[38];let B;e[39]===Symbol.for("react.memo_cache_sentinel")?(B=T.jsx(pt,{name:"arrow_forward",size:"medium"}),e[39]=B):B=e[39];let O;e[40]!==f||e[41]!==c||e[42]!==I||e[43]!==P||e[44]!==N?(O=T.jsxs("a",{href:f,onClick:I,className:"reveal mt-1 inline-flex h-12 items-center gap-2 whitespace-nowrap rounded-full px-8 text-base font-medium transition-transform duration-300 ease-out hover:scale-105","data-show":c,style:P,children:[N,B]}),e[40]=f,e[41]=c,e[42]=I,e[43]=P,e[44]=N,e[45]=O):O=e[45];let V;e[46]!==S||e[47]!==M||e[48]!==O||e[49]!==p?(V=T.jsxs("div",{className:"relative z-10 flex max-w-[820px] flex-col items-center gap-5 text-center",children:[p,S,M,O]}),e[46]=S,e[47]=M,e[48]=O,e[49]=p,e[50]=V):V=e[50];const F=l?"300ms":"0ms";let G;e[51]!==F?(G={transitionDelay:F,maskImage:"linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)",WebkitMaskImage:"linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)"},e[51]=F,e[52]=G):G=e[52];let j;e[53]===Symbol.for("react.memo_cache_sentinel")?(j=T.jsx("div",{className:"report-marquee-track gap-2",children:[...i0,...i0].map(fP)}),e[53]=j):j=e[53];let Y;e[54]!==c||e[55]!==G?(Y=T.jsx("div",{className:"reveal relative z-10 w-[calc(100%+4rem)] shrink-0 overflow-hidden sm:w-[calc(100%+8rem)]","data-show":c,style:G,children:j}),e[54]=c,e[55]=G,e[56]=Y):Y=e[56];const J=l?"460ms":"0ms";let U;e[57]!==J?(U={transitionDelay:J},e[57]=J,e[58]=U):U=e[58];let ye;e[59]===Symbol.for("react.memo_cache_sentinel")?(ye=T.jsx(oP,{}),e[59]=ye):ye=e[59];let de;e[60]!==c||e[61]!==U?(de=T.jsx("div",{className:"reveal pointer-events-none relative z-0 -mr-24 mt-3 hidden shrink-0 -rotate-[5deg] xl:block","data-show":c,style:U,children:ye}),e[60]=c,e[61]=U,e[62]=de):de=e[62];const ne=l?"380ms":"0ms";let Q;e[63]!==ne?(Q={transitionDelay:ne},e[63]=ne,e[64]=Q):Q=e[64];let ie;e[65]!==t||e[66]!==a||e[67]!==n?(ie=T.jsx(nP,{domain:t,faviconUrl:a,initial:n}),e[65]=t,e[66]=a,e[67]=n,e[68]=ie):ie=e[68];let K;e[69]!==c||e[70]!==Q||e[71]!==ie?(K=T.jsx("div",{className:"reveal relative z-20 shrink-0","data-show":c,style:Q,children:ie}),e[69]=c,e[70]=Q,e[71]=ie,e[72]=K):K=e[72];const ae=l?"440ms":"0ms";let Te;e[73]!==ae?(Te={transitionDelay:ae},e[73]=ae,e[74]=Te):Te=e[74];let fe;e[75]===Symbol.for("react.memo_cache_sentinel")?(fe=T.jsx(lP,{}),e[75]=fe):fe=e[75];let Se;e[76]!==c||e[77]!==Te?(Se=T.jsx("div",{className:"reveal pointer-events-none relative z-0 -ml-24 mt-3 hidden shrink-0 rotate-[6deg] xl:block","data-show":c,style:Te,children:fe}),e[76]=c,e[77]=Te,e[78]=Se):Se=e[78];let De;e[79]!==de||e[80]!==K||e[81]!==Se?(De=T.jsxs("div",{className:"relative z-10 flex w-full flex-1 items-start justify-center overflow-hidden",children:[de,K,Se]}),e[79]=de,e[80]=K,e[81]=Se,e[82]=De):De=e[82];let ze;return e[83]!==V||e[84]!==Y||e[85]!==De?(ze=T.jsx("div",{className:"h-full w-full sm:px-6 lg:px-10 sm:pb-2",children:T.jsxs("div",{className:"relative flex h-full w-full flex-col items-center gap-8 overflow-hidden rounded-none px-6 pb-0 pt-8 sm:rounded-3xl sm:px-8 sm:pt-10 lg:gap-10 lg:pt-14 [@media(max-height:780px)]:lg:gap-6 [@media(max-height:780px)]:lg:pt-10",style:v,children:[d,V,Y,De]})}),e[83]=V,e[84]=Y,e[85]=De,e[86]=ze):ze=e[86],ze}function fP(r,e){return T.jsx(rP,{...r},`${r.labelKey}-${e}`)}const hP={good:{ratio:.16},warn:{ratio:.5},bad:{ratio:.84}},vP=[E.soft,E.warn,"#d43d3d"],dP=["rgba(140,170,37,0.16)","rgba(240,182,19,0.16)","rgba(212,61,61,0.14)"],pP=r=>r<1/3?0:r<2/3?1:2;function gP(r){const e=ge.c(20),{eyebrow:t,headline:a,annotation:n,gauges:i,active:o}=r,s=i.length>=5;let l;e[0]!==o||e[1]!==n||e[2]!==t||e[3]!==a?(l=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),e[0]=o,e[1]=n,e[2]=t,e[3]=a,e[4]=l):l=e[4];const u=s?"gap-[min(0.875rem,1.8svh)] sm:gap-5":"gap-[min(1.25rem,2.6svh)] sm:gap-10";let c;e[5]!==u?(c=at("my-auto flex w-full flex-col",u),e[5]=u,e[6]=c):c=e[6];let f;if(e[7]!==o||e[8]!==s||e[9]!==i){let d;e[11]!==o||e[12]!==s?(d=(p,g)=>{const m=Math.min(1,Math.max(0,p.ratio??hP[p.status].ratio)),y=vP[pP(m)];return T.jsxs("div",{className:at("reveal grid grid-cols-1 items-center gap-x-8 sm:grid-cols-[minmax(0,10rem)_1fr]",s?"gap-y-[min(0.5rem,1svh)] sm:gap-y-1.5":"gap-y-[min(0.75rem,1.4svh)] sm:gap-y-3"),"data-show":o?"true":"false",style:{transitionDelay:o?`${80+g*90}ms`:"0ms"},children:[T.jsxs("div",{className:"flex items-baseline gap-2 sm:flex-col sm:gap-0.5",children:[T.jsx("span",{className:at("font-light leading-none tracking-[-0.02em] tabular-nums",s?"text-[min(clamp(1.5rem,4vw,2rem),3svh)] sm:text-[clamp(1.5rem,2.5vw,2rem)]":"text-[min(clamp(2rem,5vw,3rem),4svh)] sm:text-[clamp(2rem,5vw,3rem)]"),style:{color:y},children:p.value}),T.jsx("span",{className:at("tracking-[-0.01em]",s?"text-sm sm:text-base":"text-base sm:text-lg"),style:{color:E.muted},children:p.label})]}),T.jsxs("div",{className:"flex flex-col gap-1.5",children:[T.jsxs("div",{className:"relative flex h-3 w-full gap-1",children:[dP.map(mP),T.jsx("span",{className:"absolute top-1/2 h-5 w-5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{left:`${m*100}%`,background:y,border:`3px solid ${E.bg}`,boxShadow:"0 1px 3px rgba(40,37,36,0.25)"}})]}),p.caption&&T.jsx("span",{className:"text-right text-xs sm:text-left sm:text-sm",style:{color:E.muted,opacity:.8},children:p.caption})]})]},g)},e[11]=o,e[12]=s,e[13]=d):d=e[13],f=i.map(d),e[7]=o,e[8]=s,e[9]=i,e[10]=f}else f=e[10];let h;e[14]!==c||e[15]!==f?(h=T.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-[min(1.5rem,2.2svh)] sm:px-10 sm:py-6 lg:px-16",children:T.jsx("div",{className:c,children:f})}),e[14]=c,e[15]=f,e[16]=h):h=e[16];let v;return e[17]!==l||e[18]!==h?(v=T.jsxs("div",{className:"flex h-full flex-col",children:[l,h]}),e[17]=l,e[18]=h,e[19]=v):v=e[19],v}function mP(r,e){return T.jsx("span",{className:"h-full flex-1 rounded-full",style:{background:r}},e)}const yP={good:{color:"#009a41",tint:"rgba(0,154,65,0.14)"},neutral:{color:"#d98324",tint:"rgba(217,131,36,0.14)"},bad:{color:"#ef4444",tint:"rgba(239,68,68,0.14)"}},xP=2;function _P(r){const e=r.match(/^(.*?)\s*\((\d+)\/(\d+)\)$/);return e?{name:e[1]??"",measured:e[2],total:e[3]}:{name:r}}function bP(r){const e=ge.c(29),{eyebrow:t,headline:a,annotation:n,items:i,active:o}=r,s=lt();let l,u,c,f,h;if(e[0]!==o||e[1]!==n||e[2]!==t||e[3]!==a||e[4]!==i||e[5]!==s){const g=[...i].sort(SP);f="flex h-full flex-col",e[11]!==o||e[12]!==n||e[13]!==t||e[14]!==a?(h=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),e[11]=o,e[12]=n,e[13]=t,e[14]=a,e[15]=h):h=e[15],c="flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-4 sm:px-10 lg:px-16",l="my-auto flex w-full flex-col gap-[min(0.875rem,1.7svh)] sm:gap-4";let m;e[16]!==o||e[17]!==s?(m=(y,x)=>{const _=yP[y.tone??"neutral"],S=Math.max(xP,Math.min(100,y.ratio*100)),{name:b,measured:w,total:C}=_P(y.label),A=w&&C?s("reports.geoDimensionsVariant.chip",{measured:w,total:C}):void 0;return T.jsxs("div",{className:"reveal flex flex-col gap-1.5","data-show":o?"true":"false",style:{transitionDelay:o?`${80+x*70}ms`:"0ms"},children:[T.jsxs("div",{className:"flex items-baseline gap-2.5",children:[T.jsx("span",{className:"min-w-0 line-clamp-2 break-words text-sm font-medium leading-snug tracking-[-0.01em] sm:text-[15px]",style:{color:E.ink},children:b}),A&&T.jsx("span",{className:"shrink-0 translate-y-[-1px] rounded-full px-1.5 py-px text-[10px] leading-[1.5]",style:{color:E.muted,border:`1px solid ${E.border}`},children:A}),T.jsx("span",{className:"ml-auto shrink-0 font-semibold leading-none tracking-[-0.02em] tabular-nums text-[min(1.5rem,3svh)] sm:text-[1.625rem]",style:{color:_.color},children:y.value})]}),T.jsx("div",{className:"h-[min(0.75rem,1.4svh)] w-full overflow-hidden rounded-full sm:h-3",style:{background:_.tint},children:T.jsx("div",{className:"h-full rounded-full transition-[width] duration-700 ease-out",style:{width:o?`${S}%`:"0%",background:_.color,transitionDelay:o?`${150+x*70}ms`:"0ms"}})})]},x)},e[16]=o,e[17]=s,e[18]=m):m=e[18],u=g.map(m),e[0]=o,e[1]=n,e[2]=t,e[3]=a,e[4]=i,e[5]=s,e[6]=l,e[7]=u,e[8]=c,e[9]=f,e[10]=h}else l=e[6],u=e[7],c=e[8],f=e[9],h=e[10];let v;e[19]!==l||e[20]!==u?(v=T.jsx("div",{className:l,children:u}),e[19]=l,e[20]=u,e[21]=v):v=e[21];let d;e[22]!==c||e[23]!==v?(d=T.jsx("div",{className:c,children:v}),e[22]=c,e[23]=v,e[24]=d):d=e[24];let p;return e[25]!==f||e[26]!==h||e[27]!==d?(p=T.jsxs("div",{className:f,children:[h,d]}),e[25]=f,e[26]=h,e[27]=d,e[28]=p):p=e[28],p}function SP(r,e){return(Number(r.value)||0)-(Number(e.value)||0)}function wP(r){return!r||r<=0?ft.bad:r<=3?ft.good:r<=10?E.warn:ft.bad}function TP(r){return r&&r>0?`${r}ª`:"—"}function CP(r){const e=ge.c(51),{eyebrow:t,headline:a,annotation:n,keywords:i,volumeLabel:o,active:s}=r,l=lt();let u,c,f,h,v,d,p;if(e[0]!==s||e[1]!==n||e[2]!==t||e[3]!==a||e[4]!==i||e[5]!==l||e[6]!==o){const _=i.slice(0,8);d="flex h-full flex-col",e[14]!==s||e[15]!==n||e[16]!==t||e[17]!==a?(p=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:s}),e[14]=s,e[15]=n,e[16]=t,e[17]=a,e[18]=p):p=e[18],v="flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-[min(1rem,1.4svh)] sm:px-10 sm:py-4 lg:px-16",f="my-auto w-full";let S;e[19]===Symbol.for("react.memo_cache_sentinel")?(S={color:E.muted},e[19]=S):S=e[19];let b;e[20]!==l?(b=l("reports.keywordsTemplate.keyword"),e[20]=l,e[21]=b):b=e[21];let w;e[22]!==b?(w=T.jsx("span",{className:"min-w-0 flex-1 truncate",children:b}),e[22]=b,e[23]=w):w=e[23];let C;e[24]!==l||e[25]!==o?(C=o??l("reports.keywordsTemplate.searchesPerMonth"),e[24]=l,e[25]=o,e[26]=C):C=e[26];let A;e[27]!==C?(A=T.jsx("span",{className:"w-20 shrink-0 text-right sm:w-24",children:C}),e[27]=C,e[28]=A):A=e[28];let D;e[29]!==l?(D=l("reports.keywordsTemplate.position"),e[29]=l,e[30]=D):D=e[30];let M;e[31]!==D?(M=T.jsx("span",{className:"w-12 shrink-0 text-right sm:w-16",children:D}),e[31]=D,e[32]=M):M=e[32],e[33]!==w||e[34]!==A||e[35]!==M?(h=T.jsxs("div",{className:"flex items-center gap-2 px-1 pb-1 text-[10px] font-medium uppercase tracking-[0.04em] sm:gap-3 sm:px-3 sm:text-[11px]",style:S,children:[w,A,M]}),e[33]=w,e[34]=A,e[35]=M,e[36]=h):h=e[36],u="flex flex-col",c=_.map((I,k)=>T.jsxs("li",{className:"reveal flex items-center gap-2 px-1 py-[min(10px,1.1svh)] sm:gap-3 sm:px-3 sm:py-[10px]","data-show":s?"true":"false",style:{...k<_.length-1?{borderBottom:`1px solid ${E.border}`}:{},transitionDelay:s?`${70+k*55}ms`:"0ms"},children:[T.jsx("span",{className:"min-w-0 flex-1 truncate text-base sm:text-lg",style:{color:E.ink},children:I.term}),T.jsx("span",{className:"w-20 shrink-0 text-right text-sm tabular-nums sm:w-24 sm:text-base",style:{color:E.muted},children:I.volume}),T.jsx("span",{className:"w-12 shrink-0 text-right text-lg font-normal tabular-nums tracking-[-0.01em] sm:w-16 sm:text-xl",style:{color:wP(I.position)},children:TP(I.position)})]},k)),e[0]=s,e[1]=n,e[2]=t,e[3]=a,e[4]=i,e[5]=l,e[6]=o,e[7]=u,e[8]=c,e[9]=f,e[10]=h,e[11]=v,e[12]=d,e[13]=p}else u=e[7],c=e[8],f=e[9],h=e[10],v=e[11],d=e[12],p=e[13];let g;e[37]!==u||e[38]!==c?(g=T.jsx("ul",{className:u,children:c}),e[37]=u,e[38]=c,e[39]=g):g=e[39];let m;e[40]!==f||e[41]!==h||e[42]!==g?(m=T.jsxs("div",{className:f,children:[h,g]}),e[40]=f,e[41]=h,e[42]=g,e[43]=m):m=e[43];let y;e[44]!==v||e[45]!==m?(y=T.jsx("div",{className:v,children:m}),e[44]=v,e[45]=m,e[46]=y):y=e[46];let x;return e[47]!==y||e[48]!==d||e[49]!==p?(x=T.jsxs("div",{className:d,children:[p,y]}),e[47]=y,e[48]=d,e[49]=p,e[50]=x):x=e[50],x}const Sh={error:{color:"#d43d3d",icon:"error"},warning:{color:E.warn,icon:"warning"},notice:{color:E.notice,icon:"info"}};function AP(r){const e=ge.c(34),{headline:t,entries:a,domain:n,onNext:i,moreCount:o,active:s}=r,l=lt(),u=jg(n);let c;e[0]!==l?(c=l("reports.listTemplate.unlockRevenue"),e[0]=l,e[1]=c):c=e[1];const f=c;let h;e[2]===Symbol.for("react.memo_cache_sentinel")?(h={borderColor:E.inputBorder,color:E.ink,background:E.surface},e[2]=h):h=e[2];const v=h,d=s?"true":"false";let p;e[3]===Symbol.for("react.memo_cache_sentinel")?(p={color:E.ink},e[3]=p):p=e[3];let g;e[4]!==t||e[5]!==o||e[6]!==l?(g=o&&o>0?T.jsxs(T.Fragment,{children:[T.jsxs("span",{style:{color:Sh.error.color},children:["+",o]})," ",l("reports.listTemplate.moreSignals")]}):t.replace(/\s*\n\s*/g," "),e[4]=t,e[5]=o,e[6]=l,e[7]=g):g=e[7];let m;e[8]!==d||e[9]!==g?(m=T.jsx("header",{className:"flex shrink-0 flex-col gap-3 px-5 pt-2 sm:gap-4 sm:px-10 lg:px-16",children:T.jsx("h2",{className:"reveal text-balance font-normal leading-[1.1] tracking-[-0.02em] text-[min(clamp(1.375rem,4.8vw,2.5rem),3svh)] sm:text-[clamp(1.5rem,3.2vw,2.5rem)] lg:text-[2.75rem] lg:max-w-[20ch]","data-show":d,style:p,children:g})}),e[8]=d,e[9]=g,e[10]=m):m=e[10];let y;e[11]===Symbol.for("react.memo_cache_sentinel")?(y={maskImage:"linear-gradient(to bottom, #000 55%, transparent 92%)",WebkitMaskImage:"linear-gradient(to bottom, #000 55%, transparent 92%)"},e[11]=y):y=e[11];let x;if(e[12]!==s||e[13]!==a||e[14]!==d){let A;e[16]!==s||e[17]!==a.length||e[18]!==d?(A=(D,M)=>{const I=Sh[D.severity]??Sh.notice;return T.jsxs("li",{className:"reveal flex items-center gap-4 py-[min(9px,1.3svh)]","data-show":d,style:{...M<a.length-1?{borderBottom:`1px solid ${E.border}`}:{},transitionDelay:s?`${60+M*45}ms`:"0ms"},children:[T.jsx("span",{className:"line-clamp-2 flex-1 text-[13px] leading-snug sm:text-[15px]",style:{color:E.muted},children:D.label}),T.jsx("span",{className:"grid shrink-0 place-items-center",style:{color:I.color},"aria-label":D.severity,children:T.jsx(pt,{name:I.icon,size:"large"})})]},M)},e[16]=s,e[17]=a.length,e[18]=d,e[19]=A):A=e[19],x=a.map(A),e[12]=s,e[13]=a,e[14]=d,e[15]=x}else x=e[15];let _;e[20]!==x?(_=T.jsx("ul",{className:"h-full overflow-hidden",style:y,children:x}),e[20]=x,e[21]=_):_=e[21];let S;e[22]===Symbol.for("react.memo_cache_sentinel")?(S={background:`linear-gradient(to bottom, transparent, ${E.bg} 34%)`},e[22]=S):S=e[22];let b;e[23]!==f||e[24]!==u||e[25]!==n||e[26]!==i?(b=T.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 flex justify-center px-5 pb-7 pt-24 sm:px-10 lg:px-16",style:S,children:i?T.jsx("button",{type:"button",onClick:i,className:"pointer-events-auto inline-flex h-12 items-center rounded-full border px-8 text-base font-medium transition-colors hover:bg-black/[0.03]",style:v,children:f}):T.jsx("a",{href:u,target:u.startsWith("http")?"_blank":"_self",rel:"noopener noreferrer",onClick:A=>Rf(A,{domain:n,placement:"list_slide_fallback"}),className:"pointer-events-auto inline-flex h-12 items-center rounded-full border px-8 text-base font-medium transition-colors hover:bg-black/[0.03]",style:v,children:f})}),e[23]=f,e[24]=u,e[25]=n,e[26]=i,e[27]=b):b=e[27];let w;e[28]!==b||e[29]!==_?(w=T.jsxs("div",{className:"relative min-h-0 flex-1 px-5 pt-3 sm:px-10 lg:px-16",children:[_,b]}),e[28]=b,e[29]=_,e[30]=w):w=e[30];let C;return e[31]!==w||e[32]!==m?(C=T.jsxs("div",{className:"flex h-full flex-col",children:[m,w]}),e[31]=w,e[32]=m,e[33]=C):C=e[33],C}const DP={up:ft.good,down:ft.bad,neutral:E.muted},MP={up:"↑",down:"↓",neutral:"→"};function R2(r,e){return r?ft[r]:e?E.muted:E.ink}function LP(r){const e=ge.c(8),{cell:t}=r;let a;e[0]!==t.muted||e[1]!==t.tone?(a=R2(t.tone,t.muted),e[0]=t.muted,e[1]=t.tone,e[2]=a):a=e[2];let n;e[3]!==a?(n={color:a},e[3]=a,e[4]=n):n=e[4];let i;return e[5]!==t.value||e[6]!==n?(i=T.jsx("span",{className:"line-clamp-2 leading-snug",style:n,children:t.value}),e[5]=t.value,e[6]=n,e[7]=i):i=e[7],i}function IP(r){const e=ge.c(14),{cell:t}=r,a=t.deltaDir??"neutral";let n;e[0]!==t.muted||e[1]!==t.tone?(n=R2(t.tone,t.muted),e[0]=t.muted,e[1]=t.tone,e[2]=n):n=e[2];let i;e[3]!==n?(i={color:n},e[3]=n,e[4]=i):i=e[4];let o;e[5]!==t.value||e[6]!==i?(o=T.jsx("span",{style:i,children:t.value}),e[5]=t.value,e[6]=i,e[7]=o):o=e[7];let s;e[8]!==t.delta||e[9]!==a?(s=t.delta&&T.jsxs("span",{className:"text-sm tabular-nums",style:{color:DP[a]},children:[MP[a]," ",t.delta]}),e[8]=t.delta,e[9]=a,e[10]=s):s=e[10];let l;return e[11]!==o||e[12]!==s?(l=T.jsxs("span",{className:"inline-flex items-baseline gap-2 whitespace-nowrap",children:[o,s]}),e[11]=o,e[12]=s,e[13]=l):l=e[13],l}function kP(r){const e=ge.c(8),{cell:t}=r,a=t.tone?ft[t.tone]:E.muted,n=t.points.length;if(n<2)return null;const i=48/(n-1);let o;if(e[0]!==t.points||e[1]!==i){let u;e[3]!==i?(u=(c,f)=>`${f*i},${20-c*20}`,e[3]=i,e[4]=u):u=e[4],o=t.points.map(u).join(" "),e[0]=t.points,e[1]=i,e[2]=o}else o=e[2];const s=o;let l;return e[5]!==a||e[6]!==s?(l=T.jsx("svg",{width:48,height:20,viewBox:"0 0 48 20",className:"inline-block align-middle",children:T.jsx("polyline",{points:s,fill:"none",stroke:a,strokeWidth:1.5,strokeLinejoin:"round",strokeLinecap:"round"})}),e[5]=a,e[6]=s,e[7]=l):l=e[7],l}function PP(r){const e=ge.c(6),{cell:t}=r,a=t.tone?ft[t.tone]:E.muted,n=`1px solid ${a}`;let i;e[0]!==a||e[1]!==n?(i={color:a,border:n,lineHeight:"1.4"},e[0]=a,e[1]=n,e[2]=i):i=e[2];let o;return e[3]!==t.label||e[4]!==i?(o=T.jsx("span",{className:"inline-block rounded-full px-2 py-0.5 text-xs font-medium",style:i,children:t.label}),e[3]=t.label,e[4]=i,e[5]=o):o=e[5],o}function RP(r){const e=ge.c(12),{cell:t}=r,a=t.tone?ft[t.tone]:E.ink,n=Math.min(100,Math.max(0,t.value));let i;e[0]!==a?(i={color:a},e[0]=a,e[1]=i):i=e[1];let o;e[2]!==n||e[3]!==i?(o=T.jsx("span",{className:"text-sm tabular-nums",style:i,children:n}),e[2]=n,e[3]=i,e[4]=o):o=e[4];let s;e[5]===Symbol.for("react.memo_cache_sentinel")?(s={background:E.border},e[5]=s):s=e[5];const l=`${n}%`;let u;e[6]!==a||e[7]!==l?(u=T.jsx("span",{className:"inline-block h-1.5 w-12 overflow-hidden rounded-full",style:s,children:T.jsx("span",{className:"block h-full rounded-full",style:{width:l,background:a}})}),e[6]=a,e[7]=l,e[8]=u):u=e[8];let c;return e[9]!==o||e[10]!==u?(c=T.jsxs("span",{className:"inline-flex items-center gap-2",children:[o,u]}),e[9]=o,e[10]=u,e[11]=c):c=e[11],c}function wh(r){const e=ge.c(10),{cell:t}=r;switch(t.kind){case"text":{let a;return e[0]!==t?(a=T.jsx(LP,{cell:t}),e[0]=t,e[1]=a):a=e[1],a}case"number":{let a;return e[2]!==t?(a=T.jsx(IP,{cell:t}),e[2]=t,e[3]=a):a=e[3],a}case"sparkline":{let a;return e[4]!==t?(a=T.jsx(kP,{cell:t}),e[4]=t,e[5]=a):a=e[5],a}case"badge":{let a;return e[6]!==t?(a=T.jsx(PP,{cell:t}),e[6]=t,e[7]=a):a=e[7],a}case"score":{let a;return e[8]!==t?(a=T.jsx(RP,{cell:t}),e[8]=t,e[9]=a):a=e[9],a}default:return t}}function E2(r){const e=ge.c(51),{eyebrow:t,headline:a,annotation:n,columns:i,rows:o,highlightRow:s,active:l}=r,u=o.length>=6;let c;e[0]!==l||e[1]!==n||e[2]!==t||e[3]!==a?(c=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:l}),e[0]=l,e[1]=n,e[2]=t,e[3]=a,e[4]=c):c=e[4];let f;e[5]===Symbol.for("react.memo_cache_sentinel")?(f={WebkitMaskImage:"linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%)",maskImage:"linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%)"},e[5]=f):f=e[5];let h;if(e[6]!==l||e[7]!==i||e[8]!==s||e[9]!==o){let A;e[11]!==l||e[12]!==i||e[13]!==s?(A=(D,M)=>T.jsxs("li",{className:"reveal shrink-0 rounded-xl border p-3.5","data-show":l?"true":"false",style:{borderColor:E.cardBorder,background:M===s?"rgba(40,37,36,0.03)":E.surface,transitionDelay:l?`${80+M*45}ms`:"0ms"},children:[T.jsx("div",{className:"text-[15px] font-medium leading-snug",style:{color:E.ink},children:D[0]&&T.jsx(wh,{cell:D[0]})}),T.jsx("div",{className:"mt-2.5 flex flex-wrap gap-x-6 gap-y-2",children:D.slice(1).map((I,k)=>T.jsxs("div",{className:"flex flex-col gap-0.5",children:[T.jsx("span",{className:"text-[10px] font-medium uppercase tracking-[0.04em]",style:{color:E.muted},children:i[k+1]?.label}),T.jsx("span",{className:"text-sm tabular-nums",style:{color:E.ink},children:T.jsx(wh,{cell:I})})]},k))})]},M),e[11]=l,e[12]=i,e[13]=s,e[14]=A):A=e[14],h=o.map(A),e[6]=l,e[7]=i,e[8]=s,e[9]=o,e[10]=h}else h=e[10];let v;e[15]!==h?(v=T.jsx("ul",{className:"flex min-h-0 flex-1 flex-col gap-2.5 overflow-y-auto py-1 sm:hidden",style:f,children:h}),e[15]=h,e[16]=v):v=e[16];const d=l?"true":"false",p=l?"100ms":"0ms";let g;e[17]!==p?(g={background:E.surface,border:`1px solid ${E.cardBorder}`,transitionDelay:p},e[17]=p,e[18]=g):g=e[18];let m;if(e[19]!==i||e[20]!==u){let A;e[22]!==u?(A=(D,M)=>T.jsx("th",{className:at("text-[11px] font-medium uppercase tracking-wide sm:text-sm",u?"px-3 py-2.5 sm:px-5 sm:py-3":"px-3 py-3 sm:px-6 sm:py-4",D.align==="right"?"text-right":"text-left"),style:{color:E.muted,borderBottom:`1px solid ${E.border}`},children:D.label},M),e[22]=u,e[23]=A):A=e[23],m=i.map(A),e[19]=i,e[20]=u,e[21]=m}else m=e[21];let y;e[24]!==m?(y=T.jsx("thead",{children:T.jsx("tr",{children:m})}),e[24]=m,e[25]=y):y=e[25];let x;if(e[26]!==i||e[27]!==u||e[28]!==s||e[29]!==o){let A;e[31]!==i||e[32]!==u||e[33]!==s||e[34]!==o.length?(A=(D,M)=>T.jsx("tr",{style:{borderBottom:M<o.length-1?`1px solid ${E.border}`:void 0,background:M===s?"rgba(40,37,36,0.04)":void 0},children:D.map((I,k)=>{const P=i[k]?.align==="right";return T.jsx("td",{className:at("align-top tracking-[-0.01em] tabular-nums",u?"px-3 py-1.5 text-sm sm:px-5 sm:py-2.5 sm:text-base":"px-3 py-3 text-sm sm:px-6 sm:py-4 sm:text-lg",P?"text-right":"text-left font-medium"),children:T.jsx(wh,{cell:I})},k)})},M),e[31]=i,e[32]=u,e[33]=s,e[34]=o.length,e[35]=A):A=e[35],x=o.map(A),e[26]=i,e[27]=u,e[28]=s,e[29]=o,e[30]=x}else x=e[30];let _;e[36]!==x?(_=T.jsx("tbody",{children:x}),e[36]=x,e[37]=_):_=e[37];let S;e[38]!==_||e[39]!==y?(S=T.jsxs("table",{className:"w-full border-collapse",children:[y,_]}),e[38]=_,e[39]=y,e[40]=S):S=e[40];let b;e[41]!==S||e[42]!==d||e[43]!==g?(b=T.jsx("div",{className:"reveal hidden w-full overflow-hidden rounded-xl sm:block","data-show":d,style:g,children:S}),e[41]=S,e[42]=d,e[43]=g,e[44]=b):b=e[44];let w;e[45]!==b||e[46]!==v?(w=T.jsxs("div",{className:"flex min-h-0 flex-1 flex-col px-5 pt-3 sm:items-center sm:justify-center sm:px-10 sm:pt-4 lg:px-16",children:[v,b]}),e[45]=b,e[46]=v,e[47]=w):w=e[47];let C;return e[48]!==c||e[49]!==w?(C=T.jsxs("div",{className:"flex h-full flex-col",children:[c,w]}),e[48]=c,e[49]=w,e[50]=C):C=e[50],C}const l0={color:"#ef4444",tint:"rgba(239,68,68,0.12)"},u0={color:"#d98324",tint:"rgba(217,131,36,0.12)"},N2={Crítico:l0,Critical:l0,Atenção:u0,Warning:u0},O2={color:E.muted,tint:"rgba(13,9,6,0.06)"};function EP(r){const e=[];for(const t of r){const[a,n,i]=t;if(t.length!==3||a?.kind!=="text"||n?.kind!=="text"||i?.kind!=="badge")return null;const o={title:n.value.replace(/^✗\s*/,""),severity:i.label},s=e[e.length-1];s&&s.page===a.value?s.issues.push(o):e.push({page:a.value,issues:[o]})}return e.length>0?e:null}function c0(r){const e=ge.c(6),{severity:t}=r,a=N2[t]??O2;let n;e[0]!==a.color||e[1]!==a.tint?(n={color:a.color,background:a.tint},e[0]=a.color,e[1]=a.tint,e[2]=n):n=e[2];let i;return e[3]!==t||e[4]!==n?(i=T.jsx("span",{className:"shrink-0 rounded-full px-2 py-0.5 text-[10px] font-medium leading-[1.4] sm:text-[11px]",style:n,children:t}),e[3]=t,e[4]=n,e[5]=i):i=e[5],i}function f0(r){const e=ge.c(2),{severity:t}=r,a=N2[t]??O2;let n;return e[0]!==a.color?(n=T.jsx("span",{className:"shrink-0 text-sm font-semibold leading-snug sm:text-base",style:{color:a.color},children:"✗"}),e[0]=a.color,e[1]=n):n=e[1],n}function NP(r){const e=lt(),{eyebrow:t,headline:a,annotation:n,rows:i,active:o}=r,s=EP(i);if(!s)return T.jsx(E2,{...r});const l=s.length>1,u=s.flatMap(f=>f.issues.map(h=>({...h,page:f.page})));let c=0;return T.jsxs("div",{className:"flex h-full flex-col",children:[T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:o}),T.jsxs("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-2 sm:px-10 sm:py-4 lg:px-16",children:[T.jsx("div",{className:"reveal my-auto w-full rounded-2xl px-3.5 py-1 sm:hidden","data-show":o?"true":"false",style:{background:E.surface,border:`1px solid ${E.border}`,transitionDelay:o?"80ms":"0ms"},children:s.map((f,h)=>T.jsxs("div",{className:"py-[min(0.625rem,1.2svh)]",style:{borderTop:h>0?`1px solid ${E.border}`:void 0},children:[T.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[T.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.08em]",style:{color:E.muted},children:f.page}),f.issues.length>1&&T.jsxs("span",{className:"text-[11px] tabular-nums",style:{color:E.muted,opacity:.7},children:[f.issues.length," ",e("reports.paginasVariant.found")]})]}),f.issues.map((v,d)=>{const p=140+c++*60;return T.jsxs("div",{className:"reveal mt-[min(0.375rem,0.8svh)] flex items-baseline gap-2","data-show":o?"true":"false",style:{transitionDelay:o?`${p}ms`:"0ms"},children:[T.jsx(f0,{severity:v.severity}),T.jsx("span",{className:"min-w-0 flex-1 line-clamp-2 text-[13px] font-medium leading-snug tracking-[-0.01em]",style:{color:E.ink},children:v.title}),T.jsx(c0,{severity:v.severity})]},d)})]},h))}),T.jsx("div",{className:"my-auto hidden w-full gap-4 sm:grid sm:grid-cols-2 lg:grid-cols-3",children:u.map((f,h)=>T.jsxs("div",{className:"reveal flex flex-col gap-3 rounded-2xl px-5 py-4","data-show":o?"true":"false",style:{background:E.surface,border:`1px solid ${E.border}`,transitionDelay:o?`${100+h*60}ms`:"0ms"},children:[l&&T.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.08em]",style:{color:E.muted},children:f.page}),T.jsxs("div",{className:"flex items-start gap-2.5",children:[T.jsx(f0,{severity:f.severity}),T.jsx("span",{className:"min-w-0 flex-1 text-sm font-medium leading-snug tracking-[-0.01em] lg:text-[15px]",style:{color:E.ink},children:f.title})]}),T.jsx("div",{className:"mt-auto",children:T.jsx(c0,{severity:f.severity})})]},h))})]})]})}const OP={1:"#c8a24b",2:"#9aa0a6",3:"#b07a48"};function BP(r){const e=ge.c(28),{product:t,rank:a,active:n,delay:i}=r,[o,s]=Re.useState(!!t.image),l=OP[a],u=n?"true":"false",c=n?`${i}ms`:"0ms";let f;e[0]!==c?(f={borderColor:E.cardBorder,transitionDelay:c},e[0]=c,e[1]=f):f=e[1];let h;e[2]===Symbol.for("react.memo_cache_sentinel")?(h={background:"#f6f4f1"},e[2]=h):h=e[2];let v;e[3]!==o||e[4]!==t.image||e[5]!==t.name?(v=o&&t.image?T.jsx("img",{src:t.image,alt:t.name,className:"h-full w-full object-cover transition-transform duration-700 ease-out group-hover:scale-[1.04]",loading:"lazy",onError:()=>s(!1)}):T.jsx("span",{className:"grid h-full w-full place-items-center",children:T.jsx(pt,{name:"package_2",size:"xxl",class:"opacity-15"})}),e[3]=o,e[4]=t.image,e[5]=t.name,e[6]=v):v=e[6];let d;e[7]!==l?(d=l?{background:l,color:"#fff"}:{background:"rgba(255,255,255,0.92)",color:E.muted,border:`1px solid ${E.cardBorder}`},e[7]=l,e[8]=d):d=e[8];let p;e[9]!==a||e[10]!==d?(p=T.jsxs("span",{className:"absolute left-2 top-2 inline-flex h-6 items-center gap-1 rounded-full px-2 text-[11px] font-medium tabular-nums",style:d,children:["#",a]}),e[9]=a,e[10]=d,e[11]=p):p=e[11];let g;e[12]!==v||e[13]!==p?(g=T.jsxs("div",{className:"relative aspect-[3/4] w-full overflow-hidden rounded-md",style:h,children:[v,p]}),e[12]=v,e[13]=p,e[14]=g):g=e[14];let m;e[15]===Symbol.for("react.memo_cache_sentinel")?(m={color:E.ink},e[15]=m):m=e[15];let y;e[16]!==t.name?(y=T.jsx("span",{className:"line-clamp-2 min-w-0 text-[13px] leading-snug sm:text-[13.5px]",style:m,children:t.name}),e[16]=t.name,e[17]=y):y=e[17];let x;e[18]!==t.price?(x=t.price&&T.jsx("span",{className:"mt-auto pt-1 text-[15px] font-medium tabular-nums tracking-[-0.01em] sm:text-[17px]",style:{color:E.ink},children:t.price}),e[18]=t.price,e[19]=x):x=e[19];let _;e[20]!==y||e[21]!==x?(_=T.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1 px-1.5 pb-1 pt-2.5",children:[y,x]}),e[20]=y,e[21]=x,e[22]=_):_=e[22];let S;return e[23]!==u||e[24]!==_||e[25]!==f||e[26]!==g?(S=T.jsxs("div",{className:"reveal group flex w-[52vw] max-w-[210px] shrink-0 snap-center flex-col rounded-xl border bg-white p-1.5 transition-shadow duration-500 hover:shadow-[0_20px_44px_-24px_rgba(40,37,36,0.32)] sm:w-auto sm:max-w-none sm:shrink sm:snap-align-none","data-show":u,style:f,children:[g,_]}),e[23]=u,e[24]=_,e[25]=f,e[26]=g,e[27]=S):S=e[27],S}function zP(r){return r<=2?"sm:grid-cols-2":r===3?"sm:grid-cols-3":r===4?"sm:grid-cols-4":r===5?"sm:grid-cols-5":"sm:grid-cols-3 lg:grid-cols-6"}function VP(r){const e=ge.c(27),{eyebrow:t,headline:a,annotation:n,products:i,active:o}=r,s=o===void 0?!1:o;let l,u,c,f,h;if(e[0]!==s||e[1]!==n||e[2]!==t||e[3]!==a||e[4]!==i){const g=i.slice(0,6);f="flex h-full flex-col",e[10]!==s||e[11]!==n||e[12]!==t||e[13]!==a?(h=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:s}),e[10]=s,e[11]=n,e[12]=t,e[13]=a,e[14]=h):h=e[14],c="flex min-h-0 flex-1 flex-col justify-center pt-4 sm:px-10 sm:pt-12 lg:px-16",l=at("flex w-full snap-x snap-mandatory gap-3 overflow-x-auto overscroll-x-contain px-5 scroll-px-5 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden sm:grid sm:snap-none sm:gap-4 sm:overflow-x-visible sm:px-0",zP(g.length));let m;e[15]!==s?(m=(y,x)=>T.jsx(BP,{product:y,rank:x+1,active:s,delay:60+x*55},x),e[15]=s,e[16]=m):m=e[16],u=g.map(m),e[0]=s,e[1]=n,e[2]=t,e[3]=a,e[4]=i,e[5]=l,e[6]=u,e[7]=c,e[8]=f,e[9]=h}else l=e[5],u=e[6],c=e[7],f=e[8],h=e[9];let v;e[17]!==l||e[18]!==u?(v=T.jsx("div",{className:l,children:u}),e[17]=l,e[18]=u,e[19]=v):v=e[19];let d;e[20]!==c||e[21]!==v?(d=T.jsx("div",{className:c,children:v}),e[20]=c,e[21]=v,e[22]=d):d=e[22];let p;return e[23]!==f||e[24]!==h||e[25]!==d?(p=T.jsxs("div",{className:f,children:[h,d]}),e[23]=f,e[24]=h,e[25]=d,e[26]=p):p=e[26],p}function h0(r){if(!r)return null;const e=r.replace(/\s/g,"").match(/^[^\d]*([\d.,]+)\s*([kKmMbB])?/);if(!e)return null;const t=Number.parseFloat((e[1]??"").replace(/\./g,"").replace(",","."));if(Number.isNaN(t))return null;const a=(e[2]||"").toLowerCase();return t*(a==="b"?1e9:a==="m"?1e6:a==="k"?1e3:1)}function GP(r){return!!r&&!/\s/.test(r)&&/\.[a-z]{2,}$/i.test(r.replace(/\/+$/,""))}function FP(r){const e=ge.c(17),{name:t,className:a}=r,[n,i]=Re.useState(!1);let o;e[0]!==t?(o=t?.replace(/^https?:\/\//,"").replace(/\/.*$/,""),e[0]=t,e[1]=o):o=e[1];const s=o;let l;e[2]!==t?(l=(t??"?").replace(/^https?:\/\//,"").replace(/^www\./,"")[0]?.toUpperCase()??"?",e[2]=t,e[3]=l):l=e[3];const u=l;let c;e[4]!==n||e[5]!==t?(c=GP(t)&&!n,e[4]=n,e[5]=t,e[6]=c):c=e[6];const f=c;let h;e[7]!==a?(h=at("grid shrink-0 place-items-center overflow-hidden rounded-[10px]",a),e[7]=a,e[8]=h):h=e[8];let v;e[9]===Symbol.for("react.memo_cache_sentinel")?(v={background:E.surface,border:`1px solid ${E.border}`},e[9]=v):v=e[9];let d;e[10]!==s||e[11]!==u||e[12]!==f?(d=f?T.jsx("img",{src:`https://www.google.com/s2/favicons?sz=64&domain=${encodeURIComponent(s??"")}`,alt:"",className:"h-full w-full object-contain p-1",onError:()=>i(!0)}):T.jsx("span",{className:"text-xs font-medium",style:{color:E.muted},children:u}),e[10]=s,e[11]=u,e[12]=f,e[13]=d):d=e[13];let p;return e[14]!==h||e[15]!==d?(p=T.jsx("span",{className:h,style:v,children:d}),e[14]=h,e[15]=d,e[16]=p):p=e[16],p}function HP(r){return r?r.replace(/^https?:\/\//,"").replace(/^www\./,"").replace(/\/+$/,""):""}const v0="h-[min(2.5rem,4svh)] w-[min(2.5rem,4svh)] sm:h-10 sm:w-10",d0=r=>r==="good"?0:r==="bad"?2:1;function jP(r){const e=ge.c(33),{eyebrow:t,headline:a,annotation:n,rivalLabel:i,dimensions:o,faviconUrl:s,active:l}=r,u=lt();let c,f,h,v,d;if(e[0]!==l||e[1]!==n||e[2]!==o||e[3]!==t||e[4]!==s||e[5]!==a||e[6]!==i||e[7]!==u){const y=o.map($P).sort(WP);v="flex h-full flex-col",e[13]!==l||e[14]!==n||e[15]!==t||e[16]!==a?(d=T.jsx(yr,{eyebrow:t,headline:a,annotation:n,active:l}),e[13]=l,e[14]=n,e[15]=t,e[16]=a,e[17]=d):d=e[17],h="flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-[min(1rem,1.2svh)] sm:px-10 sm:py-4 lg:px-16",c="my-auto flex w-full flex-col";let x;e[18]!==l||e[19]!==s||e[20]!==i||e[21]!==u?(x=(_,S)=>{const{d:b,i:w}=_,C=b.tone==="good"?ft.good:b.tone==="bad"?ft.bad:E.muted,A=!!(b.rival||b.rivalName),D=h0(b.you),M=h0(b.rival),k=D!=null&&M!=null&&D+M>0?Math.min(.9,Math.max(.1,D/(D+M))):b.tone==="good"?.72:b.tone==="bad"?.28:.5,P=b.tone==="good",R=b.tone==="bad",N=P?ft.good:R?ft.bad:E.muted;return T.jsxs("div",{className:"reveal flex flex-col gap-[min(0.5rem,0.9svh)] py-[min(0.75rem,1.1svh)] sm:gap-2 sm:py-3","data-show":l?"true":"false",style:{borderTop:S===0?"none":`1px solid ${E.cardBorder}`,transitionDelay:l?`${80+S*55}ms`:"0ms"},children:[T.jsxs("div",{className:"flex items-center justify-between gap-3",children:[T.jsx("span",{className:"min-w-0 truncate text-sm font-medium sm:text-[15px]",style:{color:E.ink},children:b.label}),T.jsxs("span",{className:"flex shrink-0 items-center gap-1 text-[11px] font-medium sm:text-xs",style:{color:N},children:[(P||R)&&T.jsx(pt,{name:P?"trending_up":"trending_down",size:"xs"}),P?u("reports.scorecardTemplate.youLead"):R?u("reports.scorecardTemplate.rivalLeads",{rival:HP(b.rivalName)||i||u("reports.competitorTemplate.competitor")}):u(A?"reports.scorecardTemplate.tie":"reports.scorecardTemplate.noComparison")]})]}),T.jsxs("div",{className:"flex items-center gap-2.5 sm:gap-3",children:[T.jsx("img",{src:s,alt:"",width:32,height:32,className:at("shrink-0 rounded-[10px] border bg-white p-1",v0),style:{borderColor:E.border}}),T.jsx("span",{className:"shrink-0 text-[min(1.125rem,2.5svh)] font-normal tabular-nums tracking-[-0.01em] sm:text-xl",style:{color:C},children:b.you}),T.jsx("span",{className:"relative h-3.5 flex-1 overflow-hidden rounded-full",style:{background:"rgba(40,37,36,0.07)"},children:T.jsx("span",{className:"absolute inset-y-0 left-0 rounded-full transition-[width] duration-700 ease-out",style:{width:l?`${k*100}%`:"0%",background:C}})}),A&&T.jsxs(T.Fragment,{children:[T.jsx("span",{className:"shrink-0 text-[min(1.125rem,2.5svh)] tabular-nums sm:text-xl",style:{color:E.muted},children:b.rival??"—"}),T.jsx(FP,{name:b.rivalName,className:v0})]})]})]},w)},e[18]=l,e[19]=s,e[20]=i,e[21]=u,e[22]=x):x=e[22],f=y.map(x),e[0]=l,e[1]=n,e[2]=o,e[3]=t,e[4]=s,e[5]=a,e[6]=i,e[7]=u,e[8]=c,e[9]=f,e[10]=h,e[11]=v,e[12]=d}else c=e[8],f=e[9],h=e[10],v=e[11],d=e[12];let p;e[23]!==c||e[24]!==f?(p=T.jsx("div",{className:c,children:f}),e[23]=c,e[24]=f,e[25]=p):p=e[25];let g;e[26]!==h||e[27]!==p?(g=T.jsx("div",{className:h,children:p}),e[26]=h,e[27]=p,e[28]=g):g=e[28];let m;return e[29]!==v||e[30]!==d||e[31]!==g?(m=T.jsxs("div",{className:v,children:[d,g]}),e[29]=v,e[30]=d,e[31]=g,e[32]=m):m=e[32],m}function WP(r,e){return d0(r.d.tone)-d0(e.d.tone)||r.i-e.i}function $P(r,e){return{d:r,i:e}}var Zd=function(r,e){return Zd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])},Zd(r,e)};function z(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Zd(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var UP=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),YP=(function(){function r(){this.browser=new UP,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),Me=new YP;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Me.wxa=!0,Me.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Me.worker=!0:!Me.hasGlobalWindow||"Deno"in window?(Me.node=!0,Me.svgSupported=!0):XP(navigator.userAgent,Me);function XP(r,e){var t=e.browser,a=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),i=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(t.firefox=!0,t.version=a[1]),n&&(t.ie=!0,t.version=n[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),o&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11),e.domSupported=typeof document<"u";var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}var $g=12,B2="sans-serif",bn=$g+"px "+B2,ZP=20,KP=100,qP="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function JP(r){var e={};if(typeof JSON>"u")return e;for(var t=0;t<r.length;t++){var a=String.fromCharCode(t+32),n=(r.charCodeAt(t)-ZP)/KP;e[a]=n}return e}var QP=JP(qP),Sn={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var r,e;return function(t,a){if(!r){var n=Sn.createCanvas();r=n&&n.getContext("2d")}if(r)return e!==a&&(e=r.font=a||bn),r.measureText(t);t=t||"",a=a||bn;var i=/((?:\d+)?\.?\d*)px/.exec(a),o=i&&+i[1]||$g,s=0;if(a.indexOf("mono")>=0)s=o*t.length;else for(var l=0;l<t.length;l++){var u=QP[t[l]];s+=u==null?o:u*o}return{width:s}}})(),loadImage:function(r,e,t){var a=new Image;return a.onload=e,a.onerror=t,a.src=r,a}},z2=pa(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,e){return r["[object "+e+"]"]=!0,r},{}),V2=pa(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,e){return r["[object "+e+"Array]"]=!0,r},{}),jo=Object.prototype.toString,Ef=Array.prototype,e5=Ef.forEach,t5=Ef.filter,Ug=Ef.slice,r5=Ef.map,p0=(function(){}).constructor,uu=p0?p0.prototype:null,Yg="__proto__",a5=2311;function G2(){return a5++}function Xg(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];typeof console<"u"&&console.error.apply(console,r)}function ue(r){if(r==null||typeof r!="object")return r;var e=r,t=jo.call(r);if(t==="[object Array]"){if(!Zs(r)){e=[];for(var a=0,n=r.length;a<n;a++)e[a]=ue(r[a])}}else if(V2[t]){if(!Zs(r)){var i=r.constructor;if(i.from)e=i.from(r);else{e=new i(r.length);for(var a=0,n=r.length;a<n;a++)e[a]=r[a]}}}else if(!z2[t]&&!Zs(r)&&!Po(r)){e={};for(var o in r)r.hasOwnProperty(o)&&o!==Yg&&(e[o]=ue(r[o]))}return e}function xe(r,e,t){if(!le(e)||!le(r))return t?ue(e):r;for(var a in e)if(e.hasOwnProperty(a)&&a!==Yg){var n=r[a],i=e[a];le(i)&&le(n)&&!W(i)&&!W(n)&&!Po(i)&&!Po(n)&&!g0(i)&&!g0(n)&&!Zs(i)&&!Zs(n)?xe(n,i,t):(t||!(a in r))&&(r[a]=ue(e[a]))}return r}function Zg(r,e){for(var t=r[0],a=1,n=r.length;a<n;a++)t=xe(t,r[a],e);return t}function H(r,e){if(Object.assign)Object.assign(r,e);else for(var t in e)e.hasOwnProperty(t)&&t!==Yg&&(r[t]=e[t]);return r}function se(r,e,t){for(var a=Ie(e),n=0,i=a.length;n<i;n++){var o=a[n];(t?e[o]!=null:r[o]==null)&&(r[o]=e[o])}return r}function we(r,e){if(r){if(r.indexOf)return r.indexOf(e);for(var t=0,a=r.length;t<a;t++)if(r[t]===e)return t}return-1}function n5(r,e){var t=r.prototype;function a(){}a.prototype=e.prototype,r.prototype=new a;for(var n in t)t.hasOwnProperty(n)&&(r.prototype[n]=t[n]);r.prototype.constructor=r,r.superClass=e}function xt(r,e,t){if(r="prototype"in r?r.prototype:r,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var a=Object.getOwnPropertyNames(e),n=0;n<a.length;n++){var i=a[n];i!=="constructor"&&(t?e[i]!=null:r[i]==null)&&(r[i]=e[i])}else se(r,e,t)}function Wt(r){return!r||typeof r=="string"?!1:typeof r.length=="number"}function L(r,e,t){if(r&&e)if(r.forEach&&r.forEach===e5)r.forEach(e,t);else if(r.length===+r.length)for(var a=0,n=r.length;a<n;a++)e.call(t,r[a],a,r);else for(var i in r)r.hasOwnProperty(i)&&e.call(t,r[i],i,r)}function $(r,e,t){if(!r)return[];if(!e)return Kg(r);if(r.map&&r.map===r5)return r.map(e,t);for(var a=[],n=0,i=r.length;n<i;n++)a.push(e.call(t,r[n],n,r));return a}function pa(r,e,t,a){if(r&&e){for(var n=0,i=r.length;n<i;n++)t=e.call(a,t,r[n],n,r);return t}}function Ge(r,e,t){if(!r)return[];if(!e)return Kg(r);if(r.filter&&r.filter===t5)return r.filter(e,t);for(var a=[],n=0,i=r.length;n<i;n++)e.call(t,r[n],n,r)&&a.push(r[n]);return a}function i5(r,e,t){if(r&&e){for(var a=0,n=r.length;a<n;a++)if(e.call(t,r[a],a,r))return r[a]}}function Ie(r){if(!r)return[];if(Object.keys)return Object.keys(r);var e=[];for(var t in r)r.hasOwnProperty(t)&&e.push(t);return e}function o5(r,e){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];return function(){return r.apply(e,t.concat(Ug.call(arguments)))}}var ee=uu&&oe(uu.bind)?uu.call.bind(uu.bind):o5;function me(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return function(){return r.apply(this,e.concat(Ug.call(arguments)))}}function W(r){return Array.isArray?Array.isArray(r):jo.call(r)==="[object Array]"}function oe(r){return typeof r=="function"}function q(r){return typeof r=="string"}function Kd(r){return jo.call(r)==="[object String]"}function Ne(r){return typeof r=="number"}function le(r){var e=typeof r;return e==="function"||!!r&&e==="object"}function g0(r){return!!z2[jo.call(r)]}function fr(r){return!!V2[jo.call(r)]}function Po(r){return typeof r=="object"&&typeof r.nodeType=="number"&&typeof r.ownerDocument=="object"}function Nf(r){return r.colorStops!=null}function s5(r){return r.image!=null}function l5(r){return jo.call(r)==="[object RegExp]"}function fl(r){return r!==r}function Pt(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];for(var t=0,a=r.length;t<a;t++)if(r[t]!=null)return r[t]}function pe(r,e){return r??e}function va(r,e,t){return r??e??t}function Kg(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Ug.apply(r,e)}function qg(r){if(typeof r=="number")return[r,r,r,r];var e=r.length;return e===2?[r[0],r[1],r[0],r[1]]:e===3?[r[0],r[1],r[2],r[1]]:r}function Qt(r,e){if(!r)throw new Error(e)}function $r(r){return r==null?null:typeof r.trim=="function"?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var F2="__ec_primitive__";function Nc(r){r[F2]=!0}function Zs(r){return r[F2]}var u5=(function(){function r(){this.data={}}return r.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},r.prototype.has=function(e){return this.data.hasOwnProperty(e)},r.prototype.get=function(e){return this.data[e]},r.prototype.set=function(e,t){return this.data[e]=t,this},r.prototype.keys=function(){return Ie(this.data)},r.prototype.forEach=function(e){var t=this.data;for(var a in t)t.hasOwnProperty(a)&&e(t[a],a)},r})(),H2=typeof Map=="function";function c5(){return H2?new Map:new u5}var f5=(function(){function r(e){var t=W(e);this.data=c5();var a=this;e instanceof r?e.each(n):e&&L(e,n);function n(i,o){t?a.set(i,o):a.set(o,i)}}return r.prototype.hasKey=function(e){return this.data.has(e)},r.prototype.get=function(e){return this.data.get(e)},r.prototype.set=function(e,t){return this.data.set(e,t),t},r.prototype.each=function(e,t){this.data.forEach(function(a,n){e.call(t,a,n)})},r.prototype.keys=function(){var e=this.data.keys();return H2?Array.from(e):e},r.prototype.removeKey=function(e){this.data.delete(e)},r})();function re(r){return new f5(r)}function hl(r,e){for(var t=new r.constructor(r.length+e.length),a=0;a<r.length;a++)t[a]=r[a];for(var n=r.length,a=0;a<e.length;a++)t[a+n]=e[a];return t}function Of(r,e){var t;if(Object.create)t=Object.create(r);else{var a=function(){};a.prototype=r,t=new a}return e&&H(t,e),t}function j2(r){var e=r.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function te(r,e){return r.hasOwnProperty(e)}function ht(){}var vc=180/Math.PI;function zi(r,e){return r==null&&(r=0),e==null&&(e=0),[r,e]}function Yt(r,e){return r[0]=e[0],r[1]=e[1],r}function Ia(r){return[r[0],r[1]]}function h5(r,e,t){return r[0]=e,r[1]=t,r}function m0(r,e,t){return r[0]=e[0]+t[0],r[1]=e[1]+t[1],r}function qd(r,e,t,a){return r[0]=e[0]+t[0]*a,r[1]=e[1]+t[1]*a,r}function vi(r,e,t){return r[0]=e[0]-t[0],r[1]=e[1]-t[1],r}function Jd(r){return Math.sqrt(v5(r))}function v5(r){return r[0]*r[0]+r[1]*r[1]}function dc(r,e,t){return r[0]=e[0]*t,r[1]=e[1]*t,r}function Wo(r,e){var t=Jd(e);return t===0?(r[0]=0,r[1]=0):(r[0]=e[0]/t,r[1]=e[1]/t),r}function Qd(r,e){return Math.sqrt((r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1]))}var ln=Qd;function d5(r,e){return(r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1])}var Si=d5;function pc(r,e,t,a){return r[0]=e[0]+a*(t[0]-e[0]),r[1]=e[1]+a*(t[1]-e[1]),r}function Ot(r,e,t){var a=e[0],n=e[1];return r[0]=t[0]*a+t[2]*n+t[4],r[1]=t[1]*a+t[3]*n+t[5],r}function un(r,e,t){return r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r}function cn(r,e,t){return r[0]=Math.max(e[0],t[0]),r[1]=Math.max(e[1],t[1]),r}var Yi=(function(){function r(e,t){this.target=e,this.topTarget=t&&t.topTarget}return r})(),p5=(function(){function r(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Yi(t,e),"dragstart",e.event))},r.prototype._drag=function(e){var t=this._draggingTarget;if(t){var a=e.offsetX,n=e.offsetY,i=a-this._x,o=n-this._y;this._x=a,this._y=n,t.drift(i,o,e),this.handler.dispatchToElement(new Yi(t,e),"drag",e.event);var s=this.handler.findHover(a,n,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Yi(l,e),"dragleave",e.event),s&&s!==l&&this.handler.dispatchToElement(new Yi(s,e),"dragenter",e.event))}},r.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new Yi(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Yi(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},r})(),Nr=(function(){function r(e){e&&(this._$eventProcessor=e)}return r.prototype.on=function(e,t,a,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof t=="function"&&(n=a,a=t,t=null),!a||!e)return this;var o=this._$eventProcessor;t!=null&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var s=0;s<i[e].length;s++)if(i[e][s].h===a)return this;var l={h:a,query:t,ctx:n||this,callAtLast:a.zrEventfulCallAtLast},u=i[e].length-1,c=i[e][u];return c&&c.callAtLast?i[e].splice(u,0,l):i[e].push(l),this},r.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},r.prototype.off=function(e,t){var a=this._$handlers;if(!a)return this;if(!e)return this._$handlers={},this;if(t){if(a[e]){for(var n=[],i=0,o=a[e].length;i<o;i++)a[e][i].h!==t&&n.push(a[e][i]);a[e]=n}a[e]&&a[e].length===0&&delete a[e]}else delete a[e];return this},r.prototype.trigger=function(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var o=t.length,s=n.length,l=0;l<s;l++){var u=n[l];if(!(i&&i.filter&&u.query!=null&&!i.filter(e,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,t[0]);break;case 2:u.h.call(u.ctx,t[0],t[1]);break;default:u.h.apply(u.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},r.prototype.triggerWithContext=function(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var o=t.length,s=t[o-1],l=n.length,u=0;u<l;u++){var c=n[u];if(!(i&&i.filter&&c.query!=null&&!i.filter(e,c.query)))switch(o){case 0:c.h.call(s);break;case 1:c.h.call(s,t[0]);break;case 2:c.h.call(s,t[0],t[1]);break;default:c.h.apply(s,t.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},r})(),g5=Math.log(2);function ep(r,e,t,a,n,i){var o=a+"-"+n,s=r.length;if(i.hasOwnProperty(o))return i[o];if(e===1){var l=Math.round(Math.log((1<<s)-1&~n)/g5);return r[t][l]}for(var u=a|1<<t,c=t+1;a&1<<c;)c++;for(var f=0,h=0,v=0;h<s;h++){var d=1<<h;d&n||(f+=(v%2?-1:1)*r[t][h]*ep(r,e-1,c,u,n|d,i),v++)}return i[o]=f,f}function y0(r,e){var t=[[r[0],r[1],1,0,0,0,-e[0]*r[0],-e[0]*r[1]],[0,0,0,r[0],r[1],1,-e[1]*r[0],-e[1]*r[1]],[r[2],r[3],1,0,0,0,-e[2]*r[2],-e[2]*r[3]],[0,0,0,r[2],r[3],1,-e[3]*r[2],-e[3]*r[3]],[r[4],r[5],1,0,0,0,-e[4]*r[4],-e[4]*r[5]],[0,0,0,r[4],r[5],1,-e[5]*r[4],-e[5]*r[5]],[r[6],r[7],1,0,0,0,-e[6]*r[6],-e[6]*r[7]],[0,0,0,r[6],r[7],1,-e[7]*r[6],-e[7]*r[7]]],a={},n=ep(t,8,0,0,0,a);if(n!==0){for(var i=[],o=0;o<8;o++)for(var s=0;s<8;s++)i[s]==null&&(i[s]=0),i[s]+=((o+s)%2?-1:1)*ep(t,7,o===0?1:0,1<<o,1<<s,a)/n*e[o];return function(l,u,c){var f=u*i[6]+c*i[7]+1;l[0]=(u*i[0]+c*i[1]+i[2])/f,l[1]=(u*i[3]+c*i[4]+i[5])/f}}}var x0="___zrEVENTSAVED",Th=[];function m5(r,e,t,a,n){return tp(Th,e,a,n,!0)&&tp(r,t,Th[0],Th[1])}function tp(r,e,t,a,n){if(e.getBoundingClientRect&&Me.domSupported&&!W2(e)){var i=e[x0]||(e[x0]={}),o=y5(e,i),s=x5(o,i,n);if(s)return s(r,t,a),!0}return!1}function y5(r,e){var t=e.markers;if(t)return t;t=e.markers=[];for(var a=["left","right"],n=["top","bottom"],i=0;i<4;i++){var o=document.createElement("div"),s=o.style,l=i%2,u=(i>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",n[u]+":0",a[1-l]+":auto",n[1-u]+":auto",""].join("!important;"),r.appendChild(o),t.push(o)}return t}function x5(r,e,t){for(var a=t?"invTrans":"trans",n=e[a],i=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=r[u].getBoundingClientRect(),f=2*u,h=c.left,v=c.top;o.push(h,v),l=l&&i&&h===i[f]&&v===i[f+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&n?n:(e.srcCoords=o,e[a]=t?y0(s,o):y0(o,s))}function W2(r){return r.nodeName.toUpperCase()==="CANVAS"}var _5=/([&<>"'])/g,b5={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Kt(r){return r==null?"":(r+"").replace(_5,function(e,t){return b5[t]})}var S5=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ch=[],w5=Me.browser.firefox&&+Me.browser.version.split(".")[0]<39;function rp(r,e,t,a){return t=t||{},a?_0(r,e,t):w5&&e.layerX!=null&&e.layerX!==e.offsetX?(t.zrX=e.layerX,t.zrY=e.layerY):e.offsetX!=null?(t.zrX=e.offsetX,t.zrY=e.offsetY):_0(r,e,t),t}function _0(r,e,t){if(Me.domSupported&&r.getBoundingClientRect){var a=e.clientX,n=e.clientY;if(W2(r)){var i=r.getBoundingClientRect();t.zrX=a-i.left,t.zrY=n-i.top;return}else if(tp(Ch,r,a,n)){t.zrX=Ch[0],t.zrY=Ch[1];return}}t.zrX=t.zrY=0}function Jg(r){return r||window.event}function Tr(r,e,t){if(e=Jg(e),e.zrX!=null)return e;var a=e.type,n=a&&a.indexOf("touch")>=0;if(n){var o=a!=="touchend"?e.targetTouches[0]:e.changedTouches[0];o&&rp(r,o,e,t)}else{rp(r,e,e,t);var i=T5(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&S5.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function T5(r){var e=r.wheelDelta;if(e)return e;var t=r.deltaX,a=r.deltaY;if(t==null||a==null)return e;var n=Math.abs(a!==0?a:t),i=a>0?-1:a<0?1:t>0?-1:1;return 3*n*i}function ap(r,e,t,a){r.addEventListener(e,t,a)}function C5(r,e,t,a){r.removeEventListener(e,t,a)}var Na=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function b0(r){return r.which===2||r.which===3}var A5=(function(){function r(){this._track=[]}return r.prototype.recognize=function(e,t,a){return this._doTrack(e,t,a),this._recognize(e)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(e,t,a){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},o=0,s=n.length;o<s;o++){var l=n[o],u=rp(a,l,{});i.points.push([u.zrX,u.zrY]),i.touches.push(l)}this._track.push(i)}},r.prototype._recognize=function(e){for(var t in Ah)if(Ah.hasOwnProperty(t)){var a=Ah[t](this._track,e);if(a)return a}},r})();function S0(r){var e=r[1][0]-r[0][0],t=r[1][1]-r[0][1];return Math.sqrt(e*e+t*t)}function D5(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}var Ah={pinch:function(r,e){var t=r.length;if(t){var a=(r[t-1]||{}).points,n=(r[t-2]||{}).points||a;if(n&&n.length>1&&a&&a.length>1){var i=S0(a)/S0(n);!isFinite(i)&&(i=1),e.pinchScale=i;var o=D5(a);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:r[0].target,event:e}}}}};function pr(){return[1,0,0,1,0,0]}function Bf(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function Qg(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r}function ka(r,e,t){var a=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],o=e[1]*t[2]+e[3]*t[3],s=e[0]*t[4]+e[2]*t[5]+e[4],l=e[1]*t[4]+e[3]*t[5]+e[5];return r[0]=a,r[1]=n,r[2]=i,r[3]=o,r[4]=s,r[5]=l,r}function ga(r,e,t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4]+t[0],r[5]=e[5]+t[1],r}function Vi(r,e,t,a){a===void 0&&(a=[0,0]);var n=e[0],i=e[2],o=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(t),f=Math.cos(t);return r[0]=n*f+s*c,r[1]=-n*c+s*f,r[2]=i*f+l*c,r[3]=-i*c+f*l,r[4]=f*(o-a[0])+c*(u-a[1])+a[0],r[5]=f*(u-a[1])-c*(o-a[0])+a[1],r}function em(r,e,t){var a=t[0],n=t[1];return r[0]=e[0]*a,r[1]=e[1]*n,r[2]=e[2]*a,r[3]=e[3]*n,r[4]=e[4]*a,r[5]=e[5]*n,r}function $o(r,e){var t=e[0],a=e[2],n=e[4],i=e[1],o=e[3],s=e[5],l=t*o-i*a;return l?(l=1/l,r[0]=o*l,r[1]=-i*l,r[2]=-a*l,r[3]=t*l,r[4]=(a*s-o*n)*l,r[5]=(i*n-t*s)*l,r):null}function M5(r){var e=pr();return Qg(e,r),e}var _e=(function(){function r(e,t){this.x=e||0,this.y=t||0}return r.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(e,t){return this.x=e,this.y=t,this},r.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},r.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},r.prototype.scale=function(e){this.x*=e,this.y*=e},r.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},r.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},r.prototype.dot=function(e){return this.x*e.x+this.y*e.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},r.prototype.distance=function(e){var t=this.x-e.x,a=this.y-e.y;return Math.sqrt(t*t+a*a)},r.prototype.distanceSquare=function(e){var t=this.x-e.x,a=this.y-e.y;return t*t+a*a},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(e){if(e){var t=this.x,a=this.y;return this.x=e[0]*t+e[2]*a+e[4],this.y=e[1]*t+e[3]*a+e[5],this}},r.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},r.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},r.set=function(e,t,a){e.x=t,e.y=a},r.copy=function(e,t){e.x=t.x,e.y=t.y},r.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},r.lenSquare=function(e){return e.x*e.x+e.y*e.y},r.dot=function(e,t){return e.x*t.x+e.y*t.y},r.add=function(e,t,a){e.x=t.x+a.x,e.y=t.y+a.y},r.sub=function(e,t,a){e.x=t.x-a.x,e.y=t.y-a.y},r.scale=function(e,t,a){e.x=t.x*a,e.y=t.y*a},r.scaleAndAdd=function(e,t,a,n){e.x=t.x+a.x*n,e.y=t.y+a.y*n},r.lerp=function(e,t,a,n){var i=1-n;e.x=i*t.x+n*a.x,e.y=i*t.y+n*a.y},r})(),cu=Math.min,fu=Math.max,Rn=new _e,En=new _e,Nn=new _e,On=new _e,ss=new _e,ls=new _e,be=(function(){function r(e,t,a,n){a<0&&(e=e+a,a=-a),n<0&&(t=t+n,n=-n),this.x=e,this.y=t,this.width=a,this.height=n}return r.prototype.union=function(e){var t=cu(e.x,this.x),a=cu(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=fu(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=fu(e.y+e.height,this.y+this.height)-a:this.height=e.height,this.x=t,this.y=a},r.prototype.applyTransform=function(e){r.applyTransform(this,this,e)},r.prototype.calculateTransform=function(e){var t=this,a=e.width/t.width,n=e.height/t.height,i=pr();return ga(i,i,[-t.x,-t.y]),em(i,i,[a,n]),ga(i,i,[e.x,e.y]),i},r.prototype.intersect=function(e,t){if(!e)return!1;e instanceof r||(e=r.create(e));var a=this,n=a.x,i=a.x+a.width,o=a.y,s=a.y+a.height,l=e.x,u=e.x+e.width,c=e.y,f=e.y+e.height,h=!(i<l||u<n||s<c||f<o);if(t){var v=1/0,d=0,p=Math.abs(i-l),g=Math.abs(u-n),m=Math.abs(s-c),y=Math.abs(f-o),x=Math.min(p,g),_=Math.min(m,y);i<l||u<n?x>d&&(d=x,p<g?_e.set(ls,-p,0):_e.set(ls,g,0)):x<v&&(v=x,p<g?_e.set(ss,p,0):_e.set(ss,-g,0)),s<c||f<o?_>d&&(d=_,m<y?_e.set(ls,0,-m):_e.set(ls,0,y)):x<v&&(v=x,m<y?_e.set(ss,0,m):_e.set(ss,0,-y))}return t&&_e.copy(t,h?ss:ls),h},r.prototype.contain=function(e,t){var a=this;return e>=a.x&&e<=a.x+a.width&&t>=a.y&&t<=a.y+a.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(e){r.copy(this,e)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(e){return new r(e.x,e.y,e.width,e.height)},r.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},r.applyTransform=function(e,t,a){if(!a){e!==t&&r.copy(e,t);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var n=a[0],i=a[3],o=a[4],s=a[5];e.x=t.x*n+o,e.y=t.y*i+s,e.width=t.width*n,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}Rn.x=Nn.x=t.x,Rn.y=On.y=t.y,En.x=On.x=t.x+t.width,En.y=Nn.y=t.y+t.height,Rn.transform(a),On.transform(a),En.transform(a),Nn.transform(a),e.x=cu(Rn.x,En.x,Nn.x,On.x),e.y=cu(Rn.y,En.y,Nn.y,On.y);var l=fu(Rn.x,En.x,Nn.x,On.x),u=fu(Rn.y,En.y,Nn.y,On.y);e.width=l-e.x,e.height=u-e.y},r})(),$2="silent";function L5(r,e,t){return{type:r,event:t,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:I5}}function I5(){Na(this.event)}var k5=(function(r){z(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.handler=null,t}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e})(Nr),us=(function(){function r(e,t){this.x=e,this.y=t}return r})(),P5=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Dh=new be(0,0,0,0),U2=(function(r){z(e,r);function e(t,a,n,i,o){var s=r.call(this)||this;return s._hovered=new us(0,0),s.storage=t,s.painter=a,s.painterRoot=i,s._pointerSize=o,n=n||new k5,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new p5(s),s}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(L(P5,function(a){t.on&&t.on(a,this[a],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var a=t.zrX,n=t.zrY,i=Y2(this,a,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=i?new us(a,n):this.findHover(a,n),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(l,"mousemove",t),u&&u!==s&&this.dispatchToElement(l,"mouseover",t)},e.prototype.mouseout=function(t){var a=t.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new us(0,0)},e.prototype.dispatch=function(t,a){var n=this[t];n&&n.call(this,a)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var a=this.proxy;a.setCursor&&a.setCursor(t)},e.prototype.dispatchToElement=function(t,a,n){t=t||{};var i=t.target;if(!(i&&i.silent)){for(var o="on"+a,s=L5(a,t,n);i&&(i[o]&&(s.cancelBubble=!!i[o].call(i,s)),i.trigger(a,s),i=i.__hostTarget?i.__hostTarget:i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(a,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(a,s)}))}},e.prototype.findHover=function(t,a,n){var i=this.storage.getDisplayList(),o=new us(t,a);if(w0(i,o,t,a,n),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new be(t-u,a-u,l,l),f=i.length-1;f>=0;f--){var h=i[f];h!==n&&!h.ignore&&!h.ignoreCoarsePointer&&(!h.parent||!h.parent.ignoreCoarsePointer)&&(Dh.copy(h.getBoundingRect()),h.transform&&Dh.applyTransform(h.transform),Dh.intersect(c)&&s.push(h))}if(s.length)for(var v=4,d=Math.PI/12,p=Math.PI*2,g=0;g<u;g+=v)for(var m=0;m<p;m+=d){var y=t+g*Math.cos(m),x=a+g*Math.sin(m);if(w0(s,o,y,x,n),o.target)return o}}return o},e.prototype.processGesture=function(t,a){this._gestureMgr||(this._gestureMgr=new A5);var n=this._gestureMgr;a==="start"&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if(a==="end"&&n.clear(),i){var o=i.type;t.gestureEvent=o;var s=new us;s.target=i.target,this.dispatchToElement(s,o,i.event)}},e})(Nr);L(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(r){U2.prototype[r]=function(e){var t=e.zrX,a=e.zrY,n=Y2(this,t,a),i,o;if((r!=="mouseup"||!n)&&(i=this.findHover(t,a),o=i.target),r==="mousedown")this._downEl=o,this._downPoint=[e.zrX,e.zrY],this._upEl=o;else if(r==="mouseup")this._upEl=o;else if(r==="click"){if(this._downEl!==this._upEl||!this._downPoint||ln(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,r,e)}});function R5(r,e,t){if(r[r.rectHover?"rectContain":"contain"](e,t)){for(var a=r,n=void 0,i=!1;a;){if(a.ignoreClip&&(i=!0),!i){var o=a.getClipPath();if(o&&!o.contain(e,t))return!1}a.silent&&(n=!0);var s=a.__hostTarget;a=s||a.parent}return n?$2:!0}return!1}function w0(r,e,t,a,n){for(var i=r.length-1;i>=0;i--){var o=r[i],s=void 0;if(o!==n&&!o.ignore&&(s=R5(o,t,a))&&(!e.topTarget&&(e.topTarget=o),s!==$2)){e.target=o;break}}}function Y2(r,e,t){var a=r.painter;return e<0||e>a.getWidth()||t<0||t>a.getHeight()}var X2=32,cs=7;function E5(r){for(var e=0;r>=X2;)e|=r&1,r>>=1;return r+e}function T0(r,e,t,a){var n=e+1;if(n===t)return 1;if(a(r[n++],r[e])<0){for(;n<t&&a(r[n],r[n-1])<0;)n++;N5(r,e,n)}else for(;n<t&&a(r[n],r[n-1])>=0;)n++;return n-e}function N5(r,e,t){for(t--;e<t;){var a=r[e];r[e++]=r[t],r[t--]=a}}function C0(r,e,t,a,n){for(a===e&&a++;a<t;a++){for(var i=r[a],o=e,s=a,l;o<s;)l=o+s>>>1,n(i,r[l])<0?s=l:o=l+1;var u=a-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=i}}function Mh(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])>0){for(s=a-n;l<s&&i(r,e[t+n+l])>0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{for(s=n+1;l<s&&i(r,e[t+n-l])<=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=n-l,l=n-u}for(o++;o<l;){var c=o+(l-o>>>1);i(r,e[t+c])>0?o=c+1:l=c}return l}function Lh(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])<0){for(s=n+1;l<s&&i(r,e[t+n-l])<0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=n-l,l=n-u}else{for(s=a-n;l<s&&i(r,e[t+n+l])>=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}for(o++;o<l;){var c=o+(l-o>>>1);i(r,e[t+c])<0?l=c:o=c+1}return l}function O5(r,e){var t=cs,a,n,i=0,o=[];a=[],n=[];function s(v,d){a[i]=v,n[i]=d,i+=1}function l(){for(;i>1;){var v=i-2;if(v>=1&&n[v-1]<=n[v]+n[v+1]||v>=2&&n[v-2]<=n[v]+n[v-1])n[v-1]<n[v+1]&&v--;else if(n[v]>n[v+1])break;c(v)}}function u(){for(;i>1;){var v=i-2;v>0&&n[v-1]<n[v+1]&&v--,c(v)}}function c(v){var d=a[v],p=n[v],g=a[v+1],m=n[v+1];n[v]=p+m,v===i-3&&(a[v+1]=a[v+2],n[v+1]=n[v+2]),i--;var y=Lh(r[g],r,d,p,0,e);d+=y,p-=y,p!==0&&(m=Mh(r[d+p-1],r,g,m,m-1,e),m!==0&&(p<=m?f(d,p,g,m):h(d,p,g,m)))}function f(v,d,p,g){var m=0;for(m=0;m<d;m++)o[m]=r[v+m];var y=0,x=p,_=v;if(r[_++]=r[x++],--g===0){for(m=0;m<d;m++)r[_+m]=o[y+m];return}if(d===1){for(m=0;m<g;m++)r[_+m]=r[x+m];r[_+g]=o[y];return}for(var S=t,b,w,C;;){b=0,w=0,C=!1;do if(e(r[x],o[y])<0){if(r[_++]=r[x++],w++,b=0,--g===0){C=!0;break}}else if(r[_++]=o[y++],b++,w=0,--d===1){C=!0;break}while((b|w)<S);if(C)break;do{if(b=Lh(r[x],o,y,d,0,e),b!==0){for(m=0;m<b;m++)r[_+m]=o[y+m];if(_+=b,y+=b,d-=b,d<=1){C=!0;break}}if(r[_++]=r[x++],--g===0){C=!0;break}if(w=Mh(o[y],r,x,g,0,e),w!==0){for(m=0;m<w;m++)r[_+m]=r[x+m];if(_+=w,x+=w,g-=w,g===0){C=!0;break}}if(r[_++]=o[y++],--d===1){C=!0;break}S--}while(b>=cs||w>=cs);if(C)break;S<0&&(S=0),S+=2}if(t=S,t<1&&(t=1),d===1){for(m=0;m<g;m++)r[_+m]=r[x+m];r[_+g]=o[y]}else{if(d===0)throw new Error;for(m=0;m<d;m++)r[_+m]=o[y+m]}}function h(v,d,p,g){var m=0;for(m=0;m<g;m++)o[m]=r[p+m];var y=v+d-1,x=g-1,_=p+g-1,S=0,b=0;if(r[_--]=r[y--],--d===0){for(S=_-(g-1),m=0;m<g;m++)r[S+m]=o[m];return}if(g===1){for(_-=d,y-=d,b=_+1,S=y+1,m=d-1;m>=0;m--)r[b+m]=r[S+m];r[_]=o[x];return}for(var w=t;;){var C=0,A=0,D=!1;do if(e(o[x],r[y])<0){if(r[_--]=r[y--],C++,A=0,--d===0){D=!0;break}}else if(r[_--]=o[x--],A++,C=0,--g===1){D=!0;break}while((C|A)<w);if(D)break;do{if(C=d-Lh(o[x],r,v,d,d-1,e),C!==0){for(_-=C,y-=C,d-=C,b=_+1,S=y+1,m=C-1;m>=0;m--)r[b+m]=r[S+m];if(d===0){D=!0;break}}if(r[_--]=o[x--],--g===1){D=!0;break}if(A=g-Mh(r[y],o,0,g,g-1,e),A!==0){for(_-=A,x-=A,g-=A,b=_+1,S=x+1,m=0;m<A;m++)r[b+m]=o[S+m];if(g<=1){D=!0;break}}if(r[_--]=r[y--],--d===0){D=!0;break}w--}while(C>=cs||A>=cs);if(D)break;w<0&&(w=0),w+=2}if(t=w,t<1&&(t=1),g===1){for(_-=d,y-=d,b=_+1,S=y+1,m=d-1;m>=0;m--)r[b+m]=r[S+m];r[_]=o[x]}else{if(g===0)throw new Error;for(S=_-(g-1),m=0;m<g;m++)r[S+m]=o[m]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function gc(r,e,t,a){t||(t=0),a||(a=r.length);var n=a-t;if(!(n<2)){var i=0;if(n<X2){i=T0(r,t,a,e),C0(r,t,a,t+i,e);return}var o=O5(r,e),s=E5(n);do{if(i=T0(r,t,a,e),i<s){var l=n;l>s&&(l=s),C0(r,t,t+l,t+i,e),i=l}o.pushRun(t,i),o.mergeRuns(),n-=i,t+=i}while(n!==0);o.forceMergeRuns()}}var vr=1,Os=2,mo=4,A0=!1;function Ih(){A0||(A0=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function D0(r,e){return r.zlevel===e.zlevel?r.z===e.z?r.z2-e.z2:r.z-e.z:r.zlevel-e.zlevel}var B5=(function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=D0}return r.prototype.traverse=function(e,t){for(var a=0;a<this._roots.length;a++)this._roots[a].traverse(e,t)},r.prototype.getDisplayList=function(e,t){t=t||!1;var a=this._displayList;return(e||!a.length)&&this.updateDisplayList(t),a},r.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,a=this._displayList,n=0,i=t.length;n<i;n++)this._updateAndAddDisplayable(t[n],null,e);a.length=this._displayListLen,gc(a,D0)},r.prototype._updateAndAddDisplayable=function(e,t,a){if(!(e.ignore&&!a)){e.beforeUpdate(),e.update(),e.afterUpdate();var n=e.getClipPath();if(e.ignoreClip)t=null;else if(n){t?t=t.slice():t=[];for(var i=n,o=e;i;)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.getClipPath()}if(e.childrenRef){for(var s=e.childrenRef(),l=0;l<s.length;l++){var u=s[l];e.__dirty&&(u.__dirty|=vr),this._updateAndAddDisplayable(u,t,a)}e.__dirty=0}else{var c=e;t&&t.length?c.__clipPaths=t:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(Ih(),c.z=0),isNaN(c.z2)&&(Ih(),c.z2=0),isNaN(c.zlevel)&&(Ih(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=e.getDecalElement&&e.getDecalElement();f&&this._updateAndAddDisplayable(f,t,a);var h=e.getTextGuideLine();h&&this._updateAndAddDisplayable(h,t,a);var v=e.getTextContent();v&&this._updateAndAddDisplayable(v,t,a)}},r.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},r.prototype.delRoot=function(e){if(e instanceof Array){for(var t=0,a=e.length;t<a;t++)this.delRoot(e[t]);return}var n=we(this._roots,e);n>=0&&this._roots.splice(n,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r})(),Oc;Oc=Me.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var Ks={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),-(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)))},elasticOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*r)*Math.sin((r-e)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),(r*=2)<1?-.5*(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)):t*Math.pow(2,-10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var e=1.70158;return r*r*((e+1)*r-e)},backOut:function(r){var e=1.70158;return--r*r*((e+1)*r+e)+1},backInOut:function(r){var e=2.5949095;return(r*=2)<1?.5*(r*r*((e+1)*r-e)):.5*((r-=2)*r*((e+1)*r+e)+2)},bounceIn:function(r){return 1-Ks.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?Ks.bounceIn(r*2)*.5:Ks.bounceOut(r*2-1)*.5+.5}},hu=Math.pow,mn=Math.sqrt,Bc=1e-8,Z2=1e-4,M0=mn(3),vu=1/3,sa=zi(),Mr=zi(),Ao=zi();function fn(r){return r>-Bc&&r<Bc}function K2(r){return r>Bc||r<-Bc}function Tt(r,e,t,a,n){var i=1-n;return i*i*(i*r+3*n*e)+n*n*(n*a+3*i*t)}function L0(r,e,t,a,n){var i=1-n;return 3*(((e-r)*i+2*(t-e)*n)*i+(a-t)*n*n)}function zc(r,e,t,a,n,i){var o=a+3*(e-t)-r,s=3*(t-e*2+r),l=3*(e-r),u=r-n,c=s*s-3*o*l,f=s*l-9*o*u,h=l*l-3*s*u,v=0;if(fn(c)&&fn(f))if(fn(s))i[0]=0;else{var d=-l/s;d>=0&&d<=1&&(i[v++]=d)}else{var p=f*f-4*c*h;if(fn(p)){var g=f/c,d=-s/o+g,m=-g/2;d>=0&&d<=1&&(i[v++]=d),m>=0&&m<=1&&(i[v++]=m)}else if(p>0){var y=mn(p),x=c*s+1.5*o*(-f+y),_=c*s+1.5*o*(-f-y);x<0?x=-hu(-x,vu):x=hu(x,vu),_<0?_=-hu(-_,vu):_=hu(_,vu);var d=(-s-(x+_))/(3*o);d>=0&&d<=1&&(i[v++]=d)}else{var S=(2*c*s-3*o*f)/(2*mn(c*c*c)),b=Math.acos(S)/3,w=mn(c),C=Math.cos(b),d=(-s-2*w*C)/(3*o),m=(-s+w*(C+M0*Math.sin(b)))/(3*o),A=(-s+w*(C-M0*Math.sin(b)))/(3*o);d>=0&&d<=1&&(i[v++]=d),m>=0&&m<=1&&(i[v++]=m),A>=0&&A<=1&&(i[v++]=A)}}return v}function q2(r,e,t,a,n){var i=6*t-12*e+6*r,o=9*e+3*a-3*r-9*t,s=3*e-3*r,l=0;if(fn(o)){if(K2(i)){var u=-s/i;u>=0&&u<=1&&(n[l++]=u)}}else{var c=i*i-4*o*s;if(fn(c))n[0]=-i/(2*o);else if(c>0){var f=mn(c),u=(-i+f)/(2*o),h=(-i-f)/(2*o);u>=0&&u<=1&&(n[l++]=u),h>=0&&h<=1&&(n[l++]=h)}}return l}function wn(r,e,t,a,n,i){var o=(e-r)*n+r,s=(t-e)*n+e,l=(a-t)*n+t,u=(s-o)*n+o,c=(l-s)*n+s,f=(c-u)*n+u;i[0]=r,i[1]=o,i[2]=u,i[3]=f,i[4]=f,i[5]=c,i[6]=l,i[7]=a}function J2(r,e,t,a,n,i,o,s,l,u,c){var f,h=.005,v=1/0,d,p,g,m;sa[0]=l,sa[1]=u;for(var y=0;y<1;y+=.05)Mr[0]=Tt(r,t,n,o,y),Mr[1]=Tt(e,a,i,s,y),g=Si(sa,Mr),g<v&&(f=y,v=g);v=1/0;for(var x=0;x<32&&!(h<Z2);x++)d=f-h,p=f+h,Mr[0]=Tt(r,t,n,o,d),Mr[1]=Tt(e,a,i,s,d),g=Si(Mr,sa),d>=0&&g<v?(f=d,v=g):(Ao[0]=Tt(r,t,n,o,p),Ao[1]=Tt(e,a,i,s,p),m=Si(Ao,sa),p<=1&&m<v?(f=p,v=m):h*=.5);return c&&(c[0]=Tt(r,t,n,o,f),c[1]=Tt(e,a,i,s,f)),mn(v)}function z5(r,e,t,a,n,i,o,s,l){for(var u=r,c=e,f=0,h=1/l,v=1;v<=l;v++){var d=v*h,p=Tt(r,t,n,o,d),g=Tt(e,a,i,s,d),m=p-u,y=g-c;f+=Math.sqrt(m*m+y*y),u=p,c=g}return f}function kt(r,e,t,a){var n=1-a;return n*(n*r+2*a*e)+a*a*t}function np(r,e,t,a){return 2*((1-a)*(e-r)+a*(t-e))}function V5(r,e,t,a,n){var i=r-2*e+t,o=2*(e-r),s=r-a,l=0;if(fn(i)){if(K2(o)){var u=-s/o;u>=0&&u<=1&&(n[l++]=u)}}else{var c=o*o-4*i*s;if(fn(c)){var u=-o/(2*i);u>=0&&u<=1&&(n[l++]=u)}else if(c>0){var f=mn(c),u=(-o+f)/(2*i),h=(-o-f)/(2*i);u>=0&&u<=1&&(n[l++]=u),h>=0&&h<=1&&(n[l++]=h)}}return l}function Q2(r,e,t){var a=r+t-2*e;return a===0?.5:(r-e)/a}function vl(r,e,t,a,n){var i=(e-r)*a+r,o=(t-e)*a+e,s=(o-i)*a+i;n[0]=r,n[1]=i,n[2]=s,n[3]=s,n[4]=o,n[5]=t}function eT(r,e,t,a,n,i,o,s,l){var u,c=.005,f=1/0;sa[0]=o,sa[1]=s;for(var h=0;h<1;h+=.05){Mr[0]=kt(r,t,n,h),Mr[1]=kt(e,a,i,h);var v=Si(sa,Mr);v<f&&(u=h,f=v)}f=1/0;for(var d=0;d<32&&!(c<Z2);d++){var p=u-c,g=u+c;Mr[0]=kt(r,t,n,p),Mr[1]=kt(e,a,i,p);var v=Si(Mr,sa);if(p>=0&&v<f)u=p,f=v;else{Ao[0]=kt(r,t,n,g),Ao[1]=kt(e,a,i,g);var m=Si(Ao,sa);g<=1&&m<f?(u=g,f=m):c*=.5}}return l&&(l[0]=kt(r,t,n,u),l[1]=kt(e,a,i,u)),mn(f)}function G5(r,e,t,a,n,i,o){for(var s=r,l=e,u=0,c=1/o,f=1;f<=o;f++){var h=f*c,v=kt(r,t,n,h),d=kt(e,a,i,h),p=v-s,g=d-l;u+=Math.sqrt(p*p+g*g),s=v,l=d}return u}var F5=/cubic-bezier\(([0-9,\.e ]+)\)/;function tm(r){var e=r&&F5.exec(r);if(e){var t=e[1].split(","),a=+$r(t[0]),n=+$r(t[1]),i=+$r(t[2]),o=+$r(t[3]);if(isNaN(a+n+i+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:zc(0,a,i,1,l,s)&&Tt(0,n,o,1,s[0])}}}var H5=(function(){function r(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||ht,this.ondestroy=e.ondestroy||ht,this.onrestart=e.onrestart||ht,e.easing&&this.setEasing(e.easing)}return r.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var a=this._life,n=e-this._startTime-this._pausedTime,i=n/a;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,s=o?o(i):i;if(this.onframe(s),i===1)if(this.loop){var l=n%a;this._startTime=e-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(e){this.easing=e,this.easingFunc=oe(e)?e:Ks[e]||tm(e)},r})(),tT=(function(){function r(e){this.value=e}return r})(),j5=(function(){function r(){this._len=0}return r.prototype.insert=function(e){var t=new tT(e);return this.insertEntry(t),t},r.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.prototype.remove=function(e){var t=e.prev,a=e.next;t?t.next=a:this.head=a,a?a.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Gl=(function(){function r(e){this._list=new j5,this._maxSize=10,this._map={},this._maxSize=e}return r.prototype.put=function(e,t){var a=this._list,n=this._map,i=null;if(n[e]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete n[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new tT(t),s.key=e,a.insertEntry(s),n[e]=s}return i},r.prototype.get=function(e){var t=this._map[e],a=this._list;if(t!=null)return t!==a.tail&&(a.remove(t),a.insertEntry(t)),t.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),I0={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Yr(r){return r=Math.round(r),r<0?0:r>255?255:r}function W5(r){return r=Math.round(r),r<0?0:r>360?360:r}function dl(r){return r<0?0:r>1?1:r}function kh(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?Yr(parseFloat(e)/100*255):Yr(parseInt(e,10))}function wi(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?dl(parseFloat(e)/100):dl(parseFloat(e))}function Ph(r,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?r+(e-r)*t*6:t*2<1?e:t*3<2?r+(e-r)*(2/3-t)*6:r}function hn(r,e,t){return r+(e-r)*t}function wr(r,e,t,a,n){return r[0]=e,r[1]=t,r[2]=a,r[3]=n,r}function ip(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r}var rT=new Gl(20),du=null;function Xi(r,e){du&&ip(du,e),du=rT.put(r,du||e.slice())}function gr(r,e){if(r){e=e||[];var t=rT.get(r);if(t)return ip(e,t);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in I0)return ip(e,I0[a]),Xi(r,e),e;var n=a.length;if(a.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(a.slice(1,4),16);if(!(i>=0&&i<=4095)){wr(e,0,0,0,1);return}return wr(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(a.slice(4),16)/15:1),Xi(r,e),e}else if(n===7||n===9){var i=parseInt(a.slice(1,7),16);if(!(i>=0&&i<=16777215)){wr(e,0,0,0,1);return}return wr(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(a.slice(7),16)/255:1),Xi(r,e),e}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===n){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?wr(e,+u[0],+u[1],+u[2],1):wr(e,0,0,0,1);c=wi(u.pop());case"rgb":if(u.length>=3)return wr(e,kh(u[0]),kh(u[1]),kh(u[2]),u.length===3?c:wi(u[3])),Xi(r,e),e;wr(e,0,0,0,1);return;case"hsla":if(u.length!==4){wr(e,0,0,0,1);return}return u[3]=wi(u[3]),op(u,e),Xi(r,e),e;case"hsl":if(u.length!==3){wr(e,0,0,0,1);return}return op(u,e),Xi(r,e),e;default:return}}wr(e,0,0,0,1)}}function op(r,e){var t=(parseFloat(r[0])%360+360)%360/360,a=wi(r[1]),n=wi(r[2]),i=n<=.5?n*(a+1):n+a-n*a,o=n*2-i;return e=e||[],wr(e,Yr(Ph(o,i,t+1/3)*255),Yr(Ph(o,i,t)*255),Yr(Ph(o,i,t-1/3)*255),1),r.length===4&&(e[3]=r[3]),e}function $5(r){if(r){var e=r[0]/255,t=r[1]/255,a=r[2]/255,n=Math.min(e,t,a),i=Math.max(e,t,a),o=i-n,s=(i+n)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(i+n):u=o/(2-i-n);var c=((i-e)/6+o/2)/o,f=((i-t)/6+o/2)/o,h=((i-a)/6+o/2)/o;e===i?l=h-f:t===i?l=1/3+c-h:a===i&&(l=2/3+f-c),l<0&&(l+=1),l>1&&(l-=1)}var v=[l*360,u,s];return r[3]!=null&&v.push(r[3]),v}}function sp(r,e){var t=gr(r);if(t){for(var a=0;a<3;a++)e<0?t[a]=t[a]*(1-e)|0:t[a]=(255-t[a])*e+t[a]|0,t[a]>255?t[a]=255:t[a]<0&&(t[a]=0);return Pa(t,t.length===4?"rgba":"rgb")}}function Rh(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){t=t||[];var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=e[n],s=e[i],l=a-n;return t[0]=Yr(hn(o[0],s[0],l)),t[1]=Yr(hn(o[1],s[1],l)),t[2]=Yr(hn(o[2],s[2],l)),t[3]=dl(hn(o[3],s[3],l)),t}}function U5(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=gr(e[n]),s=gr(e[i]),l=a-n,u=Pa([Yr(hn(o[0],s[0],l)),Yr(hn(o[1],s[1],l)),Yr(hn(o[2],s[2],l)),dl(hn(o[3],s[3],l))],"rgba");return t?{color:u,leftIndex:n,rightIndex:i,value:a}:u}}function qs(r,e,t,a){var n=gr(r);if(r)return n=$5(n),e!=null&&(n[0]=W5(e)),t!=null&&(n[1]=wi(t)),a!=null&&(n[2]=wi(a)),Pa(op(n),"rgba")}function Vc(r,e){var t=gr(r);if(t&&e!=null)return t[3]=dl(e),Pa(t,"rgba")}function Pa(r,e){if(!(!r||!r.length)){var t=r[0]+","+r[1]+","+r[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+r[3]),e+"("+t+")"}}function Gc(r,e){var t=gr(r);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}var k0=new Gl(100);function lp(r){if(q(r)){var e=k0.get(r);return e||(e=sp(r,-.1),k0.put(r,e)),e}else if(Nf(r)){var t=H({},r);return t.colorStops=$(r.colorStops,function(a){return{offset:a.offset,color:sp(a.color,-.1)}}),t}return r}var Fc=Math.round;function pl(r){var e;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var t=gr(r);t&&(r="rgb("+t[0]+","+t[1]+","+t[2]+")",e=t[3])}return{color:r,opacity:e??1}}var P0=1e-4;function vn(r){return r<P0&&r>-P0}function pu(r){return Fc(r*1e3)/1e3}function up(r){return Fc(r*1e4)/1e4}function Y5(r){return"matrix("+pu(r[0])+","+pu(r[1])+","+pu(r[2])+","+pu(r[3])+","+up(r[4])+","+up(r[5])+")"}var X5={left:"start",right:"end",center:"middle",middle:"middle"};function Z5(r,e,t){return t==="top"?r+=e/2:t==="bottom"&&(r-=e/2),r}function K5(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function q5(r){var e=r.style,t=r.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),t[0],t[1]].join(",")}function aT(r){return r&&!!r.image}function J5(r){return r&&!!r.svgElement}function rm(r){return aT(r)||J5(r)}function nT(r){return r.type==="linear"}function iT(r){return r.type==="radial"}function oT(r){return r&&(r.type==="linear"||r.type==="radial")}function zf(r){return"url(#"+r+")"}function sT(r){var e=r.getGlobalScale(),t=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(t)/Math.log(10)),1)}function lT(r){var e=r.x||0,t=r.y||0,a=(r.rotation||0)*vc,n=pe(r.scaleX,1),i=pe(r.scaleY,1),o=r.skewX||0,s=r.skewY||0,l=[];return(e||t)&&l.push("translate("+e+"px,"+t+"px)"),a&&l.push("rotate("+a+")"),(n!==1||i!==1)&&l.push("scale("+n+","+i+")"),(o||s)&&l.push("skew("+Fc(o*vc)+"deg, "+Fc(s*vc)+"deg)"),l.join(" ")}var Q5=(function(){return Me.hasGlobalWindow&&oe(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}})(),cp=Array.prototype.slice;function Aa(r,e,t){return(e-r)*t+r}function Eh(r,e,t,a){for(var n=e.length,i=0;i<n;i++)r[i]=Aa(e[i],t[i],a);return r}function eR(r,e,t,a){for(var n=e.length,i=n&&e[0].length,o=0;o<n;o++){r[o]||(r[o]=[]);for(var s=0;s<i;s++)r[o][s]=Aa(e[o][s],t[o][s],a)}return r}function gu(r,e,t,a){for(var n=e.length,i=0;i<n;i++)r[i]=e[i]+t[i]*a;return r}function R0(r,e,t,a){for(var n=e.length,i=n&&e[0].length,o=0;o<n;o++){r[o]||(r[o]=[]);for(var s=0;s<i;s++)r[o][s]=e[o][s]+t[o][s]*a}return r}function tR(r,e){for(var t=r.length,a=e.length,n=t>a?e:r,i=Math.min(t,a),o=n[i-1]||{color:[0,0,0,0],offset:0},s=i;s<Math.max(t,a);s++)n.push({offset:o.offset,color:o.color.slice()})}function rR(r,e,t){var a=r,n=e;if(!(!a.push||!n.push)){var i=a.length,o=n.length;if(i!==o){var s=i>o;if(s)a.length=o;else for(var l=i;l<o;l++)a.push(t===1?n[l]:cp.call(n[l]))}for(var u=a[0]&&a[0].length,l=0;l<a.length;l++)if(t===1)isNaN(a[l])&&(a[l]=n[l]);else for(var c=0;c<u;c++)isNaN(a[l][c])&&(a[l][c]=n[l][c])}}function Js(r){if(Wt(r)){var e=r.length;if(Wt(r[0])){for(var t=[],a=0;a<e;a++)t.push(cp.call(r[a]));return t}return cp.call(r)}return r}function mc(r){return r[0]=Math.floor(r[0])||0,r[1]=Math.floor(r[1])||0,r[2]=Math.floor(r[2])||0,r[3]=r[3]==null?1:r[3],"rgba("+r.join(",")+")"}function aR(r){return Wt(r&&r[0])?2:1}var mu=0,yc=1,uT=2,Bs=3,fp=4,hp=5,E0=6;function N0(r){return r===fp||r===hp}function yu(r){return r===yc||r===uT}var fs=[0,0,0,0],nR=(function(){function r(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return r.prototype.isFinished=function(){return this._finished},r.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},r.prototype.needsAnimate=function(){return this.keyframes.length>=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(e,t,a){this._needsSort=!0;var n=this.keyframes,i=n.length,o=!1,s=E0,l=t;if(Wt(t)){var u=aR(t);s=u,(u===1&&!Ne(t[0])||u===2&&!Ne(t[0][0]))&&(o=!0)}else if(Ne(t)&&!fl(t))s=mu;else if(q(t))if(!isNaN(+t))s=mu;else{var c=gr(t);c&&(l=c,s=Bs)}else if(Nf(t)){var f=H({},l);f.colorStops=$(t.colorStops,function(v){return{offset:v.offset,color:gr(v.color)}}),nT(t)?s=fp:iT(t)&&(s=hp),l=f}i===0?this.valType=s:(s!==this.valType||s===E0)&&(o=!0),this.discrete=this.discrete||o;var h={time:e,value:l,rawValue:t,percent:0};return a&&(h.easing=a,h.easingFunc=oe(a)?a:Ks[a]||tm(a)),n.push(h),h},r.prototype.prepare=function(e,t){var a=this.keyframes;this._needsSort&&a.sort(function(p,g){return p.time-g.time});for(var n=this.valType,i=a.length,o=a[i-1],s=this.discrete,l=yu(n),u=N0(n),c=0;c<i;c++){var f=a[c],h=f.value,v=o.value;f.percent=f.time/e,s||(l&&c!==i-1?rR(h,v,n):u&&tR(h.colorStops,v.colorStops))}if(!s&&n!==hp&&t&&this.needsAnimate()&&t.needsAnimate()&&n===t.valType&&!t._finished){this._additiveTrack=t;for(var d=a[0].value,c=0;c<i;c++)n===mu?a[c].additiveValue=a[c].value-d:n===Bs?a[c].additiveValue=gu([],a[c].value,d,-1):yu(n)&&(a[c].additiveValue=n===yc?gu([],a[c].value,d,-1):R0([],a[c].value,d,-1))}},r.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var a=this._additiveTrack!=null,n=a?"additiveValue":"value",i=this.valType,o=this.keyframes,s=o.length,l=this.propName,u=i===Bs,c,f=this._lastFr,h=Math.min,v,d;if(s===1)v=d=o[0];else{if(t<0)c=0;else if(t<this._lastFrP){var p=h(f+1,s-1);for(c=p;c>=0&&!(o[c].percent<=t);c--);c=h(c,s-2)}else{for(c=f;c<s&&!(o[c].percent>t);c++);c=h(c-1,s-2)}d=o[c+1],v=o[c]}if(v&&d){this._lastFr=c,this._lastFrP=t;var g=d.percent-v.percent,m=g===0?1:h((t-v.percent)/g,1);d.easingFunc&&(m=d.easingFunc(m));var y=a?this._additiveValue:u?fs:e[l];if((yu(i)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)e[l]=m<1?v.rawValue:d.rawValue;else if(yu(i))i===yc?Eh(y,v[n],d[n],m):eR(y,v[n],d[n],m);else if(N0(i)){var x=v[n],_=d[n],S=i===fp;e[l]={type:S?"linear":"radial",x:Aa(x.x,_.x,m),y:Aa(x.y,_.y,m),colorStops:$(x.colorStops,function(w,C){var A=_.colorStops[C];return{offset:Aa(w.offset,A.offset,m),color:mc(Eh([],w.color,A.color,m))}}),global:_.global},S?(e[l].x2=Aa(x.x2,_.x2,m),e[l].y2=Aa(x.y2,_.y2,m)):e[l].r=Aa(x.r,_.r,m)}else if(u)Eh(y,v[n],d[n],m),a||(e[l]=mc(y));else{var b=Aa(v[n],d[n],m);a?this._additiveValue=b:e[l]=b}a&&this._addToTarget(e)}}},r.prototype._addToTarget=function(e){var t=this.valType,a=this.propName,n=this._additiveValue;t===mu?e[a]=e[a]+n:t===Bs?(gr(e[a],fs),gu(fs,fs,n,1),e[a]=mc(fs)):t===yc?gu(e[a],e[a],n,1):t===uT&&R0(e[a],e[a],n,1)},r})(),am=(function(){function r(e,t,a,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){Xg("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(e){this._target=e},r.prototype.when=function(e,t,a){return this.whenWithKeys(e,t,Ie(t),a)},r.prototype.whenWithKeys=function(e,t,a,n){for(var i=this._tracks,o=0;o<a.length;o++){var s=a[o],l=i[s];if(!l){l=i[s]=new nR(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var f=c.keyframes,h=f[f.length-1];u=h&&h.value,c.valType===Bs&&u&&(u=mc(u))}else u=this._target[s];if(u==null)continue;e>0&&l.addKeyframe(0,Js(u),n),this._trackKeys.push(s)}l.addKeyframe(e,Js(t[s]),n)}return this._maxTime=Math.max(this._maxTime,e),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,a=0;a<t;a++)e[a].call(this)},r.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var a=0;a<t.length;a++)t[a].call(this)},r.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,a=0;a<t.length;a++)e[t[a]].setFinished()},r.prototype._getAdditiveTrack=function(e){var t,a=this._additiveAnimators;if(a)for(var n=0;n<a.length;n++){var i=a[n].getTrack(e);i&&(t=i)}return t},r.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,a=[],n=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(n,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var f=u[c-1];f&&(t._target[s.propName]=f.rawValue),s.setFinished()}else a.push(s)}if(a.length||this._force){var h=new H5({life:n,loop:this._loop,delay:this._delay||0,onframe:function(v){t._started=2;var d=t._additiveAnimators;if(d){for(var p=!1,g=0;g<d.length;g++)if(d[g]._clip){p=!0;break}p||(t._additiveAnimators=null)}for(var g=0;g<a.length;g++)a[g].step(t._target,v);var m=t._onframeCbs;if(m)for(var g=0;g<m.length;g++)m[g](t._target,v)},ondestroy:function(){t._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),e&&h.setEasing(e)}else this._doneCallback();return this}},r.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},r.prototype.delay=function(e){return this._delay=e,this},r.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},r.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},r.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},r.prototype.getClip=function(){return this._clip},r.prototype.getTrack=function(e){return this._tracks[e]},r.prototype.getTracks=function(){var e=this;return $(this._trackKeys,function(t){return e._tracks[t]})},r.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var a=this._tracks,n=this._trackKeys,i=0;i<e.length;i++){var o=a[e[i]];o&&!o.isFinished()&&(t?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,i=0;i<n.length;i++)if(!a[n[i]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},r.prototype.saveTo=function(e,t,a){if(e){t=t||this._trackKeys;for(var n=0;n<t.length;n++){var i=t[n],o=this._tracks[i];if(!(!o||o.isFinished())){var s=o.keyframes,l=s[a?0:s.length-1];l&&(e[i]=Js(l.rawValue))}}}},r.prototype.__changeFinalValue=function(e,t){t=t||Ie(e);for(var a=0;a<t.length;a++){var n=t[a],i=this._tracks[n];if(i){var o=i.keyframes;if(o.length>1){var s=o.pop();i.addKeyframe(s.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},r})();function So(){return new Date().getTime()}var iR=(function(r){z(e,r);function e(t){var a=r.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,t=t||{},a.stage=t.stage||{},a}return e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var a=t.getClip();a&&this.addClip(a)},e.prototype.removeClip=function(t){if(t.animation){var a=t.prev,n=t.next;a?a.next=n:this._head=n,n?n.prev=a:this._tail=a,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var a=t.getClip();a&&this.removeClip(a),t.animation=null},e.prototype.update=function(t){for(var a=So()-this._pausedTime,n=a-this._time,i=this._head;i;){var o=i.next,s=i.step(a,n);s&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=a,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0;function a(){t._running&&(Oc(a),!t._paused&&t.update())}Oc(a)},e.prototype.start=function(){this._running||(this._time=So(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=So(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=So()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var a=t.next;t.prev=t.next=t.animation=null,t=a}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(t,a){a=a||{},this.start();var n=new am(t,a.loop);return this.addAnimator(n),n},e})(Nr),oR=300,Nh=Me.domSupported,Oh=(function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=$(r,function(n){var i=n.replace("mouse","pointer");return t.hasOwnProperty(i)?i:n});return{mouse:r,touch:e,pointer:a}})(),O0={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},B0=!1;function vp(r){var e=r.pointerType;return e==="pen"||e==="touch"}function sR(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Bh(r){r&&(r.zrByTouch=!0)}function lR(r,e){return Tr(r.dom,new uR(r,e),!0)}function cT(r,e){for(var t=e,a=!1;t&&t.nodeType!==9&&!(a=t.domBelongToZr||t!==e&&t===r.painterRoot);)t=t.parentNode;return a}var uR=(function(){function r(e,t){this.stopPropagation=ht,this.stopImmediatePropagation=ht,this.preventDefault=ht,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return r})(),Hr={mousedown:function(r){r=Tr(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Tr(this.dom,r);var e=this.__mayPointerCapture;e&&(r.zrX!==e[0]||r.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Tr(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=Tr(this.dom,r);var e=r.toElement||r.relatedTarget;cT(this,e)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){B0=!0,r=Tr(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){B0||(r=Tr(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=Tr(this.dom,r),Bh(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),Hr.mousemove.call(this,r),Hr.mousedown.call(this,r)},touchmove:function(r){r=Tr(this.dom,r),Bh(r),this.handler.processGesture(r,"change"),Hr.mousemove.call(this,r)},touchend:function(r){r=Tr(this.dom,r),Bh(r),this.handler.processGesture(r,"end"),Hr.mouseup.call(this,r),+new Date-+this.__lastTouchMoment<oR&&Hr.click.call(this,r)},pointerdown:function(r){Hr.mousedown.call(this,r)},pointermove:function(r){vp(r)||Hr.mousemove.call(this,r)},pointerup:function(r){Hr.mouseup.call(this,r)},pointerout:function(r){vp(r)||Hr.mouseout.call(this,r)}};L(["click","dblclick","contextmenu"],function(r){Hr[r]=function(e){e=Tr(this.dom,e),this.trigger(r,e)}});var dp={pointermove:function(r){vp(r)||dp.mousemove.call(this,r)},pointerup:function(r){dp.mouseup.call(this,r)},mousemove:function(r){this.trigger("mousemove",r)},mouseup:function(r){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",r),e&&(r.zrEventControl="only_globalout",this.trigger("mouseout",r))}};function cR(r,e){var t=e.domHandlers;Me.pointerEventsSupported?L(Oh.pointer,function(a){xc(e,a,function(n){t[a].call(r,n)})}):(Me.touchEventsSupported&&L(Oh.touch,function(a){xc(e,a,function(n){t[a].call(r,n),sR(e)})}),L(Oh.mouse,function(a){xc(e,a,function(n){n=Jg(n),e.touching||t[a].call(r,n)})}))}function fR(r,e){Me.pointerEventsSupported?L(O0.pointer,t):Me.touchEventsSupported||L(O0.mouse,t);function t(a){function n(i){i=Jg(i),cT(r,i.target)||(i=lR(r,i),e.domHandlers[a].call(r,i))}xc(e,a,n,{capture:!0})}}function xc(r,e,t,a){r.mounted[e]=t,r.listenerOpts[e]=a,ap(r.domTarget,e,t,a)}function zh(r){var e=r.mounted;for(var t in e)e.hasOwnProperty(t)&&C5(r.domTarget,t,e[t],r.listenerOpts[t]);r.mounted={}}var z0=(function(){function r(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return r})(),hR=(function(r){z(e,r);function e(t,a){var n=r.call(this)||this;return n.__pointerCapturing=!1,n.dom=t,n.painterRoot=a,n._localHandlerScope=new z0(t,Hr),Nh&&(n._globalHandlerScope=new z0(document,dp)),cR(n,n._localHandlerScope),n}return e.prototype.dispose=function(){zh(this._localHandlerScope),Nh&&zh(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Nh&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var a=this._globalHandlerScope;t?fR(this,a):zh(a)}},e})(Nr),fT=1;Me.hasGlobalWindow&&(fT=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Hc=fT,pp=.4,gp="#333",mp="#ccc",vR="#eee",V0=Bf,G0=5e-5;function Bn(r){return r>G0||r<-G0}var zn=[],Zi=[],Vh=pr(),Gh=Math.abs,Ma=(function(){function r(){}return r.prototype.getLocalTransform=function(e){return r.getLocalTransform(this,e)},r.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},r.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},r.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},r.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},r.prototype.needLocalTransform=function(){return Bn(this.rotation)||Bn(this.x)||Bn(this.y)||Bn(this.scaleX-1)||Bn(this.scaleY-1)||Bn(this.skewX)||Bn(this.skewY)},r.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),a=this.transform;if(!(t||e)){a&&(V0(a),this.invTransform=null);return}a=a||pr(),t?this.getLocalTransform(a):V0(a),e&&(t?ka(a,e,a):Qg(a,e)),this.transform=a,this._resolveGlobalScaleRatio(a)},r.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(zn);var a=zn[0]<0?-1:1,n=zn[1]<0?-1:1,i=((zn[0]-a)*t+a)/zn[0]||0,o=((zn[1]-n)*t+n)/zn[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||pr(),$o(this.invTransform,e)},r.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},r.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);a=Math.sqrt(a)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=a,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||pr(),ka(Zi,e.invTransform,t),t=Zi);var a=this.originX,n=this.originY;(a||n)&&(Vh[4]=a,Vh[5]=n,ka(Zi,t,Vh),Zi[4]-=a,Zi[5]-=n,t=Zi),this.setLocalTransform(t)}},r.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},r.prototype.transformCoordToLocal=function(e,t){var a=[e,t],n=this.invTransform;return n&&Ot(a,a,n),a},r.prototype.transformCoordToGlobal=function(e,t){var a=[e,t],n=this.transform;return n&&Ot(a,a,n),a},r.prototype.getLineScale=function(){var e=this.transform;return e&&Gh(e[0]-1)>1e-10&&Gh(e[3]-1)>1e-10?Math.sqrt(Gh(e[0]*e[3]-e[2]*e[1])):1},r.prototype.copyTransform=function(e){hT(this,e)},r.getLocalTransform=function(e,t){t=t||[];var a=e.originX||0,n=e.originY||0,i=e.scaleX,o=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,c=e.x,f=e.y,h=e.skewX?Math.tan(e.skewX):0,v=e.skewY?Math.tan(-e.skewY):0;if(a||n||s||l){var d=a+s,p=n+l;t[4]=-d*i-h*p*o,t[5]=-p*o-v*d*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=v*i,t[2]=h*o,u&&Vi(t,t,u),t[4]+=a+c,t[5]+=n+f,t},r.initDefaultProps=(function(){var e=r.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0})(),r})(),ma=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function hT(r,e){for(var t=0;t<ma.length;t++){var a=ma[t];r[a]=e[a]}}var F0={};function mr(r,e){e=e||bn;var t=F0[e];t||(t=F0[e]=new Gl(500));var a=t.get(r);return a==null&&(a=Sn.measureText(r,e).width,t.put(r,a)),a}function H0(r,e,t,a){var n=mr(r,e),i=Vf(e),o=zs(0,n,t),s=yo(0,i,a),l=new be(o,s,n,i);return l}function Fl(r,e,t,a){var n=((r||"")+"").split(`
2
2
  `),i=n.length;if(i===1)return H0(n[0],e,t,a);for(var o=new be(0,0,0,0),s=0;s<n.length;s++){var l=H0(n[s],e,t,a);s===0?o.copy(l):o.union(l)}return o}function zs(r,e,t){return t==="right"?r-=e:t==="center"&&(r-=e/2),r}function yo(r,e,t){return t==="middle"?r-=e/2:t==="bottom"&&(r-=e),r}function Vf(r){return mr("国",r)}function Zr(r,e){return typeof r=="string"?r.lastIndexOf("%")>=0?parseFloat(r)/100*e:parseFloat(r):r}function jc(r,e,t){var a=e.position||"inside",n=e.distance!=null?e.distance:5,i=t.height,o=t.width,s=i/2,l=t.x,u=t.y,c="left",f="top";if(a instanceof Array)l+=Zr(a[0],t.width),u+=Zr(a[1],t.height),c=null,f=null;else switch(a){case"left":l-=n,u+=s,c="right",f="middle";break;case"right":l+=n+o,u+=s,f="middle";break;case"top":l+=o/2,u-=n,c="center",f="bottom";break;case"bottom":l+=o/2,u+=i+n,c="center";break;case"inside":l+=o/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=n,u+=s,f="middle";break;case"insideRight":l+=o-n,u+=s,c="right",f="middle";break;case"insideTop":l+=o/2,u+=n,c="center";break;case"insideBottom":l+=o/2,u+=i-n,c="center",f="bottom";break;case"insideTopLeft":l+=n,u+=n;break;case"insideTopRight":l+=o-n,u+=n,c="right";break;case"insideBottomLeft":l+=n,u+=i-n,f="bottom";break;case"insideBottomRight":l+=o-n,u+=i-n,c="right",f="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=c,r.verticalAlign=f,r}var Fh="__zr_normal__",Hh=ma.concat(["ignore"]),dR=pa(ma,function(r,e){return r[e]=!0,r},{ignore:!1}),Ki={},pR=new be(0,0,0,0),Gf=(function(){function r(e){this.id=G2(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return r.prototype._init=function(e){this.attr(e)},r.prototype.drift=function(e,t,a){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var a=this.textConfig,n=a.local,i=t.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=n?this:null;var u=!1;if(i.copyTransform(t),a.position!=null){var c=pR;a.layoutRect?c.copy(a.layoutRect):c.copy(this.getBoundingRect()),n||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Ki,a,c):jc(Ki,a,c),i.x=Ki.x,i.y=Ki.y,o=Ki.align,s=Ki.verticalAlign;var f=a.origin;if(f&&a.rotation!=null){var h=void 0,v=void 0;f==="center"?(h=c.width*.5,v=c.height*.5):(h=Zr(f[0],c.width),v=Zr(f[1],c.height)),u=!0,i.originX=-i.x+h+(n?0:c.x),i.originY=-i.y+v+(n?0:c.y)}}a.rotation!=null&&(i.rotation=a.rotation);var d=a.offset;d&&(i.x+=d[0],i.y+=d[1],u||(i.originX=-d[0],i.originY=-d[1]));var p=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,x=void 0;p&&this.canBeInsideText()?(m=a.insideFill,y=a.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),x=!0)):(m=a.outsideFill,y=a.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),x=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||x!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=x,g.align=o,g.verticalAlign=s,t.setDefaultTextStyle(g)),t.__dirty|=vr,l&&t.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(e){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?mp:gp},r.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),a=typeof t=="string"&&gr(t);a||(a=[255,255,255,1]);for(var n=a[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)a[o]=a[o]*n+(i?0:255)*(1-n);return a[3]=1,Pa(a,"rgba")},r.prototype.traverse=function(e,t){},r.prototype.attrKV=function(e,t){e==="textConfig"?this.setTextConfig(t):e==="textContent"?this.setTextContent(t):e==="clipPath"?this.setClipPath(t):e==="extra"?(this.extra=this.extra||{},H(this.extra,t)):this[e]=t},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(e,t){if(typeof e=="string")this.attrKV(e,t);else if(le(e))for(var a=e,n=Ie(a),i=0;i<n.length;i++){var o=n[i];this.attrKV(o,e[o])}return this.markRedraw(),this},r.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,a=0;a<this.animators.length;a++){var n=this.animators[a],i=n.__fromStateTransition;if(!(n.getLoop()||i&&i!==Fh)){var o=n.targetName,s=o?t[o]:t;n.saveTo(s)}}},r.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,Hh)},r.prototype._savePrimaryToNormal=function(e,t,a){for(var n=0;n<a.length;n++){var i=a[n];e[i]!=null&&!(i in t)&&(t[i]=this[i])}},r.prototype.hasState=function(){return this.currentStates.length>0},r.prototype.getState=function(e){return this.states[e]},r.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},r.prototype.clearStates=function(e){this.useState(Fh,!1,e)},r.prototype.useState=function(e,t,a,n){var i=e===Fh,o=this.hasState();if(!(!o&&i)){var s=this.currentStates,l=this.stateTransition;if(!(we(s,e)>=0&&(t||s.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),!u&&!i){Xg("State "+e+" not exists.");return}i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||n);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,t,!a&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,h=this._textGuide;return f&&f.useState(e,t,a,c),h&&h.useState(e,t,a,c),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~vr),u}}},r.prototype.useStates=function(e,t,a){if(!e.length)this.clearStates();else{var n=[],i=this.currentStates,o=e.length,s=o===i.length;if(s){for(var l=0;l<o;l++)if(e[l]!==i[l]){s=!1;break}}if(s)return;for(var l=0;l<o;l++){var u=e[l],c=void 0;this.stateProxy&&(c=this.stateProxy(u,e)),c||(c=this.states[u]),c&&n.push(c)}var f=n[o-1],h=!!(f&&f.hoverLayer||a);h&&this._toggleHoverLayerFlag(!0);var v=this._mergeStates(n),d=this.stateTransition;this.saveCurrentToNormalState(v),this._applyStateObj(e.join(","),v,this._normalState,!1,!t&&!this.__inHover&&d&&d.duration>0,d);var p=this._textContent,g=this._textGuide;p&&p.useStates(e,t,h),g&&g.useStates(e,t,h),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~vr)}},r.prototype.isSilent=function(){for(var e=this.silent,t=this.parent;!e&&t;){if(t.silent){e=!0;break}t=t.parent}return e},r.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},r.prototype.removeState=function(e){var t=we(this.currentStates,e);if(t>=0){var a=this.currentStates.slice();a.splice(t,1),this.useStates(a)}},r.prototype.replaceState=function(e,t,a){var n=this.currentStates.slice(),i=we(n,e),o=we(n,t)>=0;i>=0?o?n.splice(i,1):n[i]=t:a&&!o&&n.push(t),this.useStates(n)},r.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},r.prototype._mergeStates=function(e){for(var t={},a,n=0;n<e.length;n++){var i=e[n];H(t,i),i.textConfig&&(a=a||{},H(a,i.textConfig))}return a&&(t.textConfig=a),t},r.prototype._applyStateObj=function(e,t,a,n,i,o){var s=!(t&&n);t&&t.textConfig?(this.textConfig=H({},n?this.textConfig:a.textConfig),H(this.textConfig,t.textConfig)):s&&a.textConfig&&(this.textConfig=a.textConfig);for(var l={},u=!1,c=0;c<Hh.length;c++){var f=Hh[c],h=i&&dR[f];t&&t[f]!=null?h?(u=!0,l[f]=t[f]):this[f]=t[f]:s&&a[f]!=null&&(h?(u=!0,l[f]=a[f]):this[f]=a[f])}if(!i)for(var c=0;c<this.animators.length;c++){var v=this.animators[c],d=v.targetName;v.getLoop()||v.__changeFinalValue(d?(t||a)[d]:t||a)}u&&this._transitionState(e,l,o)},r.prototype._attachComponent=function(e){if(!(e.__zr&&!e.__hostTarget)&&e!==this){var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this}},r.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},r.prototype.getClipPath=function(){return this._clipPath},r.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},r.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},r.prototype.getTextContent=function(){return this._textContent},r.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new Ma,this._attachComponent(e),this._textContent=e,this.markRedraw())},r.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),H(this.textConfig,e),this.markRedraw()},r.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},r.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},r.prototype.getTextGuideLine=function(){return this._textGuide},r.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},r.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},r.prototype.markRedraw=function(){this.__dirty|=vr;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},r.prototype.dirty=function(){this.markRedraw()},r.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,a=this._textGuide;t&&(t.__inHover=e),a&&(a.__inHover=e)},r.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var a=0;a<t.length;a++)e.animation.addAnimator(t[a]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},r.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var a=0;a<t.length;a++)e.animation.removeAnimator(t[a]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},r.prototype.animate=function(e,t,a){var n=e?this[e]:this,i=new am(n,t,a);return e&&(i.targetName=e),this.addAnimator(i,e),i},r.prototype.addAnimator=function(e,t){var a=this.__zr,n=this;e.during(function(){n.updateDuringAnimation(t)}).done(function(){var i=n.animators,o=we(i,e);o>=0&&i.splice(o,1)}),this.animators.push(e),a&&a.animation.addAnimator(e),a&&a.wakeUp()},r.prototype.updateDuringAnimation=function(e){this.markRedraw()},r.prototype.stopAnimation=function(e,t){for(var a=this.animators,n=a.length,i=[],o=0;o<n;o++){var s=a[o];!e||e===s.scope?s.stop(t):i.push(s)}return this.animators=i,this},r.prototype.animateTo=function(e,t,a){jh(this,e,t,a)},r.prototype.animateFrom=function(e,t,a){jh(this,e,t,a,!0)},r.prototype._transitionState=function(e,t,a,n){for(var i=jh(this,t,a,n),o=0;o<i.length;o++)i[o].__fromStateTransition=e},r.prototype.getBoundingRect=function(){return null},r.prototype.getPaintRect=function(){return null},r.initDefaultProps=(function(){var e=r.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=vr;function t(a,n,i,o){Object.defineProperty(e,a,{get:function(){if(!this[n]){var l=this[n]=[];s(this,l)}return this[n]},set:function(l){this[i]=l[0],this[o]=l[1],this[n]=l,s(this,l)}});function s(l,u){Object.defineProperty(u,0,{get:function(){return l[i]},set:function(c){l[i]=c}}),Object.defineProperty(u,1,{get:function(){return l[o]},set:function(c){l[o]=c}})}}Object.defineProperty&&(t("position","_legacyPos","x","y"),t("scale","_legacyScale","scaleX","scaleY"),t("origin","_legacyOrigin","originX","originY"))})(),r})();xt(Gf,Nr);xt(Gf,Ma);function jh(r,e,t,a,n){t=t||{};var i=[];vT(r,"",r,e,t,a,i,n);var o=i.length,s=!1,l=t.done,u=t.aborted,c=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},f=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),i.length>0&&t.during&&i[0].during(function(d,p){t.during(p)});for(var h=0;h<i.length;h++){var v=i[h];c&&v.done(c),f&&v.aborted(f),t.force&&v.duration(t.duration),v.start(t.easing)}return i}function Wh(r,e,t){for(var a=0;a<t;a++)r[a]=e[a]}function gR(r){return Wt(r[0])}function mR(r,e,t){if(Wt(e[t]))if(Wt(r[t])||(r[t]=[]),fr(e[t])){var a=e[t].length;r[t].length!==a&&(r[t]=new e[t].constructor(a),Wh(r[t],e[t],a))}else{var n=e[t],i=r[t],o=n.length;if(gR(n))for(var s=n[0].length,l=0;l<o;l++)i[l]?Wh(i[l],n[l],s):i[l]=Array.prototype.slice.call(n[l]);else Wh(i,n,o);i.length=n.length}else r[t]=e[t]}function yR(r,e){return r===e||Wt(r)&&Wt(e)&&xR(r,e)}function xR(r,e){var t=r.length;if(t!==e.length)return!1;for(var a=0;a<t;a++)if(r[a]!==e[a])return!1;return!0}function vT(r,e,t,a,n,i,o,s){for(var l=Ie(a),u=n.duration,c=n.delay,f=n.additive,h=n.setToFinal,v=!le(i),d=r.animators,p=[],g=0;g<l.length;g++){var m=l[g],y=a[m];if(y!=null&&t[m]!=null&&(v||i[m]))if(le(y)&&!Wt(y)&&!Nf(y)){if(e){s||(t[m]=y,r.updateDuringAnimation(e));continue}vT(r,m,t[m],y,n,i&&i[m],o,s)}else p.push(m);else s||(t[m]=y,r.updateDuringAnimation(e),p.push(m))}var x=p.length;if(!f&&x)for(var _=0;_<d.length;_++){var S=d[_];if(S.targetName===e){var b=S.stopTracks(p);if(b){var w=we(d,S);d.splice(w,1)}}}if(n.force||(p=Ge(p,function(M){return!yR(a[M],t[M])}),x=p.length),x>0||n.force&&!o.length){var C=void 0,A=void 0,D=void 0;if(s){A={},h&&(C={});for(var _=0;_<x;_++){var m=p[_];A[m]=t[m],h?C[m]=a[m]:t[m]=a[m]}}else if(h){D={};for(var _=0;_<x;_++){var m=p[_];D[m]=Js(t[m]),mR(t,a,m)}}var S=new am(t,!1,!1,f?Ge(d,function(I){return I.targetName===e}):null);S.targetName=e,n.scope&&(S.scope=n.scope),h&&C&&S.whenWithKeys(0,C,p),D&&S.whenWithKeys(0,D,p),S.whenWithKeys(u??500,s?A:a,p).delay(c||0),r.addAnimator(S,e),o.push(S)}}var ce=(function(r){z(e,r);function e(t){var a=r.call(this)||this;return a.isGroup=!0,a._children=[],a.attr(t),a}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var a=this._children,n=0;n<a.length;n++)if(a[n].name===t)return a[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,a){if(t&&t!==this&&t.parent!==this&&a&&a.parent===this){var n=this._children,i=n.indexOf(a);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,a){var n=we(this._children,t);return n>=0&&this.replaceAt(a,n),this},e.prototype.replaceAt=function(t,a){var n=this._children,i=n[a];if(t&&t!==this&&t.parent!==this&&t!==i){n[a]=t,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var a=this.__zr;a&&a!==t.__zr&&t.addSelfToZr(a),a&&a.refresh()},e.prototype.remove=function(t){var a=this.__zr,n=this._children,i=we(n,t);return i<0?this:(n.splice(i,1),t.parent=null,a&&t.removeSelfFromZr(a),a&&a.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,a=this.__zr,n=0;n<t.length;n++){var i=t[n];a&&i.removeSelfFromZr(a),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,a){for(var n=this._children,i=0;i<n.length;i++){var o=n[i];t.call(a,o,i)}return this},e.prototype.traverse=function(t,a){for(var n=0;n<this._children.length;n++){var i=this._children[n],o=t.call(a,i);i.isGroup&&!o&&i.traverse(t,a)}return this},e.prototype.addSelfToZr=function(t){r.prototype.addSelfToZr.call(this,t);for(var a=0;a<this._children.length;a++){var n=this._children[a];n.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){r.prototype.removeSelfFromZr.call(this,t);for(var a=0;a<this._children.length;a++){var n=this._children[a];n.removeSelfFromZr(t)}},e.prototype.getBoundingRect=function(t){for(var a=new be(0,0,0,0),n=t||this._children,i=[],o=null,s=0;s<n.length;s++){var l=n[s];if(!(l.ignore||l.invisible)){var u=l.getBoundingRect(),c=l.getLocalTransform(i);c?(be.applyTransform(a,u,c),o=o||a.clone(),o.union(a)):(o=o||u.clone(),o.union(u))}}return o||a},e})(Gf);ce.prototype.type="group";var _c={},dT={};function _R(r){delete dT[r]}function bR(r){if(!r)return!1;if(typeof r=="string")return Gc(r,1)<pp;if(r.colorStops){for(var e=r.colorStops,t=0,a=e.length,n=0;n<a;n++)t+=Gc(e[n].color,1);return t/=a,t<pp}return!1}var SR=(function(){function r(e,t,a){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,a=a||{},this.dom=t,this.id=e;var i=new B5,o=a.renderer||"canvas";_c[o]||(o=Ie(_c)[0]),a.useDirtyRect=a.useDirtyRect==null?!1:a.useDirtyRect;var s=new _c[o](t,i,a,e),l=a.ssr||s.ssrOnly;this.storage=i,this.painter=s;var u=!Me.node&&!Me.worker&&!l?new hR(s.getViewportRoot(),s.root):null,c=a.useCoarsePointer,f=c==null||c==="auto"?Me.touchEventsSupported:!!c,h=44,v;f&&(v=pe(a.pointerSize,h)),this.handler=new U2(i,s,u,s.root,v),this.animation=new iR({stage:{update:l?null:function(){return n._flush(!0)}}}),l||this.animation.start()}return r.prototype.add=function(e){this._disposed||!e||(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},r.prototype.remove=function(e){this._disposed||!e||(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},r.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},r.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=bR(e))},r.prototype.getBackgroundColor=function(){return this._backgroundColor},r.prototype.setDarkMode=function(e){this._darkMode=e},r.prototype.isDarkMode=function(){return this._darkMode},r.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},r.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},r.prototype.flush=function(){this._disposed||this._flush(!1)},r.prototype._flush=function(e){var t,a=So();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var n=So();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-a})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},r.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},r.prototype.on=function(e,t,a){return this._disposed||this.handler.on(e,t,a),this},r.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},r.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},r.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof ce&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},r.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,_R(this.id))},r})();function j0(r,e){var t=new SR(G2(),r,e);return dT[t.id]=t,t}function wR(r,e){_c[r]=e}var yp;function TR(r){if(typeof yp=="function")return yp(r)}function CR(r){yp=r}var W0=1e-4,pT=20;function AR(r){return r.replace(/^\s+|\s+$/g,"")}function Fe(r,e,t,a){var n=e[0],i=e[1],o=t[0],s=t[1],l=i-n,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(a)if(l>0){if(r<=n)return o;if(r>=i)return s}else{if(r>=n)return o;if(r<=i)return s}else{if(r===n)return o;if(r===i)return s}return(r-n)/l*u+o}function Z(r,e){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return q(r)?AR(r).match(/%$/)?parseFloat(r)/100*e:parseFloat(r):r==null?NaN:+r}function ut(r,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),pT),r=(+r).toFixed(e),t?r:+r}function Pr(r){return r.sort(function(e,t){return e-t}),r}function ua(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(r*e)/e===r)return t}return DR(r)}function DR(r){var e=r.toString().toLowerCase(),t=e.indexOf("e"),a=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),o=i<0?0:n-1-i;return Math.max(0,o-a)}function gT(r,e){var t=Math.log,a=Math.LN10,n=Math.floor(t(r[1]-r[0])/a),i=Math.round(t(Math.abs(e[1]-e[0]))/a),o=Math.min(Math.max(-n+i,0),20);return isFinite(o)?o:20}function MR(r,e){var t=pa(r,function(v,d){return v+(isNaN(d)?0:d)},0);if(t===0)return[];for(var a=Math.pow(10,e),n=$(r,function(v){return(isNaN(v)?0:v)/t*a*100}),i=a*100,o=$(n,function(v){return Math.floor(v)}),s=pa(o,function(v,d){return v+d},0),l=$(n,function(v,d){return v-o[d]});s<i;){for(var u=Number.NEGATIVE_INFINITY,c=null,f=0,h=l.length;f<h;++f)l[f]>u&&(u=l[f],c=f);++o[c],l[c]=0,++s}return $(o,function(v){return v/a})}function LR(r,e){var t=Math.max(ua(r),ua(e)),a=r+e;return t>pT?a:ut(a,t)}var $0=9007199254740991;function mT(r){var e=Math.PI*2;return(r%e+e)%e}function gl(r){return r>-W0&&r<W0}var IR=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function ya(r){if(r instanceof Date)return r;if(q(r)){var e=IR.exec(r);if(!e)return new Date(NaN);if(e[8]){var t=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(t-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,t,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}function kR(r){return Math.pow(10,nm(r))}function nm(r){if(r===0)return 0;var e=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,e)>=10&&e++,e}function yT(r,e){var t=nm(r),a=Math.pow(10,t),n=r/a,i;return n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10,r=i*a,t>=-20?+r.toFixed(t<0?-t:0):r}function $h(r,e){var t=(r.length-1)*e+1,a=Math.floor(t),n=+r[a-1],i=t-a;return i?n+i*(r[a]-n):n}function U0(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var e=-1/0,t=1,a=0;a<r.length;){for(var n=r[a].interval,i=r[a].close,o=0;o<2;o++)n[o]<=e&&(n[o]=e,i[o]=o?1:1-t),e=n[o],t=i[o];n[0]===n[1]&&i[0]*i[1]!==1?r.splice(a,1):a++}return r;function s(l,u,c){return l.interval[c]<u.interval[c]||l.interval[c]===u.interval[c]&&(l.close[c]-u.close[c]===(c?-1:1)||!c&&s(l,u,1))}}function Oa(r){var e=parseFloat(r);return e==r&&(e!==0||!q(r)||r.indexOf("x")<=0)?e:NaN}function xT(r){return!isNaN(Oa(r))}function _T(){return Math.round(Math.random()*9)}function bT(r,e){return e===0?r:bT(e,r%e)}function Y0(r,e){return r==null?e:e==null?r:r*e/bT(r,e)}function Ve(r){throw new Error(r)}function X0(r,e,t){return(e-r)*t+r}var ST="series\0",wT="\0_ec_\0";function je(r){return r instanceof Array?r:r==null?[]:[r]}function ki(r,e,t){if(r){r[e]=r[e]||{},r.emphasis=r.emphasis||{},r.emphasis[e]=r.emphasis[e]||{};for(var a=0,n=t.length;a<n;a++){var i=t[a];!r.emphasis[e].hasOwnProperty(i)&&r[e].hasOwnProperty(i)&&(r.emphasis[e][i]=r[e][i])}}}var Z0=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Uo(r){return le(r)&&!W(r)&&!(r instanceof Date)?r.value:r}function PR(r){return le(r)&&!(r instanceof Array)}function TT(r,e,t){var a=t==="normalMerge",n=t==="replaceMerge",i=t==="replaceAll";r=r||[],e=(e||[]).slice();var o=re();L(e,function(l,u){if(!le(l)){e[u]=null;return}});var s=RR(r,o,t);return(a||n)&&ER(s,r,o,e),a&&NR(s,e),a||n?OR(s,e,n):i&&BR(s,e),zR(s),s}function RR(r,e,t){var a=[];if(t==="replaceAll")return a;for(var n=0;n<r.length;n++){var i=r[n];i&&i.id!=null&&e.set(i.id,n),a.push({existing:t==="replaceMerge"||ml(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return a}function ER(r,e,t,a){L(a,function(n,i){if(!(!n||n.id==null)){var o=Qs(n.id),s=t.get(o);if(s!=null){var l=r[s];Qt(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=n,l.existing=e[s],a[i]=null}}})}function NR(r,e){L(e,function(t,a){if(!(!t||t.name==null))for(var n=0;n<r.length;n++){var i=r[n].existing;if(!r[n].newOption&&i&&(i.id==null||t.id==null)&&!ml(t)&&!ml(i)&&CT("name",i,t)){r[n].newOption=t,e[a]=null;return}}})}function OR(r,e,t){L(e,function(a){if(a){for(var n,i=0;(n=r[i])&&(n.newOption||ml(n.existing)||n.existing&&a.id!=null&&!CT("id",a,n.existing));)i++;n?(n.newOption=a,n.brandNew=t):r.push({newOption:a,brandNew:t,existing:null,keyInfo:null}),i++}})}function BR(r,e){L(e,function(t){r.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})}function zR(r){var e=re();L(r,function(t){var a=t.existing;a&&e.set(a.id,t)}),L(r,function(t){var a=t.newOption;Qt(!a||a.id==null||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&a.id!=null&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})}),L(r,function(t,a){var n=t.existing,i=t.newOption,o=t.keyInfo;if(le(i)){if(o.name=i.name!=null?Qs(i.name):n?n.name:ST+a,n)o.id=Qs(n.id);else if(i.id!=null)o.id=Qs(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(e.get(o.id))}e.set(o.id,t)}})}function CT(r,e,t){var a=St(e[r],null),n=St(t[r],null);return a!=null&&n!=null&&a===n}function Qs(r){return St(r,"")}function St(r,e){return r==null?e:q(r)?r:Ne(r)||Kd(r)?r+"":e}function im(r){var e=r.name;return!!(e&&e.indexOf(ST))}function ml(r){return r&&r.id!=null&&Qs(r.id).indexOf(wT)===0}function VR(r){return wT+r}function GR(r,e,t){L(r,function(a){var n=a.newOption;le(n)&&(a.keyInfo.mainType=e,a.keyInfo.subType=FR(e,n,a.existing,t))})}function FR(r,e,t,a){var n=e.type?e.type:t?t.subType:a.determineSubType(r,e);return n}function HR(r,e){var t={},a={};return n(r||[],t),n(e||[],a,t),[i(t),i(a)];function n(o,s,l){for(var u=0,c=o.length;u<c;u++){var f=St(o[u].seriesId,null);if(f==null)return;for(var h=je(o[u].dataIndex),v=l&&l[f],d=0,p=h.length;d<p;d++){var g=h[d];v&&v[g]?v[g]=null:(s[f]||(s[f]={}))[g]=1}}}function i(o,s){var l=[];for(var u in o)if(o.hasOwnProperty(u)&&o[u]!=null)if(s)l.push(+u);else{var c=i(o[u],!0);c.length&&l.push({seriesId:u,dataIndex:c})}return l}}function Pi(r,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return W(e.dataIndex)?$(e.dataIndex,function(t){return r.indexOfRawIndex(t)}):r.indexOfRawIndex(e.dataIndex);if(e.name!=null)return W(e.name)?$(e.name,function(t){return r.indexOfName(t)}):r.indexOfName(e.name)}function Pe(){var r="__ec_inner_"+jR++;return function(e){return e[r]||(e[r]={})}}var jR=_T();function el(r,e,t){var a=om(e,t),n=a.mainTypeSpecified,i=a.queryOptionMap,o=a.others,s=o,l=t?t.defaultMainType:null;return!n&&l&&i.set(l,{}),i.each(function(u,c){var f=Hl(r,c,u,{useDefault:l===c,enableAll:t&&t.enableAll!=null?t.enableAll:!0,enableNone:t&&t.enableNone!=null?t.enableNone:!0});s[c+"Models"]=f.models,s[c+"Model"]=f.models[0]}),s}function om(r,e){var t;if(q(r)){var a={};a[r+"Index"]=0,t=a}else t=r;var n=re(),i={},o=!1;return L(t,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){i[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],c=u[1],f=(u[2]||"").toLowerCase();if(!(!c||!f||e&&e.includeMainTypes&&we(e.includeMainTypes,c)<0)){o=o||!!c;var h=n.get(c)||n.set(c,{});h[f]=s}}),{mainTypeSpecified:o,queryOptionMap:n,others:i}}var mt={useDefault:!0,enableAll:!1,enableNone:!1},WR={useDefault:!1,enableAll:!0,enableNone:!0};function Hl(r,e,t,a){a=a||mt;var n=t.index,i=t.id,o=t.name,s={models:null,specified:n!=null||i!=null||o!=null};if(!s.specified){var l=void 0;return s.models=a.useDefault&&(l=r.getComponent(e))?[l]:[],s}return n==="none"||n===!1?(Qt(a.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(n==="all"&&(Qt(a.enableAll,'`"all"` is not a valid value on index option.'),n=i=o=null),s.models=r.queryComponents({mainType:e,index:n,id:i,name:o}),s)}function AT(r,e,t){r.setAttribute?r.setAttribute(e,t):r[e]=t}function $R(r,e){return r.getAttribute?r.getAttribute(e):r[e]}function UR(r){return r==="auto"?Me.domSupported?"html":"richText":r||"html"}function xp(r,e){var t=re(),a=[];return L(r,function(n){var i=e(n);(t.get(i)||(a.push(i),t.set(i,[]))).push(n)}),{keys:a,buckets:t}}function DT(r,e,t,a,n){var i=e==null||e==="auto";if(a==null)return a;if(Ne(a)){var o=X0(t||0,a,n);return ut(o,i?Math.max(ua(t||0),ua(a)):e)}else{if(q(a))return n<1?t:a;for(var s=[],l=t,u=a,c=Math.max(l?l.length:0,u.length),f=0;f<c;++f){var h=r.getDimensionInfo(f);if(h&&h.type==="ordinal")s[f]=(n<1&&l?l:u)[f];else{var v=l&&l[f]?l[f]:0,d=u[f],o=X0(v,d,n);s[f]=ut(o,i?Math.max(ua(v),ua(d)):e)}}return s}}var YR=".",Vn="___EC__COMPONENT__CONTAINER___",MT="___EC__EXTENDED_CLASS___";function ca(r){var e={main:"",sub:""};if(r){var t=r.split(YR);e.main=t[0]||"",e.sub=t[1]||""}return e}function XR(r){Qt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function ZR(r){return!!(r&&r[MT])}function sm(r,e){r.$constructor=r,r.extend=function(t){var a=this,n;return KR(a)?n=(function(i){z(o,i);function o(){return i.apply(this,arguments)||this}return o})(a):(n=function(){(t.$constructor||a).apply(this,arguments)},n5(n,this)),H(n.prototype,t),n[MT]=!0,n.extend=this.extend,n.superCall=QR,n.superApply=e3,n.superClass=a,n}}function KR(r){return oe(r)&&/^class\s/.test(Function.prototype.toString.call(r))}function LT(r,e){r.extend=e.extend}var qR=Math.round(Math.random()*10);function JR(r){var e=["__\0is_clz",qR++].join("_");r.prototype[e]=!0,r.isInstance=function(t){return!!(t&&t[e])}}function QR(r,e){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];return this.superClass.prototype[e].apply(r,t)}function e3(r,e,t){return this.superClass.prototype[e].apply(r,t)}function Ff(r){var e={};r.registerClass=function(a){var n=a.type||a.prototype.type;if(n){XR(n),a.prototype.type=n;var i=ca(n);if(!i.sub)e[i.main]=a;else if(i.sub!==Vn){var o=t(i);o[i.sub]=a}}return a},r.getClass=function(a,n,i){var o=e[a];if(o&&o[Vn]&&(o=n?o[n]:null),i&&!o)throw new Error(n?"Component "+a+"."+(n||"")+" is used but not imported.":a+".type should be specified.");return o},r.getClassesByMainType=function(a){var n=ca(a),i=[],o=e[n.main];return o&&o[Vn]?L(o,function(s,l){l!==Vn&&i.push(s)}):i.push(o),i},r.hasClass=function(a){var n=ca(a);return!!e[n.main]},r.getAllClassMainTypes=function(){var a=[];return L(e,function(n,i){a.push(i)}),a},r.hasSubTypes=function(a){var n=ca(a),i=e[n.main];return i&&i[Vn]};function t(a){var n=e[a.main];return(!n||!n[Vn])&&(n=e[a.main]={},n[Vn]=!0),n}}function Ri(r,e){for(var t=0;t<r.length;t++)r[t][1]||(r[t][1]=r[t][0]);return e=e||!1,function(a,n,i){for(var o={},s=0;s<r.length;s++){var l=r[s][1];if(!(n&&we(n,l)>=0||i&&we(i,l)<0)){var u=a.getShallow(l,e);u!=null&&(o[r[s][0]]=u)}}return o}}var t3=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],r3=Ri(t3),a3=(function(){function r(){}return r.prototype.getAreaStyle=function(e,t){return r3(this,e,t)},r})(),_p=new Gl(50);function n3(r){if(typeof r=="string"){var e=_p.get(r);return e&&e.image}else return r}function lm(r,e,t,a,n){if(r)if(typeof r=="string"){if(e&&e.__zrImageSrc===r||!t)return e;var i=_p.get(r),o={hostEl:t,cb:a,cbPayload:n};return i?(e=i.image,!Hf(e)&&i.pending.push(o)):(e=Sn.loadImage(r,K0,K0),e.__zrImageSrc=r,_p.put(r,e.__cachedImgObj={image:e,pending:[o]})),e}else return r;else return e}function K0(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<r.pending.length;e++){var t=r.pending[e],a=t.cb;a&&a(this,t.cbPayload),t.hostEl.dirty()}r.pending.length=0}function Hf(r){return r&&r.width&&r.height}var Uh=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function i3(r,e,t,a,n,i){if(!t){r.text="",r.isTruncated=!1;return}var o=(e+"").split(`
3
3
  `);i=IT(t,a,n,i);for(var s=!1,l={},u=0,c=o.length;u<c;u++)kT(l,o[u],i),o[u]=l.textLine,s=s||l.isTruncated;r.text=o.join(`
4
4
  `),r.isTruncated=s}function IT(r,e,t,a){a=a||{};var n=H({},a);n.font=e,t=pe(t,"..."),n.maxIterations=pe(a.maxIterations,2);var i=n.minChar=pe(a.minChar,0);n.cnCharWidth=mr("国",e);var o=n.ascCharWidth=mr("a",e);n.placeholder=pe(a.placeholder,"");for(var s=r=Math.max(0,r-1),l=0;l<i&&s>=o;l++)s-=o;var u=mr(t,e);return u>s&&(t="",u=0),s=r-u,n.ellipsis=t,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=r,n}function kT(r,e,t){var a=t.containerWidth,n=t.font,i=t.contentWidth;if(!a){r.textLine="",r.isTruncated=!1;return}var o=mr(e,n);if(o<=a){r.textLine=e,r.isTruncated=!1;return}for(var s=0;;s++){if(o<=i||s>=t.maxIterations){e+=t.ellipsis;break}var l=s===0?o3(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,l),o=mr(e,n)}e===""&&(e=t.placeholder),r.textLine=e,r.isTruncated=!0}function o3(r,e,t,a){for(var n=0,i=0,o=r.length;i<o&&n<e;i++){var s=r.charCodeAt(i);n+=0<=s&&s<=127?t:a}return i}function s3(r,e){r!=null&&(r+="");var t=e.overflow,a=e.padding,n=e.font,i=t==="truncate",o=Vf(n),s=pe(e.lineHeight,o),l=!!e.backgroundColor,u=e.lineOverflow==="truncate",c=!1,f=e.width,h;f!=null&&(t==="break"||t==="breakAll")?h=r?PT(r,e.font,f,t==="breakAll",0).lines:[]:h=r?r.split(`