openclaw-multi-auto 1.4.2 → 1.4.4

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 (205) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/control-ui/assets/{index-7XbUBC_m.js → index-Ql_obQqk.js} +2 -2
  4. package/dist/control-ui/assets/{index-7XbUBC_m.js.map → index-Ql_obQqk.js.map} +1 -1
  5. package/dist/control-ui/index.html +1 -1
  6. package/dist/plugin-sdk/{accounts-DyFCXtHv.js → accounts-BslAlVYS.js} +2 -2
  7. package/dist/plugin-sdk/{accounts-BJAXxY46.js → accounts-C3m65--E.js} +2 -2
  8. package/dist/plugin-sdk/accounts-CJWOBzwB.js +35 -0
  9. package/dist/plugin-sdk/{accounts-C1j7HSL0.js → accounts-CNCCkdEF.js} +3 -3
  10. package/dist/plugin-sdk/accounts-DP1-L-QS.js +288 -0
  11. package/dist/plugin-sdk/accounts-DZhWlEg3.js +46 -0
  12. package/dist/plugin-sdk/{active-listener-CftX5jLD.js → active-listener-B_sLJTXM.js} +2 -2
  13. package/dist/plugin-sdk/active-listener-CkPnMUkB.js +50 -0
  14. package/dist/plugin-sdk/{api-key-rotation-8nyyt1kx.js → api-key-rotation-BRE4X2tf.js} +2 -2
  15. package/dist/plugin-sdk/api-key-rotation-BXnNsojA.js +181 -0
  16. package/dist/plugin-sdk/{audio-preflight-C_aSAPR1.js → audio-preflight-CtO4fFvp.js} +26 -26
  17. package/dist/plugin-sdk/audio-preflight-DGEUDxxR.js +69 -0
  18. package/dist/plugin-sdk/audio-transcription-runner-DkoPNPYt.js +2176 -0
  19. package/dist/plugin-sdk/{audio-transcription-runner-CB53F7_7.js → audio-transcription-runner-DnxvOS1-.js} +11 -11
  20. package/dist/plugin-sdk/{audit-membership-runtime-BXndI4LG.js → audit-membership-runtime-BpfoSk8M.js} +2 -2
  21. package/dist/plugin-sdk/audit-membership-runtime-DSBHHw7o.js +58 -0
  22. package/dist/plugin-sdk/channel-activity-F3d0yUwy.js +94 -0
  23. package/dist/plugin-sdk/{channel-activity-C5y8AgAV.js → channel-activity-WJYxcJ3S.js} +3 -3
  24. package/dist/plugin-sdk/channel-web-QF7EpjeP.js +2256 -0
  25. package/dist/plugin-sdk/{channel-web-DBTRO03V.js → channel-web-dO5k3ubM.js} +18 -18
  26. package/dist/plugin-sdk/chrome-BXoCyCkY.js +2415 -0
  27. package/dist/plugin-sdk/{chrome-f00sZkDX.js → chrome-CjNTuJML.js} +6 -6
  28. package/dist/plugin-sdk/{commands-registry-BJ_NxG2F.js → commands-registry-CdYjoI0i.js} +4 -4
  29. package/dist/plugin-sdk/commands-registry-t7cXBTfN.js +1125 -0
  30. package/dist/plugin-sdk/{common-Cf27Jwxu.js → common-oYc5vPFl.js} +2 -2
  31. package/dist/plugin-sdk/{config-CHQrpx-Q.js → config-B1z-UxQ3.js} +7 -7
  32. package/dist/plugin-sdk/config-BkEnz2Po.js +17913 -0
  33. package/dist/plugin-sdk/deliver-B6AG_l67.js +1694 -0
  34. package/dist/plugin-sdk/{deliver-DNEuetST.js → deliver-D5_6T567.js} +10 -10
  35. package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +32 -0
  36. package/dist/plugin-sdk/deliver-runtime-D585kJZc.js +32 -0
  37. package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +23 -0
  38. package/dist/plugin-sdk/deps-send-discord.runtime-a_OKY2js.js +23 -0
  39. package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +22 -0
  40. package/dist/plugin-sdk/deps-send-imessage.runtime-Baxy9TD4.js +22 -0
  41. package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +21 -0
  42. package/dist/plugin-sdk/deps-send-signal.runtime-BwXoCrFl.js +21 -0
  43. package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +19 -0
  44. package/dist/plugin-sdk/deps-send-slack.runtime-CLmKjgso.js +19 -0
  45. package/dist/plugin-sdk/deps-send-telegram.runtime-BKfdBKnZ.js +24 -0
  46. package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +24 -0
  47. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BOTwkbx_.js +57 -0
  48. package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +57 -0
  49. package/dist/plugin-sdk/{diagnostic-LYUUmjJ5.js → diagnostic-Bxxu0ig-.js} +2 -2
  50. package/dist/plugin-sdk/diagnostic-CsP-lEkI.js +319 -0
  51. package/dist/plugin-sdk/discord.js +6 -6
  52. package/dist/plugin-sdk/{errors-CtMWwS2Z.js → errors-B3cHyZZA.js} +1 -1
  53. package/dist/plugin-sdk/errors-DaiAM-yU.js +54 -0
  54. package/dist/plugin-sdk/fetch-guard-DETCcJzQ.js +156 -0
  55. package/dist/plugin-sdk/{fetch-guard-CxYB5Kg6.js → fetch-guard-Dcgod0tg.js} +2 -2
  56. package/dist/plugin-sdk/fs-safe-B8y811FR.js +352 -0
  57. package/dist/plugin-sdk/{fs-safe-DtfhxbrI.js → fs-safe-BaKqI3G4.js} +3 -3
  58. package/dist/plugin-sdk/{image-BwjYjRHx.js → image-B2mQW9Rb.js} +6 -6
  59. package/dist/plugin-sdk/image-DjTEkYZE.js +2310 -0
  60. package/dist/plugin-sdk/image-ops-BSiMpAw4.js +584 -0
  61. package/dist/plugin-sdk/{image-ops-BnZKcbd6.js → image-ops-Cbzr4U9l.js} +2 -2
  62. package/dist/plugin-sdk/image-runtime-6xPp8m5a.js +25 -0
  63. package/dist/plugin-sdk/image-runtime-BFm45j49.js +25 -0
  64. package/dist/plugin-sdk/index.js +50 -50
  65. package/dist/plugin-sdk/ir-DQ7_HbvK.js +1296 -0
  66. package/dist/plugin-sdk/{ir-Z4hX67TJ.js → ir-ZEmrTr4J.js} +7 -7
  67. package/dist/plugin-sdk/local-roots-BUP4YBmR.js +186 -0
  68. package/dist/plugin-sdk/{local-roots-KhjQw04O.js → local-roots-CIPRxA-4.js} +4 -4
  69. package/dist/plugin-sdk/logger-CZY9KIoY.js +1163 -0
  70. package/dist/plugin-sdk/{logger-DHIIvMxj.js → logger-CvPFVOgT.js} +2 -2
  71. package/dist/plugin-sdk/login-BxEKLlCo.js +57 -0
  72. package/dist/plugin-sdk/{login-C31642Ld.js → login-CCTew9bt.js} +4 -4
  73. package/dist/plugin-sdk/{login-qr--y2SG_Ue.js → login-qr-BI3Vi_wJ.js} +5 -5
  74. package/dist/plugin-sdk/login-qr-BQIpMPr9.js +320 -0
  75. package/dist/plugin-sdk/{manager-2UZBMCc7.js → manager-BEoYPn7R.js} +8 -8
  76. package/dist/plugin-sdk/manager-I6KbPihW.js +3917 -0
  77. package/dist/plugin-sdk/manager-runtime-CFfYYWIQ.js +15 -0
  78. package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +15 -0
  79. package/dist/plugin-sdk/mattermost.js +3 -3
  80. package/dist/plugin-sdk/{outbound-Ba0QUI5h.js → outbound-ByOw1K6W.js} +5 -5
  81. package/dist/plugin-sdk/outbound-NS6UHnB6.js +212 -0
  82. package/dist/plugin-sdk/{outbound-attachment-B1Laso-8.js → outbound-attachment-BzVhxRRw.js} +2 -2
  83. package/dist/plugin-sdk/outbound-attachment-Dy6fyf6H.js +19 -0
  84. package/dist/plugin-sdk/{path-alias-guards-C7Vm5DZ1.js → path-alias-guards-DBjLbIX_.js} +1 -1
  85. package/dist/plugin-sdk/path-alias-guards-sWayacde.js +43 -0
  86. package/dist/plugin-sdk/{paths-DopV9PQG.js → paths-Dpg3qxcl.js} +1 -1
  87. package/dist/plugin-sdk/paths-vTM3Lh3X.js +166 -0
  88. package/dist/plugin-sdk/pi-embedded-helpers-1R1gu7eX.js +9627 -0
  89. package/dist/plugin-sdk/{pi-embedded-helpers-DnA_OCzP.js → pi-embedded-helpers-DIxXkGJf.js} +16 -16
  90. package/dist/plugin-sdk/{pi-model-discovery-DdPqXk8f.js → pi-model-discovery-DM_2uFtj.js} +1 -1
  91. package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +8 -0
  92. package/dist/plugin-sdk/pi-model-discovery-runtime-Do9o-dUd.js +8 -0
  93. package/dist/plugin-sdk/pi-model-discovery-v-XPUOOf.js +134 -0
  94. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-D4sFsIks.js +354 -0
  95. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DxFHiLUE.js → pi-tools.before-tool-call.runtime-w1dqL_ty.js} +4 -4
  96. package/dist/plugin-sdk/{plugins-CbCt4osF.js → plugins-C4USiH29.js} +4 -4
  97. package/dist/plugin-sdk/plugins-DeBZB9l_.js +864 -0
  98. package/dist/plugin-sdk/{proxy-env-C63mMdas.js → proxy-env-ET-rp8eg.js} +1 -1
  99. package/dist/plugin-sdk/{proxy-fetch-Ch95c_Y2.js → proxy-fetch-ChxOhWF4.js} +1 -1
  100. package/dist/plugin-sdk/proxy-fetch-uDXGKG3Z.js +38 -0
  101. package/dist/plugin-sdk/{pw-ai-DpJk62D4.js → pw-ai-CyOt3RDA.js} +9 -9
  102. package/dist/plugin-sdk/pw-ai-DEOmCSSC.js +1938 -0
  103. package/dist/plugin-sdk/{qmd-manager-Ca-iSfEE.js → qmd-manager-BySdoVR7.js} +7 -7
  104. package/dist/plugin-sdk/qmd-manager-HyYKoEch.js +1448 -0
  105. package/dist/plugin-sdk/{query-expansion-B_Xe41Ab.js → query-expansion-C6uS-7lj.js} +4 -4
  106. package/dist/plugin-sdk/query-expansion-CeyKUeDW.js +1011 -0
  107. package/dist/plugin-sdk/{redact-hp9TOulW.js → redact-Bvxt1T_Q.js} +1 -1
  108. package/dist/plugin-sdk/redact-DjVX-1N3.js +319 -0
  109. package/dist/plugin-sdk/{reply-CovBlFea.js → reply-CTCSeQqW.js} +73 -73
  110. package/dist/plugin-sdk/reply-DAo_Jt8K.js +97916 -0
  111. package/dist/plugin-sdk/resolve-outbound-target-B42qgQS9.js +40 -0
  112. package/dist/plugin-sdk/{resolve-outbound-target-BbrHgyUk.js → resolve-outbound-target-Bw8YNANu.js} +2 -2
  113. package/dist/plugin-sdk/run-with-concurrency-Bt_ks0Qa.js +1994 -0
  114. package/dist/plugin-sdk/{run-with-concurrency-BR1DXa8T.js → run-with-concurrency-C_KCHwvf.js} +1 -1
  115. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6W989eF.js +10 -0
  116. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +10 -0
  117. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-c_GDFy37.js +19 -0
  118. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +19 -0
  119. package/dist/plugin-sdk/{send-BvAtLLPl.js → send-BZ6nYFZr.js} +5 -5
  120. package/dist/plugin-sdk/{send-BTztm3D2.js → send-C0w6xP2x.js} +6 -6
  121. package/dist/plugin-sdk/{send-CWJUuG0i.js → send-CFf-1V89.js} +8 -8
  122. package/dist/plugin-sdk/send-CQpMudwO.js +2587 -0
  123. package/dist/plugin-sdk/{send-EcglC4cG.js → send-CY-Qfwia.js} +7 -7
  124. package/dist/plugin-sdk/send-DQHLzVyO.js +414 -0
  125. package/dist/plugin-sdk/send-DTB24bEF.js +3135 -0
  126. package/dist/plugin-sdk/send-DfHadjZ_.js +503 -0
  127. package/dist/plugin-sdk/send-XXlW2iny.js +540 -0
  128. package/dist/plugin-sdk/{send-BXpXBwM_.js → send-qPyNGSe4.js} +13 -13
  129. package/dist/plugin-sdk/session-6TF6MyaC.js +169 -0
  130. package/dist/plugin-sdk/{session-k256LJZT.js → session-COrvpvUQ.js} +3 -3
  131. package/dist/plugin-sdk/skill-commands-CkGeFUMl.js +342 -0
  132. package/dist/plugin-sdk/{skill-commands-DoRqLzxm.js → skill-commands-DZqhtmiv.js} +4 -4
  133. package/dist/plugin-sdk/skills-CBkHBYPq.js +1428 -0
  134. package/dist/plugin-sdk/{skills-QudILG6e.js → skills-Cw_vXEJb.js} +6 -6
  135. package/dist/plugin-sdk/slash-commands.runtime-CxliuGaP.js +13 -0
  136. package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +13 -0
  137. package/dist/plugin-sdk/slash-dispatch.runtime-DFaeYlJQ.js +52 -0
  138. package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +52 -0
  139. package/dist/plugin-sdk/slash-skill-commands.runtime-0M0OLCxq.js +16 -0
  140. package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +16 -0
  141. package/dist/plugin-sdk/ssrf-cFtplYtS.js +202 -0
  142. package/dist/plugin-sdk/store-5nyxY3WU.js +81 -0
  143. package/dist/plugin-sdk/{store-BbDQw3g6.js → store-CMHj6IIw.js} +2 -2
  144. package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +52 -0
  145. package/dist/plugin-sdk/subagent-registry-runtime-DCtmDwna.js +52 -0
  146. package/dist/plugin-sdk/tables-C47P4GTN.js +55 -0
  147. package/dist/plugin-sdk/{tables-BhvloMKN.js → tables-CSqrHsKL.js} +1 -1
  148. package/dist/plugin-sdk/target-errors-Blia4S69.js +195 -0
  149. package/dist/plugin-sdk/thinking-Bo2eosVa.js +1206 -0
  150. package/dist/plugin-sdk/{thinking-URzkT-3p.js → thinking-DOnsR_A8.js} +7 -7
  151. package/dist/plugin-sdk/{tokens-B1PW5Ayy.js → tokens-BDr0Z9o3.js} +1 -1
  152. package/dist/plugin-sdk/tokens-DgNRBwIg.js +52 -0
  153. package/dist/plugin-sdk/{tool-images-xpqbP6RR.js → tool-images-Gk_-0y2N.js} +2 -2
  154. package/dist/plugin-sdk/tool-images-eEfOVkzf.js +274 -0
  155. package/dist/plugin-sdk/web-BLyT64pW.js +56 -0
  156. package/dist/plugin-sdk/web-CVxZbXyH.js +56 -0
  157. package/dist/plugin-sdk/whatsapp-actions-Bw0H9g-n.js +80 -0
  158. package/dist/plugin-sdk/{whatsapp-actions-RcZ6vp61.js → whatsapp-actions-xcleMoMv.js} +17 -17
  159. package/dist/plugin-sdk/whatsapp.js +50 -50
  160. package/extensions/acpx/node_modules/.bin/acpx +2 -2
  161. package/extensions/diagnostics-otel/node_modules/.bin/acorn +2 -2
  162. package/extensions/diffs/node_modules/.bin/playwright-core +2 -2
  163. package/extensions/googlechat/node_modules/.bin/nlc +2 -2
  164. package/extensions/googlechat/node_modules/.bin/node-llama-cpp +2 -2
  165. package/extensions/googlechat/node_modules/.bin/openclaw +2 -2
  166. package/extensions/googlechat/node_modules/.bin/tsc +2 -2
  167. package/extensions/googlechat/node_modules/.bin/tsserver +2 -2
  168. package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
  169. package/extensions/memory-core/node_modules/.bin/nlc +2 -2
  170. package/extensions/memory-core/node_modules/.bin/node-llama-cpp +2 -2
  171. package/extensions/memory-core/node_modules/.bin/openclaw +2 -2
  172. package/extensions/memory-core/node_modules/.bin/tsc +2 -2
  173. package/extensions/memory-core/node_modules/.bin/tsserver +2 -2
  174. package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +2 -2
  175. package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
  176. package/extensions/nostr/node_modules/.bin/tsc +2 -2
  177. package/extensions/nostr/node_modules/.bin/tsserver +2 -2
  178. package/extensions/tlon/node_modules/.bin/tlon +2 -2
  179. package/package.json +1 -1
  180. package/scripts/create-instance.sh +27 -1
  181. package/scripts/install-maca.sh +127 -99
  182. package/ui/node_modules/.bin/jiti +2 -2
  183. package/ui/node_modules/.bin/marked +2 -2
  184. package/ui/node_modules/.bin/playwright +2 -2
  185. package/ui/node_modules/.bin/tsx +2 -2
  186. package/ui/node_modules/.bin/vite +2 -2
  187. package/ui/node_modules/.bin/vitest +2 -2
  188. package/ui/node_modules/.bin/yaml +2 -2
  189. package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +0 -32
  190. package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +0 -23
  191. package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +0 -22
  192. package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +0 -21
  193. package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +0 -19
  194. package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +0 -24
  195. package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +0 -57
  196. package/dist/plugin-sdk/image-runtime-B8twoubs.js +0 -25
  197. package/dist/plugin-sdk/manager-runtime-CMeLwose.js +0 -15
  198. package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +0 -8
  199. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +0 -10
  200. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +0 -19
  201. package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +0 -13
  202. package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +0 -52
  203. package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +0 -16
  204. package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +0 -52
  205. package/dist/plugin-sdk/web-B74yhL2N.js +0 -56
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.2",
3
- "commit": "4d33f6faf051053cb6466549efb2873b0fc8a050",
4
- "builtAt": "2026-03-11T07:49:13.547Z"
2
+ "version": "1.4.4",
3
+ "commit": "317c7bc57054655634053aa6b0187805e1c94bfe",
4
+ "builtAt": "2026-03-12T02:40:26.124Z"
5
5
  }
@@ -1 +1 @@
1
- 9e8e5de87afb3f28d195c8ffe1cb139728ac16ea73ea35c53b2bf0158a4abb9b
1
+ 91201ae3870948b2bec6e1e93dc98408ff039419aaaecd3e1ba0183b15e81a58
@@ -5327,7 +5327,7 @@ ${e.snapshot?JSON.stringify(e.snapshot,null,2):"No snapshot yet."}
5327
5327
  `:p}
5328
5328
  </div>
5329
5329
  </div>
5330
- `}const Bn=(e,t)=>{const n=e._$AN;if(n===void 0)return!1;for(const s of n)s._$AO?.(t,!1),Bn(s,t);return!0},Us=e=>{let t,n;do{if((t=e._$AM)===void 0)break;n=t._$AN,n.delete(e),e=t}while(n?.size===0)},pd=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(n===void 0)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),wb(t)}};function $b(e){this._$AN!==void 0?(Us(this),this._$AM=e,pd(this)):this._$AM=e}function xb(e,t=!1,n=0){const s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(s))for(let o=n;o<s.length;o++)Bn(s[o],!1),Us(s[o]);else s!=null&&(Bn(s,!1),Us(s));else Bn(this,e)}const wb=e=>{e.type==Go.CHILD&&(e._$AP??=xb,e._$AQ??=$b)};class Sb extends Vo{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,n,s){super._$AT(t,n,s),pd(this),this.isConnected=t._$AU}_$AO(t,n=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),n&&(Bn(this,t),Us(this))}setValue(t){if(ym(this._$Ct))this._$Ct._$AI(t,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=t,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}const Ii=new WeakMap,kb=Jo(class extends Sb{render(e){return p}update(e,[t]){const n=t!==this.G;return n&&this.G!==void 0&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.G=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),p}rt(e){if(this.isConnected||(e=void 0),typeof this.G=="function"){const t=this.ht??globalThis;let n=Ii.get(t);n===void 0&&(n=new WeakMap,Ii.set(t,n)),n.get(this.G)!==void 0&&this.G.call(this.ht,void 0),n.set(this.G,e),e!==void 0&&this.G.call(this.ht,e)}else this.G.value=e}get lt(){return typeof this.G=="function"?Ii.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});class ro extends Vo{constructor(t){if(super(t),this.it=p,t.type!==Go.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===p||t==null)return this._t=void 0,this.it=t;if(t===St)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const n=[t];return n.raw=n,this._t={_$litType$:this.constructor.resultType,strings:n,values:[]}}}ro.directiveName="unsafeHTML",ro.resultType=1;const lo=Jo(ro);const{entries:hd,setPrototypeOf:Fr,isFrozen:Ab,getPrototypeOf:Cb,getOwnPropertyDescriptor:Tb}=Object;let{freeze:Ce,seal:Oe,create:Ts}=Object,{apply:co,construct:uo}=typeof Reflect<"u"&&Reflect;Ce||(Ce=function(t){return t});Oe||(Oe=function(t){return t});co||(co=function(t,n){for(var s=arguments.length,i=new Array(s>2?s-2:0),o=2;o<s;o++)i[o-2]=arguments[o];return t.apply(n,i)});uo||(uo=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];return new t(...s)});const ms=Te(Array.prototype.forEach),_b=Te(Array.prototype.lastIndexOf),Pr=Te(Array.prototype.pop),Tn=Te(Array.prototype.push),Eb=Te(Array.prototype.splice),_s=Te(String.prototype.toLowerCase),Li=Te(String.prototype.toString),Mi=Te(String.prototype.match),_n=Te(String.prototype.replace),Rb=Te(String.prototype.indexOf),Ib=Te(String.prototype.trim),Me=Te(Object.prototype.hasOwnProperty),ke=Te(RegExp.prototype.test),En=Lb(TypeError);function Te(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];return co(e,t,s)}}function Lb(e){return function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return uo(e,n)}}function J(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_s;Fr&&Fr(e,null);let s=t.length;for(;s--;){let i=t[s];if(typeof i=="string"){const o=n(i);o!==i&&(Ab(t)||(t[s]=o),i=o)}e[i]=!0}return e}function Mb(e){for(let t=0;t<e.length;t++)Me(e,t)||(e[t]=null);return e}function Ge(e){const t=Ts(null);for(const[n,s]of hd(e))Me(e,n)&&(Array.isArray(s)?t[n]=Mb(s):s&&typeof s=="object"&&s.constructor===Object?t[n]=Ge(s):t[n]=s);return t}function Rn(e,t){for(;e!==null;){const s=Tb(e,t);if(s){if(s.get)return Te(s.get);if(typeof s.value=="function")return Te(s.value)}e=Cb(e)}function n(){return null}return n}const Nr=Ce(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Di=Ce(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Fi=Ce(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Db=Ce(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Pi=Ce(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Fb=Ce(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Or=Ce(["#text"]),Ur=Ce(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ni=Ce(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Br=Ce(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),vs=Ce(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Pb=Oe(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Nb=Oe(/<%[\w\W]*|[\w\W]*%>/gm),Ob=Oe(/\$\{[\w\W]*/gm),Ub=Oe(/^data-[\-\w.\u00B7-\uFFFF]+$/),Bb=Oe(/^aria-[\-\w]+$/),md=Oe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Hb=Oe(/^(?:\w+script|data):/i),zb=Oe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vd=Oe(/^html$/i),jb=Oe(/^[a-z][.\w]*(-[.\w]+)+$/i);var Hr=Object.freeze({__proto__:null,ARIA_ATTR:Bb,ATTR_WHITESPACE:zb,CUSTOM_ELEMENT:jb,DATA_ATTR:Ub,DOCTYPE_NAME:vd,ERB_EXPR:Nb,IS_ALLOWED_URI:md,IS_SCRIPT_OR_DATA:Hb,MUSTACHE_EXPR:Pb,TMPLIT_EXPR:Ob});const In={element:1,text:3,progressingInstruction:7,comment:8,document:9},Kb=function(){return typeof window>"u"?null:window},Wb=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let s=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(s=n.getAttribute(i));const o="dompurify"+(s?"#"+s:"");try{return t.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},zr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function bd(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kb();const t=K=>bd(K);if(t.version="3.3.2",t.removed=[],!e||!e.document||e.document.nodeType!==In.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const s=n,i=s.currentScript,{DocumentFragment:o,HTMLTemplateElement:a,Node:l,Element:r,NodeFilter:d,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:g,DOMParser:m,trustedTypes:h}=e,v=r.prototype,y=Rn(v,"cloneNode"),_=Rn(v,"remove"),I=Rn(v,"nextSibling"),E=Rn(v,"childNodes"),A=Rn(v,"parentNode");if(typeof a=="function"){const K=n.createElement("template");K.content&&K.content.ownerDocument&&(n=K.content.ownerDocument)}let $,D="";const{implementation:T,createNodeIterator:R,createDocumentFragment:W,getElementsByTagName:b}=n,{importNode:F}=s;let M=zr();t.isSupported=typeof hd=="function"&&typeof A=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:N,ERB_EXPR:G,TMPLIT_EXPR:V,DATA_ATTR:C,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:Q,ATTR_WHITESPACE:ie,CUSTOM_ELEMENT:ce}=Hr;let{IS_ALLOWED_URI:L}=Hr,z=null;const q=J({},[...Nr,...Di,...Fi,...Pi,...Or]);let Y=null;const ue=J({},[...Ur,...Ni,...Br,...vs]);let ee=Object.seal(Ts(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ae=null,Z=null;const j=Object.seal(Ts(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let re=!0,de=!0,be=!1,Ie=!0,Ze=!1,ct=!0,ye=!1,je=!1,Xe=!1,et=!1,tt=!1,dt=!1,ut=!0,Et=!1;const li="user-content-";let tn=!0,gt=!1,Ke={},_e=null;const Sn=J({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let nn=null;const ft=J({},["audio","video","img","source","image","track"]);let ci=null;const ga=J({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ss="http://www.w3.org/1998/Math/MathML",is="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let sn=nt,di=!1,ui=null;const Gd=J({},[ss,is,nt],Li);let os=J({},["mi","mo","mn","ms","mtext"]),as=J({},["annotation-xml"]);const Jd=J({},["title","style","font","a","script"]);let kn=null;const Vd=["application/xhtml+xml","text/html"],Qd="text/html";let pe=null,on=null;const Yd=n.createElement("form"),fa=function(k){return k instanceof RegExp||k instanceof Function},gi=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(on&&on===k)){if((!k||typeof k!="object")&&(k={}),k=Ge(k),kn=Vd.indexOf(k.PARSER_MEDIA_TYPE)===-1?Qd:k.PARSER_MEDIA_TYPE,pe=kn==="application/xhtml+xml"?Li:_s,z=Me(k,"ALLOWED_TAGS")?J({},k.ALLOWED_TAGS,pe):q,Y=Me(k,"ALLOWED_ATTR")?J({},k.ALLOWED_ATTR,pe):ue,ui=Me(k,"ALLOWED_NAMESPACES")?J({},k.ALLOWED_NAMESPACES,Li):Gd,ci=Me(k,"ADD_URI_SAFE_ATTR")?J(Ge(ga),k.ADD_URI_SAFE_ATTR,pe):ga,nn=Me(k,"ADD_DATA_URI_TAGS")?J(Ge(ft),k.ADD_DATA_URI_TAGS,pe):ft,_e=Me(k,"FORBID_CONTENTS")?J({},k.FORBID_CONTENTS,pe):Sn,ae=Me(k,"FORBID_TAGS")?J({},k.FORBID_TAGS,pe):Ge({}),Z=Me(k,"FORBID_ATTR")?J({},k.FORBID_ATTR,pe):Ge({}),Ke=Me(k,"USE_PROFILES")?k.USE_PROFILES:!1,re=k.ALLOW_ARIA_ATTR!==!1,de=k.ALLOW_DATA_ATTR!==!1,be=k.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=k.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ze=k.SAFE_FOR_TEMPLATES||!1,ct=k.SAFE_FOR_XML!==!1,ye=k.WHOLE_DOCUMENT||!1,et=k.RETURN_DOM||!1,tt=k.RETURN_DOM_FRAGMENT||!1,dt=k.RETURN_TRUSTED_TYPE||!1,Xe=k.FORCE_BODY||!1,ut=k.SANITIZE_DOM!==!1,Et=k.SANITIZE_NAMED_PROPS||!1,tn=k.KEEP_CONTENT!==!1,gt=k.IN_PLACE||!1,L=k.ALLOWED_URI_REGEXP||md,sn=k.NAMESPACE||nt,os=k.MATHML_TEXT_INTEGRATION_POINTS||os,as=k.HTML_INTEGRATION_POINTS||as,ee=k.CUSTOM_ELEMENT_HANDLING||{},k.CUSTOM_ELEMENT_HANDLING&&fa(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ee.tagNameCheck=k.CUSTOM_ELEMENT_HANDLING.tagNameCheck),k.CUSTOM_ELEMENT_HANDLING&&fa(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ee.attributeNameCheck=k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),k.CUSTOM_ELEMENT_HANDLING&&typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ee.allowCustomizedBuiltInElements=k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze&&(de=!1),tt&&(et=!0),Ke&&(z=J({},Or),Y=Ts(null),Ke.html===!0&&(J(z,Nr),J(Y,Ur)),Ke.svg===!0&&(J(z,Di),J(Y,Ni),J(Y,vs)),Ke.svgFilters===!0&&(J(z,Fi),J(Y,Ni),J(Y,vs)),Ke.mathMl===!0&&(J(z,Pi),J(Y,Br),J(Y,vs))),Me(k,"ADD_TAGS")||(j.tagCheck=null),Me(k,"ADD_ATTR")||(j.attributeCheck=null),k.ADD_TAGS&&(typeof k.ADD_TAGS=="function"?j.tagCheck=k.ADD_TAGS:(z===q&&(z=Ge(z)),J(z,k.ADD_TAGS,pe))),k.ADD_ATTR&&(typeof k.ADD_ATTR=="function"?j.attributeCheck=k.ADD_ATTR:(Y===ue&&(Y=Ge(Y)),J(Y,k.ADD_ATTR,pe))),k.ADD_URI_SAFE_ATTR&&J(ci,k.ADD_URI_SAFE_ATTR,pe),k.FORBID_CONTENTS&&(_e===Sn&&(_e=Ge(_e)),J(_e,k.FORBID_CONTENTS,pe)),k.ADD_FORBID_CONTENTS&&(_e===Sn&&(_e=Ge(_e)),J(_e,k.ADD_FORBID_CONTENTS,pe)),tn&&(z["#text"]=!0),ye&&J(z,["html","head","body"]),z.table&&(J(z,["tbody"]),delete ae.tbody),k.TRUSTED_TYPES_POLICY){if(typeof k.TRUSTED_TYPES_POLICY.createHTML!="function")throw En('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof k.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw En('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');$=k.TRUSTED_TYPES_POLICY,D=$.createHTML("")}else $===void 0&&($=Wb(h,i)),$!==null&&typeof D=="string"&&(D=$.createHTML(""));Ce&&Ce(k),on=k}},pa=J({},[...Di,...Fi,...Db]),ha=J({},[...Pi,...Fb]),Zd=function(k){let P=A(k);(!P||!P.tagName)&&(P={namespaceURI:sn,tagName:"template"});const B=_s(k.tagName),le=_s(P.tagName);return ui[k.namespaceURI]?k.namespaceURI===is?P.namespaceURI===nt?B==="svg":P.namespaceURI===ss?B==="svg"&&(le==="annotation-xml"||os[le]):!!pa[B]:k.namespaceURI===ss?P.namespaceURI===nt?B==="math":P.namespaceURI===is?B==="math"&&as[le]:!!ha[B]:k.namespaceURI===nt?P.namespaceURI===is&&!as[le]||P.namespaceURI===ss&&!os[le]?!1:!ha[B]&&(Jd[B]||!pa[B]):!!(kn==="application/xhtml+xml"&&ui[k.namespaceURI]):!1},We=function(k){Tn(t.removed,{element:k});try{A(k).removeChild(k)}catch{_(k)}},Rt=function(k,P){try{Tn(t.removed,{attribute:P.getAttributeNode(k),from:P})}catch{Tn(t.removed,{attribute:null,from:P})}if(P.removeAttribute(k),k==="is")if(et||tt)try{We(P)}catch{}else try{P.setAttribute(k,"")}catch{}},ma=function(k){let P=null,B=null;if(Xe)k="<remove></remove>"+k;else{const ge=Mi(k,/^[\r\n\t ]+/);B=ge&&ge[0]}kn==="application/xhtml+xml"&&sn===nt&&(k='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+k+"</body></html>");const le=$?$.createHTML(k):k;if(sn===nt)try{P=new m().parseFromString(le,kn)}catch{}if(!P||!P.documentElement){P=T.createDocument(sn,"template",null);try{P.documentElement.innerHTML=di?D:le}catch{}}const we=P.body||P.documentElement;return k&&B&&we.insertBefore(n.createTextNode(B),we.childNodes[0]||null),sn===nt?b.call(P,ye?"html":"body")[0]:ye?P.documentElement:we},va=function(k){return R.call(k.ownerDocument||k,k,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},fi=function(k){return k instanceof g&&(typeof k.nodeName!="string"||typeof k.textContent!="string"||typeof k.removeChild!="function"||!(k.attributes instanceof u)||typeof k.removeAttribute!="function"||typeof k.setAttribute!="function"||typeof k.namespaceURI!="string"||typeof k.insertBefore!="function"||typeof k.hasChildNodes!="function")},ba=function(k){return typeof l=="function"&&k instanceof l};function st(K,k,P){ms(K,B=>{B.call(t,k,P,on)})}const ya=function(k){let P=null;if(st(M.beforeSanitizeElements,k,null),fi(k))return We(k),!0;const B=pe(k.nodeName);if(st(M.uponSanitizeElement,k,{tagName:B,allowedTags:z}),ct&&k.hasChildNodes()&&!ba(k.firstElementChild)&&ke(/<[/\w!]/g,k.innerHTML)&&ke(/<[/\w!]/g,k.textContent)||k.nodeType===In.progressingInstruction||ct&&k.nodeType===In.comment&&ke(/<[/\w]/g,k.data))return We(k),!0;if(!(j.tagCheck instanceof Function&&j.tagCheck(B))&&(!z[B]||ae[B])){if(!ae[B]&&xa(B)&&(ee.tagNameCheck instanceof RegExp&&ke(ee.tagNameCheck,B)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(B)))return!1;if(tn&&!_e[B]){const le=A(k)||k.parentNode,we=E(k)||k.childNodes;if(we&&le){const ge=we.length;for(let Ee=ge-1;Ee>=0;--Ee){const it=y(we[Ee],!0);it.__removalCount=(k.__removalCount||0)+1,le.insertBefore(it,I(k))}}}return We(k),!0}return k instanceof r&&!Zd(k)||(B==="noscript"||B==="noembed"||B==="noframes")&&ke(/<\/no(script|embed|frames)/i,k.innerHTML)?(We(k),!0):(Ze&&k.nodeType===In.text&&(P=k.textContent,ms([N,G,V],le=>{P=_n(P,le," ")}),k.textContent!==P&&(Tn(t.removed,{element:k.cloneNode()}),k.textContent=P)),st(M.afterSanitizeElements,k,null),!1)},$a=function(k,P,B){if(Z[P]||ut&&(P==="id"||P==="name")&&(B in n||B in Yd))return!1;if(!(de&&!Z[P]&&ke(C,P))){if(!(re&&ke(O,P))){if(!(j.attributeCheck instanceof Function&&j.attributeCheck(P,k))){if(!Y[P]||Z[P]){if(!(xa(k)&&(ee.tagNameCheck instanceof RegExp&&ke(ee.tagNameCheck,k)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(k))&&(ee.attributeNameCheck instanceof RegExp&&ke(ee.attributeNameCheck,P)||ee.attributeNameCheck instanceof Function&&ee.attributeNameCheck(P,k))||P==="is"&&ee.allowCustomizedBuiltInElements&&(ee.tagNameCheck instanceof RegExp&&ke(ee.tagNameCheck,B)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(B))))return!1}else if(!ci[P]){if(!ke(L,_n(B,ie,""))){if(!((P==="src"||P==="xlink:href"||P==="href")&&k!=="script"&&Rb(B,"data:")===0&&nn[k])){if(!(be&&!ke(Q,_n(B,ie,"")))){if(B)return!1}}}}}}}return!0},xa=function(k){return k!=="annotation-xml"&&Mi(k,ce)},wa=function(k){st(M.beforeSanitizeAttributes,k,null);const{attributes:P}=k;if(!P||fi(k))return;const B={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Y,forceKeepAttr:void 0};let le=P.length;for(;le--;){const we=P[le],{name:ge,namespaceURI:Ee,value:it}=we,an=pe(ge),pi=it;let $e=ge==="value"?pi:Ib(pi);if(B.attrName=an,B.attrValue=$e,B.keepAttr=!0,B.forceKeepAttr=void 0,st(M.uponSanitizeAttribute,k,B),$e=B.attrValue,Et&&(an==="id"||an==="name")&&(Rt(ge,k),$e=li+$e),ct&&ke(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,$e)){Rt(ge,k);continue}if(an==="attributename"&&Mi($e,"href")){Rt(ge,k);continue}if(B.forceKeepAttr)continue;if(!B.keepAttr){Rt(ge,k);continue}if(!Ie&&ke(/\/>/i,$e)){Rt(ge,k);continue}Ze&&ms([N,G,V],ka=>{$e=_n($e,ka," ")});const Sa=pe(k.nodeName);if(!$a(Sa,an,$e)){Rt(ge,k);continue}if($&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!Ee)switch(h.getAttributeType(Sa,an)){case"TrustedHTML":{$e=$.createHTML($e);break}case"TrustedScriptURL":{$e=$.createScriptURL($e);break}}if($e!==pi)try{Ee?k.setAttributeNS(Ee,ge,$e):k.setAttribute(ge,$e),fi(k)?We(k):Pr(t.removed)}catch{Rt(ge,k)}}st(M.afterSanitizeAttributes,k,null)},Xd=function K(k){let P=null;const B=va(k);for(st(M.beforeSanitizeShadowDOM,k,null);P=B.nextNode();)st(M.uponSanitizeShadowNode,P,null),ya(P),wa(P),P.content instanceof o&&K(P.content);st(M.afterSanitizeShadowDOM,k,null)};return t.sanitize=function(K){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=null,B=null,le=null,we=null;if(di=!K,di&&(K="<!-->"),typeof K!="string"&&!ba(K))if(typeof K.toString=="function"){if(K=K.toString(),typeof K!="string")throw En("dirty is not a string, aborting")}else throw En("toString is not a function");if(!t.isSupported)return K;if(je||gi(k),t.removed=[],typeof K=="string"&&(gt=!1),gt){if(K.nodeName){const it=pe(K.nodeName);if(!z[it]||ae[it])throw En("root node is forbidden and cannot be sanitized in-place")}}else if(K instanceof l)P=ma("<!---->"),B=P.ownerDocument.importNode(K,!0),B.nodeType===In.element&&B.nodeName==="BODY"||B.nodeName==="HTML"?P=B:P.appendChild(B);else{if(!et&&!Ze&&!ye&&K.indexOf("<")===-1)return $&&dt?$.createHTML(K):K;if(P=ma(K),!P)return et?null:dt?D:""}P&&Xe&&We(P.firstChild);const ge=va(gt?K:P);for(;le=ge.nextNode();)ya(le),wa(le),le.content instanceof o&&Xd(le.content);if(gt)return K;if(et){if(tt)for(we=W.call(P.ownerDocument);P.firstChild;)we.appendChild(P.firstChild);else we=P;return(Y.shadowroot||Y.shadowrootmode)&&(we=F.call(s,we,!0)),we}let Ee=ye?P.outerHTML:P.innerHTML;return ye&&z["!doctype"]&&P.ownerDocument&&P.ownerDocument.doctype&&P.ownerDocument.doctype.name&&ke(vd,P.ownerDocument.doctype.name)&&(Ee="<!DOCTYPE "+P.ownerDocument.doctype.name+`>
5330
+ `}const Bn=(e,t)=>{const n=e._$AN;if(n===void 0)return!1;for(const s of n)s._$AO?.(t,!1),Bn(s,t);return!0},Us=e=>{let t,n;do{if((t=e._$AM)===void 0)break;n=t._$AN,n.delete(e),e=t}while(n?.size===0)},pd=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(n===void 0)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),wb(t)}};function $b(e){this._$AN!==void 0?(Us(this),this._$AM=e,pd(this)):this._$AM=e}function xb(e,t=!1,n=0){const s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(s))for(let o=n;o<s.length;o++)Bn(s[o],!1),Us(s[o]);else s!=null&&(Bn(s,!1),Us(s));else Bn(this,e)}const wb=e=>{e.type==Go.CHILD&&(e._$AP??=xb,e._$AQ??=$b)};class Sb extends Vo{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,n,s){super._$AT(t,n,s),pd(this),this.isConnected=t._$AU}_$AO(t,n=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),n&&(Bn(this,t),Us(this))}setValue(t){if(ym(this._$Ct))this._$Ct._$AI(t,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=t,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}const Ii=new WeakMap,kb=Jo(class extends Sb{render(e){return p}update(e,[t]){const n=t!==this.G;return n&&this.G!==void 0&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.G=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),p}rt(e){if(this.isConnected||(e=void 0),typeof this.G=="function"){const t=this.ht??globalThis;let n=Ii.get(t);n===void 0&&(n=new WeakMap,Ii.set(t,n)),n.get(this.G)!==void 0&&this.G.call(this.ht,void 0),n.set(this.G,e),e!==void 0&&this.G.call(this.ht,e)}else this.G.value=e}get lt(){return typeof this.G=="function"?Ii.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});class ro extends Vo{constructor(t){if(super(t),this.it=p,t.type!==Go.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===p||t==null)return this._t=void 0,this.it=t;if(t===St)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const n=[t];return n.raw=n,this._t={_$litType$:this.constructor.resultType,strings:n,values:[]}}}ro.directiveName="unsafeHTML",ro.resultType=1;const lo=Jo(ro);const{entries:hd,setPrototypeOf:Fr,isFrozen:Ab,getPrototypeOf:Cb,getOwnPropertyDescriptor:Tb}=Object;let{freeze:Ce,seal:Oe,create:Ts}=Object,{apply:co,construct:uo}=typeof Reflect<"u"&&Reflect;Ce||(Ce=function(t){return t});Oe||(Oe=function(t){return t});co||(co=function(t,n){for(var s=arguments.length,i=new Array(s>2?s-2:0),o=2;o<s;o++)i[o-2]=arguments[o];return t.apply(n,i)});uo||(uo=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];return new t(...s)});const ms=Te(Array.prototype.forEach),_b=Te(Array.prototype.lastIndexOf),Pr=Te(Array.prototype.pop),Tn=Te(Array.prototype.push),Eb=Te(Array.prototype.splice),_s=Te(String.prototype.toLowerCase),Li=Te(String.prototype.toString),Mi=Te(String.prototype.match),_n=Te(String.prototype.replace),Rb=Te(String.prototype.indexOf),Ib=Te(String.prototype.trim),Me=Te(Object.prototype.hasOwnProperty),ke=Te(RegExp.prototype.test),En=Lb(TypeError);function Te(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];return co(e,t,s)}}function Lb(e){return function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return uo(e,n)}}function J(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_s;Fr&&Fr(e,null);let s=t.length;for(;s--;){let i=t[s];if(typeof i=="string"){const o=n(i);o!==i&&(Ab(t)||(t[s]=o),i=o)}e[i]=!0}return e}function Mb(e){for(let t=0;t<e.length;t++)Me(e,t)||(e[t]=null);return e}function Ge(e){const t=Ts(null);for(const[n,s]of hd(e))Me(e,n)&&(Array.isArray(s)?t[n]=Mb(s):s&&typeof s=="object"&&s.constructor===Object?t[n]=Ge(s):t[n]=s);return t}function Rn(e,t){for(;e!==null;){const s=Tb(e,t);if(s){if(s.get)return Te(s.get);if(typeof s.value=="function")return Te(s.value)}e=Cb(e)}function n(){return null}return n}const Nr=Ce(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Di=Ce(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Fi=Ce(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Db=Ce(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Pi=Ce(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Fb=Ce(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Or=Ce(["#text"]),Ur=Ce(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ni=Ce(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Br=Ce(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),vs=Ce(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Pb=Oe(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Nb=Oe(/<%[\w\W]*|[\w\W]*%>/gm),Ob=Oe(/\$\{[\w\W]*/gm),Ub=Oe(/^data-[\-\w.\u00B7-\uFFFF]+$/),Bb=Oe(/^aria-[\-\w]+$/),md=Oe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Hb=Oe(/^(?:\w+script|data):/i),zb=Oe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vd=Oe(/^html$/i),jb=Oe(/^[a-z][.\w]*(-[.\w]+)+$/i);var Hr=Object.freeze({__proto__:null,ARIA_ATTR:Bb,ATTR_WHITESPACE:zb,CUSTOM_ELEMENT:jb,DATA_ATTR:Ub,DOCTYPE_NAME:vd,ERB_EXPR:Nb,IS_ALLOWED_URI:md,IS_SCRIPT_OR_DATA:Hb,MUSTACHE_EXPR:Pb,TMPLIT_EXPR:Ob});const In={element:1,text:3,progressingInstruction:7,comment:8,document:9},Kb=function(){return typeof window>"u"?null:window},Wb=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let s=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(s=n.getAttribute(i));const o="dompurify"+(s?"#"+s:"");try{return t.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},zr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function bd(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kb();const t=K=>bd(K);if(t.version="3.3.3",t.removed=[],!e||!e.document||e.document.nodeType!==In.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const s=n,i=s.currentScript,{DocumentFragment:o,HTMLTemplateElement:a,Node:l,Element:r,NodeFilter:d,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:g,DOMParser:m,trustedTypes:h}=e,v=r.prototype,y=Rn(v,"cloneNode"),_=Rn(v,"remove"),I=Rn(v,"nextSibling"),E=Rn(v,"childNodes"),A=Rn(v,"parentNode");if(typeof a=="function"){const K=n.createElement("template");K.content&&K.content.ownerDocument&&(n=K.content.ownerDocument)}let $,D="";const{implementation:T,createNodeIterator:R,createDocumentFragment:W,getElementsByTagName:b}=n,{importNode:F}=s;let M=zr();t.isSupported=typeof hd=="function"&&typeof A=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:N,ERB_EXPR:G,TMPLIT_EXPR:V,DATA_ATTR:C,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:Q,ATTR_WHITESPACE:ie,CUSTOM_ELEMENT:ce}=Hr;let{IS_ALLOWED_URI:L}=Hr,z=null;const q=J({},[...Nr,...Di,...Fi,...Pi,...Or]);let Y=null;const ue=J({},[...Ur,...Ni,...Br,...vs]);let ee=Object.seal(Ts(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ae=null,Z=null;const j=Object.seal(Ts(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let re=!0,de=!0,be=!1,Ie=!0,Ze=!1,ct=!0,ye=!1,je=!1,Xe=!1,et=!1,tt=!1,dt=!1,ut=!0,Et=!1;const li="user-content-";let tn=!0,gt=!1,Ke={},_e=null;const Sn=J({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let nn=null;const ft=J({},["audio","video","img","source","image","track"]);let ci=null;const ga=J({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ss="http://www.w3.org/1998/Math/MathML",is="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let sn=nt,di=!1,ui=null;const Gd=J({},[ss,is,nt],Li);let os=J({},["mi","mo","mn","ms","mtext"]),as=J({},["annotation-xml"]);const Jd=J({},["title","style","font","a","script"]);let kn=null;const Vd=["application/xhtml+xml","text/html"],Qd="text/html";let pe=null,on=null;const Yd=n.createElement("form"),fa=function(k){return k instanceof RegExp||k instanceof Function},gi=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(on&&on===k)){if((!k||typeof k!="object")&&(k={}),k=Ge(k),kn=Vd.indexOf(k.PARSER_MEDIA_TYPE)===-1?Qd:k.PARSER_MEDIA_TYPE,pe=kn==="application/xhtml+xml"?Li:_s,z=Me(k,"ALLOWED_TAGS")?J({},k.ALLOWED_TAGS,pe):q,Y=Me(k,"ALLOWED_ATTR")?J({},k.ALLOWED_ATTR,pe):ue,ui=Me(k,"ALLOWED_NAMESPACES")?J({},k.ALLOWED_NAMESPACES,Li):Gd,ci=Me(k,"ADD_URI_SAFE_ATTR")?J(Ge(ga),k.ADD_URI_SAFE_ATTR,pe):ga,nn=Me(k,"ADD_DATA_URI_TAGS")?J(Ge(ft),k.ADD_DATA_URI_TAGS,pe):ft,_e=Me(k,"FORBID_CONTENTS")?J({},k.FORBID_CONTENTS,pe):Sn,ae=Me(k,"FORBID_TAGS")?J({},k.FORBID_TAGS,pe):Ge({}),Z=Me(k,"FORBID_ATTR")?J({},k.FORBID_ATTR,pe):Ge({}),Ke=Me(k,"USE_PROFILES")?k.USE_PROFILES:!1,re=k.ALLOW_ARIA_ATTR!==!1,de=k.ALLOW_DATA_ATTR!==!1,be=k.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=k.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ze=k.SAFE_FOR_TEMPLATES||!1,ct=k.SAFE_FOR_XML!==!1,ye=k.WHOLE_DOCUMENT||!1,et=k.RETURN_DOM||!1,tt=k.RETURN_DOM_FRAGMENT||!1,dt=k.RETURN_TRUSTED_TYPE||!1,Xe=k.FORCE_BODY||!1,ut=k.SANITIZE_DOM!==!1,Et=k.SANITIZE_NAMED_PROPS||!1,tn=k.KEEP_CONTENT!==!1,gt=k.IN_PLACE||!1,L=k.ALLOWED_URI_REGEXP||md,sn=k.NAMESPACE||nt,os=k.MATHML_TEXT_INTEGRATION_POINTS||os,as=k.HTML_INTEGRATION_POINTS||as,ee=k.CUSTOM_ELEMENT_HANDLING||{},k.CUSTOM_ELEMENT_HANDLING&&fa(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ee.tagNameCheck=k.CUSTOM_ELEMENT_HANDLING.tagNameCheck),k.CUSTOM_ELEMENT_HANDLING&&fa(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ee.attributeNameCheck=k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),k.CUSTOM_ELEMENT_HANDLING&&typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ee.allowCustomizedBuiltInElements=k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze&&(de=!1),tt&&(et=!0),Ke&&(z=J({},Or),Y=Ts(null),Ke.html===!0&&(J(z,Nr),J(Y,Ur)),Ke.svg===!0&&(J(z,Di),J(Y,Ni),J(Y,vs)),Ke.svgFilters===!0&&(J(z,Fi),J(Y,Ni),J(Y,vs)),Ke.mathMl===!0&&(J(z,Pi),J(Y,Br),J(Y,vs))),Me(k,"ADD_TAGS")||(j.tagCheck=null),Me(k,"ADD_ATTR")||(j.attributeCheck=null),k.ADD_TAGS&&(typeof k.ADD_TAGS=="function"?j.tagCheck=k.ADD_TAGS:(z===q&&(z=Ge(z)),J(z,k.ADD_TAGS,pe))),k.ADD_ATTR&&(typeof k.ADD_ATTR=="function"?j.attributeCheck=k.ADD_ATTR:(Y===ue&&(Y=Ge(Y)),J(Y,k.ADD_ATTR,pe))),k.ADD_URI_SAFE_ATTR&&J(ci,k.ADD_URI_SAFE_ATTR,pe),k.FORBID_CONTENTS&&(_e===Sn&&(_e=Ge(_e)),J(_e,k.FORBID_CONTENTS,pe)),k.ADD_FORBID_CONTENTS&&(_e===Sn&&(_e=Ge(_e)),J(_e,k.ADD_FORBID_CONTENTS,pe)),tn&&(z["#text"]=!0),ye&&J(z,["html","head","body"]),z.table&&(J(z,["tbody"]),delete ae.tbody),k.TRUSTED_TYPES_POLICY){if(typeof k.TRUSTED_TYPES_POLICY.createHTML!="function")throw En('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof k.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw En('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');$=k.TRUSTED_TYPES_POLICY,D=$.createHTML("")}else $===void 0&&($=Wb(h,i)),$!==null&&typeof D=="string"&&(D=$.createHTML(""));Ce&&Ce(k),on=k}},pa=J({},[...Di,...Fi,...Db]),ha=J({},[...Pi,...Fb]),Zd=function(k){let P=A(k);(!P||!P.tagName)&&(P={namespaceURI:sn,tagName:"template"});const B=_s(k.tagName),le=_s(P.tagName);return ui[k.namespaceURI]?k.namespaceURI===is?P.namespaceURI===nt?B==="svg":P.namespaceURI===ss?B==="svg"&&(le==="annotation-xml"||os[le]):!!pa[B]:k.namespaceURI===ss?P.namespaceURI===nt?B==="math":P.namespaceURI===is?B==="math"&&as[le]:!!ha[B]:k.namespaceURI===nt?P.namespaceURI===is&&!as[le]||P.namespaceURI===ss&&!os[le]?!1:!ha[B]&&(Jd[B]||!pa[B]):!!(kn==="application/xhtml+xml"&&ui[k.namespaceURI]):!1},We=function(k){Tn(t.removed,{element:k});try{A(k).removeChild(k)}catch{_(k)}},Rt=function(k,P){try{Tn(t.removed,{attribute:P.getAttributeNode(k),from:P})}catch{Tn(t.removed,{attribute:null,from:P})}if(P.removeAttribute(k),k==="is")if(et||tt)try{We(P)}catch{}else try{P.setAttribute(k,"")}catch{}},ma=function(k){let P=null,B=null;if(Xe)k="<remove></remove>"+k;else{const ge=Mi(k,/^[\r\n\t ]+/);B=ge&&ge[0]}kn==="application/xhtml+xml"&&sn===nt&&(k='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+k+"</body></html>");const le=$?$.createHTML(k):k;if(sn===nt)try{P=new m().parseFromString(le,kn)}catch{}if(!P||!P.documentElement){P=T.createDocument(sn,"template",null);try{P.documentElement.innerHTML=di?D:le}catch{}}const we=P.body||P.documentElement;return k&&B&&we.insertBefore(n.createTextNode(B),we.childNodes[0]||null),sn===nt?b.call(P,ye?"html":"body")[0]:ye?P.documentElement:we},va=function(k){return R.call(k.ownerDocument||k,k,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},fi=function(k){return k instanceof g&&(typeof k.nodeName!="string"||typeof k.textContent!="string"||typeof k.removeChild!="function"||!(k.attributes instanceof u)||typeof k.removeAttribute!="function"||typeof k.setAttribute!="function"||typeof k.namespaceURI!="string"||typeof k.insertBefore!="function"||typeof k.hasChildNodes!="function")},ba=function(k){return typeof l=="function"&&k instanceof l};function st(K,k,P){ms(K,B=>{B.call(t,k,P,on)})}const ya=function(k){let P=null;if(st(M.beforeSanitizeElements,k,null),fi(k))return We(k),!0;const B=pe(k.nodeName);if(st(M.uponSanitizeElement,k,{tagName:B,allowedTags:z}),ct&&k.hasChildNodes()&&!ba(k.firstElementChild)&&ke(/<[/\w!]/g,k.innerHTML)&&ke(/<[/\w!]/g,k.textContent)||k.nodeType===In.progressingInstruction||ct&&k.nodeType===In.comment&&ke(/<[/\w]/g,k.data))return We(k),!0;if(!(j.tagCheck instanceof Function&&j.tagCheck(B))&&(!z[B]||ae[B])){if(!ae[B]&&xa(B)&&(ee.tagNameCheck instanceof RegExp&&ke(ee.tagNameCheck,B)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(B)))return!1;if(tn&&!_e[B]){const le=A(k)||k.parentNode,we=E(k)||k.childNodes;if(we&&le){const ge=we.length;for(let Ee=ge-1;Ee>=0;--Ee){const it=y(we[Ee],!0);it.__removalCount=(k.__removalCount||0)+1,le.insertBefore(it,I(k))}}}return We(k),!0}return k instanceof r&&!Zd(k)||(B==="noscript"||B==="noembed"||B==="noframes")&&ke(/<\/no(script|embed|frames)/i,k.innerHTML)?(We(k),!0):(Ze&&k.nodeType===In.text&&(P=k.textContent,ms([N,G,V],le=>{P=_n(P,le," ")}),k.textContent!==P&&(Tn(t.removed,{element:k.cloneNode()}),k.textContent=P)),st(M.afterSanitizeElements,k,null),!1)},$a=function(k,P,B){if(Z[P]||ut&&(P==="id"||P==="name")&&(B in n||B in Yd))return!1;if(!(de&&!Z[P]&&ke(C,P))){if(!(re&&ke(O,P))){if(!(j.attributeCheck instanceof Function&&j.attributeCheck(P,k))){if(!Y[P]||Z[P]){if(!(xa(k)&&(ee.tagNameCheck instanceof RegExp&&ke(ee.tagNameCheck,k)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(k))&&(ee.attributeNameCheck instanceof RegExp&&ke(ee.attributeNameCheck,P)||ee.attributeNameCheck instanceof Function&&ee.attributeNameCheck(P,k))||P==="is"&&ee.allowCustomizedBuiltInElements&&(ee.tagNameCheck instanceof RegExp&&ke(ee.tagNameCheck,B)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(B))))return!1}else if(!ci[P]){if(!ke(L,_n(B,ie,""))){if(!((P==="src"||P==="xlink:href"||P==="href")&&k!=="script"&&Rb(B,"data:")===0&&nn[k])){if(!(be&&!ke(Q,_n(B,ie,"")))){if(B)return!1}}}}}}}return!0},xa=function(k){return k!=="annotation-xml"&&Mi(k,ce)},wa=function(k){st(M.beforeSanitizeAttributes,k,null);const{attributes:P}=k;if(!P||fi(k))return;const B={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Y,forceKeepAttr:void 0};let le=P.length;for(;le--;){const we=P[le],{name:ge,namespaceURI:Ee,value:it}=we,an=pe(ge),pi=it;let $e=ge==="value"?pi:Ib(pi);if(B.attrName=an,B.attrValue=$e,B.keepAttr=!0,B.forceKeepAttr=void 0,st(M.uponSanitizeAttribute,k,B),$e=B.attrValue,Et&&(an==="id"||an==="name")&&(Rt(ge,k),$e=li+$e),ct&&ke(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,$e)){Rt(ge,k);continue}if(an==="attributename"&&Mi($e,"href")){Rt(ge,k);continue}if(B.forceKeepAttr)continue;if(!B.keepAttr){Rt(ge,k);continue}if(!Ie&&ke(/\/>/i,$e)){Rt(ge,k);continue}Ze&&ms([N,G,V],ka=>{$e=_n($e,ka," ")});const Sa=pe(k.nodeName);if(!$a(Sa,an,$e)){Rt(ge,k);continue}if($&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!Ee)switch(h.getAttributeType(Sa,an)){case"TrustedHTML":{$e=$.createHTML($e);break}case"TrustedScriptURL":{$e=$.createScriptURL($e);break}}if($e!==pi)try{Ee?k.setAttributeNS(Ee,ge,$e):k.setAttribute(ge,$e),fi(k)?We(k):Pr(t.removed)}catch{Rt(ge,k)}}st(M.afterSanitizeAttributes,k,null)},Xd=function K(k){let P=null;const B=va(k);for(st(M.beforeSanitizeShadowDOM,k,null);P=B.nextNode();)st(M.uponSanitizeShadowNode,P,null),ya(P),wa(P),P.content instanceof o&&K(P.content);st(M.afterSanitizeShadowDOM,k,null)};return t.sanitize=function(K){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=null,B=null,le=null,we=null;if(di=!K,di&&(K="<!-->"),typeof K!="string"&&!ba(K))if(typeof K.toString=="function"){if(K=K.toString(),typeof K!="string")throw En("dirty is not a string, aborting")}else throw En("toString is not a function");if(!t.isSupported)return K;if(je||gi(k),t.removed=[],typeof K=="string"&&(gt=!1),gt){if(K.nodeName){const it=pe(K.nodeName);if(!z[it]||ae[it])throw En("root node is forbidden and cannot be sanitized in-place")}}else if(K instanceof l)P=ma("<!---->"),B=P.ownerDocument.importNode(K,!0),B.nodeType===In.element&&B.nodeName==="BODY"||B.nodeName==="HTML"?P=B:P.appendChild(B);else{if(!et&&!Ze&&!ye&&K.indexOf("<")===-1)return $&&dt?$.createHTML(K):K;if(P=ma(K),!P)return et?null:dt?D:""}P&&Xe&&We(P.firstChild);const ge=va(gt?K:P);for(;le=ge.nextNode();)ya(le),wa(le),le.content instanceof o&&Xd(le.content);if(gt)return K;if(et){if(tt)for(we=W.call(P.ownerDocument);P.firstChild;)we.appendChild(P.firstChild);else we=P;return(Y.shadowroot||Y.shadowrootmode)&&(we=F.call(s,we,!0)),we}let Ee=ye?P.outerHTML:P.innerHTML;return ye&&z["!doctype"]&&P.ownerDocument&&P.ownerDocument.doctype&&P.ownerDocument.doctype.name&&ke(vd,P.ownerDocument.doctype.name)&&(Ee="<!DOCTYPE "+P.ownerDocument.doctype.name+`>
5331
5331
  `+Ee),Ze&&ms([N,G,V],it=>{Ee=_n(Ee,it," ")}),$&&dt?$.createHTML(Ee):Ee},t.setConfig=function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};gi(K),je=!0},t.clearConfig=function(){on=null,je=!1},t.isValidAttribute=function(K,k,P){on||gi({});const B=pe(K),le=pe(k);return $a(B,le,P)},t.addHook=function(K,k){typeof k=="function"&&Tn(M[K],k)},t.removeHook=function(K,k){if(k!==void 0){const P=_b(M[K],k);return P===-1?void 0:Eb(M[K],P,1)[0]}return Pr(M[K])},t.removeHooks=function(K){M[K]=[]},t.removeAllHooks=function(){M=zr()},t}var go=bd();function Xo(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var en=Xo();function yd(e){en=e}var zt={exec:()=>null};function X(e,t=""){let n=typeof e=="string"?e:e.source,s={replace:(i,o)=>{let a=typeof o=="string"?o:o.source;return a=a.replace(Ae.caret,"$1"),n=n.replace(i,a),s},getRegex:()=>new RegExp(n,t)};return s}var qb=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),Ae={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}>`)},Gb=/^(?:[ \t]*(?:\n|$))+/,Jb=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Vb=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ns=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Qb=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ea=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,$d=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,xd=X($d).replace(/bull/g,ea).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Yb=X($d).replace(/bull/g,ea).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ta=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Zb=/^[^\n]+/,na=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Xb=X(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",na).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ey=X(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ea).getRegex(),oi="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",sa=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ty=X("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",sa).replace("tag",oi).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),wd=X(ta).replace("hr",ns).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",oi).getRegex(),ny=X(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",wd).getRegex(),ia={blockquote:ny,code:Jb,def:Xb,fences:Vb,heading:Qb,hr:ns,html:ty,lheading:xd,list:ey,newline:Gb,paragraph:wd,table:zt,text:Zb},jr=X("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ns).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",oi).getRegex(),sy={...ia,lheading:Yb,table:jr,paragraph:X(ta).replace("hr",ns).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",jr).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",oi).getRegex()},iy={...ia,html:X(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",sa).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:zt,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:X(ta).replace("hr",ns).replace("heading",` *#{1,6} *[^
5332
5332
  ]`).replace("lheading",xd).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},oy=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ay=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Sd=/^( {2,}|\\)\n(?!\s*$)/,ry=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ai=/[\p{P}\p{S}]/u,oa=/[\s\p{P}\p{S}]/u,kd=/[^\s\p{P}\p{S}]/u,ly=X(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,oa).getRegex(),Ad=/(?!~)[\p{P}\p{S}]/u,cy=/(?!~)[\s\p{P}\p{S}]/u,dy=/(?:[^\s\p{P}\p{S}]|~)/u,Cd=/(?![*_])[\p{P}\p{S}]/u,uy=/(?![*_])[\s\p{P}\p{S}]/u,gy=/(?:[^\s\p{P}\p{S}]|[*_])/u,fy=X(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",qb?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Td=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,py=X(Td,"u").replace(/punct/g,ai).getRegex(),hy=X(Td,"u").replace(/punct/g,Ad).getRegex(),_d="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",my=X(_d,"gu").replace(/notPunctSpace/g,kd).replace(/punctSpace/g,oa).replace(/punct/g,ai).getRegex(),vy=X(_d,"gu").replace(/notPunctSpace/g,dy).replace(/punctSpace/g,cy).replace(/punct/g,Ad).getRegex(),by=X("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,kd).replace(/punctSpace/g,oa).replace(/punct/g,ai).getRegex(),yy=X(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Cd).getRegex(),$y="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",xy=X($y,"gu").replace(/notPunctSpace/g,gy).replace(/punctSpace/g,uy).replace(/punct/g,Cd).getRegex(),wy=X(/\\(punct)/,"gu").replace(/punct/g,ai).getRegex(),Sy=X(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ky=X(sa).replace("(?:-->|$)","-->").getRegex(),Ay=X("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ky).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Bs=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Cy=X(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Bs).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ed=X(/^!?\[(label)\]\[(ref)\]/).replace("label",Bs).replace("ref",na).getRegex(),Rd=X(/^!?\[(ref)\](?:\[\])?/).replace("ref",na).getRegex(),Ty=X("reflink|nolink(?!\\()","g").replace("reflink",Ed).replace("nolink",Rd).getRegex(),Kr=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,aa={_backpedal:zt,anyPunctuation:wy,autolink:Sy,blockSkip:fy,br:Sd,code:ay,del:zt,delLDelim:zt,delRDelim:zt,emStrongLDelim:py,emStrongRDelimAst:my,emStrongRDelimUnd:by,escape:oy,link:Cy,nolink:Rd,punctuation:ly,reflink:Ed,reflinkSearch:Ty,tag:Ay,text:ry,url:zt},_y={...aa,link:X(/^!?\[(label)\]\((.*?)\)/).replace("label",Bs).getRegex(),reflink:X(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Bs).getRegex()},fo={...aa,emStrongRDelimAst:vy,emStrongLDelim:hy,delLDelim:yy,delRDelim:xy,url:X(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Kr).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:X(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Kr).getRegex()},Ey={...fo,br:X(Sd).replace("{2,}","*").getRegex(),text:X(fo.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},bs={normal:ia,gfm:sy,pedantic:iy},Ln={normal:aa,gfm:fo,breaks:Ey,pedantic:_y},Ry={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Wr=e=>Ry[e];function Je(e,t){if(t){if(Ae.escapeTest.test(e))return e.replace(Ae.escapeReplace,Wr)}else if(Ae.escapeTestNoEncode.test(e))return e.replace(Ae.escapeReplaceNoEncode,Wr);return e}function qr(e){try{e=encodeURI(e).replace(Ae.percentDecode,"%")}catch{return null}return e}function Gr(e,t){let n=e.replace(Ae.findPipe,(o,a,l)=>{let r=!1,d=a;for(;--d>=0&&l[d]==="\\";)r=!r;return r?"|":" |"}),s=n.split(Ae.splitPipe),i=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),t)if(s.length>t)s.splice(t);else for(;s.length<t;)s.push("");for(;i<s.length;i++)s[i]=s[i].trim().replace(Ae.slashPipe,"|");return s}function Mn(e,t,n){let s=e.length;if(s===0)return"";let i=0;for(;i<s&&e.charAt(s-i-1)===t;)i++;return e.slice(0,s-i)}function Iy(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let s=0;s<e.length;s++)if(e[s]==="\\")s++;else if(e[s]===t[0])n++;else if(e[s]===t[1]&&(n--,n<0))return s;return n>0?-2:-1}function Ly(e,t=0){let n=t,s="";for(let i of e)if(i===" "){let o=4-n%4;s+=" ".repeat(o),n+=o}else s+=i,n++;return s}function Jr(e,t,n,s,i){let o=t.href,a=t.title||null,l=e[1].replace(i.other.outputLinkReplace,"$1");s.state.inLink=!0;let r={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:o,title:a,text:l,tokens:s.inlineTokens(l)};return s.state.inLink=!1,r}function My(e,t,n){let s=e.match(n.other.indentCodeCompensation);if(s===null)return t;let i=s[1];return t.split(`
5333
5333
  `).map(o=>{let a=o.match(n.other.beginningSpace);if(a===null)return o;let[l]=a;return l.length>=i.length?o.slice(i.length):o}).join(`
@@ -8377,4 +8377,4 @@ ${JSON.stringify(e.issues,null,2)}</pre
8377
8377
  `}var Lx=Object.defineProperty,Mx=Object.getOwnPropertyDescriptor,w=(e,t,n,s)=>{for(var i=s>1?void 0:s?Mx(t,n):t,o=e.length-1,a;o>=0;o--)(a=e[o])&&(i=(s?a(t,n,i):a(i))||i);return s&&i&&Lx(t,n,i),i};const zi=jo({});function Dx(){if(!window.location.search)return!1;const t=new URLSearchParams(window.location.search).get("onboarding");if(!t)return!1;const n=t.trim().toLowerCase();return n==="1"||n==="true"||n==="yes"||n==="on"}let x=class extends pn{constructor(){super(),this.i18nController=new Mu(this),this.clientInstanceId=ni(),this.settings=Uf(),this.password="",this.tab="chat",this.onboarding=Dx(),this.connected=!1,this.theme=this.settings.theme??"system",this.themeResolved="dark",this.hello=null,this.lastError=null,this.lastErrorCode=null,this.eventLog=[],this.eventLogBuffer=[],this.toolStreamSyncTimer=null,this.sidebarCloseTimer=null,this.assistantName=zi.name,this.assistantAvatar=zi.avatar,this.assistantAgentId=zi.agentId??null,this.sessionKey=this.settings.sessionKey,this.chatLoading=!1,this.chatSending=!1,this.chatMessage="",this.chatMessages=[],this.chatToolMessages=[],this.chatStream=null,this.chatStreamStartedAt=null,this.chatRunId=null,this.compactionStatus=null,this.fallbackStatus=null,this.chatAvatarUrl=null,this.chatThinkingLevel=null,this.chatQueue=[],this.chatAttachments=[],this.chatManualRefreshInFlight=!1,this.sidebarOpen=!1,this.sidebarContent=null,this.sidebarError=null,this.splitRatio=this.settings.splitRatio,this.nodesLoading=!1,this.nodes=[],this.devicesLoading=!1,this.devicesError=null,this.devicesList=null,this.execApprovalsLoading=!1,this.execApprovalsSaving=!1,this.execApprovalsDirty=!1,this.execApprovalsSnapshot=null,this.execApprovalsForm=null,this.execApprovalsSelectedAgent=null,this.execApprovalsTarget="gateway",this.execApprovalsTargetNodeId=null,this.execApprovalQueue=[],this.execApprovalBusy=!1,this.execApprovalError=null,this.pendingGatewayUrl=null,this.configLoading=!1,this.configRaw=`{
8378
8378
  }
8379
8379
  `,this.configRawOriginal="",this.configValid=null,this.configIssues=[],this.configSaving=!1,this.configApplying=!1,this.updateRunning=!1,this.applySessionKey=this.settings.lastActiveSessionKey,this.configSnapshot=null,this.configSchema=null,this.configSchemaVersion=null,this.configSchemaLoading=!1,this.configUiHints={},this.configForm=null,this.configFormOriginal=null,this.configFormDirty=!1,this.configFormMode="form",this.configSearchQuery="",this.configActiveSection=null,this.configActiveSubsection=null,this.channelsLoading=!1,this.channelsSnapshot=null,this.channelsError=null,this.channelsLastSuccess=null,this.whatsappLoginMessage=null,this.whatsappLoginQrDataUrl=null,this.whatsappLoginConnected=null,this.whatsappBusy=!1,this.nostrProfileFormState=null,this.nostrProfileAccountId=null,this.presenceLoading=!1,this.presenceEntries=[],this.presenceError=null,this.presenceStatus=null,this.agentsLoading=!1,this.agentsList=null,this.agentsError=null,this.agentsSelectedId=null,this.toolsCatalogLoading=!1,this.toolsCatalogError=null,this.toolsCatalogResult=null,this.agentsPanel="overview",this.agentFilesLoading=!1,this.agentFilesError=null,this.agentFilesList=null,this.agentFileContents={},this.agentFileDrafts={},this.agentFileActive=null,this.agentFileSaving=!1,this.agentIdentityLoading=!1,this.agentIdentityError=null,this.agentIdentityById={},this.agentSkillsLoading=!1,this.agentSkillsError=null,this.agentSkillsReport=null,this.agentSkillsAgentId=null,this.sessionsLoading=!1,this.sessionsResult=null,this.sessionsError=null,this.sessionsFilterActive="",this.sessionsFilterLimit="120",this.sessionsIncludeGlobal=!0,this.sessionsIncludeUnknown=!1,this.sessionsHideCron=!0,this.usageLoading=!1,this.usageResult=null,this.usageCostSummary=null,this.usageError=null,this.usageStartDate=(()=>{const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`})(),this.usageEndDate=(()=>{const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`})(),this.usageSelectedSessions=[],this.usageSelectedDays=[],this.usageSelectedHours=[],this.usageChartMode="tokens",this.usageDailyChartMode="by-type",this.usageTimeSeriesMode="per-turn",this.usageTimeSeriesBreakdownMode="by-type",this.usageTimeSeries=null,this.usageTimeSeriesLoading=!1,this.usageTimeSeriesCursorStart=null,this.usageTimeSeriesCursorEnd=null,this.usageSessionLogs=null,this.usageSessionLogsLoading=!1,this.usageSessionLogsExpanded=!1,this.usageQuery="",this.usageQueryDraft="",this.usageSessionSort="recent",this.usageSessionSortDir="desc",this.usageRecentSessions=[],this.usageTimeZone="local",this.usageContextExpanded=!1,this.usageHeaderPinned=!1,this.usageSessionsTab="all",this.usageVisibleColumns=["channel","agent","provider","model","messages","tools","errors","duration"],this.usageLogFilterRoles=[],this.usageLogFilterTools=[],this.usageLogFilterHasTools=!1,this.usageLogFilterQuery="",this.usageQueryDebounceTimer=null,this.cronLoading=!1,this.cronJobsLoadingMore=!1,this.cronJobs=[],this.cronJobsTotal=0,this.cronJobsHasMore=!1,this.cronJobsNextOffset=null,this.cronJobsLimit=50,this.cronJobsQuery="",this.cronJobsEnabledFilter="all",this.cronJobsScheduleKindFilter="all",this.cronJobsLastStatusFilter="all",this.cronJobsSortBy="nextRunAtMs",this.cronJobsSortDir="asc",this.cronStatus=null,this.cronError=null,this.cronForm={...Ls},this.cronFieldErrors={},this.cronEditingJobId=null,this.cronRunsJobId=null,this.cronRunsLoadingMore=!1,this.cronRuns=[],this.cronRunsTotal=0,this.cronRunsHasMore=!1,this.cronRunsNextOffset=null,this.cronRunsLimit=50,this.cronRunsScope="all",this.cronRunsStatuses=[],this.cronRunsDeliveryStatuses=[],this.cronRunsStatusFilter="all",this.cronRunsQuery="",this.cronRunsSortDir="desc",this.cronModelSuggestions=[],this.cronBusy=!1,this.updateAvailable=null,this.skillsLoading=!1,this.skillsReport=null,this.skillsError=null,this.skillsFilter="",this.skillEdits={},this.skillsBusyKey=null,this.skillMessages={},this.debugLoading=!1,this.debugStatus=null,this.debugHealth=null,this.debugModels=[],this.debugHeartbeat=null,this.debugCallMethod="",this.debugCallParams="{}",this.debugCallResult=null,this.debugCallError=null,this.logsLoading=!1,this.logsError=null,this.logsFile=null,this.logsEntries=[],this.logsFilterText="",this.logsLevelFilters={...hg},this.logsAutoFollow=!0,this.logsTruncated=!1,this.logsCursor=null,this.logsLastFetchAt=null,this.logsLimit=500,this.logsMaxBytes=25e4,this.logsAtBottom=!0,this.client=null,this.chatScrollFrame=null,this.chatScrollTimeout=null,this.chatHasAutoScrolled=!1,this.chatUserNearBottom=!0,this.chatNewMessagesBelow=!1,this.nodesPollInterval=null,this.logsPollInterval=null,this.debugPollInterval=null,this.logsScrollFrame=null,this.toolStreamById=new Map,this.toolStreamOrder=[],this.refreshSessionsAfterChat=new Set,this.basePath="",this.popStateHandler=()=>Zf(this),this.themeMedia=null,this.themeMediaHandler=null,this.topbarObserver=null,Ao(this.settings.locale)&&Kn.setLocale(this.settings.locale)}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),ah(this)}firstUpdated(){rh(this)}disconnectedCallback(){lh(this),super.disconnectedCallback()}updated(e){ch(this,e)}connect(){Hc(this)}handleChatScroll(e){sg(this,e)}handleLogsScroll(e){ig(this,e)}exportLogs(e,t){og(e,t)}resetToolStream(){ti(this)}resetChatScroll(){Ba(this)}scrollToBottom(e){Ba(this),Yn(this,!0,!!e?.smooth)}async loadAssistantIdentity(){await Oc(this)}applySettings(e){At(this,e)}setTab(e){Wf(this,e)}setTheme(e,t){qf(this,e,t)}async loadOverview(){await kc(this)}async loadCron(){await Fs(this)}async handleAbortChat(){await Dc(this)}removeQueuedMessage(e){Fp(this,e)}async handleSendChat(e,t){await Pp(this,e,t)}async handleWhatsAppStart(e){await Ku(this,e)}async handleWhatsAppWait(){await Wu(this)}async handleWhatsAppLogout(){await qu(this)}async handleChannelConfigSave(){await Gu(this)}async handleChannelConfigReload(){await Ju(this)}handleNostrProfileEdit(e,t){Yu(this,e,t)}handleNostrProfileCancel(){Zu(this)}handleNostrProfileFieldChange(e,t){Xu(this,e,t)}async handleNostrProfileSave(){await tg(this)}async handleNostrProfileImport(){await ng(this)}handleNostrProfileToggleAdvanced(){eg(this)}async handleExecApprovalDecision(e){const t=this.execApprovalQueue[0];if(!(!t||!this.client||this.execApprovalBusy)){this.execApprovalBusy=!0,this.execApprovalError=null;try{await this.client.request("exec.approval.resolve",{id:t.id,decision:e}),this.execApprovalQueue=this.execApprovalQueue.filter(n=>n.id!==t.id)}catch(n){this.execApprovalError=`Exec approval failed: ${String(n)}`}finally{this.execApprovalBusy=!1}}}handleGatewayUrlConfirm(){const e=this.pendingGatewayUrl;e&&(this.pendingGatewayUrl=null,At(this,{...this.settings,gatewayUrl:e}),this.connect())}handleGatewayUrlCancel(){this.pendingGatewayUrl=null}handleOpenSidebar(e){this.sidebarCloseTimer!=null&&(window.clearTimeout(this.sidebarCloseTimer),this.sidebarCloseTimer=null),this.sidebarContent=e,this.sidebarError=null,this.sidebarOpen=!0}handleCloseSidebar(){this.sidebarOpen=!1,this.sidebarCloseTimer!=null&&window.clearTimeout(this.sidebarCloseTimer),this.sidebarCloseTimer=window.setTimeout(()=>{this.sidebarOpen||(this.sidebarContent=null,this.sidebarError=null,this.sidebarCloseTimer=null)},200)}handleSplitRatioChange(e){const t=Math.max(.4,Math.min(.7,e));this.splitRatio=t,this.applySettings({...this.settings,splitRatio:t})}render(){return Ix(this)}};w([S()],x.prototype,"settings",2);w([S()],x.prototype,"password",2);w([S()],x.prototype,"tab",2);w([S()],x.prototype,"onboarding",2);w([S()],x.prototype,"connected",2);w([S()],x.prototype,"theme",2);w([S()],x.prototype,"themeResolved",2);w([S()],x.prototype,"hello",2);w([S()],x.prototype,"lastError",2);w([S()],x.prototype,"lastErrorCode",2);w([S()],x.prototype,"eventLog",2);w([S()],x.prototype,"assistantName",2);w([S()],x.prototype,"assistantAvatar",2);w([S()],x.prototype,"assistantAgentId",2);w([S()],x.prototype,"sessionKey",2);w([S()],x.prototype,"chatLoading",2);w([S()],x.prototype,"chatSending",2);w([S()],x.prototype,"chatMessage",2);w([S()],x.prototype,"chatMessages",2);w([S()],x.prototype,"chatToolMessages",2);w([S()],x.prototype,"chatStream",2);w([S()],x.prototype,"chatStreamStartedAt",2);w([S()],x.prototype,"chatRunId",2);w([S()],x.prototype,"compactionStatus",2);w([S()],x.prototype,"fallbackStatus",2);w([S()],x.prototype,"chatAvatarUrl",2);w([S()],x.prototype,"chatThinkingLevel",2);w([S()],x.prototype,"chatQueue",2);w([S()],x.prototype,"chatAttachments",2);w([S()],x.prototype,"chatManualRefreshInFlight",2);w([S()],x.prototype,"sidebarOpen",2);w([S()],x.prototype,"sidebarContent",2);w([S()],x.prototype,"sidebarError",2);w([S()],x.prototype,"splitRatio",2);w([S()],x.prototype,"nodesLoading",2);w([S()],x.prototype,"nodes",2);w([S()],x.prototype,"devicesLoading",2);w([S()],x.prototype,"devicesError",2);w([S()],x.prototype,"devicesList",2);w([S()],x.prototype,"execApprovalsLoading",2);w([S()],x.prototype,"execApprovalsSaving",2);w([S()],x.prototype,"execApprovalsDirty",2);w([S()],x.prototype,"execApprovalsSnapshot",2);w([S()],x.prototype,"execApprovalsForm",2);w([S()],x.prototype,"execApprovalsSelectedAgent",2);w([S()],x.prototype,"execApprovalsTarget",2);w([S()],x.prototype,"execApprovalsTargetNodeId",2);w([S()],x.prototype,"execApprovalQueue",2);w([S()],x.prototype,"execApprovalBusy",2);w([S()],x.prototype,"execApprovalError",2);w([S()],x.prototype,"pendingGatewayUrl",2);w([S()],x.prototype,"configLoading",2);w([S()],x.prototype,"configRaw",2);w([S()],x.prototype,"configRawOriginal",2);w([S()],x.prototype,"configValid",2);w([S()],x.prototype,"configIssues",2);w([S()],x.prototype,"configSaving",2);w([S()],x.prototype,"configApplying",2);w([S()],x.prototype,"updateRunning",2);w([S()],x.prototype,"applySessionKey",2);w([S()],x.prototype,"configSnapshot",2);w([S()],x.prototype,"configSchema",2);w([S()],x.prototype,"configSchemaVersion",2);w([S()],x.prototype,"configSchemaLoading",2);w([S()],x.prototype,"configUiHints",2);w([S()],x.prototype,"configForm",2);w([S()],x.prototype,"configFormOriginal",2);w([S()],x.prototype,"configFormDirty",2);w([S()],x.prototype,"configFormMode",2);w([S()],x.prototype,"configSearchQuery",2);w([S()],x.prototype,"configActiveSection",2);w([S()],x.prototype,"configActiveSubsection",2);w([S()],x.prototype,"channelsLoading",2);w([S()],x.prototype,"channelsSnapshot",2);w([S()],x.prototype,"channelsError",2);w([S()],x.prototype,"channelsLastSuccess",2);w([S()],x.prototype,"whatsappLoginMessage",2);w([S()],x.prototype,"whatsappLoginQrDataUrl",2);w([S()],x.prototype,"whatsappLoginConnected",2);w([S()],x.prototype,"whatsappBusy",2);w([S()],x.prototype,"nostrProfileFormState",2);w([S()],x.prototype,"nostrProfileAccountId",2);w([S()],x.prototype,"presenceLoading",2);w([S()],x.prototype,"presenceEntries",2);w([S()],x.prototype,"presenceError",2);w([S()],x.prototype,"presenceStatus",2);w([S()],x.prototype,"agentsLoading",2);w([S()],x.prototype,"agentsList",2);w([S()],x.prototype,"agentsError",2);w([S()],x.prototype,"agentsSelectedId",2);w([S()],x.prototype,"toolsCatalogLoading",2);w([S()],x.prototype,"toolsCatalogError",2);w([S()],x.prototype,"toolsCatalogResult",2);w([S()],x.prototype,"agentsPanel",2);w([S()],x.prototype,"agentFilesLoading",2);w([S()],x.prototype,"agentFilesError",2);w([S()],x.prototype,"agentFilesList",2);w([S()],x.prototype,"agentFileContents",2);w([S()],x.prototype,"agentFileDrafts",2);w([S()],x.prototype,"agentFileActive",2);w([S()],x.prototype,"agentFileSaving",2);w([S()],x.prototype,"agentIdentityLoading",2);w([S()],x.prototype,"agentIdentityError",2);w([S()],x.prototype,"agentIdentityById",2);w([S()],x.prototype,"agentSkillsLoading",2);w([S()],x.prototype,"agentSkillsError",2);w([S()],x.prototype,"agentSkillsReport",2);w([S()],x.prototype,"agentSkillsAgentId",2);w([S()],x.prototype,"sessionsLoading",2);w([S()],x.prototype,"sessionsResult",2);w([S()],x.prototype,"sessionsError",2);w([S()],x.prototype,"sessionsFilterActive",2);w([S()],x.prototype,"sessionsFilterLimit",2);w([S()],x.prototype,"sessionsIncludeGlobal",2);w([S()],x.prototype,"sessionsIncludeUnknown",2);w([S()],x.prototype,"sessionsHideCron",2);w([S()],x.prototype,"usageLoading",2);w([S()],x.prototype,"usageResult",2);w([S()],x.prototype,"usageCostSummary",2);w([S()],x.prototype,"usageError",2);w([S()],x.prototype,"usageStartDate",2);w([S()],x.prototype,"usageEndDate",2);w([S()],x.prototype,"usageSelectedSessions",2);w([S()],x.prototype,"usageSelectedDays",2);w([S()],x.prototype,"usageSelectedHours",2);w([S()],x.prototype,"usageChartMode",2);w([S()],x.prototype,"usageDailyChartMode",2);w([S()],x.prototype,"usageTimeSeriesMode",2);w([S()],x.prototype,"usageTimeSeriesBreakdownMode",2);w([S()],x.prototype,"usageTimeSeries",2);w([S()],x.prototype,"usageTimeSeriesLoading",2);w([S()],x.prototype,"usageTimeSeriesCursorStart",2);w([S()],x.prototype,"usageTimeSeriesCursorEnd",2);w([S()],x.prototype,"usageSessionLogs",2);w([S()],x.prototype,"usageSessionLogsLoading",2);w([S()],x.prototype,"usageSessionLogsExpanded",2);w([S()],x.prototype,"usageQuery",2);w([S()],x.prototype,"usageQueryDraft",2);w([S()],x.prototype,"usageSessionSort",2);w([S()],x.prototype,"usageSessionSortDir",2);w([S()],x.prototype,"usageRecentSessions",2);w([S()],x.prototype,"usageTimeZone",2);w([S()],x.prototype,"usageContextExpanded",2);w([S()],x.prototype,"usageHeaderPinned",2);w([S()],x.prototype,"usageSessionsTab",2);w([S()],x.prototype,"usageVisibleColumns",2);w([S()],x.prototype,"usageLogFilterRoles",2);w([S()],x.prototype,"usageLogFilterTools",2);w([S()],x.prototype,"usageLogFilterHasTools",2);w([S()],x.prototype,"usageLogFilterQuery",2);w([S()],x.prototype,"cronLoading",2);w([S()],x.prototype,"cronJobsLoadingMore",2);w([S()],x.prototype,"cronJobs",2);w([S()],x.prototype,"cronJobsTotal",2);w([S()],x.prototype,"cronJobsHasMore",2);w([S()],x.prototype,"cronJobsNextOffset",2);w([S()],x.prototype,"cronJobsLimit",2);w([S()],x.prototype,"cronJobsQuery",2);w([S()],x.prototype,"cronJobsEnabledFilter",2);w([S()],x.prototype,"cronJobsScheduleKindFilter",2);w([S()],x.prototype,"cronJobsLastStatusFilter",2);w([S()],x.prototype,"cronJobsSortBy",2);w([S()],x.prototype,"cronJobsSortDir",2);w([S()],x.prototype,"cronStatus",2);w([S()],x.prototype,"cronError",2);w([S()],x.prototype,"cronForm",2);w([S()],x.prototype,"cronFieldErrors",2);w([S()],x.prototype,"cronEditingJobId",2);w([S()],x.prototype,"cronRunsJobId",2);w([S()],x.prototype,"cronRunsLoadingMore",2);w([S()],x.prototype,"cronRuns",2);w([S()],x.prototype,"cronRunsTotal",2);w([S()],x.prototype,"cronRunsHasMore",2);w([S()],x.prototype,"cronRunsNextOffset",2);w([S()],x.prototype,"cronRunsLimit",2);w([S()],x.prototype,"cronRunsScope",2);w([S()],x.prototype,"cronRunsStatuses",2);w([S()],x.prototype,"cronRunsDeliveryStatuses",2);w([S()],x.prototype,"cronRunsStatusFilter",2);w([S()],x.prototype,"cronRunsQuery",2);w([S()],x.prototype,"cronRunsSortDir",2);w([S()],x.prototype,"cronModelSuggestions",2);w([S()],x.prototype,"cronBusy",2);w([S()],x.prototype,"updateAvailable",2);w([S()],x.prototype,"skillsLoading",2);w([S()],x.prototype,"skillsReport",2);w([S()],x.prototype,"skillsError",2);w([S()],x.prototype,"skillsFilter",2);w([S()],x.prototype,"skillEdits",2);w([S()],x.prototype,"skillsBusyKey",2);w([S()],x.prototype,"skillMessages",2);w([S()],x.prototype,"debugLoading",2);w([S()],x.prototype,"debugStatus",2);w([S()],x.prototype,"debugHealth",2);w([S()],x.prototype,"debugModels",2);w([S()],x.prototype,"debugHeartbeat",2);w([S()],x.prototype,"debugCallMethod",2);w([S()],x.prototype,"debugCallParams",2);w([S()],x.prototype,"debugCallResult",2);w([S()],x.prototype,"debugCallError",2);w([S()],x.prototype,"logsLoading",2);w([S()],x.prototype,"logsError",2);w([S()],x.prototype,"logsFile",2);w([S()],x.prototype,"logsEntries",2);w([S()],x.prototype,"logsFilterText",2);w([S()],x.prototype,"logsLevelFilters",2);w([S()],x.prototype,"logsAutoFollow",2);w([S()],x.prototype,"logsTruncated",2);w([S()],x.prototype,"logsCursor",2);w([S()],x.prototype,"logsLastFetchAt",2);w([S()],x.prototype,"logsLimit",2);w([S()],x.prototype,"logsMaxBytes",2);w([S()],x.prototype,"logsAtBottom",2);w([S()],x.prototype,"chatNewMessagesBelow",2);x=w([Tl("openclaw-app")],x);
8380
- //# sourceMappingURL=index-7XbUBC_m.js.map
8380
+ //# sourceMappingURL=index-Ql_obQqk.js.map