progon-agent 1.5.1 → 1.5.2

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 (70) hide show
  1. package/README.md +288 -29
  2. package/dist/supervisor/cli.js +315 -50
  3. package/extension-bundle.json +3 -3
  4. package/extension-dist/background/background.js +142 -119
  5. package/extension-dist/card/card.css +1 -1
  6. package/extension-dist/card/card.html +11 -10
  7. package/extension-dist/card/card.js +3 -3
  8. package/extension-dist/chunks/shared--PKAvBPy.js +1 -0
  9. package/extension-dist/chunks/shared-0jT00uC5.js +317 -0
  10. package/extension-dist/chunks/shared-8TdX8bnw.js +1 -0
  11. package/extension-dist/chunks/shared-BBwL-FWr.js +8 -0
  12. package/extension-dist/chunks/shared-BECVQaqd.js +1 -0
  13. package/extension-dist/chunks/shared-BGvIl9us.js +1 -0
  14. package/extension-dist/chunks/shared-BYkDbcM2.js +372 -0
  15. package/extension-dist/chunks/shared-BdaUsVif.css +1 -0
  16. package/extension-dist/chunks/shared-CDlAJRnF.js +117 -0
  17. package/extension-dist/chunks/shared-CQ5Ygj2p.js +1 -0
  18. package/extension-dist/chunks/shared-CnMBv8Ku.js +1 -0
  19. package/extension-dist/chunks/shared-CyNKhHOY.js +1 -0
  20. package/extension-dist/chunks/shared-D3X5MuUz.js +1 -0
  21. package/extension-dist/chunks/shared-D7GfVHk0.js +129 -0
  22. package/extension-dist/chunks/shared-QityJbuK.css +1 -0
  23. package/extension-dist/chunks/shared-U9lBnzuH.js +33 -0
  24. package/extension-dist/chunks/shared-VvEftNwZ.js +1 -0
  25. package/extension-dist/chunks/shared-XKyaHtl9.js +1 -0
  26. package/extension-dist/chunks/shared-fJPHxpB5.css +1 -0
  27. package/extension-dist/chunks/shared-o0-3vI--.js +193 -0
  28. package/extension-dist/chunks/shared-uKTblxo0.js +15 -0
  29. package/extension-dist/content/canvas-interceptor.js +1 -1
  30. package/extension-dist/content/canvas-mapbox-bridge-main.js +1 -1
  31. package/extension-dist/content/content.css +1 -1
  32. package/extension-dist/content/content.js +289 -336
  33. package/extension-dist/content/early-nonce-inject.js +1 -1
  34. package/extension-dist/content/frame.js +160 -0
  35. package/extension-dist/content/main-world-nav.js +1 -1
  36. package/extension-dist/manifest.json +36 -45
  37. package/extension-dist/offscreen/offscreen.html +2 -2
  38. package/extension-dist/offscreen/offscreen.js +1 -1
  39. package/extension-dist/popup/popup.html +9 -9
  40. package/extension-dist/popup/popup.js +3 -3
  41. package/extension-dist/sidepanel/sidepanel.css +1 -1
  42. package/extension-dist/sidepanel/sidepanel.html +13 -13
  43. package/extension-dist/sidepanel/sidepanel.js +1 -1
  44. package/extension-dist/workspace/workspace.css +1 -1
  45. package/extension-dist/workspace/workspace.html +13 -13
  46. package/extension-dist/workspace/workspace.js +121 -53
  47. package/npm-shrinkwrap.json +469 -0
  48. package/package.json +17 -12
  49. package/extension-dist/chunks/shared-B5u-B6Qn.css +0 -1
  50. package/extension-dist/chunks/shared-BLDboBjL.js +0 -348
  51. package/extension-dist/chunks/shared-BdUzhaBn.js +0 -39
  52. package/extension-dist/chunks/shared-Bl2B_Px5.js +0 -1
  53. package/extension-dist/chunks/shared-CD1T06ac.js +0 -98
  54. package/extension-dist/chunks/shared-CDXdhl3P.js +0 -8
  55. package/extension-dist/chunks/shared-CVlB4Tu3.js +0 -15
  56. package/extension-dist/chunks/shared-Cz00vYCW.js +0 -1
  57. package/extension-dist/chunks/shared-D8QWnY4m.css +0 -1
  58. package/extension-dist/chunks/shared-DDffpwXS.js +0 -134
  59. package/extension-dist/chunks/shared-D_QceNk9.js +0 -254
  60. package/extension-dist/chunks/shared-Dp2jkJ8R.js +0 -1
  61. package/extension-dist/chunks/shared-Jcq39euZ.js +0 -199
  62. package/extension-dist/chunks/shared-R5ipc0Sn.js +0 -1
  63. package/extension-dist/chunks/shared-eZL18n5t.css +0 -1
  64. package/extension-dist/chunks/shared-gwUGKre-.js +0 -1
  65. package/extension-dist/chunks/shared-hePW80VL.js +0 -1
  66. package/extension-dist/chunks/shared-kKZVALIt.js +0 -1
  67. package/extension-dist/chunks/shared-nJgqlX01.js +0 -1
  68. package/extension-dist/chunks/shared-q9EK7cIP.js +0 -1
  69. package/extension-dist/chunks/shared-tcQ7xPb-.js +0 -1
  70. package/extension-dist/content/canvas-mapbox-fiber-discovery.js +0 -1
@@ -0,0 +1,193 @@
1
+ import{r as e}from"./shared-XKyaHtl9.js";import{$a as t,$o as n,$t as r,Aa as i,At as a,B as o,Bn as s,Bt as c,Cl as l,Ct as u,Da as d,Dn as f,Dt as p,Et as m,F as h,Fa as g,Fi as _,Ft as v,Ga as ee,Gs as y,Gt as b,H as te,Hn as ne,Ht as x,I as S,It as C,Ja as w,Jt as re,Kn as ie,Kt as ae,L as T,Ln as oe,Lt as se,M as ce,Mo as le,Mt as ue,N as de,Na as fe,No as E,Nt as pe,Oa as me,Ot as he,Po as ge,Ps as _e,Pt as ve,Qa as ye,Qn as be,R as xe,Ra as Se,Rt as Ce,Sr as we,Tt as Te,U as Ee,Ut as De,V as Oe,Vn as ke,Vo as Ae,Vr as je,Vt as Me,Wt as Ne,Xa as Pe,Xt as Fe,Za as Ie,Zn as Le,_c as Re,_l as ze,_o as Be,_t as Ve,a as He,ar as Ue,as as We,at as Ge,bc as Ke,bn as qe,bo as Je,bt as Ye,co as Xe,ct as Ze,da as Qe,dr as $e,dt as et,ei as tt,fn as nt,gc as rt,go as it,gt as at,ha as ot,ho as st,hr as ct,ht as lt,il as ut,ir as dt,is as ft,j as pt,ja as mt,ji as ht,jt as gt,kt as _t,ln as vt,lr as yt,lt as bt,ml as xt,mn as St,mt as Ct,n as wt,no as Tt,nr as Et,ns as Dt,nt as Ot,o as kt,ol as At,oo as jt,or as Mt,os as Nt,pc as Pt,pt as Ft,qo as It,qr as Lt,qs as Rt,qt as zt,r as Bt,ro as Vt,sl as Ht,sn as Ut,so as Wt,sr as Gt,st as Kt,t as qt,ua as Jt,un as Yt,uo as Xt,ur as Zt,vn as Qt,wt as $t,xn as en,xt as tn,yc as nn,yl as rn,yo as D,za as an,zi as O,zt as on}from"./shared-0jT00uC5.js";import{$a as sn,Dn as cn,En as ln,I as un,Ja as dn,Ka as fn,On as pn,Tn as mn,Ua as hn,Vr as gn,Wa as _n,Za as vn,a as yn,ba as bn,cr as xn,eo as k,io as A,jn as Sn,ka as Cn,kn as wn,lr as Tn,or as En,pa as Dn,qa as On,qn as kn,so as An,sr as jn,ta as Mn,uo as Nn,vn as Pn,wn as Fn,xa as In,ya as Ln}from"./shared-CDlAJRnF.js";var Rn={NORMAL_CLOSURE:1e3,SERVER_RESTART:1001,AUTH_FAILED:4001,PROTOCOL_VIOLATION:4002,BACKPRESSURE:4003,CHANNEL_NOT_FOUND:4004,RATE_LIMIT:4005,HEARTBEAT_TIMEOUT:4006};function zn(e){return typeof e==`object`&&!!e&&`accepted`in e&&e.accepted===!0&&`decisionLaneId`in e&&typeof e.decisionLaneId==`string`&&e.decisionLaneId.length>0&&`stopsTurn`in e&&typeof e.stopsTurn==`boolean`}var Bn=`://`,Vn=`https://`,Hn=/[:/?#@\s]/,Un=/^[\x00-\x7f]*$/,Wn=`.invalid`;function Gn(e){let t=e.trim();if(t===``)return{ok:!1,reason:`empty`};if(t.includes(`*`))return{ok:!1,reason:`host_invalid`};let n=qn(t);return n===null?{ok:!1,reason:`not_parsable`}:Jn(n)}function Kn(e){let t=e.trim(),n=(t.endsWith(`.`)?t.slice(0,-1):t).toLowerCase();if(n===``)return{ok:!1,reason:`empty`};if(Hn.test(n))return{ok:!1,reason:`pattern_invalid`};let r=n.split(`.`);if(r.some(e=>e===``))return{ok:!1,reason:`pattern_invalid`};let i=[];for(let e of r){let t=Yn(e)?e:Xn(e);if(t===null)return{ok:!1,reason:`pattern_invalid`};i.push(t)}return Qn(i)?{ok:!1,reason:`pattern_too_broad`}:{ok:!0,hostPattern:i.join(`.`)}}function qn(e){try{return new URL(e.includes(Bn)?e:`${Vn}${e}`)}catch{return null}}function Jn(e){if(!Re(e.protocol))return{ok:!1,reason:`scheme_not_navigable`};if(e.username!==``||e.password!==``)return{ok:!1,reason:`carries_credentials`};if(e.pathname!==`/`||e.search!==``||e.hash!==``)return{ok:!1,reason:`not_bare_origin`};let t=nn(e.hostname),n=rt(t)&&t.includes(`:`)?`[${t}]`:t,r=e.port===``?``:`:${e.port}`;return{ok:!0,baseUrl:`${e.protocol}//${n}${r}`}}function Yn(e){return e.includes(`*`)}function Xn(e){return Un.test(e)?e:Zn(e)}function Zn(e){let t;try{t=new URL(`http://${e}${Wn}`).hostname}catch{return null}return t.slice(0,-8)}function Qn(e){return e.slice(-2).some(Yn)}function $n(e){return e.mine?e.lifecycle===`active`?e.online?null:`offline`:`notEnrolled`:`notOwner`}function er(e){return e.activeRun!==null||e.activeJob!=null}async function tr(e,t,{pageSize:n,route:r}){let i=[],a=0,o=null;for(;o===null||a<o;){t.throwIfAborted();let s=await e({limit:n,offset:a},t);if(s.offset!==a||s.total<0||!Number.isInteger(s.total))throw Error(`${r} returned invalid pagination metadata`);if(s.items.length===0&&a<s.total)throw Error(`${r} returned an empty page before total was satisfied`);i.push(...s.items),a+=s.items.length,o=s.total}return i}async function nr(e,t){return tr(e,t,{pageSize:100,route:`GET /agents`})}
2
+ /**
3
+ * @license lucide-react v0.574.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ var rr=D(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),ir=D(`braces`,[[`path`,{d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1`,key:`ezmyqa`}],[`path`,{d:`M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`,key:`e1hn23`}]]),ar=D(`bug`,[[`path`,{d:`M12 20v-9`,key:`1qisl0`}],[`path`,{d:`M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z`,key:`uouzyp`}],[`path`,{d:`M14.12 3.88 16 2`,key:`qol33r`}],[`path`,{d:`M21 21a4 4 0 0 0-3.81-4`,key:`1b0z45`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`,key:`5cxbf6`}],[`path`,{d:`M22 13h-4`,key:`1jl80f`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`,key:`1fjd4g`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`,key:`1d7oge`}],[`path`,{d:`M6 13H2`,key:`82j7cp`}],[`path`,{d:`m8 2 1.88 1.88`,key:`fmnt4t`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`,key:`1vgav8`}]]),or=D(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),sr=D(`clipboard-list`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M12 11h4`,key:`1jrz19`}],[`path`,{d:`M12 16h4`,key:`n85exb`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),cr=D(`cloud`,[[`path`,{d:`M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z`,key:`p7xjir`}]]),lr=D(`crosshair`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]]),ur=D(`ellipsis`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]]),dr=D(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),fr=D(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),pr=D(`frame`,[[`line`,{x1:`22`,x2:`2`,y1:`6`,y2:`6`,key:`15w7dq`}],[`line`,{x1:`22`,x2:`2`,y1:`18`,y2:`18`,key:`1ip48p`}],[`line`,{x1:`6`,x2:`6`,y1:`2`,y2:`22`,key:`a2lnyx`}],[`line`,{x1:`18`,x2:`18`,y1:`2`,y2:`22`,key:`8vb6jd`}]]),mr=D(`history`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]]),hr=D(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]),gr=D(`keyboard`,[[`path`,{d:`M10 8h.01`,key:`1r9ogq`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M7 16h10`,key:`wp8him`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}]]),_r=D(`list-checks`,[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`path`,{d:`m3 7 2 2 4-4`,key:`1obspn`}]]),vr=D(`list-tree`,[[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`M3 10a2 2 0 0 0 2 2h3`,key:`1npucw`}],[`path`,{d:`M3 5v12a2 2 0 0 0 2 2h3`,key:`x1gjn2`}]]),yr=D(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),br=D(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),xr=D(`map`,[[`path`,{d:`M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z`,key:`169xi5`}],[`path`,{d:`M15 5.764v15`,key:`1pn4in`}],[`path`,{d:`M9 3.236v15`,key:`1uimfh`}]]),Sr=D(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),Cr=D(`mouse-pointer-click`,[[`path`,{d:`M14 4.1 12 6`,key:`ita8i4`}],[`path`,{d:`m5.1 8-2.9-.8`,key:`1go3kf`}],[`path`,{d:`m6 12-1.9 2`,key:`mnht97`}],[`path`,{d:`M7.2 2.2 8 5.1`,key:`1cfko1`}],[`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`,key:`s0h3yz`}]]),wr=D(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]),Tr=D(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Er=D(`repeat`,[[`path`,{d:`m17 2 4 4-4 4`,key:`nntrym`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`,key:`84bu3i`}],[`path`,{d:`m7 22-4-4 4-4`,key:`1wqhfi`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`,key:`1rx37r`}]]),Dr=D(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]),Or=D(`target`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),kr=D(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),Ar=D(`variable`,[[`path`,{d:`M8 21s-4-3-4-9 4-9 4-9`,key:`uto9ud`}],[`path`,{d:`M16 3s4 3 4 9-4 9-4 9`,key:`4w2vsq`}],[`line`,{x1:`15`,x2:`9`,y1:`9`,y2:`15`,key:`f7djnv`}],[`line`,{x1:`9`,x2:`15`,y1:`9`,y2:`15`,key:`1shsy8`}]]),jr=D(`wand-sparkles`,[[`path`,{d:`m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72`,key:`ul74o6`}],[`path`,{d:`m14 7 3 3`,key:`1r5n42`}],[`path`,{d:`M5 6v4`,key:`ilb8ba`}],[`path`,{d:`M19 14v4`,key:`blhpug`}],[`path`,{d:`M10 2v2`,key:`7u0qdc`}],[`path`,{d:`M7 8H3`,key:`zfb6yr`}],[`path`,{d:`M21 16h-4`,key:`1cnmox`}],[`path`,{d:`M11 3H9`,key:`1obp7u`}]])
9
+ /**
10
+ * @license lucide-react v0.574.0 - ISC
11
+ *
12
+ * This source code is licensed under the ISC license.
13
+ * See the LICENSE file in the root directory of this source tree.
14
+ */
15
+ /**
16
+ * @license lucide-react v0.574.0 - ISC
17
+ *
18
+ * This source code is licensed under the ISC license.
19
+ * See the LICENSE file in the root directory of this source tree.
20
+ */
21
+ /**
22
+ * @license lucide-react v0.574.0 - ISC
23
+ *
24
+ * This source code is licensed under the ISC license.
25
+ * See the LICENSE file in the root directory of this source tree.
26
+ */
27
+ /**
28
+ * @license lucide-react v0.574.0 - ISC
29
+ *
30
+ * This source code is licensed under the ISC license.
31
+ * See the LICENSE file in the root directory of this source tree.
32
+ */
33
+ /**
34
+ * @license lucide-react v0.574.0 - ISC
35
+ *
36
+ * This source code is licensed under the ISC license.
37
+ * See the LICENSE file in the root directory of this source tree.
38
+ */
39
+ /**
40
+ * @license lucide-react v0.574.0 - ISC
41
+ *
42
+ * This source code is licensed under the ISC license.
43
+ * See the LICENSE file in the root directory of this source tree.
44
+ */
45
+ /**
46
+ * @license lucide-react v0.574.0 - ISC
47
+ *
48
+ * This source code is licensed under the ISC license.
49
+ * See the LICENSE file in the root directory of this source tree.
50
+ */
51
+ /**
52
+ * @license lucide-react v0.574.0 - ISC
53
+ *
54
+ * This source code is licensed under the ISC license.
55
+ * See the LICENSE file in the root directory of this source tree.
56
+ */
57
+ /**
58
+ * @license lucide-react v0.574.0 - ISC
59
+ *
60
+ * This source code is licensed under the ISC license.
61
+ * See the LICENSE file in the root directory of this source tree.
62
+ */
63
+ /**
64
+ * @license lucide-react v0.574.0 - ISC
65
+ *
66
+ * This source code is licensed under the ISC license.
67
+ * See the LICENSE file in the root directory of this source tree.
68
+ */
69
+ /**
70
+ * @license lucide-react v0.574.0 - ISC
71
+ *
72
+ * This source code is licensed under the ISC license.
73
+ * See the LICENSE file in the root directory of this source tree.
74
+ */
75
+ /**
76
+ * @license lucide-react v0.574.0 - ISC
77
+ *
78
+ * This source code is licensed under the ISC license.
79
+ * See the LICENSE file in the root directory of this source tree.
80
+ */
81
+ /**
82
+ * @license lucide-react v0.574.0 - ISC
83
+ *
84
+ * This source code is licensed under the ISC license.
85
+ * See the LICENSE file in the root directory of this source tree.
86
+ */
87
+ /**
88
+ * @license lucide-react v0.574.0 - ISC
89
+ *
90
+ * This source code is licensed under the ISC license.
91
+ * See the LICENSE file in the root directory of this source tree.
92
+ */
93
+ /**
94
+ * @license lucide-react v0.574.0 - ISC
95
+ *
96
+ * This source code is licensed under the ISC license.
97
+ * See the LICENSE file in the root directory of this source tree.
98
+ */
99
+ /**
100
+ * @license lucide-react v0.574.0 - ISC
101
+ *
102
+ * This source code is licensed under the ISC license.
103
+ * See the LICENSE file in the root directory of this source tree.
104
+ */
105
+ /**
106
+ * @license lucide-react v0.574.0 - ISC
107
+ *
108
+ * This source code is licensed under the ISC license.
109
+ * See the LICENSE file in the root directory of this source tree.
110
+ */
111
+ /**
112
+ * @license lucide-react v0.574.0 - ISC
113
+ *
114
+ * This source code is licensed under the ISC license.
115
+ * See the LICENSE file in the root directory of this source tree.
116
+ */
117
+ /**
118
+ * @license lucide-react v0.574.0 - ISC
119
+ *
120
+ * This source code is licensed under the ISC license.
121
+ * See the LICENSE file in the root directory of this source tree.
122
+ */
123
+ /**
124
+ * @license lucide-react v0.574.0 - ISC
125
+ *
126
+ * This source code is licensed under the ISC license.
127
+ * See the LICENSE file in the root directory of this source tree.
128
+ */
129
+ /**
130
+ * @license lucide-react v0.574.0 - ISC
131
+ *
132
+ * This source code is licensed under the ISC license.
133
+ * See the LICENSE file in the root directory of this source tree.
134
+ */
135
+ /**
136
+ * @license lucide-react v0.574.0 - ISC
137
+ *
138
+ * This source code is licensed under the ISC license.
139
+ * See the LICENSE file in the root directory of this source tree.
140
+ */
141
+ /**
142
+ * @license lucide-react v0.574.0 - ISC
143
+ *
144
+ * This source code is licensed under the ISC license.
145
+ * See the LICENSE file in the root directory of this source tree.
146
+ */
147
+ /**
148
+ * @license lucide-react v0.574.0 - ISC
149
+ *
150
+ * This source code is licensed under the ISC license.
151
+ * See the LICENSE file in the root directory of this source tree.
152
+ */
153
+ /**
154
+ * @license lucide-react v0.574.0 - ISC
155
+ *
156
+ * This source code is licensed under the ISC license.
157
+ * See the LICENSE file in the root directory of this source tree.
158
+ */
159
+ /**
160
+ * @license lucide-react v0.574.0 - ISC
161
+ *
162
+ * This source code is licensed under the ISC license.
163
+ * See the LICENSE file in the root directory of this source tree.
164
+ */
165
+ /**
166
+ * @license lucide-react v0.574.0 - ISC
167
+ *
168
+ * This source code is licensed under the ISC license.
169
+ * See the LICENSE file in the root directory of this source tree.
170
+ */
171
+ /**
172
+ * @license lucide-react v0.574.0 - ISC
173
+ *
174
+ * This source code is licensed under the ISC license.
175
+ * See the LICENSE file in the root directory of this source tree.
176
+ */
177
+ ;function Mr(e){let t=e.askReasons,n=e.canChangePermissionMode,r=e.agentThreadId;if(t!==void 0&&!pn(t))throw Error(`Confirmation offer contains invalid askReasons`);if(n!==void 0&&typeof n!=`boolean`)throw Error(`Confirmation offer contains invalid permission-mode provenance`);if(r!==void 0&&(typeof r!=`string`||r===``))throw Error(`Confirmation offer contains an invalid asking agent thread`);return{...t===void 0?{}:{askReasons:[...t]},...n===void 0?{}:{canChangePermissionMode:n},...r===void 0?{}:{agentThreadId:r}}}function Nr(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Pr(e){return typeof e==`string`&&e.length>0}function Fr(e){if(!Nr(e))return null;let t=e.key;if(!Pr(t))return null;let n=e.label;if(!Nr(n)||typeof n.ru!=`string`||n.ru.trim().length===0||typeof n.en!=`string`||n.en.trim().length===0)return null;let r={ru:n.ru,en:n.en};switch(e.kind){case`text`:{let n=e.text;return typeof n!=`string`||n.length===0?null:{key:t,label:r,kind:`text`,text:n}}case`token`:{let n=e.token;return typeof n!=`string`||n.length===0?null:{key:t,label:r,kind:`token`,token:n}}case`list`:{let n=e.items;if(!Array.isArray(n)||n.length===0)return null;let i=[];for(let e of n){if(typeof e!=`string`||e.length===0)return null;i.push(e)}return{key:t,label:r,kind:`list`,items:i}}case`workflow`:{let n=e.workflowId,i=e.topic;if(typeof n!=`string`||n.length===0||!Nr(i)||i.kind!==`preset`)return null;let a=i.presetId;return typeof a!=`string`||a.length===0?null:{key:t,label:r,kind:`workflow`,workflowId:n,topic:{...i,kind:`preset`,presetId:a}}}default:return null}}function Ir(e){if(!Nr(e))return null;let t=e.facts;if(!Array.isArray(t))return null;let n=[];for(let e of t){let t=Fr(e);if(t===null)return null;n.push(t)}return{facts:n}}function Lr(e){if(typeof e!=`object`||!e)return null;let t=e;return typeof t.ru==`string`&&t.ru.trim().length>0&&typeof t.en==`string`&&t.en.trim().length>0?{ru:t.ru,en:t.en}:null}function Rr(e,t){return e.includes(t)?e.filter(e=>e!==t):e}function zr(e,t){return e.includes(t)?e:[...e,t]}function Br(e,t){return{answeredToolCallIds:zr(e.answeredToolCallIds,t),answeredByPageOnly:Rr(e.answeredByPageOnly,t),reofferedToolCallIds:Rr(e.reofferedToolCallIds,t)}}var Vr={pendingConfirmations:[],confirmationAnchors:{},confirmationStepAnchorId:null,answeredToolCallIds:[],answeredByPageOnly:[],reofferedToolCallIds:[]};function Hr(e,t,n){return t.answeredToolCallIds===void 0||!t.answeredToolCallIds.includes(n)?!1:!e.reofferedToolCallIds.includes(n)||t.reofferedBeforeRead!==void 0&&t.reofferedBeforeRead.includes(n)}function Ur(e,t){var n;if(e.conversationId===null)return!1;let r=e.messages.find(e=>e.id===t);return(r==null?void 0:r.role)===`assistant`&&((n=r.toolCalls)==null?void 0:n.some(t=>e.pendingConfirmations.some(e=>e.toolCallId===t.toolCallId)||e.answeredToolCallIds.includes(t.toolCallId)))===!0}function Wr(e){return e.permissionModeLane!==null}function Gr(e,t){let{toolCallId:n}=t,r=e.answeredByPageOnly.includes(n);if(e.answeredToolCallIds.includes(n)&&!r||e.pendingConfirmations.some(e=>e.toolCallId===n))return{kind:`redelivered`};let i=Kr(t),a=i?null:qr(e);return{kind:`offered`,confirmation:{pendingConfirmations:[...e.pendingConfirmations,Jr(t,a)],confirmationAnchors:{...e.confirmationAnchors,[n]:a},confirmationStepAnchorId:i?e.confirmationStepAnchorId:a,...r?{answeredToolCallIds:Rr(e.answeredToolCallIds,n),answeredByPageOnly:Rr(e.answeredByPageOnly,n),reofferedToolCallIds:zr(e.reofferedToolCallIds,n),pendingRefetch:!0}:{answeredToolCallIds:e.answeredToolCallIds,answeredByPageOnly:e.answeredByPageOnly,reofferedToolCallIds:e.reofferedToolCallIds}}}}function Kr(e){return e.decidedBy===`person`&&e.agentThreadId!==void 0}function qr(e){return e.streamingMessageId===null?e.confirmationStepAnchorId:e.streamingMessageId}function Jr(e,t){let n=Lr(e.title);return{...Mr(e),toolCallId:e.toolCallId,toolName:e.toolName,args:e.args,description:e.description,display:Ir(e.display),...n!==null&&{title:n},...e.operationTitles!==void 0&&{operationTitles:e.operationTitles},status:`open`,anchorMessageId:t}}function Yr(e){let t=e.pendingConfirmations,n=e=>e.status===`open`&&e.agentThreadId===void 0;return t.some(n)?{pendingConfirmations:t.map(e=>n(e)?{...e,status:`rejecting`}:e)}:{pendingConfirmations:t}}function Xr(e,t){let n=e.pendingConfirmations.find(e=>e.toolCallId===t);return n===void 0||n.status!==`open`?e:{...e,pendingConfirmations:e.pendingConfirmations.map(e=>e.toolCallId===t?{...e,status:`resolving`}:e)}}function Zr(e){return e.role===`assistant`&&e.content===``&&e.pendingActionStatus!==void 0}function Qr(e,t){let{messageId:n,status:r,anchorMessageId:i,streamingMessageId:a}=t;if(e.some(e=>e.id===n))return e.map(e=>e.id===n?{...e,pendingActionStatus:r}:e);let o={id:n,role:`assistant`,content:``,pendingActionStatus:r},s=i===null?-1:e.findIndex(e=>e.id===i);if(s===-1){let t=a===null?-1:e.findIndex(e=>e.id===a);return t===-1?[...e,o]:[...e.slice(0,t),o,...e.slice(t)]}let c=s+1;for(;c<e.length;){let t=e[c];if(t===void 0||!Zr(t))break;c+=1}return[...e.slice(0,c),o,...e.slice(c)]}function $r(e,t){let{messageId:n,toolCallId:r,status:i}=t,a=e.confirmationAnchors[r],o=Qr(e.messages,{messageId:n,status:i,anchorMessageId:a===void 0?null:a,streamingMessageId:e.streamingMessageId}),s=e.pendingConfirmations;return{messages:o,pendingConfirmations:s.some(e=>e.toolCallId===r)?s.filter(e=>e.toolCallId!==r):s,confirmationAnchors:Object.fromEntries(Object.entries(e.confirmationAnchors).filter(([e])=>e!==r)),...Br(e,r)}}function ei(e){let t=e.pendingConfirmations,n=e=>e.status!==`open`&&e.agentThreadId===void 0;return t.some(n)?{pendingConfirmations:t.flatMap(e=>n(e)?e.status===`resolving`?[]:[{...e,status:`open`}]:[e]),pendingRefetch:t.some(e=>n(e)&&e.status===`resolving`)?!0:e.pendingRefetch}:{pendingConfirmations:t,pendingRefetch:e.pendingRefetch}}function ti(e){return e.pendingConfirmations===void 0?Vr.pendingConfirmations:e.pendingConfirmations}function ni(e,t){let n=ti(t);return!n.some(t=>e.answeredToolCallIds.includes(t.toolCallId))&&e.pendingConfirmations.every(r=>Hr(e,t,r.toolCallId)?!0:r.status===`open`&&n.some(e=>e.toolCallId===r.toolCallId))}function ri(e,t){let n=e.answeredToolCallIds,r=t.answeredToolCallIds,i={answeredToolCallIds:n,answeredByPageOnly:e.answeredByPageOnly,reofferedToolCallIds:e.reofferedToolCallIds};if(r===void 0)return i;let a=r.filter(r=>!n.includes(r)&&Hr(e,t,r));return a.length===0?i:{answeredToolCallIds:[...n,...a],answeredByPageOnly:[...e.answeredByPageOnly,...a],reofferedToolCallIds:e.reofferedToolCallIds.filter(e=>!a.includes(e))}}function ii(e,t){return{pendingConfirmations:ti(t),confirmationAnchors:Vr.confirmationAnchors,confirmationStepAnchorId:Vr.confirmationStepAnchorId,...ri(e,t)}}function ai(e,t){switch(t.type){case`action-required`:{if(!Kr(t))return null;let n=Gr(e,t);return n.kind===`redelivered`?e:{...e,...n.confirmation}}case`action-resolved`:return oi(e,t.toolCallId)?{...e,...$r(e,t)}:null;default:return null}}function oi(e,t){return e.pendingConfirmations.some(e=>e.toolCallId===t&&e.agentThreadId!==void 0)}function si(e,t){if(oi(e,t))return!0;for(let r=e.messages.length-1;r>=0;--r){var n;let i=(n=e.messages[r])==null||(n=n.toolCalls)==null?void 0:n.find(e=>e.toolCallId===t);if(i!==void 0)return i.agentThreadId!==void 0}return!1}function ci(e,t){return Wr(e)&&!si(e,t)}function li(e,t){let n=e.pendingConfirmations;if(t.pendingConfirmations===void 0)return n;let r=t.pendingConfirmations.filter(t=>t.agentThreadId!==void 0&&!e.answeredToolCallIds.includes(t.toolCallId)&&!n.some(e=>e.toolCallId===t.toolCallId));return r.length===0?n:[...n,...r]}function ui(e,t){let n=e.pendingConfirmations.find(e=>e.toolCallId===t&&e.agentThreadId!==void 0&&e.status===`resolving`);return n===void 0&&e.pendingRefetch?e:{...e,pendingConfirmations:n===void 0?e.pendingConfirmations:e.pendingConfirmations.filter(e=>e!==n),pendingRefetch:!0}}function di(e,t){return e.waitingFor===void 0?null:{waits:e.waitingFor,messageId:t}}var fi=/* @__PURE__ */ new Set;function pi(e){let t=e.waitingFor===null?null:e.waitingFor.messageId,n=new Set(e.pendingConfirmations.filter(e=>e.agentThreadId===void 0).map(e=>e.toolCallId));if(t===null&&n.size===0)return fi;let r=/* @__PURE__ */ new Set;if(t!==null&&r.add(t),n.size===0)return r;for(let t of e.messages){var i;((i=t.toolCalls)==null?void 0:i.some(e=>n.has(e.toolCallId)))===!0&&r.add(t.id)}return r}function mi(e,t){return(t.messageId===null||t.messageId===e.messageId)&&e.waits.length===t.waits.length&&e.waits.every((e,n)=>e===t.waits[n])}function hi(e,t){return t.waitRevisionAtRead!==void 0&&t.waitRevisionAtRead!==e.turnWaitRevision?e.waitingFor:t.waitingFor===null?t.replyingTo===null?null:e.waitingFor:e.waitingFor!==null&&mi(e.waitingFor,t.waitingFor)?e.waitingFor:t.waitingFor}function gi(e,t,n){if(n.type===`BIND_CONVERSATION`||n.type===`RESET`)return t;let r=n.type===`STOP_ACCEPTED`||n.type!==`HYDRATE_HISTORY`&&(t.waitingFor!==e.waitingFor||n.type===`EVENT`&&(n.payload.type===`message-start`||n.payload.type===`done`))?e.turnWaitRevision+1:e.turnWaitRevision;return t.turnWaitRevision===r?t:{...t,turnWaitRevision:r}}function _i(e){return e.kind===`question`&&e.payload.origin===`assistant`}function vi(e){return(e.blocks??[]).flatMap(e=>{if(!_i(e))return[];let t=e.payload;return t.id!==e.id||!Array.isArray(t.questions)||![`pending`,`answered`,`cancelled`,`superseded`].includes(String(t.status))?[]:[e.payload]})}function yi(e){return e.role===`assistant`||e.role===`agent`&&e.agentOrigin===`agent_question`}function bi(e,t){let n=[...e];for(let e of t){let t=n.findIndex(t=>t.id===e.id);t<0?n.push(e):e.revision>n[t].revision&&(n[t]=e)}return n}function xi(e,t){let n=new Map(t.messages.map(e=>[e.id,e]));return e.map(e=>{if(!yi(e))return e;let r=n.get(e.id),i=bi(bi((r==null?void 0:r.blocks)??[],t.pendingMessageBlocks[e.id]??[]),e.blocks??[]);return i.length===0&&e.blocks===void 0?e:{...e,blocks:i}})}function Si(e){let t={...e.pendingMessageBlocks},n=e.messages.map(e=>{let n=t[e.id];return!n||!yi(e)?e:(delete t[e.id],{...e,blocks:bi(e.blocks??[],n)})});return{...e,messages:n,pendingMessageBlocks:t}}function Ci(e,t){if(e.conversationId!==t.conversationId)return e;let{block:n,messageId:r}=t;if(!Number.isSafeInteger(n.revision)||n.revision<1)return e;let i=e.messages.find(e=>e.id===r);if(i&&!yi(i))return e;let a=((i==null?void 0:i.blocks)??e.pendingMessageBlocks[r]??[]).find(e=>e.id===n.id);if(a&&a.revision>=n.revision)return e;if(_i(n)){let i=vi({blocks:[n]})[0];if(!i||i.assistantMessageId!==r||i.conversationId!==t.conversationId)return e}let o=bi(e.pendingMessageBlocks[r]??[],[n]);return Si({...e,pendingMessageBlocks:{...e.pendingMessageBlocks,[r]:o},pendingRefetch:!i||e.pendingRefetch})}var wi={drawnFromMessageId:null,olderCursor:null,filesBefore:[],revision:0};function Ti(e){let{drawnFromMessageId:t}=e.historyWindow;if(t===null)return 0;let n=e.messages.findIndex(e=>e.id===t);if(n<0)throw Error(`Chat history window: drawnFromMessageId ${t} is not among the held messages`);return n}function Ei(e){let t=Ti(e);return t===0?e.messages:e.messages.slice(t)}function Di(e,t){if(Object.is(e,t))return!0;if(typeof e!=`object`||typeof t!=`object`||e===null||t===null)return!1;if(Array.isArray(e))return!Array.isArray(t)||e.length!==t.length?!1:e.every((e,n)=>Di(e,t[n]));if(Array.isArray(t))return!1;let n=e,r=t,i=Oi(n),a=Oi(r);return i.length===a.length&&i.every(e=>Di(n[e],r[e]))}function Oi(e){return Object.keys(e).filter(t=>e[t]!==void 0)}function ki(e,t){return e===void 0||t===void 0?e===t:e.length===t.length&&e.every((e,n)=>{let r=t[n];return r!==void 0&&e.id===r.id&&e.revision===r.revision&&e.state===r.state})}function Ai(e,t){if(e===t)return!0;if(!ki(e.blocks,t.blocks))return!1;let n={...e},r={...t},i=Oi(n).filter(e=>e!==`blocks`&&e!==`createdAt`);return i.length===Oi(r).filter(e=>e!==`blocks`&&e!==`createdAt`).length&&i.every(e=>Di(n[e],r[e]))}function ji(e,t){let n=new Map(e.map(e=>[e.id,e])),r=!1,i=t.map(e=>{let t=n.get(e.id);return t===void 0||t===e||!Ai(t,e)?e:(r=!0,e.createdAt!==void 0&&e.createdAt!==t.createdAt?{...t,createdAt:e.createdAt}:t)});return r?i:t}var Mi=/* @__PURE__ */ new Set;function Ni(e,t){let n=e.historyWindow.revision+1,{windowFirstMessageId:r}=t;if(r===null)return{messages:[...t.messages],historyWindow:{drawnFromMessageId:null,olderCursor:t.olderCursor,filesBefore:t.filesBefore,revision:n},unvouchedMessageIds:Mi};let i=t.messages.findIndex(e=>e.id===r);if(i<0)throw Error(`Chat history page: windowFirstMessageId ${r} is not among its messages`);let a=t.messages.slice(0,i),o=t.messages.slice(i),s=Ei(e),c=s.findIndex(e=>e.id===r);if(c<=0)return Pi(a,o,t,r,n);let l=new Map(a.map(e=>[e.id,e])),u=s.slice(0,c).map(e=>{let t=l.get(e.id);return t===void 0?e:t}),d=new Set(u.filter(e=>!l.has(e.id)&&Fi(e)).map(e=>e.id)),f=new Set(u.map(e=>e.id)),p=u[0];if(p===void 0)throw Error(`unreachable: heldAt > 0`);return{messages:[...a.filter(e=>!f.has(e.id)),...u,...o],historyWindow:{drawnFromMessageId:p.id,olderCursor:e.historyWindow.olderCursor,filesBefore:t.filesBefore,revision:n},unvouchedMessageIds:d}}function Pi(e,t,n,r,i){return{messages:[...e,...t],historyWindow:{drawnFromMessageId:r,olderCursor:n.olderCursor,filesBefore:n.filesBefore,revision:i},unvouchedMessageIds:Mi}}function Fi(e){return e.blocks!==void 0&&e.blocks.some(e=>e.state===`active`)}function Ii(e,t){return t.size===0?e:e.map(e=>!t.has(e.id)||e.blocks===void 0?e:{...e,blocks:e.blocks.map(e=>e.state===`active`?{...e,state:`superseded`}:e)})}function Li(e){return{drawnFromMessageId:null,olderCursor:null,filesBefore:[],revision:e.historyWindow.revision+1}}function Ri(e){let t=Object.entries(e),n=t.filter(([,e])=>e.some(e=>e.state===`active`));return n.length===t.length?e:Object.fromEntries(n)}function zi(e,t){if(t.conversationId!==e.conversationId||t.windowRevision!==e.historyWindow.revision||t.cursor!==e.historyWindow.olderCursor)return{kind:`stale`};let n=new Set(Ei(e).map(e=>e.id)),r=t.messages.map(e=>e.id).filter(e=>n.has(e));return r.length>0?{kind:`overlap`,overlappingIds:r}:{kind:`apply`}}function Bi(e,t){let n=Ti(e),r=e.messages.slice(0,n),i=e.messages.slice(n),a=new Map(r.map(e=>[e.id,e])),o=new Set(t.messages.map(e=>e.id)),s=t.messages.map(e=>{let t=a.get(e.id);if(t===void 0)return e;let n=t.blocks??[],r=bi(n,e.blocks??[]);return ki(r,n)?t:{...t,blocks:r}}),c=[...r.filter(e=>!o.has(e.id)),...s,...i],l=t.messages[0];return{messages:ji(e.messages,c),historyWindow:{...e.historyWindow,drawnFromMessageId:l===void 0?e.historyWindow.drawnFromMessageId:l.id,olderCursor:t.olderCursor}}}function Vi(e,t){return t.type!==`message-appended`&&t.type!==`block-upsert`||e.conversationId!==t.conversationId?!1:t.type===`message-appended`||!Hi(e,t.messageId)}function Hi(e,t){return e.messages.some(e=>e.id===t)}function Ui(e,t){if(!Vi(e,t))return e;if(Hi(e,t.messageId))return e.pendingRefetch?e:{...e,pendingRefetch:!0};let n=e.appendedRowsOwed.includes(t.messageId)?e.appendedRowsOwed:[...e.appendedRowsOwed,t.messageId];return e.pendingRefetch&&n===e.appendedRowsOwed?e:{...e,pendingRefetch:!0,appendedRowsOwed:n}}function Wi(e,t){if(e.appendedRowsOwed.length===0)return null;let n=new Set(e.messages.map(e=>e.id)),r=new Set(e.appendedRowsOwed),i=t.messages.filter(e=>r.has(e.id)&&!n.has(e.id));if(i.length===0)return null;let a=new Map(t.messages.map((e,t)=>[e.id,t])),o=i.reduce((t,n)=>Gi(t,n,a,e.streamingMessageId),e.messages),s=new Set(i.map(e=>e.id));return{...e,messages:o,pendingConfirmations:li(e,t),appendedRowsOwed:e.appendedRowsOwed.filter(e=>!s.has(e)),pendingRefetch:!0}}function Gi(e,t,n,r){let i=n.get(t.id);if(i===void 0)return[...e,t];let a=e.findIndex(e=>{let t=n.get(e.id);return t!==void 0&&t>i}),o=r!==null&&!n.has(r)?e.findIndex(e=>e.id===r):-1,s=a>=0?a:o;return s<0?[...e,t]:[...e.slice(0,s),t,...e.slice(s)]}function Ki(e,t,n){if(e.messages===t.messages)return t;let r=new Set(e.messages.map(e=>e.id)),i,a=!1,o=t.messages.map(e=>r.has(e.id)||e.createdAt!==void 0?e:(i===void 0&&(i=new Date(n()).toISOString()),a=!0,{...e,createdAt:i}));return a?{...t,messages:o}:t}var qi=/\S/,Ji={content:e=>qi.test(e.content),thinkingText:e=>e.effort!==void 0&&mn(e.effort)&&e.thinkingText!==void 0&&e.thinkingText.length>0,toolCalls:e=>e.toolCalls!==void 0&&e.toolCalls.length>0,toolResults:(e,t)=>e.toolResults!==void 0&&e.toolResults.some(e=>t.isRenderableToolResult(e.result)),blocks:e=>e.blocks!==void 0&&e.blocks.length>0,pendingActionStatus:e=>e.pendingActionStatus!==void 0,attachments:e=>e.attachments!==void 0&&e.attachments.length>0};function Yi(e,t){return Object.values(Ji).some(n=>n(e,t))}var Xi={conversationPermissionMode:null,permissionModeLane:null,completedPermissionModeLaneIds:/* @__PURE__ */ new Set};function Zi(e){return e.isStreaming||e.permissionModeLane!==null||e.replyingTo!==null||e.waitingFor!==null||e.pendingConfirmations.some(e=>e.agentThreadId===void 0)}function Qi(e,t){return e===null||t.permissionModeVersion>e.permissionModeVersion}function $i(e,t){return t.conversationId!==e.conversationId||!Qi(e.conversationPermissionMode,t)?e:{...e,conversationPermissionMode:{permissionMode:t.permissionMode,permissionModeVersion:t.permissionModeVersion}}}function ea(e,t){return e===null?void 0:e.calls.find(e=>e.toolCallId===t)}function ta(e,t){let n=e.completedPermissionModeLaneIds;return n.has(t)?n:new Set(n).add(t)}function na(e,t){let{decisionLaneId:n,toolCallId:r}=t;if(e.completedPermissionModeLaneIds.has(n))return e;let i=e.permissionModeLane,a=i!==null&&i.decisionLaneId!==n,o=i===null||a?{decisionLaneId:n,calls:[]}:i,s=a&&i!==null?ta(e,i.decisionLaneId):e.completedPermissionModeLaneIds;if(e.answeredToolCallIds.includes(r)||o.calls.some(e=>e.toolCallId===r))return o===i?e:{...e,permissionModeLane:o,completedPermissionModeLaneIds:s};let c=qr(e);return{...e,permissionModeLane:{decisionLaneId:o.decisionLaneId,calls:[...o.calls,{toolCallId:r,offer:t,outcome:null,handedBack:!1}]},completedPermissionModeLaneIds:s,confirmationAnchors:{...e.confirmationAnchors,[r]:c},confirmationStepAnchorId:c}}function ra(e,t){let n=e.permissionModeLane,r=ea(n,t);return n===null||r===void 0||r.handedBack?e:{...e,permissionModeLane:{...n,calls:n.calls.map(e=>e.toolCallId===t?{...e,handedBack:!0}:e)}}}function ia(e,t,n){let r=e.permissionModeLane,i=ea(r,t);return r===null||i===void 0||i.outcome===n?e:{...e,permissionModeLane:{...r,calls:r.calls.map(e=>e.toolCallId===t?{...e,outcome:n}:e)}}}function aa(e,t){let n=e.permissionModeLane;return n===null||n.decisionLaneId!==t?e:{...e,permissionModeLane:null,completedPermissionModeLaneIds:ta(e,t)}}function oa(e){let t=e.permissionModeLane;if(t===null)return e;let n=new Set(e.pendingConfirmations.map(e=>e.toolCallId)),r=t.calls.filter(t=>t.outcome===null&&!t.handedBack&&!n.has(t.toolCallId)&&!e.answeredToolCallIds.includes(t.toolCallId)).map(t=>{let n=e.confirmationAnchors[t.toolCallId];return Jr(t.offer,n===void 0?null:n)});return{...e,pendingConfirmations:r.length===0?e.pendingConfirmations:[...e.pendingConfirmations,...r],permissionModeLane:null,completedPermissionModeLaneIds:ta(e,t.decisionLaneId)}}function sa(e,t){var n;let r=e.conversationPermissionMode;if(t.permissionMode!==void 0&&t.permissionModeVersion!==void 0){if(t.permissionMode===null||t.permissionModeVersion===null)r=null;else{let e={permissionMode:t.permissionMode,permissionModeVersion:t.permissionModeVersion};Qi(r,e)&&(r=e)}}let i=e.permissionModeLane,a=i!==null&&((n=t.decisionLaneCompletedIds)==null?void 0:n.includes(i.decisionLaneId))===!0;return{conversationPermissionMode:r,permissionModeLane:a?null:i,completedPermissionModeLaneIds:a&&i!==null?ta(e,i.decisionLaneId):e.completedPermissionModeLaneIds}}function ca(e){return!e.pendingSend&&!e.isStreaming}var la=[`agent_question`,`workflow_lead`],ua={messages:[],isStreaming:!1,thinkingText:``,providerWait:null,...Vr,...Xi,pendingMessageBlocks:{},error:null,conversationId:null,streamingMessageId:null,followUpPlaceholderId:null,replyingTo:null,waitingFor:null,turnWaitRevision:0,thinkingStartedAt:null,pendingSend:!1,pendingRefetch:!1,appendedRowsOwed:[],ignoredContinuationGeneration:!1,ignoredHydratedReplayMessageId:null,historyWindow:wi},da={thinkingText:``,thinkingStartedAt:null},fa=/* @__PURE__ */ new Set([`text-delta`,`text-done`,`reasoning-delta`,`reasoning-done`,`object-partial`,`object-complete`,`tool-call-start`,`tool-call-input-progress`,`tool-call-complete`,`tool-result`,`tool-running`,`action-required`,`question`,`message-start`,`done`,`error`]);function pa(e,t){return e.providerWait===null||!fa.has(t.type)?e:{...e,providerWait:null}}function ma(e,t){if(e.streamingMessageId===null)return e;let n=e.streamingMessageId;return{...e,messages:e.messages.map(e=>e.id===n?t(e):e)}}function ha(e,t){let{replyingTo:n}=e;if(n===null)return!1;if(n.inputMessageId!==null){let{inputMessageId:r}=n,i=e.messages.findIndex(e=>e.id===r);if(i<0||t<=i)return!1}return e.messages[t].role===`assistant`&&e.messages.slice(t+1).every(e=>e.role!==`assistant`)}function ga(e){return typeof e==`object`&&!!e&&`mode`in e&&e.mode===`preview_confirm`&&`changeSetId`in e&&typeof e.changeSetId==`string`&&`projectId`in e&&typeof e.projectId==`string`}function _a(e,t){return e.kind===`run_wait`&&typeof e.payload==`object`&&e.payload!==null&&`toolCallId`in e.payload&&e.payload.toolCallId===t}function va(e,t,n){for(let r=e.length-1;r>=0;--r){let i=e[r];if((i==null?void 0:i.id)===t&&n(i))return!0}return!1}function ya(e,t){let n=e[t];return typeof n==`string`?n:void 0}function ba(e,t){let n=e[t];return typeof n==`object`&&n&&!Array.isArray(n)?n:void 0}function xa(e,t){let n=e[t];return typeof n==`number`&&Number.isInteger(n)&&n>=0?n:void 0}function Sa(e){return e.pendingRefetch?e:{...e,pendingRefetch:!0}}function Ca(e,t){let n=e.followUpPlaceholderId;return n===null?t:{...t,error:null,isStreaming:!0,streamingMessageId:n,pendingSend:!0,followUpPlaceholderId:null}}function wa(e,t){return{...e,followUpPlaceholderId:null,messages:e.messages.filter(e=>e.id!==t)}}function Ta(e){return{replyingTo:null,pendingRefetch:e.pendingRefetch||e.replyingTo!==null}}function Ea(e){let t=ya(e,`errorCode`),n=ya(e,`providerErrorCode`),r=ba(e,`params`);return{code:e.code,message:e.message,...t===void 0?{}:{errorCode:t},...n===void 0?{}:{providerErrorCode:n},...r===void 0?{}:{params:r}}}function Da(e,t){switch(t.type){case`conversation-permission-mode`:return $i(e,t);case`action-required`:{if(t.decidedBy!==`permission_mode`)return null;let n=e.ignoredHydratedReplayMessageId,r=n===null?e:{...e,confirmationStepAnchorId:n},i=na(r,t);return i===r?e:i}case`decision-complete`:return e.permissionModeLane!==null&&e.permissionModeLane.decisionLaneId===t.decisionLaneId?aa(e,t.decisionLaneId):null;default:return null}}function Oa(e,t,n){let r=Da(e,t);if(r!==null)return r;let i=ai(e,t);if(i!==null)return i;if(e.ignoredContinuationGeneration&&t.type!==`message-start`&&t.type!==`block-upsert`&&t.type!==`message-appended`&&(e.ignoredHydratedReplayMessageId===null||t.type!==`action-required`&&t.type!==`action-resolved`))return t.type===`done`?{...e,ignoredContinuationGeneration:!1,ignoredHydratedReplayMessageId:null,waitingFor:di(t,e.ignoredHydratedReplayMessageId)}:e;switch(t.type){case`text-delta`:return ma(e,e=>({...e,content:e.content+t.text}));case`reasoning-delta`:return{...e,thinkingText:e.thinkingText+t.text,thinkingStartedAt:e.thinkingStartedAt??Date.now()};case`reasoning-done`:{let t=e.thinkingStartedAt?Math.round((Date.now()-e.thinkingStartedAt)/1e3):0;return{...ma(e,n=>({...n,thinkingText:e.thinkingText,thinkingDuration:t})),thinkingText:``,thinkingStartedAt:null}}case`conversation-started`:return{...e,conversationId:t.conversationId};case`provider-wait`:return t.open?{...e,providerWait:{attempt:t.attempt,maxAttempts:t.maxAttempts,providerStatus:t.providerStatus,since:t.since,nextAttemptAt:t.nextAttemptAt}}:e.providerWait===null?e:{...e,providerWait:null};case`message-start`:{if(t.replaceExisting===!0){let n=e.messages.findIndex(e=>e.id===t.messageId);if(n>=0)return{...e,...da,isStreaming:!0,streamingMessageId:t.messageId,waitingFor:null,error:null,ignoredContinuationGeneration:!1,ignoredHydratedReplayMessageId:null,messages:e.messages.map((e,t)=>t===n?{...e,content:``}:e)}}if(Ur(e,t.messageId))return ca(e)?{...e,ignoredContinuationGeneration:!0,ignoredHydratedReplayMessageId:t.messageId}:e;let n=e.messages.findIndex(e=>e.id===t.messageId);if(n>=0&&!e.isStreaming){let r=e.messages[n];if(r.content.length>0&&!ha(e,n))return{...e,ignoredContinuationGeneration:!0,ignoredHydratedReplayMessageId:t.messageId};if(r.role===`assistant`)return{...e,...da,isStreaming:!0,streamingMessageId:t.messageId,waitingFor:null,ignoredContinuationGeneration:!1,ignoredHydratedReplayMessageId:null,messages:e.messages.map((e,t)=>t===n?{id:e.id,role:`assistant`,content:``,...e.createdAt!==void 0&&{createdAt:e.createdAt},...e.effort!==void 0&&{effort:e.effort},...e.blocks!==void 0&&{blocks:e.blocks}}:e)}}if(!e.isStreaming&&e.followUpPlaceholderId!==null){let n=e.followUpPlaceholderId;return{...e,...da,isStreaming:!0,streamingMessageId:t.messageId,waitingFor:null,pendingSend:!0,followUpPlaceholderId:null,ignoredContinuationGeneration:!1,ignoredHydratedReplayMessageId:null,messages:e.messages.map(e=>e.id===n?{...e,id:t.messageId}:e)}}if(e.streamingMessageId&&e.messages.some(t=>t.id===e.streamingMessageId))return{...e,...da,isStreaming:!0,streamingMessageId:t.messageId,waitingFor:null,ignoredContinuationGeneration:!1,ignoredHydratedReplayMessageId:null,messages:e.messages.map(n=>n.id===e.streamingMessageId?{...n,id:t.messageId}:n)};let r=(()=>{let t=[...e.messages].reverse().find(e=>e.role===`user`);return t==null?void 0:t.effort})();return{...e,...da,isStreaming:!0,streamingMessageId:t.messageId,waitingFor:null,ignoredContinuationGeneration:!1,ignoredHydratedReplayMessageId:null,messages:[...e.messages,{id:t.messageId,role:`assistant`,content:``,...r!==void 0&&{effort:r}}]}}case`tool-call-complete`:{let n=xa(t,`contentOffset`);return ma(e,e=>({...e,toolCalls:[...e.toolCalls??[],{toolCallId:t.toolCallId,toolName:t.toolName,...t.title!==void 0&&{title:t.title},...t.effect!==void 0&&{effect:t.effect},...t.operationTitles!==void 0&&{operationTitles:t.operationTitles},args:t.args,...n===void 0?{}:{contentOffset:n}}]}))}case`tool-result`:{let n=ma(e,e=>({...e,toolResults:[...e.toolResults??[],{toolCallId:t.toolCallId,result:t.result}]}));return!ga(t.result)||e.streamingMessageId===null?n:{...n,confirmationAnchors:{...n.confirmationAnchors,[t.toolCallId]:e.streamingMessageId}}}case`action-required`:{let n=ra(e,t.toolCallId),r=n.ignoredHydratedReplayMessageId,i=Gr(r===null?n:{...n,confirmationStepAnchorId:r},t);return i.kind===`redelivered`?n:Ca(e,{...n,...da,...i.confirmation,isStreaming:!1,streamingMessageId:null,pendingSend:!1})}case`action-resolved`:{let n=ia(e,t.toolCallId,t.status);if(t.status===`applied`||t.status===`partially_applied`||(n.pendingMessageBlocks[t.messageId]??[]).some(e=>_a(e,t.toolCallId))||va(n.messages,t.messageId,e=>{var n,r;return((n=e.toolResults)==null?void 0:n.some(e=>e.toolCallId===t.toolCallId&&ga(e.result)))===!0||((r=e.blocks)==null?void 0:r.some(e=>_a(e,t.toolCallId)))===!0})){let e={...n.confirmationAnchors};return delete e[t.toolCallId],{...n,confirmationAnchors:e,...Br(n,t.toolCallId)}}return{...n,...$r(n,t)}}case`block-upsert`:return Ci(e,t);case`message-appended`:return Ui(e,t);case`done`:{let n={...e,...da,isStreaming:!1,streamingMessageId:null,pendingSend:!1,waitingFor:null,...Ta(e)};if(e.followUpPlaceholderId!==null)return Ca(e,n);let r=ei(e);return{...n,...r,pendingRefetch:r.pendingRefetch||n.pendingRefetch,waitingFor:di(t,e.streamingMessageId)}}case`error`:{let r={...e,...da,error:Ea(t),isStreaming:!1,streamingMessageId:null,pendingSend:!1,waitingFor:null,...Ta(e),messages:e.messages.filter(t=>!(t.id===e.streamingMessageId&&t.role===`assistant`&&!Yi(t,n)))};if(e.followUpPlaceholderId!==null)return Ca(e,r);let i=ei(e);return{...r,...i,pendingRefetch:i.pendingRefetch||r.pendingRefetch}}default:return e}}function ka(e){let t=e.now??(()=>Date.now());return(e,t)=>gi(e,n(e,t),t);function n(n,r){switch(r.type){case`EVENT`:{let i=Oa(n,r.payload,e),a=pa(i,r.payload),o=r.payload.type===`message-start`&&i!==n?Si(a):a;return r.payload.type===`message-start`||r.payload.type===`action-resolved`?Ki(n,o,t):o}case`USER_MESSAGE`:{let{id:e,content:i,effort:a,attachments:o}=r.payload;return{...n,error:null,pendingSend:!0,...Yr(n),messages:[...n.messages,{id:e,role:`user`,content:i,createdAt:new Date(t()).toISOString(),...a!==void 0&&{effort:a},...o.length>0&&{attachments:o}}]}}case`ASSISTANT_PLACEHOLDER`:{let{id:e,effort:t}=r.payload;if(n.isStreaming||n.replyingTo!==null||n.waitingFor!==null){let r=n.followUpPlaceholderId;return{...n,error:null,followUpPlaceholderId:e,messages:[...r===null?n.messages:n.messages.filter(e=>e.id!==r),{id:e,role:`assistant`,content:``,...t!==void 0&&{effort:t}}]}}let i=n.messages[n.messages.length-1],a=t===void 0?(i==null?void 0:i.role)===`user`?i.effort:void 0:t;return{...n,error:null,...da,messages:[...n.messages,{id:e,role:`assistant`,content:``,...a!==void 0&&{effort:a}}],isStreaming:!0,streamingMessageId:e}}case`CONFIRM_ACTION`:case`REJECT_ACTION`:return Xr(n,r.toolCallId);case`CHILD_DECISION_ENDED`:return ui(n,r.toolCallId);case`FOLLOW_UP_DROPPED`:{let e=n.followUpPlaceholderId;return e===null?n:wa(n,e)}case`STOP_ACCEPTED`:return n.waitingFor===null?n:{...n,waitingFor:null};case`FOLLOW_UP_FAILED`:{let t=n.followUpPlaceholderId;if(t===null)return Oa(n,r.payload,e);let i=r.payload,a=wa(n,t);return{...a,pendingConfirmations:a.pendingConfirmations.some(e=>e.status===`rejecting`)?a.pendingConfirmations.map(e=>e.status===`rejecting`?{...e,status:`open`}:e):a.pendingConfirmations,...i.type===`error`?{error:Ea(i)}:{}}}case`CONVERSATION_PERMISSION_MODE`:return $i(n,r.payload);case`PERMISSION_MODE_LANE_EXPIRED`:return oa(n);case`HYDRATE_HISTORY`:{if(r.payload.conversationId!==n.conversationId)return n;if(!ca(n)||r.payload.readDuringTurn===!0)return Wi(n,r.payload)??Sa(n);if(!ni(n,r.payload))return Sa(n);let{historyWindow:e}=r.payload,t=e===void 0?{messages:r.payload.messages,historyWindow:Li(n),unvouchedMessageIds:/* @__PURE__ */ new Set}:Ni(n,{messages:r.payload.messages,...e}),i=ji(n.messages,Ii(xi(t.messages,n),t.unvouchedMessageIds)),a=new Set(i.map(e=>e.id)),o=Object.fromEntries(Object.entries(n.pendingMessageBlocks).filter(([e])=>!a.has(e))),s=e===void 0?o:Ri(o);return{...ua,conversationId:n.conversationId,...ii(n,r.payload),...sa(n,r.payload),messages:i,replyingTo:r.payload.replyingTo,waitingFor:hi(n,r.payload),providerWait:r.payload.providerWait??null,pendingMessageBlocks:s,appendedRowsOwed:n.appendedRowsOwed.filter(e=>!a.has(e)),historyWindow:t.historyWindow}}case`PREPEND_OLDER_HISTORY`:return zi(n,r.payload).kind===`apply`?{...n,...Bi(n,r.payload)}:n;case`BIND_CONVERSATION`:return n.conversationId===r.payload.conversationId?n:{...ua,conversationId:r.payload.conversationId};case`ADOPT_CONVERSATION`:return n.conversationId===null?{...n,conversationId:r.payload.conversationId}:n;case`RESET`:{let e=r.payload===void 0?null:r.payload.conversationId;return{...ua,conversationId:e}}default:return n}}}var Aa=class extends Error{constructor(e,t){super(`Chat command ${t} failed: ${e}`),this.name=`ChatTransportError`,this.code=e,this.requestId=t}};function ja(e){return e instanceof Aa}var Ma=3e4,Na=class extends Error{constructor(e){super(`Chat capability load exceeded ${e}ms`),this.name=`CapabilityLoadTimeoutError`,this.timeoutMs=e}};function Pa(e){return e instanceof Na}function Fa(e,t,n){let r=null,i=new Promise((e,i)=>{r=t.setTimeout(()=>i(new Na(n)),n)});return Promise.race([e,i]).finally(()=>{r!==null&&t.clearTimeout(r)})}function Ia(e){return e.status===`ready`}function La(e){return e.connectionStatus===`lost`||e.connectionStatus===`failed`?!1:e.isStreaming||Ia(e.capabilityLoad)}var Ra=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},j=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},za,Ba,Va,Ha,Ua,Wa,Ga,Ka,qa,Ja=class{constructor(e){za.add(this),Ba.set(this,void 0),Va.set(this,{value:null,failed:!1}),Ha.set(this,0),Ua.set(this,0),Wa.set(this,null),Ga.set(this,!1),Ra(this,Ba,e,`f`)}refresh(e={}){var t,n;if(!j(this,za,`m`,Ka).call(this))return Promise.resolve();if(!e.force&&((t=j(this,Wa,`f`))==null?void 0:t.epoch)===j(this,Ha,`f`))return j(this,Wa,`f`).done;let r=Ra(this,Ha,(n=j(this,Ha,`f`),++n),`f`);j(this,Va,`f`).failed&&j(this,za,`m`,qa).call(this,{...j(this,Va,`f`),failed:!1});let i=()=>j(this,za,`m`,Ka).call(this)&&r===j(this,Ha,`f`),a={epoch:r,done:j(this,Ba,`f`).read().then(e=>{i()&&j(this,za,`m`,qa).call(this,{value:e,failed:!1})},e=>{j(this,Ba,`f`).onReadError(e),i()&&j(this,za,`m`,qa).call(this,{value:null,failed:!0})}).finally(()=>{j(this,Wa,`f`)===a&&Ra(this,Wa,null,`f`)})};return Ra(this,Wa,a,`f`),a.done}rereadStale(){var e;return j(this,za,`m`,Ka).call(this)?(Ra(this,Ha,(e=j(this,Ha,`f`),++e),`f`),j(this,za,`m`,qa).call(this,{value:null,failed:!1}),this.refresh()):Promise.resolve()}select(e){var t;j(this,za,`m`,Ka).call(this)&&(Ra(this,Ha,(t=j(this,Ha,`f`),++t),`f`),j(this,za,`m`,qa).call(this,{value:e,failed:!1}))}beginWrite(){var e;return Ra(this,Ua,(e=j(this,Ua,`f`),++e),`f`)}commitWrite(e,t){var n;j(this,za,`m`,Ka).call(this)&&(Ra(this,Ha,(n=j(this,Ha,`f`),++n),`f`),e===j(this,Ua,`f`)&&j(this,za,`m`,qa).call(this,{value:t,failed:!1}))}dispose(){var e;Ra(this,Ga,!0,`f`),Ra(this,Ha,(e=j(this,Ha,`f`),++e),`f`)}};Ba=/* @__PURE__ */ new WeakMap,Va=/* @__PURE__ */ new WeakMap,Ha=/* @__PURE__ */ new WeakMap,Ua=/* @__PURE__ */ new WeakMap,Wa=/* @__PURE__ */ new WeakMap,Ga=/* @__PURE__ */ new WeakMap,za=/* @__PURE__ */ new WeakSet,Ka=function(){var e,t;return!j(this,Ga,`f`)&&(((e=(t=j(this,Ba,`f`)).isActive)==null?void 0:e.call(t))??!0)},qa=function(e){Ra(this,Va,e,`f`),j(this,Ba,`f`).onChange(e)};function Ya(){return globalThis.crypto.randomUUID()}function Xa(e){return e instanceof Error?e.message:String(e)}var Za=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},M=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Qa,N,$a,eo,to,no,ro,io,ao={status:`idle`};function oo(e,t){return e.status===`idle`||e.conversationId!==t?{status:`idle`}:e.status===`writing`?{status:`writing`}:{status:`failed`,attempted:e.attempted}}function so(e){let{conversationId:t,permissionModeWrite:n}=e,r=oo(n,t),i=r.status===`writing`&&n.status===`writing`?n.target:null;if(t!==null){let n=e.conversationPermissionMode;return n===null?{kind:`unknown`,read:`loading`}:{kind:`known`,scope:`conversation`,conversationId:t,value:i===null?n.permissionMode:i,version:n.permissionModeVersion,write:r}}let a=e.lastPermissionMode;return a===null?{kind:`unknown`,read:e.lastPermissionModeReadFailed?`failed`:`loading`}:{kind:`known`,scope:`last-choice`,conversationId:null,value:i===null?a:i,version:null,write:r}}var co=class{constructor(e){Qa.add(this),N.set(this,void 0),$a.set(this,void 0),eo.set(this,0),to.set(this,null),Za(this,N,e,`f`),Za(this,$a,new Ja({read:()=>e.deps.permissionModes.readLastChoice(),isActive:()=>!e.isDisposed(),onChange:({value:t,failed:n})=>{(e.store.state.lastPermissionMode!==t||e.store.state.lastPermissionModeReadFailed!==n)&&e.store.update({lastPermissionMode:t,lastPermissionModeReadFailed:n})},onReadError:t=>e.deps.logger.warn(`ChatSession: last permission mode read failed`,{event:`chat.permission_mode.last_choice_read_failed`,error:Xa(t)})}),`f`)}view(){return M(this,N,`f`).store.getSnapshot().permissionMode}async settledNewConversationMode(e){if(M(this,to,`f`)===null)return e;for(;M(this,to,`f`)!==null;)await M(this,to,`f`);let t=this.view();return t.kind===`known`&&t.scope===`last-choice`?t.value:null}refresh(){let{store:e}=M(this,N,`f`);M(this,N,`f`).isDisposed()||e.state.conversationId!==null||M(this,$a,`f`).refresh()}rereadStale(){let{store:e}=M(this,N,`f`);M(this,N,`f`).isDisposed()||e.state.conversationId!==null||M(this,$a,`f`).rereadStale()}set(e){if(M(this,N,`f`).isDisposed())return;let t=this.view();if(t.kind===`unknown`||t.write.status===`writing`)return;if(t.value===e){t.write.status===`failed`&&this.dismissFailure();return}Za(this,eo,M(this,eo,`f`)+1,`f`);let n=M(this,eo,`f`),{conversationId:r}=t;M(this,N,`f`).store.update({permissionModeWrite:{status:`writing`,seq:n,conversationId:r,target:e}}),r===null?M(this,Qa,`m`,ro).call(this,n,e):M(this,Qa,`m`,no).call(this,n,r,e)}retry(){let e=M(this,N,`f`).store.state.permissionModeWrite;e.status===`failed`&&e.conversationId===M(this,N,`f`).store.state.conversationId&&(M(this,N,`f`).store.update({permissionModeWrite:ao}),this.set(e.attempted))}dismissFailure(){M(this,N,`f`).store.state.permissionModeWrite.status===`failed`&&M(this,N,`f`).store.update({permissionModeWrite:ao})}};N=/* @__PURE__ */ new WeakMap,$a=/* @__PURE__ */ new WeakMap,eo=/* @__PURE__ */ new WeakMap,to=/* @__PURE__ */ new WeakMap,Qa=/* @__PURE__ */ new WeakSet,no=function(e,t,n){let{deps:r}=M(this,N,`f`),i=M(this,$a,`f`).beginWrite();r.permissionModes.setConversationMode(t,n).then(n=>{M(this,N,`f`).isDisposed()||(M(this,N,`f`).dispatch({type:`CONVERSATION_PERMISSION_MODE`,payload:{conversationId:t,...n}}),M(this,$a,`f`).commitWrite(i,n.permissionMode),M(this,Qa,`m`,io).call(this,e,ao))},i=>{M(this,N,`f`).isDisposed()||(r.logger.warn(`ChatSession: conversation permission mode write failed`,{conversationId:t,error:Xa(i)}),M(this,Qa,`m`,io).call(this,e,{status:`failed`,conversationId:t,attempted:n}))})},ro=function(e,t){let{deps:n}=M(this,N,`f`),r=M(this,$a,`f`).beginWrite(),i=n.permissionModes.writeLastChoice(t).then(t=>{M(this,N,`f`).isDisposed()||(M(this,$a,`f`).commitWrite(r,t),M(this,Qa,`m`,io).call(this,e,ao))},r=>{M(this,N,`f`).isDisposed()||(n.logger.warn(`ChatSession: last permission mode write failed`,{error:Xa(r)}),M(this,Qa,`m`,io).call(this,e,{status:`failed`,conversationId:null,attempted:t}),M(this,N,`f`).store.state.conversationId===null&&M(this,$a,`f`).refresh({force:!0}))}).finally(()=>{M(this,to,`f`)===i&&Za(this,to,null,`f`)});Za(this,to,i,`f`)},io=function(e,t){let n=M(this,N,`f`).store.state.permissionModeWrite;n.status===`writing`&&n.seq===e&&M(this,N,`f`).store.update({permissionModeWrite:t})};function lo(e,t){return e===t}function uo(e,t){return t!==null&&t===e}function fo(e,t){return e!==t&&e!==null}function po(e,t,n){return e||t?!1:n!==void 0&&n.role===`user`&&n.content.trim()!==``}function mo(e){for(let t=e.length-1;t>=0;--t){let n=e[t];if(n!==void 0&&n.role===`user`)return n.content.trim()===``?void 0:n}}var ho=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},P=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},go,_o,vo,yo,bo,xo,So,Co,wo,To,Eo,Do,Oo=class{constructor(e,t,n,r){go.add(this),_o.set(this,void 0),vo.set(this,void 0),yo.set(this,void 0),bo.set(this,void 0),xo.set(this,0),So.set(this,null),Co.set(this,0),wo.set(this,0),To.set(this,0),Eo.set(this,null),ho(this,_o,e,`f`),ho(this,vo,t,`f`),ho(this,yo,n,`f`),ho(this,bo,r,`f`)}get generation(){return P(this,xo,`f`)}get catchUpInFlight(){return P(this,Co,`f`)>0}noteRowAnnounced(){ho(this,Eo,P(this,wo,`f`),`f`)}get rowsOwed(){return P(this,Eo,`f`)!==null&&P(this,Eo,`f`)>=P(this,To,`f`)}select(e,t){let{store:n,stallGuard:r,deps:i}=P(this,_o,`f`),a=n.state.conversationId;if(e!==null&&e===a)return;let o=n.state.projectId;if(e!==null&&o===null){i.logger.error(`ChatSession: selection of a conversation with no project`,{conversationId:e});return}r.disarm(),ho(this,xo,P(this,xo,`f`)+1,`f`),ho(this,Co,0,`f`),ho(this,Eo,null,`f`),P(this,vo,`f`).call(this);let s={historyLoad:{status:`idle`},restoredQuestionBatchIds:[],commandFailures:[],permissionModeWrite:ao,olderHistoryRead:`idle`};e===null?(ho(this,So,null,`f`),P(this,_o,`f`).dispatch({type:`RESET`,payload:{conversationId:null}}),n.update({conversationId:null,...s}),i.transport.close(),P(this,bo,`f`).call(this)):(ho(this,So,t===`stream-created`?e:null,`f`),P(this,_o,`f`).dispatch(t===`stream-created`?{type:`ADOPT_CONVERSATION`,payload:{conversationId:e}}:{type:`BIND_CONVERSATION`,payload:{conversationId:e}}),n.update({conversationId:e,...s}),o!==null&&i.transport.open({conversationId:e,projectId:o,...i.open}).catch(t=>{i.logger.error(`ChatSession: transport.open failed`,{conversationId:e,error:Xa(t)})}),t===`load-history`&&!uo(e,P(this,So,`f`))&&this.readHistory(e,`selection`))}async readHistory(e,t){let{store:n,deps:r}=P(this,_o,`f`),i=P(this,xo,`f`);ho(this,wo,P(this,wo,`f`)+1,`f`);let a=P(this,wo,`f`),o=()=>!P(this,_o,`f`).isDisposed()&&i===P(this,xo,`f`)&&lo(e,n.state.conversationId);t===`selection`?n.update({historyLoad:{status:`loading`,conversationId:e}}):ho(this,Co,P(this,Co,`f`)+1,`f`);let s=n.state.chat.reofferedToolCallIds,c=!ca(n.state.chat),l=n.state.chat.turnWaitRevision,u;try{u=await r.conversations.loadLatest(e,{decisionLaneId:P(this,yo,`f`).currentLaneId(),outstandingCallIds:n.state.chat.pendingConfirmations.map(e=>e.toolCallId)})}catch(i){return o()?(r.logger.error(`ChatSession: history read failed`,{conversationId:e,mode:t,error:Xa(i)}),P(this,go,`m`,Do).call(this,a,e,t,null)?{outcome:`superseded`}:(t===`catch-up`||(this.select(null,`load-history`),n.update({historyLoad:{status:`failed`,conversationId:e,error:i}})),{outcome:`failed`})):{outcome:`left`}}finally{t===`catch-up`&&i===P(this,xo,`f`)&&ho(this,Co,P(this,Co,`f`)-1,`f`)}if(!o())return{outcome:`left`};if(u.kind===`not-found`)return this.conversationGone(e),{outcome:`failed`};let{page:d}=u;if(P(this,go,`m`,Do).call(this,a,e,t,d))return{outcome:`superseded`};ho(this,To,a,`f`),t===`selection`&&n.update({historyLoad:{status:`idle`},restoredQuestionBatchIds:d.messages.flatMap(vi).map(e=>e.id)});let{windowFirstMessageId:f,olderCursor:p,filesBefore:m,...h}=d;return P(this,_o,`f`).dispatch({type:`HYDRATE_HISTORY`,payload:{...h,historyWindow:{windowFirstMessageId:f,olderCursor:p,filesBefore:m},conversationId:e,reofferedBeforeRead:s,readDuringTurn:c,waitRevisionAtRead:l}}),P(this,yo,`f`).onPageLanded(d),{outcome:`applied`,replyingTo:d.replyingTo}}conversationGone(e){let{store:t,deps:n}=P(this,_o,`f`);n.logger.warn(`ChatSession: conversation no longer exists \u2014 forgotten`,{conversationId:e});let r=t.state.projectId;r!==null&&n.memory.forget(r).catch(e=>{n.logger.error(`ChatSession: memory.forget failed`,{projectId:r,error:Xa(e)})}),this.select(null,`load-history`)}};_o=/* @__PURE__ */ new WeakMap,vo=/* @__PURE__ */ new WeakMap,yo=/* @__PURE__ */ new WeakMap,bo=/* @__PURE__ */ new WeakMap,xo=/* @__PURE__ */ new WeakMap,So=/* @__PURE__ */ new WeakMap,Co=/* @__PURE__ */ new WeakMap,wo=/* @__PURE__ */ new WeakMap,To=/* @__PURE__ */ new WeakMap,Eo=/* @__PURE__ */ new WeakMap,go=/* @__PURE__ */ new WeakSet,Do=function(e,t,n,r){return e>=P(this,To,`f`)?!1:(P(this,_o,`f`).deps.logger.debug(`ChatSession: history page superseded by a newer read`,{conversationId:t,mode:n,read:e,newestLandedRead:P(this,To,`f`)}),n===`selection`&&P(this,_o,`f`).store.update({historyLoad:{status:`idle`},...r===null?{}:{restoredQuestionBatchIds:r.messages.flatMap(vi).map(e=>e.id)}}),!0)};var ko=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Ao=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},jo,Mo,No=class{constructor(e,t){jo.set(this,void 0),Mo.set(this,void 0),ko(this,jo,e,`f`),ko(this,Mo,t,`f`)}load(){let{store:e,deps:t}=Ao(this,jo,`f`),{conversationId:n,chat:r,olderHistoryRead:i}=e.state;if(Ao(this,jo,`f`).isDisposed()||n===null||i===`loading`)return;let a=r.historyWindow.olderCursor;if(a===null)return;let o=Ao(this,Mo,`f`).generation,s=r.historyWindow.revision,c=()=>!Ao(this,jo,`f`).isDisposed()&&o===Ao(this,Mo,`f`).generation&&e.state.conversationId===n;e.update({olderHistoryRead:`loading`}),t.conversations.loadOlder(n,a).then(r=>{if(!c())return;if(r.kind===`not-found`){Ao(this,Mo,`f`).conversationGone(n);return}let i={conversationId:n,windowRevision:s,cursor:a,messages:r.page.messages,olderCursor:r.page.olderCursor},o=zi(e.state.chat,i);o.kind===`overlap`?(t.logger.error(`ChatSession: older history page overlaps the drawn rows \u2014 dropped`,{conversationId:n,overlappingIds:o.overlappingIds}),e.update({olderHistoryRead:`failed`})):(o.kind===`stale`?t.logger.debug(`ChatSession: older history page predates the window \u2014 dropped`,{conversationId:n,windowRevision:s,currentRevision:e.state.chat.historyWindow.revision}):Ao(this,jo,`f`).dispatch({type:`PREPEND_OLDER_HISTORY`,payload:i}),e.update({olderHistoryRead:`idle`}))},r=>{c()&&(t.logger.error(`ChatSession: older history read failed`,{conversationId:n,error:Xa(r)}),e.update({olderHistoryRead:`failed`}))})}};jo=/* @__PURE__ */ new WeakMap,Mo=/* @__PURE__ */ new WeakMap;var Po={streamStalled:`client.stream_stalled`,connectionLostDuringStream:`client.connection_lost_during_stream`,turnHeldUnsent:`client.turn_held_unsent`,permissionModeChanged:`client.permission_mode_changed`};function Fo(e){return e}function Io(e,t){return Fo({type:`error`,code:`internal`,message:t,fatal:!1,category:e===Po.streamStalled?`transient`:`persistent`,errorCode:e})}function Lo(){return Io(Po.streamStalled,`stream made no progress`)}function Ro(e){return Fo({type:`error`,code:e.errorCode,message:e.errorMessage===null?`chat-send rejected: ${e.errorCode}`:e.errorMessage,fatal:!1,category:`persistent`,errorCode:e.errorCode})}function zo(){return{type:`done`,totalCreditsUsed:0}}var Bo=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Vo=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Ho,Uo,Wo,Go,Ko=class{constructor(e,t,n){Ho.set(this,void 0),Uo.set(this,void 0),Wo.set(this,void 0),Go.set(this,!1),Bo(this,Ho,e,`f`),Bo(this,Uo,t,`f`),Bo(this,Wo,n,`f`)}get answerShown(){let{chat:e}=Vo(this,Ho,`f`).store.state;return e.isStreaming||e.pendingSend||e.replyingTo!==null||e.waitingFor!==null}verify(e){let{store:t,deps:n,stallGuard:r}=Vo(this,Ho,`f`),i=t.state.conversationId;if(Vo(this,Go,`f`)||i===null)return;Bo(this,Go,!0,`f`);let a=Vo(this,Wo,`f`).hasTurnAwaitingAck()||t.state.turnCreatePending;n.logger.debug(`ChatSession: asking the server whether the answer is alive`,{conversationId:i,trigger:e}),Vo(this,Uo,`f`).readHistory(i,`catch-up`).then(o=>{if(Bo(this,Go,!1,`f`),Vo(this,Ho,`f`).isDisposed()||t.state.conversationId!==i||o.outcome===`left`)return;if(o.outcome!==`applied`||o.replyingTo!==null||a||Vo(this,Wo,`f`).hasTurnAwaitingAck()||t.state.turnCreatePending){r.arm();return}let{chat:s}=t.state;(s.isStreaming||s.pendingSend)&&(n.logger.warn(`ChatSession: the server owes no answer \u2014 the turn on screen ends`,{conversationId:i,trigger:e}),Vo(this,Wo,`f`).endTurnLocally(zo()))})}};Ho=/* @__PURE__ */ new WeakMap,Uo=/* @__PURE__ */ new WeakMap,Wo=/* @__PURE__ */ new WeakMap,Go=/* @__PURE__ */ new WeakMap;function qo(e){if(typeof e!=`object`||!e||!(`defaultSelectionId`in e))return null;let t=e.defaultSelectionId;return t===null||typeof t==`string`?{defaultSelectionId:t}:null}function Jo(e){return{...e.declinedItemIds===void 0?{}:{declinedItemIds:[...e.declinedItemIds]},...e.comment===void 0||e.comment.trim()===``?{}:{comment:e.comment}}}function Yo(e,t){let n=/* @__PURE__ */ new Map;if(e===void 0)return n;for(let r of t){let t=e[r];t!==void 0&&n.set(r,[...t])}return n}function Xo(e,t){return t.toolCallId===e.toolCallId?e.decisionLaneId===null?(e.earlyCompletedLaneIds.add(t.decisionLaneId),!1):t.decisionLaneId===e.decisionLaneId:!1}function Zo(e,t){return zn(t)?(e.decisionLaneId=t.decisionLaneId,e.stopsTurn=t.stopsTurn,!0):!1}function Qo(e){return e.stopsTurn?`rejection_stop`:e.decisionLaneId!==null&&e.earlyCompletedLaneIds.has(e.decisionLaneId)?`early_receipt`:null}var F=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},I=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},L,R,$o,es,ts,z,B,ns,rs,is,as,os,ss,cs,ls,us,ds,fs,ps,ms,hs,gs;function _s(e,t){return e===null||t===null?e===t:e.confirmAll===t.confirmAll?e.current===null||t.current===null?e.current===t.current:e.current.toolCallId===t.current.toolCallId&&e.current.verdict===t.current.verdict:!1}function vs(e){let t=e.errorCode;return typeof t==`string`?t:e.code}var ys=class{constructor(e,t,n,r){L.add(this),R.set(this,void 0),$o.set(this,void 0),es.set(this,void 0),ts.set(this,void 0),z.set(this,null),B.set(this,[]),ns.set(this,/* @__PURE__ */ new Set),rs.set(this,/* @__PURE__ */ new Map),F(this,R,e,`f`),F(this,$o,t,`f`),F(this,es,n,`f`),F(this,ts,r,`f`)}get hasPendingDecision(){return I(this,z,`f`)!==null}get pendingDecisionLaneId(){var e;return((e=I(this,z,`f`))==null?void 0:e.decisionLaneId)??null}consumeHistoryCompletion(e){let t=I(this,z,`f`);t!==null&&t.decisionLaneId!==null&&e!=null&&e.includes(t.decisionLaneId)&&(I(this,L,`m`,is).call(this,`history_receipt`),this.maybeSendBulkConfirmation())}stop(){I(this,R,`f`).isDisposed()||(F(this,B,[],`f`),I(this,ns,`f`).clear(),I(this,rs,`f`).clear(),I(this,L,`m`,ps).call(this),I(this,R,`f`).dispatch({type:`FOLLOW_UP_DROPPED`}),I(this,es,`f`).stopAwaitingTurns(),I(this,R,`f`).store.state.conversationId!==null&&(I(this,R,`f`).stallGuard.noteCommand(`chat-stop`),I(this,L,`m`,fs).call(this,{name:`chat-stop`,requestId:I(this,R,`f`).newId()},`chat-stop`,null)))}answerConfirmation(e,t,n,r){return I(this,L,`m`,as).call(this,e,t,!1,!1,t===`confirm`?n:null,t===`reject`?{comment:r}:{})}answerChangeSet(e,t,n={}){return I(this,L,`m`,as).call(this,e,t,!0,!1,null,t===`confirm`?{declinedItemIds:n.declinedItemIds}:{comment:n.comment})}rejectRunWait(e){I(this,L,`m`,as).call(this,e,`reject`,!0,!1,null,{})}confirmAll(e,t=[],n){if(I(this,R,`f`).isDisposed()||I(this,z,`f`)!==null||I(this,B,`f`).length>0)return;let r=new Set(I(this,R,`f`).store.state.chat.pendingConfirmations.filter(e=>e.status===`open`).map(e=>e.toolCallId));F(this,ns,new Set(t),`f`),F(this,rs,Yo(n,I(this,ns,`f`)),`f`),F(this,B,[...new Set(e)].filter(e=>r.has(e)||I(this,ns,`f`).has(e)),`f`),this.maybeSendBulkConfirmation()}maybeSendBulkConfirmation(){I(this,L,`m`,cs).call(this),I(this,L,`m`,ps).call(this)}consumeDecisionOutcome(e){let t=I(this,L,`m`,ls).call(this,e);return I(this,L,`m`,ps).call(this),t}abandonPendingDecision(){let e=I(this,z,`f`);e!==null&&(F(this,z,null,`f`),F(this,B,[],`f`),I(this,ns,`f`).clear(),I(this,rs,`f`).clear(),I(this,R,`f`).deps.logger.warn(`ChatSession: tool decision abandoned \u2014 its lane ended locally`,{command:e.command,toolCallId:e.toolCallId,resolved:e.resolved}),e.resolved||(e.childCard?I(this,R,`f`).dispatch({type:`CHILD_DECISION_ENDED`,toolCallId:e.toolCallId}):I(this,ts,`f`).refetchHistory()),I(this,L,`m`,ps).call(this))}forgetPendingDecision(){F(this,z,null,`f`),F(this,B,[],`f`),I(this,ns,`f`).clear(),I(this,rs,`f`).clear(),I(this,L,`m`,ps).call(this)}answerQuestion(e){return I(this,L,`m`,hs).call(this,{name:`chat-question-answer`,requestId:I(this,R,`f`).newId(),batchId:e.batchId,revision:e.revision,idempotencyKey:e.idempotencyKey,answers:e.answers,modelSelectionId:I(this,R,`f`).store.state.modelSelectionId})}cancelQuestion(e){return I(this,L,`m`,hs).call(this,{name:`chat-question-cancel`,requestId:I(this,R,`f`).newId(),batchId:e.batchId,revision:e.revision,idempotencyKey:e.idempotencyKey})}};R=/* @__PURE__ */ new WeakMap,$o=/* @__PURE__ */ new WeakMap,es=/* @__PURE__ */ new WeakMap,ts=/* @__PURE__ */ new WeakMap,z=/* @__PURE__ */ new WeakMap,B=/* @__PURE__ */ new WeakMap,ns=/* @__PURE__ */ new WeakMap,rs=/* @__PURE__ */ new WeakMap,L=/* @__PURE__ */ new WeakSet,is=function(e){let t=I(this,z,`f`);t!==null&&(I(this,R,`f`).deps.logger.debug(`ChatSession: card decision completed`,{event:`chat.decision.completed`,toolCallId:t.toolCallId,decisionLaneId:t.decisionLaneId,reason:e}),(e===`stop`||e===`rejection_stop`)&&(F(this,B,[],`f`),I(this,ns,`f`).clear(),I(this,rs,`f`).clear()),F(this,z,null,`f`),I(this,L,`m`,ps).call(this))},as=function(e,t,n,r,i,a={}){if(I(this,R,`f`).isDisposed()||I(this,z,`f`)!==null)return Promise.resolve(!1);let o=I(this,R,`f`).store.state.chat;if(ci(o,e)||!n&&!o.pendingConfirmations.some(t=>t.toolCallId===e&&t.status===`open`))return Promise.resolve(!1);let s=t===`confirm`?`chat-tool-confirm`:`chat-tool-reject`,c=Jo(a);return F(this,z,{command:s,verdict:t,toolCallId:e,requestId:I(this,R,`f`).newId(),edits:i,fields:c,stopsTurn:!1,decisionLaneId:null,earlyCompletedLaneIds:/* @__PURE__ */ new Set,earlyTerminalEvents:[],bulk:r,expiredResend:!1,childCard:si(o,e),resolved:!1},`f`),I(this,L,`m`,ps).call(this),n||I(this,R,`f`).dispatch({type:t===`confirm`?`CONFIRM_ACTION`:`REJECT_ACTION`,toolCallId:e}),I(this,L,`m`,os).call(this,I(this,R,`f`).store.state.modelSelectionId)},os=function(e){var t;let n=I(this,z,`f`);if(n===null)return Promise.resolve(!1);n.childCard||I(this,R,`f`).stallGuard.noteCommand(n.command),I(this,R,`f`).deps.logger.debug(`ChatSession: sending card decision`,{event:`chat.decision.sent`,command:n.command,toolCallId:n.toolCallId,declinedItemCount:((t=n.fields.declinedItemIds)==null?void 0:t.length)??0,hasComment:n.fields.comment!==void 0,expiredResend:n.expiredResend,bulk:n.bulk});let r={requestId:n.requestId,toolCallId:n.toolCallId,modelSelectionId:e};return I(this,L,`m`,fs).call(this,n.command===`chat-tool-confirm`?{name:`chat-tool-confirm`,...r,edits:n.edits,...n.fields.declinedItemIds===void 0?{}:{declinedItemIds:n.fields.declinedItemIds}}:{name:`chat-tool-reject`,...r,...n.fields.comment===void 0?{}:{comment:n.fields.comment}},n.command,n.toolCallId)},ss=function(e,t,n,r,i){let a=I(this,z,`f`);return n.errorCode!==`selection_expired`||a===null||a.command!==e||a.toolCallId!==t||a.expiredResend?null:I(this,ts,`f`).recoverSelection(n.result,{command:e,toolCallId:t}).then(o=>!r()||I(this,z,`f`)!==a?!1:o===null?(i({command:e,toolCallId:t,reason:`rejected`,errorCode:n.errorCode}),!1):(F(this,z,{...a,requestId:I(this,R,`f`).newId(),expiredResend:!0,earlyCompletedLaneIds:/* @__PURE__ */ new Set,earlyTerminalEvents:[]},`f`),I(this,L,`m`,os).call(this,o)))},cs=function(){if(I(this,z,`f`)!==null||I(this,B,`f`).length===0)return;let e=I(this,R,`f`).store.state.chat;F(this,B,I(this,B,`f`).filter(t=>I(this,ns,`f`).has(t)||e.pendingConfirmations.some(e=>e.toolCallId===t&&e.status===`open`)),`f`);let t=I(this,B,`f`)[0];if(t===void 0||ci(e,t))return;F(this,B,I(this,B,`f`).filter(e=>e!==t),`f`);let n=I(this,rs,`f`).get(t);I(this,rs,`f`).delete(t),I(this,L,`m`,as).call(this,t,`confirm`,I(this,ns,`f`).has(t),!0,null,{declinedItemIds:n})},ls=function(e){let t=I(this,z,`f`);if(t===null)return!1;if(e.type===`decision-complete`&&Xo(t,e))return I(this,L,`m`,is).call(this,`receipt`),!1;if((e.type===`error`||e.type===`done`)&&t.childCard)return!1;if((e.type===`error`||e.type===`done`)&&t.decisionLaneId===null)return t.earlyTerminalEvents.push(e),I(this,R,`f`).deps.logger.debug(`ChatSession: pre-ack frame of a tool decision \u2014 ack decides`,{command:t.command,toolCallId:t.toolCallId,type:e.type}),!0;if(e.type===`error`&&t.resolved)return F(this,B,[],`f`),I(this,ns,`f`).clear(),I(this,rs,`f`).clear(),!1;if(e.type===`error`&&!t.resolved){F(this,z,null,`f`);let n=vs(e);return I(this,R,`f`).deps.logger.warn(`ChatSession: tool decision failed before it resolved`,{command:t.command,toolCallId:t.toolCallId,errorCode:n}),I(this,L,`m`,us).call(this,t,{command:t.command,toolCallId:t.toolCallId,reason:`rejected`,errorCode:n}),!0}return e.type===`action-resolved`&&e.toolCallId===t.toolCallId&&(t.resolved=!0),e.type===`action-required`&&t.resolved||e.type===`done`&&(t.resolved||(F(this,B,[],`f`),I(this,ns,`f`).clear(),I(this,rs,`f`).clear(),I(this,ts,`f`).refetchHistory())),!1},us=function(e,t){F(this,B,[],`f`),I(this,ns,`f`).clear(),I(this,rs,`f`).clear(),I(this,L,`m`,ps).call(this),I(this,L,`m`,ms).call(this,t.command,t.toolCallId,t),e.childCard?I(this,R,`f`).dispatch({type:`CHILD_DECISION_ENDED`,toolCallId:e.toolCallId}):I(this,R,`f`).store.state.chat.isStreaming||I(this,R,`f`).feedLocalEvent(zo())},ds=function(e,t){return ja(e)?e.code:(I(this,R,`f`).deps.logger.error(`ChatSession: transport.send broke its rejection contract`,{command:t,error:Xa(e)}),`connection_closed`)},fs=function(e,t,n){let r=I(this,$o,`f`).generation,i=t===`chat-stop`?null:I(this,z,`f`),a=()=>!I(this,R,`f`).isDisposed()&&r===I(this,$o,`f`).generation&&(i===null||I(this,z,`f`)===i),o=e=>{let r=I(this,z,`f`);r!==null&&r.command===t&&r.toolCallId===n?(F(this,z,null,`f`),I(this,L,`m`,us).call(this,r,e)):I(this,L,`m`,ms).call(this,t,n,e)};return I(this,R,`f`).deps.transport.send(e).then(r=>{if(!a())return i!==null&&I(this,R,`f`).deps.logger.debug(`ChatSession: obsolete card decision ack ignored`,{event:`chat.decision.ack_obsolete`,toolCallId:n,requestId:e.requestId}),!1;if(r.status===`accepted`){let e=I(this,z,`f`);if(e!==null&&e.command===t&&e.toolCallId===n){var s;if(!Zo(e,r.result))return o({command:t,toolCallId:n,reason:`rejected`,errorCode:`invalid_decision_ack`}),!1;I(this,R,`f`).deps.logger.debug(`ChatSession: card decision accepted`,{event:`chat.decision.accepted`,stopsTurn:e.stopsTurn,command:e.command,toolCallId:e.toolCallId,expiredResend:e.expiredResend,declinedItemCount:((s=e.fields.declinedItemIds)==null?void 0:s.length)??0,hasComment:e.fields.comment!==void 0});for(let t of e.earlyTerminalEvents)this.consumeDecisionOutcome(t)||I(this,R,`f`).feedLocalEvent(t);let i=Qo(e);i!==null&&I(this,z,`f`)===e&&I(this,L,`m`,is).call(this,i),e.stopsTurn&&I(this,ts,`f`).refetchHistory()}return t===`chat-stop`&&(I(this,L,`m`,is).call(this,`stop`),I(this,R,`f`).dispatch({type:`STOP_ACCEPTED`}),I(this,ts,`f`).refetchHistory()),I(this,L,`m`,ms).call(this,t,n,null),this.maybeSendBulkConfirmation(),!0}if((t===`chat-tool-confirm`||t===`chat-tool-reject`)&&n!==null){let e=I(this,L,`m`,ss).call(this,t,n,r,a,o);if(e!==null)return e}return o({command:t,toolCallId:n,reason:`rejected`,errorCode:r.errorCode}),!1},e=>(a()&&o({command:t,toolCallId:n,reason:I(this,L,`m`,ds).call(this,e,t),errorCode:null}),!1))},ps=function(){let e=I(this,z,`f`),t=I(this,B,`f`).length>0||e!==null&&e.bulk,n=e===null&&!t?null:{current:e===null?null:{toolCallId:e.toolCallId,verdict:e.verdict},confirmAll:t};_s(I(this,R,`f`).store.state.decisionProgress,n)||I(this,R,`f`).store.update({decisionProgress:n})},ms=function(e,t,n){let{store:r}=I(this,R,`f`),i=r.state.commandFailures,a=i.filter(n=>n.command!==e||n.toolCallId!==t);(n!==null||a.length!==i.length)&&r.update({commandFailures:n===null?a:[...a,n]})},hs=async function(e){let{deps:t}=I(this,R,`f`),n=I(this,$o,`f`).generation,r=null,i=new Promise(e=>{r=t.clock.setTimeout(()=>e({kind:`failed`,reason:`deadline`}),t.policy.questionActionDeadlineMs)}),a=I(this,L,`m`,gs).call(this,e,n,!1),o=await Promise.race([a,i]);return r!==null&&t.clock.clearTimeout(r),!I(this,R,`f`).isDisposed()&&n===I(this,$o,`f`).generation&&I(this,ts,`f`).refetchHistory(),o},gs=async function e(t,n,r){let{deps:i}=I(this,R,`f`),a;try{a=await i.transport.send(t)}catch(e){return{kind:`failed`,reason:I(this,L,`m`,ds).call(this,e,t.name)}}if(a.status===`accepted`)return{kind:`accepted`};let o=()=>!I(this,R,`f`).isDisposed()&&n===I(this,$o,`f`).generation;if(a.errorCode===`selection_expired`&&t.name===`chat-question-answer`&&!r&&o()){let r=await I(this,ts,`f`).recoverSelection(a.result,{command:t.name,batchId:t.batchId});if(r!==null&&o())return I(this,L,`m`,e).call(this,{...t,requestId:I(this,R,`f`).newId(),modelSelectionId:r},n,!0)}return{kind:`rejected`,errorCode:a.errorCode}};function bs(e){let{logger:t}=e;return async(n,r)=>{let i=await e.reloadCapabilities();if(i.status===`disposed`)return null;if(i.status===`failed`)return t.warn(`ChatSession: selection expired and the capability re-read failed`,{...r}),null;let a=e.resolveSelection(i.value);if(a!==null)return t.warn(`ChatSession: selection expired \u2014 the picked model resent under a fresh id`,{...r}),e.setModelSelection(a),a;let o=qo(n);return o===null?(t.error(`ChatSession: selection_expired ack without a readable default`,{...r}),null):o.defaultSelectionId===null?null:(t.warn(`ChatSession: selection expired \u2014 the picked model is gone, server default used`,{...r}),e.setModelSelection(o.defaultSelectionId),o.defaultSelectionId)}}var xs=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},Ss=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Cs,ws,Ts,Es,Ds;function Os(e){return{chat:ua,projectId:null,conversationId:null,connectionStatus:e,capabilityLoad:{status:`loading`},modelSelectionId:null,modelSelectionRejected:null,unsentTurns:[],historyLoad:{status:`idle`},restoredQuestionBatchIds:[],commandFailures:[],decisionProgress:null,turnAckPending:!1,turnCreatePending:!1,lastPermissionMode:null,lastPermissionModeReadFailed:!1,permissionModeWrite:ao,olderHistoryRead:`idle`}}var ks=class{constructor(e){Cs.add(this),ws.set(this,void 0),Ts.set(this,null),Es.set(this,/* @__PURE__ */ new Set),xs(this,ws,e,`f`)}get state(){return Ss(this,ws,`f`)}update(e){xs(this,ws,{...Ss(this,ws,`f`),...e},`f`),xs(this,Ts,null,`f`);for(let e of Ss(this,Es,`f`))e()}subscribe(e){return Ss(this,Es,`f`).add(e),()=>{Ss(this,Es,`f`).delete(e)}}clearListeners(){Ss(this,Es,`f`).clear()}getSnapshot(){return Ss(this,Ts,`f`)===null&&xs(this,Ts,Ss(this,Cs,`m`,Ds).call(this),`f`),Ss(this,Ts,`f`)}};ws=/* @__PURE__ */ new WeakMap,Ts=/* @__PURE__ */ new WeakMap,Es=/* @__PURE__ */ new WeakMap,Cs=/* @__PURE__ */ new WeakSet,Ds=function(){let e=Ss(this,ws,`f`),t=As(e.chat.messages),n=e.historyLoad.status!==`loading`&&!e.turnAckPending&&!e.chat.pendingSend&&e.chat.replyingTo===null&&e.chat.waitingFor===null&&!e.chat.isStreaming&&e.chat.error===null;return{chat:e.chat,projectId:e.projectId,conversationId:e.conversationId,connectionStatus:e.connectionStatus,capabilityLoad:e.capabilityLoad,canSendChatTurn:Ia(e.capabilityLoad),isComposerInteractive:La({capabilityLoad:e.capabilityLoad,connectionStatus:e.connectionStatus,isStreaming:e.chat.isStreaming}),modelSelectionId:e.modelSelectionId,modelSelectionRejected:e.modelSelectionRejected,unsentTurns:e.unsentTurns,holdsUnacceptedTurns:e.unsentTurns.length>0||e.turnAckPending||e.turnCreatePending,canRecoverDanglingTurn:n&&po(e.chat.isStreaming,e.chat.error!==null,t),canRerunLastTurn:n&&mo(e.chat.messages)!==void 0,historyLoad:e.historyLoad,olderHistory:{status:e.chat.historyWindow.olderCursor===null?`none`:e.olderHistoryRead},restoredQuestionBatchIds:e.restoredQuestionBatchIds,commandFailures:e.commandFailures,decisionProgress:e.decisionProgress,permissionMode:so({conversationId:e.conversationId,conversationPermissionMode:e.chat.conversationPermissionMode,lastPermissionMode:e.lastPermissionMode,lastPermissionModeReadFailed:e.lastPermissionModeReadFailed,permissionModeWrite:e.permissionModeWrite})}};function As(e){for(let t=e.length-1;t>=0;--t){let n=e[t];if(n!==void 0&&n.role!==`agent`)return n}}var js=/* @__PURE__ */ new Set([`text-delta`,`text-done`,`reasoning-delta`,`reasoning-done`,`tool-call-start`,`tool-call-input-progress`,`tool-call-complete`,`tool-result`,`tool-running`,`object-partial`,`object-complete`,`step-start`,`step-finish`,`stage`,`progress`,`provider-wait`,`usage`]);function Ms(e){let{clock:t,timeoutMs:n,onStall:r}=e,i=`idle`,a=null;function o(){a!==null&&(t.clearTimeout(a),a=null)}function s(){o(),i=`armed`,a=t.setTimeout(()=>{a=null,i=`idle`,r()},n)}function c(){i=`idle`,o()}return{get phase(){return i},observe(e){e.type===`message-start`?s():e.type===`done`||e.type===`error`?c():e.type===`action-required`?i!==`idle`&&(i=`paused`,o()):js.has(e.type)&&i!==`idle`&&s()},noteCommand(){i!==`idle`&&s()},disarm:c,arm:s,pause(){i=`paused`,o()}}}var Ns=`chat_attachments.`;function Ps(e,t){return e.startsWith(Ns)?{errorCode:e,params:Nr(t)?t:null}:null}function Fs(e){return e.map(e=>e.id)}var Is={stallTimeoutMs:6e4,capabilityLoadDeadlineMs:2e4,questionActionDeadlineMs:35e3,sendReceiptWindowMs:6e5},Ls=`chat`,Rs=class extends Error{constructor(e){super(e),this.name=`ChatPermissionModeStaleError`}};function zs(e){let{clock:t,receiptWindowMs:n,onDeadline:r}=e,i=null;function a(){i!==null&&(t.clearTimeout(i),i=null)}function o(e){a();let o=null;for(let t of e)t.release===`on-reconnect`&&(o===null||t.firstSentAt<o)&&(o=t.firstSentAt);if(o===null)return;let s=Math.max(0,o+n-t.now());i=t.setTimeout(()=>{i=null,r()},s)}return{arm:o,disarm:a}}function Bs(e,t){return[...e,t]}function Vs(e,t){return e.filter(e=>e.id!==t)}function Hs(e){for(let t of e)if(t.release===`on-reconnect`)return t;return null}function Us(e,t,n){let r=e=>e.release===`on-reconnect`&&t-e.firstSentAt>=n;return e.some(r)?e.map(e=>r(e)?{id:e.id,text:e.text,attachments:e.attachments,launchEffort:e.launchEffort,place:e.place,context:e.context,release:`manual`,inTranscript:!0,refusal:null}:e):e}var Ws=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},V=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},H,U,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,cc,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc,yc,bc,xc=`cmd.handler_error`,Sc=class extends Error{constructor(){super(`no permission mode shown on the new-conversation screen`),this.name=`NoPermissionModeError`}},Cc=class{constructor(e,t,n){H.add(this),U.set(this,void 0),Gs.set(this,void 0),Ks.set(this,void 0),qs.set(this,/* @__PURE__ */ new Set),Js.set(this,/* @__PURE__ */ new Set),Ys.set(this,!1),Xs.set(this,!1),Zs.set(this,0),Qs.set(this,void 0),$s.set(this,0),ec.set(this,null),Ws(this,U,e,`f`),Ws(this,Gs,t,`f`),Ws(this,Ks,n,`f`),Ws(this,Qs,zs({clock:e.deps.clock,receiptWindowMs:e.deps.policy.sendReceiptWindowMs,onDeadline:()=>this.flushUndelivered()}),`f`)}dispose(){V(this,Qs,`f`).disarm()}get isCreatingConversation(){return V(this,Ys,`f`)}get hasTurnAwaitingAck(){return V(this,qs,`f`).size>0}get lastTurnUnboundAttachments(){let e=V(this,ec,`f`);return e===null||e.selectionGeneration!==V(this,Gs,`f`).generation?[]:e.attachments}resetForProject(){Ws(this,ec,null,`f`),Ws(this,Zs,V(this,Zs,`f`)+1,`f`),V(this,H,`m`,yc).call(this,!1),Ws(this,Xs,!1,`f`),V(this,qs,`f`).clear(),V(this,Js,`f`).clear(),V(this,H,`m`,bc).call(this),V(this,Qs,`f`).disarm()}submit(e){let{store:t,deps:n}=V(this,U,`f`);if(V(this,U,`f`).isDisposed()||e.text.trim()===``)return{kind:`ignored`};let r=t.state;if(r.projectId===null)return n.logger.warn(`ChatSession: send refused \u2014 no project`),{kind:`refused`,reason:`no-project`,held:!1};if(!Ia(r.capabilityLoad))return n.logger.warn(`ChatSession: send refused \u2014 model capability set is not readable`,{capabilityStatus:r.capabilityLoad.status}),e.holdOnRefusal&&!e.resend&&V(this,H,`m`,nc).call(this,e),{kind:`refused`,reason:`capabilities-not-ready`,held:e.holdOnRefusal&&!e.resend};let i=r.conversationId;if(i===null&&V(this,Ys,`f`))return{kind:`ignored`};let a=null;if(i===null&&(a=V(this,Ks,`f`).newConversationPermissionMode(),a===null))return n.logger.warn(`ChatSession: send refused \u2014 no permission mode to create the chat in`),V(this,Ks,`f`).refreshLastPermissionMode(),e.holdOnRefusal&&!e.resend&&V(this,H,`m`,nc).call(this,e),{kind:`refused`,reason:`permission-mode-unknown`,held:e.holdOnRefusal&&!e.resend};Ws(this,$s,V(this,$s,`f`)+1,`f`);let o=V(this,$s,`f`);return Ws(this,ec,null,`f`),V(this,H,`m`,oc).call(this,e),a===null?(V(this,H,`m`,lc).call(this,e,o),V(this,H,`m`,dc).call(this,e,o)):V(this,H,`m`,cc).call(this,e,o,r.projectId,a),{kind:`sent`}}stopAwaitingTurns(){let e=V(this,Ys,`f`)&&!V(this,Xs,`f`);if(V(this,qs,`f`).size===0&&!e)return!1;e&&Ws(this,Xs,!0,`f`);for(let e of V(this,qs,`f`))V(this,Js,`f`).add(e);return V(this,qs,`f`).clear(),V(this,H,`m`,bc).call(this),V(this,U,`f`).feedSendOutcome(zo()),!0}flushUndelivered(){V(this,U,`f`).isDisposed()||(V(this,H,`m`,tc).call(this),V(this,Qs,`f`).arm(V(this,U,`f`).store.state.unsentTurns))}};U=/* @__PURE__ */ new WeakMap,Gs=/* @__PURE__ */ new WeakMap,Ks=/* @__PURE__ */ new WeakMap,qs=/* @__PURE__ */ new WeakMap,Js=/* @__PURE__ */ new WeakMap,Ys=/* @__PURE__ */ new WeakMap,Xs=/* @__PURE__ */ new WeakMap,Zs=/* @__PURE__ */ new WeakMap,Qs=/* @__PURE__ */ new WeakMap,$s=/* @__PURE__ */ new WeakMap,ec=/* @__PURE__ */ new WeakMap,H=/* @__PURE__ */ new WeakSet,tc=function(){let{store:e,deps:t}=V(this,U,`f`),n=Us(e.state.unsentTurns,t.clock.now(),t.policy.sendReceiptWindowMs);n!==e.state.unsentTurns&&(t.logger.warn(`ChatSession: undelivered turn outlived the server receipt \u2014 needs a Send`),e.update({unsentTurns:n}));let r=e.state;if(r.connectionStatus!==`connected`&&r.connectionStatus!==`restored`||r.conversationId===null||V(this,qs,`f`).size>0)return;let i=Hs(r.unsentTurns);i!==null&&(e.update({unsentTurns:Vs(r.unsentTurns,i.id)}),V(this,U,`f`).dispatch({type:`ASSISTANT_PLACEHOLDER`,payload:{id:V(this,U,`f`).newId(),effort:i.launchEffort.effort}}),V(this,H,`m`,fc).call(this,{requestId:i.requestId,text:i.text,attachments:i.attachments,launchEffort:i.launchEffort,place:i.place,context:i.context,modelSelectionId:i.modelSelectionId,expiredResend:!1,firstSentAt:i.firstSentAt,turnSeq:null}))},nc=function(e){let{store:t}=V(this,U,`f`);t.update({unsentTurns:Bs(t.state.unsentTurns,{id:V(this,U,`f`).newId(),text:e.text,attachments:e.attachments,launchEffort:e.launchEffort,place:e.place,context:e.context,release:`manual`,inTranscript:!1,refusal:null})})},rc=function(e,t,n,r=Po.turnHeldUnsent){let{store:i}=V(this,U,`f`);i.update({unsentTurns:Bs(i.state.unsentTurns,{id:V(this,U,`f`).newId(),text:e.text,attachments:e.attachments,launchEffort:e.launchEffort,place:e.place,context:e.context,release:`manual`,inTranscript:!0,refusal:n})}),V(this,U,`f`).feedSendOutcome(Io(r,t))},ic=function(e,t,n,r){let{store:i,deps:a}=V(this,U,`f`);a.logger.warn(`ChatSession: stopped turn the server never ran \u2014 held unsent`,{reason:n,attachmentCount:e.attachments.length}),V(this,H,`m`,uc).call(this,t),i.update({unsentTurns:Bs(i.state.unsentTurns,{id:V(this,U,`f`).newId(),text:e.text,attachments:e.attachments,launchEffort:e.launchEffort,place:e.place,context:e.context,release:`manual`,inTranscript:!0,refusal:r})})},ac=function(e,t){t.status!==`accepted`&&V(this,H,`m`,ic).call(this,e,e.turnSeq,`stopped, then chat-send rejected: ${t.errorCode}`,Ps(t.errorCode,t.result))},oc=function(e){e.resend||V(this,U,`f`).dispatch({type:`USER_MESSAGE`,payload:{id:V(this,U,`f`).newId(),content:e.text,effort:e.launchEffort.effort,attachments:e.attachments}}),V(this,U,`f`).dispatch({type:`ASSISTANT_PLACEHOLDER`,payload:{id:V(this,U,`f`).newId(),effort:e.launchEffort.effort}})},sc=async function(e,t,n){let r=await V(this,Ks,`f`).settledNewConversationPermissionMode(t);if(!n())return{kind:`left`};if(r===null)throw new Sc;return{kind:`created`,created:await V(this,U,`f`).deps.conversations.create(e,r)}},cc=function(e,t,n,r){let{deps:i}=V(this,U,`f`),a=V(this,Zs,`f`),o=V(this,Gs,`f`).generation,s=()=>!V(this,U,`f`).isDisposed()&&a===V(this,Zs,`f`)&&o===V(this,Gs,`f`).generation;V(this,H,`m`,yc).call(this,!0),Ws(this,Xs,!1,`f`);let c=()=>{if(a!==V(this,Zs,`f`))return!1;let e=V(this,Xs,`f`);return V(this,H,`m`,yc).call(this,!1),Ws(this,Xs,!1,`f`),e};V(this,H,`m`,sc).call(this,n,r,s).then(r=>{let a=c();if(r.kind===`left`){i.logger.warn(`ChatSession: chat left before the conversation create \u2014 turn dropped`,{projectId:n});return}let{created:o}=r,l=o.id;s()?(i.memory.remember(n,l).catch(e=>{i.logger.error(`ChatSession: memory.remember failed`,{projectId:n,error:Xa(e)})}),V(this,Gs,`f`).select(l,`stream-created`),V(this,U,`f`).dispatch({type:`CONVERSATION_PERMISSION_MODE`,payload:{conversationId:l,permissionMode:o.permissionMode,permissionModeVersion:o.permissionModeVersion}}),a?V(this,H,`m`,ic).call(this,e,null,`stopped during conversation create \u2014 never sent`,null):(V(this,H,`m`,lc).call(this,e,t),V(this,H,`m`,dc).call(this,e,t))):i.logger.warn(`ChatSession: chat left during conversation create \u2014 turn dropped`,{conversationId:l})},t=>{let r=c();s()&&(r?(i.logger.warn(`ChatSession: conversation create failed for a stopped turn`,{projectId:n,error:Xa(t)}),V(this,H,`m`,ic).call(this,e,null,`stopped during a failed conversation create \u2014 never sent`,null)):t instanceof Sc?(i.logger.warn(`ChatSession: conversation not created \u2014 no permission mode shown`,{projectId:n}),V(this,H,`m`,rc).call(this,e,`conversation create skipped: no permission mode shown`,null),V(this,Ks,`f`).refreshLastPermissionMode()):t instanceof Rs?(i.logger.warn(`ChatSession: conversation not created \u2014 permission mode was stale`,{projectId:n}),V(this,H,`m`,rc).call(this,e,`conversation create refused: permission mode stale`,null,Po.permissionModeChanged),V(this,Ks,`f`).rereadStaleLastPermissionMode()):(i.logger.error(`ChatSession: conversation create failed \u2014 turn held`,{projectId:n,error:Xa(t)}),V(this,H,`m`,rc).call(this,e,`conversation create failed`,null)))})},lc=function(e,t){Ws(this,ec,{turnSeq:t,attachments:e.attachments,selectionGeneration:V(this,Gs,`f`).generation},`f`)},uc=function(e){var t;e!==null&&((t=V(this,ec,`f`))==null?void 0:t.turnSeq)===e&&Ws(this,ec,null,`f`)},dc=function(e,t){V(this,H,`m`,fc).call(this,{requestId:V(this,U,`f`).newId(),text:e.text,attachments:e.attachments,launchEffort:e.launchEffort,place:e.place,context:e.context,modelSelectionId:V(this,U,`f`).store.state.modelSelectionId,expiredResend:!1,firstSentAt:V(this,U,`f`).deps.clock.now(),turnSeq:t})},fc=async function(e){let{deps:t}=V(this,U,`f`),n=V(this,Gs,`f`).generation,r=V(this,Zs,`f`);V(this,qs,`f`).add(e.requestId),V(this,H,`m`,bc).call(this);let i;try{i={kind:`ack`,ack:await t.transport.send({name:`chat-send`,requestId:e.requestId,message:e.text,mode:Ls,launchEffort:e.launchEffort,place:e.place,modelSelectionId:e.modelSelectionId,policyVersion:null,attachmentIds:Fs(e.attachments),section:e.context.section,activeObject:e.context.activeObject})}}catch(n){ja(n)?i={kind:`failed`,code:n.code}:(t.logger.error(`ChatSession: transport.send broke its rejection contract`,{requestId:e.requestId,error:Xa(n)}),i={kind:`failed`,code:`connection_closed`})}if(r!==V(this,Zs,`f`)||V(this,U,`f`).isDisposed())return;let a=V(this,qs,`f`).delete(e.requestId);try{V(this,H,`m`,pc).call(this,e,i,a,n)}finally{V(this,H,`m`,bc).call(this)}},pc=function(e,t,n,r){let{deps:i}=V(this,U,`f`);if(t.kind===`ack`&&t.ack.status===`accepted`&&V(this,H,`m`,uc).call(this,e.turnSeq),V(this,Js,`f`).delete(e.requestId)){t.kind===`ack`&&r===V(this,Gs,`f`).generation&&V(this,H,`m`,ac).call(this,e,t.ack);return}if(!n)return;if(r!==V(this,Gs,`f`).generation){i.logger.debug(`ChatSession: ack for a conversation no longer selected \u2014 ignored`,{requestId:e.requestId});return}if(t.kind===`failed`){V(this,H,`m`,mc).call(this,e,t.code);return}let{ack:a}=t;a.status===`accepted`?a.duplicate&&(i.logger.warn(`ChatSession: chat-send acked as duplicate \u2014 turn ended locally`,{requestId:e.requestId}),V(this,U,`f`).feedSendOutcome(zo()),V(this,Ks,`f`).refetchHistory()):V(this,H,`m`,hc).call(this,e,a)},mc=function(e,t){let{store:n,deps:r}=V(this,U,`f`);r.logger.warn(`ChatSession: chat-send undelivered \u2014 held for resend`,{requestId:e.requestId,code:t}),V(this,H,`m`,uc).call(this,e.turnSeq),n.update({unsentTurns:Bs(n.state.unsentTurns,{id:V(this,U,`f`).newId(),text:e.text,attachments:e.attachments,launchEffort:e.launchEffort,place:e.place,context:e.context,release:`on-reconnect`,requestId:e.requestId,modelSelectionId:e.modelSelectionId,firstSentAt:e.firstSentAt})}),V(this,U,`f`).feedSendOutcome(Io(Po.turnHeldUnsent,`chat-send ${t}`)),t===`ack_timeout`?this.flushUndelivered():V(this,Qs,`f`).arm(n.state.unsentTurns)},hc=function(e,t){t.errorCode===`selection_expired`&&!e.expiredResend?V(this,H,`m`,gc).call(this,e,t):V(this,H,`m`,vc).call(this,e,t)},gc=async function(e,t){let n=V(this,Gs,`f`).generation,r=V(this,Zs,`f`);V(this,qs,`f`).add(e.requestId),V(this,H,`m`,bc).call(this);let i=await V(this,Ks,`f`).recoverSelection(t.result,{command:`chat-send`,requestId:e.requestId});if(r!==V(this,Zs,`f`)||V(this,U,`f`).isDisposed())return;let a=V(this,qs,`f`).delete(e.requestId);try{V(this,H,`m`,_c).call(this,e,t,i,a,n)}finally{V(this,H,`m`,bc).call(this)}},_c=function(e,t,n,r,i){let{deps:a}=V(this,U,`f`);V(this,Js,`f`).delete(e.requestId)?i===V(this,Gs,`f`).generation&&V(this,H,`m`,ac).call(this,e,t):r&&i===V(this,Gs,`f`).generation&&(n===null?V(this,H,`m`,vc).call(this,e,t):V(this,H,`m`,fc).call(this,{requestId:V(this,U,`f`).newId(),text:e.text,attachments:e.attachments,launchEffort:e.launchEffort,place:e.place,context:e.context,modelSelectionId:n,expiredResend:!0,firstSentAt:a.clock.now(),turnSeq:e.turnSeq}))},vc=function(e,t){let{deps:n}=V(this,U,`f`);if(t.errorCode===xc){n.logger.warn(`ChatSession: chat-send refused before it ran \u2014 turn held`,{requestId:e.requestId,errorCode:t.errorCode}),V(this,H,`m`,uc).call(this,e.turnSeq),V(this,H,`m`,rc).call(this,e,`chat-send rejected: ${t.errorCode}`,null);return}let r=Ps(t.errorCode,t.result);if(r!==null)n.logger.warn(`ChatSession: chat-send refused for its files \u2014 turn held`,{requestId:e.requestId,errorCode:t.errorCode,attachmentCount:e.attachments.length}),V(this,H,`m`,uc).call(this,e.turnSeq),V(this,H,`m`,rc).call(this,e,`chat-send rejected: ${t.errorCode}`,r);else if(V(this,U,`f`).feedSendOutcome(Ro(t)),t.errorCode===`model_not_allowed`){let r=qo(t.result);r===null&&n.logger.error(`ChatSession: model_not_allowed ack without a readable default`,{requestId:e.requestId}),V(this,Ks,`f`).onModelNotAllowed(r===null?null:r.defaultSelectionId)}},yc=function(e){Ws(this,Ys,e,`f`),V(this,U,`f`).store.state.turnCreatePending!==e&&V(this,U,`f`).store.update({turnCreatePending:e})},bc=function(){let e=V(this,qs,`f`).size>0;V(this,U,`f`).store.state.turnAckPending!==e&&V(this,U,`f`).store.update({turnAckPending:e})};function wc(e){if(e.questionActionDeadlineMs<=3e4)throw Error(`ChatSession policy: questionActionDeadlineMs (${e.questionActionDeadlineMs}) must exceed the command ack window (${Ma})`);if(e.stallTimeoutMs<=3e4)throw Error(`ChatSession policy: stallTimeoutMs (${e.stallTimeoutMs}) must exceed the command ack window (${Ma})`)}function Tc(e,t,n){return n.type===`message-start`?t!==e&&t.isStreaming&&t.streamingMessageId===n.messageId:n.type===`action-required`?!Kr(n)&&t.pendingConfirmations!==e.pendingConfirmations:!e.ignoredContinuationGeneration||n.type===`block-upsert`||e.ignoredHydratedReplayMessageId!==null&&n.type===`action-resolved`}function Ec(e){wc(e.policy);let t=ka({isRenderableToolResult:t=>e.tools.isRenderableToolResult(t),now:()=>e.clock.now()}),n=!1,r=0,i=null,a=null,o=new ks(Os(e.transport.getStatus())),s=Ms({clock:e.clock,timeoutMs:e.policy.stallTimeoutMs,onStall:()=>{o.state.chat.permissionModeLane===null?ee.verify(`stall`):d()}});function c(e,n){let r=o.state.chat,i=t(r,e);e.type===`EVENT`&&(n===`local`||n===`live`&&Tc(r,i,e.payload))&&s.observe(e.payload),i!==r&&o.update({chat:i});let a=r.permissionModeLane;i.permissionModeLane!==a&&u(),e.type===`HYDRATE_HISTORY`&&e.payload.replyingTo!==null&&s.arm(),ne()}function l(e,t){c({type:`EVENT`,payload:e},t),o.state.chat.permissionModeLane!==null&&s.arm()}function u(){let{chat:e}=o.state;e.permissionModeLane!==null||e.isStreaming||e.pendingSend?s.arm():e.pendingConfirmations.some(e=>e.status===`open`&&e.agentThreadId===void 0)?s.pause():s.disarm()}function d(){var t;let{chat:n}=o.state;e.logger.warn(`ChatSession: permission-mode lane stalled \u2014 its calls go back to the user`,{conversationId:o.state.conversationId,decisionLaneId:(t=n.permissionModeLane)==null?void 0:t.decisionLaneId}),n.isStreaming||n.pendingSend?y(Lo()):v.hasPendingDecision&&(v.abandonPendingDecision(),f.feedLocalEvent(zo())),c({type:`PERMISSION_MODE_LANE_EXPIRED`},null),x()}let f={deps:e,store:o,stallGuard:s,dispatch:e=>c(e,null),feedLocalEvent:e=>l(e,`local`),feedSendOutcome:e=>{o.state.chat.followUpPlaceholderId===null?l(e,`local`):c({type:`FOLLOW_UP_FAILED`,payload:e},null)},newId:Ya,isDisposed:()=>n},p=new co(f),m=new Oo(f,()=>{a=null,v.forgetPendingDecision()},{currentLaneId:()=>{let e=v.pendingDecisionLaneId;if(e!==null)return e;let t=o.state.chat.permissionModeLane;return t===null?null:t.decisionLaneId},onPageLanded:e=>{v.consumeHistoryCompletion(e.decisionLaneCompletedIds)}},()=>p.refresh()),h=new No(f,m),g=bs({reloadCapabilities:T,resolveSelection:t=>e.capabilities.resolveSelection(t),setModelSelection:oe,logger:e.logger}),_=new Cc(f,m,{onModelNotAllowed:S,refetchHistory:x,recoverSelection:g,newConversationPermissionMode:()=>{let e=p.view();return e.kind===`known`&&e.scope===`last-choice`?e.value:null},settledNewConversationPermissionMode:e=>p.settledNewConversationMode(e),refreshLastPermissionMode:()=>p.refresh(),rereadStaleLastPermissionMode:()=>p.rereadStale()}),v=new ys(f,m,_,{refetchHistory:x,recoverSelection:g}),ee=new Ko(f,m,{hasTurnAwaitingAck:()=>_.hasTurnAwaitingAck,endTurnLocally:e=>y(e)});function y(e){v.abandonPendingDecision(),f.feedLocalEvent(e)}function b(){let{chat:e,conversationId:t}=o.state,n=ca(e),r=e.pendingRefetch||m.rowsOwed,i=!n&&e.appendedRowsOwed.length>0;if(t===null||!r||!(n||i)){a=null;return}let s=`${t}|${n?`quiet`:e.appendedRowsOwed.join(`,`)}|${e.pendingConfirmations.map(e=>`${e.toolCallId}:${e.status}`).join(`,`)}`;s===a||m.catchUpInFlight||(a=s,te(t))}function te(e){let t=!ca(o.state.chat);m.readHistory(e,`catch-up`).then(e=>{!n&&e.outcome===`applied`&&(m.rowsOwed||t)&&(a=null,b())})}function ne(){n||(b(),v.maybeSendBulkConfirmation())}function x(){let e=o.state.conversationId;e!==null&&te(e)}function S(e){o.update({modelSelectionId:null,modelSelectionRejected:{defaultSelectionId:e}}),T()}function C(t){Vi(o.state.chat,t)&&m.noteRowAnnounced(),t.type===`conversation-started`&&t.conversationId!==o.state.conversationId?e.logger.error(`ChatSession: conversation-started names a conversation not bound`,{bound:o.state.conversationId,named:t.conversationId}):v.consumeDecisionOutcome(t)||(l(t,`live`),t.type===`error`&&t.code===`model_not_allowed`&&S(null),t.type===`done`&&_.flushUndelivered())}function w(e){if(o.update({connectionStatus:e}),e===`connected`||e===`restored`){_.flushUndelivered(),(v.pendingDecisionLaneId!==null||o.state.chat.permissionModeLane!==null)&&x(),e===`restored`&&ee.answerShown&&ee.verify(`restored`);return}if(e!==`failed`)return;if(v.pendingDecisionLaneId!==null){let{chat:t}=o.state;t.isStreaming||t.pendingSend?y(Io(Po.connectionLostDuringStream,`socket ${e}`)):(v.abandonPendingDecision(),f.feedLocalEvent(zo())),x();return}let{chat:t}=o.state;!_.hasTurnAwaitingAck&&(t.isStreaming||t.pendingSend)&&(v.hasPendingDecision?f.feedLocalEvent(Io(Po.connectionLostDuringStream,`socket ${e}`)):y(Io(Po.connectionLostDuringStream,`socket ${e}`)))}function re(t){if(!n)switch(t.kind){case`event`:C(t.event);return;case`task-card`:return;case`status`:w(t.status);return;case`resync-required`:e.logger.warn(`ChatSession: transport asked for a resync \u2014 re-reading history`),x();return;default:return t}}let ie=e.transport.subscribe(re);function ae(){if(i===null)throw Error(`ChatSession: a capability read was superseded with no newer read`);return i}function T(){if(n)return Promise.resolve({status:`disposed`});r+=1;let t=r;o.update({capabilityLoad:{status:`loading`}});let a=Fa(e.capabilities.load(),e.clock,e.policy.capabilityLoadDeadlineMs).then(e=>n?{status:`disposed`}:t===r?(o.update({capabilityLoad:{status:`ready`,value:e}}),{status:`ready`,value:e}):ae(),i=>n?{status:`disposed`}:t===r?(e.logger.warn(`ChatSession: capability load failed`,{error:Xa(i)}),o.update({capabilityLoad:{status:`failed`,cause:i}}),{status:`failed`}):ae());return i=a,a}function oe(e){n||o.update({modelSelectionId:e,modelSelectionRejected:null})}function se(t){if(n)return;let r=o.state.projectId;r!==t&&(fo(r,t)&&(m.select(null,`load-history`),_.resetForProject(),o.update({unsentTurns:[],modelSelectionRejected:null})),o.update({projectId:t}),t===null?e.transport.close():(p.refresh(),e.memory.read(t).then(r=>{if(n||o.state.projectId!==t||r===null)return;let{conversationId:i,chat:a}=o.state;i!==null||_.isCreatingConversation||a.messages.length>0?e.logger.debug(`ChatSession: remembered conversation not opened \u2014 chat already in use`,{projectId:t,remembered:r}):m.select(r,`load-history`)},n=>{e.logger.error(`ChatSession: memory.read failed \u2014 empty state`,{projectId:t,error:Xa(n)})})))}function ce(t){if(n)return;let r=o.state.projectId;r===null?e.logger.error(`ChatSession: openConversation with no project`,{conversationId:t}):t!==o.state.conversationId&&(o.state.chat.isStreaming&&v.stop(),e.memory.remember(r,t).catch(t=>{e.logger.error(`ChatSession: memory.remember failed`,{projectId:r,error:Xa(t)})}),o.update({unsentTurns:[]}),m.select(t,`load-history`))}function le(){if(n)return;let t=o.state.projectId;t!==null&&e.memory.forget(t).catch(n=>{e.logger.error(`ChatSession: memory.forget failed`,{projectId:t,error:Xa(n)})}),o.update({unsentTurns:[]}),m.select(null,`load-history`)}function ue(t,r){let{chat:i}=o.state;if(n||i.isStreaming||i.pendingSend||_.hasTurnAwaitingAck)return{kind:`ignored`};let a=mo(i.messages);return a===void 0?{kind:`ignored`}:_.submit({text:a.content,attachments:_.lastTurnUnboundAttachments,launchEffort:t,place:r,context:e.sendContext(),holdOnRefusal:!1,resend:!0})}function de(t){return _.submit({text:t.text,attachments:t.attachments,launchEffort:t.launchEffort,place:t.place,context:e.sendContext(),holdOnRefusal:t.source===`external`,resend:!1})}function fe(e){let t=o.state.unsentTurns.find(t=>t.id===e);if(n||t===void 0)return{kind:`ignored`};if(t.release===`on-reconnect`)return _.flushUndelivered(),o.state.unsentTurns.some(t=>t.id===e)?{kind:`ignored`}:{kind:`sent`};let r=_.submit({text:t.text,attachments:t.attachments,launchEffort:t.launchEffort,place:t.place,context:t.context,holdOnRefusal:!1,resend:t.inTranscript});return r.kind===`sent`&&o.update({unsentTurns:Vs(o.state.unsentTurns,e)}),r}return{getSnapshot:()=>o.getSnapshot(),subscribe:e=>o.subscribe(e),setProject:se,openConversation:ce,startNewConversation:le,loadOlderHistory:()=>h.load(),send:de,retryLastTurn:ue,stop:()=>v.stop(),confirm:(e,t)=>v.answerConfirmation(e,`confirm`,t===void 0?null:t),confirmAll:(e,t,n)=>v.confirmAll(e,t,n),reject:(e,t)=>v.answerConfirmation(e,`reject`,null,t),confirmChangeSet:(e,t)=>v.answerChangeSet(e,`confirm`,{declinedItemIds:t}),rejectChangeSet:(e,t)=>v.answerChangeSet(e,`reject`,{comment:t}),rejectRunWait:e=>v.rejectRunWait(e),answerQuestion:e=>v.answerQuestion(e),cancelQuestion:e=>v.cancelQuestion(e),sendUnsentTurn:fe,discardUnsentTurn:e=>{n||o.update({unsentTurns:Vs(o.state.unsentTurns,e)})},retryUnsent:()=>{let e=o.state.unsentTurns[0];return e===void 0?{kind:`ignored`}:fe(e.id)},setModelSelection:oe,setPermissionMode:e=>p.set(e),retryPermissionModeWrite:()=>p.retry(),dismissPermissionModeWriteFailure:()=>p.dismissFailure(),refreshLastPermissionMode:()=>p.refresh(),reloadCapabilities:()=>{T()},dispose:()=>{n||(n=!0,s.disarm(),_.dispose(),ie(),e.transport.close(),o.clearListeners())}}}var Dc=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},W=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},G,Oc,kc,Ac,jc,Mc,Nc,Pc,Fc,Ic=5e3,Lc=2e3,Rc=/* @__PURE__ */ new Set([Rn.AUTH_FAILED,Rn.PROTOCOL_VIOLATION,Rn.HEARTBEAT_TIMEOUT]),zc=5,Bc=class{constructor(e){G.add(this),Oc.set(this,void 0),kc.set(this,`connecting`),Ac.set(this,/* @__PURE__ */ new Set),jc.set(this,null),Mc.set(this,null),Nc.set(this,0),Dc(this,Oc,e,`f`)}get status(){return W(this,kc,`f`)}onStatusChange(e){return W(this,Ac,`f`).add(e),()=>{W(this,Ac,`f`).delete(e)}}onConnected(){W(this,kc,`f`)!==`failed`&&(W(this,G,`m`,Fc).call(this),Dc(this,Nc,0,`f`),W(this,kc,`f`)===`lost`?(W(this,G,`m`,Pc).call(this,`restored`),Dc(this,Mc,W(this,Oc,`f`).setTimeout(()=>{Dc(this,Mc,null,`f`),W(this,G,`m`,Pc).call(this,`connected`)},Lc),`f`)):W(this,G,`m`,Pc).call(this,`connected`))}onDisconnected(e){if(W(this,kc,`f`)!==`failed`){if(e===Rn.CHANNEL_NOT_FOUND)W(this,G,`m`,Fc).call(this),W(this,G,`m`,Pc).call(this,`failed`);else{if(Rc.has(e)){if(Dc(this,Nc,W(this,Nc,`f`)+1,`f`),W(this,Nc,`f`)>=zc){W(this,G,`m`,Fc).call(this),W(this,G,`m`,Pc).call(this,`failed`);return}}else Dc(this,Nc,0,`f`);e===Rn.NORMAL_CLOSURE?(W(this,G,`m`,Fc).call(this),W(this,G,`m`,Pc).call(this,`connecting`)):(W(this,G,`m`,Pc).call(this,`reconnecting`),W(this,jc,`f`)===null&&W(this,kc,`f`)!==`lost`&&Dc(this,jc,W(this,Oc,`f`).setTimeout(()=>{Dc(this,jc,null,`f`),W(this,kc,`f`)===`reconnecting`&&W(this,G,`m`,Pc).call(this,`lost`)},Ic),`f`))}}}onReconnectStopped(){W(this,kc,`f`)!==`failed`&&(W(this,G,`m`,Fc).call(this),W(this,G,`m`,Pc).call(this,`failed`))}reset(){W(this,kc,`f`)!==`failed`&&(W(this,G,`m`,Fc).call(this),Dc(this,Nc,0,`f`),W(this,G,`m`,Pc).call(this,`connecting`))}dispose(){W(this,G,`m`,Fc).call(this),W(this,Ac,`f`).clear()}};Oc=/* @__PURE__ */ new WeakMap,kc=/* @__PURE__ */ new WeakMap,Ac=/* @__PURE__ */ new WeakMap,jc=/* @__PURE__ */ new WeakMap,Mc=/* @__PURE__ */ new WeakMap,Nc=/* @__PURE__ */ new WeakMap,G=/* @__PURE__ */ new WeakSet,Pc=function(e){if(e===W(this,kc,`f`))return;let t=W(this,kc,`f`);Dc(this,kc,e,`f`);for(let n of W(this,Ac,`f`))n(e,t)},Fc=function(){W(this,jc,`f`)!==null&&(W(this,Oc,`f`).clearTimeout(W(this,jc,`f`)),Dc(this,jc,null,`f`)),W(this,Mc,`f`)!==null&&(W(this,Oc,`f`).clearTimeout(W(this,Mc,`f`)),Dc(this,Mc,null,`f`))};var Vc={baseMs:1e3,capMs:3e4,nonRetryableMaxAttempts:5};function Hc(e){return Math.min(Vc.baseMs*2**e,Vc.capMs)}var K=/* @__PURE__ */ e(Nt(),1),q=We(),Uc=/* @__PURE__ */ e(Dt(),1),Wc=new Intl.PluralRules(`ru`),Gc=new Intl.PluralRules(`en`);function J(e,t){switch(Wc.select(e)){case`one`:return t.one;case`few`:case`other`:return t.few;default:return t.many}}function Y(e,t){return Gc.select(e)===`one`?t.one:t.other}var Kc=e=>Y(e,{one:`file`,other:`files`}),qc=e=>e===null?`The selected model`:`Model ${e}`,Jc={units:{b:`B`,kb:`KB`,mb:`MB`},facts:{pdf:(e,t)=>`${e} ${Y(e,{one:`page`,other:`pages`})}, ${t}`,image:(e,t,n)=>`${e}\u00D7${t}, ${n}`,text:e=>e},message:{listLabel:`Message files`,view:e=>`View \u201C${e}\u201D`,open:e=>`Open \u201C${e}\u201D in a new tab`,save:e=>`Download \u201C${e}\u201D`,thumbnailLoading:e=>`Loading the thumbnail of \u201C${e}\u201D`,failed:{response:`Could not open`,"no-response":`No connection`,unexpected:`Could not open`}},viewer:{label:e=>`Viewing: ${e}`,openInTab:`Open in a new tab`,close:`Close the viewer`,previous:`Previous image`,next:`Next image`,position:(e,t)=>`${e} of ${t}`,loading:e=>`Loading \u201C${e}\u201D`,failed:`The image did not load`,actualSize:`Actual size`,fitToWindow:`Fit to window`,zoomedStage:`The image at actual size`},screenshots:{groupAria:`Screenshots from the reply`,view:e=>`View the screenshot \u201C${e}\u201D`,openMore:e=>`Open the viewer: ${e} more ${Y(e,{one:`screenshot`,other:`screenshots`})}`,loading:e=>`Loading the screenshot \u201C${e}\u201D`,failed:`The screenshot did not load`,failedMany:e=>`${e} ${Y(e,{one:`screenshot`,other:`screenshots`})} did not load`,tileFailed:`Did not load`,gone:`Screenshot removed`,goneMany:e=>`${e} ${Y(e,{one:`screenshot`,other:`screenshots`})} removed`,tileGone:`Removed`,term:`Screenshots are kept for 30 days`,goneAria:`Screenshot removed: screenshots are kept for 30 days`,zoomedStage:`The screenshot at actual size`,alt:e=>`Screenshot \u201C${e}\u201D`},conversation:{text:(e,t)=>`Model ${e} will not read the files of this conversation (${t}) \u2014 `,pick:`switch to another model`},unsent:{files:e=>`${e} ${Kc(e)}`,unsupported:(e,t)=>`${qc(e)} does not take these files: ${t} \u2014 switch to another`,noFiles:e=>`${qc(e)} does not take files \u2014 switch to another`,types:(e,t)=>`${qc(e)} does not take ${t} \u2014 switch to another`,reason:{fileBytes:e=>`a file is over ${e}`,imageBytes:e=>`an image is over ${e}`,requestBytes:e=>`the request is over ${e}`,filesBytes:e=>`the files together are over ${e}`,imageEdge:e=>`an image side is over ${e} px`,imagePatches:e=>`an image is over ${e} million pixels`,pdfPages:e=>`the PDF has over ${e} pages`,imagesCount:e=>`over ${e} images`,manyImagesEdge:e=>`with many images each side must be at most ${e} px`,contextWindow:`the files do not fit the model\u2019s window`,unknownSize:`the files are larger than the model takes`},notFound:`The files of this message are no longer available: an unsent file is kept for a day. Delete the message and attach the files again.`,alreadySent:`These files were already sent with another message. Delete the message and attach the files again.`}},Yc=new Intl.NumberFormat(`en`),Xc=e=>Yc.format(e),Zc=e=>Y(e,{one:`line`,other:`lines`}),Qc=e=>Y(e,{one:`character`,other:`characters`}),$c={saved:`Saved to project memory`,deleted:`Deleted from project memory`,editedTag:`edit`,open:`Project memory`,openAria:`Open project memory in the project settings`,unsupported:{title:`Memory record not supported`,body:`The answer came in a format this version cannot show. Reload the page or update the extension.`}},el={title:`Project rules`,ofLimit:e=>`of ${Xc(e)}`,chars:e=>Qc(e),sizeAria:(e,t,n)=>e===null?`Size: ${Xc(t)} ${Qc(t)} of ${Xc(n)}`:`Size: ${Xc(e)} now, ${Xc(t)} ${Qc(t)} after, of ${Xc(n)}`,linesAria:`Lines of the project rules`,added:`Added: `,removed:`Removed: `,unchanged:e=>`${Xc(e)} unchanged ${Zc(e)}`,cleared:e=>`The rules will be cleared: ${Xc(e)} ${Zc(e)}`,showWhole:`Whole new text`,hideWhole:`Hide text`},tl=new Intl.NumberFormat(`en`),X=e=>tl.format(e),nl=e=>Y(e,{one:`change`,other:`changes`}),rl=(e,t,n)=>`${X(e)} ${Y(e,{one:t,other:n})}`,il=e=>e.length<=1?e.join(``):`${e.slice(0,-1).join(`, `)} and ${e.slice(-1).join(``)}`,al={title:`Changes`,cardAria:e=>`Changes: ${e.toLocaleLowerCase(`en`)}`,phaseAnnouncement:e=>`Change status: ${e.toLocaleLowerCase(`en`)}`,contextScenario:e=>`Scenario \u201C${e}\u201D`,contextProject:e=>`Project \u201C${e}\u201D`,contextObject:e=>`\u201C${e}\u201D`,marker:{inspecting:`Inspecting`,proposed:`Proposed`,awaiting:`Awaiting decision`,applying:`Applying`,applied:`Applied`,rejected:`Rejected`,partial:`Partially applied`,failed:`Not applied`,undone:`Undone`,superseded:`Superseded`,closed:`Closed`,expired:`Decision window expired`},earlyTitle:{searching:`Searching for a matching scenario\u2026`,search_results_shown:`Found several matches`,no_results:`Nothing matched`,item_selected:`Target selected`,inspecting:`Inspecting details\u2026`,ambiguity_choose_target:`Choose a target`},preparing:`The assistant is preparing a change\u2026`,changesCount:e=>`${X(e)} ${nl(e)}`,noResults:`Nothing matched.`,chooseTargetHint:`Choose which target was meant:`,selected:`Selected`,nothingChanged:`Nothing has changed yet.`,evidenceHeading:`Evidence`,entityLabelMissing:`label missing`,open:`Open`,openAria:e=>`Open: ${e}`,searchingAria:`Searching`,whatChanges:`What will change`,proposalEmpty:`No changes proposed yet.`,secretChip:`secret`,siteScript:{proposal:e=>`proposal v${e}`,rejectProposal:e=>`reject v${e}`,restore:e=>`restore v${e}`},evidence:`Rationale`,cascadeTitle:`Also will be deleted`,cascadeEntity:{step:`Steps`,scenario_run:`Scenario runs`,api_folder:`Folders`,api_saved_request:`Saved requests`,checklist_item:`Checklist items`,checklist_item_step:`Checklist item steps`,test_run_result:`Test run results`,scenario:`Scenarios`,environment:`Environments`,environment_variable:`Environment variables`,environment_preference:`Users' environment choices`,checklist:`Checklists`,api_collection:`API collections`},cascadeUnknown:e=>`Unknown entities (${e})`,cascadeCount:{step:e=>rl(e,`step`,`steps`),scenario_run:e=>rl(e,`scenario run`,`scenario runs`),api_folder:e=>rl(e,`folder`,`folders`),api_saved_request:e=>rl(e,`saved request`,`saved requests`),checklist_item:e=>rl(e,`checklist item`,`checklist items`),checklist_item_step:e=>rl(e,`item step`,`item steps`),test_run_result:e=>rl(e,`run result`,`run results`),scenario:e=>rl(e,`scenario`,`scenarios`),environment:e=>rl(e,`environment`,`environments`),environment_variable:e=>rl(e,`environment variable`,`environment variables`),environment_preference:e=>rl(e,`environment choice`,`environment choices`),checklist:e=>rl(e,`checklist`,`checklists`),api_collection:e=>rl(e,`API collection`,`API collections`)},cascadeCountUnknown:(e,t)=>`${e}: ${X(t)}`,dock:{factScenario:`Scenario`,factProject:`Project`,factObject:`What`,factWithIt:`Along with it`,factEdits:`Edits`,recordWithIt:e=>`along with it ${e}`,editsCount:e=>rl(e,`edit`,`edits`),showInFeed:`Show in the feed`,showInFeedAria:e=>`Show in the feed: ${e}`,blockedUnworded:`Cannot confirm yet \u2014 see the record in the feed`,decided:{confirmDelete:`Deletion confirmed`,confirm:`Changes confirmed`,reject:`Rejected`},secretSaved:(e,t)=>t===null?`${il(e)} saved`:`${il(e)} saved to ${t}`},secretInput:{titleTail:` \u2014 secret for environment`,countTitle:e=>rl(e,`secret`,`secrets`),countTitleTail:` for environment`,placeholder:`Secret value`,fieldLabel:e=>`Value of ${e}`,fieldLabelReplace:e=>`New value of ${e}`,show:`Show value`,hide:`Hide value`,save:`Save`,saveMany:e=>`Save ${rl(e,`value`,`values`)}`,saving:`Saving`,replace:`Replace`,replacing:`Replacing`,retry:`Retry`,privacy:`The model and the chat will not see the value`,tooLong:(e,t)=>`At most ${X(e)} characters \u2014 now ${X(t)}`,failed:{network:`Could not save the value \u2014 no connection to the server.`,server:`Could not save the value \u2014 the server did not respond.`,refused:`Could not save the value \u2014 the server refused it.`},closed:`The change is already closed \u2014 the value was not saved`,confirmFailed:`The value was received, but the change could not be confirmed. \u201CRetry\u201D sends it again.`,current:`Now`,currentAria:`Current value hidden, will be replaced`,willReplace:`Will be replaced`,whyName:`Why it waits for you`,whyText:e=>`${e} already has a value \u2014 the new one replaces it. You confirm the replacement, even in \u201Cno confirmation\u201D mode.`,hiddenAria:`Value hidden`,savedIn:e=>`Saved to ${e}`,saved:`Saved`,declined:`Rejected \u2014 the value was not saved`,reenter:`Enter again`,reenterAria:e=>`Enter the value of ${e} again`,setByYou:e=>`set by you at ${e}`,setAt:e=>`set at ${e}`,notSet:`value not set`,savingAnnouncement:`Saving the value`},killSwitch:{title:`Progon writes are turned off for this company.`,body:`A company admin can enable them in Settings \u2192 AI. You can review this plan, but it cannot be applied.`},disabledReason:{still_composing:`The proposal is being updated \u2014 confirm will be available shortly.`,awaiting_secret_value:`Waiting for the secret value \u2014 enter it in the card above the message field.`},confirm:`Confirm changes`,confirmDelete:`Confirm deletion`,reject:`Reject`,bugFiling:{title:`File a bug?`,confirm:`File bug`,capture:{ready:`Screenshot`,awaiting:`Screenshot still uploading`,unavailable:`No screenshot`,no_screen:`Request and response, no screen to capture`},address:e=>`address ${e}`,severity:e=>`Severity: ${e}`,factFinding:`Finding`,factSeverity:`Severity`,factWithIt:`With it`,factReporter:`Reported by`,factVerification:`Check`,severityWord:{critical:`critical`,high:`high`,medium:`medium`,low:`low`}},trustedSite:{title:`Add a trusted site?`,titleMany:`Add trusted sites?`,confirm:`Add site`,confirmMany:`Add sites`,confirming:`Adding`,factMatches:`Matches`,factWhere:`Applies`,whereAll:`In every environment of the project`,patternName:`name`,warning:`On trusted sites the agent may type passwords and secret data.`,recordWhere:`all environments`},closedBy:{line:{launch_stopped:`Closed \u2014 the launch stopped`,finding_filed:`Closed \u2014 you filed this bug yourself`},launchStoppedNote:`An answer would change nothing now`,findingFiledNote:(e,t)=>`You filed bug #${String(e)} from this finding at ${t} \u2014 no answer needed`},rejectPlain:`Just reject`,rejectWithReason:`Reject with a comment`,reasonLabel:`Why?`,reasonHint:`(optional \u2014 helps the assistant propose a better option)`,commandFailed:{confirm:`Failed to confirm \u2014 try again.`,reject:`Failed to reject \u2014 try again.`,retry:`Retry failed \u2014 try again.`},applyingSubject:e=>`Applying ${X(e)} ${nl(e)}`,applyingGeneric:`Applying\u2026`,applyDuration:e=>`Apply time: ${X(e)} ms`,applyAria:`Changes are being applied`,applyDisclaimer:`Do not assume success until the server confirms. You can navigate away \u2014 this task will continue and update when you return.`,attempt:e=>`attempt ${X(e)}`,verified:`confirmed by the server`,appliedGroup:e=>`Applied (${X(e)})`,failedGroup:e=>`Failed or blocked (${X(e)})`,row:{applied:`Applied`,failed:`Failed to apply`,batch_aborted:`Rolled back`,pending:`Not attempted`,skipped:`Skipped`,declined:`Declined by the person`},applyError:{stale_guard:`The item changed after this proposal was composed.`,secret_expired_or_consumed:`The secret value has already been used or has expired.`,"assistant.change_set.batch_aborted":`Rolled back: another item in the same confirmation failed to apply.`,"assistant.change_set.apply_unexpected_error":`Unexpected error while applying.`,"assistant.ai_write_disabled":`Progon writes are turned off for this company.`,"variables.duplicate_name":`A variable with this name already exists.`},whatNext:`What to do next: retry the failed items, review any blocked ones, or revise your request.`,applyMissing:`Apply summary missing from snapshot.`,retryRemaining:e=>`Retry remaining (${X(e)})`,importParts:{title:`Case import`,counts:(e,t,n,r)=>`Total ${X(e)} \u00B7 written ${X(t)} \u00B7 failed ${X(n)} \u00B7 skipped ${X(r)}`,page:(e,t)=>`${X(e)} of ${X(t)} on this page`,previous:`Previous`,next:`Next`,open:`Open import`,unnamed:`Name missing`,rowStatus:{pending:`Queued`,applied:`Written`,failed:`Write failed`,rolled_back:`Undone`,create:`Will be created`,replace:`Will be replaced`,copy:`Will be copied`,skip_existing:`Already imported`,skip_error:`Source error`,blocked:`Blocked`,pending_decision:`Awaiting a choice`}},revise:`Revise request`,reviseDraftScenario:e=>`Propose a different change for \u201C${e}\u201D`,reviseDraftProject:e=>`Propose a different change in project \u201C${e}\u201D`,rejectedTitle:`No changes made.`,rejectedLead:`The proposal was rejected before apply. Your project data is unchanged.`,undoneTitle:`Changes undone`,undoneLead:`The applied changes were reverted to their previous state.`,superseded:`Superseded by a newer proposal.`,expired:`The decision window expired. Changes awaiting confirmation were not applied.`,unknownState:`Task status not supported by this version`,undo:{action:`Undo changes`,until:e=>`Undo available until ${e}`,busy:`Undoing\u2026`,blocked:{stale:`Undo unavailable: the data changed after apply.`,expired:`Undo unavailable: the undo window has elapsed.`,kill_switch:`Undo unavailable: Progon writes are disabled for this company.`},unavailable:`Undo unavailable.`,error:{"change_sets.undo_stale":`Undo unavailable: the data changed after apply.`,"change_sets.undo_expired":`Undo unavailable: the undo window has elapsed.`,"change_sets.undo_not_eligible":`Undo unavailable.`,"assistant.ai_write_disabled":`Undo unavailable: Progon writes are disabled for this company.`},failed:`Failed to undo the changes.`,unknown:`Undo status unknown \u2014 reload the card.`,sideEffectsTitle:`Not reversed automatically:`,sideEffect:{test_plan_assignment_advance:`Test-plan assignment advancement`}},loadingAria:`Loading task status`,loadError:`Couldn't load task status`,loadErrorHint:`The changes on the server are not affected.`,unavailable:`Card unavailable`,unavailableText:`You have no access to this change, or it was deleted.`,unsupported:{title:`Changes card not supported`,body:`The answer came in a format this version cannot show. Reload the page or the extension.`},turn:{title:`Changes`,awaiting:e=>`awaiting decision ${X(e)}`,proposals:e=>`${X(e)} ${Y(e,{one:`proposal`,other:`proposals`})}`,remaining:(e,t)=>`${X(e)} of ${X(t)} left`,applying:(e,t)=>`Applying ${X(e)} of ${X(t)}\u2026`,done:(e,t)=>`Done: ${X(e)} of ${X(t)}`,applied:e=>`${X(e)} applied`,rejected:e=>`${X(e)} rejected`,errors:e=>`${X(e)} ${Y(e,{one:`error`,other:`errors`})}`,superseded:e=>`${X(e)} superseded`,closed:e=>`${X(e)} closed`,expired:e=>`${X(e)} decision windows expired`,undone:e=>`${X(e)} undone`,loadFailed:e=>`${X(e)} failed to load`,confirmAll:e=>`Confirm all (${X(e)})`,rejectAll:`Reject all`,passFailures:e=>Y(e,{one:`${X(e)} action failed \u2014 that card is unchanged`,other:`${X(e)} actions failed \u2014 those cards are unchanged`})},rulesDiff:el},ol=new Intl.NumberFormat(`en`),sl={title:`Coverage check`,caption:e=>`\u201C${e}\u201D`,cardAria:e=>`Coverage check: ${e}`,candidates:`Candidates`,candidatesOf:(e,t)=>e<t?`Candidates: ${ol.format(e)} of ${ol.format(t)} ${Y(t,{one:`match`,other:`matches`})}`:`Candidates: ${ol.format(e)}`,totalMatches:{words:`Word matches`,meaning:`Matches by meaning`},empty:e=>e===0?`No candidates`:`No candidates: none of the ${ol.format(e)} word ${Y(e,{one:`match`,other:`matches`})} has these tags`,emptyByMeaning:`No candidates`,tagWarningPill:`Tag filter caveat`,matchType:{exact:`by name`,lexical:`by words`},scenarioNumber:e=>`SC-${String(e)}`,openAria:e=>`Open: ${e}`,steps:e=>`${ol.format(e)} ${Y(e,{one:`step`,other:`steps`})}`,unsupported:{title:`Coverage card not supported`,body:`The answer came in a format this version cannot show. Reload the page or update the extension.`}},cl=new Intl.NumberFormat(`en`),ll=e=>cl.format(e),ul={kind:{atlas_crawl:`Site crawl`,make_auto:`Scenario run`,scenario_launch:`Scenario launch`},stage:{queued:`Queued`,launching:`Launching`,link_pending:`Linking to the map`,crawling:`Exploring the site`,running_batch:`Running scenarios`,completed:`Completed`,failed:`Failed`,cancelled:`Stopped`},machineMissing:`Machine name not received`,activity:e=>`Active ${e}`,activityNone:`no activity`,foundCaption:`On the map`,found:{screens:e=>Y(e,{one:`screen`,other:`screens`}),edges:e=>Y(e,{one:`transition`,other:`transitions`}),notes:e=>Y(e,{one:`note`,other:`notes`}),unexplored:e=>Y(e,{one:`unexplored`,other:`unexplored`})},degraded:`The map cannot be read right now \u2014 counters are unavailable. The work continues.`,terminalPrefix:`Finished because`,terminalReason:{claim_timeout:`the agent never picked up the job`,launch_timeout:`the browser did not start in time`,launch_error:`the browser failed to start`,browser_gone:`the browser disappeared`,agent_lost:`the agent stopped responding`,max_duration:`the time limit was reached`,killed:`the agent browser was closed manually`,stalled:`the work made no progress`,capability_mismatch:`the agent does not support automatic mapping`,subject_rejected:`the server rejected the run`,model_timeout:`the model did not answer in time`,runs_not_started:`the runs did not start`,credits_exhausted:`credits ran out`,tab_closed:`the run tab was closed`,slot_taken:`another run took the machine slot`,ai_disabled:`an administrator turned Progon off`,agent_revoked:`the runner was disconnected on its machine`},openMap:`Open map`,openMapAria:e=>`Open the map of project \u201C${e}\u201D`,cancel:{atlas_crawl:`Stop`,make_auto:`Cancel batch`,scenario_launch:`Stop`},kill:`Close agent browser`,cancelConfirm:{atlas_crawl:{question:`Stop the exploration?`,body:`The exploration will stop.`,bodyKept:`Everything the agent has already seen stays on the map.`,bodyQueued:`The job will be removed from the queue \u2014 nothing has started yet.`,keep:`Keep exploring`,confirm:`Stop`},make_auto:{question:`Cancel the batch?`,body:`The whole batch stops: the current run is interrupted and the scenarios still in the queue will not start. Mapping collected so far is kept.`,bodyKept:null,bodyQueued:`The batch will be removed from the queue \u2014 nothing has started yet.`,keep:`Keep batch`,confirm:`Cancel batch`},scenario_launch:{question:`Stop the launch?`,body:`The running scenario or before hook stops; after hooks may finish. The other scenarios do not start.`,bodyKept:null,bodyQueued:`The agent has not taken the launch yet \u2014 no scenario will start.`,keep:`Keep running`,confirm:`Stop`}},killConfirm:{question:`Close the agent browser?`,body:{atlas_crawl:`The browser on the agent machine will be force-closed and the exploration will end as \u201Cbrowser closed manually\u201D. Use it if the agent did not stop after Stop.`,make_auto:`The browser on the agent machine will be force-closed and the batch will end as \u201Cbrowser closed manually\u201D. Use it if the agent did not stop after Cancel.`,scenario_launch:`The agent drops the running scenario midway; its run is interrupted and the others do not start. Use it if the agent did not stop after Stop.`},keep:`Keep open`,confirm:`Close browser`},failed:{cancel:{atlas_crawl:`Could not stop the exploration.`,make_auto:`Could not cancel the batch.`,scenario_launch:`Could not stop the launch.`},kill:`Could not close the agent browser.`,conflict:`The job has already changed \u2014 status refreshed.`},cardAria:e=>`Job: ${e}`,unsupported:{title:`Job status is not supported`,body:`The status came in a format this version cannot show. Reload the page or the extension.`},collection:{collectionAria:e=>`Jobs: ${ll(e)}`,roleCarousel:`job track`,roleSlide:`job`,previous:`Previous job`,next:`Next job`,goToSlide:`Job {index} of {total}`}},dl={explore_app:{id:`explore_app`,title:{ru:`\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C`,en:`Explore`},chip:{hint:{ru:`\u041E\u0431\u043E\u0439\u0442\u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435: \u043A\u0430\u0440\u0442\u0430 \u044D\u043A\u0440\u0430\u043D\u043E\u0432, \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u044B \u0438 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438`,en:`Walk through the app: the screen map, checklists and scenarios`},briefTemplate:{ru:`\u041E\u0431\u043E\u0439\u0434\u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435: \u043F\u043E\u0441\u0442\u0440\u043E\u0439 \u043A\u0430\u0440\u0442\u0443 \u044D\u043A\u0440\u0430\u043D\u043E\u0432, \u043F\u0440\u043E\u0432\u0435\u0440\u044C \u0435\u0451, \u0438\u0441\u043F\u0440\u0430\u0432\u044C \u043C\u0435\u043B\u043A\u0438\u0435 \u043E\u0448\u0438\u0431\u043A\u0438 \u0438 \u043E\u043F\u0438\u0448\u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435, \u043D\u0430\u043F\u0438\u0448\u0438 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u044B \u0438 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438, \u0441\u043E\u0445\u0440\u0430\u043D\u0438 \u0432\u0441\u0451 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443.
178
+ \u041E\u0442\u043C\u0435\u0447\u0430\u0439 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0451\u043D\u043D\u044B\u0435 \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u0438\u044F \u043E\u0442 \u043E\u0436\u0438\u0434\u0430\u0435\u043C\u043E\u0433\u043E \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F; \u043E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0441\u0430\u043C\u0430 \u043F\u043E \u0441\u0435\u0431\u0435 \u043D\u0435 \u0434\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0431\u0430\u0433.
179
+ \u041D\u0435 \u0442\u0440\u043E\u0433\u0430\u0439: `,en:`Walk through the app: build the screen map, check it, fix its small mistakes and describe the application, write checklists and scenarios, save everything in the system.
180
+ Report confirmed deviations from expected behaviour; a request error alone does not prove a bug.
181
+ Do not touch: `}},defaultAllowedChanges:[`file_bugs`,`write_tests`],defaultCaptureApi:!0,suggestedScopeKinds:[`project`],browserSuggested:!0},find_bugs:{id:`find_bugs`,title:{ru:`\u041D\u0430\u0439\u0442\u0438 \u0431\u0430\u0433\u0438`,en:`Find bugs`},chip:{hint:{ru:`\u0418\u0441\u043A\u0430\u0442\u044C \u0434\u0435\u0444\u0435\u043A\u0442\u044B \u0432 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0447\u0430\u0441\u0442\u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F`,en:`Hunt for defects in the part of the app you name`},briefTemplate:{ru:`\u041D\u0430\u0439\u0434\u0438 \u0431\u0430\u0433\u0438 \u0432:
182
+ \u0414\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0439 \u043D\u0430\u0445\u043E\u0434\u043A\u0438 \u0443\u043A\u0430\u0436\u0438, \u0447\u0442\u043E \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u043E, \u0447\u0442\u043E \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u0438 \u043D\u0430 \u0447\u0451\u043C \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u043E \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0435. \u041E\u0442\u043B\u0438\u0447\u0430\u0439 \u0434\u0435\u0444\u0435\u043A\u0442 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043E\u0442 \u043E\u0436\u0438\u0434\u0430\u0435\u043C\u043E\u0433\u043E \u043E\u0442\u043A\u0430\u0437\u0430 \u0438 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u044B \u0441\u0440\u0435\u0434\u044B.
183
+ \u041D\u0435 \u0442\u0440\u043E\u0433\u0430\u0439: `,en:`Find bugs in:
184
+ For each finding, state what happened, what was expected and the basis for that expectation. Distinguish an app defect from an expected rejection or an environment problem.
185
+ Do not touch: `}},defaultAllowedChanges:[`file_bugs`],defaultCaptureApi:!0,suggestedScopeKinds:[`project`,`scenarios`],browserSuggested:!0},create_tests:{id:`create_tests`,title:{ru:`\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0442\u0435\u0441\u0442\u044B`,en:`Create tests`},chip:{hint:{ru:`\u041D\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0438 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u044B \u043F\u043E \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0435\u0441\u0442\u044C \u0432 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438`,en:`Write scenarios and checklists from what the app has`},briefTemplate:{ru:`\u041D\u0430\u043F\u0438\u0448\u0438 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0438 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u044B \u0434\u043B\u044F:
186
+ \u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u2014 \u043F\u043E \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044E: \u0447\u0442\u043E \u0434\u0435\u043B\u0430\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0438 \u0447\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u0439\u0442\u0438 \u043D\u0435 \u0442\u0430\u043A, \u0441 \u0433\u0440\u0430\u043D\u0438\u0446\u0430\u043C\u0438 \u0438 \u043E\u0448\u0438\u0431\u043E\u0447\u043D\u044B\u043C\u0438 \u043F\u0443\u0442\u044F\u043C\u0438.
187
+ \u041D\u0435 \u0442\u0440\u043E\u0433\u0430\u0439: `,en:`Write scenarios and checklists for:
188
+ Checks follow behaviour: what the user does and what can go wrong, with limits and error paths.
189
+ Do not touch: `}},defaultAllowedChanges:[`file_bugs`,`write_tests`],defaultCaptureApi:!0,suggestedScopeKinds:[`project`,`scenarios`],browserSuggested:!0},automate_scenarios:{id:`automate_scenarios`,title:{ru:`\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C`,en:`Automate`},chip:{hint:{ru:`\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438`,en:`Make scenarios automated`},briefTemplate:{ru:`\u0421\u0434\u0435\u043B\u0430\u0439 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438.
190
+ \u0415\u0441\u043B\u0438 \u0448\u0430\u0433 \u0443\u0441\u0442\u0430\u0440\u0435\u043B \u2014 \u043F\u043E\u043F\u0440\u0430\u0432\u044C \u0435\u0433\u043E \u0438 \u043D\u0430\u043F\u0438\u0448\u0438 \u0432 \u043E\u0442\u0447\u0451\u0442\u0435, \u0447\u0442\u043E \u043F\u043E\u043C\u0435\u043D\u044F\u043B.`,en:`Make the chosen scenarios automated.
191
+ If a step is outdated, fix it and say in the report what you changed.`}},defaultAllowedChanges:[`file_bugs`,`write_tests`],defaultCaptureApi:!1,suggestedScopeKinds:[`scenarios`],browserSuggested:!0},run_scenarios:{id:`run_scenarios`,title:{ru:`\u041F\u0440\u043E\u0433\u043D\u0430\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438`,en:`Run scenarios`},chip:{hint:{ru:`\u041F\u0440\u043E\u0433\u043D\u0430\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0438 \u0440\u0430\u0437\u043E\u0431\u0440\u0430\u0442\u044C, \u0447\u0442\u043E \u0443\u043F\u0430\u043B\u043E`,en:`Run scenarios and sort out what failed`},briefTemplate:{ru:`\u041F\u0440\u043E\u0433\u043E\u043D\u0438 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0438 \u0440\u0430\u0437\u0431\u0435\u0440\u0438 \u043F\u0440\u0438\u0447\u0438\u043D\u044B \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432: \u0434\u0435\u0444\u0435\u043A\u0442 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F, \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0430 \u0442\u0435\u0441\u0442\u0430, \u0441\u0440\u0435\u0434\u044B \u0438\u043B\u0438 \u0438\u0441\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F.
192
+ \u041E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443 \u0438\u043B\u0438 \u043F\u043E\u0442\u0435\u0440\u044F\u043D\u043D\u044B\u0439 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043D\u0435 \u0441\u0447\u0438\u0442\u0430\u0439 \u043F\u0440\u043E\u0432\u0430\u043B\u0435\u043D\u043D\u043E\u0439 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u043E\u0439 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F; \u0443\u043A\u0430\u0436\u0438, \u0447\u0442\u043E \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C \u043D\u0435\u043F\u0440\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u043C. \u0411\u0430\u0433\u0438 \u0437\u0430\u0432\u043E\u0434\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u043E \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0451\u043D\u043D\u044B\u043C \u0434\u0435\u0444\u0435\u043A\u0442\u0430\u043C \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F.`,en:`Run the scenarios and explain the causes of their results: an app defect, a test problem, an environment problem or an execution problem.
193
+ A stop or a lost result is not a failed app check; state what remains unverified. File bugs only for confirmed app defects.`}},defaultAllowedChanges:[`file_bugs`],defaultCaptureApi:!1,suggestedScopeKinds:[`test_run`,`test_plan`,`scenarios`],browserSuggested:!1},custom:{id:`custom`,title:{ru:`\u0417\u0430\u0434\u0430\u043D\u0438\u0435 \u0434\u043B\u044F \u0418\u0418`,en:`AI task`},chip:null,defaultAllowedChanges:null,defaultCaptureApi:!0,suggestedScopeKinds:[`project`,`scenarios`,`test_run`,`test_plan`],browserSuggested:!1}},fl=[`explore_app`,`find_bugs`,`create_tests`,`automate_scenarios`,`run_scenarios`],pl={extension_atlas_card:{presetId:`explore_app`,scopeKind:`project`},extension_make_auto_modal:{presetId:`automate_scenarios`,scopeKind:`scenarios`}};function ml(e){return fl.some(t=>Object.values(dl[t].chip.briefTemplate).includes(e))}function hl(e){return dl[e]}function gl(e){return e.name===null?e.briefLine:e.name}var _l={web_runs_prompt:`from Launches`,web_test_run_dialog:`from a test run`,web_map_dialog:`from the map`,web_scenarios_dialog:`from Scenarios`,chat:`from a chat`},vl={title:{make_auto:`Swarm \u00B7 Make Auto`,atlas:`Swarm \u00B7 Atlas`,preset:`AI task`},subtitle:(e,t)=>`${e} \u00B7 Max \u00B7 since ${t}`,preset:{stopConfirm:{question:`Stop the task?`,body:`The agent window closes and running runs are cancelled. The report is marked \u00ABPartial\u00BB. What is done \u2014 bugs, findings, scenarios \u2014 stays.`,keep:`Keep running`,confirm:`Stop the task`,failed:`Could not stop the task`},scope:e=>{switch(e.kind){case`project`:return`Whole app`;case`scenarios`:return`${e.count} ${Y(e.count,{one:`scenario`,other:`scenarios`})}`;case`test_run`:return e.name===null?`Test run #TR-${String(e.number).padStart(3,`0`)}`:`Test run \u201C${e.name}\u201D`;case`test_plan`:return`Test plan \u201C${e.name}\u201D`}},level:e=>e.effort===`max`?`Max`:e.effort===`thinking`?`Thinking`:`Normal`,since:e=>`since ${e}`,counts:{findings:e=>Y(e,{one:`finding`,other:`findings`}),bugs:e=>Y(e,{one:`bug`,other:`bugs`}),undecided:e=>Y(e,{one:`awaits a decision`,other:`await a decision`})},awaitingBrowser:{sidePanel:`Connect this browser \u2014 the agent starts at once`,web:`You can continue from the Progon side panel in Chrome`},startingRunner:`Waiting for the runner to take the task`,pillAwaitingBrowser:`Waiting for a browser`,stripAwaitingBrowser:`The task is waiting for a browser`,panelWait:{title:e=>`\u201C${e}\u201D is waiting for a browser`,lostTitle:e=>`The browser disconnected \u2014 \u201C${e}\u201D is waiting`,lostDetail:e=>`The agent window closed at ${e}, the work done is saved`,origin:(e,t,n)=>`Launched ${_l[e]} at ${t} \u00B7 ${n}`,resume:`Continue in this browser`,openLaunch:`Launch page`},stripAwaitingAnswer:`The assistant awaits your reply`,stripAwaitingMessage:`The assistant awaits your message`,assistantIdle:`The assistant wakes up when the run ends`,partialCancelled:e=>`Incomplete: stopped at ${e}.`,partialFailed:e=>`Incomplete: ${e}.`,failureReason:{credits:`the company ran out of AI credits`,turnShape:`the model returned no action several turns in a row`,internal:`internal error of the agent`,initiatorUnavailable:`the initiator is unavailable`,other:e=>`the agent stopped with the error \u201C${e}\u201D`},beforeStop:(e,t)=>t===null?`Before the stop \u2014 ${e}.`:`Before the stop \u2014 ${e}, ${t}.`},topic:e=>e.kind===`atlas`?e.projectName:e.kind===`preset`?gl(e):e.scenarioName===null?`${e.scenarioCount} ${Y(e.scenarioCount,{one:`scenario`,other:`scenarios`})}`:e.scenarioName.trim()===``?`Untitled scenario`:e.scenarioName,pill:{startingBrowser:`Connecting`,startingRunner:`Connecting`,running:`Running`,awaiting:`Awaiting reply`,browserLost:`Waiting for browser`,runnerLost:`Waiting for runner`,pausing:`Pausing`,paused:`Paused`,stopping:`Stopping`,completed:`Finished`,failed:`Failed`,cancelled:`Stopped`},pauseCause:{user:`manual`,credits:`credits`,user_credit_limit:`personal limit`,provider_unavailable:`AI model provider unavailable`},lead:{startingBrowser:`Waiting for the browser to take the swarm`,startingRunner:`Waiting for the runner to take the swarm`,active:`The agent is working`,idle:`The agents are working`,awaiting:`The agent awaits your reply \u2014 the question is below`,stopping:`Closing the windows and stopping the tasks. What is done stays.`},startingRow:{browser:`Windows open in the background \u2014 focus stays with you`,runner:`Windows open in the runner's browser`},hostLost:{sidePanel:`The browser was closed \u2014 the agents' windows are closed, the queues are paused.`,web:`The browser is disconnected. You can continue from the Progon side panel in Chrome.`,runner:`The runner's job ended. Why \u2014 on the launch page, with \u00ABContinue on a runner\u00BB.`},worker:{name:e=>`Agent ${e}`,kind:{make_auto:`Make Auto`,atlas:`Atlas`,run:`Run`,check_launch:`Verification launch`},task:e=>`task ${e}`,opening:`Window opening`,idle:`Awaiting a task`,busy:`Taking a task`,closing:`Window closing`,noWindow:`no window`,listLabel:`Task agents`,untitledScenario:`Untitled scenario`,crawl:e=>e===null?`Crawl`:`Crawl \u201C${e}\u201D`,progress:(e,t)=>`${e} of ${t}`,steps:e=>`${e} ${Y(e,{one:`step`,other:`steps`})}`},end:{tally:(e,t)=>`Done ${e} of ${t}`,tallyBeforeStop:(e,t)=>`Done before the stop: ${e} of ${t}`,screens:e=>`${e} ${Y(e,{one:`screen`,other:`screens`})} on the map`,cancelledBy:(e,t)=>`Stopped by ${e}, ${t}.`,reportPartial:`The report is marked \u00ABIncomplete\u00BB.`,failureReason:{credits:`The company ran out of AI credits.`,turnShape:`The model returned no action several turns in a row.`,internal:`Internal error of the agent.`,initiatorUnavailable:`The swarm stopped: the initiator is unavailable.`,other:e=>`The agent stopped with the error \u201C${e}\u201D.`}},actions:{open:`Swarm page`,openLaunch:`Launch page`,openReport:`Open report`,stop:`Stop`,resume:`Continue in this browser`,stopConfirm:{question:`Stop the swarm?`,body:`The windows close and the tasks stop. What is done \u2014 scenarios and screens on the map \u2014 stays.`,keep:`Keep running`,confirm:`Stop the swarm`},stopFailed:`Could not stop the swarm`},strip:{awaiting:`The agent awaits your reply`,toQuestion:`To the question`,lostBrowser:`Browser disconnected`,lostRunner:`Waiting for runner`,resume:`Continue`,startingBrowser:`Connecting the browser`,startingRunner:`Connecting the runner`,active:`The agent is working`,idle:`The agents are working`,stopping:`The swarm is stopping`,toBlock:`To the swarm`,toBlockLabel:`Show the swarm block`,windows:e=>`${e} ${Y(e,{one:`window`,other:`windows`})}`}},yl={failed:e=>`Could not start the scenario: ${e}`,failedBatch:e=>`Could not start the scenarios: ${e}`,reason:{no_active_tab:`no active tab. Open the project page first.`,content_not_loaded:`the extension is not loaded on this page. Refresh it and try again.`,launch_refused:`the tab did not start the run: another run is in progress there, or it could not be prepared.`,test_run_tab_missing:`the tab with this run's test run is closed, or its test run has ended.`},unsupported:{title:`Run in tab not supported`,body:`The answer came in a format this version cannot show. Reload the page or update the extension.`}},bl=new Intl.NumberFormat(`en`),xl=e=>bl.format(e),Sl={title:`Run on agent`,cardAria:e=>`Run on agent: ${e}`,outcome:{refused:`Rejected`,refusedWithReason:e=>`Rejected: ${e}`,launched:(e,t)=>`Launched ${xl(e)} of ${xl(t)}`},confirmed:`Confirmed`,refusedHead:`Rejected`,refusedList:`Rejected scenarios`,launchedSummary:`Launched`,launchedList:`Launched scenarios`,unsupported:{title:`Run card not supported`,body:`The answer came in a format this version cannot show. Reload the page or update the extension.`}},Cl={listLabel:(e,t)=>`${e} \u00B7 ${xl(t)}`,token:{"stand.main":`Safe`,"stand.dangerous":`Full`,"onExisting.skip":`Skip`,"onExisting.replace":`Replace`,"onExisting.duplicate":`Create a copy`,"scenarios.ad_hoc_batch":`A one-off batch of steps, not a saved scenario`,"environment.projectDefault":`The project's default`,"status.running":`Running`,"status.finished":`Finished`,"status.aborted":`Aborted`,"aiRunMode.mapping":`Bind steps to page elements`,"aiRunMode.agentic":`The agent walks through the scenario`,"window.headful":`With browser window`,"window.headless":`Without browser window`,"executor.extension":`Browser extension`,"executor.agent":`Runner`,"billingPeriod.monthly":`Monthly`,"billingPeriod.yearly":`Yearly`,"requestType.plan_change":`Plan change`,"requestType.topup":`Credit top-up`,"requestType.seats":`Additional seats`,"role.user":`User`,"allowedChange.file_bugs":`File bugs`,"allowedChange.write_tests":`Create and change scenarios and checklists`,"allowedChange.edit_project":`Other changes`,"scope.project":`Whole application`},warning:{"stand.dangerous":`Full access on an unattended machine: the agent will be able to change and delete any data, with nobody next to it. Enable this on a test stand only.`},unrecognized:`Value not recognized`},wl=new Intl.NumberFormat(`en`),Tl=e=>wl.format(e),El={title:`Scenario`,caption:e=>`SC-${String(e)}`,cardAria:(e,t)=>`Scenario ${e}: ${t}`,lifecycle:{draft:`Draft`,ready:`Live`,outdated:`Outdated`,archived:`Archived`},steps:e=>Y(e,{one:`step`,other:`steps`}),runs:e=>Y(e,{one:`run`,other:`runs`}),mapping:{label:{none:`Mapping: none`,partial:`Mapping: partial`,full:`Mapping: full`},hint:{none:`no step is linked yet`,partial:`some steps are linked to pages and elements`,full:`every step is linked`},hintNoSteps:`no steps`,tip:e=>`Steps mapped to pages and elements: ${e}`},open:`Open in workspace`,openShort:`Open`,openAria:e=>`Open in workspace: ${e}`,run:`Run`,runAria:e=>`Run: ${e}`,runCommand:e=>`Run scenario ${e}`,runNoSteps:`No steps to run \u2014 add steps in the workspace.`,expand:`Expand \u2014 steps and history`,expandShort:`Expand`,collapse:`Collapse`,tabsAria:`Scenario sections`,tabSteps:`Steps`,tabRuns:`Run history`,step:{aria:(e,t)=>`Step ${Tl(e)}: ${t}`,missingLabel:`step text is missing`,moreExpected:e=>`+${Tl(e)}`,expectedHeading:`Expected results`},stepsEmptyTitle:`No steps yet`,stepsShown:(e,t)=>`Showing ${Tl(e)} of ${Tl(t)}`,stepsLoadMore:e=>`Load ${Tl(e)} more`,stepsLoading:`Loading steps\u2026`,stepsLoadFailed:(e,t)=>`Could not load steps \u00B7 showing ${Tl(e)} of ${Tl(t)}`,runsEmptyTitle:`Never run`,runsLoading:`Loading run history\u2026`,runsLoadFailed:`Could not load the run history`,runsShown:(e,t)=>`Showing ${Tl(e)} of ${Tl(t)}`,runsLoadMore:e=>`Show ${Tl(e)} more`,runStatus:{queued:`Queued`,launching:`Launching`,in_progress:`In progress`,completed:`Completed`,failed:`Failed`,cancelled:`Cancelled`},runMode:{manual:`Manual`,semi_auto:`Semi-auto`,auto:`Auto`},runProgress:(e,t)=>`step ${Tl(e)} of ${Tl(t)}`,runDurationUnavailable:`Duration unavailable`,runMomentUnavailable:`\u2014`,refreshing:`refreshing`,refreshingAria:e=>`Scenario ${e} is refreshing`,refreshedAria:e=>`Scenario ${e} refreshed`,readAt:e=>`data as of ${e}`,readTimeUnknown:`data time unknown`,refreshFailed:`Could not refresh the scenario`,refreshFailedShort:`Could not refresh`,refreshUnavailable:`The scenario is no longer available`,unavailableAria:e=>`Scenario ${e} is no longer available`,unavailableWhy:`Why unavailable`,unavailableReason:`It is in the trash or you no longer have access to it`,unsupported:{title:`Scenario card is not supported`,body:`The answer came in a format this version cannot show. Reload the page or the extension and ask in the chat again.`},collection:{collectionAria:e=>`Scenarios: ${Tl(e)}`,roleCarousel:`scenario track`,roleSlide:`scenario`,previous:`Previous scenario`,next:`Next scenario`,goToSlide:`Scenario {index} of {total}`}},Dl=new Intl.NumberFormat(`en`),Z=e=>Dl.format(e),Ol=e=>Y(e,{one:`run`,other:`runs`}),kl=e=>Y(e,{one:`failure`,other:`failures`}),Al=e=>Y(e,{one:`pass`,other:`passes`}),jl=e=>Y(e,{one:`day`,other:`days`}),Ml={not_enrolled:()=>`No machine is connected yet.`,none_ready:e=>`None of your machines (${Z(e)}) is ready for this work.`,one_ready:e=>`One machine is ready. Machines in total: ${Z(e)}.`,many_ready:e=>`Several machines are ready. Machines in total: ${Z(e)}.`},Nl={playback:`No playback`,scenario_launch:`No scenario launch`},Pl={common:{missingName:`name is missing`,open:`Open`,newTabSuffix:` (new tab)`,noOpenTarget:`no open target`,noOpenTargetHint:`There is no open target for this entity type`,moreActions:`More actions`,retry:`Retry`,commandFailure:{confirm:`Could not confirm \u2014`,reject:`Could not reject \u2014`,reason:{rejected:`the server did not accept the decision. Try again.`,ack_timeout:`the server did not answer. Try again.`,not_open:`the connection is not open yet. Try again.`,connection_closed:`the connection dropped. Try again.`}},entityType:{scenario:`Scenario`,bug:`Bug`,"checklist-item":`Checklist item`,checklist:`Checklist`,"saved-request":`API request`,collection:`Collection`,"shared-step":`Shared step`,run:`Test run`,"test-run":`Test run`,page:`Page`,"test-plan":`Test plan`,environment:`Environment`,variable:`Variable`,"atlas-fact":`Map`,"api-folder":`API folder`,"api-endpoint":`API endpoint`,section:`Section`}},collection:{counter:`{index} / {total}`,counterUnknown:`{index}`,positionMore:`More`,scrubberAria:`Position in the track`,slideAria:`{index} of {total}`,slideAriaAtLeast:`{index} of {total}+`,slideAriaUnknown:`{index}, set size unknown`,loadedOf:`{loaded} of {total} shown`,loadedOfAtLeast:`{loaded} of {total}+ shown`,loadedOfUnknown:`{loaded} shown`,loadMore:`Load {remaining} more`,loadMoreUnknown:`Load more`,loading:`Loading`,loadMoreFailed:`Could not load the next page`,loadedMore:`{count} more loaded, {total} in total`,loadedMoreAtLeast:`{count} more loaded, at least {total} in total`,loadedMoreUnknown:`{count} more loaded`},report:{title:{metric_card:`Metric`,trend_card:`Trend`,finding_card:`Weak spot`,stability_row_card:`Scenario stability`,scenario_stability_card:`Scenario stability \u2014 details`,failure_breakdown_card:`Failure causes`,weak_spot_feature_card:`Weak area: feature`,weak_spot_page_card:`Weak area: page`,weak_spot_section_card:`Weak area: section`,hotspot_card:`Bug hotspot`},window:{"7d":`7 days`,"14d":`14 days`,"30d":`30 days`,"90d":`90 days`},windowShort:{"7d":`7 d`,"14d":`14 d`,"30d":`30 d`,"90d":`90 d`},basisRuns:(e,t)=>`last ${Z(e)} ${Ol(e)} (up to ${Z(t)} ${jl(t)})`,currentState:`current state`,noWindow:`window does not apply`,asOf:e=>`as of ${e}`,stamp:{source:(e,t)=>[`Source: ${e}`,...t].join(` \u00B7 `),metric:(e,t)=>`${e} \u00B7 version ${t}`,rule:(e,t)=>`rule ${e} \u00B7 version ${t}`,definition:e=>`definition version ${e}`,mapping:e=>`mapping version ${e}`,envelope:(e,t)=>`${e} \u00B7 version ${t}`},metric:{name:{pass_rate:`Run pass rate`,runs_total:`Runs`,runs_passed:`Passed runs`,runs_failed:`Failed runs`,runs_evaluated:`Runs in the denominator`,runs_infra:`Infrastructure runs`,runs_cancelled:`Cancelled runs`,runs_abandoned:`Abandoned runs`,run_duration_sum_ms:`Total run duration`,run_duration_count:`Runs with a known duration`,run_duration_avg:`Average run duration`,page_steps_executed:`Steps executed on the page`,page_steps_passed:`Steps passed on the page`,page_steps_failed:`Steps failed on the page`,page_steps_healed:`Self-healed steps on the page`,page_step_success_rate:`Page step success rate`,page_healed_rate:`Page self-healing share`,step_failures:`Step failures`,run_failures:`Run failures`,bugs_opened:`Bugs opened`,bugs_closed:`Bugs closed`,open_bugs:`Open bugs`,behavior_units_passed:`Covered behavior units`,behavior_units:`Behavior units`,behavior_coverage_pct:`Behavior coverage`,unstable_scenarios:`Unstable scenarios`,screens:`Screens`,screens_with_tests:`Screens with tests`,screen_test_coverage_pct:`Screen test coverage`},missingName:`Metric without a name in this version`,missingNameDetail:e=>`metricId: ${e}`,unit:{percent:`%`,count:``,ms:`ms`,days:`d`},denominator:{pass_rate:e=>`of ${Z(e)} ${Ol(e)}`,runs_total:e=>`${Z(e)} ${Ol(e)}`,unstable_scenarios:e=>`of ${Z(e)} automated ${Y(e,{one:`scenario`,other:`scenarios`})}`,open_bugs:e=>`${Z(e)} open`,behavior_coverage_pct:e=>`of ${Z(e)} behavior ${Y(e,{one:`unit`,other:`units`})}`,generic:e=>`base: ${Z(e)}`},insufficient:`Not enough data in the window \u2014 the metric is not computed.`,noSeriesValue:`Not enough data in the window \u2014 no chart is drawn.`,deltaHint:`vs the previous period`,deltaPointsHint:` \u00B7 pp \u2014 percentage points, the difference of two percentages`,deltaPoints:e=>`${e} pp`,sparkAria:e=>`Trend: ${e}`,sparkGap:(e,t)=>`Not enough data on ${e}: ${Z(t)} ${Ol(t)}`,openReport:`Open the full report`},trend:{lastDay:e=>`Last day (${e})`,dayDenominator:e=>`day denominator: ${Z(e)}`,points:`Points`,empty:`No points \u2014 not a single day in the window had enough data.`,gaps:e=>`Days with no value: ${Z(e)} \u2014 the day denominator is below the minimum.`},finding:{severity:{critical:`critical`,high:`important`,watch:`watch`},sentence:{section_coverage_gap:e=>({before:`Section `,after:`: ${[e.notCovered>0?`${Z(e.notCovered)} not covered`:null,e.failed>0?`${Z(e.failed)} failed`:null].filter(e=>e!==null).join(`, `)}`}),consistently_failing_scenario:e=>({before:`Scenario `,after:` failed in the last ${Z(e.count)} ${Ol(e.count)} in a row`}),low_page_success:e=>({before:`Page `,after:`: step success ${e.rate} of ${Z(e.executions)} (threshold: ${e.threshold})`}),high_healed_rate:e=>({before:`Page `,after:`: ${e.rate} of passed steps needed self-healing (threshold: ${e.threshold})`}),screen_coverage_gap:e=>({before:`Section `,after:`: ${Z(e.screensWithoutTests)} ${Y(e.screensWithoutTests,{one:`screen`,other:`screens`})} without tests of ${Z(e.screensWithoutTests+e.screensWithTests)}`}),stale_section:e=>({before:`Section `,after:`: last run ${Z(e.days)} ${jl(e.days)} ago (threshold: ${Z(e.threshold)})`}),open_bugs_no_verification_critical:e=>({before:`Page `,after:`: ${Z(e.count)} critical ${Y(e.count,{one:`bug`,other:`bugs`})} and no passed check in ${e.window}`}),open_bugs_no_verification_high:e=>({before:`Page `,after:`: ${Z(e.count)} high-severity ${Y(e.count,{one:`bug`,other:`bugs`})} and no passed check in ${e.window}`})},dominantCause:(e,t,n)=>`; main cause \u2014 ${e.toLocaleLowerCase(`en`)} (${Z(t)} of ${Z(n)} ${kl(n)})`,unknownRule:`The rule of this weak spot is not supported by this version.`,incompleteEvidence:`The rule evidence is incomplete, so no statement is made.`,ruleIdDetail:e=>`ruleId: ${e}`,evidence:(e,t,n)=>`${Z(e)} \u00B7 ${t} \u00B7 threshold ${Z(n)}`,evidenceAria:`Evidence behind the statement`,evidenceRows:{denominator:`Denominator`,threshold:`Threshold`,window:`Window`,rule:`Rule`},open:{scenario:`Open the scenario`,page:`Open the page`,feature:`Open the feature`,section:`Open the section`}},openAria:(e,t)=>`${e} \u201C${t}\u201D`,stability:{status:{consistently_failing:`consistently failing`,flaky:`flaky`,monitoring:`monitoring`,insufficient_history:`not enough history`,stable:`stable`},evidence:{flaky:(e,t,n)=>`Flaky \u2014 ${Z(e)} ${kl(e)} and ${Z(t)} ${Al(t)} in the last ${Z(n)} ${Ol(n)}`,consistently_failing:e=>Y(e,{one:`Consistently failing \u2014 the last ${Z(e)} run failed`,other:`Consistently failing \u2014 the last ${Z(e)} runs failed in a row`}),monitoring:(e,t)=>`Monitoring \u2014 ${Z(e)} ${kl(e)} out of ${Z(t)} ${Ol(t)}; flaky needs \u22652 failures and \u22652 passes at n\u22656`,insufficientHistory:e=>`Not enough history \u2014 ${Z(e)} ${Ol(e)}; classification needs \u22653`,insufficientHistoryWatermark:e=>`Not enough history \u2014 history is classified from ${e}: the scenario was edited`,stable:e=>`Stable \u2014 ${Z(e)} ${Ol(e)} with no failures`},stripAria:(e,t,n)=>`${Z(e)} ${Al(e)}, ${Z(t)} ${kl(t)} out of ${Z(n)}`,stripAriaBeforeChange:e=>` \u00B7 before the scenario was edited: ${Z(e)} ${Ol(e)}`,beforeChange:`before the scenario was edited`,success:`Success rate`,outOf:(e,t)=>`${Z(e)} of ${Z(t)}`,dominantCause:`Main cause`,noFailures:`no failures`,lastRun:`Last run`,historyReset:e=>`History is classified from ${e}: the scenario was edited.`,causesTitle:`Failure causes`,failures:e=>`${Z(e)} ${kl(e)}`,healed:`Step self-healing`,aiExecuted:`AI-executed steps`,ofPassedSteps:(e,t)=>`${Z(e)} of ${Z(t)} passed ${Y(t,{one:`step`,other:`steps`})}`,erFailed:`Failed expected results`,erFailedValue:(e,t)=>`in ${Z(e)} of ${Z(t)} ${Ol(t)}`,rawCodes:e=>`Cause codes \u00B7 mapping ${e}`,rawCode:(e,t)=>`${e} \u00D7${Z(t)}`,recentRuns:`Recent runs`,outcome:{passed:`passed`,failed:`failed`,infra:`infrastructure`,cancelled:`cancelled`,abandoned:`abandoned`},totalFailures:`Failures in total`,noCauses:`No failures.`},cause:{element_resolution:`Element lookup`,step_definition:`Step definition`,action_dispatch:`Action dispatch`,precondition:`Precondition not met`,infrastructure:`Infrastructure`,cancelled:`Cancelled`,unrecognized:`Unrecognized`},weakSpots:{coverage:`Coverage`,coverageValue:(e,t)=>`${Z(e)} of ${Z(t)} behavior ${Y(t,{one:`unit`,other:`units`})}`,sectionFailed:`Failed`,sectionNotRun:`Not run`,sectionNotCovered:`Not covered`,sectionNoUnits:`The section has no behavior units \u2014 there is nothing to measure.`,level:{green:`good`,yellow:`fair`,red:`weak`,none:`no units`},stepSuccess:`Step success rate`,ofSteps:(e,t)=>`${Z(e)} of ${Z(t)} ${Y(t,{one:`step`,other:`steps`})}`,noExecutions:`no executions`,openBugs:`Open bugs`,findings:`Weak spots`,findingsNone:`none`,findingCount:{critical:e=>`${Z(e)} critical ${Y(e,{one:`finding`,other:`findings`})}`,high:e=>`${Z(e)} important ${Y(e,{one:`finding`,other:`findings`})}`,watch:e=>`${Z(e)} ${Y(e,{one:`finding`,other:`findings`})} on watch`},pagesTitle:`Feature pages`,pagesCount:e=>Z(e),pageBugs:e=>`bugs: ${Z(e)}`,pagesTruncated:e=>`Showing the first ${Z(e)} feature ${Y(e,{one:`page`,other:`pages`})}.`,membership:`A page can belong to several features \u2014 per-feature sums do not add up.`,unassigned:`no feature`,priority:{critical:`Critical`,high:`High`,medium:`Medium`,low:`Low`,ignore:`Ignored`}},lastPassed:{label:`Last passed check`,never:`no passed checks yet`,today:`today`,yesterday:`yesterday`,daysAgo:e=>`${Z(e)} ${jl(e)} ago`},hotspot:{open:`Open bugs`,opened:`Opened in the window`,closed:`Closed in the window`,closedHint:`Closures are counted from the reports release: earlier closures carry no close date, and rebuilding it from the change time would be made up.`,unmapped:`Unmapped`,unmappedHint:`Bugs whose element or page has been deleted.`,severityChip:{critical:e=>`${Z(e)} crit`,high:e=>`${Z(e)} high`,medium:e=>`${Z(e)} med`,low:e=>`${Z(e)} low`,none:e=>`${Z(e)} no severity`,unknown:(e,t)=>`${Z(e)} ${t}`}},envelope:{shownOfTotal:(e,t)=>`Showing ${Z(e)} of ${Z(t)} \u2014 the full list is in the report.`,truncated:`Not all rows are shown \u2014 the full list is in the report.`},unsupported:{title:`This report card is not supported`,body:`The report data arrived in a shape this version cannot show. Reload the page or update the extension \u2014 the numbers are still in Progon\u2019s reply text.`},collection:{collectionAria:e=>`Report cards: ${Z(e)}`,roleCarousel:`card track`,roleSlide:`card`,previous:`Previous card`,next:`Next card`,goToSlide:`Card {index} of {total}`}},runnerReadiness:{title:e=>`Machine readiness: ${e}`,job:{swarm:`agent swarm`,scenario_launch:`scenario launch`},evaluatedAt:e=>`as of ${e}`,fleet:Ml,state:{not_owner:()=>`Not found`,pending_enroll:()=>`Awaiting connection`,offline:()=>`Offline`,capability_missing:e=>e===null?`Update needed`:Nl[e],queue_full:()=>`Queue full`,ready:()=>`Ready`},platform:{darwin:`macOS`,linux:`Linux`,win32:`Windows`},lastSeen:e=>`last seen ${e}`,lastSeenNever:`never came online`,machinesAria:e=>`Machines: ${Z(e)}`,noRunners:`The machine list is empty.`,truncated:(e,t)=>`Showing ${Z(e)} of ${Z(t)}.`,unsupported:{title:`This machine card is not supported`,body:`The reply arrived in a shape this version cannot show. Reload the page or update the extension and ask in the chat again.`},collection:{collectionAria:e=>`Readiness reports: ${Z(e)}`,roleCarousel:`readiness report track`,roleSlide:`report`,previous:`Previous report`,next:`Next report`,goToSlide:`Report {index} of {total}`}},runnerEnrollment:{title:e=>`Connect your machine: ${e}`,expiresAt:e=>`valid until ${e}`,step:{install:`Install the agent`,enroll:`Connect the machine`,approve:`Approve it in the browser`,start:`Start the daemon`},copy:`Copy`,copied:`Copied`,copyAria:{install:`Copy the install command`,enroll:`Copy the enroll command`,start:`Copy the start command`},copiedAria:{install:`Copied \u2014 the install command`,enroll:`Copied \u2014 the enroll command`,start:`Copied \u2014 the start command`},approveBefore:`The enroll command prints a confirmation code and an approval link shaped like`,approveAfter:`\u2014 open it in a browser signed in to Progon, check the code matches your terminal, name the machine and approve it.`,cadence:e=>`Approve the request within ${Z(e)} s.`,askAgain:`Once the machine is connected, ask in the chat again.`,unsupported:{title:`These connection instructions are not supported`,body:`The reply arrived in a shape this version cannot show. Reload the page or update the extension and ask in the chat again.`}},references:{title:`References`,groupAria:`References from the reply`,filesAria:`Files from the reply`,fileUnavailable:`File unavailable`,destination:{workbench:`in the workbench`,map:`on the map`,run:`opens the run`,list:`in the list`},action:{workbench:`Open in the workbench`,map:`Open on the map`,run:`Open the run`,list:`Open in the list`},noOpenAria:e=>`No open target: ${e}`,unsupported:{title:`References from the reply are not supported`,body:`The references arrived in a format this version cannot show. Reload the page or update the extension.`}},sectionLink:{title:`Project sections`,groupAria:`Project section links`,action:`Open the section`,sections:yn.en,unrecognized:`Unrecognized section`,serverLabel:e=>`Section \u00B7 from the server: \u201C${e}\u201D`,noRoute:`no link`,noRouteHint:`No link could be built for this section`,noRouteAria:e=>`No link for the section: ${e}`,unsupported:{title:`This section link is not supported`,body:`The reply arrived in a shape this version cannot show. Reload the page or update the extension.`}},search:{title:`Found in the project`,evidence:`Why it matched`,openAria:e=>`Open: ${e}`,emptyTitle:`Nothing found`,emptyForQuery:e=>`Nothing matched \u201C${e}\u201D with enough confidence.`,emptyBody:`Searched across the available entity types \u2014 scenarios, bugs, checklist items.`,shownOfTotal:(e,t)=>`Showing ${Z(e)} of ${Z(t)}.`,shownOfAtLeast:(e,t)=>`Showing ${Z(e)} of ${Z(t)}+.`,shownUnknown:e=>`Showing ${Z(e)}.`,loadMore:e=>`Load ${Z(e)} more`,loadMoreUnknown:`Load more`,loading:`Loading the next page\u2026`,loadFailed:`Could not load the next page`,retry:`Retry`,unsupported:{title:`These search results are not supported`,body:`The search reply arrived in a shape this version cannot show. Reload the page or update the extension and ask in the chat again.`},collection:{collectionAria:e=>`Found: ${Z(e)}`,roleCarousel:`result track`,roleSlide:`result`,previous:`Previous result`,next:`Next result`,goToSlide:`Result {index} of {total}`}},jobStatus:ul,workflow:vl,scenario:El,coverage:sl,runInTab:yl,runStartAgent:Sl,confirmation:Cl,changeSet:al,projectMemory:$c},Fl={byCode:{"agent_jobs.dispatch_key_spent":`This confirmation is used up: the exploration it started has finished. Ask for the exploration again.`,"agent_jobs.not_active":`The job has already finished \u2014 there is nothing to stop.`,"agent_jobs.not_found":`Job not found.`,"ai.bedrock_not_configured":`Amazon Bedrock is not configured`,"ai.capabilities.unknown_provider":`Unknown provider.`,"ai.chat_context_window_exceeded":`The message or the scanned page does not fit into the selected model's context window. Send a shorter message, scan a smaller part of the page, or choose a model with a larger context window.`,"ai.company_not_found":`Company not found.`,"ai.completion_failed":`Progon request failed`,"ai.concurrency_gate_unavailable":`Progon is temporarily unavailable because of a problem on our side. Please try again later.`,"ai.credit_charge_failed":`Credits could not be charged for this request. If it happens again, contact support.`,"ai.credit_estimate_invalid":`Credit estimate is invalid.`,"ai.credit_reservation_failed":`Could not reserve credits.`,"ai.credit_reservation_not_found":`Credit reservation not found.`,"ai.credit_reservation_not_open":`This credit reservation is no longer open.`,"ai.credits_insufficient":`Not enough credits`,"ai.element_html_required":`Element HTML is required`,"ai.frozen_model_lane_retired":`Frozen on a model lane the platform no longer operates. Launch it again on a current model.`,"ai.generation_failed":`Progon generation failed`,"ai.messages_required":`Messages are required`,"ai.model_not_allowed":`This model is not allowed`,"ai.model_not_configured":`No model is available for your account. Configure one in settings or contact your administrator.`,"ai.model_output_ceiling_below_thinking_budget":`The model's catalog output ceiling is below its thinking budget \u2014 an administrator must raise the ceiling or lower the budget.`,"ai.model_output_ceiling_missing":`This model has no response ceiling recorded in the catalog, and the provider requires one. Contact your administrator.`,"ai.model_plan_restricted":`Your plan does not allow this model`,"ai.plan_restricted":`Your plan does not allow this action`,"ai.provider_empty_response":`Provider returned an empty response`,"ai.provider_error":`Provider error`,"ai.provider_not_configured":`Provider is not configured`,"ai.reasoning_unsupported":`The model does not control reasoning \u2014 choose \u00ABNormal\u00BB in \u00ABEffort\u00BB and send again.`,"ai.user_company_missing":`User is not associated with a company`,"ai.user_concurrency_exceeded":`Too many requests are running at once. Wait for the current ones to finish.`,"ai.user_credit_limit_reached":`You have reached your AI credit limit ({{usedCredits}}/{{effectiveLimit}}). Contact your administrator.`,"ai.user_disabled":`Progon is disabled for your account. Contact your administrator.`,"ai.user_model_not_allowed":`This model is not available for your account`,"ai.user_not_found":`User account not found.`,"ai_models.no_sendable_model":`No model is available for this run \u2014 pick one in the top bar or configure a key in settings.`,"ai_models.selection_not_sendable":`This model cannot be selected right now.`,"ai_settings.admin_required":`Admin access required.`,"ai_settings.api_key_missing":`No saved API key found.`,"ai_settings.company_key_required":`Company API key is required for this action.`,"ai_settings.company_not_found":`Company not found.`,"ai_settings.company_provider_required":`A company provider must be configured.`,"ai_settings.enterprise_required_company":`Company keys require an Enterprise plan.`,"ai_settings.enterprise_required_personal":`Personal keys require an Enterprise plan.`,"ai_settings.enterprise_required_user":`User keys require an Enterprise plan.`,"ai_settings.invalid_provider":`Invalid provider selected.`,"ai_settings.model_unavailable":`Selected model is not available for your account.`,"ai_settings.personal_provider_required":`A personal provider must be configured.`,"ai_settings.plan_not_found":`Plan not found.`,"ai_settings.provider_required":`Provider is required.`,"ai_settings.provider_unavailable":`Selected provider is not available.`,"ai_settings.unsupported_personal_provider":`Selected provider is not supported as a personal provider.`,"ai_settings.user_not_found":`User not found.`,"assistant.action_context_missing":`Cannot confirm: the conversation context is missing. Start a new conversation or reload.`,"assistant.conversations.invalid_cursor":`Invalid cursor.`,"assistant.conversations.not_found":`Conversation not found.`,"assistant.search_session.not_found":`Search session not found or expired.`,"auth.company_forbidden":`Access denied to this company`,"auth.forbidden":`Insufficient permissions`,"auth.insufficient_scope":`Required permission scope is not granted.`,"auth.invalid_token":`Invalid or expired token`,"auth.login.company_inactive":`Company not found or deactivated`,"auth.login.email_not_verified":`Email not confirmed. We sent a new code to it.`,"auth.login.email_rate_limited":`Too many login attempts for this email. Please try again later.`,"auth.login.invalid_credentials":`Invalid email or password`,"auth.login.missing_credentials":`Email and password are required`,"auth.login.rate_limited":`Too many login attempts. Please try again later.`,"auth.login.registration_expired":`Registration was not completed. Please register again.`,"auth.missing_header":`Missing or invalid authorization header`,"auth.refresh.token_required":`Refresh token is required.`,"auth.register.capacity_reached":`We are accepting a limited number of new accounts right now, so sign-ups are temporarily closed. Please try again later, or contact support if you need access sooner.`,"auth.register.capacity_unreadable":`Registration could not be completed because of a server error. Please try again, and contact support if it persists.`,"auth.register.company_required":`Company name is required.`,"auth.register.email_domain_blocked":`This email provider is not accepted for registration. Please sign up with a permanent work or personal address.`,"auth.register.email_invalid":`Invalid email address.`,"auth.register.email_taken":`A user with this email already exists`,"auth.register.invite_code_invalid":`This invite code is not valid. Check the code you entered, or request a new one.`,"auth.register.invite_required":`Registration is currently by invitation only. Use the invitation link you were sent, or contact support to request access.`,"auth.register.name_required":`First and last name are required.`,"auth.register.rate_limited":`Too many registration attempts. Please try again later.`,"auth.required":`Authentication required`,"auth.resend.email_required":`Email is required.`,"auth.resend.rate_limited":`Please wait before requesting another code.`,"auth.session_invalidated":`Your session has been invalidated. Please log in again.`,"auth.session_required":`This action requires session authentication.`,"auth.token_expired":`Your token has expired. Please log in again.`,"auth.token_revoked":`Your token has been revoked. Please log in again.`,"auth.user_unavailable":`User not found or deactivated`,"auth.verify_email.invalid_code":`Invalid verification code`,"auth.verify_email.rate_limited":`Too many verification attempts. Please try again later.`,"auth.verify_email.required":`This page is out of date. Please start the registration again.`,"auth.verify_email.too_many_attempts":`Too many attempts. Please request a new code`,"available_models.missing_disabled_selection_id":`Disabled selection ID is missing.`,"available_models.redis_unavailable":`Model availability service is temporarily unavailable.`,"available_models.unknown_key_source":`Unknown API key source.`,"chat_confirm.display_unresolvable":`The assistant referred to an object that does not exist in this project. Say exactly what to start or stop.`,"chat_confirm.pending_action_stale":`This proposal is stale: it was made before an update and its parameters no longer fit the tool. Ask again and the assistant will prepare a fresh one.`,"client.connection_lost_during_stream":`The answer was cut off.`,"client.workflow_host_action_failed":`Could not connect the swarm in this browser. Open the swarm page.`,"client.permission_mode_changed":`The confirmation mode was changed in another window. Check the switch and send the message again.`,"client.stream_stalled":`No answer for over a minute. The part of the answer already received stays above.`,"cmd.accept_timeout":`The server did not take the message in time.`,"company_models.default_must_be_enabled":`Model must be enabled in the allowlist before it can be set as default.`,"company_models.invalid_model_id":`Model not found.`,"company_models.plan_restricted":`This model requires a higher subscription plan.`,"conversation.project_id_required":`A project ID is required for this conversation.`,disconnected:`Connection lost.`,"internal.invalid_token":`Invalid admin token.`,"internal.not_configured":`Internal API is not configured.`,"internal.operation_failed":`Internal operation failed.`,"internal.unexpected":`Unexpected error`,model_not_allowed:`That model isn't available for your plan \u2014 reverted to your default.`,"rate_limit.company_write_exceeded":`Company rate limit exceeded. Please retry later.`,"rate_limit.counter_upsert_failed":`Failed to update rate limit counter.`,"rate_limit.counter_upsert_invalid_count":`Rate limit counter returned an invalid value.`,"rate_limit.exceeded":`Too many requests. Please try again later.`,reconnect_failed:`Unable to reconnect. Please check your network.`,reconnect_timeout:`Connection timed out. Please check your network.`,selection_expired:`Message could not be sent.`,"subscription.admin_api_error":`Unable to process request at this time.`,"subscription.admin_api_not_configured":`The upgrade request service is not configured.`,"subscription.admin_api_unavailable":`The upgrade request service is temporarily unavailable. Please try again later.`,"subscription.admin_required":`Admin access required.`,"subscription.company_not_found":`Company not found.`,"subscription.credits_maximum":`Maximum purchase is 100,000 credits.`,"subscription.credits_minimum":`Minimum purchase is 100 credits.`,"subscription.invalid_plan":`Invalid subscription plan.`,"subscription.payments_disabled":`Payment processing is temporarily unavailable. Please use the upgrade request form.`,"subscription.plan_config_missing":`Your subscription plan configuration could not be read, so this action cannot be completed. Please contact support.`,"subscription.plan_not_found":`Subscription plan not found.`,"subscription.request_already_open":`Your company already has an open upgrade request. Please wait for it to be resolved before submitting a new one.`,"subscription.seats_exceed_limit":`Cannot add seats: the maximum allowed for your plan would be exceeded.`,"subscription.seats_invalid":`Invalid seat count. Must be between 1 and 100.`,"subscription.seats_unlimited":`Your plan already includes unlimited seats.`,"ws.conversation_not_found":`Conversation not found.`,"ws.rate_limit_company":`Company connection limit reached. Please try again later.`,"ws.rate_limit_fleet":`Server connection limit reached. Please try again later.`,"ws.rate_limit_user":`Too many connections. Please try again later.`,"ws.run_not_found":`Progon run not found.`,"ws.runner_already_claimed":`Runner is already claimed for this run.`,"ws.runner_not_owner":`Runner claim was lost. Please reconnect.`,"ws.runner_restore_unavailable":`No active runner session to restore.`,"ws.runner_restore_window_expired":`Runner restore window has expired.`,"ws.session_not_found":`Session not found.`,"ws.unauthorized_channel":`Access denied or resource not found.`,"workflows.not_found":`Swarm not found.`,"workflows.not_initiator_or_admin":`Only the person who launched the swarm or a company admin can stop it.`},byProviderCode:{"ai.zai.insufficient_balance":`Z.AI rejected the request \u2014 your account balance is insufficient, or the key and endpoint don't match. Check your Z.AI balance and key.`,"ai.zai.rate_limited":`Z.AI is rate-limiting requests. Please wait a moment.`,"ai.zai.overloaded":`Z.AI is temporarily overloaded. Please wait a moment.`,"ai.zai.quota_exhausted":`Your Z.AI usage quota is exhausted. Check your Z.AI plan limits.`,"ai.zai.plan_restricted":`This Z.AI key is restricted to a specific subscription or plan. Check your Z.AI plan.`,"ai.zai.content_policy":`Z.AI declined this request due to its content policy.`,"ai.zai.unknown_model":`The selected Z.AI model is not recognized. Pick a different GLM model.`,"ai.zai.auth_failed":`Z.AI authentication failed. Check that your API key is valid and active.`,"ai.zai.invalid_request":`Z.AI rejected the request as invalid. Check your input.`,"ai.zai.context_overflow":`The conversation is too long for this Z.AI model. Start a new conversation or shorten your input.`,"ai.zai.vision_not_supported":`This Z.AI model does not support image input. Remove images or pick a vision-capable model.`,"ai.zai.abnormal_termination":`The Z.AI response ended unexpectedly.`,"ai.zai.provider_error":`Z.AI returned an error.`}},Il=e=>Y(e,{one:`message`,other:`messages`}),Ll={cards:Pl,shell:{decisions:{reasons:{conversation_mode:`Ask mode: this change needs your decision`,permission_mode_unavailable:`The mode could not confirm the action automatically`,entity_removal:`Removing a top-level entity needs confirmation in every mode`,secret_value:`A secret value needs confirmation in every mode`,secret_outside_project:`Sending a secret outside the project needs confirmation in every mode`,project_address:`A project address or trusted site needs confirmation in every mode`,company_members:`Changing company membership needs confirmation in every mode`,bug_from_finding:`Filing bugs is not allowed in this task`,task_grant:`This was not allowed when the task started`},alwaysAsk:`We ask in every mode`,reversibleParts:`No question, with Undo for 24 hours`,reversiblePartsHint:`Removing a part of an entity: a step, checklist item, expected result, scenario variable or comment`,appliedAtOnce:e=>`Applied at once \u00B7 ${e} edits`,review:`Review`,confirmAndBypass:`Yes, and do not ask again`,yesApply:`Yes, apply`,yesDelete:`Yes, delete`,yesApplyCount:e=>`Yes, apply ${e}`,yesDeleteCount:e=>`Yes, delete ${e}`,more:e=>`${e} more`,noAnswer:`No answer`,answer:`Answer`,skipped:`Skipped`,previous:`Previous question`,next:`Next question`,position:(e,t)=>`${e} of ${t}`},header:{title:`Progon`,newConversation:`New conversation`,noProject:`No project selected`,capsuleLabel:e=>`Conversation history. Open: ${e}`,newConversationTitle:`New conversation`,titleReading:`Loading the conversation`,titleUnknown:`Title unavailable`,reportMark:`Report`,historyNoProject:`Select a project first`},composer:{inputLabel:`Message to the assistant`,placeholder:`Ask Progon\u2026`,placeholderNoModels:`Sending is unavailable until the model list loads`,placeholderSignIn:`Sign in in the extension first`,placeholderNoProject:`Select a project first`,placeholderOffline:`No connection \u2014 sending is unavailable`,send:`Send`,rejectAndSend:`Decline and send`,rejects:e=>`Declines: ${e}`,detachRejection:`Write a separate message`,refusalFilesStay:`Attached files will remain in the composer`,stop:`Stop the answer`,placeholderWithFiles:`Write what to do with the files\u2026`,sendBlocked:{uploading:`Wait for the files to upload`,refused:`Remove the files that cannot be sent`,noText:`Write a message for the files`},settingsLabel:`Answer settings`,pageContext:{tip:`The assistant sees this page`},effort:{name:`Effort`,note:`The assistant's answers and its launches`,levels:{normal:`Normal`,thinking:`Thinking`,max:`Max`},rows:{normal:`Normal reasoning depth`,thinking:`The assistant and the agent think deeper`,max:`The assistant and the agent think deeper, as \u00ABThinking\u00BB does`},footer:`Holds until the end of the conversation. A new conversation starts on \u00ABNormal\u00BB.`,chipLabel:e=>`Effort: ${e}`},permission:{groupLabel:`Action confirmations`,menuNote:`For this conversation`,chipLabel:e=>`Confirmations: ${e}`,ask:`Ask`,bypass:`No confirmations`,askHint:`Launches and irreversible edits wait for your confirmation.`,bypassHint:`Edits and launches run at once, with their outcome in the feed.`,arrived:e=>`Confirmations: ${e}`},place:{name:`Where to work`,note:`For every launch from the message`,title:`Where the AI works in a browser: this browser, a runner or no browser`,chipLabel:e=>`Where to work: ${e}`,thisBrowser:`This browser`,thisBrowserRowOpensWindows:`Windows open in the background of this Chrome`,thisBrowserRowTasksOnly:`In the web chat \u2014 tasks only; runs and crawls go through a runner or the side panel`,none:`No browser`,noneRow:`API requests and server-side scenarios only`,runner:e=>`Runner ${e}`,runnerUnread:`Runner`,runnerGone:`Runner unavailable`,runnerGoneHint:`The chosen runner was deleted or is no longer available to you. Pick where to work.`,runnerFree:`Free`,runnerBusy:`Busy \u2014 the launch will queue`,runnerBlocked:{notOwner:`Only its owner can launch`,notEnrolled:`Not connected yet`,offline:`Offline`},pick:`Pick where to work`,fleetLoading:`Loading runners\u2026`,fleetFailed:`Could not load runners`,fleetEmpty:`Your company has no runners`,othersGroup:e=>`Other people's runners (${e})`},hint:`Enter to send, Shift+Enter for a new line`,plainHint:`Enter to send`,attachments:{attach:`Attach a file`,trayLabel:`Files of the message`,remove:e=>`Remove the file \u00AB${e}\u00BB`,uploading:e=>`Uploading ${e}%`,uploadingLabel:e=>`Uploading ${e}`,pastedName:e=>`Screenshot ${e}`,drop:{title:`Drop to attach`,types:un,sizes:`A file up to 50 MB, text up to 4 MB`},retry:`Retry`,reupload:`Upload again`,pickModel:`switch to another`,refusal:{type:`This file cannot be attached: ${un} are supported`,tooLarge:e=>`File too large: ${e}`,limit:{file:`a file \u2014 up to 50 MB`,text:`text \u2014 up to 4 MB`},fileName:`The file name is longer than 255 characters \u2014 rename the file and attach it again`,empty:`The file is empty`,textNotUtf8:`The text is not UTF-8 \u2014 save the file as UTF-8 and attach it again`,unreadable:`The file cannot be read \u2014 it may be damaged`,contentMismatch:e=>`The content does not look like ${e} \u2014 attach the real file`,pdfEncrypted:`The PDF is password-protected \u2014 remove the password and attach it again`,server:`The server did not accept the file`,failedNetwork:`Not uploaded: the connection was interrupted`,failedServer:`Not uploaded: the server did not answer`,expired:`An unsent file is kept for a day \u2014 this one is already deleted`,modelNoFiles:e=>`${e} does not take files \u2014 `,modelNoType:(e,t)=>`${e} does not take ${t} \u2014 `,modelFact:(e,t)=>`${e} does not take this file: ${t} \u2014 `},announce:{uploaded:e=>`The file \u00AB${e}\u00BB is uploaded`,refused:(e,t)=>`The file \u00AB${e}\u00BB cannot be sent: ${t}`}}},transcript:{copyAnswer:{label:`Copy answer`,done:`Answer copied`,failed:`Could not copy the answer`},activity:{done:e=>`Successful tool calls: ${e}`,summary:(e,t,n,r)=>`Tool calls: ${e} successful`+(t>0?`, ${t} failed`:``)+(n>0?`, ${n} with unknown outcome`:``)+(r>0?`, ${r} stopped`:``),doneShort:e=>`successful calls: ${e}`,failedShort:e=>`failed calls: ${e}`,unknownShort:e=>`calls with unknown outcome: ${e}`,stoppedShort:e=>`stopped calls: ${e}`,running:e=>`Tool call: ${e}`,failed:`call failed`,unknown:`outcome unknown`,stopped:`call stopped`},feedLabel:`Conversation feed`,scrollToBottom:`Scroll to bottom`,olderHistory:{loading:`Loading earlier messages\u2026`,failed:`Could not load earlier messages`,retry:`Retry`},leadByline:`Swarm agent`,taskLeadByline:`Agent`,retry:`Retry`,thinking:`Thinking\u2026`,thoughtFor:e=>`Thought for ${e}s`,thinkingPhase:`Thinking\u2026`,providerWait:(e,t,n)=>`The AI model provider is failing, retry ${e}/${t}. Next attempt at ${n}.`,agentsWorking:`Agents are working`,toolCall:`Tool call`,toolCallCancelled:`Tool call cancelled`,toolCallStatus:{confirmed:`Action completed`,waitingForBrowser:`Waiting for the browser action`,stoppingBrowser:`Stopping the browser action\u2026`,failed:`Action failed`,rejected:`Rejected`,rejectedLeadGrant:`Not allowed \u2014 goes to the report \u00B7 you`,closedLeadGrant:`Closed: the launch stopped`,unknown:`Action outcome unknown`,stopped:`Action stopped`,launchedElsewhere:`Started in a new conversation`,openConversation:`Open the conversation`},unknownTool:{title:`Result not supported`,body:`This version cannot show the result of this action. Reload the page or update the extension.`},stopFailed:{rejected:`Could not stop the answer \u2014 the server did not accept the command. Try again.`,ack_timeout:`Could not stop the answer \u2014 the server did not respond. Try again.`,not_open:`Could not stop the answer \u2014 the connection is not open yet. Try again.`,connection_closed:`Could not stop the answer \u2014 the connection dropped. Try again.`},details:`Details`,cardsFailed:{title:`Could not show the cards of this answer`,text:`The answer text above is intact.`}},empty:{heading:`How can I help?`,subtext:`Ask about your testing or hand over a task`,tasksLabel:`Tasks`,reportHeading:`Ask about this report`,promptsLabel:`Questions about the report`,loadFailed:`Could not load the conversation`},errors:{classes:{rateLimit:{title:`Too many requests`,hint:`Wait a moment`},credits:{title:`Limit reached`,hint:`Check your plan or limits in settings`},auth:{title:`Provider authorization failed`,hint:`Check the API key in settings`},connection:{title:`Provider unavailable`,hint:`Check the settings`},stalled:{title:`The assistant stopped responding`,hint:null},streamCut:{title:`Connection lost`,hint:null},generic:{title:`Progon assistant error`,hint:null}}},notices:{dismiss:`Dismiss notice`,capabilities:{title:`Model list unavailable`,sendBlocked:`Messages cannot be sent until the model list loads again.`,timedOut:`The model list did not load in time.`,loadFailed:`Could not load the model list.`,retry:`Load the model list`},permissionReadFailed:{title:`Could not load the confirmation mode`,text:`A new conversation cannot start without it.`,retry:`Retry`},permissionWriteFailed:{title:e=>`Could not switch to \u201C${e}\u201D`,textConversation:e=>`The conversation stayed in \u201C${e}\u201D mode.`,textNewConversation:e=>`A new conversation will start in \u201C${e}\u201D mode.`,retry:`Retry`},unsent:{title:e=>`Not sent: ${e} ${Il(e)}`,textWaiting:`The model list could not be read, so the messages stayed here. Send them once the list loads.`,textReady:`The model list could not be read, so the messages stayed here. The list is loaded again \u2014 send or delete them.`,textFailed:`These messages did not reach the assistant. Send them again or delete them.`,textReconnect:`The messages will be sent once the connection is back.`,listLabel:`Unsent messages`,send:e=>`Send: ${e}`,discard:e=>`Delete: ${e}`,sendShort:`Send`,discardShort:`Delete`},interrupted:{title:`The previous request was interrupted`,text:`The answer to the last message did not arrive.`,retry:`Retry`},reportInitializing:{title:`The report is still being prepared`,text:`The data will appear after the first calculation. Try again a little later.`,retry:`Check again`},readiness:{signInTitle:`Sign in to use the assistant`,signInText:`Open the extension popup and sign in to Progon.`,projectTitle:`Select a project`,projectText:`The assistant works with the data of the selected project.`}},connection:{reconnecting:`Connection lost \u2014 reconnecting\u2026`,restored:`Connection restored \u2014 events synchronized.`,failedTitle:`Connection failed`,failedHint:{"reload-page":`Reload the page to reconnect.`,"check-network":`Could not connect. Check your network.`}},history:{title:`Conversation history`,listLabel:`Conversations`,newConversation:`New conversation`,search:`Find a conversation`,searchLabel:`Find a conversation`,clearSearch:`Clear search`,emptyTitle:`No conversations yet`,emptyText:`A conversation appears here after its first message.`,noResults:e=>`No conversations match \u201C${e}\u201D`,errorTitle:`Failed to load the history`,retry:`Retry`,loadingMore:`Loading\u2026`,untitled:e=>`Conversation of ${e}`,delete:e=>`Delete conversation \u201C${e}\u201D`,deleteTip:`Delete`,deleteAsk:`Delete conversation?`,deleteConfirm:`Delete`,deleteCancel:`Cancel`,deleteFailed:`Could not delete the conversation. Try again.`,reportPlace:e=>e===null?`Report`:`Report \u00B7 ${e}`,current:`Open`,statusSpoken:{waiting:`Waits for your answer.`,working:`The assistant is working.`},groups:{waiting:`Waiting for you`,today:`Today`,yesterday:`Yesterday`,previous7Days:`Previous 7 days`,previous30Days:`Previous 30 days`,older:`Older`}},modelPicker:{selectModel:`Select model`,loading:`Loading models\u2026`,currentlySelected:`Currently selected`,footerNote:`Choice applies to your next message.`,manageKeys:`Manage keys`,upsell:`Bring your own key on Enterprise`,upgrade:`Upgrade`,rejected:`That model isn't available for your plan \u2014 reverted to your default.`,disabledKeyInvalid:`Key invalid \u2014 update it in Settings`,disabledNoKey:`No personal key configured`,disabledSuffixA11y:`unavailable`,tier:{fastest:`Fastest`,balanced:`For everyday tasks`,smartest:`Smartest`},byok:{personal:`Your key`,company:`Company key`},byokHeader:{personal:`Your key`,company:`Company key`}},confirmation:{regionLabel:`Action required`,confirmAll:e=>`Allow all (${e})`,confirm:`Confirm`,reject:`No`,grant:{no:`No, report only`,yes:`Allow in this run`},unrecognizedTool:`Unrecognized action`},runWait:{title:`Waiting for executions`,status:{waiting:`Waiting for completion`,fired:`Executions finished`,running:`Reviewing results`,done:`Review complete`,cancelled:`Wait cancelled`},subject:{scenario_run:`Scenario run`,agent_job:`Agent job`,atlas_run:`Atlas crawl`,ai_run:`AI run`,workflow:`Swarm`,scenario_launch:`Scenario launch`},id:e=>`ID: ${e}`,stopWaiting:`Stop waiting`,stopWaitingFailed:`Could not cancel the wait. Try again.`},questions:{progressLabel:`Questions`,nextQuestion:`Next`,recommended:`Recommended`,tabStatus:{answered:`answered`,skipped:`skipped`,unanswered:`unanswered`},customChoice:`Other`,customAnswerLabel:`Your answer`,customAnswerPlaceholder:`Your option`,textAnswerLabel:`Answer`,textAnswerPlaceholder:`Enter your answer`,skipQuestion:`Skip`,restoreQuestion:`Answer`,validationSingle:`Choose one option`,validationMultiple:`Choose at least one option`,validationText:`Enter an answer`,submitAnswers:`Send`,submitBatchAnswers:`Send answers`,retry:`Retry`,refresh:`Refresh`,retryErrorBadge:`Not sent`,nonretryableBadge:`Page unavailable`,nonretryableDescription:`Open this conversation in a secure context (HTTPS) to continue.`,staleBadge:`Already resolved`,unauthorizedBadge:`No access`,unauthorizedDescription:`Sign in again or return to the project where this conversation started.`,unavailableBadge:`Unavailable`,answeredTitle:`Clarification`,answeredBadge:`Answered`,continuationPendingBadge:`Queued`,continuationRunningBadge:`Continuing`,continuationFailedBadge:`Could not continue`,skippedBadge:`Skipped`,skippedAnswer:`Skipped`,cancelledTitle:`Clarification`,cancelledBadge:`Cancelled`,supersededTitle:`Clarification`,supersededBadge:`Replaced`,answerSeparator:`, `,unavailableAnswer:`Answer unavailable`,arrived:e=>`New question, the answer card is above the input: ${e}`},agentQuestions:{openRun:`Open run`,assumptionLabel:`Until you answer, the agent goes on like this`,decline:`Don\u2019t answer`,viaAssistant:`Passed on by the assistant from your words`,askerEnded:`The agent finished its work, no answer is needed`,leadWaits:`assistant is waiting`,workersContinue:`Workers keep going`,agentsIdle:`No agents are working now`},context:{report:{label:`Report context`,title:e=>`Report: ${e}`,note:`The assistant sees this report and reads its figures from the same data as the page.`,nameUnavailable:`name unavailable`,entity:{scenario:`selected scenario`,page:`selected page`,feature:`selected feature`},view:{overview:`Overview`,stability:`Stability`,"weak-spots":`Weak spots`,"bug-hotspots":`Bug hotspots`},window:{"7d":`7 days`,"14d":`14 days`,"30d":`30 days`,"90d":`90 days`},lastRuns:(e,t)=>`last ${e} runs (up to ${t} days)`,status:{consistently_failing:`consistently failing`,flaky:`flaky`,monitoring:`monitoring`,insufficient_history:`little history`,stable:`stable`},prompts:{overviewWeakSpots:`What are this project\u2019s weak spots?`,overviewChanged:e=>`What changed over the last ${e}?`,overviewWhereToLook:`Where should I look first?`,stabilityWhyScenario:e=>`Why is \u201C${e}\u201D unstable?`,stabilityWhatToFix:`Which scenarios should I fix first?`,stabilityCauses:`Break the failures down by cause`,weakSpotsWhatToCover:`What should I cover with tests first?`,weakSpotsWhyEntity:e=>`Why is \u201C${e}\u201D a weak spot?`,bugHotspotsWhere:`Where do bugs pile up?`,bugHotspotsStale:`Which pages with bugs have not been checked in a while?`}}}},errors:Fl,attachments:Jc},Rl=e=>J(e,{one:`\u0444\u0430\u0439\u043B`,few:`\u0444\u0430\u0439\u043B\u0430`,many:`\u0444\u0430\u0439\u043B\u043E\u0432`}),zl={units:{b:`\u0411`,kb:`\u041A\u0411`,mb:`\u041C\u0411`},facts:{pdf:(e,t)=>`${e} \u0441\u0442\u0440., ${t}`,image:(e,t,n)=>`${e}\u00D7${t}, ${n}`,text:e=>e},message:{listLabel:`\u0424\u0430\u0439\u043B\u044B \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F`,view:e=>`\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u00AB${e}\u00BB`,open:e=>`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u00AB${e}\u00BB \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435`,save:e=>`\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u00AB${e}\u00BB`,thumbnailLoading:e=>`\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043C\u0438\u043D\u0438\u0430\u0442\u044E\u0440\u044B \u00AB${e}\u00BB`,failed:{response:`\u041D\u0435 \u043E\u0442\u043A\u0440\u044B\u043B\u043E\u0441\u044C`,"no-response":`\u041D\u0435\u0442 \u0441\u0432\u044F\u0437\u0438`,unexpected:`\u041D\u0435 \u043E\u0442\u043A\u0440\u044B\u043B\u043E\u0441\u044C`}},viewer:{label:e=>`\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440: ${e}`,openInTab:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435`,close:`\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440`,previous:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430`,next:`\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430`,position:(e,t)=>`${e} \u0438\u0437 ${t}`,loading:e=>`\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u00AB${e}\u00BB`,failed:`\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u0430\u0441\u044C`,actualSize:`\u041D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u0440\u0430\u0437\u043C\u0435\u0440`,fitToWindow:`\u0412\u043F\u0438\u0441\u0430\u0442\u044C \u0432 \u043E\u043A\u043D\u043E`,zoomedStage:`\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u043C \u0440\u0430\u0437\u043C\u0435\u0440\u0435`},screenshots:{groupAria:`\u0421\u043D\u0438\u043C\u043A\u0438 \u0438\u0437 \u043E\u0442\u0432\u0435\u0442\u0430`,view:e=>`\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0441\u043D\u0438\u043C\u043E\u043A \u00AB${e}\u00BB`,openMore:e=>`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440: \u0435\u0449\u0451 ${e} ${J(e,{one:`\u0441\u043D\u0438\u043C\u043E\u043A`,few:`\u0441\u043D\u0438\u043C\u043A\u0430`,many:`\u0441\u043D\u0438\u043C\u043A\u043E\u0432`})}`,loading:e=>`\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0441\u043D\u0438\u043C\u043A\u0430 \u00AB${e}\u00BB`,failed:`\u0421\u043D\u0438\u043C\u043E\u043A \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u0441\u044F`,failedMany:e=>`${e} ${J(e,{one:`\u0441\u043D\u0438\u043C\u043E\u043A \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u0441\u044F`,few:`\u0441\u043D\u0438\u043C\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u0438\u0441\u044C`,many:`\u0441\u043D\u0438\u043C\u043A\u043E\u0432 \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u0438\u0441\u044C`})}`,tileFailed:`\u041D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u0441\u044F`,gone:`\u0421\u043D\u0438\u043C\u043E\u043A \u0443\u0434\u0430\u043B\u0451\u043D`,goneMany:e=>`${e} ${J(e,{one:`\u0441\u043D\u0438\u043C\u043E\u043A \u0443\u0434\u0430\u043B\u0451\u043D`,few:`\u0441\u043D\u0438\u043C\u043A\u0430 \u0443\u0434\u0430\u043B\u0435\u043D\u044B`,many:`\u0441\u043D\u0438\u043C\u043A\u043E\u0432 \u0443\u0434\u0430\u043B\u0435\u043D\u044B`})}`,tileGone:`\u0423\u0434\u0430\u043B\u0451\u043D`,term:`\u0421\u043D\u0438\u043C\u043A\u0438 \u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F 30 \u0434\u043D\u0435\u0439`,goneAria:`\u0421\u043D\u0438\u043C\u043E\u043A \u0443\u0434\u0430\u043B\u0451\u043D: \u0441\u043D\u0438\u043C\u043A\u0438 \u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F 30 \u0434\u043D\u0435\u0439`,zoomedStage:`\u0421\u043D\u0438\u043C\u043E\u043A \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u043C \u0440\u0430\u0437\u043C\u0435\u0440\u0435`,alt:e=>`\u0421\u043D\u0438\u043C\u043E\u043A \u00AB${e}\u00BB`},conversation:{text:(e,t)=>`\u041C\u043E\u0434\u0435\u043B\u044C ${e} \u043D\u0435 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0435\u0442 \u0444\u0430\u0439\u043B\u044B \u044D\u0442\u043E\u0439 \u0431\u0435\u0441\u0435\u0434\u044B (${t}) \u2014 `,pick:`\u0432\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E \u043C\u043E\u0434\u0435\u043B\u044C`},unsent:{files:e=>`${e} ${Rl(e)}`,unsupported:(e,t)=>`${e===null?`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u043C\u043E\u0434\u0435\u043B\u044C`:`\u041C\u043E\u0434\u0435\u043B\u044C ${e}`} \u043D\u0435 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442 \u044D\u0442\u0438 \u0444\u0430\u0439\u043B\u044B: ${t} \u2014 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E`,noFiles:e=>`${e===null?`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u043C\u043E\u0434\u0435\u043B\u044C`:`\u041C\u043E\u0434\u0435\u043B\u044C ${e}`} \u043D\u0435 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442 \u0444\u0430\u0439\u043B\u044B \u2014 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E`,types:(e,t)=>`${e===null?`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u043C\u043E\u0434\u0435\u043B\u044C`:`\u041C\u043E\u0434\u0435\u043B\u044C ${e}`} \u043D\u0435 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442 ${t} \u2014 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E`,reason:{fileBytes:e=>`\u0444\u0430\u0439\u043B \u0431\u043E\u043B\u044C\u0448\u0435 ${e}`,imageBytes:e=>`\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0431\u043E\u043B\u044C\u0448\u0435 ${e}`,requestBytes:e=>`\u0437\u0430\u043F\u0440\u043E\u0441 \u0431\u043E\u043B\u044C\u0448\u0435 ${e}`,filesBytes:e=>`\u0444\u0430\u0439\u043B\u044B \u0432\u043C\u0435\u0441\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u0435 ${e}`,imageEdge:e=>`\u0441\u0442\u043E\u0440\u043E\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0431\u043E\u043B\u044C\u0448\u0435 ${e} px`,imagePatches:e=>`\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0431\u043E\u043B\u044C\u0448\u0435 ${e} \u043C\u043B\u043D \u043F\u0438\u043A\u0441\u0435\u043B\u0435\u0439`,pdfPages:e=>`\u0432 PDF \u0431\u043E\u043B\u044C\u0448\u0435 ${e} \u0441\u0442\u0440\u0430\u043D\u0438\u0446`,imagesCount:e=>`\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0431\u043E\u043B\u044C\u0448\u0435 ${e}`,manyImagesEdge:e=>`\u043F\u0440\u0438 \u043C\u043D\u043E\u0433\u0438\u0445 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430\u0445 \u0441\u0442\u043E\u0440\u043E\u043D\u0430 \u043A\u0430\u0436\u0434\u043E\u0439 \u0431\u043E\u043B\u044C\u0448\u0435 ${e} px`,contextWindow:`\u0444\u0430\u0439\u043B\u044B \u043D\u0435 \u043F\u043E\u043C\u0435\u0449\u0430\u044E\u0442\u0441\u044F \u0432 \u043E\u043A\u043D\u043E \u043C\u043E\u0434\u0435\u043B\u0438`,unknownSize:`\u0444\u0430\u0439\u043B\u044B \u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442 \u043C\u043E\u0434\u0435\u043B\u044C`},notFound:`\u0424\u0430\u0439\u043B\u044B \u044D\u0442\u043E\u0433\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B: \u043D\u0435\u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0439 \u0444\u0430\u0439\u043B \u0445\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u0441\u0443\u0442\u043A\u0438. \u0423\u0434\u0430\u043B\u0438\u0442\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B \u0437\u0430\u043D\u043E\u0432\u043E.`,alreadySent:`\u042D\u0442\u0438 \u0444\u0430\u0439\u043B\u044B \u0443\u0436\u0435 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u044B \u0441 \u0434\u0440\u0443\u0433\u0438\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043C. \u0423\u0434\u0430\u043B\u0438\u0442\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B \u0437\u0430\u043D\u043E\u0432\u043E.`}},Bl=new Intl.NumberFormat(`ru`),Vl=e=>Bl.format(e),Hl=e=>J(e,{one:`\u0441\u0442\u0440\u043E\u043A\u0430`,few:`\u0441\u0442\u0440\u043E\u043A\u0438`,many:`\u0441\u0442\u0440\u043E\u043A`}),Ul=e=>J(e,{one:`\u0437\u043D\u0430\u043A`,few:`\u0437\u043D\u0430\u043A\u0430`,many:`\u0437\u043D\u0430\u043A\u043E\u0432`}),Wl={saved:`\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E \u0432 \u043F\u0430\u043C\u044F\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,deleted:`\u0423\u0434\u0430\u043B\u0435\u043D\u043E \u0438\u0437 \u043F\u0430\u043C\u044F\u0442\u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,editedTag:`\u043F\u0440\u0430\u0432\u043A\u0430`,open:`\u041F\u0430\u043C\u044F\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,openAria:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0430\u043C\u044F\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,unsupported:{title:`\u0417\u0430\u043F\u0438\u0441\u044C \u043F\u0430\u043C\u044F\u0442\u0438 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`}},Gl={title:`\u041F\u0440\u0430\u0432\u0438\u043B\u0430 \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,ofLimit:e=>`\u0438\u0437 ${Vl(e)}`,chars:e=>Ul(e),sizeAria:(e,t,n)=>e===null?`\u0420\u0430\u0437\u043C\u0435\u0440: ${Vl(t)} ${Ul(t)} \u0438\u0437 ${Vl(n)}`:`\u0420\u0430\u0437\u043C\u0435\u0440: \u0431\u044B\u043B\u043E ${Vl(e)}, \u0441\u0442\u0430\u043D\u0435\u0442 ${Vl(t)} ${Ul(t)} \u0438\u0437 ${Vl(n)}`,linesAria:`\u0421\u0442\u0440\u043E\u043A\u0438 \u043F\u0440\u0430\u0432\u0438\u043B \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,added:`\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E: `,removed:`\u0423\u0434\u0430\u043B\u0435\u043D\u043E: `,unchanged:e=>`${Vl(e)} ${Hl(e)} \u0431\u0435\u0437 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439`,cleared:e=>`\u041F\u0440\u0430\u0432\u0438\u043B\u0430 \u0431\u0443\u0434\u0443\u0442 \u043E\u0447\u0438\u0449\u0435\u043D\u044B: ${Vl(e)} ${Hl(e)}`,showWhole:`\u0412\u0435\u0441\u044C \u043D\u043E\u0432\u044B\u0439 \u0442\u0435\u043A\u0441\u0442`,hideWhole:`\u0421\u043A\u0440\u044B\u0442\u044C \u0442\u0435\u043A\u0441\u0442`},Kl=new Intl.NumberFormat(`ru`),Q=e=>Kl.format(e),ql=e=>J(e,{one:`\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435`,few:`\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F`,many:`\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439`}),Jl={inspecting:`\u0418\u0437\u0443\u0447\u0435\u043D\u0438\u0435`,proposed:`\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u043E`,awaiting:`\u0416\u0434\u0451\u0442 \u0440\u0435\u0448\u0435\u043D\u0438\u044F`,applying:`\u041F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F`,applied:`\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E`,rejected:`\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E`,partial:`\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E \u0447\u0430\u0441\u0442\u0438\u0447\u043D\u043E`,failed:`\u041D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E`,undone:`\u041E\u0442\u043C\u0435\u043D\u0435\u043D\u043E`,superseded:`\u0417\u0430\u043C\u0435\u043D\u0435\u043D\u043E`,closed:`\u0417\u0430\u043A\u0440\u044B\u0442\u043E`,expired:`\u0421\u0440\u043E\u043A \u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0438\u0441\u0442\u0451\u043A`},Yl={step:`\u0428\u0430\u0433\u0438`,scenario_run:`\u041F\u0440\u043E\u0433\u043E\u043D\u044B \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,api_folder:`\u041F\u0430\u043F\u043A\u0438`,api_saved_request:`\u0421\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0440\u043E\u0441\u044B`,checklist_item:`\u041F\u0443\u043D\u043A\u0442\u044B \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430`,checklist_item_step:`\u0428\u0430\u0433\u0438 \u043F\u0443\u043D\u043A\u0442\u043E\u0432`,test_run_result:`\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u0440\u043E\u0433\u043E\u043D\u0430`,scenario:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0438`,environment:`\u041E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,environment_variable:`\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,environment_preference:`\u0412\u044B\u0431\u043E\u0440 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0443 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439`,checklist:`\u0427\u0435\u043A-\u043B\u0438\u0441\u0442\u044B`,api_collection:`\u041A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u0438 API`},Xl=(e,t,n)=>r=>`${Q(r)} ${J(r,{one:e,few:t,many:n})}`,Zl=e=>e.length<=1?e.join(``):`${e.slice(0,-1).join(`, `)} \u0438 ${e.slice(-1).join(``)}`,Ql={title:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F`,cardAria:e=>`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F: ${e.toLocaleLowerCase(`ru`)}`,phaseAnnouncement:e=>`\u0421\u0442\u0430\u0442\u0443\u0441 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439: ${e.toLocaleLowerCase(`ru`)}`,contextScenario:e=>`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u00AB${e}\u00BB`,contextProject:e=>`\u041F\u0440\u043E\u0435\u043A\u0442 \u00AB${e}\u00BB`,contextObject:e=>`\u00AB${e}\u00BB`,marker:Jl,earlyTitle:{searching:`\u0418\u0449\u0443 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0449\u0438\u0439 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439\u2026`,search_results_shown:`\u041D\u0430\u0439\u0434\u0435\u043D\u043E \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439`,no_results:`\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E`,item_selected:`\u0426\u0435\u043B\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u0430`,inspecting:`\u0418\u0437\u0443\u0447\u0430\u044E \u0434\u0435\u0442\u0430\u043B\u0438\u2026`,ambiguity_choose_target:`\u0423\u0442\u043E\u0447\u043D\u0438\u0442\u0435 \u0446\u0435\u043B\u044C`},preparing:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0433\u043E\u0442\u043E\u0432\u0438\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435\u2026`,changesCount:e=>`${Q(e)} ${ql(e)}`,noResults:`\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E.`,chooseTargetHint:`\u0423\u0442\u043E\u0447\u043D\u0438\u0442\u0435, \u043A\u0430\u043A\u0443\u044E \u0446\u0435\u043B\u044C \u0438\u043C\u0435\u043B\u043E\u0441\u044C \u0432 \u0432\u0438\u0434\u0443:`,selected:`\u0412\u044B\u0431\u0440\u0430\u043D\u043E`,nothingChanged:`\u041D\u0438\u0447\u0435\u0433\u043E \u0435\u0449\u0451 \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043E.`,evidenceHeading:`\u0414\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430`,entityLabelMissing:`\u043C\u0435\u0442\u043A\u0430 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442`,open:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C`,openAria:e=>`\u041E\u0442\u043A\u0440\u044B\u0442\u044C: ${e}`,searchingAria:`\u0418\u0434\u0451\u0442 \u043F\u043E\u0438\u0441\u043A`,whatChanges:`\u0427\u0442\u043E \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u0441\u044F`,proposalEmpty:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u043F\u043E\u043A\u0430 \u043D\u0435\u0442.`,secretChip:`\u0441\u0435\u043A\u0440\u0435\u0442`,siteScript:{proposal:e=>`\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 v${e}`,rejectProposal:e=>`\u043E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C v${e}`,restore:e=>`\u0432\u0435\u0440\u043D\u0443\u0442\u044C v${e}`},evidence:`\u041E\u0431\u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0435`,cascadeTitle:`\u0422\u0430\u043A\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043B\u0435\u043D\u043E`,cascadeEntity:Yl,cascadeUnknown:e=>`\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u043E\u0431\u044A\u0435\u043A\u0442\u044B (${e})`,cascadeCount:{step:Xl(`\u0448\u0430\u0433`,`\u0448\u0430\u0433\u0430`,`\u0448\u0430\u0433\u043E\u0432`),scenario_run:Xl(`\u043F\u0440\u043E\u0433\u043E\u043D \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,`\u043F\u0440\u043E\u0433\u043E\u043D\u0430 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,`\u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`),api_folder:Xl(`\u043F\u0430\u043F\u043A\u0430`,`\u043F\u0430\u043F\u043A\u0438`,`\u043F\u0430\u043F\u043E\u043A`),api_saved_request:Xl(`\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0439 \u0437\u0430\u043F\u0440\u043E\u0441`,`\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0440\u043E\u0441\u0430`,`\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432`),checklist_item:Xl(`\u043F\u0443\u043D\u043A\u0442 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430`,`\u043F\u0443\u043D\u043A\u0442\u0430 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430`,`\u043F\u0443\u043D\u043A\u0442\u043E\u0432 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430`),checklist_item_step:Xl(`\u0448\u0430\u0433 \u043F\u0443\u043D\u043A\u0442\u0430`,`\u0448\u0430\u0433\u0430 \u043F\u0443\u043D\u043A\u0442\u043E\u0432`,`\u0448\u0430\u0433\u043E\u0432 \u043F\u0443\u043D\u043A\u0442\u043E\u0432`),test_run_result:Xl(`\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043F\u0440\u043E\u0433\u043E\u043D\u0430`,`\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430 \u043F\u0440\u043E\u0433\u043E\u043D\u0430`,`\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u043F\u0440\u043E\u0433\u043E\u043D\u0430`),scenario:Xl(`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`),environment:Xl(`\u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u0435`,`\u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,`\u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u0439`),environment_variable:Xl(`\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,`\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,`\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`),environment_preference:Xl(`\u0432\u044B\u0431\u043E\u0440 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,`\u0432\u044B\u0431\u043E\u0440\u0430 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,`\u0432\u044B\u0431\u043E\u0440\u043E\u0432 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`),checklist:Xl(`\u0447\u0435\u043A-\u043B\u0438\u0441\u0442`,`\u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430`,`\u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u043E\u0432`),api_collection:Xl(`\u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u044F API`,`\u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u0438 API`,`\u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u0439 API`)},cascadeCountUnknown:(e,t)=>`${e}: ${Q(t)}`,dock:{factScenario:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,factProject:`\u041F\u0440\u043E\u0435\u043A\u0442`,factObject:`\u0427\u0442\u043E`,factWithIt:`\u0412\u043C\u0435\u0441\u0442\u0435 \u0441 \u044D\u0442\u0438\u043C`,factEdits:`\u041F\u0440\u0430\u0432\u043E\u043A`,recordWithIt:e=>`\u0432\u043C\u0435\u0441\u0442\u0435 \u0441 \u044D\u0442\u0438\u043C ${e}`,editsCount:Xl(`\u043F\u0440\u0430\u0432\u043A\u0430`,`\u043F\u0440\u0430\u0432\u043A\u0438`,`\u043F\u0440\u0430\u0432\u043E\u043A`),showInFeed:`\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432 \u043B\u0435\u043D\u0442\u0435`,showInFeedAria:e=>`\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432 \u043B\u0435\u043D\u0442\u0435: ${e}`,blockedUnworded:`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u043F\u043E\u043A\u0430 \u043D\u0435\u043B\u044C\u0437\u044F \u2014 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u0432 \u0437\u0430\u043F\u0438\u0441\u0438 \u0432 \u043B\u0435\u043D\u0442\u0435`,decided:{confirmDelete:`\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u043E`,confirm:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u044B`,reject:`\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E`},secretSaved:(e,t)=>t===null?`${Zl(e)} ${e.length===1?`\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D`:`\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B`}`:`${Zl(e)} ${e.length===1?`\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D`:`\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B`} \u0432 ${t}`},secretInput:{titleTail:` \u2014 \u0441\u0435\u043A\u0440\u0435\u0442 \u0434\u043B\u044F \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,countTitle:Xl(`\u0441\u0435\u043A\u0440\u0435\u0442`,`\u0441\u0435\u043A\u0440\u0435\u0442\u0430`,`\u0441\u0435\u043A\u0440\u0435\u0442\u043E\u0432`),countTitleTail:` \u0434\u043B\u044F \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`,placeholder:`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u0435\u043A\u0440\u0435\u0442\u0430`,fieldLabel:e=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 ${e}`,fieldLabelReplace:e=>`\u041D\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 ${e}`,show:`\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435`,hide:`\u0421\u043A\u0440\u044B\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435`,save:`\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C`,saveMany:e=>`\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C ${Q(e)} ${J(e,{one:`\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435`,few:`\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F`,many:`\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439`})}`,saving:`\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u044E`,replace:`\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C`,replacing:`\u0417\u0430\u043C\u0435\u043D\u044F\u044E`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`,privacy:`\u041C\u043E\u0434\u0435\u043B\u044C \u0438 \u0447\u0430\u0442 \u043D\u0435 \u0443\u0432\u0438\u0434\u044F\u0442 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435`,tooLong:(e,t)=>`\u041D\u0435 \u0434\u043B\u0438\u043D\u043D\u0435\u0435 ${Q(e)} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u2014 \u0441\u0435\u0439\u0447\u0430\u0441 ${Q(t)}`,failed:{network:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u2014 \u043D\u0435\u0442 \u0441\u0432\u044F\u0437\u0438 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043E\u043C.`,server:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0435 \u043E\u0442\u0432\u0435\u0442\u0438\u043B.`,refused:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u043E\u0442\u043A\u0430\u0437\u0430\u043B.`},closed:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0437\u0430\u043A\u0440\u044B\u0442\u043E \u2014 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043D\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E`,confirmFailed:`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043D\u044F\u0442\u043E, \u043D\u043E \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C. \u00AB\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C\u00BB \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442 \u0435\u0433\u043E \u0437\u0430\u043D\u043E\u0432\u043E.`,current:`\u0421\u0435\u0439\u0447\u0430\u0441`,currentAria:`\u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u043A\u0440\u044B\u0442\u043E, \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043C\u0435\u043D\u0435\u043D\u043E`,willReplace:`\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u0441\u044F`,whyName:`\u041F\u043E\u0447\u0435\u043C\u0443 \u0436\u0434\u0451\u0442 \u0432\u0430\u0441`,whyText:e=>`\u0423 ${e} \u0443\u0436\u0435 \u0435\u0441\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u2014 \u043D\u043E\u0432\u043E\u0435 \u0437\u0430\u043C\u0435\u043D\u0438\u0442 \u0435\u0433\u043E. \u0417\u0430\u043C\u0435\u043D\u0443 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442\u0435 \u0432\u044B, \u0434\u0430\u0436\u0435 \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u00AB\u0431\u0435\u0437 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F\u00BB.`,hiddenAria:`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u043A\u0440\u044B\u0442\u043E`,savedIn:e=>`\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E \u0432 ${e}`,saved:`\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E`,declined:`\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E \u2014 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043D\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E`,reenter:`\u0412\u0432\u0435\u0441\u0442\u0438 \u0437\u0430\u043D\u043E\u0432\u043E`,reenterAria:e=>`\u0412\u0432\u0435\u0441\u0442\u0438 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 ${e} \u0437\u0430\u043D\u043E\u0432\u043E`,setByYou:e=>`\u0437\u0430\u0434\u0430\u043D\u043E \u0432\u0430\u043C\u0438 \u0432 ${e}`,setAt:e=>`\u0437\u0430\u0434\u0430\u043D\u043E \u0432 ${e}`,notSet:`\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043D\u0435 \u0437\u0430\u0434\u0430\u043D\u043E`,savingAnnouncement:`\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u044E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435`},killSwitch:{title:`\u0417\u0430\u043F\u0438\u0441\u044C Progon \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u0434\u043B\u044F \u044D\u0442\u043E\u0439 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438.`,body:`\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u043C\u043E\u0436\u0435\u0442 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0435\u0451 \u0432 \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u2192 \u0418\u0418. \u041F\u043B\u0430\u043D \u043C\u043E\u0436\u043D\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C, \u043D\u043E \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0435\u043B\u044C\u0437\u044F.`},disabledReason:{still_composing:`\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u2014 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u0432 \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043C\u044F.`,awaiting_secret_value:`\u041E\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044F \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u0435\u043A\u0440\u0435\u0442\u0430 \u2014 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0435\u0433\u043E \u0432 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0435 \u043D\u0430\u0434 \u043F\u043E\u043B\u0435\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F.`},confirm:`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F`,confirmDelete:`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435`,reject:`\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C`,bugFiling:{title:`\u0417\u0430\u0432\u0435\u0441\u0442\u0438 \u0431\u0430\u0433?`,confirm:`\u0417\u0430\u0432\u0435\u0441\u0442\u0438 \u0431\u0430\u0433`,capture:{ready:`\u0421\u043A\u0440\u0438\u043D\u0448\u043E\u0442`,awaiting:`\u0421\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0435\u0449\u0451 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F`,unavailable:`\u0411\u0435\u0437 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442\u0430`,no_screen:`\u0417\u0430\u043F\u0440\u043E\u0441 \u0438 \u043E\u0442\u0432\u0435\u0442, \u0441\u043D\u0438\u043C\u043A\u0430 \u044D\u043A\u0440\u0430\u043D\u0430 \u043D\u0435 \u0431\u044B\u0432\u0430\u0435\u0442`},address:e=>`\u0430\u0434\u0440\u0435\u0441 ${e}`,severity:e=>`\u0421\u0435\u0440\u044C\u0451\u0437\u043D\u043E\u0441\u0442\u044C: ${e}`,factFinding:`\u041D\u0430\u0445\u043E\u0434\u043A\u0430`,factSeverity:`\u0421\u0435\u0440\u044C\u0451\u0437\u043D\u043E\u0441\u0442\u044C`,factWithIt:`\u0421 \u043D\u0435\u0439`,factReporter:`\u041D\u0430\u0448\u0451\u043B`,factVerification:`\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430`,severityWord:{critical:`\u043A\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0430\u044F`,high:`\u0432\u044B\u0441\u043E\u043A\u0430\u044F`,medium:`\u0441\u0440\u0435\u0434\u043D\u044F\u044F`,low:`\u043D\u0438\u0437\u043A\u0430\u044F`}},trustedSite:{title:`\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0434\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u0439 \u0441\u0430\u0439\u0442?`,titleMany:`\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0434\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u0435 \u0441\u0430\u0439\u0442\u044B?`,confirm:`\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0441\u0430\u0439\u0442`,confirmMany:`\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0441\u0430\u0439\u0442\u044B`,confirming:`\u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u043C`,factMatches:`\u041F\u043E\u0434\u043E\u0439\u0434\u0451\u0442`,factWhere:`\u0413\u0434\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442`,whereAll:`\u0412\u043E \u0432\u0441\u0435\u0445 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F\u0445 \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,patternName:`\u0438\u043C\u044F`,warning:`\u041D\u0430 \u0434\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u0445 \u0441\u0430\u0439\u0442\u0430\u0445 \u0430\u0433\u0435\u043D\u0442 \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u0438 \u0438 \u0441\u0435\u043A\u0440\u0435\u0442\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435.`,recordWhere:`\u0432\u0441\u0435 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F`},closedBy:{line:{launch_stopped:`\u0417\u0430\u043A\u0440\u044B\u0442\u043E \u2014 \u0437\u0430\u043F\u0443\u0441\u043A \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D`,finding_filed:`\u0417\u0430\u043A\u0440\u044B\u0442\u043E \u2014 \u0432\u044B \u0437\u0430\u0432\u0435\u043B\u0438 \u044D\u0442\u043E\u0442 \u0431\u0430\u0433 \u0441\u0430\u043C\u0438`},launchStoppedNote:`\u041E\u0442\u0432\u0435\u0442 \u0443\u0436\u0435 \u043D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442`,findingFiledNote:(e,t)=>`\u0411\u0430\u0433 #${String(e)} \u0438\u0437 \u044D\u0442\u043E\u0439 \u043D\u0430\u0445\u043E\u0434\u043A\u0438 \u0437\u0430\u0432\u0435\u043B\u0438 \u0432\u044B \u0432 ${t} \u2014 \u043E\u0442\u0432\u0435\u0442 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043D\u0443\u0436\u0435\u043D`},rejectPlain:`\u041F\u0440\u043E\u0441\u0442\u043E \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C`,rejectWithReason:`\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C \u0441 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u043C`,reasonLabel:`\u041F\u043E\u0447\u0435\u043C\u0443?`,reasonHint:`(\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u2014 \u043F\u043E\u043C\u043E\u0436\u0435\u0442 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0443 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0438\u0442\u044C \u043B\u0443\u0447\u0448\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442)`,commandFailed:{confirm:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u2014 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,reject:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C \u2014 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,retry:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u2014 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`},applyingSubject:e=>`\u041F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F ${Q(e)} ${ql(e)}`,applyingGeneric:`\u041F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u043C\u2026`,applyDuration:e=>`\u0412\u0440\u0435\u043C\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F: ${Q(e)} \u043C\u0441`,applyAria:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u044E\u0442\u0441\u044F`,applyDisclaimer:`\u041D\u0435 \u0441\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0443\u0441\u043F\u0435\u0448\u043D\u044B\u043C \u0434\u043E \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u0441\u0435\u0440\u0432\u0435\u0440\u043E\u043C. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0443\u0439\u0442\u0438 \u2014 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0441\u044F \u0438 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u043F\u0440\u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0435.`,attempt:e=>`\u043F\u043E\u043F\u044B\u0442\u043A\u0430 ${Q(e)}`,verified:`\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u043E \u0441\u0435\u0440\u0432\u0435\u0440\u043E\u043C`,appliedGroup:e=>`\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E (${Q(e)})`,failedGroup:e=>`\u041E\u0448\u0438\u0431\u043A\u0438 \u0438\u043B\u0438 \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438 (${Q(e)})`,row:{applied:`\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E`,failed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C`,batch_aborted:`\u041E\u0442\u043A\u0430\u0447\u0435\u043D\u043E`,pending:`\u041D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E`,skipped:`\u041F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043E`,declined:`\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u043E\u043C`},applyError:{stale_guard:`\u041E\u0431\u044A\u0435\u043A\u0442 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0441\u044F \u043F\u043E\u0441\u043B\u0435 \u0442\u043E\u0433\u043E, \u043A\u0430\u043A \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0431\u044B\u043B\u043E \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043E.`,secret_expired_or_consumed:`\u0421\u0435\u043A\u0440\u0435\u0442\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u0438\u043B\u0438 \u0441\u0440\u043E\u043A \u0435\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u0441\u0442\u0451\u043A.`,"assistant.change_set.batch_aborted":`\u041E\u0442\u043A\u0430\u0447\u0435\u043D\u043E: \u0434\u0440\u0443\u0433\u043E\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u044D\u0442\u043E\u0433\u043E \u0436\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u043B\u0441\u044F.`,"assistant.change_set.apply_unexpected_error":`\u041D\u0435\u043F\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043D\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0438.`,"assistant.ai_write_disabled":`\u0417\u0430\u043F\u0438\u0441\u044C Progon \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u0434\u043B\u044F \u044D\u0442\u043E\u0439 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438.`,"variables.duplicate_name":`\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0441 \u0442\u0430\u043A\u0438\u043C \u0438\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.`},whatNext:`\u0427\u0442\u043E \u0434\u0435\u043B\u0430\u0442\u044C \u0434\u0430\u043B\u044C\u0448\u0435: \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043D\u0435\u0443\u0434\u0430\u0432\u0448\u0438\u0435\u0441\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u0437\u0430\u043F\u0440\u043E\u0441.`,applyMissing:`\u0421\u0432\u043E\u0434\u043A\u0430 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0441\u043D\u0438\u043C\u043A\u0435.`,retryRemaining:e=>`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043E\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044F (${Q(e)})`,importParts:{title:`\u0418\u043C\u043F\u043E\u0440\u0442 \u043A\u0435\u0439\u0441\u043E\u0432`,counts:(e,t,n,r)=>`\u0412\u0441\u0435\u0433\u043E ${Q(e)} \u00B7 \u0437\u0430\u043F\u0438\u0441\u0430\u043D\u043E ${Q(t)} \u00B7 \u043E\u0448\u0438\u0431\u043E\u043A ${Q(n)} \u00B7 \u043F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043E ${Q(r)}`,page:(e,t)=>`\u041D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 ${Q(e)} \u0438\u0437 ${Q(t)}`,previous:`\u041D\u0430\u0437\u0430\u0434`,next:`\u0414\u0430\u043B\u0435\u0435`,open:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0438\u043C\u043F\u043E\u0440\u0442`,unnamed:`\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442`,rowStatus:{pending:`\u0412 \u043E\u0447\u0435\u0440\u0435\u0434\u0438`,applied:`\u0417\u0430\u043F\u0438\u0441\u0430\u043D\u043E`,failed:`\u041E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u043F\u0438\u0441\u0438`,rolled_back:`\u041E\u0442\u043C\u0435\u043D\u0435\u043D\u043E`,create:`\u0411\u0443\u0434\u0435\u0442 \u0441\u043E\u0437\u0434\u0430\u043D\u043E`,replace:`\u0411\u0443\u0434\u0435\u0442 \u0437\u0430\u043C\u0435\u043D\u0435\u043D\u043E`,copy:`\u0411\u0443\u0434\u0435\u0442 \u0441\u043E\u0437\u0434\u0430\u043D\u0430 \u043A\u043E\u043F\u0438\u044F`,skip_existing:`\u0423\u0436\u0435 \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043E`,skip_error:`\u041E\u0448\u0438\u0431\u043A\u0430 \u0432 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0435`,blocked:`\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043E`,pending_decision:`\u0416\u0434\u0451\u0442 \u0432\u044B\u0431\u043E\u0440\u0430`}},revise:`\u041F\u0435\u0440\u0435\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441`,reviseDraftScenario:e=>`\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0438 \u0434\u0440\u0443\u0433\u043E\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u00AB${e}\u00BB`,reviseDraftProject:e=>`\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0438 \u0434\u0440\u0443\u0433\u043E\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432 \u043F\u0440\u043E\u0435\u043A\u0442\u0435 \u00AB${e}\u00BB`,rejectedTitle:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u043D\u0435 \u0441\u0434\u0435\u043B\u0430\u043D\u043E.`,rejectedLead:`\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0431\u044B\u043B\u043E \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E \u0434\u043E \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F. \u0414\u0430\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0438\u0441\u044C.`,undoneTitle:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u044B`,undoneLead:`\u041F\u0440\u0438\u043C\u0435\u043D\u0451\u043D\u043D\u044B\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u044B \u043A \u043F\u0440\u0435\u0436\u043D\u0435\u043C\u0443 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044E.`,superseded:`\u0417\u0430\u043C\u0435\u043D\u0435\u043D\u043E \u0431\u043E\u043B\u0435\u0435 \u043D\u043E\u0432\u044B\u043C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043C.`,expired:`\u0421\u0440\u043E\u043A \u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0438\u0441\u0442\u0451\u043A. \u041E\u0436\u0438\u0434\u0430\u0432\u0448\u0438\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u044B.`,unknownState:`\u0421\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0434\u0430\u043D\u043D\u043E\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439`,undo:{action:`\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F`,until:e=>`\u041C\u043E\u0436\u043D\u043E \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0434\u043E ${e}`,busy:`\u041E\u0442\u043C\u0435\u043D\u044F\u0435\u043C\u2026`,blocked:{stale:`\u041E\u0442\u043C\u0435\u043D\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430: \u0434\u0430\u043D\u043D\u044B\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0438\u0441\u044C \u043F\u043E\u0441\u043B\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F.`,expired:`\u041E\u0442\u043C\u0435\u043D\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430: \u043E\u043A\u043D\u043E \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u0441\u0442\u0435\u043A\u043B\u043E.`,kill_switch:`\u041E\u0442\u043C\u0435\u043D\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430: \u0437\u0430\u043F\u0438\u0441\u044C Progon \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u0434\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438.`},unavailable:`\u041E\u0442\u043C\u0435\u043D\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430.`,error:{"change_sets.undo_stale":`\u041E\u0442\u043C\u0435\u043D\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430: \u0434\u0430\u043D\u043D\u044B\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0438\u0441\u044C \u043F\u043E\u0441\u043B\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F.`,"change_sets.undo_expired":`\u041E\u0442\u043C\u0435\u043D\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430: \u043E\u043A\u043D\u043E \u043E\u0442\u043C\u0435\u043D\u044B \u0438\u0441\u0442\u0435\u043A\u043B\u043E.`,"change_sets.undo_not_eligible":`\u041E\u0442\u043C\u0435\u043D\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430.`,"assistant.ai_write_disabled":`\u041E\u0442\u043C\u0435\u043D\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430: \u0437\u0430\u043F\u0438\u0441\u044C Progon \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u0434\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438.`},failed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F.`,unknown:`\u0421\u0442\u0430\u0442\u0443\u0441 \u043E\u0442\u043C\u0435\u043D\u044B \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043D \u2014 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0443.`,sideEffectsTitle:`\u041D\u0435 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438:`,sideEffect:{test_plan_assignment_advance:`\u041F\u0440\u043E\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0435 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432 \u0442\u0435\u0441\u0442-\u043F\u043B\u0430\u043D\u0435`}},loadingAria:`\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438`,loadError:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0438`,loadErrorHint:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043D\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0435 \u0437\u0430\u0442\u0440\u043E\u043D\u0443\u0442\u044B.`,unavailable:`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430`,unavailableText:`\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043A \u044D\u0442\u043E\u043C\u0443 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044E \u0438\u043B\u0438 \u043E\u043D\u043E \u0443\u0434\u0430\u043B\u0435\u043D\u043E.`,unsupported:{title:`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`},turn:{title:`\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F`,awaiting:e=>`${J(e,{one:`\u0436\u0434\u0451\u0442 \u0440\u0435\u0448\u0435\u043D\u0438\u044F`,few:`\u0436\u0434\u0443\u0442 \u0440\u0435\u0448\u0435\u043D\u0438\u044F`,many:`\u0436\u0434\u0443\u0442 \u0440\u0435\u0448\u0435\u043D\u0438\u044F`})} ${Q(e)}`,proposals:e=>`${Q(e)} ${J(e,{one:`\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435`,few:`\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F`,many:`\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439`})}`,remaining:(e,t)=>`\u041E\u0441\u0442\u0430\u043B\u043E\u0441\u044C ${Q(e)} \u0438\u0437 ${Q(t)}`,applying:(e,t)=>`\u041F\u0440\u0438\u043C\u0435\u043D\u044F\u044E ${Q(e)} \u0438\u0437 ${Q(t)}\u2026`,done:(e,t)=>`\u0413\u043E\u0442\u043E\u0432\u043E: ${Q(e)} \u0438\u0437 ${Q(t)}`,applied:e=>`${Q(e)} \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E`,rejected:e=>`${Q(e)} \u043E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E`,errors:e=>`${Q(e)} ${J(e,{one:`\u043E\u0448\u0438\u0431\u043A\u0430`,few:`\u043E\u0448\u0438\u0431\u043A\u0438`,many:`\u043E\u0448\u0438\u0431\u043E\u043A`})}`,superseded:e=>`${Q(e)} \u0437\u0430\u043C\u0435\u043D\u0435\u043D\u043E \u043D\u043E\u0432\u044B\u043C`,closed:e=>`${Q(e)} \u0437\u0430\u043A\u0440\u044B\u0442\u043E`,expired:e=>`\u0441\u0440\u043E\u043A \u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0438\u0441\u0442\u0451\u043A: ${Q(e)}`,undone:e=>`${Q(e)} \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E`,loadFailed:e=>`${Q(e)} \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C`,confirmAll:e=>`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0432\u0441\u0435 (${Q(e)})`,rejectAll:`\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C \u0432\u0441\u0435`,passFailures:e=>J(e,{one:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C ${Q(e)} \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u2014 \u044D\u0442\u0430 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0430\u0441\u044C`,few:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C ${Q(e)} \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u2014 \u044D\u0442\u0438 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0438 \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0438\u0441\u044C`,many:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C ${Q(e)} \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u2014 \u044D\u0442\u0438 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0438 \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0438\u0441\u044C`})},rulesDiff:Gl},$l=new Intl.NumberFormat(`ru`),eu={title:`\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043F\u043E\u043A\u0440\u044B\u0442\u0438\u044F`,caption:e=>`\u00AB${e}\u00BB`,cardAria:e=>`\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043F\u043E\u043A\u0440\u044B\u0442\u0438\u044F: ${e}`,candidates:`\u041A\u0430\u043D\u0434\u0438\u0434\u0430\u0442\u044B`,candidatesOf:(e,t)=>e<t?`\u041A\u0430\u043D\u0434\u0438\u0434\u0430\u0442\u044B: ${$l.format(e)} \u0438\u0437 ${$l.format(t)} ${J(t,{one:`\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F`,few:`\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439`,many:`\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439`})}`:`\u041A\u0430\u043D\u0434\u0438\u0434\u0430\u0442\u044B: ${$l.format(e)}`,totalMatches:{words:`\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043F\u043E \u0441\u043B\u043E\u0432\u0430\u043C`,meaning:`\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043F\u043E \u0441\u043C\u044B\u0441\u043B\u0443`},empty:e=>e===0?`\u041A\u0430\u043D\u0434\u0438\u0434\u0430\u0442\u043E\u0432 \u043D\u0435\u0442`:`\u041A\u0430\u043D\u0434\u0438\u0434\u0430\u0442\u043E\u0432 \u043D\u0435\u0442: \u0443 ${$l.format(e)} ${J(e,{one:`\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F`,few:`\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439`,many:`\u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439`})} \u043F\u043E \u0441\u043B\u043E\u0432\u0430\u043C \u043D\u0435\u0442 \u044D\u0442\u0438\u0445 \u0442\u0435\u0433\u043E\u0432`,emptyByMeaning:`\u041A\u0430\u043D\u0434\u0438\u0434\u0430\u0442\u043E\u0432 \u043D\u0435\u0442`,tagWarningPill:`\u0417\u0430\u043C\u0435\u0447\u0430\u043D\u0438\u0435 \u043F\u043E \u0442\u0435\u0433\u0430\u043C`,matchType:{exact:`\u043F\u043E \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044E`,lexical:`\u043F\u043E \u0441\u043B\u043E\u0432\u0430\u043C`},scenarioNumber:e=>`SC-${String(e)}`,openAria:e=>`\u041E\u0442\u043A\u0440\u044B\u0442\u044C: ${e}`,steps:e=>`${$l.format(e)} ${J(e,{one:`\u0448\u0430\u0433`,few:`\u0448\u0430\u0433\u0430`,many:`\u0448\u0430\u0433\u043E\u0432`})}`,unsupported:{title:`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u043F\u043E\u043A\u0440\u044B\u0442\u0438\u044F \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`}},tu=new Intl.NumberFormat(`ru`),nu=e=>tu.format(e),ru={kind:{atlas_crawl:`\u041E\u0431\u0445\u043E\u0434 \u0441\u0430\u0439\u0442\u0430`,make_auto:`\u041F\u0440\u043E\u0433\u043E\u043D \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`,scenario_launch:`\u0417\u0430\u043F\u0443\u0441\u043A \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`},stage:{queued:`\u0412 \u043E\u0447\u0435\u0440\u0435\u0434\u0438`,launching:`\u0417\u0430\u043F\u0443\u0441\u043A\u0430\u0435\u0442\u0441\u044F`,link_pending:`\u0421\u0432\u044F\u0437\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u0441 \u043A\u0430\u0440\u0442\u043E\u0439`,crawling:`\u0418\u0441\u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0441\u0430\u0439\u0442`,running_batch:`\u041F\u0440\u043E\u0433\u043E\u043D\u044F\u0435\u0442 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438`,completed:`\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E`,failed:`\u041E\u0448\u0438\u0431\u043A\u0430`,cancelled:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E`},machineMissing:`\u0418\u043C\u044F \u043C\u0430\u0448\u0438\u043D\u044B \u043D\u0435 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E`,activity:e=>`\u0410\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C ${e}`,activityNone:`\u043D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u0438`,foundCaption:`\u041D\u0430 \u043A\u0430\u0440\u0442\u0435`,found:{screens:e=>J(e,{one:`\u044D\u043A\u0440\u0430\u043D`,few:`\u044D\u043A\u0440\u0430\u043D\u0430`,many:`\u044D\u043A\u0440\u0430\u043D\u043E\u0432`}),edges:e=>J(e,{one:`\u043F\u0435\u0440\u0435\u0445\u043E\u0434`,few:`\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430`,many:`\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u043E\u0432`}),notes:e=>J(e,{one:`\u0437\u0430\u043C\u0435\u0442\u043A\u0430`,few:`\u0437\u0430\u043C\u0435\u0442\u043A\u0438`,many:`\u0437\u0430\u043C\u0435\u0442\u043E\u043A`}),unexplored:e=>J(e,{one:`\u043D\u0435\u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u043D\u044B\u0439`,few:`\u043D\u0435\u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u043D\u044B\u0445`,many:`\u043D\u0435\u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u043D\u044B\u0445`})},degraded:`\u041A\u0430\u0440\u0442\u0443 \u0441\u0435\u0439\u0447\u0430\u0441 \u043D\u0435 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C \u2014 \u0441\u0447\u0451\u0442\u0447\u0438\u043A\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B. \u0420\u0430\u0431\u043E\u0442\u0430 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u0442\u0441\u044F.`,terminalPrefix:`\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E \u043F\u043E\u0442\u043E\u043C\u0443, \u0447\u0442\u043E`,terminalReason:{claim_timeout:`\u0430\u0433\u0435\u043D\u0442 \u0442\u0430\u043A \u0438 \u043D\u0435 \u0432\u0437\u044F\u043B \u0437\u0430\u0434\u0430\u043D\u0438\u0435`,launch_timeout:`\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u0443\u0441\u043F\u0435\u043B \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u0441\u044F`,launch_error:`\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u0441\u043C\u043E\u0433 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u0441\u044F`,browser_gone:`\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u0441\u0447\u0435\u0437`,agent_lost:`\u0430\u0433\u0435\u043D\u0442 \u043F\u0435\u0440\u0435\u0441\u0442\u0430\u043B \u043E\u0442\u0432\u0435\u0447\u0430\u0442\u044C`,max_duration:`\u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D \u043B\u0438\u043C\u0438\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438`,killed:`\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0430\u0433\u0435\u043D\u0442\u0430 \u0437\u0430\u043A\u0440\u044B\u0442 \u0432\u0440\u0443\u0447\u043D\u0443\u044E`,stalled:`\u0440\u0430\u0431\u043E\u0442\u0430 \u0441\u0442\u043E\u044F\u043B\u0430 \u0431\u0435\u0437 \u043F\u0440\u043E\u0433\u0440\u0435\u0441\u0441\u0430`,capability_mismatch:`\u0430\u0433\u0435\u043D\u0442 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0443`,subject_rejected:`\u0441\u0435\u0440\u0432\u0435\u0440 \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u043B \u0437\u0430\u043F\u0443\u0441\u043A \u043F\u0440\u043E\u0433\u043E\u043D\u0430`,model_timeout:`\u0438\u0441\u0442\u0435\u043A\u043B\u043E \u0432\u0440\u0435\u043C\u044F \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0442\u0432\u0435\u0442\u0430 \u043C\u043E\u0434\u0435\u043B\u0438`,runs_not_started:`\u043F\u0440\u043E\u0433\u043E\u043D\u044B \u043D\u0435 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u043B\u0438\u0441\u044C`,credits_exhausted:`\u0437\u0430\u043A\u043E\u043D\u0447\u0438\u043B\u0438\u0441\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u044B`,tab_closed:`\u0432\u043A\u043B\u0430\u0434\u043A\u0430 \u043F\u0440\u043E\u0433\u043E\u043D\u0430 \u0431\u044B\u043B\u0430 \u0437\u0430\u043A\u0440\u044B\u0442\u0430`,slot_taken:`\u043C\u0435\u0441\u0442\u043E \u043F\u0440\u043E\u0433\u043E\u043D\u0430 \u043D\u0430 \u043C\u0430\u0448\u0438\u043D\u0435 \u0437\u0430\u043D\u044F\u043B \u0434\u0440\u0443\u0433\u043E\u0439 \u043F\u0440\u043E\u0433\u043E\u043D`,ai_disabled:`Progon \u043E\u0442\u043A\u043B\u044E\u0447\u0451\u043D \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u043E\u043C`,agent_revoked:`\u0440\u0430\u043D\u043D\u0435\u0440 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u043B\u0438 \u043D\u0430 \u0435\u0433\u043E \u043C\u0430\u0448\u0438\u043D\u0435`},openMap:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443`,openMapAria:e=>`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u00AB${e}\u00BB`,cancel:{atlas_crawl:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C`,make_auto:`\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0430\u043A\u0435\u0442`,scenario_launch:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C`},kill:`\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0430\u0433\u0435\u043D\u0442\u0430`,cancelConfirm:{atlas_crawl:{question:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435?`,body:`\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u043F\u0440\u0435\u0440\u0432\u0451\u0442\u0441\u044F.`,bodyKept:`\u0412\u0441\u0451, \u0447\u0442\u043E \u0430\u0433\u0435\u043D\u0442 \u0443\u0436\u0435 \u0443\u0432\u0438\u0434\u0435\u043B, \u043E\u0441\u0442\u0430\u043D\u0435\u0442\u0441\u044F \u043D\u0430 \u043A\u0430\u0440\u0442\u0435.`,bodyQueued:`\u0417\u0430\u0434\u0430\u043D\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u044F\u0442\u043E \u0438\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u2014 \u043D\u0438\u0447\u0435\u0433\u043E \u0435\u0449\u0451 \u043D\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u043B\u043E\u0441\u044C.`,keep:`\u041D\u0435 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C`,confirm:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C`},make_auto:{question:`\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0430\u043A\u0435\u0442?`,body:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0432\u0435\u0441\u044C \u043F\u0430\u043A\u0435\u0442: \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u043F\u0440\u043E\u0433\u043E\u043D \u043F\u0440\u0435\u0440\u0432\u0451\u0442\u0441\u044F, \u0430 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438, \u0434\u043E \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u043E\u0447\u0435\u0440\u0435\u0434\u044C \u043D\u0435 \u0434\u043E\u0448\u043B\u0430, \u043D\u0435 \u0437\u0430\u043F\u0443\u0441\u0442\u044F\u0442\u0441\u044F. \u0423\u0436\u0435 \u0441\u043E\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0441\u044F.`,bodyKept:null,bodyQueued:`\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u044F\u0442 \u0438\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u2014 \u043D\u0438\u0447\u0435\u0433\u043E \u0435\u0449\u0451 \u043D\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u043B\u043E\u0441\u044C.`,keep:`\u041D\u0435 \u043E\u0442\u043C\u0435\u043D\u044F\u0442\u044C`,confirm:`\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0430\u043A\u0435\u0442`},scenario_launch:{question:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u0443\u0441\u043A?`,body:`\u0418\u0434\u0443\u0449\u0438\u0439 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0438\u043B\u0438 \u0445\u0443\u043A \u00AB\u0414\u043E\u00BB \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F; \u0445\u0443\u043A\u0438 \u00AB\u041F\u043E\u0441\u043B\u0435\u00BB \u043C\u043E\u0433\u0443\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C\u0441\u044F. \u041E\u0441\u0442\u0430\u043B\u044C\u043D\u044B\u0435 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u043D\u0435 \u043D\u0430\u0447\u043D\u0443\u0442\u0441\u044F.`,bodyKept:null,bodyQueued:`\u0410\u0433\u0435\u043D\u0442 \u0435\u0449\u0451 \u043D\u0435 \u0432\u0437\u044F\u043B \u0437\u0430\u043F\u0443\u0441\u043A \u2014 \u043D\u0438 \u043E\u0434\u0438\u043D \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u043D\u0435 \u043D\u0430\u0447\u043D\u0451\u0442\u0441\u044F.`,keep:`\u041D\u0435 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C`,confirm:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C`}},killConfirm:{question:`\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0430\u0433\u0435\u043D\u0442\u0430?`,body:{atlas_crawl:`\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0430 \u043C\u0430\u0448\u0438\u043D\u0435 \u0430\u0433\u0435\u043D\u0442\u0430 \u0437\u0430\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u043F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E, \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044F \u0441 \u043F\u0440\u0438\u0447\u0438\u043D\u043E\u0439 \u00AB\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0437\u0430\u043A\u0440\u044B\u0442 \u0432\u0440\u0443\u0447\u043D\u0443\u044E\u00BB. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435, \u0435\u0441\u043B\u0438 \u043F\u043E\u0441\u043B\u0435 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438 \u0430\u0433\u0435\u043D\u0442 \u043D\u0435 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0441\u044F.`,make_auto:`\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0430 \u043C\u0430\u0448\u0438\u043D\u0435 \u0430\u0433\u0435\u043D\u0442\u0430 \u0437\u0430\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u043F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0430\u043A\u0435\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044F \u0441 \u043F\u0440\u0438\u0447\u0438\u043D\u043E\u0439 \u00AB\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0437\u0430\u043A\u0440\u044B\u0442 \u0432\u0440\u0443\u0447\u043D\u0443\u044E\u00BB. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435, \u0435\u0441\u043B\u0438 \u043F\u043E\u0441\u043B\u0435 \u043E\u0442\u043C\u0435\u043D\u044B \u0430\u0433\u0435\u043D\u0442 \u043D\u0435 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0441\u044F.`,scenario_launch:`\u0410\u0433\u0435\u043D\u0442 \u0431\u0440\u043E\u0441\u0438\u0442 \u0438\u0434\u0443\u0449\u0438\u0439 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u043D\u0430 \u0441\u0435\u0440\u0435\u0434\u0438\u043D\u0435; \u0435\u0433\u043E \u043F\u0440\u043E\u0433\u043E\u043D \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u0435\u0440\u0432\u0430\u043D, \u043E\u0441\u0442\u0430\u043B\u044C\u043D\u044B\u0435 \u043D\u0435 \u043D\u0430\u0447\u043D\u0443\u0442\u0441\u044F. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435, \u0435\u0441\u043B\u0438 \u043F\u043E\u0441\u043B\u0435 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438 \u0430\u0433\u0435\u043D\u0442 \u043D\u0435 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0441\u044F.`},keep:`\u041D\u0435 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0442\u044C`,confirm:`\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0431\u0440\u0430\u0443\u0437\u0435\u0440`},failed:{cancel:{atlas_crawl:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435.`,make_auto:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0430\u043A\u0435\u0442.`,scenario_launch:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u0443\u0441\u043A.`},kill:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0430\u0433\u0435\u043D\u0442\u0430.`,conflict:`\u0417\u0430\u0434\u0430\u0447\u0430 \u0443\u0436\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0430\u0441\u044C \u2014 \u0441\u0442\u0430\u0442\u0443\u0441 \u043E\u0431\u043D\u043E\u0432\u043B\u0451\u043D.`},cardAria:e=>`\u0417\u0430\u0434\u0430\u0447\u0430: ${e}`,unsupported:{title:`\u0421\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u0421\u0442\u0430\u0442\u0443\u0441 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`},collection:{collectionAria:e=>`\u0417\u0430\u0434\u0430\u0447\u0438: ${nu(e)}`,roleCarousel:`\u043B\u0435\u043D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447`,roleSlide:`\u0437\u0430\u0434\u0430\u0447\u0430`,previous:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430`,next:`\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430`,goToSlide:`\u0417\u0430\u0434\u0430\u0447\u0430 {index} \u0438\u0437 {total}`}},iu={web_runs_prompt:`\u0438\u0437 \u00AB\u0417\u0430\u043F\u0443\u0441\u043A\u043E\u0432\u00BB`,web_test_run_dialog:`\u0438\u0437 \u0442\u0435\u0441\u0442-\u0440\u0430\u043D\u0430`,web_map_dialog:`\u0441 \u043A\u0430\u0440\u0442\u044B`,web_scenarios_dialog:`\u0438\u0437 \u00AB\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432\u00BB`,chat:`\u0438\u0437 \u0447\u0430\u0442\u0430`},au={title:{make_auto:`\u0420\u043E\u0439 \u00B7 \u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0430\u0432\u0442\u043E`,atlas:`\u0420\u043E\u0439 \u00B7 Atlas`,preset:`\u0417\u0430\u0434\u0430\u043D\u0438\u0435 \u0434\u043B\u044F \u0418\u0418`},subtitle:(e,t)=>`${e} \u00B7 \u041C\u0430\u043A\u0441\u0438\u043C\u0443\u043C \u00B7 \u0441 ${t}`,preset:{stopConfirm:{question:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u0435?`,body:`\u041E\u043A\u043D\u043E \u0430\u0433\u0435\u043D\u0442\u0430 \u0437\u0430\u043A\u0440\u043E\u0435\u0442\u0441\u044F, \u0438\u0434\u0443\u0449\u0438\u0435 \u043F\u0440\u043E\u0433\u043E\u043D\u044B \u043E\u0442\u043C\u0435\u043D\u044F\u0442\u0441\u044F. \u041E\u0442\u0447\u0451\u0442 \u0431\u0443\u0434\u0435\u0442 \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u00AB\u041D\u0435\u043F\u043E\u043B\u043D\u044B\u0439\u00BB. \u0413\u043E\u0442\u043E\u0432\u043E\u0435 \u2014 \u0431\u0430\u0433\u0438, \u043D\u0430\u0445\u043E\u0434\u043A\u0438, \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u2014 \u043E\u0441\u0442\u0430\u043D\u0435\u0442\u0441\u044F.`,keep:`\u041D\u0435 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C`,confirm:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u0435`,failed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u0435`},scope:e=>{switch(e.kind){case`project`:return`\u0412\u0441\u0451 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435`;case`scenarios`:return`${e.count} ${J(e.count,{one:`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,few:`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,many:`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`})}`;case`test_run`:return e.name===null?`\u0422\u0435\u0441\u0442-\u0440\u0430\u043D #TR-${String(e.number).padStart(3,`0`)}`:`\u0422\u0435\u0441\u0442-\u0440\u0430\u043D \u00AB${e.name}\u00BB`;case`test_plan`:return`\u0422\u0435\u0441\u0442-\u043F\u043B\u0430\u043D \u00AB${e.name}\u00BB`}},level:e=>e.effort===`max`?`\u041C\u0430\u043A\u0441\u0438\u043C\u0443\u043C`:e.effort===`thinking`?`\u0420\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0435`:`\u041E\u0431\u044B\u0447\u043D\u044B\u0439`,since:e=>`\u0441 ${e}`,counts:{findings:e=>J(e,{one:`\u043D\u0430\u0445\u043E\u0434\u043A\u0430`,few:`\u043D\u0430\u0445\u043E\u0434\u043A\u0438`,many:`\u043D\u0430\u0445\u043E\u0434\u043E\u043A`}),bugs:e=>J(e,{one:`\u0431\u0430\u0433`,few:`\u0431\u0430\u0433\u0430`,many:`\u0431\u0430\u0433\u043E\u0432`}),undecided:e=>J(e,{one:`\u0436\u0434\u0451\u0442 \u0440\u0435\u0448\u0435\u043D\u0438\u044F`,few:`\u0436\u0434\u0443\u0442 \u0440\u0435\u0448\u0435\u043D\u0438\u044F`,many:`\u0436\u0434\u0443\u0442 \u0440\u0435\u0448\u0435\u043D\u0438\u044F`})},awaitingBrowser:{sidePanel:`\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u044D\u0442\u043E\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u2014 \u0430\u0433\u0435\u043D\u0442 \u043D\u0430\u0447\u043D\u0451\u0442 \u0441\u0440\u0430\u0437\u0443`,web:`\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u043C\u043E\u0436\u043D\u043E \u0432 \u0431\u043E\u043A\u043E\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 Progon \u0432 Chrome`},startingRunner:`\u0416\u0434\u0451\u043C, \u043F\u043E\u043A\u0430 \u0440\u0430\u043D\u043D\u0435\u0440 \u0432\u043E\u0437\u044C\u043C\u0451\u0442 \u0437\u0430\u0434\u0430\u043D\u0438\u0435`,pillAwaitingBrowser:`\u0416\u0434\u0451\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440`,stripAwaitingBrowser:`\u0417\u0430\u043F\u0443\u0441\u043A \u0436\u0434\u0451\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440`,panelWait:{title:e=>`\u00AB${e}\u00BB \u0436\u0434\u0451\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440`,lostTitle:e=>`\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u043B\u0441\u044F \u2014 \u00AB${e}\u00BB \u0436\u0434\u0451\u0442`,lostDetail:e=>`\u041E\u043A\u043D\u043E \u0430\u0433\u0435\u043D\u0442\u0430 \u0437\u0430\u043A\u0440\u044B\u0442\u043E \u0432 ${e}, \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u043E\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E`,origin:(e,t,n)=>`\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E ${iu[e]} \u0432 ${t} \u00B7 ${n}`,resume:`\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432 \u044D\u0442\u043E\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435`,openLaunch:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0437\u0430\u043F\u0443\u0441\u043A\u0430`},stripAwaitingAnswer:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0436\u0434\u0451\u0442 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0442\u0432\u0435\u0442\u0430`,stripAwaitingMessage:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0436\u0434\u0451\u0442 \u0432\u0430\u0448\u0435\u0433\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F`,assistantIdle:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u043F\u0440\u043E\u0441\u043D\u0451\u0442\u0441\u044F, \u043A\u043E\u0433\u0434\u0430 \u043F\u0440\u043E\u0433\u043E\u043D \u0437\u0430\u043A\u043E\u043D\u0447\u0438\u0442\u0441\u044F`,partialCancelled:e=>`\u041D\u0435\u043F\u043E\u043B\u043D\u044B\u0439: \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D \u0432 ${e}.`,partialFailed:e=>`\u041D\u0435\u043F\u043E\u043B\u043D\u044B\u0439: ${e}.`,failureReason:{credits:`\u0443 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0437\u0430\u043A\u043E\u043D\u0447\u0438\u043B\u0438\u0441\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u044B \u0418\u0418`,turnShape:`\u043C\u043E\u0434\u0435\u043B\u044C \u043D\u0435 \u0432\u0435\u0440\u043D\u0443\u043B\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0445\u043E\u0434\u043E\u0432 \u043F\u043E\u0434\u0440\u044F\u0434`,internal:`\u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u044F\u044F \u043E\u0448\u0438\u0431\u043A\u0430 \u0430\u0433\u0435\u043D\u0442\u0430`,initiatorUnavailable:`\u0438\u043D\u0438\u0446\u0438\u0430\u0442\u043E\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,other:e=>`\u0430\u0433\u0435\u043D\u0442 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0441\u044F \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439 \u00AB${e}\u00BB`},beforeStop:(e,t)=>t===null?`\u0414\u043E \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438 \u2014 ${e}.`:`\u0414\u043E \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438 \u2014 ${e}, ${t}.`},topic:e=>e.kind===`atlas`?e.projectName:e.kind===`preset`?gl(e):e.scenarioName===null?`${e.scenarioCount} ${J(e.scenarioCount,{one:`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,few:`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,many:`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`})}`:e.scenarioName.trim()===``?`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0431\u0435\u0437 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F`:e.scenarioName,pill:{startingBrowser:`\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0430\u0435\u043C`,startingRunner:`\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0430\u0435\u043C`,running:`\u0418\u0434\u0451\u0442`,awaiting:`\u0416\u0434\u0451\u0442 \u043E\u0442\u0432\u0435\u0442\u0430`,browserLost:`\u0416\u0434\u0451\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440`,runnerLost:`\u0416\u0434\u0451\u0442 \u0440\u0430\u043D\u043D\u0435\u0440`,pausing:`\u0421\u0442\u0430\u0432\u0438\u0442\u0441\u044F \u043D\u0430 \u043F\u0430\u0443\u0437\u0443`,paused:`\u041D\u0430 \u043F\u0430\u0443\u0437\u0435`,stopping:`\u041E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,completed:`\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E`,failed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u0441\u044F`,cancelled:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D`},pauseCause:{user:`\u0432\u0440\u0443\u0447\u043D\u0443\u044E`,credits:`\u043A\u0440\u0435\u0434\u0438\u0442\u044B`,user_credit_limit:`\u043B\u0438\u0447\u043D\u044B\u0439 \u043B\u0438\u043C\u0438\u0442`,provider_unavailable:`\u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u043C\u043E\u0434\u0435\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`},lead:{startingBrowser:`\u0416\u0434\u0451\u043C, \u043F\u043E\u043A\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0432\u043E\u0437\u044C\u043C\u0451\u0442 \u0440\u043E\u0439`,startingRunner:`\u0416\u0434\u0451\u043C, \u043F\u043E\u043A\u0430 \u0440\u0430\u043D\u043D\u0435\u0440 \u0432\u043E\u0437\u044C\u043C\u0451\u0442 \u0440\u043E\u0439`,active:`\u0410\u0433\u0435\u043D\u0442 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442`,idle:`\u0410\u0433\u0435\u043D\u0442\u044B \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0442`,awaiting:`\u0410\u0433\u0435\u043D\u0442 \u0436\u0434\u0451\u0442 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0442\u0432\u0435\u0442\u0430 \u2014 \u0432\u043E\u043F\u0440\u043E\u0441 \u043D\u0438\u0436\u0435`,stopping:`\u0417\u0430\u043A\u0440\u044B\u0432\u0430\u0435\u043C \u043E\u043A\u043D\u0430 \u0438 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \u0413\u043E\u0442\u043E\u0432\u043E\u0435 \u043E\u0441\u0442\u0430\u0451\u0442\u0441\u044F.`},startingRow:{browser:`\u041E\u043A\u043D\u0430 \u043E\u0442\u043A\u0440\u043E\u044E\u0442\u0441\u044F \u0432 \u0444\u043E\u043D\u0435 \u2014 \u0444\u043E\u043A\u0443\u0441 \u043E\u0441\u0442\u0430\u043D\u0435\u0442\u0441\u044F \u0443 \u0432\u0430\u0441`,runner:`\u041E\u043A\u043D\u0430 \u043E\u0442\u043A\u0440\u043E\u044E\u0442\u0441\u044F \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0440\u0430\u043D\u043D\u0435\u0440\u0430`},hostLost:{sidePanel:`\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u043B\u0441\u044F \u2014 \u043E\u043A\u043D\u0430 \u0430\u0433\u0435\u043D\u0442\u043E\u0432 \u0437\u0430\u043A\u0440\u044B\u0442\u044B, \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u043D\u0430 \u043F\u0430\u0443\u0437\u0435.`,web:`\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u043E\u0442\u043A\u043B\u044E\u0447\u0451\u043D. \u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u043C\u043E\u0436\u043D\u043E \u0432 \u0431\u043E\u043A\u043E\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 Progon \u0432 Chrome.`,runner:`\u0417\u0430\u0434\u0430\u043D\u0438\u0435 \u0440\u0430\u043D\u043D\u0435\u0440\u0430 \u0437\u0430\u043A\u043E\u043D\u0447\u0438\u043B\u043E\u0441\u044C. \u041F\u043E\u0447\u0435\u043C\u0443 \u2014 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430, \u0442\u0430\u043C \u0436\u0435 \u00AB\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u043D\u0430 \u0440\u0430\u043D\u043D\u0435\u0440\u0435\u00BB.`},worker:{name:e=>`\u0410\u0433\u0435\u043D\u0442 ${e}`,kind:{make_auto:`\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0430\u0432\u0442\u043E`,atlas:`Atlas`,run:`\u041F\u0440\u043E\u0433\u043E\u043D`,check_launch:`\u041F\u0440\u043E\u0432\u0435\u0440\u043E\u0447\u043D\u044B\u0439 \u0437\u0430\u043F\u0443\u0441\u043A`},task:e=>`\u0437\u0430\u0434\u0430\u043D\u0438\u0435 ${e}`,opening:`\u041E\u043A\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F`,idle:`\u0416\u0434\u0451\u0442 \u0437\u0430\u0434\u0430\u043D\u0438\u044F`,busy:`\u0411\u0435\u0440\u0451\u0442 \u0437\u0430\u0434\u0430\u043D\u0438\u0435`,closing:`\u041E\u043A\u043D\u043E \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0435\u0442\u0441\u044F`,noWindow:`\u0431\u0435\u0437 \u043E\u043A\u043D\u0430`,listLabel:`\u0410\u0433\u0435\u043D\u0442\u044B \u0437\u0430\u0434\u0430\u043D\u0438\u044F`,untitledScenario:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0431\u0435\u0437 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F`,crawl:e=>e===null?`\u041E\u0431\u0445\u043E\u0434`:`\u041E\u0431\u0445\u043E\u0434 \u00AB${e}\u00BB`,progress:(e,t)=>`${e} \u0438\u0437 ${t}`,steps:e=>`${e} ${J(e,{one:`\u0448\u0430\u0433`,few:`\u0448\u0430\u0433\u0430`,many:`\u0448\u0430\u0433\u043E\u0432`})}`},end:{tally:(e,t)=>`\u0413\u043E\u0442\u043E\u0432\u043E ${e} \u0438\u0437 ${t}`,tallyBeforeStop:(e,t)=>`\u0414\u043E \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438 \u0433\u043E\u0442\u043E\u0432\u043E ${e} \u0438\u0437 ${t}`,screens:e=>`${e} ${J(e,{one:`\u044D\u043A\u0440\u0430\u043D`,few:`\u044D\u043A\u0440\u0430\u043D\u0430`,many:`\u044D\u043A\u0440\u0430\u043D\u043E\u0432`})} \u043D\u0430 \u043A\u0430\u0440\u0442\u0435`,cancelledBy:(e,t)=>`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430: ${e}, ${t}.`,reportPartial:`\u041E\u0442\u0447\u0451\u0442 \u00AB\u041D\u0435\u043F\u043E\u043B\u043D\u044B\u0439\u00BB.`,failureReason:{credits:`\u0423 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0437\u0430\u043A\u043E\u043D\u0447\u0438\u043B\u0438\u0441\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u044B \u0418\u0418.`,turnShape:`\u041C\u043E\u0434\u0435\u043B\u044C \u043D\u0435 \u0432\u0435\u0440\u043D\u0443\u043B\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0445\u043E\u0434\u043E\u0432 \u043F\u043E\u0434\u0440\u044F\u0434.`,internal:`\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u044F\u044F \u043E\u0448\u0438\u0431\u043A\u0430 \u0430\u0433\u0435\u043D\u0442\u0430.`,initiatorUnavailable:`\u0420\u043E\u0439 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D: \u0438\u043D\u0438\u0446\u0438\u0430\u0442\u043E\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.`,other:e=>`\u0410\u0433\u0435\u043D\u0442 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0441\u044F \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439 \u00AB${e}\u00BB.`}},actions:{open:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0440\u043E\u044F`,openLaunch:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0437\u0430\u043F\u0443\u0441\u043A\u0430`,openReport:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u0442\u0447\u0451\u0442`,stop:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C`,resume:`\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432 \u044D\u0442\u043E\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435`,stopConfirm:{question:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u043E\u0439?`,body:`\u041E\u043A\u043D\u0430 \u0437\u0430\u043A\u0440\u043E\u044E\u0442\u0441\u044F, \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u044F\u0442\u0441\u044F. \u0413\u043E\u0442\u043E\u0432\u043E\u0435 \u2014 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0438 \u044D\u043A\u0440\u0430\u043D\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435 \u2014 \u043E\u0441\u0442\u0430\u043D\u0435\u0442\u0441\u044F.`,keep:`\u041D\u0435 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C`,confirm:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u043E\u0439`},stopFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u043E\u0439`},strip:{awaiting:`\u0410\u0433\u0435\u043D\u0442 \u0436\u0434\u0451\u0442 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0442\u0432\u0435\u0442\u0430`,toQuestion:`\u041A \u0432\u043E\u043F\u0440\u043E\u0441\u0443`,lostBrowser:`\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u043E\u0442\u043A\u043B\u044E\u0447\u0451\u043D`,lostRunner:`\u0416\u0434\u0451\u0442 \u0440\u0430\u043D\u043D\u0435\u0440`,resume:`\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C`,startingBrowser:`\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0430\u0435\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440`,startingRunner:`\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0430\u0435\u043C \u0440\u0430\u043D\u043D\u0435\u0440`,active:`\u0410\u0433\u0435\u043D\u0442 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442`,idle:`\u0410\u0433\u0435\u043D\u0442\u044B \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0442`,stopping:`\u0420\u043E\u0439 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,toBlock:`\u041A \u0440\u043E\u044E`,toBlockLabel:`\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0431\u043B\u043E\u043A \u0440\u043E\u044F`,windows:e=>`${e} ${J(e,{one:`\u043E\u043A\u043D\u043E`,few:`\u043E\u043A\u043D\u0430`,many:`\u043E\u043A\u043E\u043D`})}`}},ou={failed:e=>`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439: ${e}`,failedBatch:e=>`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438: ${e}`,reason:{no_active_tab:`\u043D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0438. \u041E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u043F\u0440\u043E\u0435\u043A\u0442\u0430.`,content_not_loaded:`\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043E \u043D\u0430 \u044D\u0442\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.`,launch_refused:`\u0432\u043A\u043B\u0430\u0434\u043A\u0430 \u043D\u0435 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u043B\u0430 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439: \u0432 \u043D\u0435\u0439 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442 \u0434\u0440\u0443\u0433\u043E\u0439 \u0437\u0430\u043F\u0443\u0441\u043A, \u0438\u043B\u0438 \u0435\u0433\u043E \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u0438\u0442\u044C.`,test_run_tab_missing:`\u0432\u043A\u043B\u0430\u0434\u043A\u0430 \u0441 \u0442\u0435\u0441\u0442-\u0440\u0430\u043D\u043E\u043C \u044D\u0442\u043E\u0433\u043E \u043F\u0440\u043E\u0433\u043E\u043D\u0430 \u0437\u0430\u043A\u0440\u044B\u0442\u0430 \u0438\u043B\u0438 \u0442\u0435\u0441\u0442-\u0440\u0430\u043D \u0432 \u043D\u0435\u0439 \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D.`},unsupported:{title:`\u0417\u0430\u043F\u0443\u0441\u043A \u0432\u043E \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`}},su=new Intl.NumberFormat(`ru`),cu=e=>su.format(e),lu={title:`\u0417\u0430\u043F\u0443\u0441\u043A \u043D\u0430 \u0430\u0433\u0435\u043D\u0442\u0435`,cardAria:e=>`\u0417\u0430\u043F\u0443\u0441\u043A \u043D\u0430 \u0430\u0433\u0435\u043D\u0442\u0435: ${e}`,outcome:{refused:`\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E`,refusedWithReason:e=>`\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E: ${e}`,launched:(e,t)=>`\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E ${cu(e)} \u0438\u0437 ${cu(t)}`},confirmed:`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u043E`,refusedHead:`\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u044B`,refusedList:`\u041E\u0442\u043A\u043B\u043E\u043D\u0451\u043D\u043D\u044B\u0435 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438`,launchedSummary:`\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u044B`,launchedList:`\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0435 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438`,unsupported:{title:`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`}},uu={listLabel:(e,t)=>`${e} \u00B7 ${cu(t)}`,token:{"stand.main":`\u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439`,"stand.dangerous":`\u041F\u043E\u043B\u043D\u044B\u0439`,"onExisting.skip":`\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C`,"onExisting.replace":`\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C`,"onExisting.duplicate":`\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043A\u043E\u043F\u0438\u044E`,"scenarios.ad_hoc_batch":`\u0420\u0430\u0437\u043E\u0432\u044B\u0439 \u043D\u0430\u0431\u043E\u0440 \u0448\u0430\u0433\u043E\u0432, \u043D\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0439 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,"environment.projectDefault":`\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,"status.running":`\u0418\u0434\u0451\u0442`,"status.finished":`\u0417\u0430\u043A\u043E\u043D\u0447\u0435\u043D`,"status.aborted":`\u041F\u0440\u0435\u0440\u0432\u0430\u043D`,"aiRunMode.mapping":`\u041F\u0440\u0438\u0432\u044F\u0437\u043A\u0430 \u0448\u0430\u0433\u043E\u0432 \u043A \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B`,"aiRunMode.agentic":`\u0410\u0433\u0435\u043D\u0442 \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,"window.headful":`\u0421 \u043E\u043A\u043D\u043E\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430`,"window.headless":`\u0411\u0435\u0437 \u043E\u043A\u043D\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430`,"executor.extension":`\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435`,"executor.agent":`\u0420\u0430\u043D\u043D\u0435\u0440`,"billingPeriod.monthly":`\u041F\u043E\u043C\u0435\u0441\u044F\u0447\u043D\u043E`,"billingPeriod.yearly":`\u0417\u0430 \u0433\u043E\u0434`,"requestType.plan_change":`\u0421\u043C\u0435\u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0430`,"requestType.topup":`\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432`,"requestType.seats":`\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043C\u0435\u0441\u0442\u0430`,"role.user":`\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C`,"allowedChange.file_bugs":`\u0417\u0430\u0432\u043E\u0434\u0438\u0442\u044C \u0431\u0430\u0433\u0438`,"allowedChange.write_tests":`\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u0438 \u043C\u0435\u043D\u044F\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0438 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u044B`,"allowedChange.edit_project":`\u041F\u0440\u043E\u0447\u0438\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F`,"scope.project":`\u0412\u0441\u0451 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435`},warning:{"stand.dangerous":`\u041F\u043E\u043B\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F \u043D\u0430 \u0430\u0432\u0442\u043E\u043D\u043E\u043C\u043D\u043E\u0439 \u043C\u0430\u0448\u0438\u043D\u0435: \u0430\u0433\u0435\u043D\u0442 \u0441\u043C\u043E\u0436\u0435\u0442 \u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u0438 \u0443\u0434\u0430\u043B\u044F\u0442\u044C \u043B\u044E\u0431\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435, \u0438 \u0440\u044F\u0434\u043E\u043C \u043D\u0438\u043A\u043E\u0433\u043E \u043D\u0435 \u0431\u0443\u0434\u0435\u0442. \u0412\u043A\u043B\u044E\u0447\u0430\u0439\u0442\u0435 \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u0442\u0435\u0441\u0442\u043E\u0432\u043E\u043C \u0441\u0442\u0435\u043D\u0434\u0435.`},unrecognized:`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043D\u0435 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043E`},du=new Intl.NumberFormat(`ru`),fu=e=>du.format(e),pu={title:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,caption:e=>`SC-${String(e)}`,cardAria:(e,t)=>`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 ${e}: ${t}`,lifecycle:{draft:`\u0427\u0435\u0440\u043D\u043E\u0432\u0438\u043A`,ready:`Live`,outdated:`\u0423\u0441\u0442\u0430\u0440\u0435\u043B`,archived:`\u0412 \u0430\u0440\u0445\u0438\u0432\u0435`},steps:e=>J(e,{one:`\u0448\u0430\u0433`,few:`\u0448\u0430\u0433\u0430`,many:`\u0448\u0430\u0433\u043E\u0432`}),runs:e=>J(e,{one:`\u043F\u0440\u043E\u0433\u043E\u043D`,few:`\u043F\u0440\u043E\u0433\u043E\u043D\u0430`,many:`\u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`}),mapping:{label:{none:`\u0420\u0430\u0437\u043C\u0435\u0442\u043A\u0430: \u043D\u0435\u0442`,partial:`\u0420\u0430\u0437\u043C\u0435\u0442\u043A\u0430: \u0447\u0430\u0441\u0442\u0438\u0447\u043D\u0430\u044F`,full:`\u0420\u0430\u0437\u043C\u0435\u0442\u043A\u0430: \u043F\u043E\u043B\u043D\u0430\u044F`},hint:{none:`\u0448\u0430\u0433\u0438 \u0435\u0449\u0451 \u043D\u0435 \u043F\u0440\u0438\u0432\u044F\u0437\u0430\u043D\u044B`,partial:`\u0447\u0430\u0441\u0442\u044C \u0448\u0430\u0433\u043E\u0432 \u043F\u0440\u0438\u0432\u044F\u0437\u0430\u043D\u0430 \u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430\u043C \u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C`,full:`\u0432\u0441\u0435 \u0448\u0430\u0433\u0438 \u043F\u0440\u0438\u0432\u044F\u0437\u0430\u043D\u044B`},hintNoSteps:`\u0448\u0430\u0433\u043E\u0432 \u043D\u0435\u0442`,tip:e=>`\u0420\u0430\u0437\u043C\u0435\u0442\u043A\u0430 \u0448\u0430\u0433\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B: ${e}`},open:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0440\u0430\u0431\u043E\u0447\u0435\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438`,openShort:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C`,openAria:e=>`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0440\u0430\u0431\u043E\u0447\u0435\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438: ${e}`,run:`\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C`,runAria:e=>`\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C: ${e}`,runCommand:e=>`\u0417\u0430\u043F\u0443\u0441\u0442\u0438 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439 ${e}`,runNoSteps:`\u041D\u0435\u0442 \u0448\u0430\u0433\u043E\u0432 \u0434\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u2014 \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0448\u0430\u0433\u0438 \u0432 \u0440\u0430\u0431\u043E\u0447\u0435\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438.`,expand:`\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u2014 \u0448\u0430\u0433\u0438 \u0438 \u0438\u0441\u0442\u043E\u0440\u0438\u044F`,expandShort:`\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C`,collapse:`\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C`,tabsAria:`\u0420\u0430\u0437\u0434\u0435\u043B\u044B \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,tabSteps:`\u0428\u0430\u0433\u0438`,tabRuns:`\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0437\u0430\u043F\u0443\u0441\u043A\u043E\u0432`,step:{aria:(e,t)=>`\u0428\u0430\u0433 ${fu(e)}: ${t}`,missingLabel:`\u0442\u0435\u043A\u0441\u0442 \u0448\u0430\u0433\u0430 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442`,moreExpected:e=>`+${fu(e)}`,expectedHeading:`\u041E\u0436\u0438\u0434\u0430\u0435\u043C\u044B\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B`},stepsEmptyTitle:`\u0428\u0430\u0433\u043E\u0432 \u043F\u043E\u043A\u0430 \u043D\u0435\u0442`,stepsShown:(e,t)=>`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E ${fu(e)} \u0438\u0437 ${fu(t)}`,stepsLoadMore:e=>`\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0449\u0451 ${fu(e)}`,stepsLoading:`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C \u0448\u0430\u0433\u0438\u2026`,stepsLoadFailed:(e,t)=>`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0448\u0430\u0433\u0438 \u00B7 \u043F\u043E\u043A\u0430\u0437\u0430\u043D\u043E ${fu(e)} \u0438\u0437 ${fu(t)}`,runsEmptyTitle:`\u0415\u0449\u0451 \u043D\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u043B\u0441\u044F`,runsLoading:`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C \u0438\u0441\u0442\u043E\u0440\u0438\u044E \u0437\u0430\u043F\u0443\u0441\u043A\u043E\u0432\u2026`,runsLoadFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u0441\u0442\u043E\u0440\u0438\u044E \u0437\u0430\u043F\u0443\u0441\u043A\u043E\u0432`,runsShown:(e,t)=>`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E ${fu(e)} \u0438\u0437 ${fu(t)}`,runsLoadMore:e=>`\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0435\u0449\u0451 ${fu(e)}`,runStatus:{queued:`\u0412 \u043E\u0447\u0435\u0440\u0435\u0434\u0438`,launching:`\u0417\u0430\u043F\u0443\u0441\u043A\u0430\u0435\u0442\u0441\u044F`,in_progress:`\u0412 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435`,completed:`\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E`,failed:`\u041E\u0448\u0438\u0431\u043A\u0430`,cancelled:`\u041E\u0442\u043C\u0435\u043D\u0435\u043D\u043E`},runMode:{manual:`\u0420\u0443\u0447\u043D\u043E\u0439`,semi_auto:`\u041F\u043E\u043B\u0443\u0430\u0432\u0442\u043E`,auto:`\u0410\u0432\u0442\u043E`},runProgress:(e,t)=>`\u0448\u0430\u0433 ${fu(e)} \u0438\u0437 ${fu(t)}`,runDurationUnavailable:`\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430`,runMomentUnavailable:`\u2014`,refreshing:`\u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0435\u0442\u0441\u044F`,refreshingAria:e=>`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 ${e} \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0435\u0442\u0441\u044F`,refreshedAria:e=>`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 ${e} \u043E\u0431\u043D\u043E\u0432\u043B\u0451\u043D`,readAt:e=>`\u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0430 ${e}`,readTimeUnknown:`\u0432\u0440\u0435\u043C\u044F \u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E`,refreshFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,refreshFailedShort:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C`,refreshUnavailable:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,unavailableAria:e=>`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 ${e} \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,unavailableWhy:`\u041F\u043E\u0447\u0435\u043C\u0443 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,unavailableReason:`\u041E\u043D \u0432 \u043A\u043E\u0440\u0437\u0438\u043D\u0435 \u0438\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435\u0442 \u043A \u043D\u0435\u043C\u0443 \u0434\u043E\u0441\u0442\u0443\u043F\u0430`,unsupported:{title:`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0438 \u0441\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0432 \u0447\u0430\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`},collection:{collectionAria:e=>`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0438: ${fu(e)}`,roleCarousel:`\u043B\u0435\u043D\u0442\u0430 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`,roleSlide:`\u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,previous:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,next:`\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,goToSlide:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 {index} \u0438\u0437 {total}`}},mu=new Intl.NumberFormat(`ru`),$=e=>mu.format(e),hu=e=>J(e,{one:`\u043F\u0440\u043E\u0433\u043E\u043D`,few:`\u043F\u0440\u043E\u0433\u043E\u043D\u0430`,many:`\u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`}),gu=e=>J(e,{one:`\u043F\u0440\u043E\u0433\u043E\u043D\u0430`,few:`\u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`,many:`\u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`}),_u=e=>J(e,{one:`\u043F\u0430\u0434\u0435\u043D\u0438\u0435`,few:`\u043F\u0430\u0434\u0435\u043D\u0438\u044F`,many:`\u043F\u0430\u0434\u0435\u043D\u0438\u0439`}),vu=e=>J(e,{one:`\u0443\u0441\u043F\u0435\u0445`,few:`\u0443\u0441\u043F\u0435\u0445\u0430`,many:`\u0443\u0441\u043F\u0435\u0445\u043E\u0432`}),yu=e=>J(e,{one:`\u0434\u0435\u043D\u044C`,few:`\u0434\u043D\u044F`,many:`\u0434\u043D\u0435\u0439`}),bu={not_enrolled:()=>`\u041D\u0438 \u043E\u0434\u043D\u043E\u0439 \u043C\u0430\u0448\u0438\u043D\u044B \u043D\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E.`,none_ready:e=>`\u041D\u0438 \u043E\u0434\u043D\u0430 \u0438\u0437 \u043C\u0430\u0448\u0438\u043D (${$(e)}) \u043D\u0435 \u0433\u043E\u0442\u043E\u0432\u0430 \u043A \u044D\u0442\u043E\u0439 \u0440\u0430\u0431\u043E\u0442\u0435.`,one_ready:e=>`\u041E\u0434\u043D\u0430 \u043C\u0430\u0448\u0438\u043D\u0430 \u0433\u043E\u0442\u043E\u0432\u0430. \u0412\u0441\u0435\u0433\u043E \u043C\u0430\u0448\u0438\u043D: ${$(e)}.`,many_ready:e=>`\u041D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0430\u0448\u0438\u043D \u0433\u043E\u0442\u043E\u0432\u044B. \u0412\u0441\u0435\u0433\u043E \u043C\u0430\u0448\u0438\u043D: ${$(e)}.`},xu={playback:`\u041D\u0435\u0442 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F`,scenario_launch:`\u041D\u0435\u0442 \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`},Su={common:{missingName:`\u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442`,open:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C`,newTabSuffix:` (\u043D\u043E\u0432\u0430\u044F \u0432\u043A\u043B\u0430\u0434\u043A\u0430)`,noOpenTarget:`\u043D\u0435\u0442 \u0446\u0435\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F`,noOpenTargetHint:`\u0414\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438 \u043D\u0435\u0442 \u0446\u0435\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F`,moreActions:`\u0415\u0449\u0451 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`,commandFailure:{confirm:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u2014`,reject:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C \u2014`,reason:{rejected:`\u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0435 \u043F\u0440\u0438\u043D\u044F\u043B \u0440\u0435\u0448\u0435\u043D\u0438\u0435. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,ack_timeout:`\u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0435 \u043E\u0442\u0432\u0435\u0442\u0438\u043B. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,not_open:`\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0435\u0449\u0451 \u043D\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u043E. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,connection_closed:`\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0440\u0432\u0430\u043B\u043E\u0441\u044C. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`}},entityType:{scenario:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,bug:`\u0411\u0430\u0433`,"checklist-item":`\u041F\u0443\u043D\u043A\u0442 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430`,checklist:`\u0427\u0435\u043A-\u043B\u0438\u0441\u0442`,"saved-request":`API-\u0437\u0430\u043F\u0440\u043E\u0441`,collection:`\u041A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u044F`,"shared-step":`\u041E\u0431\u0449\u0438\u0439 \u0448\u0430\u0433`,run:`\u0422\u0435\u0441\u0442-\u0437\u0430\u043F\u0443\u0441\u043A`,"test-run":`\u0422\u0435\u0441\u0442-\u0437\u0430\u043F\u0443\u0441\u043A`,page:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430`,"test-plan":`\u0422\u0435\u0441\u0442-\u043F\u043B\u0430\u043D`,environment:`\u041E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u0435`,variable:`\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F`,"atlas-fact":`\u041A\u0430\u0440\u0442\u0430`,"api-folder":`\u041F\u0430\u043F\u043A\u0430 API`,"api-endpoint":`API-\u044D\u043D\u0434\u043F\u043E\u0438\u043D\u0442`,section:`\u0420\u0430\u0437\u0434\u0435\u043B`}},collection:{counter:`{index} / {total}`,counterUnknown:`{index}`,positionMore:`\u0414\u0430\u043B\u0435\u0435`,scrubberAria:`\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u0432 \u043B\u0435\u043D\u0442\u0435`,slideAria:`{index} \u0438\u0437 {total}`,slideAriaAtLeast:`{index} \u0438\u0437 {total}+`,slideAriaUnknown:`{index}, \u0440\u0430\u0437\u043C\u0435\u0440 \u043D\u0430\u0431\u043E\u0440\u0430 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043D`,loadedOf:`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {loaded} \u0438\u0437 {total}`,loadedOfAtLeast:`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {loaded} \u0438\u0437 {total}+`,loadedOfUnknown:`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {loaded}`,loadMore:`\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0449\u0451 {remaining}`,loadMoreUnknown:`\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0449\u0451`,loading:`\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430`,loadMoreFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443`,loadedMore:`\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043E \u0435\u0449\u0451 {count}, \u0432\u0441\u0435\u0433\u043E {total}`,loadedMoreAtLeast:`\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043E \u0435\u0449\u0451 {count}, \u0432\u0441\u0435\u0433\u043E \u043D\u0435 \u043C\u0435\u043D\u044C\u0448\u0435 {total}`,loadedMoreUnknown:`\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043E \u0435\u0449\u0451 {count}`},report:{title:{metric_card:`\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044C`,trend_card:`\u0414\u0438\u043D\u0430\u043C\u0438\u043A\u0430`,finding_card:`\u0421\u043B\u0430\u0431\u043E\u0435 \u043C\u0435\u0441\u0442\u043E`,stability_row_card:`\u0421\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,scenario_stability_card:`\u0421\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F \u2014 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E`,failure_breakdown_card:`\u041F\u0440\u0438\u0447\u0438\u043D\u044B \u043F\u0430\u0434\u0435\u043D\u0438\u0439`,weak_spot_feature_card:`\u0421\u043B\u0430\u0431\u0430\u044F \u0437\u043E\u043D\u0430: \u0444\u0438\u0447\u0430`,weak_spot_page_card:`\u0421\u043B\u0430\u0431\u0430\u044F \u0437\u043E\u043D\u0430: \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430`,weak_spot_section_card:`\u0421\u043B\u0430\u0431\u0430\u044F \u0437\u043E\u043D\u0430: \u0440\u0430\u0437\u0434\u0435\u043B`,hotspot_card:`\u0413\u043E\u0440\u044F\u0447\u0430\u044F \u0442\u043E\u0447\u043A\u0430 \u0431\u0430\u0433\u043E\u0432`},window:{"7d":`7 \u0434\u043D\u0435\u0439`,"14d":`14 \u0434\u043D\u0435\u0439`,"30d":`30 \u0434\u043D\u0435\u0439`,"90d":`90 \u0434\u043D\u0435\u0439`},windowShort:{"7d":`7 \u0434`,"14d":`14 \u0434`,"30d":`30 \u0434`,"90d":`90 \u0434`},basisRuns:(e,t)=>`\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 ${$(e)} ${hu(e)} (\u0434\u043E ${$(t)} ${yu(t)})`,currentState:`\u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435`,noWindow:`\u043E\u043A\u043D\u043E \u043D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F`,asOf:e=>`\u043D\u0430 ${e}`,stamp:{source:(e,t)=>[`\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A: ${e}`,...t].join(` \u00B7 `),metric:(e,t)=>`${e} \u00B7 \u0432\u0435\u0440\u0441\u0438\u044F ${t}`,rule:(e,t)=>`\u043F\u0440\u0430\u0432\u0438\u043B\u043E ${e} \u00B7 \u0432\u0435\u0440\u0441\u0438\u044F ${t}`,definition:e=>`\u0432\u0435\u0440\u0441\u0438\u044F \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F ${e}`,mapping:e=>`\u0432\u0435\u0440\u0441\u0438\u044F \u043C\u0430\u043F\u043F\u0438\u043D\u0433\u0430 ${e}`,envelope:(e,t)=>`${e} \u00B7 \u0432\u0435\u0440\u0441\u0438\u044F ${t}`},metric:{name:{pass_rate:`\u0423\u0441\u043F\u0435\u0448\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`,runs_total:`\u041F\u0440\u043E\u0433\u043E\u043D\u044B`,runs_passed:`\u0423\u0441\u043F\u0435\u0448\u043D\u044B\u0435 \u043F\u0440\u043E\u0433\u043E\u043D\u044B`,runs_failed:`\u0423\u043F\u0430\u0432\u0448\u0438\u0435 \u043F\u0440\u043E\u0433\u043E\u043D\u044B`,runs_evaluated:`\u041F\u0440\u043E\u0433\u043E\u043D\u044B \u0432 \u0437\u043D\u0430\u043C\u0435\u043D\u0430\u0442\u0435\u043B\u0435`,runs_infra:`\u0418\u043D\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u043D\u044B\u0435 \u043F\u0440\u043E\u0433\u043E\u043D\u044B`,runs_cancelled:`\u041E\u0442\u043C\u0435\u043D\u0451\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0433\u043E\u043D\u044B`,runs_abandoned:`\u0411\u0440\u043E\u0448\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0433\u043E\u043D\u044B`,run_duration_sum_ms:`\u0421\u0443\u043C\u043C\u0430\u0440\u043D\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`,run_duration_count:`\u041F\u0440\u043E\u0433\u043E\u043D\u044B \u0441 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0439 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C\u044E`,run_duration_avg:`\u0421\u0440\u0435\u0434\u043D\u044F\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0433\u043E\u043D\u0430`,page_steps_executed:`\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0448\u0430\u0433\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435`,page_steps_passed:`\u0423\u0441\u043F\u0435\u0448\u043D\u044B\u0445 \u0448\u0430\u0433\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435`,page_steps_failed:`\u0423\u043F\u0430\u0432\u0448\u0438\u0445 \u0448\u0430\u0433\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435`,page_steps_healed:`\u0421\u0430\u043C\u043E\u043F\u043E\u0447\u0438\u043D\u043E\u043A \u0448\u0430\u0433\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435`,page_step_success_rate:`\u0423\u0441\u043F\u0435\u0448\u043D\u043E\u0441\u0442\u044C \u0448\u0430\u0433\u043E\u0432 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B`,page_healed_rate:`\u0414\u043E\u043B\u044F \u0441\u0430\u043C\u043E\u043F\u043E\u0447\u0438\u043D\u043A\u0438 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435`,step_failures:`\u041F\u0430\u0434\u0435\u043D\u0438\u044F \u0448\u0430\u0433\u043E\u0432`,run_failures:`\u041F\u0430\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`,bugs_opened:`\u0417\u0430\u0432\u0435\u0434\u0435\u043D\u043E \u0431\u0430\u0433\u043E\u0432`,bugs_closed:`\u0417\u0430\u043A\u0440\u044B\u0442\u043E \u0431\u0430\u0433\u043E\u0432`,open_bugs:`\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0435 \u0431\u0430\u0433\u0438`,behavior_units_passed:`\u041F\u043E\u043A\u0440\u044B\u0442\u044B\u0435 \u0435\u0434\u0438\u043D\u0438\u0446\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`,behavior_units:`\u0415\u0434\u0438\u043D\u0438\u0446\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`,behavior_coverage_pct:`\u041F\u043E\u043A\u0440\u044B\u0442\u0438\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`,unstable_scenarios:`\u041D\u0435\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u0435 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438`,screens:`\u042D\u043A\u0440\u0430\u043D\u044B`,screens_with_tests:`\u042D\u043A\u0440\u0430\u043D\u044B \u0441 \u0442\u0435\u0441\u0442\u0430\u043C\u0438`,screen_test_coverage_pct:`\u041F\u043E\u043A\u0440\u044B\u0442\u0438\u0435 \u044D\u043A\u0440\u0430\u043D\u043E\u0432 \u0442\u0435\u0441\u0442\u0430\u043C\u0438`},missingName:`\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044C \u0431\u0435\u0437 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0432 \u044D\u0442\u043E\u0439 \u0432\u0435\u0440\u0441\u0438\u0438`,missingNameDetail:e=>`metricId: ${e}`,unit:{percent:`%`,count:``,ms:`\u043C\u0441`,days:`\u0434\u043D.`},denominator:{pass_rate:e=>`\u0438\u0437 ${$(e)} ${J(e,{one:`\u043F\u0440\u043E\u0433\u043E\u043D\u0430`,few:`\u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`,many:`\u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432`})}`,runs_total:e=>`${$(e)} ${hu(e)}`,unstable_scenarios:e=>`\u0438\u0437 ${$(e)} ${J(e,{one:`\u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,few:`\u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`,many:`\u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`})}`,open_bugs:e=>`${$(e)} ${J(e,{one:`\u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0439`,few:`\u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0445`,many:`\u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0445`})}`,behavior_coverage_pct:e=>`\u0438\u0437 ${$(e)} ${J(e,{one:`\u0435\u0434\u0438\u043D\u0438\u0446\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`,few:`\u0435\u0434\u0438\u043D\u0438\u0446 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`,many:`\u0435\u0434\u0438\u043D\u0438\u0446 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`})}`,generic:e=>`\u0431\u0430\u0437\u0430: ${$(e)}`},insufficient:`\u041C\u0430\u043B\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430 \u043E\u043A\u043D\u043E \u2014 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044C \u043D\u0435 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043D.`,noSeriesValue:`\u041C\u0430\u043B\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430 \u043E\u043A\u043D\u043E \u2014 \u0433\u0440\u0430\u0444\u0438\u043A \u043D\u0435 \u043F\u043E\u0441\u0442\u0440\u043E\u0435\u043D.`,deltaHint:`\u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043F\u0435\u0440\u0438\u043E\u0434\u0443`,deltaPointsHint:` \u00B7 \u043F.\u043F. \u2014 \u043F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u044B\u0435 \u043F\u0443\u043D\u043A\u0442\u044B, \u0440\u0430\u0437\u043D\u0438\u0446\u0430 \u0434\u0432\u0443\u0445 \u043F\u0440\u043E\u0446\u0435\u043D\u0442\u043E\u0432`,deltaPoints:e=>`${e} \u043F.\u043F.`,sparkAria:e=>`\u0414\u0438\u043D\u0430\u043C\u0438\u043A\u0430: ${e}`,sparkGap:(e,t)=>`\u041C\u0430\u043B\u043E \u0434\u0430\u043D\u043D\u044B\u0445 ${e}: ${$(t)} ${hu(t)}`,openReport:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u043E\u043B\u043D\u044B\u0439 \u043E\u0442\u0447\u0451\u0442`},trend:{lastDay:e=>`\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439 \u0434\u0435\u043D\u044C (${e})`,dayDenominator:e=>`\u0437\u043D\u0430\u043C\u0435\u043D\u0430\u0442\u0435\u043B\u044C \u0434\u043D\u044F: ${$(e)}`,points:`\u0422\u043E\u0447\u0435\u043A`,empty:`\u0422\u043E\u0447\u0435\u043A \u043D\u0435\u0442 \u2014 \u0437\u0430 \u043E\u043A\u043D\u043E \u043D\u0435 \u043D\u0430\u0431\u0440\u0430\u043B\u043E\u0441\u044C \u043D\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0434\u043D\u044F.`,gaps:e=>`\u0414\u043D\u0435\u0439 \u0431\u0435\u0437 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F: ${$(e)} \u2014 \u0437\u043D\u0430\u043C\u0435\u043D\u0430\u0442\u0435\u043B\u044C \u0434\u043D\u044F \u043D\u0438\u0436\u0435 \u043C\u0438\u043D\u0438\u043C\u0443\u043C\u0430.`},finding:{severity:{critical:`\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u043E`,high:`\u0432\u0430\u0436\u043D\u043E`,watch:`\u043D\u0430\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0435`},sentence:{section_coverage_gap:e=>({before:`\u0420\u0430\u0437\u0434\u0435\u043B `,after:`: ${[e.notCovered>0?`${$(e.notCovered)} \u043D\u0435 \u043F\u043E\u043A\u0440\u044B\u0442\u043E`:null,e.failed>0?`${$(e.failed)} \u0443\u043F\u0430\u043B\u043E`:null].filter(e=>e!==null).join(`, `)}`}),consistently_failing_scenario:e=>({before:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 `,after:` \u0443\u043F\u0430\u043B \u0432 ${$(e.count)} ${J(e.count,{one:`\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u043C \u043F\u0440\u043E\u0433\u043E\u043D\u0435`,few:`\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0445 \u043F\u0440\u043E\u0433\u043E\u043D\u0430\u0445`,many:`\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0445 \u043F\u0440\u043E\u0433\u043E\u043D\u0430\u0445`})} \u043F\u043E\u0434\u0440\u044F\u0434`}),low_page_success:e=>({before:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 `,after:`: \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u0441\u0442\u044C \u0448\u0430\u0433\u043E\u0432 ${e.rate} \u0438\u0437 ${$(e.executions)} (\u043F\u043E\u0440\u043E\u0433: ${e.threshold})`}),high_healed_rate:e=>({before:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 `,after:`: ${e.rate} \u0443\u0441\u043F\u0435\u0448\u043D\u044B\u0445 \u0448\u0430\u0433\u043E\u0432 \u043F\u043E\u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043B\u0438 \u0441\u0430\u043C\u043E\u043F\u043E\u0447\u0438\u043D\u043A\u0438 (\u043F\u043E\u0440\u043E\u0433: ${e.threshold})`}),screen_coverage_gap:e=>({before:`\u0420\u0430\u0437\u0434\u0435\u043B `,after:`: ${$(e.screensWithoutTests)} ${J(e.screensWithoutTests,{one:`\u044D\u043A\u0440\u0430\u043D`,few:`\u044D\u043A\u0440\u0430\u043D\u0430`,many:`\u044D\u043A\u0440\u0430\u043D\u043E\u0432`})} \u0431\u0435\u0437 \u0442\u0435\u0441\u0442\u043E\u0432 \u0438\u0437 ${$(e.screensWithoutTests+e.screensWithTests)}`}),stale_section:e=>({before:`\u0420\u0430\u0437\u0434\u0435\u043B `,after:`: \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439 \u043F\u0440\u043E\u0433\u043E\u043D ${$(e.days)} ${yu(e.days)} \u043D\u0430\u0437\u0430\u0434 (\u043F\u043E\u0440\u043E\u0433: ${$(e.threshold)})`}),open_bugs_no_verification_critical:e=>({before:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 `,after:`: ${$(e.count)} ${J(e.count,{one:`\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u044B\u0439 \u0431\u0430\u0433`,few:`\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u044B\u0445 \u0431\u0430\u0433\u0430`,many:`\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u044B\u0445 \u0431\u0430\u0433\u043E\u0432`})} \u0438 \u043D\u0438 \u043E\u0434\u043D\u043E\u0439 \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u0439 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0437\u0430 ${e.window}`}),open_bugs_no_verification_high:e=>({before:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 `,after:`: ${$(e.count)} ${J(e.count,{one:`\u0432\u0430\u0436\u043D\u044B\u0439 \u0431\u0430\u0433`,few:`\u0432\u0430\u0436\u043D\u044B\u0445 \u0431\u0430\u0433\u0430`,many:`\u0432\u0430\u0436\u043D\u044B\u0445 \u0431\u0430\u0433\u043E\u0432`})} \u0438 \u043D\u0438 \u043E\u0434\u043D\u043E\u0439 \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u0439 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0437\u0430 ${e.window}`})},dominantCause:(e,t,n)=>`; \u043E\u0441\u043D\u043E\u0432\u043D\u0430\u044F \u043F\u0440\u0438\u0447\u0438\u043D\u0430 \u2014 ${e.toLocaleLowerCase(`ru`)} (${$(t)} \u0438\u0437 ${$(n)} ${_u(n)})`,unknownRule:`\u041F\u0440\u0430\u0432\u0438\u043B\u043E \u044D\u0442\u043E\u0433\u043E \u0441\u043B\u0430\u0431\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u044D\u0442\u043E\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439.`,incompleteEvidence:`\u0414\u0430\u043D\u043D\u044B\u0445 \u043F\u0440\u0430\u0432\u0438\u043B\u0430 \u043D\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442, \u0447\u0442\u043E\u0431\u044B \u0441\u0444\u043E\u0440\u043C\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u044B\u0432\u043E\u0434.`,ruleIdDetail:e=>`ruleId: ${e}`,evidence:(e,t,n)=>`${$(e)} \u00B7 ${t} \u00B7 \u043F\u043E\u0440\u043E\u0433 ${$(n)}`,evidenceAria:`\u041E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u0432\u044B\u0432\u043E\u0434\u0430`,evidenceRows:{denominator:`\u0417\u043D\u0430\u043C\u0435\u043D\u0430\u0442\u0435\u043B\u044C`,threshold:`\u041F\u043E\u0440\u043E\u0433`,window:`\u041E\u043A\u043D\u043E`,rule:`\u041F\u0440\u0430\u0432\u0438\u043B\u043E`},open:{scenario:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,page:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443`,feature:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0444\u0438\u0447\u0443`,section:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0437\u0434\u0435\u043B`}},openAria:(e,t)=>`${e} \u00AB${t}\u00BB`,stability:{status:{consistently_failing:`\u043F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u043E \u043F\u0430\u0434\u0430\u0435\u0442`,flaky:`flaky`,monitoring:`\u043D\u0430\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0435`,insufficient_history:`\u043C\u0430\u043B\u043E \u0438\u0441\u0442\u043E\u0440\u0438\u0438`,stable:`\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E`},evidence:{flaky:(e,t,n)=>`Flaky \u2014 ${$(e)} ${_u(e)} \u0438 ${$(t)} ${vu(t)} \u0432 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0445 ${$(n)} ${J(n,{one:`\u043F\u0440\u043E\u0433\u043E\u043D\u0435`,few:`\u043F\u0440\u043E\u0433\u043E\u043D\u0430\u0445`,many:`\u043F\u0440\u043E\u0433\u043E\u043D\u0430\u0445`})}`,consistently_failing:e=>J(e,{one:`\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u043E \u043F\u0430\u0434\u0430\u0435\u0442 \u2014 ${$(e)} \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439 \u043F\u0440\u043E\u0433\u043E\u043D \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0441\u044F \u043F\u0430\u0434\u0435\u043D\u0438\u0435\u043C`,few:`\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u043E \u043F\u0430\u0434\u0430\u0435\u0442 \u2014 ${$(e)} \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0445 \u043F\u0440\u043E\u0433\u043E\u043D\u0430 \u043F\u043E\u0434\u0440\u044F\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0438\u0441\u044C \u043F\u0430\u0434\u0435\u043D\u0438\u0435\u043C`,many:`\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u043E \u043F\u0430\u0434\u0430\u0435\u0442 \u2014 ${$(e)} \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0445 \u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432 \u043F\u043E\u0434\u0440\u044F\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0438\u0441\u044C \u043F\u0430\u0434\u0435\u043D\u0438\u0435\u043C`}),monitoring:(e,t)=>`\u041D\u0430\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0435 \u2014 ${$(e)} ${_u(e)} \u043D\u0430 ${$(t)} ${hu(t)}; \u0434\u043B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430 flaky \u043D\u0443\u0436\u043D\u043E \u22652 \u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u0438 \u22652 \u0443\u0441\u043F\u0435\u0445\u043E\u0432 \u043F\u0440\u0438 n\u22656`,insufficientHistory:e=>`\u041C\u0430\u043B\u043E \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u2014 ${$(e)} ${hu(e)}; \u0434\u043B\u044F \u043A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 \u043D\u0443\u0436\u043D\u043E \u22653`,insufficientHistoryWatermark:e=>`\u041C\u0430\u043B\u043E \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u2014 \u0438\u0441\u0442\u043E\u0440\u0438\u044F \u043A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0441 ${e}: \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0438\u0437\u043C\u0435\u043D\u0451\u043D`,stable:e=>`\u0421\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E \u2014 ${$(e)} ${hu(e)} \u0431\u0435\u0437 \u043F\u0430\u0434\u0435\u043D\u0438\u0439`},stripAria:(e,t,n)=>`${$(e)} ${vu(e)}, ${$(t)} ${_u(t)} \u0438\u0437 ${$(n)}`,stripAriaBeforeChange:e=>` \u00B7 \u0434\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F: ${$(e)} ${hu(e)}`,beforeChange:`\u0434\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,success:`\u0423\u0441\u043F\u0435\u0448\u043D\u043E\u0441\u0442\u044C`,outOf:(e,t)=>`${$(e)} \u0438\u0437 ${$(t)}`,dominantCause:`\u041E\u0441\u043D. \u043F\u0440\u0438\u0447\u0438\u043D\u0430`,noFailures:`\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435\u0442`,lastRun:`\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439 \u043F\u0440\u043E\u0433\u043E\u043D`,historyReset:e=>`\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0441 ${e}: \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0438\u0437\u043C\u0435\u043D\u0451\u043D.`,causesTitle:`\u041F\u0440\u0438\u0447\u0438\u043D\u044B \u043F\u0430\u0434\u0435\u043D\u0438\u0439`,failures:e=>`${$(e)} ${_u(e)}`,healed:`\u0421\u0430\u043C\u043E\u043F\u043E\u0447\u0438\u043D\u043A\u0430 \u0448\u0430\u0433\u043E\u0432`,aiExecuted:`\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0448\u0430\u0433\u043E\u0432 \u0447\u0435\u0440\u0435\u0437 \u0418\u0418`,ofPassedSteps:(e,t)=>`${$(e)} \u0438\u0437 ${$(t)} ${J(t,{one:`\u0443\u0441\u043F\u0435\u0448\u043D\u043E\u0433\u043E \u0448\u0430\u0433\u0430`,few:`\u0443\u0441\u043F\u0435\u0448\u043D\u044B\u0445 \u0448\u0430\u0433\u043E\u0432`,many:`\u0443\u0441\u043F\u0435\u0448\u043D\u044B\u0445 \u0448\u0430\u0433\u043E\u0432`})}`,erFailed:`\u041D\u0435\u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438`,erFailedValue:(e,t)=>`\u0432 ${$(e)} \u0438\u0437 ${$(t)} ${gu(t)}`,rawCodes:e=>`\u041A\u043E\u0434\u044B \u043F\u0440\u0438\u0447\u0438\u043D \u00B7 \u043C\u0430\u043F\u043F\u0438\u043D\u0433 ${e}`,rawCode:(e,t)=>`${e} \u00D7${$(t)}`,recentRuns:`\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 \u043F\u0440\u043E\u0433\u043E\u043D\u044B`,outcome:{passed:`\u0443\u0441\u043F\u0435\u0445`,failed:`\u043F\u0430\u0434\u0435\u043D\u0438\u0435`,infra:`\u0438\u043D\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430`,cancelled:`\u043E\u0442\u043C\u0435\u043D\u0451\u043D`,abandoned:`\u0431\u0440\u043E\u0448\u0435\u043D`},totalFailures:`\u0412\u0441\u0435\u0433\u043E \u043F\u0430\u0434\u0435\u043D\u0438\u0439`,noCauses:`\u041F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435\u0442.`},cause:{element_resolution:`\u041F\u043E\u0438\u0441\u043A \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430`,step_definition:`\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0448\u0430\u0433\u0430`,action_dispatch:`\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F`,precondition:`\u041F\u0440\u0435\u0434\u0443\u0441\u043B\u043E\u0432\u0438\u0435 \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E`,infrastructure:`\u0418\u043D\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430`,cancelled:`\u041E\u0442\u043C\u0435\u043D\u0435\u043D\u043E`,unrecognized:`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D\u044B\u0435`},weakSpots:{coverage:`\u041F\u043E\u043A\u0440\u044B\u0442\u0438\u0435`,coverageValue:(e,t)=>`${$(e)} \u0438\u0437 ${$(t)} ${J(t,{one:`\u0435\u0434\u0438\u043D\u0438\u0446\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`,few:`\u0435\u0434\u0438\u043D\u0438\u0446 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`,many:`\u0435\u0434\u0438\u043D\u0438\u0446 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F`})}`,sectionFailed:`\u0423\u043F\u0430\u043B\u043E`,sectionNotRun:`\u041D\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u043B\u0438`,sectionNotCovered:`\u041D\u0435 \u043F\u043E\u043A\u0440\u044B\u0442\u043E`,sectionNoUnits:`\u0412 \u0440\u0430\u0437\u0434\u0435\u043B\u0435 \u043D\u0435\u0442 \u0435\u0434\u0438\u043D\u0438\u0446 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u2014 \u043F\u043E\u043A\u0440\u044B\u0442\u0438\u0435 \u043D\u0435 \u0438\u0437\u043C\u0435\u0440\u0438\u0442\u044C.`,level:{green:`\u0445\u043E\u0440\u043E\u0448\u043E`,yellow:`\u0441\u0440\u0435\u0434\u043D\u0435`,red:`\u0441\u043B\u0430\u0431\u043E`,none:`\u043D\u0435\u0442 \u0435\u0434\u0438\u043D\u0438\u0446`},stepSuccess:`\u0423\u0441\u043F\u0435\u0448\u043D\u043E\u0441\u0442\u044C \u0448\u0430\u0433\u043E\u0432`,ofSteps:(e,t)=>`${$(e)} \u0438\u0437 ${$(t)} ${J(t,{one:`\u0448\u0430\u0433\u0430`,few:`\u0448\u0430\u0433\u043E\u0432`,many:`\u0448\u0430\u0433\u043E\u0432`})}`,noExecutions:`\u043D\u0435\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0439`,openBugs:`\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0435 \u0431\u0430\u0433\u0438`,findings:`\u0421\u043B\u0430\u0431\u044B\u0435 \u043C\u0435\u0441\u0442\u0430`,findingsNone:`\u043D\u0435\u0442`,findingCount:{critical:e=>`${$(e)} ${J(e,{one:`\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u0430\u044F \u043D\u0430\u0445\u043E\u0434\u043A\u0430`,few:`\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u044B\u0435 \u043D\u0430\u0445\u043E\u0434\u043A\u0438`,many:`\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u044B\u0445 \u043D\u0430\u0445\u043E\u0434\u043E\u043A`})}`,high:e=>`${$(e)} ${J(e,{one:`\u0432\u0430\u0436\u043D\u0430\u044F \u043D\u0430\u0445\u043E\u0434\u043A\u0430`,few:`\u0432\u0430\u0436\u043D\u044B\u0435 \u043D\u0430\u0445\u043E\u0434\u043A\u0438`,many:`\u0432\u0430\u0436\u043D\u044B\u0445 \u043D\u0430\u0445\u043E\u0434\u043E\u043A`})}`,watch:e=>`${$(e)} ${J(e,{one:`\u043D\u0430\u0445\u043E\u0434\u043A\u0430 \u043D\u0430 \u043D\u0430\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0438`,few:`\u043D\u0430\u0445\u043E\u0434\u043A\u0438 \u043D\u0430 \u043D\u0430\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0438`,many:`\u043D\u0430\u0445\u043E\u0434\u043E\u043A \u043D\u0430 \u043D\u0430\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0438`})}`},pagesTitle:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0444\u0438\u0447\u0438`,pagesCount:e=>$(e),pageBugs:e=>`\u0431\u0430\u0433\u043E\u0432: ${$(e)}`,pagesTruncated:e=>`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u044B \u043F\u0435\u0440\u0432\u044B\u0435 ${$(e)} ${J(e,{one:`\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430`,few:`\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B`,many:`\u0441\u0442\u0440\u0430\u043D\u0438\u0446`})} \u0444\u0438\u0447\u0438.`,membership:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043C\u043E\u0436\u0435\u0442 \u0432\u0445\u043E\u0434\u0438\u0442\u044C \u0432 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0444\u0438\u0447 \u2014 \u0441\u0443\u043C\u043C\u044B \u043F\u043E \u0444\u0438\u0447\u0430\u043C \u043D\u0435 \u0441\u043A\u043B\u0430\u0434\u044B\u0432\u0430\u044E\u0442\u0441\u044F.`,unassigned:`\u0431\u0435\u0437 \u0444\u0438\u0447\u0438`,priority:{critical:`\u041A\u0440\u0438\u0442\u0438\u0447\u043D\u044B\u0439`,high:`\u0412\u044B\u0441\u043E\u043A\u0438\u0439`,medium:`\u0421\u0440\u0435\u0434\u043D\u0438\u0439`,low:`\u041D\u0438\u0437\u043A\u0438\u0439`,ignore:`\u0418\u0433\u043D\u043E\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044F`}},lastPassed:{label:`\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0443\u0441\u043F\u0435\u0448\u043D\u0430\u044F \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430`,never:`\u0443\u0441\u043F\u0435\u0448\u043D\u044B\u0445 \u043F\u0440\u043E\u0432\u0435\u0440\u043E\u043A \u043D\u0435 \u0431\u044B\u043B\u043E`,today:`\u0441\u0435\u0433\u043E\u0434\u043D\u044F`,yesterday:`\u0432\u0447\u0435\u0440\u0430`,daysAgo:e=>`${$(e)} ${yu(e)} \u043D\u0430\u0437\u0430\u0434`},hotspot:{open:`\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0435 \u0431\u0430\u0433\u0438`,opened:`\u041D\u043E\u0432\u044B\u0445 \u0437\u0430 \u043E\u043A\u043D\u043E`,closed:`\u0417\u0430\u043A\u0440\u044B\u0442\u043E \u0437\u0430 \u043E\u043A\u043D\u043E`,closedHint:`\u0417\u0430\u043A\u0440\u044B\u0442\u0438\u044F \u0441\u0447\u0438\u0442\u0430\u044E\u0442\u0441\u044F \u0441 \u0440\u0435\u043B\u0438\u0437\u0430 \u043E\u0442\u0447\u0451\u0442\u043E\u0432: \u0443 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u0438\u0445 \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u0439 \u0434\u0430\u0442\u0430 \u043D\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430, \u0438 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0435\u0451 \u043F\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0431\u044B\u043B\u043E \u0431\u044B \u0432\u044B\u0434\u0443\u043C\u043A\u043E\u0439.`,unmapped:`\u041D\u0435 \u043F\u0440\u0438\u0432\u044F\u0437\u0430\u043D\u043E`,unmappedHint:`\u0411\u0430\u0433\u0438, \u0447\u0435\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0438\u043B\u0438 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0443\u0434\u0430\u043B\u0435\u043D\u044B.`,severityChip:{critical:e=>`${$(e)} \u043A\u0440\u0438\u0442`,high:e=>`${$(e)} \u0432\u044B\u0441`,medium:e=>`${$(e)} \u0441\u0440\u0435\u0434`,low:e=>`${$(e)} \u043D\u0438\u0437`,none:e=>`${$(e)} \u0431\u0435\u0437 \u0432\u0430\u0436\u043D\u043E\u0441\u0442\u0438`,unknown:(e,t)=>`${$(e)} ${t}`}},envelope:{shownOfTotal:(e,t)=>`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E ${$(e)} \u0438\u0437 ${$(t)} \u2014 \u043F\u043E\u043B\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A \u0432 \u043E\u0442\u0447\u0451\u0442\u0435.`,truncated:`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u044B \u043D\u0435 \u0432\u0441\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u2014 \u043F\u043E\u043B\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A \u0432 \u043E\u0442\u0447\u0451\u0442\u0435.`},unsupported:{title:`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u043E\u0442\u0447\u0451\u0442\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0442\u0447\u0451\u0442\u0430 \u043F\u0440\u0438\u0448\u043B\u0438 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u2014 \u0447\u0438\u0441\u043B\u0430 \u043E\u0441\u0442\u0430\u044E\u0442\u0441\u044F \u0432 \u0442\u0435\u043A\u0441\u0442\u0435 \u043E\u0442\u0432\u0435\u0442\u0430 Progon.`},collection:{collectionAria:e=>`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0438 \u043E\u0442\u0447\u0451\u0442\u0430: ${$(e)}`,roleCarousel:`\u043B\u0435\u043D\u0442\u0430 \u043A\u0430\u0440\u0442\u043E\u0447\u0435\u043A`,roleSlide:`\u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430`,previous:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430`,next:`\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430`,goToSlide:`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 {index} \u0438\u0437 {total}`}},runnerReadiness:{title:e=>`\u0413\u043E\u0442\u043E\u0432\u043D\u043E\u0441\u0442\u044C \u043C\u0430\u0448\u0438\u043D: ${e}`,job:{swarm:`\u0440\u043E\u0439 \u0430\u0433\u0435\u043D\u0442\u043E\u0432`,scenario_launch:`\u0437\u0430\u043F\u0443\u0441\u043A \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`},evaluatedAt:e=>`\u043D\u0430 ${e}`,fleet:bu,state:{not_owner:()=>`\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D`,pending_enroll:()=>`\u041E\u0436\u0438\u0434\u0430\u0435\u0442 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F`,offline:()=>`\u041D\u0435 \u0432 \u0441\u0435\u0442\u0438`,capability_missing:e=>e===null?`\u041D\u0443\u0436\u043D\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435`:xu[e],queue_full:()=>`\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430`,ready:()=>`\u0413\u043E\u0442\u043E\u0432`},platform:{darwin:`macOS`,linux:`Linux`,win32:`Windows`},lastSeen:e=>`\u043D\u0430 \u0441\u0432\u044F\u0437\u0438 ${e}`,lastSeenNever:`\u043D\u0438 \u0440\u0430\u0437\u0443 \u043D\u0435 \u0432\u044B\u0445\u043E\u0434\u0438\u043B\u0430 \u043D\u0430 \u0441\u0432\u044F\u0437\u044C`,machinesAria:e=>`\u041C\u0430\u0448\u0438\u043D\u044B: ${$(e)}`,noRunners:`\u0421\u043F\u0438\u0441\u043E\u043A \u043C\u0430\u0448\u0438\u043D \u043F\u0443\u0441\u0442.`,truncated:(e,t)=>`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E ${$(e)} \u0438\u0437 ${$(t)}.`,unsupported:{title:`\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u043E \u043C\u0430\u0448\u0438\u043D\u0430\u0445 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0438 \u0441\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0432 \u0447\u0430\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`},collection:{collectionAria:e=>`\u041E\u0442\u0447\u0451\u0442\u044B \u043E \u0433\u043E\u0442\u043E\u0432\u043D\u043E\u0441\u0442\u0438: ${$(e)}`,roleCarousel:`\u043B\u0435\u043D\u0442\u0430 \u043E\u0442\u0447\u0451\u0442\u043E\u0432 \u043E \u0433\u043E\u0442\u043E\u0432\u043D\u043E\u0441\u0442\u0438`,roleSlide:`\u043E\u0442\u0447\u0451\u0442`,previous:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u043E\u0442\u0447\u0451\u0442`,next:`\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u043E\u0442\u0447\u0451\u0442`,goToSlide:`\u041E\u0442\u0447\u0451\u0442 {index} \u0438\u0437 {total}`}},runnerEnrollment:{title:e=>`\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0441\u0432\u043E\u0435\u0439 \u043C\u0430\u0448\u0438\u043D\u044B: ${e}`,expiresAt:e=>`\u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E \u0434\u043E ${e}`,step:{install:`\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0430\u0433\u0435\u043D\u0442`,enroll:`\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043C\u0430\u0448\u0438\u043D\u0443`,approve:`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435`,start:`\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0434\u0435\u043C\u043E\u043D`},copy:`\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C`,copied:`\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E`,copyAria:{install:`\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438`,enroll:`\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F`,start:`\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443 \u0437\u0430\u043F\u0443\u0441\u043A\u0430`},copiedAria:{install:`\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u2014 \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438`,enroll:`\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u2014 \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F`,start:`\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u2014 \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0437\u0430\u043F\u0443\u0441\u043A\u0430`},approveBefore:`\u041A\u043E\u043C\u0430\u043D\u0434\u0430 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u043D\u0430\u043F\u0435\u0447\u0430\u0442\u0430\u0435\u0442 \u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u0438 \u0441\u0441\u044B\u043B\u043A\u0443 \u0432\u0438\u0434\u0430`,approveAfter:`\u2014 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0435\u0451 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0433\u0434\u0435 \u0432\u044B \u0432\u043E\u0448\u043B\u0438 \u0432 Progon, \u0441\u0432\u0435\u0440\u044C\u0442\u0435 \u043A\u043E\u0434 \u0441 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u043E\u043C, \u0437\u0430\u0434\u0430\u0439\u0442\u0435 \u0438\u043C\u044F \u043C\u0430\u0448\u0438\u043D\u044B \u0438 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435.`,cadence:e=>`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u043D\u0443\u0436\u043D\u043E \u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435 ${$(e)} \u0441.`,askAgain:`\u041F\u043E\u0441\u043B\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u043C\u0430\u0448\u0438\u043D\u044B \u0441\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0432 \u0447\u0430\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,unsupported:{title:`\u0418\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0438 \u0441\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0432 \u0447\u0430\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`}},references:{title:`\u0421\u0441\u044B\u043B\u043A\u0438`,groupAria:`\u0421\u0441\u044B\u043B\u043A\u0438 \u0438\u0437 \u043E\u0442\u0432\u0435\u0442\u0430`,filesAria:`\u0424\u0430\u0439\u043B\u044B \u0438\u0437 \u043E\u0442\u0432\u0435\u0442\u0430`,fileUnavailable:`\u0424\u0430\u0439\u043B \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,destination:{workbench:`\u0432 \u0440\u0430\u0431\u043E\u0447\u0435\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438`,map:`\u043D\u0430 \u043A\u0430\u0440\u0442\u0435`,run:`\u043E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0437\u0430\u043F\u0443\u0441\u043A`,list:`\u0432 \u0441\u043F\u0438\u0441\u043A\u0435`},action:{workbench:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0440\u0430\u0431\u043E\u0447\u0435\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438`,map:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435`,run:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u043F\u0443\u0441\u043A`,list:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0441\u043F\u0438\u0441\u043A\u0435`},noOpenAria:e=>`\u041D\u0435\u0442 \u0446\u0435\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F: ${e}`,unsupported:{title:`\u0421\u0441\u044B\u043B\u043A\u0438 \u0438\u0437 \u043E\u0442\u0432\u0435\u0442\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442\u0441\u044F`,body:`\u0421\u0441\u044B\u043B\u043A\u0438 \u043F\u0440\u0438\u0448\u043B\u0438 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`}},sectionLink:{title:`\u0420\u0430\u0437\u0434\u0435\u043B\u044B \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,groupAria:`\u0421\u0441\u044B\u043B\u043A\u0438 \u043D\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u044B \u043F\u0440\u043E\u0435\u043A\u0442\u0430`,action:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0437\u0434\u0435\u043B`,sections:yn.ru,unrecognized:`\u0420\u0430\u0437\u0434\u0435\u043B \u043D\u0435 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D`,serverLabel:e=>`\u0420\u0430\u0437\u0434\u0435\u043B \u00B7 \u043E\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430: \u00AB${e}\u00BB`,noRoute:`\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438`,noRouteHint:`\u0414\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0440\u0430\u0437\u0434\u0435\u043B\u0430 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443`,noRouteAria:e=>`\u041D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438 \u0434\u043B\u044F \u0440\u0430\u0437\u0434\u0435\u043B\u0430: ${e}`,unsupported:{title:`\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0440\u0430\u0437\u0434\u0435\u043B \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`}},search:{title:`\u041D\u0430\u0439\u0434\u0435\u043D\u043E \u0432 \u043F\u0440\u043E\u0435\u043A\u0442\u0435`,evidence:`\u041E\u0431\u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0435`,openAria:e=>`\u041E\u0442\u043A\u0440\u044B\u0442\u044C: ${e}`,emptyTitle:`\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E`,emptyForQuery:e=>`\u041F\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0443 \u00AB${e}\u00BB \u043D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0441 \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E\u0439 \u0443\u0432\u0435\u0440\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u044E.`,emptyBody:`\u041F\u043E\u0438\u0441\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D \u043F\u043E \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C \u0442\u0438\u043F\u0430\u043C \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0435\u0439 \u2014 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438, \u0431\u0430\u0433\u0438, \u043F\u0443\u043D\u043A\u0442\u044B \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430.`,shownOfTotal:(e,t)=>`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E ${$(e)} \u0438\u0437 ${$(t)}.`,shownOfAtLeast:(e,t)=>`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E ${$(e)} \u0438\u0437 ${$(t)}+.`,shownUnknown:e=>`\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E ${$(e)}.`,loadMore:e=>`\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0449\u0451 ${$(e)}`,loadMoreUnknown:`\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0449\u0451`,loading:`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443\u2026`,loadFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`,unsupported:{title:`\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442\u0441\u044F`,body:`\u041E\u0442\u0432\u0435\u0442 \u043F\u043E\u0438\u0441\u043A\u0430 \u043F\u0440\u0438\u0448\u0451\u043B \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u044D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0438 \u0441\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0432 \u0447\u0430\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`},collection:{collectionAria:e=>`\u041D\u0430\u0439\u0434\u0435\u043D\u043E: ${$(e)}`,roleCarousel:`\u043B\u0435\u043D\u0442\u0430 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432`,roleSlide:`\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442`,previous:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442`,next:`\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442`,goToSlide:`\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 {index} \u0438\u0437 {total}`}},jobStatus:ru,workflow:au,scenario:pu,coverage:eu,runInTab:ou,runStartAgent:lu,confirmation:uu,changeSet:Ql,projectMemory:Wl},Cu={byCode:{"agent_jobs.dispatch_key_spent":`\u042D\u0442\u043E \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E: \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435, \u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u043E\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u043B\u043E, \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u043E\u0441\u044C. \u041F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,"agent_jobs.not_active":`\u0417\u0430\u0434\u0430\u043D\u0438\u0435 \u0443\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u043E\u0441\u044C \u2014 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u043D\u0435\u0447\u0435\u0433\u043E.`,"agent_jobs.not_found":`\u0417\u0430\u0434\u0430\u043D\u0438\u0435 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E.`,"ai.bedrock_not_configured":`Amazon Bedrock \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D`,"ai.capabilities.unknown_provider":`\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440.`,"ai.chat_context_window_exceeded":`\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043F\u043E\u043C\u0435\u0449\u0430\u0435\u0442\u0441\u044F \u0432 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043E\u043A\u043D\u043E \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u043C\u043E\u0434\u0435\u043B\u0438. \u041E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043A\u043E\u0440\u043E\u0447\u0435, \u043E\u0442\u0441\u043A\u0430\u043D\u0438\u0440\u0443\u0439\u0442\u0435 \u043C\u0435\u043D\u044C\u0448\u0443\u044E \u0447\u0430\u0441\u0442\u044C \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0438\u043B\u0438 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043C\u043E\u0434\u0435\u043B\u044C \u0441 \u0431\u043E\u043B\u044C\u0448\u0438\u043C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u044B\u043C \u043E\u043A\u043D\u043E\u043C.`,"ai.company_not_found":`\u041A\u043E\u043C\u043F\u0430\u043D\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430.`,"ai.completion_failed":`\u041E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043A Progon`,"ai.concurrency_gate_unavailable":`Progon \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0438\u0437-\u0437\u0430 \u0441\u0431\u043E\u044F \u043D\u0430 \u043D\u0430\u0448\u0435\u0439 \u0441\u0442\u043E\u0440\u043E\u043D\u0435. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"ai.credit_charge_failed":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043F\u0438\u0441\u0430\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u044B \u0437\u0430 \u044D\u0442\u043E\u0442 \u0437\u0430\u043F\u0440\u043E\u0441. \u0415\u0441\u043B\u0438 \u0441\u0431\u043E\u0439 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0441\u044F, \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443.`,"ai.credit_estimate_invalid":`\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u0430\u044F \u043E\u0446\u0435\u043D\u043A\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432.`,"ai.credit_reservation_failed":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u044B.`,"ai.credit_reservation_not_found":`\u0420\u0435\u0437\u0435\u0440\u0432 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"ai.credit_reservation_not_open":`\u042D\u0442\u043E\u0442 \u0440\u0435\u0437\u0435\u0440\u0432 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432 \u0443\u0436\u0435 \u0437\u0430\u043A\u0440\u044B\u0442.`,"ai.credits_insufficient":`\u041D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432`,"ai.element_html_required":`HTML \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u0435\u043D`,"ai.frozen_model_lane_retired":`\u0417\u0430\u043C\u043E\u0440\u043E\u0436\u0435\u043D\u043E \u043D\u0430 \u043B\u0435\u0439\u043D\u0435 \u043C\u043E\u0434\u0435\u043B\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0430 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u0435\u0442. \u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0437\u0430\u043D\u043E\u0432\u043E \u043D\u0430 \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u043C\u043E\u0434\u0435\u043B\u0438.`,"ai.generation_failed":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 Progon`,"ai.messages_required":`\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B`,"ai.model_not_allowed":`\u042D\u0442\u0430 \u043C\u043E\u0434\u0435\u043B\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430`,"ai.model_not_configured":`\u0414\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0439 \u043C\u043E\u0434\u0435\u043B\u0438. \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043C\u043E\u0434\u0435\u043B\u044C \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u043A \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443.`,"ai.model_output_ceiling_below_thinking_budget":`\u041F\u043E\u0442\u043E\u043B\u043E\u043A \u043E\u0442\u0432\u0435\u0442\u0430 \u043C\u043E\u0434\u0435\u043B\u0438 \u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0435 \u043C\u0435\u043D\u044C\u0448\u0435 \u0431\u044E\u0434\u0436\u0435\u0442\u0430 \u0440\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0439 \u2014 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443 \u043D\u0443\u0436\u043D\u043E \u043F\u043E\u0434\u043D\u044F\u0442\u044C \u043F\u043E\u0442\u043E\u043B\u043E\u043A \u0438\u043B\u0438 \u0441\u043D\u0438\u0437\u0438\u0442\u044C \u0431\u044E\u0434\u0436\u0435\u0442.`,"ai.model_output_ceiling_missing":`\u0414\u043B\u044F \u044D\u0442\u043E\u0439 \u043C\u043E\u0434\u0435\u043B\u0438 \u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0435 \u043D\u0435 \u0437\u0430\u0434\u0430\u043D \u043F\u043E\u0442\u043E\u043B\u043E\u043A \u043E\u0442\u0432\u0435\u0442\u0430, \u0430 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0435\u0433\u043E. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u043A \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443.`,"ai.model_plan_restricted":`\u0412\u0430\u0448 \u0442\u0430\u0440\u0438\u0444 \u043D\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u044D\u0442\u0443 \u043C\u043E\u0434\u0435\u043B\u044C`,"ai.plan_restricted":`\u0412\u0430\u0448 \u0442\u0430\u0440\u0438\u0444 \u043D\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u044D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435`,"ai.provider_empty_response":`\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u0432\u0435\u0440\u043D\u0443\u043B \u043F\u0443\u0441\u0442\u043E\u0439 \u043E\u0442\u0432\u0435\u0442`,"ai.provider_error":`\u041E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430`,"ai.provider_not_configured":`\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D`,"ai.reasoning_unsupported":`\u041C\u043E\u0434\u0435\u043B\u044C \u043D\u0435 \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0440\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0435\u043C \u2014 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u00AB\u041E\u0431\u044B\u0447\u043D\u044B\u0439\u00BB \u0432 \u00AB\u0423\u0441\u0438\u043B\u0438\u0438\u00BB \u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,"ai.user_company_missing":`\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u043D\u0435 \u043F\u0440\u0438\u0432\u044F\u0437\u0430\u043D \u043A \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438`,"ai.user_concurrency_exceeded":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043E\u0434\u043D\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u2014 \u0434\u043E\u0436\u0434\u0438\u0442\u0435\u0441\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0445.`,"ai.user_credit_limit_reached":`\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043B\u0438\u043C\u0438\u0442 \u0418\u0418-\u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432 ({{usedCredits}}/{{effectiveLimit}}). \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u043A \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443.`,"ai.user_disabled":`Progon \u043E\u0442\u043A\u043B\u044E\u0447\u0451\u043D \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u043A \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443.`,"ai.user_model_not_allowed":`\u042D\u0442\u0430 \u043C\u043E\u0434\u0435\u043B\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430`,"ai.user_not_found":`\u0423\u0447\u0451\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430.`,"ai_models.no_sendable_model":`\u041D\u0435\u0442 \u043C\u043E\u0434\u0435\u043B\u0438, \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0439 \u0434\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u2014 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043C\u043E\u0434\u0435\u043B\u044C \u0432 \u0432\u0435\u0440\u0445\u043D\u0435\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0438\u043B\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043A\u043B\u044E\u0447 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445.`,"ai_models.selection_not_sendable":`\u042D\u0442\u0443 \u043C\u043E\u0434\u0435\u043B\u044C \u0441\u0435\u0439\u0447\u0430\u0441 \u043D\u0435\u043B\u044C\u0437\u044F \u0432\u044B\u0431\u0440\u0430\u0442\u044C.`,"ai_settings.admin_required":`\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430.`,"ai_settings.api_key_missing":`\u0421\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0439 API-\u043A\u043B\u044E\u0447 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"ai_settings.company_key_required":`\u0414\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0442\u0438\u0432\u043D\u044B\u0439 API-\u043A\u043B\u044E\u0447.`,"ai_settings.company_not_found":`\u041A\u043E\u043C\u043F\u0430\u043D\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430.`,"ai_settings.company_provider_required":`\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430.`,"ai_settings.enterprise_required_company":`\u041A\u043E\u0440\u043F\u043E\u0440\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u043A\u043B\u044E\u0447\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0435 Enterprise.`,"ai_settings.enterprise_required_personal":`\u041B\u0438\u0447\u043D\u044B\u0435 \u043A\u043B\u044E\u0447\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0435 Enterprise.`,"ai_settings.enterprise_required_user":`\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043A\u043B\u044E\u0447\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0435 Enterprise.`,"ai_settings.invalid_provider":`\u0412\u044B\u0431\u0440\u0430\u043D \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440.`,"ai_settings.model_unavailable":`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u043C\u043E\u0434\u0435\u043B\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0439 \u0443\u0447\u0451\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438.`,"ai_settings.personal_provider_required":`\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043B\u0438\u0447\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430.`,"ai_settings.plan_not_found":`\u0422\u0430\u0440\u0438\u0444 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"ai_settings.provider_required":`\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0443\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430.`,"ai_settings.provider_unavailable":`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.`,"ai_settings.unsupported_personal_provider":`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043B\u0438\u0447\u043D\u043E\u0433\u043E.`,"ai_settings.user_not_found":`\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"assistant.action_context_missing":`\u041D\u0435\u043B\u044C\u0437\u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C: \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u0434\u0438\u0430\u043B\u043E\u0433\u0430 \u043F\u043E\u0442\u0435\u0440\u044F\u043D. \u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u043D\u043E\u0432\u044B\u0439 \u0434\u0438\u0430\u043B\u043E\u0433 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443.`,"assistant.conversations.invalid_cursor":`\u041D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043A\u0443\u0440\u0441\u043E\u0440.`,"assistant.conversations.not_found":`\u0414\u0438\u0430\u043B\u043E\u0433 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"assistant.search_session.not_found":`\u041F\u043E\u0438\u0441\u043A\u043E\u0432\u0430\u044F \u0441\u0435\u0441\u0441\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430 \u0438\u043B\u0438 \u0438\u0441\u0442\u0435\u043A\u043B\u0430.`,"auth.company_forbidden":`\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043A \u044D\u0442\u043E\u0439 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438`,"auth.forbidden":`\u041D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u043F\u0440\u0430\u0432`,"auth.insufficient_scope":`\u0422\u0440\u0435\u0431\u0443\u0435\u043C\u044B\u0435 \u043F\u0440\u0430\u0432\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 (scope) \u043D\u0435 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u044B.`,"auth.invalid_token":`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0438\u043B\u0438 \u0438\u0441\u0442\u0435\u043A\u0448\u0438\u0439 \u0442\u043E\u043A\u0435\u043D`,"auth.login.company_inactive":`\u041A\u043E\u043C\u043F\u0430\u043D\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430 \u0438\u043B\u0438 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0430`,"auth.login.email_not_verified":`Email \u043D\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0451\u043D. \u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043D\u0430 \u043D\u0435\u0433\u043E \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434.`,"auth.login.email_rate_limited":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043F\u043E\u043F\u044B\u0442\u043E\u043A \u0432\u0445\u043E\u0434\u0430 \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E email. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"auth.login.invalid_credentials":`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 email \u0438\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C`,"auth.login.missing_credentials":`\u0412\u0432\u0435\u0434\u0438\u0442\u0435 email \u0438 \u043F\u0430\u0440\u043E\u043B\u044C`,"auth.login.rate_limited":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043F\u043E\u043F\u044B\u0442\u043E\u043A \u0432\u0445\u043E\u0434\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"auth.login.registration_expired":`\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u043D\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430. \u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0439\u0442\u0435\u0441\u044C \u0441\u043D\u043E\u0432\u0430.`,"auth.missing_header":`\u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\u043B\u0438 \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438`,"auth.refresh.token_required":`\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0442\u043E\u043A\u0435\u043D \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F.`,"auth.register.capacity_reached":`\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E \u0437\u0430\u043A\u0440\u044B\u0442\u0430 \u2014 \u043C\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u043C \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E \u043D\u043E\u0432\u044B\u0445 \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u043E\u0432. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435 \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443.`,"auth.register.capacity_unreadable":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044E \u0438\u0437-\u0437\u0430 \u043E\u0448\u0438\u0431\u043A\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437, \u0430 \u0435\u0441\u043B\u0438 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u0435\u0442\u0441\u044F, \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443.`,"auth.register.company_required":`\u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438.`,"auth.register.email_domain_blocked":`\u042D\u0442\u043E\u0442 \u043F\u043E\u0447\u0442\u043E\u0432\u044B\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043D\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438. \u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u043F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u044B\u0439 \u0440\u0430\u0431\u043E\u0447\u0438\u0439 \u0438\u043B\u0438 \u043B\u0438\u0447\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441.`,"auth.register.email_invalid":`\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 email.`,"auth.register.email_taken":`\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0441 \u0442\u0430\u043A\u0438\u043C email \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442`,"auth.register.invite_code_invalid":`\u041A\u043E\u0434 \u043F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043A\u043E\u0434 \u0438\u043B\u0438 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u043D\u043E\u0432\u044B\u0439.`,"auth.register.invite_required":`\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0441\u0435\u0439\u0447\u0430\u0441 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0442\u043E\u043B\u044C\u043A\u043E \u043F\u043E \u043F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u044E. \u041F\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043F\u043E \u0441\u0441\u044B\u043B\u043A\u0435 \u0438\u0437 \u043F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443.`,"auth.register.name_required":`\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u043C\u044F \u0438 \u0444\u0430\u043C\u0438\u043B\u0438\u044E.`,"auth.register.rate_limited":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043F\u043E\u043F\u044B\u0442\u043E\u043A \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"auth.required":`\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F`,"auth.resend.email_required":`\u0423\u043A\u0430\u0436\u0438\u0442\u0435 email.`,"auth.resend.rate_limited":`\u041F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 \u043F\u0435\u0440\u0435\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u044B\u043C \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u043C \u043A\u043E\u0434\u0430.`,"auth.session_invalidated":`\u0421\u0435\u0441\u0441\u0438\u044F \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u0430. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0434\u0438\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.`,"auth.session_required":`\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0441\u0441\u0438\u044E.`,"auth.token_expired":`\u0422\u043E\u043A\u0435\u043D \u0438\u0441\u0442\u0451\u043A. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0434\u0438\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.`,"auth.token_revoked":`\u0422\u043E\u043A\u0435\u043D \u043E\u0442\u043E\u0437\u0432\u0430\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0434\u0438\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.`,"auth.user_unavailable":`\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D \u0438\u043B\u0438 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D`,"auth.verify_email.invalid_code":`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F`,"auth.verify_email.rate_limited":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043F\u043E\u043F\u044B\u0442\u043E\u043A \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"auth.verify_email.required":`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0443\u0441\u0442\u0430\u0440\u0435\u043B\u0430. \u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044E \u0437\u0430\u043D\u043E\u0432\u043E.`,"auth.verify_email.too_many_attempts":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043F\u043E\u043F\u044B\u0442\u043E\u043A. \u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434`,"available_models.missing_disabled_selection_id":`\u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 ID \u043E\u0442\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u043E\u0439 \u0432\u044B\u0431\u043E\u0440\u043A\u0438.`,"available_models.redis_unavailable":`\u0421\u0435\u0440\u0432\u0438\u0441 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0441\u0442\u0438 \u043C\u043E\u0434\u0435\u043B\u0435\u0439 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.`,"available_models.unknown_key_source":`\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0439 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A API-\u043A\u043B\u044E\u0447\u0430.`,"chat_confirm.display_unresolvable":`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0441\u043E\u0441\u043B\u0430\u043B\u0441\u044F \u043D\u0430 \u043E\u0431\u044A\u0435\u043A\u0442, \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043D\u0435\u0442 \u0432 \u044D\u0442\u043E\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435. \u0423\u0442\u043E\u0447\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u0438\u043C\u0435\u043D\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C.`,"chat_confirm.pending_action_stale":`\u042D\u0442\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0443\u0441\u0442\u0430\u0440\u0435\u043B\u043E: \u043E\u043D\u043E \u0431\u044B\u043B\u043E \u0441\u0434\u0435\u043B\u0430\u043D\u043E \u0434\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430, \u0438 \u0435\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0443. \u041F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437 \u2014 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0441\u043E\u0441\u0442\u0430\u0432\u0438\u0442 \u043D\u043E\u0432\u043E\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435.`,"client.connection_lost_during_stream":`\u041E\u0442\u0432\u0435\u0442 \u043E\u0431\u043E\u0440\u0432\u0430\u043B\u0441\u044F.`,"client.workflow_host_action_failed":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u043E\u0439 \u0432 \u044D\u0442\u043E\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u041E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0440\u043E\u044F.`,"client.permission_mode_changed":`\u0420\u0435\u0436\u0438\u043C \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0439 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0438 \u0432 \u0434\u0440\u0443\u0433\u043E\u043C \u043E\u043A\u043D\u0435. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C \u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,"client.stream_stalled":`\u041E\u0442\u0432\u0435\u0442\u0430 \u043D\u0435\u0442 \u0431\u043E\u043B\u044C\u0448\u0435 \u043C\u0438\u043D\u0443\u0442\u044B. \u041F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u0430\u044F \u0447\u0430\u0441\u0442\u044C \u043E\u0442\u0432\u0435\u0442\u0430 \u043E\u0441\u0442\u0430\u043D\u0435\u0442\u0441\u044F \u0432\u044B\u0448\u0435.`,"cmd.accept_timeout":`\u0421\u0435\u0440\u0432\u0435\u0440 \u043D\u0435 \u0443\u0441\u043F\u0435\u043B \u043F\u0440\u0438\u043D\u044F\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435.`,"company_models.default_must_be_enabled":`\u041C\u043E\u0434\u0435\u043B\u044C \u0434\u043E\u043B\u0436\u043D\u0430 \u0431\u044B\u0442\u044C \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0430 \u0432 \u0441\u043F\u0438\u0441\u043E\u043A \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043D\u043D\u044B\u0445, \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u0435\u0451 \u043C\u043E\u0436\u043D\u043E \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.`,"company_models.invalid_model_id":`\u041C\u043E\u0434\u0435\u043B\u044C \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430.`,"company_models.plan_restricted":`\u042D\u0442\u0430 \u043C\u043E\u0434\u0435\u043B\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u0431\u043E\u043B\u0435\u0435 \u0432\u044B\u0441\u043E\u043A\u043E\u043C \u0442\u0430\u0440\u0438\u0444\u0435.`,"conversation.project_id_required":`\u0414\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0443\u043A\u0430\u0437\u0430\u0442\u044C ID \u043F\u0440\u043E\u0435\u043A\u0442\u0430.`,disconnected:`\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043F\u043E\u0442\u0435\u0440\u044F\u043D\u043E.`,"internal.invalid_token":`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u043E\u043A\u0435\u043D \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430.`,"internal.not_configured":`\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0439 API \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D.`,"internal.operation_failed":`\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u044F\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439.`,"internal.unexpected":`\u041D\u0435\u043F\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043D\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430`,model_not_allowed:`\u042D\u0442\u0430 \u043C\u043E\u0434\u0435\u043B\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u043D\u0430 \u0432\u0430\u0448\u0435\u043C \u0442\u0430\u0440\u0438\u0444\u0435 \u2014 \u0432\u044B\u0431\u0440\u0430\u043D\u0430 \u043C\u043E\u0434\u0435\u043B\u044C \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.`,"rate_limit.company_write_exceeded":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"rate_limit.counter_upsert_failed":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0447\u0451\u0442\u0447\u0438\u043A \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0439.`,"rate_limit.counter_upsert_invalid_count":`\u0421\u0447\u0451\u0442\u0447\u0438\u043A \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0439 \u0432\u0435\u0440\u043D\u0443\u043B \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.`,"rate_limit.exceeded":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,reconnect_failed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u0435\u0442\u044C.`,reconnect_timeout:`\u0412\u0440\u0435\u043C\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0438\u0441\u0442\u0435\u043A\u043B\u043E. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u0435\u0442\u044C.`,selection_expired:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435.`,"subscription.admin_api_error":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443 \u0432 \u0434\u0430\u043D\u043D\u044B\u0439 \u043C\u043E\u043C\u0435\u043D\u0442.`,"subscription.admin_api_not_configured":`\u0421\u0435\u0440\u0432\u0438\u0441 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0437\u0430\u044F\u0432\u043E\u043A \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D.`,"subscription.admin_api_unavailable":`\u0421\u0435\u0440\u0432\u0438\u0441 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0437\u0430\u044F\u0432\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"subscription.admin_required":`\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430.`,"subscription.company_not_found":`\u041A\u043E\u043C\u043F\u0430\u043D\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430.`,"subscription.credits_maximum":`\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u043A\u0443\u043F\u043A\u0430 \u2014 100 000 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432.`,"subscription.credits_minimum":`\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u043A\u0443\u043F\u043A\u0430 \u2014 100 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432.`,"subscription.invalid_plan":`\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439 \u0442\u0430\u0440\u0438\u0444\u043D\u044B\u0439 \u043F\u043B\u0430\u043D.`,"subscription.payments_disabled":`\u041E\u043F\u043B\u0430\u0442\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0443 \u0437\u0430\u044F\u0432\u043A\u0438 \u043D\u0430 \u0430\u043F\u0433\u0440\u0435\u0439\u0434.`,"subscription.plan_config_missing":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044E \u0442\u0430\u0440\u0438\u0444\u043D\u043E\u0433\u043E \u043F\u043B\u0430\u043D\u0430, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443.`,"subscription.plan_not_found":`\u0422\u0430\u0440\u0438\u0444\u043D\u044B\u0439 \u043F\u043B\u0430\u043D \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"subscription.request_already_open":`\u0423 \u0432\u0430\u0448\u0435\u0439 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0443\u0436\u0435 \u0435\u0441\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0430 \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0438. \u0414\u043E\u0436\u0434\u0438\u0442\u0435\u0441\u044C \u0435\u0451 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438, \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u043E\u0432\u0443\u044E.`,"subscription.seats_exceed_limit":`\u041D\u0435\u043B\u044C\u0437\u044F \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043C\u0435\u0441\u0442\u0430: \u043F\u0440\u0435\u0432\u044B\u0448\u0435\u043D \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C, \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439 \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u0442\u0430\u0440\u0438\u0444\u0430.`,"subscription.seats_invalid":`\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442. \u0414\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043E\u0442 1 \u0434\u043E 100.`,"subscription.seats_unlimited":`\u0412\u0430\u0448 \u0442\u0430\u0440\u0438\u0444 \u0443\u0436\u0435 \u0432\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u043D\u0435\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442.`,"ws.conversation_not_found":`\u0414\u0438\u0430\u043B\u043E\u0433 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"ws.rate_limit_company":`\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043B\u0438\u043C\u0438\u0442 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0439 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"ws.rate_limit_fleet":`\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043B\u0438\u043C\u0438\u0442 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"ws.rate_limit_user":`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0439. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.`,"ws.run_not_found":`\u0417\u0430\u043F\u0443\u0441\u043A Progon \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"ws.runner_already_claimed":`\u0418\u0441\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C \u0443\u0436\u0435 \u0437\u0430\u043D\u044F\u0442 \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430.`,"ws.runner_not_owner":`\u041F\u0440\u0430\u0432\u043E \u0438\u0441\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044F \u0443\u0442\u0435\u0440\u044F\u043D\u043E. \u041F\u0435\u0440\u0435\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u0441\u044C.`,"ws.runner_restore_unavailable":`\u041D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0439 \u0441\u0435\u0441\u0441\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044F \u0434\u043B\u044F \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F.`,"ws.runner_restore_window_expired":`\u041E\u043A\u043D\u043E \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044F \u0438\u0441\u0442\u0435\u043A\u043B\u043E.`,"ws.session_not_found":`\u0421\u0435\u0441\u0441\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430.`,"ws.unauthorized_channel":`\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0438\u043B\u0438 \u0440\u0435\u0441\u0443\u0440\u0441 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"workflows.not_found":`\u0420\u043E\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.`,"workflows.not_initiator_or_admin":`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u043E\u0439 \u043C\u043E\u0436\u0435\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u0442\u043E\u0442, \u043A\u0442\u043E \u0435\u0433\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u043B, \u0438\u043B\u0438 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438.`},byProviderCode:{"ai.zai.insufficient_balance":`Z.AI \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u043B \u0437\u0430\u043F\u0440\u043E\u0441 \u2014 \u043D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u043D\u0430 \u0441\u0447\u0451\u0442\u0435 \u043B\u0438\u0431\u043E \u043A\u043B\u044E\u0447 \u0438 \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043D\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u044E\u0442. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0431\u0430\u043B\u0430\u043D\u0441 \u0438 \u043A\u043B\u044E\u0447 Z.AI.`,"ai.zai.rate_limited":`Z.AI \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0447\u0430\u0441\u0442\u043E\u0442\u0443 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432. \u041F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 \u043D\u0435\u043C\u043D\u043E\u0433\u043E.`,"ai.zai.overloaded":`\u0421\u0435\u0440\u0432\u0438\u0441 Z.AI \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043D. \u041F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 \u043D\u0435\u043C\u043D\u043E\u0433\u043E.`,"ai.zai.quota_exhausted":`\u041A\u0432\u043E\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F Z.AI \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D\u0430. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043B\u0438\u043C\u0438\u0442\u044B \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430 Z.AI.`,"ai.zai.plan_restricted":`\u042D\u0442\u043E\u0442 \u043A\u043B\u044E\u0447 Z.AI \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0439 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u043E\u0439 \u0438\u043B\u0438 \u043F\u043B\u0430\u043D\u043E\u043C. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0432\u0430\u0448 \u043F\u043B\u0430\u043D Z.AI.`,"ai.zai.content_policy":`Z.AI \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u043B \u0437\u0430\u043F\u0440\u043E\u0441 \u0438\u0437-\u0437\u0430 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0438 \u0432 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430.`,"ai.zai.unknown_model":`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u043C\u043E\u0434\u0435\u043B\u044C Z.AI \u043D\u0435 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u0430. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E \u043C\u043E\u0434\u0435\u043B\u044C GLM.`,"ai.zai.auth_failed":`\u041D\u0435 \u0443\u0434\u0430\u043B\u0430\u0441\u044C \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0432 Z.AI. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435, \u0447\u0442\u043E API-\u043A\u043B\u044E\u0447 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D \u0438 \u0430\u043A\u0442\u0438\u0432\u0435\u043D.`,"ai.zai.invalid_request":`Z.AI \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u043B \u0437\u0430\u043F\u0440\u043E\u0441 \u043A\u0430\u043A \u043D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0432\u0432\u043E\u0434.`,"ai.zai.context_overflow":`\u0414\u0438\u0430\u043B\u043E\u0433 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u044B\u0439 \u0434\u043B\u044F \u044D\u0442\u043E\u0439 \u043C\u043E\u0434\u0435\u043B\u0438 Z.AI. \u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u043D\u043E\u0432\u044B\u0439 \u0434\u0438\u0430\u043B\u043E\u0433 \u0438\u043B\u0438 \u0441\u043E\u043A\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u0432\u043E\u0434.`,"ai.zai.vision_not_supported":`\u042D\u0442\u0430 \u043C\u043E\u0434\u0435\u043B\u044C Z.AI \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F. \u0423\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043C\u043E\u0434\u0435\u043B\u044C \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0439.`,"ai.zai.abnormal_termination":`\u041E\u0442\u0432\u0435\u0442 Z.AI \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0441\u044F \u043D\u0435\u0448\u0442\u0430\u0442\u043D\u043E.`,"ai.zai.provider_error":`Z.AI \u0432\u0435\u0440\u043D\u0443\u043B \u043E\u0448\u0438\u0431\u043A\u0443.`}},wu=Object.fromEntries(ln.map(e=>[e,cn[e].reason])),Tu=e=>J(e,{one:`\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435`,few:`\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F`,many:`\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439`}),Eu={ru:{cards:Su,shell:{decisions:{reasons:wu,alwaysAsk:`\u0421\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043C \u0432 \u043B\u044E\u0431\u043E\u043C \u0440\u0435\u0436\u0438\u043C\u0435`,reversibleParts:`\u0411\u0435\u0437 \u0432\u043E\u043F\u0440\u043E\u0441\u0430, \u0441 \u00AB\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\u00BB \u043D\u0430 24 \u0447\u0430\u0441\u0430`,reversiblePartsHint:`\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u0442\u043E\u0433\u043E, \u0447\u0442\u043E \u0432\u043D\u0443\u0442\u0440\u0438 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438: \u0448\u0430\u0433\u0430, \u043F\u0443\u043D\u043A\u0442\u0430 \u0447\u0435\u043A-\u043B\u0438\u0441\u0442\u0430, \u043E\u0436\u0438\u0434\u0430\u0435\u043C\u043E\u0433\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430, \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F, \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F`,appliedAtOnce:e=>`\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E \u0441\u0440\u0430\u0437\u0443 \u00B7 ${e} ${J(e,{one:`\u043F\u0440\u0430\u0432\u043A\u0430`,few:`\u043F\u0440\u0430\u0432\u043A\u0438`,many:`\u043F\u0440\u0430\u0432\u043E\u043A`})}`,review:`\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430`,confirmAndBypass:`\u0414\u0430, \u0438 \u0434\u0430\u043B\u044C\u0448\u0435 \u0431\u0435\u0437 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0439`,yesApply:`\u0414\u0430, \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C`,yesDelete:`\u0414\u0430, \u0443\u0434\u0430\u043B\u0438\u0442\u044C`,yesApplyCount:e=>`\u0414\u0430, \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C ${e}`,yesDeleteCount:e=>`\u0414\u0430, \u0443\u0434\u0430\u043B\u0438\u0442\u044C ${e}`,more:e=>`\u0435\u0449\u0451 ${e}`,noAnswer:`\u041D\u0435\u0442 \u043E\u0442\u0432\u0435\u0442\u0430`,answer:`\u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C`,skipped:`\u041F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043E`,previous:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u0432\u043E\u043F\u0440\u043E\u0441`,next:`\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0432\u043E\u043F\u0440\u043E\u0441`,position:(e,t)=>`${e} \u0438\u0437 ${t}`},header:{title:`Progon`,newConversation:`\u041D\u043E\u0432\u0430\u044F \u0431\u0435\u0441\u0435\u0434\u0430`,noProject:`\u041F\u0440\u043E\u0435\u043A\u0442 \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D`,capsuleLabel:e=>`\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0431\u0435\u0441\u0435\u0434. \u041E\u0442\u043A\u0440\u044B\u0442\u0430: ${e}`,newConversationTitle:`\u041D\u043E\u0432\u0430\u044F \u0431\u0435\u0441\u0435\u0434\u0430`,titleReading:`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C \u0431\u0435\u0441\u0435\u0434\u0443`,titleUnknown:`\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E`,reportMark:`\u041E\u0442\u0447\u0451\u0442`,historyNoProject:`\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0440\u043E\u0435\u043A\u0442`},composer:{inputLabel:`\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0443`,placeholder:`\u0421\u043F\u0440\u043E\u0441\u0438\u0442\u0435 Progon\u2026`,placeholderNoModels:`\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044F \u0441\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439`,placeholderSignIn:`\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u043E\u0439\u0434\u0438\u0442\u0435 \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0438`,placeholderNoProject:`\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0440\u043E\u0435\u043A\u0442`,placeholderOffline:`\u041D\u0435\u0442 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u2014 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430`,send:`\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C`,rejectAndSend:`\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C \u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C`,rejects:e=>`\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442: ${e}`,detachRejection:`\u041D\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435`,refusalFilesStay:`\u041F\u0440\u0438\u043A\u0440\u0435\u043F\u043B\u0451\u043D\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B \u043E\u0441\u0442\u0430\u043D\u0443\u0442\u0441\u044F \u0432 \u043F\u043E\u043B\u0435`,stop:`\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0442\u0432\u0435\u0442`,placeholderWithFiles:`\u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435, \u0447\u0442\u043E \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0441 \u0444\u0430\u0439\u043B\u0430\u043C\u0438\u2026`,sendBlocked:{uploading:`\u0414\u043E\u0436\u0434\u0438\u0442\u0435\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 \u0444\u0430\u0439\u043B\u043E\u0432`,refused:`\u0423\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C`,noText:`\u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043A \u0444\u0430\u0439\u043B\u0430\u043C`},settingsLabel:`\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043E\u0442\u0432\u0435\u0442\u0430`,pageContext:{tip:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0432\u0438\u0434\u0438\u0442 \u044D\u0442\u0443 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443`},effort:{name:`\u0423\u0441\u0438\u043B\u0438\u0435`,note:`\u041E\u0442\u0432\u0435\u0442\u044B \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430 \u0438 \u0435\u0433\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0438`,levels:{normal:`\u041E\u0431\u044B\u0447\u043D\u044B\u0439`,thinking:`\u0420\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0435`,max:`\u041C\u0430\u043A\u0441\u0438\u043C\u0443\u043C`},rows:{normal:`\u041E\u0431\u044B\u0447\u043D\u0430\u044F \u0433\u043B\u0443\u0431\u0438\u043D\u0430 \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u044F`,thinking:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0438 \u0430\u0433\u0435\u043D\u0442 \u0434\u0443\u043C\u0430\u044E\u0442 \u0433\u043B\u0443\u0431\u0436\u0435`,max:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0438 \u0430\u0433\u0435\u043D\u0442 \u0434\u0443\u043C\u0430\u044E\u0442 \u0433\u043B\u0443\u0431\u0436\u0435, \u043A\u0430\u043A \u00AB\u0420\u0430\u0437\u043C\u044B\u0448\u043B\u0435\u043D\u0438\u0435\u00BB`},footer:`\u0414\u0435\u0440\u0436\u0438\u0442\u0441\u044F \u0434\u043E \u043A\u043E\u043D\u0446\u0430 \u0431\u0435\u0441\u0435\u0434\u044B. \u041D\u043E\u0432\u0430\u044F \u0431\u0435\u0441\u0435\u0434\u0430 \u043D\u0430\u0447\u043D\u0451\u0442\u0441\u044F \u0441 \u00AB\u041E\u0431\u044B\u0447\u043D\u044B\u0439\u00BB.`,chipLabel:e=>`\u0423\u0441\u0438\u043B\u0438\u0435: ${e}`},permission:{groupLabel:`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439`,menuNote:`\u0414\u043B\u044F \u044D\u0442\u043E\u0439 \u0431\u0435\u0441\u0435\u0434\u044B`,chipLabel:e=>`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F: ${e}`,ask:`\u0421\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044C`,bypass:`\u0411\u0435\u0437 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0439`,askHint:`\u0417\u0430\u043F\u0443\u0441\u043A\u0438 \u0438 \u043D\u0435\u043E\u0431\u0440\u0430\u0442\u0438\u043C\u044B\u0435 \u043F\u0440\u0430\u0432\u043A\u0438 \u0436\u0434\u0443\u0442 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F.`,bypassHint:`\u041F\u0440\u0430\u0432\u043A\u0438 \u0438 \u0437\u0430\u043F\u0443\u0441\u043A\u0438 \u0438\u0434\u0443\u0442 \u0441\u0440\u0430\u0437\u0443, \u0438\u0442\u043E\u0433 \u2014 \u0432 \u043B\u0435\u043D\u0442\u0435.`,arrived:e=>`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F: ${e}`},place:{name:`\u0413\u0434\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C`,note:`\u0414\u043B\u044F \u0432\u0441\u0435\u0445 \u0437\u0430\u043F\u0443\u0441\u043A\u043E\u0432 \u0438\u0437 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F`,title:`\u0413\u0434\u0435 \u0418\u0418 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435: \u044D\u0442\u043E\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440, \u0440\u0430\u043D\u043D\u0435\u0440 \u0438\u043B\u0438 \u0431\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430`,chipLabel:e=>`\u0413\u0434\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C: ${e}`,thisBrowser:`\u042D\u0442\u043E\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440`,thisBrowserRowOpensWindows:`\u041E\u043A\u043D\u0430 \u043E\u0442\u043A\u0440\u043E\u044E\u0442\u0441\u044F \u0432 \u0444\u043E\u043D\u0435 \u044D\u0442\u043E\u0433\u043E Chrome`,thisBrowserRowTasksOnly:`\u0412 \u0432\u0435\u0431-\u0447\u0430\u0442\u0435 \u2014 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u0434\u0430\u043D\u0438\u044F; \u043F\u0440\u043E\u0433\u043E\u043D \u0438 \u043E\u0431\u0445\u043E\u0434 \u2014 \u0441 \u0440\u0430\u043D\u043D\u0435\u0440\u0430 \u0438\u043B\u0438 \u0438\u0437 \u0431\u043E\u043A\u043E\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438`,none:`\u0411\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430`,noneRow:`\u0422\u043E\u043B\u044C\u043A\u043E API-\u0437\u0430\u043F\u0440\u043E\u0441\u044B \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043D\u044B\u0435 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438`,runner:e=>`\u0420\u0430\u043D\u043D\u0435\u0440 ${e}`,runnerUnread:`\u0420\u0430\u043D\u043D\u0435\u0440`,runnerGone:`\u0420\u0430\u043D\u043D\u0435\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,runnerGoneHint:`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0430\u043D\u043D\u0435\u0440 \u0443\u0434\u0430\u043B\u0451\u043D \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435 \u0432\u0430\u043C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u0433\u0434\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C.`,runnerFree:`\u0421\u0432\u043E\u0431\u043E\u0434\u0435\u043D`,runnerBusy:`\u0417\u0430\u043D\u044F\u0442 \u2014 \u0437\u0430\u043F\u0443\u0441\u043A \u0432\u0441\u0442\u0430\u043D\u0435\u0442 \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C`,runnerBlocked:{notOwner:`\u0417\u0430\u043F\u0443\u0441\u043A \u0442\u043E\u043B\u044C\u043A\u043E \u0443 \u0432\u043B\u0430\u0434\u0435\u043B\u044C\u0446\u0430`,notEnrolled:`\u0415\u0449\u0451 \u043D\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D`,offline:`\u041E\u0444\u043B\u0430\u0439\u043D`},pick:`\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u0433\u0434\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C`,fleetLoading:`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C \u0440\u0430\u043D\u043D\u0435\u0440\u044B\u2026`,fleetFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0440\u0430\u043D\u043D\u0435\u0440\u044B`,fleetEmpty:`\u0412 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u043D\u0435\u0442 \u0440\u0430\u043D\u043D\u0435\u0440\u043E\u0432`,othersGroup:e=>`\u0427\u0443\u0436\u0438\u0435 \u0440\u0430\u043D\u043D\u0435\u0440\u044B (${e})`},hint:`Enter \u2014 \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C, Shift+Enter \u2014 \u043D\u043E\u0432\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430`,plainHint:`Enter \u2014 \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C`,attachments:{attach:`\u041F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u044C \u0444\u0430\u0439\u043B`,trayLabel:`\u0424\u0430\u0439\u043B\u044B \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F`,remove:e=>`\u0423\u0431\u0440\u0430\u0442\u044C \u0444\u0430\u0439\u043B \u00AB${e}\u00BB`,uploading:e=>`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F ${e}%`,uploadingLabel:e=>`\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 ${e}`,pastedName:e=>`\u0421\u043D\u0438\u043C\u043E\u043A \u044D\u043A\u0440\u0430\u043D\u0430 ${e}`,drop:{title:`\u041E\u0442\u043F\u0443\u0441\u0442\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u044C`,types:un,sizes:`\u0424\u0430\u0439\u043B \u0434\u043E 50 \u041C\u0411, \u0442\u0435\u043A\u0441\u0442 \u0434\u043E 4 \u041C\u0411`},retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`,reupload:`\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043D\u043E\u0432\u0430`,pickModel:`\u0432\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E`,refusal:{type:`\u0422\u0430\u043A\u043E\u0439 \u0444\u0430\u0439\u043B \u043F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u044C \u043D\u0435\u043B\u044C\u0437\u044F: \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442\u0441\u044F ${un}`,tooLarge:e=>`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0444\u0430\u0439\u043B: ${e}`,limit:{file:`\u0444\u0430\u0439\u043B \u2014 \u0434\u043E 50 \u041C\u0411`,text:`\u0442\u0435\u043A\u0441\u0442 \u2014 \u0434\u043E 4 \u041C\u0411`},fileName:`\u0418\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u0434\u043B\u0438\u043D\u043D\u0435\u0435 255 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u2014 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043B \u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u0435 \u0441\u043D\u043E\u0432\u0430`,empty:`\u0424\u0430\u0439\u043B \u043F\u0443\u0441\u0442\u043E\u0439`,textNotUtf8:`\u0422\u0435\u043A\u0441\u0442 \u043D\u0435 \u0432 UTF-8 \u2014 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0432 UTF-8 \u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u0435 \u0441\u043D\u043E\u0432\u0430`,unreadable:`\u0424\u0430\u0439\u043B \u043D\u0435 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044F \u2014 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043E\u043D \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0451\u043D`,contentMismatch:e=>`\u0421\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u043D\u0435 \u043F\u043E\u0445\u043E\u0436\u0435 \u043D\u0430 ${e} \u2014 \u043F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u0435 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u0444\u0430\u0439\u043B`,pdfEncrypted:`PDF \u0437\u0430\u0449\u0438\u0449\u0451\u043D \u043F\u0430\u0440\u043E\u043B\u0435\u043C \u2014 \u0441\u043D\u0438\u043C\u0438\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u044C \u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0438\u0442\u0435 \u0441\u043D\u043E\u0432\u0430`,server:`\u0421\u0435\u0440\u0432\u0435\u0440 \u043D\u0435 \u043F\u0440\u0438\u043D\u044F\u043B \u0444\u0430\u0439\u043B`,failedNetwork:`\u041D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u043E\u0441\u044C: \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0440\u0432\u0430\u043B\u043E\u0441\u044C`,failedServer:`\u041D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u043E\u0441\u044C: \u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0435 \u043E\u0442\u0432\u0435\u0442\u0438\u043B`,expired:`\u041D\u0435\u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0439 \u0444\u0430\u0439\u043B \u0445\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u0441\u0443\u0442\u043A\u0438 \u2014 \u044D\u0442\u043E\u0442 \u0443\u0436\u0435 \u0443\u0434\u0430\u043B\u0451\u043D`,modelNoFiles:e=>`\u041C\u043E\u0434\u0435\u043B\u044C ${e} \u043D\u0435 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442 \u0444\u0430\u0439\u043B\u044B \u2014 `,modelNoType:(e,t)=>`\u041C\u043E\u0434\u0435\u043B\u044C ${e} \u043D\u0435 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442 ${t} \u2014 `,modelFact:(e,t)=>`\u041C\u043E\u0434\u0435\u043B\u044C ${e} \u043D\u0435 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442 \u044D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B: ${t} \u2014 `},announce:{uploaded:e=>`\u0424\u0430\u0439\u043B \u00AB${e}\u00BB \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D`,refused:(e,t)=>`\u0424\u0430\u0439\u043B \u00AB${e}\u00BB \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C: ${t}`}}},transcript:{copyAnswer:{label:`\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0442\u0432\u0435\u0442`,done:`\u041E\u0442\u0432\u0435\u0442 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D`,failed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0442\u0432\u0435\u0442`},activity:{done:e=>`\u0423\u0441\u043F\u0435\u0448\u043D\u044B\u0445 \u0432\u044B\u0437\u043E\u0432\u043E\u0432 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432: ${e}`,summary:(e,t,n,r)=>`\u0412\u044B\u0437\u043E\u0432\u044B \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u2014 \u0443\u0441\u043F\u0435\u0448\u043D\u043E: ${e}`+(t>0?`, \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439: ${t}`:``)+(n>0?`, \u0438\u0441\u0445\u043E\u0434 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043D: ${n}`:``)+(r>0?`, \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E: ${r}`:``),doneShort:e=>`\u0443\u0441\u043F\u0435\u0448\u043D\u044B\u0445 \u0432\u044B\u0437\u043E\u0432\u043E\u0432: ${e}`,failedShort:e=>`\u0432\u044B\u0437\u043E\u0432\u043E\u0432 \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439: ${e}`,unknownShort:e=>`\u0432\u044B\u0437\u043E\u0432\u043E\u0432 \u0441 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u043C \u0438\u0441\u0445\u043E\u0434\u043E\u043C: ${e}`,stoppedShort:e=>`\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u0432\u044B\u0437\u043E\u0432\u043E\u0432: ${e}`,running:e=>`\u0412\u044B\u0437\u043E\u0432 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430: ${e}`,failed:`\u0432\u044B\u0437\u043E\u0432 \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439`,unknown:`\u0438\u0441\u0445\u043E\u0434 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043D`,stopped:`\u0432\u044B\u0437\u043E\u0432 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D`},feedLabel:`\u041B\u0435\u043D\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0430`,scrollToBottom:`\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u0432\u043D\u0438\u0437`,olderHistory:{loading:`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u044E \u0440\u0430\u043D\u043D\u0438\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u2026`,failed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0440\u0430\u043D\u043D\u0438\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`},leadByline:`\u0410\u0433\u0435\u043D\u0442 \u0440\u043E\u044F`,taskLeadByline:`\u0410\u0433\u0435\u043D\u0442`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`,thinking:`\u0414\u0443\u043C\u0430\u044E\u2026`,thoughtFor:e=>`\u0414\u0443\u043C\u0430\u043B ${e} \u0441`,thinkingPhase:`\u0414\u0443\u043C\u0430\u044E\u2026`,providerWait:(e,t,n)=>`\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u043C\u043E\u0434\u0435\u043B\u0438 \u043E\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043E\u0448\u0438\u0431\u043A\u043E\u0439, \u043F\u043E\u0432\u0442\u043E\u0440 ${e}/${t}. \u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u0432 ${n}.`,agentsWorking:`\u0420\u0430\u0431\u043E\u0442\u0430\u044E\u0442 \u0430\u0433\u0435\u043D\u0442\u044B`,toolCall:`\u0412\u044B\u0437\u043E\u0432 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430`,toolCallCancelled:`\u0412\u044B\u0437\u043E\u0432 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u043E\u0442\u043C\u0435\u043D\u0451\u043D`,toolCallStatus:{confirmed:`\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E`,waitingForBrowser:`\u041E\u0436\u0438\u0434\u0430\u0435\u043C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435`,stoppingBrowser:`\u041E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435\u2026`,failed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435`,rejected:`\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E`,rejectedLeadGrant:`\u041D\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043E \u2014 \u043F\u043E\u0439\u0434\u0451\u0442 \u0432 \u043E\u0442\u0447\u0451\u0442 \u00B7 \u0432\u044B`,closedLeadGrant:`\u0417\u0430\u043A\u0440\u044B\u0442\u043E: \u0437\u0430\u043F\u0443\u0441\u043A \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D`,unknown:`\u0418\u0441\u0445\u043E\u0434 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043D`,stopped:`\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E`,launchedElsewhere:`\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u0432 \u043D\u043E\u0432\u043E\u0439 \u0431\u0435\u0441\u0435\u0434\u0435`,openConversation:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0431\u0435\u0441\u0435\u0434\u0443`},unknownTool:{title:`\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F`,body:`\u042D\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044F \u043D\u0435 \u0443\u043C\u0435\u0435\u0442 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u044D\u0442\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435.`},stopFailed:{rejected:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0442\u0432\u0435\u0442 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0435 \u043F\u0440\u0438\u043D\u044F\u043B \u043A\u043E\u043C\u0430\u043D\u0434\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,ack_timeout:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0442\u0432\u0435\u0442 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0435 \u043E\u0442\u0432\u0435\u0442\u0438\u043B. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,not_open:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0442\u0432\u0435\u0442 \u2014 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0435\u0449\u0451 \u043D\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u043E. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,connection_closed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0442\u0432\u0435\u0442 \u2014 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0440\u0432\u0430\u043B\u043E\u0441\u044C. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`},details:`\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438`,cardsFailed:{title:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0438 \u044D\u0442\u043E\u0433\u043E \u043E\u0442\u0432\u0435\u0442\u0430`,text:`\u0422\u0435\u043A\u0441\u0442 \u043E\u0442\u0432\u0435\u0442\u0430 \u0432\u044B\u0448\u0435 \u043D\u0435 \u043F\u043E\u0441\u0442\u0440\u0430\u0434\u0430\u043B.`}},empty:{heading:`\u0427\u0435\u043C \u043C\u043E\u0433\u0443 \u043F\u043E\u043C\u043E\u0447\u044C?`,subtext:`\u0421\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u043E \u0442\u0435\u0441\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u0438\u043B\u0438 \u043F\u043E\u0440\u0443\u0447\u0438\u0442\u0435 \u0437\u0430\u0434\u0430\u043D\u0438\u0435`,tasksLabel:`\u0417\u0430\u0434\u0430\u043D\u0438\u044F`,reportHeading:`\u0421\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u043F\u0440\u043E \u044D\u0442\u043E\u0442 \u043E\u0442\u0447\u0451\u0442`,promptsLabel:`\u0412\u043E\u043F\u0440\u043E\u0441\u044B \u043A \u043E\u0442\u0447\u0451\u0442\u0443`,loadFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0431\u0435\u0441\u0435\u0434\u0443`},errors:{classes:{rateLimit:{title:`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432`,hint:`\u041F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435 \u043D\u0435\u043C\u043D\u043E\u0433\u043E`},credits:{title:`\u041B\u0438\u043C\u0438\u0442 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D`,hint:`\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0442\u0430\u0440\u0438\u0444 \u0438\u043B\u0438 \u043B\u0438\u043C\u0438\u0442\u044B \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445`},auth:{title:`\u041E\u0448\u0438\u0431\u043A\u0430 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430`,hint:`\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 API-\u043A\u043B\u044E\u0447 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445`},connection:{title:`\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,hint:`\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438`},stalled:{title:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u043F\u0435\u0440\u0435\u0441\u0442\u0430\u043B \u043E\u0442\u0432\u0435\u0447\u0430\u0442\u044C`,hint:null},streamCut:{title:`\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043F\u043E\u0442\u0435\u0440\u044F\u043D\u043E`,hint:null},generic:{title:`\u041E\u0448\u0438\u0431\u043A\u0430 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430 Progon`,hint:null}}},notices:{dismiss:`\u0421\u043A\u0440\u044B\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435`,capabilities:{title:`\u0421\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,sendBlocked:`\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430, \u043F\u043E\u043A\u0430 \u0441\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439 \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044F \u0441\u043D\u043E\u0432\u0430.`,timedOut:`\u0421\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439 \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043B\u0441\u044F \u0437\u0430 \u043E\u0442\u0432\u0435\u0434\u0451\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.`,loadFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439.`,retry:`\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439`},permissionReadFailed:{title:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0439`,text:`\u0411\u0435\u0437 \u043D\u0435\u0433\u043E \u043D\u043E\u0432\u0443\u044E \u0431\u0435\u0441\u0435\u0434\u0443 \u043D\u0435 \u043D\u0430\u0447\u0430\u0442\u044C.`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`},permissionWriteFailed:{title:e=>`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u00AB${e}\u00BB`,textConversation:e=>`\u0411\u0435\u0441\u0435\u0434\u0430 \u043E\u0441\u0442\u0430\u043B\u0430\u0441\u044C \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u00AB${e}\u00BB.`,textNewConversation:e=>`\u041D\u043E\u0432\u0430\u044F \u0431\u0435\u0441\u0435\u0434\u0430 \u043D\u0430\u0447\u043D\u0451\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u00AB${e}\u00BB.`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`},unsent:{title:e=>`\u041D\u0435 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E: ${e} ${Tu(e)}`,textWaiting:`\u0421\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439 \u043D\u0435 \u0447\u0438\u0442\u0430\u043B\u0441\u044F, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0441\u0442\u0430\u043B\u0438\u0441\u044C \u0437\u0434\u0435\u0441\u044C. \u041E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u0438\u0445, \u043A\u043E\u0433\u0434\u0430 \u0441\u043F\u0438\u0441\u043E\u043A \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044F.`,textReady:`\u0421\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439 \u043D\u0435 \u0447\u0438\u0442\u0430\u043B\u0441\u044F, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0441\u0442\u0430\u043B\u0438\u0441\u044C \u0437\u0434\u0435\u0441\u044C. \u0421\u043F\u0438\u0441\u043E\u043A \u0441\u043D\u043E\u0432\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D \u2014 \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u0438\u0445 \u0438\u043B\u0438 \u0443\u0434\u0430\u043B\u0438\u0442\u0435.`,textFailed:`\u042D\u0442\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043D\u0435 \u0434\u043E\u0448\u043B\u0438 \u0434\u043E \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430. \u041E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u0438\u0445 \u0441\u043D\u043E\u0432\u0430 \u0438\u043B\u0438 \u0443\u0434\u0430\u043B\u0438\u0442\u0435.`,textReconnect:`\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0443\u0439\u0434\u0443\u0442 \u0441\u0430\u043C\u0438, \u043A\u043E\u0433\u0434\u0430 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0432\u0435\u0440\u043D\u0451\u0442\u0441\u044F.`,listLabel:`\u041D\u0435\u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F`,send:e=>`\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C: ${e}`,discard:e=>`\u0423\u0434\u0430\u043B\u0438\u0442\u044C: ${e}`,sendShort:`\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C`,discardShort:`\u0423\u0434\u0430\u043B\u0438\u0442\u044C`},interrupted:{title:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u0437\u0430\u043F\u0440\u043E\u0441 \u0431\u044B\u043B \u043F\u0440\u0435\u0440\u0432\u0430\u043D`,text:`\u041E\u0442\u0432\u0435\u0442 \u043D\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043D\u0435 \u043F\u0440\u0438\u0448\u0451\u043B.`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`},reportInitializing:{title:`\u041E\u0442\u0447\u0451\u0442 \u0435\u0449\u0451 \u0433\u043E\u0442\u043E\u0432\u0438\u0442\u0441\u044F`,text:`\u0414\u0430\u043D\u043D\u044B\u0435 \u043F\u043E\u044F\u0432\u044F\u0442\u0441\u044F \u043F\u043E\u0441\u043B\u0435 \u043F\u0435\u0440\u0432\u043E\u0433\u043E \u0440\u0430\u0441\u0447\u0451\u0442\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0447\u0443\u0442\u044C \u043F\u043E\u0437\u0436\u0435.`,retry:`\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0441\u043D\u043E\u0432\u0430`},readiness:{signInTitle:`\u0412\u043E\u0439\u0434\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u043E\u043C`,signInText:`\u041E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u043F\u043E\u043F\u0430\u043F \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F \u0438 \u0432\u043E\u0439\u0434\u0438\u0442\u0435 \u0432 Progon.`,projectTitle:`\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0440\u043E\u0435\u043A\u0442`,projectText:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0430.`}},connection:{reconnecting:`\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043F\u043E\u0442\u0435\u0440\u044F\u043D\u043E \u2014 \u043F\u0435\u0440\u0435\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0430\u0435\u043C\u0441\u044F\u2026`,restored:`\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u2014 \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u044B.`,failedTitle:`\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C`,failedHint:{"reload-page":`\u041F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0434\u043B\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F.`,"check-network":`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u0435\u0442\u044C.`}},history:{title:`\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0431\u0435\u0441\u0435\u0434`,listLabel:`\u0411\u0435\u0441\u0435\u0434\u044B`,newConversation:`\u041D\u043E\u0432\u0430\u044F \u0431\u0435\u0441\u0435\u0434\u0430`,search:`\u041D\u0430\u0439\u0442\u0438 \u0431\u0435\u0441\u0435\u0434\u0443`,searchLabel:`\u041D\u0430\u0439\u0442\u0438 \u0431\u0435\u0441\u0435\u0434\u0443`,clearSearch:`\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A`,emptyTitle:`\u0411\u0435\u0441\u0435\u0434 \u043F\u043E\u043A\u0430 \u043D\u0435\u0442`,emptyText:`\u0411\u0435\u0441\u0435\u0434\u0430 \u043F\u043E\u044F\u0432\u0438\u0442\u0441\u044F \u0437\u0434\u0435\u0441\u044C \u043F\u043E\u0441\u043B\u0435 \u043F\u0435\u0440\u0432\u043E\u0433\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F.`,noResults:e=>`\u0411\u0435\u0441\u0435\u0434 \u043F\u043E \u00AB${e}\u00BB \u043D\u0435\u0442`,errorTitle:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u0441\u0442\u043E\u0440\u0438\u044E`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`,loadingMore:`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C\u2026`,untitled:e=>`\u0411\u0435\u0441\u0435\u0434\u0430 \u043E\u0442 ${e}`,delete:e=>`\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0431\u0435\u0441\u0435\u0434\u0443 \u00AB${e}\u00BB`,deleteTip:`\u0423\u0434\u0430\u043B\u0438\u0442\u044C`,deleteAsk:`\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0431\u0435\u0441\u0435\u0434\u0443?`,deleteConfirm:`\u0423\u0434\u0430\u043B\u0438\u0442\u044C`,deleteCancel:`\u041E\u0442\u043C\u0435\u043D\u0430`,deleteFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0431\u0435\u0441\u0435\u0434\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`,reportPlace:e=>e===null?`\u041E\u0442\u0447\u0451\u0442`:`\u041E\u0442\u0447\u0451\u0442 \u00B7 ${e}`,current:`\u041E\u0442\u043A\u0440\u044B\u0442\u0430`,statusSpoken:{waiting:`\u0416\u0434\u0451\u0442 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0442\u0432\u0435\u0442\u0430.`,working:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442.`},groups:{waiting:`\u0416\u0434\u0443\u0442 \u043E\u0442\u0432\u0435\u0442\u0430`,today:`\u0421\u0435\u0433\u043E\u0434\u043D\u044F`,yesterday:`\u0412\u0447\u0435\u0440\u0430`,previous7Days:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0435 7 \u0434\u043D\u0435\u0439`,previous30Days:`\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0435 30 \u0434\u043D\u0435\u0439`,older:`\u0421\u0442\u0430\u0440\u044B\u0435`}},modelPicker:{selectModel:`\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043C\u043E\u0434\u0435\u043B\u044C`,loading:`\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C \u043C\u043E\u0434\u0435\u043B\u0438\u2026`,currentlySelected:`\u0412\u044B\u0431\u0440\u0430\u043D\u0430`,footerNote:`\u0412\u044B\u0431\u043E\u0440 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u043E \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F.`,manageKeys:`\u041A\u043B\u044E\u0447\u0438`,upsell:`\u0421\u0432\u043E\u0439 \u043A\u043B\u044E\u0447 \u2014 \u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0435 Enterprise`,upgrade:`\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0430\u0440\u0438\u0444`,rejected:`\u042D\u0442\u0430 \u043C\u043E\u0434\u0435\u043B\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u043D\u0430 \u0432\u0430\u0448\u0435\u043C \u0442\u0430\u0440\u0438\u0444\u0435 \u2014 \u0432\u044B\u0431\u0440\u0430\u043D\u0430 \u043C\u043E\u0434\u0435\u043B\u044C \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.`,disabledKeyInvalid:`\u041A\u043B\u044E\u0447 \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D \u2014 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445`,disabledNoKey:`\u041B\u0438\u0447\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D`,disabledSuffixA11y:`\u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E`,tier:{fastest:`\u0421\u0430\u043C\u0430\u044F \u0431\u044B\u0441\u0442\u0440\u0430\u044F`,balanced:`\u0414\u043B\u044F \u043F\u043E\u0432\u0441\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447`,smartest:`\u0421\u0430\u043C\u0430\u044F \u0443\u043C\u043D\u0430\u044F`},byok:{personal:`\u0421\u0432\u043E\u0439 \u043A\u043B\u044E\u0447`,company:`\u041A\u043B\u044E\u0447 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438`},byokHeader:{personal:`\u0421\u0432\u043E\u0439 \u043A\u043B\u044E\u0447`,company:`\u041A\u043B\u044E\u0447 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438`}},confirmation:{regionLabel:`\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435`,confirmAll:e=>`\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0432\u0441\u0435 (${e})`,confirm:`\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C`,reject:`\u041D\u0435\u0442`,unrecognizedTool:`\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043E`,grant:{no:`\u041D\u0435\u0442, \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u043E\u0442\u0447\u0451\u0442`,yes:`\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0432 \u044D\u0442\u043E\u043C \u0437\u0430\u043F\u0443\u0441\u043A\u0435`}},runWait:{title:`\u041E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u0438\u0441\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0439`,status:{waiting:`\u0416\u0434\u0451\u043C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F`,fired:`\u0418\u0441\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u044B`,running:`\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044E \u0440\u0430\u0437\u0431\u043E\u0440`,done:`\u0420\u0430\u0437\u0431\u043E\u0440 \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D`,cancelled:`\u041E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E`},subject:{scenario_run:`\u041F\u0440\u043E\u0433\u043E\u043D \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F`,agent_job:`\u0417\u0430\u0434\u0430\u043D\u0438\u0435 \u0430\u0433\u0435\u043D\u0442\u0430`,atlas_run:`\u041E\u0431\u0445\u043E\u0434 Atlas`,ai_run:`AI-\u043F\u0440\u043E\u0433\u043E\u043D`,workflow:`\u0420\u043E\u0439`,scenario_launch:`\u0417\u0430\u043F\u0443\u0441\u043A \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432`},id:e=>`ID: ${e}`,stopWaiting:`\u041D\u0435 \u0436\u0434\u0430\u0442\u044C`,stopWaitingFailed:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0435. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.`},questions:{progressLabel:`\u0412\u043E\u043F\u0440\u043E\u0441\u044B`,nextQuestion:`\u0414\u0430\u043B\u0435\u0435`,recommended:`\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F`,tabStatus:{answered:`\u043E\u0442\u0432\u0435\u0447\u0435\u043D`,skipped:`\u043F\u0440\u043E\u043F\u0443\u0449\u0435\u043D`,unanswered:`\u0431\u0435\u0437 \u043E\u0442\u0432\u0435\u0442\u0430`},customChoice:`\u0421\u0432\u043E\u0439 \u043E\u0442\u0432\u0435\u0442`,customAnswerLabel:`\u0421\u0432\u043E\u0439 \u043E\u0442\u0432\u0435\u0442`,customAnswerPlaceholder:`\u0412\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043D\u0442`,textAnswerLabel:`\u041E\u0442\u0432\u0435\u0442`,textAnswerPlaceholder:`\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043E\u0442\u0432\u0435\u0442`,skipQuestion:`\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C`,restoreQuestion:`\u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C`,validationSingle:`\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0434\u0438\u043D \u0432\u0430\u0440\u0438\u0430\u043D\u0442`,validationMultiple:`\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0445\u043E\u0442\u044F \u0431\u044B \u043E\u0434\u0438\u043D \u043F\u0443\u043D\u043A\u0442`,validationText:`\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043E\u0442\u0432\u0435\u0442`,submitAnswers:`\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C`,submitBatchAnswers:`\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u0432\u0435\u0442\u044B`,retry:`\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C`,refresh:`\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C`,retryErrorBadge:`\u041D\u0435 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E`,nonretryableBadge:`\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430`,nonretryableDescription:`\u0427\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C, \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u044D\u0442\u0443 \u0431\u0435\u0441\u0435\u0434\u0443 \u0432 \u0437\u0430\u0449\u0438\u0449\u0451\u043D\u043D\u043E\u043C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0435 (HTTPS).`,staleBadge:`\u0423\u0436\u0435 \u043E\u0442\u0432\u0435\u0447\u0435\u043D\u043E`,unauthorizedBadge:`\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430`,unauthorizedDescription:`\u0412\u043E\u0439\u0434\u0438\u0442\u0435 \u0441\u043D\u043E\u0432\u0430 \u0438\u043B\u0438 \u0432\u0435\u0440\u043D\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u0440\u043E\u0435\u043A\u0442, \u0433\u0434\u0435 \u043D\u0430\u0447\u0430\u043B\u0441\u044F \u044D\u0442\u043E\u0442 \u0434\u0438\u0430\u043B\u043E\u0433.`,unavailableBadge:`\u041D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E`,answeredTitle:`\u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435`,answeredBadge:`\u041E\u0442\u0432\u0435\u0447\u0435\u043D\u043E`,continuationPendingBadge:`\u0412 \u043E\u0447\u0435\u0440\u0435\u0434\u0438`,continuationRunningBadge:`\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0435`,continuationFailedBadge:`\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C`,skippedBadge:`\u041F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043E`,skippedAnswer:`\u041F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043E`,cancelledTitle:`\u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435`,cancelledBadge:`\u041E\u0442\u043C\u0435\u043D\u0435\u043D\u043E`,supersededTitle:`\u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435`,supersededBadge:`\u0417\u0430\u043C\u0435\u043D\u0435\u043D\u043E`,answerSeparator:`, `,unavailableAnswer:`\u041E\u0442\u0432\u0435\u0442 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D`,arrived:e=>`\u041D\u043E\u0432\u044B\u0439 \u0432\u043E\u043F\u0440\u043E\u0441, \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430 \u043E\u0442\u0432\u0435\u0442\u0430 \u2014 \u043D\u0430\u0434 \u043F\u043E\u043B\u0435\u043C \u0432\u0432\u043E\u0434\u0430: ${e}`},agentQuestions:{openRun:`\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u043E\u0433\u043E\u043D`,assumptionLabel:`\u041F\u043E\u043A\u0430 \u043E\u0442\u0432\u0435\u0442\u0430 \u043D\u0435\u0442, \u0430\u0433\u0435\u043D\u0442 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u0442 \u0442\u0430\u043A`,decline:`\u041D\u0435 \u043E\u0442\u0432\u0435\u0447\u0430\u0442\u044C`,viaAssistant:`\u041F\u0435\u0440\u0435\u0434\u0430\u043D\u043E \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u043E\u043C \u0441 \u0432\u0430\u0448\u0438\u0445 \u0441\u043B\u043E\u0432`,askerEnded:`\u0410\u0433\u0435\u043D\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B \u0440\u0430\u0431\u043E\u0442\u0443, \u043E\u0442\u0432\u0435\u0442 \u043D\u0435 \u043D\u0443\u0436\u0435\u043D`,leadWaits:`\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0436\u0434\u0451\u0442`,workersContinue:`\u0420\u0430\u0431\u043E\u0447\u0438\u0435 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044E\u0442`,agentsIdle:`\u0410\u0433\u0435\u043D\u0442\u044B \u0441\u0435\u0439\u0447\u0430\u0441 \u043D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0442`},context:{report:{label:`\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u043E\u0442\u0447\u0451\u0442\u0430`,title:e=>`\u041E\u0442\u0447\u0451\u0442: ${e}`,note:`\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0432\u0438\u0434\u0438\u0442 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u043E\u0442\u0447\u0451\u0442 \u0438 \u0431\u0435\u0440\u0451\u0442 \u0446\u0438\u0444\u0440\u044B \u0438\u0437 \u0442\u0435\u0445 \u0436\u0435 \u0434\u0430\u043D\u043D\u044B\u0445, \u0447\u0442\u043E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430.`,nameUnavailable:`\u0438\u043C\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E`,entity:{scenario:`\u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0439`,page:`\u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430`,feature:`\u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0444\u0438\u0447\u0430`},view:{overview:`\u041E\u0431\u0437\u043E\u0440`,stability:`\u0421\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C`,"weak-spots":`\u0421\u043B\u0430\u0431\u044B\u0435 \u0437\u043E\u043D\u044B`,"bug-hotspots":`\u0413\u043E\u0440\u044F\u0447\u0438\u0435 \u0442\u043E\u0447\u043A\u0438`},window:{"7d":`7 \u0434\u043D\u0435\u0439`,"14d":`14 \u0434\u043D\u0435\u0439`,"30d":`30 \u0434\u043D\u0435\u0439`,"90d":`90 \u0434\u043D\u0435\u0439`},lastRuns:(e,t)=>`\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 ${e} \u043F\u0440\u043E\u0433\u043E\u043D\u043E\u0432 (\u0434\u043E ${t} \u0434\u043D\u0435\u0439)`,status:{consistently_failing:`\u043F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u043E \u043F\u0430\u0434\u0430\u0435\u0442`,flaky:`flaky`,monitoring:`\u043D\u0430\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0435`,insufficient_history:`\u043C\u0430\u043B\u043E \u0438\u0441\u0442\u043E\u0440\u0438\u0438`,stable:`\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E`},prompts:{overviewWeakSpots:`\u041A\u0430\u043A\u0438\u0435 \u0441\u043B\u0430\u0431\u044B\u0435 \u043C\u0435\u0441\u0442\u0430 \u0443 \u043F\u0440\u043E\u0435\u043A\u0442\u0430?`,overviewChanged:e=>`\u0427\u0442\u043E \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u043E\u0441\u044C \u0437\u0430 ${e}?`,overviewWhereToLook:`\u041A\u0443\u0434\u0430 \u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432 \u043F\u0435\u0440\u0432\u0443\u044E \u043E\u0447\u0435\u0440\u0435\u0434\u044C?`,stabilityWhyScenario:e=>`\u041F\u043E\u0447\u0435\u043C\u0443 \u00AB${e}\u00BB \u043D\u0435\u0441\u0442\u0430\u0431\u0438\u043B\u0435\u043D?`,stabilityWhatToFix:`\u041A\u0430\u043A\u0438\u0435 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0447\u0438\u043D\u0438\u0442\u044C \u0432 \u043F\u0435\u0440\u0432\u0443\u044E \u043E\u0447\u0435\u0440\u0435\u0434\u044C?`,stabilityCauses:`\u0420\u0430\u0437\u0431\u0435\u0439 \u043F\u0430\u0434\u0435\u043D\u0438\u044F \u043F\u043E \u043F\u0440\u0438\u0447\u0438\u043D\u0430\u043C`,weakSpotsWhatToCover:`\u0427\u0442\u043E \u043F\u043E\u043A\u0440\u044B\u0442\u044C \u0442\u0435\u0441\u0442\u0430\u043C\u0438 \u0432 \u043F\u0435\u0440\u0432\u0443\u044E \u043E\u0447\u0435\u0440\u0435\u0434\u044C?`,weakSpotsWhyEntity:e=>`\u041F\u043E\u0447\u0435\u043C\u0443 \u00AB${e}\u00BB \u0432 \u0441\u043B\u0430\u0431\u044B\u0445 \u0437\u043E\u043D\u0430\u0445?`,bugHotspotsWhere:`\u0413\u0434\u0435 \u0441\u043A\u0430\u043F\u043B\u0438\u0432\u0430\u044E\u0442\u0441\u044F \u0431\u0430\u0433\u0438?`,bugHotspotsStale:`\u041A\u0430\u043A\u0438\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0441 \u0431\u0430\u0433\u0430\u043C\u0438 \u0434\u0430\u0432\u043D\u043E \u043D\u0435 \u043F\u0440\u043E\u0432\u0435\u0440\u044F\u043B\u0438\u0441\u044C?`}}}},errors:Cu,attachments:zl},en:Ll},Du=(0,K.createContext)(null);function Ou({locale:e,children:t}){return/* @__PURE__ */ (0,q.jsx)(Du.Provider,{value:e,children:t})}function ku(){let e=(0,K.useContext)(Du);if(e===null)throw Error(`useChatLocale: no <ChatLocaleProvider> above this chat component`);return e}function Au(){return Eu[ku()]}var ju=/* @__PURE__ */ new Map([[`button`,`button`],[`link`,`link`],[`textbox`,`field`],[`searchbox`,`field`],[`spinbutton`,`field`],[`checkbox`,`checkbox`],[`switch`,`checkbox`],[`menuitemcheckbox`,`checkbox`],[`combobox`,`select`],[`listbox`,`select`],[`heading`,`text`],[`paragraph`,`text`]]),Mu=/* @__PURE__ */ new Map([[`button`,`button`],[`textarea`,`field`],[`select`,`select`],[`h1`,`text`],[`h2`,`text`],[`h3`,`text`],[`h4`,`text`],[`h5`,`text`],[`h6`,`text`],[`p`,`text`],[`label`,`text`]]),Nu={button:`action`,link:`action`,field:`input`,checkbox:`input`,select:`input`,text:`static`,other:`static`};function Pu(e){if(e===null)return`other`;let t=Ru(e.role);if(t!==null)return Lu(t);let n=Ru(e.tagName);return n===null?`other`:Mu.get(n.toLowerCase())??`other`}function Fu(e){return Nu[e]}function Iu(e){return`elementKinds.${e}`}function Lu(e){let t=e.search(/\s/),n=(t===-1?e:e.slice(0,t)).toLowerCase();return ju.get(n)??`other`}function Ru(e){if(e==null)return null;let t=e.trim();return t===``?null:t}var zu={text_contains:{labelKey:`checkTypes.text_contains`,icon:[[`path`,{d:`M17 6.1H3`}],[`path`,{d:`M21 12.1H3`}],[`path`,{d:`M15.1 18H3`}]]},text_equals:{labelKey:`checkTypes.text_equals`,icon:[[`path`,{d:`M5 9h14`}],[`path`,{d:`M5 15h14`}]]},text_free:{labelKey:`checkTypes.text_free`,icon:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`}],[`path`,{d:`M20 2v4`}],[`path`,{d:`M22 4h-4`}],[`circle`,{cx:`4`,cy:`20`,r:`2`}]]},element_visible:{labelKey:`checkTypes.element_visible`,icon:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]]},element_exists:{labelKey:`checkTypes.element_exists`,icon:[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`}],[`path`,{d:`M12 22V12`}]]},element_not_exists:{labelKey:`checkTypes.element_not_exists`,icon:[[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M9 3h1`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M21 14v1`}]]},input_value:{labelKey:`checkTypes.input_value`,icon:[[`path`,{d:`M12 4v16`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`}],[`path`,{d:`M9 20h6`}]]},url_contains:{labelKey:`checkTypes.url_contains`,icon:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`}],[`path`,{d:`M2 12h20`}]]}},Bu=`checkTypes.assert_text`;function Vu(e){return!In(e)}function Hu(e){if(!Vu(e))throw Error(`Check type "${e}" is legacy and read-only: it has no catalog entry`);let t=zu[e];if(t===void 0)throw Error(`Unknown check type: ${String(e)}`);return t}function Uu(e){return Vu(e)?Hu(e).labelKey:Bu}function Wu(e){return Hu(e).icon}function Gu(e){return Hu(e),Dn[bn(e)].filter(t=>t===e||Ln(e,t))}var Ku={selectable:!1,actionEditable:!1,showInputValue:!1,showMaskPassword:!1,showKeypress:!1,showTargetUrl:!1},qu={...Ku,selectable:!0,actionEditable:!0},Ju={...Ku,actionEditable:!0},Yu={click:qu,input:{...qu,showInputValue:!0,showMaskPassword:!0},select:{...qu,showInputValue:!0},check:qu,uncheck:qu,keypress:{...qu,showKeypress:!0},submit:qu,navigate:{...qu,showTargetUrl:!0},checkbox:Ju,keyboard:Ju,focus:Ju,blur:Ju,hover:Ju,scroll:Ku,assert:Ku,canvas_click:Ku,canvas_dblclick:Ku,canvas_drag:Ku,canvas_zoom:Ku,canvas_pan:Ku,shared_step:Ku,api_call:Ku,extract_variable:Ku,text_step:Ku};function Xu(e){return Yu[e]}var Zu=[`click`,`input`,`select`,`check`,`uncheck`,`keypress`,`submit`,`navigate`];function Qu(e){return`stepEditor.actionTypes.${e}`}var $u={text_contains:Mn.text_contains,text_equals:Mn.text_equals,input_value:Mn.input_value,element_visible:Mn.element_visible,element_exists:Mn.element_exists,element_not_exists:Mn.element_not_exists,url_contains:Mn.url_contains,assert_text:null};function ed(e){return $u[e]!==null}function td(e,t){let n=$u[e];if(n===null)return null;let r=t[n];if(typeof r!=`string`)throw TypeError(`Typed check "${e}" has no string "${n}" in its configuration`);return r}function nd(e,t,n){let r=$u[e];if(r===null)throw TypeError(`Typed check "${e}" has no editable value`);return{...t,[r]:n}}function rd(e){let t=$u[e];return t===null?{}:{[t]:``}}function id(e,t,n){if(!Gu(e).includes(t))throw TypeError(`Typed check "${e}" cannot be swapped to "${t}"`);let r={};`targetName`in n&&(r.targetName=n.targetName);let i=$u[e],a=$u[t];return a!==null&&(r[a]=i!==null&&i===a?n[i]:``),t===`element_not_exists`&&e===`element_not_exists`&&`targetText`in n&&(r.targetText=n.targetText),r}function ad(e){if(e.assertionType===`text_free`)throw TypeError(`Expected result ${e.id} is a text check, not a typed one`);return{key:e.id,id:e.id,assertionType:e.assertionType,assertionConfig:e.assertionConfig,base:e,pickedTarget:null}}function od(e,t){return{key:e,id:null,assertionType:t,assertionConfig:rd(t),base:null,target:null}}function sd(e,t){return{key:e,id:null,assertionType:t.assertionType,assertionConfig:t.assertionConfig,base:null,target:{elementId:t.targetElement===null?null:t.targetElement.id,targetSelector:t.targetSelector,targetXpath:t.targetXpath,scope:t.scope}}}function cd(e,t){return e===`element_not_exists`?t.scope:{scopeElementId:null,scopeSelector:null,scopeXpath:null,scopeLabel:null}}function ld(e,t){return{targetSelector:t.targetSelector,targetXpath:t.targetXpath,targetElementId:t.elementId,...cd(e,t)}}function ud(e){let t=e.base;if(t===null){let t=e.target;return{assertionType:e.assertionType,text:null,assertionConfig:e.assertionConfig,...t===null?{targetSelector:null,targetXpath:null,targetElementId:null}:ld(e.assertionType,t),source:`manual`}}return{id:e.id,assertionType:e.assertionType,text:null,assertionConfig:e.assertionConfig,...e.pickedTarget===null?{targetSelector:t.targetSelector,targetXpath:t.targetXpath,targetElementId:t.targetElementId}:{targetSelector:e.pickedTarget.targetSelector,targetXpath:e.pickedTarget.targetXpath,targetElementId:e.pickedTarget.elementId},source:t.source,...t.targetHint===null?{targetHint:null}:{},scopeElementId:t.scopeElementId,scopeSelector:t.scopeSelector,scopeXpath:t.scopeXpath,scopeLabel:t.scopeLabel}}function dd(e,t){return e.base!==null&&e.pickedTarget!==null||e.assertionType!==t.assertionType||!fd(e.assertionConfig,t.assertionConfig)}function fd(e,t){let n=/* @__PURE__ */ new Set([...Object.keys(e),...Object.keys(t)]);for(let r of n)if(e[r]!==t[r])return!1;return!0}var pd=[`isUnassigned`,`hasUnboundElementSteps`,`hasUnlockedTextSteps`],md={ru:{needsBinding:(e,t)=>`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u0438\u0432\u044F\u0437\u043A\u0438: ${e}. \u0421\u043D\u0430\u0447\u0430\u043B\u0430 ${t}, \u043F\u043E\u0442\u043E\u043C \u0437\u0430\u043F\u0443\u0441\u043A.`,causesSentence:e=>`${e}.`,causes:{isUnassigned:`\u043D\u0435 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430`,hasUnboundElementSteps:`\u0435\u0441\u0442\u044C \u0448\u0430\u0433\u0438 \u0431\u0435\u0437 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430`,hasUnlockedTextSteps:`\u0435\u0441\u0442\u044C \u043D\u0435\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0435 \u0448\u0430\u0433\u0438`},actions:{make_auto:`\u00AB\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0430\u0432\u0442\u043E\u00BB`,bind_elements:{hub:`\u00AB\u041F\u0440\u0438\u0432\u044F\u0437\u0430\u0442\u044C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B\u00BB`,web:`\u00AB\u041F\u0440\u0438\u0432\u044F\u0437\u0430\u0442\u044C \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B\u00BB \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0438 Progon`}},needsDeviceExecutor:(e,t)=>`\u041D\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044F \u0434\u043B\u044F \u0448\u0430\u0433\u043E\u0432 \u043D\u0430 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435: ${t?`\u0448\u0430\u0433\u0438`:`\u0448\u0430\u0433`} ${e}.`,noSteps:`\u0412 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u043D\u0435\u0442 \u0448\u0430\u0433\u043E\u0432.`,aiUnavailableForTextSteps:`\u0418\u0418 \u043D\u0435\u0442, \u0430 \u0432 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0438 \u0435\u0441\u0442\u044C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0435 \u0448\u0430\u0433\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043E\u043D \u043D\u0443\u0436\u0435\u043D.`,unread:`\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u043F\u043E\u043A\u0430 \u043D\u0435\u043B\u044C\u0437\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.`,noReadyScenarios:`\u0421\u0440\u0435\u0434\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u0435\u0432 \u043D\u0435\u0442 \u0433\u043E\u0442\u043E\u0432\u044B\u0445 \u043A \u0437\u0430\u043F\u0443\u0441\u043A\u0443 \u0432 \u00AB\u0410\u0432\u0442\u043E\u00BB.`},en:{needsBinding:(e,t)=>`This scenario needs binding: ${e}. First use ${t}, then run it.`,causesSentence:e=>`${e}.`,causes:{isUnassigned:`no page is assigned`,hasUnboundElementSteps:`some steps have no element`,hasUnlockedTextSteps:`some text steps are not locked`},actions:{make_auto:`"Make Auto"`,bind_elements:{hub:`"Bind elements"`,web:`"Bind elements" in the Progon extension`}},needsDeviceExecutor:(e,t)=>`No executor for the steps on the device: ${t?`steps`:`step`} ${e}.`,noSteps:`This scenario has no steps.`,aiUnavailableForTextSteps:`AI is unavailable, and this scenario has text steps that need it.`,unread:`This scenario cannot run automatically.`,noReadyScenarios:`None of the selected scenarios is ready to run in Auto.`}};function hd(e,t,n){let r=md[n];switch(e.status){case`needs_device_executor`:{let{stepNumbers:t}=e.details;return r.needsDeviceExecutor(t.join(`, `),t.length>1)}case`needs_binding`:return r.needsBinding(yd(e.causes,n),xd(e.offeredActions.map(e=>bd(r,e,t)),n,`disjunction`,`a needs_binding refusal offers no action, but offeredActions is .min(1) on both schemas`));case`no_steps`:return r.noSteps;case`ai_unavailable_for_text_steps`:return r.aiUnavailableForTextSteps}}function gd(e,t){return md[t].causesSentence(Sd(yd(e,t)))}function _d(e){return md[e].unread}function vd(e){return md[e].noReadyScenarios}function yd(e,t){let n=md[t];return xd(pd.filter(t=>e[t]).map(e=>n.causes[e]),t,`conjunction`,`a needs_binding refusal has no true cause, but needsMapping is the OR of exactly these three`)}function bd(e,t,n){let r=e.actions[t];return typeof r==`string`?r:r[n]}function xd(e,t,n,r){if(e.length===0)throw Error(`scenario-launch-refusal-text: ${r}`);return new Intl.ListFormat(t,{style:`long`,type:n}).format(e)}function Sd(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Cd(){let{t:e,i18n:t}=E(),n=t.resolvedLanguage;return(0,K.useMemo)(()=>{let r=e,i=Ke.find(e=>e===n);if(i===void 0)throw Error(`i18n resolved an unsupported UI locale: ${String(n)}`);return{t:r,has:e=>t.exists(e),locale:i}},[t,n,e])}var wd=`scenarios.not_auto_runnable`;function Td(e,t,n){if(t!==wd)return null;let r=kn.safeParse(n==null?void 0:n.decision);return r.success?hd(r.data,`web`,e):_d(e)}function Ed(e){return typeof e==`number`&&Number.isSafeInteger(e)&&e>=0?e:null}function Dd(e,t){if(!(t instanceof ze)||t.errorCode!==`remote_runs.text_steps_unsupported`)return null;let n=t.params;if(!n)return null;let r=Ed(n.unconvertedTextStepCount),i=Ed(n.lockedTextStepCount);return r===null||i===null?null:r>0?e(`apiErrors.remote_runs.text_steps_unsupported.unconverted`):i>0?e(`apiErrors.remote_runs.text_steps_unsupported.locked`):null}function Od(e,t,n,r){if(t instanceof ze){let n=Dd(e.t,t);if(n!==null)return n;let r=Td(e.locale,t.errorCode,t.params);if(r!==null)return r}return xt(e,t,n,r)}O(Le,be,`flex h-7.5 min-w-0 flex-1 justify-center gap-1.5 rounded-full px-1.5 text-body-sm [&_svg]:size-3.5`);var kd=/*#__PURE__*/ K.createContext(void 0);function Ad(e){let t=K.useContext(kd);if(t===void 0&&!e)throw Error(tt(47));return t}var jd={...Te,disabled:e=>e.disabled,instantType:e=>e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,modal:e=>e.modal,focusManagerModal:e=>e.focusManagerModal,stickIfOpen:e=>e.stickIfOpen,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},Md=class extends Ce{constructor(e,t,n){let r=new m;super(Nd(e,r,t,n),Pd(r),jd),_e(this,`setOpen`,(e,t)=>{var n,r;let i=t.reason===oe,a=t.reason===`trigger-press`&&t.event.detail===0,o=!e&&(t.reason===`escape-key`||t.reason==null),s=_t(t),c=this.select(`activeTriggerId`);if(!e&&t.reason===`close-press`&&t.trigger==null&&c!=null&&(t.trigger=this.context.triggerElements.getById(c)??this.select(`activeTriggerElement`)??void 0),(n=(r=this.context).onOpenChange)==null||n.call(r,e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let l=()=>{let n=gt(this.state,e,t.trigger,s());n.openChangeReason=t.reason,this.update(n)};i?(this.set(`stickIfOpen`,!0),this.context.stickIfOpenTimeout.start(500,()=>{this.set(`stickIfOpen`,!1)}),Uc.flushSync(l)):l();let u;a?u=`click`:o?u=`dismiss`:t.reason===`focus-out`&&(u=`focus`),this.set(`instantType`,u)})}};function Nd(e,t,n,r=!1){let i={...$t(t,n,r),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,stickIfOpen:!0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&(e==null?void 0:e.mounted)===void 0&&(i.mounted=!0),i}function Pd(e){return{popupRef:/*#__PURE__*/ K.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:/*#__PURE__*/ K.createRef(),beforeContentFocusGuardRef:/*#__PURE__*/ K.createRef(),stickIfOpenTimeout:new Ut,triggerElements:e}}var Fd=on(function({props:e}){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,modal:o=!1,handle:s,triggerId:c,defaultTriggerId:l=null}=e,u=Ld(s,{modal:o,open:r,openProp:n,activeTriggerId:l,triggerIdProp:c});u.useControlledProp(`openProp`,n),u.useControlledProp(`triggerIdProp`,c);let d=u.useState(`open`),p=u.useState(`mounted`),m=u.useState(`payload`);u.useContextCallback(`onOpenChange`,i),u.useContextCallback(`onOpenChangeComplete`,a),C(u,d),ue(u);let{forceUnmount:h}=pe(d,u,()=>{u.update({stickIfOpen:!0,openChangeReason:null})});u.useSyncedValues({modal:o}),K.useEffect(()=>{d||u.context.stickIfOpenTimeout.clear()},[u,d]),K.useImperativeHandle(e.actionsRef,()=>({unmount:h,close:()=>u.setOpen(!1,nt(f))}),[h,u]);let g=d||p;return/*#__PURE__*/ (0,q.jsxs)(kd.Provider,{value:u,children:[s&&/*#__PURE__*/ (0,q.jsx)(he,{handle:s,store:u}),g&&/*#__PURE__*/ (0,q.jsx)(Rd,{store:u,modal:o}),typeof t==`function`?t({payload:m}):t]})});function Id(e){return Ad(!0)?/*#__PURE__*/ (0,q.jsx)(Fd,{props:e}):/*#__PURE__*/ (0,q.jsx)(b,{children:/*#__PURE__*/ (0,q.jsx)(Fd,{props:e})})}function Ld(e,t){let n=v((e,n)=>new Md(t,e,n));return K.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function Rd({store:e,modal:t}){let n=e.useState(`floatingRootContext`),r=Me(n,{outsidePressEvent:{mouse:t===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}}),i=r.reference,a=r.floating;return ve(e,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:a}),null}var zd=c(function(e,t){let{render:n,className:i,style:a,disabled:o=!1,nativeButton:s=!0,handle:c,payload:l,openOnHover:d=!1,delay:f=300,closeDelay:p=0,id:m,...h}=e,g=Ad(!0),_=u(c)??g;if(!_)throw Error(tt(74));let v=St(m),ee=_.useState(`isTriggerActive`,v),y=_.useState(`floatingRootContext`),b=_.useState(`isOpenedByTrigger`,v),te=_.useState(`triggerPopupId`,v),S=K.useRef(null),{registerTrigger:C,isMountedByThisTrigger:w}=se(v,S,_,{payload:l,disabled:o,openOnHover:d,closeDelay:p}),ie=_.useState(`openChangeReason`),ae=_.useState(`stickIfOpen`),T=_.useState(`openMethod`),oe=_.useState(`focusManagerModal`),ce=Ye(y,{enabled:!o&&d&&(T!==`touch`||ie!==`trigger-press`),mouseOnly:!0,move:!1,handleClose:Ve(),restMs:f,delay:{close:p},triggerElementRef:S,isActiveTrigger:ee,isClosing:()=>_.select(`transitionStatus`)===`ending`}),le=x(y,{stickIfOpen:ae}),ue=Ge(()=>_.select(`open`),e=>{_.set(`openMethod`,e)}),de=_.useState(`triggerProps`,w),{getButtonProps:fe,buttonRef:E}=Qt({disabled:o,native:s}),pe={open(e){return e&&ie===`trigger-press`?ke.open(e):ne.open(e)}},{preFocusGuardRef:me,handlePreFocusGuardFocus:he,handleFocusTargetFocus:ge}=Ot(_,S),_e=Lt(`button`,e,{state:{disabled:o,open:b},ref:[E,t,C,S],props:[le.reference,ce,de,ue,{[re]:``,id:v,"aria-haspopup":`dialog`,"aria-expanded":b,"aria-controls":te},h,fe],stateAttributesMapping:pe}),ve=/*#__PURE__*/ (0,q.jsx)(K.Fragment,{children:_e},v);return w&&!oe?/*#__PURE__*/ (0,q.jsxs)(K.Fragment,{children:[/*#__PURE__*/ (0,q.jsx)(r,{ref:me,onFocus:he}),ve,/*#__PURE__*/ (0,q.jsx)(r,{ref:_.context.triggerFocusTargetRef,onFocus:ge})]}):ve}),Bd=/*#__PURE__*/ K.createContext(void 0);function Vd(){let e=K.useContext(Bd);if(e===void 0)throw Error(tt(45));return e}var Hd=/*#__PURE__*/ K.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return Ad().useState(`mounted`)||n?/*#__PURE__*/ (0,q.jsx)(Bd.Provider,{value:n,children:/*#__PURE__*/ (0,q.jsx)(zt,{ref:t,...r})}):null}),Ud=/*#__PURE__*/ K.createContext(void 0);function Wd(){let e=K.useContext(Ud);if(!e)throw Error(tt(46));return e}var Gd=/*#__PURE__*/ K.forwardRef(function(e,t){let{render:n,className:r,style:i,anchor:a,positionMethod:o,side:s,align:c,sideOffset:l,alignOffset:u,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f,arrowPadding:p,sticky:m,disableAnchorTracking:h=!1,collisionAvoidance:g=Fe,..._}=e,v=Ad(),ee=Vd(),y=ae(),b=v.useState(`floatingRootContext`),te=v.useState(`mounted`),ne=v.useState(`open`),x=v.useState(`openChangeReason`),S=v.useState(`activeTriggerElement`),C=v.useState(`modal`),w=v.useState(`openMethod`),re=v.useState(`positionerElement`),ie=v.useState(`instantType`),T=v.useState(`transitionStatus`),oe=v.useState(`adaptiveOrigin`),se=K.useRef(null),ce=Yt(re),le=et({anchor:a,floatingRootContext:b,positionMethod:o,mounted:te,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:m,disableAnchorTracking:h,keepMounted:ee,nodeId:y,collisionAvoidance:g,adaptiveOrigin:oe}),ue=b.useState(`domReferenceElement`);qe(()=>{let e=ue,t=se.current;if(e&&(se.current=e),t&&e&&e!==t){v.set(`instantType`,void 0);let e=new AbortController;return ce(()=>{v.set(`instantType`,`trigger-change`)},e.signal),()=>{e.abort()}}},[ue,ce,v]);let de=C===!0&&x!==`trigger-hover`;Kt(ne&&de,w===`touch`,re,S);let fe=v.useStateSetter(`positionerElement`),E={open:ne,side:le.side,align:le.align,anchorHidden:le.anchorHidden,instant:ie},pe=Ze(e,E,{styles:le.positionerStyles,transitionStatus:T,props:_,refs:[t,fe],hidden:!te,inert:!ne});return/*#__PURE__*/ (0,q.jsxs)(Ud.Provider,{value:le,children:[te&&de&&/*#__PURE__*/ (0,q.jsx)(bt,{inert:Ft(!ne),cutout:S}),/*#__PURE__*/ (0,q.jsx)(Ne,{id:y,children:pe})]})}),Kd=/*#__PURE__*/ K.createContext(void 0);function qd(){let[e,t]=K.useState(0),n=en(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:K.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}function Jd(){let e=K.useContext(Kd);qe(()=>e==null?void 0:e.register(),[e])}var Yd=/*#__PURE__*/ K.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:o,finalFocus:c,...l}=e,u=Ad(),d=Wd(),f=at(!0)!=null,{context:m,hasClosePart:h}=qd(),g=u.useState(`open`),_=u.useState(`openMethod`),v=u.useState(`instantType`),ee=u.useState(`transitionStatus`),y=u.useState(`popupProps`),b=u.useState(`titleElementId`),te=u.useState(`descriptionElementId`),ne=u.useState(`modal`),x=u.useState(`mounted`),S=u.useState(`openChangeReason`),C=u.useState(`activeTriggerElement`),w=u.useState(`floatingRootContext`),re=w.useState(`floatingId`),ie=u.useState(`disabled`),ae=u.useState(`openOnHover`),T=u.useState(`closeDelay`);vt({open:g,ref:u.context.popupRef,onComplete(){if(g){var e,t;(e=(t=u.context).onOpenChangeComplete)==null||e.call(t,!0)}}}),tn(w,{enabled:ae&&!ie,closeDelay:T});let oe=o===void 0?a(u.context.popupRef):o,se=ne!==!1&&h;u.useSyncedValue(`focusManagerModal`,se);let ce=u.useStateSetter(`popupElement`),ue={open:g,side:d.side,align:d.align,instant:v,transitionStatus:ee},de=Lt(`div`,e,{state:ue,ref:[t,u.context.popupRef,ce],props:[y,{id:re,role:`dialog`,...p,"aria-labelledby":b,"aria-describedby":te,onKeyDown(e){f&&lt.has(e.key)&&e.stopPropagation()}},Ct(ee),l],stateAttributesMapping:s});return/*#__PURE__*/ (0,q.jsx)(De,{context:w,openInteractionType:_,modal:se,disabled:!x||S===`trigger-hover`,initialFocus:oe,returnFocus:c,restoreFocus:`popup`,previousFocusableElement:le(C)?C:void 0,nextFocusableElement:u.context.triggerFocusTargetRef,beforeContentFocusGuardRef:u.context.beforeContentFocusGuardRef,children:/*#__PURE__*/ (0,q.jsx)(Kd.Provider,{value:m,children:de})})}),Xd=/*#__PURE__*/ K.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=Ad(),s=St(a.id);return o.useSyncedValueWithCleanup(`titleElementId`,s),Lt(`h2`,e,{ref:t,props:[{id:s},a]})}),Zd=/*#__PURE__*/ K.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=Ad(),s=St(a.id);return o.useSyncedValueWithCleanup(`descriptionElementId`,s),Lt(`p`,e,{ref:t,props:[{id:s},a]})}),Qd={fallbackAxisSide:`none`},$d=8,ef={compact:{surface:`p-3`,title:`m-0 text-[length:var(--text-body-sm)] leading-normal font-semibold text-fg-primary`,description:`m-0 text-xs leading-normal text-fg-muted`,body:`grid gap-2 mt-2.5`,footer:`mt-3 border-t border-stroke-light pt-2.5`},form:{surface:`p-4`,title:`m-0 text-[length:var(--text-sm)] leading-(--leading-block-title) font-semibold tracking-(--tracking-snug) text-fg-primary`,description:`m-0 text-xs leading-(--leading-caption) text-fg-muted`,body:`grid gap-3 mt-3`,footer:`mt-3 border-t border-(--color-border-hairline) pt-3`}};function tf(e){switch(e){case`escape-key`:return`escape`;case`outside-press`:return`outside`;case`trigger-press`:return`trigger`;case`focus-out`:return`focus-out`;default:return`other`}}function nf({title:e,description:t,footerStart:r,footerEnd:i,side:a=`bottom`,align:s=`start`,collisionAvoidance:c,collisionBoundary:l,titleVisible:u=!0,density:d=`compact`,className:f,initialFocusRef:p,trapFocus:m=!1,"data-testid":h,children:g,trigger:_,triggerTooltip:v,positionAnchor:ee,anchor:y,open:b,onOpenChange:ne}){let x=n(),S=te(),C=ef[d],w=`flex max-h-(--available-height) flex-col overflow-y-auto overscroll-contain ${C.surface} ${Ee}`;return/* @__PURE__ */ (0,q.jsxs)(Id,{open:b,modal:m?`trap-focus`:!1,onOpenChange:(e,t)=>{!e&&t.reason===`escape-key`&&t.event.preventDefault(),!e&&o(y,t.reason,t.event)||ne==null||ne(e,tf(t.reason))},children:[_===void 0?null:v===void 0?/* @__PURE__ */ (0,q.jsx)(zd,{render:_}):/* @__PURE__ */ (0,q.jsx)(Je,{relationship:v.relationship,content:v.content,children:/* @__PURE__ */ (0,q.jsx)(zd,{render:_})}),/* @__PURE__ */ (0,q.jsx)(Hd,{container:x,children:/* @__PURE__ */ (0,q.jsx)(Gd,{anchor:ee??S??y,side:a,align:s,collisionAvoidance:c,collisionBoundary:l,sideOffset:$d,collisionPadding:8,positionMethod:`fixed`,className:`z-popover`,children:/* @__PURE__ */ (0,q.jsxs)(Yd,{initialFocus:p,finalFocus:y===void 0?void 0:()=>y,"data-floating-dismiss-layer":``,"data-testid":h,className:f===void 0?`w-[280px] ${w}`:`${w} ${f}`,children:[/* @__PURE__ */ (0,q.jsxs)(`div`,{className:u?`grid gap-0.5`:`sr-only`,children:[/* @__PURE__ */ (0,q.jsx)(Xd,{className:C.title,children:e}),t===void 0?null:/* @__PURE__ */ (0,q.jsx)(Zd,{className:C.description,children:t})]}),/* @__PURE__ */ (0,q.jsx)(`div`,{className:u?C.body:`grid gap-2`,children:g}),r!==void 0||i!==void 0?/* @__PURE__ */ (0,q.jsxs)(`div`,{className:O(`flex items-center justify-between gap-2`,C.footer),children:[/* @__PURE__ */ (0,q.jsx)(`div`,{className:`flex items-center gap-2`,children:r}),/* @__PURE__ */ (0,q.jsx)(`div`,{className:`flex items-center gap-2`,children:i})]}):null]})})})]})}var rf=`gap-0! rounded-lg! border-solid! border-(--color-border-strong)! bg-(--color-bg-modal)! p-1.5! shadow-(--shadow-menu)!`,af=`w-[320px] max-w-[calc(100vw-16px)] ${rf}`,of=`w-(--anchor-width) ${rf}`,sf=(0,K.createContext)(null);function cf(){return(0,K.useContext)(sf)}var lf=`qa-ai-chat-stage`;function uf(e){let t=e.closest(`.${lf}`);if(t===null)throw Error(`chatStageOf: the chat composer is outside the chat stage`);return t}var df=`my-1 h-px shrink-0 bg-stroke-light`;function ff(e,t){return e.block===null?e.occupied?t.runnerBusy:t.runnerFree:t.runnerBlocked[e.block]}function pf(e,t,n){switch(e.kind){case`opening`:return t.status===`failed`?n.fleetFailed:t.status===`ready`?n.pick:n.fleetLoading;case`this_browser`:return n.thisBrowser;case`none`:return n.none;case`runner`:return n.runner(e.runner.name);case`runner-unread`:return n.runnerUnread;case`runner-gone`:return n.runnerGone}}function mf(e,t){switch(e.kind){case`opening`:return t.status===`failed`?Pe:ye;case`this_browser`:return Xe;case`none`:return cr;case`runner`:case`runner-unread`:return ye;case`runner-gone`:return Pe}}function hf({place:e,view:t,fleet:n,onChoose:r,onOpen:i,copy:a,heading:o,thisBrowserReach:s,look:c,disabled:l=!1}){let[u,d]=(0,K.useState)(!1),[f,p]=(0,K.useState)(null),[m,h]=(0,K.useState)(!1),g=(0,K.useId)(),_=(0,K.useRef)(null),v=(0,K.useId)(),ee=cf(),y=u&&!l,b=t.kind===`runner-gone`,te=b||t.kind===`opening`&&n.status===`failed`,ne=pf(t,n,a),x=mf(t,n),S=n.status===`ready`?n.runners:[],C=e=>({key:`runner-${e.id}`,place:{kind:`runner`,agentId:e.id},icon:ye,title:a.runner(e.name),detail:ff(e,a),withheld:e.block!==null}),w={key:`this_browser`,place:{kind:`this_browser`},icon:Xe,title:a.thisBrowser,detail:s===`opens_windows`?a.thisBrowserRowOpensWindows:a.thisBrowserRowTasksOnly,withheld:!1},re={key:`none`,place:{kind:`none`},icon:cr,title:a.none,detail:a.noneRow,withheld:!1},ie=S.filter(e=>e.mine).map(C),ae=S.filter(e=>!e.mine).map(C),T=t=>e!==null&&At(e,t.place),oe=m||ae.some(T),se=f===null?void 0:[w,...ie,...ae,re].find(e=>e.key===f),ce=e=>{e.withheld||(r(e.place),p(e.key),d(!1))},le=e=>{let t=[...e.currentTarget.querySelectorAll(`[role="radio"]`)].filter(e=>e.getAttribute(`aria-disabled`)!==`true`),n=t.findIndex(e=>e===document.activeElement),r=n=>{let r=t[n];r!==void 0&&(e.preventDefault(),r.focus())};switch(e.key){case`ArrowDown`:case`ArrowRight`:r((n+1)%t.length);break;case`ArrowUp`:case`ArrowLeft`:r((n-1+t.length)%t.length);break;case`Home`:r(0);break;case`End`:r(t.length-1)}},ue=n.status===`loading`||n.status===`idle`,de=t=>{let n=T(t),r=n||e===null&&t.key===`this_browser`,i=t.icon;return/* @__PURE__ */ (0,q.jsxs)(`button`,{ref:r?_:void 0,type:`button`,role:`radio`,"aria-checked":n,"aria-disabled":t.withheld||void 0,tabIndex:r?0:-1,"data-testid":`ai-chat-place-${t.key}`,onClick:()=>ce(t),className:O(`grid w-full grid-cols-[16px_minmax(0,1fr)_16px] items-center gap-2.5 rounded-md border-0 bg-transparent px-2 py-[7px] text-left text-fg-secondary`,`focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-(--color-border-focus)`,t.withheld?`cursor-not-allowed text-fg-muted opacity-55`:`hover:bg-(--color-bg-elevated-hover) focus-visible:bg-(--color-bg-elevated-hover)`),children:[/* @__PURE__ */ (0,q.jsx)(i,{"aria-hidden":`true`,className:`size-3.5 text-fg-secondary`}),/* @__PURE__ */ (0,q.jsxs)(`span`,{className:`min-w-0`,children:[/* @__PURE__ */ (0,q.jsx)(`b`,{className:`block truncate text-body-sm font-medium text-fg-primary`,children:t.title}),/* @__PURE__ */ (0,q.jsx)(`small`,{className:`block text-caption leading-[1.4] text-fg-muted`,children:t.detail})]}),/* @__PURE__ */ (0,q.jsx)(Be,{"aria-hidden":`true`,className:O(`size-3.5 text-(--color-primary-text)`,!n&&`invisible`)})]},t.key)},fe=c===`setting`?/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,className:O(`qa-ai-chat-set qa-ai-chat-set--place`,te&&`qa-ai-chat-set--gone`),"aria-describedby":b?v:void 0,disabled:l,"data-place":t.kind,"data-testid":`ai-chat-place-chip`,children:[/* @__PURE__ */ (0,q.jsx)(x,{"aria-hidden":`true`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`qa-ai-chat-set-value`,children:ne})]}):/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,className:`${kt(te?`error`:null)} whitespace-nowrap`,"aria-label":a.chipLabel(ne),"aria-describedby":b?v:void 0,disabled:l,"data-place":t.kind,"data-testid":`ai-chat-place-chip`,children:[/* @__PURE__ */ (0,q.jsx)(x,{"aria-hidden":`true`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`truncate`,children:ne}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:He,"aria-hidden":`true`,children:/* @__PURE__ */ (0,q.jsx)(it,{})})]});return/* @__PURE__ */ (0,q.jsxs)(q.Fragment,{children:[/* @__PURE__ */ (0,q.jsx)(nf,{title:a.name,titleVisible:!1,trigger:fe,triggerTooltip:c===`setting`?{content:a.chipLabel(ne),relationship:`label`}:{content:a.title,relationship:`description`},open:y,onOpenChange:e=>{e&&!u&&i(),d(e&&!l)},side:`top`,collisionAvoidance:Qd,...ee===null?{}:{positionAnchor:ee,collisionBoundary:uf(ee)},initialFocusRef:_,className:ee===null?af:of,"data-testid":`ai-chat-place-popover`,children:/* @__PURE__ */ (0,q.jsxs)(`div`,{className:`flex flex-col`,children:[o&&/* @__PURE__ */ (0,q.jsxs)(`div`,{"aria-hidden":`true`,className:`flex items-baseline justify-between gap-2 px-2 py-1.5`,children:[/* @__PURE__ */ (0,q.jsx)(`b`,{className:`text-xs font-semibold tracking-[-0.1px] text-fg-primary`,children:a.name}),/* @__PURE__ */ (0,q.jsx)(`small`,{className:`text-caption text-fg-muted`,children:a.note})]}),/* @__PURE__ */ (0,q.jsxs)(`div`,{role:`radiogroup`,"aria-label":a.name,className:`flex flex-col gap-px`,onKeyDown:le,children:[de(w),/* @__PURE__ */ (0,q.jsx)(`div`,{"aria-hidden":`true`,className:df}),/* @__PURE__ */ (0,q.jsxs)(`div`,{className:`flex max-h-60 flex-col gap-px overflow-y-auto`,"data-testid":`ai-chat-place-runners`,children:[ie.map(de),ue&&/* @__PURE__ */ (0,q.jsx)(`div`,{className:`flex items-center gap-2 px-2 py-[7px] pl-[34px] text-caption text-fg-muted`,"data-testid":`ai-chat-place-fleet-state`,children:/* @__PURE__ */ (0,q.jsx)(`span`,{children:a.fleetLoading})}),n.status===`failed`&&/* @__PURE__ */ (0,q.jsx)(je,{tone:`error`,error:n.error,title:a.fleetFailed,onRetry:i,retrying:n.retrying,line:!0,"data-testid":`ai-chat-place-fleet-state`}),n.status===`ready`&&n.runners.length===0&&/* @__PURE__ */ (0,q.jsx)(je,{tone:`empty`,icon:/* @__PURE__ */ (0,q.jsx)(ye,{"aria-hidden":`true`}),title:a.fleetEmpty,line:!0,"data-testid":`ai-chat-place-fleet-state`}),ae.length>0&&/* @__PURE__ */ (0,q.jsxs)(q.Fragment,{children:[/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,"aria-expanded":oe,"aria-controls":g,onClick:()=>h(!oe),"data-testid":`ai-chat-place-others`,className:`grid w-full cursor-pointer grid-cols-[16px_minmax(0,1fr)] items-center gap-2.5 rounded-md border-0 bg-transparent px-2 py-[7px] text-left text-caption font-medium text-fg-muted hover:bg-(--color-bg-elevated-hover) hover:text-fg-secondary focus-visible:bg-(--color-bg-elevated-hover) focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-(--color-border-focus)`,children:[/* @__PURE__ */ (0,q.jsx)(st,{"aria-hidden":`true`,className:O(`size-3.5 transition-transform duration-(--motion-short) ease-(--ease-out)`,oe&&`rotate-90`)}),/* @__PURE__ */ (0,q.jsx)(`span`,{children:a.othersGroup(ae.length)})]}),/* @__PURE__ */ (0,q.jsx)(`div`,{id:g,className:`flex flex-col gap-px`,hidden:!oe,children:oe&&ae.map(de)})]})]}),/* @__PURE__ */ (0,q.jsx)(`div`,{"aria-hidden":`true`,className:df}),de(re)]})]})}),b&&/* @__PURE__ */ (0,q.jsx)(`p`,{id:v,role:`status`,className:c===`setting`?`qa-ai-chat-sets-note`:`qa-ai-chat-place-gone m-0 flex items-start gap-1.5 text-caption leading-[1.45] text-(--color-error-text)`,"data-testid":`ai-chat-place-gone`,children:a.runnerGoneHint}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,children:se===void 0?``:a.chipLabel(se.title)})]})}var gf={completed:{order:0,progressTone:`success`,runStatus:`passed`,labelKey:`makeAutoQueue.itemStatus.completed`,legendKey:`makeAutoQueue.legend.completed`},failed:{order:1,progressTone:`error`,runStatus:`failed`,labelKey:`makeAutoQueue.itemStatus.failed`,legendKey:`makeAutoQueue.legend.failed`},skipped:{order:2,progressTone:`warning`,runStatus:`skipped`,labelKey:`makeAutoQueue.itemStatus.skipped`,legendKey:`makeAutoQueue.legend.skipped`},cancelled:{order:3,progressTone:`muted`,runStatus:`cancelled`,labelKey:`makeAutoQueue.itemStatus.cancelled`,legendKey:`makeAutoQueue.legend.cancelled`},running:{order:4,progressTone:`running`,runStatus:`running`,labelKey:`makeAutoQueue.itemStatus.running`,legendKey:`makeAutoQueue.legend.running`},awaiting_answer:{order:5,progressTone:`warning`,runStatus:`queued`,labelKey:`makeAutoQueue.itemStatus.awaiting_answer`,legendKey:`makeAutoQueue.legend.awaiting_answer`},queued:{order:6,progressTone:`info`,runStatus:`queued`,labelKey:`makeAutoQueue.itemStatus.queued`,legendKey:`makeAutoQueue.legend.queued`}};[...Sn].sort((e,t)=>gf[e].order-gf[t].order);var _f={already_queued:`makeAutoQueue.itemReason.already_queued`,no_steps:`makeAutoQueue.itemReason.no_steps`,binding_not_needed:`makeAutoQueue.itemReason.binding_not_needed`,ai_unavailable:`makeAutoQueue.itemReason.ai_unavailable`,test_run_open:`makeAutoQueue.itemReason.test_run_open`,scenario_busy:`makeAutoQueue.itemReason.scenario_busy`,scenario_not_found:`makeAutoQueue.itemReason.scenario_not_found`,needs_device_executor:`makeAutoQueue.itemReason.needs_device_executor`,run_failed:`makeAutoQueue.itemReason.run_failed`,launch_refused:`makeAutoQueue.itemReason.launch_refused`,executor_lost:`makeAutoQueue.itemReason.executor_lost`,server_error:`makeAutoQueue.itemReason.server_error`,cancelled_by_user:`makeAutoQueue.itemReason.cancelled_by_user`},vf={admin_disabled:`makeAutoQueue.aiUnavailableCause.admin_disabled`,credits_exhausted:`makeAutoQueue.aiUnavailableCause.credits_exhausted`,personal_limit_reached:`makeAutoQueue.aiUnavailableCause.personal_limit_reached`,model_unavailable:`makeAutoQueue.aiUnavailableCause.model_unavailable`};function yf(e,t){let n=e(_f[t.reason]);return t.reason===`ai_unavailable`?e(`makeAutoQueue.reasonWithCause`,{reason:n,cause:e(vf[t.aiUnavailableCause])}):n}var bf={success:`text-(--color-success-text)`,muted:`text-fg-muted`,error:`text-(--color-error-text)`};function xf({admissions:e,className:t,"data-testid":n}){let{t:r}=E(),{rows:i,error:a,retrying:o,reload:s}=e;if(a!==null&&i===null)return/* @__PURE__ */ (0,q.jsx)(je,{tone:`error`,headingLevel:4,error:a,title:r(`makeAutoQueue.admission.failedTitle`),onRetry:s,retrying:o,className:t,"data-testid":n});if(i===null)return/* @__PURE__ */ (0,q.jsx)(`p`,{role:`status`,className:O(`m-0 text-caption text-fg-muted`,t),"data-testid":n,children:r(`makeAutoQueue.admission.loading`)});let c=i.filter(e=>e.admission.outcome===`admitted`),l=i.filter(e=>e.admission.outcome===`skipped`),u=i.filter(e=>e.admission.outcome===`rejected`);return/* @__PURE__ */ (0,q.jsxs)(`div`,{className:O(`flex flex-col gap-3`,t),"data-testid":n,children:[/* @__PURE__ */ (0,q.jsx)(Sf,{tone:`success`,icon:/* @__PURE__ */ (0,q.jsx)(Be,{"aria-hidden":`true`}),title:r(`makeAutoQueue.admission.admittedTitle`,{count:c.length}),rows:c,empty:r(`makeAutoQueue.admission.admittedEmpty`),group:`admitted`}),/* @__PURE__ */ (0,q.jsx)(Sf,{tone:`muted`,icon:/* @__PURE__ */ (0,q.jsx)(Wt,{"aria-hidden":`true`}),title:r(`makeAutoQueue.admission.skippedTitle`,{count:l.length}),rows:l,empty:null,group:`skipped`}),/* @__PURE__ */ (0,q.jsx)(Sf,{tone:`error`,icon:/* @__PURE__ */ (0,q.jsx)(Pe,{"aria-hidden":`true`}),title:r(`makeAutoQueue.admission.rejectedTitle`,{count:u.length}),rows:u,empty:null,group:`rejected`})]})}function Sf({tone:e,icon:t,title:n,rows:r,empty:i,group:a}){let o=r.length>0?/* @__PURE__ */ (0,q.jsx)(`ul`,{className:`m-0 flex max-h-40 list-none flex-col gap-1 overflow-y-auto p-0 [scrollbar-width:thin]`,children:r.map(e=>/* @__PURE__ */ (0,q.jsx)(Cf,{row:e},e.admission.position))}):i===null?null:/* @__PURE__ */ (0,q.jsx)(je,{tone:`empty`,headingLevel:4,icon:/* @__PURE__ */ (0,q.jsx)(_r,{"aria-hidden":`true`}),title:i});return o===null?null:/* @__PURE__ */ (0,q.jsxs)(`section`,{className:`flex flex-col gap-1.5`,"data-admission-group":a,children:[/* @__PURE__ */ (0,q.jsxs)(`h3`,{className:O(`m-0 flex items-center gap-1.5 text-caption font-semibold [&_svg]:size-[13px] [&_svg]:shrink-0`,bf[e]),children:[t,n]}),o]})}function Cf({row:e}){let{t}=E(),{admission:n}=e,r=n.outcome===`skipped`?yf(t,n):n.outcome===`rejected`&&e.name!==null?t(`makeAutoQueue.admission.rejected`):null;return/* @__PURE__ */ (0,q.jsxs)(`li`,{"data-scenario-id":e.scenarioId,className:`flex flex-col gap-0.5 rounded-md bg-surface-hover-layer px-3 py-1.5`,children:[/* @__PURE__ */ (0,q.jsx)(`span`,{className:`text-xs text-fg-primary`,children:e.name===null?t(`makeAutoQueue.admission.rejected`):e.name}),r!==null&&/* @__PURE__ */ (0,q.jsx)(`span`,{className:`text-caption text-fg-muted`,children:r})]})}var wf={normal:1,thinking:2,max:3},Tf=[`h-[5px]`,`h-2`,`h-[11px]`],Ef=[``,`[animation-delay:40ms]`,`[animation-delay:80ms]`];function Df({level:e,look:t,rise:n=!1,className:r}){return/* @__PURE__ */ (0,q.jsx)(`span`,{"aria-hidden":`true`,className:O(`inline-flex flex-none items-end`,t===`line`?`h-3 gap-[1.5px]`:`h-[11px] gap-0.5`,r),children:Tf.map((r,i)=>{let a=i<e;return/* @__PURE__ */ (0,q.jsx)(`i`,{className:O(`w-[3px] origin-bottom rounded-[1px]`,r,!a&&t!==`line`&&`bg-current opacity-25`,!a&&t===`line`&&`bg-(--color-text-disabled)`,a&&t===`line`&&`bg-(--color-primary-text)`,a&&t===`quiet`&&`bg-current opacity-70`,a&&t===`lit`&&`bg-primary`,a&&t===`lit`&&n&&`[animation:var(--animation-effort-rise)]`,a&&t===`lit`&&n&&Ef[i])},r)})})}var Of=[`normal`,`thinking`,`max`];function kf({effort:e,onChoose:t,copy:n,look:r,disabled:i=!1}){let[a,o]=(0,K.useState)(!1),[s,c]=(0,K.useState)(null),l=(0,K.useRef)(null),u=cf(),d=a&&!i,f=n.chipLabel(n.levels[e]),p=s===e?f:``,m=e=>{t(e),c(e)},h=e=>{let t=[...e.currentTarget.querySelectorAll(`[role="radio"]`)],n=t.findIndex(e=>e===document.activeElement),r=n=>{let r=t[n];if(r===void 0)return;e.preventDefault(),r.focus();let i=r.dataset.value,a=Of.find(e=>e===i);a!==void 0&&m(a)};switch(e.key){case`ArrowDown`:case`ArrowRight`:r((n+1)%t.length);break;case`ArrowUp`:case`ArrowLeft`:r((n-1+t.length)%t.length);break;case`Home`:r(0);break;case`End`:r(t.length-1)}},g=r===`setting`?/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,className:`qa-ai-chat-set`,"aria-label":f,disabled:i,"data-effort":e,"data-testid":`ai-chat-effort-chip`,children:[/* @__PURE__ */ (0,q.jsx)(Df,{level:wf[e],look:`line`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`qa-ai-chat-set-value`,children:n.levels[e]})]}):/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,className:`${kt(null)} whitespace-nowrap`,"aria-label":f,disabled:i,"data-effort":e,"data-testid":`ai-chat-effort-chip`,children:[/* @__PURE__ */ (0,q.jsx)(Df,{level:wf[e],look:`lit`,className:`w-3.5 justify-center`}),/* @__PURE__ */ (0,q.jsx)(`span`,{children:n.levels[e]}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:He,"aria-hidden":`true`,children:/* @__PURE__ */ (0,q.jsx)(it,{})})]});return/* @__PURE__ */ (0,q.jsxs)(q.Fragment,{children:[/* @__PURE__ */ (0,q.jsx)(nf,{title:n.name,titleVisible:!1,trigger:g,open:d,onOpenChange:e=>o(e&&!i),side:`top`,collisionAvoidance:Qd,...u===null?{}:{positionAnchor:u,collisionBoundary:uf(u)},initialFocusRef:l,className:u===null?af:of,"data-testid":`ai-chat-effort-popover`,children:/* @__PURE__ */ (0,q.jsxs)(`div`,{className:`flex flex-col`,children:[/* @__PURE__ */ (0,q.jsxs)(`div`,{"aria-hidden":`true`,className:`flex items-baseline justify-between gap-2 px-2 py-1.5`,children:[/* @__PURE__ */ (0,q.jsx)(`b`,{className:`text-xs font-semibold tracking-[-0.1px] text-fg-primary`,children:n.name}),n.note!==null&&/* @__PURE__ */ (0,q.jsx)(`small`,{className:`text-caption text-fg-muted`,children:n.note})]}),/* @__PURE__ */ (0,q.jsx)(`div`,{role:`radiogroup`,"aria-label":n.name,className:`flex flex-col gap-px`,onKeyDown:h,children:Of.map(t=>{let r=e===t;return/* @__PURE__ */ (0,q.jsxs)(`button`,{ref:r?l:void 0,type:`button`,role:`radio`,"aria-checked":r,tabIndex:r?0:-1,"data-value":t,"data-testid":`ai-chat-effort-${t}`,onClick:()=>m(t),className:O(`grid w-full grid-cols-[16px_minmax(0,1fr)_16px] items-center gap-2.5 rounded-md border-0 bg-transparent px-2 py-[7px] text-left text-fg-secondary`,`focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-(--color-border-focus)`,`hover:bg-(--color-bg-elevated-hover) focus-visible:bg-(--color-bg-elevated-hover)`),children:[/* @__PURE__ */ (0,q.jsx)(Df,{level:wf[t],look:r?`lit`:`quiet`}),/* @__PURE__ */ (0,q.jsxs)(`span`,{children:[/* @__PURE__ */ (0,q.jsx)(`b`,{className:`block text-body-sm font-medium text-fg-primary`,children:n.levels[t]}),/* @__PURE__ */ (0,q.jsx)(`small`,{className:`block text-caption leading-[1.4] text-fg-muted`,children:n.rows[t]})]}),/* @__PURE__ */ (0,q.jsx)(Be,{"aria-hidden":`true`,className:O(`size-3.5 text-(--color-primary-text)`,!r&&`invisible`)})]},t)})}),n.footer!==null&&/* @__PURE__ */ (0,q.jsx)(`div`,{className:`mt-1 border-0 border-t border-solid border-(--color-border-light) px-2 pt-2 pb-1 text-caption text-fg-muted`,children:n.footer})]})}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,children:p})]})}function Af(){let{t:e}=E();return{name:e(`launchEffort.label`),note:null,levels:{normal:e(`launchEffort.levels.normal`),thinking:e(`launchEffort.levels.thinking`),max:e(`launchEffort.levels.max`)},rows:{normal:e(`launchEffort.lines.normal`),thinking:e(`launchEffort.lines.thinking`),max:e(`launchEffort.lines.max`)},footer:null,chipLabel:t=>e(`launchEffort.chipLabel`,{level:t})}}var jf={explore_app:xr,find_bugs:ar,create_tests:_r,automate_scenarios:jr,run_scenarios:Tr};function Mf(e,t,n){return{type:`text`,inputMode:`url`,autoComplete:`off`,spellCheck:!1,value:e,onValueChange:t,disabled:n,"data-testid":`launch-address-input`}}function Nf({state:e,disabled:t}){let{t:n}=Cd(),r=e.scope===void 0;return/* @__PURE__ */ (0,q.jsx)(Et,{...Mf(e.value,e.setValue,t||r),label:n(`launchAddress.crawl.label`),placeholder:n(`launchAddress.crawl.placeholder`),...r?{hint:n(`launchAddress.crawl.loadingHint`)}:{}})}function Pf(e,t,n,r){let i=l(t);return n.kind===`create`?e.targets.create(i,{applicationId:rn(n.pair.applicationId),environmentId:n.pair.environmentId,baseUrl:r}):e.targets.update(i,n.target.id,{baseUrl:r,expectedUpdatedAt:n.target.updatedAt})}function Ff(e,t){return e(`launchAddress.pair`,{application:t.applicationName===null?e(`launchAddress.applicationGone`):t.applicationName,environment:t.environmentName===null?e(`launchAddress.environmentGone`):t.environmentName})}var If=`peer m-0 size-3.75 shrink-0 cursor-pointer appearance-none rounded-xs border-(length:--checkbox-border-width) border-solid border-stroke-strong bg-transparent [transition:background-color_var(--motion-short)_var(--ease-out),border-color_var(--motion-short)_var(--ease-out)] hover:not-checked:not-indeterminate:border-primary-400 group-hover/check:not-checked:not-indeterminate:border-primary-400 checked:border-primary checked:bg-primary indeterminate:border-primary indeterminate:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-stroke-focus disabled:cursor-not-allowed disabled:opacity-disabled`,Lf=`pointer-events-none absolute size-2.75 scale-[.6] text-fg-on-accent opacity-0 [transition:opacity_var(--motion-short)_var(--ease-out),scale_var(--motion-medium)_var(--ease-out)]`;function Rf({checked:e,onChange:t,indeterminate:n=!1,disabled:r=!1,label:i,id:a,describedBy:o,...s}){let c=(0,K.useRef)(null);(0,K.useEffect)(()=>{c.current!==null&&(c.current.indeterminate=n)});let l=/* @__PURE__ */ (0,q.jsxs)(`span`,{className:`relative inline-grid size-3.75 shrink-0 place-items-center`,children:[/* @__PURE__ */ (0,q.jsx)(`input`,{ref:c,type:`checkbox`,id:a,checked:e,disabled:r,"aria-checked":n?`mixed`:void 0,"aria-label":s[`aria-label`],"aria-describedby":o,"data-testid":s[`data-testid`],onChange:e=>t(e.target.checked),className:If}),n?/* @__PURE__ */ (0,q.jsx)(Sr,{"aria-hidden":`true`,strokeWidth:3,className:O(Lf,`peer-indeterminate:scale-100 peer-indeterminate:opacity-100`)}):/* @__PURE__ */ (0,q.jsx)(Be,{"aria-hidden":`true`,strokeWidth:3,className:O(Lf,`peer-checked:scale-100 peer-checked:opacity-100`)})]});return i===void 0?l:/* @__PURE__ */ (0,q.jsxs)(`label`,{className:O(`group/check inline-flex select-none items-center gap-2.5 text-body-sm text-fg-primary`,r?`cursor-not-allowed`:`cursor-pointer`),children:[l,i]})}function zf({checked:e,onChange:t,pairLabel:n,plan:r,disabled:i}){let{t:a}=E(),o=(0,K.useId)(),s=e&&r.state===`ok`;return/* @__PURE__ */ (0,q.jsxs)(`div`,{className:`flex flex-col gap-1`,"data-testid":`launch-address-save`,children:[/* @__PURE__ */ (0,q.jsx)(Rf,{checked:e,onChange:t,disabled:i,label:a(`launchAddress.saveAs`,{pair:n}),describedBy:s?o:void 0}),s&&/* @__PURE__ */ (0,q.jsxs)(`p`,{id:o,className:`flex items-center gap-1.5 pl-6 text-[length:var(--text-xs)] text-fg-secondary`,children:[/* @__PURE__ */ (0,q.jsx)(Be,{size:12,className:`shrink-0 text-fg-success`,"aria-hidden":`true`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`min-w-0 [overflow-wrap:anywhere]`,children:/* @__PURE__ */ (0,q.jsx)(ge,{i18nKey:`launchAddress.willSaveAs`,values:{baseUrl:r.baseUrl},components:{mono:/* @__PURE__ */ (0,q.jsx)(`span`,{className:`font-mono text-fg-primary`})}})})]})]})}function Bf({projectId:e,cell:t,children:n,testId:r}){return/* @__PURE__ */ (0,q.jsx)(Ae,{target:{kind:`environment-addresses`,projectRef:l(e),...t===void 0?{}:{cell:{applicationId:t.applicationId,environmentId:t.environmentId}}},placement:`same-tab`,className:`rounded-(--radius-sm) font-medium text-fg-link underline-offset-2 hover:underline focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary/40`,"data-testid":r,children:n})}function Vf(e){let t=l(e),n=d({projectId:t},{previousErrorWhileRetrying:!0}),r=ot({projectId:t},{previousErrorWhileRetrying:!0}),i=n.data,a=r.data,o=(0,K.useMemo)(()=>i===void 0||a===void 0?void 0:{applications:i,targets:a},[i,a]),s=n.error===null?r.error:n.error,c=n.reload,u=r.reload,f=n.error!==null,p=r.error!==null;return{data:o,loading:o===void 0&&s===null&&(n.loading||r.loading),error:s,retrying:n.retrying||r.retrying,reload:()=>{let e=!f&&!p;(e||f)&&c(),(e||p)&&u()}}}function Hf(e,t,n,r){let i=e.applications.find(e=>e.id===n),a=t.find(e=>e.id===r);return{applicationId:n,environmentId:r,applicationName:i===void 0?null:i.name,environmentName:a===void 0?null:a.name}}function Uf(e,t,n){if(n.kind===`cell_missing`)return{kind:`create`,pair:Hf(e,t,n.applicationId,n.environmentId)};if(n.kind===`address_required`){let r=e.targets.find(e=>e.id===n.targetId);return r===void 0?null:{kind:`patch`,pair:Hf(e,t,r.applicationId,r.environmentId),target:r}}return null}function Wf({state:e,projectId:t,catalog:n,namesLoading:r,environments:i,disabled:a}){let o=Cd(),{t:s}=o,c=Mf(e.value,e.setValue,a);if(e.refusal!==null&&e.refusal.kind===`not_configured`)return/* @__PURE__ */ (0,q.jsx)(je,{tone:`empty`,headingLevel:4,icon:/* @__PURE__ */ (0,q.jsx)(Xe,{"aria-hidden":`true`}),title:s(`launchAddress.notConfigured.title`),description:s(`launchAddress.notConfigured.body`),primary:{label:s(`launchAddress.openAddresses`),render:/* @__PURE__ */ (0,q.jsx)(Ae,{target:{kind:`environment-addresses`,projectRef:l(t)},placement:`same-tab`,"data-testid":`launch-address-not-configured-link`})},"data-testid":`launch-address-not-configured`});if(e.isLoading||r)return/* @__PURE__ */ (0,q.jsx)(we,{className:`h-10 w-full`,label:s(`common.loading`)});let u=e.refusedCell;if(u!==null){let n=Ff(s,u.pair);return/* @__PURE__ */ (0,q.jsxs)(`div`,{className:`flex flex-col gap-2`,"data-testid":`run-entry-url-missing`,children:[/* @__PURE__ */ (0,q.jsx)(Et,{...c,label:s(`runEntryUrl.labelFor`,{pair:n}),placeholder:s(`runEntryUrl.placeholder`),error:Yf(o,e),hint:Jf(s,u)}),/* @__PURE__ */ (0,q.jsx)(zf,{checked:e.saveChecked,onChange:e.setSaveChecked,pairLabel:n,plan:e.savePlan,disabled:a}),/* @__PURE__ */ (0,q.jsx)(`p`,{className:`text-[length:var(--text-xs)] text-fg-muted`,children:/* @__PURE__ */ (0,q.jsx)(Bf,{projectId:t,cell:{applicationId:u.pair.applicationId,environmentId:u.pair.environmentId},testId:`run-entry-url-open-cell`,children:s(`launchAddress.openCell`,{pair:n})})})]})}let d=e.defaultApplicationNote;if(d!==null)return/* @__PURE__ */ (0,q.jsx)(`div`,{className:`flex flex-col gap-2`,"data-testid":`run-entry-url-default-missing`,children:/* @__PURE__ */ (0,q.jsx)(Et,{...c,label:s(`runEntryUrl.labelFor`,{pair:Ff(s,d.pair)}),placeholder:s(`runEntryUrl.placeholder`),hint:qf(s,d)})});let f=Kf(e,n,i);return/* @__PURE__ */ (0,q.jsx)(Et,{...c,label:f===null?s(`runEntryUrl.label`):s(`runEntryUrl.labelFor`,{pair:Ff(s,f)}),placeholder:s(`runEntryUrl.placeholder`),error:e.read.status===`error`?Od(o,e.read.error,`runEntryUrl.errors.load`):void 0,hint:Gf(s,e,f)})}function Gf(e,t,n){return t.source===`scenario`&&t.read.status===`resolved`?e(`runEntryUrl.hintScenario`):n===null?t.refusal===null?e(`runEntryUrl.hintUnnamed`):e(t.refusal.kind===`cell_missing`?`apiErrors.targets.cell_missing`:`apiErrors.targets.address_required`):e(`runEntryUrl.hintBatch`,{application:n.applicationName===null?e(`launchAddress.applicationGone`):n.applicationName})}function Kf(e,t,n){if(e.read.status!==`resolved`||t===void 0||n===null)return null;let{applicationId:r,environmentId:i}=e.read.address;return Hf(t,n,r,i)}function qf(e,t){let n=t.pair.applicationName===null?e(`launchAddress.applicationGone`):t.pair.applicationName,r=t.pair.environmentName===null?e(`launchAddress.environmentGone`):t.pair.environmentName;return t.kind===`patch`&&t.target.hostPattern!==null?e(`launchAddress.defaultPatternOnly`,{application:n,environment:r,pattern:t.target.hostPattern}):e(`launchAddress.defaultMissing`,{application:n,environment:r})}function Jf(e,t){let n=t.pair.applicationName===null?e(`launchAddress.applicationGone`):t.pair.applicationName,r=t.pair.environmentName===null?e(`launchAddress.environmentGone`):t.pair.environmentName;return t.kind===`create`||t.target.hostPattern===null?e(`launchAddress.cellMissing`,{application:n,environment:r}):e(`launchAddress.addressRequired`,{application:n,environment:r,pattern:t.target.hostPattern})}function Yf(e,t){let{t:n}=e;if(t.saveError!==null)return Od(e,t.saveError,`launchAddress.errors.save`);if(t.saveChecked&&t.savePlan.state===`invalid`)return n(`environments.addresses.errors.baseUrl.${t.savePlan.reason}`)}var Xf={projectDefault:`agentRunDispatch.environmentHint`,concrete:`launchAddress.environment.variablesHint`},Zf={projectDefault:`agentRunDispatch.errors.environmentsLoad`,concrete:`launchAddress.environment.loadError`};function Qf({state:e,disabled:t,onAddressEdit:n}){let{t:r}=Cd(),{environment:i,catalog:a,address:o,projectId:s}=e,c=e=>{o.setValue(e),n!==void 0&&n()},l=o.kind===`entryUrl`&&o.refusal!==null&&o.refusal.kind===`not_configured`,u=i.loadError!==null;return/* @__PURE__ */ (0,q.jsxs)(q.Fragment,{children:[/* @__PURE__ */ (0,q.jsx)($f,{environment:i,disabled:t,loadErrorTitle:r(Zf[i.mode])}),/* @__PURE__ */ (0,q.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[a.error!==null&&!l&&/* @__PURE__ */ (0,q.jsx)(je,{tone:`error`,headingLevel:4,error:a.error,title:r(`launchAddress.errors.catalogLoad`),onRetry:a.reload,retrying:a.retrying}),o.kind===`crawlStart`&&o.scopeError!==null&&/* @__PURE__ */ (0,q.jsx)(je,{tone:`error`,headingLevel:4,error:o.scopeError,title:r(`launchAddress.crawl.scopeLoad`),onRetry:o.reloadScope,retrying:o.scopeRetrying}),o.kind===`crawlStart`?/* @__PURE__ */ (0,q.jsx)(Nf,{state:{...o,setValue:c},disabled:t}):/* @__PURE__ */ (0,q.jsx)(Wf,{state:{...o,setValue:c},projectId:s,catalog:a.data,namesLoading:a.data===void 0&&a.error===null||i.environments===void 0&&!u,environments:i.environments===void 0?null:i.environments,disabled:t})]})]})}function $f({environment:e,disabled:t,loadErrorTitle:n}){let{t:r}=Cd();return/* @__PURE__ */ (0,q.jsxs)(q.Fragment,{children:[e.loadError!==null&&/* @__PURE__ */ (0,q.jsx)(je,{tone:`error`,headingLevel:4,error:e.loadError,title:n,onRetry:e.reload,retrying:e.loadRetrying}),e.missingHint!==null&&/* @__PURE__ */ (0,q.jsx)(ct,{tone:`warning`,title:e.missingHint}),e.shown&&/* @__PURE__ */ (0,q.jsx)(Bt,{label:r(`agentRunDispatch.environmentLabel`),options:e.options,value:e.value,onValueChange:e.setValue,disabled:t,hint:r(Xf[e.mode]),"data-testid":`launch-environment`})]})}function ep(){return/* @__PURE__ */ (0,q.jsx)(`span`,{className:He,"aria-hidden":`true`,children:/* @__PURE__ */ (0,q.jsx)(it,{})})}function tp({icon:e,title:t,hint:n,checked:r,disabled:i=!1,onSelect:a,testId:o}){let s=(0,K.useId)();return/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":r,"aria-disabled":i||void 0,"aria-describedby":n===void 0?void 0:s,onClick:i?void 0:a,"data-testid":o,className:O(`flex w-full items-center gap-3 rounded-md border-0 bg-transparent px-3 py-2 text-left text-xs text-fg-primary`,`focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-stroke-focus`,i?`cursor-not-allowed opacity-(--opacity-inert)`:`cursor-pointer hover:bg-surface-hover-layer focus-visible:bg-surface-hover-layer`,r&&`bg-(--color-bg-primary-tint)`),children:[/* @__PURE__ */ (0,q.jsx)(e,{"aria-hidden":`true`,className:`size-4 shrink-0 text-fg-muted`}),/* @__PURE__ */ (0,q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[/* @__PURE__ */ (0,q.jsx)(`span`,{className:`block truncate`,children:t}),n!==void 0&&/* @__PURE__ */ (0,q.jsx)(`small`,{id:s,className:`block text-caption text-fg-muted`,children:n})]}),r&&/* @__PURE__ */ (0,q.jsx)(Be,{"aria-hidden":`true`,className:`size-4 shrink-0 text-(--color-primary-text)`})]})}function np({children:e}){return/* @__PURE__ */ (0,q.jsx)(`div`,{className:`px-3 pt-2 pb-1 text-caption text-fg-muted`,children:e})}function rp(){return/* @__PURE__ */ (0,q.jsx)(`div`,{"aria-hidden":`true`,className:`my-1 h-px bg-stroke-light`})}function ip({children:e}){return/* @__PURE__ */ (0,q.jsx)(`div`,{className:`px-3 py-2 text-xs text-fg-muted`,children:e})}function ap(e){try{return new URL(e).host}catch{return e}}function op(e,t){try{return new URL(e).href===new URL(t).href}catch{return!1}}function sp(e,t){if(t===null)return null;let n=e.find(e=>e.value===t);if(n===void 0)throw Error(`Environment ${t} is not among the picker's options`);return n.label}function cp(e,t,n){let r=[];for(let i of e.applications)for(let a of t){let o=e.targets.find(e=>e.applicationId===i.id&&e.environmentId===a.id);if(o===void 0||o.baseUrl===null)continue;let s=Hf(e,t,i.id,a.id);r.push({targetId:o.id,environmentId:a.id,application:s.applicationName===null?n:s.applicationName,environment:a.name,url:o.baseUrl})}return r}function lp({state:e}){let{t}=E(),[n,r]=(0,K.useState)(`closed`),{environment:i,address:a,catalog:o}=e.address,s=sp(i.options,i.value),c=a.value.trim()===``,l=o.data===void 0||i.environments===void 0?null:cp(o.data,i.environments,t(`launchAddress.applicationGone`)),u=l===null||c?void 0:l.find(e=>e.environmentId===i.value&&op(e.url,a.value)),d=i.missingHint===null?i.loadError!==null||a.scopeError!==null?t(`launchAddress.environment.loadError`):i.environments===void 0||a.block===`unread`?t(`taskForm.address.loading`):u===void 0?s===null?ap(a.value):c?t(`taskForm.address.missing`,{environment:s}):t(`taskForm.address.pair`,{environment:s,host:ap(a.value)}):t(`taskForm.address.cell`,{application:u.application,environment:u.environment}):i.missingHint,f=e=>{i.setValue(e.environmentId),a.setValueFor(e.environmentId,e.url),r(`closed`)};return/* @__PURE__ */ (0,q.jsx)(nf,{side:`top`,collisionAvoidance:Qd,title:t(n===`custom`?`taskForm.address.panelLabel`:`taskForm.address.menuLabel`),open:n!==`closed`,onOpenChange:e=>r(e?`menu`:`closed`),trapFocus:!0,className:n===`custom`?`w-[420px] max-w-[calc(100vw-32px)] gap-3`:`w-[340px] max-w-[calc(100vw-32px)] p-1`,"data-testid":n===`custom`?`task-form-address-panel`:`task-form-address-menu`,trigger:/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,className:kt(null),"aria-label":t(`taskForm.address.label`,{address:d}),disabled:e.held||e.locked===!0,"data-testid":`task-form-address`,children:[/* @__PURE__ */ (0,q.jsx)(Xe,{"aria-hidden":`true`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`truncate`,children:d}),/* @__PURE__ */ (0,q.jsx)(ep,{})]}),children:n===`custom`?/* @__PURE__ */ (0,q.jsx)(`div`,{className:`flex flex-col gap-3`,children:/* @__PURE__ */ (0,q.jsx)(Qf,{state:e.address,disabled:e.held})}):/* @__PURE__ */ (0,q.jsxs)(`div`,{role:`radiogroup`,"aria-label":t(`taskForm.address.menuLabel`),className:`flex flex-col`,children:[i.loadError!==null||o.error!==null?/* @__PURE__ */ (0,q.jsx)(je,{tone:`error`,line:!0,...i.loadError===null?{error:o.error,title:t(`launchAddress.errors.catalogLoad`)}:{error:i.loadError,title:t(`launchAddress.environment.loadError`)},retrying:i.loadRetrying||o.retrying,onRetry:()=>{o.error!==null&&o.reload(),i.loadError!==null&&i.reload()}}):l===null?/* @__PURE__ */ (0,q.jsx)(ip,{children:t(`taskForm.address.loading`)}):l.map(e=>/* @__PURE__ */ (0,q.jsx)(tp,{icon:Xe,title:t(`taskForm.address.cell`,{application:e.application,environment:e.environment}),hint:ap(e.url),checked:(u==null?void 0:u.targetId)===e.targetId,onSelect:()=>f(e),testId:`task-form-address-cell-${e.targetId}`},e.targetId)),/* @__PURE__ */ (0,q.jsx)(rp,{}),/* @__PURE__ */ (0,q.jsx)(tp,{icon:Tt,title:t(`taskForm.address.custom`),checked:!1,onSelect:()=>r(`custom`),testId:`task-form-address-custom`})]})})}var up=`font-mono!`,dp=`bg-(--color-warning-bg)! text-fg-primary! shadow-[inset_0_0_0_1px_var(--color-border-warning)]! [&_svg]:text-(--color-warning-text)`;function fp({login:e,disabled:t}){let{t:n}=E(),{variables:r,chosen:i}=e,a=r.kind===`ready`?r.variables:[],o=new Set(a.map(e=>e.name)),s=r.kind===`ready`?i.filter(e=>!o.has(e)):[];return/* @__PURE__ */ (0,q.jsxs)(`div`,{role:`group`,"aria-label":n(`taskForm.login.label`),className:`flex flex-wrap items-center gap-1.5 text-caption text-fg-muted`,"data-testid":`task-form-login`,children:[/* @__PURE__ */ (0,q.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 pr-1`,children:[/* @__PURE__ */ (0,q.jsx)(hr,{"aria-hidden":`true`,className:`size-3.5 shrink-0`}),n(`taskForm.login.lead`)]}),r.kind===`no_environment`&&/* @__PURE__ */ (0,q.jsx)(je,{tone:`empty`,line:!0,icon:/* @__PURE__ */ (0,q.jsx)(Xe,{"aria-hidden":`true`}),title:n(`taskForm.login.noEnvironment`)}),r.kind===`reading`&&/* @__PURE__ */ (0,q.jsx)(`span`,{children:n(`taskForm.login.reading`)}),r.kind===`failed`&&/* @__PURE__ */ (0,q.jsx)(je,{tone:`error`,headingLevel:4,className:`basis-full`,error:r.error,title:n(`taskForm.login.failed`),onRetry:r.retry,retrying:r.retrying}),r.kind===`ready`&&a.length===0&&s.length===0&&/* @__PURE__ */ (0,q.jsx)(je,{tone:`empty`,line:!0,icon:/* @__PURE__ */ (0,q.jsx)(Ar,{"aria-hidden":`true`}),title:n(`taskForm.login.empty`)}),a.map(r=>{let a=i.includes(r.name);return/* @__PURE__ */ (0,q.jsxs)(wt,{pressed:a,disabled:t,onClick:()=>e.toggle(r.name,!a),"data-testid":`task-form-login-${r.name}`,className:up,children:[r.isSecret&&/* @__PURE__ */ (0,q.jsx)(br,{"aria-label":n(`taskForm.login.secret`)}),r.name]},r.name)}),s.map(r=>/* @__PURE__ */ (0,q.jsxs)(wt,{pressed:!0,disabled:t,onClick:()=>e.toggle(r,!1),"data-testid":`task-form-login-gone-${r}`,icon:/* @__PURE__ */ (0,q.jsx)(Pe,{}),className:O(up,dp),children:[r,/* @__PURE__ */ (0,q.jsx)(`span`,{className:`sr-only`,children:n(`taskForm.login.gone`)})]},r))]})}var pp={text:Xt,auto:jr};function mp({value:e,onChange:t,disabled:n}){let{t:r}=E(),[i,a]=(0,K.useState)(!1),o=r(e===null?`taskForm.scenarioKind.unset`:`taskForm.scenarioKind.short.${e}`),s=e===null?Xt:pp[e];return/* @__PURE__ */ (0,q.jsx)(nf,{side:`top`,collisionAvoidance:Qd,title:r(`taskForm.scenarioKind.menuLabel`),open:i,onOpenChange:a,className:`w-[340px] max-w-[calc(100vw-32px)] p-1`,"data-testid":`task-form-scenario-kind-menu`,trigger:/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,className:kt(e===null?`warning`:null),"aria-label":r(`taskForm.scenarioKind.label`,{kind:o}),disabled:n,"data-testid":`task-form-scenario-kind`,"data-unset":e===null||void 0,children:[/* @__PURE__ */ (0,q.jsx)(s,{"aria-hidden":`true`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`truncate`,children:r(`taskForm.scenarioKind.chip`,{kind:o})}),/* @__PURE__ */ (0,q.jsx)(ep,{})]}),children:/* @__PURE__ */ (0,q.jsx)(`div`,{role:`radiogroup`,"aria-label":r(`taskForm.scenarioKind.menuLabel`),className:`flex flex-col`,children:Tn.map(n=>/* @__PURE__ */ (0,q.jsx)(tp,{icon:pp[n],title:r(`taskForm.scenarioKind.items.${n}`),hint:r(`taskForm.scenarioKind.hints.${n}`),checked:e===n,onSelect:()=>{t(n),a(!1)},testId:`task-form-scenario-kind-${n}`},n))})})}function hp({mode:e,className:t}){switch(e){case`observe`:return/* @__PURE__ */ (0,q.jsx)(dr,{"aria-hidden":`true`,className:t});case`main`:return/* @__PURE__ */ (0,q.jsx)(Cr,{"aria-hidden":`true`,className:t});case`dangerous`:return/* @__PURE__ */ (0,q.jsx)(Pe,{"aria-hidden":`true`,className:t})}}function gp({allowed:e,onToggle:t,disabled:n,captureApi:r,site:i}){let{t:a}=E(),o=e.map(e=>a(`taskForm.allow.short.${e}`)).join(`, `),s=i===null?e.length===0?a(`taskForm.allow.projectOnlyNone`):a(`taskForm.allow.projectOnly`,{list:o}):a(`taskForm.allow.chip`,{site:i.value===null?a(`taskForm.site.unset`):a(`taskForm.site.chip.${i.value}`),project:e.length===0?a(`taskForm.allow.projectNone`):a(`taskForm.allow.project`,{list:o})}),c=i!==null&&i.value===`dangerous`,l=i!==null&&i.value===null||r!==null&&r.checked===null;return/* @__PURE__ */ (0,q.jsxs)(pt,{label:a(`taskForm.allow.menuName`),side:`top`,className:`w-[360px] max-w-[calc(100vw-16px)]`,matchTriggerWidth:!1,trigger:/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,disabled:n,"data-testid":`task-form-allow`,"data-site":i===null||i.value===null?void 0:i.value,"data-unset":l||void 0,className:`${kt(c?`error`:l?`warning`:null)} whitespace-nowrap`,children:[c?/* @__PURE__ */ (0,q.jsx)(Pe,{"aria-hidden":`true`}):/* @__PURE__ */ (0,q.jsx)(br,{"aria-hidden":`true`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`truncate`,children:s}),/* @__PURE__ */ (0,q.jsx)(ep,{})]}),children:[i!==null&&/* @__PURE__ */ (0,q.jsxs)(q.Fragment,{children:[/* @__PURE__ */ (0,q.jsx)(de,{label:a(`taskForm.site.menuLabel`),children:/* @__PURE__ */ (0,q.jsx)(S,{value:i.value,onValueChange:i.onChange,children:xn.map(e=>/* @__PURE__ */ (0,q.jsx)(T,{value:e,label:a(`taskForm.site.menu.${e}`),hint:a(`taskForm.site.hints.${e}`),icon:/* @__PURE__ */ (0,q.jsx)(hp,{mode:e}),...e===`dangerous`?{tone:`danger`}:{},keepOpen:!0,"data-testid":`task-form-site-${e}`},e))})}),c&&/* @__PURE__ */ (0,q.jsx)(_p,{lead:a(`taskForm.site.warnMenuLead`),className:`mx-1 mt-1 mb-2`,children:a(`taskForm.site.warnMenu`)}),/* @__PURE__ */ (0,q.jsx)(xe,{})]}),/* @__PURE__ */ (0,q.jsx)(de,{label:a(`taskForm.allow.menuLabel`),children:jn.map(n=>/* @__PURE__ */ (0,q.jsx)(ce,{label:a(`taskForm.allow.items.${n}`),hint:a(`taskForm.allow.hints.${n}`),checked:e.includes(n),onCheckedChange:e=>t(n,e),"data-testid":`task-form-allow-${n}`},n))}),r!==null&&/* @__PURE__ */ (0,q.jsxs)(q.Fragment,{children:[/* @__PURE__ */ (0,q.jsx)(xe,{}),r.checked===null?/* @__PURE__ */ (0,q.jsx)(de,{label:a(`taskForm.allow.captureApiAsk`),children:/* @__PURE__ */ (0,q.jsxs)(S,{value:null,onValueChange:e=>r.onCheckedChange(e===`record`),children:[/* @__PURE__ */ (0,q.jsx)(T,{value:`record`,label:a(`taskForm.allow.captureApiRecord`),hint:a(`taskForm.allow.captureApiHint`),keepOpen:!0,"data-testid":`task-form-capture-api-record`}),/* @__PURE__ */ (0,q.jsx)(T,{value:`skip`,label:a(`taskForm.allow.captureApiSkip`),keepOpen:!0,"data-testid":`task-form-capture-api-skip`})]})}):/* @__PURE__ */ (0,q.jsx)(ce,{label:a(`taskForm.allow.captureApi`),hint:a(`taskForm.allow.captureApiHint`),checked:r.checked,onCheckedChange:r.onCheckedChange,"data-testid":`task-form-capture-api`})]}),/* @__PURE__ */ (0,q.jsx)(h,{icon:/* @__PURE__ */ (0,q.jsx)(kr,{}),children:a(`taskForm.allow.deleteAlwaysAsks`)})]})}function _p({lead:e,children:t,className:n,"data-testid":r}){return/* @__PURE__ */ (0,q.jsxs)(`p`,{role:`note`,className:O(`m-0 flex items-center gap-2 rounded-md border border-solid border-(--color-border-error-soft) bg-(--color-bg-error-tint-subtle) px-3 py-2 text-xs text-fg-primary animate-(--animation-alert-in) motion-reduce:animate-none`,n),"data-testid":r,children:[/* @__PURE__ */ (0,q.jsx)(Pe,{"aria-hidden":`true`,className:`size-3.5 shrink-0 text-(--color-error-text)`}),/* @__PURE__ */ (0,q.jsxs)(`span`,{className:`min-w-0`,children:[/* @__PURE__ */ (0,q.jsx)(`b`,{className:`font-semibold text-(--color-error-text)`,children:e}),` `,t]})]})}var vp=[`ask`,`bypass`],yp={ask:Vt,bypass:Be};function bp({value:e,onChange:t,disabled:n,failed:r=!1,onRetry:i}){let{t:a}=E();if(e===null)return/* @__PURE__ */ (0,q.jsx)(`button`,{type:`button`,className:kt(null),disabled:!r,onClick:r?i:void 0,children:a(r?`taskForm.mode.readFailed`:`taskForm.mode.reading`)});let o=yp[e];return/* @__PURE__ */ (0,q.jsx)(pt,{label:a(`taskForm.mode.menuLabel`),side:`top`,className:`w-[300px]`,matchTriggerWidth:!1,trigger:/* @__PURE__ */ (0,q.jsxs)(`button`,{type:`button`,disabled:n,"aria-label":a(`taskForm.mode.chipLabel`,{mode:a(`taskForm.mode.${e}`)}),"data-testid":`task-form-mode`,"data-mode":e,className:`${kt(null)} whitespace-nowrap`,children:[/* @__PURE__ */ (0,q.jsx)(o,{"aria-hidden":`true`}),a(`taskForm.mode.${e}`),/* @__PURE__ */ (0,q.jsx)(ep,{})]}),children:/* @__PURE__ */ (0,q.jsx)(S,{value:e,onValueChange:t,children:vp.map(e=>{let t=yp[e];return/* @__PURE__ */ (0,q.jsx)(T,{value:e,label:a(`taskForm.mode.${e}`),hint:a(`taskForm.mode.hints.${e}`),icon:/* @__PURE__ */ (0,q.jsx)(t,{}),"data-testid":`task-form-mode-${e}`},e)})})})}function xp({value:e,onValueChange:n,clearLabel:r,count:i,size:a=`md`,trailing:o,className:s,ref:c,...l}){let u=(0,K.useRef)(null),d=ht();(0,K.useEffect)(()=>{let e=u.current;if(d!==null&&e!==null)return d.registerSearch(e)},[d]);let f=e!==``,p=()=>{var e;n(``),(e=u.current)==null||e.focus()};return/* @__PURE__ */ (0,q.jsxs)(`div`,{className:O(Zt,$e[a],s),children:[/* @__PURE__ */ (0,q.jsx)(`span`,{className:dt,children:/* @__PURE__ */ (0,q.jsx)(t,{"aria-hidden":`true`})}),/* @__PURE__ */ (0,q.jsx)(`input`,{ref:e=>{u.current=e,typeof c==`function`?c(e):c&&(c.current=e)},type:`search`,value:e,onChange:e=>n(e.target.value),className:O(Ue,`[&::-webkit-search-cancel-button]:appearance-none`),...l}),f&&i!==void 0&&/* @__PURE__ */ (0,q.jsx)(`span`,{className:`shrink-0 text-xs tabular-nums text-fg-muted`,children:i}),f&&/* @__PURE__ */ (0,q.jsx)(Je,{relationship:`label`,content:r,children:/* @__PURE__ */ (0,q.jsx)(`button`,{type:`button`,className:Sp,onClick:p,children:/* @__PURE__ */ (0,q.jsx)(w,{"aria-hidden":`true`})})}),o]})}var Sp=`grid size-5.5 shrink-0 cursor-pointer place-items-center rounded-full border-0 bg-transparent p-0 -mr-1.5 text-fg-muted [transition:background-color_var(--motion-instant)_var(--ease-out),color_var(--motion-instant)_var(--ease-out)] hover:bg-surface-hover-layer hover:text-fg-primary focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-stroke-focus [&_svg]:size-3`,Cp={kind:`project`};function wp(e){switch(e.kind){case`project`:return{kind:`project`};case`scenarios`:return{kind:`scenarios`,scenarioIds:[...e.scenarioIds]};case`test_run`:return{kind:`test_run`,testRunId:e.testRunId};case`test_plan`:return{kind:`test_plan`,testPlanId:e.testPlanId}}}function Tp(e){let[t,...n]=e;return t===void 0?null:{kind:`scenarios`,scenarioIds:[t.id,...n.map(e=>e.id)],firstName:t.name,names:new Map(e.map(e=>[e.id,e.name]))}}function Ep(e){return{kind:`scenarios`,scenarioIds:e,firstName:null,names:/* @__PURE__ */ new Map}}function Dp(e,t){if(t===null||t.kind!==e.kind)throw Error(`Task scope: scope label ${t===null?`null`:t.kind} does not name scope ${e.kind}`);switch(e.kind){case`project`:return{kind:`project`};case`scenarios`:{let[t,...n]=e.scenarioIds;if(t===void 0)throw Error(`Task scope: a scenarios scope without scenarios`);return Ep([t,...n])}case`test_run`:if(t.kind!==`test_run`)throw Error(`unreachable: label kind checked above`);return{kind:`test_run`,testRunId:e.testRunId,run:{number:t.number,name:t.name}};case`test_plan`:if(t.kind!==`test_plan`)throw Error(`unreachable: label kind checked above`);return{kind:`test_plan`,testPlanId:e.testPlanId,planName:t.name}}}function Op(e,t){let n=e.resultsWriter;return n===null?{kind:`nobody`}:n.userId===t?{kind:`mine`,relation:e.testPlanId===null?`free`:`plan`}:{kind:`other`,writer:n.userDisplayName===null?n.userEmail:n.userDisplayName}}function kp(e){return e.data===void 0?e.error===null?{status:`loading`}:{status:`failed`,error:e.error,retry:()=>void e.reload(),retrying:e.retrying}:{status:`ready`,items:e.data.items,total:e.data.total}}function Ap(e,t,n){let r=ft(),i=(0,K.useDeferredValue)(t.trim()),a={kind:`project`,projectId:l(e)},o=Jt({projectId:a.projectId,query:{launchKind:`test_run`,status:`in_progress`,limit:50,offset:0,...i===``?{}:{search:i}}},{enabled:n,previousDataWhileLoading:!0,previousErrorWhileRetrying:!0}),s=o.data,c={data:(0,K.useMemo)(()=>s===void 0?void 0:{items:s.items.filter(e=>e.kind===`run`),total:s.total},[s]),error:o.error,retrying:o.retrying,reload:o.reload},u=g({key:Se(a,`assigned-plans`,{state:`unfinished`,pages:`all`}),read:async t=>{let n=await tr(t=>r.assignedPlans.list(e,{state:`unfinished`,...t}),t,{pageSize:500,route:`GET /test-plans/project/:id/assigned-to-me`});return{items:n,total:n.length}},freshness:`screen`,enabled:n,previousErrorWhileRetrying:!0});return{runs:kp(c),plans:kp(u)}}async function jp(e,t,n){let[r]=(await e.testRuns.listUnified({projectId:t,launchKind:`test_run`,status:`in_progress`,resultsWriter:`me`,limit:1},{signal:n})).items;if(r===void 0)return null;if(r.kind!==`run`)throw Error(`W10 in_progress test runs answered a row of kind ${r.kind}`);return r}var Mp={project:jt,scenarios:vr,test_run:sr,test_plan:_r};function Np({state:e,viewerId:t,scenarioPicker:n}){let{t:r}=E(),[i,a]=(0,K.useState)(!1),[o,s]=(0,K.useState)(!1),[c,l]=(0,K.useState)(null),{scope:u,scopeRequest:d}=e,f=d===`scenarios`&&n!==null,p=i||d!==null&&!f,m=o||f,h=()=>{a(!1),e.clearScopeRequest()},g=()=>{s(!1),e.clearScopeRequest()},_=Rp(u,r),v=Mp[u.kind];return/* @__PURE__ */ (0,q.jsxs)(q.Fragment,{children:[/* @__PURE__ */ (0,q.jsx)(nf,{side:`top`,collisionAvoidance:Qd,title:r(`taskForm.scope.menuLabel`),description:d===null?void 0:r(`taskForm.scope.suggested`),open:p,onOpenChange:e=>{e?(m&&g(),a(!0)):h()},className:`w-[380px] max-w-[calc(100vw-32px)] p-1`,"data-testid":`task-form-scope-menu`,trigger:/* @__PURE__ */ (0,q.jsxs)(`button`,{ref:l,type:`button`,className:e.scopeSuggested?`${kt(`primary`)} animate-(--animation-scope-suggest) motion-reduce:animate-none`:kt(null),"aria-label":r(`taskForm.scope.label`,{scope:_.text}),disabled:e.held||e.locked===!0,"data-testid":`task-form-scope`,children:[/* @__PURE__ */ (0,q.jsx)(v,{"aria-hidden":`true`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`truncate`,children:_.text}),_.detail!==null&&/* @__PURE__ */ (0,q.jsx)(`em`,{className:`truncate text-fg-muted not-italic`,children:_.detail}),/* @__PURE__ */ (0,q.jsx)(ep,{})]}),children:p&&/* @__PURE__ */ (0,q.jsx)(Pp,{state:e,viewerId:t,offerScenarios:n!==null,onPicked:h,onScenarios:()=>{h(),s(!0)}})}),n!==null&&c!==null&&/* @__PURE__ */ (0,q.jsx)(nf,{anchor:c,open:m,onOpenChange:e=>{e||g()},side:`top`,collisionAvoidance:Qd,title:r(`taskForm.scope.scenariosListLabel`),titleVisible:!1,className:`w-[400px] max-w-[calc(100vw-32px)] p-1`,"data-testid":`task-form-scenario-list`,children:m&&n({onPick:t=>{let n=Tp(t);n!==null&&e.setScope(n),g()}})})]})}function Pp({state:e,viewerId:t,offerScenarios:n,onPicked:r,onScenarios:i}){let{t:a}=E(),[o,s]=(0,K.useState)(``),c=(0,K.useRef)(null),l=Ap(e.projectId,o,!0),{scope:u}=e,d=t=>{e.setScope(t),r()};return/* @__PURE__ */ (0,q.jsxs)(`div`,{role:`radiogroup`,"aria-label":a(`taskForm.scope.menuLabel`),className:`flex flex-col`,children:[/* @__PURE__ */ (0,q.jsx)(tp,{icon:jt,title:a(`taskForm.scope.project`),checked:u.kind===`project`,onSelect:()=>d({kind:`project`}),testId:`task-form-scope-project`}),n&&/* @__PURE__ */ (0,q.jsx)(tp,{icon:vr,title:a(`taskForm.scope.scenariosPick`),hint:a(`taskForm.scope.scenariosPickHint`),checked:u.kind===`scenarios`,onSelect:i,testId:`task-form-scope-scenarios`}),/* @__PURE__ */ (0,q.jsx)(rp,{}),/* @__PURE__ */ (0,q.jsx)(np,{children:a(`taskForm.scope.runsHeader`)}),/* @__PURE__ */ (0,q.jsx)(`div`,{className:`px-2 pb-1`,children:/* @__PURE__ */ (0,q.jsx)(xp,{ref:c,value:o,onValueChange:s,"aria-label":a(`taskForm.scope.runsSearch`),placeholder:a(`taskForm.scope.runsSearch`),clearLabel:a(`taskForm.scope.runsSearchClear`),size:`sm`})}),/* @__PURE__ */ (0,q.jsx)(Fp,{list:l.runs,failedTitle:a(`taskForm.scope.runsLoadError`),empty:{icon:sr,title:a(`taskForm.scope.runsEmpty`)},nothing:o.trim()===``?null:{title:a(`taskForm.scope.runsNoMatch`),onReset:()=>{var e;s(``),(e=c.current)==null||e.focus()}},render:e=>{let n=Op(e,t),r=Ip(e);return/* @__PURE__ */ (0,q.jsx)(tp,{icon:n.kind===`mine`?sr:br,title:Lp(r,a),hint:n.kind===`mine`?n.relation===`free`?a(`taskForm.scope.runMine`):a(`taskForm.scope.runAssigned`):n.kind===`other`?a(`taskForm.scope.runForbidden`,{name:n.writer}):a(`taskForm.scope.runForbiddenNobody`),disabled:n.kind!==`mine`,checked:u.kind===`test_run`&&u.testRunId===e.id,onSelect:()=>d({kind:`test_run`,testRunId:e.id,run:r}),testId:`task-form-scope-run-${e.id}`},e.id)}}),/* @__PURE__ */ (0,q.jsx)(rp,{}),/* @__PURE__ */ (0,q.jsx)(np,{children:a(`taskForm.scope.plansHeader`)}),/* @__PURE__ */ (0,q.jsx)(Fp,{list:l.plans,failedTitle:a(`taskForm.scope.plansLoadError`),empty:{icon:_r,title:a(`taskForm.scope.plansEmpty`)},nothing:null,render:e=>/* @__PURE__ */ (0,q.jsx)(tp,{icon:_r,title:e.planName,hint:a(`taskForm.scope.planHint`),checked:u.kind===`test_plan`&&u.testPlanId===e.planId,onSelect:()=>d({kind:`test_plan`,testPlanId:e.planId,planName:e.planName}),testId:`task-form-scope-plan-${e.planId}`},e.planId)})]})}function Fp({list:e,failedTitle:t,empty:n,nothing:r,render:i}){let{t:a}=E();if(e.status===`loading`)return/* @__PURE__ */ (0,q.jsx)(ip,{children:a(`taskForm.scope.loading`)});if(e.status===`failed`)return/* @__PURE__ */ (0,q.jsx)(je,{tone:`error`,line:!0,error:e.error,title:t,onRetry:e.retry,retrying:e.retrying});if(e.items.length===0){if(r!==null)return/* @__PURE__ */ (0,q.jsx)(je,{tone:`nothing`,line:!0,title:r.title,reset:{onReset:r.onReset}});let e=n.icon;return/* @__PURE__ */ (0,q.jsx)(je,{tone:`empty`,line:!0,icon:/* @__PURE__ */ (0,q.jsx)(e,{"aria-hidden":`true`}),title:n.title})}let o=e.total-e.items.length;return/* @__PURE__ */ (0,q.jsxs)(`div`,{className:`flex max-h-56 flex-col overflow-y-auto`,children:[e.items.map(i),o>0&&/* @__PURE__ */ (0,q.jsx)(ip,{children:a(`taskForm.scope.more`,{count:o})})]})}function Ip(e){return{number:e.number,name:e.name}}function Lp(e,t){return`${t(`taskForm.scope.runNumber`,{number:String(e.number).padStart(3,`0`)})} \u00B7 ${e.name===null?t(`taskForm.scope.runUntitled`):e.name}`}function Rp(e,t){switch(e.kind){case`project`:return{text:t(`taskForm.scope.project`),detail:null};case`scenarios`:{let n=e.scenarioIds.length;return{text:t(`taskForm.scope.scenarios`,{count:n}),detail:e.firstName===null?null:n===1?t(`taskForm.scope.scenariosFirst`,{name:e.firstName}):t(`taskForm.scope.scenariosMore`,{name:e.firstName,count:n-1})}}case`test_run`:return{text:t(`taskForm.scope.testRun`,{name:Lp(e.run,t)}),detail:null};case`test_plan`:return{text:t(`taskForm.scope.testPlan`,{name:e.planName}),detail:null}}}function zp({state:e,variant:t,viewerId:n,scenarioPicker:r,launchSlot:i,notice:a,launchLabel:o,launchBlockedReason:s,"data-testid":c}){let{t:u}=E(),{navigation:d}=It(),{locale:f}=e,p=Eu[f].shell.composer,m={...Af(),rows:{normal:u(`taskForm.effortRows.normal`),thinking:u(`taskForm.effortRows.thinking`),max:u(`taskForm.effortRows.max`)}},h=(0,K.useId)(),g=(0,K.useRef)(null),v=(0,K.useCallback)(()=>{let e=g.current;e!==null&&(e.style.height=`auto`,e.style.height=`${e.scrollHeight+2}px`)},[]);(0,K.useLayoutEffect)(v,[v,e.draft.brief]),(0,K.useEffect)(()=>(window.addEventListener(`resize`,v),()=>window.removeEventListener(`resize`,v)),[v]);let y=t===`inline`,b=t!==`dialog`,te=e.submitting,ne=e.draft.allowedChanges.includes(`write_tests`),{questions:x}=e,S=e.held,C=e.locked===!0,w=S||C,re=t=>{C||t.key===`Enter`&&(t.metaKey||t.ctrlKey)&&(t.preventDefault(),e.launch())},ae=s===void 0?null:s,T=ae===null?e.blocked===null?null:e.blocked===`environment`?e.address.environment.missingHint:u(`taskForm.blocked.${e.blocked}`):ae;return/* @__PURE__ */ (0,q.jsxs)(`div`,{className:O(`relative flex flex-col`,t===`card`&&`min-h-0 flex-1`,y&&`rounded-2xl border border-solid border-stroke-hover bg-surface-card shadow-(--shadow-lg)`),...y?{role:`region`,"aria-label":u(`taskForm.title`)}:{},"aria-busy":te||void 0,"data-testid":c,children:[/* @__PURE__ */ (0,q.jsxs)(`div`,{className:O(`relative flex flex-col`,b?`px-4 pt-4 pb-3`:`px-6 pt-4 pb-5`,t===`card`&&`min-h-0 flex-1 overflow-y-auto [scrollbar-width:thin]`),inert:te,children:[/* @__PURE__ */ (0,q.jsxs)(`div`,{className:O(Mt,`flex-col`,C?yt:Gt),children:[/* @__PURE__ */ (0,q.jsx)(`label`,{htmlFor:h,className:`sr-only`,children:u(`taskForm.briefLabel`)}),/* @__PURE__ */ (0,q.jsx)(`textarea`,{ref:g,id:h,value:e.draft.brief,onChange:t=>e.setBrief(t.target.value),onBlur:e.commitBrief,onKeyDown:re,placeholder:u(`taskForm.placeholder`),disabled:S,readOnly:C,className:O(`block w-full resize-none border-0 bg-transparent px-4 pt-4 pb-0 font-sans text-[length:var(--text-body-md)] leading-[1.6] tracking-control whitespace-pre-wrap text-fg-primary outline-none placeholder:text-fg-muted`,y?`min-h-[72px]`:`min-h-24`),"data-testid":`task-form-brief`}),/* @__PURE__ */ (0,q.jsx)(`div`,{role:`group`,"aria-label":u(`taskForm.chipsLabel`),className:`flex flex-wrap gap-1.5 px-3 pb-3`,children:fl.filter(t=>!C||e.draft.presetId===t).map(t=>/* @__PURE__ */ (0,q.jsx)(Vp,{id:t,locale:f,pressed:e.draft.presetId===t,disabled:w,onPress:()=>e.pressChip(t)},t))})]}),x.brief!==void 0&&/* @__PURE__ */ (0,q.jsx)(Bp,{field:`brief`,text:x.brief}),/* @__PURE__ */ (0,q.jsxs)(Oe,{className:`mt-3 flex flex-wrap gap-2`,children:[/* @__PURE__ */ (0,q.jsx)(Np,{state:e,viewerId:n,scenarioPicker:r}),e.withBrowser&&/* @__PURE__ */ (0,q.jsx)(lp,{state:e}),ne&&/* @__PURE__ */ (0,q.jsx)(mp,{value:e.draft.newScenarioKind,onChange:e.setScenarioKind,disabled:S})]}),e.login!==null&&e.login.variables.kind!==`environment_unknown`&&/* @__PURE__ */ (0,q.jsx)(`div`,{className:`mt-2`,children:/* @__PURE__ */ (0,q.jsx)(fp,{login:e.login,disabled:w})}),e.headful!==null&&/* @__PURE__ */ (0,q.jsx)(ie,{className:`mt-3 self-start`,checked:e.headful.value,onChange:e.headful.set,disabled:w,label:u(`taskForm.headful.label`),hint:u(`taskForm.headful.hint`),"data-testid":`task-form-headful`}),x.entryUrl!==void 0&&e.withBrowser&&/* @__PURE__ */ (0,q.jsx)(Bp,{field:`entryUrl`,text:x.entryUrl}),x.newScenarioKind!==void 0&&ne&&/* @__PURE__ */ (0,q.jsx)(Bp,{field:`newScenarioKind`,text:x.newScenarioKind}),e.scopeSuggested&&/* @__PURE__ */ (0,q.jsxs)(`p`,{role:`status`,className:`mt-2 mb-0 flex items-center gap-1.5 text-caption text-fg-muted`,"data-testid":`task-form-scope-suggested`,children:[/* @__PURE__ */ (0,q.jsx)(Ie,{"aria-hidden":`true`,className:`size-[13px] shrink-0 text-(--color-primary-text)`}),u(`taskForm.scope.suggestedByChip`)]}),e.admissions!==null&&/* @__PURE__ */ (0,q.jsx)(xf,{admissions:e.admissions,className:`mt-4`,"data-testid":`task-form-admissions`}),e.draft.standMode===`dangerous`&&/* @__PURE__ */ (0,q.jsx)(_p,{lead:u(`taskForm.site.warnFieldLead`),className:`mt-4`,"data-testid":`task-form-site-warning`,children:u(`taskForm.site.warnField`)}),!e.withBrowser&&/* @__PURE__ */ (0,q.jsxs)(`p`,{className:`mt-4 mb-0 flex items-center gap-2 rounded-md bg-surface-hover-layer px-3 py-2 text-xs text-fg-secondary`,"data-testid":`task-form-no-browser`,children:[/* @__PURE__ */ (0,q.jsx)(cr,{"aria-hidden":`true`,className:`size-3.5 shrink-0 text-fg-muted`}),u(`taskForm.noBrowser`)]}),x.standMode!==void 0&&/* @__PURE__ */ (0,q.jsx)(Bp,{field:`standMode`,text:x.standMode}),x.captureApi!==void 0&&e.withBrowser&&/* @__PURE__ */ (0,q.jsx)(Bp,{field:`captureApi`,text:x.captureApi}),e.error!==null&&/* @__PURE__ */ (0,q.jsx)(Up,{error:e.error,locale:f,onAction:t=>t===`addresses`?d.openInWeb({kind:`environment-addresses`,projectRef:l(e.projectId)},`new-tab`):d.openInWeb({kind:`ai-settings`},`new-tab`)}),a!==void 0&&/* @__PURE__ */ (0,q.jsx)(`div`,{className:`mt-4`,children:a})]}),/* @__PURE__ */ (0,q.jsxs)(Oe,{className:O(`relative flex flex-none flex-wrap items-center gap-2 border-t border-solid border-stroke-light py-3 pr-4`,t===`card`||b?`pl-4`:`pl-6`),children:[/* @__PURE__ */ (0,q.jsx)(hf,{place:e.place.place,view:e.place.view,fleet:e.place.fleet,onChoose:e.choosePlace,onOpen:e.place.reloadFleet,copy:p.place,heading:!1,thisBrowserReach:`opens_windows`,look:`tile`,disabled:w}),/* @__PURE__ */ (0,q.jsx)(kf,{effort:e.effort.value,onChoose:e.effort.choose,copy:m,look:`tile`,disabled:w||e.effort.locked}),e.mode!==null&&/* @__PURE__ */ (0,q.jsx)(bp,{value:e.mode.value,onChange:e.mode.set,disabled:w,failed:e.mode.failed,onRetry:e.mode.retry}),/* @__PURE__ */ (0,q.jsx)(gp,{allowed:e.draft.allowedChanges,onToggle:e.setAllowed,disabled:w,captureApi:e.withBrowser?{checked:e.draft.captureApi,onCheckedChange:e.setCaptureApi}:null,site:{value:e.draft.standMode,onChange:e.setStandMode}}),/* @__PURE__ */ (0,q.jsxs)(`div`,{className:`ml-auto flex items-center gap-2`,children:[i,/* @__PURE__ */ (0,q.jsx)(ee,{disabled:T!==null,reason:T===null?``:T,children:/* @__PURE__ */ (0,q.jsx)(_,{type:`button`,variant:`primary`,size:`md`,className:`h-10! rounded-lg! px-5! text-body-sm!`,icon:/* @__PURE__ */ (0,q.jsx)(Tr,{"aria-hidden":`true`}),loading:te,loadingLabel:u(`taskForm.launching`),onClick:()=>{ae===null&&e.launch()},onKeyDown:e=>{C&&e.key===`Enter`&&e.preventDefault()},"data-testid":`task-form-launch`,children:o===void 0?u(`taskForm.launch`):o})})]})]})]})}function Bp({field:e,text:t}){return/* @__PURE__ */ (0,q.jsxs)(`p`,{className:`mt-2 mb-0 flex items-start gap-1.5 text-caption text-fg-secondary`,"data-testid":`task-form-question-${e}`,children:[/* @__PURE__ */ (0,q.jsx)(or,{"aria-hidden":`true`,className:`mt-px size-[13px] shrink-0 text-(--color-warning-text)`}),t]})}function Vp({id:e,locale:t,pressed:n,disabled:r,onPress:i}){let a=jf[e],o=hl(e);return/* @__PURE__ */ (0,q.jsx)(wt,{pressed:n,disabled:r,onClick:i,icon:/* @__PURE__ */ (0,q.jsx)(a,{}),"data-testid":`task-form-chip-${e}`,children:o.title[t]})}function Hp(e,t){let[n,r]=Array.from(e);if(n===void 0||r===void 0)return e;let i=n.toLocaleLowerCase(t),a=r!==r.toLocaleUpperCase(t);return i!==n&&a?`${i}${e.slice(n.length)}`:e}function Up({error:e,locale:t,onAction:n}){let{t:r}=E(),i=e.kind===`unknown`?null:e.action;return/* @__PURE__ */ (0,q.jsxs)(`p`,{role:`alert`,className:`mt-4 mb-0 flex items-center gap-3 rounded-md border border-solid border-(--color-border-error-soft) bg-(--color-bg-error-tint-subtle) p-3 text-xs text-fg-primary animate-(--animation-alert-in) motion-reduce:animate-none`,"data-testid":`task-form-error`,children:[/* @__PURE__ */ (0,q.jsx)(Pe,{"aria-hidden":`true`,className:`size-3.5 shrink-0 text-(--color-error-text)`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:`min-w-0 [overflow-wrap:anywhere]`,children:e.kind===`refused`?r(`taskForm.errors.notStarted`,{reason:Hp(e.reason,t)}):e.kind===`host_not_recorded`?/* @__PURE__ */ (0,q.jsx)(ge,{i18nKey:`taskForm.errors.hostNotRecorded`,values:{host:e.host,environment:e.environmentName},components:{mono:/* @__PURE__ */ (0,q.jsx)(`span`,{className:`font-mono`})}}):e.text}),i!==null&&/* @__PURE__ */ (0,q.jsx)(_,{type:`button`,variant:`secondary`,size:`sm`,className:`ml-auto shrink-0`,onClick:()=>n(i),"data-testid":`task-form-error-action`,children:r(`taskForm.errors.action.${i}`)})]})}var Wp={brief:``,presetId:`custom`,allowedChanges:[],newScenarioKind:null,captureApi:!1,standMode:En},Gp={scope:null,placeToOpening:!1};function Kp(e){return e.trim()===``||ml(e)}function qp(e,t){let{chip:n}=hl(e);if(n===null)throw Error(`Preset ${e} is in PRESET_CHIP_ORDER but has no chip`);return n.briefTemplate[t]}function Jp(e){let t=hl(e).defaultAllowedChanges;if(t===null)throw Error(`Preset ${e} is a chip but has no \u00AB\u041C\u043E\u0436\u043D\u043E\u00BB defaults`);return jn.filter(e=>t.includes(e))}function Yp(e,t,n){if(e.presetId===t)return{draft:{...e,presetId:`custom`},effects:Gp};let r=hl(t),i=Kp(e.brief)?qp(t,n.locale):e.brief,a=Jp(t);return{draft:{brief:i,presetId:t,allowedChanges:a,newScenarioKind:Zp(a,e.newScenarioKind),captureApi:r.defaultCaptureApi,standMode:e.standMode},effects:{scope:n.scopeKind===`project`?Xp(r.suggestedScopeKinds):null,placeToOpening:n.placeIsNone&&r.browserSuggested}}}function Xp(e){let[t]=e;return t===`project`||e.includes(`project`)?null:t===`test_run`?{kind:`latest_test_run`}:{kind:`open`,on:t}}function Zp(e,t){return e.includes(`write_tests`)?t:null}function Qp(e,t){return e.standMode===null||t&&e.captureApi===null}function $p(e){return e.environment.missing?`environment`:e.environment.body===null||e.address.block===`unread`?`loading`:null}function em(e,t,n){let r=new Set(e.allowedChanges);n?r.add(t):r.delete(t);let i=jn.filter(e=>r.has(e));return{...e,allowedChanges:i,newScenarioKind:Zp(i,e.newScenarioKind)}}function tm(e,t,n){return Yp(Wp,e,{locale:t,scopeKind:n,placeIsNone:!1}).draft}var nm=[`swarm`,`scenario_launch`],rm=[`pending_enroll`,`active`,`revoked`],im=[`not_owner`,`pending_enroll`,`offline`,`capability_missing`,`queue_full`,`ready`],am=[`not_enrolled`,`none_ready`,`one_ready`,`many_ready`],om=[`agents.no_dispatch_target`,`agents.offline`,`agents.runner_ambiguous`],sm=_n(nm),cm=k({queued:sn().int().min(0),limit:sn().int().min(0),remaining:sn().int().min(0)}),lm=k({lifecycle:_n(rm),lastSeenAt:hn().nullable(),online:On(),declaredCapabilities:fn(A()).nullable(),queue:k({runs:cm,jobs:cm}),activeRun:k({id:A(),scenarioId:A(),scenarioName:A(),status:gn}).nullable(),activeJob:k({id:A(),kind:_n([`make_auto`,`atlas_crawl`,`swarm`,`scenario_launch`,`conversation`]),scenariosTotal:sn().int().min(0).nullable()}).nullable()}),um=k({agentId:A(),name:A(),hostname:A().nullable(),platform:Ht.nullable(),agentVersion:A().nullable(),state:_n(im),blocker:k({errorCode:_n([`agents.not_owner`,`agents.offline`,`agents.capability_missing`,`agents.queue_full`]),httpStatus:An([vn(403),vn(409)])}).nullable(),facts:lm}),dm=k({resultKind:vn(`runner_readiness`),readinessFor:sm,capability:A(),evaluatedAt:hn(),presenceWindowMs:sn().int().min(0),resolution:dn(`kind`,[k({kind:vn(`resolved`),agentId:A(),name:A()}),k({kind:vn(`refused`),errorCode:_n(om)})]),fleetState:_n(am),runners:fn(um),total:sn().int().min(0)}),fm=k({resultKind:vn(`runner_enrollment_instructions`),readinessFor:sm,instructions:k({packageName:A(),installCommand:A(),enrollCommand:A(),startCommand:A(),approvalUrlPattern:A(),requestTtlSec:sn().int().min(0),pollIntervalSec:sn().int().min(0),steps:fn(A())}),expiresAt:hn()}),pm=k({id:Nn(),name:A().min(1),ownerName:A().min(1),mine:On(),lifecycle:_n(rm),online:On(),activeRun:k({}).loose().nullable(),activeJob:k({}).loose().nullable().optional()}),mm=k({items:fn(pm),total:sn().int(),offset:sn().int()});async function hm(e,t){return(await nr(t=>e.request({method:qt.agentList.method,path:qt.agentList.path(t),schema:mm}),t)).map(e=>({id:e.id,name:e.name,ownerName:e.ownerName,mine:e.mine,block:$n(e),occupied:er(e)}))}function gm({http:e,ready:t}){let[n,r]=(0,K.useState)({status:`idle`}),[i,a]=(0,K.useState)(0),o=(0,K.useCallback)(()=>a(e=>e+1),[]);return(0,K.useEffect)(()=>{if(!t)return;let n=new AbortController;return r(e=>e.status===`ready`?e:e.status===`failed`?{...e,retrying:!0}:{status:`loading`}),hm(e,n.signal).then(e=>{n.signal.aborted||r({status:`ready`,runners:e})},e=>{n.signal.aborted||r(t=>t.status===`ready`?t:{status:`failed`,error:e,retrying:!1})}),()=>n.abort()},[t,e,i]),(0,K.useEffect)(()=>{if(!t)return;let e=()=>{document.visibilityState===`visible`&&o()};return window.addEventListener(`focus`,o),document.addEventListener(`visibilitychange`,e),()=>{window.removeEventListener(`focus`,o),document.removeEventListener(`visibilitychange`,e)}},[t,o]),{fleet:n,reloadFleet:o}}function _m(e){let t=e.find(e=>e.block===null);return t===void 0?{kind:`this_browser`}:{kind:`runner`,agentId:t.id}}function vm(e,t){if(e.kind!==`runner`)return e;if(t.status!==`ready`)return{kind:`runner-unread`,agentId:e.agentId};let n=t.runners.find(t=>t.id===e.agentId);return n===void 0?{kind:`runner-gone`,agentId:e.agentId}:{kind:`runner`,runner:n}}function ym({http:e,ready:t}){let[n,r]=(0,K.useState)(ut),{fleet:i,reloadFleet:a}=gm({http:e,ready:t});return{place:n,view:(0,K.useMemo)(()=>vm(n,i),[n,i]),fleet:i,choose:r,reloadFleet:a}}function bm(e){let[t,n]=(0,K.useState)({key:e,value:null,save:null}),[r,i]=(0,K.useState)(null),a=t.key===e?t:{key:e,value:null,save:null},o=t=>{i(null),n(n=>({...n.key===e?n:{key:e,value:null,save:null},...t}))};return{value:a.value,save:a.save,setValue:e=>o({value:e}),setValueFor:(e,t)=>{i(null),n({key:e,value:t,save:null})},setSave:e=>o({save:e}),reset:()=>n({key:e,value:null,save:null}),saveError:r,setSaveError:i}}function xm(e){return an(e,`crawl-scope`)}function Sm({projectId:e,environment:t,active:n,opening:r}){let i=ft(),a=t===null?null:t.environmentId,o=a===null?``:a,s=g({key:Se({kind:`project`,projectId:l(e)},`crawl-scope`,a),read:t=>i.projects.crawlScope(l(e),a===null?{}:{environmentId:a},{signal:t}),freshness:`screen`,enabled:n&&t!==null,previousErrorWhileRetrying:!0}),c=s.data,u=s.error,d=s.reload,f=()=>{d()},p=bm(o),[m,h]=(0,K.useState)(r);m!==null&&n&&t!==null&&(h(null),p.value===null&&(m.environmentId===null||m.environmentId===a)&&p.setValue(m.value));let _=p.value===null?Cm(c):p.value;return{scope:c,scopeError:u,scopeRetrying:s.retrying,reloadScope:f,value:_,setValue:p.setValue,setValueFor:(e,t)=>p.setValueFor(e===null?``:e,t),block:c===void 0?`unread`:null}}function Cm(e){return e===void 0?``:e.startUrl.state===`resolved`?e.startUrl.url:``}function wm(e){let t=e.trim();if(t===``)return{state:`empty`};let n=t.includes(`://`)?t:`https://${t}`,r=Pt(n);if(!r.ok)return{state:`invalid`,reason:r.reason};let i=Gn(r.url.origin);if(!i.ok)return{state:`invalid`,reason:i.reason};let a=r.url.href,o=a===`${r.url.origin}/`;return{state:`ok`,baseUrl:i.baseUrl,launchUrl:o?void 0:a,href:a}}var Tm=`targets.not_configured`,Em=`targets.cell_missing`,Dm=`targets.address_required`;function Om(e){return e===Tm||e===Em||e===Dm}function km(e,t,n){if(t===Tm)return{kind:`not_configured`};if(t===Em){let t=n==null?void 0:n.applicationId,r=n==null?void 0:n.environmentId;return typeof t==`string`&&typeof r==`string`?{kind:`cell_missing`,applicationId:t,environmentId:r}:(e.error(`targets.cell_missing arrived without its application \u00D7 environment pair`,{params:n}),null)}if(t===Dm){let t=n==null?void 0:n.targetId;return typeof t==`string`?{kind:`address_required`,targetId:t}:(e.error(`targets.address_required arrived without its targetId`,{params:n}),null)}return null}function Am(e,t){return t instanceof ze?km(e,t.errorCode,t.params):null}function jm(e){return an(e,`entry-url`)}function Mm({projectId:e,environment:t,source:n,catalog:r,environments:i}){let a=ft(),o=fe(),{logger:s}=It(),c=n!==null&&n.kind===`scenario`?n.scenarioId:null,u=n!==null&&(n.kind===`scenario`||n.kind===`launchCell`),d=t===null?null:t.environmentId,f=`${d===null?``:d}|${c===null?``:c}`,p={kind:`project`,projectId:l(e)},m=g({key:Se(p,`entry-url`,d,c),read:async t=>{let n={...d===null?{}:{environmentId:d},...c===null?{}:{scenarioId:c}};try{return{status:`resolved`,address:await a.projects.entryUrl(l(e),n,{signal:t})}}catch(e){if(e instanceof ze&&Om(e.errorCode)){let t=km(s,e.errorCode,e.params);if(t!==null)return{status:`refused`,refusal:t}}throw e}},freshness:`screen`,enabled:n!==null&&t!==null}),h=m.error===null?m.data===void 0?{status:`loading`}:m.data:{status:`error`,error:m.error},_=bm(f),[v,ee]=(0,K.useState)(null),y=h.status===`refused`?h.refusal:null,b=v!==null&&v.key===f?v.refusal:y!==null&&(u||y.kind===`not_configured`)?y:null,te=b===null&&!u?y:null,ne=e=>e===null||r===void 0||i===void 0?null:Uf(r,i,e),x=ne(b),S=h.status===`resolved`?h.address.entryUrl:null,C=b===null?S:null,w=_.value===null?C===null?``:C:_.value,re=w.trim(),ie=b!==null&&b.kind!==`not_configured`,ae=_.save===null?ie&&b.kind===`cell_missing`:_.save,T=wm(w),oe=ie&&ae&&T.state!==`empty`,se=(()=>{if(re!==``&&(S===null||re!==S&&`${re}/`!==S))return re})(),ce=oe&&T.state===`invalid`?`saveInvalid`:null;return{value:w,setValue:_.setValue,isLoading:h.status===`loading`,read:h,refusal:b,refusedCell:x,defaultApplicationNote:ne(te),saveChecked:ae,setSaveChecked:_.setSave,savePlan:T,saveError:_.saveError,block:ce,override:se,adoptDispatchRefusal:e=>{let t=Am(s,e);return t!==null&&(ee({key:f,refusal:t}),!0)},prepareDispatch:async()=>{if(!oe||x===null||T.state!==`ok`)return{ok:!0,entryUrl:se,saved:!1};_.setSaveError(null);try{let t=await Pf(a,e,x,T.baseUrl);s.info(`Launch address saved into its cell`,{projectId:e,targetId:t.id,applicationId:t.applicationId,environmentId:t.environmentId,mode:x.kind})}catch(t){return s.error(`Failed to save the launch address into its cell`,{error:t instanceof Error?t:Error(String(t)),projectId:e,mode:x.kind}),_.setSaveError(t),{ok:!1}}return ee(null),_.reset(),Promise.all([o.invalidateAfterChange(jm(p)),o.invalidateAfterChange(xm(p)),o.invalidateAfterChange(Qe(p))]),{ok:!0,entryUrl:T.launchUrl,saved:!0}}}}var Nm=`project-default`;function Pm(e){return e===`project-default`?null:e}function Fm(e,t){if(t!==null&&e.some(e=>e.id===t))return t;let n=e.find(e=>e.isDefault);if(n!==void 0)return n.id;let r=e[0];return r===void 0?null:r.id}function Im(e,t){let{t:n}=E(),[r,i]=(0,K.useState)(null),a=me({projectId:l(e)},{previousErrorWhileRetrying:!0}),o=a.data,s=a.error,c=a.reload,u=()=>{c()},d=(0,K.useMemo)(()=>o===void 0?[]:o.map(e=>({value:e.id,label:e.name})),[o]),f=n(`agentRunDispatch.environment.asUsual`),p=(0,K.useMemo)(()=>t.kind===`concrete`?d:[{value:Nm,label:f},...d],[t.kind,d,f]),m={mode:t.kind,environments:o,loadError:s,loadRetrying:a.retrying,reload:u,options:p,setValue:i};if(t.kind===`concrete`){let e=o===void 0?null:Fm(o,t.preferredEnvironmentId),i=t.preservePreferred===!0?t.preferredEnvironmentId:null,a=r===null?i===null?e:i:r,s=o!==void 0&&a!==null&&!o.some(e=>e.id===a);return{...m,missing:s,missingHint:s?n(o.length===0?`launchAddress.environment.noneLeft`:`launchAddress.environment.missing`):null,value:o===void 0||s?null:a,shown:o!==void 0&&o.length>0,body:o===void 0||s?null:{environmentId:a}}}let h=r===null?Nm:r;return{...m,missing:!1,missingHint:null,value:h,shown:!0,body:{environmentId:Pm(h)}}}function Lm({projectId:e,environment:t,address:n}){let r=Im(e,t),i=Vf(e),a={data:i.data,error:i.error,retrying:i.retrying,reload:i.reload},o=r.environments,s=Mm({projectId:e,environment:r.body,source:n.kind===`crawlStart`?null:n,catalog:a.data,environments:o}),c=Sm({projectId:e,environment:r.body,active:n.kind===`crawlStart`,opening:n.kind===`crawlStart`&&n.opening!==void 0?n.opening:null});return{projectId:e,environment:r,catalog:a,address:n.kind===`crawlStart`?{kind:`crawlStart`,...c}:{kind:`entryUrl`,source:n.kind,...s}}}function Rm(){let{t:e}=E(),t=Cd();return{generic:e=>Od(t,e,`taskForm.errors.launch`),addressMissing:t=>t===null?e(`taskForm.errors.addressMissingNoEnvironment`):e(`taskForm.errors.addressMissing`,{environment:t}),missingFields:t=>e(`taskForm.errors.incomplete`,{fields:t.map(t=>e(`taskForm.errors.missingField.${t}`)).join(`; `)})}}function zm(e=Fn){let[t,n]=(0,K.useState)(e),[r,i]=(0,K.useState)(!1);return{value:t,choose:e=>{r||n(e)},input:{effort:t},locked:r,lock:()=>i(!0),releaseLock:()=>i(!1),reset:()=>{n(e)}}}var Bm=`host_not_recorded`,Vm=/* @__PURE__ */ new Set([`targets.not_configured`,`agents.entry_url_out_of_scope`,`agents.entry_url_override_invalid`]);function Hm(e){return e.typed.trim()===``}function Um(e,t,n){let r=Rt.parse(e.params).missing,i=t!==null&&Hm(t)&&r.includes(`entryUrl`),[a,...o]=y.filter(e=>r.includes(e)&&!(i&&e===`entryUrl`));return{kind:`refused`,reason:[...i?[n.addressMissing(t.environmentName)]:[],...a===void 0?[]:[n.missingFields([a,...o])]].join(`; `),action:i?`addresses`:null}}function Wm(e,t){var n;if(e.errorCode!==`agents.entry_url_out_of_scope`||((n=e.params)==null?void 0:n.reason)!==Bm||t===null||Hm(t)||t.environmentName===null)return null;let r=Pt(t.typed.trim());return r.ok?{kind:`host_not_recorded`,host:r.url.host,environmentName:t.environmentName,action:`addresses`}:null}function Gm(e,t,n){if(!(e instanceof ze)||e.errorCode===void 0)return{kind:`refused`,reason:n.generic(e),action:null};if(e.errorCode===`launch_drafts.incomplete`)return Um(e,t,n);let r=Wm(e,t);if(r!==null)return r;let i=Vm.has(e.errorCode)?`addresses`:e.errorCode.startsWith(`ai_models.`)?`ai_settings`:null;return{kind:`refused`,reason:n.generic(e),action:i}}async function Km(e,t,n){let r=await e.makeAutoQueues.admissions({projectId:t.projectId,scenarioIds:[...t.scenarioIds],queueId:t.queueId},{signal:n});if(r.items.length!==t.scenarioIds.length)throw Error(`Make-auto admissions answered ${r.items.length} positions for ${t.scenarioIds.length} scenarios`);let i=new Set(r.items.filter(e=>e.outcome!==`rejected`&&!t.names.has(e.scenarioId)).map(e=>e.scenarioId)),a=new Map(t.names);if(i.size>0){let r=await e.projectData.scenariosTree(l(t.projectId),{signal:n}),o=e=>{for(let t of e)i.has(t.id)&&a.set(t.id,t.name)};o(r.uncategorized);let s=[...r.tree];for(let e of s)o(e.scenarios),s.push(...e.children)}return r.items.map(e=>{let t=a.get(e.scenarioId);if(t===void 0&&e.outcome!==`rejected`)throw Error(`Make-auto admissions: scenario ${e.scenarioId} has no name`);return{scenarioId:e.scenarioId,name:t===void 0?null:t,admission:e}})}function qm(e){let t=ft(),{logger:n}=It(),r=Se(mt(),`make-auto-admissions`,e===null?null:e.projectId,e===null?null:e.queueId,e===null?null:[...e.scenarioIds]),i=g({key:r,read:n=>{if(e===null)throw Error(`useMakeAutoAdmissions: read without scenarios`);return Km(t,e,n)},freshness:`screen`,enabled:e!==null,previousErrorWhileRetrying:!0}),a=i.error;(0,K.useEffect)(()=>{a!==null&&n.error(`Failed to read make-auto admissions`,{error:a})},[a,n]);let o=i.reload;return{rows:i.data===void 0?null:i.data,error:a,retrying:i.retrying,reload:()=>void o()}}function Jm(e,t,n){let r=t===`automate_scenarios`&&n.kind===`scenarios`,i=qm(r?{projectId:e,queueId:null,scenarioIds:n.scenarioIds,names:n.names}:null);return r?i:null}var Ym=new Set(Pn);function Xm(e,t){let n=t.value,r=i({projectId:l(e),query:n===null?{}:{environmentId:n}},{enabled:n!==null,previousErrorWhileRetrying:!0}),a=r.data===void 0?void 0:r.data.resolved,o=(0,K.useMemo)(()=>a===void 0?void 0:a.filter(e=>Ym.has(e.scope)&&Cn.test(e.name)).map(e=>({name:e.name,isSecret:e.isSecret})).sort((e,t)=>e.name.localeCompare(t.name)),[a]),s=r.reload;return n===null?t.loadError!==null||t.missing?{kind:`environment_unknown`}:t.environments===void 0?{kind:`reading`}:{kind:`no_environment`}:r.error===null?o===void 0?{kind:`reading`}:{kind:`ready`,variables:o}:{kind:`failed`,error:r.error,retry:()=>void s(),retrying:r.retrying}}function Zm(e){return e.length===0?null:{variableNames:[...e],role:null}}function Qm(e,t,n){let r=e.filter(e=>e!==t);return n?[...r,t]:r}function $m(e){let[t,n]=(0,K.useState)({environmentId:e,names:[]});return{chosen:t.environmentId===e?t.names:[],toggle:(0,K.useCallback)((t,r)=>n(n=>({environmentId:e,names:Qm(n.environmentId===e?n.names:[],t,r)})),[e]),reset:(0,K.useCallback)(()=>n({environmentId:null,names:[]}),[])}}var eh=`inline-flex items-center gap-1.5 font-medium leading-none whitespace-nowrap [&_svg]:size-3 [&_svg]:shrink-0`,th=`bg-surface-hover-layer`,nh={primary:`bg-surface-primary-tint-15 text-fg-on-primary-tint`,success:`${th} text-fg-success-strong`,warning:`bg-surface-warning text-(--color-warning-text-strong) shadow-ring-warning`,error:`bg-surface-error text-(--color-error-text) shadow-ring-error`,info:`${th} text-fg-info-strong`,neutral:`${th} text-fg-secondary`,muted:`${th} text-fg-muted`,watch:`${th} text-fg-primary`,priorityHigh:`bg-[color-mix(in_srgb,var(--color-priority-high)_12%,transparent)] text-fg-priority-high shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--color-priority-high)_45%,transparent)]`},rh={live:`bg-(--color-live) shadow-(--glow-status-live)`,warning:`bg-warning`,muted:`bg-fg-muted`},ih={md:`h-5.5 px-2.25 text-(length:--text-caption)`,sm:`h-4.5 px-1.5 text-(length:--text-caption)`},ah={pill:`rounded-full`,square:`rounded-xs`};function oh({children:e,colorScheme:t=`neutral`,size:n=`md`,shape:r=`pill`,icon:i,iconTone:a,dot:o,className:s,"data-testid":c,...l}){let u=O(eh,ih[n],ah[r],nh[t],a===`primary`&&`[&_svg]:text-(--color-primary-text)`,s);return/* @__PURE__ */ (0,q.jsxs)(`span`,{...l,className:u,"data-color-scheme":t,"data-testid":c,children:[o===void 0?null:/* @__PURE__ */ (0,q.jsx)(`i`,{className:`size-1.5 shrink-0 rounded-full ${rh[o]}`,"aria-hidden":`true`}),i,e]})}var sh=`group/badge-trigger h-5.5 cursor-pointer rounded-full border-0 pr-1.5 pl-2.25 font-sans text-(length:--text-caption) [transition:background-image_var(--motion-short)_var(--ease-out),box-shadow_var(--motion-short)_var(--ease-out),transform_var(--motion-short)_var(--ease-out)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-stroke-focus`,ch={warning:`hover:[background-image:linear-gradient(var(--color-bg-warning-tint),var(--color-bg-warning-tint))] hover:shadow-[inset_0_0_0_1px_var(--color-ring-warning-40)] active:[background-image:linear-gradient(var(--color-bg-warning-tint-hover),var(--color-bg-warning-tint-hover))] active:shadow-[inset_0_0_0_1px_var(--color-ring-warning-40)] aria-expanded:[background-image:linear-gradient(var(--color-bg-warning-tint-hover),var(--color-bg-warning-tint-hover))] aria-expanded:shadow-[inset_0_0_0_1px_var(--color-ring-warning-40)]`};function lh({children:e,colorScheme:t,icon:n,"data-testid":r,...i}){return/* @__PURE__ */ (0,q.jsxs)(`button`,{...i,type:`button`,"data-color-scheme":t,"data-testid":r,className:O(eh,nh[t],sh,ch[t]),children:[n,e,/* @__PURE__ */ (0,q.jsx)(it,{"aria-hidden":`true`,className:`[transition:transform_var(--motion-medium)_var(--ease-out)] group-aria-expanded/badge-trigger:rotate-180`})]})}var uh={passed:`bg-(--color-bg-success-tint) text-fg-success`,failed:`bg-(--color-bg-error-tint) text-fg-error`,next:`bg-(--color-bg-primary-tint-10) text-(--color-primary-text)`,notstarted:`bg-surface-hover-layer text-fg-secondary`,skipped:`bg-surface-hover-layer text-fg-secondary`},dh={passed:Be,failed:w,next:null,notstarted:null,skipped:null};function fh({outcome:e,children:t,className:n,"data-testid":r}){let i=dh[e];return/* @__PURE__ */ (0,q.jsxs)(`span`,{className:O(`inline-flex h-6 items-center gap-1.25 rounded-full text-xs font-medium whitespace-nowrap`,i===null?`px-2.25`:`pr-2.25 pl-1.75`,uh[e],n),"data-outcome":e,"data-testid":r,children:[i===null?null:/* @__PURE__ */ (0,q.jsx)(i,{className:`size-3 shrink-0`,strokeWidth:2.4,"aria-hidden":`true`}),t]})}var ph={passed:`bg-success shadow-(--glow-status-success)`,failed:`bg-error shadow-(--glow-status-error)`,skipped:`bg-warning shadow-(--glow-status-warning)`,running:`bg-info shadow-(--glow-status-info) animate-(--animation-pulse-dot)`,queued:`border-2 border-info`,cancelled:`bg-fg-muted`,never:`shadow-[inset_0_0_0_1.5px_var(--color-text-muted)]`},mh={passed:`text-fg-success-strong`,failed:`text-(--color-error-text-strong)`,skipped:`text-(--color-warning-text-strong)`,running:`text-fg-info-strong`,queued:`text-fg-info-strong`,cancelled:`text-fg-secondary`,never:`text-fg-secondary`},hh={passed:`border-stroke-success bg-surface-success text-fg-success`,failed:`border-stroke-error bg-surface-error text-fg-error`,running:`border-primary/30 bg-(--color-bg-primary-tint-10) text-fg-link`,cached:`border-stroke-info bg-surface-info text-fg-info`,skipped:`border-stroke-light bg-surface-tertiary text-fg-muted`,pending:`border-stroke-light bg-surface-tertiary text-fg-muted`,notstarted:`border-stroke-light bg-surface-tertiary text-fg-muted`,stopped:`border-stroke bg-(--color-bg-cancelled-tint) text-fg-secondary`,interrupted:`border-stroke bg-(--color-bg-cancelled-tint) text-fg-secondary`,warn:`border-stroke-warning bg-surface-warning text-fg-warning`,neutral:`border-stroke bg-surface-tertiary text-fg-secondary`};function gh(e){if(e.outcome!==void 0)return/* @__PURE__ */ (0,q.jsx)(fh,{...e});let{children:t,size:n=`md`,className:r,"data-testid":i}=e;if(e.tone!==void 0){let a=e.tone,o=a===`skipped`||a===`pending`||a===`notstarted`;return/* @__PURE__ */ (0,q.jsxs)(`span`,{className:O(`inline-flex h-5.5 items-center gap-1.5 rounded-full border px-2 text-caption font-medium whitespace-nowrap`,hh[a],n===`sm`&&`h-5 px-1.5 text-[length:var(--text-micro)]`,r),"data-testid":i,children:[/* @__PURE__ */ (0,q.jsx)(`i`,{className:O(`size-1.5 shrink-0 rounded-full`,o?`border border-current bg-transparent`:`bg-current`,a===`running`&&`animate-(--animation-pulse-dot)`,(a===`stopped`||a===`interrupted`)&&`rounded-xs`),"aria-hidden":`true`}),t]})}let{status:a,hideLabel:o=!1}=e,s=n===`md`&&!o;return/* @__PURE__ */ (0,q.jsxs)(`span`,{className:O(`inline-flex items-center`,s?`h-5.5 gap-1.5 rounded-full bg-surface-hover-layer px-2.25 text-(length:--text-caption) font-medium whitespace-nowrap ${mh[a]}`:O(`text-fg-secondary`,n===`sm`?`gap-1.5 text-xs`:`gap-1.75 text-(length:--text-body-sm)`),r),"data-status":a,"data-testid":i,children:[/* @__PURE__ */ (0,q.jsx)(`i`,{className:O(`shrink-0 rounded-full`,s?`size-1.5`:`size-1.75`,ph[a]),"aria-hidden":`true`}),o?/* @__PURE__ */ (0,q.jsx)(`span`,{className:`sr-only`,children:t}):t]})}var _h=`\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022`,vh=`ui-secret-dots`;function yh({label:e,size:t=`md`,className:n,"data-testid":r}){return/* @__PURE__ */ (0,q.jsxs)(`span`,{role:`img`,"aria-label":e,"data-testid":r,className:O(`inline-flex max-w-full min-w-0 items-center gap-1.5 rounded-md border border-stroke-light bg-surface-hover-layer text-(length:--text-body-sm)`,t===`sm`?`h-6 px-1.5`:`h-8 px-2.5`,n),children:[/* @__PURE__ */ (0,q.jsx)(br,{size:14,className:`shrink-0 text-fg-muted`,"aria-hidden":`true`}),/* @__PURE__ */ (0,q.jsx)(`span`,{className:O(vh,`tracking-[2px] text-fg-secondary`),"aria-hidden":`true`,children:_h})]})}function bh({children:e}){return/* @__PURE__ */ (0,q.jsx)(`mark`,{className:`rounded-2xs bg-(--color-bg-search-mark) text-inherit`,children:e})}var xh=/[\\^$.*+?()[\]{}|]/g;function Sh({text:e,query:t}){let n=t.trim();if(n===``)return/* @__PURE__ */ (0,q.jsx)(q.Fragment,{children:e});let r=new RegExp(n.replace(xh,`\\$&`),`giu`),i=[],a=0;for(let t of e.matchAll(r))t.index>a&&i.push(e.slice(a,t.index)),i.push(/* @__PURE__ */ (0,q.jsx)(bh,{children:t[0]},t.index)),a=t.index+t[0].length;return i.length===0?/* @__PURE__ */ (0,q.jsx)(q.Fragment,{children:e}):(a<e.length&&i.push(e.slice(a)),/* @__PURE__ */ (0,q.jsx)(q.Fragment,{children:i}))}var Ch=_n(wn),wh=k({permissionMode:Ch,permissionModeVersion:sn().int().positive()}),Th=k({permissionMode:Ch});function Eh(e){let{http:t}=e;return{async setConversationMode(e,n){let r=await t.request({method:qt.conversationPermissionMode.method,path:qt.conversationPermissionMode.path(e),body:{permissionMode:n},schema:wh});return{permissionMode:r.permissionMode,permissionModeVersion:r.permissionModeVersion}},async readLastChoice(){return(await t.request({method:qt.lastPermissionModeRead.method,path:qt.lastPermissionModeRead.path(),schema:Th})).permissionMode},async writeLastChoice(e){return(await t.request({method:qt.lastPermissionModeWrite.method,path:qt.lastPermissionModeWrite.path(),body:{permissionMode:e},schema:Th})).permissionMode}}}export{Yd as $,Ei as $t,zp as A,tr as An,Fu as At,Rf as B,gl as Bt,qp as C,ur as Cn,Zu as Ct,Qp as D,ir as Dn,Uu as Dt,Yp as E,ar as En,Wu as Et,Tp as F,Rn as Fn,ku as Ft,hf as G,Rs as Gt,kf as H,Bc as Ht,xp as I,dl as It,cf as J,Ja as Jt,sf as K,Is as Kt,gp as L,fl as Lt,Cp as M,er as Mn,Pu as Mt,Dp as N,Kn as Nn,Ou as Nt,$p as O,rr as On,Gu as Ot,wp as P,Gn as Pn,Au as Pt,Xd as Q,Zi as Qt,mp as R,pl as Rt,Wp as S,dr as Sn,nd as St,Zp as T,or as Tn,Qu as Tt,wf as U,Lc as Ut,jf as V,Hc as Vt,Df as W,Ec as Wt,Qd as X,Aa as Xt,of as Y,Pa as Yt,nf as Z,la as Zt,ym as _,gr as _n,dd as _t,lh as a,kr as an,Ad as at,fm as b,pr as bn,td as bt,Qm as c,Er as cn,gd as ct,Jm as d,Cr as dn,_d as dt,pi as en,Jd as et,Gm as f,Sr as fn,od as ft,vm as g,_r as gn,fd as gt,Lm as h,yr as hn,id as ht,gh as i,Ar as in,Id as it,jp as j,$n as jn,Iu as jt,em as k,nr as kn,Vu as kt,Xm as l,Tr as ln,hd as lt,Rm as m,br as mn,sd as mt,Sh as n,Wr as nn,Hd as nt,oh as o,Or as on,Od as ot,zm as p,xr as pn,ld as pt,uf as q,Po as qt,yh as r,jr as rn,zd as rt,Zm as s,Dr as sn,Cd as st,Eh as t,ci as tn,Gd as tt,$m as u,wr as un,vd as ut,_m as v,hr as vn,ad as vt,tm as w,lr as wn,Xu as wt,dm as x,fr as xn,ud as xt,gm as y,mr as yn,ed as yt,Qf as z,ml as zt};